cdn.permutive.com
Open in
urlscan Pro
2606:4700::6811:6c13
Public Scan
URL:
https://cdn.permutive.com/a55a84b3-9632-4869-b625-3d8ef43ed18d-web.js
Submission: On December 02 via api from US — Scanned from US
Submission: On December 02 via api from US — Scanned from US
Form analysis
0 forms found in the DOMText Content
/*! @permutive/javascript-sdk v20.23.0 (web) (built 2024-11-22T15:30:48.468Z) */(()=>{"use strict";var __webpack_modules__={2865:(t,e,r)=>{function n(t){return t instanceof Error?t:new Error("string"==typeof t?t:JSON.stringify(t))}r.d(e,{w:()=>n})},3939:(t,e,r)=>{r.d(e,{A:()=>a});var n=r(2275),i=r(9727);function a(t){return(0,n.zG)((0,i.Y3)((()=>JSON.parse(t))),(0,i.fS)(n.gn))}},1819:(t,e,r)=>{r.r(e),r.d(e,{CleanRoomAddon:()=>h,load:()=>v});var n=r(3636),i=r(2865),a=r(366),s=r(1385),o=r(2275),c=r(9727),u=r(6316),l=r(5460),d=r(7387),p=r(731),f=r(6707);class m{prefix="[clean_room]";api;sessionManager;permutive;logger;clientContext;viewId;async putOrResetUnprocessed(t){return(0,o.zG)(t,c.g_((()=>u.Y3((()=>this.unprocessedPrebidAuctions.reset()),i.w)),(t=>u.Y3((()=>this.unprocessedPrebidAuctions.put(t)),i.w))),u.vx((t=>(this.reportError(`Unprocessed auctions failed to put. Got ${t}`),u.F2((0,o.Q1)())))),(t=>t()))}unprocessedPrebidAuctions;debouncedPutOrResetUnprocessed=this.setupUnprocessedPrebidAuctions();stagedAuctions={};trackableAuctions={};get allAuctions(){return{...this.stagedAuctions,...this.trackableAuctions}}trackAuctionsInterval=null;constructor(t){this.permutive=t.permutive,this.api=t.api,this.logger=t.logger,this.unprocessedPrebidAuctions=t.unprocessedEvents.PrebidAuctions,this.sessionManager=t.sessionManager,this.clientContext=t.clientContext,this.viewId=t.viewId,(0,o.zG)(t.pbjs,l.UI(c.EQ((()=>{this.logInfo("Waiting for PrebidJS to start PrebidAuctions tracking...")}),(t=>this.startPrebidAuctions(t)))))}async startPrebidAuctions(t){await this.trackUnprocessedPrebidAuctions(),this.logDebug("Starting PrebidAuctions tracking",{prebid:t});const e=(0,f.zi)(t),r=t=>0===t.bidsReceived.length&&0===t.noBids.length?null:(0,o.zG)(this.mapToStagedAuctions(t),s.tS((()=>s.Y3((()=>t.bidsReceived.forEach((t=>{var r;("rendered"===(r=t).status||"targetingSet"===r.status)&&this.setBidToWon(e,t)}))),(t=>{const e=`Failed to process auction. Got ${(0,i.w)(t)}`;return this.reportError(e),(0,i.w)(e)})))));t.onEvent("auctionEnd",(t=>{r(t),this.storeAuctionsAsUnprocessed(this.allAuctions)}));const n=r=>{const n=(0,d.qh)(r);this.logDebug("Processing setTargeting event",{adUnitCodes:n});const i=s.DT((t=>{let[e,r]=t;return!!e&&!!r.hb_adid}),(()=>new Error("Missing targeting data"))),c=(0,o.ls)(i,s.tS((e=>{let[r,{hb_adid:n}]=e;return(0,o.zG)(t.getAllPrebidWinningBids(),(0,a.Ew)((t=>t.adId===n&&t.adUnitCode===r)),s.Yo((()=>new Error("Prebid winning bid does not exist"))))})),s.UI((t=>{this.setBidToWon(e,t)})));return n.forEach(c)};t.onEvent("setTargeting",(t=>{n(t),this.storeAuctionsAsUnprocessed(this.allAuctions)})),t.onEvent("bidWon",(t=>{this.setBidToWon(e,t),this.storeAuctionsAsUnprocessed(this.allAuctions)}));const c=(t,r)=>{this.logDebug("Processing render event",{isRendered:t,props:r}),r.bid&&(t&&this.setBidToRendered(e,r.bid),this.promoteAuctionToTrackable(r.bid),this.storeAuctionsAsUnprocessed(this.allAuctions),this.trackEligibleAuctions())};t.onEvent("adRenderSucceeded",(t=>{c(!0,t)})),t.onEvent("adRenderFailed",(t=>{c(!1,t)})),t.getEvents().forEach((t=>"auctionEnd"===t.eventType?r(t.args):"setTargeting"===t.eventType?n(t.args):"bidWon"===t.eventType?this.setBidToWon(e,t.args):"adRenderSucceeded"===t.eventType?c(!0,t.args):"adRenderFailed"===t.eventType?c(!1,t.args):void 0)),this.storeAuctionsAsUnprocessed(this.allAuctions,{debounced:!1}),(0,d.aT)((async()=>{this.trackAuctionsInterval=null;const t=this.allAuctions;this.stagedAuctions={},this.trackableAuctions={},await this.trackPrebidAuctions(t,{useBeacon:!0}),await this.storeAuctionsAsUnprocessed(null,{debounced:!1})}))}trackUnprocessedPrebidAuctions(){return(0,o.zG)(u.Y3((async()=>(0,o.zG)(await this.unprocessedPrebidAuctions.getIfPresent(),c.g_((()=>this.logDebug("No unprocessed PrebidAuctions found")),(t=>{let{props:e,...r}=t;return this.logDebug("Found unprocessed PrebidAuctions",{props:e,unprocessedData:r}),Promise.all([this.permutive.track("PrebidAuctions",e,{unprocessedData:r}),this.unprocessedPrebidAuctions.reset()])})))),(t=>{const e=`Failed to track unprocessed PrebidAuctions. Got ${(0,i.w)(t)}`;return this.reportError(e),(0,i.w)(e)})),(t=>t()))}setupUnprocessedPrebidAuctions(){const t=new p.b(1e3,2500),e=this.putOrResetUnprocessed.bind(this);return t.schedule(e)}async storeAuctionsAsUnprocessed(t){let{debounced:e=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.logDebug("Store auctions as unprocessed",{auctionsToStore:t,debounced:e});const r=u.Y3((async()=>{const e=(0,d.qh)(t??{}).map((t=>{let[e,r]=t;return{...r,auction_id:e}})),r=await this.clientContext.getClient();return(0,o.zG)(e,c.DT((t=>t.length>0)),c.UI((t=>({client:r,props:this.makePrebidAuctionProperties({auctions:t}),viewId:this.viewId.get(),sessionId:this.sessionManager.getSessionId()}))))}),i.w);return(0,o.zG)(r,u.EQ((t=>{this.reportError(`Failed to process auctions: ${t}`)}),(t=>{const r=this.debouncedPutOrResetUnprocessed(t);return e?r:Promise.all([this.putOrResetUnprocessed(t),r])})),(t=>t()))}mapBidProperties(t,e){var r;return{ad_id:e.adId,ad_unit_code:e.adUnitCode,advertiser_domains:(0,f.Cg)(e),advertiser_id:(t=>{var e,r;const n=t.rubicon&&"object"==typeof t.rubicon&&"advertiserId"in t.rubicon&&t.rubicon.advertiserId||(null==t||null===(e=t.meta)||void 0===e?void 0:e.buyerId)||(null==t||null===(r=t.meta)||void 0===r?void 0:r.advertiserId);return n?`${n}`:void 0})(e),advertiser_name:(t=>{var e,r,n;const i=(null===(e=t.meta)||void 0===e?void 0:e.clickUrl)||(null===(r=t.adomain)||void 0===r?void 0:r[0])||(null===(n=t.meta)||void 0===n?void 0:n.advertiserName);return i?`${i}`:void 0})(e),bid_available:"string"==typeof e.statusMessage&&e.statusMessage.indexOf("empty")<0,bidder:e.bidder,bidder_timeout:(0,d.rH)(t.bidderTimeout),brand_id:(t=>{var e;const r=null===(e=t.meta)||void 0===e?void 0:e.brandId;return r?`${r}`:void 0})(e),brand_name:(t=>{var e;return null===(e=t.meta)||void 0===e?void 0:e.brandName})(e),cpm:(0,f.Qd)(e),creative_id:`${e.creativeId}`,deal_id:(0,f.$7)(e),dsp_id:(0,f.cs)(e),hb_pb:null===(r=e.adserverTargeting)||void 0===r?void 0:r.hb_pb,height:(0,d.rH)(e.height),request_timestamp:e.requestTimestamp,response_timestamp:e.responseTimestamp,time_to_respond:e.timeToRespond,width:(0,d.rH)(e.width)}}collectAdUnitCodes(t){const e=new Set;return t.reduce(((t,r)=>{let{adUnitCode:n}=r;return!n||e.has(n)||(e.add(n),t.push({ad_unit_code:n})),t}),[])}mapToStagedAuctions(t){return s.Y3((()=>{const{auctionId:e,bidsReceived:r,noBids:n}=t,i=this.collectAdUnitCodes(r),a=this.collectAdUnitCodes(n);return this.stagedAuctions[e]={bids:i,no_bids:a},this.logDebug("Added auction",this.stagedAuctions[e]),this.stagedAuctions[e]}),(t=>{const e=`Failed to map auction. Got ${(0,i.w)(t)}`;return this.reportError(e),(0,i.w)(e)}))}findAuction(t){return(0,o.zG)(this.getStagedAuction(t.auctionId),s.vx((()=>this.getTrackableAuction(t.auctionId))),s.vx((()=>this.mapToStagedAuctions({auctionId:t.auctionId,bidsReceived:[t],bidderRequests:[],noBids:[]}))))}setBidByOperation(t,e,r){const n=t=>t.hasOwnProperty("ad_id"),c=(r,c)=>{const u=t=>t.ad_id===r.adId,l=t=>t.ad_unit_code===r.adUnitCode,[d,p]=(0,o.zG)(c,(0,a.uK)((t=>n(t)&&u(t)&&l(t))),(t=>[t.left,t.right]));this.logDebug(`Bids for ${e}`,{nonMatching:d,matching:p});const f=(0,o.ls)(s.DT((t=>1===t.length),(()=>new Error("No matching bids"))),s.UI((t=>{let[r]=t;return this.logDebug(`Found bid for ${e}`,{found:r}),{found:r,others:d}}))),m=s.DT((t=>t.length<=1),(()=>new Error("Ad ID is not unique"))),g=(0,o.ls)(f,s.vx((()=>s.Y3((()=>{const i=this.mapBidProperties(t,r),a=d.filter((t=>!(!l(t)||!n(t))||!l(t)));return this.logDebug(`Creating bid for ${e}`,{created:i,others:a}),{found:i,others:a}}),(t=>(0,i.w)(`Failed to create bid. Got ${(0,i.w)(t)}`))))));return(0,o.zG)(p,m,s.tS(g))};return(0,o.ls)((t=>(0,o.zG)(this.findAuction(t),s.tS((n=>(0,o.zG)(c(t,n.bids),s.tS((t=>{let{found:e,others:n}=t;return s.Y3((()=>({updated:r(e),others:n})),i.w)})),s.UI((t=>{let{updated:r,others:i}=t;const a=[r,...i];n.bids=a,this.logDebug(`Bid operation ${e} successful`,r,a)}))))))),s.Vn((t=>{const r=`Failed bid operation ${e}. Got ${(0,i.w)(t)}`;return this.reportError(r),(0,i.w)(r)})))}setBidToWon(t,e){return this.setBidByOperation(t,"setWon",(t=>({...t,winning_bid:!0})))(e)}setBidToRendered(t,e){return this.setBidByOperation(t,"setRendered",(t=>({...t,winning_bid:!0,is_rendered:!0,rendered_timestamp:(new Date).getTime()})))(e)}promoteAuctionToTrackable(t){let{auctionId:e}=t;const r=this.stagedAuctions[e];if(r){if(this.trackableAuctions[e])return this.logError("Auction is already promoted to trackable",{auction:this.trackableAuctions[e]});this.trackableAuctions[e]=r,delete this.stagedAuctions[e],this.logDebug("Auction promoted to trackable",{auctionId:e,trackableAuctions:this.trackableAuctions})}}trackEligibleAuctions(){if(this.trackAuctionsInterval)return;this.trackAuctionsInterval=(0,d.PQ)((async()=>{if(!this.trackAuctionsInterval)return;this.trackAuctionsInterval=null;const t=this.trackableAuctions;this.trackableAuctions={},await this.trackPrebidAuctions(t),await this.storeAuctionsAsUnprocessed(this.stagedAuctions,{debounced:!1})}),{timeout:5e3})}async trackPrebidAuctions(t,e){const r=(0,d.qh)(t).map((t=>{let[e,r]=t;return{...r,auction_id:e}}));r.length&&(await this.permutive.track("PrebidAuctions",this.makePrebidAuctionProperties({auctions:r}),e),this.logDebug("Tracked auctions",{auctions:r}))}makePrebidAuctionProperties(t){return{aggregations:t,isp_info:"$ip_isp_info",geo_info:"$ip_geo_info"}}getStagedAuction(t){return(0,o.zG)(this.stagedAuctions[t],s.DT(Boolean,(()=>new Error("Staged auction not found"))),s.Vn((e=>(this.logError(e,{auctionId:t}),e))))}getTrackableAuction(t){return(0,o.zG)(this.trackableAuctions[t],s.DT(Boolean,(()=>new Error("Trackable auction not found"))),s.Vn((e=>(this.logError(e,{auctionId:t}),e))))}reportError(t){return this.api.reportError(`${this.prefix} ${t}`)}logInfo(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.log(this.prefix,...e)}logDebug(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.debug(this.prefix,...e)}logError(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.error(this.prefix,...e)}}const g="clean_room",v=t=>{(0,n.Hn)(g)("auto_init",!1)&&t.q.push({functionName:"addon",arguments:[g,{}]})};class h extends m{}},3812:(t,e,r)=>{r.d(e,{GL:()=>o,HJ:()=>c,N1:()=>l,NC:()=>n,RP:()=>i,SF:()=>d,UM:()=>u,ho:()=>f,iE:()=>p});const n=performance.now(),i=(new Date).getTime();let a=[],s=!1;const o=t=>function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return c((()=>t(...r)))},c=(t,e)=>{if(!s){const r=self.setTimeout(t,e);return()=>self.clearTimeout(r)}let r;const n=()=>{void 0!==r&&s&&a.length<1e4&&a.push([r,performance.now()]),r=void 0},i=[self.setTimeout((()=>{r=performance.now(),self.requestAnimationFrame(n),t()}),e),self.setTimeout(n,e)];return()=>{void 0===r&&i.forEach((t=>self.clearTimeout(t)))}},u=(t,e)=>{if(!s){const r=self.setInterval(t,e);return()=>self.clearInterval(r)}let r=!1,n=()=>{};const i=self.setInterval((()=>{n=c((()=>{r||t()}))}),e);return()=>{r=!0,n(),self.clearInterval(i)}},l=t=>()=>{return e=t(),new Promise(((t,r)=>e.then(o(t),o(r))));var e},d=t=>{const e=l(t);return()=>new Promise((t=>c((()=>t(e())))))},p=()=>{const t=a;return a=[],t},f=t=>{s=t}},5460:(t,e,r)=>{r.d(e,{ap:()=>S,a9:()=>h,Ue:()=>m,gS:()=>g,D8:()=>R,VS:()=>y,xH:()=>E,En:()=>v,p4:()=>C,UI:()=>b,Rp:()=>w,vP:()=>I,bw:()=>k,yY:()=>T,YP:()=>_});var n=r(2865),i=r(1385),a=r(2275),s=r(9727),o=r(1583),c=r(7387);function u(t){let e=t,r=[],n=!1;return{addListener(t){if(n)return()=>{};let i=e;const a=()=>{Object.is(e,i)||(i=e,t(e))};r=[...r,a];return()=>{r=r.filter((t=>t!==a))}},notify(t){if(n)throw new Error("Ref bug: Attempted to notify a terminated notifier");Object.is(t,e)||(e=t,r.forEach((t=>t())))},terminate(){n=!0,r=[]}}}function l(t,e){let r=0;return function(){try{if(r++>0)throw new Error(t);return e(...arguments)}finally{r--}}}function d(t,e){let r=[...new Set(t)].filter((t=>"final"!==t.state));if(0===r.length)return{state:"final",onStateChange:()=>()=>{}};const n=()=>0===r.length?"final":r.some((t=>"might_change"===t.state))?"might_change":"nominal",[i,a]=p(n(),(t=>"might_change"!==t&&e())),s=()=>a(n());return r.forEach((e=>{e.onStateChange((e=>{switch(e){case"final":r=t.filter((t=>"final"!==t.state)),s();break;case"might_change":a("might_change");break;case"nominal":s();break;default:throw new Error(`Ref bug: Invalid state ${e}`)}}))})),i}function p(t,e){if("final"===t)return[{state:"final",onStateChange:()=>()=>{}},()=>{}];const{terminate:r,notify:n,addListener:i}=u(t),a={state:t,onStateChange:i},s=l("Disallowed recursion in Branch.",(t=>{if("final"===a.state){if("final"===t)return;throw new Error(`Attempted to change state of final branch to ${t}.`)}try{null==e||e(t),a.state=t,n(t)}finally{"final"===t&&r()}}));return[a,s]}var f=r(2444);function m(t){const[e,r,n]=function(){const[t,e]=p("nominal"),r=l("Disallowed recursion in Branch.",(r=>{if("final"===t.state)throw new Error("Attempted to mutate a finalized Ref.");const n=t.state;try{e("might_change"),r()}finally{e(n)}}));return[t,r,()=>e("final")]}(),[i,a]=D(e,t);return[i,t=>r((()=>a(t))),n]}function g(t){let e=t.empty;const r=()=>()=>{const r=e;return e=t.empty,r},[n,i,a]=m(r());return[n,n=>{e=t.concat(e,n),i(r())},a]}function v(t,e){return r=>{let n=new Array(t).fill(e.empty);return new Array(t).fill(null).map(((t,i)=>(0,a.zG)(r,b(f.UI((t=>{const r=e.concat(n[i],t);return n=n.map(((r,n)=>n===i?e.empty:e.concat(r,t))),r}))))))}}function h(t){return{get current(){return t},onChange:()=>()=>{},branch:{state:"final",onStateChange:()=>()=>{}}}}function _(t){return e=>{const r=e.onChange(t);return t(e.current),r}}function b(t,e){if(e){const[r,n]=D(e.branch,t(e.current));return e.onChange((e=>n(t(e)))),r}return e=>b(t,e)}const S=t=>y((e=>b(e)(t)));function y(t,e){return e?E(b(t,e)):e=>E(b(t,e))}function E(t){if("final"===t.branch.state)return t.current;const[e,r]=function(t,e){let r=e;const n=[t.state,r.state].includes("might_change")?"might_change":"nominal",[i,a]=p(n),s=t=>e=>{switch(e){case"final":a(t().state);break;case"might_change":a("might_change");break;case"nominal":"might_change"===t().state?a("might_change"):a("nominal");break;default:throw new Error(`Ref bug: Unexpected upstream state ${e}`)}};t.onStateChange(s((()=>r)));const o=s((()=>t));let c=r.onStateChange(o);return[i,t=>{r=t,c(),c=t.onStateChange(o),o(r.state)}]}(t.branch,t.current.branch),[n,i]=D(e,t.current.current);let a=t.current.onChange(i);return t.onChange((t=>{a(),a=t.onChange(i),r(t.branch),i(t.current)})),n}function w(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return t=>{if(2===e.length){let r=e[0];return b((t=>(r=e[1](r,t),r)),t)}let r=s.bM();return b((t=>{const n=e[0](r,t);return r=s.G(n),n}),t)}}function I(){if(0===arguments.length||M(arguments.length<=0?void 0:arguments[0]))return P(...arguments);const t=arguments.length<=0?void 0:arguments[0],e=Object.keys(t);return(0,a.zG)(Object.values(t),(t=>P(...t)),b((0,a.ls)(o.Su(((t,r)=>[e[t],r])),Object.fromEntries)))}function P(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(0===e.length)return h([]);if(1===e.length)return b((t=>[t]))(e[0]);let n=!1;e.forEach((t=>t.onChange((()=>{if("might_change"!==t.branch.state)throw new Error("Ref bug: Received a change notification without a `might_change` state.");n=!0}))));const i=e.map((0,c.vg)("branch")),a=()=>{n&&(n=!1,u(e.map((t=>t.current))))},s=d(i,a),[o,u]=D(s,e.map((t=>t.current)));return o}const T=t=>()=>s.pC(t.current)?Promise.resolve(t.current.value):new Promise((e=>{const r=(0,a.zG)(t,_(s.UI((t=>{r(),e(t)}))))}));function C(t){const[e,r,o]=m(s.YP);return t.then(i.F2).catch((0,a.ls)(n.w,i.t$)).then((0,a.ls)(s.G,r,o)),e}function R(t){const e=t.hasOwnProperty("equals")?t.equals:t;return function(t){return e=>{if("final"===e.branch.state)return e;let r=s.YP;return b((e=>{if(s.Wi(r))return r=s.G(e),e;const n=t(r.value,e);return r=s.G(n),n}),e)}}(((t,r)=>e(t,r)?t:r))}function k(t){return e=>(_(t)(e),e)}function D(t,e){if("final"===t.state)return[h(e),()=>{}];const r=u(e);t.onStateChange((t=>{"final"===t&&r.terminate()}));let n=e;return[{get current(){return n},onChange:r.addListener,branch:t},l("Disallowed recursion in Ref.",(t=>{n=t,r.notify(n)}))]}function M(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)&&"function"==typeof t.onChange}},936:(t,e,r)=>{r.d(e,{K4:()=>c,KD:()=>g,UI:()=>d,ak:()=>m,bw:()=>p,dQ:()=>u,of:()=>l,vP:()=>f});var n=r(5460),i=r(2275),a=r(7387),s=r(7054),o=r(9727);const c=t=>(0,i.ls)((e=>{let{previousState:r,...n}=e;return t(n)}),(t=>({value:t,state:n.a9(void 0)}))),u=i.yR,l=(0,i.ls)(i.a9,c),d=t=>e=>(0,i.ls)(e,(0,a.rO)({value:t})),p=t=>e=>(0,i.ls)(e,(0,a.rO)({value:(0,a.bw)(t)}));function f(t){return e=>{let{previousState:r,...a}=e;const o=_(r)?r:{},c=(0,i.zG)(t,s.Su(((t,e)=>e({previousState:o[t],...a}))));return{value:(0,i.zG)(c,s.UI((t=>t.value))),state:(0,i.zG)(c,s.UI((t=>t.state)),(t=>n.vP(t)))}}}function m(t,e){return r=>(0,i.ls)((0,a.rO)({previousState:h}),(a=>{const s=r(a),o=e(s.value)({...a,previousState:a.previousState[t]});return{value:(0,i.zG)([s.value,o.value],(e=>{let[r,n]=e;if(!_(r))throw new Error("Service.bind() was passed an upstream Service with a non-record value.");return{...r,[t]:n}})),state:(0,i.zG)(n.vP(s.state,o.state),n.UI((e=>{let[r,n]=e;if(void 0===r)return{[t]:n};if(!_(r))throw new Error("Service.bind() was passed an upstream Service with a non-record state.");return{...r,[t]:n}})))}}))}const g=t=>{const e=t.slice(0,-1),r=t.slice(-1)[0],s=[...e.map((t=>{let[e,r]=t;return[e,(0,i.a9)(r)]})),(0,i.a9)(r)];return o=(0,a.lo)(s),(0,i.ls)(n.UI(o),v);var o};function v(t){const e=(0,i.zG)(t,n.Rp(0,(t=>t+1)));return r=>{let{previousState:a,stopped:s,...c}=r;return(0,i.zG)(n.vP(t,e),n.Rp(((t,r)=>{let[u,l]=r;return(0,i.zG)(t,o.UI((t=>t.state.current)),o.fS((()=>a)),(t=>u({previousState:t,stopped:(0,i.zG)(n.vP(s,e),n.UI((t=>{let[e,r]=t;return e||r!==l}))),...c})))})),(t=>({value:n.UI((t=>t.value),t),state:n.VS((t=>t.state),t)})))}}function h(t){return _(t)?t:{}}function _(t){return"object"==typeof t&&null!==t}},7222:(t,e,r)=>{r(3247)},5842:(t,e,r)=>{r.d(e,{lg:()=>g,Bt:()=>h});var n=r(366),i=r(2275),a=r(9727),s=r(7029),o=r(7387);class c{userId;network;api;logger;constructor(t,e,r,n){this.userId=t,this.network=e,this.api=r,this.logger=n}tag="appnexus";ttlInSeconds=86400;usedForThirdPartyData=!0;url="https://ib.adnxs.com/getuidj";invalidAliases=["","0","-1"];getId(){return this.logger.debug("identities[appnexus]: start HTTP request"),(0,o.G6)(navigator.userAgent)?Promise.resolve({type:"skipped"}):this.api.appnexus(this.url).then((t=>(this.logger.debug("identities[appnexus]: end HTTP request"),{type:"attempted",result:(0,i.zG)((0,a.DT)((t=>this.isValidAlias(t.uid)))(t),(0,a.UI)((t=>t.uid)))})),(t=>({type:"attempted",result:a.YP})))}reset(){return Promise.resolve()}isValidAlias(t){return!!t&&-1===this.invalidAliases.indexOf(t)}}class u{config;network;api;userId;logger;url;resetUrl;constructor(t,e,r,n,i){this.config=t,this.network=e,this.api=r,this.userId=n,this.logger=i,this.url=`https://a55a84b3-9632-4869-b625-3d8ef43ed18d.${this.config.pxidHost}/${this.config.apiVersion}/pxid`,this.resetUrl=this.url+"/reset"}tag="pxid";ttlInSeconds=86400;usedForThirdPartyData=!1;getId(){return this.logger.debug("identities[pxid]: start HTTP request"),(0,o.G6)(navigator.userAgent)?Promise.resolve({type:"skipped"}):this.api.pxid(this.url).then((t=>(this.logger.debug("identities[pxid]: end HTTP request"),{type:"attempted",result:(0,a.ij)(t.uid)})),(t=>({type:"attempted",result:a.YP})))}reset(){return(0,o.G6)(navigator.userAgent)?Promise.resolve():this.api.pxidReset(this.resetUrl)}}var l=r(5460),d=r(7054),p=r(3940),f=r(1385);const m=p.ff((t=>void 0===t));class g{metrics;trace;permutiveData;identityProviderEnv;logger;ref;setReady;thirdParty;rawRef;identityMapRef;setIdentityMap;providers={};static emailSHA256Regex=/^[a-f0-9]{64}$/;constructor(t,e,r,n,c){this.metrics=t,this.trace=e,this.permutiveData=r,this.identityProviderEnv=n,this.logger=c;const u=this.getCachedIdentitiesAndMigrateIfRequired(),[p,f]=l.Ue(u);this.identityMapRef=p,this.setIdentityMap=f,p.onChange((0,i.ls)(d.z7((t=>!v.has(t))),(0,o.bw)((t=>{this.logger.debug("[identities] Persisting",t),this.permutiveData.setData("identities",t)})))),this.rawRef=(0,i.zG)(p,l.UI((0,i.ls)(d.UI((t=>t.value)),d.hX(m))),l.D8(d.Eh(s.Eq)));const[g,h]=l.Ue(!1);this.ref=(0,i.zG)(l.vP(g,this.rawRef),l.UI((t=>{let[e,r]=t;return(0,i.zG)(r,(0,a.DT)((()=>e)))}))),this.setReady=()=>{t.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"identity_ready",time_origin:"sdk_init"}),h(!0)},this.thirdParty=this.prepareThirdPartyIdentities()}get identities(){return this.identityMapRef.current}prepareThirdPartyIdentities(){this.logger.debug("[Identities]","loading 3rd party identities");const t=this.metrics.startTimer("sdk_get_third_party_identities_task_duration_seconds",{}),e=this.trace.startSpan("load_tpd_ids"),r=[{load:t=>{return e=t.config,r=t.network,n=t.api,i=t.userId,s=t.logger,(0,a.G)(new u(e,r,n,i,s));var e,r,n,i,s}},{load:t=>{return e=t.userId,r=t.network,n=t.api,i=t.logger,(0,a.G)(new c(e,r,n,i));var e,r,n,i}},{load:t=>(t.cookies,t.messages,a.YP)},{load:t=>(t.cookies,a.YP)},{load:t=>(t.metrics,t.permutiveData,t.permutive,t.messages,a.YP)}],s=(0,n.oA)(r.map((t=>t.load(this.identityProviderEnv)))).map((t=>this.shouldAskForNewIdentity(t)?this.retrieveIdentity(t):Promise.resolve((0,i.bc)(t,this.getCachedTPDIdentity(t.tag)))));return Promise.all(s).then((t=>t.map((t=>{let[e,r]=t;return this.providers[e.tag]=e,this.mapTPDIdentityIfPresent(e.tag,r,e.ttlInSeconds)})))).then((t=>this.setIdentities(t))).then((0,o.bw)((()=>{this.metrics.stopTimer("sdk_get_third_party_identities_task_duration_seconds",t),e.finish()})))}getPrioritizedIdentities(t){const e={default:0,appnexus:1,pxid:1},r=Object.entries(t).map((t=>{let[e,{id:r,expiry:n,priority:i}]=t;return{tag:e,...r?{id:r}:{},...n?{expiry:n}:{},...void 0!==i?{priority:i}:{}}})),i=r.filter((t=>((t,e)=>!!t.id&&!(0,n.t9)(s.Eq)(t.tag,e))(t,Object.values(this.providers).map((t=>t.tag))))),o=r.filter((t=>((t,e)=>!!t.id&&!!(0,n.t9)(s.Eq)(t.tag,e))(t,Object.values(this.providers).map((t=>t.tag))))),c=(0,n.DZ)((t=>(0,a.ij)(t.priority)))(i),u=c.length>0?Math.max(...c):0,l=i.map((t=>void 0!==t.priority?{...t,priority:t.priority}:{...t,priority:u+1})),d=o.map((t=>void 0===e[t.tag]?{tag:t.tag,id:t.id,priority:u+_}:{tag:t.tag,id:t.id,priority:u+b}));return l.concat(d)}getIdentitiesMap(){return this.getFilteredIdentities(((t,e)=>!!e.value))}parseCustomerDefinedIdentities(t){const e=`Identify must be passed a non-empty string or list of { tag, id, priority? } tuples, value passed was '${JSON.stringify(t)}'`,r=t=>"string"==typeof t.id&&"string"==typeof t.tag,a=t=>"email_sha256"!==t.tag||g.emailSHA256Regex.test(t.id);return"string"==typeof t?(o=t).length>0?{left:[],right:[{id:o,tag:"default"}]}:{left:[e],right:[]}:Array.isArray(t)?(s=t,(0,i.zG)(s,n.tV((0,i.ls)(f.DT(r,(()=>e)),f.Y$(a,(()=>"Identify called with unsupported format of email_sha256 ID. The support format is hex-encoded 64 character long lowercase string.")))))):{left:[e],right:[]};var s,o}extractIdentifyFromQueue(t){let{global:e}=t;const r=()=>e.q.findIndex((t=>"identify"===t.functionName)),n=(t,i)=>{if(t<0)return i;const a=e.q.splice(t,1)[0],s=this.parseCustomerDefinedIdentities(a.arguments[0]);return n(r(),{left:i.left.concat(s.left),right:i.right.concat(s.right)})},{left:i,right:a}=n(r(),{left:[],right:[]});return i.forEach((t=>this.logger.warn("Invalid identity provided during init",t))),a}setIdentities(t){const e=t.reduce(((t,e)=>{let{tag:r,id:n,expiry:i,priority:a}=e;return void 0===this.identities[r]&&this.logger.debug(`identities[${r}]: added`),t[r]={...n?{value:n}:{},...i?{expiry:i}:{},...void 0!==a?{priority:a}:{}},t}),{}),r=this.rawRef.current;this.setIdentityMap({...this.identities,...e});const n=this.rawRef.current;return{identifyRequestRequired:()=>!d.xb(n)&&!d.Eh(s.Eq).equals(r,n)}}async reset(){this.setIdentityMap({}),await Promise.all(Object.values(this.providers).map((t=>t.reset())))}getFilteredIdentities(t){return(0,o.m8)(...Object.entries(this.identities).filter((e=>{let[r,n]=e;return t(r,n)})).map((t=>{let[e,{value:r,expiry:n,priority:a}]=t;return(0,i.bc)(e,{id:r,...n?{expiry:n}:{},...void 0!==a?{priority:a}:{}})})))}shouldAskForNewIdentity(t){var e;const r=(0,a.ij)(null===(e=this.identities)||void 0===e?void 0:e[t.tag]);return(0,a.g_)((()=>!0),this.isIdentityExpired)(r)}getCachedTPDIdentity(t){return this.identities[t]?(0,a.ij)(this.identities[t].value):a.YP}mapTPDIdentityIfPresent(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:86400;const n=()=>Date.now()+Math.floor(1e3*r);return(0,a.g_)((()=>({tag:t,expiry:n()})),(e=>({tag:t,id:e,expiry:n()})))(e)}retrieveIdentity(t){return t.getId().then((e=>"skipped"===e.type?(0,i.bc)(t,a.YP):(0,i.zG)(e.result,(e=>this.metrics.track({name:(0,a.pC)(e)?"sdk_third_party_identity_present_count":"sdk_third_party_identity_missing_count",value:1,labels:{identity_tag:t.tag}})),(r=>(0,i.bc)(t,e.result)))))}isIdentityExpired(t){return"number"==typeof t.expiry&&Date.now()>=t.expiry}getCachedIdentitiesAndMigrateIfRequired(){return(t=>(0,o.m8)(...Object.entries(t).filter((t=>{let[e,r]=t;return!this.isIdentityExpired(r)&&!v.has(e)}))))(this.permutiveData.getData("identities")||{})}}const v=new Set(["public","email","email_md5","email_sha256","ip_address"]),h=(t,e,r,i,a)=>{const o=(t,e)=>{const r=["(null)"];return r.indexOf(t)>-1||!!y[t]||(0,n.jV)(s.Eq)(e,r).length>0},c=t=>"721d6d85-35f0-4e35-bb38-13eb0d465158"===t,u={"be668577-07f5-444d-98e0-222b990951b1":o,"e43c8a90-d17b-4790-bfda-81b069b3b8c2":(t,e,r)=>["thestudentroom.co.uk"].some((t=>r.indexOf(t)>-1))&&(0,n.jV)(s.Eq)(e,["tsr-"]).length>0,"5d79bce7-5d2b-427e-a6c4-b89b6c7bf048":o,"366ab8da-5efa-4355-ab00-84db3b68ded2":t=>"96539955-4d7e-40df-882b-7e2fbacedb1c"===t||"345600e7-fb5f-48b1-9aa6-cde5396419b0"===t,"f3a06674-ebb9-4b9d-ba8f-0052018c0687":c,"38dadd0d-257a-4641-b332-b8b0fd20a6cb":c,"10453011-272d-49cd-9043-1964fdb36fd8":t=>"936ba6ac-9a8b-454d-ba98-facebd7553fe"===t},l={"fe68d1f7-c9f4-45b3-8905-7cda73d3fd74":t=>!!S[t]},d=u[t]||l[e];return!!d&&d(a,r,i)},_=2,b=3,S={},y={}},8167:(t,e,r)=>{r.d(e,{z:()=>n});class n{ingestIfEligible(t){return Promise.resolve()}}},1993:(t,e,r)=>{r.d(e,{u6:()=>a});var n=r(936);r(5460),r(7387);const i={prebid:{onReady:()=>({})}},a=t=>n.of(i)},9702:(t,e,r)=>{r.d(e,{CL:()=>o,EW:()=>c,PH:()=>s,eV:()=>i,jH:()=>u,t2:()=>a});var n=r(3636);const i=(0,n.MU)("track_form_submission",!0),a=((0,n.MU)("track_pageview_complete",!0),(0,n.MU)("track_pageview_engagement",!0)),s=((0,n.$S)("sync_segments_cookie",!1),(0,n.$S)("track_slot_clicked",!0)),o=(0,n.$S)("track_slot_rendered",!0),c=(0,n.$S)("track_slot_viewable",!1),u=(0,n.$S)("track_targeting_keys",!1)},7041:(t,e,r)=>{r.d(e,{v:()=>s});class n{logger;permutive;id;segmentCode;triggerType;config;workspaceLevelConfig;prefix="[Activation]";constructor(t,e,r,n,i,a,s){this.logger=t,this.permutive=e,this.id=r,this.segmentCode=n,this.triggerType=i,this.config=a,this.workspaceLevelConfig=s}getSegmentCode(){return this.segmentCode}getTriggerType(){return this.triggerType}getConfig(){return this.config}getWorkspaceLevelConfig(){return this.workspaceLevelConfig}trackImpression(t){return this.trackActivation("impression",t)}trackConversion(t){return this.trackActivation("conversion",t)}trackActivation(t,e){const r={reaction_id:this.id,type:t};this.permutive.track("Reaction",r,e),this.logger.log(this.prefix,r.type,r)}}var i=r(3636);const a={dfp:{dfp:[75949,75947,156133,81688,153993,72786,172161,76217,88035,122942,75225,81364,77834,153983,153997,153960,153937,125145,125133,75374,115432,124855,162640,75220,124938,125143,153938,72784,76196,81704,122933,81703,77839,76223,81351,94838,153976,153975,78899,81534,75932,153994,74319,125118,125250,88783,125104,153956,153972,124816,75359,148180,74286,61938,76184,81530,125123,89016,153968,124851,79093,124928,153989,124923,153998,75387,81701,75934,75944,75232,88040,154017,153954,81374,153945,125139,124836,154008,125124,81375,125116,124846,156124,74267,173203,75375,75946,77831,63889,77832,173204,154005,76183,81686,92784,77833,75935,81368,88036,125111,153969,75223,156123,124856,124854,98386,79173,153805,74295,76187,162443,125147,74297,154012,154011,114680,124936,125153,81519,156135,89650,75361,125152,79151,74279,153987,75950,75219,75357,124822,74309,105244,114069,76211,106406,74270,74261,74307,122940,148178,124819,75385,154013,173207,89018,81376,156127,154002,156130,75943,78882,148177,154006,166080,77837,76199,88890,63809,153942,153971,107490,153991,125110,153953,154010,125155,89026,124834,89020,74293,125114,153794,76214,74298,75384,125146,75956,154014,75211,124845,153801,166073,125132,122941,75370,124931,79171,88140,88891,79168,156136,124859,153985,75353,75377,88127,122934,125115,81361,81695,123881,125117,124858,79876,125166,74288,63862,75213,76219,81540,75226,125169,166082,74262,75386,153944,74294,81369,75369,125154,89017,76210,75216,156129,173523,124849,81690,90505,153793,153973,153964,125161,75358,124274,81537,75391,122939,90507,76193,75939,74277,124941,63888,75209,74321,125120,81367,72133,124937,79874,122938,81380,153986,75354,81372,153939,124939,153955,75244,111942,123884,156143,88033,173050,125127,88037,153977,81378,88788,125130,79172,75366,74291,124948,63876,124826,96354,76190,153982,96401,81529,125105,88038,75382,153803,153934,153961,88039,125238,125137,124814,110665,79169,79873,81520,81357,75367,75212,75371,124818,156142,166071,75954,75355,81689,118780,172193,124790,96352,166075,77836,156126,124835,124838,122883,63825,166072,153988,81687,47119,76218,124944,166059,122848,74271,125144,153800,74308,125150,166086,75208,172191,75380,81691,81697,154003,125119,78912,166069,154e3,126201,124848,95544,153952,125121,125160,124841,63887,75349,125242,74320,107335,153807,121884,81554,125134,75228,72902,74302,81705,124927,75368,125106,81692,154020,74304,89023,75945,154004,125141,143009,79091,75933,125128,148170,124791,63886,74276,74283,153806,172195,173208,63803,125113,81373,124935,156121,75931,79877,75397,94837,166083,124850,153950,166800,153999,124824,153958,89024,75352,81539,85886,75424,125233,75365,166081,81518,74301,74306,124945,75351,75383,125131,88887,124925,172192,125151,124831,75376,78885,125142,125122,124812,75394,154019,124934,153995,156125,123880,81356,74289,154009,154015,153936,125168,125159,81551,75396,166085,74268,124839,163011,173199,153996,153792,123878,76182,81526,153957,75948,115611,75942,153963,125125,76185,74282,124837,76186,153970,81694,75231,124782,125135,153802,74303,75246,88413,153951,156139,85885,125165,74285,75379,124857,75452,125156,74274,88042,116501,156456,125157,114679,154007,156128,124932,153797,153799,166084,153949,154018,156140,76209,75406,81379,173202,123877,77830,125149,74264,74287,63874,162933,74273,156138,74296,75953,76208,77846,81550,109701,74299,81535,173539,75210,124949,79156,74272,123879,124933,81552,125112,74265,173543,153967,122932,81365,125109,153965,74275,74258,172196,122935,75224,124930,118439,156134,113875,173200,75955,75360,75372,122937,77835,75940,117494,79878,125136,166545,125162,74257,173592,123882,162639,81702,99781,74280,115431,75941,153984,153959,79872,81523,154016,75378,153966,76213,153941,77838,79153,125240,76192,92785,77847,153943,81521,63797,75250,74292,156457,125129,124832,154001,74281,76191,153990,78913,75938,89021,125167,63871,89019,153948,74269,74278,125235,124829,76195,81381,173205,74300,153796,154021,74290,156122,125163,88034,153940,125164,153795,100124,156170,125138,88041,89015,74260,153804,125126,124940,83833,156137,79170,88315,148104,63800,88810,173201,124840,124926,153974,173206,125158,125108,72785,173142,125140,125107,153947,81353,103391,81366,153946,76220,154022,153962,175965,87444,175991,178642,178644,178682,178683,178684,178685,178686,178687,178688,178691,178692,178693,179348,179779,179782,179795,179801,179798,179799,179800,63798,183145,184126,184128,187769,187771,189288,189742,190336,193248,193396,193397,193398,193399,193761,194064,195321,197980,199216,199375,200121,200677,196006,202044,203019,203024,203033,203035,203038,100672,208462,208567,208568,208569,208570,208571,208781,203292,208822,208743,208852,210565,210567,211337],dfp_legacy:{}},eyeota_pixel:[],dbm:{omitted:3},appnexus:{},appnexus_adserver:[],nativo:[],rubicon_ssp:[],smart:[],freewheel:[]};class s{logger;permutive;clientContext;constructor(t,e,r){this.logger=t,this.permutive=e,this.clientContext=r}getSpecializedActivations(t){return a[t]}getActivations(t){return(0,i.Hn)(t)("activationConfigs",[]).filter((t=>this.areContextCriteriaSatisfied(t))).map((t=>new n(this.logger,this.permutive,t.id,t.sc,t.tt,t.c,t.wc)))}areContextCriteriaSatisfied(t){const e=t.cc,r=t=>{const e=this.clientContext.getContext()[t.key];switch(t.comparison){case"EQUALS":return e===t.value;case"NOT_EQUALS":return e!==t.value;case"CONTAINS":return"string"==typeof e&&e.indexOf(t.value)>=0;case"NOT_CONTAINS":return"string"==typeof e&&e.indexOf(t.value)<0}};return!e||("AND"===(n=e).operator?n.criteria.every(r):n.criteria.some(r));var n}}},3636:(t,e,r)=>{r.d(e,{$S:()=>s,Hn:()=>i,MU:()=>a});const n={standard_cohorts:{auto_init:!0,activationConfigs:[]},facebook_pixel_v2:{auto_init:!0,activationConfigs:[]},overlays:{auto_init:!0,activationConfigs:[]},dbm:{auto_init:!0,entity_id:658571214,product_type:"INVITE_ADVERTISER",activationConfigs:[]},scriptrunner:{auto_init:!0,activationConfigs:[]},clean_room:{auto_init:!0,api_version:"v4",pass_cohorts_to_prebid:!0,cohort_ssp_config:[],activationConfigs:[]},dfp:{auto_init:!0,track_slot_rendered:!1,track_slot_viewable:!0,track_slot_clicked:!0,activationConfigs:[]},twitter_pixel:{auto_init:!0,activationConfigs:[]},web:{auto_init:!1,add_alchemy_taxonomy:!1,add_alchemy_entities:!1,engagement_edge_only:!0,segment_transition_edge_only:!0,activationConfigs:[]}},i=t=>{const e=n[t];return(t,r)=>(null==e?void 0:e[t])??r},a=i("web"),s=i("dfp");i("facebook_pixel_v2")},6688:(t,e,r)=>{r.d(e,{z:()=>a,k:()=>s});var n=r(4513);class i{context;constructor(t){this.context=t}getContext(){return this.context}updateContext(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach((t=>{let[e,r]=t;this.context[e]=r}))}}class a extends i{constructor(t){super(t)}getClient(){return Promise.resolve(s())}}const s=()=>{const t="PermutiveWebSDK/v20.23.0";return{type:"web",user_agent:navigator.userAgent?`${navigator.userAgent} ${t}`:t,url:(0,n.bk)(window.location.href),domain:window.location.hostname||"",title:document.title,referrer:(0,n.bk)(document.referrer)}}},4253:(t,e,r)=>{r.d(e,{J:()=>c});var n=r(2275),i=r(9727),a=r(9134);const s=t=>e=>class extends e{key=t;put(t){return this.db.then((e=>e.put(t,this.key))).then(n.Q1)}getIfPresent(){return this.db.then((t=>t.get(this.key))).then(i.ij)}reset(){return this.db.then((t=>t.delete(this.key)))}},o=t=>(0,n.zG)(class{db;constructor(t){this.db=Promise.resolve((0,a.E)(t.namespace,t.logger,t.consent))}},s(t));class c extends(o("permutive-unprocessed-pba")){constructor(t){super(t)}}},5472:(t,e,r)=>{r.d(e,{LP:()=>a,dG:()=>n,eP:()=>i});const n=4096,i=`Cookie exceeds maximum supported size of ${n} bytes for most browsers.`,a="Cookie is missing required parameters."},6329:(t,e,r)=>{r.d(e,{Eq:()=>d,X:()=>p,b:()=>l});var n=r(5460),i=r(936),a=r(5191),s=r(7029),o=r(6627),c=r(2275),u=r(9727);const l=()=>({continent:void 0,environment:"",events_count:0,os:"",sample_rate:0,sdk_version:"",segments_count:0,session_count:0,session_init_count:0,session_view_count:0,user_agent:""}),d=a.n_({continent:{equals:(t,e)=>t===e},environment:s.Eq,events_count:o.Eq,os:s.Eq,sample_rate:o.Eq,sdk_version:s.Eq,segments_count:o.Eq,session_count:o.Eq,session_init_count:o.Eq,session_view_count:o.Eq,user_agent:s.Eq}),p=t=>{const e=m(t.userId),r=(0,c.zG)(n.vP(t.userId,t.sessionId),n.UI((t=>{let[e,r]=t;return`${e},${r}`})),m),a=String(Math.random()),s=(0,c.zG)(t.sdkVariant,u.UI((t=>`-${t}`)),u.fS((()=>""))),o={environment:"web",events_count:0,os:f(window.navigator.userAgent||""),sample_rate:t.sampleRate,sdk_version:"v20.23.0"+s,segments_count:0,user_agent:window.navigator.userAgent||""};return(0,c.zG)(i.vP({session_count:e(t.sessionId),session_init_count:r(n.a9(a)),session_view_count:r(t.viewId)}),i.UI((0,c.ls)((e=>n.vP({...e,continent:(0,c.zG)(t.continent,n.UI(u.FS))})),n.UI((t=>({...o,...t}))))))},f=t=>{const e=t.toLowerCase();return e.includes("windows")?"windows":e.includes("iphone")||e.includes("ipad")?"ios":e.includes("android")?"android":e.includes("macintosh")?"macos":e.includes("linux")?"linux":"unknown"},m=t=>e=>i.dQ((r=>{let{previousState:i}=r;const u=(0,c.zG)(n.vP(t,e),n.Rp(function(t){if(null!==t&&"object"==typeof t&&"scope"in t&&"lastValue"in t&&"count"in t)return t;return{scope:"",lastValue:"",count:1}}(i),((t,e)=>{let[r,n]=e;return{scope:r,lastValue:n,count:r!==t.scope?1:n!==t.lastValue?t.count+1:t.count}})),n.D8(a.n_({scope:s.Eq,lastValue:s.Eq,count:o.Eq})));return{state:u,value:(0,c.zG)(u,n.UI((t=>t.count)))}}))},6769:(t,e,r)=>{r.d(e,{p:()=>p});var n=r(2865),i=r(2275),a=r(7387),s=r(6329),o=r(5460),c=r(1583),u=r(6316),l=r(1717),d=r(3812);const p=t=>{let e=t.context.current;(0,i.zG)(t.context,o.D8(s.Eq),o.Rp((0,i.bc)(s.b(),s.b()),((t,e)=>{let[,r]=t;return(0,i.bc)(r,e)})),(t=>t.onChange((t=>{let[r,n]=t;s.Eq.equals({...r,continent:void 0},{...n,continent:void 0})||f({beacon:!1}),e=n}))));const r="[Metrics Reporter]";let p=!0;const f=async a=>{let{beacon:s}=a;const o=e,d=(0,i.zG)(u.of(t.metrics.consume()),u.Y$((()=>p),(()=>{})),u.tS(c.EQ((()=>u.of(void 0)),(e=>u.Y3((()=>(async(e,r)=>{if(!e)return t.api.metrics(r);if(!t.api.metricsBeacon(r))throw new Error("Failed to send beacon.")})(s,{context:o,items:e})),(i=>{p=!1,function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];t.logger.error(r,...n)}(`Failed to publish metrics ${(0,n.w)(i).message}`,e)}))))),l.UI(i.Q1));return d()},m=()=>{(0,d.HJ)((()=>f({beacon:!1}).finally((()=>m()))),5e3)};m(),(0,a.Bf)((()=>f({beacon:!0})),{capture:!1})}},6176:(t,e,r)=>{r.d(e,{u:()=>n});class n{trace;metrics;messages;_isRealtime=!1;_isReady=!1;constructor(t,e,r){this.trace=t,this.metrics=e,this.messages=r}isRealtime(){return this._isRealtime}isReady(){return this._isReady}setAsRealtime(t){const e=performance.now();this._isRealtime=!0,this.trace.measureSinceInit("sdk_realtime").finish(),this.messages.emit("permutive:realtime"),this.metrics.trackTimeSinceInit("sdk_realtime_targeting_set_task_duration_seconds",{},e),this.metrics.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"sdk_realtime",time_origin:"sdk_init"},e),this.metrics.track({name:"sdk_user_segments_count",value:t,labels:{}})}setAsReady(){const t=performance.now();this._isReady=!0,this.trace.measureSinceInit("sdk_ready").finish(),this.messages.emit("permutive:ready"),this.metrics.trackTimeSinceInit("sdk_initialisation_task_duration_seconds",{},t),this.metrics.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"sdk_ready",time_origin:"sdk_init"},t),window.performance&&window.performance.memory&&(this.metrics.track({name:"sdk_heap_memory_bytes_used",value:window.performance.memory.usedJSHeapSize,labels:{}}),this.metrics.track({name:"sdk_heap_memory_limit_fraction_used",value:window.performance.memory.usedJSHeapSize/window.performance.memory.jsHeapSizeLimit,labels:{}}))}}},541:(t,e,r)=>{r.d(e,{a:()=>b});var n=r(2275),i=r(7054),a=r(7029),s=(r(6511),i.dp,i.xb,function(t){return function(e){return Object.keys(e).sort(t.compare)}}),o=s(a.Df);i.dx,i.e$;i.Bu,i.P5,i.Su,i.UI;i.ri;function c(t){return i.vP(t)}i._r;i.jt;i.yW,i.G,i.t9;var u=i.HA,l=(i.nn,i.kp),d=i.CC,p=i.RF,f=(i.I8,i.mS,i.RJ,i._Y,i.V_),m=i.EW,g=i.nu,v=(i.SW,i.zV,i.Ub,i.vA,i.qS),h=(i.mK,function(t){return function(e){var r=s(t);return function(t,n){var i=r(t);if(0===i.length)return e.of({});for(var a=e.of({}),s=function(r){a=e.ap(e.map(a,(function(t){return function(e){return t[r]=e,t}})),n(r,t[r]))},o=0,c=i;o<c.length;o++){s(c[o])}return a}}});i.hX,i.DZ,i.uK,i.tV;i.oA,i.oh;var _="Record";i.Eh,i.uZ,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,i.nr,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df,a.Df;class b{config;localStorage;logger;permutiveData;cookies;externalData;constructor(t,e,r,n,i,a){this.config=t,this.localStorage=e,this.logger=r,this.permutiveData=n,this.cookies=i,this.externalData=a}async reset(){return this.logger.log("Resetting State"),(0,n.zG)(this.cookies.deleteCookie(this.config.cookieName),(t=>this.externalData.removeExternalData(this.config.cookieName)),(t=>o({_paols:!0,_papns:!0,_pcrdbs:!0,_pcrprs:!0,_pdfps:!0,_pfws:!0,_pnativo:!0,_prps:!0,_prubicons:!0,_psegs:!0,_psmart:!0,"permutive-id":!0,"permutive-loaded":!0,"permutive-prebid-rtd":!0,"permutive-prebid-id":!0,"permutive-events-cache":!0,_pssps:!0,_ppsts:!0}).forEach((t=>this.externalData.removeExternalData(t)))),(t=>this.permutiveData.reset()),(t=>Promise.all([this.localStorage.delete(this.config.permutiveDataMiscKey),this.localStorage.delete(this.config.permutiveDataQueriesKey)])),n.Q1)}}},1772:(t,e,r)=>{r.d(e,{u:()=>n});class n{permutiveData;permutiveReset;userId;viewId;logger;constructor(t,e,r,n,i){this.permutiveData=t,this.permutiveReset=e,this.userId=r,this.viewId=n,this.logger=i}getPermutiveData(t){return this.permutiveData.getData(t)}setPermutiveData(t,e){return this.permutiveData.setData(t,e)}getStateSizeInBytes(){return this.logger.warn("getStateSizeInBytes needs to be updated to reflect new event persistence"),this.permutiveData.getDataSize()}reset(){return this.permutiveReset.reset()}}},1347:(t,e,r)=>{r.d(e,{W:()=>n});class n{ref;constructor(t){this.ref=t}get(){return this.ref.current}}},9134:(t,e,r)=>{r.d(e,{E:()=>i});var n=r(7056);const i=(t,e,r)=>{const i=window.localStorage;return(0,n.rK)(i,"[Local Storage]",t,e,r)}},8480:(t,e,r)=>{r.d(e,{u:()=>i});r(6851);var n=r(7056);const i=(t,e,r)=>{const i=window.sessionStorage;return(0,n.rK)(i,"[Session Storage]",t,e,r)}},7056:(t,e,r)=>{r.d(e,{oP:()=>c,rK:()=>d});var n=r(2865),i=r(3939),a=r(1385),s=r(2275),o=r(4429);class c{storage;namespace;constructor(t,e){this.storage=t,this.namespace=e}async put(t,e){const r=this.namespace.getNamespacedStorageKey(e.toString());return this.storage.setItem(r,JSON.stringify(t)),e}async get(t){const e=this.namespace.getNamespacedStorageKey(t.toString()),r=this.storage.getItem(e);return null===r?null:(0,i.A)(r)}async delete(t){const e=this.namespace.getNamespacedStorageKey(t.toString());this.storage.removeItem(e)}async deleteStore(){}}const u=t=>{const{logger:e,consent:r,prefix:n}=t,i=(t,r)=>(e.debug(`${n} Failed to write ${String(r)} as consent is revoked`),Promise.resolve(r));return t=>class extends t{put=(0,o.v)(super.put.bind(this),i,(()=>!r.current))}},l=t=>{const{logger:e,prefix:r,storage:i}=t;return t=>class extends t{isSupported=null;isStorageSupported(){return null!==this.isSupported||(this.isSupported=a.Y3((()=>{const t="_permutive_ls_test";return i.setItem(t,t),i.getItem(t),i.removeItem(t),!0}),n.w),(0,s.zG)(this.isSupported,a.EQ((t=>{e.warn(`${r} Is NOT supported`,t)}),(()=>{e.debug(`${r} Is supported`)})))),this.isSupported}async put(t,e){return(0,s.zG)(this.isStorageSupported(),a.EQ((t=>{throw t}),(()=>super.put(t,e))))}async get(t){return(0,s.zG)(this.isStorageSupported(),a.EQ((()=>null),(()=>super.get(t))))}async delete(t){return(0,s.zG)(this.isStorageSupported(),a.EQ(s.Q1,(()=>super.delete(t))))}async deleteStore(){return(0,s.zG)(this.isStorageSupported(),a.EQ(s.Q1,(()=>super.deleteStore())))}}},d=(t,e,r,n,i)=>new((0,s.zG)(c,l({logger:n,prefix:e,storage:t}),u({logger:n,consent:i,prefix:e})))(t,r)},3247:(t,e,r)=>{r.d(e,{SD:()=>d});var n=r(9727),i=r(1583),a=r(7054),s=r(2275),o=r(5460),c=r(7387);const u={tradedesk:21,ddp:755,appnexus:32,pubmatic:76,neustar_fabrick:468},l="[TCF]",d=(t,e)=>{const[r,d,f]=(0,s.zG)(o.Ue(n.YP),(t=>{let[r,...i]=t;return[(0,s.zG)(r,o.bw(n.UI((t=>{e.debug(l,`Status "${t.type}"`,t)})))),...i]})),m=t.__tcfapi;if(m){const t=new Set(["tcloaded","useractioncomplete"]);m("addEventListener",2,((r,i)=>{i?"loaded"===r.cmpStatus&&t.has(r.eventStatus)&&(e.debug(l,"TCF API loaded",r),d(n.G({type:"loaded",data:r}))):(e.warn(l,"TCF API failed to register event listener"),d(n.G({type:"aborted"})),f())}))}else e.debug(l,"TCF API missing from the page"),d(n.G({type:"missing"})),f();const[g,v]=(0,s.zG)(o.gS(i.uZ()),(t=>{let[e,r]=t;return[e,(0,s.ls)(i.of,r)]}));return(0,s.zG)(o.vP(r,g),o.bw((t=>{let[r,i]=t;return(0,s.zG)(r,n.UI((t=>{const r=i();switch(e.debug(l,`Processing ${r.length} listeners`,r),t.type){case"missing":r.forEach((r=>{let[n,i]=r;e.debug(l,`Invoking ${n} as TCF API missing`),i(t)}));break;case"aborted":r.forEach((t=>{let[r]=t;e.debug(l,`Invoking ${r} skipped as TCF API aborted`)}));break;case"loaded":r.forEach((r=>{let[i,o]=r;(0,s.zG)(p(t.data),n.EQ((()=>{e.debug(l,`Invoking ${i} as GDPR does not apply`),o(t)}),(r=>(0,s.zG)(u,a.P5(i),n.tS((t=>(0,s.zG)(r,a.P5(t.toString())))),n.UI((r=>{r?(e.debug(l,`${i} has consent`,{vendor:i}),o(t)):e.debug(l,`${i} does not have consent`,{vendor:i})}))))))}))}})))}))),{registerVendorOnValidConsent:(t,e)=>v([t,e]),getStatusOrAbortOnTimeout:t=>new Promise((e=>{const i=setTimeout((()=>e({type:"aborted"})),t);(0,s.zG)(r,o.UI(n.UI((t=>{clearTimeout(i),e(t)}))))})).then((0,c.bw)((t=>e.debug(l,"TCF status resolved as",{status:t})))),tcfApiStatusRef:r}},p=t=>t.gdprApplies?n.G(t.vendor.consents):n.YP},6563:(t,e,r)=>{r.d(e,{C:()=>o});var n=r(366),i=r(2275);r(9082),r(1993);const a=(s=[[{name:"dfp",import:Promise.resolve().then(r.bind(r,2198))}],[],[],[],[],[],[{name:"clean_room",import:Promise.resolve().then(r.bind(r,1819))}],[{name:"dbm",import:Promise.resolve().then(r.bind(r,1925))}],[{name:"ddp",import:Promise.resolve().then(r.bind(r,5286))}],[],[{name:"facebook_pixel_v2",import:Promise.resolve().then(r.bind(r,6216))}],[],[],[],[],[],[{name:"overlays",import:Promise.resolve().then(r.bind(r,6683))}],[],[],[],[],[],[],[],[{name:"scriptrunner",import:Promise.resolve().then(r.bind(r,3751))}],[],[],[{name:"twitter_pixel",import:Promise.resolve().then(r.bind(r,1001))}],[{name:"web",import:Promise.resolve().then(r.bind(r,7866))}],[],[],[],[],[]],(0,i.zG)((0,n.xH)(s),(0,n.u4)({},((t,e)=>({...t,[e.name]:e.import})))));var s;const o=t=>{const e=Object.entries(a).map((async e=>{let[r,n]=e;return t.logger.log(`Loading addon ${r}`),(await n).load(t)}));return Promise.all(e)}},2725:(t,e,r)=>{r.r(e),r.d(e,{createAddon:()=>w,getCachedDFPSegments:()=>y});var n=r(2865),i=r(1385),a=r(2275),s=r(9727),o=r(1583),c=r(5460),u=r(3636),l=r(7387);const d="_pdfps";r(5472);var p=r(366),f=r(7029);let m=!1;let g=null;const v=(t,e)=>{const{logger:r}=e;(0,a.zG)(t,s.UI((t=>{!0!==m&&t.pubadsReady&&(g??=n=>{let{slot:i}=n;const{getContentUrl:s}=i;if(!s||"function"!=typeof s)return;(0,a.zG)(s(),(0,f.pn)("&trunc=1"))&&(r.debug("DFP content URL has been truncated!"),(t=>{let{metrics:e,logger:r}=t;m||(e.track({name:"sdk_targeting_size_limit_exceeded_count",value:1,labels:{target:"dfp"}}),m=!0,r.debug("DFP has exceeded targeting limit"))})(e),g&&t.pubads().removeEventListener("slotRenderEnded",g),g=null)},t.pubads().addEventListener("slotRenderEnded",g))})))},h=(t,e,r,n)=>{const{logger:i}=e;v(t,e);(0,a.zG)(t,s.UI((t=>(t=>{t.cmd.push((()=>{const{getTargeting:e,setTargeting:a}=t.pubads(),s=e("permutive")||[],o=Object.values(r.eligibleSegments).map(String).concat(r.allSeenCloudCohorts).concat("rts"),c=(0,p.uK)((t=>o.includes(t))),{left:u}=c(s),l=n.concat(u).concat("rts");i.debug("DFP setting GPT targeting to",l),a("permutive",l)}))})(t))))};var _=r(2198);const b={liveSegments:[],cloudCohorts:[],allSeenCloudCohorts:[],eligibleSegments:{}},S={segments:b,getGAMKeyValues:()=>({permutive:""})},y=t=>t.getExternalJsonData(d)||[],E=(t,e,r)=>{const{logger:i,externalData:a,api:s}=e;let o=r.map(String).concat(b.cloudCohorts);i.debug("DFP is updating with targeting values",o),h(t,e,b,o);try{a.setExternalJsonData(d,o)}catch(t){const e=(0,n.w)(t),r="DFP failed to set data. Got:";i.error(r,e),s.reportError(`${r} ${e.message}`)}return((t,e)=>{let{api:r,logger:n}=t;(0,u.$S)("sync_segments_cookie",!1)?(n.debug("DFP syncing segment cookie _pdfps"),r.segmentSync({key:d,value:e})):n.debug("DFP sync segments cookie not enabled, skipping sync")})(e,JSON.stringify(o)),i.debug("DFP live segments updated to",r),r},w=async t=>{const{api:e,logger:r,activationManager:n,messages:u,externalData:p,nextGenOutput:f,userId:m,cookies:g}=t,v=await(0,l.a4)((()=>window.googletag),(()=>!!window.googletag),{waitTimeInMs:10,maxAttempts:200,exponentialBackOff:!1});s.Wi(v)&&r.error("[DFP]: unable to find google tag script on the page"),(0,a.zG)(v,s.UI((t=>(t=>t.cmd.push((()=>t.pubads().setTargeting("prmtvsdk","web"))))(t))));S.getGAMKeyValues=()=>({...(0,a.zG)((0,_.generateProjectSpecificKVs)(t),i.Vn((t=>{var r;return r=t,e.reportError(`[DFP] ${r}`,m.get()),t})),i.fS((()=>({})))),permutive:S.segments.liveSegments.join(",")}),b.eligibleSegments=(t=>{const e=t.getSpecializedActivations("dfp"),r={};for(const t of e.dfp)r[t]=t;for(const t of Object.keys(e.dfp_legacy)){const n=Number(t);r[n]=e.dfp_legacy[n]}return r})(n);const h=(0,a.zG)(f.queryLanguageCohorts.all,c.UI((t=>(r.debug("DFP received QL segments",{qlSegments:t}),((t,e)=>t.filter((t=>t in e)).map((t=>e[t])))(t,b.eligibleSegments)))),c.D8(l.cO)),y=f.activations.dfp??c.a9(o.bM()),w=(0,a.zG)(y,c.Rp(o.bM(),((t,e)=>[...new Set([...t,...e])])));return(0,a.zG)(c.vP(h,y,w),c.YP((0,l.Z_)(e,m,(e=>{let[n,i,a]=e;r.debug("DFP received updated cohorts",{filteredQlSegments:n,cloudCohorts:i}),b.cloudCohorts=i,b.allSeenCloudCohorts=a,b.liveSegments=E(v,t,n)})))),r.debug("DFP initialised with segments",b),(0,a.zG)(v,s.UI((t=>{t.secureSignalProviders=t.secureSignalProviders||[],t.secureSignalProviders.push({id:"permutive-secure-signal",collectorFunction:c.yY(f.addons.secureSignal)})}))),u.on("permutive:reset",(0,l.Z_)(e,m,(()=>{r.debug("DFP received 'permutive:reset' event"),p.removeExternalData(d),g.deleteCookie(d)}))),u.emit("permutive:dfp:ready"),S}},2198:(t,e,r)=>{r.r(e),r.d(e,{generateProjectSpecificKVs:()=>C,load:()=>p});var n=r(2865),i=r(1385),a=r(9727),s=r(2275),o=r(9702),c=r(3636),u=r(7387),l=r(2725);const d={},p=t=>{(0,c.Hn)("dfp")("auto_init",!1)&&t.q.push({functionName:"addon",arguments:["dfp",{}]}),window.googletag=window.googletag||{},window.googletag.cmd.push((()=>f(t)))},f=t=>{t.permutive.ready((0,u.Z_)(t.api,t.userId,(()=>w(t.metrics))),"realtime");I(t.externalData);(0,s.zG)(C(t),i.tS((t=>i.Y3((()=>(0,u.qh)(t).forEach((t=>{let[e,r]=t;googletag.pubads().setTargeting(e,r)}))),n.w))),i.Vn((e=>t.api.reportError(`[DFP:load], ${e}`,t.userId.get())))),b(t.permutive),googletag.cmd.push((()=>{S(t.permutive),y(t.permutive)})),window.addEventListener("message",g(t.permutive),!1)},m=t=>{let{advertiserId:e,campaignId:r,lineItemId:n,creativeId:i}=t;return{advertiser_id:(0,u.rH)(e),campaign_id:(0,u.rH)(r),line_item_id:(0,u.rH)(n),creative_id:(0,u.rH)(i)}},g=t=>e=>{try{const r=JSON.parse(e.data);if(!r.permutive_type||"google_ad_click"!==r.permutive_type)return;const{ad_unit_path:n,creative_id:i,advertiser_id:a,order_id:s,line_item_id:o}=(null==r?void 0:r.data)??{},c=m({lineItemId:o,advertiserId:a,campaignId:s,creativeId:i});let u;Object.keys(d).some((t=>{const{slot:e,creative_id:r}=d[t];if((null==e?void 0:e.ad_unit_path)===n&&r===c.creative_id)return u=d[t],!0})),u=u??{...c,is_empty:!1},v(t,u)}catch{}},v=(t,e)=>{o.PH&&e&&t.track("SlotClicked",e)},h={},_=(t,e,r)=>{d[e]=r,E(t,r),h[e]&&h[e](),h[e]=T(t,e)},b=t=>{const e=googletag.pubadsReady&&googletag.pubads().getSlots();e&&e.forEach((e=>{const r=e.getResponseInformation();if(!r)return;const n={...m(r),is_empty:!1,service_name:"publisher_ads",slot:P(e)},i=e.getSlotElementId();_(t,i,n)}))},S=t=>{googletag.pubads().addEventListener("slotRenderEnded",(e=>{const r={...m(e),is_empty:e.isEmpty,service_name:e.serviceName,slot:P(e.slot)};if(e.size){const[t,n]=e.size;"number"==typeof t&&"number"==typeof n&&(r.width=t,r.height=n)}const n=e.slot.getSlotElementId();_(t,n,r)}))},y=t=>{o.EW&&googletag.pubads().addEventListener("impressionViewable",(e=>{let{slot:r,serviceName:n}=e;const i=r.getResponseInformation();if(!i)return;const a={...m(i),service_name:n,slot:P(r)};t.track("SlotViewable",a)}))},E=(t,e)=>{if(!o.CL)return;var r;r={...e,rendered_timestamp:Date.now()},t.track("SlotRendered",r)},w=t=>{let e=0;const r=googletag.pubadsReady&&googletag.pubads().getSlots();r&&r.forEach((t=>t.getResponseInformation()&&e++));const n=0===e?"sdk_targeting_realtime_success_count":"sdk_targeting_realtime_fail_count";t.track({name:n,value:1,labels:{target:"dfp"}})},I=t=>{const e=(0,l.getCachedDFPSegments)(t);googletag.cmd.push((()=>{const{getTargeting:t,setTargeting:r}=googletag.pubads(),n=t("permutive")||[];r("permutive",[...new Set([...e.map(String),...n])])}))},P=t=>{const e={ad_unit_path:t.getAdUnitPath(),slot_element_id:t.getSlotElementId()};return o.jH?{...e,...(()=>{const e={},r=[];let n=[];const i=(t,i)=>{const a="slot"===t?t=>e[t]=1:()=>{},s=i.getTargetingKeys();n=s;for(let s=0;s<n.length;s++){const o=n[s];if(void 0!==e[o]&&"service"===t)continue;const c=[],u=i.getTargeting(o);for(let t=0;t<u.length;t++)c.push(u[t].toString());c.length>0&&(a(o),r.push({key:o,value:c}))}};return i("slot",t),i("service",googletag.pubads()),{targeting_keys:r}})()}:e},T=(t,e)=>{let r=[];const n=()=>(0,s.zG)((0,s.bc)((0,s.zG)(a.Y3((()=>document.getElementById(e))),a.tS(a.ij),a.tS(a.KQ((t=>t.querySelector("iframe"))))),a.ij(document.activeElement)),a.RD,a.UI((r=>{let[n,i]=r;"hidden"===document.visibilityState&&n===i&&v(t,d[e])})));return document.addEventListener("visibilitychange",n),r.push((()=>document.removeEventListener("visibilitychange",n))),()=>{r.forEach((t=>t())),r=[]}},C=t=>{let{userId:e,viewId:r}=t;return i.Y3((()=>({})),n.w)}},6683:(t,e,r)=>{r.r(e),r.d(e,{OverlaysAddon:()=>o,load:()=>s});var n=r(3812),i=r(3636),a=r(7387);const s=t=>{(0,i.Hn)("overlays")("auto_init",!1)&&t.q.unshift({functionName:"addon",arguments:["overlays",{}]})};class o{permutive;options;loadedImageCounts;activations;constructor(t){const e=this;this.permutive=t.permutive,this.options=t,this.activations=this.options.activationManager.getActivations("overlays"),this.loadedImageCounts={};for(let r=0;r<this.activations.length;r++){const n=this.activations[r],i=n.getSegmentCode(),s=n.getTriggerType(),o=n.getConfig(),c=this.buildOverlayCss(o,r);document.head.insertAdjacentHTML("beforeend",c);const u=this.buildOverlayBody(o,r);document.body.insertAdjacentHTML("beforeend",u);const l=`permutive-overlay-${r}`,d=document.getElementById(l);if(d){const t=d.getElementsByClassName("close")[0],e=d.getElementsByClassName("content")[0],r=()=>{d.style.visibility="hidden",d.style.opacity="0"},i=t=>{(null==e?void 0:e.contains(t.target))||(r(),d.removeEventListener("click",i))};t.addEventListener("click",r),d.addEventListener("click",i);[].slice.call(d.getElementsByTagName("a")).slice(1).forEach((t=>{t.addEventListener("click",(function(){n.trackConversion({useBeacon:!0})}))}));const a=d.getElementsByTagName("form")[0];a&&a.addEventListener("submit",(function(t){t.preventDefault(),n.trackConversion({success:function(){a.submit()}})}))}const p=function(t,r){e.showOverlay(t),r.trackImpression()};"EveryTime"===s?this.permutive.segment(i,(0,a.Z_)(t.api,t.userId,(t=>{t?p(l,n):this.permutive.trigger(i,"result",(function(t){t.result&&p(l,n)}))}))):"OnEntry"===s?this.permutive.trigger(i,"result",(0,a.Z_)(t.api,t.userId,(function(t){t.result&&p(l,n)}))):"OnExit"===s&&this.permutive.trigger(i,"result",(0,a.Z_)(t.api,t.userId,(function(t){t.result||p(l,n)})))}}buildOverlayCss(t,e){return'<style type="text/css">.${overlay_class}{position:fixed;top:0;bottom:0;left:0;right:0;width:100%;height:100%;background:rgba(0,0,0,0.${opacity_percentage});transition:opacity ${opacity_transition_ms}ms;visibility:hidden;opacity:0;z-index:1000000;}.${modal_class}{position:fixed;padding:10px;background:#fff;border-radius:5px;z-index:1000001}.${modal_class} .content{overflow:auto;z-index:1000002;}.${modal_class} .close{position:absolute;top:20px;right:30px;transition:all 200ms;font-size:30px;font-weight:bold;text-decoration:none;color:#333;z-index:1000003}.${modal_class} .close:hover{color:orange;}</style>'.replace(/\${overlay_class}/g,"permutive-overlay-"+e).replace(/\${modal_class}/g,"permutive-modal-"+e).replace("${opacity_percentage}",t.opacity_percentage.toString()).replace("${opacity_transition_ms}",t.opacity_transition_ms.toString())}buildOverlayBody(t,e){const r=this.options.config.windowKey;let n="";return!function(t){return void 0!==t.html}(t)?function(t){return void 0!==t.image_url&&void 0!==t.image_link}(t)&&(n='<a href="'+t.image_link+'"><img src="'+t.image_url+'"/></a>'):n=t.html,'<div id="${overlay_class}" class="${overlay_class}"><div id="${modal_class}" class="${modal_class}"><a class="close" href="javascript:;">×</a><div class="content">${content}</div></div></div>'.replace(/\${overlay_class}/g,"permutive-overlay-"+e).replace(/\${modal_class}/g,"permutive-modal-"+e).replace("${content}",n).replace(/<img /g,`<img onload='window[${r}].addons.overlays.loadedImage("permutive-overlay-" + num + "")' `)}showOverlay(t){const e=document.getElementById(`${t}`);if(!e)return;const r=()=>{const t=e.getElementsByTagName("div")[0],r=t.getBoundingClientRect().height,n=t.getBoundingClientRect().width;t.style.left=window.innerWidth/2-n/2+"px",t.style.top=window.innerHeight/2-r/2+"px",e.style.visibility="visible",e.style.opacity="1"},i=e.getElementsByTagName("img");if(i.length>0){let e=0;const a=()=>{e<10&&(!(t in this.loadedImageCounts)||this.loadedImageCounts[t]<i.length)?(e+=1,(0,n.HJ)(a,500)):r()};a()}else r()}loadedImage(t){t in this.loadedImageCounts?this.loadedImageCounts[t]=this.loadedImageCounts[t]+1:this.loadedImageCounts[t]=1}}},1925:(t,e,r)=>{r.r(e),r.d(e,{load:()=>i});var n=r(3636);const i=t=>{(0,n.Hn)("dbm")("auto_init",!1)&&t.q.push({functionName:"addon",arguments:["dbm",{}]})}},5286:(t,e,r)=>{r.r(e),r.d(e,{DDPPixel:()=>c,load:()=>u});class n{options;storageKey;syncTimeoutSeconds;tcfStatus;constructor(t,e,r){this.options=t,this.storageKey=e,this.syncTimeoutSeconds=r,this.tcfStatus=t.tcfStatus,this.sendPixel()}sendPixel(){const t=this.options.permutiveData.getData(this.storageKey);t&&!this.isExpired(t)||this.makeUrl(this.options.config.apiKey,this.options.state.userId.get()).then((t=>{this.fire(t),this.options.permutiveData.setData(this.storageKey,(new Date).getTime())}))}fire(t){(new Image).src=t}isExpired(t){return isNaN(t)||(new Date).getTime()>t+1e3*this.syncTimeoutSeconds}}var i=r(1385),a=r(2275),s=r(7387);const o=("https:"===location.protocol?"https:":"http:")+"//cm.g.doubleclick.net/pixel?google_nid=permutive_dmp&google_cm&type=ddp";class c extends n{constructor(t){super(t,"addon:ddp",86400)}async makeUrl(t,e){return(0,a.zG)(this.addGDPRParams(),i.Vn((0,s.bw)((t=>this.options.api.reportError(`Failed to make ddp url. ${t}`,e)))),i.EQ((()=>""),(r=>`${o}&k=${t}&u=${e}&${r}`)))}addGDPRParams(){return i.Y3((()=>{if("missing"===this.options.tcfStatus.type)return"gdpr=0";return`gdpr=1&gdpr_consent=${"loaded"===this.options.tcfStatus.type?this.options.tcfStatus.data.tcString:""}`}),(t=>`Failed to retrieve GDPR query params. Got ${t}`))}}const u=()=>{}},6216:(t,e,r)=>{r.r(e),r.d(e,{FacebookV2Pixel:()=>u,load:()=>l});var n=r(3636),i=r(7387),a=r(2275);class s{isFirstRun;cachedSegmentsMembership;constructor(t,e){this.isFirstRun=void 0===t.permutiveData.getData(e),this.cachedSegmentsMembership=new Set(t.nextGenOutput.queryLanguageCohorts.all.current),this.isFirstRun&&t.permutiveData.setData(e,!0),t.messages.on("permutive:reset",(()=>t.permutiveData.setData(e,!1)))}}var o=r(817);class c extends s{constructor(t,e,r){super(t,r);const n=(0,a.zG)(t.activationManager.getActivations(e),(0,o.vM)((t=>String(t.getSegmentCode()))));if(this.isFirstRun)for(const t of this.cachedSegmentsMembership){const e=String(t);e in n&&n[e].forEach((t=>this.fire(t,!0)))}t.permutive.on("SegmentEntry",(t=>{const e=t.properties.segment_number,r=String(e);r in n&&n[r].forEach((t=>this.fire(t,!0)))})),t.permutive.on("SegmentExit",(t=>{const e=t.properties.segment_number,r=String(e);r in n&&n[r].forEach((t=>this.fire(t,!1)))}))}}class u extends c{isUsingCoreSetup;constructor(t){super(t,"facebook_pixel_v2","addon:facebook_pixel_v2");const e=(0,n.Hn)("facebook_pixel_v2");this.isUsingCoreSetup=e("is_using_core_setup",void 0)}fire(t,e){void 0===this.isUsingCoreSetup?(this.fireWithSegmentProperty(e,t.getSegmentCode()),this.fireWithSegmentEventName(e,t.getSegmentCode())):this.isUsingCoreSetup?this.fireWithSegmentEventName(e,t.getSegmentCode()):this.fireWithSegmentProperty(e,t.getSegmentCode()),t.trackImpression()}fireWithSegmentProperty(t,e){fbq("trackCustom",!0===t?"PermutiveSegmentEntry":"PermutiveSegmentExit",{segment_id:e})}fireWithSegmentEventName(t,e){fbq("trackCustom",(!0===t?"PermutiveSegmentEntry_":"PermutiveSegmentExit_")+e)}}const l=t=>{(0,n.Hn)("facebook_pixel_v2")("auto_init",!1)&&(0,i.a4)((()=>t.permutive.addon("facebook_pixel_v2",{})),(()=>"undefined"!=typeof fbq),{waitTimeInMs:1e3,maxAttempts:3})}},3751:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ScriptRunnerAddon:()=>ScriptRunnerAddon,load:()=>load});const load=t=>{t.q.unshift({functionName:"addon",arguments:["scriptrunner",{}]})};class ScriptRunnerAddon{permutive;options;api;activations;constructor(options){this.permutive=options.permutive,this.options=options,this.api=options.api,this.activations=this.options.activationManager.getActivations("scriptrunner");const segmentTransitions=this.options.nextGenOutput.segmentTransitionsSinceInit.current;for(let i=0;i<this.activations.length;i++){const activation=this.activations[i],triggerType=activation.getTriggerType(),segmentCode=activation.getSegmentCode(),run=activation=>{const script=activation.getConfig().script.replace(/impression\(\)/g,"activation.trackImpression();").replace(/conversion\(\)/g,"activation.trackConversion();");try{eval(script)}catch(t){t instanceof Error&&(t.message="Error running custom script: "+t.message,this.api.reportError(t,this.options.userId.get()))}};"EveryTime"===triggerType?this.permutive.segment(segmentCode,(t=>{t?run(activation):this.permutive.trigger(segmentCode,"result",(function(t){t.result&&run(activation)}))})):"OnEntry"===triggerType?segmentTransitions.segmentsEntered.includes(segmentCode)?run(activation):this.permutive.trigger(segmentCode,"result",(function(t){t.result&&run(activation)})):"OnExit"===triggerType&&(segmentTransitions.segmentsExited.includes(segmentCode)?run(activation):this.permutive.trigger(activation.getSegmentCode(),"result",(function(t){t.result||run(activation)})))}}}},7866:(t,e,r)=>{r.r(e),r.d(e,{WebAddon:()=>E,load:()=>y});var n=r(2865),i=r(1385),a=r(2275),s=r(6627),o=r(9727),c=r(5586),u=r(9702),l=r(3636),d=r(7387);const p=(0,l.MU)("add_alchemy_entities",!1),f=(0,l.MU)("add_alchemy_taxonomy",!1);function m(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{...t&&f?{taxonomy_labels:"$alchemy_taxonomy_labels"}:{},...t&&p?{entity_names:"$alchemy_entity_names"}:{},classifications_watson:{taxonomy_labels:"$taxonomy_labels"}}}function g(t,e,r,n){const i={isp_info:"$ip_isp_info",geo_info:"$ip_geo_info",...v(),...t,...e};r.track("Pageview",i).then((t=>{t&&n.emit("permutive:event:pageview",t)}))}function v(){return{}}var h=r(3812);const _=["mousemove","click","scroll"],b=["email","tel","submit","reset","button","file","password","radio","checkbox"],S=["email","e-mail","password","tel","telephone","phone","name_first","name_last","sa_zip"],y=t=>{(0,l.Hn)("web")("auto_init",!1)&&t.q.push({functionName:"addon",arguments:["web",{auto_init:!0}]})};class E{permutive;options;api;clientContext;logger;dirtyState=!1;cancelEngagementTimer=()=>{};totalCompletion=0;totalEngagedTime=0;pageEngagementDetected;cleanupPageEngagementDetection=a.Q1;constructor(t){this.permutive=t.permutive,this.options=t,this.api=t.api,this.clientContext=t.clientContext,this.logger=t.logger,this.options.customProperties.setCustomProps(t.page||{});this.pageEngagementDetected=(()=>{this.dirtyState=!0}).bind(this),g(m(this.clientContext.getContext().isArticle),this.options.customProperties.getCustomProps(),this.permutive,this.options.messages),this.enablePageEngagementDetection(),"loading"!==document.readyState?this.attachListeners():window.addEventListener("DOMContentLoaded",this.attachListeners.bind(this),!1),u.t2&&(this.cancelEngagementTimer=this.registerEngagementInterval(this.getEventInterval()))}sendFormSubmissionEvent(t){{const e=t.currentTarget,r={form:{method:e.method||"GET",properties:this.serializeForm(e),..."string"==typeof e.id?{id:e.id}:{},...e.name&&"string"==typeof e.name?{name:e.name}:{},...e.action&&"string"==typeof e.action?{action:e.action}:{}}};this.permutive.track("FormSubmission",r)}}async trackEngagementInterval(t){const e=this.updateState(t);!function(t,e,r,n,i,a){const s={isp_info:"$ip_isp_info",geo_info:"$ip_geo_info",engaged_time:t,total_engaged_time:e,...i,completion:r,total_completion:n};a.track("PageviewEngagement",s)}(e.engaged_time,e.total_engaged_time,e.completion,e.total_completion,this.options.customProperties.getCustomProps(),this.permutive)}async reset(t){this.disablePageEngagementDetection(),this.dirtyState=!1;const e=this.updateWebOptions(t);this.options.pageviewState.setState(((t,r)=>{var n,i;return{viewId:(null===(n=e.context)||void 0===n?void 0:n.view_id)??(0,d.k$)(),watsonEnabled:(null===(i=e.watson)||void 0===i?void 0:i.enabled)??r.watsonEnabled}})),this.totalCompletion=0,this.totalEngagedTime=0,this.options.customProperties.setCustomProps(this.options.page||{}),this.enablePageEngagementDetection(),g(m(this.clientContext.getContext().isArticle),this.options.customProperties.getCustomProps(),this.permutive,this.options.messages),u.t2&&(this.cancelEngagementTimer(),this.cancelEngagementTimer=this.registerEngagementInterval(this.getEventInterval()))}serializeForm(t){return[...t.getElementsByTagName("input")].filter((t=>!(!t.type||!t.id||t.disabled||t.checked||"fieldset"===t.nodeName.toLowerCase()||-1!==b.indexOf(t.type.toLowerCase())||-1!==S.indexOf(t.name.toLowerCase())))).map((t=>({name:t.name||t.id,value:t.value}))).filter((t=>t.value.length<120))}registerEngagementInterval(t){return(0,h.UM)((()=>{this.dirtyState&&this.trackEngagementInterval(t)}),1e3*t)}attachListeners(){const t=t=>"a"===t.tagName.toLowerCase(),e=t=>t instanceof Element,r=e=>t(e)?(0,o.G)(e):e.parentElement?t(e.parentElement)?(0,o.G)(e.parentElement):r(e.parentElement):o.YP;u.eV&&[].slice.call(document.getElementsByTagName("form"),0).forEach((t=>t.addEventListener("submit",(0,a.ls)(o.DT(this.canTrackPermutiveEvent("FormSubmission")),o.UI((0,d.Z_)(this.options.api,this.options.userId,this.sendFormSubmissionEvent.bind(this)))))));(0,l.MU)("track_link_click",!0)&&document.body.addEventListener("click",(0,a.ls)(o.DT(this.canTrackPermutiveEvent("LinkClick")),o.UI((t=>({event:t,anchor:(0,a.zG)(t.target,o.ij,o.tS(o.DT(e)),o.tS(r))}))),o.DZ((t=>{let{event:e,anchor:r}=t;return o.pC(r)?o.G({event:e,anchor:r.value}):o.YP})),o.UI((t=>{let{event:e,anchor:r}=t;return w(this.permutive,r,(n=e,!("_blank"===r.target||n.metaKey||n.ctrlKey||n.shiftKey||2===n.which||3===n.which)));var n}))),{capture:!0})}updateState(t){const e=Math.max(this.totalCompletion,this.getCurrentCompletion()),r=e-this.totalCompletion;return this.totalEngagedTime+=t,this.totalCompletion=e,this.dirtyState=!1,{engaged_time:t,total_engaged_time:this.totalEngagedTime,completion:r,total_completion:this.totalCompletion}}getCurrentCompletion(){if("function"==typeof this.options.getPageCompletion)return(0,a.zG)((0,i.Y3)((0,a.ls)(this.options.getPageCompletion,Number,(t=>isNaN(t)?0:t),(0,c.uZ)(s.Df)(0,1)),n.w),(0,i.EQ)((t=>(this.logger.warn("Web: invoking getPageCompletion threw an error. Got",t),0)),(t=>(this.logger.debug("Web: invoking getPageCompletion returned",t),t))));return(()=>{const t=document.documentElement.scrollHeight,e=window.pageYOffset+window.innerHeight;return e<=0?0:e>=t?1:e/t})()}registerPageEngagementCleanup(t){"function"==typeof t?this.cleanupPageEngagementDetection=()=>(0,i.Y3)((()=>{t(),this.cleanupPageEngagementDetection=a.Q1}),(t=>this.logger.warn("Page detection cleanup threw an error",(0,n.w)(t)))):this.logger.warn("No page detection cleanup was registered")}enablePageEngagementDetection(){this.options.addPageEngagementDetection&&(0,a.zG)(this.options.addPageEngagementDetection(this.pageEngagementDetected),(t=>this.registerPageEngagementCleanup(t))),this.setDirtyEventListenersTo(!0,this.getDirtyEvents())}disablePageEngagementDetection(){this.cleanupPageEngagementDetection(),this.setDirtyEventListenersTo(!1,this.getDirtyEvents())}setDirtyEventListenersTo(t,e){const r=t?window.addEventListener:window.removeEventListener;return e.forEach((t=>r(t,this.pageEngagementDetected))),null}getDirtyEvents(){return this.options.dirtyEvents||_}getEventInterval(){return this.options.eventInterval||5}canTrackPermutiveEvent(t){return e=>{var r,s;return(0,a.zG)(null===(r=this.options)||void 0===r||null===(s=r.filterPermutiveEvent)||void 0===s?void 0:s[t],o.DT((t=>"function"==typeof t)),o.tS((0,a.ls)((t=>i.Y3((()=>t(e)),(t=>new Error(`Threw an unexpected error: ${(0,n.w)(t)}`)))),i.tS(i.DT((t=>"boolean"==typeof t),(()=>new Error("Did not return a boolean")))),(0,d.bw)(i.Vn((e=>this.logger.error(`Filter predicate for "${t}" event failed`,e)))),o.Uo)),o.fS((()=>!0)))}}updateWebOptions(t){(0,d.Kn)(t)||(t={}),t.watson&&"object"==typeof t.watson&&"enabled"in t.watson&&"boolean"==typeof t.watson.enabled||delete t.watson,"object"==typeof t.filterPermutiveEvent&&null!==t.filterPermutiveEvent||delete t.filterPermutiveEvent,"context"in t&&!(0,d.Kn)(t.context)&&delete t.context;const e={addPageEngagementDetection:void 0,context:void 0,dirtyEvents:void 0,eventInterval:void 0,filterPermutiveEvent:void 0,getPageCompletion:void 0,page:void 0,watson:void 0};return this.options={...this.options,...e,...t}}}const w=(t,e,r)=>{if(window.location.href&&e.href){const n=0===e.href.indexOf("data:")?"NOT_URL":e.href;t.track("LinkClick",{dest_url:n},{useBeacon:r})}}},2102:(t,e,r)=>{r.d(e,{a:()=>n});class n{messages;handlers={};messageQueue={};constructor(t){var e,r;this.messages=t;null===(e=(r=window).addEventListener)||void 0===e||e.call(r,"message",(t=>{var e;"permutive"===(null==t||null===(e=t.data)||void 0===e?void 0:e.origin)&&this.handle(t)}),!1),this.messages.once("permutive:api:ready",(function(){var t,e;null===(t=(e=window).postMessage)||void 0===t||t.call(e,{origin:"permutive",type:"sdk-init"},"*")}))}listen(t,e){if(t in this.handlers||(this.handlers[t]=[]),this.handlers[t].push(e),t in this.messageQueue){const e=this.messageQueue[t];if(void 0===e)return;for(let t=0;t<e.length;t++){const r=e[t];this.handle(r)}}}handle(t){if(t.data.type in this.handlers)this.handlers[t.data.type].forEach((e=>{e(t)}));else{(this.messageQueue[t.data.type]??=[]).push(t)}}}},7367:(t,e,r)=>{r.d(e,{o:()=>n,s:()=>i});class n extends Error{static errorName="NetworkRequestFailedError";name=n.errorName;constructor(){super(n.defaultMessage)}static get defaultMessage(){return"Network request failed"}}class i extends Error{static errorName="NetworkRequestTimeoutError";name=i.errorName;constructor(){super(i.defaultMessage)}static get defaultMessage(){return"Network request timed out"}}},8645:(t,e,r)=>{r.d(e,{F:()=>d});var n=r(2865),i=r(2275),a=r(9727),s=r(1583),o=r(4513),c=r(7367),u=r(2444);class l{urls;config;network;metricsCollector;logger;webClient;prefix="[API]";constructor(t,e,r,n,i){let s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:()=>a.YP;this.urls=t,this.config=e,this.network=r,this.metricsCollector=n,this.logger=i,this.webClient=s}async reportError(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Date;const l=(0,n.w)(t);if(this.logError("Reporting error:\n",l),!this.config.sendClientErrors)return void this.logDebug("Send errors not enabled. Skipping");const d=(0,i.zG)(this.webClient,u.UI(a.fS((()=>{var t,e,r,n;return{domain:(null===(t=self.location)||void 0===t?void 0:t.hostname)??"",referrer:"document"in self?null===(e=self.document)||void 0===e?void 0:e.referrer:"",url:(null===(r=self.location)||void 0===r?void 0:r.href)??"",user_agent:(null===(n=navigator)||void 0===n?void 0:n.userAgent)??""}}))),u.UI((t=>{var n,i;const a={error_message:(null==l||null===(n=l.message)||void 0===n?void 0:n.toString())??"",stack_trace:null==l||null===(i=l.stack)||void 0===i?void 0:i.split("\n")},s=e?{user_id:e}:{};return{platform:"web",sdk_version:"v20.23.0",ql_runtime_version:"v13.1.0",timestamp:r,domain:t.domain,url:(0,o.bk)(t.url),referrer:(0,o.bk)(t.referrer),user_agent:t.user_agent,error_message:a.error_message??String(l),stack_trace:a.stack_trace,...s}}))),p=t=>this.network.req({url:this.urls.getSdkErrorsUrl("/errors",a.G(this.config.sdkErrorsApiVersion)),method:"POST",payload:[t],contentType:"text/plain",dataType:"text",withCredentials:!1}),f=t=>{this.metricsCollector.trackCounter({name:"sdk_http_generic_network_request_fail_count_total",value:1,labels:{network_error_type:t}})};await(0,i.zG)([c.o,c.s],s.Ew((t=>l.name===t.errorName||l.message.indexOf(t.errorName)>=0||l.message.indexOf(t.defaultMessage)>=0)),a.g_((()=>{const t=d();return p(t).catch((0,i.ls)(n.w,(t=>this.logError(t))))}),(async t=>f(t.errorName))))}logDebug(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.debug(this.prefix,...e)}logError(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.error(this.prefix,...e)}}class d extends l{identifyPromise;identify(t,e,r){const n=()=>this.reqWithMetrics(t,"sdk_http_identify_seconds",{url:this.urls.getEndpointUrl("/identify",a.G(this.config.apiVersion)),method:"POST",payload:{user_id:e.get(),aliases:r},contentType:"text/plain",dataType:"json",withCredentials:!0});return this.identifyPromise?this.identifyPromise=this.identifyPromise.then(n):this.identifyPromise=n()}metrics(t){return this.network.req({url:this.urls.getEndpointUrl("/internal/metrics",a.G(this.config.apiVersion)),method:"POST",payload:t,contentType:"text/plain",dataType:"text",withCredentials:!1})}metricsBeacon(t){return this.network.reqWithBeacon({url:this.urls.getEndpointUrl("/internal/metrics",a.G(this.config.apiVersion)),payload:t})}reset(t){return this.reqWithMetrics(t,"sdk_http_reset_seconds",{url:this.urls.getEndpointUrl("/reset",a.G(this.config.apiVersion)),method:"POST",payload:null,contentType:"text/plain",dataType:"json",withCredentials:!0})}segmentSync(t){return this.network.req({url:`https://${this.config.segmentSyncApiHost}/sync/${t.key}`,method:"POST",payload:`value=${encodeURIComponent(t.value)}`,contentType:"application/x-www-form-urlencoded",dataType:"json",withCredentials:!0})}appnexus(t){return this.network.req({url:t,method:"GET",contentType:"text/plain",dataType:"json",withCredentials:!0,timeout:2e3})}pxid(t){return this.network.req({url:this.urls.makeAuthenticatedUrl(t),method:"GET",contentType:"text/plain",dataType:"json",withCredentials:!0,timeout:2e3})}queries(){const t={addons:{dfp:{activations:{dfp:[],dfp_legacy:{}},auto_init:!0,track_slot_rendered:!1,track_slot_viewable:!1,track_slot_clicked:!1,track_targeting_keys:!1,sync_segments_cookie:!1},web:{auto_init:!1,track_pageview_engagement:!0,track_pageview_complete:!0,track_form_submission:!1,track_link_click:!1,engagement_edge_only:!0,segment_transition_edge_only:!1}},queries:{queries:{},eventSegments:{},eventsLookup:[],literalsLookup:[],subexpressionsLookup:[],stateSyncReplays:[],propertiesLookup:[],ahoCorasickLookup:[]},queries_metadata:{}},e=`${this.config.cdnBaseUrl.startsWith("dev.local:")?"http":"https"}://${this.config.cdnBaseUrl}/queries/a55a84b3-9632-4869-b625-3d8ef43ed18d-amp.json`;return this.network.req({url:e,withCredentials:!1,dataType:"json",method:"GET"}).catch((()=>t))}pxidReset(t){return this.network.req({url:this.urls.makeAuthenticatedUrl(t),method:"POST",payload:null,contentType:"text/plain",dataType:"json",withCredentials:!0})}uploadCohortMemberships(t,e){return this.reqWithMetrics(t,"sdk_http_upload_cohort_memberships_seconds",{url:this.urls.getCCSCohortMembershipEndpointUrl("/amp/cohorts",a.G("alpha"),[["i",e.user_id]]),method:"POST",payload:e,contentType:"text/plain",dataType:"json",withCredentials:!1})}reqWithMetrics(t,e,r){const n=t.startTimer(e,{});return this.network.req(r).then((r=>(0,i.zG)(t.stopTimer(e,n),(t=>r))))}}},1671:(t,e,r)=>{r.d(e,{E:()=>b});var n=r(1385),i=r(2275),a=r(7367),s=r(3812),o=r(9727),c=r(7963),u=function(t){return"Left"===t._tag},l=function(t){return"Right"===t._tag};function d(t){return{_tag:"Left",left:t}}function p(t){return{_tag:"Right",right:t}}function f(t,e){return{_tag:"Both",left:t,right:e}}var m=function(t,e,r){return function(n){switch(n._tag){case"Left":return t(n.left);case"Right":return e(n.right);case"Both":return r(n.left,n.right)}}},g=m;g(p,d,(function(t,e){return f(e,t)}));var v=p,h="These",_=(i.yR,i.yR,c.Xl,r(7387));class b{metrics;constructor(t){this.metrics=t}req(t){return this.reqImpl(t).then((t=>(0,i.MZ)(t)))}reqWithBeacon(t){var e,r;let{url:n,payload:i}=t;const a=JSON.stringify(i),s=(null===(e=navigator)||void 0===e||null===(r=e.sendBeacon)||void 0===r?void 0:r.call(e,n,JSON.stringify(i)))??!1;return this.trackRequestMetrics({is_beacon:!0,is_error:!s,request:{method:"POST",url:n,content_length:a.length}}),s}reqImpl(t){const e="arraybuffer",{url:r,dataType:u,contentType:l,method:d,withCredentials:m,timeout:g}=t;return new Promise(((v,h)=>{const b=new XMLHttpRequest,S="POST"===t.method?"string"==typeof(y=t.payload)?y:JSON.stringify(y):null;var y;const E=t=>this.trackRequestMetrics({is_beacon:!1,request:{method:d,url:r,content_length:(null==S?void 0:S.length)??0},response:t});b.onload=(0,s.GL)((()=>{var t,r;return(0,i.zG)(b.status,n.DT((t=>t<400),(()=>{const t="text"===b.responseType||""===b.responseType?b.responseText:"Couldn't access response text";return`Failed ajax request. Status code was ${b.status}. ${t}`})),n.tS((()=>"json"===u?b.responseText?n.Y3((()=>JSON.parse(b.responseText)),(t=>`Failed to parse response as JSON. Response was ${JSON.stringify(b.responseText)}. Got ${t}`)):n.F2(null):"text"===u?n.F2(b.responseText):n.F2(b.response))),(0,_.bw)((0,i.ls)(o.IS,(r={content_length:"text"===b.responseType||""===b.responseType?(null===(t=b.responseText)||void 0===t?void 0:t.length)??0:b.responseType===e?b.response.byteLength:0,response_time_ms:self.performance.now()-w,status_code:b.status},function(t){return c.Wi(t)?p(r):f(t.value,r)}),E)),n.EQ(h,v))})),b.onerror=(0,s.GL)((()=>{E(n.t$("network error")),h(new a.o)})),b.ontimeout=(0,s.GL)((()=>{E(n.t$("timeout")),h(new a.s)})),b.open(d,r,!0),l&&b.setRequestHeader("content-type",l),b.timeout=g||b.timeout,b.withCredentials=m||b.withCredentials,b.responseType="binary"===u?e:b.responseType;const w=self.performance.now();b.send(S)}))}trackRequestMetrics(t){var e;if(null===(e=this.metrics)||void 0===e||!e.isEnabled())return;const r=new URL(t.request.url).pathname;if(r.includes("metrics"))return;const n=e=>this.metrics.track({name:"sdk_http_request_count_total",value:1,labels:{request_method:t.request.method,request_path:r,request_content_length:t.request.content_length,...e}});var a;!0===t.is_beacon?n({is_beacon:!0,is_error:t.is_error}):(0,i.zG)((a=t.response,u(a)?c.YP:(l(a),c.G(a.right))),o.aD((()=>({})),(t=>({response_content_length:t.content_length,response_status:t.status_code,response_time_ms:t.response_time_ms}))),(e=>({is_beacon:!1,is_error:!l(t.response),...e})),n)}}},7592:(t,e,r)=>{r.r(e),r.d(e,{startMaster:()=>ut});var n=r(5460),i=r(2275),a=r(936),s=r(9727),o=r(1583),c=r(7387),u=r(2444),l=r(7054),d=r(2925),p=r(8491),f=r(817);var m=r(1717),g=r(8543),v=r(7560),h=r(4219);function _(t,e){return function(r){return t.map(r,e.compact)}}function b(t,e,r){var n=_(t,e),a=(0,v.UI)(t,r);return function(t){return h.s4(n((0,i.zG)(t,a(s.IS))),n((0,i.zG)(t,a(s.EK))))}}function S(t,e){return function(r){return function(n){return t.map(n,(function(t){return e.filter(t,r)}))}}}function y(t,e){return function(r){return function(n){return t.map(n,(function(t){return e.filterMap(t,r)}))}}}function E(t,e){var r=S(t,e);return function(t){var e=r((0,p.ff)(t)),n=r(t);return function(t){return(0,h.s4)(e(t),n(t))}}}function w(t,e){var r=y(t,e);return function(t){return function(e){return(0,h.s4)((0,i.zG)(e,r((function(e){return(0,s.IS)(t(e))}))),(0,i.zG)(e,r((function(e){return(0,s.EK)(t(e))}))))}}}var I=r(7963);function P(t){return(0,i.ls)(s.G,t.of)}function T(t){return(0,i.a9)(t.of(s.YP))}function C(t){return function(e){return t.map(e,s.G)}}function R(t){return(0,i.ls)(s.ij,t.of)}function k(t){var e=R(t);return function(t){return(0,i.ls)(t,e)}}function D(t){var e=N(t),r=k(t);return function(t){return e(r(t))}}function M(t){return function(e){return(0,i.ls)(e,t.of)}}function A(t){var e=N(t),r=M(t);return function(t){return e(r(t))}}function G(t){return function(e){return function(r){return t.of(s.DT(e)(r))}}}function O(t){return(0,i.ls)(s.Uo,t.of)}function U(t){return function(e,r){return function(n){return t.map(n,s.EQ(e,r))}}}function q(t){return function(e,r){return function(n){return t.chain(n,s.EQ(e,r))}}}function x(t){return function(e){return function(r){return t.chain(r,s.EQ(e,t.of))}}}function z(t){return(0,v.UI)(t,s.dO)}function L(t){return(0,d.ap)(t,s.G5)}function N(t){var e=T(t);return function(r){return function(n){return t.chain(n,s.EQ((function(){return e()}),r))}}}function B(t){var e=P(t);return function(r){return function(n){return t.chain(n,s.EQ(r,e))}}}var F=function(t,e,r,n){return new(r||(r=Promise))((function(i,a){function s(t){try{c(n.next(t))}catch(t){a(t)}}function o(t){try{c(n.throw(t))}catch(t){a(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,o)}c((n=n.apply(t,e||[])).next())}))},W=function(t,e){var r,n,i,a,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,o])}}},H=P(m.PM),K=(m.PM,m.of,m.PM,m.dO,m.UI(s.Uo)),Y=(m.dO,m.qo,m.UA,m.PM,function(t){return function(){return F(void 0,void 0,void 0,(function(){return W(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,t().then(I.G)];case 1:return[2,e.sent()];case 2:return e.sent(),[2,I.YP];case 3:return[2]}}))}))}}),V=(m.PM,m.UA,m.PM,m.UA,z(m.dO)),Q=L(m.Hi),$=H,j=N(m.UA),X=(m.UA,m.PM,m.dO,s.Ri,m.dO,s.Ri,s.dO,m.dO,s.xu,m.dO,s.xu,m.dO,s.xu,m.dO,s.xu,function(t,e){return(0,i.zG)(t,V(e))}),J=function(t,e){return(0,i.zG)(t,Q(e))},Z=function(t,e){return(0,i.zG)(t,j(e))},tt="TaskOption",et={URI:tt,map:X},rt={URI:tt,map:X,ap:J,chain:Z},nt=(I.F4,(0,v.YO)(et)),it=(0,g.a)(rt),at=(I.Xl,r(3812)),st=r(1586);const ot=(t,e)=>{const[r,a]=n.gS(o.uZ());return(0,i.zG)(e,n.UI(u.UI((e=>{o.Od(e)&&t.all().then((t=>(0,i.zG)(e,o.UI((0,st.H5)((()=>t))),a)))}))),n.UI((t=>t()))),r},ct=(t,e)=>{let r=!1;return n.UI(u.UI((0,c.bw)((n=>{r||(r=(0,i.zG)(n,o.G((t=>{let[,e]=t;return"Pageview"===e.name}))),r&&t.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:e,time_origin:"sdk_init"}))}))))};function ut(t){let{eventsCacheFactory:e,metrics:g,trace:v,migratedStateMaps:h,worker:_,...b}=t;return t=>a.dQ((0,i.ls)((0,c.rO)({previousState:lt}),(a=>{let{stopped:c,previousState:S}=a;(0,i.zG)(c,n.YP((t=>t&&_.stop()))),_.send({...b,migratedStateMaps:S.stateMigrated?{external:s.YP,internal:s.YP}:h(),previousState:S.workerState}),v.measureSinceInit("post_worker_config_duration").finish(),g.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"master_sent_worker_config",time_origin:"sdk_init"},performance.now());const y=v.startSpan("worker_config_response_duration"),E=_.next();E.then((()=>{y.finish(),g.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"master_received_worker_config_response",time_origin:"sdk_init"},performance.now())}));const w=((t,e)=>{const a=(0,i.zG)((()=>e),m.UI((t=>s.lo(!t))),j((()=>K(t()))),nt("eventsCache"),it("eventsCacheService",(()=>(0,i.zG)((0,at.N1)(Y((()=>Promise.resolve().then(r.bind(r,2831))))),V((t=>t.eventCacheService)))))),c=a();return t=>{let{priorCachedEventsRequests:e,...r}=t;return t=>{let{previousState:a,stopped:l}=t;const d=n.a9(u.of(o.bM())),[p,f]=n.Ue({eventsToPublish:n.a9(u.of(o.bM())),priorCachedEventsResponses:d,state:n.a9(a)});return c.then(s.EQ((()=>f({eventsToPublish:r.eventsToPublish,priorCachedEventsResponses:d,state:n.a9(void 0)})),(t=>{let{eventsCache:n,eventsCacheService:i}=t;const{state:s,value:{newEvents:o}}=i({eventsCache:n,newEvents:r.eventsToPublish})({previousState:a,stopped:l});f({eventsToPublish:o,priorCachedEventsResponses:ot(n,e),state:s})}))),{state:(0,i.zG)(p,n.VS((t=>t.state))),value:(0,i.bc)((0,i.zG)(p,n.VS((t=>t.priorCachedEventsResponses))),{...r,eventsToPublish:(0,i.zG)(p,n.VS((t=>t.eventsToPublish)))})}}}})(e,E.then((t=>t.eventsCachedInWorker)));return(0,i.zG)((()=>_.read()),function(t,e){const r=t=>(0,i.zG)(t,l.Hd((t=>t in e)),(t=>{let{left:e,right:r}=t;return{buffers:r,nonBuffers:e}}));return a=>{const{buffers:s,nonBuffers:o}=r(t),[c,u]=n.Ue({...o,...(0,i.zG)(s,l.Su((t=>()=>{const r=s[t];return s[t]=e[t].empty,r})))});return(async()=>{for(;;){const t=(0,i.zG)(await a(),f.UI(r),f.ur({concat:(t,r)=>({nonBuffers:{...t.nonBuffers,...r.nonBuffers},buffers:(()=>{const n={...t.buffers};for(const t in r.buffers)n[t]=t in n?e[t].concat(n[t],r.buffers[t]):r.buffers[t];return n})()})})),n=(0,i.zG)(t.buffers,l.Su(((t,r)=>(s[t]=e[t].concat(s[t],r),()=>{const r=s[t];return s[t]=e[t].empty,r}))));u({...c.current,...t.nonBuffers,...n})}})(),(0,i.zG)(t,l.Su((t=>(0,i.zG)(c,n.UI((e=>e[t]))))))}}({activations:S.activations,cohorts:S.cohorts,context:{},eventsToPublish:o.cS,eventsToPublishOnPageUnload:o.cS,externalData:{},geoIP:s.YP,metrics:o.cS,priorCachedEventsRequests:o.cS,realtime:!1,state:S.workerState,transitionsSinceInit:{segmentsEntered:o.cS,segmentsExited:o.cS},workerStateFlushed:!1,stateMigratedThisInitialisation:!1,secureSignal:s.YP},{eventsToPublish:o.uZ(),metrics:o.uZ(),priorCachedEventsRequests:o.uZ()}),(t=>{let{metrics:e,...r}=t;return e.onChange((t=>t().forEach((t=>g.track(t))))),r}),(e=>{let{workerStateFlushed:r,stateMigratedThisInitialisation:a,activations:f,cohorts:m,state:v,secureSignal:h,...b}=e;const{value:[y,E],state:I}=w(b)({stopped:c,previousState:S.masterEventsCache});return function(t,e,r){const a=(0,i.zG)(n.vP(e),n.UI((0,i.ls)(l.UI((t=>"function"==typeof t?t:u.of(t))),(0,d.Yt)(u.G5))));let o=a.current();t(o),(0,i.zG)(a,n.YP((e=>{const n=e(),a=(0,i.zG)(n,l.z7(((t,e)=>{var n;return e!==o[t]&&(null===(n=r[t])||void 0===n||!n.isEmpty(e))})),s.DT((0,p.ff)(l.xb)));s.pC(a)&&(o={...o,...a.value},t(a.value))})))}(_.send,{consent:t.consent,contextualCohorts:t.contextualCohorts,enrichmentReplacementMap:t.enrichmentReplacementMap,eventSourceId:t.eventSourceId,identities:t.identities,userId:t.userId,userIdIsNewlyGenerated:t.userIdIsNewlyGenerated,newEvents:(0,i.zG)(t.newEvents,ct(g,"pageview_sent_to_worker")),sessionId:t.sessionId,viewId:t.viewId,webClient:t.webClient,pageviewState:t.pageviewState,priorCachedEventsResponses:y},{newEvents:{isEmpty:o.xb},priorCachedEventsResponses:{isEmpty:o.xb}}),g.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"master_sent_worker_input",time_origin:"sdk_init"},performance.now()),{state:n.vP({activations:f,cohorts:m,masterEventsCache:I,workerState:v,stateMigrated:(0,i.zG)(n.vP(r,a),n.Rp(S.stateMigrated,((t,e)=>{let[r,n]=e;return t||r&&n})))}),value:{...E,stateMigratedThisInitialisation:a,activations:{dfp:n.UI((t=>t.dfp),f),xandr_ssp:n.UI((t=>t.xandr_ssp),f)},cohorts:{all:n.UI((t=>t.all),m),ql:n.UI((t=>t.ql),m),qlCustom:n.UI((t=>t.qlCustom),m),qlStandard:n.UI((t=>t.qlStandard),m)},secureSignal:h}}}))})))}const lt=t=>gt(t)?{activations:dt(t.activations),cohorts:ft(t.cohorts),masterEventsCache:t.masterEventsCache,workerState:t.workerState,stateMigrated:!!t.stateMigrated}:{activations:dt(null),cohorts:ft(null),masterEventsCache:null,workerState:null,stateMigrated:!1},dt=t=>gt(t)?{dfp:mt(t.dfp),xandr_ssp:mt(t.xandr_ssp)}:pt(),pt=()=>({dfp:o.cS,xandr_ssp:o.cS}),ft=t=>gt(t)?{all:mt(t.all),ql:mt(t.ql),qlCustom:mt(t.qlCustom),qlStandard:mt(t.qlStandard)}:vt(),mt=t=>Array.isArray(t)?t:o.cS,gt=t=>null!==t&&"object"==typeof t&&!Array.isArray(t),vt=()=>({all:o.cS,ql:o.cS,qlCustom:o.cS,qlStandard:o.cS})},4669:(t,e,r)=>{r.r(e),r.d(e,{runNextGenFeatures:()=>re});var n=r(2275),i=r(5460),a=r(936),s=r(3812),o=r(9727),c=r(7387);function u(t){let{messages:e}=t;const[r,n]=i.Ue(new Set);return e.on("permutive:addon:preinit",(t=>n(new Set([...r.current,t])))),r}function l(){const t=()=>Math.floor(Date.now()/1e3),[e,r]=i.Ue(t());return(0,s.UM)((()=>r(t())),1e3),e}function d(){const[t,e]=i.Ue(!1);return(0,c.aT)((()=>e(!0)),navigator.userAgent),t}var p=r(1583),f=r(2865),m=r(1385),g=r(817),v=r(3940),h=r(7054),_=r(4219),b=r(3636),S=r(6707);const y="[Prebid Monitoring]",E=(t,e)=>{t.metrics.trackCounter({name:"sdk_prebid_monitoring_key_flag_count_total",labels:e,value:1})},w=(t,e)=>{t.metrics.trackCounter({name:"sdk_prebid_monitoring_key_bidder_flag_count_total",labels:e,value:1})},I=function(t,e){const r=P(t);return a.K4((()=>(0,n.zG)(e,i.UI((0,n.ls)(o.DT((t=>t.consent)),o.UI((t=>t.prebidJS)))),i.D8(o.Eh((0,c.Or)())),i.bw((0,n.ls)(o.tS((t=>t.completedChecks?t.mainPair:o.YP)),o.UI((e=>E(t,{flag:"prebid_main_key",prebid_key:e.windowPropertyKey}))))),i.UI(o.UI((t=>(0,n.zG)(t.mainPair,o.UI((e=>[e,...t.otherPairs])),o.fS((()=>t.otherPairs)))))),i.Rp(new Set,((e,i)=>(0,n.zG)(i,o.UI(p.hX((t=>!e.has(t.windowPropertyKey)))),o.hX(p.Od),(0,c.bw)(o.EQ((()=>t.logger.debug(y,"Nothing to report")),(e=>t.logger.debug(y,"Reporting",e)))),o.fS((()=>[])),p.UI((e=>(0,n.zG)((e=>(0,n.zG)(m.Y3((function(){var r;const{pbjs:i,windowPropertyKey:a}=e;t.logger.log(y,`Reporting on "${a}"`,e);const s=T(i);t.logger.debug(y,`Version ${i.version} parsed as`,s);const o=(0,S.zi)(i);t.logger.debug(y,"Read config",o);const c=(0,n.zG)((null===(r=o.realTimeData)||void 0===r?void 0:r.dataProviders)??[],p.Ew((t=>"permutive"===t.name)));return t.logger.debug(y,"Read data provider config",c),{pbjs:i,config:o,dataProviderConfig:c,installedModules:i.installedModules||[],version:s,windowPropertyKey:a}}),f.w),m.ak("bidders",(t=>r.acBidders(t))),m.ak("permutiveRTDProvider",(t=>r.permutiveRTDProvider(t))),m.ak("consent",(t=>r.consent(t))),m.ak("targeting",(t=>r.targeting(t)))))(e),m.Pd((r=>t.reportError(`${y} Failed to report pair "${e.windowPropertyKey}", ${r.message}`)),(()=>e.windowPropertyKey))))),p.hp,(t=>new Set([...e,...t]))))),(t=>({reportedKeys:t})))))};const P=t=>({acBidders:e=>m.Y3((()=>{(0,b.Hn)("prebid")("data_provider_config",{ac_bidders:[]});const r=[],i=(0,n.zG)(e.dataProviderConfig,o.UI((t=>{var e;return(null==t||null===(e=t.params)||void 0===e?void 0:e.acBidders)??[]})),o.fS((()=>[]))),a=[...new Set([...r,...i])];return t.logger.debug(y,"Determined acBidders as",{acBidders:a,dynamicBidders:r,staticBidders:i}),a.forEach((r=>{w(t,{flag:"prebid_ac_bidder",prebid_key:e.windowPropertyKey,prebid_bidder:r})})),{acBidders:a,dynamicBidders:r,readBidders:i}}),f.w),consent:e=>m.Y3((()=>{var r,n,i,a,s,o;const c=e.windowPropertyKey;e.config.consentManagement&&"object"==typeof e.config.consentManagement&&E(t,{prebid_key:c,flag:"prebid_has_consent_management"});const u=e.installedModules.includes("gdprEnforcement");u&&E(t,{prebid_key:c,flag:"prebid_gdpr_enforcement_module"});const l=(null===(r=e.config)||void 0===r||null===(n=r.consentManagement)||void 0===n||null===(i=n.gdpr)||void 0===i||null===(a=i.rules)||void 0===a||null===(s=a.find((t=>"storage"===(null==t?void 0:t.purpose))))||void 0===s||null===(o=s.vendorExceptions)||void 0===o?void 0:o.includes("permutive"))||!1;return l&&E(t,{prebid_key:c,flag:"prebid_storage_exception"}),{hasGDPREnforcementModule:u,addedAsStorageException:l}}),f.w),permutiveRTDProvider:e=>m.Y3((()=>{const r=e.installedModules.includes("permutiveRtdProvider");return r&&E(t,{prebid_key:e.windowPropertyKey,flag:"prebid_permutive_rtd"}),r}),f.w),targeting:e=>{const r=(0,n.ls)(p.UI((t=>[t,null])),h.sq),i=(e,r)=>(0,n.zG)(e,(0,c.bw)((e=>t.logger.debug(y,`Processing ${e.length} bidder request(s)`,e))),p.hX((t=>r.hasOwnProperty(t.bidderCode)&&null===r[t.bidderCode])),g.vM((t=>t.bidderCode)),h.DZ(p.f2((0,c.lo)([[t=>(t=>{var e,r,n;const i=null==t||null===(e=t.user)||void 0===e||null===(r=e.data)||void 0===r?void 0:r.find((t=>"permutive.com"===t.name));return!(null==i||null===(n=i.segment)||void 0===n||!n.length)})(t.ortb2),()=>o.G("ortb2")],[t=>{return e=t.params,["permutive","p_standard"].some((t=>{var r,n,i,a;return(null==e||null===(r=e.visitor)||void 0===r||null===(n=r[t])||void 0===n?void 0:n.length)||(null==e||null===(i=e.keywords)||void 0===i||null===(a=i[t])||void 0===a?void 0:a.length)}));var e},()=>o.G("params")],()=>o.YP]))),(0,c.bw)((e=>t.logger.debug(y,"Bidders targeting method's updated",e)))),a=a=>{t.logger.debug(y,"Bidders found with no targeting method",a);let s=r(a);const o=r=>(0,n.zG)(i([r],s),(0,c.bw)((t=>{s={...s,...t}})),(0,c.bw)(h.Su(((r,n)=>w(t,{flag:`prebid_${n}_targeting_success`,prebid_key:e.windowPropertyKey,prebid_bidder:r})))),(0,c.bw)((()=>{Object.values(s).includes(null)||(t.logger.debug(y,`Cleaning up "bidRequested" listener for ${e.windowPropertyKey}`),e.pbjs.offEvent("bidRequested",o))})));e.pbjs.onEvent("bidRequested",o)};return m.Y3((()=>{const s=(0,n.zG)(e.pbjs.getEvents(),p.DZ((0,n.ls)(o.DT((t=>"bidRequested"===t.eventType)),o.UI((0,c.vg)("args")))));return(0,n.zG)(e.bidders.acBidders,o.DT(p.Od),o.EQ((()=>t.logger.debug(y,"No bidders for targeting")),(0,n.ls)(r,(t=>({...t,...i(s,t)})),h.uK(v.ff((t=>null===t))),_.Pd((0,n.ls)(h.XP,o.DT(p.Od),o.UI(a)),h.Su(((r,n)=>w(t,{prebid_bidder:r,prebid_key:e.windowPropertyKey,flag:`prebid_${n}_targeting_success`})))))))}),f.w)}}),T=t=>{const[e,r,n]=t.version.split("-")[0].replace("v","").split(".").map((t=>parseInt(t)));return{major:e,minor:r,patch:n}},C=function(t,e){const r=(0,n.zG)(e.pbjs,i.VS((0,n.ls)(o.tS(o.KQ((t=>{var e;return null===(e=t.getUserIdsAsync)||void 0===e?void 0:e.call(t).then((()=>{var e;return(null===(e=t.getUserIdsAsEids)||void 0===e?void 0:e.call(t))??[]}))}))),o.UI(i.p4),o.fS((()=>i.a9(o.YP))))),i.UI(o.tS(o.Uo)),i.bw(o.mU((e=>(e.length>0?e.forEach((e=>{t.metrics.trackCounter({name:"sdk_prebid_alternative_identifiers_count_total",labels:{alternative_user_id_name:e.source},value:1})})):t.metrics.trackCounter({name:"sdk_prebid_alternative_identifiers_count_total",labels:{identifier:"NONE"},value:1}),o.YP))))),s=(0,n.zG)(e.pbjs,i.UI(o.tS(o.KQ((t=>{var e;return null===(e=t.getUserIdsAsEids)||void 0===e?void 0:e.call(t)})))));return a.K4((()=>(0,n.zG)(i.vP(r,s),i.UI((t=>{let[e,r]=t;return(0,n.zG)(e,o.wp((()=>r)))})),i.UI((0,n.ls)(o.UI(p.DZ((t=>{var e,r;return"string"==typeof(null===(e=t.uids)||void 0===e||null===(r=e[0])||void 0===r?void 0:r.id)?o.G((0,n.bc)(t.source,{id:t.uids[0].id})):o.YP}))),o.tS(g.c2),o.UI(h.sq))),i.bw((e=>{o.pC(e)&&t.logger.debug("[Prebid Identifiers]","Found identifiers",e.value)})))))};const R=function(t){let{externalData:e}=t;return a.K4((()=>{e.removeExternalData(k)}))};const k="_pfws",D=new Set(["AdRequest","Reaction","PageviewEngagement","SegmentEntry","SegmentExit"]);class M{events;listeners;static highVolumeEvents=(()=>{const t=new Set([...D]);return t.delete("Reaction"),t})();constructor(){this.events=[],this.listeners=[]}newEvent(t,e){M.highVolumeEvents.has(t.name)||this.events.push([t,e]),[...this.listeners].forEach((r=>{this.handle(t,e,r)}))}addListener(t){this.listeners.push(t);const e={replay:()=>(this.replay(t),e),remove:()=>(this.remove(t),e)};return e}handle(t,e,r){const n="string"==typeof r.name&&t.name===r.name,i=r.name.test&&r.name.test(t.name),a=n||i;if(a)try{r.callback(t,e)}catch(t){window.console&&window.console.error&&window.console.error("callback error: ",t)}a&&r.once&&this.remove(r)}replay(t){let e=-1!==this.listeners.indexOf(t);for(let r=0;r<this.events.length&&e;r++)this.handle(this.events[r][0],this.events[r][1],t),e=-1!==this.listeners.indexOf(t)}remove(t){const e=this.listeners.indexOf(t);-1!==e&&this.listeners.splice(e,1)}}var A=r(2444),G=r(2925);var O=r(1586),U=r(6316),q=r(1717);const x="[Event Upload]",z=(t,e,r,o)=>a.dQ((a=>{let{stopped:u,previousState:l}=a;Array.isArray(l)&&(0,n.zG)(l,W(t))();const d=new Set([...D]),[f,{appendUntrackedEvents:g,appendUploadResults:v}]=(0,n.zG)((()=>{const[t,e]=i.gS(p.uZ()),[r,a]=i.gS(p.uZ());return(0,n.bc)({uploadResults:t,untrackedEvents:r},{appendUploadResults:e,appendUntrackedEvents:a})})(),(0,O.pL)((0,n.ls)((function(t){const[e,r]=(0,n.zG)(t.uploadResults,H(p.bj));return{...t,uploadResults:e,erroredEventsAsJSON:r}}),(function(t){const[e,r]=(0,n.zG)(t.erroredEventsAsJSON,H(p.UI((0,O.H5)((0,c.rO)({event:(0,c.rO)({time:t=>new Date(t)})})))));return{...t,erroredEventsAsJSON:e,erroredEvents:r}}),(function(t){let{uploadResults:e,untrackedEvents:r,...a}=t;const s=(0,n.zG)(e,i.UI(A.UI((0,n.ls)(p.hp,p.UI((0,O.H5)((0,c.rO)({time:t=>new Date(t)}))))))),o=(0,n.zG)(i.vP(s,r),i.UI(A.RD),i.UI(A.UI((t=>{let[e,r]=t;return r.concat(e)}))));return{...a,successEvents:o}}),(function(t){const[e,r]=(0,n.zG)(t.successEvents,H(p.UI((0,O.H5)((0,c.rO)({time:t=>t.toISOString()})))));return{...t,successEvents:e,successEventsAsJSON:r}})))),[h,_]=i.Ue(0),[b,S]=i.Ue(0),y=(0,n.zG)(e,i.UI(A.UI((t=>(0,n.zG)(t,p.uK((t=>{let[,e]=t;return!d.has(e.event.name)})),(t=>{let{left:e,right:r}=t;return(0,n.zG)(e,p.UI((0,O.H5)((t=>t.event))),g),r}))))),i.UI(A.UI((t=>(t.length>0&&((0,s.HJ)((()=>_(h.current+t.length)),500),(0,s.HJ)((()=>S(b.current+t.length)),5e3)),t))))),E=t=>e=>(0,n.zG)(t,p.hX((t=>{let[r]=t;return!e.closeEventsProcessed.includes(r)})),p.zo(e.queue)),w=(0,n.zG)(i.vP(h,b,y,r,u,o),i.Rp({closeEventsProcessed:p.cS,noQueueItemsProcessed:0,queue:p.cS},((e,r)=>{let[i,a,s,o,u,l]=r;return u?e:(0,n.zG)(e,(0,c.rO)({queue:p.zo(s())}),(e=>l?(0,n.zG)(e,(e=>r=>(0,n.zG)(r,E(e),F(t),(0,c.rO)({right:(0,c.bw)((0,n.ls)(p.UI((0,n.ls)((0,O.H5)((0,c.rO)({time:t=>t.toISOString()})),m.F2)),v))}),(t=>{let{left:e,right:i}=t;return(0,n.zG)(r,(0,c.rO)({closeEventsProcessed:(0,n.zG)(i,p.UI(O.li),p.zo),queue:(0,n.zG)(e.map(O.li),(t=>new Set(t)),(t=>p.hX((e=>{let[r]=e;return t.has(r)})))),noQueueItemsProcessed:t=>t+r.queue.length}))})))(o)):a>e.noQueueItemsProcessed||i===e.noQueueItemsProcessed+e.queue.length?(e=>((0,n.zG)(e.queue,W(t),q.UI(v))(),{closeEventsProcessed:e.closeEventsProcessed,noQueueItemsProcessed:e.noQueueItemsProcessed+e.queue.length,queue:p.cS}))(e):e))}))),I=(0,n.zG)(r,i.UI(E),i.ap(w),i.D8(p.Eh({equals:(t,e)=>t[0]===e[0]})));return{state:I,value:f}})),L=(t,e)=>t.permutiveUrls.getEndpointUrl("/batch/events",o.G(t.config.apiVersion),[["enrich",JSON.stringify(e.requiresEnrichment)],["sdkp",JSON.stringify(e.sdkProcessed)]]),N=t=>(0,n.zG)(t.events,p.UI((0,n.ls)(O.Yg,(t=>t.event)))),B=(0,n.ls)(g.vM((t=>{let[e,r]=t;return`${r.requiresEnrichment}${r.sdkProcessed}`})),(t=>Object.values(t)),p.UI((t=>({requiresEnrichment:t[0][1].requiresEnrichment,events:t,sdkProcessed:t[0][1].sdkProcessed})))),F=t=>(0,n.ls)(B,p.YO("request"),p.Hr("success",(e=>{let{request:r}=e;return t.logger.debug(x,"Uploading via beacon",r),t.permutiveApi.reqWithBeacon({url:L(t,r),payload:N(r)})})),p.tS((t=>(0,n.zG)(t.request.events,p.UI((e=>{let[r,{event:i}]=e;return t.success?m.F2((0,n.bc)(r,i)):m.t$((0,n.bc)(r,i))}))))),p.UI((0,c.bw)(m.EQ((e=>{let[,r]=e;return t.metrics.trackCounter({name:"sdk_event_beacon_fail_count_total",labels:{event_name:r.name},value:1})}),(e=>{let[,r]=e;return t.metrics.trackCounter({name:"sdk_event_beacon_success_count_total",labels:{event_name:r.name},value:1})})))),p.oh),W=t=>e=>(0,n.zG)(B(e),q.uU((e=>(0,n.zG)(e,(t=>e=>(t.logger.debug(x,"Uploading",e),U.Y3((()=>t.permutiveApi.req({payload:N(e),url:L(t,e),method:"POST",contentType:"text/plain",dataType:"json",withCredentials:!1})),(e=>(t.reportError(`Error sending events batch. Got ${m.KC(e)}`),e)))))(t),U.UI(p.UI((t=>t.body))),U.EQ((t=>(0,n.zG)(e.events,p.UI((()=>m.t$(t))))),p.UI(m.F2)),q.UI(p.$R(e.events))))),q.UI(p.tS(p.UI((e=>{let[r,[i,{event:a}]]=e;return(0,n.zG)(r,m.EQ((t=>m.t$((0,n.bc)(i,{event:{...a,time:a.time.toISOString()},error:t}))),(t=>"request_id"in t?m.t$((0,n.bc)(i,{event:{...a,time:a.time.toISOString()},error:t})):m.F2((0,n.bc)(i,{...a,id:t.id,time:t.time})))),(0,c.bw)(m.EQ((e=>{let[,{event:r}]=e;return t.metrics.trackCounter({name:"sdk_event_upload_fail_count_total",labels:{event_name:r.name},value:1})}),(e=>{let[,r]=e;return t.metrics.trackCounter({name:"sdk_event_upload_success_count_total",labels:{event_name:r.name},value:1})}))))}))))),H=t=>e=>(0,n.zG)(e,i.En(2,p.uZ()),(0,O.H5)(i.UI(A.UI(t)))),K=(t,e,r,s)=>(0,n.zG)(a.K4((()=>{const[t,e]=i.Ue(i.a9(A.of([])));return{eventsToPublishBufferRef:i.xH(t),publishEvents:r=>{(0,n.zG)(i.vP(t.current,r),i.UI(A.RD),i.UI(A.UI(p.xH)),e)}}})),a.ak("eventUpload",(e=>{let{eventsToPublishBufferRef:n}=e;return z(t,n,r,s)})),a.ak("eventHandler",(t=>{let{eventUpload:e}=t;return r=e.successEventsAsJSON,s=e.erroredEventsAsJSON,a.K4((()=>{const t=new M;return(0,n.zG)(r,i.UI((t=>t())),i.bw((e=>e.forEach((e=>{let[,r]=e;return t.newEvent(r,null)}))))),(0,n.zG)(s,i.UI((t=>t())),i.bw((e=>e.forEach((e=>{let[,{event:r,error:n}]=e;return t.newEvent(r,n)}))))),{eventHandlerAfterUpload:t}}));var r,s})),a.ak("eventResolver",(t=>{let{eventUpload:r}=t;return((t,e,r,s)=>a.K4((()=>{(0,n.zG)(i.vP({unresolvedEvents:e,erroredEvents:s,successEvents:r}),i.UI((0,G.Yt)(A.G5)),i.Rp({},((t,e)=>{const r=e();return(0,n.zG)(r.unresolvedEvents,o.DT(p.Od),o.UI((0,n.ls)(h.sq,(e=>({...t,...e})))),o.fS((()=>t)),(t=>(0,n.zG)(r.successEvents,p.u4(t,((t,e)=>{let[r,i]=e;return(0,n.zG)(h.P5(r,t),o.UI((e=>(e.succeed(i),h.EG(r)(t)))),o.fS((()=>t)))})))),(t=>(0,n.zG)(r.erroredEvents,p.u4(t,((t,e)=>{let[r,{event:i,error:a}]=e;return(0,n.zG)(h.P5(r,t),o.UI((e=>(e.fail(`Failed to track ${i.name}. ${"error"in a?a.error.message:a.message}`),h.EG(r)(t)))),o.fS((()=>t)))})))))})))})))(0,e,r.successEvents,r.erroredEvents)})),a.UI((t=>{let{publishEvents:e,eventHandler:r}=t;return{eventHandlerAfterUpload:r.eventHandlerAfterUpload,publishEvents:e}}))),Y="_pnativo",V=function(t){let{externalData:e}=t;return a.K4((()=>{e.removeExternalData(Y)}))};var Q,$,j,X,J,Z=-1,tt=function(t){addEventListener("pageshow",(function(e){e.persisted&&(Z=e.timeStamp,t(e))}),!0)},et=function(){var t=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(t&&t.responseStart>0&&t.responseStart<performance.now())return t},rt=function(){var t=et();return t&&t.activationStart||0},nt=function(t,e){var r=et(),n="navigate";return Z>=0?n="back-forward-cache":r&&(document.prerendering||rt()>0?n="prerender":document.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:t,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},it=function(t,e,r){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var n=new PerformanceObserver((function(t){Promise.resolve().then((function(){e(t.getEntries())}))}));return n.observe(Object.assign({type:t,buffered:!0},r||{})),n}}catch(t){}},at=function(t,e,r,n){var i,a;return function(s){e.value>=0&&(s||n)&&((a=e.value-(i||0))||void 0===i)&&(i=e.value,e.delta=a,e.rating=function(t,e){return t>e[1]?"poor":t>e[0]?"needs-improvement":"good"}(e.value,r),t(e))}},st=function(t){requestAnimationFrame((function(){return requestAnimationFrame((function(){return t()}))}))},ot=function(t){document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&t()}))},ct=function(t){var e=!1;return function(){e||(t(),e=!0)}},ut=-1,lt=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},dt=function(t){"hidden"===document.visibilityState&&ut>-1&&(ut="visibilitychange"===t.type?t.timeStamp:0,ft())},pt=function(){addEventListener("visibilitychange",dt,!0),addEventListener("prerenderingchange",dt,!0)},ft=function(){removeEventListener("visibilitychange",dt,!0),removeEventListener("prerenderingchange",dt,!0)},mt=function(){return ut<0&&(ut=lt(),pt(),tt((function(){setTimeout((function(){ut=lt(),pt()}),0)}))),{get firstHiddenTime(){return ut}}},gt=function(t){document.prerendering?addEventListener("prerenderingchange",(function(){return t()}),!0):t()},vt=[1800,3e3],ht=[.1,.25],_t=function(t,e){e=e||{},function(t,e){e=e||{},gt((function(){var r,n=mt(),i=nt("FCP"),a=it("paint",(function(t){t.forEach((function(t){"first-contentful-paint"===t.name&&(a.disconnect(),t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-rt(),0),i.entries.push(t),r(!0)))}))}));a&&(r=at(t,i,vt,e.reportAllChanges),tt((function(n){i=nt("FCP"),r=at(t,i,vt,e.reportAllChanges),st((function(){i.value=performance.now()-n.timeStamp,r(!0)}))})))}))}(ct((function(){var r,n=nt("CLS",0),i=0,a=[],s=function(t){t.forEach((function(t){if(!t.hadRecentInput){var e=a[0],r=a[a.length-1];i&&t.startTime-r.startTime<1e3&&t.startTime-e.startTime<5e3?(i+=t.value,a.push(t)):(i=t.value,a=[t])}})),i>n.value&&(n.value=i,n.entries=a,r())},o=it("layout-shift",s);o&&(r=at(t,n,ht,e.reportAllChanges),ot((function(){s(o.takeRecords()),r(!0)})),tt((function(){i=0,n=nt("CLS",0),r=at(t,n,ht,e.reportAllChanges),st((function(){return r()}))})),setTimeout(r,0))})))},bt=0,St=1/0,yt=0,Et=function(t){t.forEach((function(t){t.interactionId&&(St=Math.min(St,t.interactionId),yt=Math.max(yt,t.interactionId),bt=yt?(yt-St)/7+1:0)}))},wt=function(){return Q?bt:performance.interactionCount||0},It=function(){"interactionCount"in performance||Q||(Q=it("event",Et,{type:"event",buffered:!0,durationThreshold:0}))},Pt=[],Tt=new Map,Ct=0,Rt=[],kt=function(t){if(Rt.forEach((function(e){return e(t)})),t.interactionId||"first-input"===t.entryType){var e=Pt[Pt.length-1],r=Tt.get(t.interactionId);if(r||Pt.length<10||t.duration>e.latency){if(r)t.duration>r.latency?(r.entries=[t],r.latency=t.duration):t.duration===r.latency&&t.startTime===r.entries[0].startTime&&r.entries.push(t);else{var n={id:t.interactionId,latency:t.duration,entries:[t]};Tt.set(n.id,n),Pt.push(n)}Pt.sort((function(t,e){return e.latency-t.latency})),Pt.length>10&&Pt.splice(10).forEach((function(t){return Tt.delete(t.id)}))}}},Dt=function(t){var e=self.requestIdleCallback||self.setTimeout,r=-1;return t=ct(t),"hidden"===document.visibilityState?t():(r=e(t),ot(t)),r},Mt=[200,500],At=function(t,e){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(e=e||{},gt((function(){var r;It();var n,i=nt("INP"),a=function(t){Dt((function(){t.forEach(kt);var e=function(){var t=Math.min(Pt.length-1,Math.floor((wt()-Ct)/50));return Pt[t]}();e&&e.latency!==i.value&&(i.value=e.latency,i.entries=e.entries,n())}))},s=it("event",a,{durationThreshold:null!==(r=e.durationThreshold)&&void 0!==r?r:40});n=at(t,i,Mt,e.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),ot((function(){a(s.takeRecords()),n(!0)})),tt((function(){Ct=wt(),Pt.length=0,Tt.clear(),i=nt("INP"),n=at(t,i,Mt,e.reportAllChanges)})))})))},Gt=[2500,4e3],Ot={},Ut={passive:!0,capture:!0},qt=new Date,xt=function(t,e){$||($=e,j=t,X=new Date,Nt(removeEventListener),zt())},zt=function(){if(j>=0&&j<X-qt){var t={entryType:"first-input",name:$.type,target:$.target,cancelable:$.cancelable,startTime:$.timeStamp,processingStart:$.timeStamp+j};J.forEach((function(e){e(t)})),J=[]}},Lt=function(t){if(t.cancelable){var e=(t.timeStamp>1e12?new Date:performance.now())-t.timeStamp;"pointerdown"==t.type?function(t,e){var r=function(){xt(t,e),i()},n=function(){i()},i=function(){removeEventListener("pointerup",r,Ut),removeEventListener("pointercancel",n,Ut)};addEventListener("pointerup",r,Ut),addEventListener("pointercancel",n,Ut)}(e,t):xt(e,t)}},Nt=function(t){["mousedown","keydown","touchstart","pointerdown"].forEach((function(e){return t(e,Lt,Ut)}))},Bt=[100,300];const Ft=function(t){let e=0;const r=r=>{if(0===e)return;const n=Wt(r);n&&t.metrics.track({name:`sdk_web_vitals_${n.suffix}`,labels:{},value:n.value})},s=(0,c.HP)((()=>{_t(r),function(t,e){e=e||{},gt((function(){var r,n=mt(),i=nt("LCP"),a=function(t){e.reportAllChanges||(t=t.slice(-1)),t.forEach((function(t){t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-rt(),0),i.entries=[t],r())}))},s=it("largest-contentful-paint",a);if(s){r=at(t,i,Gt,e.reportAllChanges);var o=ct((function(){Ot[i.id]||(a(s.takeRecords()),s.disconnect(),Ot[i.id]=!0,r(!0))}));["keydown","click"].forEach((function(t){addEventListener(t,(function(){return Dt(o)}),!0)})),ot(o),tt((function(n){i=nt("LCP"),r=at(t,i,Gt,e.reportAllChanges),st((function(){i.value=performance.now()-n.timeStamp,Ot[i.id]=!0,r(!0)}))}))}}))}(r),function(t,e){e=e||{},gt((function(){var r,n=mt(),i=nt("FID"),a=function(t){t.startTime<n.firstHiddenTime&&(i.value=t.processingStart-t.startTime,i.entries.push(t),r(!0))},s=function(t){t.forEach(a)},o=it("first-input",s);r=at(t,i,Bt,e.reportAllChanges),o&&(ot(ct((function(){s(o.takeRecords()),o.disconnect()}))),tt((function(){var n;i=nt("FID"),r=at(t,i,Bt,e.reportAllChanges),J=[],j=-1,$=null,Nt(addEventListener),n=a,J.push(n),zt()})))}))}(r),At(r)}));return a.K4((r=>{let{stopped:a}=r;e++,(0,n.zG)(a,i.YP((t=>{t&&e--}))),t.metrics.isEnabled()&&s()}))};const Wt=t=>(t=>"CLS"===t.name)(t)?{value:t.value,suffix:`${t.name.toLowerCase()}_score`}:(t=>["INP","FID","LCP"].includes(t.name))(t)?{value:t.value/1e3,suffix:`${t.name.toLowerCase()}_seconds`}:void 0;var Ht=r(1001);const Kt=(t,e)=>{const{activationManager:r,externalData:s,metrics:o,permutiveData:c}=t;return(0,n.zG)(a.of({}),a.ak("psegs",(()=>((t,e)=>a.K4((r=>{let{stopped:a}=r;const s="_psegs";(0,n.zG)(i.vP(e,a),i.YP((e=>{let[r,i]=e;i||(0,n.zG)(r,p.EQ((()=>t.removeExternalData(s)),(e=>t.setExternalJsonData(s,e))))})))})))(t.externalData,e.qlSegments))),a.ak("webVitals",(()=>Ft(t))),a.ak("nativo",(()=>V({activationManager:r,externalData:s,metrics:o,queryLanguageCohorts:e.qlSegments,...e}))),a.ak("twitterPixel",(()=>(0,Ht.twitterPixelService)({activationManager:r,metrics:o,permutiveData:c,queryLanguageCohorts:e.qlSegments,...e}))),a.ak("prebidJS",(()=>(0,S.dN)(t))))};var Yt=r(6329);const Vt=()=>{const[t,e]=i.gS(p.uZ());return{trackEvent:t=>{let r,n,{event:i,useBeacon:a}=t;const s=new Promise(((t,e)=>{r=t,n=e}));return e([{localId:(0,c.k$)(),event:i,fail:n,succeed:r,useBeacon:a}]),s},trackedEvents:t}};r(1228);const Qt=function(t,e){return a.K4((()=>({addon:()=>({}),cohorts:i.a9(o.YP)})))};const $t=(t,e)=>a.vP({contextual:Qt(t,e)}),jt=function(t,e,r){return a.of({replacementMap:i.a9(o.of({$privacy_sandbox_topics_v2:[]}))})};var Xt=r(1993),Jt=r(3247);i.a9(o.YP),i.a9([]),i.a9([]),i.a9([]),i.a9(Yt.b()),i.a9(o.YP),i.a9({segmentsEntered:[],segmentsExited:[]}),i.a9(!1),i.a9((t=>{let{event:e}=t;return Promise.resolve(e)})),new M,i.a9(o.YP),i.a9(!1);function Zt(t,e,r){const{addonsLoaded:u,consent:l,currentTimestampSecs:d,enabledAddons:f,identities:m,sdkVariant:g,sessionId:v,userId:h,userIdIsNewlyGenerated:_,viewId:b,pageviewState:S}=e,[y,E]=(0,n.zG)(i.Ue(i.a9(p.cS)),(t=>{let[e,r]=t;return[i.xH(e),r]})),w=o.ij(t.permutiveData.getData("event-source-id")),P=(0,n.zG)(h,i.Rp(-1,(t=>t+1)),i.UI((e=>(0,n.zG)(w,o.hX((()=>0===e)),o.fS((()=>{const e=(0,c.k$)();return t.permutiveData.setData("event-source-id",e),e}))))));return(0,n.zG)(a.vP({computeTimeMetrics:(T=t.metrics,a.K4((t=>{let{stopped:e}=t;const r=(0,s.HJ)((()=>{(0,n.zG)((0,s.iE)(),(0,c.bw)((()=>(0,s.ho)(!1))),p.UI((t=>{let[e,r]=t;return(r-e)/1e3})),(t=>{T.track({name:"sdk_ui_thread_compute_first10s_total_seconds",value:t.reduce(((t,e)=>t+e),0),labels:{}}),T.track({name:"sdk_ui_thread_compute_first10s_total_task_overrun_seconds",value:(0,n.zG)(t,p.hX((t=>t>.05)),p.UI((t=>t-.05)),p.u4(0,((t,e)=>t+e))),labels:{}}),T.track({name:"sdk_ui_thread_compute_first10s_longest_task_seconds",value:Math.max(0,...t),labels:{}})}))}),1e4);(0,n.zG)(e,i.YP((t=>t&&r())))}))),audiences:$t(t,e),privacySandboxTopics:jt(t,v,l)}),a.UI((t=>{const{reset:e,trackEvent:r,trackedEvents:a}=((t,e)=>{const[r,a]=i.Ue(0),s=(0,n.zG)(i.vP(r,e),i.UI((()=>[]))),o=(0,n.zG)(i.vP(s,t),i.D8(((t,e)=>{let[,r]=t,[,n]=e;return r===n})),i.UI((t=>{let[e]=t;const r=Vt();return e.forEach(r.trackEvent),r})));return{reset:()=>a(r.current+1),trackEvent:(0,n.zG)(i.vP(o,s),i.UI((t=>{let[e,r]=t;return t=>(r.push(t),e.trackEvent(t))}))),trackedEvents:(0,n.zG)(o,i.VS((t=>t.trackedEvents)))}})(h,b),[s,o,c]=(0,n.zG)(a,i.En(3,p.uZ()));return{...t,reset:e,trackEvent:r,unresolvedEvents:(0,n.zG)(s,i.UI(A.UI(p.UI((t=>(0,n.bc)(t.localId,{fail:t.fail,succeed:t.succeed})))))),eventsToProcessLocally:(0,n.zG)(o,i.UI(A.UI(p.hX((t=>!t.useBeacon))))),eventsToUploadViaBeacon:(0,n.zG)(c,i.UI(A.UI(p.hX((t=>t.useBeacon)))))}})),a.ak("eventPublication",(r=>{let{unresolvedEvents:n}=r;return K(t,n,y,e.sdkClosing)})),a.ak("core",(s=>{let{audiences:c,eventPublication:u,eventsToProcessLocally:f,privacySandboxTopics:g}=s;return(0,n.zG)(r({contextualCohorts:c.contextual.cohorts,consent:l,currentTimestampSecs:d,enrichmentReplacementMap:g.replacementMap,eventSourceId:P,identities:m,newEvents:(0,n.zG)(f,i.UI(A.UI(p.UI((t=>(0,n.bc)(t.localId,t.event)))))),sessionId:v,userId:h,userIdIsNewlyGenerated:_,viewId:b,webClient:e.webClient,pageviewState:S}),a.bw((t=>{let{eventsToPublish:e}=t;return(0,n.zG)(e,i.UI(A.UI(te)),u.publishEvents)})),a.bw((t=>{let{eventsToPublishOnPageUnload:e}=t;return(0,n.zG)(e,i.UI(te),E)})),a.bw((e=>{let{externalData:r}=e;return(0,n.zG)(r,i.UI((e=>(0,n.zG)(Object.entries(e),p.UI((e=>{let[r,i]=e;return(0,n.zG)(i,o.EQ((()=>t.externalData.removeExternalData(r)),(e=>t.externalData.setExternalJsonData(r,e))))}))))))})),a.bw((e=>{let{context:r}=e;return(0,n.zG)(r,i.UI((e=>{const r=Object.entries(e);t.clientContext.updateContext(...r)})))})))})),a.bw((t=>{let{core:r,eventPublication:a,eventsToUploadViaBeacon:s}=t;return(0,n.zG)(i.vP({cohorts:r.cohorts.all,eventsIO:s,segments:r.cohorts.ql,sessionId:v,userId:h,viewId:b,webClient:e.webClient}),i.UI((t=>{let{webClient:e,...r}=t;return(0,n.zG)(e,o.UI((t=>({...r,webClient:t}))))})),i.UI(o.EQ((()=>A.of(p.bM())),(t=>{let{cohorts:e,eventsIO:r,segments:i,sessionId:a,userId:s,viewId:o,webClient:c}=t;return(0,n.zG)(r,A.UI(p.UI((t=>{let{event:r,localId:u}=t;return(0,n.bc)(u,{requiresEnrichment:!0,sdkProcessed:!1,event:{user_id:s,name:r.name,segments:i,cohorts:e,properties:{...r.properties,client:{...c,...r.properties.client??{}}},session_id:a,time:new Date,view_id:o}})}))))}))),a.publishEvents)})),a.ak("metricContext",(t=>{let{core:r}=t;return(0,n.zG)(r.geoIP,i.UI(o.tS((t=>{var e;return o.ij(null===(e=t.geo_info)||void 0===e?void 0:e.continent)}))),(t=>Yt.X({continent:t,sampleRate:e.metricSampleRate,sdkVariant:g,sessionId:v,userId:h,viewId:b})))})),a.ak("sdkql",(e=>{let{core:r}=e;return Kt(t,{addonsLoaded:u,consent:l,initdAddons:f,qlSegments:r.cohorts.ql})})),a.ak("strategicPartnerships",(e=>{let{sdkql:r}=e;return((t,e)=>a.vP({prebid_identifiers:C(t,e)}))(t,{pbjs:(0,n.zG)(r.prebidJS,i.UI((t=>(0,n.zG)(t.mainPair,o.UI((t=>t.pbjs))))))})})),a.ak("mediaAndEntertainment",(e=>{let{core:r}=e;return((t,e)=>(0,n.zG)(a.vP({freewheel:R({activationManager:t.activationManager,externalData:t.externalData,...e})}),a.UI((0,n.a9)({}))))(t,{addonsLoaded:u,consent:l,initdAddons:f,queryLanguageCohorts:r.cohorts.ql})})),a.ak("advertisers",(e=>{let{sdkql:r}=e;return((t,e)=>(0,n.zG)(a.of(e),a.ak("prebidMonitoring",(e=>{let{consent:r,prebidJS:n}=e;return I(t,i.vP({consent:r,prebidJS:n}))})),a.UI(n.Q1)))(t,{consent:l,prebidJS:r.prebidJS})})),a.ak("identityManager",(e=>{let{core:r}=e;return(0,Xt.u6)({...t,consent:l,tcfApiStatus:(0,Jt.SD)(window,t.logger).tcfApiStatusRef,currentTimestampSecs:d,geoIP:r.geoIP},m)})),a.UI((t=>{let{core:e,audiences:r,metricContext:n,sdkql:a,trackEvent:s,eventPublication:o,strategicPartnerships:c,identityManager:u,reset:l}=t;return{activations:e.activations,addons:{contextual:r.contextual.addon,identityManager:u,secureSignal:e.secureSignal},metricContext:n,pbjsPair:i.UI((t=>t.mainPair),a.prebidJS),queryLanguageCohorts:{all:e.cohorts.ql,custom:e.cohorts.qlCustom,standard:e.cohorts.qlStandard},segmentTransitionsSinceInit:e.transitionsSinceInit,trackEvent:s,realtime:e.realtime,eventHandlerAfterUpload:o.eventHandlerAfterUpload,prebidIdentifiers:c.prebid_identifiers,reset:l,stateMigratedThisInitialisation:e.stateMigratedThisInitialisation}})));var T}const te=p.UI((0,O.H5)((t=>({event:t,requiresEnrichment:!1,sdkProcessed:!0}))));function ee(t){return(0,n.ls)((0,c.rO)({previousState:t=>{if("string"!=typeof t)return{};try{return JSON.parse(t)}catch{return{}}}}),t,(0,c.rO)({state:i.UI(JSON.stringify)}))}function re(t){const e=function(t){const{activationManager:e,api:r,clientContext:n,config:i,externalData:a,logger:s,metrics:o,permutiveData:c,network:u,urls:l,namespace:d,trace:p}=t;return{activationManager:e,api:r,clientContext:n,config:i,externalData:a,logger:s,metrics:o,permutiveData:c,permutiveApi:u,permutiveUrls:l,reportError:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.reportError(t,null==e?void 0:e.userId,null==e?void 0:e.timestamp)},namespace:d,trace:p}}(t),r=function(t){const e={addonsLoaded:t.addonsLoaded,consent:(r=t.consentTracking,(0,n.zG)(r,o.EQ((()=>i.a9(!0)),(t=>t.consentRef)))),currentTimestampSecs:l(),enabledAddons:u(t),identities:t.identities,sdkClosing:d(),metricSampleRate:t.config.metricsSamplingPercentage/100,sdkVariant:o.ij(t.sdkVariant),sessionId:i.a9(t.sessionManager.getSessionId()),userId:t.userId.ref,userIdIsNewlyGenerated:t.userId.isNewlyGenerated,viewId:t.viewId.ref,pageviewState:t.pageviewState,webClient:t.webClient};var r;return e}(t);return function(t,e,r,o){const u=5e3;return(0,n.zG)(t,function(t,e){return r=>a=>{const{value:o,state:c}=r(a),[u,l]=i.Ue(c.current),d=(0,s.UM)((()=>l(c.current)),t),p=(0,n.zG)(i.vP(c,u),i.UI((t=>{let[e,r]=t;return e===r})));return(0,n.zG)(e,i.bw((t=>t&&d()))),{value:(0,n.bc)(p,o),state:(0,n.zG)(i.vP(e,c,u),i.UI((t=>{let[e,r,n]=t;return e?r:n})))}}}(u,o),ee,function(t){return e=>(0,n.ls)((0,c.rO)({previousState:e=>t.current?e:void 0}),e,(0,c.rO)({state:(0,n.ls)((e=>i.vP(t,e)),i.UI((t=>{let[e,r]=t;return e?r:void 0})))}))}(r),function(t){return e=>(0,n.ls)((0,c.rO)({previousState:()=>localStorage.getItem(t)}),e,(0,c.rO)({state:(0,c.bw)(i.YP((e=>{switch(typeof e){case"string":localStorage.setItem(t,e);break;case"undefined":localStorage.removeItem(t);break;case"object":if(null===e){localStorage.removeItem(t);break}throw new Error("Permutive app raised an invalid state.");default:throw new Error("Permutive app raised an invalid state.")}})))}))}(e),a.UI((t=>{let[e,r]=t;return r})))({stopped:i.a9(!1)}).value}(Zt(e,r,t.core),t.namespace.getNamespacedStorageKey("permutive-app"),r.consent,r.sdkClosing)}},6851:(t,e,r)=>{r.d(e,{iq:()=>d,B9:()=>m,ti:()=>v});var n=r(2865),i=r(3939),a=r(1385),s=r(9727),o=r(2275),c=r(7387);var u=r(4513);const l="__permutive.",d="__permutiveConfigQueryParams";const p={default:{windowKey:"permutive",environment:"default",apiHost:"api.permutive.com",apiKey:"",apiProtocol:"https",cdnBaseUrl:"cdn.permutive.com",cdnProtocol:"https",pxidHost:"prmutv.co",apiVersion:"v2.0",sdkErrorsApiVersion:"v2",advertiserApiVersion:"v2",classificationModelsApiVersion:"v1",loggingEnabled:!1,tracingEnabled:!1,requestTimeout:5e3,cookieDomain:"."+(0,u._Y)(window.location.hostname),cookieName:"permutive-id",cookieExpiry:function(){const t=new Date;return t.setMonth(t.getMonth()+6),t.toUTCString()}(),eventsTTLInDays:null,permutiveDataMiscKey:"permutive-data-misc",permutiveDataQueriesKey:"permutive-data-queries",stateNamespace:"",sendClientErrors:!0,metricsSamplingPercentage:20,eventsCacheLimitBytes:25e5,segmentSyncApiHost:"a55a84b3-9632-4869-b625-3d8ef43ed18d.partner.permutive.app",consentRequired:!1,sdkType:"stable",viewId:null,localStorageDebouncedKeys:[],localStorageWriteDelay:1e3,localStorageWriteMaxDelay:1500,watson:{enabled:!0},secureSignalsApiHost:"secure-signals.permutive.app"},production:{},development:{apiProtocol:"http",loggingEnabled:!0,tracingEnabled:!0,sendClientErrors:!1}},f=t=>{const e={consentRequired:!0,loggingEnabled:!0,sendClientErrors:!0,tracingEnabled:!0},r={eventsTTLInDays:!0,eventsCacheLimitBytes:!0,metricsSamplingPercentage:!0,requestTimeout:!0,localStorageWriteDelay:!0,localStorageWriteMaxDelay:!0};return Object.keys(t).reduce(((n,i)=>{if(e.hasOwnProperty(i)){const e="true"===t[i];return{...n,[i]:e}}if(r.hasOwnProperty(i)){const e=Number(t[i]);return isNaN(e)?n:{...n,[i]:e}}return{...n,[i]:t[i]}}),{})},m=function(){let{getQueryParams:t=u.zM}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=t=>Object.entries(t).reduce(((t,e)=>{let[r,n]=e;if(!(0===r.indexOf(l)))return t;const i=r.replace(l,"");return[...t,[i,n]]}),[]);return(0,o.zG)(a.Y3((()=>(0,o.zG)(t(),e,(t=>(0,c.m8)(...t)),f,(t=>g({queryConfig:t})))),(t=>`Failed to parse query params. Got ${(0,n.w)(t).message}`)))},g=t=>{let{queryConfig:e}=t;const r=(0,o.zG)(s.Y3((()=>window.sessionStorage.getItem(d))),s.tS(s.ij),s.tS((0,o.ls)(i.A,s.ij)),s.fS((()=>({}))));return(0,c.PM)(r,e)},v=(t,e)=>{const r=(t.environment&&p[t.environment])??{};return(0,c.PM)(p.default,r,t,e)}},1228:(t,e,r)=>{r.d(e,{NY:()=>g,vk:()=>p,qA:()=>d});var n=r(2865),i=r(1385),a=r(2275),s=r(6316),o=r(7056),c=r(1954),u=r(5460);var l=r(4564);const d=()=>({opt_in:!0,token:c.L}),p=()=>({opt_in:!1,token:""}),f=t=>{return(0,a.ls)((e=t,t=>(0,a.zG)((0,l.J)(e.consentRequired,t),(t=>{let{consentData:r,isValid:n}=t;return e.consentDatabase.put(r,c.L),n}))),(t=>{let{logger:e,messages:r}=t;return t=>{const n=t?"given":"revoked";return e.log("Consent has been",n),r.emit(`permutive:consent:${n}`),t}})(t));var e},m=t=>(e,r)=>{t.on("permutive:consent:revoked",e),t.on("permutive:consent:given",r)},g=async t=>{const{logger:e,namespace:r,consentRequired:d,messages:p}=t,g=new o.oP(window.localStorage,r),v=(0,l.J)(d,await g.get(c.L)),h=await(0,a.zG)(s.Y3((()=>g.put(v.consentData,c.L)),(t=>new Error(`LocalStorage access is required. ${(0,n.w)(t).message}`))),(t=>t()));if(i.nM(h))return h;const{consentRef:_,giveConsent:b,revokeConsent:S,isRevoked:y,isGiven:E}=function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const[e,r]=u.Ue(t),n=()=>!0===e.current;return{consentRef:e,revokeConsent:()=>(r(!1),e.current),giveConsent:()=>(r(!0),e.current),isRevoked:()=>!n(),isGiven:n}}(v.isValid),w={consentRef:_,isGiven:E,isRevoked:y,listenForConsent:m(p)};w.listenForConsent(S,b);const I=f({consentDatabase:g,consentRequired:d,logger:e,messages:p});return i.F2({consentTracking:w,consentValidation:I,consentDatabase:g})}},1954:(t,e,r)=>{r.d(e,{L:()=>n});const n="permutive-consent"},4429:(t,e,r)=>{r.d(e,{v:()=>n});const n=(t,e,r)=>function(){const n=r()?e:t;return n(...arguments)}},4564:(t,e,r)=>{r.d(e,{J:()=>s});var n=r(2275),i=r(9727),a=r(1228);const s=(t,e)=>(0,n.zG)((0,i.ij)(e),(e=>!1===t&&(0,i.Wi)(e)?{isValid:!0,consentData:(0,a.qA)()}:(t=>(0,i.pC)(t)&&(t=>null!==t&&"object"==typeof t)(t.value)&&(t=>{var e;return!0===t.opt_in&&"string"==typeof t.token&&(null===(e=t.token)||void 0===e?void 0:e.length)>0})(t.value))(e)?{isValid:!0,consentData:e.value}:{isValid:!1,consentData:(0,a.vk)()}))},268:(t,e,r)=>{r.d(e,{S:()=>v});var n=r(2275),i=r(9727),a=r(366),s=r(5460),o=r(5842),c=r(3247),u=r(3812);var l=r(7387);class d{wait_prev;block_next;task;started;complete;constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.wait_prev=e.wait_prev||!1,this.block_next=e.block_next||!1,this.started=!1,this.complete=!1,this.task=t}waits(){return this.wait_prev}blocks(){return this.block_next}execute(t){this.started=!0,this.task((()=>{this.complete=!0,t()}))}}var p=r(1202);r(9082);class f{logger;api;activationManager;sessionManager;metrics;viewId;userId;network;clientContext;unprocessedEvents;taskQueue;identities;permutiveReset;messages;addons;trace;permutiveRealtime;state;customProperties;config;permutiveData;externalData;cookies;identitiesIngestor;global;nextGen;pageviewState;initialisedAddons=[];tcf;constructor(t,e,r,n,i,a,s,o,u,l,d,p,f,m,g,v,h,_,b,S,y,E,w,I,P,T,C){this.logger=t,this.api=e,this.activationManager=r,this.sessionManager=n,this.metrics=i,this.viewId=a,this.userId=s,this.network=o,this.clientContext=u,this.unprocessedEvents=l,this.taskQueue=d,this.identities=p,this.permutiveReset=f,this.messages=m,this.addons=g,this.trace=v,this.permutiveRealtime=h,this.state=_,this.customProperties=b,this.config=S,this.permutiveData=y,this.externalData=E,this.cookies=w,this.identitiesIngestor=I,this.global=P,this.nextGen=T,this.pageviewState=C,this.tcf=(0,c.SD)(window,this.logger)}identify(t){const e="[Identify]";this.logger.debug("<call> identify",t);const r=(0,l.b2)(),{left:s,right:c}=this.identities.parseCustomerDefinedIdentities(t);if(s.length>0)throw new Error(s.join(" "));const u={...this.identities.getIdentitiesMap(),...c.reduce(((t,e)=>{let{tag:r,id:n,priority:i,expiry:a}=e;return{...t,[r]:{id:n,...void 0!==i?{priority:i}:{},...void 0!==a?{expiry:a}:{}}}}),{})},f=(0,n.zG)(Object.values(u),a.DZ((t=>i.ij(t.id)))),m=this.identities.getPrioritizedIdentities(u);if("string"==typeof t&&(0,o.Bt)("a55a84b3-9632-4869-b625-3d8ef43ed18d","a55a84b3-9632-4869-b625-3d8ef43ed18d",f,window.location.hostname,this.userId.get()))return r.resolve(),r.promise;const g=async t=>{await(0,p.Yj)({clientContext:this.clientContext,global:this.global,identities:this.identities,logger:this.logger,reset:this.permutiveReset,userId:this.userId},t.user_id)};return this.taskQueue.add(new d((async t=>{this.logger.debug("<task> identify",c);const n=async()=>{this.logger.log(e,"request identity");const t=await this.api.identify(this.metrics,this.userId,m);this.userId.isEqual(t.user_id)?this.metrics.track({name:"sdk_identity_remained_total",value:1,labels:{identify_reason:"identify_call"}}):(this.metrics.track({name:"sdk_identity_changed_total",value:1,labels:{identify_reason:"identify_call"}}),await g(t))};this.identities.setIdentities(c).identifyRequestRequired()?await n():this.logger.log(e,"skip request"),this.logger.debug("<done> identify",c),t(),r.resolve(),await this.identitiesIngestor.ingestIfEligible(c).catch((t=>this.api.reportError(`Couldn't ingest identities, got ${t}`,this.userId.get())))}),{wait_prev:!0,block_next:!0})),r.promise}on(t,e){return this.nextGen.eventHandlerAfterUpload.addListener({name:t,callback:e,once:!1})}once(t,e){return this.nextGen.eventHandlerAfterUpload.addListener({name:t,callback:e,once:!0})}pageviewTracked=!1;track(){const[t,e,r]=[arguments.length<=0?void 0:arguments[0],(arguments.length<=1?void 0:arguments[1])||{},(arguments.length<=2?void 0:arguments[2])||{}],n=this.trace.startSpan(`track("${t}")`);this.logger.log("<call> track",t);const i=(0,l.b2)();this.pageviewTracked||"Pageview"!==t||(this.pageviewTracked=!0,this.metrics.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"pageview_tracked",time_origin:"sdk_init"})),this.metrics.trackCounter({name:"sdk_event_track_count_total",labels:{event_name:t},value:1}),i.promise.then((()=>{this.metrics.trackCounter({name:"sdk_event_track_success_count_total",labels:{event_name:t},value:1}),n.finish()}),(()=>{this.metrics.trackCounter({name:"sdk_event_track_fail_count_total",labels:{event_name:t},value:1}),n.finish()}));const a=r.unprocessedData??{},s=a.sessionId??this.sessionManager.getSessionId(),o=a.viewId??this.viewId.get(),c={success:r.success||(t=>{}),error:r.error||((t,e)=>{})};return this.taskQueue.add(new d((n=>{this.logger.log("<task> track",t);return(a.client?Promise.resolve(a.client):this.clientContext.getClient()).then((a=>{const u={name:t,properties:{...e,client:e.client?(0,l.PM)(a,e.client):a},session_id:s,view_id:o,time:new Date};return this.nextGen.trackEvent.current({event:u,useBeacon:r.useBeacon??!1}).then((t=>{this.logger.log("<done> track",u.name),c.success(t),i.resolve(u),n()})).catch((t=>{c.error(t),this.api.reportError(t,this.userId.get()),i.reject(t)}))}))}))),i.promise}trigger(t,e,r){const n=(0,l.b2)();this.logger.log("<call> trigger",t);const i=e=>(i,a)=>{if(i.properties.segment_number===t){const s={result:e};this.logger.debug("<fire> trigger",{event:i,error:a,segmentCode:t,payload:s}),r(s),n.resolve(s)}};return this.nextGen.eventHandlerAfterUpload.addListener({name:"SegmentEntry",callback:i(!0),once:!1}),this.nextGen.eventHandlerAfterUpload.addListener({name:"SegmentExit",callback:i(!1),once:!1}),this.logger.log("<done> trigger",t),n.promise}query(){return Promise.resolve({result:!1})}segment(t,e){const r=(0,l.b2)();this.logger.log("<call> segment",t);return this.taskQueue.add(new d((n=>{this.logger.log("<task> segment",t);const i=this.nextGen.queryLanguageCohorts.all.current.includes(t)||!1;e(i),r.resolve(),this.logger.log("<done> segment",t),n()}))),r.promise}segments(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all";const r=(0,l.b2)();this.logger.log("<call> segments");return this.taskQueue.add(new d((n=>{this.logger.log("<task> segments ("+e+")");const i=i=>{t(i),r.resolve(i),this.logger.log("<done> segments ("+e+")"),n()};"dfp"===e?this.messages.once("permutive:dfp:ready",(()=>{this.addons.dfp&&i([...this.addons.dfp.segments.liveSegments])})):i([...this.nextGen.queryLanguageCohorts.all.current])}))),r.promise}reset(){return Promise.all([this.api.reset(this.metrics),this.identities.reset(),this.permutiveReset.reset(),this.nextGen.reset(),this.userId.reset()]).then((()=>{this.messages.emit("permutive:reset")})).catch((t=>{this.api.reportError(`Error resetting internals. Got ${t}`)}))}addon(t,e){this.logger.debug("[Addon]",`Called for ${t}`,e);const a={...e,permutive:this,api:this.api,activationManager:this.activationManager,network:this.network,clientContext:this.clientContext,logger:this.logger,unprocessedEvents:this.unprocessedEvents,metrics:this.metrics,state:this.state,messages:this.messages,userId:this.userId,viewId:this.viewId,customProperties:this.customProperties,config:this.config,permutiveData:this.permutiveData,sessionManager:this.sessionManager,addons:this.addons,externalData:this.externalData,cookies:this.cookies,nextGenOutput:this.nextGen,identities:this.identities,pageviewState:this.pageviewState,tcf:this.tcf},o=(0,n.zG)(this.nextGen.pbjsPair,s.UI(i.UI((0,l.vg)("pbjs")))),c=t=>{this.initialisedAddons.push(t),this.messages.emit("permutive:addon:preinit",t)};if(-1===this.initialisedAddons.indexOf(t))switch(c(t),t){case"web":Promise.resolve().then(r.bind(r,7866)).then((t=>this.addons.web=new t.WebAddon(a))).then((()=>this.messages.emit("permutive:web:ready")));break;case"publishers":case"nativo":case"freewheel":case"tiktok_pixel":case"eyeota_pixel":case"rubicon":case"rubicon_ssp":case"tracking_pixel":case"pinterest_pixel":case"local_storage":case"appnexus_adserver":case"prebid":case"classification_models":case"gam_log":case"smart":case"tradedesk":case"appnexus":case"pubmatic":case"ssp":0;break;case"overlays":Promise.resolve().then(r.bind(r,6683)).then((t=>this.addons.overlays=new t.OverlaysAddon(a)));break;case"scriptrunner":Promise.resolve().then(r.bind(r,3751)).then((t=>this.addons.scriptrunner=new t.ScriptRunnerAddon(a)));break;case"dfp":Promise.resolve().then(r.bind(r,2725)).then((async t=>this.addons.dfp=await t.createAddon(a)));break;case"facebook_pixel_v2":Promise.resolve().then(r.bind(r,6216)).then((t=>this.addons.facebook_pixel_v2=new t.FacebookV2Pixel({...a,tcfStatus:{type:"missing"}})));break;case"twitter_pixel":Promise.resolve().then(r.bind(r,1001)).then((t=>this.addons.twitter_pixel=new t.TwitterAddon(a)));break;case"clean_room":Promise.resolve().then(r.bind(r,1819)).then((t=>this.addons.clean_room=new t.CleanRoomAddon({...a,pbjs:o,prebidIdentifiers:this.nextGen.prebidIdentifiers})));break;case"ddp":case"dbm":Promise.resolve().then(r.bind(r,5286)).then((t=>this.tcf.registerVendorOnValidConsent("ddp",(e=>this.addons.ddp=new t.DDPPixel({...a,tcfStatus:e})))))}else"web"===t&&!0!==e.auto_init&&((t,e,r,n)=>new Promise(((a,s)=>{const o=(0,i.Y3)(t);if((0,i.pC)(o))return a(o.value);r.once(e,(()=>(0,i.g_)((()=>s(new Error(`Error after waiting for event ${e}`))),a)((0,i.Y3)(t))));const c=(null==n?void 0:n.timeout)??1e4;(0,u.HJ)((()=>s(new Error(`Event ${e} was not received within the timeout period ${c}ms`))),c)})))((()=>{if(!this.addons.web)throw new Error('"web" addon not ready');return this.addons.web.reset(e)}),"permutive:web:ready",this.messages).catch((t=>{this.api.reportError(`Got error while trying to reset web. Got ${t.message}`,this.state.userId.get())}))}ready(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"initialised";const r=(0,l.b2)(),n=()=>{t(),r.resolve()};switch(e){case"initialised":this.permutiveRealtime.isReady()?n():this.messages.on("permutive:ready",n);break;case"realtime":this.permutiveRealtime.isRealtime()?n():this.messages.once("permutive:realtime",n)}return r.promise}}var m=r(4429);const g=t=>{const{logger:e,consentTracking:r}=t,i=function(){return e.debug("Methods[track]: Cannot track as consent is revoked"),Promise.resolve(null)};return t=>class extends t{constructor(){super(...arguments),r.isRevoked()&&this.consentRevoked(),r.listenForConsent((()=>this.consentRevoked()),n.Q1)}async consentRevoked(){return await this.sessionManager.reset(),this.reset()}track=(0,m.v)(super.track.bind(this),i,r.isRevoked)}},v=(t,e,r,i,a,s,o,c,u,l,d,p,m,v,h,_,b,S,y,E,w,I,P,T,C,R,k,D)=>new((0,n.zG)(f,g({consentTracking:R,logger:t})))(t,e,r,i,a,s,o,c,u,l,d,p,m,v,h,_,b,S,y,E,w,I,P,T,C,k,D)},1202:(t,e,r)=>{r.d(e,{Yj:()=>c,TZ:()=>o});var n=r(2865),i=r(7387);var a=r(5842);const s=async t=>{await t.identities.thirdParty,await function(t,e){return(0,a.Bt)("a55a84b3-9632-4869-b625-3d8ef43ed18d","a55a84b3-9632-4869-b625-3d8ef43ed18d",t.identities.getPrioritizedIdentities(t.identities.getIdentitiesMap()).map((t=>t.id)),window.location.hostname,t.userId.get())?e.reset():Promise.resolve()}(t,t.permutiveMethods);const e=await function(t){const e=t.trace.startSpan("identify");0;return(async t=>{const e="[Identify Init]",{logger:r,api:n,userId:a,identities:s,metrics:o,identitiesIngestor:c,messages:u,sessionManager:l}=t,d=await s.thirdParty,p=s.extractIdentifyFromQueue(t),f={...s.getIdentitiesMap(),...p.reduce(((t,e)=>{let{tag:r,id:n,priority:i,expiry:a}=e;return{...t,[r]:{id:n,...a?{expiry:a}:{},...void 0!==i?{priority:i}:{}}}}),{})},m=s.setIdentities(Object.entries(f).map((t=>{let[e,{id:r,priority:n,expiry:i}]=t;return{tag:e,id:r,...i?{expiry:i}:{},...void 0!==n?{priority:n}:{}}})));s.setReady();const g=s.getPrioritizedIdentities(f);r.log("Begin identification");const v=t.sessionCount>1&&l.sessionHasChanged()||d.identifyRequestRequired()||m.identifyRequestRequired()?await(r.debug(e,"request identity"),n.identify(o,a,g).then((t=>{const n=t.user_id;return a.isEqual(n)?{identityChanged:!1}:(r.debug(e,"fetch received new user id",n),{identityChanged:!0,userId:n})})).catch((t=>(n.reportError(`${e} Fetch failed. Got ${t}`,a.get()),{identityChanged:!1}))).then((0,i.bw)((e=>t.metrics.track({name:`sdk_identity_${e.identityChanged?"changed":"remained"}_total`,value:1,labels:{identify_reason:"sdk_init"}}))))):(r.debug(e,"skip request"),{identityChanged:!1});return c.ingestIfEligible(g).catch((t=>n.reportError(`Couldn't ingest identities, got ${t}`,v.identityChanged?v.userId:a.get()))),u.emit("permutive:user:ready"),r.debug(e,"result",v),v})(t).catch((e=>(t.api.reportError(`Failed to identify. Got ${(0,n.w)(e)}`),{identityChanged:!1}))).then((t=>(e.finish(),t)))}(t);return e.identityChanged?await c(t,e.userId):t.logger.log("Identity has not changed"),e},o=async function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t=>{};s(t).then(e),u(t.global,t.clientContext)};async function c(t,e){t.logger.log("Identity has changed"),await t.reset.reset(),t.userId.set(e),u(t.global,t.clientContext),t.identities.setIdentities([])}function u(t,e){return t.context=e.getContext()}},9774:(t,e,r)=>{function n(t,e,r,n){n.debug("set SDK as ready"),t.emit("permutive:api:ready"),t.emit("permutive:queries:initialised"),e.track({name:"sdk_local_storage_byte_total",value:r.getStateSizeInBytes(),labels:{}}),n.warn("sdk_query_states_byte_total metric needs re-implementing")}r.d(e,{R:()=>n})},8629:(t,e,r)=>{r.d(e,{LA:()=>o});var n=r(366),i=r(5586),a=r(7387);const s=(t,e,r)=>{let{api:n,state:i}=r;n.reportError(`Function "permutive.${e.functionName}" caused an error: ${t.message}`,i.userId.get())};function o(t,e,r,n,i,a){let o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:d;const u=c(t),l=a.startSpan("queued_methods"),p={api:i,state:e},f=t=>{if(t.functionName in r){r[t.functionName].apply(n,t.arguments)}else s(new Error("Does not exist."),t,p)},m=t=>!o.includes(t);u.forEach((t=>{try{m(t.functionName)&&f(t)}catch(e){const r=e instanceof Error?e:new Error("Unknown error.");s(r,t,p)}})),l.finish()}function c(t){const e=(0,n.uK)((t=>-1!==l.indexOf(t.functionName)))(t),r=e.right,s=e.left.filter((t=>"consent"!==t.functionName)),o=(0,i.Zt)(((t,e)=>u(t)&&u(e)?(0,a.lW)(p).compare(t.arguments[0],e.arguments[0]):(0,a.lW)(l).compare(t.functionName,e.functionName)));return(0,n.DY)(o)(r).concat(s)}const u=t=>"addon"===t.functionName,l=["identify","trigger","addon","track"],d=["identify"],p=["dfp","appnexus_adserver","web"]},9215:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{initialiseWebSDK:()=>initialiseWebSDK});var _permutive_permutive_utils_ts_error__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(2865),fp_ts_Option__WEBPACK_IMPORTED_MODULE_33__=__webpack_require__(9727),fp_ts_Either__WEBPACK_IMPORTED_MODULE_35__=__webpack_require__(1385),fp_ts_function__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(2275),fp_ts_TaskEither__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(6316),_framework_ref__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5460),_identity_legacy_NeustarFabrickIdentitiesIngestor__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7222),_identity_legacy_PermutiveIdentities__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(5842),_identity_legacy_PermutiveIdentitiesIngestorNoOp__WEBPACK_IMPORTED_MODULE_27__=__webpack_require__(8167),_sdkql_blockers__WEBPACK_IMPORTED_MODULE_36__=__webpack_require__(8672),_core_activations_PermutiveActivationManagerWeb__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(7041),_core_activations_PermutiveAddons__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3636),_core_context_PermutiveClientContextWeb__WEBPACK_IMPORTED_MODULE_26__=__webpack_require__(6688),_sdkql_event_collection_events_cache_store_crypto_HashcodeDigest__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(8),_sdkql_event_collection_events_cache_store_crypto_SHA256Digest__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(1948),_sdkql_event_collection_PermutiveEventCustomProps__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1555),_core_events_unprocessed_UnprocessedPrebidAuctions__WEBPACK_IMPORTED_MODULE_29__=__webpack_require__(4253),_core_metrics_MetricReporter__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(6769),_core_state_PermutiveRealtime__WEBPACK_IMPORTED_MODULE_28__=__webpack_require__(6176),_core_state_PermutiveReset__WEBPACK_IMPORTED_MODULE_30__=__webpack_require__(541),_core_state_PermutiveStateWeb__WEBPACK_IMPORTED_MODULE_34__=__webpack_require__(1772),_core_state_PermutiveViewId__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(1347),_core_store_LocalStorage__WEBPACK_IMPORTED_MODULE_31__=__webpack_require__(9134),_core_tcf_TCF__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(3247),_dynamic_addons_LoadAddons__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(6563),_dynamic_messages_PermutiveMessages__WEBPACK_IMPORTED_MODULE_37__=__webpack_require__(2102),_http_PermutiveApi__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(8645),_utils_PermutiveUtils__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(7387),_utils_task_queue_PermutiveTaskQueue__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(5365),_utils_urls_UrlHelpers__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__(4513),_Config__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(6851),_initialisation_identity__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(1202),_initialisation_initialisationLifecycle__WEBPACK_IMPORTED_MODULE_38__=__webpack_require__(9774),_initialisation_queuedMethods__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(8629),_PermutiveMethodsWeb__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(268),_framework_compute_time_measurement__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(3812),fp_ts_Task__WEBPACK_IMPORTED_MODULE_32__=__webpack_require__(1717),main_core_store_SessionStorage__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(8480),main_http_PermutiveNetwork__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(1671);const prefix="[Initialisation Web]",initialiseWebSDK=_ref=>{let{cookieStore,consentModule,core,externalData,localStorage,logger,messages,metrics,namespace,pageviewState,partialTagWithKey,permutiveData,sessionManager,tag,trace,configFromQueryParams,urls,userId}=_ref;return(0,fp_ts_TaskEither__WEBPACK_IMPORTED_MODULE_21__.Y3)((async()=>{const windowKey=partialTagWithKey.key,permutiveGlobal=window[windowKey],config=tag.config,viewId=(0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)(pageviewState.ref,_framework_ref__WEBPACK_IMPORTED_MODULE_0__.UI((t=>t.viewId)),(t=>new _core_state_PermutiveViewId__WEBPACK_IMPORTED_MODULE_23__.W(t))),network=new main_http_PermutiveNetwork__WEBPACK_IMPORTED_MODULE_20__.E(metrics),sessionStorage=(0,main_core_store_SessionStorage__WEBPACK_IMPORTED_MODULE_19__.u)(namespace,logger,consentModule.consentTracking.consentRef),{consentTracking,consentValidation}=consentModule;(0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)(consentTracking.consentRef,_framework_ref__WEBPACK_IMPORTED_MODULE_0__.YP((t=>{t?sessionStorage.put(configFromQueryParams,_Config__WEBPACK_IMPORTED_MODULE_14__.iq).then(fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.Q1,(t=>{logger.warn(prefix,`Failed to cache "${_Config__WEBPACK_IMPORTED_MODULE_14__.iq}".`,(0,_permutive_permutive_utils_ts_error__WEBPACK_IMPORTED_MODULE_24__.w)(t))})):sessionStorage.delete(_Config__WEBPACK_IMPORTED_MODULE_14__.iq)}))),window[windowKey].consent=consentValidation;const context=(0,_utils_PermutiveUtils__WEBPACK_IMPORTED_MODULE_12__.PM)(tag.context||{},{path:window.location.pathname,url:(0,_utils_urls_UrlHelpers__WEBPACK_IMPORTED_MODULE_25__.bk)(window.location.href),referrer:(0,_utils_urls_UrlHelpers__WEBPACK_IMPORTED_MODULE_25__.bk)(document.referrer),view_id:viewId.get()}),createInternalsSpan=trace.startSpan("internals"),clientContext=new _core_context_PermutiveClientContextWeb__WEBPACK_IMPORTED_MODULE_26__.z(context);(0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)(viewId.ref,_framework_ref__WEBPACK_IMPORTED_MODULE_0__.YP((t=>clientContext.updateContext(["view_id",t])))),(0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)(userId.ref,_framework_ref__WEBPACK_IMPORTED_MODULE_0__.YP((t=>clientContext.updateContext(["user_id",t]))));const api=new _http_PermutiveApi__WEBPACK_IMPORTED_MODULE_11__.F(urls,config,network,metrics,logger),identityProviderEnv={permutive:permutiveGlobal,network,api,userId,metrics,permutiveData,messages,config,cookies:cookieStore,logger},identities=new _identity_legacy_PermutiveIdentities__WEBPACK_IMPORTED_MODULE_2__.lg(metrics,trace,permutiveData,identityProviderEnv,logger),identitiesIngestor=new _identity_legacy_PermutiveIdentitiesIngestorNoOp__WEBPACK_IMPORTED_MODULE_27__.z,permutiveRealtime=new _core_state_PermutiveRealtime__WEBPACK_IMPORTED_MODULE_28__.u(trace,metrics,messages),unprocessedArgs={consent:consentTracking.consentRef,logger,namespace},unprocessedEvents={PrebidAuctions:new _core_events_unprocessed_UnprocessedPrebidAuctions__WEBPACK_IMPORTED_MODULE_29__.J(unprocessedArgs)},customProperties=new _sdkql_event_collection_PermutiveEventCustomProps__WEBPACK_IMPORTED_MODULE_7__.X,permutiveReset=new _core_state_PermutiveReset__WEBPACK_IMPORTED_MODULE_30__.a(config,localStorage,logger,permutiveData,cookieStore,externalData),taskQueue=new _utils_task_queue_PermutiveTaskQueue__WEBPACK_IMPORTED_MODULE_13__.i(messages),activationManager=new _core_activations_PermutiveActivationManagerWeb__WEBPACK_IMPORTED_MODULE_3__.v(logger,permutiveGlobal,clientContext),[addonsLoadedRef,setAddonsLoaded]=_framework_ref__WEBPACK_IMPORTED_MODULE_0__.Ue(!1),webClient=(()=>{const[t,e]=_framework_ref__WEBPACK_IMPORTED_MODULE_0__.Ue(Date.now());return(0,_framework_compute_time_measurement__WEBPACK_IMPORTED_MODULE_18__.UM)((()=>e(Date.now())),1e3),(0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)(_framework_ref__WEBPACK_IMPORTED_MODULE_0__.vP(viewId.ref,t),_framework_ref__WEBPACK_IMPORTED_MODULE_0__.UI((()=>(0,_core_context_PermutiveClientContextWeb__WEBPACK_IMPORTED_MODULE_26__.k)())),_framework_ref__WEBPACK_IMPORTED_MODULE_0__.D8(((t,e)=>t===e||JSON.stringify(t)===JSON.stringify(e))))})(),eventCacheStoreFactory=()=>(0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)((0,_framework_compute_time_measurement__WEBPACK_IMPORTED_MODULE_18__.N1)((0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)((0,fp_ts_TaskEither__WEBPACK_IMPORTED_MODULE_21__.Y3)((()=>Promise.resolve().then(__webpack_require__.bind(__webpack_require__,8949))),String),trace.traceTask("import-DBStore-main-thread"))),(0,fp_ts_TaskEither__WEBPACK_IMPORTED_MODULE_21__.UI)((t=>{let{DBStore:e}=t;return new e((0,_core_store_LocalStorage__WEBPACK_IMPORTED_MODULE_31__.E)(namespace,logger,consentTracking.consentRef))}))),eventsCacheFactory=()=>(0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)((0,_framework_compute_time_measurement__WEBPACK_IMPORTED_MODULE_18__.SF)((0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)((0,fp_ts_TaskEither__WEBPACK_IMPORTED_MODULE_21__.Y3)((()=>Promise.resolve().then(__webpack_require__.bind(__webpack_require__,3194))),String),trace.traceTask("import-events-cache"))),(0,fp_ts_TaskEither__WEBPACK_IMPORTED_MODULE_21__.tS)((t=>{let{EventsCache:e}=t;return(0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)(e.initialise(config,logger,(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};api.reportError(t,null==e?void 0:e.userId,null==e?void 0:e.timestamp)}),trace,metrics,userId.ref,eventCacheStoreFactory),trace.traceTask("initialise-events-cache-main-thread"))}))),nextGen=await(0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)((0,_framework_compute_time_measurement__WEBPACK_IMPORTED_MODULE_18__.SF)((()=>Promise.resolve().then(__webpack_require__.bind(__webpack_require__,4669)))),trace.traceTask("import-next-gen"),fp_ts_Task__WEBPACK_IMPORTED_MODULE_32__.Qt("configureCore",core),fp_ts_Task__WEBPACK_IMPORTED_MODULE_32__.UI((t=>{let{runNextGenFeatures:e,configureCore:r}=t;return e({activationManager,addonsLoaded:addonsLoadedRef,api,clientContext,config,consentTracking:fp_ts_Option__WEBPACK_IMPORTED_MODULE_33__.G(consentTracking),core:r({eventsCacheFactory,migratedStateMaps:()=>({internal:(0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)(permutiveData.getData("internal_query_states"),fp_ts_Option__WEBPACK_IMPORTED_MODULE_33__.DT(_utils_PermutiveUtils__WEBPACK_IMPORTED_MODULE_12__.Kn)),external:(0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)(permutiveData.getData("external_query_states"),fp_ts_Option__WEBPACK_IMPORTED_MODULE_33__.DT(_utils_PermutiveUtils__WEBPACK_IMPORTED_MODULE_12__.Kn))})}),externalData,identities:identities.ref,logger,messages,metrics,namespace,network,permutiveData,sessionManager,urls,userId,viewId,pageviewState:pageviewState.ref,trace,webClient:(0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)(webClient,_framework_ref__WEBPACK_IMPORTED_MODULE_0__.UI(fp_ts_Option__WEBPACK_IMPORTED_MODULE_33__.of))})})))();(0,_core_metrics_MetricReporter__WEBPACK_IMPORTED_MODULE_8__.p)({api,context:nextGen.metricContext,logger,messages,metrics});const state=new _core_state_PermutiveStateWeb__WEBPACK_IMPORTED_MODULE_34__.u(permutiveData,permutiveReset,userId,viewId,logger),addons={},permutiveMethods=(0,_PermutiveMethodsWeb__WEBPACK_IMPORTED_MODULE_17__.S)(logger,api,activationManager,sessionManager,metrics,viewId,userId,network,clientContext,unprocessedEvents,taskQueue,identities,permutiveReset,messages,addons,trace,permutiveRealtime,state,customProperties,config,permutiveData,externalData,cookieStore,identitiesIngestor,permutiveGlobal,consentTracking,nextGen,pageviewState);createInternalsSpan.finish(),[].forEach((s=>{fp_ts_Either__WEBPACK_IMPORTED_MODULE_35__.Y3((()=>eval(s)),(t=>{api.reportError({...t,message:`Error running custom script ${s}`},userId.get())}))}));const blockers=(0,_sdkql_blockers__WEBPACK_IMPORTED_MODULE_36__.X)({logger,messages});blockers.addBlocker("permutive:queries:initialised");const initialIdentifyResult=(0,_utils_PermutiveUtils__WEBPACK_IMPORTED_MODULE_12__.b2)();let globalIdentifyBound=!1;messages.on("permutive:user:ready",(()=>{permutiveGlobal.identify=permutiveMethods.identify.bind(permutiveMethods),globalIdentifyBound=!0;const t=identities.extractIdentifyFromQueue({global:permutiveGlobal});t.length>0?initialIdentifyResult.resolve(permutiveGlobal.identify(t)):initialIdentifyResult.resolve()})),messages.on("permutive:blockers:empty",(()=>{if(!globalIdentifyBound){const t=permutiveGlobal.identify;permutiveGlobal.identify=e=>(t(e),initialIdentifyResult.promise)}permutiveGlobal.on=permutiveMethods.on.bind(permutiveMethods),permutiveGlobal.once=permutiveMethods.once.bind(permutiveMethods),permutiveGlobal.track=permutiveMethods.track.bind(permutiveMethods),permutiveGlobal.trigger=permutiveMethods.trigger.bind(permutiveMethods),permutiveGlobal.query=permutiveMethods.query.bind(permutiveMethods),permutiveGlobal.segment=permutiveMethods.segment.bind(permutiveMethods),permutiveGlobal.segments=permutiveMethods.segments.bind(permutiveMethods),permutiveGlobal.reset=permutiveMethods.reset.bind(permutiveMethods),permutiveGlobal.ready=permutiveMethods.ready.bind(permutiveMethods),permutiveGlobal.addon=permutiveMethods.addon.bind(permutiveMethods),permutiveGlobal.context=clientContext.getContext(),permutiveGlobal.addons=addons,permutiveGlobal.config=config,permutiveRealtime.setAsReady(),(0,_initialisation_queuedMethods__WEBPACK_IMPORTED_MODULE_16__.LA)(permutiveGlobal.q,state,permutiveGlobal,permutiveMethods,api,trace),setAddonsLoaded(!0)}));const loadAddonsSpan=trace.startSpan("load_addons");(0,_dynamic_addons_LoadAddons__WEBPACK_IMPORTED_MODULE_10__.C)({extMessages:new _dynamic_messages_PermutiveMessages__WEBPACK_IMPORTED_MODULE_37__.a(messages),nextGen,messages,viewId,state,sessionManager,api,clientContext,externalData,logger,metrics,namespace,network,permutive:permutiveGlobal,q:permutiveGlobal.q,userId}),loadAddonsSpan.finish(),await(0,_initialisation_identity__WEBPACK_IMPORTED_MODULE_15__.TZ)({api,clientContext,externalData,global:permutiveGlobal,identities,identitiesIngestor,logger,messages,metrics,network,permutiveMethods,reset:permutiveReset,trace,userId,sessionManager,sessionCount:nextGen.metricContext.current.session_count}),(0,_initialisation_initialisationLifecycle__WEBPACK_IMPORTED_MODULE_38__.R)(messages,metrics,state,logger),(0,fp_ts_function__WEBPACK_IMPORTED_MODULE_22__.zG)(_framework_ref__WEBPACK_IMPORTED_MODULE_0__.vP(nextGen.realtime,nextGen.queryLanguageCohorts.all),_framework_ref__WEBPACK_IMPORTED_MODULE_0__.D8(((t,e)=>t[0]===e[0])),_framework_ref__WEBPACK_IMPORTED_MODULE_0__.bw((t=>{let[e,r]=t;e&&permutiveRealtime.setAsRealtime(r.length)})))}),(t=>`Exception during initialisation. Got ${t}`))}},4749:(t,e,r)=>{r.r(e),r.d(e,{runSdk:()=>et});var n=r(1385),i=r(2275);var a=r(6316),s=r(1717),o=r(9727);var c=r(5472);class u{namespace;config;logger;constructor(t,e,r){this.namespace=t,this.config=e,this.logger=r}makeCookie(t,e,r){return[encodeURIComponent(this.namespace.getNamespacedStorageKey(t)),"=",e?encodeURIComponent(e):"","; expires=",r,"; domain=",this.config.cookieDomain,"; path=/; samesite=none; secure"].join("")}setCookie(t,e){if(!(e&&t&&this.config.cookieExpiry&&this.config.cookieDomain)){const{cookieExpiry:r,cookieDomain:n}=this.config??{};throw this.logger.warn(`Unable to set cookie. ${c.LP}`,{value:e,cookieName:t,cookieExpiry:r,cookieDomain:n}),new Error(c.LP)}const r=this.makeCookie(t,e,this.config.cookieExpiry);if(r.length>c.dG)throw this.logger.warn(`Unable to set cookie ${this.namespace.getNamespacedStorageKey(t)}. ${c.eP}`),new Error(c.eP);return this.logger.debug(`Setting cookie ${r}`),document.cookie=r,!0}getCookie(t){const e=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?t:this.namespace.getNamespacedStorageKey(t),r=new RegExp("\\b"+encodeURIComponent(e)+"=([^;]+)").exec(document.cookie);return null!==r?decodeURIComponent(r[1]):null}deleteCookie(t){if(!t||!this.config.cookieDomain)return!1;const e=this.makeCookie(t,void 0,"Thu, 01 Jan 1970 00:00:00 UTC");return this.logger.debug(`Deleting cookie ${e}`),document.cookie=e,!0}}var l=r(4429);const d=t=>{const{logger:e,consentTracking:r}=t,n=t=>(e.debug(`Cookie: Failed to set cookie ${t} as consent is revoked`),!1);return t=>class extends t{setCookie=(0,l.v)(super.setCookie.bind(this),n,r.isRevoked)}};var p=r(2865),f=r(3939);class m{namespace;constructor(t){this.namespace=t}getExternalData(t){const e=this.namespace.getNamespacedStorageKey(t);return window.localStorage.getItem(e)}getExternalJsonData(t){const e=this.getExternalData(t);return null===e?null:(0,f.A)(e)}setExternalData(t,e){const r=this.namespace.getNamespacedStorageKey(t);try{window.localStorage.setItem(r,e)}catch(t){}}setExternalJsonData(t,e){return(0,i.zG)((r=e,(0,n.Y3)((function(){var t=JSON.stringify(r);if("string"!=typeof t)throw new Error("Converting unsupported structure to JSON");return t}),i.yR)),(0,n.UI)((e=>this.setExternalData(t,e))),(0,n.g_)((t=>{throw(0,p.w)(t)}),i.Q1));var r}removeExternalData(t){const e=this.namespace.getNamespacedStorageKey(t);window.localStorage.removeItem(e)}}const g=t=>{const{logger:e,consentTracking:r}=t,n=t=>{e.debug(`External Data: Failed to set key ${t} as consent is revoked`)},i=n,a=n;return t=>class extends t{setExternalData=(0,l.v)(super.setExternalData.bind(this),i,r.isRevoked);setExternalJsonData=(0,l.v)(super.setExternalJsonData.bind(this),a,r.isRevoked)}};var v=r(3812);class h{sdkInitTimestamp;prefix="[Permutive]"+(self.document?"[Main]":"[Worker]");debugStyle=["color: blue"].join(";");constructor(t){this.sdkInitTimestamp=t}get timeDeltaFromInit(){return`[${(new Date).getTime()-this.sdkInitTimestamp}ms]`}log(){return console.log.bind(self.console,this.timeDeltaFromInit,this.prefix)(...arguments)}debug(){return console.debug.bind(self.console,"%s%c%s",this.timeDeltaFromInit,this.debugStyle,this.prefix)(...arguments)}warn(){return console.warn.bind(self.console,this.timeDeltaFromInit,this.prefix)(...arguments)}error(){return console.error.bind(self.console,this.timeDeltaFromInit,this.prefix)(...arguments)}}class _{log(){}debug(){}warn(){}error(){}}const b="[MESSAGES]";class S{logger;messageListenerMap={};replayQueue={};onceTracker={};defaultMessageOptions={withReplay:!1,once:!1};constructor(t){this.logger=t}on(t,e,r){const n=this.mergeMessageOptions(r);n.withReplay&&this.processReplayQueue(t,e);const i=y(t,this.messageListenerMap).push(e)-1;return n.once&&this.addToOnceTracker(t,i),i}once(t,e){return this.on(t,e,{once:!0})}off(t,e){if(null==e)return this.messageListenerMap[t]=[],void(this.replayQueue[t]=[]);e<0?this.logError('Index for "off" fell out of range',{index:e}):y(t,this.messageListenerMap)[e]=i.Q1}emit(t,e,r){const n=this.mergeMessageOptions(r);y(t,this.messageListenerMap).length>0?(this.logDebug(`Emitting Event: ${t}`),this.emitMessageWithPayload(t,e)):n.withReplay&&this.addToReplayQueue(t,e)}addToReplayQueue(t,e){y(t,this.replayQueue).push(e)}processReplayQueue(t,e){var r;null===(r=this.replayQueue[t])||void 0===r||r.forEach((t=>e(t)))}emitMessageWithPayload(t,e){var r;null===(r=this.messageListenerMap[t])||void 0===r||r.forEach(((r,n)=>{r(e),this.removeListenerIfSetToFireOnlyOnce(t,n)}))}addToOnceTracker(t,e){y(t,this.onceTracker).push(e)}removeListenerIfSetToFireOnlyOnce(t,e){var r;null!==(r=this.onceTracker[t])&&void 0!==r&&r.includes(e)&&this.off(t,e)}mergeMessageOptions(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...this.defaultMessageOptions,...t}}logError(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.error(b,...e)}logDebug(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.debug(b,...e)}}const y=(t,e)=>e[t]??=[];var E=r(2925);class w{sdkInitTimestamp;timeOriginSdkInit;logger;prefix="[Metrics]";timeOriginForContext=T();pendingMetrics=[];pendingCounters={};pendingTimers={};noMetricsTracked=0;constructor(t,e,r){this.sdkInitTimestamp=t,this.timeOriginSdkInit=e,this.logger=r}isEnabled(){return!0}getNoMetricsTracked(){return this.noMetricsTracked}consume(){const t=this.pendingMetrics.concat(Object.values(this.pendingCounters).flat());return this.pendingMetrics=[],this.pendingCounters={},t}track(t){this.noMetricsTracked++,this.logDebug(`Tracking ${t.name}`,{metric:t}),this.pendingMetrics.push(t)}trackCounter(t){if(this.noMetricsTracked++,this.logDebug(`Tracking ${t.name}`,{metric:t}),t.name in this.pendingCounters){const e=Object.keys(t.labels),r=this.pendingCounters[t.name].findIndex((r=>Object.keys(r.labels).length===e.length&&e.every((e=>r.labels[e]===t.labels[e]))));-1===r?this.pendingCounters[t.name].push(t):this.pendingCounters[t.name][r]=P(this.pendingCounters[t.name][r],t.value)}else this.pendingCounters[t.name]=[t]}synchroniseTimeBetweenContexts(t){return(0,i.zG)(E.gz(o.G5)(this.timeOriginForContext,this.timeOriginSdkInit),o.UI((e=>{let[r,n]=e;return t+r-n})))}trackTimeSinceInit(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:performance.now();(0,i.zG)(this.synchroniseTimeBetweenContexts(r),o.UI((t=>(t-this.sdkInitTimestamp)/1e3)),o.UI((r=>this.track({name:t,value:r,labels:e}))))}startTimer(t,e){const r=performance.now(),n=this.generateRandomKey(t);return this.pendingTimers[n]={startTime:r,labels:e},n}stopTimer(t,e){const r=this.pendingTimers[e];if(r){const n=(performance.now()-r.startTime)/1e3;this.logDebug("timer stopped",t,n),this.track({name:t,value:n,labels:r.labels}),delete this.pendingTimers[e]}}generateRandomKey(t){return`${t}-${[...Array(24)].map((()=>Math.random().toString(36)[2])).join("")}`}logDebug(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.debug(this.prefix,...e)}}class I{isEnabled(){return!1}getNoMetricsTracked(){return 0}consume(){return[]}track(t){}trackCounter(t){}trackTimeSinceInit(t,e){}startTimer(t,e){return""}stopTimer(t,e){}}const P=(t,e)=>({...t,value:t.value+e}),T=()=>(0,i.zG)(o.Y3((()=>performance.timeOrigin)),o.hX((t=>"number"==typeof t&&!Number.isNaN(t))));var C=r(7387),R=r(731),k=r(1001);class D{config;namespace;logger;prefix="[Data Store]";permutiveData={};permutiveDataSize=0;localStorageScheduler;localStorageQueue=new Set;debouncedStorageKeys;debouncedFlush;constructor(t,e,r){this.config=t,this.namespace=e,this.logger=r,this.localStorageScheduler=new R.b(t.localStorageWriteDelay,t.localStorageWriteMaxDelay),this.debouncedFlush=this.localStorageScheduler.schedule(this.flushLocalStorageQueue.bind(this)),this.debouncedStorageKeys=new Set(t.localStorageDebouncedKeys),this.localStorageScheduler.scheduleForPageUnload(this.flushLocalStorageQueue.bind(this)),this.permutiveData=this.buildData()}reset(){this.permutiveData={}}getDataSize(){return this.permutiveDataSize}getData(t){return this.permutiveData[t]}setData(t,e){this.permutiveData[t]=e,this.requestWrite(t)}deleteKey(t){delete this.permutiveData[t],this.requestWrite(t)}requestWrite(t){this.debouncedStorageKeys.has(t)?(this.localStorageQueue.add(t),this.debouncedFlush()):this.writeData(t)}flushLocalStorageQueue(){for(let t of this.localStorageQueue)this.writeData(t);this.localStorageQueue.clear()}buildData(){return{...this.getDataChunk("misc"),...this.getDataChunk("queries")}}getDataChunk(t){const e=this.namespace.getNamespacedStorageKey(this.chunkKeyToStorageKey(t)),r=window.localStorage.getItem(e),n=null===r?null:(0,f.A)(r);return r&&n?(this.permutiveDataSize+=2*r.length,n):{}}chunkKeyToStorageKey(t){switch(t){case"queries":return this.config.permutiveDataQueriesKey;case"misc":return this.config.permutiveDataMiscKey;default:throw new Error(`Unhandled chunk key "${t}"`)}}writeData(t){this.logger.debug(`Data Store: Writing ${t} to localStorage`);const[e,r]=this.dataKeyToChunkInfo(t);return n.Y3((()=>window.localStorage.setItem(this.namespace.getNamespacedStorageKey(e),JSON.stringify(r))),(e=>{const r=(0,p.w)(e);return this.logError(`Failed to set ${t}. Got ${r}`),r}))}dataKeyToChunkInfo(t){const e=t=>(0,C.eu)(this.permutiveData,t);switch(t){case"internal_query_states":case"external_query_states":case"event-source-id":return[this.chunkKeyToStorageKey("queries"),e(M)];case k.TWITTER_PIXEL_LS_KEY:case"identities":case"amp_ready":case"metricsEnabled":case"addon:tradedesk":case"addon:tracking_pixel":case"addon:eyeota_pixel":case"addon:pinterest_pixel":case"addon:facebook_pixel_v2":case"addon:tiktok_pixel":case"addon:appnexus":case"addon:ddp":case"addon:gigya":case"addon:neustar_fabrick":case"pubmatic":case"lotame":return[this.chunkKeyToStorageKey("misc"),e(A)];default:throw new Error(`Unhandled data key "${t}"`)}}logError(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.error(this.prefix,...e)}}const M=["internal_query_states","external_query_states","event-source-id"],A=[k.TWITTER_PIXEL_LS_KEY,"identities","amp_ready","metricsEnabled","addon:tradedesk","addon:tracking_pixel","addon:eyeota_pixel","addon:pinterest_pixel","addon:facebook_pixel_v2","addon:tiktok_pixel","addon:appnexus","addon:ddp","addon:gigya","addon:neustar_fabrick","pubmatic","lotame"],G=t=>{const{logger:e,consentTracking:r}=t,i=t=>(e.debug(`Data Store: Failed to write ${t} as consent is revoked`),n.F2(void 0));return t=>class extends t{writeData=(0,l.v)(super.writeData.bind(this),i,r.isRevoked)}};class O{config;constructor(t){this.config=t}getNamespacedStorageKey(t){return`${this.config.stateNamespace}${t}`}}var U=r(5460);class q{config;cookies;externalData;ref;isNewlyGenerated;setState;constructor(t,e,r,n){this.config=t,this.cookies=e,this.externalData=r;const[a,s]=U.Ue(this.getOrGenerateUserId());this.ref=(0,i.zG)(a,U.UI((t=>t.userId))),this.isNewlyGenerated=(0,i.zG)(a,U.UI((t=>t.isNewlyGenerated))),this.setState=s,(0,i.zG)(U.vP(this.ref,n),U.YP((t=>{let[e,r]=t;r?(this.cookies.setCookie(this.config.cookieName,e),this.externalData.setExternalData(this.config.cookieName,e)):(this.cookies.deleteCookie(this.config.cookieName),this.externalData.removeExternalData(this.config.cookieName))})))}isEqual(t){return this.ref.current===t}get(){return this.ref.current}set(t){this.setState({userId:t,isNewlyGenerated:!1})}reset(){this.setState({userId:(0,C.k$)(),isNewlyGenerated:!0})}getOrGenerateUserId(){return(0,i.zG)(this.getUserIdFromCookie(),o.wp((()=>this.getUserIdFromLocalStorage())),o.UI((t=>({userId:t,isNewlyGenerated:!1}))),o.fS((()=>({userId:(0,C.k$)(),isNewlyGenerated:!0}))))}getUserIdFromCookie(){return this.getUserIdFromStorageIfValid("cookie")}getUserIdFromLocalStorage(){return this.getUserIdFromStorageIfValid("localStorage")}getUserIdFromStorageIfValid(t){const e=o.DT(C.Gz);return(0,i.zG)("cookie"===t?this.cookies.getCookie(this.config.cookieName):this.externalData.getExternalData(this.config.cookieName),o.ij,o.tS(e))}}class x{config;PATH_JOINER_Q="?";PATH_JOINER_A="&";constructor(t){this.config=t}getBaseUrl(){return`${this.config.apiProtocol}://${this.config.apiHost}`}getEndpointUrl(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return this.getUrl("base",t,e,r)}getSdkErrorsUrl(t,e){return this.getUrl("sdk-errors",t,e,[])}getAdvertiserEndpointUrl(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return this.getUrl("adv",t,e,r)}getClassificationModelsEndpointUrl(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return this.getUrl("clm",t,e,r)}getAudienceMatchingEndpointUrl(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];const i=`${t}/${r}/audiences`;return this.getUrl("audience-matching",i,e,n)}getCCSCohortMembershipEndpointUrl(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return this.getUrl("ccs",t,e,r)}makeAuthenticatedUrl(t){return this.makeUrlWithQueryParams(t,[["k",this.config.apiKey]])}getUrlPrefix(t){switch(t){case"base":return"";case"adv":return"/adv";case"sdk-errors":return"/sdk-errors";case"clm":return"/clm";case"audience-matching":return"/audience-matching";case"ccs":return"/ccs"}}getUrl(t,e,r,n){const i=this.getUrlPrefix(t),a=(0,o.g_)((()=>""),(t=>`/${t}`))(r),s=`${this.getBaseUrl()}${i}${a}${e}`;return this.makeUrlWithQueryParams(s,n.concat([["k",this.config.apiKey]]))}makeUrlWithQueryParams(t,e){const r=e.map((t=>{let[e,r]=t;return`${e}=${r}`})).join(this.PATH_JOINER_A),n=t.includes(this.PATH_JOINER_Q)?this.PATH_JOINER_A:this.PATH_JOINER_Q;return`${t}${n}${r}`}}const z=`permutive.${self.document?"main":"worker"}.`;class L{config;shouldUsePerformanceMark=!1;constructor(t){var e;this.config=t,this.shouldUsePerformanceMark=((null===(e=self.performance)||void 0===e?void 0:e.mark)&&this.config.tracingEnabled)??!1}startSpan(t){const e=this.generateSpan(t);return e.start(),{spanId:e.spanId,finish:e.finish}}measureSinceInit(t){const e=this.generateSpan(`${t}_since_init`);return e.start({startTime:v.NC}),{spanId:e.spanId,finish:e.finish}}traceTask(t){return e=>async()=>{const r=this.startSpan(t),n=await e();return r.finish(),n}}measureBetween(t,e,r){const n=this.generateSpan(t);n.start({startTime:e}),n.finish({startTime:r})}generateSpan(t){if(!this.shouldUsePerformanceMark)return{spanId:null,start:()=>{},finish:()=>{}};const{spanName:e,startMarkerName:r,endMarkerName:n}=L.generateUniqueMarkerNames(t);return{spanId:r,start:t=>{var e;return null===(e=self.performance)||void 0===e?void 0:e.mark(r,t)},finish:t=>{var i,a,s;null===(i=self.performance)||void 0===i||i.mark(n,{startTime:(null==t?void 0:t.startTime)??performance.now()}),null===(a=self.performance)||void 0===a||null===(s=a.measure)||void 0===s||s.call(a,e,r,n)}}}static generateUniqueMarkerNames(t){const e=`${z}${t}`,r=`${e}${L.generateId()}`;return{spanName:e,startMarkerName:`${r}_start`,endMarkerName:`${r}_end`}}static generateId(){return"_"+Math.random().toString(36).substr(2,9)}}var N=r(6851),B=r(1228),F=r(366),W=r(9215),H=r(1954),K=r(4564);const Y=t=>{const{partialTagWithKey:e}=t,r=e.key;var a;window[r].consent=(a=t,(0,i.ls)(a.consentModule.consentValidation,o.DT(Boolean),o.UI((0,W.initialiseWebSDK)(a)),i.Q1));const c=(0,o.EQ)((()=>{return e={consentDatabase:t.consentModule.consentDatabase,consentRequired:t.tag.config.consentRequired},(0,i.zG)((0,i.a9)(e.consentDatabase.get(H.L)),(0,s.UI)((t=>(0,K.J)(e.consentRequired,t).isValid)));var e}),s.of);return(0,i.zG)((0,i.zG)((t=>{let{consentModule:e,tag:r}=t;const n=(0,F.Ew)((function(t){return"consent"===t.functionName}))(r.q);return(0,o.UI)((t=>e.consentValidation(t.arguments[0])))(n)})(t),c),(0,s.UI)((t=>t?(0,n.F2)(!0):(0,n.t$)("No consent to run on the page"))))},V=t=>(0,i.zG)((t=>"function"==typeof t.Map?(0,n.F2)(new t.Map([["a",1]])):(0,n.t$)("Maps not supported"))(t),n.tS((t=>1===t.size?(0,n.F2)(null):(0,n.t$)("Iterable Maps not supported")))),Q=t=>(0,i.zG)((t=>"function"==typeof t.Set?(0,n.F2)(new t.Set([1,2])):(0,n.t$)("Sets not supported"))(t),n.tS((t=>2===t.size?(0,n.F2)(null):(0,n.t$)("Iterable Sets not supported")))),$=t=>(0,i.zG)((0,E.gz)(n.G5)(V(t),Q(t),(t=>t.Worker&&t.Blob?(0,n.F2)(null):(0,n.t$)("WebWorkers not supported"))(t)),(t=>(0,n.UI)(i.Q1)(t)));const j=()=>{const t=(0,r(3092).Z)(),e=(t=>{const e=[],r=[],n=()=>{for(;e.length>0&&r.length>0;)r.shift()()},i=t=>new Promise((e=>{r.push((()=>e(t()))),(0,v.HJ)(n)}));return t.addEventListener("message",(0,v.GL)((t=>{null!==t.data&&(e.push(t.data),(0,v.HJ)(n))}))),{next:()=>i((()=>e.shift())),read:()=>i((()=>e.splice(0)))}})(t);return t.postMessage(null),n=>function(t){let{worker:e,trace:n,metrics:a,...c}=t;return e.send({...c,globals:self._____workerGlobals,initialTimestampSecs:(0,i.zG)(o.lo(!1),o.UI((()=>Math.floor(Date.now()/1e3)))),metricsEnabled:a.isEnabled(),timeOriginMainContext:T()}),(0,i.zG)((0,v.SF)((()=>Promise.resolve().then(r.bind(r,7592)))),n.traceTask("import-master-low-priority"),s.UI((t=>r=>t.startMaster({...r,metrics:a,trace:n,worker:e}))))}({...n,worker:{...e,send:e=>t.postMessage(e),stop:()=>t.terminate()}})};var X=r(9134);class J{db;options;constructor(t,e){this.db=t,this.options=e}getSessionId(){return this.options.session_id}sessionHasChanged(){return this.options.hasChanged}static decodeSessionData(t){return t&&"object"==typeof t&&t.hasOwnProperty("session_id")&&t.hasOwnProperty("last_updated")?{...t,last_updated:new Date(t.last_updated)}:null}reset(){return this.db.delete(this.options.session_data_key)}async persistSessionData(t){const e=t.last_updated.toISOString();await this.db.put({...t,last_updated:e},this.options.session_data_key)}static generateNewSession(t){return{session_id:(0,C.k$)(),last_updated:t}}static hasExpired(t,e,r){if(isNaN(e.getTime()))return!0;return t>new Date(e.getTime()+1e3*r)}static async initialise(t,e,r){const n={timeout_seconds:1800,session_data_key:"permutive-session",hasChanged:!1,logger:r};t.deleteCookie(n.session_data_key);const a=new Date,s=await e.get(n.session_data_key).catch(i.gn),o=J.decodeSessionData(s),c=null===o||J.hasExpired(a,o.last_updated,n.timeout_seconds)?{...J.generateNewSession(a),hasChanged:!0}:{...o,last_updated:a,hasChanged:!1},u=new J(e,(0,C.PM)(n,c));return await u.persistSessionData(c),u}}var Z=r(6688);const tt=t=>(0,i.zG)(a.Do,(0,i.ls)(a.Qt("support",a.Uo($(self))),a.Qt("partialTagWithKey",a.Uo((t=>{var e,r;const a="a55a84b3-9632-4869-b625-3d8ef43ed18d",s=void 0!==(null===(e=t[a])||void 0===e?void 0:e.q)&&void 0!==(null===(r=t[a])||void 0===r?void 0:r.config)?a:"permutive";return(0,i.zG)(t[s],(0,n.ij)("Can't find permutive tag on the page"),(0,n.UI)((t=>({tag:t,key:s}))))})(window))),a.UI((t=>{const e=t.partialTagWithKey.key;return window[e].sdkVersion="v20.23.0",t})),a.Qt("configFromQueryParams",a.Uo((0,N.B9)())),a.Hr("tag",(t=>((t,e)=>{let{tag:r,key:n}=t;return{...r,config:(0,N.ti)({...r.config,windowKey:n},e)}})(t.partialTagWithKey,t.configFromQueryParams))),a.UI((t=>{{const r=t.partialTagWithKey.key,n=window[r];e=n,window.googletag=window.googletag||{cmd:[]},window.googletag.cmd.push((()=>{const t=googletag.pubads(),r=()=>{e.track("AdRequest",{ad_server_id:"dfp",cohorts:t.getTargeting("permutive")})},n=t.getSlots().filter((t=>t.getResponseInformation())).length;for(let t=0;t<n;t++)r();t.addEventListener("slotRequested",r)}))}var e;return t})),a.Hr("trace",(t=>{let{tag:e}=t;return new L(e.config)})),a.Hr("namespace",(t=>{let{tag:e}=t;return new O(e.config)})),a.Hr("logger",(t=>{let{tag:e}=t;return function(t){var e;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.RP;return t.loggingEnabled&&void 0!==(null===(e=self.console)||void 0===e?void 0:e.log)?new h(r):new _}(e.config)}))),a.Hr("urls",(t=>{let{tag:e}=t;return new x(e.config)})),a.Hr("messages",(t=>{let{logger:e}=t;return new S(e)})),a.Hr("worker",(()=>j())),a.ak("consentModule",(t=>(0,i.zG)((()=>(0,B.NY)({...t,consentRequired:t.tag.config.consentRequired})),a.Vn((t=>t.message))))),a.Hr("cookieStore",(t=>{let{consentModule:e,logger:r,namespace:n,tag:a}=t;return((t,e,r,n)=>new((0,i.zG)(u,d({consentTracking:n,logger:r})))(t,e,r))(n,a.config,r,e.consentTracking)})),a.Hr("externalData",(t=>{let{consentModule:e,logger:r,namespace:n}=t;return((t,e,r)=>new((0,i.zG)(m,g({consentTracking:r,logger:e})))(t))(n,r,e.consentTracking)})),a.Hr("userId",(t=>{let{cookieStore:e,consentModule:r,externalData:n,tag:i}=t;return new q(i.config,e,n,r.consentTracking.consentRef)})),a.Hr("permutiveData",(t=>{let{tag:e,namespace:r,logger:n,consentModule:a}=t;return((t,e,r,n)=>new((0,i.zG)(D,G({consentTracking:n,logger:r})))(t,e,r))(e.config,r,n,a.consentTracking)})),a.Hr("metrics",(e=>{let{tag:r,logger:n,permutiveData:i}=e;return function(t,e,r,n,i){const a=n.getData("metricsEnabled")??(()=>{const t=Math.random()<=r.metricsSamplingPercentage/100;return n.setData("metricsEnabled",t),t})()?new w(t,e,i):new I;return a.track({name:"sdk_initialisation_start_time_seconds",value:t/1e3,labels:{}}),a}(t.contextsInitTimestampPerformance,T(),r.config,i,n)})),a.Hr("pageviewState",(t=>{let{tag:e}=t;return(t=>{const e={viewId:(0,i.zG)(t.viewId,o.DT((t=>"string"==typeof t&&(0,C.Gz)(t))),o.fS(C.k$)),watsonEnabled:t.watson.enabled};return(0,i.zG)(U.Ue(e),(t=>{let[r,n]=t;return{ref:r,setState:(0,i.ls)((t=>t(r.current,e)),n)}}))})(e.config)})),(0,i.ls)(a.Hr("localStorage",(t=>{let{logger:e,namespace:r,consentModule:n}=t;return(0,X.E)(r,e,n.consentTracking.consentRef)})),a.ak("sessionManager",(t=>{let{cookieStore:e,localStorage:r,logger:n}=t;return a.Y3((()=>J.initialise(e,r,n)),(t=>`Failed to initialise session manager: ${t.message}`))})),a.Hr("core",(e=>{let{consentModule:r,metrics:n,pageviewState:a,permutiveData:s,sessionManager:c,trace:u,tag:l,userId:d,worker:p}=e;const{eventSourceId:f,isFirstPageview:m}=(0,i.zG)(o.ij(s.getData("event-source-id")),o.hX(C.Gz),o.UI((t=>({eventSourceId:t,isFirstPageview:!1}))),o.fS((()=>({eventSourceId:(0,C.k$)(),isFirstPageview:!0})))),g=r.consentTracking.consentRef;if(m)if(g.current)s.setData("event-source-id",f);else{let t=!1;g.onChange((()=>{t||(t=!0,s.setData("event-source-id",f))}))}return p({consent:g.current,eventSourceId:f,isFirstPageview:m,isSecureContext:(v=l.config,"development"===v.environment?self.isSecureContext:"https:"===self.location.protocol),metrics:n,permutiveConfig:l.config,organizationId:"a55a84b3-9632-4869-b625-3d8ef43ed18d",pageviewState:a.ref.current,sdkInitTimestampPerformance:t.contextsInitTimestampPerformance,sdkInitTimestampDate:t.contextsInitTimestamp,sessionId:c.getSessionId(),trace:u,trackPageviewComplete:!0,userId:d.get(),userIdIsNewlyGenerated:d.isNewlyGenerated.current,webClient:(0,Z.k)()});var v})),a.ak("consent",(t=>Y(t))),a.tS((t=>(0,i.zG)((0,v.SF)((()=>Promise.resolve().then(r.bind(r,9215)))),t.trace.traceTask("permutive.main.import_permutiveWebLowPriority"),s.tS((e=>e.initialiseWebSDK(t)))))))),et=t=>(t=>{t().then((0,n.g_)((t=>console.warn(`Permutive was not initialized. ${t}`)),i.Q1))})(tt(t))},7387:(t,e,r)=>{r.d(e,{Bf:()=>_,G6:()=>w,Gz:()=>S,HP:()=>D,Kn:()=>l,Or:()=>T,PM:()=>p,PQ:()=>I,Z_:()=>R,a4:()=>m,aT:()=>h,b2:()=>f,bw:()=>A,cO:()=>P,eu:()=>g,k$:()=>b,lW:()=>C,lo:()=>G,m8:()=>y,qh:()=>d,rH:()=>U,rO:()=>M,vg:()=>k});var n=r(366),i=r(2275),a=r(9727),s=r(5586),o=r(8491),c=r(7029),u=r(3812);const l=t=>"object"==typeof t&&!Array.isArray(t)&&null!==t,d=t=>Object.entries(t);function p(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.reduce(((t,e)=>({...t,...e})),{})}o.ff(c.xb);function f(){let t,e;return{promise:new Promise(((r,n)=>{t=r,e=n})),reject:e,resolve:t}}function m(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n={waitTimeInMs:50,exponentialBackOff:!1,maxAttempts:20},{waitTimeInMs:s,exponentialBackOff:o,maxAttempts:c}=p(n,r);let l=0;const d=r=>new Promise((n=>Promise.resolve(e()).then((e=>e?Promise.resolve(t()).then((t=>n((0,a.G)(t)))):(0,i.zG)(l++,(t=>t<c?(0,u.HJ)((()=>n(d(r*(o?2:1)))),r):n(a.YP)))))));return d(s)}function g(t,e){const r=Object.create(null);for(const n of e)r[n]=t[n];return r}let v=[];function h(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:navigator.userAgent;if(v.unshift(t),v.length>1)return;const r=["beforeunload","pagehide"],n=r.concat(["visibilitychange"]),i=t=>{if(!a&&t){a=!0;const t=v;v=[],t.forEach((t=>{try{t()}catch{}}))}};let a=!1;n.forEach((t=>{window.addEventListener(t,(()=>{const r=("visibilitychange"!==t||document.hidden)&&E(e);i(r)}))})),r.forEach((t=>{window.addEventListener(t,(()=>i(!0)))}))}function _(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e={capture:!0,...e};const r=["visibilitychange","pagehide"];r.forEach((r=>window.addEventListener(r,(()=>a.Y3((()=>{"pagehide"!==r&&"hidden"!==document.visibilityState||t()}))),{capture:e.capture})))}function b(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(t=>(t^(self.crypto||self.msCrypto).getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)))}function S(t){return 36===t.length&&/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i.test(t)}function y(){const t={},e=arguments.length;for(let r=0;r<e;r++){const[e,n]=r<0||arguments.length<=r?void 0:arguments[r];t[e]=n}return t}function E(t){return/Mobi|Android/i.test(t)}function w(t){return/^((?!chrome|android).)*safari/i.test(t)}function I(t,e){return new Promise((r=>{(0,u.HJ)((()=>{Promise.resolve(t()).then(r)}),(null==e?void 0:e.timeout)??0)}))}function P(t,e){if(t===e)return!0;if(null==t||null==e)return!1;if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r])return!1;return!0}const T=()=>({equals:(t,e)=>Object.is(t,e)});function C(t){return(0,s.Zt)(((e,r)=>{const n=t.indexOf(e),i=t.indexOf(r);switch(!0){case-1===n&&-1===i:return 0;case-1!==n&&-1===i:return-1;case-1===n&&-1!==i:return 1;default:return n<=i?-1:1}}))}function R(t,e,r){return function(){try{return r(...arguments)}catch(r){t.reportError(r,e.get())}}}function k(t){return e=>null!=e&&t in e?e[t]:void 0}function D(t){let e=a.YP;const r=(0,a.fS)((()=>{const r=t();return e=(0,a.G)(r),r}));return()=>r(e)}const M=t=>e=>{const r={...e};for(const i in t){var n;r[i]=null===(n=t[i])||void 0===n?void 0:n.call(t,e[i])}return r};function A(t){return e=>(t(e),e)}const G=t=>e=>{const r=t.slice(0,-1),s=t.slice(-1)[0];return(0,i.zG)(r,n.f2((t=>{let[r,n]=t;return(0,i.zG)(e,a.DT(r),a.UI(n))})),a.fS((()=>s(e))))},O=t=>e=>{if("number"==typeof e)return e;if("string"==typeof e){const r=t(e);return Number.isNaN(r)?void 0:r}},U=O(parseInt);O(parseFloat)},731:(t,e,r)=>{r.d(e,{b:()=>a});var n=r(7387),i=r(3812);class a{timeoutDurationInMilliseconds;maxTimeOutDurationInMilliseconds;constructor(t,e){this.timeoutDurationInMilliseconds=t,this.maxTimeOutDurationInMilliseconds=e}schedule(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.timeoutDurationInMilliseconds,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.maxTimeOutDurationInMilliseconds;return this.debounce(t,e,r)}scheduleAccumulated(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.timeoutDurationInMilliseconds,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.maxTimeOutDurationInMilliseconds;return this.debounce(t,r,n,e)}scheduleForPageUnload(t){return(0,n.aT)(t)}debounce(t,e,r,a){let s,o,c,u=[];return l=>{a&&(c=a.concat(c??a.empty,l));const d=(0,n.b2)();u.push(d);var p;return null===(p=s)||void 0===p||p(),s=(0,i.HJ)((()=>{var e;null===(e=o)||void 0===e||e(),o=void 0;const r=t(c||l);u.forEach((t=>t.resolve(r))),c=null==a?void 0:a.empty,u=[]}),e),o||(o=(0,i.HJ)((()=>{var e;null===(e=s)||void 0===e||e(),o=void 0;const r=t(c||l);u.forEach((t=>t.resolve(r))),c=null==a?void 0:a.empty,u=[]}),r)),d.promise}}}},5365:(t,e,r)=>{r.d(e,{i:()=>i});var n=r(3812);class i{messages;queue=[];nextNotify=null;constructor(t){this.messages=t,t.on("permutive:taskQueue:update",(()=>{this.execute()}))}add(t){this.queue.push(t),this.notify()}notify(){const t=()=>{this.messages.emit("permutive:taskQueue:update")},e=(new Date).getTime();null===this.nextNotify||this.nextNotify<e-50?(this.nextNotify=e,t()):this.nextNotify<=e&&(this.nextNotify=e+50,(0,n.HJ)(t,50))}execute(){if(0===this.queue.length)return;let t=!1,e=!1,r=0;for(let n=0;n<this.queue.length;n++){const i=this.queue[n];if(i.complete)r+=1;else if(i.started)e=!0,t=t||i.blocks();else{if(i.waits()&&e)break;t||(e=!0,t=t||i.blocks(),i.execute((()=>{this.notify()})))}}this.queue.splice(0,r)}size(){return this.queue.length}}},4513:(t,e,r)=>{r.d(e,{_Y:()=>s,bk:()=>a,zM:()=>i});var n=r(2275);const i=()=>{var t,e;const r=null===(t=window.location.href.split("?")[1])||void 0===t||null===(e=t.split("#")[0])||void 0===e?void 0:e.split("&");return void 0===r?{}:r.reduce(((t,e)=>{const[r,n]=e.split("=");return{...t,[r]:n}}),{})},a=t=>{if(!t)return"";return(0,n.zG)(t,(t=>{const e=t.length-1;return"/"===t[e]?t.slice(0,e):t}))};function s(t){const e=t.match(/\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b/),r=t.match(/[a-z0-9][a-z0-9-]+\.[a-z.]{2,24}$/i),n=t.match(/localhost/);if(r&&r.length>0){const e=t.split(".").reverse();return e.length>=3&&e[1].match(/^(com|edu|gov|net|mil|org|nom|co|ac|name|info|biz)$/i)?e[2]+"."+e[1]+"."+e[0]:e[1]+"."+e[0]}return e&&(null==e?void 0:e.length)>0?e[0]:n&&(null==n?void 0:n.length)>0?"localhost":""}},9082:(t,e,r)=>{r(3636),r(7387),r(3812)},6707:(t,e,r)=>{r.d(e,{$7:()=>v,Cg:()=>f,Qd:()=>g,cs:()=>m,dN:()=>d,zi:()=>p});var n=r(1385),i=r(2275),a=r(9727),s=r(1583),o=r(936),c=r(5460),u=r(7387);const l="[PrebidJS]";function d(t){const e=(()=>{const t=["pbjs",...window._pbjsGlobals||[]];return[...new Set(t)]})();t.logger.debug(l,"Found keys",e);return o.K4((()=>(0,i.zG)(e,s.UI((0,i.ls)((t=>(t=>{const e={maxAttempts:100,waitTimeInMs:50};let r;return{windowPropertyKey:t,pbjs:(0,u.a4)((()=>r),(()=>{const e=(0,i.zG)(window,(0,u.vg)(t));return!(null==e||!e.que||"function"!=typeof(null==e?void 0:e.getEvents)||(r=e,0))}),e)}})(t)),(e=>(0,i.zG)(c.p4(e.pbjs),c.UI((r=>{const s=n.pF((r=>(r.message=`Failed to resolve key "${e.windowPropertyKey}". ${r.message}`,t.reportError(`${l} ${r.toString()}`),a.YP)));return(0,i.zG)(r,(0,u.bw)(a.UI((r=>t.logger.debug(l,`Completed check for key "${e.windowPropertyKey}"`,{result:r})))),a.UI(s),a.UI(a.UI((t=>({windowPropertyKey:e.windowPropertyKey,pbjs:t})))))})))))),(t=>c.vP(...t)),c.UI((t=>({completedChecks:t.every(a.pC),pbjsKeyPairs:t.map(a.xH)}))),c.UI((t=>{let{pbjsKeyPairs:e,completedChecks:r}=t;const n=e.filter(a.pC),[o,...c]=n;return{completedChecks:r,mainPair:o??a.YP,otherPairs:(0,i.zG)(c,s.DZ(i.yR))}})))))}const p=t=>"function"==typeof t.readConfig?t.readConfig():t.getConfig();function f(t){var e;const r=null===(e=t.meta)||void 0===e?void 0:e.advertiserDomains;if("string"==typeof r)return[r];if(Array.isArray(r)){const t=r.filter((t=>"string"==typeof t));return t.length>0?t:void 0}}const m=t=>{var e;const r=t.appnexus&&"object"==typeof t.appnexus&&"buyerMemberId"in t.appnexus&&t.appnexus.buyerMemberId,n=t.rubicon&&"object"==typeof t.rubicon&&"networkId"in t.rubicon&&t.rubicon.networkId,i=r||n||(null==t||null===(e=t.meta)||void 0===e?void 0:e.networkId);return i?`${i}`:void 0},g=t=>{const e=t=>isNaN(t)?void 0:t;try{return"number"==typeof t.cpm?e(t.cpm):(0,i.zG)(t.cpm??"",parseFloat,e)}catch{return}},v=t=>t.dealId?`${t.dealId}`:void 0},8672:(t,e,r)=>{r.d(e,{X:()=>n});const n=t=>{let e=!0;const r=[];return{addBlocker:n=>{r.push(n),t.logger.log("<blockers> added blocker "+n),t.messages.on(n,(()=>{if(e){const i=r.indexOf(n);i>=0&&(r.splice(i,1),t.logger.log("<blockers> removed blocker "+n)),0===r.length&&(e=!1,t.messages.emit("permutive:blockers:empty"),t.logger.log("<blockers> complete"))}}))}}}},1555:(t,e,r)=>{r.d(e,{X:()=>i});var n=r(5460);class i{ref;setCustomProps;constructor(){const[t,e]=n.Ue({});this.ref=t,this.setCustomProps=e}getCustomProps(){return this.ref.current}}},3194:(t,e,r)=>{r.r(e),r.d(e,{EventsCache:()=>E,RESET_HISTORICAL:()=>b});var n=r(2865),i=r(2925),a=r(1583),s=r(1385),o=r(2275),c=r(9727),u=r(1717),l=r(6316);const d=t=>({id:t.id,name:t.name,time:new Date(t.time),properties:t.properties||{},session_id:t.session_id,view_id:t.view_id}),p=t=>({id:t.id,name:t.name,time:(f(t.time)?t.time:new Date).toISOString(),properties:t.properties||{},session_id:t.session_id,view_id:t.view_id}),f=t=>isFinite(t)&&t instanceof Date;var m=r(7387),g=r(731);class v extends Error{constructor(t){super(t),this.name="StoreClosingError"}}const h="permutive-events-cache",_="permutive-events-for-page",b="historical",S="[EVENTSCACHE]",y=t=>"QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name;class E{config;logger;reportError;trace;metrics;userId;makeEventsStore;eventStore;eventsCache=this.makeEventsRepository(h);eventsForPage=this.makeEventsRepository(_);eventsTTLInMilliseconds;readiness;debouncedReportError=(()=>new g.b(5e3,5e3).schedule((t=>this.reportError(t.errorMessage,{userId:t.userId}))))();static initialise(t,e,r,n,i,a,s){return(0,o.zG)(s(),l.UI((o=>new E(t,e,r,n,i,a,s,o))))}constructor(t,e,r,n,i,a,s,l){this.config=t,this.logger=e,this.reportError=r,this.trace=n,this.metrics=i,this.userId=a,this.makeEventsStore=s,this.eventStore=l,this.eventsTTLInMilliseconds=(0,o.zG)((0,c.ij)(this.config.eventsTTLInDays),(0,c.tS)((t=>"number"==typeof t&&t>0?(0,c.G)(24*t*3600):c.YP))),this.eventsCache.events=(0,m.HP)((()=>(0,m.PQ)((0,o.zG)(u.tD((()=>this.trace.startSpan("load_event_cache"))),u.tS((t=>(0,o.zG)(this.loadFromDisk(),u.At((e=>()=>{t.finish(),this.logDebug(`Event cache loaded, #e ${e.length}`)}))))))))),this.readiness=this.eventsCache.events().then((()=>this.migratePreviousPagesEvents())),a.onChange((()=>this.reset()))}async migratePreviousPagesEvents(){const t=this.trace.startSpan("migrate_previous_for_page_events"),e=(0,u.pE)((t=>(0,l.Y3)((()=>t.flush()),n.w)));return(0,o.zG)([this.eventsForPage,this.eventsCache],e,(0,u.UI)((e=>{const r=a.bj(e);return r.length>0&&this.reportError(`Migrate previous events failed. Got:\n${r.join("\n ")}`,{userId:this.userId.current}),t.finish()})),(t=>t()))}all(){return Promise.all([this.eventsCache.events(),this.eventsForPage.events()]).then(a.xH)}async add(t,e){let{persistOnDisk:r}=e;return this.logDebug("Adding to cache",t),this.eventsForPage.events=(0,o.zG)(this.eventsForPage.events,u.UI((e=>[...e,t])),m.HP),r&&this.readiness.then((()=>this.eventsForPage.flush())),t}filterEventsByWorkspace(t){return t}pruneEventsToSizeLimit(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.config.eventsCacheLimitBytes;if(r<=0||e<=r)return this.logDebug(`Event size of ${e} less than limit of ${r}`),{events:t,sizeInBytes:e};this.logDebug("Events before pruning",{count:t.length,sizeInBytes:e,byteLimit:r});let n=1,i=[...t];for(;e>r;)i.splice(0,n),n*=2,e=2*JSON.stringify(i).length;return this.logDebug("Events after pruning",{count:i.length,sizeInBytes:e}),{events:i,sizeInBytes:e}}loadFromDisk(){const t=()=>[],e=(0,o.zG)(this.eventsTTLInMilliseconds,c.EQ((()=>o.yR),(t=>a.hX((e=>t>Date.now()-e.time.getTime())))));return(0,o.zG)(u.tD((()=>(this.logLog("Loading event cache..."),this.metrics.startTimer("sdk_load_events_cache_task_duration_seconds",{})))),u.YO("loadEventsCacheTask"),u.ak("eventsFromDisk",(()=>(0,o.zG)(a.nI([this.eventStore.get(h),this.eventStore.get(_)]),a.UI(l.LV((0,m.lo)([[t=>t instanceof v,(0,o.ls)(t,u.of)],e=>(0,o.zG)(u.tD((()=>this.reportError(`Error fetching data from store. Got ${e}`,{userId:this.userId.current}))),u.tS((()=>()=>this.reset("historical"))),u.UI(t))]),(0,o.ls)(c.fS(t),u.of))),a.vP(u.qA)))),u.At((t=>{let{eventsFromDisk:e,loadEventsCacheTask:r}=t;return()=>{this.logDebug("Read events from store:",e),this.metrics.stopTimer("sdk_load_events_cache_task_duration_seconds",r)}})),u.UI((0,o.ls)((0,m.vg)("eventsFromDisk"),a.xH,this.filterEventsByWorkspace,(t=>this.pruneEventsToSizeLimit(t,2*JSON.stringify(t).length)),(t=>(this.eventsCache.sizeInBytes=t.sizeInBytes,this.eventsCache.sizeInBytesLastSuccessfulWrite=t.sizeInBytes,t.events.length>0&&(this.metrics.track({name:"sdk_events_cache_byte_total",value:t.sizeInBytes,labels:{}}),this.metrics.track({name:"sdk_events_cache_size_total",value:t.events.length,labels:{}})),t.events)),a.UI(d),e)))}async reset(t){return(0,o.zG)(u.tD((()=>this.logDebug("Resetting Events Cache"))),u.tS((()=>this.eventStore.deleteStore())),l.tS((()=>this.makeEventsStore())),l.Zl((e=>(this.eventStore=e,t===b?i.gz(l.Ij)(this.eventsCache.reset,this.eventsForPage.flush):i.gz(l.Ij)(this.eventsCache.reset,this.eventsForPage.reset)))),l.wE((()=>()=>this.all())),l.fS((()=>u.of(w()))),(t=>t()))}getStateSizeInBytes(){return this.eventsForPage.sizeInBytes+this.eventsCache.sizeInBytes}makeEventsRepository(t){const e=(()=>{let t=Promise.resolve(s.F2((0,o.Q1)()));return e=>t=t.then(e)})(),r=t=>(0,o.zG)(u.tD((()=>this.logDebug(`Writing ${t.length} events to ${h.key}`))),u.tS((()=>this.eventStore.put(t.map(p),h.key))),l.UI(o.Q1)),i=(0,o.zG)(u.tD((()=>this.logDebug(`Deleting events for ${h.key}`))),u.tS((()=>this.eventStore.delete(h.key))),l.Vn(n.w)),a=(0,o.ls)(u.of,u.At((t=>()=>this.logError(`Events cache failed to put ${h.key}. Got ${t}`))),u.tS((0,m.lo)([[t=>y(t)&&h.retryAttempts<9,()=>(0,o.zG)(u.tD((()=>{h.retryAttempts+=1,this.logDebug(`Attempt #${h.retryAttempts} to write ${h.key} to EventsStore`)})),u.tS((()=>v)),u.tS((()=>d)))],[t=>y(t),t=>(0,o.zG)(u.tD((()=>this.logDebug(`Attempted ${h.retryAttempts} rewrite attempts and reached limit of 9 max writes.`,"Reporting QuotaExceededError to API"))),u.tS((()=>()=>this.debouncedReportError({errorMessage:`Events cache failed to put ${h.key}. Got ${t}`,userId:this.userId.current}))),u.tS((()=>l.t$(t))))],l.t$]))),c=t=>l.tD((()=>{this.logDebug(`Successfully wrote events for ${h.key} after ${h.retryAttempts} attempts`),h.retryAttempts=0,h.sizeInBytes=2*JSON.stringify(t).length,h.sizeInBytesLastSuccessfulWrite=h.sizeInBytes})),d=(0,o.zG)((()=>h.events()),u.tS((t=>(0,o.zG)(r(t),u.mU(s.EQ(a,(()=>c(t)))))))),f=(t,e)=>(0,o.zG)(t.events,u.UI((r=>{const n=2*JSON.stringify(r).length,i=this.pruneEventsToSizeLimit(r,n,e);return t.events=u.of(i.events),t.sizeInBytes=i.sizeInBytes,e-t.sizeInBytes}))),g=(t,e)=>{let[r,...n]=t;return r&&0!==e?(0,o.zG)(f(r,e),u.tS((t=>(this.logDebug(`${t} left after pruning ${r.key}`),g(n,t))))):u.of((0,o.Q1)())},v=(0,o.zG)(l.tD((()=>this.eventsForPage.sizeInBytes-this.eventsForPage.sizeInBytesLastSuccessfulWrite)),l.fX(s.DT((t=>t>0),(t=>new Error(`${this.eventsForPage.key} failed to write the same or smaller events cache of size ${t}`)))),l.tS((t=>{const e=1.2*t,r=[this.eventsCache,this.eventsForPage];return this.logDebug(`Pruning ${e} bytes from`,r),(0,o.zG)(g(r,e),l.fF)}))),h={key:t,events:u.of([]),sizeInBytes:0,sizeInBytesLastSuccessfulWrite:0,retryAttempts:0,flush:()=>(0,o.zG)(u.tD((()=>this.trace.startSpan(`write_${h.key}`))),u.tS((t=>(0,o.zG)(d,u.At((()=>()=>t.finish()))))),e),reset:()=>(0,o.zG)(u.tD((()=>{h.events=u.of([]),h.sizeInBytes=0,h.sizeInBytesLastSuccessfulWrite=0})),u.tS((()=>i)),e)};return h}logDebug(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.debug(S,...e)}logWarn(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.warn(S,...e)}logError(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.error(S,...e)}logLog(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.log(S,...e)}}const w=()=>[]},8949:(t,e,r)=>{r.r(e),r.d(e,{DBStore:()=>s});var n=r(2865),i=r(9727),a=r(6316);class s{db;constructor(t){this.db=Promise.resolve(t)}put(t,e){return(0,a.Y3)((()=>this.db.then((r=>r.put(t,e)))),n.w)}get(t){return(0,a.Y3)((()=>this.db.then((e=>e.get(t))).then(i.ij)),n.w)}delete(t){return(0,a.Y3)((()=>this.db.then((e=>e.delete(t)))),(t=>String(t)))}deleteStore(){return(0,a.Y3)((()=>this.db.then((t=>t.deleteStore()))),(t=>String(t)))}}},8:(t,e,r)=>{r(7387)},1948:(t,e,r)=>{r(3812)},2831:(t,e,r)=>{r.r(e),r.d(e,{eventCacheService:()=>u,eventNameBlacklist:()=>l});var n=r(5460),i=r(936),a=r(2444),s=r(2275),o=r(1583),c=r(7387);const u=t=>i.K4((()=>({newEvents:(0,s.zG)(t.newEvents,n.UI(a.UI((0,c.bw)(o.UI((e=>{let[,r]=e;l.has(r.name)||t.eventsCache.add(r,{persistOnDisk:!0})})))))),priorEvents:()=>t.eventsCache.all()}))),l=new Set(["AdRequest","PageviewEngagement","PrebidAuctions","Reaction","SegmentEntry","SegmentExit","SlotRendered","ThirdPartySegments","VideoEngagement"])},1001:(t,e,r)=>{r.r(e),r.d(e,{TWITTER_PIXEL_LS_KEY:()=>p,TwitterAddon:()=>h,load:()=>v,realService:()=>g,stubService:()=>m,twitterPixelService:()=>f});var n=r(9727),i=r(1583),a=r(6627),s=r(2275),o=r(3636),c=r(936),u=r(5460),l=r(7387);const d="twitter_pixel",p="addon:twitter_pixel",f=g;function m(t){return c.K4((()=>{}))}function g(t){const{activationManager:e,addonsLoaded:r,consent:o,initdAddons:f,queryLanguageCohorts:m,permutiveData:g,metrics:v}=t;return(0,s.zG)(u.vP({addonsLoaded:r,consent:o,addonInitd:u.UI((t=>t.has(d)),f)}),c.KD([[t=>{let{consent:e,addonsLoaded:r,addonInitd:n}=t;return!e||r&&!n},c.K4((()=>{}))],[t=>{let{addonsLoaded:e,addonInitd:r}=t;return!e&&!r},c.dQ((t=>{let{previousState:e}=t;return{value:void 0,state:u.a9(e)}}))],c.dQ((t=>{let{previousState:r}=t;const o=t=>{(new Image).src=`https://analytics.twitter.com/i/adsct?txn_id=${t.getConfig().audience_tag_id}&p_id=Twitter`,t.trackImpression()},c=e.getActivations(d),f=(0,s.zG)(c,(t=>t.map((t=>t.getSegmentCode()))),(t=>new Set(t)));return(0,s.zG)(m,u.UI(i.hX((t=>f.has(t)))),u.D8(i.Eh(a.Eq)),u.Rp(_(r)?r:(0,s.zG)(g.getData(p),n.ij,n.UI((0,s.ls)(Object.keys,i.UI(Number),(0,l.bw)((()=>v.track({name:"sdk_legacy_addon_data_migrate_count",value:1,labels:{flag:"twitter_pixel"}}))))),n.fS((()=>[]))),((t,e)=>(0,s.zG)(e,i.hX((e=>!t.includes(e))),(0,l.bw)((0,s.ls)((t=>c.filter((e=>t.includes(e.getSegmentCode())))),(t=>t.forEach(o)))),(e=>[...t,...e])))),(t=>({value:void 0,state:t})))}))]),c.UI(s.Q1))}const v=t=>{(0,o.Hn)(d)("auto_init",!1)&&t.q.push({functionName:"addon",arguments:[d,{}]})};class h{constructor(t){}}const _=t=>Array.isArray(t)&&(0===t.length||t.some((t=>"number"==typeof t)))},2925:(t,e,r)=>{r.d(e,{Qt:()=>s,Yt:()=>d,ap:()=>a,gz:()=>l});var n=r(2275),i=r(7963);function a(t,e){return function(r){return function(n){return t.ap(t.map(n,(function(t){return function(r){return e.ap(t,r)}})),r)}}}function s(t){return function(e,r){return function(n){return t.ap(t.map(n,(function(t){return function(r){var n;return Object.assign({},t,((n={})[e]=r,n))}})),r)}}}function o(t,e,r){return function(n){for(var i=Array(r.length+1),a=0;a<r.length;a++)i[a]=r[a];return i[r.length]=n,0===e?t.apply(null,i):o(t,e-1,i)}}var c={1:function(t){return[t]},2:function(t){return function(e){return[t,e]}},3:function(t){return function(e){return function(r){return[t,e,r]}}},4:function(t){return function(e){return function(r){return function(n){return[t,e,r,n]}}}},5:function(t){return function(e){return function(r){return function(n){return function(i){return[t,e,r,n,i]}}}}}};function u(t){return i.e$.call(c,t)||(c[t]=o(n.bc,t-1,[])),c[t]}function l(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var n=e.length,i=u(n),a=t.map(e[0],i),s=1;s<n;s++)a=t.ap(a,e[s]);return a}}function d(t){return function(e){for(var r=Object.keys(e),n=r.length,i=function(t){var e=t.length;switch(e){case 1:return function(e){var r;return(r={})[t[0]]=e,r};case 2:return function(e){return function(r){var n;return(n={})[t[0]]=e,n[t[1]]=r,n}};case 3:return function(e){return function(r){return function(n){var i;return(i={})[t[0]]=e,i[t[1]]=r,i[t[2]]=n,i}}};case 4:return function(e){return function(r){return function(n){return function(i){var a;return(a={})[t[0]]=e,a[t[1]]=r,a[t[2]]=n,a[t[3]]=i,a}}}};case 5:return function(e){return function(r){return function(n){return function(i){return function(a){var s;return(s={})[t[0]]=e,s[t[1]]=r,s[t[2]]=n,s[t[3]]=i,s[t[4]]=a,s}}}}};default:return o((function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];for(var i={},a=0;a<e;a++)i[t[a]]=r[a];return i}),e-1,[])}}(r),a=t.map(e[r[0]],i),s=1;s<n;s++)a=t.ap(a,e[r[s]]);return a}}},366:(t,e,r)=>{r.d(e,{oA:()=>S,t9:()=>f,DZ:()=>b,Ew:()=>u,f2:()=>l,xH:()=>h,jV:()=>m,uK:()=>y,tV:()=>w,u4:()=>P,DY:()=>p});var n=r(2275),i=(r(7560),r(7963)),a=r(817);i.r1;var s=function(t){return[t]};a.xP,a.Lx,a.u4,a.OE,a.nq,a.iw,a.YM,a.ZN,a.Eh,i.F4,a.YM,a.Z$,a.VV,a.Fp,a.j0;a.ur;var o=r(1583),c=r(4219);r(6511);o.P5,o.YM,o.Z$;o.cx;function u(t){return o.Ew(t)}var l=o.f2;o.JO,o.qr;var d=function(t){return t.slice()},p=function(t){return function(e){return e.length<=1?d(e):e.slice().sort(t.compare)}};var f=o.t9;function m(t){var e=f(t);return function(r,n){if(void 0===n){var i=m(t);return function(t){return i(t,r)}}return r.filter((function(t){return e(t,n)}))}}o.kp,o.Eq;var g=s,v=function(t){return function(e){return(0,n.zG)(e,function(t){return function(e){for(var r=[],n=0;n<e.length;n++)r.push.apply(r,t(n,e[n]));return r}}((function(e,r){return t(r)})))}},h=v(n.yR),_=function(t){return function(e){for(var r=[],n=0;n<e.length;n++){var a=t(n,e[n]);i.pC(a)&&r.push(a.value)}return r}},b=function(t){return _((function(e,r){return t(r)}))},S=b(n.yR),y=function(t){return E((function(e,r){return t(r)}))},E=function(t){return function(e){for(var r=[],n=[],i=0;i<e.length;i++){var a=e[i];t(i,a)?n.push(a):r.push(a)}return(0,c.s4)(r,n)}},w=function(t){return I((function(e,r){return t(r)}))},I=function(t){return function(e){for(var r=[],n=[],i=0;i<e.length;i++){var a=t(i,e[i]);"Left"===a._tag?r.push(a.left):n.push(a.right)}return(0,c.s4)(r,n)}},P=(o.Lx,o.xP,o.u4);o.OE,o.nq,o.iw,o.ZN,o.Eh,o.pR,o.pJ,o.oR,o.yW,o.j0,i.F4},8543:(t,e,r)=>{function n(t){return function(e){return function(r){return t.chain(r,(function(r){return t.map(e(r),(function(){return r}))}))}}}function i(t){return function(e,r){return function(n){return t.chain(n,(function(n){return t.map(r(n),(function(t){var r;return Object.assign({},n,((r={})[e]=t,r))}))}))}}}r.d(e,{a:()=>i,m:()=>n})},1385:(t,e,r)=>{r.d(e,{G5:()=>h,dO:()=>m,Pd:()=>y,ak:()=>N,tS:()=>b,Y$:()=>G,g_:()=>D,ij:()=>q,Yo:()=>P,DT:()=>I,fS:()=>A,pF:()=>M,nM:()=>T,t$:()=>o,UI:()=>f,Vn:()=>E,EQ:()=>k,vx:()=>U,F2:()=>c,LF:()=>O,KC:()=>L,i$:()=>z,Y3:()=>x});var n=r(8543),i=r(5162),a=r(2275),s=(r(7560),r(7963)),o=s.t$,c=s.F2,u=function(t,e){return(0,a.zG)(t,f(e))},l=function(t,e){return(0,a.zG)(t,v(e))},d=function(t,e){return(0,a.zG)(t,b(e))},p="Either",f=function(t){return function(e){return T(e)?e:c(t(e.right))}},m={URI:p,map:u},g=c,v=function(t){return function(e){return T(e)?e:T(t)?t:c(e.right(t.right))}},h={URI:p,map:u,ap:l},_=function(t){return function(e){return T(e)?e:t(e.right)}},b=_,S={URI:p,map:u,ap:l,chain:d},y=function(t,e){return function(r){return T(r)?o(t(r.left)):c(e(r.right))}},E=function(t){return function(e){return T(e)?o(t(e.left)):e}},w={URI:p,fromEither:a.yR},I=(0,i.DT)(w),P=(0,i.Yo)(w),T=s.nM,C=(s.tO,function(t,e){return function(r){return T(r)?t(r.left):e(r.right)}}),R=C,k=C,D=k,M=function(t){return function(e){return T(e)?t(e.left):e.right}},A=M,G=(0,i.Y$)(w,S),O=function(t){return T(t)?c(t.left):o(t.right)},U=function(t){return function(e){return T(e)?t(e.left):e}},q=function(t){return function(e){return null==e?o(t):c(e)}},x=function(t,e){try{return c(t())}catch(t){return o(e(t))}},z=R(a.yR,a.yR);function L(t){return t instanceof Error?t:new Error(String(t))}s.F4;var N=(0,n.a)(S);s.Xl},5191:(t,e,r)=>{r.d(e,{f7:()=>n,n_:()=>i,w4:()=>a});r(2275);var n=function(t){return{equals:function(e,r){return e===r||t(e,r)}}},i=function(t){return n((function(e,r){for(var n in t)if(!t[n].equals(e[n],r[n]))return!1;return!0}))},a={equals:function(t,e){return t===e}};a.equals},5162:(t,e,r)=>{r.d(e,{DT:()=>s,Y$:()=>u,Yo:()=>a,fX:()=>c});var n=r(2275),i=r(7963);function a(t){return function(e){return function(r){return t.fromEither(i.Wi(r)?i.t$(e()):i.F2(r.value))}}}function s(t){return function(e,r){return function(n){return t.fromEither(e(n)?i.F2(n):i.t$(r(n)))}}}function o(t){return function(e){return(0,n.ls)(e,t.fromEither)}}function c(t,e){var r=o(t);return function(t){return function(n){return e.chain(n,r(t))}}}function u(t,e){return function(r,n){return function(a){return e.chain(a,(function(e){return t.fromEither(r(e)?i.F2(e):i.t$(n(e)))}))}}}},7560:(t,e,r)=>{function n(t,e){return function(r){return function(n){return t.map(n,(function(t){return e.map(t,r)}))}}}function i(t){return function(e){return function(r){return t.map(r,(function(t){var r;return(r={})[e]=t,r}))}}}function a(t){return function(e,r){return function(n){return t.map(n,(function(t){var n;return Object.assign({},t,((n={})[e]=r(t),n))}))}}}r.d(e,{Hr:()=>a,UI:()=>n,YO:()=>i})},2444:(t,e,r)=>{r.d(e,{G5:()=>l,RD:()=>m,UI:()=>o,of:()=>c});var n=r(2275),i=(r(7560),r(7963)),a=function(t,e){return function(){return e(t())}},s=function(t,e){return function(){return t()(e())}},o=function(t){return function(e){return a(e,t)}},c=n.a9,u="IO",l={URI:u,map:a,ap:s},d=(n.yR,n.yR,i.F4,c(i.Xl)),p=function(t){var e=function(t){return function(e){return function(){for(var r=[t(0,i.YM(e))()],n=1;n<e.length;n++)r.push(t(n,e[n])());return r}}}(t);return function(t){return i.Od(t)?e(t):d}},f=function(t){return p((function(e,r){return t(r)}))},m=f(n.yR)},9727:(t,e,r)=>{r.d(e,{G5:()=>C,Ri:()=>q,xu:()=>B,dO:()=>I,wp:()=>D,tS:()=>R,mU:()=>j,hX:()=>x,DZ:()=>z,xH:()=>$,g_:()=>V,Uo:()=>F,ij:()=>X,KQ:()=>Z,DT:()=>d,Eh:()=>E,IS:()=>p,fS:()=>Q,EK:()=>f,lo:()=>A,Wi:()=>H,pC:()=>W,UI:()=>w,EQ:()=>Y,aD:()=>K,YP:()=>u,of:()=>P,RD:()=>nt,G:()=>l,FS:()=>tt,Y3:()=>J,bM:()=>M});var n=r(8543),i=r(2275),a=(r(7560),r(7963)),s=r(8491),o=r(4219);r(6511);function c(t,e){return function(r){return r?e.of(void 0):t.zero()}}var u=a.YP,l=a.G;function d(t){return function(e){return t(e)?l(e):u}}var p=function(t){return"Right"===t._tag?u:l(t.left)},f=function(t){return"Left"===t._tag?u:l(t.right)},m=function(t,e){return(0,i.zG)(t,w(e))},g=function(t,e){return(0,i.zG)(t,T(e))},v=function(t,e){return(0,i.zG)(t,R(e))},h=function(t,e){return(0,i.zG)(t,x(e))},_=function(t,e){return(0,i.zG)(t,z(e))},b=function(t,e){return(0,i.zG)(t,L(e))},S=function(t,e){return(0,i.zG)(t,N(e))},y="Option",E=function(t){return{equals:function(e,r){return e===r||(H(e)?H(r):!H(r)&&t.equals(e.value,r.value))}}},w=function(t){return function(e){return H(e)?u:l(t(e.value))}},I={URI:y,map:m},P=l,T=function(t){return function(e){return H(e)||H(t)?u:l(e.value(t.value))}},C={URI:y,map:m,ap:g},R=function(t){return function(e){return H(e)?u:t(e.value)}},k={URI:y,map:m,ap:g,chain:v},D=function(t){return function(e){return H(e)?t():e}},M=function(){return u},A=c({URI:y,zero:M},{URI:y,of:P}),G=R(i.yR),O=(0,o.s4)(u,u),U=function(t){return H(t)?O:(0,o.s4)(p(t.value),f(t.value))},q={URI:y,compact:G,separate:U},x=function(t){return function(e){return H(e)?u:t(e.value)?e:u}},z=function(t){return function(e){return H(e)?u:t(e.value)}},L=function(t){return function(e){return(0,o.s4)(h(e,(0,s.ff)(t)),h(e,t))}},N=function(t){return(0,i.ls)(w(t),U)},B={URI:y,map:m,compact:G,separate:U,filter:h,filterMap:_,partition:b,partitionMap:S},F=f,W=a.pC,H=function(t){return"None"===t._tag},K=function(t,e){return function(r){return H(r)?t():e(r.value)}},Y=K,V=Y,Q=function(t){return function(e){return H(e)?t():e.value}},$=G,j=(0,n.m)(k),X=function(t){return null==t?u:l(t)},J=function(t){try{return l(t())}catch(t){return u}},Z=function(t){return(0,i.ls)(t,X)},tt=Y(i.r5,i.yR);a.F4;var et=P(a.Xl),rt=function(t){var e=function(t){return function(e){var r=t(0,a.YM(e));if(H(r))return u;for(var n=[r.value],i=1;i<e.length;i++){var s=t(i,e[i]);if(H(s))return u;n.push(s.value)}return l(n)}}(t);return function(t){return a.Od(t)?e(t):et}},nt=function(t){return rt((function(e,r){return t(r)}))}(i.yR)},5586:(t,e,r)=>{r.d(e,{Fp:()=>c,VV:()=>o,Zt:()=>s,uZ:()=>u});var n=r(5191),i=r(2275),a=function(t){return function(e,r){return e===r||0===t(e,r)}},s=function(t){return{equals:a(t),compare:function(e,r){return e===r?0:t(e,r)}}},o=(i.W8,function(t){return function(e,r){return e===r||t.compare(e,r)<1?e:r}}),c=function(t){return function(e,r){return e===r||t.compare(e,r)>-1?e:r}},u=function(t){var e=o(t),r=c(t);return function(t,n){return function(i){return r(e(i,n),t)}}};n.w4.equals},8491:(t,e,r)=>{r.d(e,{ff:()=>n});r(2275);var n=function(t){return function(e){return!t(e)}}},1583:(t,e,r)=>{r.d(e,{$R:()=>C,DZ:()=>W,EQ:()=>g,Eh:()=>rt,Eq:()=>G,Ew:()=>y,G:()=>lt,Hr:()=>ft,JO:()=>w,Lx:()=>Q,OE:()=>$,Od:()=>f,P5:()=>h,Su:()=>L,UI:()=>z,YM:()=>_,YO:()=>pt,Z$:()=>b,ZN:()=>tt,bM:()=>U,bj:()=>T,cS:()=>ct,cx:()=>S,f2:()=>E,hX:()=>B,hp:()=>P,iw:()=>X,j0:()=>dt,kp:()=>A,nI:()=>ot,nq:()=>j,oR:()=>st,of:()=>O,oh:()=>N,pJ:()=>at,pR:()=>nt,qr:()=>I,t9:()=>R,tS:()=>q,u4:()=>V,uK:()=>H,uZ:()=>et,vP:()=>J,xH:()=>x,xP:()=>Y,xb:()=>p,yW:()=>ut,zo:()=>k});var n=r(5191),i=r(2275),a=r(7560),s=r(7963),o=r(6627),c=r(5586),u=r(817),l=r(4219),d=(r(6511),function(t,e,r){if(r||2===arguments.length)for(var n,i=0,a=e.length;i<a;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}),p=function(t){return 0===t.length},f=u.Od,m=(u.Ce,u.ws,u.R3);u.Im;var g=function(t,e){return function(r){return f(r)?e(r):t()}},v=u.dC;function h(t,e){return void 0===e?function(e){return h(t,e)}:v(t,e)?s.YP:s.G(e[t])}var _=function(t){return f(t)?s.G(u.YM(t)):s.YP},b=function(t){return f(t)?s.G(u.Z$(t)):s.YP};var S=function(t){return function(e){for(var r=0;r<e.length;r++)if(t(e[r]))return s.G(r);return s.YP}};function y(t){return function(e){for(var r=0;r<e.length;r++)if(t(e[r]))return s.G(e[r]);return s.YP}}var E=function(t){return function(e){for(var r=0;r<e.length;r++){var n=t(e[r]);if(s.pC(n))return n}return s.YP}};var w=function(t){return function(e){for(var r=e.length-1;r>=0;r--){var n=t(e[r]);if(s.pC(n))return n}return s.YP}},I=function(t){return function(e){for(var r=e.length-1;r>=0;r--)if(t(e[r]))return s.G(r);return s.YP}},P=function(t){for(var e=[],r=0;r<t.length;r++){var n=t[r];"Right"===n._tag&&e.push(n.right)}return e},T=function(t){for(var e=[],r=0;r<t.length;r++){var n=t[r];"Left"===n._tag&&e.push(n.left)}return e};function C(t,e){return void 0===e?function(e){return C(e,t)}:function(t,e,r){for(var n=[],i=Math.min(t.length,e.length),a=0;a<i;a++)n[a]=r(t[a],e[a]);return n}(t,e,(function(t,e){return[t,e]}))}function R(t){return function(e,r){if(void 0===r){var n=R(t);return function(t){return n(e,t)}}for(var i,a=0;a<r.length;a++)if(i=r[a],t.equals(i,e))return!0;return!1}}var k=function(t){return function(e){return p(e)?t:p(t)?e:e.concat(t)}};var D=function(t,e){return(0,i.zG)(t,z(e))},M=function(t,e,r){return(0,i.zG)(t,V(e,r))},A=function(t,e){return(0,i.zG)(t,at(e))},G=function(t,e){return(0,i.zG)(t,st(e))},O=u.of,U=function(){return ct},q=function(t){return function(e){return(0,i.zG)(e,function(t){return function(e){if(p(e))return ct;for(var r=[],n=0;n<e.length;n++)r.push.apply(r,t(n,e[n]));return r}}((function(e,r){return t(r)})))}},x=q(i.yR),z=function(t){return function(e){return e.map((function(e){return t(e)}))}},L=function(t){return function(e){return e.map((function(e,r){return t(r,e)}))}},N=function(t){for(var e=[],r=[],n=0,i=t;n<i.length;n++){var a=i[n];"Left"===a._tag?e.push(a.left):r.push(a.right)}return(0,l.s4)(e,r)},B=function(t){return function(e){return e.filter(t)}},F=function(t){return function(e){for(var r=[],n=0;n<e.length;n++){var i=t(n,e[n]);s.pC(i)&&r.push(i.value)}return r}},W=function(t){return F((function(e,r){return t(r)}))},H=(i.yR,function(t){return K((function(e,r){return t(r)}))}),K=function(t){return function(e){for(var r=[],n=[],i=0;i<e.length;i++){var a=e[i];t(i,a)?n.push(a):r.push(a)}return(0,l.s4)(r,n)}},Y=function(t){return function(e){return function(r){return r.reduce((function(r,n,i){return t.concat(r,e(i,n))}),t.empty)}}},V=function(t,e){return $(t,(function(t,r,n){return e(r,n)}))},Q=function(t){var e=Y(t);return function(t){return e((function(e,r){return t(r)}))}},$=function(t,e){return function(r){for(var n=r.length,i=t,a=0;a<n;a++)i=e(a,i,r[a]);return i}},j=function(t,e){return X(t,(function(t,r,n){return e(r,n)}))},X=function(t,e){return function(r){return r.reduceRight((function(t,r,n){return e(n,r,t)}),t)}},J=function(t){return function(e){return M(e,t.of(U()),(function(e,r){return t.ap(t.map(e,(function(t){return function(e){return(0,i.zG)(t,m(e))}})),r)}))}},Z="ReadonlyArray",tt=function(t){return{show:function(e){return"[".concat(e.map(t.show).join(", "),"]")}}},et=function(){return{concat:function(t,e){return p(t)?e:p(e)?t:t.concat(e)},empty:ct}},rt=function(t){return(0,n.f7)((function(e,r){return e.length===r.length&&e.every((function(e,n){return t.equals(e,r[n])}))}))},nt=function(t){return(0,c.Zt)((function(e,r){for(var n=e.length,i=r.length,a=Math.min(n,i),s=0;s<a;s++){var c=t.compare(e[s],r[s]);if(0!==c)return c}return o.Df.compare(n,i)}))},it={URI:Z,map:D},at=function(t){return function(e){for(var r=d([],t(e),!0),n=[];r.length>0;){var i=r.shift();s.nM(i)?r.unshift.apply(r,t(i.left)):n.push(i.right)}return n}},st=function(t){return function(e){var r=t(e),n=[],i=[];function a(e){s.nM(e)?t(e.left).forEach((function(t){return n.push(t)})):i.push(e.right)}for(var o=0,c=r;o<c.length;o++){a(c[o])}for(;n.length>0;)a(n.shift());return i}},ot=(u.oo,function(t){return p(t)?ct:t.slice()}),ct=u.cS;function ut(t){return function(e){return e.every(t)}}var lt=function(t){return function(e){return e.some(t)}},dt=function(t){var e=u.j0(t);return function(r){return g((function(){return t.empty}),e(r))}},pt=(s.F4,(0,a.YO)(it)),ft=(0,a.Hr)(it);u.w6,u.QI,u.Ss},817:(t,e,r)=>{r.d(e,{R3:()=>h,Im:()=>v,ur:()=>F,QI:()=>H,cS:()=>d,Lx:()=>k,xP:()=>A,c2:()=>b,Eh:()=>q,ZN:()=>U,vM:()=>w,YM:()=>x,j0:()=>W,Od:()=>p,dC:()=>f,Z$:()=>L,UI:()=>T,Fp:()=>B,VV:()=>N,of:()=>P,Ce:()=>g,ws:()=>m,w6:()=>y,u4:()=>R,nq:()=>D,iw:()=>G,OE:()=>M,Ss:()=>K,oo:()=>_});var n,i=r(5191),a=r(2275),s=(r(7560),r(7963)),o=r(5586),c=function(t){return{concat:o.VV(t)}},u=function(t){return{concat:o.Fp(t)}};n=void 0;var l=function(t,e,r){if(r||2===arguments.length)for(var n,i=0,a=e.length;i<a;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))},d=s.Xl,p=s.Od,f=function(t,e){return t<0||t>=e.length},m=function(t){return function(e){return l([t],e,!0)}},g=m,v=function(t){return function(e){return l(l([],e,!0),[t],!1)}},h=v,_=function(t,e,r){if(p(r)){var n=s.r1(r);return n.splice(t,0,e),n}return[e]},b=function(t){return p(t)?s.G(t):s.YP},S=function(t){return function(e){for(var r=Math.max(0,Math.floor(e)),n=[t(0)],i=1;i<r;i++)n.push(t(i));return n}},y=function(t,e){return t<=e?S((function(e){return t+e}))(e-t+1):[t]};function E(t,e){return e?t.concat(e):function(e){return e.concat(t)}}var w=function(t){return function(e){for(var r={},n=0,i=e;n<i.length;n++){var a=i[n],o=t(a);s.e$.call(r,o)?r[o].push(a):r[o]=[a]}return r}};var I=function(t){return function(e){for(var r=[t,e[0]],n=1;n<e.length;n++)r.push(t,e[n]);return r}},P=s.ri,T=function(t){return C((function(e,r){return t(r)}))},C=function(t){return function(e){for(var r=[t(0,x(e))],n=1;n<e.length;n++)r.push(t(n,e[n]));return r}},R=function(t,e){return M(t,(function(t,r,n){return e(r,n)}))},k=function(t){return function(e){return function(r){return r.slice(1).reduce((function(r,n){return t.concat(r,e(n))}),e(r[0]))}}},D=function(t,e){return G(t,(function(t,r,n){return e(r,n)}))},M=function(t,e){return function(r){return r.reduce((function(t,r,n){return e(n,t,r)}),t)}},A=function(t){return function(e){return function(r){return r.slice(1).reduce((function(r,n,i){return t.concat(r,e(i+1,n))}),e(0,r[0]))}}},G=function(t,e){return function(r){return r.reduceRight((function(t,r,n){return e(n,r,t)}),t)}},O=s.YM,U=function(t){return{show:function(e){return"[".concat(e.map(t.show).join(", "),"]")}}},q=function(t){return(0,i.f7)((function(e,r){return e.length===r.length&&e.every((function(e,n){return t.equals(e,r[n])}))}))},x=(s.F4,O),z=s.Gb,L=function(t){return t[t.length-1]},N=function(t){var e=c(t);return function(t){return t.reduce(e.concat)}},B=function(t){var e=u(t);return function(t){return t.reduce(e.concat)}},F=function(t){return function(e){return e.reduce(t.concat)}},W=function(t){var e=F(t);return function(t){return(0,a.ls)(function(t){return function(e){var r=z(e);return p(r)?(0,a.zG)(r,I(t),g(x(e))):e}}(t),e)}};function H(t,e){return void 0===e?g(t):(0,a.zG)(e,g(t))}var K=function(t,e){return(0,a.zG)(t,E([e]))}},7054:(t,e,r)=>{r.d(e,{Bu:()=>g,CC:()=>q,DZ:()=>Z,EG:()=>m,EW:()=>W,Eh:()=>ct,G:()=>M,HA:()=>G,Hd:()=>T,I8:()=>z,P5:()=>v,RF:()=>x,RJ:()=>N,SW:()=>K,Su:()=>_,UI:()=>b,Ub:()=>V,V_:()=>F,XP:()=>d,_Y:()=>B,_r:()=>P,dp:()=>c,dx:()=>p,e$:()=>f,hX:()=>J,jt:()=>C,kp:()=>U,mK:()=>j,mS:()=>L,nn:()=>O,nr:()=>lt,nu:()=>H,oA:()=>at,oh:()=>st,qS:()=>$,ri:()=>w,sq:()=>k,t9:()=>A,tV:()=>et,uK:()=>tt,uZ:()=>ut,vA:()=>Q,vP:()=>I,xb:()=>u,yW:()=>D,z7:()=>R,zV:()=>Y});var n=r(5191),i=r(2275),a=r(7963),s=r(4219),o=r(7029),c=(r(6511),function(t){return Object.keys(t).length}),u=function(t){for(var e in t)if(a.e$.call(t,e))return!1;return!0},l=function(t){return function(e){return Object.keys(e).sort(t.compare)}},d=l(o.Df);var p=function(t,e){return function(r){if(a.e$.call(r,t)&&r[t]===e)return r;var n=Object.assign({},r);return n[t]=e,n}},f=function(t,e){return a.e$.call(e,t)};function m(t){return function(e){if(!a.e$.call(e,t))return e;var r=Object.assign({},e);return delete r[t],r}}function g(t){return function(e,r){if(void 0===r){var n=g(t);return function(t){return n(t,e)}}for(var i in e)if(!a.e$.call(r,i)||!t.equals(e[i],r[i]))return!1;return!0}}function v(t,e){return void 0===e?function(e){return v(t,e)}:a.e$.call(e,t)?a.G(e[t]):a.YP}var h={};function _(t){return function(e){var r={};for(var n in e)a.e$.call(e,n)&&(r[n]=t(n,e[n]));return r}}function b(t){return _((function(e,r){return t(r)}))}function S(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(2===t.length)return S(o.Df).apply(void 0,t);var r=l(t[0]);return function(t,e){return function(n){for(var i=t,a=r(n),s=a.length,o=0;o<s;o++){var c=a[o];i=e(c,i,n[c])}return i}}}function y(t){if("compare"in t){var e=l(t);return function(t){return function(r){return function(n){for(var i=t.empty,a=e(n),s=a.length,o=0;o<s;o++){var c=a[o];i=t.concat(i,r(c,n[c]))}return i}}}}return y(o.Df)(t)}function E(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(2===t.length)return E(o.Df).apply(void 0,t);var r=l(t[0]);return function(t,e){return function(n){for(var i=t,a=r(n),s=a.length-1;s>=0;s--){var o=a[s];i=e(o,n[o],i)}return i}}}var w=function(t,e){var r;return(r={})[t]=e,r};function I(t){return j(o.Df)(t)}function P(t){return function(e){var r={},n={};for(var i in e)if(a.e$.call(e,i)){var o=t(i,e[i]);switch(o._tag){case"Left":r[i]=o.left;break;case"Right":n[i]=o.right}}return(0,s.s4)(r,n)}}function T(t){return function(e){var r={},n={};for(var i in e)if(a.e$.call(e,i)){var o=e[i];t(i,o)?n[i]=o:r[i]=o}return(0,s.s4)(r,n)}}function C(t){return function(e){var r={};for(var n in e)if(a.e$.call(e,n)){var i=t(n,e[n]);a.pC(i)&&(r[n]=i.value)}return r}}function R(t){return function(e){var r={},n=!1;for(var i in e)if(a.e$.call(e,i)){var s=e[i];t(i,s)?r[i]=s:n=!0}return n?r:e}}var k=function(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r];e[i[0]]=i[1]}return e};function D(t){return function(e){for(var r in e)if(!t(e[r]))return!1;return!0}}function M(t){return function(e){for(var r in e)if(t(e[r]))return!0;return!1}}function A(t){return function(e,r){if(void 0===r){var n=A(t);return function(t){return n(e,t)}}for(var i in r)if(t.equals(r[i],e))return!0;return!1}}var G=function(t,e){return(0,i.zG)(t,b(e))},O=function(t,e){return(0,i.zG)(t,_(e))},U=function(t){var e=rt(t);return function(t,r,n){return(0,i.zG)(t,e(r,n))}},q=function(t){return function(e){var r=nt(t)(e);return function(t,e){return(0,i.zG)(t,r(e))}}},x=function(t){var e=it(t);return function(t,r,n){return(0,i.zG)(t,e(r,n))}},z=function(t,e){return(0,i.zG)(t,J(e))},L=function(t,e){return(0,i.zG)(t,Z(e))},N=function(t,e){return(0,i.zG)(t,tt(e))},B=function(t,e){return(0,i.zG)(t,et(e))},F=function(t){var e=S(t);return function(t,r,n){return(0,i.zG)(t,e(r,n))}},W=function(t){var e=y(t);return function(t){var r=e(t);return function(t,e){return(0,i.zG)(t,r(e))}}},H=function(t){var e=E(t);return function(t,r,n){return(0,i.zG)(t,e(r,n))}},K=function(t,e){return(0,i.zG)(t,P(e))},Y=function(t,e){return(0,i.zG)(t,T(e))},V=function(t,e){return(0,i.zG)(t,C(e))},Q=function(t,e){return(0,i.zG)(t,R(e))},$=function(t){var e=X(t);return function(t){var r=e(t);return function(t,e){return r(t,(0,i.ls)(i.SK,e))}}},j=function(t){var e=$(t);return function(t){var r=e(t);return function(t){return r(t,i.yR)}}},X=function(t){return function(e){var r=l(t);return function(t,n){var i=r(t);if(0===i.length)return e.of(h);for(var a=e.of({}),s=function(r){a=e.ap(e.map(a,(function(t){return function(e){var n;return Object.assign({},t,((n={})[r]=e,n))}})),n(r,t[r]))},o=0,c=i;o<c.length;o++){s(c[o])}return a}}},J=function(t){return R((function(e,r){return t(r)}))},Z=function(t){return C((function(e,r){return t(r)}))},tt=function(t){return T((function(e,r){return t(r)}))},et=function(t){return P((function(e,r){return t(r)}))};function rt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){var r=S(t[0]);return function(t,e){return r(t,(function(t,r,n){return e(r,n)}))}}return rt(o.Df).apply(void 0,t)}function nt(t){if("compare"in t){var e=y(t);return function(t){var r=e(t);return function(t){return r((function(e,r){return t(r)}))}}}return nt(o.Df)(t)}function it(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){var r=E(t[0]);return function(t,e){return r(t,(function(t,r,n){return e(r,n)}))}}return it(o.Df).apply(void 0,t)}var at=function(t){var e={};for(var r in t)if(a.e$.call(t,r)){var n=t[r];a.pC(n)&&(e[r]=n.value)}return e},st=function(t){var e={},r={};for(var n in t)if(a.e$.call(t,n)){var i=t[n];a.nM(i)?e[n]=i.left:r[n]=i.right}return(0,s.s4)(e,r)},ot="ReadonlyRecord";function ct(t){var e=g(t);return(0,n.f7)((function(t,r){return e(t)(r)&&e(r)(t)}))}function ut(t){return{concat:function(e,r){if(u(e))return r;if(u(r))return e;var n=Object.assign({},e);for(var i in r)a.e$.call(r,i)&&(n[i]=a.e$.call(e,i)?t.concat(e[i],r[i]):r[i]);return n},empty:h}}o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df;function lt(t,e){return a.e$.call(void 0===e?this:e,t)}o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df},1586:(t,e,r)=>{r.d(e,{H5:()=>s,Yg:()=>i,li:()=>n,pL:()=>a});r(2275);function n(t){return t[0]}function i(t){return t[1]}var a=function(t){return function(e){return[t(n(e)),i(e)]}},s=function(t){return function(e){return[n(e),t(i(e))]}}},3940:(t,e,r)=>{r.d(e,{ff:()=>n});var n=function(t){return function(e){return!t(e)}}},4219:(t,e,r)=>{r.d(e,{Pd:()=>i,s4:()=>n});r(2275);var n=function(t,e){return{left:t,right:e}},i=function(t,e){return function(r){return n(t(a(r)),e(s(r)))}},a=function(t){return t.left},s=function(t){return t.right}},1717:(t,e,r)=>{r.d(e,{qA:()=>y,Hi:()=>S,qo:()=>E,dO:()=>_,UA:()=>w,PM:()=>b,Qt:()=>k,ak:()=>R,YO:()=>C,tS:()=>v,mU:()=>I,At:()=>T,tD:()=>u,UI:()=>f,of:()=>g,uU:()=>G,pE:()=>O});var n=r(2925),i=r(8543),a=r(2275);function s(t,e){var r=(0,i.m)(e);return function(e){return r((0,a.ls)(e,t.fromIO))}}var o=r(7560),c=r(7963),u=function(t){return function(){return Promise.resolve().then(t)}};var l=function(t,e){return(0,a.zG)(t,f(e))},d=function(t,e){return(0,a.zG)(t,m(e))},p=function(t,e){return(0,a.zG)(t,v(e))},f=function(t){return function(e){return function(){return Promise.resolve().then(e).then(t)}}},m=function(t){return function(e){return function(){return Promise.all([Promise.resolve().then(e),Promise.resolve().then(t)]).then((function(t){return(0,t[0])(t[1])}))}}},g=function(t){return function(){return Promise.resolve(t)}},v=function(t){return function(e){return function(){return Promise.resolve().then(e).then((function(e){return t(e)()}))}}},h="Task";var _={URI:h,map:l},b={URI:h,of:g},S={URI:h,map:l,ap:d},y={URI:h,map:l,ap:d,of:g},E={URI:h,map:l,ap:d,chain:p},w={URI:h,map:l,of:g,ap:d,chain:p},I=(a.yR,(0,i.m)(E)),P={URI:h,fromIO:u},T=s(P,E),C=(c.F4,(0,o.YO)(_)),R=(0,i.a)(E),k=(0,n.Qt)(S),D=g(c.Xl),M=function(t){var e=function(t){return function(e){return function(){return Promise.all(e.map((function(e,r){return Promise.resolve().then((function(){return t(r,e)()}))})))}}}(t);return function(t){return c.Od(t)?e(t):D}},A=function(t){var e=function(t){return function(e){return function(){return c.Gb(e).reduce((function(e,r,n){return e.then((function(e){return Promise.resolve().then(t(n+1,r)).then((function(t){return e.push(t),e}))}))}),Promise.resolve().then(t(0,c.YM(e))).then(c.ri))}}}(t);return function(t){return c.Od(t)?e(t):D}},G=function(t){return M((function(e,r){return t(r)}))},O=function(t){return A((function(e,r){return t(r)}))}},6316:(t,e,r)=>{r.d(e,{Do:()=>_t,Qt:()=>yt,ak:()=>St,tS:()=>it,fX:()=>mt,wE:()=>ht,Zl:()=>at,Y$:()=>gt,Uo:()=>F,tD:()=>N,fF:()=>B,fS:()=>K,t$:()=>U,Hr:()=>bt,UI:()=>tt,Vn:()=>rt,EQ:()=>W,LV:()=>H,of:()=>ot,vx:()=>V,F2:()=>q,Ij:()=>Et,Y3:()=>Y});var n=r(2925),i=r(8543),a=r(1385),s=r(2275),o=r(7560);function c(t){return(0,s.ls)(a.F2,t.of)}function u(t){return(0,s.ls)(a.t$,t.of)}function l(t){return function(e){return t.map(e,a.F2)}}function d(t){return function(e){return t.map(e,a.t$)}}function p(t){return function(e){return(0,s.ls)(a.ij(e),t.of)}}function f(t){var e=p(t);return function(t){var r=e(t);return function(t){return(0,s.ls)(t,r)}}}function m(t){var e=h(t),r=f(t);return function(t){var n=r(t);return function(t){return e(n(t))}}}function g(t){return(0,o.UI)(t,a.dO)}function v(t){return(0,n.ap)(t,a.G5)}function h(t){return function(e){return function(r){return t.chain(r,(function(r){return a.nM(r)?t.of(r):e(r.right)}))}}}function _(t){return function(e){return function(r){return t.chain(r,(function(r){return a.nM(r)?e():t.of(r)}))}}}function b(t){return function(e,r){return function(n){return t.map(n,a.Pd(e,r))}}}function S(t){return function(e){return function(r){return t.map(r,a.Vn(e))}}}function y(t){return function(e,r){return function(n){return t.map(n,a.EQ(e,r))}}}function E(t){return function(e,r){return function(n){return t.chain(n,a.EQ(e,r))}}}function w(t){return function(e){return function(r){return t.chain(r,a.EQ(e,t.of))}}}function I(t){return function(e){return function(r){return t.chain(r,(function(r){return a.nM(r)?e(r.left):t.of(r)}))}}}function P(t){var e=I(t);return function(r){return e((function(e){return t.map(r(e),(function(t){return a.nM(t)?t:a.t$(e)}))}))}}function T(t){return function(e){return function(r){return t.chain(r,a.EQ((function(r){return t.map(e(r),a.t$)}),(function(e){return t.of(a.F2(e))})))}}}function C(t){return function(e){return t.map(e,a.LF)}}function R(t){return function(e){return t.map(e,a.i$)}}var k=r(5162);function D(t,e){return function(r){var n=(0,s.ls)(r,t.fromTask);return function(t){return e.chain(t,n)}}}var M=r(7963),A=r(1717),G=function(t,e,r,n){return new(r||(r=Promise))((function(i,a){function s(t){try{c(n.next(t))}catch(t){a(t)}}function o(t){try{c(n.throw(t))}catch(t){a(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,o)}c((n=n.apply(t,e||[])).next())}))},O=function(t,e){var r,n,i,a,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,o])}}},U=u(A.PM),q=c(A.PM),x=l(A.dO),z=d(A.dO),L=(0,s.ls)(A.tD,x),N=(A.tD,L),B=x,F=A.of,W=(A.tD,y(A.dO)),H=E(A.UA),K=w(A.UA),Y=function(t,e){return function(){return G(void 0,void 0,void 0,(function(){var r;return O(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,t().then(M.F2)];case 1:return[2,n.sent()];case 2:return r=n.sent(),[2,M.t$(e(r))];case 3:return[2]}}))}))}},V=(A.dO,A.PM,A.PM,A.UA,I(A.UA)),Q=(A.UA,A.UA,A.dO,function(t,e){return(0,s.zG)(t,tt(e))}),$=function(t,e){return(0,s.zG)(t,nt(e))},j=function(t,e){return(0,s.zG)(t,it(e))},X=function(t,e,r){return(0,s.zG)(t,et(e,r))},J=function(t,e){return(0,s.zG)(t,rt(e))},Z=function(t,e){return(0,s.zG)(t,st(e))},tt=g(A.dO),et=b(A.dO),rt=S(A.dO),nt=v(A.Hi),it=h(A.UA),at=it,st=_(A.UA),ot=q,ct=U,ut="TaskEither";var lt={URI:ut,map:Q},dt={URI:ut,map:Q,ap:$},pt={URI:ut,map:Q,ap:$,chain:j},ft={URI:ut,fromEither:F},mt=(0,k.fX)(ft,pt),gt=(0,k.Y$)(ft,pt),vt={URI:ut,fromIO:N,fromTask:B},ht=D(vt,pt);var _t=ot(M.F4),bt=(0,o.Hr)(lt),St=(0,i.a)(pt),yt=(0,n.Qt)(dt),Et=(M.Xl,{URI:ut,bimap:X,mapLeft:J,map:Q,of:ot,ap:$,chain:j,alt:Z,fromIO:N,fromTask:B,throwError:ct})},6511:(t,e,r)=>{function n(t,e){return function(r){var n=t.traverse(r);return function(t,i){return r.map(n(t,i),e.separate)}}}function i(t,e){return function(r){var n=t.traverse(r);return function(t,i){return r.map(n(t,i),e.compact)}}}r.d(e,{BL:()=>i,Fj:()=>n})},2275:(t,e,r)=>{r.d(e,{MZ:()=>i,Q1:()=>u,SK:()=>f,W8:()=>s,a9:()=>a,bc:()=>d,gn:()=>o,ls:()=>l,r5:()=>c,yR:()=>n,zG:()=>p});function n(t){return t}var i=n;function a(t){return function(){return t}}var s=a(!0),o=a(null),c=a(void 0),u=c;function l(t,e,r,n,i,a,s,o,c){switch(arguments.length){case 1:return t;case 2:return function(){return e(t.apply(this,arguments))};case 3:return function(){return r(e(t.apply(this,arguments)))};case 4:return function(){return n(r(e(t.apply(this,arguments))))};case 5:return function(){return i(n(r(e(t.apply(this,arguments)))))};case 6:return function(){return a(i(n(r(e(t.apply(this,arguments))))))};case 7:return function(){return s(a(i(n(r(e(t.apply(this,arguments)))))))};case 8:return function(){return o(s(a(i(n(r(e(t.apply(this,arguments))))))))};case 9:return function(){return c(o(s(a(i(n(r(e(t.apply(this,arguments)))))))))}}}function d(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t}function p(t,e,r,n,i,a,s,o,c){switch(arguments.length){case 1:return t;case 2:return e(t);case 3:return r(e(t));case 4:return n(r(e(t)));case 5:return i(n(r(e(t))));case 6:return a(i(n(r(e(t)))));case 7:return s(a(i(n(r(e(t))))));case 8:return o(s(a(i(n(r(e(t)))))));case 9:return c(o(s(a(i(n(r(e(t))))))));default:for(var u=arguments[0],l=1;l<arguments.length;l++)u=arguments[l](u);return u}}var f=function(t,e){return e}},7963:(t,e,r)=>{r.d(e,{F2:()=>d,F4:()=>h,G:()=>o,Gb:()=>g,Od:()=>f,Wi:()=>i,Xl:()=>v,YM:()=>m,YP:()=>s,e$:()=>_,nM:()=>c,pC:()=>a,r1:()=>b,ri:()=>p,t$:()=>l,tO:()=>u});var n=function(t,e,r){if(r||2===arguments.length)for(var n,i=0,a=e.length;i<a;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))},i=function(t){return"None"===t._tag},a=function(t){return"Some"===t._tag},s={_tag:"None"},o=function(t){return{_tag:"Some",value:t}},c=function(t){return"Left"===t._tag},u=function(t){return"Right"===t._tag},l=function(t){return{_tag:"Left",left:t}},d=function(t){return{_tag:"Right",right:t}},p=function(t){return[t]},f=function(t){return t.length>0},m=function(t){return t[0]},g=function(t){return t.slice(1)},v=[],h={},_=Object.prototype.hasOwnProperty,b=function(t){return n([t[0]],t.slice(1),!0)}},6627:(t,e,r)=>{r.d(e,{Df:()=>i,Eq:()=>n});var n={equals:function(t,e){return t===e}},i={equals:n.equals,compare:function(t,e){return t<e?-1:t>e?1:0}};n.equals,i.compare},7029:(t,e,r)=>{r.d(e,{Df:()=>i,Eq:()=>n,pn:()=>s,xb:()=>a});var n={equals:function(t,e){return t===e}},i={equals:n.equals,compare:function(t,e){return t<e?-1:t>e?1:0}},a=function(t){return 0===t.length},s=function(t,e){return function(r){return r.endsWith(t,e)}}},3092:(t,e,r)=>{r.d(e,{Z:()=>a});var n=r(1005),i=r.n(n);function a(){return i()('/*! @permutive/javascript-sdk v20.23.0 (web) (built 2024-11-22T15:30:48.468Z) */(()=>{"use strict";var __webpack_modules__={865:(t,e,r)=>{function n(t){return t instanceof Error?t:new Error("string"==typeof t?t:JSON.stringify(t))}r.d(e,{w:()=>n})},238:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{N:()=>runtimeFactory});const runtimeFactory=deps=>{const{provideEnvironment,...lookups}=generateLookupMethods(deps.runtimeInput),env=generateRuntimeEnvironment({lookups,hash:deps.hash});return provideEnvironment(env),{env,locallyLiftedQueries:deps.runtimeInput.queries(env)||{},cloudLiftedQueries:"function"==typeof deps.runtimeInput.interpretOnlyQueries?deps.runtimeInput.interpretOnlyQueries(env):{},queriesByEvent:deps.runtimeInput.eventSegments(env)||{},createCloudLiftQueries:cloudLiftQueries=>{const createQueries=eval?.(`"use strict";${cloudLiftQueries}`);return createQueries(env)}}};function generateRuntimeEnvironment(t){const e=t=>()=>{throw new Error(`${t} lookup has not been provided`)};let r=e("events"),n=e("literals"),i=e("properties"),a=e("ahoCorasick"),s=e("subexpressions"),o=e("rootCompression");function c(t){return u(t)&&!l(t)}function u(t){return Boolean(t&&"object"==typeof t&&!Array.isArray(t))}function l(t){for(const e in t)return!1;return!0}function f(t){return(e,r)=>{const n=null!=e&&null!=r?t(e,r):e||r;return null==n||u(n)&&l(n)?null:n}}function p(t,e,r=m){const n=i(e).reduce((function(t,e){return t&&null!=t[e]?t[e]:null}),t);return null===n?null:r(n)}function d(t,e,r=m){return t.properties?p(t.properties,e,r):null}t.lookups.onReady((t=>{const{ahoCorasick:e,events:c,literals:u,properties:l,subexpressions:f,rootCompression:p}=t;r=t=>"number"==typeof t?c[t]:t,n=t=>"number"==typeof t?u[t]:t,i=t=>"number"==typeof t?l[t]:t,a=t=>e[t],s=t=>f[t],o=t=>p[t]}));let m=t=>t,g=t=>!0;function v(t,e){return function(r){for(let n=0;n<t.length;n++){if((t[n](r)||!1)===e)return e}return!e}}function S(t){return v(t,!0)}function h(t){return v(t,!1)}let b=t=>e=>!t(e),_=(t,e)=>r=>r>=t&&r<=e,y=t=>new Date(t).getTime(),E=t=>p(t,["time"],y),I=(t,e)=>p(e,t,y),w=(t,e,r,n,i,a)=>s=>{const o=p(s,t,(t=>t.filter(n).map((t=>p(t,e))).reduce(i,a)));return r(null===o?a:o)};function R(t,e,r,n){for(const i of t)if(r(i)&&e(i)===n)return n;return!n}let T=t=>e=>("string"==typeof t||"number"==typeof t)&&"string"==typeof e&&e.toLowerCase().indexOf(n(t).toLowerCase())>-1,C=t=>e=>null!=e&&Array.isArray(e)&&e.indexOf(t)>=0;const A=(t,e)=>({l:n=>p(n,["name"])===r(t)&&e(n)?["p",1]:null,a:(t,e)=>["p",t[1]+e[1]],i:t=>t?Array.isArray(t)?t.slice(-1)[0]:t:0,c:t=>Array.isArray(t)&&t[1]?t:null});function P(t,e,r,n,i){const a=p(t.getSegments(),[e,r])||!1;return i&&(n||a)&&t.setSegmentActivation(e,r,i),a}function G(t,e,r){return p(t.getSegments(),[e,r])||!1}function O(t,e,r=18e5){return n=>{function i(t,e,r){if(c(e)){if(c(r)){const n={...e,...r};for(const i in r)if(e[i]){const s=a(t,e[i],r[i]);null!=s&&(n[i]=s)}return n}return e}return r}function a(t,e,r){if(c(e)){if(c(r)){const i={...e,...r};for(const a in r)if(e[a]){const s=Array.isArray(e[a])?[t,...e[a]]:[t,e[a]],o=Array.isArray(r[a])?[t,...r[a]]:[t,r[a]],c=n.d.a(s,o);if(null!=c){const[t,...e]=c;i[a]=e}}return i}return e}return r}const s=t=>Array.isArray(t)&&"object"==typeof t[3];return{a:{m:(t,e)=>[e[0],n.a.m(null!=t[0]&&t[0][0]===e[0][0]?t[1]:n.a.z,e[1])],z:[[],n.a.z]},p:(r,i)=>[[t(r)],p(i,e)===t(r)?n.p(r,i):n.a.z],r:(e,r)=>n.r(e,0!==r[0].length&&r[0][0]===t(e)?r[1]:n.a.z),d:n.d.sq||{a:(t,e)=>{if(!s(t))return s(e)?e:null;if(!s(e))return s(t)?t:null;const[r,,,n]=t;return[r,"u",null,i(r,n,e[3])]},l:(i,a)=>{let s=p(i,e),o=t(a);if(s!==o)return null;let c=n.d.l(i,a);if(!(Array.isArray(c)&&c.length>1))return null;let[u,...l]=c,f=+(E(i)||a.getCurrentTime()),d=Math.floor(f/r),m={};return m[d]={},m[d][o]=1===l.length?l[0]:l,[u,"u",null,m]},i:(e,r)=>{if(!s(e))return[[],n.a.z];let i=t(r),a=e[3];return[[i],Object.keys(a).map((t=>a[t][i])).filter((t=>t)).map((t=>n.d.i([e[0]].concat(t)))).reduce(n.a.m,n.a.z)]},c:m}}}}let M=O((t=>t.getCurrentSession()),["session_id"],18e5),U=O((t=>t.getCurrentView()),["view_id"],3e5);function D(t,e,n,i=1){return{a:{m:(t,e)=>t.concat(e).slice(-n),z:[]},p:(n,i)=>p(i,["name"])===r(e)?[t.p(n,i)]:[],r:(e,r)=>t.r(e,r.reduce(((e,r)=>t.a.m(e,r)),t.a.z)),d:t.d.ftn||{a:(t,e)=>{const r=Object.entries({...t[3],...e[3]}).sort((([t],[e])=>Number(t)-Number(e))).slice(-n);return[t[0],t[1],null,Object.fromEntries(r)]},l:(e,r)=>{const a=t.d.l(e,r),s=p(e,["time"],y)*i;return a&&[a[0],"x"+n,null,{[s]:2==a.length?a[1]:a.slice(1)}]},i:(e,r)=>e?Object.keys(e[3]||{}).sort().reverse().map((t=>Array.isArray(t)?[e[0],...e[3][t]]:[e[0],e[3][t]])).map((e=>t.d.i(e,r))):[],c:m}}}let k=(t,e)=>null==t?null==e?null:{b:e}:null==e?{a:t}:{a:t,b:e};function L(t,e){return r=>{if(!r||null==r.a&&null==r.b)return null;const n=null==r.a?void 0:t.d.c(r.a)??void 0,i=null==r.b?void 0:e.d.c(r.b)??void 0;return n===r.a&&i===r.b?r:k(n,i)}}function N(t,e){return{a:(r,n)=>{const i=null!=r.a&&null!=n.a?t.d.a(r.a,n.a):r.a||n.a,a=null!=r.b&&null!=n.b?e.d.a(r.b,n.b):r.b||n.b;return k(i,a)},l:(r,n)=>k(t.d.l(r,n),e.d.l(r,n)),i:(r,n)=>r?[t.d.i(r.a||null,n),e.d.i(r.b||null,n)]:[t.a.z,e.a.z],c:L(t,e)}}function z(t,e,r,n){let i=t,a=e.map(r),s=(t,r)=>n(e[t])(r);for(let t=e.length-1;t>0&&i;t--)i.b&&(a[t]=s(t,i.b)),i.a&&1===t&&(a[0]=s(0,i.a)),i=i.a;return a}const q=t=>(e,r=t.length-1)=>{if(!e||null==e.a&&null==e.b)return null;const n=t[r];if(!n)return null;if(1===r)return L(t[0],n)(e);const i=null==e.a?void 0:q(t)(e.a,r-1)??void 0,a=null==e.b?void 0:n.d.c(e.b)??void 0;return i===e.a&&a===e.b?e:k(i,a)};let B=t=>e=>{function r(t){let e=t[0];for(let r=1;r<t.length;r++)e=[e,t[r]];return e}function n(t){let r=t,n=Array(e.length);for(let t=e.length-1;t>0;t--)n[t]=r[1],r=r[0];return n[0]=r,n}function i(t,r,n=e.length-1){if(0==n)throw new Error("subquery index out of bounds.");const a=(1==n?f(e[0].d.a)(t?.a,r?.a):i(t?.a,r?.a,n-1))||void 0,s=f(e[n].d.a)(t?.b,r?.b)||void 0;return k(a,s)}return{p:(t,n)=>r(e.map((e=>e.p(t,n)))),r:(r,i)=>{const a=n(i);return t(e.map(((t,e)=>()=>t.r(r,a[e]))))({})},a:{z:r(e.map((t=>t.a.z))),m:(t,i)=>{const a=n(t),s=n(i);return r(e.map(((t,e)=>function(t,e,r){return null===e?r:null===r?e:t.a.m(e,r)}(t,a[e],s[e]))))}},d:{a:(t,r)=>1==e.length?f(e[0].d.a)(t,r):i(t,r),l:(t,r)=>function(t){let e=t[0];for(let r=1;r<t.length;r++)e=k(e,t[r]);return e}(e.map((e=>e.d.l(t,r)))),i:(t,n)=>((t,n)=>r(z(t,e,(t=>t.a.z),(t=>e=>t.d.i(e,n)))))(t,n),c:q(e)}}},x=B(S),F=B(h);let W=t=>e=>({d:{i:(r,n)=>t(z(r,e,(t=>t.d.i(null,n)),(t=>e=>t.d.i(e,n))).map((t=>e=>t)))({}),c:q(e)}}),H=W(h),Y=W(S);function V(t,e){let r=a(t);if(!e||!r)return!1;if(!r.length)return!0;let n=0,i=!1,s=(t=>{let e=[];for(let r=0;r<t.length;++r){let n=t.charCodeAt(r);if(n>=55296&&n<=56319){let n=t.charCodeAt(r+1);if(n>=56320&&n<=57343){e.push(t.slice(r,r+2)),++r;continue}}e.push(t.charAt(r))}return e})(e.toLowerCase());for(let t=0;t<s.length;t++){let e=s[t];for(;n>0&&!r[n][e];)n=r[n].su?r[n].su:0;if(r[n][e]&&(n=r[n][e],i=!!r[n].te,i))break}return i}let K=(e,r)=>{let n,i,a=t.hash(e);if(0===r.length)return!1;if(r[0]===a)return!0;let s=0,o=r.length,c=!1;for(;(c=(n=r[i=s+(o-s>>1)])!==a)&&(n<a?s=i:o=i,!(s>=o-1)););return!c},Q=(t,e)=>r=>K(p(r,t),e),j=(t,e)=>r=>K(d(r,t),e);return{q:function(t){return{lift:(e,r)=>t.d.l(e,r),append:f(t.d.a),interpret:(e,r)=>((e,r)=>({result:t.r(e,r)}))(r,t.d.i(e,r)),compact:t.d.c,migrate:m,m:t.a.m,z:t.a.z,p:t.p,r:t.r,i:t.d.i}},i_q:function(t){return{interpret:(e,r)=>({result:t.d.i(e,r)}),compact:t.d.c}},a:h,acq:function(t,e){return{p:(r,n)=>[t.p(r,n),e.p(r,n)],r:(r,n)=>t.r(r,n[0])&&e.r(r,n[1]),a:{z:[t.a.z,e.a.z],m:(r,n)=>[t.a.m(r[0],n[0]),e.a.m(r[1],n[1])]},d:N(t,e)}},acqs:F,acs:V,acs_:(t,e)=>r=>V(e,p(r,t)),af_i:(t,e,r=g)=>n=>p(n,t,(t=>R(t,e,r,!1)))&&!0,af_l:(t,e,r=g)=>n=>{const i=p(n,t,(t=>t.filter(r).length));return e(null===i?0:i)},af_m:(t,e,r,n=g)=>i=>{const a=p(i,t,(t=>t.filter(n)));return null===a||0===a.length?r(0):r(a.map((t=>p(t,e))).reduce(((t,e)=>t+e),0)/a.length)},af_n:(t,e,r,n=g)=>w(t,e,r,n,((t,e)=>Math.min(t,e)),Number.POSITIVE_INFINITY),af_p:(t,e,r,n=g)=>w(t,e,r,n,((t,e)=>t*e),1),af_s:(t,e,r,n=g)=>w(t,e,r,n,((t,e)=>t+e),0),af_u:(t,e,r=g)=>n=>p(n,t,(t=>R(t,e,r,!0)))||!1,af_x:(t,e,r,n=g)=>w(t,e,r,n,((t,e)=>Math.max(t,e)),Number.NEGATIVE_INFINITY),as:(t,e,r)=>n=>{const i=d(n,e),a=r.length;let s=!0;for(let e=0;e<a;e++){const n=r[e];if(s=t(n)(i),!s)break}return s},c:C,c_:(t,e)=>r=>C(e)(p(r,t)),cl_:(t,e)=>r=>C(n(e))(p(r,t)),cx:t=>e=>C(n(t))(e),cw:function(t,e,n=m){return{a:{m:(t,e)=>t+e,z:0},p:(n,i)=>p(i,["name"])===r(t)&&e(i)?1:0,r:(t,e)=>n(e),d:A(t,e)}},cb:function(t,e,n,i){return{a:{m:(t,e)=>Math.min(t+e,i),z:0},p:(n,i)=>p(i,["name"])===r(t)&&e(i)?1:0,r:(t,e)=>n(e),d:{l:n=>p(n,["name"])===r(t)&&e(n)?[`b${i}p`,1]:null,a:(t,e)=>[`b${i}p`,Math.min(t[1]+e[1],i)],i:t=>t?Array.isArray(t)?t.slice(-1)[0]:t:0,c:t=>Array.isArray(t)&&t[1]?t:null}}},e:t=>e=>e===t,e_:(t,e)=>r=>p(r,t)===e,fm:function(t,e){return{p:e.p,r:(r,n)=>t(e.r(r,n)),a:e.a,d:e.d}},frontDecode:function(t){const e=t.split("\\t");if(0===e.length)return[];var r=e[0],n=new Array(Math.ceil(e.length/2));n[0]=e[0];for(var i=1;i<e.length/2;i+=1){const t=e[2*i-1],a=e[2*i];if(""===t)r=a;else{const e=parseInt(t);r=r.slice(0,e)+a}n[i]=r}return n},ftn:function(t,e,n){return{a:{m:(t,e)=>t.concat(e.slice(0,n-t.length)),z:[]},p:(n,i)=>p(i,["name"])===r(e)?[t.p(n,i)]:[],r:(e,r)=>t.r(e,r.reduce(((e,r)=>t.a.m(e,r)),t.a.z)),d:D(t,e,n,-1).d}},g:t=>e=>e>t,g_:(t,e)=>r=>p(r,t)>e,ge:t=>e=>e>=t,ge_:(t,e)=>r=>p(r,t)>=e,bse:(e,r)=>n=>{let i=p(n,e);return t.hash(i)===r},bsne:(e,r)=>n=>{let i=p(n,e);return t.hash(i)!==r},bsc:Q,bsnc:(t,e)=>b(Q(t,e)),bsc_:j,bsnc_:(t,e)=>b(j(t,e)),i_:m,ifp:function(t){return{a:{m:(t,e)=>e,z:null},p:t=>null,r:(e,r)=>(e=>G(e,"1p",t))(e),d:{a:(t,e)=>null,l:(t,e)=>null,i:t=>null,c:t=>null}}},isp:function(t,e,r,n){return{a:{m:(t,e)=>e,z:!1},p:(r,n)=>G(r,t,e),r:(i,a)=>P(i,t,e,r,n),d:{a:(t,e)=>null,l:(t,e)=>null,i:t=>Array.isArray(t)&&(!!+t[2]||!1),c:m}}},itp:function(t,e,r,n){return{a:{m:(t,e)=>e,z:!1},p:(r,n)=>G(r,t,e),r:(i,a)=>P(i,t,e,r,n),d:{a:(t,e)=>null,l:(t,e)=>null,i:t=>Array.isArray(t)&&(!!+t[2]||!1),c:m}}},i_cw:function(t){return{d:{i:e=>{let r=e?Array.isArray(e)?e.slice(-1)[0]:e:0;return t(r)},c:t=>Array.isArray(t)&&t[1]?t:null}}},i_acqs:H,i_ocqs:Y,i_tw:function(t,e,r){const n=r||100,i=Math.ceil(e/n);return{d:{i:(r,n)=>{const a=Array.isArray(r)?r:[],s=n.getCurrentTime(),o=(c=s.getTime()-e,Math.floor(c/i));var c;const u=Object.keys(a[3]||{}).reduce(((t,e)=>parseInt(e)>=o?a[3][e]+t:t),0);return t.d.i(["p",u],n)},c:m}}},i_ltn:function(t,e,r=1){return{d:{i:(e,r)=>{const n=Array.isArray(e)?e:[],i=Object.keys(n[3]||{}).reduce(((t,e)=>n[3][e]+t),0);return t.d.i(["p",i],r)},c:m}}},k:p,l:t=>e=>e<t,l_:(t,e)=>r=>{const n=p(r,t);return null!==n&&n<e},le:t=>e=>e<=t,le_:(t,e)=>r=>{const n=p(r,t);return null!==n&&n<=e},lm:function(t,e){let r=e=>function(t,e,r){if(void 0===e[r])return NaN;const n=t||{};if(0==(n["1p"]||[]).length)return NaN;const i=e[r]||{};let a=(i["1p"]||{}).const||0;return Object.keys(n).forEach((t=>{n[t].forEach((e=>{const r=(i[t]||{})[e]||0;a+=r}))})),s=a,1/(1+Math.pow(Math.E,-s));var s}(e.getSegmentsArray(),e.getLookalikeModels(),t);return{a:{m:(t,e)=>e,z:null},p:t=>null,r:(t,n)=>e(r(t)),d:{a:(t,e)=>null,l:(t,e)=>null,i:t=>null,c:t=>null}}},ltn:D,mnw:function(t,e,n,i=m){const a=Number.POSITIVE_INFINITY;return{a:{m:(t,e)=>t<e?t:e,z:a},p:(i,s)=>p(s,["name"])===r(t)&&e(s)?p(s,n):a,r:(t,e)=>i(e),d:{a:(t,e)=>t[1]<e[1]?t:e,l:i=>p(i,["name"])===r(t)&&e(i)?["n",p(i,n)]:null,i:t=>t?Array.isArray(t)?t.slice(-1)[0]:t:a,c:t=>Array.isArray(t)&&t[1]!==a?t:null}}},mxw:function(t,e,n,i=m){const a=Number.NEGATIVE_INFINITY;return{a:{m:(t,e)=>t>e?t:e,z:a},p:(i,s)=>p(s,["name"])===r(t)&&e(s)?p(s,n):a,r:(t,e)=>i(e),d:{l:i=>p(i,["name"])===r(t)&&e(i)?["v",p(i,n)]:null,a:(t,e)=>t[1]>e[1]?t:e,i:t=>t?Array.isArray(t)?t.slice(-1)[0]:t:a,c:t=>Array.isArray(t)&&t[1]!==a?t:null}}},n0:b(m),n:t=>e=>e!==t,nt:b,n_:(t,e)=>r=>p(r,t)!==e,o:S,ocq:function(t,e){return{p:(r,n)=>[t.p(r,n),e.p(r,n)],r:(r,n)=>t.r(r,n[0])||e.r(r,n[1]),a:{z:[t.a.z,e.a.z],m:(r,n)=>[t.a.m(r[0],n[0]),e.a.m(r[1],n[1])]},d:N(t,e)}},ocqs:x,oe:function(t){const e=Object.keys(t);let r=e.length,n=new Array(r);for(;r--;)n[r]=[e[r],t[e[r]]];return n},os:(t,e,r)=>n=>{const i=d(n,e),a=r.length;let s=!1;for(let e=0;e<a;e++){const n=r[e];if(s=t(n)(i),s)break}return s},pacs:(t,e)=>r=>V(e,d(r,t)),pb:(t,e,r)=>n=>_(e,r)(d(n,t)),pc:(t,e)=>r=>{const n=d(r,t);return null!=n&&Array.isArray(n)&&n.indexOf(e)>=0},pc_:(t,e)=>r=>{const i=d(r,t),a=n(e);return null!=i&&Array.isArray(i)&&i.indexOf(a)>=0},pe:(t,e)=>r=>d(r,t)===e,pg:(t,e)=>r=>d(r,t)>e,pge:(t,e)=>r=>d(r,t)>=e,pl:(t,e)=>r=>{let n=d(r,t);return null!==n&&n<e},ple:(t,e)=>r=>{let n=d(r,t);return null!==n&&n<=e},pn:(t,e)=>r=>d(r,t)!==e,ps:(t,e)=>r=>T(e)(d(r,t)),r:function(t,...e){return o(t)(...e)},ref:function(t){return e=>s(t)(e)},rle:function(t){let e=0;for(let r=0;r<t.length;r++){let n=t[r];"number"==typeof n?(e+=n,r+=1):e+=1}let r=Array(e),n=0;for(let e=0;e<t.length;e++){let i=t[e];"number"==typeof i?(r.fill(t[e+1],n,n+i),e+=1,n+=i):(r[n]=i,n++)}return r},s:T,s_:(t,e)=>r=>T(e)(p(r,t)),scq:function(t,e,r=m){return{p:(r,n)=>[t.p(r,n),e.p(r,n)],r:(n,i)=>r(t.r(n,i[0])+e.r(n,i[1])),a:{z:[t.a.z,e.a.z],m:(r,n)=>[t.a.m(r[0],n[0]),e.a.m(r[1],n[1])]},d:N(t,e)}},sq:M,dscq:function(t,e,n,i){const a=`x${i}`,s=t=>t?2===t.length?["p",a,"",t[1]]:t:null,o=n=>{const i=(t=>p(t,["session_id"]))(n);return i&&p(n,["name"])===r(t)&&e(n)?["p",a,"",{[i]:1}]:null},c=(t,e)=>{const r=s(t),n=s(e);return r?n?["p",a,"",{...r[3],...n[3]}]:r:n};return{a:{m:c,z:null},p:(t,e)=>o(e),r:(t,e)=>{const r=e&&e[3]&&"object"==typeof e[3]?Object.keys(e[3]).length:0;return n(r)},d:{a:f(c),l:(t,e)=>o(t),i:(t,e)=>s(t),c:m}}},sw:function(t,e,n,i=m){return{a:{m:(t,e)=>t+e,z:0},p:(i,a)=>p(a,["name"])===r(t)&&e(a)?p(a,n):0,r:(t,e)=>i(e),d:{a:(t,e)=>{const r=new Array(Math.max(t.length,e.length));r[0]="p2";for(let n=1;n<r.length;n++)r[n]=(t[n]??0)+(e[n]??0);return r},l:i=>{return(n=>p(n,["name"])===r(t)&&e(n))(i)?(a=p(i,n))<0?["p2",null,-a]:["p2",a]:null;var a},i:t=>{return t?Array.isArray(t)?((e="p2"===t[0]?t.slice(1):t)[0]||0)-(e[1]||0):t:0;var e},c:t=>Array.isArray(t)&&(t[1]||t[2])?t:null}}},t:g,tb:(t,e)=>r=>_(t,e)(E(r)),te:t=>e=>E(e)===t,te_:(t,e)=>r=>I(t,r)===e,tg:t=>e=>E(e)>t,tg_:(t,e)=>r=>I(t,r)>e,tge:t=>e=>E(e)>=t,tge_:(t,e)=>r=>I(t,r)>=e,ti:y,tl:t=>e=>E(e)<t,tl_:(t,e)=>r=>I(t,r)<e,tle:t=>e=>E(e)<t,tle_:(t,e)=>r=>I(t,r)<e,tn:t=>e=>E(e)!==t,tn_:(t,e)=>r=>I(t,r)!==e,tw:function(t,e,r){const n=r||100,i=Math.ceil(e/n),a=t=>Math.floor(t/i),s=(t,r,n)=>[a(t.getTime()-e),{[a(r)]:n}],o=(e,r)=>{const n=Math.max(e[0],r[0]),i=Object.keys(e[1]).filter((t=>t>=n)).concat(Object.keys(r[1]).filter((t=>t>=n))).filter(((t,e,r)=>r.indexOf(t)===e)).reduce(((n,i)=>{const a=t.a.m(e[1][i]||t.a.z,r[1][i]||t.a.z);return a!==t.a.z&&(n[i]=a),n}),{});return[n,i]},c=[Number.NEGATIVE_INFINITY,{}],u=t=>{const e=e=>e.map((([e,r,n])=>s(t.t,n,e))).reduce(o,c);return o(e(t.in),e(t.out))};return{a:{m:(t,e)=>{const r=t.w?u(t):t;return o(r,e)},z:c},p:(e,r)=>s(e.getCurrentTime(),p(r,["time"],y),t.p(e,r)),r:(e,r)=>{const n=(r.w?u(r):r)[1];return t.r(e,Object.keys(n).reduce(((e,r)=>t.a.m(e,n[r])),t.a.z))},d:t.d.tw||{a:([t,,...e],[,,...r])=>[t,"w",...o(e,r)],l:(e,r)=>{const n=t.d.l(e,r),i=t.d.i(n,r);return n&&[n[0],"w",...s(r.getCurrentTime(),p(e,["time"],y),i)]},i:(t,r)=>{const n=Array.isArray(t)?t:[],i=r.getCurrentTime(),s=a(i.getTime()-e);return[n[2]||null,Object.keys(n[3]||{}).map((t=>({[t]:n[3][t]}))).reduce(((t,e)=>(Object.keys(e).filter((t=>parseInt(t)>=s)).forEach((r=>t[r]=e[r])),t)),{})]},c:m}}},vq:U,w:t=>e=>e===n(t),x:t=>e=>e!==n(t),y:(t,e)=>r=>d(r,t)===n(e),y_:(t,e)=>r=>p(r,t)===n(e),z:(t,e)=>r=>d(r,t)!==n(e),z_:(t,e)=>r=>p(r,t)!==n(e)}}function generateLookupMethods(t){let e,r=!1,n=[];return{onReady:t=>{r?t(e):n.push(t)},provideEnvironment:i=>{e={events:t.eventsLookup(i),literals:t.literalsLookup(i),properties:t.propertiesLookup(i),ahoCorasick:t.ahoCorasickLookup(i),subexpressions:t.subexpressionsLookup(i),rootCompression:t.rootCompressionLookup(i)},n.forEach((t=>t(e))),n=[],r=!0}}}},812:(t,e,r)=>{r.d(e,{GL:()=>o,HJ:()=>c,N1:()=>f,NC:()=>n,RP:()=>i,UM:()=>u,t_:()=>l});const n=performance.now(),i=(new Date).getTime();let a=[],s=!1;const o=t=>function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return c((()=>t(...r)))},c=(t,e)=>{if(!s){const r=self.setTimeout(t,e);return()=>self.clearTimeout(r)}let r;const n=()=>{void 0!==r&&s&&a.length<1e4&&a.push([r,performance.now()]),r=void 0},i=[self.setTimeout((()=>{r=performance.now(),self.requestAnimationFrame(n),t()}),e),self.setTimeout(n,e)];return()=>{void 0===r&&i.forEach((t=>self.clearTimeout(t)))}},u=(t,e)=>{if(!s){const r=self.setInterval(t,e);return()=>self.clearInterval(r)}let r=!1,n=()=>{};const i=self.setInterval((()=>{n=c((()=>{r||t()}))}),e);return()=>{r=!0,n(),self.clearInterval(i)}},l=t=>new Promise(((e,r)=>t.then(o(e),o(r)))),f=t=>()=>l(t())},460:(t,e,r)=>{r.d(e,{g1:()=>T,YO:()=>I,oQ:()=>L,a9:()=>b,Ue:()=>v,gS:()=>S,D8:()=>k,VS:()=>C,xH:()=>A,En:()=>h,p4:()=>D,fF:()=>U,Hr:()=>w,UI:()=>y,u4:()=>P,Rp:()=>G,vP:()=>O,bw:()=>N,YP:()=>_});var n=r(865),i=r(385),a=r(275),s=r(492),o=r(583),c=r(387);function u(t){let e=t,r=[],n=!1;return{addListener(t){if(n)return()=>{};let i=e;const a=()=>{Object.is(e,i)||(i=e,t(e))};r=[...r,a];return()=>{r=r.filter((t=>t!==a))}},notify(t){if(n)throw new Error("Ref bug: Attempted to notify a terminated notifier");Object.is(t,e)||(e=t,r.forEach((t=>t())))},terminate(){n=!0,r=[]}}}function l(t,e){let r=0;return function(){try{if(r++>0)throw new Error(t);return e(...arguments)}finally{r--}}}function f(t,e){let r=[...new Set(t)].filter((t=>"final"!==t.state));if(0===r.length)return{state:"final",onStateChange:()=>()=>{}};const n=()=>0===r.length?"final":r.some((t=>"might_change"===t.state))?"might_change":"nominal",[i,a]=p(n(),(t=>"might_change"!==t&&e())),s=()=>a(n());return r.forEach((e=>{e.onStateChange((e=>{switch(e){case"final":r=t.filter((t=>"final"!==t.state)),s();break;case"might_change":a("might_change");break;case"nominal":s();break;default:throw new Error(`Ref bug: Invalid state ${e}`)}}))})),i}function p(t,e){if("final"===t)return[{state:"final",onStateChange:()=>()=>{}},()=>{}];const{terminate:r,notify:n,addListener:i}=u(t),a={state:t,onStateChange:i},s=l("Disallowed recursion in Branch.",(t=>{if("final"===a.state){if("final"===t)return;throw new Error(`Attempted to change state of final branch to ${t}.`)}try{null==e||e(t),a.state=t,n(t)}finally{"final"===t&&r()}}));return[a,s]}var d=r(560),m=r(444);const g="Ref";function v(t){const[e,r,n]=function(){const[t,e]=p("nominal"),r=l("Disallowed recursion in Branch.",(r=>{if("final"===t.state)throw new Error("Attempted to mutate a finalized Ref.");const n=t.state;try{e("might_change"),r()}finally{e(n)}}));return[t,r,()=>e("final")]}(),[i,a]=z(e,t);return[i,t=>r((()=>a(t))),n]}function S(t){let e=t.empty;const r=()=>()=>{const r=e;return e=t.empty,r},[n,i,a]=v(r());return[n,n=>{e=t.concat(e,n),i(r())},a]}function h(t,e){return r=>{let n=new Array(t).fill(e.empty);return new Array(t).fill(null).map(((t,i)=>(0,a.zG)(r,y(m.UI((t=>{const r=e.concat(n[i],t);return n=n.map(((r,n)=>n===i?e.empty:e.concat(r,t))),r}))))))}}function b(t){return{get current(){return t},onChange:()=>()=>{},branch:{state:"final",onStateChange:()=>()=>{}}}}function _(t){return e=>{const r=e.onChange(t);return t(e.current),r}}function y(t,e){if(e){const[r,n]=z(e.branch,t(e.current));return e.onChange((e=>n(t(e)))),r}return e=>y(t,e)}const E={URI:g,map:(t,e)=>y(e)(t)},I=d.YO(E),w=d.Hr(E),R=t=>C((e=>y(e)(t))),T={URI:g,of:b,map:E.map,ap:(t,e)=>R(e)(t)};function C(t,e){return e?A(y(t,e)):e=>A(y(t,e))}function A(t){if("final"===t.branch.state)return t.current;const[e,r]=function(t,e){let r=e;const n=[t.state,r.state].includes("might_change")?"might_change":"nominal",[i,a]=p(n),s=t=>e=>{switch(e){case"final":a(t().state);break;case"might_change":a("might_change");break;case"nominal":"might_change"===t().state?a("might_change"):a("nominal");break;default:throw new Error(`Ref bug: Unexpected upstream state ${e}`)}};t.onStateChange(s((()=>r)));const o=s((()=>t));let c=r.onStateChange(o);return[i,t=>{r=t,c(),c=t.onStateChange(o),o(r.state)}]}(t.branch,t.current.branch),[n,i]=z(e,t.current.current);let a=t.current.onChange(i);return t.onChange((t=>{a(),a=t.onChange(i),r(t.branch),i(t.current)})),n}function P(t){return e=>{if("final"===e.branch.state)return e;let r=s.YP;return y((e=>{if(s.Wi(r))return r=s.G(e),e;const n=t(r.value,e);return r=s.G(n),n}),e)}}function G(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return t=>{if(2===e.length){let r=e[0];return y((t=>(r=e[1](r,t),r)),t)}let r=s.bM();return y((t=>{const n=e[0](r,t);return r=s.G(n),n}),t)}}function O(){if(0===arguments.length||q(arguments.length<=0?void 0:arguments[0]))return M(...arguments);const t=arguments.length<=0?void 0:arguments[0],e=Object.keys(t);return(0,a.zG)(Object.values(t),(t=>M(...t)),y((0,a.ls)(o.Su(((t,r)=>[e[t],r])),Object.fromEntries)))}function M(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if(0===e.length)return b([]);if(1===e.length)return y((t=>[t]))(e[0]);let n=!1;e.forEach((t=>t.onChange((()=>{if("might_change"!==t.branch.state)throw new Error("Ref bug: Received a change notification without a `might_change` state.");n=!0}))));const i=e.map((0,c.vg)("branch")),a=()=>{n&&(n=!1,u(e.map((t=>t.current))))},s=f(i,a),[o,u]=z(s,e.map((t=>t.current)));return o}function U(t){const[e,r,n]=v(s.YP);return t().then((0,a.ls)(s.G,r,n)),e}function D(t){const[e,r,o]=v(s.YP);return t.then(i.F2).catch((0,a.ls)(n.w,i.t$)).then((0,a.ls)(s.G,r,o)),e}function k(t){const e=t.hasOwnProperty("equals")?t.equals:t;return P(((t,r)=>e(t,r)?t:r))}function L(t){return q(t)?t:b(t)}function N(t){return e=>(_(t)(e),e)}function z(t,e){if("final"===t.state)return[b(e),()=>{}];const r=u(e);t.onStateChange((t=>{"final"===t&&r.terminate()}));let n=e;return[{get current(){return n},onChange:r.addListener,branch:t},l("Disallowed recursion in Ref.",(t=>{n=t,r.notify(n)}))]}function q(t){return"object"==typeof t&&null!==t&&!Array.isArray(t)&&"function"==typeof t.onChange}},936:(t,e,r)=>{r.d(e,{Hr:()=>v,K4:()=>c,KD:()=>b,UI:()=>f,VS:()=>d,YO:()=>S,ak:()=>g,bw:()=>p,dQ:()=>u,kR:()=>_,of:()=>l,vP:()=>m,yi:()=>h});var n=r(460),i=r(275),a=r(387),s=r(54),o=r(492);const c=t=>(0,i.ls)((e=>{let{previousState:r,...n}=e;return t(n)}),(t=>({value:t,state:n.a9(void 0)}))),u=i.yR,l=(0,i.ls)(i.a9,c),f=t=>e=>(0,i.ls)(e,(0,a.rO)({value:t})),p=t=>e=>(0,i.ls)(e,(0,a.rO)({value:(0,a.bw)(t)}));function d(t){return e=>r=>{let{previousState:i,...a}=r;const s=e({previousState:Array.isArray(i)?i[0]:void 0,...a}),o=t(s.value)({previousState:Array.isArray(i)?i[1]:void 0,...a});return{value:o.value,state:n.vP(s.state,o.state)}}}function m(t){return e=>{let{previousState:r,...a}=e;const o=I(r)?r:{},c=(0,i.zG)(t,s.Su(((t,e)=>e({previousState:o[t],...a}))));return{value:(0,i.zG)(c,s.UI((t=>t.value))),state:(0,i.zG)(c,s.UI((t=>t.state)),(t=>n.vP(t)))}}}function g(t,e){return r=>(0,i.ls)((0,a.rO)({previousState:E}),(a=>{const s=r(a),o=e(s.value)({...a,previousState:a.previousState[t]});return{value:(0,i.zG)([s.value,o.value],(e=>{let[r,n]=e;if(!I(r))throw new Error("Service.bind() was passed an upstream Service with a non-record value.");return{...r,[t]:n}})),state:(0,i.zG)(n.vP(s.state,o.state),n.UI((e=>{let[r,n]=e;if(void 0===r)return{[t]:n};if(!I(r))throw new Error("Service.bind() was passed an upstream Service with a non-record state.");return{...r,[t]:n}})))}}))}const v=(t,e)=>f((r=>({...r,[t]:e(r)})));function S(t){return e=>(0,i.ls)((0,a.rO)({previousState:(0,i.ls)(E,(e=>e[t]))}),e,(0,a.rO)({value:e=>({[t]:e}),state:n.UI((e=>({[t]:e})))}))}const h=(t,e)=>{const r=e||(e=>e===t);return e=>u((s=>{let{previousState:o,...c}=s;const u=Array.isArray(o)&&2===o.length&&r(o[0])?o[1]:void 0;return(0,i.zG)({previousState:u,...c},e,(0,a.rO)({state:n.UI((e=>[t,e]))}))}))},b=t=>{const e=t.slice(0,-1),r=t.slice(-1)[0],n=[...e.map((t=>{let[e,r]=t;return[e,(0,i.a9)(r)]})),(0,i.a9)(r)];return _((0,a.lo)(n))};function _(t){return(0,i.ls)(n.UI(t),y)}function y(t){const e=(0,i.zG)(t,n.Rp(0,(t=>t+1)));return r=>{let{previousState:a,stopped:s,...c}=r;return(0,i.zG)(n.vP(t,e),n.Rp(((t,r)=>{let[u,l]=r;return(0,i.zG)(t,o.UI((t=>t.state.current)),o.fS((()=>a)),(t=>u({previousState:t,stopped:(0,i.zG)(n.vP(s,e),n.UI((t=>{let[e,r]=t;return e||r!==l}))),...c})))})),(t=>({value:n.UI((t=>t.value),t),state:n.VS((t=>t.state),t)})))}}function E(t){return I(t)?t:{}}function I(t){return"object"==typeof t&&null!==t}},371:(t,e,r)=>{r.d(e,{d:()=>f,m:()=>l});var n=r(275),i=r(385),a=r(492),s=r(460),o=r(387),c=r(936),u=r(191);const l=t=>c.dQ((e=>{let{stopped:r,previousState:c}=e;const u=function(t){return v(t)?t:{validityKey:"",lastSuccess:a.YP}}(c),l=(0,n.zG)(u,(t=>({...t,inFlight:a.YP,lastSuccess:(0,n.zG)(t.lastSuccess,a.UI(i.F2))}))),f=(0,n.zG)(t,s.UI((t=>"currentTimestampSecs"in t&&"freshness"in t&&"validity"in t?t:{currentTimestampSecs:0,validity:{key:t.validityKey,maxAge:Number.MAX_SAFE_INTEGER},freshness:{key:t.freshnessKey,maxAge:Number.MAX_SAFE_INTEGER},refresh:t.refresh})),(t=>s.vP(t,r)),s.Rp(s.a9(l),((t,e)=>{let[r,c]=e;if(c)return t;const u=r.validity.key(),l=a.hX((t=>r.currentTimestampSecs-t.timestamp<=r.validity.maxAge)),f=(0,o.HP)(r.freshness.key),p=a.hX((t=>r.currentTimestampSecs-t.timestamp<=r.freshness.maxAge&&t.freshnessKey===f())),d=(0,n.zG)(t,s.UI((0,n.ls)(a.DT((t=>t.validityKey===u)),a.EQ((()=>({validityKey:u,inFlight:a.YP,lastSuccess:a.YP})),(0,o.rO)({inFlight:l,lastSuccess:a.tS(i.EQ((t=>a.G(i.t$(t))),(0,n.ls)(a.G,l,a.UI((t=>i.F2(t))))))})))),s.D8(m()));if((0,n.zG)(d.current,(t=>(0,n.zG)(t.inFlight,a.wp((()=>(0,n.zG)(t.lastSuccess,a.tS(a.Uo)))),p,a.pC))))return d;const g=()=>({timestamp:r.currentTimestampSecs,freshnessKey:f(),output:a.YP});return(0,n.zG)(r.refresh,a.EQ((()=>d),(0,n.ls)((0,n.nn)({previous:(0,n.zG)(d.current.lastSuccess,a.tS(a.Uo),a.tS((t=>t.output)))}),s.fF,s.UI(a.EQ((()=>(0,n.zG)(d,s.UI((0,o.rO)({inFlight:()=>a.G(g())})))),i.EQ((t=>(0,n.zG)(d,s.UI((0,o.rO)({inFlight:()=>a.YP,lastSuccess:(0,n.ls)(a.tS((0,n.ls)(a.Uo,a.hX((t=>a.pC(t.output))))),i.Yo((()=>t)),a.G)})))),(t=>s.a9({validityKey:u,inFlight:a.YP,lastSuccess:a.G(i.F2({...g(),output:a.G(t)}))}))))),s.xH)))})),s.xH,s.D8(m())),p=(0,n.zG)(f,s.UI((t=>({validityKey:t.validityKey,lastSuccess:(0,n.zG)(t.lastSuccess,a.tS(a.Uo))}))),s.D8(g())),d=(0,n.zG)(p,s.Rp(-1,(t=>t+1)));return{value:(0,n.zG)(f,s.UI((0,n.ls)((0,o.vg)("lastSuccess"),a.UI(i.UI((t=>t.output))),a.fS((()=>i.F2(a.YP)))))),state:(0,n.zG)(s.vP(p,d),s.UI((t=>{let[e,r]=t;return r>0?e:g().equals(e,u)?c:e})))}})),f=t=>e=>(0,n.ls)((0,o.rO)({previousState:(0,n.ls)(a.DT(v),a.YO("s1"),a.Hr("s2",(e=>{let{s1:r}=e;return(0,n.zG)(r,(0,o.rO)({lastSuccess:a.UI((0,o.rO)({output:a.tS(t)}))}))})),a.UI((t=>{let{s1:e,s2:r}=t;return g().equals(e,r)?e:r})),a.FS)}),e),p=()=>u.n_({freshnessKey:(0,o.Or)(),timestamp:(0,o.Or)(),output:a.Eh((0,o.Or)())});function d(t){return"object"==typeof t&&null!==t&&(!(!("freshnessKey"in t)||!S(t.freshnessKey))&&("timestamp"in t&&"number"==typeof t.timestamp&&!(!("output"in t)||!(0,o.El)(t.output))))}const m=()=>u.n_({validityKey:(0,o.Or)(),inFlight:a.Eh(p()),lastSuccess:a.Eh(i.Eh((0,o.Or)(),p()))}),g=()=>u.n_({validityKey:(0,o.Or)(),lastSuccess:a.Eh(p())});function v(t){return"object"==typeof t&&null!==t&&(!(!("validityKey"in t)||!S(t.validityKey))&&!!("lastSuccess"in t&&(0,o.El)(t.lastSuccess)&&(0,n.zG)(t.lastSuccess,a.EQ((()=>!0),d))))}function S(t){return null===t||"string"==typeof t||"number"==typeof t}},41:(t,e,r)=>{r.r(e),r.d(e,{PermutiveActivationManagerWeb:()=>s,optimisedActivationsConfig:()=>a});class n{logger;permutive;id;segmentCode;triggerType;config;workspaceLevelConfig;prefix="[Activation]";constructor(t,e,r,n,i,a,s){this.logger=t,this.permutive=e,this.id=r,this.segmentCode=n,this.triggerType=i,this.config=a,this.workspaceLevelConfig=s}getSegmentCode(){return this.segmentCode}getTriggerType(){return this.triggerType}getConfig(){return this.config}getWorkspaceLevelConfig(){return this.workspaceLevelConfig}trackImpression(t){return this.trackActivation("impression",t)}trackConversion(t){return this.trackActivation("conversion",t)}trackActivation(t,e){const r={reaction_id:this.id,type:t};this.permutive.track("Reaction",r,e),this.logger.log(this.prefix,r.type,r)}}var i=r(636);const a={dfp:{dfp:[75949,75947,156133,81688,153993,72786,172161,76217,88035,122942,75225,81364,77834,153983,153997,153960,153937,125145,125133,75374,115432,124855,162640,75220,124938,125143,153938,72784,76196,81704,122933,81703,77839,76223,81351,94838,153976,153975,78899,81534,75932,153994,74319,125118,125250,88783,125104,153956,153972,124816,75359,148180,74286,61938,76184,81530,125123,89016,153968,124851,79093,124928,153989,124923,153998,75387,81701,75934,75944,75232,88040,154017,153954,81374,153945,125139,124836,154008,125124,81375,125116,124846,156124,74267,173203,75375,75946,77831,63889,77832,173204,154005,76183,81686,92784,77833,75935,81368,88036,125111,153969,75223,156123,124856,124854,98386,79173,153805,74295,76187,162443,125147,74297,154012,154011,114680,124936,125153,81519,156135,89650,75361,125152,79151,74279,153987,75950,75219,75357,124822,74309,105244,114069,76211,106406,74270,74261,74307,122940,148178,124819,75385,154013,173207,89018,81376,156127,154002,156130,75943,78882,148177,154006,166080,77837,76199,88890,63809,153942,153971,107490,153991,125110,153953,154010,125155,89026,124834,89020,74293,125114,153794,76214,74298,75384,125146,75956,154014,75211,124845,153801,166073,125132,122941,75370,124931,79171,88140,88891,79168,156136,124859,153985,75353,75377,88127,122934,125115,81361,81695,123881,125117,124858,79876,125166,74288,63862,75213,76219,81540,75226,125169,166082,74262,75386,153944,74294,81369,75369,125154,89017,76210,75216,156129,173523,124849,81690,90505,153793,153973,153964,125161,75358,124274,81537,75391,122939,90507,76193,75939,74277,124941,63888,75209,74321,125120,81367,72133,124937,79874,122938,81380,153986,75354,81372,153939,124939,153955,75244,111942,123884,156143,88033,173050,125127,88037,153977,81378,88788,125130,79172,75366,74291,124948,63876,124826,96354,76190,153982,96401,81529,125105,88038,75382,153803,153934,153961,88039,125238,125137,124814,110665,79169,79873,81520,81357,75367,75212,75371,124818,156142,166071,75954,75355,81689,118780,172193,124790,96352,166075,77836,156126,124835,124838,122883,63825,166072,153988,81687,47119,76218,124944,166059,122848,74271,125144,153800,74308,125150,166086,75208,172191,75380,81691,81697,154003,125119,78912,166069,154e3,126201,124848,95544,153952,125121,125160,124841,63887,75349,125242,74320,107335,153807,121884,81554,125134,75228,72902,74302,81705,124927,75368,125106,81692,154020,74304,89023,75945,154004,125141,143009,79091,75933,125128,148170,124791,63886,74276,74283,153806,172195,173208,63803,125113,81373,124935,156121,75931,79877,75397,94837,166083,124850,153950,166800,153999,124824,153958,89024,75352,81539,85886,75424,125233,75365,166081,81518,74301,74306,124945,75351,75383,125131,88887,124925,172192,125151,124831,75376,78885,125142,125122,124812,75394,154019,124934,153995,156125,123880,81356,74289,154009,154015,153936,125168,125159,81551,75396,166085,74268,124839,163011,173199,153996,153792,123878,76182,81526,153957,75948,115611,75942,153963,125125,76185,74282,124837,76186,153970,81694,75231,124782,125135,153802,74303,75246,88413,153951,156139,85885,125165,74285,75379,124857,75452,125156,74274,88042,116501,156456,125157,114679,154007,156128,124932,153797,153799,166084,153949,154018,156140,76209,75406,81379,173202,123877,77830,125149,74264,74287,63874,162933,74273,156138,74296,75953,76208,77846,81550,109701,74299,81535,173539,75210,124949,79156,74272,123879,124933,81552,125112,74265,173543,153967,122932,81365,125109,153965,74275,74258,172196,122935,75224,124930,118439,156134,113875,173200,75955,75360,75372,122937,77835,75940,117494,79878,125136,166545,125162,74257,173592,123882,162639,81702,99781,74280,115431,75941,153984,153959,79872,81523,154016,75378,153966,76213,153941,77838,79153,125240,76192,92785,77847,153943,81521,63797,75250,74292,156457,125129,124832,154001,74281,76191,153990,78913,75938,89021,125167,63871,89019,153948,74269,74278,125235,124829,76195,81381,173205,74300,153796,154021,74290,156122,125163,88034,153940,125164,153795,100124,156170,125138,88041,89015,74260,153804,125126,124940,83833,156137,79170,88315,148104,63800,88810,173201,124840,124926,153974,173206,125158,125108,72785,173142,125140,125107,153947,81353,103391,81366,153946,76220,154022,153962,175965,87444,175991,178642,178644,178682,178683,178684,178685,178686,178687,178688,178691,178692,178693,179348,179779,179782,179795,179801,179798,179799,179800,63798,183145,184126,184128,187769,187771,189288,189742,190336,193248,193396,193397,193398,193399,193761,194064,195321,197980,199216,199375,200121,200677,196006,202044,203019,203024,203033,203035,203038,100672,208462,208567,208568,208569,208570,208571,208781,203292,208822,208743,208852,210565,210567,211337],dfp_legacy:{}},eyeota_pixel:[],dbm:{omitted:3},appnexus:{},appnexus_adserver:[],nativo:[],rubicon_ssp:[],smart:[],freewheel:[]};class s{logger;permutive;clientContext;constructor(t,e,r){this.logger=t,this.permutive=e,this.clientContext=r}getSpecializedActivations(t){return a[t]}getActivations(t){return(0,i.Hn)(t)("activationConfigs",[]).filter((t=>this.areContextCriteriaSatisfied(t))).map((t=>new n(this.logger,this.permutive,t.id,t.sc,t.tt,t.c,t.wc)))}areContextCriteriaSatisfied(t){const e=t.cc,r=t=>{const e=this.clientContext.getContext()[t.key];switch(t.comparison){case"EQUALS":return e===t.value;case"NOT_EQUALS":return e!==t.value;case"CONTAINS":return"string"==typeof e&&e.indexOf(t.value)>=0;case"NOT_CONTAINS":return"string"==typeof e&&e.indexOf(t.value)<0}};return!e||("AND"===(n=e).operator?n.criteria.every(r):n.criteria.some(r));var n}}},636:(t,e,r)=>{r.d(e,{Hn:()=>i});const n={standard_cohorts:{auto_init:!0,activationConfigs:[]},facebook_pixel_v2:{auto_init:!0,activationConfigs:[]},overlays:{auto_init:!0,activationConfigs:[]},dbm:{auto_init:!0,entity_id:658571214,product_type:"INVITE_ADVERTISER",activationConfigs:[]},scriptrunner:{auto_init:!0,activationConfigs:[]},clean_room:{auto_init:!0,api_version:"v4",pass_cohorts_to_prebid:!0,cohort_ssp_config:[],activationConfigs:[]},dfp:{auto_init:!0,track_slot_rendered:!1,track_slot_viewable:!0,track_slot_clicked:!0,activationConfigs:[]},twitter_pixel:{auto_init:!0,activationConfigs:[]},web:{auto_init:!1,add_alchemy_taxonomy:!1,add_alchemy_entities:!1,engagement_edge_only:!0,segment_transition_edge_only:!0,activationConfigs:[]}},i=t=>{const e=n[t];return(t,r)=>(null==e?void 0:e[t])??r};i("web"),i("dfp"),i("facebook_pixel_v2")},277:(t,e,r)=>{r.d(e,{X:()=>i,k:()=>n});const n=t=>({id:t.id,name:t.name,time:new Date(t.time),properties:t.properties||{},session_id:t.session_id,view_id:t.view_id}),i=t=>({id:t.id,name:t.name,time:(a(t.time)?t.time:new Date).toISOString(),properties:t.properties||{},session_id:t.session_id,view_id:t.view_id}),a=t=>isFinite(t)&&t instanceof Date},878:(t,e,r)=>{r.d(e,{F:()=>u,I:()=>c});var n=r(460),i=r(444),a=r(583),s=r(275),o=r(387);const c=(t,e)=>{let r=!1;return n.UI(i.UI((0,o.bw)((n=>{r||(r=(0,s.zG)(n,a.G((t=>{let[,e]=t;return"Pageview"===e.name}))),r&&t.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:e,time_origin:"sdk_init"}))}))))},u=(t,e)=>{const r=c(t,e);return(0,s.ls)(n.En(2,a.uZ()),(t=>{let[e,i]=t;return(0,s.zG)(i,r,n.UI((t=>t()))),e}))}},324:(t,e,r)=>{r.r(e),r.d(e,{service:()=>Ca});var n=r(275),i=r(936),a=r(460),s=r(492),o=r(495);const c=t=>{const e=t.current;return(0,n.zG)(t,a.UI((t=>t===e?{segmentsEntered:[],segmentsExited:[]}:{segmentsEntered:(0,n.zG)(t,l(e)),segmentsExited:(0,n.zG)(e,l(t))})))},u=t=>new Set(t),l=t=>e=>(0,n.zG)(e,f((e=>!t.has(e)))),f=t=>e=>{const r=[];return e.forEach((e=>t(e)&&r.push(e))),r};var p=r(444),d=r(812),m=r(387);const g=()=>({kind:"null",value:null}),v=t=>({kind:"string",value:t}),S=t=>({kind:"number",value:t}),h=t=>({kind:"array",value:t}),b=t=>({kind:"object",value:t}),_=t=>t,y=()=>({kind:"bottom"}),E=t=>({kind:"inner",a:t}),I=t=>({kind:"top",error:t}),w=t=>({kind:"unbounded",group:t}),R=(t,e)=>({kind:"windowed",key:e,group:t}),T=(t,e,r)=>({kind:"countLimit",n:r,limit:e,group:t}),C=(t,e,r)=>({kind:"uniqueLimit",n:r,limit:e,group:t}),A=t=>({kind:"numberGroup",group:t}),P=t=>({kind:"stringGroup",group:t}),G=t=>({kind:"tuple",tuple:t}),O=t=>({state:t}),M=(t,e)=>({commands:t,payload:e});var U=r(881),D=r(29);const k=(t,e)=>{switch(t.kind){case"bottom":return{kind:"bottom"};case"inner":return E(e(t.a));case"top":return I(t.error)}},L=t=>(0,U.Zt)(((e,r)=>{if("bottom"===e.kind&&"bottom"===r.kind)return 0;if("bottom"===e.kind)return-1;if("bottom"===r.kind)return 1;if("top"===e.kind&&"top"===r.kind)return D.Df.compare(e.error,r.error);if("top"===e.kind)return 1;if("top"===r.kind)return-1;if("inner"===e.kind&&"inner"===r.kind)return t.compare(e.a,r.a);throw new Error("Non exhaustive match in extendedAlgebraOrd")}));var N=r(586),z=r(358),q=r(385),B=function(t){return-1===t?1:1===t?-1:0};function x(t,e){return(0,z.oA)(t.map(e))}function F(t,e,r,n){const i=(t,e)=>{if(0===t.length)return(0,z.oA)(e.map((t=>(0,s.G)({1:t[1],2:r(s.YP,(0,s.G)(t[2]))}))));if(0===e.length)return(0,z.oA)(t.map((t=>(0,s.G)({1:t[1],2:r((0,s.G)(t[2]),s.YP)}))));if(t.length>0&&e.length>0&&(0,U.lt)(n)(t[0][1],e[0][1])){const[n,...a]=t,o=n[1],c=n[2];return(0,z.Ce)({1:o,2:r((0,s.G)(c),s.YP)})(i(a,e))}if(t.length>0&&e.length>0&&(0,U.gt)(n)(t[0][1],e[0][1])){const[n,...a]=e,o=n[1],c=n[2];return(0,z.Ce)({1:o,2:r(s.YP,(0,s.G)(c))})(i(t,a))}if(t.length>0&&e.length>0){const[n,...a]=t,[o,...c]=e,u=n[1],l=n[2],f=o[2];return(0,z.Ce)({1:u,2:r((0,s.G)(l),(0,s.G)(f))})(i(a,c))}throw new Error("Non exhaustive match in mapOption2")},a=(0,U.Uz)((t=>t[1]))(n),o=(t=>{const e=x(t,(t=>(0,s.pC)(t[2])?(0,s.G)({1:t[1],2:t[2].value}):s.YP));return 0===e.length?s.YP:(0,s.G)(e)})(i((0,z.DY)(a)([...t].map((t=>({1:t[0],2:t[1]})))),(0,z.DY)(a)([...e].map((t=>({1:t[0],2:t[1]}))))));return(0,s.UI)((t=>new Map(t.map((t=>[t[1],t[2]])))))(o)}function W(t,e,r,n){const i=(0,U.Uz)((t=>t[0]))(n),a=(0,z.DY)(i)([...e]).reduceRight(((t,e)=>{if((0,q.nM)(t)){const n=r(e[1],t.left);return(0,s.pC)(n)?(0,q.t$)(n.value):(0,q.F2)(e[0])}return t}),(0,q.t$)(t));return(0,s.Uo)(a)}function H(t,e){return new Map([...t].map(e))}function Y(t,e){return new Map([...t].filter(e))}var V=r(191),K=r(627);function Q(t){return JSON.stringify(j(t))}function j(t){switch(t.kind){case"null":return $.encode(t);case"string":return Z.encode(t);case"number":return tt.encode(t);case"array":return et.encode(t);case"object":return rt.encode(t)}}function X(t){return null===t?$.decode(t):"number"==typeof t?tt.decode(t):"string"==typeof t?Z.decode(t):Array.isArray(t)?et.decode(t):rt.decode(t)}const J=(t,e)=>(0,q.t$)(`Failed to decode. Input was ${JSON.stringify(t)}. Codec type was ${e}`),$={encode:t=>null,decode:t=>null===t?(0,q.F2)({kind:"null",value:null}):J(t,"SimpleNull")},Z={encode:t=>t.value,decode:t=>"string"==typeof t?(0,q.F2)(v(t)):J(t,"SimpleString")},tt={encode:t=>t.value,decode:t=>"number"==typeof t?(0,q.F2)(S(t)):J(t,"SimpleNumber")},et={encode:t=>t.value.map(j),decode:t=>{if(Array.isArray(t)){const e=(0,z.fw)(q.g1)(X)(t);return(0,q.UI)(h)(e)}return J(t,"SimpleArray")}},rt={encode:t=>{const e=[...t.value.entries()];return Object.assign({},...Array.from(e,(([t,e])=>({[t]:j(e)}))))},decode:t=>{if(t&&t.constructor===Object){const e=(0,z.fw)(q.g1)((([t,e])=>(0,n.zG)(X(e),(0,q.UI)((e=>(0,n.bc)(t,e))))))(Object.entries(t));return(0,q.UI)((t=>b(new Map([...t]))))(e)}return J(t,"SimpleObject")}};function nt(t){return(0,n.zG)(t,at,(0,s.UI)(Q),(0,s.fS)((()=>"<encode error>")))}function it(t){return(0,s.UI)(ft)(function(t){switch(t.state.kind){case"top":return(0,s.G)(v(t.state.error));case"bottom":return s.YP;case"inner":return at(t.state.a)}}(t))}function at(t){return function(t){switch(t.kind){case"numberGroup":case"stringGroup":return st(t.group);case"tuple":return t.tuple.length>0}}(t.payload)?(0,s.G)(h(function(t,e){const r=(0,s.UI)((t=>(0,z.Ce)(t)(e)))(t);return(0,s.fS)((()=>e))(r)}((0,s.UI)((t=>v(function(t){const e=t=>(0,s.EQ)((()=>""),(t=>"b"+JSON.stringify(t)))(t.bound),r=t=>{switch(t.operation){case"add":return"p";case"mul":return"m";case"max":return"v";case"min":return"n"}},n=t=>{const n=e(t[1])+r(t[1]);return 1===t[2]?n:n+JSON.stringify(t[2])};return t.map(n).join("")}(t))))(t.commands),function(t){const e=t=>{switch(t.kind){case"bottom":return{kind:"null",value:null};case"top":return v(t.error);case"inner":return S(t.a)}},r=t=>x([ot,ct,t=>(0,n.zG)(t,lt,b,s.G)],(e=>e(t))),i=t=>x([ot,ut,t=>(0,n.zG)(t,lt,(t=>H(t,(([t,e])=>[JSON.stringify(t),e]))),b,s.G)],(e=>e(t)));switch(t.kind){case"tuple":return t.tuple.map(e);case"stringGroup":return r(t.group);case"numberGroup":return i(t.group)}}(t.payload)))):s.YP}function st(t){switch(t.kind){case"unbounded":return t.group.size>0;case"windowed":return t.group.size>0||(0,s.pC)(t.key);case"countLimit":case"uniqueLimit":return t.group.size>0||(0,s.pC)(t.limit)}}function ot(t){switch(t.kind){case"unbounded":return s.YP;case"windowed":return(0,s.G)(v("w"));case"countLimit":return(0,s.G)(v(1===t.n?"x":`x${t.n}`));case"uniqueLimit":return(0,s.G)(v(1===t.n?"u":`u${t.n}`))}}function ct(t){switch(t.kind){case"unbounded":return s.YP;case"windowed":return(0,s.G)(v((0,s.pC)(t.key)?t.key.value:""));case"countLimit":case"uniqueLimit":return(0,s.G)(v((0,s.pC)(t.limit)?t.limit.value:""))}}function ut(t){switch(t.kind){case"unbounded":return s.YP;case"windowed":return(0,s.pC)(t.key)?(0,s.G)(S(t.key.value)):(0,s.G)({kind:"null",value:null});case"countLimit":case"uniqueLimit":return(0,s.pC)(t.limit)?(0,s.G)(S(t.limit.value)):(0,s.G)({kind:"null",value:null})}}function lt(t){switch(t.kind){case"unbounded":case"windowed":case"countLimit":case"uniqueLimit":return t.group}}function ft(t){switch(t.kind){case"array":return 0===t.value.length?{kind:"null",value:null}:1===t.value.length?ft(t.value[0]):h(t.value.map(ft));case"object":return(0,n.zG)(Y(t.value,(([t,e])=>"null"!==e.kind)),(t=>H(t,(t=>[t[0],ft(t[1])]))),b);default:return t}}function pt(t){const e=t=>{if(0===t.length)return{kind:"bottom"};const e=(t=>{if(4!==t.length)return s.YP;const[e,r,n,i]=t;if("string"===e.kind&&"string"===r.kind&&"object"===i.kind){const t=(0,s.DT)((t=>dt(t[1].value)&&mt(t[2].value)))({1:e,2:r});return(0,s.UI)((t=>({prim:t[1].value,grp:t[2].value,cutoff:n,m:i.value})))(t)}return s.YP})(t);if((0,s.pC)(e)){const{prim:t,grp:r,cutoff:n,m:i}=e.value,a=gt(n,i,vt(r));return"string"==typeof a?I(a):E(M(St(t),a))}const r=(t=>{if(3!==t.length)return s.YP;const[e,r,n]=t;if("string"===e.kind&&"object"===n.kind){const t=(0,s.DT)((t=>mt(t.value)))(e);return(0,s.UI)((t=>({grp:t.value,cutoff:r,m:n.value})))(t)}return s.YP})(t);if((0,s.pC)(r)){const{grp:t,cutoff:e,m:n}=r.value,i=gt(e,n,vt(t));return"string"==typeof i?I(i):E(M(s.YP,i))}const n=(t=>{if(2!==t.length)return s.YP;const[e,r]=t;if("string"===e.kind&&"object"===r.kind){const t=(0,s.DT)((t=>dt(t.value)))(e);return(0,s.UI)((t=>({prim:t.value,m:r.value})))(t)}return s.YP})(t);if((0,s.pC)(n)){const{prim:t,m:e}=n.value;return E(M(St(t),P(w(e))))}const i=(t=>{if(1!==t.length)return s.YP;const[e]=t;return"object"===e.kind?(0,s.G)({m:e.value}):s.YP})(t);if((0,s.pC)(i)){const{m:t}=i.value;return E(M(s.YP,P(w(t))))}const a=(t=>{if(t.length<1)return s.YP;const[e,...r]=t;if("string"===e.kind){const t=(0,s.DT)((t=>dt(t.value)))(e);return(0,s.UI)((t=>({prim:t.value,rest:r})))(t)}return s.YP})(t);if((0,s.pC)(a)){const{prim:t,rest:e}=a.value;return E(M(St(t),bt(e)))}return E(M(s.YP,bt(t)))},r=t=>"array"===t.kind?(0,z.tS)(r)(t.value):[t];return"null"===t.kind?O({kind:"bottom"}):O(e(r(t)))}function dt(t){const e=t.split("");if(!0==(0===e.length))return!1;{const[t,...r]=e;return-1!=="bpmvn".indexOf(t)&&r.every((t=>-1!=="bpmvn0123456789.".indexOf(t)))}}function mt(t){const e=t.split("");switch(!0){case 0===e.length:return!1;case"w"===e[0]&&void 0===e[1]:return!0;default:{const[t,...r]=e;return-1!=="ux".indexOf(t)&&-1===r.map((t=>!isNaN(parseInt(t)))).indexOf(!1)}}}function gt(t,e,r){switch(t.kind){case"string":return P(r({1:(0,s.G)(t.value),2:e}));case"number":case"null":return A(r({1:"null"===t.kind?s.YP:(0,s.G)(t.value),2:Y(H(e,(([t,e])=>[Number(t),e])),(t=>!isNaN(t[0])))}));default:return"{bad cutoff}"}}function vt(t){const e=t=>e=>C(e[2],e[1],t),r=t=>e=>T(e[2],e[1],t),n=t.split("");switch(!0){case"w"===n[0]&&void 0===n[1]:return t=>R(t[2],t[1]);case"u"===n[0]&&void 0===n[1]:return e(1);case"u"===n[0]&&void 0!==n[1]:return e(parseInt(n.slice(1).join("")));case"x"===n[0]&&void 0===n[1]:return r(1);case"x"===n[0]&&void 0!==n[1]:return r(parseInt(n.slice(1).join("")));default:throw new Error("This should never happen if you use isGroupCommand")}}function St(t){const e=t=>(0,s.Wi)(t.bound)||"add"===t.operation||"mul"===t.operation?(0,s.G)(t):s.YP,r=(t,r,i)=>{const a=((t,r)=>(0,n.zG)(t,(t=>{switch(t){case"p":return(0,s.G)("add");case"m":return(0,s.G)("mul");case"v":return(0,s.G)("max");case"n":return(0,s.G)("min");default:return s.YP}}),s.UI((t=>({operation:t,bound:r}))),s.tS(e)))(t,i);return(0,s.UI)((t=>{const{init:e,rest:n}=(0,z.zT)((t=>{return"number"==typeof(e=parseInt(t))&&isFinite(e)&&Math.floor(e)===e;var e}))(r);return{1:{1:t,2:0===e.length?1:parseInt(e.join(""))},2:n.join("")}}))(a)};return(0,s.UI)(_)((0,N.nI)(ht(t,(t=>{const e=t.split("");if(0===e.length)return s.YP;const[i,...a]=e;if("b"===i){const{init:t,rest:e}=(0,n.zG)(a,(0,z.zT)((t=>-1!=="1234567890.".indexOf(t))));if(0===t.length||0===e.length)return s.YP;const i=parseFloat(t.join("")),[o,...c]=e;return r(o,c,(0,s.G)(i))}return r(i,a,s.YP)}))))}function ht(t,e){const r=e(t);return(0,s.fS)((()=>[]))((0,s.UI)((t=>[t[1]].concat(ht(t[2],e))))(r))}function bt(t){return G(t.map(_t))}function _t(t){switch(t.kind){case"number":return E(t.value);case"string":return I(t.value);case"null":return{kind:"bottom"};case"object":return I("{object}");case"array":return I("{array}")}}var yt=r(925);const Et={strategy:(t,e,r)=>n=>{if((0,s.Wi)(r))return e;if("delta"===t&&(0,s.Wi)(e))return s.YP;if((0,s.Wi)(e))return r;if((0,s.pC)(e)&&(0,s.pC)(r))return n(e.value,r.value);throw new Error("Non exhaustive match in combineCommand.strategy")},operation:(t,e,r,i,a,o)=>{const c=(0,z.pR)(L(o)),u=(0,n.zG)(e.bound,s.EQ((()=>n.yR),(t=>e=>(0,U.VV)(o)(a.fromNumber(t),e))));if("append"===t&&"add"===e.operation)return(0,z.yL)(r,i,Pt("append",(0,n.ls)(a.plus,u)));if("append"===t&&"mul"===e.operation)return(0,z.yL)(r,i,Pt("append",(0,n.ls)(a.times,u)));if("append"===t&&"max"===e.operation)return(0,U.Fp)(c)(r,i);if("join"===t&&"add"===e.operation)return(0,z.yL)(r,i,Pt("join",(0,U.Fp)(o)));if("join"===t&&"mul"===e.operation)return(0,z.yL)(r,i,Pt("join",(0,U.Fp)(o)));if("join"===t&&"max"===e.operation)return(0,U.Fp)(c)(r,i);if("min"===e.operation)return Et.operation(t,{operation:"max",bound:e.bound},r,i,a,function(t){return(0,U.Zt)(((e,r)=>B(t.compare(e,r))))}(o));if("delta"===t&&"max"===e.operation)return(0,U.gt)(c)(r,i)?r:i.map(y);if("delta"===t)return(0,z.yL)(r,i,((t,e)=>(0,U.gt)(L(o))(t,e)?k(t,u):{kind:"bottom"}));throw new Error("Non exhaustive match in combineCommand.operation")},extend:(t,e,r,n)=>{if("delta"===t&&"top"===r.kind&&"top"===n.kind)return(0,U.gt)(D.Df)(r.error,n.error)?I(r.error):{kind:"bottom"};if("delta"===t&&"bottom"===n.kind)return r;if("delta"===t&&"bottom"===r.kind)return{kind:"bottom"};if("top"===r.kind&&"top"===n.kind)return I((0,U.Fp)(D.Df)(r.error,n.error));if("top"===r.kind)return r;if("top"===n.kind)return n;if("inner"===r.kind&&"inner"===n.kind)return e(r.a,n.a);if("bottom"===r.kind)return n;if("bottom"===n.kind)return r;throw new Error("Non exhaustive match in extend")}},It={fromNumber:n.yR,plus:(t,e)=>t+e,times:(t,e)=>t*e};function wt(t,e,r,n){if("unbounded"===t.kind&&"unbounded"===e.kind){const i=t.group,a=e.group;return(0,s.fS)(y)((0,s.UI)((t=>E(w(t))))(F(i,a,r,n)))}if("windowed"===t.kind&&"windowed"===e.kind){const i=t.key,a=t.group,o=e.key,c=e.group,u=(0,U.Fp)((0,s.pR)(n))(i,o);return(0,s.fS)(y)((0,s.UI)((t=>E(R(t,u))))(F(a,c,r,n)))}if("countLimit"===t.kind&&"countLimit"===e.kind){const i=t.n,a=e.n;if(i===a){const a=t.limit,o=t.group,c=e.limit,u=e.group,l=(0,U.Fp)((0,s.pR)(n))(a,c);return(0,s.fS)(y)((0,s.UI)((t=>E(T(t,l,i))))(F(o,u,r,n)))}return I("Non matching counts")}if("uniqueLimit"===t.kind&&"uniqueLimit"===e.kind){const i=t.n,a=e.n;if(i===a){const a=t.limit,o=t.group,c=e.limit,u=e.group,l=(0,U.Fp)((0,s.pR)(n))(a,c);return(0,s.fS)(y)((0,s.UI)((t=>E(C(t,l,i))))(F(o,u,r,n)))}return I("Non matching counts")}return I("Non matching group types")}function Rt(t,e,r){return(0,s.fS)(g)(Tt(t,s.YP)(e,r))}function Tt(t,e){const r=e=>(r,n)=>Et.strategy(t,r,n)(Tt(t,e)),i=(e,n,i)=>{if("stringGroup"===n.kind&&"stringGroup"===i.kind){const t=wt(n.group,i.group,r(e),D.Df);return k(t,(t=>P(At(t,D.Df))))}if("numberGroup"===n.kind&&"numberGroup"===i.kind){const t=wt(n.group,i.group,r(e),K.Df);return k(t,(t=>A(At(t,K.Df))))}if("tuple"===n.kind&&"tuple"===i.kind){const r=(0,s.pC)(e)?e.value:[];return E(G(function(t,e,r,n,i,a){const o=(t,e)=>({1:(0,z.ke)(t)(e).concat((0,z.KB)(Math.max(0,t-e.length),y)),2:(0,z.md)(t)(e)}),c=(e,r,n)=>{if(0===e.length)return Et.operation(t,{operation:"max",bound:s.YP},r,n,i,a);if(e.length>0){const[s,...u]=e,l=o(s[2],r),f=l[1],p=l[2],d=o(s[2],n),m=d[1],g=d[2];return Et.operation(t,s[1],f,m,i,a).concat(c(u,p,g))}throw new Error("Non exhaustive match in recurse")};return(0,z.GY)((0,z.Qp)((t=>"bottom"===t.kind))((0,z.GY)(c(e,r,n))))}(t,r,n.tuple,i.tuple,It,K.Df)))}throw new Error(`Non matching payload. Got ${n.kind} and ${i.kind}`)},a=(t,r)=>{if((0,s.Eh)((0,N.Eh)((0,V.n_)({1:(0,V.n_)({operation:D.Eq,bound:(0,s.Eh)(K.Eq)}),2:K.Eq}))).equals(t.commands,r.commands)){const n=(0,s.Wi)(t.commands)?e:t.commands,a=i(n,t.payload,r.payload);return k(a,(e=>M(t.commands,e)))}if(a=t.commands,o=r.commands,(0,s.Eh)((0,N.Eh)((0,V.n_)({1:(0,V.n_)({operation:D.Eq}),2:K.Eq}))).equals(a,o)){const a=(0,n.zG)(((t,e)=>(0,n.zG)((0,yt.gz)(s.G5)(t,e),(0,s.UI)((([t,e])=>N.yL(t,e,((t,e)=>({1:{operation:t[1].operation,bound:(0,n.zG)((0,yt.gz)(s.G5)(t[1].bound,e[1].bound),s.UI((([t,e])=>Math.min(t,e))),s.wp((()=>t[1].bound)),s.wp((()=>e[1].bound)))},2:t[2]})))))))(t.commands,r.commands),s.wp((()=>e))),o=i(a,t.payload,r.payload);return k(o,(t=>M(a,t)))}throw new Error(`Non matching primitive strings. Got ${nt(t)} and ${nt(r)}`);var a,o};return(e,r)=>it(O(Et.extend(t,a,pt(e).state,pt(r).state)))}function Ct(t,e,r){const n=(0,s.UI)((e=>Y(t,(([t,n])=>(0,U.gf)(r)(t,e)))))(e);return(0,s.fS)((()=>t))(n)}function At(t,e){switch(t.kind){case"unbounded":return t;case"windowed":return(0,s.Wi)(t.key)?t:R(Ct(t.group,t.key,e),t.key);case"countLimit":{const r=t.limit,n=t.n,i=t.group,a=W(n,i,((t,e)=>e<=1?s.YP:(0,s.G)(e-1)),e),o=(0,U.Fp)((0,s.pR)(e))(r,a);return T(Ct(i,o,e),o,n)}case"uniqueLimit":{const r=t.limit,n=t.n,i=t.group,a=(t,e)=>{if("object"===t.kind){const r=[...t.value.keys(),...e.keys()],i=new Set(r);return i.size>=n?s.YP:(0,s.G)(i)}return s.YP},o=W(new Set,i,a,e),c=(0,U.Fp)((0,s.pR)(e))(r,o);return C(Ct(i,c,e),c,n)}}}function Pt(t,e){return(r,n)=>Et.extend(t,((t,r)=>E(e(t,r))),r,n)}function Gt(t,e){return Rt("append",t,e)}function Ot(t,e){return Rt("join",t,e)}var Mt=r(54),Ut=r(491),Dt=r(716),kt=r(543),Lt=r(560),Nt=r(219);function zt(t,e){return function(r){return t.map(r,e.compact)}}function qt(t,e,r){var i=zt(t,e),a=(0,Lt.UI)(t,r);return function(t){return Nt.s4(i((0,n.zG)(t,a(s.IS))),i((0,n.zG)(t,a(s.EK))))}}function Bt(t,e){return function(r){return function(n){return t.map(n,(function(t){return e.filter(t,r)}))}}}function xt(t,e){return function(r){return function(n){return t.map(n,(function(t){return e.filterMap(t,r)}))}}}function Ft(t,e){var r=Bt(t,e);return function(t){var e=r((0,Ut.ff)(t)),n=r(t);return function(t){return(0,Nt.s4)(e(t),n(t))}}}function Wt(t,e){var r=xt(t,e);return function(t){return function(e){return(0,Nt.s4)((0,n.zG)(e,r((function(e){return(0,s.IS)(t(e))}))),(0,n.zG)(e,r((function(e){return(0,s.EK)(t(e))}))))}}}var Ht=r(395),Yt=r(272),Vt=r(963);function Kt(t){return(0,n.ls)(s.G,t.of)}function Qt(t){return(0,n.a9)(t.of(s.YP))}function jt(t){return function(e){return t.map(e,s.G)}}function Xt(t){return(0,n.ls)(s.ij,t.of)}function Jt(t){var e=Xt(t);return function(t){return(0,n.ls)(t,e)}}function $t(t){var e=ce(t),r=Jt(t);return function(t){return e(r(t))}}function Zt(t){return function(e){return(0,n.ls)(e,t.of)}}function te(t){var e=ce(t),r=Zt(t);return function(t){return e(r(t))}}function ee(t){return function(e){return function(r){return t.of(s.DT(e)(r))}}}function re(t){return(0,n.ls)(s.Uo,t.of)}function ne(t){return function(e,r){return function(n){return t.map(n,s.EQ(e,r))}}}function ie(t){return function(e,r){return function(n){return t.chain(n,s.EQ(e,r))}}}function ae(t){return function(e){return function(r){return t.chain(r,s.EQ(e,t.of))}}}function se(t){return(0,Lt.UI)(t,s.dO)}function oe(t){return(0,yt.ap)(t,s.G5)}function ce(t){var e=Qt(t);return function(r){return function(n){return t.chain(n,s.EQ((function(){return e()}),r))}}}function ue(t){var e=Kt(t);return function(r){return function(n){return t.chain(n,s.EQ(r,e))}}}var le=r(940),fe=Kt(le.PM),pe=(le.PM,le.of),de=(le.PM,function(t){return me(le.tD(t))}),me=jt(le.dO),ge=le.UI(s.Uo),ve=(le.dO,ie(le.qo)),Se=(le.UA,le.PM,le.PM,le.UA,le.PM,te(le.UA)),he=se(le.dO),be=oe(le.Hi),_e=fe,ye=ce(le.UA),Ee=(le.UA,le.PM,le.dO,s.Ri,le.dO,s.Ri,s.dO,Bt(le.dO,s.xu)),Ie=(le.dO,s.xu,le.dO,s.xu,le.dO,s.xu,function(t,e){return(0,n.zG)(t,he(e))}),we=function(t,e){return(0,n.zG)(t,be(e))},Re=function(t,e){return(0,n.zG)(t,ye(e))},Te="TaskOption",Ce={URI:Te,map:Ie},Ae={URI:Te,map:Ie,ap:we,chain:Re},Pe={URI:Te,fromIO:de},Ge=(0,Ht.At)(Pe,Ae),Oe={URI:Te,fromIO:de,fromTask:me},Me=(0,Yt.wt)(Oe),Ue=(0,Yt.oU)(Oe,Ae),De=(Vt.F4,(0,Lt.Hr)(Ce)),ke=(0,kt.a)(Ae),Le=(Vt.Xl,Kt(p.PM)),Ne=(p.PM,p.of,p.PM,p.dO,s.Uo,p.dO,p.qo,p.UA,p.UI(s.FS),p.UI(s.WG),p.PM,p.PM,p.UA,p.PM,p.UA,p.dO,p.G5,Le),ze=(p.UA,ue(p.UA)),qe=(p.PM,p.dO,s.Ri,p.dO,s.Ri,s.dO,p.dO,s.xu,p.dO,s.xu,p.dO,s.xu,p.dO,s.xu,Vt.F4,Vt.Xl,r(583));const Be=new Set(["AdRequest","Reaction","PageviewEngagement","SegmentEntry","SegmentExit"]),xe=t=>i.dQ((e=>{let{previousState:r}=e;const[i,o]=a.Ue(!1);const[c,u]=a.gS({empty:s.YP,concat:(t,e)=>(0,n.zG)(qe.oA([t,e]),s.DT(qe.Od),s.UI((t=>t.reduce(((t,e)=>({...t,...e}))))))}),l=(0,n.zG)((0,m.Kn)(r)?r:{},(0,m.rO)({stateOffset:(0,n.ls)(s.DT(m.BJ),s.fS((()=>0))),fetchUnseenKey:(0,n.ls)(s.DT(m.HD),s.fS((()=>"")))})),f=(0,n.zG)(a.gS(s.uZ({concat:function(t,e){return Object.assign({},t,e)}})),(e=>{let[r,i]=e;return(0,n.zG)(a.vP(t.lastProcessedEvents,t.internalStateDiff,t.queryLanguageProcessing),a.bw((t=>{let[e,r,n]=t;if(n)return;return e().filter((t=>!Be.has(t.name))).length>0?i(r()):void 0}))),(0,n.zG)(a.vP({internalStateDiff:r,internalStateMap:t.internalStateMap}),a.D8(((t,e)=>t.internalStateDiff===e.internalStateDiff)))})),p=(0,n.zG)(a.vP(t.sessionId,f,i),a.Rp(a.a9({...l,inFlightRequest:!1,previousDecodedState:(0,n.zG)(t.internalStateMap.current,We,X,q.fS((()=>b(new Map)))),sendFullStateWithUnseen:!1}),((e,r)=>{let[i,{internalStateDiff:o,internalStateMap:c},l]=r;return(0,n.zG)(e,a.VS((e=>{if(e.inFlightRequest)return a.a9(e);const r=!l&&e.sendFullStateWithUnseen,f=r||!t.groupIdIsNewlyGenerated&&i!==e.fetchUnseenKey;return(0,n.zG)(r?Ne(c):o,ze((()=>()=>(0,n.zG)({},s.DT((()=>f))))),le.tD,ye((0,n.ls)(Ye(e.previousDecodedState),Dt.Vn((0,m.bw)((e=>t.logger.error(e)))),ge)),ve((()=>le.of({...e,inFlightRequest:!1})),(0,n.ls)(le.of,le.ak("processed",(r=>(0,n.zG)(t,Fe({delta:r.delta,stateOffset:e.stateOffset,fetchUnseen:f}),le.UI((0,m.bw)((0,n.ls)(s.UI((0,m.vg)("stateDelta")),s.hX(Ut.ff(Mt.xb)),u)))))),le.UI((t=>({fetchUnseenKey:i,inFlightRequest:!1,sendFullStateWithUnseen:e.sendFullStateWithUnseen&&!r,previousDecodedState:t.decodedState,stateOffset:(0,n.zG)(t.processed,s.UI((t=>t.response.state_offset)),s.fS((()=>e.stateOffset)))}))))),a.fF,a.UI(s.fS((()=>({...e,inFlightRequest:!0})))))})))})),a.xH,a.UI((t=>({stateOffset:t.stateOffset,fetchUnseenKey:t.fetchUnseenKey}))),a.D8((0,V.MW)({stateOffset:K.Eq,fetchUnseenKey:D.Eq})));return{state:p,value:{externalStateDelta:c}}})),Fe=t=>e=>(0,n.zG)(t,s.DT((t=>t.fetchUnseen||Ut.ff(Mt.xb)(t.delta))),pe,ye((t=>{return(0,n.zG)(e,(r={event_source_id:e.eventSourceId,fetch_unseen:t.fetchUnseen,group_id:e.groupId,last_seen_offset:t.stateOffset,state:t.delta},t=>Dt.Y3((()=>t.permutiveApi.req({url:t.permutiveUrls.getEndpointUrl("/state",s.G("v1.0"),[["fetch_unseen",JSON.stringify(r.fetch_unseen)]]),method:"POST",payload:{group_id:r.group_id,event_source_id:r.event_source_id,state:JSON.stringify(r.state),last_seen_offset:r.last_seen_offset},contentType:"text/plain",dataType:"json",withCredentials:!1})),(t=>`Error sending state delta. Got ${q.KC(t)}`))),Dt.Vn((0,m.bw)((t=>e.reportError(t)))),ge,Ee((t=>!!t)),Se((0,n.ls)(q.of,q.YO("response"),q.ak("stateDelta",(t=>{return e=t.response.state,(0,q.Y3)((function(){return JSON.parse(e)}),n.yR);var e})),q.Vn((0,m.bw)((t=>e.reportError(`Failed to parse State API response, got ${t}`)))),s.Uo)));var r}))),We=t=>(0,m.b0)(t,((t,e)=>e.state?s.G({[e.checksum]:e.state}):s.YP)),He=t=>e=>{const r=(0,n.zG)(e,We,X,q.fS((()=>b(new Map))),(e=>Rt("delta",e,t)));return{decodedState:Ot(r,t),delta:(0,n.zG)(r,j,s.ij,s.fS((()=>({}))))}},Ye=t=>e=>()=>new Promise((r=>(0,d.HJ)((()=>(0,n.zG)(e,q.it(He(t),(t=>`Failed to compute delta for state sync. Got ${t}`)),r)))));r(511),Mt.dp;var Ve=Mt.xb,Ke=function(t){return function(e){return Object.keys(e).sort(t.compare)}};D.Df;Mt.dx,Mt.e$;Mt.Bu,Mt.P5,Mt.Su;var Qe=Mt.UI;Mt.ri;function je(t){return Mt.vP(t)}Mt._r;Mt.jt;Mt.yW,Mt.G,Mt.t9;var Xe=Mt.HA,Je=(Mt.nn,Mt.kp),$e=Mt.CC,Ze=Mt.RF,tr=(Mt.I8,Mt.mS,Mt.RJ,Mt._Y,Mt.V_),er=Mt.EW,rr=Mt.nu,nr=(Mt.SW,Mt.zV,Mt.Ub,Mt.vA,Mt.qS),ir=(Mt.mK,function(t){return function(e){var r=Ke(t);return function(t,n){var i=r(t);if(0===i.length)return e.of({});for(var a=e.of({}),s=function(r){a=e.ap(e.map(a,(function(t){return function(e){return t[r]=e,t}})),n(r,t[r]))},o=0,c=i;o<c.length;o++){s(c[o])}return a}}}),ar=Mt.hX;Mt.DZ,Mt.uK,Mt.tV;Mt.oA,Mt.oh;var sr="Record";var or=Mt.Eh,cr=(Mt.uZ,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,Mt.nr,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,D.Df,r(865)),ur=r(350),lr=function(t){return function(e){return[void 0,t(e)]}},fr=function(t){return function(e){return[t(e),e]}},pr=function(t,e){return(0,n.zG)(t,gr(e))},dr=function(t,e){return(0,n.zG)(t,vr(e))},mr=function(t,e){return(0,n.zG)(t,hr(e))},gr=function(t){return function(e){return function(r){var n=e(r),i=n[0],a=n[1];return[t(i),a]}}},vr=function(t){return function(e){return function(r){var n=e(r),i=n[0],a=n[1],s=t(a),o=s[0],c=s[1];return[i(o),c]}}},Sr=function(t){return function(e){return[t,e]}},hr=function(t){return function(e){return function(r){var n=e(r),i=n[0],a=n[1];return t(i)(a)}}},br="State",_r={URI:br,map:pr},yr={URI:br,map:pr,ap:dr},Er=(0,yt.N)(yr),Ir=(0,yt.a1)(yr),wr={URI:br,map:pr,ap:dr,of:Sr},Rr={URI:br,map:pr,ap:dr,chain:mr},Tr=(0,kt.m)(Rr),Cr=(n.yR,(0,Lt.YO)(_r)),Ar=(0,kt.a)(Rr),Pr=function(t){var e=function(t){return function(e){return function(r){for(var n=t(0,Vt.YM(e))(r),i=[n[0]],a=n[1],s=1;s<e.length;s++){var o=t(s,e[s])(a),c=o[0],u=o[1];i.push(c),a=u}return[i,a]}}}(t);return function(t){return Vt.Od(t)?e(t):Sr(Vt.Xl)}},Gr=function(t){return Pr((function(e,r){return t(r)}))},Or=Gr(n.yR);const Mr=t=>({aggregations:{PageviewEngagement:{engaged_time:0},SegmentEntry:new Set,SegmentExit:new Set,CohortEntry:new Set,CohortExit:new Set},customProperties:{},sessionId:t.sessionId,viewId:t.viewId}),Ur=t=>e=>{const r=new Set(e);return r.add(t),r},Dr=t=>e=>{const r=new Set(e);return r.delete(t),r},kr=t=>[...t];var Lr,Nr,zr=r(277);!function(t){t.init=function(t){return t&&"object"==typeof t&&"externalStateMap"in t&&"internalStateMap"in t?t:{externalStateMap:s.YP,internalStateMap:{},migrationVersion:gn}}}(Lr||(Lr={})),function(t){t.sequenceNonEmptyArray=t=>{if(1===t.length)return t[0];const e=(0,n.bc)([],{},[]);for(const r of t){e[0].push(...r[0]);for(const t in r[1])e[1][t]=r[1][t];e[2].push(...r[2])}return e},t.sequenceArray=e=>(0,n.zG)(e,s.DT(qe.Od),s.UI(t.sequenceNonEmptyArray)),t.empty=[qe.cS,Mt.cS,qe.cS],t.ofOutputEvent=t=>[qe.cS,Mt.cS,[t]]}(Nr||(Nr={}));const qr=t=>mn((e=>(0,n.zG)(Br((t=>({...t,getCurrentSession:()=>e.environment.sessionId,getCurrentView:()=>e.environment.viewId}))),hr((()=>{return Or([xr(t),Yr(e.environment.thirdPartyData),(i=e.environment.lookalikeModels,(0,n.zG)((function(t){return[t,t]}),hr((t=>cn.equals(t.lal,i)?Sr(qe.cS):(0,n.zG)(lr((0,m.rO)({lal:(0,n.a9)(i)})),Er(Br(function(t){const e=(0,n.zG)(t,s.fS((()=>({}))));return t=>({...t,getLookalikeModels:()=>e})}(i))),hr((()=>(0,n.zG)(qe.Yo(i),Gr((()=>jr("updateLAL"))),gr(qe.xH))))))))),(0,n.zG)(e.externalStateDelta,s.UI(Qr),s.fS((()=>Sr(qe.bM())))),(r=e.cloudLiftedState,(0,n.zG)(r,qe.tS((t=>Object.entries(t))),Gr((t=>{let[e,r]=t;return fr((t=>(0,n.bc)(e,t.queries.runtime.cloudLiftedQueries[e],r)))})),hr((t=>$r(q.F2(t)))))),Xr(e.newEvents)]);var r,i})),gr((0,n.ls)(qe.xH,s.DT(qe.Od),s.tS(Nr.sequenceArray))),(t=>e=>{let[r,i]=t(e);if(s.pC(r)){let t=r.value,e=0;for(;t[2].length>e;)e=t[2].length,[t,i]=(0,n.zG)(i,(0,n.zG)(Xr(t[2]),gr((e=>Nr.sequenceNonEmptyArray([t,...e])))));r=s.G(t)}return(0,n.bc)(r,i)}),dn(t,"query_language_process_duration")))),Br=t=>lr((0,m.rO)({effects:t}));function xr(t){return(0,n.zG)((function(t){return[t,t]}),hr((e=>{let{bootstrapped:r,effects:i,eventsForReplay:a}=e;return r?Sr(qe.cS):(0,n.zG)(lr((t=>({...t,bootstrapped:!0,eventsForReplay:[]}))),Tr(Fr),hr((()=>(0,n.zG)(a,qe.R3(pn(i)),Gr(Jr("bootstrap")),gr(qe.xH)))),dn(t,"query_language_bootstrap_duration"))})))}const Fr=()=>lr((t=>(0,n.zG)(t.invalidatedQueries,qe.EQ((()=>t),Wr(t))))),Wr=t=>e=>{const r=(0,n.zG)(e,qe.UI((e=>(0,n.bc)(e,{checksum:t.queries.metadata[e]}))),(t=>Object.fromEntries(t)));return(0,n.zG)(t,(0,m.rO)({persistentState:(0,m.rO)({internalStateMap:t=>({...r,...t})})}))},Hr=(0,n.zG)(fr((t=>t.tpdQueries)),hr(s.EQ((()=>(0,n.zG)(fr((t=>new Set([...t.queries.runtime.queriesByEvent["!UpdateSecondPartyData"]||[],...t.queries.runtime.queriesByEvent["!UpdateThirdPartyData"]||[]]))),Tr((t=>lr((0,m.rO)({tpdQueries:()=>s.G(t)})))))),Sr)));function Yr(t){const e=(0,n.zG)(t,s.UI(o.li));return(0,n.zG)((function(t){return[t,t]}),hr((r=>{if(s.Eh(K.Eq).equals(e,r.tpdHashInEffectsObject))return Sr(qe.cS);const i=s.FS(e);return(0,n.zG)(lr((0,m.rO)({persistentState:(0,m.rO)({tpdHash:(0,n.a9)(i)}),tpdHashInEffectsObject:(0,n.a9)(e),tpdReady:(0,n.a9)(s.pC(t))})),gr((()=>(0,n.zG)(t,s.UI(o.Yg)))),Tr((t=>Br(function(t){const e=un((()=>(0,n.zG)(t,s.fS((()=>({"3p":{}}))))));return t=>{const r=un((()=>({...e(),...t.get1PSegments()})));return{...t,getSegments:r,getSegmentsArray:un((()=>fn(r()))),get3PSegments:e}}}(t)))),hr(s.fw(wr)((()=>(0,n.zG)(r.tpdEventsToProcess,qe.EQ((()=>i!==r.persistentState.tpdHash?jr("updateTPD"):Sr(qe.cS)),(0,n.ls)(Gr(Jr("updateTPD")),Er(lr((t=>({...t,tpdEventsToProcess:[]})))),gr(qe.xH))))))),gr(s.fS((()=>qe.bM()))))})))}const Vr=t=>Mt.jt(((e,r)=>(0,n.zG)(Mt.P5(e,t.metadata),s.tS((t=>Mt.P5(t,r))),s.tS((r=>(0,n.zG)(Mt.P5(e,t.runtime.locallyLiftedQueries),s.wp((()=>Mt.P5(e,t.runtime.cloudLiftedQueries))),s.NG((t=>t.compact(r)))))),s.tS((0,n.ls)(X,s.Uo))))),Kr=(t,e)=>{if(Mt.xb(t))return e;if(Mt.xb(e))return t;const r={...t};for(const t in e)r[t]=(0,n.zG)(s.ij(r[t]),s.EQ((()=>e[t]),(r=>(0,n.zG)(s.Y3((()=>Ot(r,e[t]))),s.fS((()=>e[t]))))));return r};function Qr(t){return(0,n.zG)(fr((e=>(0,n.zG)(t,Vr(e.queries),(t=>(0,n.zG)(e.persistentState.externalStateMap,s.UI(Mt.DZ((0,n.ls)(X,s.Uo))),s.EQ((()=>t),(e=>Kr(e,t))))),Mt.UI(j)))),hr((t=>lr((0,m.rO)({persistentState:(0,m.rO)({externalStateMap:(0,n.a9)(s.G(t))})})))),hr((()=>jr("updateExternalState"))))}function jr(t){return(0,n.zG)(fr((t=>pn(t.effects))),hr(Jr(t)))}function Xr(t){return(0,n.zG)(t,qe.EQ((()=>Sr(qe.bM())),(0,n.ls)(en,hr(Gr((t=>{let[e,r]=t;return(0,n.zG)(r,Jr(e))}))),gr(qe.xH))))}function Jr(t){return(0,n.ls)(Sr,Tr((t=>"Pageview"!==t.name?Sr(void 0):lr((0,m.rO)({pageviewProperties:(0,n.a9)(t.properties)})))),"bootstrap"===t?n.yR:Tr((t=>{return lr((0,m.rO)({unprocessedPageviewComplete:(e=t,t=>{switch(e.name){case"Pageview":return e.view_id!==t.viewId?t:{...t,customProperties:e.properties};case"SegmentEntry":{const r=e.properties.segment_number;return(0,n.zG)(t,(0,m.rO)({aggregations:t=>t.SegmentExit.has(r)?(0,n.zG)(t,(0,m.rO)({CohortExit:Dr(String(r)),SegmentExit:Dr(r)})):(0,n.zG)(t,(0,m.rO)({CohortEntry:Ur(String(r)),SegmentEntry:Ur(r)}))}))}case"SegmentExit":{const r=e.properties.segment_number;return(0,n.zG)(t,(0,m.rO)({aggregations:t=>t.SegmentEntry.has(r)?(0,n.zG)(t,(0,m.rO)({CohortEntry:Dr(String(r)),SegmentEntry:Dr(r)})):(0,n.zG)(t,(0,m.rO)({CohortExit:Ur(String(r)),SegmentExit:Ur(r)}))}))}case"PageviewEngagement":{if(e.view_id!==t.viewId)return t;const r=e.properties;return(0,n.zG)(t,(0,m.rO)({aggregations:(0,m.rO)({PageviewEngagement:()=>({engaged_time:r.total_engaged_time,completion:r.total_completion})})}))}default:return t}})}));var e})),Tr((t=>{return an(t)?Br((e=t.properties.segment_number,r="SegmentEntry"===t.name,t=>{return(0,n.zG)(t,(i={"1p":{...t.get1PSegments()["1p"],[e]:r}},t=>{const e=un((()=>({...i,...t.get3PSegments()})));return{...t,getSegments:e,getSegmentsArray:un((()=>fn(e()))),get1PSegments:()=>i}}));var i})):Sr(void 0);var e,r})),Cr("event"),Ar("queriesToProcess",(e=>{let{event:r}=e;return function(t,e){return(0,n.zG)((function(t){return[t,t]}),Cr("state"),Ar("tpdQueriesToReject",(t=>{let{state:{tpdReady:e}}=t;return e?Sr(s.bM()):(0,n.zG)(Hr,gr(s.DT((t=>t.size>0))))})),hr((r=>{let{state:i,tpdQueriesToReject:a}=r;const o=(0,n.zG)(a,s.UI((t=>qe.hX((e=>!t.has(e))))),s.fS((()=>t=>t)));switch(t){case"bootstrap":return Sr((0,n.zG)(i.queriesForReplay,o));case"event":const t=i.tpdReady?Sr(void 0):lr((0,m.rO)({tpdEventsToProcess:qe.R3(e)}));return(0,n.zG)(Sr(i.locallyLiftedQueriesByEvent[e.name]||[]),gr(o),Er(t));case"lookalikeTransition":return Sr(i.locallyLiftedQueriesByEvent[e.name]||[]);case"transition":const r=i.locallyLiftedQueriesByEvent[e.name]||[];if(s.pC(i.lal)){const t=i.locallyLiftedQueriesByEvent["!UpdateLookalikeModels"]||[];return Sr(r.concat(t))}return Sr(r);case"updateExternalState":return Sr((0,n.zG)(i.persistentState.externalStateMap,s.fS((()=>({}))),Mt.XP));case"updateLAL":return Sr(i.locallyLiftedQueriesByEvent["!UpdateLookalikeModels"]||[]);case"updateTPD":return Sr([...i.locallyLiftedQueriesByEvent["!UpdateSecondPartyData"]||[],...i.locallyLiftedQueriesByEvent["!UpdateThirdPartyData"]||[]]);default:return Sr([])}})))}(t,r)})),hr((e=>{let{event:r,queriesToProcess:i}=e;return(0,n.zG)(i,qe.EQ((()=>Sr(qe.bM())),(e=>(0,n.zG)(fr((e=>"bootstrap"!==t?e.effects:{...e.effects,getCurrentTime:()=>r.time,getCurrentView:()=>r.view_id,getCurrentSession:()=>r.session_id})),hr((t=>(0,n.zG)(fr((t=>(0,n.zG)(e,qe.DZ((e=>(0,n.zG)(Mt.P5(e,t.queries.runtime.locallyLiftedQueries),s.wp((()=>Mt.P5(e,t.cloudLiftQueriesForReplay))),s.UI((t=>(0,n.bc)(e,t))))))))),hr((e=>$r(q.t$((0,n.bc)(e,r)),t))))))))))})))}const $r=(t,e)=>(0,n.zG)(t,q.EQ((t=>{let[r,i]=t;return(0,n.zG)(r,Gr((t=>{let[r,n]=t;return Zr(r,q.t$([n,i]),e)})))}),Gr((t=>{let[e,r,n]=t;return Zr(e,q.F2([r,n]))}))),gr(Nr.sequenceArray),Tr(s.fw(wr)((t=>{let[,e]=t;return lr((0,m.rO)({persistentState:(0,m.rO)({internalStateMap:t=>({...t,...e})})}))}))),gr(qe.Yo)),Zr=(t,e,r)=>(0,n.zG)(fr(q.it((i=>{var a,c,u;const l=r??i.effects,f=(0,n.zG)(e,q.EQ(o.li,o.li)),[p,d]=(0,n.zG)(e,q.aD((t=>{let[e,r]=t;return(0,n.bc)(e.lift(r,l),on({null:null,encode:n.yR,decode:q.of,append:e.append}))}),(t=>{let[,e]=t;return(0,n.bc)(e,on(sn()))}))),m=(0,n.zG)(i.persistentState.externalStateMap,s.tS(Mt.P5(t))),g=i.persistentState.internalStateMap[t]||{checksum:i.queries.metadata[t]},v=d(t,l,f,g,m,p),S=Boolean(null===(a=v.result)||void 0===a?void 0:a.result)!==Boolean(null===(c=i.persistentState.internalStateMap[t])||void 0===c||null===(u=c.result)||void 0===u?void 0:u.result),h=(0,n.zG)(qe.lo(S),qe.UI((()=>{var e;return{name:null!==(e=v.result)&&void 0!==e&&e.result?"SegmentEntry":"SegmentExit",time:l.getCurrentTime(),view_id:l.getCurrentView(),session_id:l.getCurrentSession(),properties:{...i.pageviewProperties,segment_number:Number(t)}}})));return(0,n.bc)(v,h)}),(e=>`Failed to interpret query ${t}. Got ${e}`))),hr(q.EQ((t=>Sr([[t],Mt.cS,qe.cS])),(e=>{let[r,i]=e;return(0,n.zG)(r.dropExternalState?tn(t):Sr(void 0),gr((()=>[qe.cS,{[t]:r},i])))})))),tn=t=>lr((0,m.rO)({persistentState:(0,m.rO)({externalStateMap:s.UI(Mt.EG(t))})}));function en(t){const e=t=>e=>(0,n.bc)(t,e);return fr((r=>(0,n.zG)(t,qe.pO(ur.aL(((t,e)=>{const r=an(t);return(0,n.zG)(e,qe.zT((t=>an(t)===r)),(t=>{let{init:e,rest:r}=t;return(0,n.bc)(e,r)}),(0,o.pL)(((t,e)=>r=>(0,n.bc)(t,(0,n.zG)(r,qe.Ce(e))))(r,t)))}))),qe.tS((t=>{let[i,a]=t;if(!i)return(0,n.zG)(a,qe.UI(e("event")));const s=(0,n.zG)(a,qe.yW((t=>r.lookalikeTransitionSegmentNumbers.has(t.properties.segment_number))),(t=>t?"lookalikeTransition":"transition"));return(0,n.zG)(a,ur.ut(((t,r)=>(0,n.zG)(t,qe.UI(e("event")),qe.R3((0,n.zG)(r,e(s)))))))})))))}const rn=(0,n.ls)(Mt.hX((t=>{var e;return Boolean(null===(e=t.result)||void 0===e?void 0:e.result)})),Mt.XP,qe.UI(parseInt)),nn=(0,n.ls)(Qe((t=>t.activations??{})),ar((0,n.zG)(Boolean,(0,Ut.xD)((0,Ut.ff)(Ve)))));function an(t){var e;return("SegmentEntry"===t.name||"SegmentExit"===t.name)&&void 0!==(null===(e=t.properties)||void 0===e?void 0:e.segment_number)}const sn=()=>({null:{kind:"null",value:null},encode:j,decode:X,append:Gt}),on=t=>(e,r,i,a,o,c)=>{const u={...a.activations},l={...r,setSegmentActivation:(t,r,n)=>{if(n!=e)throw new Error(`QL called setSegmentActivation for query ${n} while interpreting query ${e}`);t in u?u[t].includes(r)||(u[t]=[...u[t],r]):u[t]=[r]}},f=s.ij(a.state),p=s.ij(c),d=(0,n.zG)((0,yt.gz)(s.G5)(f,p),s.UI((e=>{let[r,i]=e;const a=(0,n.zG)(t.decode(r),q.fS((()=>t.null))),s=(0,n.zG)(t.decode(i),q.fS((()=>t.null)));try{return q.F2(t.append(a,s))}catch(t){throw(0,cr.w)(`Failed to append lifted event ${JSON.stringify(i)} to internal state ${JSON.stringify(r)}. Got ${t}`)}})),s.Gk((()=>(0,n.zG)(f,s.wp((()=>p)),s.UI(q.t$))))),g=(0,n.zG)(d,s.UI(q.EQ(n.yR,t.encode)),s.tS(s.ij)),{overallState:v,dropExternalState:S}=(0,n.zG)((0,yt.gz)(s.G5)(d,o),s.UI((e=>{let[r,i]=e;return(0,n.zG)(s.Uo(t.decode(i)),s.tS((e=>(0,n.zG)(r,q.vx(t.decode),q.fS((()=>t.null)),s.it((r=>t.append(r,e)))))),s.EQ((()=>({overallState:g,dropExternalState:!0})),(e=>({overallState:s.ij(t.encode(e)),dropExternalState:!1}))))})),s.fS((()=>(0,n.zG)(g,s.Gk((()=>o)),(t=>({overallState:t,dropExternalState:!1}))))),(0,m.rO)({overallState:s.WG})),h=i.interpret(v,l);return{checksum:a.checksum,...(0,n.zG)(g,s.aD((()=>({})),(t=>({state:t})))),...!1===h.result?{}:{result:h},...Ve(u)?{}:{activations:u},...!1===S?{}:{dropExternalState:S}}},cn=s.Eh({equals:(t,e)=>t===e});function un(t){let e,r=!1;return()=>(r||(e=t(),r=!0),e)}function ln(t){const e=un((()=>(0,n.zG)(t,Mt.hX((t=>{var e;return Boolean(null===(e=t.result)||void 0===e?void 0:e.result)})),Mt.UI((()=>!0)),(t=>({"1p":t}))))),r={"3p":{}},i=un((()=>({...e(),...r})));return{getSegments:i,getSegmentsArray:un((()=>fn(i()))),get1PSegments:e,get3PSegments:()=>r}}function fn(t){return Object.keys(t).reduce(((e,r)=>{const n=Object.keys(t[r]),i=[];return n.forEach((e=>{!0===t[r][e]&&i.push(e)})),e[r]=i,e}),{})}const pn=t=>({name:"",properties:{},session_id:t.getCurrentSession(),view_id:t.getCurrentView(),time:t.getCurrentTime()}),dn=(t,e)=>r=>n=>{const i=t.startSpan(e),a=r(n);return i.finish(),a},mn=t=>e=>(0,n.zG)(lr((0,m.rO)({unprocessedPageviewComplete:(0,n.ls)(s.DT((t=>t.viewId===e.environment.viewId)),s.fS((()=>Mr(e.environment))))})),Ir(fr((t=>(0,n.zG)(s.ij(t.persistentState.unprocessedPVC),s.hX((t=>t.view_id!==e.environment.viewId)),s.UI(zr.k))))),Cr("flushedPvc"),Ar("processingResult",(r=>{let{flushedPvc:i}=r;return t({...e,newEvents:(0,n.zG)(i,s.EQ((()=>e.newEvents),(t=>[...e.newEvents,t])))})})),Tr((()=>lr((t=>{return{...t,persistentState:{...t.persistentState,unprocessedPVC:(0,zr.X)((e=new Date,r=t.unprocessedPageviewComplete,{name:"PageviewComplete",time:e,session_id:r.sessionId,view_id:r.viewId,properties:{...r.customProperties,aggregations:(0,n.zG)(r.aggregations,(0,m.rO)({SegmentEntry:kr,SegmentExit:kr,CohortEntry:kr,CohortExit:kr}))}}))}};var e,r})))),gr((t=>{let{flushedPvc:e,processingResult:r}=t;const i=(0,n.zG)(e,s.UI(Nr.ofOutputEvent));return(0,n.zG)((0,yt.gz)(s.G5)(i,r),s.UI(Nr.sequenceNonEmptyArray),s.wp((()=>i)),s.wp((()=>r)))}))),gn=2,vn=t=>e=>{const r=e.migrationVersion??(e.stateIsCompact?1:0);return(0,n.zG)([Sn,hn],qe.md(r),qe.EQ((()=>e),(0,n.ls)(qe.OV(t),qe.u4(e,((t,e)=>e(t))),(0,m.rO)({migrationVersion:()=>gn}))))},Sn=t=>(0,m.rO)({externalStateMap:s.UI(Mt.jt(((e,r)=>(0,n.zG)(Mt.P5(e,t.locallyLiftedQueries),s.wp((()=>Mt.P5(e,t.cloudLiftedQueries))),s.NG((t=>t.compact(r))))))),internalStateMap:Mt.Su(((e,r)=>{if(null==(null==r?void 0:r.state))return r;const n=t.locallyLiftedQueries[e]||t.cloudLiftedQueries[e];return{...r,state:n.compact(r.state)}}))}),hn=t=>{const e=new Set(t.queriesByEvent.PageviewEngagement??[]),r=new Set(t.queriesByEvent.PageviewComplete??[]);return(0,m.rO)({internalStateMap:Mt.z7((0,Ut.ff)((t=>e.has(t)&&r.has(t))))})},bn=(t,e)=>Mt.xb(e)?t:(0,n.zG)(t,Mt.z7((t=>!(t in e))));var _n=r(569),yn=r(878);const En=()=>t=>((0,n.zG)(t,a.UI((t=>t()))),a.a9({newResults:p.of(qe.cS),pendingEvents:qe.cS})),In=()=>()=>Dt.of((()=>({}))),wn=t=>[t,le.of(t)],Rn=o.li,Tn=o.Yg,Cn=t=>e=>(0,n.zG)(Tn(e),(e=>()=>new Promise((r=>{const n=e();n.then(s.G).then(r);const i=(0,d.HJ)((()=>r(s.YP)),t);n.then(i)})))),An="RefEventual",Pn=a.UI(wn),Gn=t=>a.a9(wn(t)),On=t=>e=>a.vP((0,n.zG)(e,a.UI(Rn),a.UI(t)),(0,n.zG)(e,a.UI(Tn),a.UI(le.UI(t)))),Mn=t=>e=>a.vP((0,n.zG)(a.vP((0,n.zG)(t,a.UI(Rn)),(0,n.zG)(e,a.UI(Rn))),a.UI((t=>{let[e,r]=t;return r(e)}))),(0,n.zG)(a.vP((0,n.zG)(t,a.UI(Tn)),(0,n.zG)(e,a.UI(Tn))),a.UI((t=>{let[e,r]=t;return le.ap(e)(r)})))),Un=t=>e=>(0,n.zG)(e.current,Cn(t),le.UI(s.fS((()=>(t=>Rn(t.current))(e))))),Dn=a.UI(Rn),kn=a.UI(Tn),Ln={URI:An,map:(t,e)=>On(e)(t)},Nn={URI:An,map:Ln.map,ap:(t,e)=>Mn(e)(t)},zn=t=>i.dQ((e=>{let{previousState:r}=e;const[i,c]=(0,n.zG)(t.newEvents,a.En(2,qe.uZ()),(0,_n.H5)(En(t.permutiveApi,t.permutiveUrls,(u=t.customQueries.runtime,(0,n.zG)(Object.entries(u.queriesByEvent),qe.hX((t=>{let[,e]=t;return(0,n.zG)(e,qe.G((t=>t in u.cloudLiftedQueries)))})),qe.UI(o.li))))));var u;const l=a.vP({lookalikeModels:t.lookalikeModels,sessionId:t.sessionId,thirdPartyData:(0,n.zG)(t.thirdPartyData,a.UI(s.UI((0,_n.H5)(Mt.UI((t=>{const e={};return t.forEach((t=>e[t]=!0)),e})))))),viewId:t.viewId}),f=(0,n.zG)(a.vP({cloudLiftedState:(0,n.zG)(c,a.UI((t=>t.newResults))),environment:l,externalStateDelta:t.externalStateDelta,newEvents:(0,n.zG)(i,(0,yn.I)(t.metrics,"query_language_began_processing_pageview"))}),a.UI((0,m.rO)({environment:t=>p.of(t)})),a.UI((0,yt.Yt)(p.G5))),d=Lr.init(r);const g=(0,n.zG)(r?le.of({processedState:d,stateMigratedThisInitialisation:!1}):(t.metrics.track({name:"sdk_query_state_migrated_workerisation_count_total",labels:{},value:1}),(0,n.zG)(t.migratedStateMaps,le.UI((t=>{let{internal:e,external:r}=t;return{stateMigratedThisInitialisation:!0,processedState:{externalStateMap:r,internalStateMap:(0,n.zG)(e,s.fS((()=>({}))))}}})))),le.Hr("environment",(()=>l.current)),le.ak("process",(e=>{let{environment:r,processedState:i}=e;return(0,n.zG)((a={downloadCloudLiftQueries:In(t.permutiveApi,t.permutiveUrls),environment:r,initialState:i,pastEvents:t.priorEvents,queries:t.customQueries},(0,n.zG)(le.Do,le.Hr("persistentState",(()=>(0,n.zG)(a.initialState,(0,m.rO)({internalStateMap:Mt.z7(((t,e)=>e.checksum===a.queries.metadata[t]))}),vn(a.queries.runtime)))),le.Hr("invalidatedLocalQueries",(t=>{let{persistentState:{internalStateMap:e}}=t;return bn(a.queries.runtime.locallyLiftedQueries,e)})),le.Hr("invalidatedCloudLiftQueries",(t=>{let{persistentState:{internalStateMap:e}}=t;return bn(a.queries.runtime.cloudLiftedQueries,e)})),le.Hr("hasInvalidatedQueries",(t=>{let{invalidatedCloudLiftQueries:e,invalidatedLocalQueries:r}=t;return!(Mt.xb(e)&&Mt.xb(r))})),le.ak("eventsForReplay",(t=>{let{hasInvalidatedQueries:e}=t;return e?a.pastEvents:le.of(qe.bM())})),le.ak("cloudLiftQueriesForReplay",(0,n.ls)(s.DT((t=>t.eventsForReplay.length>0)),s.UI((t=>Object.keys(t.invalidatedCloudLiftQueries))),s.hX(qe.Od),s.UI((0,n.ls)(a.downloadCloudLiftQueries,Dt.OV(a.queries.runtime),le.UI(q.fS((()=>({})))))),s.fS((()=>le.of({}))))),le.Hr("queriesForReplay",(t=>{let{cloudLiftQueriesForReplay:e,invalidatedLocalQueries:r}=t;return[...Object.keys(r),...Object.keys(e)]})),le.UI((t=>{let{cloudLiftQueriesForReplay:e,eventsForReplay:r,invalidatedCloudLiftQueries:i,invalidatedLocalQueries:o,queriesForReplay:c,persistentState:u}=t;return{bootstrapped:!1,cloudLiftQueriesForReplay:e,effects:{getCurrentTime:()=>new Date,getCurrentSession:()=>a.environment.sessionId,getCurrentView:()=>a.environment.viewId,getLookalikeModels:()=>({}),setSegmentActivation:(t,e,r)=>{throw new Error(`setSegmentActivation() called for segment ${r} without being overridden first.`)},...ln(u.internalStateMap)},eventsForReplay:r,invalidatedQueries:[...Object.keys(i),...Object.keys(o)],lal:s.YP,locallyLiftedQueriesByEvent:(0,n.zG)(a.queries.runtime.queriesByEvent,Mt.DZ(s.KQ(qe.hX((t=>t in a.queries.runtime.locallyLiftedQueries))))),lookalikeTransitionSegmentNumbers:(0,n.zG)(a.queries.runtime.queriesByEvent["!UpdateLookalikeModels"]||qe.cS,qe.UI(parseInt),(t=>new Set(t))),pageviewProperties:{},numEventsForReplay:r.length,queries:a.queries,queriesForReplay:c,persistentState:u,tpdEventsToProcess:qe.cS,tpdHashInEffectsObject:s.YP,tpdQueries:s.YP,tpdReady:!1,unprocessedPageviewComplete:Mr({sessionId:a.environment.sessionId,viewId:a.environment.viewId})}})))),t.trace.traceTask("query_language_initialisation_duration"),le.UI((0,m.bw)((e=>{var r;t.metrics.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"query_language_ready",time_origin:"sdk_init"},performance.now()),t.metrics.trackCounter({name:"sdk_queries_to_replay_count",value:(r=e,0===r.numEventsForReplay?0:r.queriesForReplay.length),labels:{}})}))),le.UI((e=>{let r=e;const i=(0,n.zG)(t.validationService,s.OV(e.persistentState.externalStateMap));return e=>{const[a,o]=(0,n.zG)(e,qr(t.trace))(r);return(0,n.zG)(i,s.OV((0,n.bc)(e,o))),r=o,[a,o.persistentState]}})));var a})),a.fF),v=(0,n.zG)(g,a.UI(s.UI((t=>t.process)))),S=(0,n.zG)(g,a.UI(s.EQ((()=>!1),(t=>t.stateMigratedThisInitialisation))));let h=qe.bM();const b=(0,n.zG)(a.vP({processInput:v,inputIO:(0,n.zG)(f,a.UI(s.G))}),a.UI((0,yt.Yt)(s.G5)),a.UI(s.UI((t=>{let{processInput:e,inputIO:r}=t;const i=r(),[a,c]=(0,n.zG)(i,(0,m.rO)({newEvents:qe.UI(o.Yg),cloudLiftedState:qe.UI((t=>t.state))}),(t=>e({...t}))),u=(0,n.zG)(a,s.EQ((()=>({errors:[],events:i.newEvents,internalStateDiff:s.YP})),(t=>{let[e,r,n]=t;return{errors:e,events:i.newEvents.concat(n.map((t=>[(0,m.k$)(),t]))),internalStateDiff:s.G(r)}})));return h=(0,n.zG)(h,qe.R3(u)),{consumeDeltas:()=>{const t=h;return h=qe.cS,t},modelState:c}})))),_=(0,n.zG)(b,a.UI(s.UI((t=>t.modelState)))),y=(0,n.zG)(b,a.UI(s.UI((t=>t.consumeDeltas))),a.UI(s.fS((()=>p.of(qe.bM()))))),E=(0,n.zG)(a.vP(_,c),a.Rp(((t,e)=>{let[r,i]=e;const a=(0,n.zG)(t,s.UI((t=>{let[,e]=t;return(0,n.zG)(r,s.EQ((()=>e),(t=>(0,n.zG)(e,qe.hX((e=>!e(t,i.pendingEvents)))))))})),s.fS((()=>qe.bM())));if(s.pC(r)&&qe.xb(i.pendingEvents))return[wn(r.value),a];const o=(0,m.b2)(),c=(0,n.zG)(r,s.fS((()=>d)));var u;return[(0,n.zG)((()=>o.promise),(u=c,t=>[u,t])),(0,n.zG)(a,qe.R3(((t,e)=>{const r=qe.xb(e)||(0,n.zG)(i.pendingEvents,qe.yW((t=>!e.includes(t))));return r&&o.resolve(t),r})))]})),a.UI(o.li)),I=(0,n.zG)(y,a.En(3,qe.uZ()),(e=>{let[r,i,o]=e;return{errors:(0,n.zG)(r,a.UI(p.UI(qe.tS((t=>t.errors))))),events:(0,n.zG)(i,a.UI(p.UI(qe.tS((t=>t.events)))),(0,yn.F)(t.metrics,"query_language_processed_pageview")),internalStateDiff:(0,n.zG)(o,a.UI(p.UI((0,n.ls)(qe.DZ((t=>t.internalStateDiff)),s.DT(qe.Od),s.UI((t=>t.reduce(((t,e)=>({...t,...e})))))))))}})),w=(0,n.zG)(E,On((t=>t.internalStateMap))),R=Dn(w);return{state:Dn(E),value:{...I,stateMigratedThisInitialisation:S,internalStateMap:R,processing:(0,n.zG)(a.vP(b,c),a.UI((t=>{let[e,r]=t;return s.Wi(e)||qe.Od(r.pendingEvents)}))),segments:(0,n.zG)(w,On(qn)),tpdUsage:(0,n.zG)(a.vP(t.thirdPartyData,R),a.UI((t=>{let[e,r]=t;return(0,n.zG)(e,s.UI((()=>nn(r))))}))),unprocessedPageviewComplete:(0,n.zG)(_,a.UI(s.NG((t=>t.unprocessedPVC))),a.UI(s.UI(zr.k)))}}})),qn=t=>(0,n.zG)(rn(t),(t=>(0,n.zG)(t,qe.uK((t=>t<1e7)),(e=>{let{left:r,right:n}=e;return{all:t,custom:n,standard:r}}))));var Bn=r(890);const xn=t=>wn(q.F2(t)),Fn=t=>a.a9(xn(t)),Wn=Lt.UI(Ln,q.dO),Hn=(q.G5,t=>On(q.F2)(t)),Yn=t=>On(q.fS(t)),Vn=t=>Dn(t.all),Kn=(t,e)=>r=>({all:(0,n.zG)(r,Wn(t)),byAdServer:(0,m.mQ)((0,n.ls)(e,s.UI((t=>(0,n.zG)(r,Wn(t))))))}),Qn=(t,e)=>(0,n.ls)(On(q.F2),Kn(t,e)),jn=t=>(0,n.zG)(t,On(q.F2),Kn(n.yR,(t=>s.G(t.filterCohorts)))),Xn=t=>({all:(0,n.zG)(t.all,Yn((()=>qe.bM()))),byAdServer:(0,m.mQ)((0,n.ls)(t.byAdServer,s.UI(Yn((()=>qe.bM())))))}),Jn=t=>(0,n.zG)(t,Xn,Vn),$n=new Set(["AdRequest","PageviewEngagement","PrebidAuctions","Reaction","SegmentEntry","SegmentExit","SlotRendered","ThirdPartySegments","VideoEngagement"]),Zn=function(){return(0,n.bc)(...arguments)};var ti=r(199);new Map;var ei=function(t,e){for(var r,n=new Map,i=t.entries();!(r=i.next()).done;){var a=r.value,s=a[0],o=a[1];n.set(s,e(s,o))}return n};var ri=function(t,e){return ei(t,(function(t,r){return e(r)}))};const ni=t=>{let{queries:e,...r}=t;const[i,c]=a.Ue("pending");let u=s.G([]);const l=t=>{const e=Math.ceil(Math.random()*t.length);return(0,n.zG)(t,z.ke(e))};(0,n.zG)((()=>new Promise((t=>setTimeout(t,r.processingDelayMs)))),le.UI((()=>performance.now())),le.UI((t=>(0,n.zG)(u,s.UI(l),s.hX(z.Od),s.UI(N.ur(ti.n_({events:qe.jG(),externalStateDeltas:qe.jG(),lookalikeModels:ti.Z$(),modelState:ti.Z$(),thirdPartyData:ti.Z$()}))),(0,m.bw)((()=>{u=s.YP})),s.Hr("startTime",(()=>t))))),le.UI((0,m.bw)(s.EQ((()=>c("skipped")),(()=>c("in_progress"))))),ke("historicalEvents",(()=>me(r.historicalEvents))),ke("expectedSegmentMemberships",Me((t=>oi({events:{historical:t.historicalEvents,new:t.events},externalState:{historical:r.externalState,deltas:t.externalStateDeltas},lookalikeModels:t.lookalikeModels,queries:e,thirdPartyData:t.thirdPartyData})))),De("report",(t=>{let{expectedSegmentMemberships:r,modelState:i}=t;return function(t){const e=new Set(t.expectedSegmentMemberships);return(0,n.zG)(function(t){const e=(0,n.zG)(Object.keys(t.runtime.queriesByEvent),qe.Su(((t,e)=>[e,2**t]))),r={},i=Object.fromEntries(e);for(const e in t.runtime.queriesByEvent){const n=t.runtime.queriesByEvent[e];for(const t of n)r[t]?r[t]+=i[e]:r[t]=i[e]}const a={};for(const t in r){const e=r[t];a[e]?a[e].push(t):a[e]=[t]}return(0,n.zG)(Object.entries(a),qe.UI((0,n.ls)((0,o.pL)((t=>Number(t))),(0,o.pL)((t=>(0,n.zG)(e,qe.DZ((0,n.ls)(s.DT((e=>{let[,r]=e;return(t&r)>0})),s.UI(o.li)))))))),(t=>new Map(t)))}(t.queries),function(t){return function(e){return ri(e,t)}}((r=>({actualSegments:(0,n.zG)(r,qe.hX((e=>{var r,n;return Boolean(null===(r=t.modelState.persistentState.internalStateMap[e])||void 0===r||null===(n=r.result)||void 0===n?void 0:n.result)}))),expectedSegments:(0,n.zG)(r,qe.hX((t=>e.has(t))))}))))}({expectedSegmentMemberships:r,modelState:i,queries:e})})),Ge((t=>{let{startTime:e}=t;return()=>r.metrics.track({name:"sdk_segmentation_validation_duration_seconds",value:(performance.now()-e)/1e3,labels:{}})})),he((t=>t.report)),he(ai(r.metrics)),he((()=>c("finished"))))();return[i,t=>{let[e,r]=t;(0,n.zG)((0,yt.gz)(s.g1)(u,e.environment.lookalikeModels,(0,n.zG)(e.environment.thirdPartyData,s.UI(o.Yg))),s.UI((t=>{let[n,i,a]=t;n.push({externalStateDeltas:qe.Yo(e.externalStateDelta),lookalikeModels:i,events:e.newEvents,modelState:r,thirdPartyData:a})})))}]};const ii=new Set(["SegmentEntry","SegmentExit","PageviewEngagement","PageviewComplete","Pageview","LinkClick","SlotViewable","SlotRendered","UpdateLookalikeModels","UpdateSecondPartyData","UpdateThirdPartyData"]),ai=t=>e=>{for(const[r,{expectedSegments:i,actualSegments:a}]of e){if(0===i.length&&0===a.length)continue;const{correct:e,incorrect:s,missing:o}=si(i,a),c=(0,n.zG)(r,qe.UI((t=>t.startsWith("!")?t.slice(1):t)),qe.UI((t=>ii.has(t)?t:"misc")),(t=>[...new Set(t)]),qe.UI((t=>(0,n.bc)(`trigger_${t}`,!0))),qe.R3((0,n.bc)("is_cloud_lifted",!1)),(t=>Object.fromEntries(t))),u=(e,r)=>r.length>0&&t.trackCounter({name:e,value:r.length,labels:c});u("sdk_segmentation_validation_correct_count_total",e),u("sdk_segmentation_validation_incorrect_count_total",s),u("sdk_segmentation_validation_missing_count_total",o)}},si=(t,e)=>{if(0===e.length)return{correct:[],incorrect:[],missing:t};if(0===t.length)return{correct:[],incorrect:e,missing:[]};const r=new Set(e),i=new Set(t),{right:a,left:s}=(0,n.zG)(e,qe.uK((t=>i.has(t))));return{correct:a,incorrect:s,missing:(0,n.zG)(t,qe.hX((t=>!r.has(t))))}};const oi=t=>li(50,(function*(){const e=(0,n.zG)(t.queries.runtime.queriesByEvent,Mt.DZ((0,n.ls)(s.ij,s.UI(qe.DZ((0,n.ls)(s.DT((e=>e in t.queries.runtime.locallyLiftedQueries)),s.UI((e=>(0,n.bc)(e,t.queries.runtime.locallyLiftedQueries[e]))))))))),r=(0,n.zG)(t.externalState.historical,s.fS((()=>({}))),Mt.DZ(s.Dj(X)),(e=>(0,n.zG)(t.externalState.deltas,qe.UI(Vr(t.queries)),qe.u4(e,Kr))),Mt.UI(j)),i={},a=new ui(t.lookalikeModels,t.thirdPartyData),o=t=>(a.processEvent(t),(0,n.zG)(e[t.name]??[],qe.DZ((e=>{let[r,o]=e;return(0,n.zG)(s.ij(o.lift(t,a.effects)),s.fX((t=>i[r]?(0,n.zG)(t,ci(o,i[r])):q.F2(t))),s.UI((t=>(i[r]=t,r))))})))),c=e=>(0,n.zG)((e=>(0,n.zG)(i[e]??null,(i=>e in r?(0,n.zG)(r[e],ci(t.queries.runtime.locallyLiftedQueries[e],i),q.fS((()=>i))):i),(r=>t.queries.runtime.locallyLiftedQueries[e].interpret(r,a.effects)),(t=>t.result)))(e),s.DT((t=>t!==a.getSegmentResult(e))),s.UI((t=>({name:t?"SegmentEntry":"SegmentExit",properties:{segment_number:Number(e)},time:a.effects.getCurrentTime(),session_id:a.effects.getCurrentSession(),view_id:a.effects.getCurrentView()})))),u=t=>{if(0==t.length)return;const e=(0,n.zG)(t,qe.tS((0,n.ls)(c,s.UI(o),s.fS((()=>qe.bM())))));u(e)};for(const e of t.events.historical)yield,o(e);(0,n.zG)(Object.keys(t.queries.runtime.locallyLiftedQueries),u);for(const e of t.events.new)switch(yield,e.name){case"SegmentEntry":case"SegmentExit":case"PageviewComplete":break;default:o(e)}return(0,n.zG)(Object.keys(t.queries.runtime.locallyLiftedQueries),u),a.effects.getSegmentsArray()["1p"]})),ci=(t,e)=>r=>q.Y3((()=>t.append(e,r)),(t=>`Failed to append lifted state: ${t}`));class ui{segments;segmentsArray=void 0;lastEvent=s.YP;effects;constructor(t,e){const r=(0,n.zG)(e,Mt.UI(Mt.hX((t=>!0===t))));this.segments={...r,"1p":{}};const i=(0,n.zG)(this.segments,Mt.UI(Object.keys));this.effects={get1PSegments:()=>({"1p":this.segments["1p"]}),get3PSegments:()=>r,getLookalikeModels:()=>t,getSegments:()=>this.segments,getSegmentsArray:()=>(this.segmentsArray||(this.segmentsArray={...i,"1p":Object.keys(this.segments["1p"])}),this.segmentsArray),setSegmentActivation:()=>{},getCurrentTime:()=>(0,n.zG)(this.lastEvent,s.EQ((()=>new Date),(t=>t.time))),getCurrentSession:()=>(0,n.zG)(this.lastEvent,s.EQ((()=>""),(t=>t.session_id))),getCurrentView:()=>(0,n.zG)(this.lastEvent,s.EQ((()=>""),(t=>t.view_id)))}}get1pSegments(){return this.effects.getSegmentsArray()["1p"]}getSegmentResult(t){return this.segments["1p"][t]??!1}processEvent(t){if("SegmentEntry"===t.name){const e=t.properties.segment_number;e&&this.processSegmentEntry([e])}else if("SegmentExit"===t.name){const e=t.properties.segment_number;e&&this.processSegmentExit([e])}else if("PageviewComplete"===t.name){const e=t.properties.aggregations;(null==e?void 0:e.SegmentEntry)&&this.processSegmentEntry(e.SegmentEntry),(null==e?void 0:e.SegmentExit)&&this.processSegmentExit(e.SegmentExit)}this.lastEvent=s.G(t)}processSegmentEntry(t){for(const e of t)e in this.segments["1p"]||(this.segments["1p"][e]=!0,this.segmentsArray=void 0)}processSegmentExit(t){for(const e of t)e in this.segments["1p"]&&(delete this.segments["1p"][e],this.segmentsArray=void 0)}}const li=(t,e)=>async()=>{let r=performance.now();const n=e();for(;;){performance.now()-r>t&&(await new Promise((t=>setTimeout(t))),r=performance.now());const e=n.next();if(e.done)return e.value}},fi=t=>i.dQ((t=>{let{previousState:e}=t;return{value:s.YP,state:a.a9(e)}})),pi=t=>i.dQ((e=>{let{previousState:r}=e;const i=(0,n.zG)(r,s.DT(m.El),s.xH,s.hX(D.HD)),o=(0,n.zG)(i,s.EQ((()=>!1),(e=>e===t.sessionId)));if(!t.metrics.isEnabled()||Math.random()>.1||o)return{value:s.YP,state:a.a9(r)};const[c,u]=a.Ue(a.a9("pending"));return{value:s.G((e=>{const[r,n]=ni({externalState:e,historicalEvents:t.priorEvents,metrics:t.metrics,processingDelayMs:6e4,queries:t.customQueries});return u(r),n})),state:(0,n.zG)(a.xH(c),a.UI((0,n.ls)(s.DT((t=>"in_progress"===t||"finished"===t)),s.UI((()=>t.sessionId)),s.wp((()=>i)))))}})),di=t=>(0,n.zG)(i.K4((e=>{let{stopped:r}=e;const[i,o]=a.Ue(a.a9(p.of(s.YP)));let c;const u=new Promise((t=>{c=t}));return{priorEvents:()=>u.then((t=>t())),externalStateDelta:a.xH(i),newEvents:(0,n.zG)(a.vP(t.newEvents,r),a.UI((t=>{let[e,r]=t;return r?()=>[]:e}))),setCachedPriorEvents:c,setExternalStateDelta:o}})),i.ak("segmentationValidation",(e=>{let{priorEvents:r}=e;return(0,n.zG)(t.eventsCache,q.EQ((()=>fi),(()=>pi)),(e=>e({...t,sessionId:t.sessionId.current,priorEvents:r})))})),i.ak("segmentationService",(e=>{let{newEvents:r,priorEvents:s,externalStateDelta:o,segmentationValidation:c}=e;return(0,n.zG)(zn({...t,externalStateDelta:o,newEvents:r,priorEvents:s,validationService:c}),i.bw((e=>(0,n.zG)(e.errors,a.UI((e=>(0,n.zG)(e(),qe.UI((e=>t.reportError(`Query Language: ${e}`,{userId:t.groupId}))))))))))})),i.UI((e=>(0,n.zG)(e.segmentationService.events,a.En(4,qe.uZ()),(r=>{let[i,c,u,l]=r;return{...e,newEvents:i,realtime:(0,n.zG)(c,a.Rp(!1,((t,e)=>{const r=e();return t||r.some((t=>{let[,e]=t;return"Pageview"===e.name}))})),(t=>a.vP(t,e.segmentationService.processing)),a.UI((t=>{let[e,r]=t;return e&&!r})),a.u4(((t,e)=>t||e))),currentPageviewSegments:(f={processedEvents:(0,n.zG)(u,a.UI(p.UI(qe.UI(o.Yg)))),segments:e.segmentationService.segments,viewId:t.viewId},(0,n.zG)(a.vP(f.processedEvents,f.viewId,f.segments),a.Rp({pageviewProcessed:!1,resolvePageviewSegments:t=>{},segments:wn({all:[],custom:[],standard:[]}),viewId:""},((t,e)=>{let[r,i,a]=e;const o=r();return(0,n.zG)(t,s.DT((t=>t.viewId===i)),s.EQ((()=>{if((0,n.zG)(o,qe.G((t=>"Pageview"===t.name&&t.view_id===i))))return{pageviewProcessed:!0,resolvePageviewSegments:()=>{},segments:a,viewId:i};{const t=(0,m.b2)();return{pageviewProcessed:!1,resolvePageviewSegments:e=>t.resolve(Tn(e)()),segments:Zn(Rn(a),(()=>t.promise)),viewId:i}}}),(t=>t.pageviewProcessed?{...t,segments:a}:(0,n.zG)(o,qe.G((t=>"Pageview"===t.name&&t.view_id===i)))?(t.resolvePageviewSegments(a),{pageviewProcessed:!0,resolvePageviewSegments:()=>{},segments:a,viewId:i}):{...t,segments:a})))})),a.UI((t=>t.segments)))),lastProcessedEvents:(0,n.zG)(l,a.UI(p.UI(qe.UI(o.Yg))))};var f})))),i.Hr("cohorts",(e=>{let{segmentationService:r}=e;return(0,n.zG)(a.fF(t.nonQlCohorts),a.UI(s.UI((t=>(0,n.zG)(r.segments,On((t=>t.all)),On(qe.UI(String)),jn,(e=>({query_language:e,...t})))))))})),i.ak("stateSync",(e=>{let{segmentationService:r,lastProcessedEvents:n}=e;return xe({eventSourceId:t.eventSourceId,groupId:t.groupId,groupIdIsNewlyGenerated:t.groupIdIsNewlyGenerated,internalStateDiff:r.internalStateDiff,internalStateMap:r.internalStateMap,lastProcessedEvents:n,logger:t.logger,permutiveApi:t.permutiveApi,permutiveUrls:t.permutiveUrls,queryLanguageProcessing:r.processing,reportError:t.reportError,sessionId:t.sessionId,viewId:t.viewId})})),i.bw((t=>{let{stateSync:e,setExternalStateDelta:r}=t;return r(e.externalStateDelta)})),i.ak("segmentTransitions",(e=>{let{segmentationService:r}=e;return(t=>(0,n.zG)(i.vP({currentSegmentsSet:i.K4((()=>(0,n.zG)(t.segments,a.UI(u))))}),i.ak("transitionsSinceInit",(t=>{let{currentSegmentsSet:e}=t;return i.of(c(e))})),i.UI((t=>{let{currentSegmentsSet:e,...r}=t;return r}))))({segments:(0,n.zG)(Dn(r.segments),a.UI((t=>t.all))),viewId:t.viewId})})),i.Hr("cohortsRef",(t=>{let{cohorts:e}=t;return(0,n.zG)(e,a.VS(s.EQ((()=>a.a9(qe.bM())),(0,n.ls)((t=>Object.values(t)),qe.UI((0,n.ls)(Xn,(t=>t.all),Dn,a.D8(qe.Eh(D.Eq)))),qe.vP(a.g1),a.UI(qe.xH)))))})),i.Hr("createTrackRequest",(e=>{let{cohortsRef:r,segmentationService:i}=e;return(0,n.zG)(a.vP({cohorts:(0,n.zG)(r,a.UI(s.G)),qlSegments:(0,n.zG)(Dn(i.segments),a.UI(s.G)),webClient:t.webClient}),a.UI((0,yt.Yt)(s.G5)),a.UI(s.UI((e=>{let{cohorts:r,qlSegments:n,webClient:i}=e;return e=>({...e,segments:n.all,user_id:t.groupId,cohorts:r,properties:{...e.properties,client:{...i,...e.properties.client??{}}}})}))))})),i.Hr("eventsToPublishOnPageUnload",(e=>t.trackPageviewComplete?(0,n.zG)(e.segmentationService.unprocessedPageviewComplete,a.UI(qe.pc(s.UI((t=>(0,n.bc)(`PageviewComplete-${t.view_id}`,t))))),(t=>a.vP(e.createTrackRequest,t)),a.UI((t=>{let[e,r]=t;return(0,n.zG)(e,s.EQ((()=>qe.cS),(t=>(0,n.zG)(r,qe.UI((0,o.H5)(t))))))}))):a.a9(qe.cS))),i.ak("eventCache",(e=>{let{newEvents:r,setCachedPriorEvents:s}=e;return(0,n.zG)(t.eventsCache,q.EQ((t=>(s(t),i.of({newEvents:r}))),(t=>(0,n.zG)((t=>i.K4((()=>({newEvents:(0,n.zG)(t.newEvents,a.UI(p.UI((0,m.bw)(qe.UI((e=>{let[,r]=e;$n.has(r.name)||t.eventsCache.add(r,{persistOnDisk:!0})})))))),priorEvents:()=>t.eventsCache.all()}))))({eventsCache:t,newEvents:r}),i.UI((t=>{let{newEvents:e,priorEvents:r}=t;return s(r),{newEvents:e}}))))))})),i.UI((t=>({...t,newEvents:t.eventCache.newEvents}))),i.Hr("eventsToPublish",(e=>{let{cohorts:r,newEvents:i,segmentationService:c}=e;return(0,n.zG)(a.vP(i,t.webClient,c.segments,(0,n.zG)(r,a.UI(s.UI((0,n.ls)((t=>Object.values(t)),qe.UI(Xn),qe.UI((t=>t.all)))))),(0,n.zG)(t.viewId,a.Rp(new Set,((t,e)=>new Set([...t,e]))))),a.UI((e=>{let[r,i,a,c,u]=e;return(0,n.zG)(s.Do,s.Qt("webClient",i),s.Qt("cohorts",c),s.ak("events",(()=>(0,n.zG)(r(),qe.hX((t=>{let[,e]=t;return"PageviewComplete"!==e.name||u.has(e.view_id)})),s.DT(qe.Od)))),pe,ke("segments",(()=>(0,n.zG)(Tn(a),me))),Ue((t=>(0,n.zG)(t.cohorts,le.uU(Un(1e3)),le.UI(qe.xH),le.UI((e=>({...t,cohorts:e})))))),he((e=>{let{cohorts:r,events:i,segments:a,webClient:s}=e;return(0,n.zG)(i,qe.UI((0,o.H5)((e=>({...e,segments:a.all,user_id:t.groupId,cohorts:r,properties:{...e.properties,client:{...s,...e.properties.client??{}}}})))))})),le.UI(s.fS((()=>qe.bM()))))})),(t=>{const[e,r]=a.gS(qe.uZ());return(0,n.zG)(t,a.UI((t=>t().then(r)))),e}))})));var mi=r(965);function gi(t){return e=>(0,n.zG)(a.oQ(t),a.UI((0,m.rO)({backoffAfterErrorMs:t=>t??0,backoffAfterSuccessMs:t=>t??0})),(t=>i.dQ((r=>{let{previousState:i}=r;const[o,c]=a.Ue(function(t){if("object"!=typeof t||null===t)return{lastSuccess:0,lastError:0};return t}(i)),u=(0,n.zG)(a.vP(o,t),a.UI((t=>{let[e,r]=t;return Math.max(e.lastError+r.backoffAfterErrorMs,e.lastSuccess+r.backoffAfterSuccessMs)})));return{state:o,value:(0,n.ls)(s.DT((()=>Date.now()>=u.current)),s.UI(e),s.UI((0,m.bw)((t=>t.then((()=>c({...o.current,lastSuccess:Date.now()})),(()=>c({...o.current,lastError:Date.now()})))))))}}))))}const vi=function(t,e){return i.of(s.YP)};var Si=r(371);const hi=["pug"],bi=function(t,e){return(0,n.zG)(_i(t),gi({backoffAfterErrorMs:6e5}),i.VS((t=>Si.m((0,n.zG)(e,a.UI((0,m.rO)({tpdUsage:s.UI((0,n.ls)(Mt.UI(Mt.z7((t=>!hi.includes(t)))),Mt.hX((0,Ut.ff)(Mt.xb))))})),a.UI((e=>{let{tpdUsage:r,userId:i}=e;return{validityKey:()=>i,freshnessKey:(0,n.ls)((()=>r),s.EQ((()=>0),(0,n.ls)(JSON.stringify,m.vp))),refresh:(0,n.zG)(r,s.hX((t=>Object.keys(t).length>0)),s.UI((e=>()=>Dt.Y3((()=>(0,n.zG)(t({user_id:i,time:new Date,tpd_segments:e}),s.fS((()=>Promise.reject("Blocked by backoff."))))),(t=>`Failed to report TPD usage. Got ${t}`)))))}})))))),i.UI(n.Q1))};const _i=t=>e=>{const{config:r,metrics:n,permutiveApi:i,permutiveUrls:a}=t,o=n.startTimer("sdk_http_tpd_usage_seconds",{});return i.req({url:a.getEndpointUrl("/tpd/usage",s.G(r.apiVersion)),method:"POST",payload:e,contentType:"text/plain",dataType:"json",withCredentials:!1}).then((t=>(n.stopTimer("sdk_http_tpd_usage_seconds",o),t)))};var yi=function(t){return function(e){return function(r){return t(e(r))}}},Ei=n.a9;Vt.F4,Vt.Xl;function Ii(t){return function(e){return function(){return t.of(e)}}}function wi(t){return function(e){return function(r){return function(n){return t.map(r(n),e)}}}}function Ri(t){return function(e){return function(r){return function(n){return t.ap(r(n),e(n))}}}}function Ti(t){return function(e){return function(r){return function(n){return t.chain(r(n),(function(t){return e(t)(n)}))}}}}function Ci(t){return function(e){return(0,n.ls)(e,t.of)}}le.PM;var Ai=Ei,Pi=(le.tD,yi(le.tD),function(t,e){return(0,n.zG)(t,Gi(e))}),Gi=wi(le.dO),Oi=(le.Hi,Ii(le.PM)),Mi=(le.UA,"ReaderTask"),Ui={URI:Mi,map:Pi},Di={URI:Mi,of:Oi};Vt.F4,Vt.Xl;var ki=Ei,Li=Bn.F2(Di),Ni=(Dt.QM,Dt.lk,Dt.dk,Dt.Op,Dt.fj,Bn.UI(Ui)),zi=Li;Vt.F4,Vt.Xl;function qi(t,e){const r=["amp","gigya","pxid","sailthru"],o=(0,n.zG)(e.identities,a.UI(s.UI(Mt.z7((t=>!r.includes(t)))))),c=t=>(0,m.vp)(JSON.stringify(t)),u=t=>[c(t),t];return(0,n.zG)(i.vP({fetchFromNewEndpoint:(0,n.zG)(Bi(t),gi({backoffAfterErrorMs:6e5})),fetchFromLegacyEndpoint:(0,n.zG)(xi(t),gi({backoffAfterErrorMs:6e5}))}),i.VS((r=>{let{fetchFromNewEndpoint:c,fetchFromLegacyEndpoint:l}=r;return(0,n.zG)(Si.m((0,n.zG)(a.vP(e.userId,e.sessionId,o),a.UI((e=>{let[r,i,a]=e;return{validityKey:()=>r,freshnessKey:()=>`${Fi(a)},${i}`,refresh:(0,n.zG)(a,s.UI((e=>()=>Mt.xb(e)?Dt.of({}):Dt.Y3((()=>(0,n.zG)((e=>(0,n.zG)(c(e),s.UI((t=>t.catch((()=>(0,n.zG)(l(e.identities),s.fS((()=>t))))))),s.wp((()=>l(e.identities))),s.UI((0,m.bw)((e=>{const r=t.metrics.startTimer("sdk_get_third_party_data_task_duration_seconds",{});e.catch(n.Q1).then((()=>{t.metrics.stopTimer("sdk_get_third_party_data_task_duration_seconds",r)}))})))))({userId:r,identities:e}),s.fS((()=>Promise.reject("Blocked by persistent backoff"))))),(t=>`Error fetching TPD. Got ${t}`)))),s.UI(Ni(u)))}})))),Si.d((t=>s.G((t=>Array.isArray(t)?t:u(t))(t)))),i.UI(a.UI(q.fS((e=>(t.logger.warn("[TPD]",`Failed to retrieve usable value, using zero value. ${e}`),s.G(u({}))))))),i.bw((0,n.ls)(a.UI(s.pC),a.UI((e=>{e&&t.metrics.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"audience_matching_ready",time_origin:"sdk_init"})})))))})))}const Bi=t=>async e=>{const r=t.metrics.startTimer("sdk_http_audience_matching_seconds",{}),i=await t.permutiveApi.req({url:t.permutiveUrls.getAudienceMatchingEndpointUrl("/id",s.G("v1"),e.userId),payload:{identities:(0,n.zG)(e.identities,Mt.Yz,qe.UI((t=>{let[e,r]=t;return{tag:e,id:r}})))},method:"POST",withCredentials:!1,dataType:"json"});return t.metrics.stopTimer("sdk_http_audience_matching_seconds",r),i.items},xi=t=>async e=>{const r=t.metrics.startTimer("sdk_http_tpd_seconds",{}),n=await t.permutiveApi.req({url:t.permutiveUrls.getEndpointUrl("/tpd",s.G(t.config.apiVersion)),method:"POST",payload:{user_id:e},contentType:"text/plain",dataType:"json",withCredentials:!1});return t.metrics.stopTimer("sdk_http_tpd_seconds",r),n},Fi=(0,n.ls)(JSON.stringify,m.vp);const Wi=(t,e)=>(0,n.zG)(i.vP({data:qi(t,{identities:e.identities,sessionId:e.sessionId,userId:e.userId}),usageReporting:bi(t,a.vP({tpdUsage:e.tpdUsage,userId:e.userId}))}),i.ak("analytics",(t=>{let{data:r}=t;return function(t){return i.dQ((e=>{let{previousState:r}=e;const[i,o]=a.gS(qe.uZ());var c;return{state:(0,n.zG)(a.vP(t.userId,t.providerSegments,t.sessionId,t.viewId),a.D8(((t,e)=>{let[r,n]=t,[i,a]=e;return r===i&&n===a})),a.Rp(null!==(c=r)&&"object"==typeof c?c:{userId:"",providerHashes:{}},((t,e)=>{let[r,i,a,c]=e;const u=(0,n.zG)(i,s.fS((()=>({})))),l=(0,n.zG)(u,Mt.UI((0,m.SL)(m.vp))),f=(0,n.zG)(t,s.DT((t=>t.userId===r)),s.UI((t=>t.providerHashes)),s.fS((()=>({}))));return(0,n.zG)(u,Mt.z7((t=>l[t]!==(f[t]||0))),(t=>Object.entries(t)),qe.UI((t=>{let[e,r]=t;return(0,n.bc)((0,m.k$)(),{name:"ThirdPartySegments",properties:{data_provider:e,segments:[...r]},session_id:a,time:new Date,view_id:c})})),o),{userId:r,providerHashes:l}}))),value:i}}))}({providerSegments:(0,n.zG)(r,a.UI(s.UI(_n.Yg))),sessionId:e.sessionId,userId:e.userId,viewId:e.viewId})})),i.UI((t=>{let{data:e,analytics:r}=t;return{data:e,analyticsEvents:r}}))),Hi=function(t){const e={include_geo:!0,include_isp:!0,include_ip_hash:!0,include_ip:!1},r=t.trace.startSpan("geoip_data_retrieval");return(0,n.zG)(Si.m((0,n.zG)(t.sessionId,a.UI((r=>({validityKey:()=>(0,m.vp)(JSON.stringify(e)),freshnessKey:()=>r,refresh:s.G((()=>Dt.Y3((()=>Yi(t.permutiveApi,t.metrics,t.config,e,t.permutiveUrls)),(t=>`Error fetching geoip. Got ${t}`))))}))))),i.UI(a.UI(q.fS((e=>(t.logger.warn("[geoip]",`Failed to retrieve usable value, using zero value. ${e}`),s.G({})))))),i.bw((0,n.ls)(a.UI(s.pC),a.UI((e=>{e&&(t.metrics.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"geoip_data_ready",time_origin:"sdk_init"},performance.now()),r.finish())})))))};const Yi=(t,e,r,n,i)=>{const a=[];n.include_geo&&a.push(["include","geo"]),n.include_isp&&a.push(["include","isp"]),n.include_ip&&a.push(["include","ip"]),n.include_ip_hash&&a.push(["include","ip_hash"]);const o=e.startTimer("sdk_http_geoip_seconds",{});return t.req({url:i.getEndpointUrl("/geoip",s.G(r.apiVersion),a),method:"GET",contentType:"text/plain",dataType:"json",withCredentials:!1}).then((t=>(e.stopTimer("sdk_http_geoip_seconds",o),t)))},Vi=t=>e=>{const r=n=>{const i={...n};for(let a in n){const s=n[a];e.hasOwnProperty(s)?null!=t&&t.dropUnenriched&&void 0===e[s]?delete i[a]:i[a]=e[s]:null!==s&&"object"==typeof s&&s.constructor===Object&&(i[a]=r(s))}return i};return r};var Ki=r(414);r(636);const Qi=function(t,e,r,n,o){return i.of({cohorts:s.YP,externalData:{[ji]:a.a9(s.YP)}})};const ji="_pssps",Xi=t=>{const e=(0,n.zG)((null==t?void 0:t.dfp)??[],qe.UI(String),(t=>new Set(t)));return{id:"dfp",filterCohorts:qe.hX((t=>e.has(t)))}};const Ji=t=>{if(!t.metrics.isEnabled())return()=>{};const e=(0,n.zG)(t.adServers,qe.UI((t=>(0,n.bc)(t.id,t))),Mt.sq,Mt.UI((e=>{const r=(0,n.zG)(t.cohorts,Mt.DZ((t=>t.byAdServer(e))),(t=>a.vP(t)),a.UI(Mt.UI((i=5e3,o="Timeout",t=>(0,n.zG)(t,Cn(i),le.UI(s.pF((()=>q.t$(o)))))))),a.UI((0,yt.Yt)(le.Hi)),a.UI(le.UI((0,n.ls)(Mt.oh,Nt.Vn(Mt.Su(((e,r)=>{t.logger.warn("[Targeting Metrics]",`[${e}]`,r)}))),Nt.F2))),(t=>()=>t.current));var i,o;return(0,n.ls)(qe.of,qe.UI((t=>t.cohorts)),Zi,qe.UI((t=>{let[e,r]=t;return{allCohorts:new Set(e),cohortCountByType:$i(e),requestCount:r}})),(i=>(0,n.zG)(r(),le.UI(Mt.Su(((e,r)=>(i,a)=>{(0,n.zG)(r,qe.Hr("actualCohortCount",(t=>{let{cohortCountByType:e}=t;return(0,n.zG)(e,Mt.P5(i))})),qe.UI((r=>{const o={cohort_type:i,target:e},c=a.reduce(((t,e)=>r.allCohorts.has(e)?t+1:t),0),u=a.length-c;t.metrics.track({name:"sdk_ad_request_missed_cohorts",labels:o,value:r.requestCount*u}),t.metrics.track({name:"sdk_ad_request_successful_cohorts",labels:o,value:r.requestCount*c}),(0,n.zG)(r.actualCohortCount,s.UI((e=>{const n=e-c;t.metrics.track({name:"sdk_ad_request_superfluous_cohorts",labels:o,value:r.requestCount*n})})))})))})(e.id,i))))),(t=>t()))})));return t=>{if("AdRequest"===t.name)(r=t.properties).ad_server_id in e&&e[r.ad_server_id](r);var r}},$i=t=>({ql:(0,n.zG)(t,qe.u4(0,((t,e)=>isNaN(parseInt(e))?t:t+1)))}),Zi=t=>(0,n.zG)(t,qe.pO((t=>{const{init:e,rest:r}=(0,n.zG)(t,qe.zT((e=>e===t[0])));return[e,r]})),qe.UI((t=>[t[0],t.length]))),ta=t=>s.YP;const ea=V.n_({cohorts:qe.Eh((0,m.Or)()),ctx:(0,m.Or)()}),ra=qe.cS;Promise.resolve(q.F2(ra)),V.n_({userId:(0,m.Or)(),lastSuccess:{equals:(t,e)=>t&&e&&ea.equals(t,e)||t===e}});function na(t,e){return Object.keys(e).reduce(((r,n)=>void 0!==t[n]?{...r,[n]:e[n]+t[n]}:{...r,[n]:e[n]}),t)}function ia(t,e){return(0,n.zG)(ca(t),((t,e)=>r=>(0,n.zG)((t=>r(t)().then((t=>q.nM(t)?Promise.reject(t.left):t.right))),gi(t),i.UI((t=>r=>()=>(0,n.zG)(r,t,s.EQ((()=>Promise.resolve(q.t$(e))),(t=>t.then(q.F2,q.t$))))))))({backoffAfterErrorMs:6e5},"Advertiser segmentation request blocked by rate limiting."),i.VS((r=>i.dQ((i=>{let{previousState:o}=i;return t.logger.debug("[advertiser] previous state:",o),(0,n.zG)(e,a.Rp(a.a9(sa(t)(o)),oa(t)(r)),a.xH,a.bw((e=>t.logger.debug("[advertiser] updated state:",e))),(t=>({state:(0,n.zG)(t,a.UI((t=>{let{userId:e,lastSuccess:r}=t;return{userId:e,lastSuccess:s.FS(r)}})),a.D8(Sa)),value:(0,n.zG)(t,a.UI((t=>{let{eventual:e}=t;return e})))})))})))))}const aa=t=>e=>(0,n.zG)(e,On(function(t){return e=>(0,n.zG)(e.cohorts,z.hX((r=>(0,n.zG)(r.groups,z.yW((i=>(0,n.zG)(s.ij(e.groups[i]),q.Yo((()=>`cohort [${r.code}] is missing group [${i}]`)),q.Vn((e=>t.error(`[advertiser] ${e}`))),q.UI((t=>t>0)),q.fS((()=>!0)))))))),z.UI((t=>{let{code:e}=t;return e})))}(t)),Qn((t=>t),(t=>"dfp"===t.id?s.G((t=>t)):s.YP)),s.G),sa=t=>e=>(0,n.zG)(e,s.DT(ha),s.fS((()=>ba())),(t=>q.Y3((()=>({userId:t.userId,inFlight:!1,lastSuccess:s.ij(t.lastSuccess),view:ga(),ctx:(0,n.zG)(s.ij(t.lastSuccess),s.UI((t=>{let[e]=t;return e}))),eventual:_a()})),(t=>`failed to parse existing persistent state: ${t}`))),q.fS((e=>(t.logger.error("[advertiser]",e),ma(""))))),oa=t=>e=>(r,i)=>(0,n.zG)(r,a.VS((0,n.ls)(s.DT((t=>{let{userId:e}=t;return e===i.userId})),s.fS((()=>ma(i.userId))),(r=>{if(va(r)===i.viewId)return t.logger.debug("[advertiser] view id is the same as previous, returning existing state",r),a.a9(r);if(r.inFlight)return t.logger.debug("[advertiser] in flight request",r),a.a9(r);{let o;t.logger.debug("[advertiser] fetching cohorts for view",r);const c=new Promise((t=>{o=t})),u=()=>c;return(0,n.zG)((0,yt.gz)(le.Hi)(i.customCohorts,i.standardCohorts),le.tS((t=>{let[n,a]=t;return e([i.userId,s.FS(r.ctx),n,a])})),Dt.YO("response"),Dt.ak("cohorts",(e=>{let{response:r}=e;return(0,n.zG)(r.c,fa,(0,m.bw)(q.EQ((e=>{t.logger.error(`[advertiser] failed to decode data from response. ${e}`)}),(e=>{t.logger.debug("[advertiser] decoded data from response",e)}))),le.of)})),Dt.Hr("view",(t=>{let{response:e,cohorts:r}=t;return(0,n.bc)(e.ctx,r)})),a.fF,a.UI((0,n.ls)(s.EQ((function(){return{...r,inFlight:!0,eventual:(0,n.bc)((0,n.zG)(r.lastSuccess,s.UI((t=>{let[e,r]=t;return r})),s.fS((()=>da()))),u)}}),q.EQ((function(e){t.logger.error(`[advertiser] ${e}`);const a=(0,n.zG)(r.lastSuccess,s.UI((t=>{let[e,r]=t;return r})),s.fS((()=>da())));return o(a),{userId:i.userId,lastSuccess:r.lastSuccess,ctx:r.ctx,view:(0,n.bc)(i.viewId,s.YP),inFlight:!1,eventual:[a,u]}}),(function(t){let{response:e,view:r}=t;const[,a]=r;return o(a),(0,n.zG)({userId:i.userId,lastSuccess:s.G(r),view:(0,n.bc)(i.viewId,s.G(a)),ctx:s.G(e.ctx),inFlight:!1,eventual:(0,n.bc)(a,u)})}))))))}})))),ca=t=>Dt.it((e=>t.permutiveApi.req({url:t.permutiveUrls.getAdvertiserEndpointUrl("/segment",s.G("v4")),method:"POST",payload:ua(e),contentType:"text/plain",dataType:"json",withCredentials:!1})),(t=>`Failed to fetch advertiser cohorts: ${t}`)),ua=t=>JSON.stringify(t),la=t=>{const e=(0,n.zG)(t,z.YM,q.Yo((()=>"Expected a value, found empty array")),q.tS((t=>"string"==typeof t?q.F2(t):q.t$("Expected a cohort code, found "+typeof t)))),r=(0,n.zG)(t,z.Gb,s.fS((()=>[])),q.DT(Array.isArray,(()=>"Expected an array of groups [integer], found "+typeof t[1])));return(0,n.zG)(e,q.tS((t=>(0,n.zG)(r,q.UI((e=>({code:t,groups:e})))))))};function fa(t){const[e,r]=t;return(0,n.zG)(e,z.fw(q.g1)(la),q.UI((t=>({cohorts:t,groups:r}))))}const pa=V.n_({cohorts:z.Eh(V.n_({code:D.Eq,groups:z.Eh(K.Eq)})),groups:z.Eh(K.Eq)}),da=()=>({cohorts:[],groups:[]}),ma=t=>({inFlight:!1,userId:t,lastSuccess:s.YP,view:ga(),ctx:s.YP,eventual:_a()}),ga=()=>["",s.YP],va=t=>t.view[0],Sa=V.n_({userId:(0,m.Or)(),lastSuccess:{equals:(t,e)=>t===e||!!t&&!!e&&V.bc(D.Eq,pa).equals(t,e)}}),ha=t=>"object"==typeof t&&null!==t&&"userId"in t&&"lastSuccess"in t&&(void 0===t.lastSuccess||Array.isArray(t.lastSuccess)&&2===t.lastSuccess.length&&"string"==typeof t.lastSuccess[0]&&null!==t.lastSuccess[1]&&"object"==typeof t.lastSuccess[1]),ba=()=>({userId:""}),_a=()=>(0,n.bc)(da(),(()=>Promise.resolve(da()))),ya=(t,e)=>{const r=(0,n.zG)(e,s.UI((t=>t.all)),s.fS((()=>Fn(qe.cS))),Dn,a.UI(s.Uo));return{_pcrdbs:a.a9(s.YP),_pcrprs:r}},Ea=function(t,e){return(0,n.zG)(e,i.KD([[t=>!t.consent,i.K4((()=>Gn(da())))],ia(t,e)]),i.UI((0,n.ls)(a.xH,(r=>(0,yt.gz)(Nn)(r,Pn((0,n.zG)(e,a.UI((t=>{let{events:e}=t;return e})),(e=>{return(r=t.logger,t=>e=>(0,n.zG)(e,a.UI((e=>(0,n.zG)(q.Y3((()=>{const i=e().filter((e=>{let[,r]=e;return"SlotViewable"===r.name&&(0,n.zG)(s.ij(r.properties.line_item_id),s.UI((t=>t.toString())),s.UI((e=>t.has(e))),s.fS((()=>!1)))})).map((t=>{let[e,r]=t;return r.properties.line_item_id.toString()}));return i.forEach((t=>e=>t.debug("[advertiser] impression event for deal_id:",e))(r)),(t=>t.reduce(((t,e)=>({...t,[e]:1})),{}))(i)}),(t=>`Caught error when processing deal id impressions on events. Got ${t}`)),q.fS((t=>(r.error("[advertiser]",t),{})))))),a.Rp({},na),a.D8(((t,e)=>Ve(e))),a.D8(or(K.Eq)),a.bw((t=>r.debug("[advertiser] impressions:",t)))))(new Set([]))(e);var r}))))),On((t=>{let[e,r]=t;return function(t,e,r){const i=(0,n.zG)(e.groups,z.Su(((i,a)=>{const o=(0,n.zG)((0,n.zG)(e.cohorts,z.hX((t=>{let{groups:e}=t;return e.includes(i)})),z.Lx(K.Pc)((e=>(0,n.zG)(s.ij(t[e.code]),s.fS((()=>[])),z.Lx(K.Pc)((t=>(0,n.zG)(s.ij(r[t]),s.fS((()=>0))))))))));return Math.max(0,a-o)})));return{cohorts:e.cohorts,groups:i}}({},e,r)})),aa(t.logger))),i.bw((e=>{(0,n.zG)(e,s.UI(Jn),s.fS((()=>a.a9([]))),(e=>(0,n.zG)(e,a.UI((e=>t.logger.debug("[advertiser] cohorts available for targeting:",e))))))})))};const Ia=(0,n.zG)(Ea,(t=>(e,r)=>(0,n.zG)(t(e,r),i.UI((t=>({cohorts:t,externalData:ya(e.logger,t)}))))));const wa=i.K4((()=>{}));const Ra=t=>e=>(0,n.zG)(t,Mt.UI((t=>e.reduce(((e,r)=>e+Number(t.has(r))),0))));const Ta=function(t,e){return i.K4((()=>({signalRef:a.a9(s.YP)})))};const Ca=t=>e=>{const{consent:r,currentTimestampSecs:c,identities:u,sessionId:l,userId:f,viewId:g,pageviewState:v}=e;return(0,n.zG)(i.K4((()=>{let r;const n=new Promise((t=>{r=t})),[i,o]=a.Ue(a.a9(s.YP));return{...e,adServers:[Xi(t.optimisedActivationsConfig.dfp)],nonQlCohortsT:()=>n,setNonQlCohorts:r,setTpdUsage:o,tpdUsage:a.xH(i)}})),i.ak("geoip",(()=>(t=>(0,n.zG)(t,Hi,i.YO("data"),i.Hr("replacementMap",(t=>{let{data:e}=t;return(0,n.zG)(e,a.UI(s.UI((t=>{var e;return{$ip_geo_info:t.geo_info,$ip_geo_info_continent:null===(e=t.geo_info)||void 0===e?void 0:e.continent,$ip_isp_info:t.isp_info,$ip_address:t.ip,$ip_address_hash:t.ip_hash}}))))})),i.Hr("permutiveContext",(t=>{let{data:e}=t;return(0,n.zG)(e,a.UI(s.EQ((()=>({})),(t=>{var e,r,n,i,a,s,o,c,u;return{isp:null===(e=t.isp_info)||void 0===e?void 0:e.isp,organization:null===(r=t.isp_info)||void 0===r?void 0:r.organization,autonomous_system_number:null===(n=t.isp_info)||void 0===n?void 0:n.autonomous_system_number,autonomous_system_organization:null===(i=t.isp_info)||void 0===i?void 0:i.autonomous_system_organization,continent:null===(a=t.geo_info)||void 0===a?void 0:a.continent,country:null===(s=t.geo_info)||void 0===s?void 0:s.country,city:null===(o=t.geo_info)||void 0===o?void 0:o.city,province:null===(c=t.geo_info)||void 0===c?void 0:c.province,postal_code:null===(u=t.geo_info)||void 0===u?void 0:u.postal_code}}))))}))))({...t,sessionId:l}))),i.Hr("watson",(e=>{let{webClient:r}=e;return(0,n.zG)(t.watson,s.fS((()=>(0,n.zG)(r,a.UI(s.UI((t=>t.url))),a.D8(s.Eh(D.Eq)),(e=>(0,Ki.watson)({...t,pageUrl:e,watsonEnabled:(0,n.zG)(v,a.UI((t=>t.watsonEnabled)))}))))))})),i.ak("audienceMatching",(e=>{let{tpdUsage:r}=e;return Wi(t,{identities:u,sessionId:l,tpdUsage:r,userId:f,viewId:g})})),i.UI((t=>{let{audienceMatching:{analyticsEvents:e,...r},newEvents:i,...s}=t;return{...s,audienceMatching:r,newEvents:(0,n.zG)(a.vP(i,e),a.UI(p.RD),a.UI(p.UI(qe.xH)))}})),i.UI((t=>{const[e,r,i]=a.Ue(s.bM()),[o,c]=(0,n.zG)(t.newEvents,a.En(2,qe.uZ())),u=(0,n.zG)(a.vP(o,e),a.UI((t=>{let[e,r]=t;return(0,n.zG)(r,s.UI((t=>(0,n.zG)(e,p.UI(qe.UI((0,m.bw)((e=>{let[,r]=e;return t(r)}))))))),s.fS((()=>p.of(qe.bM()))))})));return{...t,newEvents:u,newEventsForAdvertiserSegmentation:c,collectTargetingSuccessMetrics:t=>{r(s.G(t)),i()}}})),i.ak("enrichedEvents",(e=>{let{enrichmentReplacementMap:r,geoip:c,newEvents:u,watson:l}=e;return(0,n.zG)(a.vP({misc:r,geoip:c.replacementMap,watson:l.replacementMap}),a.UI((0,yt.Yt)(s.G5)),a.UI(s.UI((t=>{let{misc:e,geoip:r,watson:n}=t;return{...e,...r,...n}}))),(e=>i.K4((()=>((t,e,r,i)=>((0,n.zG)(e,a.UI(s.pC),a.YP((e=>{e&&t.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"event_enrichment_ready",time_origin:"sdk_init"})}))),(0,n.zG)(r,a.VS((()=>(0,n.zG)(a.vP((0,n.zG)(e,a.UI(s.UI(Vi({dropUnenriched:!0})))),i),a.UI((0,n.ls)((t=>{let[e,r]=t;return()=>(0,n.zG)(e,s.EQ((()=>[]),(t=>(0,n.zG)(r(),qe.UI((0,o.H5)((0,m.rO)({properties:t})))))))})))))))))(t.metrics,e,f,u)))))})),i.UI((0,m.rO)({enrichedEvents:(0,yn.F)(t.metrics,"pageview_enriched")})),i.ak("lookalikeModels",(()=>(0,n.zG)(t.lookalikeModels,s.EQ((()=>(0,mi.lookalikeModelsService)({...t,consent:r,currentTimestampSecs:c})),i.of)))),i.ak("queryLanguage",(r=>{let{audienceMatching:s,nonQlCohortsT:o,enrichedEvents:c,lookalikeModels:u,setTpdUsage:l,userIdIsNewlyGenerated:p}=r;return(0,n.zG)((d={...t,...e,newEvents:c,thirdPartyData:s.data,groupId:f,groupIdIsNewlyGenerated:p,nonQlCohorts:o,lookalikeModels:u,migratedStateMaps:t.migratedStateMaps},(0,n.zG)(a.vP(d.eventSourceId,d.groupId,d.groupIdIsNewlyGenerated),a.D8((0,n.zG)(D.Eq,V.Uz((t=>{let[e]=t;return e})))),i.kR((t=>{let[e,r,a]=t;return(0,n.zG)(di({...d,eventSourceId:e,groupId:r,groupIdIsNewlyGenerated:a,migratedStateMaps:d.migratedStateMaps}),i.yi(e))})),i.UI((t=>({stateMigratedThisInitialisation:(0,n.zG)(t,a.VS((t=>t.segmentationService.stateMigratedThisInitialisation))),cohorts:(0,n.zG)(t,a.VS((t=>t.cohortsRef))),currentPageviewSegments:{all:(0,n.zG)(t,a.VS((t=>t.currentPageviewSegments)),On((t=>t.all))),custom:(0,n.zG)(t,a.VS((t=>t.currentPageviewSegments)),On((t=>t.custom))),standard:(0,n.zG)(t,a.VS((t=>t.currentPageviewSegments)),On((t=>t.standard)))},eventsToPublish:(0,n.zG)(t,a.VS((t=>t.eventsToPublish))),eventsToPublishOnPageUnload:(0,n.zG)(t,a.VS((t=>t.eventsToPublishOnPageUnload))),realtime:(0,n.zG)(t,a.VS((t=>t.realtime)),a.Rp(!1,((t,e)=>t||e)),a.bw((t=>{t&&d.metrics.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"worker_realtime",time_origin:"sdk_init"},performance.now())}))),segments:{all:(0,n.zG)(t,a.VS((t=>Dn(t.segmentationService.segments))),a.UI((t=>t.all))),custom:(0,n.zG)(t,a.VS((t=>Dn(t.segmentationService.segments))),a.UI((t=>t.custom))),standard:(0,n.zG)(t,a.VS((t=>Dn(t.segmentationService.segments))),a.UI((t=>t.standard)))},thirdPartyDataUsage:(0,n.zG)(t,a.VS((t=>t.segmentationService.tpdUsage))),transitionsSinceInit:(0,n.zG)(t,a.VS((t=>t.segmentTransitions.transitionsSinceInit)))}))))),i.bw((t=>{let{thirdPartyDataUsage:e}=t;return l(e)})));var d})),i.ak("classificationModels",(e=>{let{queryLanguage:n}=e;return vi(t,a.vP({consent:r,currentTimestampSecs:c,queryLanguageCohorts:kn(n.currentPageviewSegments.all),realtime:n.realtime,userId:f}))})),i.ak("demandPartners",(r=>{let{queryLanguage:o}=r;return((t,e)=>(0,n.zG)(Qi(t.permutiveApi,t.permutiveUrls,t.reportError,t.logger,e),i.UI((t=>{let{cohorts:e,externalData:r}=t;return{ssp:e,externalData:r}}))))(t,{cohorts:Hn(o.currentPageviewSegments.all),consent:e.consent,url:(0,n.zG)(e.webClient,a.UI(s.UI((t=>t.url))))})})),i.ak("advertiserSegmentation",(e=>{let{queryLanguage:n,newEventsForAdvertiserSegmentation:i}=e;return Ia(t,a.vP({consent:r,customCohorts:kn(n.currentPageviewSegments.custom),realtime:n.realtime,sessionId:l,standardCohorts:kn(n.currentPageviewSegments.standard),userId:f,viewId:g,events:i}))})),i.ak("ipIdentifier",(t=>{let{userId:e,geoip:r}=t;return(0,n.zG)(r.data,a.UI(s.tS(s.KQ((t=>t.ip))))),wa})),i.ak("secureSignal",(e=>{let{advertiserSegmentation:r,demandPartners:s}=e;return(0,n.zG)(Ta(t,(0,n.zG)(f,a.UI((t=>({userId:t,advertiserCohorts:r.cohorts,stdAudienceCohorts:s.ssp}))))),i.UI((t=>{let{signalRef:e}=t;return e})))})),i.ak("nonQlCohorts",(t=>{let{advertiserSegmentation:e,classificationModels:r,contextualCohorts:a,setNonQlCohorts:s,demandPartners:o,viewId:c}=t;return(0,n.zG)(i.of(Mt.oA({advertiser:e.cohorts,classificationModel:r,contextual:ta({contextualCohorts:a,viewId:c}),ssp:o.ssp})),i.bw(s))})),i.Hr("qlCohorts",(t=>{let{queryLanguage:e}=t;return(0,n.zG)(e.segments.all,a.UI(qe.UI(String)))})),i.bw((e=>{return e.collectTargetingSuccessMetrics(Ji({adServers:e.adServers,cohorts:{...e.nonQlCohorts,query_language:(r=e.qlCohorts,(0,n.zG)(r,Pn,jn))},logger:t.logger,metrics:t.metrics}));var r})),i.Hr("eventsToPublish",(e=>{let{qlCohorts:r,queryLanguage:i,nonQlCohorts:s}=e;const o=(t=>{if(!t.metrics.isEnabled())return t=>{};const e=(0,n.zG)(t.cohortsByType,Mt.UI(a.Rp(new Set,((t,e)=>new Set([...t,...e])))),(t=>a.vP(t)));return r=>{"Pageview"===r.name&&(0,d.HJ)((()=>(0,n.zG)(r.cohorts,Ra(e.current),Mt.Su(((e,r)=>t.metrics.track({name:"sdk_pageview_cohort_count",labels:{cohort_type:e},value:r}))))))}})({cohortsByType:(0,n.zG)(s,Mt.UI(Jn),Mt.dx("query_language",r)),metrics:t.metrics});return(0,n.zG)(i.eventsToPublish,a.UI(p.UI(qe.UI((0,m.bw)((t=>{let[,e]=t;return o(e)}))))))})),i.UI((t=>{let{adServers:e,advertiserSegmentation:r,demandPartners:i,eventsToPublish:s,geoip:o,queryLanguage:c,nonQlCohorts:u,watson:l,secureSignal:f}=t;return{activations:(0,n.zG)(e,qe.UI((t=>(0,n.zG)(Object.values(u),qe.UI(Xn),qe.DZ((e=>e.byAdServer(t))),qe.UI(Dn),qe.UI(a.D8(qe.Eh(D.Eq))),(t=>a.vP(...t)),a.UI(qe.xH),(e=>(0,n.bc)(t.id,e))))),Mt.sq),cohorts:{all:c.cohorts,ql:c.segments.all,qlCustom:c.segments.custom,qlStandard:c.segments.standard},context:(0,n.zG)(a.vP(l.permutiveContext,o.permutiveContext),a.UI((t=>{let[e,r]=t;return{...e,...r}}))),eventsToPublish:s,eventsToPublishOnPageUnload:c.eventsToPublishOnPageUnload,externalData:a.vP({...r.externalData,...i.externalData}),geoIP:o.data,realtime:c.realtime,stateMigratedThisInitialisation:c.stateMigratedThisInitialisation,transitionsSinceInit:c.transitionsSinceInit,secureSignal:f}})))}},387:(t,e,r)=>{r.d(e,{BJ:()=>f,El:()=>G,G6:()=>_,HD:()=>l,HP:()=>w,Kn:()=>u,Or:()=>E,PQ:()=>y,SL:()=>d,aT:()=>v,b0:()=>h,b2:()=>m,bw:()=>C,k$:()=>S,lo:()=>A,mQ:()=>R,rO:()=>T,vg:()=>I,vp:()=>p});var n=r(358),i=r(275),a=r(492),s=r(491),o=r(29),c=r(812);const u=t=>"object"==typeof t&&!Array.isArray(t)&&null!==t,l=t=>"string"==typeof t,f=t=>"number"==typeof t&&!Number.isNaN(t);function p(t){let e=0;for(let r=0;r<t.length;r++)e=(e<<5)-e+t.charCodeAt(r),e&=e;return e}function d(t){return e=>{let r=0;for(let n of e){r=r+t(n)|0}return r}}s.ff(o.xb);function m(){let t,e;return{promise:new Promise(((r,n)=>{t=r,e=n})),reject:e,resolve:t}}let g=[];function v(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:navigator.userAgent;if(g.unshift(t),g.length>1)return;const r=["beforeunload","pagehide"],n=r.concat(["visibilitychange"]),i=t=>{if(!a&&t){a=!0;const t=g;g=[],t.forEach((t=>{try{t()}catch{}}))}};let a=!1;n.forEach((t=>{window.addEventListener(t,(()=>{const r=("visibilitychange"!==t||document.hidden)&&b(e);i(r)}))})),r.forEach((t=>{window.addEventListener(t,(()=>i(!0)))}))}function S(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(t=>(t^(self.crypto||self.msCrypto).getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)))}function h(t,e){const r=Object.keys(t),n=r.length,i={};for(let s=0;s<n;s++){const n=r[s],o=e(n,t[n]);(0,a.pC)(o)&&(i[n]=o.value)}return i}function b(t){return/Mobi|Android/i.test(t)}function _(t){return/^((?!chrome|android).)*safari/i.test(t)}function y(t,e){return new Promise((r=>{(0,c.HJ)((()=>{Promise.resolve(t()).then(r)}),(null==e?void 0:e.timeout)??0)}))}const E=()=>({equals:(t,e)=>Object.is(t,e)});function I(t){return e=>null!=e&&t in e?e[t]:void 0}function w(t){let e=a.YP;const r=(0,a.fS)((()=>{const r=t();return e=(0,a.G)(r),r}));return()=>r(e)}const R=t=>{const e=new Map;return r=>(e.has(r)||e.set(r,t(r)),e.get(r))},T=t=>e=>{const r={...e};for(const i in t){var n;r[i]=null===(n=t[i])||void 0===n?void 0:n.call(t,e[i])}return r};function C(t){return e=>(t(e),e)}const A=t=>e=>{const r=t.slice(0,-1),s=t.slice(-1)[0];return(0,i.zG)(r,n.f2((t=>{let[r,n]=t;return(0,i.zG)(e,a.DT(r),a.UI(n))})),a.fS((()=>s(e))))},P=t=>e=>{if("number"==typeof e)return e;if("string"==typeof e){const r=t(e);return Number.isNaN(r)?void 0:r}};P(parseInt),P(parseFloat);function G(t){return"object"==typeof t&&null!==t&&"_tag"in t&&["None","Some"].includes(t._tag)}},965:(t,e,r)=>{r.r(e),r.d(e,{lookalikeModelsService:()=>_,realService:()=>E,stubService:()=>y});var n=r(275),i=r(492);const a=(t,e,r,n)=>e+(r-e)*n/(Math.pow(2,t)-1),s=(t,e)=>{const r=(t,e)=>{const r=t.toString(16);return("0".repeat(e)+r).slice(Math.min(-e,-r.length))};return`${r(t.getUint32(e),8)}-${r(t.getUint16(e+4),4)}-${r(t.getUint16(e+6),4)}-${r(t.getUint16(e+8),4)}-${r(t.getUint32(e+10),8)}${r(t.getUint16(e+14),4)}`},o=t=>{const e=[1,2],r=t.getInt8(0);if(1===r)return c(t);if(2===r)return u(t);{const n=(0,i.Y3)((()=>s(t,1))),a=(0,i.g_)((()=>"Couldn\'t decode model id"),(t=>`Model id was ${t}`))(n);throw new Error(`Decoding only supported for version(s): ${e}; Supplied version was ${r}; ${a}`)}},c=t=>l(t,1),u=t=>l(t,2),l=(t,e)=>{const r=s(t,1),n=((t,e)=>{switch(String.fromCharCode(t.getInt8(e))){case"1":return"1p";case"3":return"3p"}})(t,17),i=t.getInt8(18),a=t.getFloat32(19),o=t.getFloat32(23),[c,u]=((t,e,r,n,i,a)=>{const s={};let o=0;do{let r;1===a?(o=t.getUint16(e),r=t.getUint16(e+2),e+=4):(o=t.getUint32(e),r=t.getUint16(e+4),e+=6),s[0===o?"const":o]=r.toString(36)}while(0!==o);return[s,e]})(t,27,0,0,0,e);return[{version:e,id:r,data_preference:n,weights:c,precision:i,min:a,max:o},u]};var f=r(716),p=r(940),d=r(812),m=r(936),g=r(460),v=r(385),S=r(371),h=r(387);const b=()=>i.G({}),_=E;function y(t){return m.K4((()=>g.a9(b())))}function E(t){t.logger.warn("add cleanup of legacy LAL cache");const e=t.trace.startSpan("lookalike_models_data_retrieval_duration");return(0,n.zG)(S.m((0,n.zG)(g.vP(t.consent,t.currentTimestampSecs),g.UI((e=>{let[r,s]=e;return{currentTimestampSecs:s,validity:{maxAge:604800,key:()=>null},freshness:{maxAge:86400,key:()=>null},refresh:(0,n.zG)(r,i.DT(Boolean),i.UI((()=>()=>f.fF(function(t){const e="Failed fetching binary models, reverting to JSON.\\nError: ",r="Failed fetching json models.\\nError: ";return(0,n.zG)(f.Y3((()=>w(t)),(t=>t.message)),d.N1,f.oU((t=>()=>function(t){const e=[];let r=0;for(;r<t.byteLength;){const[n,i]=o(new DataView(t,r));e.push(n),r+=i}return e}(t))),d.N1,f.UI(I((t=>{let{precision:e,max:r,min:n}=t;return{"1p":{},precision:e,min:n,max:r}}))),f.Vn((r=>(t.logger.log(e+r),t.metrics.track({name:"sdk_binary_models_missing_count",value:1,labels:{}}),r))),f.wp((()=>(0,n.zG)(f.Y3((()=>R(t)),(t=>t.message)),f.UI((t=>t.models)),f.UI(I((()=>({"1p":{}}))))))),f.UI((t=>(t=>{const e=Object.keys(t);return e.length>0&&t[e[0]].hasOwnProperty("precision")})(t)?(t=>{const e={},r=Object.keys(t),n=t=>{const e={"1p":{}},{precision:r,min:n,max:i}=t,s=t["1p"],o=Object.keys(s);for(let t=0;t<o.length;t++){const c=o[t],u=parseInt(s[c],36);e["1p"][c]=a(r,n,i,u)}return e};for(let i=0;i<r.length;i++){const a=r[i],s=t[a];e[a]=n(s)}return e})(t):t)),f.fS((e=>(t.reportError(r+e),p.of({})))))}(t)))))}})))),m.UI(g.UI((0,n.ls)(v.fS((e=>(t.logger.warn("[LAL]",`Failed to refresh, using zero value. ${e}`),b()))),(0,h.bw)(i.UI((()=>{e.finish(),t.metrics.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"lookalike_models_ready",time_origin:"sdk_init"})})))))))}function I(t){return e=>{const r={};for(let n=0;n<e.length;n++){const i=e[n],{id:a,weights:s}=i;if(void 0===a||void 0===s)continue;const o=t(i);Object.keys(s).forEach((t=>{o["1p"][t]=s[t]})),r[a]=o}return r}}const w=t=>{const{permutiveApi:e,config:r,metrics:n}=t,i=n.startTimer("sdk_http_models_seconds",{});return e.req({url:T(r.cdnProtocol,r.cdnBaseUrl,"binary"),method:"GET",contentType:"text/plain",dataType:"binary",withCredentials:!1}).then((t=>(n.stopTimer("sdk_http_models_seconds",i),t)))},R=t=>{const{permutiveApi:e,config:r,metrics:n}=t,i=n.startTimer("sdk_http_models_seconds",{});return e.req({url:T(r.cdnProtocol,r.cdnBaseUrl,"json"),method:"GET",contentType:"text/plain",dataType:"json",withCredentials:!1}).then((t=>(n.stopTimer("sdk_http_models_seconds",i),t)))};function T(t,e,r){const n=`${t}://${e}`;switch(r){case"binary":return`${n}/models/v2/a55a84b3-9632-4869-b625-3d8ef43ed18d-models.bin`;case"json":return`${n}/models/a55a84b3-9632-4869-b625-3d8ef43ed18d-models.json`}}},343:(t,e,r)=>{r.d(e,{K:()=>A,O:()=>T});let n,i;const a=new WeakMap,s=new WeakMap,o=new WeakMap,c=new WeakMap,u=new WeakMap;let l={get(t,e,r){if(t instanceof IDBTransaction){if("done"===e)return s.get(t);if("objectStoreNames"===e)return t.objectStoreNames||o.get(t);if("store"===e)return r.objectStoreNames[1]?void 0:r.objectStore(r.objectStoreNames[0])}return d(t[e])},set:(t,e,r)=>(t[e]=r,!0),has:(t,e)=>t instanceof IDBTransaction&&("done"===e||"store"===e)||e in t};function f(t){return t!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(i||(i=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(m(this),e),d(a.get(this))}:function(...e){return d(t.apply(m(this),e))}:function(e,...r){const n=t.call(m(this),e,...r);return o.set(n,e.sort?e.sort():[e]),d(n)}}function p(t){return"function"==typeof t?f(t):(t instanceof IDBTransaction&&function(t){if(s.has(t))return;const e=new Promise(((e,r)=>{const n=()=>{t.removeEventListener("complete",i),t.removeEventListener("error",a),t.removeEventListener("abort",a)},i=()=>{e(),n()},a=()=>{r(t.error||new DOMException("AbortError","AbortError")),n()};t.addEventListener("complete",i),t.addEventListener("error",a),t.addEventListener("abort",a)}));s.set(t,e)}(t),e=t,(n||(n=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some((t=>e instanceof t))?new Proxy(t,l):t);var e}function d(t){if(t instanceof IDBRequest)return function(t){const e=new Promise(((e,r)=>{const n=()=>{t.removeEventListener("success",i),t.removeEventListener("error",a)},i=()=>{e(d(t.result)),n()},a=()=>{r(t.error),n()};t.addEventListener("success",i),t.addEventListener("error",a)}));return e.then((e=>{e instanceof IDBCursor&&a.set(e,t)})).catch((()=>{})),u.set(e,t),e}(t);if(c.has(t))return c.get(t);const e=p(t);return e!==t&&(c.set(t,e),u.set(e,t)),e}const m=t=>u.get(t);const g=["get","getKey","getAll","getAllKeys","count"],v=["put","add","delete","clear"],S=new Map;function h(t,e){if(!(t instanceof IDBDatabase)||e in t||"string"!=typeof e)return;if(S.get(e))return S.get(e);const r=e.replace(/FromIndex$/,""),n=e!==r,i=v.includes(r);if(!(r in(n?IDBIndex:IDBObjectStore).prototype)||!i&&!g.includes(r))return;const a=async function(t,...e){const a=this.transaction(t,i?"readwrite":"readonly");let s=a.store;return n&&(s=s.index(e.shift())),(await Promise.all([s[r](...e),i&&a.done]))[0]};return S.set(e,a),a}l=(t=>({...t,get:(e,r,n)=>h(e,r)||t.get(e,r,n),has:(e,r)=>!!h(e,r)||t.has(e,r)}))(l);var b=r(865),_=r(385),y=r(275),E=r(940),I=r(716),w=r(387),R=r(812);const T="[IDB]",C=(t,e,r,n,i,a)=>(0,y.zG)((0,E.of)(t.getNamespacedStorageKey(i)),(0,E.tS)((t=>(0,I.Y3)((async()=>r.put(n,a,t)),b.w))),(0,E.UI)((0,_.g_)((t=>{throw e.error(T,`Failed to store crypto key to ${n} due to unexpected error,\\n`,t),t}),(()=>a))),(t=>t()));class A{namespace;logger;cryptoAlg;idb;mainObjectStore;keyObjectStore;keyObjectKey;cryptoKey;MAX_CONSECUTIVE_PUTS=30;puts=1;hasForcedCompaction=!1;constructor(t,e,r,n,i,a,s,o){this.namespace=t,this.logger=e,this.cryptoAlg=r,this.idb=n,this.mainObjectStore=i,this.keyObjectStore=a,this.keyObjectKey=s,this.cryptoKey=o,this.logDebug("Created",this.idb)}static initialise(t,e,r,n,i,a,s,o,c,u){const l=(0,w.G6)(navigator.userAgent)&&!1,f=[u,n.isAvailable(),!l].every((t=>!0===t)),p=async(e,i,a)=>(0,y.zG)(await e.get(a,t.getNamespacedStorageKey(i)),(async t=>t??n.generateKey(!1)),(async n=>C(t,r,e,s,o,await n))).catch((t=>{const e=(0,b.w)(t);throw r.error(T,"Get crypto key failed. Got\\n",e),e})),d=(t,e,r)=>e.includes(r)?(0,y.Q1)():t.createObjectStore(r),m=()=>P(i,c,{upgrade:t=>{const e=[...t.objectStoreNames];d(t,e,a),d(t,e,s)}}).then((t=>{const e=[...t.objectStoreNames];return e.includes(a)&&e.includes(s)?t:Promise.reject(new Error("Object store(s) missing."))})),g=f?(0,_.Y3)((()=>function(t){if(!(0,w.G6)(navigator.userAgent)||!indexedDB.databases)return Promise.resolve();let e=()=>{},r=0;return new Promise((t=>{const n=()=>(r++,indexedDB.databases().finally((0,R.GL)(t)));e=(0,R.UM)(n,100),n()})).finally((()=>{e(),t.track({name:"sdk_idb_conn_attempt_safari_count",value:r,labels:{}})}))}(e).then((()=>m())).catch((t=>(r.error(`Re-creating IDB database ${i} due to error`,t),G(i).then((()=>m())))))),String):(0,_.t$)("Connection not attempted. Default to localStorage");return(0,_.g_)((t=>(0,I.t$)(t)),(e=>(0,y.zG)((0,I.Y3)((()=>e.then((async t=>({db:t,cryptoKey:await p(t,o,s)})))),String),(0,I.UI)((e=>{let{db:i,cryptoKey:c}=e;return new A(t,r,n,i,a,s,o,c)})))))(g)}async put(t,e){return(0,y.zG)((async()=>(0,y.bc)(JSON.stringify(t),this.cryptoKey)),(0,E.tS)((t=>{let[e,r]=t;return(0,E.of)(this.cryptoAlg.encrypt(r,e))})),(0,E.tS)((t=>async()=>(await this.recreateIfNecessary(this.puts++),t))),(0,E.tS)((t=>(0,I.Y3)((()=>this.idb.put(this.mainObjectStore,t,this.namespace.getNamespacedStorageKey(String(e)))),b.w))),(0,E.UI)((0,_.g_)((r=>{throw this.logError(`Failed to put "${e.toString()}" value`,t,". Got \\n",r),"QuotaExceededError"===r.name&&this.forceCompaction(),r}),(()=>e))),(t=>t()))}get(t){return(0,y.zG)(this.namespace.getNamespacedStorageKey(String(t)),(e=>this.idb.get(this.mainObjectStore,e).then((async t=>t?JSON.parse(await this.cryptoAlg.decrypt(this.cryptoKey,t)):null)).catch((e=>{const r=(0,b.w)(e);throw this.logError(`Get ${t.toString()} failed. Got`,r),r}))))}delete(t){return(0,y.zG)(this.namespace.getNamespacedStorageKey(String(t)),(t=>this.idb.delete(this.mainObjectStore,t)))}deleteStore(){return this.logDebug("Deleting",this.idb),this.idb.close(),G(this.idb.name)}forceCompaction(){if(this.hasForcedCompaction)return null;this.hasForcedCompaction=!0,this.logDebug("Attempting to force compaction");const t=`__${this.mainObjectStore}`;return P(t).then((e=>(e.close(),G(t))))}recreateIfNecessary(t){return(0,w.G6)(navigator.userAgent)&&t%this.MAX_CONSECUTIVE_PUTS==0?this.recreate():Promise.resolve()}async recreate(){const t=this.idb.name,e=this.idb.version,r=await this.idb.getAllKeys(this.mainObjectStore),n=[];for(const t of r)n.push([t,await this.idb.get(this.mainObjectStore,t)]);await this.deleteStore(),this.idb=await P(t,e,{upgrade:t=>{t.createObjectStore(this.mainObjectStore),t.createObjectStore(this.keyObjectStore)}}),await Promise.all(n.map((t=>{let[e,r]=t;return this.idb.put(this.mainObjectStore,r,e)}))),await C(this.namespace,this.logger,this.idb,this.keyObjectStore,this.keyObjectKey,this.cryptoKey),this.logDebug("Reset to",this.idb)}logDebug(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.debug(T,...e)}logError(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.error(T,...e)}}const P=(0,y.ls)((function(t,e,{blocked:r,upgrade:n,blocking:i,terminated:a}={}){const s=indexedDB.open(t,e),o=d(s);return n&&s.addEventListener("upgradeneeded",(t=>{n(d(s.result),t.oldVersion,t.newVersion,d(s.transaction))})),r&&s.addEventListener("blocked",(()=>r())),o.then((t=>{a&&t.addEventListener("close",(()=>a())),i&&t.addEventListener("versionchange",(()=>i()))})).catch((()=>{})),o}),R.t_,(t=>t.then((t=>({close:t.close.bind(t),createObjectStore:(0,y.ls)(t.createObjectStore.bind(t),y.Q1),delete:(0,y.ls)(t.delete.bind(t),R.t_),get:(0,y.ls)(t.get.bind(t),R.t_),getAllKeys:(0,y.ls)(t.getAllKeys.bind(t),R.t_),get name(){return t.name},get objectStoreNames(){return t.objectStoreNames},put:(0,y.ls)(t.put.bind(t),R.t_),get version(){return t.version}}))))),G=(0,y.ls)((function(t,{blocked:e}={}){const r=indexedDB.deleteDatabase(t);return e&&r.addEventListener("blocked",(()=>e())),d(r).then((()=>{}))}),R.t_)},699:(t,e,r)=>{r.r(e),r.d(e,{make:()=>s});var n=r(275),i=r(343);const a=t=>{const{logger:e,consent:r,prefix:n}=t,i=(t,r)=>(e.debug(`${n} Failed to write ${String(r)} as consent is revoked`),Promise.resolve(r));return t=>class extends t{put=((t,e,r)=>function(){return(r()?e:t)(...arguments)})(super.put.bind(this),i,(()=>!r.current))}},s=(t,e,r,s,o,c,u,l,f,p,d)=>(0,n.zG)(i.K,a({logger:f,consent:p,prefix:i.O})).initialise(t,e,f,r,s,o,c,u,l,d)},414:(t,e,r)=>{r.r(e),r.d(e,{watson:()=>l});var n=r(460),i=r(275),a=r(492),s=r(385),o=r(583),c=r(29),u=r(569);const l=t=>(0,i.zG)(p(t),n.YO("data"),n.Hr("replacementMap",(t=>{let{data:e}=t;return(0,i.zG)(e,a.YO("data"),a.Hr("taxonomyLabels",(t=>{let{data:e}=t;return function(t){const e=t=>{const e=t.split("/").filter((t=>t));return e.map(((t,r)=>"/"+e.slice(0,r+1).join("/")))},r=o.xH(t.filter(Boolean).map((t=>e(t.label))));return o.jj(c.Eq)(r)}(e.taxonomy??[])})),a.UI((t=>{var e,r,n;let{data:a,taxonomyLabels:s}=t;return{$alchemy_concepts:a.concepts??[],$alchemy_document_emotion:(null===(e=a.emotion)||void 0===e||null===(r=e.document)||void 0===r?void 0:r.emotion)??null,$alchemy_document_sentiment:(null===(n=a.sentiment)||void 0===n?void 0:n.document)??null,$alchemy_entities:a.entities??[],$alchemy_entity_names:(0,i.zG)(a.entities??[],o.UI((t=>t.text))),$alchemy_keywords:a.keywords??[],$alchemy_taxonomy:a.taxonomy??[],$alchemy_taxonomy_labels:s,$taxonomy_labels:s}})))})),n.Hr("permutiveContext",(t=>{let{data:e}=t;return(0,i.zG)(e,a.EQ((()=>({})),(t=>({watson:t}))))})),(t=>({permutiveContext:(0,i.zG)(t,n.UI((t=>t.permutiveContext))),replacementMap:(0,i.zG)(t,n.UI((t=>t.replacementMap)))}))),f=()=>n.a9(a.G({})),p=t=>(0,i.zG)(n.vP(t.watsonEnabled,t.pageUrl),n.UI((0,i.ls)(a.DT(u.li),a.tS(u.Yg))),n.UI(a.UI((0,i.ls)(d(t.permutiveApi,t.metrics,t.config,t.permutiveUrls,t.trace),n.p4,n.UI(a.UI(s.fS((()=>({})))))))),n.VS(a.fS(f))),d=(t,e,r,n,i)=>s=>{const o=e.startTimer("sdk_http_watson_seconds",{}),c=i.startSpan("watson_data_retrieval");return t.req({url:n.getEndpointUrl("/watson",a.G(r.apiVersion)),method:"POST",contentType:"text/plain",dataType:"json",withCredentials:!1,payload:{url:s,classify:!0}}).then((t=>(e.stopTimer("sdk_http_watson_seconds",o),e.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"watson_data_ready",time_origin:"sdk_init"},performance.now()),c.finish(),t)))}},925:(t,e,r)=>{r.d(e,{N:()=>s,Qt:()=>c,Yt:()=>d,a1:()=>o,ap:()=>a,gz:()=>p});var n=r(275),i=r(963);function a(t,e){return function(r){return function(n){return t.ap(t.map(n,(function(t){return function(r){return e.ap(t,r)}})),r)}}}function s(t){return function(e){return function(r){return t.ap(t.map(r,(function(t){return function(){return t}})),e)}}}function o(t){return function(e){return function(r){return t.ap(t.map(r,(function(){return function(t){return t}})),e)}}}function c(t){return function(e,r){return function(n){return t.ap(t.map(n,(function(t){return function(r){var n;return Object.assign({},t,((n={})[e]=r,n))}})),r)}}}function u(t,e,r){return function(n){for(var i=Array(r.length+1),a=0;a<r.length;a++)i[a]=r[a];return i[r.length]=n,0===e?t.apply(null,i):u(t,e-1,i)}}var l={1:function(t){return[t]},2:function(t){return function(e){return[t,e]}},3:function(t){return function(e){return function(r){return[t,e,r]}}},4:function(t){return function(e){return function(r){return function(n){return[t,e,r,n]}}}},5:function(t){return function(e){return function(r){return function(n){return function(i){return[t,e,r,n,i]}}}}}};function f(t){return i.e$.call(l,t)||(l[t]=u(n.bc,t-1,[])),l[t]}function p(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var n=e.length,i=f(n),a=t.map(e[0],i),s=1;s<n;s++)a=t.ap(a,e[s]);return a}}function d(t){return function(e){for(var r=Object.keys(e),n=r.length,i=function(t){var e=t.length;switch(e){case 1:return function(e){var r;return(r={})[t[0]]=e,r};case 2:return function(e){return function(r){var n;return(n={})[t[0]]=e,n[t[1]]=r,n}};case 3:return function(e){return function(r){return function(n){var i;return(i={})[t[0]]=e,i[t[1]]=r,i[t[2]]=n,i}}};case 4:return function(e){return function(r){return function(n){return function(i){var a;return(a={})[t[0]]=e,a[t[1]]=r,a[t[2]]=n,a[t[3]]=i,a}}}};case 5:return function(e){return function(r){return function(n){return function(i){return function(a){var s;return(s={})[t[0]]=e,s[t[1]]=r,s[t[2]]=n,s[t[3]]=i,s[t[4]]=a,s}}}}};default:return u((function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];for(var i={},a=0;a<e;a++)i[t[a]]=r[a];return i}),e-1,[])}}(r),a=t.map(e[r[0]],i),s=1;s<n;s++)a=t.ap(a,e[r[s]]);return a}}},358:(t,e,r)=>{r.d(e,{Ce:()=>u,DY:()=>I,Eh:()=>z,GY:()=>E,Gb:()=>m,KB:()=>f,Lx:()=>D,Od:()=>c,Qp:()=>b,Su:()=>P,UI:()=>C,YM:()=>d,f2:()=>_,fw:()=>L,hX:()=>U,ke:()=>g,md:()=>h,oA:()=>M,pR:()=>q,tS:()=>A,yL:()=>w,yW:()=>B,zT:()=>S});var n=r(275),i=(r(560),r(963)),a=r(586),s=r(583),o=(r(219),r(511),function(t){return 0===t.length}),c=a.Od,u=a.Ce,l=(a.ws,a.R3),f=(a.Im,function(t,e){return t<=0?[]:a.KB(e)(t)});var p=a.dC,d=(s.P5,s.YM),m=(s.Z$,function(t){return c(t)?i.G(a.Gb(t)):i.YP}),g=function(t){return function(e){return p(t,e)?y(e):e.slice(0,t)}};var v=function(t,e){for(var r=t.length,n=0;n<r&&e(t[n]);n++);return n};function S(t){return function(e){var r=R(v(e,t))(e);return{init:r[0],rest:r[1]}}}var h=function(t){return function(e){return t<=0||o(e)?y(e):t>=e.length?[]:e.slice(t,e.length)}};function b(t){return function(e){return e.slice(v(e,t))}}s.cx;var _=s.f2;s.JO,s.qr;var y=function(t){return t.slice()},E=function(t){return o(t)?[]:t.slice().reverse()},I=function(t){return function(e){return e.length<=1?y(e):e.slice().sort(t.compare)}},w=function(t,e,r){for(var n=[],i=Math.min(t.length,e.length),a=0;a<i;a++)n[a]=r(t[a],e[a]);return n};s.t9;var R=function(t){return function(e){return t>=1&&c(e)?a.lx(t)(e):o(e)?[y(e),[]]:[[],y(e)]}};s.kp,s.Eq;var T=a.of,C=function(t){return function(e){return e.map((function(e){return t(e)}))}},A=function(t){return function(e){return(0,n.zG)(e,function(t){return function(e){for(var r=[],n=0;n<e.length;n++)r.push.apply(r,t(n,e[n]));return r}}((function(e,r){return t(r)})))}},P=function(t){return function(e){return e.map((function(e,r){return t(r,e)}))}},G=function(t){return function(e){for(var r=[],n=0;n<e.length;n++){var a=t(n,e[n]);i.pC(a)&&r.push(a.value)}return r}},O=function(t){return G((function(e,r){return t(r)}))},M=O(n.yR),U=function(t){return function(e){return e.filter(t)}},D=s.Lx,k=(s.xP,s.u4,s.OE),L=(s.nq,s.iw,function(t){var e=N(t);return function(t){return e((function(e,r){return t(r)}))}}),N=function(t){return function(e){return k(t.of([]),(function(r,i,a){return t.ap(t.map(i,(function(t){return function(e){return(0,n.zG)(t,l(e))}})),e(r,a))}))}},z=(s.ZN,s.Eh),q=s.pR,B=(s.pJ,s.oR,a.oo,s.yW);s.j0,i.F4,a.w6,a.QI,a.Ss},543:(t,e,r)=>{function n(t){return function(e){return function(r){return t.chain(r,(function(r){return t.map(e(r),(function(){return r}))}))}}}function i(t){return function(e,r){return function(n){return t.chain(n,(function(n){return t.map(r(n),(function(t){var r;return Object.assign({},n,((r={})[e]=t,r))}))}))}}}r.d(e,{a:()=>i,m:()=>n})},385:(t,e,r)=>{r.d(e,{g1:()=>_,G5:()=>b,dO:()=>v,Pd:()=>w,ak:()=>W,YO:()=>F,tS:()=>E,g_:()=>U,ij:()=>N,Yo:()=>A,DT:()=>C,Eh:()=>m,fS:()=>D,nM:()=>P,t$:()=>c,UI:()=>g,Vn:()=>R,EQ:()=>M,aD:()=>O,of:()=>S,vx:()=>L,F2:()=>u,LF:()=>k,KC:()=>x,i$:()=>B,Y3:()=>z,it:()=>q});var n=r(543),i=r(162),a=r(275),s=r(560),o=r(963),c=o.t$,u=o.F2,l=function(t,e){return(0,a.zG)(t,g(e))},f=function(t,e){return(0,a.zG)(t,h(e))},p=function(t,e){return(0,a.zG)(t,E(e))},d="Either",m=function(t,e){return{equals:function(r,n){return r===n||(P(r)?P(n)&&t.equals(r.left,n.left):G(n)&&e.equals(r.right,n.right))}}},g=function(t){return function(e){return P(e)?e:u(t(e.right))}},v={URI:d,map:l},S=u,h=function(t){return function(e){return P(e)?e:P(t)?t:u(e.right(t.right))}},b={URI:d,map:l,ap:f},_={URI:d,map:l,ap:f,of:S},y=function(t){return function(e){return P(e)?e:t(e.right)}},E=y,I={URI:d,map:l,ap:f,chain:p},w=function(t,e){return function(r){return P(r)?c(t(r.left)):u(e(r.right))}},R=function(t){return function(e){return P(e)?c(t(e.left)):e}},T={URI:d,fromEither:a.yR},C=(0,i.DT)(T),A=(0,i.Yo)(T),P=o.nM,G=o.tO,O=function(t,e){return function(r){return P(r)?t(r.left):e(r.right)}},M=O,U=M,D=function(t){return function(e){return P(e)?t(e.left):e.right}},k=function(t){return P(t)?u(t.left):c(t.right)},L=function(t){return function(e){return P(e)?t(e.left):e}},N=function(t){return function(e){return null==e?c(t):u(e)}},z=function(t,e){try{return u(t())}catch(t){return c(e(t))}},q=function(t,e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return z((function(){return t.apply(void 0,r)}),e)}},B=O(a.yR,a.yR);function x(t){return t instanceof Error?t:new Error(String(t))}o.F4;var F=(0,s.YO)(v),W=(0,n.a)(I);o.Xl},890:(t,e,r)=>{r.d(e,{EQ:()=>_,F2:()=>o,KQ:()=>p,LF:()=>T,LU:()=>R,LV:()=>y,NG:()=>d,Pd:()=>h,UI:()=>m,Vn:()=>b,ap:()=>g,dQ:()=>w,fS:()=>E,i$:()=>C,ij:()=>f,m8:()=>u,pk:()=>l,t$:()=>c,tS:()=>v,vx:()=>I,wp:()=>S});var n=r(925),i=r(385),a=r(275),s=r(560);function o(t){return(0,a.ls)(i.F2,t.of)}function c(t){return(0,a.ls)(i.t$,t.of)}function u(t){return function(e){return t.map(e,i.F2)}}function l(t){return function(e){return t.map(e,i.t$)}}function f(t){return function(e){return(0,a.ls)(i.ij(e),t.of)}}function p(t){var e=f(t);return function(t){var r=e(t);return function(t){return(0,a.ls)(t,r)}}}function d(t){var e=v(t),r=p(t);return function(t){var n=r(t);return function(t){return e(n(t))}}}function m(t){return(0,s.UI)(t,i.dO)}function g(t){return(0,n.ap)(t,i.G5)}function v(t){return function(e){return function(r){return t.chain(r,(function(r){return i.nM(r)?t.of(r):e(r.right)}))}}}function S(t){return function(e){return function(r){return t.chain(r,(function(r){return i.nM(r)?e():t.of(r)}))}}}function h(t){return function(e,r){return function(n){return t.map(n,i.Pd(e,r))}}}function b(t){return function(e){return function(r){return t.map(r,i.Vn(e))}}}function _(t){return function(e,r){return function(n){return t.map(n,i.EQ(e,r))}}}function y(t){return function(e,r){return function(n){return t.chain(n,i.EQ(e,r))}}}function E(t){return function(e){return function(r){return t.chain(r,i.EQ(e,t.of))}}}function I(t){return function(e){return function(r){return t.chain(r,(function(r){return i.nM(r)?e(r.left):t.of(r)}))}}}function w(t){var e=I(t);return function(r){return e((function(e){return t.map(r(e),(function(t){return i.nM(t)?t:i.t$(e)}))}))}}function R(t){return function(e){return function(r){return t.chain(r,i.EQ((function(r){return t.map(e(r),i.t$)}),(function(e){return t.of(i.F2(e))})))}}}function T(t){return function(e){return t.map(e,i.LF)}}function C(t){return function(e){return t.map(e,i.i$)}}},191:(t,e,r)=>{r.d(e,{MW:()=>c,Uz:()=>s,bc:()=>a,f7:()=>n,n_:()=>i,w4:()=>o});r(275);var n=function(t){return{equals:function(e,r){return e===r||t(e,r)}}},i=function(t){return n((function(e,r){for(var n in t)if(!t[n].equals(e[n],r[n]))return!1;return!0}))},a=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return n((function(e,r){return t.every((function(t,n){return t.equals(e[n],r[n])}))}))},s=function(t){return function(e){return n((function(r,n){return e.equals(t(r),t(n))}))}},o={equals:function(t,e){return t===e}},c=i;o.equals},162:(t,e,r)=>{r.d(e,{DT:()=>s,Dj:()=>o,Yo:()=>a,fX:()=>c});var n=r(275),i=r(963);function a(t){return function(e){return function(r){return t.fromEither(i.Wi(r)?i.t$(e()):i.F2(r.value))}}}function s(t){return function(e,r){return function(n){return t.fromEither(e(n)?i.F2(n):i.t$(r(n)))}}}function o(t){return function(e){return(0,n.ls)(e,t.fromEither)}}function c(t,e){var r=o(t);return function(t){return function(n){return e.chain(n,r(t))}}}},395:(t,e,r)=>{r.d(e,{At:()=>s,oU:()=>a});var n=r(543),i=r(275);function a(t,e){return function(r){var n=(0,i.ls)(r,t.fromIO);return function(t){return e.chain(t,n)}}}function s(t,e){var r=(0,n.m)(e);return function(e){return r((0,i.ls)(e,t.fromIO))}}},272:(t,e,r)=>{r.d(e,{oU:()=>a,wt:()=>i});var n=r(275);function i(t){return function(e){return(0,n.ls)(e,t.fromTask)}}function a(t,e){return function(r){var i=(0,n.ls)(r,t.fromTask);return function(t){return e.chain(t,i)}}}},560:(t,e,r)=>{function n(t,e){return function(r){return function(n){return t.map(n,(function(t){return e.map(t,r)}))}}}function i(t){return function(e){return function(r){return t.map(r,(function(t){return t(e)}))}}}function a(t){return function(e){return function(r){return t.map(r,(function(t){var r;return(r={})[e]=t,r}))}}}function s(t){return function(e,r){return function(n){return t.map(n,(function(t){var n;return Object.assign({},t,((n={})[e]=r(t),n))}))}}}r.d(e,{Hr:()=>s,OV:()=>i,UI:()=>n,YO:()=>a})},444:(t,e,r)=>{r.d(e,{G5:()=>d,PM:()=>p,RD:()=>b,UA:()=>g,UI:()=>c,dO:()=>f,of:()=>u,qo:()=>m});var n=r(275),i=(r(560),r(963)),a=function(t,e){return function(){return e(t())}},s=function(t,e){return function(){return t()(e())}},o=function(t,e){return function(){return e(t())()}},c=function(t){return function(e){return a(e,t)}},u=n.a9,l="IO",f={URI:l,map:a},p={URI:l,of:u},d={URI:l,map:a,ap:s},m={URI:l,map:a,ap:s,chain:o},g={URI:l,map:a,ap:s,of:u,chain:o},v=(n.yR,n.yR,i.F4,u(i.Xl)),S=function(t){var e=function(t){return function(e){return function(){for(var r=[t(0,i.YM(e))()],n=1;n<e.length;n++)r.push(t(n,e[n])());return r}}}(t);return function(t){return i.Od(t)?e(t):v}},h=function(t){return S((function(e,r){return t(r)}))},b=h(n.yR)},586:(t,e,r)=>{r.d(e,{Ce:()=>l,Eh:()=>E,Gb:()=>w,Im:()=>f,KB:()=>v,Od:()=>o,QI:()=>T,R3:()=>p,Ss:()=>C,dC:()=>c,lx:()=>y,nI:()=>g,of:()=>b,oo:()=>d,ur:()=>R,w6:()=>S,ws:()=>u,yL:()=>_});var n=r(275),i=(r(560),r(963)),a=r(350),s=function(t,e,r){if(r||2===arguments.length)for(var n,i=0,a=e.length;i<a;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))},o=function(t){return t.length>0},c=function(t,e){return t<0||t>=e.length},u=function(t){return function(e){return s([t],e,!0)}},l=u,f=function(t){return function(e){return s(s([],e,!0),[t],!1)}},p=f,d=function(t,e,r){if(o(r)){var n=m(r);return n.splice(t,0,e),n}return[e]},m=i.r1,g=function(t){return o(t)?i.G(t):i.YP},v=function(t){return function(e){for(var r=Math.max(0,Math.floor(e)),n=[t(0)],i=1;i<r;i++)n.push(t(i));return n}},S=function(t,e){return t<=e?v((function(e){return t+e}))(e-t+1):[t]};var h=m,b=function(t){return[t]},_=function(t,e,r){for(var n=[r(t[0],e[0])],i=Math.min(t.length,e.length),a=1;a<i;a++)n[a]=r(t[a],e[a]);return n};a.xP,a.Lx;var y=function(t){return function(e){var r=Math.max(1,t);return r>=e.length?[h(e),[]]:[(0,n.zG)(e.slice(1,r),l(I(e))),e.slice(r)]}},E=(a.u4,a.OE,a.nq,a.iw,a.YM,a.ZN,a.Eh),I=(i.F4,a.YM),w=function(t){return t.slice(1)},R=(a.Z$,a.VV,a.Fp,function(t){return function(e){return e.reduce(t.concat)}});a.j0;function T(t,e){return void 0===e?l(t):(0,n.zG)(e,l(t))}var C=function(t,e){return(0,n.zG)(t,p(e))};a.ur},492:(t,e,r)=>{r.d(e,{DT:()=>m,Dj:()=>ut,Do:()=>ht,EK:()=>v,EQ:()=>nt,Eh:()=>R,FS:()=>St,G:()=>d,G5:()=>U,Gk:()=>N,Hr:()=>_t,IS:()=>g,KQ:()=>mt,NG:()=>gt,OV:()=>ot,Qt:()=>Et,Ri:()=>Y,UI:()=>A,Uo:()=>$,WG:()=>vt,Wi:()=>et,Y3:()=>pt,YO:()=>bt,YP:()=>p,aD:()=>rt,ak:()=>yt,bM:()=>q,dO:()=>P,fS:()=>st,fX:()=>lt,fw:()=>J,g1:()=>D,g_:()=>it,hX:()=>V,ij:()=>ft,it:()=>dt,lo:()=>x,pC:()=>tt,pF:()=>at,pR:()=>T,tS:()=>k,uZ:()=>C,wp:()=>z,xH:()=>ct,xu:()=>X});var n=r(925),i=r(543),a=r(162),s=r(275),o=r(560),c=r(963),u=r(491),l=r(219),f=(r(511),r(957)),p=c.YP,d=c.G;function m(t){return function(e){return t(e)?d(e):p}}var g=function(t){return"Right"===t._tag?p:d(t.left)},v=function(t){return"Left"===t._tag?p:d(t.right)},S=function(t,e){return(0,s.zG)(t,A(e))},h=function(t,e){return(0,s.zG)(t,M(e))},b=function(t,e){return(0,s.zG)(t,k(e))},_=function(t,e){return(0,s.zG)(t,V(e))},y=function(t,e){return(0,s.zG)(t,K(e))},E=function(t,e){return(0,s.zG)(t,Q(e))},I=function(t,e){return(0,s.zG)(t,j(e))},w="Option",R=function(t){return{equals:function(e,r){return e===r||(et(e)?et(r):!et(r)&&t.equals(e.value,r.value))}}},T=function(t){return{equals:R(t).equals,compare:function(e,r){return e===r?0:tt(e)?tt(r)?t.compare(e.value,r.value):1:-1}}},C=function(t){return{concat:function(e,r){return et(e)?r:et(r)?e:d(t.concat(e.value,r.value))},empty:p}},A=function(t){return function(e){return et(e)?p:d(t(e.value))}},P={URI:w,map:S},G=d,O={URI:w,of:G},M=function(t){return function(e){return et(e)||et(t)?p:d(e.value(t.value))}},U={URI:w,map:S,ap:h},D={URI:w,map:S,ap:h,of:G},k=function(t){return function(e){return et(e)?p:t(e.value)}},L={URI:w,map:S,ap:h,chain:b},N=function(t){return function(e){return et(e)?t():e}},z=N,q=function(){return p},B={URI:w,zero:q},x=(0,f.l)(B,O),F=k(s.yR),W=(0,l.s4)(p,p),H=function(t){return et(t)?W:(0,l.s4)(g(t.value),v(t.value))},Y={URI:w,compact:F,separate:H},V=function(t){return function(e){return et(e)?p:t(e.value)?e:p}},K=function(t){return function(e){return et(e)?p:t(e.value)}},Q=function(t){return function(e){return(0,l.s4)(_(e,(0,u.ff)(t)),_(e,t))}},j=function(t){return(0,s.ls)(A(t),H)},X={URI:w,map:S,compact:F,separate:H,filter:_,filterMap:y,partition:E,partitionMap:I},J=function(t){return function(e){return function(r){return et(r)?t.of(p):t.map(e(r.value),d)}}},$=v,Z={URI:w,fromEither:$},tt=c.pC,et=function(t){return"None"===t._tag},rt=function(t,e){return function(r){return et(r)?t():e(r.value)}},nt=rt,it=nt,at=function(t){return function(e){return et(e)?t():e.value}},st=at,ot=(0,o.OV)(P),ct=F,ut=(0,a.Dj)(Z),lt=(0,a.fX)(Z,L),ft=function(t){return null==t?p:d(t)},pt=function(t){try{return d(t())}catch(t){return p}},dt=function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return pt((function(){return t.apply(void 0,e)}))}},mt=function(t){return(0,s.ls)(t,ft)},gt=function(t){return function(e){return et(e)?p:ft(t(e.value))}},vt=nt(s.gn,s.yR),St=nt(s.r5,s.yR);var ht=G(c.F4),bt=(0,o.YO)(P),_t=(0,o.Hr)(P),yt=(0,i.a)(L),Et=(0,n.Qt)(U);c.Xl},881:(t,e,r)=>{r.d(e,{Fp:()=>p,Uz:()=>o,VV:()=>f,Zt:()=>s,gf:()=>l,gt:()=>u,lt:()=>c});var n=r(191),i=r(275),a=function(t){return function(e,r){return e===r||0===t(e,r)}},s=function(t){return{equals:a(t),compare:function(e,r){return e===r?0:t(e,r)}}},o=function(t){return function(e){return s((function(r,n){return e.compare(t(r),t(n))}))}},c=(i.W8,function(t){return function(e,r){return-1===t.compare(e,r)}}),u=function(t){return function(e,r){return 1===t.compare(e,r)}},l=function(t){return function(e,r){return-1!==t.compare(e,r)}},f=function(t){return function(e,r){return e===r||t.compare(e,r)<1?e:r}},p=function(t){return function(e,r){return e===r||t.compare(e,r)>-1?e:r}};n.w4.equals},491:(t,e,r)=>{r.d(e,{ff:()=>n,xD:()=>i});r(275);var n=function(t){return function(e){return!t(e)}},i=function(t){return function(e){return function(r){return e(r)&&t(r)}}}},583:(t,e,r)=>{r.d(e,{Ce:()=>g,DZ:()=>X,EQ:()=>h,Eh:()=>ft,Eq:()=>x,Ew:()=>C,G:()=>It,Hr:()=>Rt,JO:()=>P,Lx:()=>rt,N7:()=>M,OE:()=>nt,OV:()=>mt,Od:()=>m,P5:()=>_,R3:()=>v,Su:()=>K,UI:()=>V,YM:()=>y,Yo:()=>S,Z$:()=>E,ZN:()=>ct,bM:()=>W,bj:()=>O,cS:()=>yt,cx:()=>T,f2:()=>A,hX:()=>Q,iw:()=>at,j0:()=>wt,jG:()=>ut,jj:()=>D,kp:()=>B,lo:()=>St,md:()=>R,nI:()=>_t,nq:()=>it,oA:()=>J,oR:()=>bt,of:()=>F,pJ:()=>ht,pO:()=>k,pR:()=>pt,pc:()=>N,qr:()=>G,t9:()=>U,tS:()=>H,u4:()=>et,uK:()=>$,uZ:()=>lt,vP:()=>st,xH:()=>Y,xP:()=>tt,xb:()=>d,yW:()=>Et,zT:()=>w});var n=r(191),i=r(275),a=r(560),s=r(963),o=r(627),c=r(881),u=r(350),l=r(219),f=(r(511),r(957)),p=function(t,e,r){if(r||2===arguments.length)for(var n,i=0,a=e.length;i<a;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))},d=function(t){return 0===t.length},m=u.Od,g=u.Ce,v=(u.ws,u.R3);u.Im;var S=function(t){return s.Wi(t)?yt:[t.value]},h=function(t,e){return function(r){return m(r)?e(r):t()}},b=u.dC;function _(t,e){return void 0===e?function(e){return _(t,e)}:b(t,e)?s.YP:s.G(e[t])}var y=function(t){return m(t)?s.G(u.YM(t)):s.YP},E=function(t){return m(t)?s.G(u.Z$(t)):s.YP};var I=function(t,e){for(var r=t.length,n=0;n<r&&e(t[n]);n++);return n};function w(t){return function(e){var r=L(I(e,t))(e);return{init:r[0],rest:r[1]}}}var R=function(t){return function(e){return t<=0||d(e)?e:t>=e.length?yt:e.slice(t,e.length)}};var T=function(t){return function(e){for(var r=0;r<e.length;r++)if(t(e[r]))return s.G(r);return s.YP}};function C(t){return function(e){for(var r=0;r<e.length;r++)if(t(e[r]))return s.G(e[r]);return s.YP}}var A=function(t){return function(e){for(var r=0;r<e.length;r++){var n=t(e[r]);if(s.pC(n))return n}return s.YP}};var P=function(t){return function(e){for(var r=e.length-1;r>=0;r--){var n=t(e[r]);if(s.pC(n))return n}return s.YP}},G=function(t){return function(e){for(var r=e.length-1;r>=0;r--)if(t(e[r]))return s.G(r);return s.YP}},O=function(t){for(var e=[],r=0;r<t.length;r++){var n=t[r];"Left"===n._tag&&e.push(n.left)}return e};var M=function(t){for(var e=[],r=[],n=0;n<t.length;n++)e[n]=t[n][0],r[n]=t[n][1];return[e,r]};function U(t){return function(e,r){if(void 0===r){var n=U(t);return function(t){return n(e,t)}}for(var i,a=0;a<r.length;a++)if(i=r[a],t.equals(i,e))return!0;return!1}}var D=function(t){var e=u.jj(t);return function(t){return m(t)?e(t):t}},k=function(t){var e=u.pO(t);return function(t){return m(t)?e(t):yt}},L=function(t){return function(e){return t>=1&&m(e)?u.lx(t)(e):d(e)?[e,yt]:[yt,e]}},N=function(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return S(t.apply(void 0,e))}};var z=function(t,e){return(0,i.zG)(t,V(e))},q=function(t,e,r){return(0,i.zG)(t,et(e,r))},B=function(t,e){return(0,i.zG)(t,ht(e))},x=function(t,e){return(0,i.zG)(t,bt(e))},F=u.of,W=function(){return yt},H=function(t){return function(e){return(0,i.zG)(e,function(t){return function(e){if(d(e))return yt;for(var r=[],n=0;n<e.length;n++)r.push.apply(r,t(n,e[n]));return r}}((function(e,r){return t(r)})))}},Y=H(i.yR),V=function(t){return function(e){return e.map((function(e){return t(e)}))}},K=function(t){return function(e){return e.map((function(e,r){return t(r,e)}))}},Q=function(t){return function(e){return e.filter(t)}},j=function(t){return function(e){for(var r=[],n=0;n<e.length;n++){var i=t(n,e[n]);s.pC(i)&&r.push(i.value)}return r}},X=function(t){return j((function(e,r){return t(r)}))},J=X(i.yR),$=function(t){return Z((function(e,r){return t(r)}))},Z=function(t){return function(e){for(var r=[],n=[],i=0;i<e.length;i++){var a=e[i];t(i,a)?n.push(a):r.push(a)}return(0,l.s4)(r,n)}},tt=function(t){return function(e){return function(r){return r.reduce((function(r,n,i){return t.concat(r,e(i,n))}),t.empty)}}},et=function(t,e){return nt(t,(function(t,r,n){return e(r,n)}))},rt=function(t){var e=tt(t);return function(t){return e((function(e,r){return t(r)}))}},nt=function(t,e){return function(r){for(var n=r.length,i=t,a=0;a<n;a++)i=e(a,i,r[a]);return i}},it=function(t,e){return at(t,(function(t,r,n){return e(r,n)}))},at=function(t,e){return function(r){return r.reduceRight((function(t,r,n){return e(n,r,t)}),t)}},st=function(t){return function(e){return q(e,t.of(W()),(function(e,r){return t.ap(t.map(e,(function(t){return function(e){return(0,i.zG)(t,v(e))}})),r)}))}},ot="ReadonlyArray",ct=function(t){return{show:function(e){return"[".concat(e.map(t.show).join(", "),"]")}}},ut=function(){return{concat:function(t,e){return d(t)?e:d(e)?t:t.concat(e)}}},lt=function(){return{concat:ut().concat,empty:yt}},ft=function(t){return(0,n.f7)((function(e,r){return e.length===r.length&&e.every((function(e,n){return t.equals(e,r[n])}))}))},pt=function(t){return(0,c.Zt)((function(e,r){for(var n=e.length,i=r.length,a=Math.min(n,i),s=0;s<a;s++){var c=t.compare(e[s],r[s]);if(0!==c)return c}return o.Df.compare(n,i)}))},dt={URI:ot,map:z},mt=(0,a.OV)(dt),gt={URI:ot,of:F},vt={URI:ot,zero:W},St=(0,f.l)(vt,gt),ht=function(t){return function(e){for(var r=p([],t(e),!0),n=[];r.length>0;){var i=r.shift();s.nM(i)?r.unshift.apply(r,t(i.left)):n.push(i.right)}return n}},bt=function(t){return function(e){var r=t(e),n=[],i=[];function a(e){s.nM(e)?t(e.left).forEach((function(t){return n.push(t)})):i.push(e.right)}for(var o=0,c=r;o<c.length;o++){a(c[o])}for(;n.length>0;)a(n.shift());return i}},_t=(u.oo,function(t){return d(t)?yt:t.slice()}),yt=u.cS;function Et(t){return function(e){return e.every(t)}}var It=function(t){return function(e){return e.some(t)}},wt=function(t){var e=u.j0(t);return function(r){return h((function(){return t.empty}),e(r))}},Rt=(s.F4,(0,a.Hr)(dt));u.w6,u.QI,u.Ss},350:(t,e,r)=>{r.d(e,{Ce:()=>p,Eh:()=>k,Fp:()=>x,Im:()=>d,Lx:()=>A,OE:()=>G,Od:()=>u,QI:()=>V,R3:()=>m,Ss:()=>K,UI:()=>R,VV:()=>B,YM:()=>L,Z$:()=>z,ZN:()=>D,aL:()=>W,c2:()=>S,cS:()=>c,dC:()=>l,iw:()=>M,j0:()=>Y,jj:()=>v,lx:()=>I,nq:()=>P,of:()=>w,oo:()=>g,pO:()=>E,u4:()=>C,ur:()=>F,ut:()=>H,w6:()=>b,ws:()=>f,xP:()=>O});var n=r(191),i=r(275),a=(r(560),r(963)),s=r(199),o=function(t,e,r){if(r||2===arguments.length)for(var n,i=0,a=e.length;i<a;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))},c=a.Xl,u=a.Od,l=function(t,e){return t<0||t>=e.length},f=function(t){return function(e){return o([t],e,!0)}},p=f,d=function(t){return function(e){return o(o([],e,!0),[t],!1)}},m=d,g=function(t,e,r){if(u(r)){var n=a.r1(r);return n.splice(t,0,e),n}return[e]},v=function(t){return function(e){if(1===e.length)return e;for(var r=[L(e)],n=function(e){r.every((function(r){return!t.equals(r,e)}))&&r.push(e)},i=0,a=N(e);i<a.length;i++){n(a[i])}return r}},S=function(t){return u(t)?a.G(t):a.YP},h=function(t){return function(e){for(var r=Math.max(0,Math.floor(e)),n=[t(0)],i=1;i<r;i++)n.push(t(i));return n}},b=function(t,e){return t<=e?h((function(e){return t+e}))(e-t+1):[t]};function _(t,e){return e?t.concat(e):function(e){return e.concat(t)}}var y=function(t){return function(e){for(var r=[t,e[0]],n=1;n<e.length;n++)r.push(t,e[n]);return r}},E=function(t){return function(e){for(var r=t(e),n=[r[0]],i=r[1];u(i);){var a=t(i),s=a[0],o=a[1];n.push(s),i=o}return n}},I=function(t){return function(e){var r=Math.max(1,t);return r>=e.length?[e,c]:[(0,i.zG)(e.slice(1,r),p(L(e))),e.slice(r)]}},w=a.ri,R=function(t){return T((function(e,r){return t(r)}))},T=function(t){return function(e){for(var r=[t(0,L(e))],n=1;n<e.length;n++)r.push(t(n,e[n]));return r}},C=function(t,e){return G(t,(function(t,r,n){return e(r,n)}))},A=function(t){return function(e){return function(r){return r.slice(1).reduce((function(r,n){return t.concat(r,e(n))}),e(r[0]))}}},P=function(t,e){return M(t,(function(t,r,n){return e(r,n)}))},G=function(t,e){return function(r){return r.reduce((function(t,r,n){return e(n,t,r)}),t)}},O=function(t){return function(e){return function(r){return r.slice(1).reduce((function(r,n,i){return t.concat(r,e(i+1,n))}),e(0,r[0]))}}},M=function(t,e){return function(r){return r.reduceRight((function(t,r,n){return e(n,r,t)}),t)}},U=a.YM,D=function(t){return{show:function(e){return"[".concat(e.map(t.show).join(", "),"]")}}},k=function(t){return(0,n.f7)((function(e,r){return e.length===r.length&&e.every((function(e,n){return t.equals(e,r[n])}))}))},L=(a.F4,U),N=a.Gb,z=function(t){return t[t.length-1]},q=function(t){return t.slice(0,-1)},B=function(t){var e=s.VV(t);return function(t){return t.reduce(e.concat)}},x=function(t){var e=s.Fp(t);return function(t){return t.reduce(e.concat)}},F=function(t){return function(e){return e.reduce(t.concat)}},W=function(t){return function(e){return t(L(e),N(e))}},H=function(t){return function(e){return t(q(e),z(e))}},Y=function(t){var e=F(t);return function(t){return(0,i.ls)(function(t){return function(e){var r=N(e);return u(r)?(0,i.zG)(r,y(t),p(L(e))):e}}(t),e)}};function V(t,e){return void 0===e?p(t):(0,i.zG)(e,p(t))}var K=function(t,e){return(0,i.zG)(t,_([e]))}},54:(t,e,r)=>{r.d(e,{Bu:()=>S,CC:()=>q,DZ:()=>rt,EG:()=>v,EW:()=>V,Eh:()=>ft,G:()=>D,HA:()=>L,Hd:()=>A,I8:()=>x,P5:()=>h,RF:()=>B,RJ:()=>W,SW:()=>Q,Su:()=>_,UI:()=>y,Ub:()=>X,V_:()=>Y,XP:()=>f,Yz:()=>O,_Y:()=>H,_r:()=>C,cS:()=>b,dp:()=>c,dx:()=>m,e$:()=>g,hX:()=>et,jt:()=>P,kp:()=>z,mK:()=>Z,mS:()=>F,nn:()=>N,nr:()=>dt,nu:()=>K,oA:()=>ct,oh:()=>ut,qS:()=>$,ri:()=>R,sq:()=>M,t9:()=>k,tV:()=>it,uK:()=>nt,uZ:()=>pt,vA:()=>J,vP:()=>T,xb:()=>u,yW:()=>U,z7:()=>G,zV:()=>j});var n=r(191),i=r(275),a=r(963),s=r(219),o=r(29),c=(r(511),function(t){return Object.keys(t).length}),u=function(t){for(var e in t)if(a.e$.call(t,e))return!1;return!0},l=function(t){return function(e){return Object.keys(e).sort(t.compare)}},f=l(o.Df);function p(t){if("function"==typeof t)return p(o.Df)(t);var e=l(t);return function(t){return function(r){for(var n=[],i=0,a=e(r);i<a.length;i++){var s=a[i];n.push(t(s,r[s]))}return n}}}var d=p(o.Df)((function(t,e){return[t,e]}));var m=function(t,e){return function(r){if(a.e$.call(r,t)&&r[t]===e)return r;var n=Object.assign({},r);return n[t]=e,n}},g=function(t,e){return a.e$.call(e,t)};function v(t){return function(e){if(!a.e$.call(e,t))return e;var r=Object.assign({},e);return delete r[t],r}}function S(t){return function(e,r){if(void 0===r){var n=S(t);return function(t){return n(t,e)}}for(var i in e)if(!a.e$.call(r,i)||!t.equals(e[i],r[i]))return!1;return!0}}function h(t,e){return void 0===e?function(e){return h(t,e)}:a.e$.call(e,t)?a.G(e[t]):a.YP}var b={};function _(t){return function(e){var r={};for(var n in e)a.e$.call(e,n)&&(r[n]=t(n,e[n]));return r}}function y(t){return _((function(e,r){return t(r)}))}function E(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(2===t.length)return E(o.Df).apply(void 0,t);var r=l(t[0]);return function(t,e){return function(n){for(var i=t,a=r(n),s=a.length,o=0;o<s;o++){var c=a[o];i=e(c,i,n[c])}return i}}}function I(t){if("compare"in t){var e=l(t);return function(t){return function(r){return function(n){for(var i=t.empty,a=e(n),s=a.length,o=0;o<s;o++){var c=a[o];i=t.concat(i,r(c,n[c]))}return i}}}}return I(o.Df)(t)}function w(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(2===t.length)return w(o.Df).apply(void 0,t);var r=l(t[0]);return function(t,e){return function(n){for(var i=t,a=r(n),s=a.length-1;s>=0;s--){var o=a[s];i=e(o,n[o],i)}return i}}}var R=function(t,e){var r;return(r={})[t]=e,r};function T(t){return Z(o.Df)(t)}function C(t){return function(e){var r={},n={};for(var i in e)if(a.e$.call(e,i)){var o=t(i,e[i]);switch(o._tag){case"Left":r[i]=o.left;break;case"Right":n[i]=o.right}}return(0,s.s4)(r,n)}}function A(t){return function(e){var r={},n={};for(var i in e)if(a.e$.call(e,i)){var o=e[i];t(i,o)?n[i]=o:r[i]=o}return(0,s.s4)(r,n)}}function P(t){return function(e){var r={};for(var n in e)if(a.e$.call(e,n)){var i=t(n,e[n]);a.pC(i)&&(r[n]=i.value)}return r}}function G(t){return function(e){var r={},n=!1;for(var i in e)if(a.e$.call(e,i)){var s=e[i];t(i,s)?r[i]=s:n=!0}return n?r:e}}var O=d,M=function(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r];e[i[0]]=i[1]}return e};function U(t){return function(e){for(var r in e)if(!t(e[r]))return!1;return!0}}function D(t){return function(e){for(var r in e)if(t(e[r]))return!0;return!1}}function k(t){return function(e,r){if(void 0===r){var n=k(t);return function(t){return n(e,t)}}for(var i in r)if(t.equals(r[i],e))return!0;return!1}}var L=function(t,e){return(0,i.zG)(t,y(e))},N=function(t,e){return(0,i.zG)(t,_(e))},z=function(t){var e=at(t);return function(t,r,n){return(0,i.zG)(t,e(r,n))}},q=function(t){return function(e){var r=st(t)(e);return function(t,e){return(0,i.zG)(t,r(e))}}},B=function(t){var e=ot(t);return function(t,r,n){return(0,i.zG)(t,e(r,n))}},x=function(t,e){return(0,i.zG)(t,et(e))},F=function(t,e){return(0,i.zG)(t,rt(e))},W=function(t,e){return(0,i.zG)(t,nt(e))},H=function(t,e){return(0,i.zG)(t,it(e))},Y=function(t){var e=E(t);return function(t,r,n){return(0,i.zG)(t,e(r,n))}},V=function(t){var e=I(t);return function(t){var r=e(t);return function(t,e){return(0,i.zG)(t,r(e))}}},K=function(t){var e=w(t);return function(t,r,n){return(0,i.zG)(t,e(r,n))}},Q=function(t,e){return(0,i.zG)(t,C(e))},j=function(t,e){return(0,i.zG)(t,A(e))},X=function(t,e){return(0,i.zG)(t,P(e))},J=function(t,e){return(0,i.zG)(t,G(e))},$=function(t){var e=tt(t);return function(t){var r=e(t);return function(t,e){return r(t,(0,i.ls)(i.SK,e))}}},Z=function(t){var e=$(t);return function(t){var r=e(t);return function(t){return r(t,i.yR)}}},tt=function(t){return function(e){var r=l(t);return function(t,n){var i=r(t);if(0===i.length)return e.of(b);for(var a=e.of({}),s=function(r){a=e.ap(e.map(a,(function(t){return function(e){var n;return Object.assign({},t,((n={})[r]=e,n))}})),n(r,t[r]))},o=0,c=i;o<c.length;o++){s(c[o])}return a}}},et=function(t){return G((function(e,r){return t(r)}))},rt=function(t){return P((function(e,r){return t(r)}))},nt=function(t){return A((function(e,r){return t(r)}))},it=function(t){return C((function(e,r){return t(r)}))};function at(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){var r=E(t[0]);return function(t,e){return r(t,(function(t,r,n){return e(r,n)}))}}return at(o.Df).apply(void 0,t)}function st(t){if("compare"in t){var e=I(t);return function(t){var r=e(t);return function(t){return r((function(e,r){return t(r)}))}}}return st(o.Df)(t)}function ot(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){var r=w(t[0]);return function(t,e){return r(t,(function(t,r,n){return e(r,n)}))}}return ot(o.Df).apply(void 0,t)}var ct=function(t){var e={};for(var r in t)if(a.e$.call(t,r)){var n=t[r];a.pC(n)&&(e[r]=n.value)}return e},ut=function(t){var e={},r={};for(var n in t)if(a.e$.call(t,n)){var i=t[n];a.nM(i)?e[n]=i.left:r[n]=i.right}return(0,s.s4)(e,r)},lt="ReadonlyRecord";function ft(t){var e=S(t);return(0,n.f7)((function(t,r){return e(t)(r)&&e(r)(t)}))}function pt(t){return{concat:function(e,r){if(u(e))return r;if(u(r))return e;var n=Object.assign({},e);for(var i in r)a.e$.call(r,i)&&(n[i]=a.e$.call(e,i)?t.concat(e[i],r[i]):r[i]);return n},empty:b}}o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df;function dt(t,e){return a.e$.call(void 0===e?this:e,t)}o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df,o.Df},495:(t,e,r)=>{r.d(e,{H5:()=>o,Kl:()=>c,Lx:()=>l,Pd:()=>a,Yg:()=>i,li:()=>n,nq:()=>f,pL:()=>s,u4:()=>u});r(275);function n(t){return t[0]}function i(t){return t[1]}var a=function(t,e){return function(r){return[e(n(r)),t(i(r))]}},s=function(t){return function(e){return[t(n(e)),i(e)]}},o=function(t){return function(e){return[n(e),t(i(e))]}},c=n,u=function(t,e){return function(r){return e(t,n(r))}},l=function(){return function(t){return function(e){return t(n(e))}}},f=function(t,e){return function(r){return e(n(r),t)}}},199:(t,e,r)=>{r.d(e,{Z$:()=>u,Fp:()=>o,VV:()=>s,n_:()=>c});var n,i=r(963),a=r(881),s=function(t){return{concat:a.VV(t)}},o=function(t){return{concat:a.Fp(t)}},c=function(t){return{concat:function(e,r){var n={};for(var a in t)i.e$.call(t,a)&&(n[a]=t[a].concat(e[a],r[a]));return n}}},u=function(){return{concat:function(t,e){return e}}};n=void 0},219:(t,e,r)=>{r.d(e,{F2:()=>s,Vn:()=>i,s4:()=>n});r(275);var n=function(t,e){return{left:t,right:e}},i=function(t){return function(e){return n(t(a(e)),s(e))}},a=function(t){return t.left},s=function(t){return t.right}},940:(t,e,r)=>{r.d(e,{At:()=>R,Do:()=>T,Hi:()=>b,Hr:()=>A,PM:()=>h,UA:()=>E,UI:()=>p,YO:()=>C,ak:()=>P,ap:()=>d,dO:()=>S,mU:()=>I,of:()=>m,pE:()=>D,qA:()=>_,qo:()=>y,tD:()=>c,tS:()=>g,uU:()=>U});var n=r(543),i=r(395),a=r(275),s=r(560),o=r(963),c=function(t){return function(){return Promise.resolve().then(t)}};var u=function(t,e){return(0,a.zG)(t,p(e))},l=function(t,e){return(0,a.zG)(t,d(e))},f=function(t,e){return(0,a.zG)(t,g(e))},p=function(t){return function(e){return function(){return Promise.resolve().then(e).then(t)}}},d=function(t){return function(e){return function(){return Promise.all([Promise.resolve().then(e),Promise.resolve().then(t)]).then((function(t){return(0,t[0])(t[1])}))}}},m=function(t){return function(){return Promise.resolve(t)}},g=function(t){return function(e){return function(){return Promise.resolve().then(e).then((function(e){return t(e)()}))}}},v="Task";var S={URI:v,map:u},h={URI:v,of:m},b={URI:v,map:u,ap:l},_={URI:v,map:u,ap:l,of:m},y={URI:v,map:u,ap:l,chain:f},E={URI:v,map:u,of:m,ap:l,chain:f},I=(a.yR,(0,n.m)(y)),w={URI:v,fromIO:c},R=(0,i.At)(w,y),T=m(o.F4),C=(0,s.YO)(S),A=(0,s.Hr)(S),P=(0,n.a)(y),G=m(o.Xl),O=function(t){var e=function(t){return function(e){return function(){return Promise.all(e.map((function(e,r){return Promise.resolve().then((function(){return t(r,e)()}))})))}}}(t);return function(t){return o.Od(t)?e(t):G}},M=function(t){var e=function(t){return function(e){return function(){return o.Gb(e).reduce((function(e,r,n){return e.then((function(e){return Promise.resolve().then(t(n+1,r)).then((function(t){return e.push(t),e}))}))}),Promise.resolve().then(t(0,o.YM(e))).then(o.ri))}}}(t);return function(t){return o.Od(t)?e(t):G}},U=function(t){return O((function(e,r){return t(r)}))},D=function(t){return M((function(e,r){return t(r)}))}},716:(t,e,r)=>{r.d(e,{At:()=>et,DT:()=>$,EQ:()=>R,F2:()=>v,Hi:()=>Q,Hr:()=>at,Ij:()=>ct,LV:()=>T,OV:()=>K,Op:()=>_,QM:()=>S,Qt:()=>ot,UI:()=>L,Vn:()=>z,Y3:()=>A,YO:()=>it,Zl:()=>x,ak:()=>st,dk:()=>b,fF:()=>E,fS:()=>C,fX:()=>J,fj:()=>w,it:()=>P,lk:()=>h,oU:()=>tt,of:()=>W,t$:()=>g,tD:()=>y,tS:()=>B,wE:()=>nt,wp:()=>F});var n=r(925),i=r(543),a=r(890),s=r(162),o=r(395),c=r(272),u=r(275),l=r(560),f=r(963),p=r(940),d=function(t,e,r,n){return new(r||(r=Promise))((function(i,a){function s(t){try{c(n.next(t))}catch(t){a(t)}}function o(t){try{c(n.throw(t))}catch(t){a(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,o)}c((n=n.apply(t,e||[])).next())}))},m=function(t,e){var r,n,i,a,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,o])}}},g=a.t$(p.PM),v=a.F2(p.PM),S=a.m8(p.dO),h=a.pk(p.dO),b=(0,u.ls)(p.tD,S),_=(0,u.ls)(p.tD,h),y=b,E=S,I=p.of,w=p.tD,R=a.EQ(p.dO),T=a.LV(p.UA),C=a.fS(p.UA),A=function(t,e){return function(){return d(void 0,void 0,void 0,(function(){var r;return m(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,t().then(f.F2)];case 1:return[2,n.sent()];case 2:return r=n.sent(),[2,f.t$(e(r))];case 3:return[2]}}))}))}},P=function(t,e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return A((function(){return t.apply(void 0,r)}),e)}},G=(p.dO,p.PM,p.PM,p.UA,p.UA,p.UA,p.UA,p.dO,function(t,e){return(0,u.zG)(t,L(e))}),O=function(t,e){return(0,u.zG)(t,q(e))},M=function(t,e){return(0,u.zG)(t,B(e))},U=function(t,e,r){return(0,u.zG)(t,N(e,r))},D=function(t,e){return(0,u.zG)(t,z(e))},k=function(t,e){return(0,u.zG)(t,F(e))},L=a.UI(p.dO),N=a.Pd(p.dO),z=a.Vn(p.dO),q=a.ap(p.Hi),B=a.tS(p.UA),x=B,F=a.wp(p.UA),W=v,H=g,Y="TaskEither";var V={URI:Y,map:G},K=(0,l.OV)(V),Q={URI:Y,map:G,ap:O},j={URI:Y,map:G,ap:O,chain:M},X={URI:Y,fromEither:I},J=(0,s.fX)(X,j),$=(0,s.DT)(X),Z={URI:Y,fromIO:y},tt=(0,o.oU)(Z,j),et=(0,o.At)(Z,j),rt={URI:Y,fromIO:y,fromTask:E},nt=(0,c.oU)(rt,j);f.F4;var it=(0,l.YO)(V),at=(0,l.Hr)(V),st=(0,i.a)(j),ot=(0,n.Qt)(Q),ct=(f.Xl,{URI:Y,bimap:U,mapLeft:D,map:G,of:W,ap:O,chain:M,alt:k,fromIO:y,fromTask:E,throwError:H})},569:(t,e,r)=>{r.d(e,{H5:()=>s,Yg:()=>a,li:()=>i});var n=r(495),i=(r(275),n.li),a=n.Yg;var s=function(t){return function(e){return[i(e),t(a(e))]}};n.Kl,n.Lx,n.u4,n.nq},511:(t,e,r)=>{function n(t,e){return function(r){var n=t.traverse(r);return function(t,i){return r.map(n(t,i),e.separate)}}}function i(t,e){return function(r){var n=t.traverse(r);return function(t,i){return r.map(n(t,i),e.compact)}}}r.d(e,{BL:()=>i,Fj:()=>n})},957:(t,e,r)=>{function n(t,e){return function(r){return r?e.of(void 0):t.zero()}}r.d(e,{l:()=>n})},275:(t,e,r)=>{r.d(e,{MZ:()=>a,Q1:()=>l,SK:()=>m,W8:()=>o,a9:()=>s,bc:()=>p,gn:()=>c,ls:()=>f,nn:()=>n,r5:()=>u,yR:()=>i,zG:()=>d});var n=function(t){return function(e){return e(t)}};function i(t){return t}var a=i;function s(t){return function(){return t}}var o=s(!0),c=s(null),u=s(void 0),l=u;function f(t,e,r,n,i,a,s,o,c){switch(arguments.length){case 1:return t;case 2:return function(){return e(t.apply(this,arguments))};case 3:return function(){return r(e(t.apply(this,arguments)))};case 4:return function(){return n(r(e(t.apply(this,arguments))))};case 5:return function(){return i(n(r(e(t.apply(this,arguments)))))};case 6:return function(){return a(i(n(r(e(t.apply(this,arguments))))))};case 7:return function(){return s(a(i(n(r(e(t.apply(this,arguments)))))))};case 8:return function(){return o(s(a(i(n(r(e(t.apply(this,arguments))))))))};case 9:return function(){return c(o(s(a(i(n(r(e(t.apply(this,arguments)))))))))}}}function p(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t}function d(t,e,r,n,i,a,s,o,c){switch(arguments.length){case 1:return t;case 2:return e(t);case 3:return r(e(t));case 4:return n(r(e(t)));case 5:return i(n(r(e(t))));case 6:return a(i(n(r(e(t)))));case 7:return s(a(i(n(r(e(t))))));case 8:return o(s(a(i(n(r(e(t)))))));case 9:return c(o(s(a(i(n(r(e(t))))))));default:for(var u=arguments[0],l=1;l<arguments.length;l++)u=arguments[l](u);return u}}var m=function(t,e){return e}},963:(t,e,r)=>{r.d(e,{F2:()=>f,F4:()=>S,G:()=>o,Gb:()=>g,Od:()=>d,Wi:()=>i,Xl:()=>v,YM:()=>m,YP:()=>s,e$:()=>h,nM:()=>c,pC:()=>a,r1:()=>b,ri:()=>p,t$:()=>l,tO:()=>u});var n=function(t,e,r){if(r||2===arguments.length)for(var n,i=0,a=e.length;i<a;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))},i=function(t){return"None"===t._tag},a=function(t){return"Some"===t._tag},s={_tag:"None"},o=function(t){return{_tag:"Some",value:t}},c=function(t){return"Left"===t._tag},u=function(t){return"Right"===t._tag},l=function(t){return{_tag:"Left",left:t}},f=function(t){return{_tag:"Right",right:t}},p=function(t){return[t]},d=function(t){return t.length>0},m=function(t){return t[0]},g=function(t){return t.slice(1)},v=[],S={},h=Object.prototype.hasOwnProperty,b=function(t){return n([t[0]],t.slice(1),!0)}},627:(t,e,r)=>{r.d(e,{Df:()=>i,Eq:()=>n,Pc:()=>s});var n={equals:function(t,e){return t===e}},i={equals:n.equals,compare:function(t,e){return t<e?-1:t>e?1:0}},a=(n.equals,i.compare,{concat:function(t,e){return t+e}}),s={concat:a.concat,empty:0}},29:(t,e,r)=>{r.d(e,{Df:()=>i,Eq:()=>n,HD:()=>a,xb:()=>s});var n={equals:function(t,e){return t===e}},i={equals:n.equals,compare:function(t,e){return t<e?-1:t>e?1:0}},a=function(t){return"string"==typeof t},s=function(t){return 0===t.length}}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var r=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t](r,r.exports,__webpack_require__),r.exports}__webpack_require__.d=(t,e)=>{for(var r in e)__webpack_require__.o(e,r)&&!__webpack_require__.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),__webpack_require__.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var __webpack_exports__={};(()=>{var t=__webpack_require__(812),e=__webpack_require__(460),r=__webpack_require__(275),n=__webpack_require__(936),i=__webpack_require__(492),a=__webpack_require__(583),s=__webpack_require__(387),o=__webpack_require__(716);function c(t,n){return(0,r.zG)(o.Y3((()=>t.get(n)),(t=>`Failed to read previous state from IndexedDB: ${t}.`)),o.UI((t=>t??void 0)),o.UI((i=>a=>(0,r.ls)((0,s.rO)({previousState:()=>i}),a,(a=>{let{value:o,state:c}=a;const[u,l]=e.Ue(!1),f=(0,r.zG)(c,e.Rp(-1,(t=>t+1)));return{value:(0,r.bc)(u,o),state:(0,r.zG)(e.vP(c,f),(0,s.bw)(e.YP((e=>{let[r,a]=e;if(0!==a||r!==i)switch(l(!1),typeof r){case"undefined":t.delete(n).then((()=>l(!0)));break;case"object":null===r?t.delete(n).then((()=>l(!0))):t.put(r,n).then((()=>l(!0)));break;default:t.put(r,n).then((()=>l(!0)))}}))))}})))))}function u(t){return n=>(0,r.ls)((0,s.rO)({previousState:e=>t.current?e:void 0}),n,(0,s.rO)({state:(0,r.ls)((r=>e.vP(t,r)),e.UI((t=>{let[e,r]=t;return e?r:void 0})))}))}var l=__webpack_require__(385);class f extends Error{static errorName="NetworkRequestFailedError";name=f.errorName;constructor(){super(f.defaultMessage)}static get defaultMessage(){return"Network request failed"}}class p extends Error{static errorName="NetworkRequestTimeoutError";name=p.errorName;constructor(){super(p.defaultMessage)}static get defaultMessage(){return"Network request timed out"}}var d=__webpack_require__(963),m=function(t){return"Left"===t._tag},g=function(t){return"Right"===t._tag};function v(t){return{_tag:"Left",left:t}}function S(t){return{_tag:"Right",right:t}}function h(t,e){return{_tag:"Both",left:t,right:e}}var b=function(t,e,r){return function(n){switch(n._tag){case"Left":return t(n.left);case"Right":return e(n.right);case"Both":return r(n.left,n.right)}}},_=b;_(S,v,(function(t,e){return h(e,t)}));var y=S,E="These";r.yR,r.yR,d.Xl;class I{metrics;constructor(t){this.metrics=t}req(t){return this.reqImpl(t).then((t=>(0,r.MZ)(t)))}reqWithBeacon(t){var e,r;let{url:n,payload:i}=t;const a=JSON.stringify(i),s=(null===(e=navigator)||void 0===e||null===(r=e.sendBeacon)||void 0===r?void 0:r.call(e,n,JSON.stringify(i)))??!1;return this.trackRequestMetrics({is_beacon:!0,is_error:!s,request:{method:"POST",url:n,content_length:a.length}}),s}reqImpl(e){const n="arraybuffer",{url:a,dataType:o,contentType:c,method:u,withCredentials:m,timeout:g}=e;return new Promise(((v,b)=>{const _=new XMLHttpRequest,y="POST"===e.method?"string"==typeof(E=e.payload)?E:JSON.stringify(E):null;var E;const I=t=>this.trackRequestMetrics({is_beacon:!1,request:{method:u,url:a,content_length:(null==y?void 0:y.length)??0},response:t});_.onload=(0,t.GL)((()=>{var t,e;return(0,r.zG)(_.status,l.DT((t=>t<400),(()=>{const t="text"===_.responseType||""===_.responseType?_.responseText:"Couldn\'t access response text";return`Failed ajax request. Status code was ${_.status}. ${t}`})),l.tS((()=>"json"===o?_.responseText?l.Y3((()=>JSON.parse(_.responseText)),(t=>`Failed to parse response as JSON. Response was ${JSON.stringify(_.responseText)}. Got ${t}`)):l.F2(null):"text"===o?l.F2(_.responseText):l.F2(_.response))),(0,s.bw)((0,r.ls)(i.IS,(e={content_length:"text"===_.responseType||""===_.responseType?(null===(t=_.responseText)||void 0===t?void 0:t.length)??0:_.responseType===n?_.response.byteLength:0,response_time_ms:self.performance.now()-w,status_code:_.status},function(t){return d.Wi(t)?S(e):h(t.value,e)}),I)),l.EQ(b,v))})),_.onerror=(0,t.GL)((()=>{I(l.t$("network error")),b(new f)})),_.ontimeout=(0,t.GL)((()=>{I(l.t$("timeout")),b(new p)})),_.open(u,a,!0),c&&_.setRequestHeader("content-type",c),_.timeout=g||_.timeout,_.withCredentials=m||_.withCredentials,_.responseType="binary"===o?n:_.responseType;const w=self.performance.now();_.send(y)}))}trackRequestMetrics(t){var e;if(null===(e=this.metrics)||void 0===e||!e.isEnabled())return;const n=new URL(t.request.url).pathname;if(n.includes("metrics"))return;const a=e=>this.metrics.track({name:"sdk_http_request_count_total",value:1,labels:{request_method:t.request.method,request_path:n,request_content_length:t.request.content_length,...e}});var s;!0===t.is_beacon?a({is_beacon:!0,is_error:t.is_error}):(0,r.zG)((s=t.response,m(s)?d.YP:(g(s),d.G(s.right))),i.aD((()=>({})),(t=>({response_content_length:t.content_length,response_status:t.status_code,response_time_ms:t.response_time_ms}))),(e=>({is_beacon:!1,is_error:!g(t.response),...e})),a)}}class w{config;PATH_JOINER_Q="?";PATH_JOINER_A="&";constructor(t){this.config=t}getBaseUrl(){return`${this.config.apiProtocol}://${this.config.apiHost}`}getEndpointUrl(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return this.getUrl("base",t,e,r)}getSdkErrorsUrl(t,e){return this.getUrl("sdk-errors",t,e,[])}getAdvertiserEndpointUrl(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return this.getUrl("adv",t,e,r)}getClassificationModelsEndpointUrl(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return this.getUrl("clm",t,e,r)}getAudienceMatchingEndpointUrl(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];const i=`${t}/${r}/audiences`;return this.getUrl("audience-matching",i,e,n)}getCCSCohortMembershipEndpointUrl(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return this.getUrl("ccs",t,e,r)}makeAuthenticatedUrl(t){return this.makeUrlWithQueryParams(t,[["k",this.config.apiKey]])}getUrlPrefix(t){switch(t){case"base":return"";case"adv":return"/adv";case"sdk-errors":return"/sdk-errors";case"clm":return"/clm";case"audience-matching":return"/audience-matching";case"ccs":return"/ccs"}}getUrl(t,e,r,n){const a=this.getUrlPrefix(t),s=(0,i.g_)((()=>""),(t=>`/${t}`))(r),o=`${this.getBaseUrl()}${a}${s}${e}`;return this.makeUrlWithQueryParams(o,n.concat([["k",this.config.apiKey]]))}makeUrlWithQueryParams(t,e){const r=e.map((t=>{let[e,r]=t;return`${e}=${r}`})).join(this.PATH_JOINER_A),n=t.includes(this.PATH_JOINER_Q)?this.PATH_JOINER_A:this.PATH_JOINER_Q;return`${t}${n}${r}`}}var R=__webpack_require__(343),T=__webpack_require__(925);class C{sdkInitTimestamp;timeOriginSdkInit;logger;prefix="[Metrics]";timeOriginForContext=G();pendingMetrics=[];pendingCounters={};pendingTimers={};noMetricsTracked=0;constructor(t,e,r){this.sdkInitTimestamp=t,this.timeOriginSdkInit=e,this.logger=r}isEnabled(){return!0}getNoMetricsTracked(){return this.noMetricsTracked}consume(){const t=this.pendingMetrics.concat(Object.values(this.pendingCounters).flat());return this.pendingMetrics=[],this.pendingCounters={},t}track(t){this.noMetricsTracked++,this.logDebug(`Tracking ${t.name}`,{metric:t}),this.pendingMetrics.push(t)}trackCounter(t){if(this.noMetricsTracked++,this.logDebug(`Tracking ${t.name}`,{metric:t}),t.name in this.pendingCounters){const e=Object.keys(t.labels),r=this.pendingCounters[t.name].findIndex((r=>Object.keys(r.labels).length===e.length&&e.every((e=>r.labels[e]===t.labels[e]))));-1===r?this.pendingCounters[t.name].push(t):this.pendingCounters[t.name][r]=P(this.pendingCounters[t.name][r],t.value)}else this.pendingCounters[t.name]=[t]}synchroniseTimeBetweenContexts(t){return(0,r.zG)(T.gz(i.G5)(this.timeOriginForContext,this.timeOriginSdkInit),i.UI((e=>{let[r,n]=e;return t+r-n})))}trackTimeSinceInit(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:performance.now();(0,r.zG)(this.synchroniseTimeBetweenContexts(n),i.UI((t=>(t-this.sdkInitTimestamp)/1e3)),i.UI((r=>this.track({name:t,value:r,labels:e}))))}startTimer(t,e){const r=performance.now(),n=this.generateRandomKey(t);return this.pendingTimers[n]={startTime:r,labels:e},n}stopTimer(t,e){const r=this.pendingTimers[e];if(r){const n=(performance.now()-r.startTime)/1e3;this.logDebug("timer stopped",t,n),this.track({name:t,value:n,labels:r.labels}),delete this.pendingTimers[e]}}generateRandomKey(t){return`${t}-${[...Array(24)].map((()=>Math.random().toString(36)[2])).join("")}`}logDebug(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.debug(this.prefix,...e)}}class A{isEnabled(){return!1}getNoMetricsTracked(){return 0}consume(){return[]}track(t){}trackCounter(t){}trackTimeSinceInit(t,e){}startTimer(t,e){return""}stopTimer(t,e){}}const P=(t,e)=>({...t,value:t.value+e}),G=()=>(0,r.zG)(i.Y3((()=>performance.timeOrigin)),i.hX((t=>"number"==typeof t&&!Number.isNaN(t))));class O{sdkInitTimestamp;prefix="[Permutive]"+(self.document?"[Main]":"[Worker]");debugStyle=["color: blue"].join(";");constructor(t){this.sdkInitTimestamp=t}get timeDeltaFromInit(){return`[${(new Date).getTime()-this.sdkInitTimestamp}ms]`}log(){return console.log.bind(self.console,this.timeDeltaFromInit,this.prefix)(...arguments)}debug(){return console.debug.bind(self.console,"%s%c%s",this.timeDeltaFromInit,this.debugStyle,this.prefix)(...arguments)}warn(){return console.warn.bind(self.console,this.timeDeltaFromInit,this.prefix)(...arguments)}error(){return console.error.bind(self.console,this.timeDeltaFromInit,this.prefix)(...arguments)}}class M{log(){}debug(){}warn(){}error(){}}class U{crypto=self.crypto||self.msCrypto;ALG_NAME="AES-GCM";isAvailable(){var t;return!(null===(t=this.crypto)||void 0===t||!t.subtle)}generateKey(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,t.t_)(this.crypto.subtle.generateKey({name:this.ALG_NAME,length:256},e,["encrypt","decrypt"]))}encrypt(t,e){const[r,n]=this._encrypt(t,this.str2bytes(e));return r.then((t=>{const e=new Uint8Array(16+t.byteLength);return e.set(n,0),e.set(new Uint8Array(Uint32Array.of(t.byteLength).buffer),12),e.set(new Uint8Array(t),16),e.buffer}))}decrypt(t,e){const r=new Uint8Array(e,0,12),n=new Uint32Array(e,12,1)[0],i=e.slice(16,16+n);return this._decrypt(t,r,i).then(this.bytes2str)}_encrypt(e,r){const n=this.crypto.getRandomValues(new Uint8Array(12));return[(0,t.t_)(this.crypto.subtle.encrypt({name:this.ALG_NAME,iv:n},e,r)),n]}_decrypt(e,r,n){return(0,t.t_)(this.crypto.subtle.decrypt({name:this.ALG_NAME,iv:r},e,n))}str2bytes(t){return(new TextEncoder).encode(t).buffer}bytes2str(t){return(new TextDecoder).decode(t)}}class D{config;constructor(t){this.config=t}getNamespacedStorageKey(t){return`${this.config.stateNamespace}${t}`}}var k=__webpack_require__(940),L=__webpack_require__(444),N=__webpack_require__(54),z=__webpack_require__(491),q=__webpack_require__(350);var B=__webpack_require__(865),x=__webpack_require__(277);class F{timeoutDurationInMilliseconds;maxTimeOutDurationInMilliseconds;constructor(t,e){this.timeoutDurationInMilliseconds=t,this.maxTimeOutDurationInMilliseconds=e}schedule(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.timeoutDurationInMilliseconds,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.maxTimeOutDurationInMilliseconds;return this.debounce(t,e,r)}scheduleAccumulated(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.timeoutDurationInMilliseconds,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.maxTimeOutDurationInMilliseconds;return this.debounce(t,r,n,e)}scheduleForPageUnload(t){return(0,s.aT)(t)}debounce(e,r,n,i){let a,o,c,u=[];return l=>{i&&(c=i.concat(c??i.empty,l));const f=(0,s.b2)();u.push(f);var p;return null===(p=a)||void 0===p||p(),a=(0,t.HJ)((()=>{var t;null===(t=o)||void 0===t||t(),o=void 0;const r=e(c||l);u.forEach((t=>t.resolve(r))),c=null==i?void 0:i.empty,u=[]}),r),o||(o=(0,t.HJ)((()=>{var t;null===(t=a)||void 0===t||t(),o=void 0;const r=e(c||l);u.forEach((t=>t.resolve(r))),c=null==i?void 0:i.empty,u=[]}),n)),f.promise}}}class W extends Error{constructor(t){super(t),this.name="StoreClosingError"}}const H="permutive-events-cache",Y="permutive-events-for-page",V="[EVENTSCACHE]",K=t=>"QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name;class Q{config;logger;reportError;trace;metrics;userId;makeEventsStore;eventStore;eventsCache=this.makeEventsRepository(H);eventsForPage=this.makeEventsRepository(Y);eventsTTLInMilliseconds;readiness;debouncedReportError=(()=>new F(5e3,5e3).schedule((t=>this.reportError(t.errorMessage,{userId:t.userId}))))();static initialise(t,e,n,i,a,s,c){return(0,r.zG)(c(),o.UI((r=>new Q(t,e,n,i,a,s,c,r))))}constructor(t,e,n,a,o,c,u,l){this.config=t,this.logger=e,this.reportError=n,this.trace=a,this.metrics=o,this.userId=c,this.makeEventsStore=u,this.eventStore=l,this.eventsTTLInMilliseconds=(0,r.zG)((0,i.ij)(this.config.eventsTTLInDays),(0,i.tS)((t=>"number"==typeof t&&t>0?(0,i.G)(24*t*3600):i.YP))),this.eventsCache.events=(0,s.HP)((()=>(0,s.PQ)((0,r.zG)(k.tD((()=>this.trace.startSpan("load_event_cache"))),k.tS((t=>(0,r.zG)(this.loadFromDisk(),k.At((e=>()=>{t.finish(),this.logDebug(`Event cache loaded, #e ${e.length}`)}))))))))),this.readiness=this.eventsCache.events().then((()=>this.migratePreviousPagesEvents())),c.onChange((()=>this.reset()))}async migratePreviousPagesEvents(){const t=this.trace.startSpan("migrate_previous_for_page_events"),e=(0,k.pE)((t=>(0,o.Y3)((()=>t.flush()),B.w)));return(0,r.zG)([this.eventsForPage,this.eventsCache],e,(0,k.UI)((e=>{const r=a.bj(e);return r.length>0&&this.reportError(`Migrate previous events failed. Got:\\n${r.join("\\n ")}`,{userId:this.userId.current}),t.finish()})),(t=>t()))}all(){return Promise.all([this.eventsCache.events(),this.eventsForPage.events()]).then(a.xH)}async add(t,e){let{persistOnDisk:n}=e;return this.logDebug("Adding to cache",t),this.eventsForPage.events=(0,r.zG)(this.eventsForPage.events,k.UI((e=>[...e,t])),s.HP),n&&this.readiness.then((()=>this.eventsForPage.flush())),t}filterEventsByWorkspace(t){return t}pruneEventsToSizeLimit(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.config.eventsCacheLimitBytes;if(r<=0||e<=r)return this.logDebug(`Event size of ${e} less than limit of ${r}`),{events:t,sizeInBytes:e};this.logDebug("Events before pruning",{count:t.length,sizeInBytes:e,byteLimit:r});let n=1,i=[...t];for(;e>r;)i.splice(0,n),n*=2,e=2*JSON.stringify(i).length;return this.logDebug("Events after pruning",{count:i.length,sizeInBytes:e}),{events:i,sizeInBytes:e}}loadFromDisk(){const t=()=>[],e=(0,r.zG)(this.eventsTTLInMilliseconds,i.EQ((()=>r.yR),(t=>a.hX((e=>t>Date.now()-e.time.getTime())))));return(0,r.zG)(k.tD((()=>(this.logLog("Loading event cache..."),this.metrics.startTimer("sdk_load_events_cache_task_duration_seconds",{})))),k.YO("loadEventsCacheTask"),k.ak("eventsFromDisk",(()=>(0,r.zG)(a.nI([this.eventStore.get(H),this.eventStore.get(Y)]),a.UI(o.LV((0,s.lo)([[t=>t instanceof W,(0,r.ls)(t,k.of)],e=>(0,r.zG)(k.tD((()=>this.reportError(`Error fetching data from store. Got ${e}`,{userId:this.userId.current}))),k.tS((()=>()=>this.reset("historical"))),k.UI(t))]),(0,r.ls)(i.fS(t),k.of))),a.vP(k.qA)))),k.At((t=>{let{eventsFromDisk:e,loadEventsCacheTask:r}=t;return()=>{this.logDebug("Read events from store:",e),this.metrics.stopTimer("sdk_load_events_cache_task_duration_seconds",r)}})),k.UI((0,r.ls)((0,s.vg)("eventsFromDisk"),a.xH,this.filterEventsByWorkspace,(t=>this.pruneEventsToSizeLimit(t,2*JSON.stringify(t).length)),(t=>(this.eventsCache.sizeInBytes=t.sizeInBytes,this.eventsCache.sizeInBytesLastSuccessfulWrite=t.sizeInBytes,t.events.length>0&&(this.metrics.track({name:"sdk_events_cache_byte_total",value:t.sizeInBytes,labels:{}}),this.metrics.track({name:"sdk_events_cache_size_total",value:t.events.length,labels:{}})),t.events)),a.UI(x.k),e)))}async reset(t){return(0,r.zG)(k.tD((()=>this.logDebug("Resetting Events Cache"))),k.tS((()=>this.eventStore.deleteStore())),o.tS((()=>this.makeEventsStore())),o.Zl((e=>(this.eventStore=e,"historical"===t?T.gz(o.Ij)(this.eventsCache.reset,this.eventsForPage.flush):T.gz(o.Ij)(this.eventsCache.reset,this.eventsForPage.reset)))),o.wE((()=>()=>this.all())),o.fS((()=>k.of(j()))),(t=>t()))}getStateSizeInBytes(){return this.eventsForPage.sizeInBytes+this.eventsCache.sizeInBytes}makeEventsRepository(t){const e=(()=>{let t=Promise.resolve(l.F2((0,r.Q1)()));return e=>t=t.then(e)})(),n=t=>(0,r.zG)(k.tD((()=>this.logDebug(`Writing ${t.length} events to ${m.key}`))),k.tS((()=>this.eventStore.put(t.map(x.X),m.key))),o.UI(r.Q1)),i=(0,r.zG)(k.tD((()=>this.logDebug(`Deleting events for ${m.key}`))),k.tS((()=>this.eventStore.delete(m.key))),o.Vn(B.w)),a=(0,r.ls)(k.of,k.At((t=>()=>this.logError(`Events cache failed to put ${m.key}. Got ${t}`))),k.tS((0,s.lo)([[t=>K(t)&&m.retryAttempts<9,()=>(0,r.zG)(k.tD((()=>{m.retryAttempts+=1,this.logDebug(`Attempt #${m.retryAttempts} to write ${m.key} to EventsStore`)})),k.tS((()=>d)),k.tS((()=>u)))],[t=>K(t),t=>(0,r.zG)(k.tD((()=>this.logDebug(`Attempted ${m.retryAttempts} rewrite attempts and reached limit of 9 max writes.`,"Reporting QuotaExceededError to API"))),k.tS((()=>()=>this.debouncedReportError({errorMessage:`Events cache failed to put ${m.key}. Got ${t}`,userId:this.userId.current}))),k.tS((()=>o.t$(t))))],o.t$]))),c=t=>o.tD((()=>{this.logDebug(`Successfully wrote events for ${m.key} after ${m.retryAttempts} attempts`),m.retryAttempts=0,m.sizeInBytes=2*JSON.stringify(t).length,m.sizeInBytesLastSuccessfulWrite=m.sizeInBytes})),u=(0,r.zG)((()=>m.events()),k.tS((t=>(0,r.zG)(n(t),k.mU(l.EQ(a,(()=>c(t)))))))),f=(t,e)=>(0,r.zG)(t.events,k.UI((r=>{const n=2*JSON.stringify(r).length,i=this.pruneEventsToSizeLimit(r,n,e);return t.events=k.of(i.events),t.sizeInBytes=i.sizeInBytes,e-t.sizeInBytes}))),p=(t,e)=>{let[n,...i]=t;return n&&0!==e?(0,r.zG)(f(n,e),k.tS((t=>(this.logDebug(`${t} left after pruning ${n.key}`),p(i,t))))):k.of((0,r.Q1)())},d=(0,r.zG)(o.tD((()=>this.eventsForPage.sizeInBytes-this.eventsForPage.sizeInBytesLastSuccessfulWrite)),o.fX(l.DT((t=>t>0),(t=>new Error(`${this.eventsForPage.key} failed to write the same or smaller events cache of size ${t}`)))),o.tS((t=>{const e=1.2*t,n=[this.eventsCache,this.eventsForPage];return this.logDebug(`Pruning ${e} bytes from`,n),(0,r.zG)(p(n,e),o.fF)}))),m={key:t,events:k.of([]),sizeInBytes:0,sizeInBytesLastSuccessfulWrite:0,retryAttempts:0,flush:()=>(0,r.zG)(k.tD((()=>this.trace.startSpan(`write_${m.key}`))),k.tS((t=>(0,r.zG)(u,k.At((()=>()=>t.finish()))))),e),reset:()=>(0,r.zG)(k.tD((()=>{m.events=k.of([]),m.sizeInBytes=0,m.sizeInBytesLastSuccessfulWrite=0})),k.tS((()=>i)),e)};return m}logDebug(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.debug(V,...e)}logWarn(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.warn(V,...e)}logError(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.error(V,...e)}logLog(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.log(V,...e)}}const j=()=>[],X=`permutive.${self.document?"main":"worker"}.`;class J{config;shouldUsePerformanceMark=!1;constructor(t){var e;this.config=t,this.shouldUsePerformanceMark=((null===(e=self.performance)||void 0===e?void 0:e.mark)&&this.config.tracingEnabled)??!1}startSpan(t){const e=this.generateSpan(t);return e.start(),{spanId:e.spanId,finish:e.finish}}measureSinceInit(e){const r=this.generateSpan(`${e}_since_init`);return r.start({startTime:t.NC}),{spanId:r.spanId,finish:r.finish}}traceTask(t){return e=>async()=>{const r=this.startSpan(t),n=await e();return r.finish(),n}}measureBetween(t,e,r){const n=this.generateSpan(t);n.start({startTime:e}),n.finish({startTime:r})}generateSpan(t){if(!this.shouldUsePerformanceMark)return{spanId:null,start:()=>{},finish:()=>{}};const{spanName:e,startMarkerName:r,endMarkerName:n}=J.generateUniqueMarkerNames(t);return{spanId:r,start:t=>{var e;return null===(e=self.performance)||void 0===e?void 0:e.mark(r,t)},finish:t=>{var i,a,s;null===(i=self.performance)||void 0===i||i.mark(n,{startTime:(null==t?void 0:t.startTime)??performance.now()}),null===(a=self.performance)||void 0===a||null===(s=a.measure)||void 0===s||s.call(a,e,r,n)}}}static generateUniqueMarkerNames(t){const e=`${X}${t}`,r=`${e}${J.generateId()}`;return{spanName:e,startMarkerName:`${r}_start`,endMarkerName:`${r}_end`}}static generateId(){return"_"+Math.random().toString(36).substr(2,9)}}class ${db;static version=3;static connect(e,n,i,a,s,c,u,l,f,p){return(0,r.zG)(o.Y3((()=>Promise.resolve().then(__webpack_require__.bind(__webpack_require__,699))),String),t.N1,o.tS((t=>t.make(e,n,i,a,s,c,u,$.version,l,f,p))),o.UI((t=>new $(Promise.resolve(t)))))}constructor(t){this.db=t}shouldThrowStoreClosingError(t){return"NotFoundError"===t.name||"InvalidStateError"===t.name}makeStoreClosingDuringOpertationError(t){return new W(`Attempted ${t} when the current store is closing.`)}put(t,e){return(0,o.Y3)((()=>this.db.then((r=>r.put(t,e)))),(t=>{const e=(0,B.w)(t);return this.shouldThrowStoreClosingError(e)?this.makeStoreClosingDuringOpertationError("put"):e}))}get(t){return(0,o.Y3)((()=>this.db.then((e=>e.get(t))).then(i.ij)),(t=>{const e=(0,B.w)(t);return this.shouldThrowStoreClosingError(e)?this.makeStoreClosingDuringOpertationError("get"):e}))}delete(t){return(0,o.Y3)((()=>this.db.then((e=>e.delete(t)))),(t=>String(t)))}deleteStore(){return(0,o.Y3)((()=>this.db.then((t=>t.deleteStore()))),(t=>String(t)))}}const Z=t=>{if(!t)return"";return(0,r.zG)(t,(t=>{const e=t.length-1;return"/"===t[e]?t.slice(0,e):t}))};class tt{urls;config;network;metricsCollector;logger;webClient;prefix="[API]";constructor(t,e,r,n,a){let s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:()=>i.YP;this.urls=t,this.config=e,this.network=r,this.metricsCollector=n,this.logger=a,this.webClient=s}async reportError(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Date;const s=(0,B.w)(t);if(this.logError("Reporting error:\\n",s),!this.config.sendClientErrors)return void this.logDebug("Send errors not enabled. Skipping");const o=(0,r.zG)(this.webClient,L.UI(i.fS((()=>{var t,e,r,n;return{domain:(null===(t=self.location)||void 0===t?void 0:t.hostname)??"",referrer:"document"in self?null===(e=self.document)||void 0===e?void 0:e.referrer:"",url:(null===(r=self.location)||void 0===r?void 0:r.href)??"",user_agent:(null===(n=navigator)||void 0===n?void 0:n.userAgent)??""}}))),L.UI((t=>{var r,i;const a={error_message:(null==s||null===(r=s.message)||void 0===r?void 0:r.toString())??"",stack_trace:null==s||null===(i=s.stack)||void 0===i?void 0:i.split("\\n")},o=e?{user_id:e}:{};return{platform:"web",sdk_version:"v20.23.0",ql_runtime_version:"v13.1.0",timestamp:n,domain:t.domain,url:Z(t.url),referrer:Z(t.referrer),user_agent:t.user_agent,error_message:a.error_message??String(s),stack_trace:a.stack_trace,...o}}))),c=t=>this.network.req({url:this.urls.getSdkErrorsUrl("/errors",i.G(this.config.sdkErrorsApiVersion)),method:"POST",payload:[t],contentType:"text/plain",dataType:"text",withCredentials:!1}),u=t=>{this.metricsCollector.trackCounter({name:"sdk_http_generic_network_request_fail_count_total",value:1,labels:{network_error_type:t}})};await(0,r.zG)([f,p],a.Ew((t=>s.name===t.errorName||s.message.indexOf(t.errorName)>=0||s.message.indexOf(t.defaultMessage)>=0)),i.g_((()=>{const t=o();return c(t).catch((0,r.ls)(B.w,(t=>this.logError(t))))}),(async t=>u(t.errorName))))}logDebug(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.debug(this.prefix,...e)}logError(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.logger.error(this.prefix,...e)}}var et=__webpack_require__(238);const rt=t=>{const e=nt(t.javaScriptInput),{env:r,...n}=(0,et.N)({hash:t.hash,runtimeInput:e});return n},nt=t=>{if(t&&"object"==typeof t)return t;throw new Error("Invalid runtime input specified.")},it=("undefined"!=typeof globalThis?globalThis:void 0)?.crypto||("undefined"!=typeof global?global:void 0)?.crypto||("undefined"!=typeof window?window:void 0)?.crypto||("undefined"!=typeof self?self:void 0)?.crypto||("undefined"!=typeof frames?frames:void 0)?.[0]?.crypto;let at;at=it?t=>{const e=[];for(let r=0;r<t;r+=4)e.push(it.getRandomValues(new Uint32Array(1))[0]);return new ot(e,t)}:t=>{const e=[],r=t=>{let e=t,r=987654321;const n=4294967295;return()=>{r=36969*(65535&r)+(r>>16)&n,e=18e3*(65535&e)+(e>>16)&n;let t=(r<<16)+e&n;return t/=4294967296,t+=.5,t*(Math.random()>.5?1:-1)}};for(let n,i=0;i<t;i+=4){const t=r(4294967296*(n||Math.random()));n=987654071*t(),e.push(4294967296*t()|0)}return new ot(e,t)};class st{static create(...t){return new this(...t)}mixIn(t){return Object.assign(this,t)}clone(){const t=new this.constructor;return Object.assign(t,this),t}}class ot extends st{constructor(t=[],e=4*t.length){super();let r=t;if(r instanceof ArrayBuffer&&(r=new Uint8Array(r)),(r instanceof Int8Array||r instanceof Uint8ClampedArray||r instanceof Int16Array||r instanceof Uint16Array||r instanceof Int32Array||r instanceof Uint32Array||r instanceof Float32Array||r instanceof Float64Array)&&(r=new Uint8Array(r.buffer,r.byteOffset,r.byteLength)),r instanceof Uint8Array){const t=r.byteLength,e=[];for(let n=0;n<t;n+=1)e[n>>>2]|=r[n]<<24-n%4*8;this.words=e,this.sigBytes=t}else this.words=t,this.sigBytes=e}static random=at;toString(t=ct){return t.stringify(this)}concat(t){const e=this.words,r=t.words,n=this.sigBytes,i=t.sigBytes;if(this.clamp(),n%4)for(let t=0;t<i;t+=1){const i=r[t>>>2]>>>24-t%4*8&255;e[n+t>>>2]|=i<<24-(n+t)%4*8}else for(let t=0;t<i;t+=4)e[n+t>>>2]=r[t>>>2];return this.sigBytes+=i,this}clamp(){const{words:t,sigBytes:e}=this;t[e>>>2]&=4294967295<<32-e%4*8,t.length=Math.ceil(e/4)}clone(){const t=super.clone.call(this);return t.words=this.words.slice(0),t}}const ct={stringify(t){const{words:e,sigBytes:r}=t,n=[];for(let t=0;t<r;t+=1){const r=e[t>>>2]>>>24-t%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse(t){const e=t.length,r=[];for(let n=0;n<e;n+=2)r[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new ot(r,e/2)}},ut={stringify(t){const{words:e,sigBytes:r}=t,n=[];for(let t=0;t<r;t+=1){const r=e[t>>>2]>>>24-t%4*8&255;n.push(String.fromCharCode(r))}return n.join("")},parse(t){const e=t.length,r=[];for(let n=0;n<e;n+=1)r[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new ot(r,e)}},lt={stringify(t){try{return decodeURIComponent(escape(ut.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:t=>ut.parse(unescape(encodeURIComponent(t)))};class ft extends st{constructor(){super(),this._minBufferSize=0}reset(){this._data=new ot,this._nDataBytes=0}_append(t){let e=t;"string"==typeof e&&(e=lt.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(t){let e;const{_data:r,blockSize:n}=this,i=r.words,a=r.sigBytes;let s=a/(4*n);s=t?Math.ceil(s):Math.max((0|s)-this._minBufferSize,0);const o=s*n,c=Math.min(4*o,a);if(o){for(let t=0;t<o;t+=n)this._doProcessBlock(i,t);e=i.splice(0,o),r.sigBytes-=c}return new ot(e,c)}clone(){const t=super.clone.call(this);return t._data=this._data.clone(),t}}class pt extends ft{constructor(t){super(),this.blockSize=16,this.cfg=Object.assign(new st,t),this.reset()}static _createHelper(t){return(e,r)=>new t(r).finalize(e)}static _createHmacHelper(t){return(e,r)=>new dt(t,r).finalize(e)}reset(){super.reset.call(this),this._doReset()}update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t);return this._doFinalize()}}class dt extends st{constructor(t,e){super();const r=new t;this._hasher=r;let n=e;"string"==typeof n&&(n=lt.parse(n));const i=r.blockSize,a=4*i;n.sigBytes>a&&(n=r.finalize(e)),n.clamp();const s=n.clone();this._oKey=s;const o=n.clone();this._iKey=o;const c=s.words,u=o.words;for(let t=0;t<i;t+=1)c[t]^=1549556828,u[t]^=909522486;s.sigBytes=a,o.sigBytes=a,this.reset()}reset(){const t=this._hasher;t.reset(),t.update(this._iKey)}update(t){return this._hasher.update(t),this}finalize(t){const e=this._hasher,r=e.finalize(t);e.reset();return e.finalize(this._oKey.clone().concat(r))}}const mt=[];class gt extends pt{_doReset(){this._hash=new ot([1732584193,4023233417,2562383102,271733878,3285377520])}_doProcessBlock(t,e){const r=this._hash.words;let n=r[0],i=r[1],a=r[2],s=r[3],o=r[4];for(let r=0;r<80;r+=1){if(r<16)mt[r]=0|t[e+r];else{const t=mt[r-3]^mt[r-8]^mt[r-14]^mt[r-16];mt[r]=t<<1|t>>>31}let c=(n<<5|n>>>27)+o+mt[r];c+=r<20?1518500249+(i&a|~i&s):r<40?1859775393+(i^a^s):r<60?(i&a|i&s|a&s)-1894007588:(i^a^s)-899497514,o=s,s=a,a=i<<30|i>>>2,i=n,n=c}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+a|0,r[3]=r[3]+s|0,r[4]=r[4]+o|0}_doFinalize(){const t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),e[15+(n+64>>>9<<4)]=r,t.sigBytes=4*e.length,this._process(),this._hash}clone(){const t=super.clone.call(this);return t._hash=this._hash.clone(),t}}const vt=pt._createHelper(gt),St=(pt._createHmacHelper(gt),{stringify(t){const{words:e,sigBytes:r}=t,n=this._map;t.clamp();const i=[];for(let t=0;t<r;t+=3){const a=(e[t>>>2]>>>24-t%4*8&255)<<16|(e[t+1>>>2]>>>24-(t+1)%4*8&255)<<8|e[t+2>>>2]>>>24-(t+2)%4*8&255;for(let e=0;e<4&&t+.75*e<r;e+=1)i.push(n.charAt(a>>>6*(3-e)&63))}const a=n.charAt(64);if(a)for(;i.length%4;)i.push(a);return i.join("")},parse(t){let e=t.length;const r=this._map;let n=this._reverseMap;if(!n){this._reverseMap=[],n=this._reverseMap;for(let t=0;t<r.length;t+=1)n[r.charCodeAt(t)]=t}const i=r.charAt(64);if(i){const r=t.indexOf(i);-1!==r&&(e=r)}return((t,e,r)=>{const n=[];let i=0;for(let a=0;a<e;a+=1)if(a%4){const e=r[t.charCodeAt(a-1)]<<a%4*2|r[t.charCodeAt(a)]>>>6-a%4*2;n[i>>>2]|=e<<24-i%4*8,i+=1}return ot.create(n,i)})(t,e,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="});const ht=function(t){let e=i.YP;const r=i.fS((()=>{const r=t();return e=i.G(r),r}));return()=>r(e)}((()=>({metadata:{47119:"0c8b70cdb7",61938:"b93bc4a9e6",63765:"61f2c2d9ad",63766:"d24ebde5f5",63767:"01554bb45b",63768:"91526da08a",63769:"e7b97fc8b2",63770:"ccce04ce6a",63772:"53b60071ff",63773:"a324a5ea84",63774:"8fed3307ac",63776:"b5df7b65bb",63777:"319c048200",63778:"085660e8a7",63780:"e60177bc06",63782:"5980038d48",63783:"b07e75ed0d",63785:"6c94cc8daf",63786:"63f60bc4e5",63788:"0248bcc99a",63790:"728b43dfff",63791:"54aa3ac24d",63792:"01bf2815cc",63793:"5941272f0e",63794:"a68e0e6319",63795:"47ab47f7b7",63796:"ec8aec162d",63797:"4d5e472595",63798:"320acc03e6",63800:"452a3f9d5d",63801:"c2ea514c45",63802:"831003af11",63803:"15ca6f3a0a",63804:"8879ec428b",63805:"b9b632ef86",63806:"631bb74559",63807:"6fb71bc538",63809:"a73c7fb2d4",63810:"1271f5aeed",63811:"cfe9043ad7",63812:"df1c93c213",63813:"1cc4667d24",63814:"dd38167028",63816:"db4e1d8254",63817:"09e8d460ef",63818:"7e7cca501d",63820:"058fdb3698",63821:"c79bc39e82",63823:"c79bc39e82",63824:"662ebc1054",63825:"c18e502720",63827:"3fc44ab1a2",63828:"5bb2a9f2d4",63829:"851610713c",63830:"fd9a2b5202",63831:"ed1b4d358b",63833:"f142e32980",63834:"88475d30df",63835:"3df2bd2f52",63837:"c7ba91e4a4",63838:"d3236c4fda",63855:"99f78fafac",63856:"522f10986f",63857:"c3f7f3ed2f",63858:"d3bb657276",63859:"402d630e27",63860:"d8adc66668",63861:"e36f57a3ff",63862:"3763054a82",63863:"03169339fe",63864:"77c5b445ef",63865:"9f21c9fb79",63866:"9b3d38d475",63867:"9b9742c2f7",63868:"3e51a6100a",63869:"5fd13d88b6",63870:"10d95b863e",63871:"d202f917b3",63872:"466c98b75b",63874:"6ba8f275da",63875:"d3b15613c3",63876:"5d0aa60e82",63878:"454c45417f",63879:"7469c80323",63880:"fbf6f671d7",63881:"b266e04871",63882:"f77bccbbef",63883:"ebf64f030a",63884:"00c2d5c28e",63886:"49c3a0c71c",63887:"ffc2ead5d9",63888:"dd21cc73e8",63889:"4385b0453c",63890:"c1b618408d",63891:"ea4ec8eb4d",63892:"c2102c4d28",63893:"2c5a19e5be",63894:"a6e0886116",63895:"dd06bda235",63896:"2f8497277a",63897:"b70fa24059",65408:"6634bc7184",66107:"bf70c87b27",66113:"866dd7d5a5",70745:"eadb2940a0",71181:"f831f888a5",71182:"cca34f5fcb",71183:"5bce48d545",71184:"2507d262e0",71185:"3ea2aa10de",71288:"712ff78902",71290:"f516333c22",71291:"61f2c2d9ad",71294:"9ca1772409",71295:"3a44632fe6",71299:"f58bced8bb",71300:"e5985e31fd",71301:"ecb1c92b9f",71827:"564a3d3fe9",71830:"9db56ddfbb",71831:"ed8354c3c6",71832:"b22a39b373",71835:"5fbff7893c",71865:"3d0c29cc28",71866:"8e01ef1306",71867:"16a208bd39",71869:"9285822f4f",71874:"c7216b1395",71914:"ced738604a",72105:"7f5ef6a20f",72133:"c27f4f661c",72135:"2b368599b0",72165:"711beb1a30",72166:"e52ede4f4b",72168:"68eb8732ab",72170:"c2a08add26",72172:"03e724a7d2",72174:"7b32d68ec6",72175:"a8f5b7225d",72179:"71bf9dc326",72180:"f62fc1c6c4",72316:"98f41c794c",72500:"6149ee8860",72784:"b14b7336f0",72785:"2d73446f9d",72786:"54b04ecb81",72815:"65b6c4611a",72819:"888617cdc8",72902:"4143e4f06c",74011:"942d469342",74223:"ed2998ce11",74224:"03f15b0b11",74226:"7436f83ba9",74237:"01e49ad546",74239:"2cff180e9b",74243:"fdce47b228",74244:"5d7cc845b6",74245:"201523a332",74246:"bffe377fbe",74248:"750b2fc34c",74249:"f1422259cf",74251:"aa084485eb",74257:"480f5e1504",74258:"5639cb353c",74260:"6cd3e0135a",74261:"165b3898a4",74262:"53603041a1",74264:"49614e4933",74265:"1318edb63a",74267:"0d2b47be95",74268:"f2685b568d",74269:"822466de7f",74270:"953310267c",74271:"6d4458a4cb",74272:"8c72131e2f",74273:"61e65c1ac2",74274:"09dc5d18a8",74275:"65f2622dc6",74276:"4481593254",74277:"612d538b84",74278:"97ca29a932",74279:"d3d5132ed7",74280:"0caabbfc95",74281:"d5bcc7e403",74282:"ecb159786d",74283:"59af14e621",74285:"de09bea2b1",74286:"2875b80d39",74287:"f7629944ef",74288:"c7ce3bf565",74289:"64d173fb9e",74290:"1bf17f48a7",74291:"62b70897fe",74292:"ddba854dc9",74293:"f7e09c0023",74294:"5a56a7b6ff",74295:"c9704e1eae",74296:"68e6483eeb",74297:"61c488e7f8",74298:"473339fc90",74299:"69c73a598e",74300:"d92ffc6dee",74301:"f43a604088",74302:"6da8eee690",74303:"23f95c1e9e",74304:"6217a41f98",74306:"d028a4d171",74307:"ffa3876a4e",74308:"289ce67f89",74309:"74219ee65e",74319:"2f7e883d68",74320:"bb4ba92ef9",74321:"b3895209ad",74323:"e499806c01",74334:"078a7ffc50",74335:"fa00436311",74336:"e54875d433",74338:"1f5b110614",74339:"4bb7958acc",74340:"bd9fb9aca9",74341:"acfb90ddc4",74342:"e69b656d0a",74343:"2c059110cd",74497:"eaac5651b8",74500:"d728c97c90",74501:"2cbabcd19c",74502:"e1dc097a8d",74569:"0990bbd3ce",74574:"def4bb6a52",74575:"6ee69d8cbe",74576:"2afcdb0a04",74577:"92b717b091",74578:"dbc48db695",74579:"b85af7ac8b",74580:"f6fe31cdf3",74581:"5d1629c5ad",74583:"a48226c335",74584:"504b78dc4a",74585:"46b8b91320",74682:"a1b2d013df",74712:"5788a5bce5",75208:"ee0161fd83",75209:"756db43970",75210:"d70bb8fcb4",75211:"852729ad48",75212:"5d429d0876",75213:"fdf30e6f7f",75216:"c3bd40a1de",75219:"78d4226b91",75220:"07fc70d83e",75223:"96b97e825c",75224:"3a332b6010",75225:"8c334050c9",75226:"5091f2b388",75228:"3552352cfc",75231:"58c0dbb388",75232:"a644954e05",75244:"8146140eb0",75245:"bfdb9590f4",75246:"1cdbd9eb38",75247:"02d29b3ca4",75249:"4172530f5b",75250:"390375b800",75251:"93593a593c",75326:"ad9f4bf025",75329:"8fb421ec23",75331:"e1cc3307a4",75349:"177ba55738",75351:"d0d8bd7a01",75352:"8c6599af78",75353:"6c341b0439",75354:"06bec7baee",75355:"292c363e48",75357:"70879f701b",75358:"629f9e2af3",75359:"18fc0d1b71",75360:"5d4afebf9c",75361:"2ca5c22b20",75365:"e937a63466",75366:"ad8625aa37",75367:"ee6e434240",75368:"572aea2ab6",75369:"f006eb473c",75370:"1d12e442a2",75371:"aa13e19041",75372:"f87ade8985",75374:"e6aa5a5de2",75375:"ab0f10a2ac",75376:"af8f4d4972",75377:"98a56e8b95",75378:"cfa547c112",75379:"cad3cf4152",75380:"ab2e73d032",75382:"0cc6329323",75383:"2ae17c31fa",75384:"1e6c23e22a",75385:"4d9a4106f8",75386:"6c89a5e4ad",75387:"cfb0ba7f2e",75391:"77e1900278",75394:"14bc9a1908",75396:"a603f462ba",75397:"d927240403",75406:"b6d6424471",75424:"994ecbd497",75452:"19c78651a6",75931:"69b592a408",75932:"1ff28d3802",75933:"e472d45bb5",75934:"21c38f2f16",75935:"edcb32e778",75938:"279d41c316",75939:"f82ece160b",75940:"2b7574d5bc",75941:"c564fbbad9",75942:"6bbfbf0708",75943:"0b0272ab0a",75944:"2871a2b87b",75945:"3040c2e624",75946:"28a8919a26",75947:"f3f1080e04",75948:"fe77251c11",75949:"ffdab483c0",75950:"94cd6b837a",75953:"18ed0aeb6c",75954:"838880593d",75955:"30e51d0552",75956:"17badc0019",76182:"9f40dd47b8",76183:"37302211cc",76184:"882c3f1894",76185:"8648954be3",76186:"67a7c4ecfb",76187:"8215ff9dd7",76190:"9a83666eba",76191:"9b134ccff6",76192:"5a8984d495",76193:"ccbe9cc6cd",76195:"643dd9e5de",76196:"29af760094",76199:"1532acb9ea",76208:"519119a6de",76209:"9d09d68917",76210:"56f0e40200",76211:"c0b7fff263",76213:"45618d262d",76214:"960cb03608",76217:"c7eb955d39",76218:"f5190587c9",76219:"58c0dbb388",76220:"f251ec0a32",76223:"ace3e7e01f",76325:"ebdb74ca5e",77830:"5768ba0fea",77831:"6a94cb2ce8",77832:"7135c870d2",77833:"900b0063b1",77834:"4fd04f1ab3",77835:"d67ad7e2b3",77836:"397325b815",77837:"6204ce0716",77838:"8215017975",77839:"7ffc5cac3f",77846:"81b85f9c8d",77847:"b513cf87aa",78882:"17f3146f86",78884:"1389189f78",78885:"82713684d3",78892:"712ff78902",78894:"3e9293b3d9",78899:"329a9f225b",78901:"3641051943",78903:"ce6bec490d",78904:"864e8f94e2",78906:"3a4f41ff3a",78908:"2946543569",78912:"97e8fe7123",78913:"c81e1b67e6",79013:"2cd2d22af6",79019:"150b26e6bb",79023:"a22e73378e",79026:"5fd921c115",79091:"950abf2b4c",79093:"9b7f964f2f",79151:"605a6a2011",79153:"b06d6b5f56",79156:"59cbd4da98",79168:"2b1cc77e3d",79169:"8a8abbabd5",79170:"f9902f3f7b",79171:"a1a165e04a",79172:"42475fc2b5",79173:"6898ce104b",79872:"c4f59dcc63",79873:"89b588cf0a",79874:"5d61b223b6",79876:"d92e0171a7",79877:"572c07a017",79878:"d8d9b83bd0",81119:"045d99976f",81351:"235c001724",81352:"3ed62975d1",81353:"c6c0d708f2",81356:"4949f6b507",81357:"e62ed1e5c6",81361:"0fdce18242",81364:"fed64654e9",81365:"5eedcad4fb",81366:"181540891c",81367:"cc5eb04a61",81368:"e93c43b286",81369:"94a55e7510",81372:"4c5a2ba570",81373:"70567b78e8",81374:"ffd73eb075",81375:"c48fecfed2",81376:"31de1233fc",81378:"1206a2e900",81379:"a14ca984de",81380:"c7260645f9",81381:"7b2f1cee5d",81518:"c38db8f3f0",81519:"ab4a3dfe1d",81520:"2fbbe946cc",81521:"7f452dafb9",81522:"c643755048",81523:"cc64bff2e4",81526:"7591e1e73c",81529:"2b5d97a4b6",81530:"04b4f99383",81534:"4d668ca1db",81535:"098904a7dd",81537:"90a7224b65",81539:"3c978d8893",81540:"beba72ed60",81550:"0388ab7f10",81551:"7365a96800",81552:"0ec58d52da",81553:"dcb7986b2b",81554:"fc31d76f56",81686:"d2bba7a247",81687:"4e9f3843f5",81688:"2cfd9a799d",81689:"11b5f7bc52",81690:"623a82155c",81691:"9244e53172",81692:"f28a4294aa",81694:"60209aea08",81695:"d0a22c5751",81696:"fec4dc5e05",81697:"d16ecd1742",81701:"53167ce334",81702:"a4be1ea06a",81703:"2e76f765fa",81704:"91d122c4f5",81705:"1b3d659eb5",83160:"d2a810d5be",83161:"67a38789fe",83162:"5573c8a9b6",83163:"701f77eab5",83164:"029f924e56",83165:"6d88cdc28a",83166:"81066d328b",83271:"0a5fea93d5",83515:"85ab6059f1",83833:"d124d8c16e",85883:"35763d7a83",85884:"4385b0453c",85885:"6f9519f272",85886:"46dc29417e",85887:"cbd6b5a430",85888:"9800c1d8e0",85889:"ff2ebfa84b",85988:"1dcb7e8dc1",86042:"a86043e962",86999:"db8ee9bf56",87442:"6edc7beaef",87443:"9bc130c30c",87444:"29c51b3fdf",87445:"ffc2ead5d9",87446:"1ba57ee6c9",87448:"00c2d5c28e",87450:"5a4224693e",88033:"82b2ce3aa9",88034:"13b0822374",88035:"d6ceae3739",88036:"c66370860a",88037:"2a2b98f07d",88038:"28c485c2db",88039:"67172f55e1",88040:"d0decba1c4",88041:"5da6fb5323",88042:"919500a41c",88043:"3c3ac02cd8",88044:"9e6f23226e",88127:"c754ca9229",88140:"f32d801abf",88315:"d136aa3899",88413:"2a3a9d27a3",88783:"83acdd0389",88788:"1a697e7053",88810:"a1dc7be204",88887:"934adec9ab",88890:"61f9259e46",88891:"6331daf3e8",88919:"ac001312ab",88920:"2300f725cf",88921:"09cd8bda38",88922:"9a9a84ad82",88924:"b2edd4f613",88925:"07b66c5713",88926:"45815a79ab",88927:"44ba712f42",88928:"c9781d091e",88930:"e905e3dc96",88931:"c3d9253387",89015:"f9d1e4a27f",89016:"e963b88f66",89017:"1322e94962",89018:"02eb822fff",89019:"db99f22d87",89020:"b2c6808f9b",89021:"2e6e7e7b3c",89023:"410c10e386",89024:"88b5885415",89025:"800a532786",89026:"9db09aec05",89650:"daa3843282",90505:"e390906886",90507:"98a234e6a4",90993:"d0d41a27f3",90994:"52844a0e24",90995:"bda068f570",90996:"fcd5271c32",90998:"361692ee3f",90999:"86d8bd9577",91e3:"1739bc87a5",91002:"c02806494f",92784:"5d54171664",92785:"b1e1d16afb",94563:"fa33d1b265",94834:"86c80e6307",94837:"afbc431503",94838:"ba1e59a6ab",95544:"db3e5df058",96352:"45114d1fd8",96354:"b9186c68bc",96401:"b960cc7ef6",98386:"7d50661d44",99781:"82af9efbbb",100124:"c7c7aaac0a",100672:"770ceb6168",100675:"d5402155ed",100677:"f53eae769a",100679:"69e3ccd686",103390:"f5ee929ffc",103391:"272bd9c99e",103392:"40400d1221",103882:"97a229ad2d",104636:"e30ab7e0c3",104637:"aadd5de2e1",105244:"f50279f75f",105707:"1de6686560",105839:"d42bb11016",105840:"56852a1347",105841:"3705180042",105842:"842801cbcc",106406:"efb39d0b20",107335:"08142031e1",107490:"b1e409a967",109701:"6f0a414a40",110467:"722bda507e",110665:"9fd5083f84",111942:"62a880cbec",113875:"abee439478",114069:"f20d938e76",114679:"30473dea29",114680:"dd6dc10b42",115431:"9dca6f788b",115432:"b130a4b242",115611:"f5a0473de6",115716:"e71dd2a16a",116501:"f7284c5b32",117494:"e2221e6078",117710:"37ba195677",118439:"33ddf5e130",118780:"3dc0a9f28c",120901:"584f97854c",120902:"5fd032a174",120905:"87da67263d",120907:"2364538a8a",121884:"413458772c",122358:"13602a6aaf",122848:"9768daefb3",122883:"26a7b3eca4",122932:"a75b3ca7ba",122933:"99314fb40d",122934:"9cb673cef1",122935:"505b177018",122937:"11b8f3fead",122938:"2d26fdfe3b",122939:"8803b8b5f6",122940:"2de4c5317a",122941:"72c7349234",122942:"6d6e35e6ef",122988:"34a6f604b2",123133:"a027cf4c75",123134:"6caa86dafb",123135:"43eec41a0c",123138:"0b2e6e1d68",123141:"bce03771ba",123142:"3ec1347d0a",123877:"858eb7a413",123878:"0b9c1e00fc",123879:"3105669f7e",123880:"92d14a5963",123881:"a4333f89d5",123882:"62b03ed286",123884:"262cc27469",124274:"602155bd1c",124782:"0f5bf27934",124790:"0c05b33122",124791:"e2394cbf5b",124812:"c8bd537491",124814:"ec9868e813",124816:"de8684f2a1",124818:"12710e0548",124819:"aceb69d90c",124822:"01ee3f5fa5",124824:"51720f807a",124826:"b79bd814d7",124829:"86f00a5725",124831:"42b7b31bf6",124832:"5136fa2349",124834:"f3f12aa7bf",124835:"4d6dfb4904",124836:"1a26a33582",124837:"6031677244",124838:"496512d95f",124839:"c40a0cf647",124840:"87a3b9c963",124841:"f9518a5b8c",124845:"f390cf6ee7",124846:"dd264cb304",124848:"c56f4502e4",124849:"69824812d5",124850:"e7301169dd",124851:"6f0860771b",124854:"ba4e12dd3a",124855:"abf519f2e3",124856:"742d0cb1cf",124857:"0d97b5422c",124858:"6c43ecab60",124859:"e37cccc41e",124923:"4088c19515",124925:"83e89d8f0f",124926:"df4f472e43",124927:"d7bb8c6d72",124928:"3589b894ef",124930:"d2ffe2afe1",124931:"53379c06a8",124932:"1f1293c3d1",124933:"e125965904",124934:"1bbe90bb25",124935:"dd9898e731",124936:"da05dce898",124937:"c0f0f3cb00",124938:"bd600b1140",124939:"5835f3e3c5",124940:"91c59cc870",124941:"b4a147f098",124942:"9098006d10",124943:"4e7d20e055",124944:"0dba27241d",124945:"2620c384b1",124948:"29007ced72",124949:"864df26b0b",125104:"905508d861",125105:"1f02c55904",125106:"05f6e53021",125107:"7a944f0a30",125108:"45eb8630a2",125109:"3e31fc1f23",125110:"428dd82536",125111:"86acdb3b9a",125112:"5aa44cbaea",125113:"f432b83a7f",125114:"47f654de15",125115:"84d1b8fc13",125116:"b7d5ac1d31",125117:"bc30bccfe4",125118:"2732b9963a",125119:"c0944c8af7",125120:"70e4a551c9",125121:"75fbd1f942",125122:"2433e1e02a",125123:"dd943026d3",125124:"abb12f6482",125125:"031893f1a8",125126:"2f565bd0c0",125127:"016dd94117",125128:"e8757e526d",125129:"bc376ddb3a",125130:"f8ae140204",125131:"ae00029b5f",125132:"55019a1ef6",125133:"e8993c1956",125134:"f6925c52e4",125135:"1d66eaf592",125136:"0537b43251",125137:"4f9f83a1ef",125138:"17b9d92165",125139:"8af80cd3f1",125140:"a06254db6b",125141:"c6bc2c27c9",125142:"fb577c5f18",125143:"026ab2038f",125144:"d6921b78b5",125145:"72fe0a0469",125146:"1fde120ca4",125147:"98192eba37",125149:"9870d9438e",125150:"d5c429dede",125151:"2381d92d43",125152:"0edcfa2413",125153:"88782e92e8",125154:"25e3889838",125155:"3c4aa1e180",125156:"a8946d4c6b",125157:"1ac2a44c1b",125158:"90a3f8a4c1",125159:"4250dee435",125160:"4d51a5a469",125161:"d2c60f6b64",125162:"ac77d747ee",125163:"b3ce107454",125164:"03e3ed9dc4",125165:"41c0d17ce7",125166:"4569b84aeb",125167:"918753bd4b",125168:"ca7d0b4f96",125169:"da587494fd",125233:"f8f61987e7",125235:"c7df81a3f6",125238:"5370f20b2b",125240:"14acb69083",125242:"d39a83935e",125250:"1dacd9072b",126201:"115fe4084c",132367:"34bd05b5f3",143009:"689c0cf230",148104:"8616341187",148170:"03db4d22d8",148177:"a6f12b7dfc",148178:"e02259bb95",148180:"439a0d47b7",150827:"6b49e3154a",153792:"0917b88be2",153793:"d3090f6783",153794:"66cf513d43",153795:"50f8e40938",153796:"ce729ae07b",153797:"b89f9837f5",153799:"3cee289410",153800:"73a34003fd",153801:"fdc9e83ac5",153802:"6c671c170f",153803:"6a421b8463",153804:"95d80e268a",153805:"f1bde7426b",153806:"05a218cdef",153807:"4e68083125",153934:"9429624bdf",153935:"d1ba914f0e",153936:"fbf8cf0a8c",153937:"d5f0b95996",153938:"d58d35a6b6",153939:"6e96904567",153940:"efc141b55b",153941:"bb8923ed3b",153942:"3c7fc81f93",153943:"e7f0dd1e3c",153944:"c3c481695d",153945:"8e2fa0eed3",153946:"f37b21ce0a",153947:"23da637847",153948:"e9280138bb",153949:"88ff4f8863",153950:"8c59d8bfe0",153951:"7d7eea60f9",153952:"6fcd1dcd43",153953:"fdb03b2683",153954:"e3fb97c9f2",153955:"7b3c4d3ba5",153956:"f8b11a135f",153957:"b10bc4ed82",153958:"bcdba16549",153959:"4aa92b2679",153960:"9e40079042",153961:"659407909d",153962:"29a9e977ea",153963:"63af6bea8b",153964:"8069b45bfd",153965:"3510d5604d",153966:"5cbe4b917f",153967:"6c8db10cc2",153968:"575234b066",153969:"72a7e78e21",153970:"4a0d21ecae",153971:"1bb30c1a0b",153972:"41da87b702",153973:"3b585b7e33",153974:"185b17467a",153975:"9b7663e067",153976:"9ac53bb3d3",153977:"6817804ac0",153982:"53e9687294",153983:"52c161dbfe",153984:"ac6ce34e2d",153985:"4300382122",153986:"40b467eae8",153987:"e1edca392c",153988:"38e054ac90",153989:"e7e2c19da1",153990:"3cea8ee20e",153991:"d1038eb9a8",153993:"596cf13980",153994:"cc347f6784",153995:"a5fc85a7fa",153996:"7637eabc56",153997:"71f1c723e2",153998:"928d7ead7a",153999:"a0f011e48b",154e3:"91266025f0",154001:"06df3543fa",154002:"83eb7952e5",154003:"ef24cc56f2",154004:"458641d7e3",154005:"604019619c",154006:"27ef2b3574",154007:"b97a65d9c1",154008:"51b97659c3",154009:"cb7b6f5ea9",154010:"5782876bc7",154011:"be44cf2597",154012:"788cfc613a",154013:"a30b02a97d",154014:"86033a7c38",154015:"81248819ff",154016:"d4890ee427",154017:"4d65144d7c",154018:"3673d0811b",154019:"e358d47fe8",154020:"64ec540a4e",154021:"74382780d0",154022:"6f057c48b1",156121:"99f4c7550c",156122:"f394f0b077",156123:"895f1cc3a5",156124:"4cfeefd062",156125:"270629e484",156126:"4eaa6cc7a6",156127:"4356f87828",156128:"0f1ef3cd94",156129:"6cfe568fde",156130:"6881b1b36d",156133:"30a8dc8db8",156134:"49f7109371",156135:"34f9555373",156136:"c9542b1774",156137:"1406345353",156138:"3d6ffa67d0",156139:"59218fe080",156140:"2429a6b0da",156142:"f1e4a3874c",156143:"1b94646b86",156170:"66c299b36c",156456:"e3bd847255",156457:"4ce3234b77",158527:"32858e8cab",158796:"2c0d6645f1",162443:"f0924598aa",162639:"b56db8860a",162640:"b8375c9f3a",162933:"435865f368",163011:"ecc2c66f11",166059:"5aab3292b7",166069:"2f57290ce5",166071:"fe1946ed10",166072:"ccd8b8f366",166073:"4e8e87e930",166075:"822088b32d",166080:"b4d744d9f3",166081:"bfc0973a7c",166082:"7cb32a9166",166083:"f5ddefd0d6",166084:"d64215fe57",166085:"96ade25022",166086:"d322ab2ee0",166545:"d9acdd9b98",166800:"32801ea29d",171129:"8cbfd587f1",171130:"83cb08f1ef",171132:"a4b3ca1814",172161:"5bbcdcb62e",172168:"f7e5923557",172191:"6c87083bf8",172192:"7a6d4ed16e",172193:"c1bd2275ab",172195:"30fbca2b76",172196:"54c8591080",173050:"5e1a8795dd",173142:"19d12201e3",173199:"1618914c4d",173200:"2f14f43c8d",173201:"606dbab3e2",173202:"c97b81a66c",173203:"9a76157061",173204:"8df1f06e82",173205:"c4f86f125b",173206:"9afa31510f",173207:"28d086bf9a",173208:"7319086538",173523:"62b458b216",173539:"78a69be0aa",173543:"174882a0c0",173592:"95d4d2eefb",175965:"5c89ab7bcd",175991:"1f6fd5aee7",176935:"01c839c989",178642:"ce54877663",178644:"2c05b1ca24",178682:"34977ae4d7",178683:"ae9d6f561f",178684:"f9efd42d3d",178685:"3082c89a69",178686:"60bf4852a1",178687:"62f818c6da",178688:"ec8bb1b406",178691:"e390bc1f91",178692:"02c50abe53",178693:"e01f370000",179348:"287b567a00",179578:"8aba4e612c",179579:"ef292ef9a7",179580:"49e251108f",179581:"686df113a4",179779:"9a044e4ce5",179782:"2300244e02",179795:"d58e5e2381",179798:"8d05ab3037",179799:"0fcb3814f6",179800:"023bd8d35b",179801:"672312a84a",179839:"aac844d288",179882:"915c85eaf1",182990:"70e69617dd",183145:"62f818c6da",183273:"9511739af0",183274:"1c2894a658",183275:"2748f62725",183277:"d2714d80ed",183278:"86bbb9af7e",184126:"2cbdbadb03",184128:"7bf2954005",184252:"c4ce918ac4",186193:"3d4a64761f",187210:"9bfe4e877d",187212:"aa6bc038cb",187769:"862ce41c45",187771:"9d0ebe797d",188142:"afee124991",189288:"88fc032ab8",189742:"cfe046f97d",190336:"652134630d",190432:"4b847b7341",193058:"735ac578e0",193059:"11d8aefff1",193248:"21317a668b",193396:"a02ee94d83",193397:"b61eaf9343",193398:"01cbf164f1",193399:"b6cf8ba8ab",193761:"80ce8c4b01",194037:"9dd9b2a424",194038:"6248e609a9",194039:"52dfbe10c1",194040:"01114c1151",194041:"dd0b9567d7",194042:"7e1f7d7c56",194043:"00fa5b1810",194044:"fae60fe806",194045:"ba514d9dbb",194046:"e0c98f30cc",194047:"3263204548",194048:"80f348bc5a",194049:"aa59deb37f",194050:"928585bab2",194051:"97a0f7ad0f",194052:"18d7e4195e",194053:"54bd0af757",194054:"c9a3656971",194055:"3f5c9788b2",194056:"e0408deadd",194057:"3e38dd03f5",194058:"54543402f9",194059:"4cbf663d15",194060:"5a790d128b",194061:"5308b8eab6",194062:"5de8d8a6bd",194063:"134e1aedc1",194064:"1fa8d34fce",194065:"ea71dda267",194066:"5c35e68576",194067:"722cc7258f",194068:"6359aca7cd",194069:"f0c1cff14d",194070:"6e741fa14b",194071:"7aaf3a65de",194072:"73aab20b3f",194073:"1de0cc7cd5",194074:"a034afaa3e",194075:"3c05f9d0d3",194076:"28bd7a2ae6",194077:"77e15a2fb2",194078:"08951b8881",194079:"6aab937cc5",194080:"bdcd03af5e",194081:"d665851a78",194082:"67b016dd67",194083:"5888ff3282",194084:"6422be0828",194085:"43580355c4",194086:"c935d0396d",194087:"6507190a87",194088:"b086c75454",194089:"f4235b2f66",194090:"7d50661d44",194091:"a48264e6bb",194092:"2576b3617e",194093:"eed2001bde",194094:"76501c4caf",194095:"ce1968d001",194096:"e6895314a3",194097:"6a6039b320",194098:"6e82cad90c",194576:"ef914aafc2",194577:"9f9bf17fc1",194578:"93dabb3659",194579:"619b5e5480",194580:"c15ec71c1e",194581:"7a1c431343",194582:"ac3340f5a4",194583:"a8bba18f92",194584:"057d3adcae",194810:"2b39342666",194812:"cb65b664b1",195153:"c9a9230d76",195154:"f4ed33dd83",195321:"523eb4a28d",196006:"09318ae43d",197377:"fa1442ab43",197980:"237c311eff",198034:"fab840e825",198323:"8a6b77f1af",198600:"e71802ee3f",198834:"b703e77177",199213:"89cf321b37",199216:"35a2696fbb",199371:"2fba7ee136",199375:"c529517293",199482:"3cd3debad8",199483:"a7f6c286fa",199484:"16a6fc7d3b",200121:"97a96bd0f6",200164:"7a2c92033b",200170:"c3a9c4e555",200174:"7238d75546",200175:"88e9ca16d6",200677:"cce6109b1d",201116:"3c3c4a00ec",201773:"14314445fe",202044:"013c9b98fd",203019:"94de29ee5d",203024:"b354562ed6",203033:"aac4ee55b5",203035:"e3253ed8db",203038:"98d96d6992",203292:"f8e9e89192",203294:"bd6fe7f4f2",208263:"59a3207e0b",208266:"487f8e119b",208313:"986d8e4abc",208462:"a1d72b3578",208552:"9aa2e121f7",208553:"c1024d4df3",208554:"a6ac9c9787",208567:"c9aaa48c19",208568:"b208f1fdc9",208569:"347c93c00e",208570:"e6f57d0332",208571:"7ebe161039",208743:"2a0deac4f1",208781:"f07a94c073",208822:"d079cfa37e",208852:"5b87d54e98",210565:"7b41266098",210567:"4e1d3f33cd",211337:"9ad6a1fa67",1e7:"14dcdbd1b8",10000001:"85e2135ebf",10000002:"6f0530b847",10000003:"9aebeaabdc",10000004:"ec30be261c",10000005:"42e269ebcb",10000006:"fe46ec1a7c",10000007:"c7c5b41643",10000008:"e017e3296e",10000010:"c8a4da1342",10000011:"d0033013c8",10000012:"c920a1872b",10000013:"5cb1560e95",10000014:"945d12984c",10000015:"3f0af1c616",10000016:"e9cff35b9e",10000017:"809a140d15",10000018:"a3f294e223",10000019:"26c5369243",10000020:"2895ae0549",10000021:"7e463b1f7b",10000022:"3ac8066b24",10000023:"05688314fe",10000024:"2b9b203f0f",10000025:"d8c2189403",10000026:"abaa9c1f9a",10000035:"a41083a929",10000036:"8e74dd4bab",10000037:"cafae725da",10000038:"a121dfa9da",10000039:"ff48cf981d",10000040:"254b287491",10000041:"95cf182700",10000042:"7c449193e6",10000043:"7cf4199d2c",10000044:"7d70b943e5",10000045:"d6ebb8fae4",10000046:"6ec2e4a903",10000047:"6b9d9c6b43",10000048:"c697613553",10000049:"154b668a0c",10000050:"06c11d3a67",10000051:"79b306f4fb",10000052:"4ddf4d4f00",10000053:"d4f3f248fb",10000054:"5f1da0f4d3",10000055:"a258c98d13",10000056:"46ae6a0b78",10000057:"484950e70c",10000058:"b0f2c06862",10000059:"81c7d9a013",10000060:"b2774f9b84",10000061:"8d357982ec",10000062:"f17475be77",10000063:"2e17bf9dba",10000064:"5ab5b328ac",10000065:"746301201f",10000066:"74a3fa3235",10000067:"445aec4c58",10000068:"166c8e0df7",10000069:"3c1d1ce2d1",10000070:"41b1a04aca",10000071:"8f48e4fe18",10000072:"ce3f903a4a",10000073:"facdeec66b",10000074:"5bdce48fc9",10000075:"4263c32baa",10000076:"da12137035",10000077:"befae0dd8d",10000078:"3789f175c4",10000079:"8f0ede6d58",10000080:"2c8374dc79",10000081:"939ab96a5d",10000082:"65edb8587b",10000083:"5d51ce9468",10000084:"31758176d8",10000085:"3f06c3645c",10000086:"570293b21e",10000087:"c8ca3f3a91",10000088:"3f8c611719",10000089:"ec5bacbf42",10000090:"b1a46cb9ba"},runtime:rt({hash:function(t){return vt(t).toString(St).slice(0,8)},javaScriptInput:{ahoCorasickLookup:t=>[],eventSegments:t=>({"!UpdateLookalikeModels":["116501","156170","156456","156457","162443","162639","162640","162933","163011","166059","173199","173200","173201","173202","173203","173204","173205","173206","173207","173208","173592","187210","187212","193058","198834","201116","208263","208266","208552","208553","208554","208743","208822","83833"],"!UpdateSecondPartyData":["100677","121884","124782","124790","124791","124812","124814","124816","124818","124819","124822","124824","124826","124829","124831","124832","124834","124835","124836","124837","124838","124839","124840","124841","124845","124846","124848","124849","124850","124851","124854","124855","124856","124857","124858","124859","124923","124925","124926","124927","124928","124930","124931","124932","124933","124934","124935","124936","124937","124938","124939","124940","124941","124942","124943","124944","124945","124948","124949","150827","153792","153793","153794","153795","153796","153797","153799","153800","153801","153802","153803","153804","153805","153806","153807","153934","153935","153936","153937","153938","153939","153940","153941","153942","153943","153944","153945","153946","153947","153948","153949","153950","153951","153952","153953","153954","153955","153956","153957","153958","153959","153960","153961","153962","153963","153964","153965","153966","153967","153968","153969","153970","153971","153972","153973","153974","153975","153976","153982","153983","153984","153985","153986","153987","153988","153989","153990","153991","153993","153994","153995","153996","153997","153998","154000","154001","154002","154003","154004","154005","154007","154008","154009","154010","154011","154012","154013","154014","154015","154016","154017","154018","154019","154020","154021","156121","156122","156123","156124","156125","156126","156127","156128","156129","156130","156133","156134","156135","156136","156137","156138","156139","156140","156142","156143","183273","183274","183275","183277","183278","74257","74258","74260","74261","74262","74264","74265","74267","74268","74269","74270","74271","74272","74273","74274","74275","74276","74277","74278","74279","74280","74281","74282","74283","74285","74286","74287","74288","74289","74290","74291","74292","74293","74294","74295","74296","74297","74298","74299","74300","74301","74302","74303","74304","77830","77831","77832","77833","77834","77835","77836","77837","77838","77839","77846","77847","79873","79874","88140","88783"],"!UpdateThirdPartyData":["103882","105707","105839","105840","105841","105842","110467","120901","120902","120905","120907","122358","122988","123133","123134","123135","123138","123141","123142","132367","158527","172168","179839","184252","194576","194577","194578","194579","194580","71295","71299","71300","71301","71827","71830","71831","71832","71835","71865","71866","71867","71869","72165","72166","72168","72170","72172","72174","72175","72179","72180","72316","74011","74223","74224","74226","74237","74239","74243","74244","74245","74246","74248","74249","74251","74334","74335","74336","74338","74339","74340","74341","74342","74343","74569","74575","74577","74578","74580","74583","74585","74712","75326","75329","75331","79019","79023","79026","81119","83271","83515","85988","86042","86999","90993","90994","90995","90996","90998","90999","91000","91002","94563"],ApplicationAuthentication:["100677","124782","124790","124791","124812","124814","124816","124818","124819","124822","124824","124826","124829","124831","124832","124834","124835","124836","124837","124838","124839","124840","124841","124845","124846","124848","124849","124850","124851","124854","124855","124856","124857","124858","124859","124923","124925","124926","124927","124928","124930","124931","124932","124933","124934","124935","124936","124937","124938","124939","124940","124941","124942","124943","124944","124945","124948","124949","125104","125105","125106","125107","125108","125109","125110","125111","125112","125113","125114","125115","125116","125117","125118","125119","125120","125121","125122","125123","125124","125125","125126","125127","125128","125129","125130","125131","125132","125133","125134","125135","125136","125137","125138","125139","125140","125141","125142","125143","125144","125145","125146","125147","125149","125150","125151","125152","125153","125154","125155","125156","125157","125158","125159","125160","125161","125162","125163","125164","125165","125166","125167","125168","125169","125233","125235","125238","125240","125242","125250","153792","153793","153794","153795","153796","153797","153799","153800","153801","153802","153803","153804","153805","153806","153807","153934","153935","153936","153937","153938","153939","153940","153941","153942","153943","153944","153945","153946","153947","153948","153949","153950","153951","153952","153953","153954","153955","153956","153957","153958","153959","153960","153961","153962","153963","153964","153965","153966","153967","153968","153969","153970","153971","153972","153973","153974","153975","153976","153977","153982","153983","153984","153985","153986","153987","153988","153989","153990","153991","153993","153994","153995","153996","153997","153998","153999","154000","154001","154002","154003","154004","154005","154006","154007","154008","154009","154010","154011","154012","154013","154014","154015","154016","154017","154018","154019","154020","154021","154022","193397","194810","194812","195153","195154","196006","197377","198600","203292","208313","74257","74258","74260","74261","74262","74264","74265","74267","74268","74269","74270","74271","74272","74273","74274","74275","74276","74277","74278","74279","74280","74281","74282","74283","74285","74286","74287","74288","74289","74290","74291","74292","74293","74294","74295","74296","74297","74298","74299","74300","74301","74302","74303","74304","74306","74307","74308","74309","74319","74320","74321","74323","75244","75245","75246","75247","75249","75250","75251","77830","77831","77832","77833","77834","77835","77836","77837","77838","77839","77846","77847","79151","79153","79156","79168","79169","79170","79171","79172","79173","79872","79873","79874","79876","79877","79878","81351","81352","81353","81356","81357","81361","81364","81365","81366","81367","81368","81369","81372","81373","81374","81375","81376","81378","81379","81380","81381","81518","81519","81520","81521","81522","81523","81526","81529","81530","81534","81535","81537","81539","81540","81550","81551","81552","81553","81554","81686","81687","81688","81689","81690","81691","81692","81694","81695","81696","81697","81701","81702","81703","81704","81705","88140","88783"],LinkClick:["74500","74501","74574","74576","74579","74581","74584","74682"],Pageview:["10000000","10000001","10000002","10000003","10000004","10000005","10000006","10000007","10000008","10000010","10000011","10000012","10000013","10000014","10000015","10000016","10000017","10000018","10000019","10000020","10000021","10000022","10000023","10000024","10000025","10000026","10000035","10000036","10000037","10000038","10000039","10000040","10000041","10000042","10000043","10000044","10000045","10000046","10000047","10000048","10000049","10000050","10000051","10000052","10000053","10000054","10000055","10000056","10000057","10000058","10000059","10000060","10000061","10000062","10000063","10000064","10000065","10000066","10000067","10000068","10000069","10000070","10000071","10000072","10000073","10000074","10000075","10000076","10000077","10000078","10000079","10000080","10000081","10000082","10000083","10000084","10000085","10000086","10000087","10000088","10000089","10000090","100124","100672","100675","100679","103390","103391","103392","104636","104637","105244","106406","107335","107490","109701","110665","111942","113875","114069","114679","114680","115431","115432","115611","115716","117494","117710","118439","118780","122848","122883","122932","122933","122934","122935","122937","122938","122939","122940","122941","122942","123877","123878","123879","123880","123881","123882","123884","124274","126201","143009","148104","148170","148177","148178","148180","158796","166069","166071","166072","166073","166075","166080","166081","166082","166083","166084","166085","166086","166545","166800","172161","172191","172192","172193","172195","172196","173050","173142","173523","173539","173543","175965","175991","176935","178642","178644","179348","179578","179579","179580","179581","179779","179782","179795","179798","179799","179800","179801","179882","182990","186193","187769","187771","188142","189288","189742","190336","193248","193396","193397","193398","193399","193761","194037","194038","194039","194040","194041","194042","194043","194044","194045","194046","194047","194048","194049","194050","194051","194052","194053","194054","194055","194056","194057","194058","194059","194060","194061","194062","194063","194064","194065","194066","194067","194068","194069","194070","194071","194072","194073","194074","194075","194076","194077","194078","194079","194080","194081","194082","194083","194084","194085","194086","194087","194088","194089","194090","194091","194092","194093","194094","194095","194096","194097","194098","194581","194582","194583","194584","195321","197980","198034","198323","199213","199371","199375","199482","199483","199484","200121","200164","200170","200174","200175","200677","201773","203019","203024","203033","203035","203038","208462","210565","210567","211337","47119","61938","63765","63766","63767","63768","63769","63770","63772","63773","63774","63776","63777","63778","63780","63782","63783","63785","63786","63788","63790","63791","63792","63793","63794","63795","63796","63797","63798","63800","63801","63802","63803","63804","63805","63806","63807","63809","63810","63811","63812","63813","63814","63816","63817","63818","63820","63821","63823","63824","63825","63827","63828","63829","63830","63831","63833","63834","63835","63837","63838","63855","63856","63857","63858","63859","63860","63861","63862","63863","63864","63865","63866","63867","63868","63869","63870","63871","63872","63874","63875","63876","63878","63879","63880","63881","63882","63883","63884","63886","63887","63888","63889","63890","63891","63892","63893","63894","63895","63896","63897","65408","66107","66113","70745","71181","71182","71183","71184","71185","71288","71290","71291","71294","71874","71914","72105","72133","72135","72500","72784","72785","72786","72815","72819","72902","74497","74502","74682","75208","75209","75210","75211","75212","75213","75216","75219","75220","75223","75224","75225","75226","75228","75231","75232","75349","75351","75352","75353","75354","75355","75357","75358","75359","75360","75361","75365","75366","75367","75368","75369","75370","75371","75372","75374","75375","75376","75377","75378","75379","75380","75382","75383","75384","75385","75386","75387","75391","75394","75396","75397","75406","75424","75452","75931","75932","75933","75934","75935","75938","75939","75940","75941","75942","75943","75944","75945","75946","75947","75948","75949","75950","75953","75954","75955","75956","76182","76183","76184","76185","76186","76187","76190","76191","76192","76193","76195","76196","76199","76208","76209","76210","76211","76213","76214","76217","76218","76219","76220","76223","76325","78882","78884","78885","78892","78894","78899","78901","78903","78904","78906","78908","78912","78913","79013","79091","79093","83160","83161","83162","83163","83164","83165","83166","85883","85884","85885","85886","85887","85888","85889","87442","87443","87444","87445","87446","87448","87450","88033","88034","88035","88036","88037","88038","88039","88040","88041","88042","88043","88044","88127","88315","88413","88810","88890","88891","88919","88920","88921","88922","88924","88925","88926","88927","88928","88930","88931","89015","89016","89017","89018","89019","89020","89021","89023","89024","89025","89026","89650","90505","90507","92784","92785","94834","94837","94838","95544","96352","96354","96401","98386","99781"],PageviewComplete:["121884","178682","178683","178684","178685","178686","178687","178688","178691","178692","178693","183145","184126","184128","199216","202044","208567","208568","208569","208570","208571","208781","208852","88788"],RegistrationImpressionSeen:["88887"],SegmentEntry:["121884","178682","178683","178684","178685","178686","178687","178688","178691","178692","178693","183145","184126","184128","199216","202044","208567","208568","208569","208570","208571","208781","208852","88788"],SegmentExit:[],SubscriptionCheckoutStepStarted:["125242","125250"],SubscriptionInterstitialSelected:["125250"],UiInteraction:["203038","88127"],UserIdentify:["100677","121884","153792","153793","153794","153795","153796","153797","153799","153800","153801","153802","153803","153804","153805","153806","153807","153934","153935","153936","153937","153938","153939","153940","153941","153942","153943","153944","153945","153946","153947","153948","153949","153950","153951","153952","153953","153954","153955","153956","153957","153958","153959","153960","153961","153962","153963","153964","153965","153966","153967","153968","153969","153970","153971","153972","153973","153974","153975","153976","153982","153983","153984","153985","153986","153987","153988","153989","153990","153991","153993","153994","153995","153996","153997","153998","153999","154000","154001","154002","154003","154004","154005","154007","154008","154009","154010","154011","154012","154013","154014","154015","154016","154017","154018","154019","154020","154021","154022","171129","171130","171132","190432","193059","194810","194812","195153","195154","196006","203292","203294","208313","74257","74258","74260","74261","74262","74264","74265","74267","74268","74269","74270","74271","74272","74273","74274","74275","74276","74277","74278","74279","74280","74281","74282","74283","74285","74286","74287","74288","74289","74290","74291","74292","74293","74294","74295","74296","74297","74298","74299","74300","74301","74302","74303","74304","74306","74309","74320","74321","77830","77831","77833","77834","77835","77836","77837","77838","77839","77846","77847","79151","79153","79156","79168","79169","79170","79171","79172","79872","79873","79874","79876","79877","79878","81351","81352","81353","81356","81357","81361","81364","81365","81366","81367","81368","81369","81372","81373","81374","81375","81376","81378","81379","81380","81381","81518","81519","81520","81521","81522","81523","81526","81529","81530","81534","81535","81537","81539","81540","81550","81552","81553","81554","81686","81687","81688","81689","81690","81691","81692","81694","81695","81696","81697","81701","81702","81703","81704","81705","88783"]}),eventsLookup:t=>["Pageview","ApplicationAuthentication","UserIdentify","PageviewComplete","SegmentEntry","LinkClick","SubscriptionCheckoutStepStarted","UiInteraction"],interpretOnlyQueries:t=>({}),literalsLookup:t=>t.frontDecode("\\t\\t/art and entertainment/comics and animation\\t23\\tdance\\t23\\tmovies and tv/television\\t1\\tfamily and parenting\\t2\\tinance/financial news\\t2\\tood and drink/healthy eating\\t1\\thealth and fitness\\t1\\tmarkets/stocks/\\t1\\tsociety/crime\\t9\\tdating\\t\\t3DPR\\t\\t4DPR\\t\\t5GNET\\t\\tAAA\\t2\\tESCH\\t4\\tDE\\t4\\tIN\\t2\\tINIT\\t2\\tRCHG\\t3\\tDW\\t3\\tUP\\t2\\tTPCH\\t4\\tDE\\t4\\tIN\\t1\\tBS\\t2\\tUOF\\t1\\tCCI\\t3\\tTAX\\t2\\tMS\\t2\\tRIM\\t1\\tDC\\t2\\tHD\\t2\\tR\\t2\\tVO\\t3\\tS\\t1\\tER\\t3\\tO\\t4\\t1\\t1\\tFRMX\\t1\\tGCONS\\t2\\tMACH\\t2\\tN\\t2\\tRBIO\\t3\\tSS\\t1\\tIAB\\t2\\tDSHI\\t2\\tEA\\t2\\tR\\t3\\tB\\t3\\tCAT\\t3\\tEQW\\t3\\tFR\\t5\\tT\\t4\\tUE\\t3\\tL\\t4\\t1\\t3\\tP\\t4\\t1\\t4\\tAM\\t4\\tCO\\t4\\tOP\\t3\\tSL\\t3\\tUT\\t1\\tK1\\t1\\tL1\\t2\\tCOAB\\t2\\tLCE\\t3\\tERG\\t2\\tMPRD\\t2\\tTMED\\t5\\tF\\t1\\tMBLCS\\t2\\tCM\\t2\\tED\\t4\\t1\\t4\\tWH\\t3\\tRSE\\t2\\tVTEC\\t1\\tNGIN\\t2\\tTPSY\\t3\\tRV\\t2\\tXIET\\t1\\tPEQ\\t2\\tL\\t2\\tOLL\\t2\\tPP\\t1\\tRMAMM\\t2\\tPU\\t2\\tTHRI\\t3\\tI\\t1\\tSM\\t2\\tP\\t2\\tTHM\\t1\\tTHERO\\t2\\tPWHL\\t2\\tRAN\\t1\\tUCT\\t2\\tDCAD\\t3\\tJPY\\t3\\tNZD\\t3\\tSEK\\t3\\tUSD\\t2\\tM\\t3\\tFLO\\t2\\tT\\t3\\tACC\\t3\\tBAT\\t4\\tOD\\t3\\tCLE\\t3\\tINS\\t3\\tO\\t4\\tMV\\t3\\tPT\\t5\\t1\\t4\\tWR\\t3\\tSYS\\t3\\tWHL\\t1\\tWLQ\\t1\\tZNCC\\t1\\tcademia\\t1\\tdvertising Agency\\t1\\terospace & Defence\\t17\\tse\\t11\\tamp; Defence\\t1\\tsset Manager\\t6\\tOwner\\t1\\tutomotive\\t\\tBACPAI\\t3\\tT\\t2\\tMCC\\t1\\tBK\\t2\\tYSAF\\t1\\tCCD\\t2\\tDJ\\t3\\tRD\\t2\\tEAO\\t3\\tC\\t2\\tHCR\\t3\\tN\\t2\\tLU\\t2\\tMA\\t2\\tNI\\t2\\tPY\\t2\\tRA\\t3\\tG\\t2\\tSM\\t3\\tTP\\t2\\tTL\\t3\\tN\\t2\\tUY\\t2\\tVE\\t1\\tDADZ\\t2\\tGT\\t2\\tMZ\\t1\\tEAC\\t1\\tIBIFU\\t2\\tGDT\\t2\\tKRET\\t2\\tNS\\t2\\tOCEL\\t3\\tDFU\\t4\\tRG\\t4\\tSL\\t4\\tT\\t3\\tETH\\t3\\tF\\t3\\tMD\\t4\\tPR\\t4\\tS\\t3\\tPH\\t4\\tWR\\t3\\tSEN\\t3\\tTCH\\t2\\tPOLA\\t2\\tRTHC\\t2\\tSKIT\\t3\\tV\\t1\\tKAM\\t2\\tCVE\\t2\\tEMNF\\t3\\tPRT\\t2\\tRFIG\\t3\\tT\\t2\\tTH\\t1\\tL1\\t2\\tKCHN\\t3\\tTRD\\t2\\tNDPL\\t2\\tOOCA\\t1\\tMJDIS\\t2\\tSPEQ\\t2\\tXO\\t1\\tNAO\\t2\\tBG\\t2\\tKCAP\\t4\\tOM\\t3\\tISL\\t3\\tMC\\t4\\tER\\t3\\tPRV\\t3\\tRET\\t3\\tS\\t4\\t1\\t2\\tMD\\t3\\tY\\t2\\tPA\\t2\\tRW\\t1\\tOAL\\t2\\tBW\\t2\\tC\\t2\\tE\\t3\\tE\\t3\\tS\\t2\\tFI\\t3\\tR\\t2\\tGH\\t3\\tR\\t3\\tY\\t2\\tISL\\t3\\tT\\t2\\tJ\\t3\\tJ\\t3\\tM\\t2\\tKR\\t2\\tLPDR\\t3\\tV\\t2\\tMU\\t2\\tNA\\t3\\tS\\t2\\tPT\\t2\\tSI\\t3\\tS1\\t2\\tTZ\\t2\\tUG\\t2\\tZM\\t1\\tPNG\\t1\\tQ1\\t2\\tXK\\t1\\tRAICA\\t2\\tBI\\t2\\tCO\\t2\\tEACA\\t4\\tDM\\t2\\tFID\\t2\\tGE\\t2\\tHT\\t2\\tIB\\t3\\tNF\\t2\\tKFST\\t3\\tSER\\t1\\tSD\\t2\\tENT\\t2\\tLE\\t2\\tRI\\t2\\tSU\\t2\\tVC\\t1\\tTCCR\\t2\\tDL\\t1\\tULDOZ\\t2\\tN\\t2\\tYB\\t1\\tWPCC\\t1\\troker\\t1\\tusiness\\t\\tCABLAY\\t2\\tLLS1\\t2\\tNNAB\\t2\\tPUT\\t3\\tX\\t2\\tRBSD\\t3\\tDAR\\t4\\tCO\\t4\\tEV\\t4\\tIN\\t3\\tM\\t4\\t1\\t3\\tREG\\t4\\tNT\\t2\\tSE1\\t3\\tINS\\t2\\tVS\\t1\\tBAM\\t3\\tR\\t3\\tW\\t2\\tBD\\t3\\tH\\t3\\tS\\t2\\tCG\\t3\\tL\\t3\\tS\\t3\\tY\\t2\\tEG\\t2\\tGM\\t2\\tIE\\t3\\tQ\\t3\\tR\\t3\\tS\\t2\\tJO\\t2\\tKBH\\t3\\tE\\t3\\tW\\t2\\tLR\\t3\\tY\\t2\\tMG\\t3\\tM\\t3\\tN\\t3\\tT\\t2\\tNG\\t2\\tOB\\t3\\tL\\t3\\tM\\t3\\tS\\t2\\tPH\\t2\\tRS\\t3\\tT\\t3\\tU\\t2\\tSC\\t3\\tEC\\t3\\tI\\t3\\tL\\t3\\tO\\t3\\tY\\t3\\tZ\\t2\\tTM\\t3\\tT\\t3\\tW\\t2\\tUAE\\t3\\tZ\\t2\\tVS\\t2\\tWS\\t2\\tYE\\t1\\tCFSER\\t2\\tRE\\t1\\tDM\\t2\\tO\\t2\\tV\\t1\\tEDEO\\t2\\tFU\\t2\\tLE1\\t2\\tMCON\\t2\\tN\\t2\\tT1CR\\t1\\tFOC\\t1\\tHAIR1\\t2\\tESS\\t2\\tFCC\\t2\\tIP\\t4\\t1\\t2\\tLD\\t2\\tRG\\t2\\tWTOB\\t1\\tIGARS\\t2\\tNV\\t2\\tPE\\t2\\tV\\t1\\tLA\\t3\\tSS\\t2\\tC\\t2\\tDS\\t3\\tTEC\\t2\\tF\\t3\\tREQ\\t2\\tIMED\\t2\\tJ\\t2\\tM\\t2\\tOUDC\\t2\\tR\\t3\\tSET\\t1\\tM1\\t2\\tBS\\t2\\tFUT\\t2\\tPELC\\t3\\tNY\\t1\\tNCER\\t2\\tDNSP\\t2\\tEMA\\t2\\tSL\\t3\\tPR1\\t5\\tC\\t2\\tVT\\t1\\tO2\\t2\\tA\\t3\\tM\\t4\\t1\\t4\\tSU\\t3\\tPWR\\t3\\tWHL\\t2\\tCRED\\t2\\tDOC\\t2\\tEN\\t4\\t1\\t2\\tFS\\t4\\t1\\t2\\tHARW\\t2\\tINCO\\t2\\tLLIF\\t3\\tOCA\\t2\\tM\\t3\\tAIR\\t4\\tRB\\t3\\tBLD\\t3\\tC\\t4\\t1\\t4\\tWH\\t3\\tDIS\\t3\\tFN\\t5\\t1\\t3\\tLEA\\t4\\tOA\\t3\\tPTN\\t2\\tNFTS\\t3\\tG\\t4\\t08\\t3\\tLEA\\t3\\tPS\\t3\\tSP\\t3\\tT\\t2\\tPYR\\t2\\tRAT\\t3\\tEV\\t3\\tPAC\\t4\\tD\\t2\\tVB\\t3\\tID\\t1\\tPAFR\\t5\\t1\\t2\\tBIP\\t2\\tROD\\t4\\tG\\t2\\tUS\\t1\\tRBP\\t2\\tEDUN\\t2\\tIM\\t4\\t1\\t4\\t2\\t2\\tPTAX\\t2\\tRPT1\\t5\\tN\\t2\\tYCUR\\t3\\tPTO\\t1\\tSTCUT\\t1\\tTRAIN\\t3\\tYR\\t1\\tURDRV\\t3\\tINT\\t1\\tVALU\\t2\\tRSY\\t1\\tWDFUN\\t2\\tP\\t1\\tXO / Exec / Senior Management\\t3\\t/Managing Director\\t1\\tYCS\\t1\\tZNB\\t1\\tanada\\t1\\tentral Banker\\t1\\tlearing / Settlement / Custody\\t1\\tommodities & Energy\\t13\\tamp; Energy\\t3\\tpetitive / Market Intelligence\\t4\\tliance Officer\\t2\\tnsulting & Advisory\\t12\\tamp; Advisory\\t2\\trporate Counsel\\t10\\tDevelopment / Strategic Planning\\t10\\tTreasurer\\t2\\tunsel\\t1\\tryptocurrencies\\t1\\turrencies / Foreign Exchange Markets\\t\\tDABR\\t2\\tCT\\t2\\tFB\\t2\\tIR\\t2\\tT\\t3\\tBR\\t1\\tBT\\t2\\tULK\\t1\\tCLP\\t2\\tPTN\\t5\\t1\\t1\\tDEAL\\t1\\tEAL1\\t2\\tF\\t3\\tBUY\\t2\\tMENT\\t2\\tNTL\\t2\\tPORT\\t3\\tRES\\t4\\tO\\t2\\tRMAT\\t2\\tSAL\\t2\\tVAL\\t3\\tFIN\\t1\\tIABET\\t3\\tGTS\\t3\\tM\\t3\\tRY\\t3\\tSUB\\t2\\tETNU\\t2\\tGPAY\\t2\\tP\\t2\\tSCOM\\t3\\tEAS\\t3\\tP\\t3\\tQ\\t3\\tTLL\\t2\\tV\\t3\\tMIN\\t1\\tJFCC\\t1\\tKNB\\t1\\tNCG\\t2\\tLB\\t1\\tOP\\t1\\tPB\\t2\\tR\\t3\\tSVC\\t1\\tRGDEL\\t2\\tIL\\t4\\t1\\t2\\tMKTG\\t2\\tOFF\\t3\\tNE\\t2\\tPS\\t2\\tU\\t3\\tDEV\\t3\\tGEN\\t3\\tPRO\\t3\\tSAF\\t3\\tVET\\t2\\tV\\t1\\tSC\\t3\\tRN\\t2\\tFRT\\t2\\tKLAP\\t2\\tTLLS\\t5\\tU\\t1\\tVST\\t1\\tata Operations\\t2\\tvos\\t1\\tesign, Pictures and Media Production\\t\\tEATDIS\\t1\\tCB\\t2\\tCB\\t2\\tI\\t2\\tM / DCM - Origination / Syndication\\t2\\tOMMA\\t1\\tDUTIP\\t1\\tGS\\t1\\tHVEH\\t1\\tLC\\t3\\tINS\\t3\\tO\\t4\\t1\\t2\\tEAV\\t3\\tCCO\\t4\\tOM\\t5\\tN\\t3\\tP\\t4\\t1\\t3\\tVGR\\t2\\tG\\t2\\tMETS\\t1\\tMB\\t2\\tRG\\t1\\tNDOCR\\t2\\tER\\t2\\tFF\\t3\\tORC\\t2\\tQSVC\\t2\\tT\\t2\\tV\\t1\\tPMEOL\\t3\\tICS\\t1\\tQB\\t2\\tTY\\t1\\tREP\\t2\\tNSPS\\t1\\tSG\\t3\\tENV\\t3\\tGOV\\t3\\tSOC\\t2\\tOC\\t1\\tTF1\\t3\\tISC\\t5\\tL\\t2\\tHCLO\\t3\\tFUL\\t2\\tPS\\t1\\tU\\t2\\tRUSD\\t1\\tVTMGT\\t1\\tXCA\\t3\\tPTS\\t2\\tECSE\\t2\\tIMB\\t2\\tNRT\\t2\\tPRO\\t5\\t1\\t2\\tRSKS\\t1\\tZ\\t1\\tconomist\\t1\\tducation Services\\t1\\tgypt\\t1\\txchanges\\t\\tFACLOD\\t2\\tKE1\\t4\\tD\\t4\\tFI\\t4\\tG\\t4\\tM\\t3\\tING\\t2\\tNNL\\t2\\tPM\\t2\\tREP\\t2\\tSH\\t1\\tBCAR\\t2\\tEOW\\t2\\tRK\\t1\\tCAPC\\t2\\tHAYE\\t2\\tRIM1\\t2\\tTRNG\\t2\\tWFD\\t1\\tDBTIS\\t2\\tINV\\t3\\tV\\t2\\tRT\\t2\\tSB\\t1\\tED\\t3\\tSPK\\t2\\tNIPR\\t2\\tPFYR\\t3\\tL\\t2\\tRNQ1\\t5\\t2\\t5\\t3\\t3\\tREP\\t2\\tXOAP\\t1\\tFIP\\t2\\tUND\\t2\\tYR\\t4\\tAM\\t1\\tGEN\\t1\\tHPGEN\\t1\\tIBOPC\\t2\\tCLS\\t2\\tLING\\t3\\tMTV\\t2\\tN\\t3\\tDIF\\t3\\tE1\\t3\\tFP\\t3\\tMI\\t3\\tREG\\t3\\tS\\t4\\tW\\t3\\tTAM\\t4\\tCH\\t4\\tE\\t5\\t1\\t5\\tC\\t5\\tR\\t3\\tV\\t4\\tAD\\t1\\tJDCC\\t1\\tKPCC\\t1\\tLAPP\\t2\\tFN\\t2\\tGLAC\\t2\\tM\\t2\\tUPOW\\t1\\tMAPR\\t2\\tCHNG\\t2\\tESP\\t2\\tPGEN\\t2\\tRG\\t3\\tOTH\\t1\\tNMKT\\t5\\t1\\t2\\tRLSS\\t1\\tO1\\t2\\tAD\\t2\\tEMA\\t2\\tFF\\t2\\tMC\\t2\\tODPO\\t3\\tMKT\\t3\\tOTH\\t2\\tPM\\t2\\tSEN\\t3\\tT\\t2\\tTHDB\\t4\\tE\\t4\\tR\\t2\\tWNDO\\t4\\tIN\\t1\\tPDBT\\t2\\tEQ\\t2\\tFYR\\t2\\tIEMA\\t3\\tGEN\\t3\\tPO\\t2\\tMA\\t2\\tNOFF\\t2\\tRCNG\\t3\\tE\\t4\\tAM\\t4\\tS\\t3\\tOFF\\t1\\tRAS\\t3\\tUD1\\t2\\tEM1\\t2\\tGRY\\t3\\tT\\t4\\tLO\\t2\\tL\\t2\\tOFF\\t4\\tOO\\t2\\tST\\t2\\tTRCK\\t2\\tWTDT\\t4\\tEQ\\t4\\tGE\\t2\\tX\\t3\\tRTE\\t1\\tSECD\\t4\\tNU\\t3\\tP\\t2\\tOFF\\t3\\tPT\\t2\\tWAP\\t1\\tTECH\\t2\\tIA\\t2\\tKOV\\t1\\tUHCA\\t2\\tND\\t1\\tXWLES\\t1\\tYP\\t1\\tinTech / Vendor Business Manager\\t3\\tancial Controlling & Performance Reporting\\t10\\tServices\\t1\\tood & Beverage\\t6\\tamp; Beverage\\t2\\trmula 1\\t1\\trance\\t1\\tund Sales & Marketing\\t\\tG20\\t1\\tAMMOP\\t2\\tSCON\\t3\\tLND\\t3\\tOFF\\t3\\tPIP\\t4\\tWR\\t3\\tSTN\\t3\\tTRI\\t1\\tBPAUD\\t3\\tCAD\\t4\\tHF\\t3\\tJPY\\t3\\tNOK\\t4\\tZD\\t3\\tPLN\\t3\\tSEK\\t4\\tGD\\t3\\tUSD\\t3\\tZAR\\t2\\tR\\t1\\tDIS\\t2\\tP\\t2\\tRLOF\\t5\\tN\\t1\\tEE\\t2\\tN\\t3\\tE\\t4\\tDT\\t3\\tHLT\\t3\\tMCS\\t2\\tOPWR\\t3\\tTHR\\t2\\tP\\t2\\tRIAT\\t1\\tFIN\\t1\\tHSCC\\t1\\tIPCC\\t1\\tLACON\\t2\\tDMIN\\t2\\tOFIN\\t1\\tMO\\t1\\tNFCC\\t1\\tOL\\t3\\tF\\t3\\tM\\t4\\t1\\t2\\tS\\t2\\tVR\\t1\\tPGAP\\t1\\tRAPRD\\t2\\tNDBT\\t1\\tSFT\\t1\\tTHER\\t1\\tVD\\t1\\tWP\\t1\\tYNACO\\t1\\termany\\t1\\tovernment & Public Services\\t11\\tMinistry\\t11\\tand Public Service\\t29\\ts\\t3\\tt/Public Service Employee\\t20\\tSenior Leader\\t\\tH2O\\t1\\tACK\\t4\\t1\\t4\\t2\\t2\\tEMAT\\t2\\tRW\\t4\\t1\\t1\\tBURN\\t3\\tSCO\\t1\\tCFD\\t2\\tPOL\\t3\\tROF\\t2\\tRIM\\t1\\tDWR\\t1\\tEA\\t3\\tDMI\\t3\\tFAL\\t3\\tRCA\\t2\\tCA\\t2\\tDGE\\t2\\tPATI\\t1\\tFAC\\t4\\t1\\t2\\tOODS\\t2\\tUEL\\t1\\tIFI\\t1\\tJK\\t1\\tLB\\t2\\tDG\\t4\\t1\\t2\\tREIT\\t2\\tTHSE\\t1\\tMAC\\t4\\t1\\t4\\tVW\\t2\\tOMC\\t3\\tS\\t4\\t1\\t3\\tTOR\\t1\\tNBK\\t1\\tOGPIG\\t2\\tIL\\t2\\tMEHS\\t2\\tREIT\\t2\\tSAL\\t3\\tPTL\\t4\\tVS\\t2\\tT\\t1\\tPAS\\t2\\tRD\\t1\\tRGT\\t2\\tIGHV\\t4\\tV\\t2\\tNB\\t1\\tSEHLD\\t2\\tFEQT\\t1\\tTRUCK\\t1\\tUMDIS\\t2\\tNTF\\t1\\tYD\\t3\\tPEQ\\t4\\tWR\\t3\\tTRT\\t2\\tPERT\\t1\\tedge Fund\\t\\tIAEA\\t1\\tBIOCH\\t1\\tCC\\t2\\tJ\\t1\\tDBRK\\t1\\tFOC\\t1\\tGD\\t1\\tLB\\t2\\tEI\\t2\\tLCO\\t3\\tGA\\t3\\tIM\\t5\\t1\\t2\\tS\\t1\\tMF\\t2\\tMOGY\\t1\\tNCONT\\t2\\tD\\t3\\tCMP\\t3\\tG\\t4\\tAS\\t4\\tWH\\t3\\tM\\t4\\t1\\t4\\tAC\\t4\\tLD\\t4\\tRG\\t3\\tR\\t4\\tEA\\t5\\tN\\t5\\tS\\t3\\tS\\t4\\tGN\\t3\\tVAL\\t3\\tX\\t2\\tFDIS\\t3\\tL\\t4\\tUE\\t3\\tU\\t2\\tLIBK\\t3\\tOW\\t2\\tMEWH\\t2\\tPDEV\\t3\\tFOV\\t3\\tLNT\\t2\\tREIT\\t3\\tUB\\t2\\tS\\t3\\tETR\\t3\\tGHT\\t3\\tI\\t2\\tT\\t3\\tAG\\t3\\tCIR\\t3\\tFIN\\t3\\tGAM\\t3\\tMED\\t3\\tRD\\t5\\t1\\t4\\tIS\\t2\\tVBIS\\t4\\tNK\\t4\\tR\\t5\\t1\\t3\\tD08\\t4\\tIV\\t3\\tM\\t4\\t1\\t4\\tAN\\t3\\tTR\\t5\\tY\\t3\\tU\\t2\\tWFRT\\t1\\tOFT\\t1\\tPIN\\t4\\t1\\t2\\tO\\t2\\tR\\t3\\tOP\\t1\\tQDCC\\t1\\tRRCC\\t1\\tSC\\t2\\tER\\t2\\tINVM\\t2\\tLF\\t3\\tIBB\\t2\\tPS\\t2\\tREIT\\t2\\tU\\t1\\tTEC\\t2\\tTEST\\t1\\tVF\\t1\\tndustrial Goods & Manufacturing\\t18\\tamp; Manufacturing\\t2\\tformation Professional / Librarian\\t2\\tsurance\\t2\\tvestment Banking\\t11\\tStrategist\\t6\\tor Relations\\t1\\tran\\t3\\tq\\t\\tJET\\t1\\tFOR\\t1\\tMDCC\\t1\\tOB\\t3\\tVI\\t1\\tUDIC\\t1\\tordan\\t1\\tudge\\t2\\tnior/Staff/Individual Contributor\\t\\tKDNP\\t1\\tH3P\\t1\\tIDEX1\\t5\\tP\\t3\\tNCA\\t1\\tMOVE\\t1\\tPIAIR\\t4\\tSM\\t4\\tUT\\t3\\tBNK\\t3\\tHEA\\t3\\tINS\\t3\\tRTL\\t3\\tS\\t1\\tWDCC\\t1\\tuwait\\t\\tLANDIV\\t2\\tPTOP\\t2\\tW\\t3\\tENF\\t2\\tYOFS\\t1\\tDR\\t1\\tEGALS\\t3\\tR\\t3\\tTIP\\t2\\tVLOA\\t3\\tRGE\\t1\\tHRINS\\t1\\tICBED\\t3\\tRE\\t2\\tDAR\\t2\\tST1\\t2\\tVDIS\\t3\\tECA\\t3\\tFAR\\t1\\tKD\\t3\\tAZL\\t1\\tLR\\t1\\tNDCRF\\t2\\tG\\t3\\tLIQ\\t3\\tREG\\t3\\tTRN\\t1\\tOA\\t2\\tCOS\\t2\\tGSAW\\t2\\tSSR\\t1\\tPG1\\t1\\tRIGHV\\t1\\tSCI\\t2\\tRPWH\\t1\\tTCB\\t3\\tCR\\t2\\tRUCK\\t1\\tUNGCA\\t2\\tX\\t3\\tACC\\t4\\tPP\\t4\\tRT\\t3\\tCAR\\t4\\tLO\\t4\\tON\\t5\\tS\\t3\\tFRT\\t4\\tUR\\t3\\tHIP\\t4\\tTL\\t3\\tPSN\\t3\\tREC\\t5\\tT\\t3\\tSHO\\t3\\tVEH\\t1\\tVID\\t1\\tYFT.O\\t1\\tebanon\\t2\\tgal Services\\t1\\tibya\\t\\tM&A / Coverage Banker Junior\\t22\\tSenior\\t1\\tA1\\t2\\tC\\t3\\tH\\t3\\tTOL\\t2\\tECO\\t2\\tLARI\\t2\\tRGND\\t5\\tU\\t3\\tSX\\t1\\tCE\\t2\\tHNL\\t1\\tEDALT\\t3\\tCON\\t3\\tDEV\\t4\\tTE\\t3\\tEQ\\t5\\tW\\t4\\tTH\\t3\\tFRM\\t3\\tIMG\\t3\\tLAB\\t5\\tW\\t4\\tSR\\t3\\tMON\\t3\\tPRO\\t3\\tQ\\t4\\t1\\t3\\tREG\\t3\\tSOF\\t4\\tUP\\t2\\tET1\\t2\\tNHEA\\t3\\tTIL\\t2\\tT\\t3\\tCON\\t3\\tL\\t3\\tSER\\t4\\tYN\\t3\\tWHL\\t2\\tVN\\t1\\tFOC\\t1\\tICFIN\\t2\\tECO\\t2\\tLAIR\\t2\\tN\\t3\\tMAC\\t3\\tQ\\t4\\t1\\t3\\tSUP\\t3\\tVSL\\t1\\tKDCC\\t2\\tTREP\\t5\\tS\\t3\\tSHR\\t1\\tMT\\t1\\tNGISS\\t1\\tOBAPP\\t3\\tCTR\\t3\\tDEV\\t3\\tTEC\\t2\\tCR\\t3\\tY\\t2\\tG\\t2\\tLND1\\t5\\tR\\t2\\tNOP\\t3\\tS\\t2\\tONX\\t2\\tRA\\t2\\tTHOP\\t1\\tPAY\\t2\\tLAY\\t3\\tT\\t1\\tRCH\\t4\\t1\\t2\\tG\\t2\\tTAPP\\t1\\tSIC\\t1\\tTAL\\t3\\tUD\\t2\\tG\\t3\\tFX\\t2\\tNOT\\t2\\tPDF\\t2\\tREIT\\t1\\tUFU\\t4\\t1\\t4\\tIS\\t2\\tLTSC\\t2\\tNI\\t2\\tRD\\t1\\tVAM\\t2\\tMAN\\t1\\tWC\\t1\\tachine Learning & Artificial Intelligence (AI) Services (TRBC level 5)\\t2\\tnager/Coordinator\\t2\\trket Data Manager\\t1\\tedia\\t\\tNAMEC\\t2\\tP\\t2\\tRC\\t3\\tTRA\\t2\\tTFAB\\t3\\tU\\t1\\tBBE\\t2\\tCKH\\t2\\tET\\t2\\tGE\\t2\\tKR\\t2\\tPL\\t2\\tRB\\t3\\tNM\\t3\\tO\\t2\\tSRS\\t2\\tUA\\t3\\tSM\\t1\\tC1\\t2\\tO\\t2\\tYC\\t1\\tD1\\t2\\tFW\\t1\\tEGSAL\\t2\\tP\\t3\\tHRO\\t2\\tRVIN\\t2\\tTCON\\t3\\tSV\\t5\\t1\\t3\\tWEQ\\t2\\tUROL\\t2\\tWCAR\\t3\\tS1\\t1\\tFL\\t1\\tG1\\t2\\tL\\t3\\tFRC\\t2\\tO\\t2\\tS\\t1\\tH1\\t2\\tL\\t1\\tICKLM\\t2\\tM\\t2\\tS\\t1\\tJ1\\t1\\tLGCON\\t1\\tM1\\t2\\tV\\t1\\tOKSEK\\t2\\tRBK\\t2\\tTE\\t1\\tPA\\t2\\tCNT\\t5\\t1\\t2\\tL\\t3\\tCR\\t2\\tRB\\t3\\tCC\\t1\\tRBT\\t2\\tG\\t3\\tBTR\\t1\\tT1\\t1\\tUCCON\\t3\\tPWR\\t2\\tRSER\\t4\\tIN\\t1\\tV1\\t2\\tPROD\\t2\\tSALE\\t3\\tHIP\\t1\\tY1\\t1\\tZDCAD\\t4\\tHF\\t3\\tJPY\\t3\\tUSD\\t\\tOBESIT\\t2\\tSJU\\t1\\tCRIM\\t5\\t1\\t1\\tDD\\t2\\tRLON\\t1\\tENB\\t1\\tFFREA\\t3\\tSH\\t2\\tREIT\\t1\\tGSTOR\\t2\\tTR\\t4\\t1\\t1\\tILG\\t3\\tI\\t3\\tLND\\t3\\tOFF\\t3\\tPIP\\t4\\tWR\\t3\\tQ\\t4\\t1\\t3\\tREQ\\t4\\tLS\\t4\\tSM\\t1\\tLEF\\t1\\tMS\\t1\\tNLJOB\\t1\\tPCRI\\t2\\tEC\\t2\\tSRC\\t2\\tT\\t3\\tHAL\\t3\\tICS\\t1\\tRDIMB\\t3\\tLOF\\t2\\tTHOP\\t1\\tSTEO\\t3\\tR\\t1\\tTOL\\t1\\tUTDEV\\t3\\tVIS\\t1\\tlympics\\t1\\tman\\t1\\tther\\t5\\t Back Office\\t6\\tCorporate Functions\\t6\\tLegal\\t6\\tMiddle Office\\t1\\twner/Partner\\t\\tP2PP\\t1\\tACRCA\\t2\\tINMG\\t2\\tLL\\t2\\tPMIL\\t3\\tRWH\\t2\\tRKIN\\t1\\tBOC\\t3\\tRE\\t1\\tCLOAN\\t2\\tRINS\\t1\\tDAYS\\t1\\tEDMED\\t2\\tTC\\t3\\tFOO\\t3\\tREF\\t3\\tWHL\\t2\\tXP\\t4\\t1\\t1\\tFIN\\t2\\tUND\\t1\\tHAR\\t4\\t08\\t4\\t1\\t4\\tWH\\t2\\tMR\\t2\\tNE\\t4\\t1\\t3\\tRET\\t2\\tONES\\t3\\tSOL\\t1\\tINS\\t4\\t1\\t3\\tV\\t1\\tKRCC\\t1\\tLAAS\\t3\\tCON\\t3\\tLK\\t4\\tUB\\t3\\tS\\t3\\tT\\t4\\tMN\\t2\\tCY\\t2\\tPMIL\\t2\\tTRYF\\t1\\tMOTOG\\t1\\tOL\\t3\\tYMP\\t1\\tPL\\t3\\tMOV\\t2\\tP\\t1\\tRCGRO\\t3\\tNG\\t3\\tP\\t2\\tEMTL\\t3\\tNEW\\t3\\tS1\\t4\\tSR\\t3\\tV\\t2\\tIV\\t2\\tJFIN\\t3\\tSPN\\t2\\tOD\\t3\\tSCA\\t2\\tR\\t2\\tSTH\\t2\\tTRET\\t1\\tS1\\t2\\tNLEG\\t3\\tPR\\t5\\t1\\t3\\tRET\\t3\\tSVC\\t2\\tOR\\t2\\tSNGR\\t2\\tTCDE\\t1\\tUBHEA\\t3\\tOFF\\t2\\tTREE\\t1\\tVDIS\\t2\\tE\\t2\\tNBP\\t1\\tWRL\\t1\\tYSYNF\\t1\\tartner\\t1\\tharmaceuticals & Healthcare\\t17\\tamp; Healthcare\\t1\\todcasts\\t2\\trtfolio Manager\\t1\\trivate Equity / Venture Capital\\t8\\tInvestor\\t2\\tocurement\\t3\\tduct, Brand and Marketing\\t3\\tfessor / Faculty\\t1\\tublic Health\\t7\\tRelations / Communications\\t\\tQACB\\t2\\tRCC\\t1\\tNTC\\t1\\tatar\\t1\\tuant\\t\\tRACK\\t3\\tR\\t2\\tDIMA\\t2\\tGENS\\t2\\tILFR\\t2\\tMRAM\\t1\\tBA\\t2\\tFJ\\t2\\tIN\\t2\\tMW\\t2\\tNZ\\t2\\tVU\\t2\\tZW\\t1\\tCANNB\\t2\\tH\\t2\\tRDS\\t1\\tDEXP\\t2\\tFT\\t2\\tGRO\\t2\\tNOGR\\t2\\tRU\\t4\\t1\\t2\\tYMLS\\t1\\tEA\\t3\\tL\\t4\\tE\\t5\\t1\\t3\\tM\\t2\\tCAP1\\t3\\tPHA\\t3\\tYCL\\t2\\tF\\t3\\tI\\t4\\t1\\t2\\tG\\t3\\tS\\t4\\tYS\\t2\\tIC\\t4\\t1\\t3\\tD\\t4\\t08\\t3\\tR\\t4\\t08\\t3\\tSP\\t5\\t1\\t3\\tT\\t2\\tNE\\t4\\tES\\t3\\tF\\t4\\t1\\t3\\tQ\\t4\\t1\\t2\\tORG\\t2\\tP\\t2\\tREIT\\t2\\tS\\t3\\tASS\\t3\\tF\\t3\\tKID\\t3\\tLTC\\t3\\tPIR\\t3\\tR\\t4\\tEA\\t5\\tS\\t4\\tVS\\t3\\tV\\t4\\t1\\t2\\tT\\t3\\tREA\\t5\\tS\\t2\\tV\\t3\\tAL\\t3\\tDRV\\t3\\tS\\t1\\tFIDS\\t2\\tO\\t3\\tD\\t1\\tGEN\\t1\\tHEUMA\\t1\\tIKBK\\t2\\tNS\\t4\\t1\\t1\\tLFT\\t2\\tI\\t1\\tMBSE\\t2\\tRMRG\\t1\\tNW\\t3\\tPWR\\t1\\tOBOT\\t2\\tCKMN\\t1\\tPAA\\t2\\tOLL\\t2\\tPD\\t1\\tRCMD\\t3\\tUR\\t2\\tECDR\\t4\\tON\\t2\\tFI\\t2\\tINV\\t2\\tLF\\t4\\t1\\t3\\tP\\t2\\tMKT\\t2\\tQTEC\\t2\\tR\\t1\\tSBEAT\\t2\\tMEET\\t3\\tISS\\t2\\tTRCT\\t1\\tTM\\t1\\tUBB\\t4\\t1\\t3\\tPLN\\t3\\tWHL\\t1\\tWFCC\\t2\\tS\\t1\\teal Estate\\t2\\tdistributor & Partners\\t15\\tamp; Partners\\t2\\tsearch / Market Analyst\\t2\\ttail & Consumer Goods\\t8\\tamp; Consumer Goods\\t2\\tuters Momentum AI\\t1\\tisk Manager\\t4\\t, Fraud & Compliance\\t1\\tobotics\\t\\tSAFO1\\t2\\tLES1\\t3\\tSPS\\t2\\tNA1\\t4\\tM\\t3\\tC1\\t3\\tPRO\\t2\\tRB\\t2\\tSE1\\t4\\tM\\t2\\tTCOM\\t3\\tNAV\\t3\\tS\\t1\\tBPK\\t2\\tTANK\\t2\\tVN\\t1\\tCALE\\t3\\tM1\\t2\\tCLS\\t2\\tHIZO\\t2\\tI\\t2\\tRCC\\t1\\tDS\\t1\\tEAFT\\t5\\t1\\t3\\tSNS\\t2\\tCBR1\\t3\\tTRA\\t3\\tUR\\t3\\tVI\\t2\\tGREV\\t2\\tMEQ\\t3\\tQT\\t5\\t1\\t3\\tTST\\t2\\tRSYS\\t2\\tWERS\\t2\\tXHEA\\t3\\tTRA\\t1\\tFCELL\\t2\\tWR\\t1\\tHELLC\\t2\\tISU\\t2\\tL\\t2\\tOP\\t4\\tAL\\t1\\tIG\\t3\\tCEN\\t4\\tOM\\t5\\tR\\t3\\tDBT\\t4\\tRV\\t3\\tFND\\t4\\tRX\\t3\\tMCE\\t3\\tPOL\\t3\\tREA\\t3\\tSTX\\t2\\tLVRM\\t2\\tSU\\t1\\tL1\\t2\\tAVE\\t5\\t1\\t2\\tDSHO\\t2\\tEDIS\\t2\\tVR\\t1\\tMLTS\\t2\\tOKIN\\t2\\tRTG\\t4\\tH\\t4\\tPH\\t4\\tW\\t1\\tNB\\t1\\tOCC\\t4\\tL\\t3\\tI\\t2\\tFENT\\t3\\tMOB\\t3\\tSER\\t4\\tYS\\t3\\tTOL\\t3\\tW\\t4\\t1\\t2\\tLPWR\\t3\\tV\\t2\\tV\\t1\\tPAC\\t4\\tEM\\t2\\tC\\t3\\tAIR\\t2\\tECS\\t2\\tLITB\\t2\\tPS\\t1\\tRVCS\\t1\\tSREIT\\t1\\tTAY1\\t2\\tINV\\t2\\tK\\t2\\tLMIL\\t2\\tMCEL\\t2\\tRKE\\t3\\tTGY\\t2\\tSALE\\t2\\tX\\t1\\tUBSAB\\t2\\tK\\t2\\tPD\\t2\\tRGER\\t1\\tVP/VP/Editor in chief\\t1\\tWCUP\\t2\\tIT\\t2\\tTCHG\\t1\\tXEWCU\\t1\\tales\\t2\\tudi Arabia\\t1\\thipping / Logistics\\t1\\toccer\\t1\\tports\\t1\\ttep1\\t2\\tudent\\t\\tT02\\t1\\t1CR\\t1\\t22\\t2\\t3\\t2\\t4\\t2\\t5\\t2\\t9\\t1\\t32\\t1\\tA1\\t2\\tX\\t3\\tCUV\\t3\\tIS\\t3\\tNC\\t1\\tCOM\\t2\\tR\\t1\\tECH\\t4\\t-CONFERENCE\\t2\\tEQ\\t2\\tL\\t3\\tCON\\t5\\tR\\t3\\tMDC\\t4\\tED\\t3\\tNET\\t2\\tRMCA\\t3\\tRO1\\t2\\tSTME\\t1\\tHFT\\t4\\t1\\t2\\tRSOL\\t1\\tILPAV\\t2\\tRDEA\\t3\\tETB\\t3\\tRET\\t1\\tJSCC\\t1\\tMP\\t2\\tT\\t1\\tNC\\t3\\tHSP\\t2\\tKR\\t1\\tOPCMB\\t3\\tNWS\\t1\\tPG\\t2\\tO\\t1\\tRACC\\t3\\tHU\\t3\\tN\\t4\\tSP\\t3\\tPHA\\t2\\tD\\t3\\tBUS\\t3\\tDIS\\t3\\tEMB\\t3\\tHLT\\t3\\tRES\\t2\\tEE\\t2\\tF\\t2\\tNPAY\\t2\\tRENT\\t2\\tVINS\\t2\\tWAR\\t1\\tTANSM\\t2\\tCCCA\\t3\\tOAM\\t4\\tIR\\t4\\tPR\\t2\\tEAPR\\t3\\tXSM\\t2\\tMACA\\t4\\tPR\\t2\\tSAPC\\t3\\tCCA\\t3\\tPRS\\t2\\tTSCA\\t1\\tURBMN\\t1\\tWPWR\\t1\\tax / Accounting & Finance\\t1\\technology\\t2\\tlecommunications\\t2\\tnnis\\t1\\trader\\t3\\tnsport & Logistics\\t11\\tamp; Logistics\\t3\\tvel & Leisure\\t8\\tamp; Leisure\\t2\\teasury / Trading / Hedging / Investing\\t\\tUBER.N\\t1\\tER\\t1\\tNESCO\\t2\\tHCR\\t2\\tICEF\\t3\\tTCO\\t2\\tMCO\\t3\\tO\\t2\\tOGD\\t4\\tP\\t1\\tROLOG\\t1\\tSDAED\\t4\\tRS\\t3\\tBRL\\t4\\tZD\\t3\\tCAD\\t5\\tR\\t4\\tC\\t4\\tHF\\t4\\tLP\\t4\\tNH\\t5\\tY\\t4\\tZK\\t3\\tDKK\\t3\\tEGP\\t3\\tGHS\\t3\\tHKD\\t4\\tUF\\t3\\tIDR\\t4\\tLS\\t4\\tNR\\t4\\tSK\\t3\\tJPY\\t3\\tKES\\t4\\tRW\\t4\\tYD\\t3\\tLBP\\t3\\tMXN\\t4\\tYR\\t3\\tNOK\\t3\\tPHP\\t4\\tKR\\t4\\tLN\\t3\\tQAR\\t3\\tRUB\\t3\\tSEK\\t4\\tGD\\t3\\tTHB\\t4\\tRY\\t4\\tWD\\t3\\tUGX\\t3\\tVND\\t3\\tZAR\\t1\\tTIL\\t3\\tM\\t4\\t08\\t1\\tZSCC\\t1\\tnited Arab Emirates\\t7\\tKingdom\\t7\\tStates\\t1\\ttilities & Other Energy\\t11\\tamp; Other Energy\\t\\tVACCIN\\t1\\tCRIM\\t5\\t1\\t1\\tDSI\\t1\\tEGFAT\\t2\\tHCAR\\t2\\tNCAP\\t2\\tTMED\\t3\\tSER\\t1\\tFU\\t1\\tHRET\\t5\\t1\\t1\\tIO\\t2\\tTAM\\t1\\tNB\\t1\\tOIPEQ\\t2\\tLGRO\\t2\\tTE\\t1\\tRLTY\\t\\tWALLP\\t2\\tR\\t2\\tSH\\t3\\tTMS\\t2\\tTCHS\\t3\\tTRE\\t2\\tVPEQ\\t1\\tBNK\\t1\\tDW\\t1\\tEA\\t1\\tFIRE\\t1\\tHLS\\t2\\tO\\t1\\tINPWR\\t2\\tRCAB\\t3\\tLSS\\t3\\tTEL\\t1\\tLES\\t4\\t1\\t2\\tTH\\t1\\tND\\t3\\tSYS\\t1\\tOM\\t3\\tHEA\\t2\\tUCAR\\t1\\tPAY\\t1\\tRM\\t1\\tSOC\\t1\\tTESEQ\\t1\\tWW\\t1\\tealth Relationship Manager / Advisor\\t\\tXAC\\t1\\tMD\\t1\\tPAND\\t1\\tREF\\t2\\tPCR\\t1\\tTRTN\\t1\\tXHDR\\t\\tYemen\\t\\tartificial intelligence\\t1\\tutomotive\\t\\tblackrock\\t\\tcapital group\\t1\\tisco\\t1\\tommodities & energy\\t2\\tp29\\t1\\txo/managing director\\t\\tdata analytics and ai\\t\\tevents.reutersevents.com/momentum/\\t\\tfacebook\\t1\\tinancial services\\t\\tg20\\t1\\toogle\\t2\\tvt/public service senior leader\\t\\thttps://events.reutersevents.com/next/\\t\\tindustrial goods & manufacturing\\t2\\tsurance\\t1\\tt knowledge and information\\t\\tlinkedin\\t1\\togged in\\t\\tmarkets\\t1\\tedia\\t\\tnuveen\\t\\tolympics\\t1\\twner/partner\\t\\tpgim\\t1\\timco\\t1\\trescription\\t2\\tocurement and finance\\t\\tredistributor & partners\\t2\\tuters next\\t7\\t-events\\t1\\tobots\\t\\tsales\\t1\\thiba-inu\\t1\\tr manager/sr editor/director/dept head\\t1\\tubscrib\\t8\\ted\\t1\\tvp/vp\\t6\\t/editor in chief\\t\\tt.co\\t1\\technology\\t2\\tlecommunications\\t2\\tnnis\\t1\\transport & logistics\\t\\tutilities & other energy\\t2\\tm_campaign=auto-file"),propertiesLookup:t=>[["application","authenticated_industry"],["application","authenticated_position"],["article","n2_codes"],["application","authenticated_role"],["segment_number"],["application","authenticated_state"],["classifications_watson","taxonomy_labels"],["topic","sub_channel"],["client","url"],["article","n2_names"],["topic","channel"],["application","authenticated_country"],["article","keywords"],["article","content_title"],["article","keyword_slug"],["canonical_url"],["client","domain"],["dest_url"],["client","referrer"],["ecommerce","flow_v2"],["client","title"],["geo_info","country"],["aa","state"],["application","authenticated_opt_in"],["application","subscription_type"],["geo_info","continent"],["label"],["ui_element"]],queries:t=>({1e7:t.r(122,"/education/graduate school","/science"),10000001:t.r(132,1,6,"/automotive and vehicles"),10000002:t.r(122,"/art and entertainment/books and literature",1),10000003:t.r(122,"/business and industrial","/finance"),10000004:t.r(122,"/careers","/education/adult education"),10000005:t.r(132,1,6,"/education"),10000006:t.r(123,4,10,"/society/social institution/marriage"),10000007:t.r(55,t.tw(t.cw(0,t.pc_(6,"/art and entertainment/books and literature/poetry"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,2),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/art and entertainment/music/music genres/classical music"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/art and entertainment/music/music genres/opera"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/art and entertainment/shows and events/classical concert"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/art and entertainment/theatre"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/art and entertainment/visual art and design/art museums and galleries"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/art and entertainment/visual art and design/arts education"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/art and entertainment/visual art and design/performance art"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/art and entertainment/visual art and design/restoration"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/art and entertainment/visual art and design/sculpture"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/education/art history"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/hobbies and interests/arts and crafts/photography"),t.ge(1)),2592e6)),10000008:t.r(123,"/business and industrial/food industry","/food and drink","/food and drink/food and grocery retailers"),10000010:t.r(122,6,7),10000011:t.r(132,1,6,"/hobbies and interests"),10000012:t.r(132,1,6,"/home and garden"),10000013:t.r(122,"/art and entertainment/movies","/art and entertainment/movies and tv"),10000014:t.r(132,1,6,"/art and entertainment/music"),10000015:t.r(54,t.tw(t.cw(0,t.pc_(6,"/business and industrial/business news"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,5),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/law, govt and politics"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/news"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,9),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/sports/sports news"),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,"/technology and computing/tech news"),t.ge(1)),2592e6)),10000016:t.r(123,"/finance/bank",5,"/finance/personal finance"),10000017:t.r(132,1,6,"/pets"),10000018:t.r(124,"/art and entertainment/celebrity fan and gossip","/art and entertainment/movies and tv/reality",3,"/art and entertainment/music/music genres/pop music"),10000019:t.r(132,1,6,"/real estate"),10000020:t.r(132,1,6,"/shopping"),10000021:t.r(122,7,"/sports"),10000022:t.r(122,"/business and industrial/fashion industry","/style and fashion"),10000023:t.r(123,"/business and industrial/automation","/science/computer science","/technology and computing"),10000024:t.r(124,"/art and entertainment/movies and tv/movies/reviews",3,"/art and entertainment/tv","/technology and computing/consumer electronics/tv and video equipment"),10000025:t.r(132,1,6,"/travel"),10000026:t.r(122,"/hobbies and interests/games/video and computer games","/technology and computing/consumer electronics/game systems and consoles"),10000035:t.r(122,"/science/engineering","/science/physics"),10000036:t.r(132,1,6,"/automotive and vehicles/buying and selling cars"),10000037:t.r(132,1,6,"/automotive and vehicles/motor shows"),10000038:t.r(122,"/automotive and vehicles/cars/hybrid","/automotive and vehicles/electric vehicles"),10000039:t.r(132,1,6,"/automotive and vehicles/motorcycles"),10000040:t.r(132,1,6,"/automotive and vehicles/cars/performance vehicles"),10000041:t.r(122,1,"/art and entertainment/comics and animation/comics"),10000042:t.r(132,1,6,"/business and industrial/business operations"),10000043:t.r(132,1,6,10),10000044:t.r(132,1,6,4),10000045:t.r(132,1,6,2),10000046:t.r(132,1,6,"/art and entertainment/visual art and design"),10000047:t.r(132,1,6,"/food and drink/beverages/alcoholic beverages"),10000048:t.r(132,1,6,"/food and drink/barbecues and grilling"),10000049:t.r(122,"/food and drink/desserts and baking","/food and drink/food and grocery retailers/bakeries"),10000050:t.r(122,"/food and drink/dining out","/food and drink/food/fast food"),10000051:t.r(132,1,6,"/food and drink/food allergies"),10000052:t.r(124,"/food and drink/food/fruits and vegetables","/food and drink/food/salads","/food and drink/health and lowfat cooking",6),10000053:t.r(132,1,6,"/food and drink/vegetarian"),10000054:t.r(122,"/health and fitness/exercise","/health and fitness/sports medicine"),10000055:t.r(132,1,6,"/health and fitness/men\'s health"),10000056:t.r(132,1,6,"/health and fitness/nutrition"),10000057:t.r(132,1,6,"/health and fitness/women\'s health"),10000058:t.r(132,1,6,"/home and garden/gardening and landscaping"),10000059:t.r(132,1,6,"/art and entertainment/movies and tv/action"),10000060:t.r(132,1,6,"/art and entertainment/movies and tv/animated"),10000061:t.r(132,1,6,"/art and entertainment/movies and tv/children\'s"),10000062:t.r(132,1,6,"/art and entertainment/movies and tv/horror"),10000063:t.r(132,1,6,9),10000064:t.r(122,"/law, govt and politics/law enforcement","/law, govt and politics/legal issues"),10000065:t.r(132,1,6,"/news/national news"),10000066:t.r(122,"/law, govt and politics/government","/law, govt and politics/politics"),10000067:t.r(132,1,6,"/science/weather"),10000068:t.r(132,1,6,"/pets/birds"),10000069:t.r(132,1,6,"/pets/cats"),10000070:t.r(132,1,6,"/pets/dogs"),10000071:t.r(132,1,6,"/pets/large animals"),10000072:t.r(132,1,6,"/pets/reptiles"),10000073:t.r(132,1,6,"/sports/football"),10000074:t.r(132,1,6,"/sports/baseball"),10000075:t.r(132,1,6,"/sports/basketball"),10000076:t.r(132,1,6,"/sports/bodybuilding"),10000077:t.r(132,1,6,"/sports/bowling"),10000078:t.r(132,1,6,"/sports/boxing"),10000079:t.r(132,1,6,"/sports/bicycling"),10000080:t.r(132,1,6,"/sports/fishing"),10000081:t.r(132,1,6,"/sports/golf"),10000082:t.r(132,1,6,"/sports/hunting and shooting"),10000083:t.r(132,1,6,"/sports/rugby"),10000084:t.r(132,1,6,"/sports/skiing"),10000085:t.r(132,1,6,"/sports/tennis"),10000086:t.r(132,1,6,"/sports/walking"),10000087:t.r(124,"/business and industrial/tanning","/style and fashion/beauty","/style and fashion/beauty/cosmetics","/style and fashion/beauty/cosmetology and beauty professionals"),10000088:t.r(122,"/style and fashion/beauty/tattoos","/style and fashion/body art"),10000089:t.r(132,1,6,"/style and fashion/men \'s fashion"),10000090:t.r(132,1,6,"/technology and computing/consumer electronics"),100124:t.r(19,0,t.cx,2,["MLAISV",1074]),100672:t.r(19,0,t.cx,2,["FLRNG","INTDSN","COLORA","CVLENG","OFFRES","FLORST","INCFE","CLESER","BTHRMS","REOP","WELSOL","TMBRTR",1664,"ROOFNG","BLDRET","BLDHSE","BLDFLT","MANREP","LIGHTF","LIGHTE","HSEBLD","HOME1","HOME","HWBRCO","CON","TTCCPR","CONWHL","BLD","CONS1","CONS","CONSUP","COMA1","COMA","COMWHL","COMAPR",340,"BUILDC","BMERCH","CONFIG","TMBR","WATSEW","TMREIT"]),100675:t.r(21,0,13,["Vf+tixSs"]),100677:t.r(59,t.a([t.y(0,740),t.ref(94)]),"liveramp_Reuters_reuters","166437926","100677","499692590","100677","166437926","100677","383227001","100677",t.a([t.y(0,740),t.ref(94)])),100679:t.r(19,0,t.s,18,[1850,"fb"]),103390:t.r(47,"utm_campaign=sustainable-switch"),103391:t.r(39,8,1887,15,1887),103392:t.r(47,"utm_campaign=power-up"),103882:t.q(t.ocqs([t.itp("liveramp_Bombora","1005390129",!1,"103882"),t.itp("eyeota","6535",!1,"103882"),t.itp("liveramp_Bombora","1000884099",!1,"103882"),t.itp("liveramp_Bombora","1005251459",!1,"103882"),t.itp("eyeota","34825",!1,"103882"),t.itp("liveramp_Bombora","1005198639",!1,"103882"),t.itp("liveramp_StatSocial","1006912571",!1,"103882")])),104636:t.r(32,8,["metaverse"],12,["METAVERSE/ (FACTBOX)","METAVERSE/ (PIX)","METAVERSE"]),104637:t.r(33,8,"NFT",12,["MUSIC/NFT (PIX)","NFT/SOTHEBYS","NFTS"]),105244:t.r(32,15,["cybersecurity","hack"],2,[813,812,314,811]),105707:t.r(102,"liveramp_Acxiom","300125104","105707","liveramp_AnalyticsIQ","1003520599","105707","liveramp_Acxiom","300125103","105707","liveramp_AnalyticsIQ","1000690636","105707","liveramp_Acxiom","300128610","105707","liveramp_IXIDigital","1002824236","105707","liveramp_IPSOS","1003132916","105707","liveramp_IPSOS","1003132906","105707"),105839:t.r(101,"liveramp_ShareThis","1005134899","105839","liveramp_Epsilon","1001180979","105839","liveramp_ShareThis","1001014169","105839","liveramp_ShareThis","1003625629","105839","liveramp_MeritDirect","1002715006","105839","liveramp_ShareThis","1001014099","105839","liveramp_Bombora","1000095384","105839"),105840:t.q(t.ocqs([t.itp("eyeota","6635",!1,"105840"),t.itp("liveramp_ShareThis","1001290289",!1,"105840"),t.itp("liveramp_ShareThis","1003628639",!1,"105840"),t.itp("eyeota","18",!1,"105840"),t.itp("eyeota","41",!1,"105840"),t.itp("eyeota","35192",!1,"105840")])),105841:t.r(98,"eyeota","35082","105841","eyeota","34874","105841","liveramp_MeritDirect","1002716216",!1,"105841","liveramp_ShareThis","1001014159",!1,"105841","liveramp_ShareThis","1003630239",!1,"105841"),105842:t.r(98,"liveramp_DunandBradstreet","1005070899","105842","liveramp_StatSocial","1006912641","105842","liveramp_ShareThis","1003630109",!1,"105842","liveramp_Bombora","1000095274",!1,"105842","liveramp_ShareThis","1001010179",!1,"105842"),106406:t.r(19,0,t.cx,2,[1118,543]),107335:t.r(19,0,t.cx,9,["Media & Publishing (TRBC level 3)","Utilities (TRBC level 2)","Asylum / Immigration / Refugees","Military Procurement","Crime","Civil Unrest","Human Rights / Civil Rights","Government / Politics","International / National Security","Elections / Voting","Vaccines",1381,"Epidemics"]),107490:t.r(19,0,t.cx,2,[180,352,1109,908,644,1545,176,243,717,1786,249,687,87,1107,1664,340,1301,1156,399,59,1601,1708]),109701:t.r(19,0,t.cx,2,[473,1593,1554,1596,1595,1592,1594,1833,1590,157,1267,1120,318,515,474,469,360,1074,1800,1583,1582,521,1208,366,1476,90]),110467:t.r(100,"eyeota","34897","110467","eyeota","6558","110467","liveramp_DunandBradstreet","1001640226","110467","liveramp_DunandBradstreet","1000310386","110467","liveramp_Bombora","1004559019","110467","liveramp_IPSOS","1003133036",!1,"110467"),110665:t.r(19,0,t.cx,2,[475,638,1485,1564]),111942:t.r(19,0,t.cx,2,[680,1125,1132,1124]),113875:t.r(37,"insight.reuters.com",15,"https://insight.reuters.com/insurance/"),114069:t.r(15,0,t.as(t.s,8,["utm_campaign=sustainableswitch","utm_source=linkedin"])),114679:t.r(19,0,t.cx,2,[785,792,791,789]),114680:t.r(19,0,t.cx,2,[792,791,789,1572,1579,1327,1290,1341]),115431:t.r(40,2,367),115432:t.r(40,2,356),115611:t.q(t.cw(0,t.o([t.pc_(12,1875),t.os(t.s,8,[1875,"shibainu"])]),t.ge(1))),115716:t.r(19,0,t.s,8,["jp.reuters"]),116501:t.r(87,.31916365),117494:t.r(29,t.y(7,1630),1630,[1602,1588,1587,956,715,547,530,581,1623],1630),117710:t.r(21,0,["platform"],["zTnqt+LG"]),118439:t.r(35,1628,["SARCC","SAMA","SA"],1628),118780:t.r(19,0,t.cx,2,[1673,1538,1537,1488,1487,1470,1405,1392,947,719,714,713,532,476,426,425,417,245,53]),120901:t.r(8,[t.itp("liveramp_DunandBradstreet","1000310916",!1,"120901"),t.itp("eyeota","61",!1,"120901"),t.itp("liveramp_ShareThis","1005652221",!1,"120901"),t.itp("liveramp_MeritDirect","1002714166",!1,"120901"),t.itp("eyeota","34905",!1,"120901"),t.itp("liveramp_DunandBradstreet","1000310196",!1,"120901")],"120901","120901"),120902:t.r(6,[t.itp("liveramp_Illion","1005417739",!1,"120902"),t.itp("liveramp_IXIDigital","1000089794",!1,"120902"),t.itp("eyeota","45",!1,"120902"),t.itp("liveramp_33across","1002461116",!1,"120902")],[t.itp("liveramp_DunandBradstreet","1000311566",!1,"120902"),t.itp("eyeota","34877",!1,"120902"),t.itp("liveramp_ShareThis","1003630509",!1,"120902"),t.itp("eyeota","12967",!1,"120902"),t.itp("eyeota","35295",!1,"120902")]),120905:t.r(7,[t.itp("liveramp_StatSocial","1006912921",!1,"120905"),t.itp("liveramp_Bombora","1005388699",!1,"120905"),t.itp("eyeota","12926",!1,"120905"),t.itp("liveramp_Bombora","1000096544",!1,"120905"),t.itp("liveramp_ShareThis","1005651681",!1,"120905"),t.itp("eyeota","6571",!1,"120905")],"liveramp_DunandBradstreet","1000310916","120905","61","120905","liveramp_ShareThis","1005652221","120905","liveramp_MeritDirect","1002714166","120905"),120907:t.r(101,"liveramp_ShareThis","1001012709","120907","liveramp_MeritDirect","1002724346","120907","liveramp_StatSocial","1006912771","120907","liveramp_ShareThis","1003628389","120907","liveramp_Bombora","1000094184","120907","eyeota","35011","120907","eyeota","34832","120907"),121884:t.r(55,t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74295)),t.cw(4,t.pe(4,74295)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74303)),t.cw(4,t.pe(4,74303)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74302)),t.cw(4,t.pe(4,74302)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74301)),t.cw(4,t.pe(4,74301)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74298)),t.cw(4,t.pe(4,74298)),t.ge(1)),t.isp("liveramp_Reuters_reuters","499692590",!1,"121884"),t.isp("liveramp_Reuters_reuters","383227001",!1,"121884"),t.isp("liveramp_Reuters_reuters","942072092",!1,"121884"),t.isp("liveramp_Reuters_reuters","213595582",!1,"121884"),t.isp("liveramp_Reuters_reuters","166437926",!1,"121884"),t.isp("liveramp_Reuters_reuters","942072092",!1,"121884"),t.isp("liveramp_Reuters_reuters","1068493761",!1,"121884"),t.cw(2,t.ref(85),t.ge(1))),122358:t.r(111,"liveramp_Mastercard","1005907031","122358","1005390159","122358","liveramp_ShareThis","1001290319","122358","liveramp_Bombora","1005390269","122358","liveramp_DunandBradstreet","1001203709","122358","liveramp_Bombora","1000096144","122358","eyeota","34945","122358"),122848:t.r(19,0,t.cx,2,[28,27,1642,1646,1644,1643]),122883:t.r(40,2,1200),122932:t.r(19,0,t.cx,2,[819,813,812,811,620,610,"ENCRIM",438,437,379,378,244,26,1837,1726,1305,1304,1239,1129,1128,1127,1020,712,710,478]),122933:t.r(40,2,1003),122934:t.r(19,0,t.cx,2,[438,437,247]),122935:t.r(40,2,357),122937:t.r(40,2,416),122938:t.r(40,2,420),122939:t.r(19,0,t.cx,2,[1543,1531,819,710,479,478]),122940:t.r(19,0,t.cx,2,[248,950,949,605]),122941:t.r(40,2,668),122942:t.r(19,0,t.cx,2,[813,812,811]),122988:t.r(99,"liveramp_Acxiom","1005523639","122988","liveramp_Acxiom","1005523639","122988","liveramp_Acxiom","300455099","122988"),123133:t.r(99,"liveramp_CoreLogic","1000868856","123133","liveramp_Alliant","1000847496","123133","liveramp_AnalyticsIQ","1000690036","123133"),123134:t.r(98,"liveramp_Acxiom","1005495539","123134","liveramp_CoreLogic","1000868856","123134","liveramp_CoreLogic","1000868806",!1,"123134","liveramp_Mastercard","1005908341",!1,"123134","liveramp_Mastercard","1005911761",!1,"123134"),123135:t.q(t.itp("liveramp_CoreLogic","1005092729",!1,"123135")),123138:t.q(t.ocqs([t.itp("liveramp_killi","1006991571",!1,"123138"),t.itp("liveramp_Lifesight","1005201249",!1,"123138"),t.itp("liveramp_Factual","1004287829",!1,"123138"),t.itp("liveramp_Mastercard","1005907341",!1,"123138"),t.itp("liveramp_Alliant","1000847496",!1,"123138"),t.itp("liveramp_Lifesight","1005201289",!1,"123138"),t.itp("liveramp_RoyMorgan","1003202279",!1,"123138"),t.itp("liveramp_Alliant","1000847486",!1,"123138"),t.itp("liveramp_Alliant","1000847526",!1,"123138"),t.itp("liveramp_Alliant","1000846296",!1,"123138"),t.itp("liveramp_Alliant","1000846306",!1,"123138"),t.itp("liveramp_Alliant","1000847516",!1,"123138"),t.itp("liveramp_Alliant","1000846336",!1,"123138"),t.itp("liveramp_Experian","1004577759",!1,"123138"),t.itp("liveramp_Experian","1004577729",!1,"123138")])),123141:t.r(106,"liveramp_DunandBradstreet","1001640316","123141","liveramp_DunandBradstreet","1001640336","123141","liveramp_Mastercard","1005908671","123141","liveramp_DunandBradstreet","1002786406","123141","liveramp_Mastercard","1005908671","123141","liveramp_Mastercard","1005908601","123141","liveramp_DunandBradstreet","1001640336","123141","liveramp_DunandBradstreet","1001640406","123141","liveramp_DunandBradstreet","1001640316","123141","liveramp_DunandBradstreet","1002786386","123141","liveramp_DunandBradstreet","1002786316","123141","liveramp_DunandBradstreet","1001640406","123141","liveramp_DunandBradstreet","1001640416","123141","liveramp_DunandBradstreet","1001640396","123141","1001640356","123141","liveramp_DunandBradstreet","1001640446","123141","liveramp_DunandBradstreet","1001640366","123141","liveramp_DunandBradstreet","1001640506","123141","liveramp_StatSocial","1006914551","123141"),123142:t.r(97,"liveramp_Alliant","1000846316","123142","liveramp_Acxiom","1005523599","123142"),123877:t.r(40,2,868),123878:t.r(40,2,1331),123879:t.r(40,2,850),123880:t.r(40,2,472),123881:t.r(40,2,669),123882:t.r(40,2,1141),123884:t.r(40,2,345),124274:t.r(40,2,1805),124782:t.r(9,56,"74265","124782",100),124790:t.r(11,"77839","124790",3,1633),124791:t.r(11,"77838","124791",3,1627),124812:t.r(11,"74294","124812",3,"Public Relations and Communications"),124814:t.r(11,"77837","124814",3,"Program/Project Manager"),124816:t.r(11,"74293","124816",3,1379),124818:t.r(11,"74291","124818",3,"Partnerships and Business Development"),124819:t.r(11,"77836","124819",3,"Legal and Compliance"),124822:t.r(11,"77835","124822",3,"Journalism, Reporting and Editorial"),124824:t.r(11,"74290","124824",3,"IT, Knowledge and Information"),124826:t.r(11,"74289","124826",3,806),124829:t.r(11,"77834","124829",3,"Executive Management"),124831:t.r(11,"74288","124831",3,539),124832:t.r(12,"88783","124832",3),124834:t.r(11,"74292","124834",3,"Procurement and Finance"),124835:t.r(9,53,"77830","124835",96),124836:t.r(11,"74285","124836",3,"Agency and Media Planning"),124837:t.r(11,"74286","124837",3,"Broker/Trader/Advisor"),124838:t.r(9,53,"77831","124838",123),124839:t.r(11,"77832","124839",3,"Business Operations"),124840:t.r(9,53,"77833","124840",119),124841:t.r(9,53,"74287","124841",112),124845:t.r(11,"74295","124845",1,451),124846:t.r(11,"74296","124846",1,"Freelancer"),124848:t.r(11,"74297","124848",1,808),124849:t.r(11,"74298","124849",1,809),124850:t.r(11,"74299","124850",1,"Journalist/Reporter"),124851:t.r(11,"74300","124851",1,984),124854:t.q(t.acqs([t.isp("reuters_authencated_users","77846",!1,"124854"),t.cw(1,t.ref(53),t.ge(1))])),124855:t.r(11,"77847","124855",1,1159),124856:t.r(12,"74304","124856",1),124857:t.r(11,"74301","124857",1,1286),124858:t.r(9,53,"74302","124858",8),124859:t.r(11,"74303","124859",1,1622),124923:t.r(9,56,"74257","124923",68),124925:t.r(9,56,"74258","124925",99),124926:t.r(9,56,"74260","124926",107),124927:t.r(9,56,"74261","124927",54),124928:t.r(9,56,"74262","124928",111),124930:t.r(9,56,"74264","124930",70),124931:t.r(9,56,"74267","124931",62),124932:t.r(9,56,"74268","124932",61),124933:t.r(9,56,"74269","124933",27),124934:t.r(9,56,"74270","124934",6),124935:t.r(9,56,"74271","124935",63),124936:t.r(10,"74272","124936",1161),124937:t.r(10,"74273","124937",1200),124938:t.r(9,56,"74274","124938",60),124939:t.r(9,56,"74275","124939",30),124940:t.r(9,56,"74276","124940",51),124941:t.r(9,56,"74277","124941",110),124942:t.r(10,"74278","124942",1631),124943:t.r(9,56,"74279","124943",58),124944:t.r(9,56,"74280","124944",73),124945:t.r(9,56,"74281","124945",106),124948:t.r(9,56,"74282","124948",83),124949:t.r(9,56,"74283","124949",43),125104:t.r(3,81,69),125105:t.r(3,45,69),125106:t.r(3,42,86),125107:t.r(4,81,1161),125108:t.r(4,45,1161),125109:t.r(4,7,1161),125110:t.r(4,81,1200),125111:t.r(4,45,1200),125112:t.r(4,7,1200),125113:t.r(4,81,1712),125114:t.r(4,45,1712),125115:t.r(4,7,1712),125116:t.r(3,81,97),125117:t.r(3,45,97),125118:t.r(3,106,114),125119:t.r(3,81,74),125120:t.r(3,45,74),125121:t.r(3,83,114),125122:t.r(4,81,121),125123:t.r(4,45,121),125124:t.r(4,7,121),125125:t.r(3,81,52),125126:t.r(3,45,52),125127:t.r(3,7,52),125128:t.r(4,81,127),125129:t.r(4,45,127),125130:t.r(4,7,127),125131:t.r(3,81,66),125132:t.r(3,45,66),125133:t.r(3,7,66),125134:t.r(4,81,601),125135:t.r(4,45,601),125136:t.r(4,7,601),125137:t.r(4,81,740),125138:t.q(t.acqs([t.cw(1,t.a([t.y(0,740),t.ref(45)]),t.ge(1)),t.cw(1,t.ref(56),t.ge(1)),t.cw(1,t.ref(56),t.ge(1))])),125139:t.r(4,117,740),125140:t.r(3,81,98),125141:t.r(3,45,98),125142:t.r(3,7,98),125143:t.r(3,81,105),125144:t.r(3,45,105),125145:t.r(3,7,105),125146:t.r(4,81,970),125147:t.r(4,45,970),125149:t.r(4,7,970),125150:t.r(4,81,1060),125151:t.r(4,45,1060),125152:t.r(4,7,1060),125153:t.r(3,81,77),125154:t.r(3,45,77),125155:t.r(3,7,77),125156:t.r(4,81,1504),125157:t.r(4,45,1504),125158:t.r(4,7,1504),125159:t.r(3,81,76),125160:t.r(3,45,76),125161:t.r(3,7,76),125162:t.r(3,81,65),125163:t.r(3,45,65),125164:t.r(3,7,65),125165:t.r(4,81,1631),125166:t.r(4,45,1631),125167:t.r(4,81,1711),125168:t.r(4,45,1711),125169:t.r(4,7,1711),125233:t.r(20,1,56),125235:t.r(20,1,93),125238:t.r(15,1,t.nt(t.os(t.s,5,[1860,"registered",1878]))),125240:t.r(1,1,t.os(t.s,1,["cxo / exec / senior management",1847,1854,1865,1876,1880]),1,1,1,56),125242:t.r(5,6,t.y(19,1632),t.pe(19,"Step2")),125250:t.r(5,"SubscriptionInterstitialSelected",t.t,t.y(19,1632)),126201:t.r(40,2,585),132367:t.r(8,[t.itp("liveramp_DunandBradstreet","1000310916",!1,"132367"),t.itp("liveramp_ShareThis","1005652221",!1,"132367"),t.itp("liveramp_MeritDirect","1002714166",!1,"132367"),t.itp("eyeota","34905",!1,"132367"),t.itp("liveramp_DunandBradstreet","1000310196",!1,"132367")],"132367","132367"),143009:t.r(22,0,t.pe(8,"https://www.reuters.com/tools/podcasts"),t.y(10,1374),t.ps(8,"https://www.reuters.com/podcasts")),148104:t.r(47,"utm_campaign=Weekend-Briefing"),148170:t.r(47,"utm_campaign=On-The-Money"),148177:t.r(47,"utm_campaign=Morning-Bid-US"),148178:t.r(47,"utm_campaign=Morning-Bid-Europe"),148180:t.r(47,"utm_campaign=Morning-Bid-Asia"),150827:t.r(126,"263422795","150827"),153792:t.r(71,"1490942900","153792",41,41),153793:t.r(71,"529699189","153793",20,20),153794:t.r(71,"1551731957","153794",120,120),153795:t.r(71,"869525062","153795",116,116),153796:t.r(71,"1882783577","153796",39,39),153797:t.r(71,"1937844373","153797",64,64),153799:t.r(71,"628706093","153799",26,26),153800:t.r(71,"609349214","153800",36,36),153801:t.r(71,"454573498","153801",9,9),153802:t.r(71,"770858559","153802",91,91),153803:t.r(71,"2068845437","153803",13,13),153804:t.r(71,"669257856","153804",3,3),153805:t.r(71,"1729390886","153805",121,121),153806:t.r(60,t.y(1,1633),t.y(1,1633),"liveramp_Reuters_reuters","797528025","153806"),153807:t.r(71,"1341004504","153807",40,40),153934:t.r(63,"1327580660","153934",[t.y(0,740),t.ref(89)],[t.y(0,740),t.ref(89)]),153935:t.r(63,"1715191772","153935",[t.y(0,740),t.y(1,1714),t.ref(89)],[t.y(0,740),t.y(1,1714),t.ref(89)]),153936:t.r(63,"1009819965","153936",[t.y(0,740),t.y(1,1627),t.ref(89)],[t.y(0,740),t.y(1,1627),t.ref(89)]),153937:t.r(63,"610667541","153937",[t.y(0,740),t.y(1,263),t.ref(89)],[t.y(0,740),t.y(1,263),t.ref(89)]),153938:t.r(63,"626791624","153938",[t.y(0,740),t.ref(102)],[t.y(0,740),t.ref(102)]),153939:t.r(63,"2070835127","153939",[t.y(0,740),t.y(1,1063),t.ref(102)],[t.y(0,740),t.y(1,1063),t.ref(102)]),153940:t.r(63,"531692674","153940",[t.y(0,740),t.y(1,1062),t.ref(102)],[t.y(0,740),t.y(1,1062),t.ref(102)]),153941:t.q(t.ocqs([t.cw(1,t.a([t.y(0,740),t.y(1,971),t.ref(102)]),t.ge(1)),t.isp("liveramp_Reuters_reuters","927056233",!1,"153941"),t.cw(2,t.a([t.y(0,740),t.y(1,971),t.ref(102)]),t.ge(1)),t.cw(2,t.bsc_(1,["bXGcWjkL"]),t.ge(1))])),153942:t.r(63,"1958345053","153942",[t.y(0,740),t.ref(57)],[t.y(0,740),t.ref(57)]),153943:t.r(63,"461790697","153943",[t.y(0,740),t.y(1,1507),t.ref(57)],[t.y(0,740),t.y(1,1507),t.ref(57)]),153944:t.r(63,"1218780350","153944",[t.y(0,740),t.y(1,600),t.ref(57)],[t.y(0,740),t.y(1,600),t.ref(57)]),153945:t.r(63,"77421481","153945",[t.y(0,740),t.y(1,972),t.ref(57)],[t.y(0,740),t.y(1,972),t.ref(57)]),153946:t.r(63,"1346732910","153946",[t.y(0,740),t.ref(0)],[t.y(0,740),t.ref(0)]),153947:t.r(63,"1141826410","153947",[t.y(0,740),t.y(1,1375),t.ref(0)],[t.y(0,740),t.y(1,1375),t.ref(0)]),153948:t.r(63,"560387155","153948",[t.y(0,740),t.y(1,745),t.ref(0)],[t.y(0,740),t.y(1,745),t.ref(0)]),153949:t.r(63,"439068985","153949",[t.y(0,740),t.ref(22)],[t.y(0,740),t.ref(22)]),153950:t.r(63,"1406255405","153950",[t.y(0,740),t.y(1,125),t.ref(22)],[t.y(0,740),t.y(1,125),t.ref(22)]),153951:t.r(63,"1056354018","153951",[t.y(0,740),t.ref(80)],[t.y(0,740),t.ref(80)]),153952:t.r(63,"779531049","153952",[t.y(0,740),t.y(1,1831),t.ref(80)],[t.y(0,740),t.y(1,1831),t.ref(80)]),153953:t.r(63,"1354477093","153953",[t.y(0,740),t.ref(12)],[t.y(0,740),t.ref(12)]),153954:t.r(61,t.a([t.y(0,740),t.y(1,450),t.ref(12)]),"153954","383227001","153954","166437926","153954",t.a([t.y(0,740),t.y(1,450),t.ref(12)])),153955:t.r(63,"869525062","153955",[t.y(0,740),t.y(1,465),t.ref(12)],[t.y(0,740),t.y(1,465),t.ref(12)]),153956:t.r(63,"1551731957","153956",[t.y(0,740),t.y(1,464),t.ref(12)],[t.y(0,740),t.y(1,464),t.ref(12)]),153957:t.r(63,"454573498","153957",[t.y(0,740),t.y(1,1378),t.ref(12)],[t.y(0,740),t.y(1,1378),t.ref(12)]),153958:t.r(63,"1937844373","153958",[t.y(0,740),t.y(1,969),t.ref(12)],[t.y(0,740),t.y(1,969),t.ref(12)]),153959:t.r(63,"1882783577","153959",[t.y(0,740),t.y(1,973),t.ref(12)],[t.y(0,740),t.y(1,973),t.ref(12)]),153960:t.r(63,"1490942900","153960",[t.y(0,740),t.y(1,459),t.ref(12)],[t.y(0,740),t.y(1,459),t.ref(12)]),153961:t.q(t.ocqs([t.cw(1,t.a([t.y(0,740),t.y(1,1382),t.ref(12)]),t.ge(1)),t.isp("liveramp_Reuters_reuters","2068845437",!1,"153961"),t.isp("liveramp_Reuters_reuters","1917982608",!1,"153961"),t.cw(2,t.a([t.y(0,740),t.y(1,1382),t.ref(12)]),t.ge(1))])),153962:t.r(63,"1729390886","153962",[t.y(0,740),t.y(1,1629),t.ref(12)],[t.y(0,740),t.y(1,1629),t.ref(12)]),153963:t.r(62,"153963",[t.y(0,740),t.y(1,463),t.ref(12)],[t.y(0,740),t.y(1,463),t.ref(12)]),153964:t.r(63,"1341004504","153964",[t.y(0,740),t.y(1,1710),t.ref(12)],[t.y(0,740),t.y(1,1710),t.ref(12)]),153965:t.r(63,"669257856","153965",[t.y(0,740),t.y(1,1512),t.ref(12)],[t.y(0,740),t.y(1,1512),t.ref(12)]),153966:t.r(63,"628706093","153966",[t.y(0,740),t.y(1,1284),t.ref(12)],[t.y(0,740),t.y(1,1284),t.ref(12)]),153967:t.r(63,"2021423124","153967",[t.y(0,740),t.y(1,1283),t.ref(12)],[t.y(0,740),t.y(1,1283),t.ref(12)]),153968:t.r(63,"399964386","153968",[t.y(0,740),t.ref(71)],[t.y(0,740),t.ref(71)]),153969:t.r(63,"1761328270","153969",[t.y(0,740),t.y(1,1511),t.ref(71)],[t.y(0,740),t.y(1,1511),t.ref(71)]),153970:t.r(63,"112334918","153970",[t.y(0,740),t.ref(59)],[t.y(0,740),t.ref(59)]),153971:t.r(63,"1958444878","153971",[t.y(0,740),t.y(1,1160),t.ref(59)],[t.y(0,740),t.y(1,1160),t.ref(59)]),153972:t.r(63,"2044904207","153972",[t.y(0,740),t.ref(49)],[t.y(0,740),t.ref(49)]),153973:t.r(63,"1235423065","153973",[t.y(0,740),t.y(1,537),t.ref(49)],[t.y(0,740),t.y(1,537),t.ref(49)]),153974:t.r(63,"1685742765","153974",[t.y(0,740),t.y(1,1282),t.ref(49)],[t.y(0,740),t.y(1,1282),t.ref(49)]),153975:t.r(63,"1064721015","153975",[t.y(0,740),t.ref(95)],[t.y(0,740),t.ref(95)]),153976:t.r(63,"284380785","153976",[t.y(0,740),t.y(1,603),t.ref(95)],[t.y(0,740),t.y(1,603),t.ref(95)]),153977:t.r(49,95,"clearing services"),153982:t.r(63,"822114940","153982",[t.y(0,740),t.y(3,120)],[t.y(0,740),t.y(3,120)]),153983:t.r(63,"770858559","153983",[t.y(0,740),t.y(1,1380),t.y(3,120)],[t.y(0,740),t.y(1,1380),t.y(3,120)]),153984:t.r(63,"797528025","153984",[t.y(0,740),t.y(1,1633),t.y(3,120)],[t.y(0,740),t.y(1,1633),t.y(3,120)]),153985:t.r(63,"1912350473","153985",[t.y(0,740),t.ref(37)],[t.y(0,740),t.ref(37)]),153986:t.r(68,"1353115741","153986","525708417","153986",740,82,740,44),153987:t.r(63,"442332320","153987",[t.y(0,740),t.ref(46)],[t.y(0,740),t.ref(46)]),153988:t.r(63,"833004899","153988",[t.y(0,1060),t.ref(96)],[t.y(0,740),t.ref(96)]),153989:t.r(63,"219625986","153989",[t.y(0,1060),t.ref(17)],[t.y(0,1060),t.ref(17)]),153990:t.r(63,"1097256584","153990",[t.y(0,1060),t.ref(84)],[t.y(0,1060),t.ref(84)]),153991:t.r(63,"646487928","153991",[t.y(0,1060),t.ref(31)],[t.y(0,1060),t.ref(31)]),153993:t.r(68,"115863937","153993","780166356","153993",1060,119,1060,119),153994:t.r(63,"1552326041","153994",[t.y(0,1060),t.ref(48)],[t.y(0,1060),t.ref(48)]),153995:t.r(63,"1980272088","153995",[t.y(0,1060),t.y(3,1371)],[t.y(0,1060),t.y(3,1371)]),153996:t.r(63,"2039537150","153996",[t.y(0,1060),t.ref(35)],[t.y(0,1060),t.bsc_(3,["ukCk37Hf"])]),153997:t.r(63,"363359680","153997",[t.y(0,1060),t.ref(32)],[t.y(0,1060),t.ref(32)]),153998:t.r(63,"801394156","153998",[t.y(0,1060),t.y(3,1281)],[t.y(0,1060),t.y(3,1281)]),153999:t.q(t.ocqs([t.cw(1,t.a([t.y(0,740),t.pe(1,"Interdealer Broker"),t.ref(89)]),t.ge(1)),t.cw(2,t.a([t.y(0,740),t.bsc_(3,["9AS+ApP4","wU/m4ybh"])]),t.ge(1))])),154e3:t.q(t.acqs([t.ocqs([t.cw(1,t.a([t.y(0,740),t.y(1,544),t.ref(102)]),t.ge(1)),t.cw(2,t.a([t.y(0,740),t.y(1,544),t.ref(102)]),t.ge(1))]),t.isp("liveramp_Reuters_reuters","109480932",!1,"154000")])),154001:t.r(63,"468111595","154001",[t.y(0,740),t.y(1,1376),t.ref(102)],[t.y(0,740),t.y(1,1376),t.ref(102)]),154002:t.r(63,"790703362","154002",[t.y(0,740),t.y(1,1387),t.ref(57)],[t.y(0,740),t.y(1,1387),t.ref(57)]),154003:t.r(63,"2113289229","154003",[t.y(0,740),t.y(1,126),t.ref(22)],[t.y(0,740),t.y(1,126),t.ref(22)]),154004:t.r(63,"1730616440","154004",[t.y(0,740),t.y(1,1719),t.ref(12)],[t.y(0,740),t.y(1,1719),t.ref(12)]),154005:t.r(63,"1409563904","154005",[t.y(0,740),t.y(1,460),t.ref(71)],[t.y(0,740),t.y(1,460),t.ref(12)]),154006:t.r(49,71,"Trade & Product Support"),154007:t.r(63,"58314917","154007",[t.y(0,740),t.y(1,739),t.ref(71)],[t.y(0,740),t.y(1,739),t.ref(71)]),154008:t.r(63,"2136022105","154008",[t.y(0,740),t.y(1,1285),t.ref(71)],[t.y(0,740),t.y(1,1285),t.ref(71)]),154009:t.r(63,"1487669646","154009",[t.y(0,740),t.y(1,738),t.ref(59)],[t.y(0,740),t.y(1,738),t.ref(59)]),154010:t.r(63,"248088770","154010",[t.y(0,740),t.y(1,456),t.ref(49)],[t.y(1,456),t.ref(49)]),154011:t.r(63,"609349214","154011",[t.y(0,740),t.y(1,1377),t.ref(37)],[t.y(0,740),t.y(1,1377),t.ref(37)]),154012:t.r(63,"1578991062","154012",[t.y(0,740),t.y(1,455),t.ref(82)],[t.y(0,740),t.y(1,455),t.ref(82)]),154013:t.r(63,"1071010295","154013",[t.y(0,740),t.y(1,805),t.ref(82)],[t.y(0,740),t.y(1,805),t.ref(82)]),154014:t.r(63,"276798653","154014",[t.y(0,740),t.y(1,874),t.ref(46)],[t.y(0,740),t.y(1,874),t.ref(46)]),154015:t.r(63,"646620881","154015",[t.y(0,1060),t.y(3,466)],[t.y(0,1060),t.y(3,466)]),154016:t.r(62,"154016",[t.y(0,1060),t.ref(21)],[t.y(0,1060),t.ref(21)]),154017:t.r(63,"1397687898","154017",[t.y(0,1060),t.y(3,983)],[t.y(0,1060),t.y(3,983)]),154018:t.r(63,"1724091700","154018",[t.y(0,1060),t.ref(101)],[t.y(0,1060),t.ref(101)]),154019:t.r(63,"763978674","154019",[t.y(0,1060),t.ref(122)],[t.y(0,1060),t.ref(122)]),154020:t.r(63,"987576174","154020",[t.y(0,1060),t.ref(79)],[t.y(0,1060),t.ref(79)]),154021:t.r(63,"1825619208","154021",[t.y(0,1060),t.ref(4)],[t.y(0,1060),t.ref(4)]),154022:t.r(66,0,1060,18,18,0,1060),156121:t.r(126,"218214619","156121"),156122:t.r(126,"1853751146","156122"),156123:t.r(126,"1752607277","156123"),156124:t.r(126,"452693502","156124"),156125:t.r(126,"1057434108","156125"),156126:t.r(126,"1177622575","156126"),156127:t.r(126,"1771982888","156127"),156128:t.r(126,"933176158","156128"),156129:t.r(126,"728436945","156129"),156130:t.r(126,"1777722805","156130"),156133:t.r(126,"796479803","156133"),156134:t.r(126,"741693560","156134"),156135:t.r(126,"1197718674","156135"),156136:t.r(126,"1912351772","156136"),156137:t.r(126,"60262214","156137"),156138:t.r(126,"146488438","156138"),156139:t.r(126,"2033104944","156139"),156140:t.r(126,"1771630404","156140"),156142:t.r(126,"2113142928","156142"),156143:t.r(126,"626643238","156143"),156170:t.r(83,.16418491),156456:t.r(89,.1431471),156457:t.r(86,.1406421),158527:t.r(95,"liveramp_StatSocial","1006912891",!1,"158527","liveramp_Bombora","1004558949",!1,"158527","liveramp_DunandBradstreet","1001640126",!1,"158527","liveramp_AnalyticsIQ","1005128719",!1,"158527"),158796:t.r(19,0,t.w,7,["deals","Deals"]),162443:t.r(82,.26579192),162639:t.r(88,.27826163),162640:t.r(84,.28255275),162933:t.r(80,.2407293),163011:t.r(90,.35200003),166059:t.r(85,.17073826),166069:t.r(19,0,t.cx,9,["Consumer Credit Data","Consumer Lending (NEC) (TRBC level 5)","Consumer Lending (TRBC level 4)"]),166071:t.r(40,9,"WEARABLES"),166072:t.r(19,0,t.cx,9,["Tablet & Netbook Computers (TRBC level 5)","Laptop & Desktop Computers (TRBC level 5)"]),166073:t.r(19,0,t.cx,9,["Memory Chips (RAM) (TRBC level 5)","Semiconductor Wholesale (TRBC level 5)","Semiconductors (NEC) (TRBC level 5)","Semiconductors (TRBC level 4)"]),166075:t.r(19,0,t.cx,9,["Nuclear Power Plant Construction (TRBC level 5)","Nuclear Generators & Components (TRBC level 5)","Nuclear IPPs (TRBC level 5)","Nuclear Utilities (TRBC level 5)","Nuclear Power Stations"]),166080:t.r(19,0,t.cx,9,["Personal Products (TRBC level 4)","Cosmetics & Perfumes (TRBC level 5)"]),166081:t.r(40,9,1381),166082:t.r(19,0,t.cx,9,["Marine Passenger Transportation (TRBC level 5)","Passenger Transportation Services (TRBC level 3)","Passenger Transportation"]),166083:t.r(19,0,t.cx,9,["Hotels & Entertainment Services (TRBC level 3)","Cruise Lines (TRBC level 5)","Hotels & Motels (TRBC level 5)","Motels & Cruise Lines (NEC) (TRBC level 5)","Motels & Cruise Lines (TRBC level 4)","Hotels"]),166084:t.r(19,0,t.cx,9,["Leisure Products Wholesale (TRBC level 5)","Leisure & Recreation (NEC) (TRBC level 5)","Leisure & Recreation (TRBC level 4)","Leisure Products (TRBC level 3)"]),166085:t.r(19,0,t.cx,9,["Jewelry & Watch Retailers (TRBC level 5)","Jewelry (TRBC level 5)"]),166086:t.r(40,9,"Specialty Retailers (TRBC level 3)"),166545:t.r(19,0,t.cx,9,["Electric (Alternative) Vehicles (TRBC level 5)","Electric / Hybrid Vehicles","Lithium","Energy Storage / Battery Technology","Automotive Batteries (TRBC level 5)","Batteries & Uninterruptable Power Supplies (TRBC level 5)"]),166800:t.r(19,0,t.cx,9,["Corporate Events","Private Company News","Company News","Enterprise Reporting"]),171129:t.r(52,0),171130:t.r(52,3),171132:t.r(52,1),172161:t.r(23,0,10,"経済"),172168:t.r(98,"liveramp_DunandBradstreet","1000310156","172168","liveramp_Acxiom","300048899","172168","liveramp_Mastercard","1005911571",!1,"172168","liveramp_Acxiom","300580599",!1,"172168","liveramp_Mastercard","1005911571",!1,"172168"),172191:t.r(23,0,10,"ワールド"),172192:t.r(23,0,10,"マーケット"),172193:t.r(23,0,10,"ビジãƒã‚¹"),172195:t.r(23,0,10,"オピニオン"),172196:t.r(23,0,10,"ライフ"),173050:t.r(19,0,t.w,7,["cop28","COP28"]),173142:t.r(40,9,"Government Activity (TRBC level 3)"),173199:t.r(85,.07371494),173200:t.r(89,.07606771),173201:t.r(90,.07277301),173202:t.r(81,.0852453),173203:t.r(86,.08637467),173204:t.r(87,.08820598),173205:t.r(88,.087289475),173206:t.r(80,.12875211),173207:t.r(84,.085386485),173208:t.r(82,.07851568),173523:t.r(19,0,t.cx,9,["Online Services (NEC) (TRBC level 5)","Online Services (TRBC level 4)"]),173539:t.r(19,0,t.cx,9,["Biotechnology & Medical Research (NEC) (TRBC level 5)","Pharmaceuticals & Medical Research (TRBC level 2)","Biotechnology & Medical Research (TRBC level 4)"]),173543:t.r(40,9,"Corporate Litigation"),173592:t.r(83,.06921614),175965:t.r(26,["p/4wDWZJ"]),175991:t.r(19,0,t.s,8,["real-time-business"]),176935:t.r(19,0,t.s,8,["davos-2023"]),178642:t.r(30,t.y(7,538),14,538),178644:t.r(26,["Pf4mweQm","WWnoQz7f"]),178682:t.r(91,173200,173200,85886,85886,166800,166800,75424,75424,75366,75366,72785,72785),178683:t.r(93,85886,85886,166800,166800,72785,72785,85885,85885,75386,75386),178684:t.r(91,173202,173202,75366,75366,75452,75452,63889,63889,75424,75424,75386,75386),178685:t.r(91,173203,173203,75349,75349,75352,75352,76209,76209,63862,63862,85886,85886),178686:t.r(91,173204,173204,76218,76218,75386,75386,85886,85886,75208,75208,75379,75379),178687:t.r(94),178688:t.r(91,173206,173206,85886,85886,76218,76218,75366,75366,85885,85885,75379,75379),178691:t.r(91,173208,173208,75366,75366,75452,75452,75377,75377,63876,63876,75386,75386),178692:t.r(93,173543,173543,63886,63886,122932,122932,76219,76219,63797,63797),178693:t.r(91,173199,173199,173539,173539,63797,63797,63871,63871,75210,75210,166800,166800),179348:t.r(40,2,834),179578:t.r(47,"utm_campaign=On-the-Campaign-Trail"),179579:t.r(47,"utm_campaign=Health-Rounds"),179580:t.r(47,"utm_campaign=Sustainable-Finance"),179581:t.r(47,"utm_campaign=One-Essential-Read"),179779:t.r(19,0,t.s,14,["tech-ces"]),179782:t.r(19,0,t.s,14,["ceraweek"]),179795:t.r(34,"MORNINGSTAR",["morningstar"]),179798:t.r(34,"MILKEN",["milken"]),179799:t.r(34,"WIMBLEDON",["wimbledon"]),179800:t.q(t.cw(0,t.o([t.pc_(12,1157),t.ps(13,"Mobile World Congress"),t.ps(14,1157)]),t.ge(1))),179801:t.r(24,0,14,"UN-ASSEMBLY"),179839:t.r(114,"13439","179839","1543","179839"),179882:t.r(24,0,["site_type"],"MobileRN24"),182990:t.r(38,["on-the-road/","plus.reuters.com/on-the-road"],15,"on-the-road/p"),183145:t.r(94),183273:t.r(125,"1004862399","183273"),183274:t.r(125,"1012424781","183274"),183275:t.r(125,"1000096194","183275"),183277:t.r(125,"1006371541","183277"),183278:t.r(125,"1012597601","183278"),184126:t.r(91,173207,173207,75376,75376,75370,75370,75384,75384,75452,75452,75379,75379),184128:t.q(t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],162640)),t.cw(4,t.pe(4,162640)),t.ge(1))),184252:t.r(95,"liveramp_IXIDigital","1000090014",!1,"184252","liveramp_AudienceElements","1001852146",!1,"184252","liveramp_Alliant","1000847566",!1,"184252","liveramp_Alliant","1000850506",!1,"184252"),186193:t.r(38,["permutive-google-page-test"],15,"ot-permutive-google-page-test"),187210:t.r(79,"a6e34d5a-651d-448f-9eb4-dc2a7573297c","74287",.13634327),187212:t.r(79,"02edfbbe-7062-40a1-84e9-29e03432b500","153807",.14399114),187769:t.r(19,0,t.s,8,["protect-against-threats-work-securely"]),187771:t.r(19,0,t.s,8,["google-enhanced-effectiveness-and-the-cloud-based-advantage"]),188142:t.r(47,"https://events.reutersevents.com/chromeos/thank-you"),189288:t.r(19,0,t.s,8,["chromeos/thank-you"]),189742:t.r(19,0,t.cx,9,["Exchange-Traded Funds (NEC) (TRBC level 5)","Exchange-Traded Funds (TRBC level 4)","Exchange-Traded Funds"]),190336:t.r(47,"chromeos/whitepaper"),190432:t.r(20,2,0),193058:t.r(79,"9f4bd026-d147-4362-8f98-75721d8fce08","153946",.2106619),193059:t.r(18,2,t.y(0,804),3,["0Z8eFd6J","3HujZT9l","5smC87aO","9lFL0Vsh"]),193248:t.r(129,2,t.s,15,["democratic","democrats","left-wing"]),193396:t.r(128,6048e5,t.ps(15,8),3),193397:t.r(1,0,t.ps(15,"/business/finance/"),1,1,1,94),193398:t.r(19,0,t.cx,2,["FINTEM",731,677,659,658]),193399:t.r(0,t.tw(t.cw(0,t.a([t.pc_(2,1040),t.os(t.cx,2,[548,275,111,105,112])]),t.ge(1)),24192e5),t.ocqs([t.tw(t.cw(0,t.os(t.cx,2,["CRYPLX",439]),t.ge(1)),24192e5),t.tw(t.cw(0,t.os(t.cx,12,["CRYPTOCURRENCY",440]),t.ge(1)),24192e5),t.tw(t.cw(0,t.os(t.cx,9,["Blockchain & Cryptocurrency (NEC) (TRBC level 5)","Cryptocurrency Hardware (TRBC level 5)","Cryptocurrency Trading Platforms (Exchanges) (TRBC level 5)","Cryptocurrency Mining (TRBC level 5)","Blockchain & Cryptocurrency (TRBC level 4)",467]),t.ge(1)),24192e5)]),t.tw(t.cw(0,t.ps(15,8),t.ge(1)),24192e5)),193761:t.r(129,3,t.cx,2,[479,478,1543,1531,710]),194037:t.r(23,0,10,"World"),194038:t.r(19,0,t.w,7,["africa","Africa"]),194039:t.r(23,0,7,"Americas"),194040:t.r(26,["AHRokw82","N+bH91H/"]),194041:t.r(19,0,t.w,7,["china","China"]),194042:t.r(19,0,t.w,7,["europe","Europe"]),194043:t.r(19,0,t.w,7,["india","India"]),194044:t.r(26,["65QbL1Du","Xm4QBY3f","pY/JP6Zx"]),194045:t.r(19,0,t.w,7,["japan","Japan"]),194046:t.r(26,["+05dcoVP","FBy8xDwY","GMMyQ+Rn","OJQ/w/TX"]),194047:t.r(26,["kABw42Dr","xwhiVbDl"]),194048:t.r(26,["Efbm+iN0","xqj5n65M"]),194049:t.r(26,["Omr5r5Tw","l2kSHxD3","uDok+xrv"]),194050:t.r(26,["doaFylgq","r6CduGiC"]),194051:t.r(26,["InLw1o5Q","mDlkBTmV"]),194052:t.r(26,["hEycwE9+"]),194053:t.r(26,["I3MBGq+D","arsbQcTH"]),194054:t.r(26,["696jYg9B","poiY76TS"]),194055:t.r(23,0,7,"ETFs"),194056:t.r(26,["41la3L7w"]),194057:t.r(26,["5yCGolli","vDrsD5ce"]),194058:t.r(23,0,7,"Funds"),194059:t.r(26,["VSJ1UtC9"]),194060:t.r(26,["+boqZvbM","DGweQqNp","DqtMsijX","GTS4ECS7"]),194061:t.r(23,0,7,"Stocks"),194062:t.r(26,["c0ruYvVT","uzDBo7jl"]),194063:t.r(23,0,7,"Wealth"),194064:t.r(27,["MbwbF/mA"]),194065:t.r(26,["KFMToiH2"]),194066:t.r(26,["+RQSni8S","PJ7dJeB3","xGAlE2wR"]),194067:t.r(26,["2CJYwLA0"]),194068:t.r(26,["xWsIfk4z"]),194069:t.r(26,["uwgUwWwE"]),194070:t.r(26,["pCnF23qC"]),194071:t.r(26,["TXtiuvOt"]),194072:t.r(26,["U57YHWZ8"]),194073:t.r(26,["9eUGq5pS","f+e5Y3a7"]),194074:t.r(26,["0u+AFuIG"]),194075:t.r(26,["Cffk8c9J"]),194076:t.r(27,["TjrNjOQP"]),194077:t.r(26,["0u6PEuRJ","IYOcg/Gb","St1RfSbP"]),194078:t.r(26,["e3qNjpQ1","eP1crIwC"]),194079:t.r(19,0,t.w,7,["space","Space"]),194080:t.r(27,["3HFeNm1K"]),194081:t.r(19,0,t.w,10,["sports",1631]),194082:t.r(26,["9JCe7udh","s8cUAtj8"]),194083:t.r(19,0,t.w,7,["baseball","Baseball"]),194084:t.r(26,["6IPSLOKc","Ro7ly9VO"]),194085:t.r(19,0,t.w,7,["cricket","Cricket"]),194086:t.r(19,0,t.w,7,["Cycling","cycling"]),194087:t.r(19,0,t.w,7,["golf","Golf"]),194088:t.r(19,0,t.w,7,["Nfl","nfl",1196]),194089:t.r(46,7,1203),194090:t.r(20,0,55),194091:t.r(19,0,t.w,7,["soccer",1630]),194092:t.r(19,0,t.w,7,[1884,1713]),194093:t.r(19,0,t.w,10,["science","Science"]),194094:t.r(46,10,1374),194095:t.r(23,0,10,"Video"),194096:t.r(27,["znfWId4O"]),194097:t.r(23,0,10,"Pictures"),194098:t.r(27,["Lv3krA6I"]),194576:t.r(127,"46","194576"),194577:t.r(13,"46","194577","liveramp_ShareThis","1005135169","194577","6626","194577"),194578:t.q(t.acqs([t.itp("eyeota","46",!1,"194578"),t.itp("eyeota","35196",!1,"194578")])),194579:t.r(14,"194579","eyeota","34925","194579","eyeota","35150","194579"),194580:t.r(14,"194580","liveramp_ShareThis","1001012739","194580","liveramp_MeritDirect","1002709676","194580"),194581:t.r(40,9,"Commodities Markets"),194582:t.r(40,9,"Agricultural Markets"),194583:t.r(40,9,"Metals Markets"),194584:t.r(19,0,t.cx,9,["Sheep & Specialty Livestock Farming (TRBC level 5)","Seafood Product Preparation & Packaging (TRBC level 5)","Livestock"]),194810:t.r(70,104,104),194812:t.r(70,16,16),195153:t.r(70,29,29),195154:t.r(74,3,["dwT/gLqW","fRaNAqaB"],3,["fRaNAqaB"]),195321:t.r(19,0,t.cx,9,["Oil & Gas Exploration and Production (TRBC level 4)","Oil & Gas Drilling (NEC) (TRBC level 5)"]),196006:t.q(t.ocqs([t.cw(2,t.a([t.ref(34),t.bsc_(1,["18pHf78g","4MeVcajC","PXWzdfHa","QWRgZGFi","SIhYLkmA","Wvm0ZwSs","gYXedcqn"])]),t.ge(1)),t.cw(1,t.a([t.ref(34),t.bsc_(1,["18pHf78g","PXWzdfHa","QWRgZGFi","SIhYLkmA","gYXedcqn"])]),t.ge(1))])),197377:t.r(4,7,1631),197980:t.r(38,["https://www.reuters.com/markets/companies/tw.o","tradeweb"],14,"TRADEWEB"),198034:t.q(t.ocqs([t.cw(0,t.pc_(2,197),t.ge(1)),t.cw(0,t.a([t.os(t.cx,9,[1777,602,"Middle East"]),t.os(t.cx,9,["Banks","Banking & Investment Services"])]),t.ge(1))])),198323:t.r(128,24192e5,t.ref(50),3),198600:t.r(2,1,t.ps(0,"Sustainability/ESG"),1,t.bsc_(5,["4qnAdBSq","fYfVMwXo","owrUMvFx","qET8+DTn","szYcoi05"]),1,1),198834:t.r(79,"aea23886-1ad6-4c71-aeed-21d5488c7697","74289",.11728504),199213:t.r(19,0,t.cx,2,[1722,1724,"UN1"]),199216:t.r(91,198834,198834,122933,122933,75225,75225,85886,85886,199213,199213,72785,72785),199371:t.r(47,"kpmg-ai-blueprint"),199375:t.q(t.cw(0,t.a([t.os(t.cx,9,["Managed Healthcare (NEC) (TRBC level 5)","Managed Healthcare (TRBC level 4)"]),t.os(t.s,13,["pharmacy benefit managers"])]),t.ge(1))),199482:t.r(47,"science-certified"),199483:t.r(19,0,t.s,8,["water-for-climate"]),199484:t.r(19,0,t.s,8,["ecolab-science-certified","ecolab-water-for-climate"]),200121:t.r(36,t.ps(8,1868),1868,9,1868),200164:t.q(t.cw(0,t.o([t.pc_(12,1158),t.pc_(9,1158),t.ps(13,1840),t.ps(20,1840),t.ps(7,1840)]),t.ge(1))),200170:t.r(56,0,t.os(t.cx,9,[1158,"Artificial Intelligence"]),0,t.ps(14,"ARTIFICIAL INTELLIGENCE")),200174:t.r(39,20,1873,13,1873),200175:t.r(56,0,t.os(t.s,14,["china-robots/ (pix, tv)","factcheck-ai/robots","ja-china-robots/"]),0,t.pc_(9,1513)),200677:t.r(31,t.s,13,["american funds",1842,1843,"lord abbett",1863,1866,1867],t.s,14,["abbett","americanfunds",1842,1843,1863,1866,1867],15,["company/american-funds-american-mutual-fund/","company/blackrock-inc/","company/pacific-investment-management-company-llc/","markets/companies/blk.n","markets/companies/pgi_","markets/quote/lagwx.o/","markets/quote/lapcx.o/","markets/quote/ldmax.o/","markets/quote/lglix.o","markets/quote/lglvx.o/","markets/quote/linpx.o/","markets/quote/ltrax.o","markets/quote/nuag.k/","markets/quote/pflex.o/"]),201116:t.r(79,"b9ba9f59-c293-41d4-a579-3cb385d400c3","196006",.13625878),201773:t.r(47,"visa-protect-ai-powered-security-future-of-payments"),202044:t.r(91,201116,201116,76199,76199,173142,173142,63887,63887,122883,122883,122933,122933),203019:t.q(t.cw(0,t.o([t.os(t.cx,12,[1846,"COP29"]),t.os(t.s,13,[1846]),t.os(t.s,20,[1846]),t.os(t.s,7,[1846])]),t.ge(1))),203024:t.r(31,t.cx,12,[1852,746],t.cx,2,[1852,746],13,[1852]),203033:t.r(30,t.pc_(12,1650),14,1650),203035:t.r(32,13,["consumer electronics show","consumer technology association"],12,["-CES","TECH-CES"]),203038:t.r(57,t.o([t.ps(13,1510),t.ps(20,1510)]),1849,1849,"Event | MOMENTUM AI"),203292:t.r(70,67,67),203294:t.r(16,2,t.pe(24,"PAID"),t.bsnc_(5,["szYcoi05"])),208263:t.r(79,"c2ce430b-4911-4221-b33d-a06be20a6b5f","74282",.20406085),208266:t.r(79,"dab9424d-f11b-44d5-9cf4-ddcd18ffce95","74258",.15401341),208313:t.r(70,103,103),208462:t.r(32,13,["abb","alphabet","amazon web services","aws",1844,"dassault systemes","fanuc",1853,"honeywell","johnson controls","microsoft","rockwell","schneider electric"],12,["AMAZON.COM","GOOGLE","ALPHABET","CISCO","FANUC","DASSAULT SYSTEM","SCHNEIDER ELECTRIC","JOHNSON CONTROLS","HONEYWELL","ABB","ROCKWELL","MICROSOFT"]),208552:t.r(79,"658334d5-399d-483e-afa7-1d6572090fb6","74260",.20891684),208553:t.r(79,"68e7e1da-8ac4-4135-96bb-bcf267c014c2","74277",.20834626),208554:t.r(79,"aecdf956-d6c1-443c-a711-566a607187b9","77835",.23632078),208567:t.r(91,208263,208263,117494,117494,88041,88041,75953,75953,76195,76195,76193,76193),208568:t.r(91,208554,208554,63886,63886,115431,115431,63797,63797,76184,76184,75394,75394),208569:t.r(91,208553,208553,173523,173523,166086,166086,75941,75941,76217,76217,72819,72819),208570:t.r(91,208266,208266,173142,173142,75225,75225,105244,105244,72902,72902,75219,75219),208571:t.r(91,208552,208552,75955,75955,95544,95544,75354,75354,111942,111942,75954,75954),208743:t.r(79,"dbcbac35-5526-48b3-b83a-96366343c190","208313",.2402887),208781:t.r(92,208822,208822,88413,88413),208822:t.r(79,"ff73e9c1-7d47-4cef-84c2-5ea8e31b8c9e","77838",.19151519),208852:t.r(92,208743,208743,194063,194063),210565:t.r(25,["NUTANIX","SUPER MICRO COMP","DELL TECH"],["dell","nutanix","super micro"]),210567:t.r(25,["NVIDIA","PALO ALTO","FORTINET","EXTREMENETWORKS","ARISTA NETWORKS","CISCO SYSTEMS"],["arista",1844,"extreme networks","fortinet","nvidia","palo alto"]),211337:t.r(26,["BiLpRmw3","WWnoQz7f"]),47119:t.r(15,0,t.t),61938:t.r(26,["RqIEKcVu"]),63765:t.r(42),63766:t.r(40,2,563),63767:t.r(40,2,1333),63768:t.r(40,2,1195),63769:t.r(40,2,"AMERS"),63770:t.r(40,2,"NAMER"),63772:t.r(40,2,"EUROP"),63773:t.r(40,2,"US"),63774:t.r(40,2,"ASIA"),63776:t.r(40,2,"ASXPAC"),63777:t.r(40,2,500),63778:t.r(40,2,"WEU"),63780:t.r(40,2,1675),63782:t.r(40,2,1803),63783:t.r(40,2,1589),63785:t.r(40,2,373),63786:t.r(40,2,"EASIA"),63788:t.r(40,2,364),63790:t.r(40,2,"CEEU"),63791:t.r(40,2,1674),63792:t.r(40,2,1783),63793:t.r(40,2,355),63794:t.r(40,2,"UK"),63795:t.r(40,2,"GB"),63796:t.r(40,2,449),63797:t.r(40,2,1389),63798:t.r(40,2,979),63800:t.r(40,2,433),63801:t.r(40,2,"MEDST"),63802:t.r(40,2,824),63803:t.r(40,2,1794),63804:t.r(40,2,867),63805:t.r(40,2,424),63806:t.r(40,2,910),63807:t.r(40,2,"POTUS"),63809:t.r(40,2,981),63810:t.r(40,2,398),63811:t.r(40,2,452),63812:t.r(40,2,"CYCS08"),63813:t.r(40,2,129),63814:t.r(40,2,"CA"),63816:t.r(40,2,"EZC"),63817:t.r(40,2,"FINS08"),63818:t.r(40,2,648),63820:t.r(40,2,654),63821:t.r(43),63823:t.r(43),63824:t.r(40,2,"BKML"),63825:t.r(40,2,"BISV08"),63827:t.r(40,2,"CN"),63828:t.r(40,2,570),63829:t.r(40,2,565),63830:t.r(40,2,566),63831:t.r(40,2,1251),63833:t.r(40,2,"HREP"),63834:t.r(40,2,"EEU"),63835:t.r(40,2,"RU"),63837:t.r(40,2,"CISC"),63838:t.r(40,2,1617),63855:t.r(40,2,"NASIA"),63856:t.r(40,2,1099),63857:t.r(40,2,1341),63858:t.r(40,2,"BGLR"),63859:t.r(40,2,"LATAM"),63860:t.r(40,2,"ENG"),63861:t.r(40,2,"ENR"),63862:t.r(40,2,1222),63863:t.r(40,2,"CAMER"),63864:t.r(40,2,"MX"),63865:t.r(40,2,"SEN"),63866:t.r(40,2,"IMM"),63867:t.r(40,2,"TECH08"),63868:t.r(40,2,1670),63869:t.r(40,2,1649),63870:t.r(40,2,1542),63871:t.r(19,0,t.cx,2,[862,861,860]),63872:t.r(40,2,"DE"),63874:t.r(40,2,1154),63875:t.r(40,2,1073),63876:t.r(40,2,475),63878:t.r(40,2,"JP"),63879:t.r(40,2,588),63880:t.r(40,2,1624),63881:t.r(40,2,1558),63882:t.r(40,2,1455),63883:t.r(40,2,800),63884:t.r(45),63886:t.r(40,2,1799),63887:t.r(41),63888:t.r(40,2,256),63889:t.r(44),63890:t.r(40,2,"ECO"),63891:t.r(40,2,1182),63892:t.r(40,2,1005),63893:t.r(40,2,202),63894:t.r(40,2,"HK"),63895:t.r(40,2,626),63896:t.r(40,2,1464),63897:t.r(40,2,203),65408:t.r(28,["GuUAYePp","IyjaTRm/"]),66107:t.r(28,["R4gymwrf"]),66113:t.r(47,"reuters.com/investigates/"),70745:t.r(47,"breakingviews.com"),71181:t.r(19,0,t.cx,2,[875,1266,1223,1534,1773,1189,1225,748,556,390,957,906,1436,1438,1257,1249,517,1302,1303,753,1421,1729,1253,1254,749,750,597,1252,387,385,384,1222,398,927,772,565]),71182:t.r(19,0,t.cx,2,[888,996,998,1443,1297,1012,1469,1468,1693,110,280,1319,1318,475,129]),71183:t.r(19,0,t.cx,2,[776,773,774,173,1034,1782,787,1655,1534,1085,1076,821,820,775,995,998,1443,819,478,1407,1406,1483,1401,1409,1408,626,415,1431,1433,1412,528,1417,526,1311,497,525,170,1075,1310,1308,162,167,164,1138,1137,1312,845,847,846,1790,1656,1447,1082,1084,855,852,520,72,"ALTMEG",832,831,858,1789,1093,1088,1080,1079,1077,494,1604,516,1090,1089,1092,1087,1083,1078,1086,76,75,74,859,841,828,772,824,129,1559]),71184:t.r(19,0,t.cx,2,[612,529,1415,1118,735,959,587,723,1541,1336,1103,1094,428,1443,1119,1440,1016,650,506,481,1162,422,1423,1307,1151,1150,584,583,582,338,1599,1820,1788,1367,958,943,829,396,942,199,960,936,879,250,938,591,660,368,678,940,929,594,621,409,408,407,1296,1105,414,432,388,393,201,200,198,197,196,838,1617,475,129,654,177,203]),71185:t.r(19,0,t.cx,2,[1058,1720,"RICS",548,281,78,1534,1645,278,1489,1361,1680,906,1498,113,553,1038,112,117,275,452,772]),71288:t.r(46,10,264),71290:t.r(128,6048e5,t.pe(10,"Markets"),3),71291:t.r(42),71294:t.q(t.tw(t.cw(0,t.pc_(2,1534),t.ge(4)),864e6)),71295:t.r(127,"34814","71295"),71299:t.r(117,"1907","71299","liveramp_AnalyticsIQ","1000691296","71299"),71300:t.q(t.acqs([t.itp("liveramp_Experian","1005798031",!1,"71300"),t.ocqs([t.itp("liveramp_Acxiom","300128605",!1,"71300"),t.itp("liveramp_Acxiom","300128606",!1,"71300"),t.itp("liveramp_Acxiom","300128607",!1,"71300"),t.itp("liveramp_Acxiom","300128608",!1,"71300"),t.itp("liveramp_Acxiom","300128609",!1,"71300"),t.itp("liveramp_Acxiom","300128610",!1,"71300")])])),71301:t.r(13,"300","71301","eyeota","298","71301","299","71301"),71827:t.r(113,"62","71827","liveramp_Acxiom","1921","71827","liveramp_Bombora","1000096114","71827"),71830:t.r(117,"1004216369","71830","liveramp_killi","1006991761","71830"),71831:t.r(114,"6560","71831","34899","71831"),71832:t.r(111,"liveramp_Bombora","1000094134","71832","1005198709","71832","liveramp_Bombora","1005389409","71832","liveramp_ShareThis","1005652231","71832","liveramp_ShareThis","1005135179","71832","eyeota","34822","71832","eyeota","6545","71832"),71835:t.r(96,"liveramp_ShareThis","1005652141",!1,"71835","liveramp_Bombora","1000094124",!1,"71835","liveramp_ShareThis","1003630179",!1,"71835","liveramp_ShareThis","1003630189",!1,"71835","liveramp_OnAudience","1002860626",!1,"71835","liveramp_ShareThis","1003630189",!1,"71835","liveramp_ShareThis","1001010169",!1,"71835","liveramp_ShareThis","1005652141",!1,"71835","eyeota","35039",!1,"71835","liveramp_MeritDirect","1002709626",!1,"71835"),71865:t.r(102,"liveramp_ShareThis","1001012819","71865","liveramp_Bombora","1000095124","71865","eyeota","35196","71865","liveramp_Bombora","1005387409","71865","liveramp_Bombora","1000096294","71865","liveramp_ShareThis","1001012819","71865","liveramp_ShareThis","1001011419","71865","eyeota","34981","71865"),71866:t.r(120,"1001014049","71866","liveramp_MeritDirect","1002713936","71866","liveramp_ShareThis","1005134999","71866"),71867:t.r(101,"liveramp_ShareThis","1005134819","71867","liveramp_ShareThis","1003628689","71867","liveramp_ShareThis","1005652111","71867","liveramp_Experian","1004268219","71867","eyeota","35722","71867","eyeota","35091","71867","liveramp_Acxiom","300083199","71867"),71869:t.r(120,"1001600986","71869","liveramp_ShareThis","1005134759","71869","eyeota","1501","71869"),71874:t.r(21,0,25,["APM/xTDT","HTURS480","JHzl1dkV","NkKVDIQY","V2NH7IJv","oXPnJWB9","sf+0wHmC"]),71914:t.q(t.acqs([t.cw(0,t.t,t.ge(1)),t.cw(0,t.os(t.s,16,["reutersevents.com","www.breakingviews.com"]),t.e(0))])),72105:t.r(131,2,2,772),72133:t.r(16,0,t.pc_(12,468),t.pc_(9,468)),72135:t.r(47,"reuters.com"),72165:t.r(112,"liveramp_MeritDirect","1002710006","72165","1000095414","72165","35022","72165","6646","72165","eyeota","35697","72165","liveramp_ShareThis","1005134049","72165","liveramp_ShareThis","1001600596","72165"),72166:t.r(109,"liveramp_DunandBradstreet","1000311566","72166","34877","72166","1001014439","72166","eyeota","35295","72166","eyeota","12967","72166","1649","72166"),72168:t.r(119,"1000094044","72168","liveramp_DunandBradstreet","1000309856","72168","eyeota","267","72168","eyeota","35038","72168","eyeota","21","72168","liveramp_ShareThis","1001142669","72168","liveramp_Bombora","1005198849","72168","liveramp_OnAudience","1002863226","72168","liveramp_StatSocial","1006914541","72168","liveramp_Bombora","1005389319","72168"),72170:t.r(95,"liveramp_MeritDirect","1000073494",!1,"72170","eyeota","6622",!1,"72170","liveramp_MeritDirect","1000073494",!1,"72170","liveramp_MeritDirect","1000073504",!1,"72170"),72172:t.r(97,"liveramp_DunandBradstreet","1000310726","72172","eyeota","34893","72172"),72174:t.r(99,"liveramp_DunandBradstreet","1000310276","72174","eyeota","6624","72174","eyeota","34909","72174"),72175:t.r(115,"35074","72175","35075","72175","eyeota","34868","72175","liveramp_ShareThis","1005134909","72175","liveramp_ShareThis","1001600626","72175","1005387479","72175","liveramp_Bombora","1000093944","72175"),72179:t.r(97,"liveramp_ShareThis","1005652001","72179","liveramp_AnalyticsIQ","1000691436","72179"),72180:t.r(95,"liveramp_Acxiom","802360080",!1,"72180","liveramp_IXIDigital","1000089844",!1,"72180","liveramp_MeritDirect","1000074104",!1,"72180","liveramp_ShareThis","1001013189",!1,"72180"),72316:t.r(116,"34932","72316","35143","72316","liveramp_Bombora","1005388299","72316","1000096014","72316"),72500:t.r(19,0,t.s,18,[1850,1853,1881,"utm"]),72784:t.r(19,0,t.cx,2,["SHRACT","SHPP",580,579,578,577]),72785:t.r(19,0,t.cx,2,[1775,1774,1773,1641,1829,1822,1814,1807,1729,1728,1709,1663,1598,1597,1557,1553,1528,1475,1474,1463,1439,1438,1437,1436,1435,1434,1421,1420,1419,1388,1370,1369,"PWR",1349,1335,1326,1324,1317,1303,1302,1300,1275,1272,1266,1262,1261,1260,1259,1258,1257,1256,1255,1254,1253,1252,1251,1250,1249,1248,1243,1226,1225,1223,1201,1198,1189,1163,1126,1032,1027,1024,976,875,871,870,851,834,778,777,770,769,753,752,751,750,749,748,597,596,586,568,566,565,556,518,517,505,390,387,386,385,384,383,382,381,260,191,171,169,166,165,163,161,160,156,77,39]),72786:t.r(19,0,t.cx,2,[1827,1821,1814,1810,1709,1669,1597,1475,1474,1340,1167,871,810,777,381,367,361,358,356,171,169,166,165,163,160,118]),72815:t.r(19,0,t.s,18,[1881,"twitter.com"]),72819:t.r(19,0,t.cx,2,[166,1317,1827,356,367,"WOOD1","WOOD",1811,1804,"WASTE","WASTCO","UTLREN","TIM","SUSTN","SRINV",1475,1474,1438,1437,1436,1435,1434,1418,"PLLNCV","ORGGRO","ORGFAR","ORGFAB","OGFERT","OECD","NC",1167,1166,"ISMRTP",946,"FURFAR","FSHNG","FRSTSS","FRSTPR","FESGD","EVCRIM",585,580,579,578,577,"ENVCON","ENVBIO",570,"ENDEG1","COFFAR",381,"CNEUT",361,358,"CHPPWR","CFOCUS","CCAPTS",281,"CATCRA","BRI",191,171,169,"BIOHOM",165,163,161,160,156,"BGSPWR",118,90,"AQAFAR","APRE","APHWHL","APEC",67,"AID",44,43,41,40]),72902:t.r(19,0,t.cx,2,[52,91,1156,49,1023,399,62,1601,1600,1603,1708,1640,991,96,67,63,61,60,59,58,57,56,55,54,53,51,50,48,30,29]),74011:t.r(55,t.itp("eyeota","62",!1,"74011"),t.itp("liveramp_Bombora","1005238099",!1,"74011"),t.itp("liveramp_Acxiom","1921",!1,"74011"),t.itp("liveramp_Bombora","1000096114",!1,"74011"),t.itp("liveramp_StatSocial","1006912421",!1,"74011"),t.itp("liveramp_ShareThis","1001013139",!1,"74011"),t.itp("eyeota","6565",!1,"74011"),t.itp("liveramp_Bombora","1000095194",!1,"74011"),t.itp("liveramp_Bombora","1000093954",!1,"74011"),t.itp("liveramp_ShareThis","1005652181",!1,"74011"),t.itp("liveramp_Bombora","1005389209",!1,"74011"),t.itp("liveramp_DunandBradstreet","1000310086",!1,"74011"),t.itp("eyeota","35097",!1,"74011")),74223:t.r(112,"eyeota","35295","74223","1005388449","74223","12967","74223","1649","74223","liveramp_ShareThis","1003624099","74223","liveramp_Bombora","1000096304","74223","liveramp_DunandBradstreet","1000311566","74223"),74224:t.r(101,"liveramp_ShareThis","1005132939","74224","liveramp_AnalyticsIQ","1000692406","74224","liveramp_Kantar","1002811566","74224","liveramp_ShareThis","1001014679","74224","eyeota","1649","74224","liveramp_ShareThis","1003626379","74224","liveramp_Bombora","1005389989","74224"),74226:t.r(116,"34867","74226","35073","74226","eyeota","35705","74226","1000093954","74226"),74237:t.r(121,"1005652221","74237","liveramp_DunandBradstreet","1000310916","74237","liveramp_MeritDirect","1002714166","74237","eyeota","61","74237","1000096194","74237","liveramp_DunandBradstreet","1001640156","74237","liveramp_Bombora","1000884079","74237","liveramp_IXIDigital","1004247749","74237","liveramp_DunandBradstreet","1002785576","74237","liveramp_DunandBradstreet","1001640206","74237","liveramp_DunandBradstreet","1001640156","74237"),74239:t.r(121,"1005134819","74239","liveramp_ShareThis","1003628689","74239","liveramp_ShareThis","1001011389","74239","liveramp_Bombora","1005387599","74239","1005389809","74239","liveramp_Bombora","1000095314","74239","liveramp_StatSocial","1006912711","74239","eyeota","263","74239","liveramp_PlaceIQ","1002436986","74239","liveramp_AnalyticsIQ","1004574389","74239","liveramp_AnalyticsIQ","1005128349","74239"),74243:t.r(109,"liveramp_Bombora","1005237849","74243","6536","74243","1005652261","74243","liveramp_DunandBradstreet","1002786446","74243","liveramp_Bombora","1000884119","74243","34887","74243"),74244:t.r(100,"liveramp_Bombora","1000884079","74244","liveramp_Bombora","1005390109","74244","eyeota","6533","74244","liveramp_ShareThis","1005652271","74244","liveramp_DunandBradstreet","1000311026","74244","liveramp_DunandBradstreet","1002783966",!1,"74244"),74245:t.r(119,"1000096134","74245","liveramp_Bombora","1005390259","74245","liveramp_Bombora","1005238109","74245","liveramp_MeritDirect","1002714346","74245","liveramp_DunandBradstreet","1000311056","74245","liveramp_MeritDirect","1000073984","74245","eyeota","64","74245","liveramp_IXIDigital","1003987329","74245","liveramp_Bombora","1000884119","74245","liveramp_ShareThis","1005651571","74245"),74246:t.r(107,"liveramp_Bombora","1005389369","74246","liveramp_Bombora","1000094094","74246","35119","74246","liveramp_MeritDirect","1002714396","74246","eyeota","6619","74246"),74248:t.r(108,"eyeota","34985","74248","eyeota","34815","74248","34986","74248","34989","74248","eyeota","34988","74248","eyeota","34987","74248","eyeota","34816","74248","1000311146","74248","1000311156","74248","eyeota","6626","74248","liveramp_PlaceIQ","1002436876","74248","1005387069","74248","liveramp_IXIDigital","1003986109","74248","liveramp_AnalyticsIQ","1004573919","74248","liveramp_ShareThis","1001011529","74248"),74249:t.r(100,"liveramp_IXIDigital","1003987309","74249","liveramp_Bombora","1004559069","74249","liveramp_Bombora","1005390189","74249","liveramp_AnalyticsIQ","1004574119","74249","liveramp_AnalyticsIQ","1004574129","74249","liveramp_AnalyticsIQ","1004574109",!1,"74249"),74251:t.r(105,"liveramp_killi","1006992131","74251","liveramp_ShareThis","1003556059","74251","liveramp_ShareThis","1003555969","74251","liveramp_ShareThis","1004107709","74251","liveramp_Alliant","1000849226","74251","liveramp_Alliant","1000852686","74251","liveramp_StartApp","1003725009","74251","liveramp_Stirista","1000308346","74251","liveramp_ShareThis","1004107699","74251","liveramp_AnalyticsIQ","1000691006","74251","liveramp_ShareThis","1003555829","74251","liveramp_killi","1006878441","74251","liveramp_Experian","1004256479","74251","liveramp_StatSocial","1006911331","74251"),74257:t.r(72,"74257","74257","1873506502","74257",68,68),74258:t.r(58,t.ref(99),"reuters_authencated_users","74258",!1,"74258","liveramp_Reuters_reuters","756379699",!1,"74258","liveramp_Reuters_reuters","1408780993",!1,"74258",2,t.bsc_(0,["25ZQ/dLX","isS9PZRU"]),t.ge(1),1),74260:t.r(72,"74260","74260","1634463278","74260",107,107),74261:t.r(72,"74261","74261","1443481838","74261",54,54),74262:t.r(73,"74262","74262","979800801","74262",["RtxRE8tj"],111),74264:t.r(72,"74264","74264","1767787025","74264",70,70),74265:t.r(72,"74265","74265","1199127580","74265",100,100),74267:t.q(t.acqs([t.ocqs([t.cw(1,t.ref(62),t.ge(1)),t.isp("reuters_authencated_users","74267",!1,"74267")]),t.ocqs([t.isp("liveramp_Reuters_reuters","902956253",!1,"74267"),t.cw(2,t.bsc_(0,["qGN4MvFt"]),t.ge(1))])])),74268:t.r(73,"74268","74268","379971358","74268",["5smC87aO","htSLIXnT"],61),74269:t.r(73,"74269","74269","35268141","74269",["utnEYnXo"],27),74270:t.r(72,"74270","74270","845560853","74270",6,6),74271:t.r(72,"74271","74271","2069834225","74271",63,63),74272:t.r(78,"74272","74272","1134993933","74272",0,1161,0,1161),74273:t.r(78,"74273","74273","1662936458","74273",0,1200,0,1200),74274:t.r(73,"74274","74274","804669888","74274",["DKpQde/+"],60),74275:t.q(t.ocqs([t.cw(1,t.ref(30),t.ge(1)),t.isp("reuters_authencated_users","74275",!1,"74275"),t.cw(2,t.ref(30),t.ge(1))])),74276:t.r(73,"74276","74276","46966890","74276",["q/aSnKdi"],51),74277:t.r(73,"74277","74277","634039806","74277",["wTu7h6c2"],110),74278:t.r(78,"74278","74278","2138719462","74278",0,1631,0,1631),74279:t.r(72,"74279","74279","1391038108","74279",58,58),74280:t.r(72,"74280","74280","2110105783","74280",73,73),74281:t.r(73,"74281","74281","202421022","74281",["E3zqwiSh"],106),74282:t.r(73,"74282","74282","1732906673","74282",["PjOGmkWo"],83),74283:t.r(73,"74283","74283","1404232331","74283",["8j6s8UM8"],43),74285:t.r(75,"74285","74285","867728258","74285",3,["sQK6k3d0"],3,["4agu/soJ","sQK6k3d0"]),74286:t.r(58,t.ref(109),"reuters_authencated_users","74286",!1,"74286","liveramp_Reuters_reuters","1730616440",!1,"74286","liveramp_Reuters_reuters","191304507",!1,"74286",2,t.ref(109),t.ge(1),1),74287:t.r(76,"74287","74287","1946956505","74287",112,["BoMf5x2b","dIHceGLt","xeVEL43p"]),74288:t.r(77,"74288","74288","1235720735","74288",["QUTvYvyh","lth1dJPs"],t.os(t.w,3,[539,"Design Pictures and Media Production"]),"Pictures & Media Production"),74289:t.r(76,"74289","74289","525708417","74289",44,["0Z8eFd6J","Eq34tWcU"]),74290:t.r(75,"74290","74290","885323775","74290",3,["WrXZd7xF","ak2uDm6y"],3,["8kZbP1mq","OjjIVkLe","ak2uDm6y"]),74291:t.r(75,"74291","74291","587571892","74291",3,["QXByxkTK"],3,["+yOJOMI1","QXByxkTK"]),74292:t.r(58,t.bsc_(3,["V2OM4hqA","ukCk37Hf"]),"reuters_authencated_users","74292",!1,"74292","liveramp_Reuters_reuters","2039537150",!1,"74292","liveramp_Reuters_reuters","454573498",!1,"74292",2,t.ref(35),t.ge(1),1),74293:t.r(77,"74293","74293","363359680","74293",["ROrKEfn6","m9i//Aaz"],t.y(3,1379),"Brand and Marketing"),74294:t.r(75,"74294","74294","1917982608","74294",3,["2OYZVGTq"],3,["2OYZVGTq","YxA0cFgQ"]),74295:t.r(61,t.ref(94),"74295","166437926","74295","383227001","74295",t.bsc_(1,["18pHf78g","LeBzU9HD","PXWzdfHa","dEjKMCvK"])),74296:t.r(75,"74296","74296","1091243408","74296",1,["diqSTfah"],1,["Lt/fDmh6","diqSTfah"]),74297:t.r(54,t.cw(1,t.ref(90),t.ge(1)),t.isp("reuters_authencated_users","74297",!1,"74297"),t.isp("liveramp_Reuters_reuters","379971358",!1,"74297"),t.isp("liveramp_Reuters_reuters","1708267143",!1,"74297"),t.isp("liveramp_Reuters_reuters","525708417",!1,"74297"),t.isp("liveramp_Reuters_reuters","1353115741",!1,"74297"),t.cw(2,t.ref(90),t.ge(1))),74298:t.r(72,"74298","74298","448162941","74298",2,2),74299:t.r(59,t.ref(11),"reuters_authencated_users","74299","74299","677662879","74299","1922281684","74299","1228090043","74299",t.ref(11)),74300:t.r(72,"74300","74300","1685152144","74300",87,87),74301:t.r(58,t.ref(92),"reuters_authencated_users","74301",!1,"74301","liveramp_Reuters_reuters","1068493761",!1,"74301","liveramp_Reuters_reuters","1980272088",!1,"74301",2,t.ref(92),t.ge(1),1),74302:t.r(72,"74302","74302","213595582","74302",8,8),74303:t.r(75,"74303","74303","942072092","74303",1,["Wvm0ZwSs"],1,["Wvm0ZwSs","kgzSpGU+"]),74304:t.r(78,"74304","74304","1784859503","74304",1,1281,1,1281),74306:t.r(74,11,["5xtW2SNH","B97kXqVo","GAyJv1DI","NzYW45+0","c6fd1QXy","pCUioM3W"],11,["+SvLagbS","26hnibU+","2Jc7jt/l","2qakidvK","3MZEJe7Q","3PJe1WyV","5xtW2SNH","6SkEvOgC","B97kXqVo","DOZbJtzT","GAyJv1DI","GHQK9bzs","HtXdnYM/","JhYNI/sH","MJSdX0pp","MX26yQdD","Nf2hf/Bf","NzYW45+0","PS17HDQA","PZH3Yxuo","RhdYW4dJ","UN8tZYWB","WSL1zu/z","ZofhiW3Y","aYH0Amz4","bGsbKz7M","bdy55HR/","c6fd1QXy","cmah2n46","d//bV3/S","d/JWtDZD","fDmXT0Sy","fjgL6Nwo","gOrzCHsL","k7Er9X8Y","l0LQCMQg","oG3NcTKP","pAqb4Aqa","pCUioM3W","qE9W8uan","qdmABT6/","sHy5orJI","tHtU/TpG","v+ed687d"]),74307:t.r(50,["+6o8Pp4b","+Ko6k07j","+mw3Us0A","/PKfbK0y","/tsgc2EC","/z6jvsGC","0WrS3Mav","0acTDgpX","0uryqhUS","24AOhunz","6KEjS4RC","7K54q+xS","9U2jgLre","CU1RWzYI","Dh1Yn1i3","DmqHBCSn","GXBCxN6R","H43Bpgdu","IMC3vatw","ITWYp+ki","ITyyBFCS","J5x3GuYM","Lza2uxhS","MUzNlk72","NVNqQbIJ","P1et8sBs","S6z+JTXs","SKn9Xp48","U80ZvYWw","ZVesqM1l","gGc2TUT1","gtIg3xfO","iBvkkerY","kYxTotYS","kot8SKYK","lnzjZ9id","nHNKbr1g","oiOOkZB/","orfBIMk6","pHAghXlI","rxHlVART","u7fvfy7J","uyJUqAb0","x4eRo/Dh","xpFTaHeR","ygs2/sdL","zq+1HisH"]),74308:t.r(50,["+2HIqOui","/0Y20Mr2","0aoFA2Eq","1+BFO7Sv","1riX/RRa","1xU+ZwK0","43cqxLTb","5RM1iXwO","6yEx7ODv","8Klto/hq","8U5Gzn0J","AnoSwvyF","DOVpPn2z","EIL4kRVi","F9U+Dmpo","GAyXq9uA","GlkaPpH8","H+9CkJJH","IKjfm3YD","NascPeba","QTSelVfl","R5+zS9v0","SQKkVsqp","TBl9/Wfx","UHZyHEBg","WTkFsxly","X/A7cnOx","X0WZ2qNB","XHdyY1jF","XLTJ2CgX","YqxZtyVc","alM3lCSP","bTG/ANft","ct3Sthmv","d9zYSeVQ","dKeIzuJ9","dnM/M4uy","ebnSc6xt","h/0778zm","hSrdq5Ac","idoSTgTf","kRPGwMH5","l2kSHxD3","mIRV5n33","nTvR+1J4","pJUZC8wu","rXnvDwdt","s8ku7PCq","sN3OD1TJ","tsFJw+AE","wptNus2C","xfW7OzUH","yQmxOOuo","yVHsAPEj"]),74309:t.r(70,28,28),74319:t.r(50,["/iPFLcJE","2/Ki2mRY","3lgzGmM4","5v6mYgoN","6eIcNas0","6w+xTEtB","86gmEBua","An7TfwD7","CfGZ0lEy","EXYOGqxD","G/Qp+UBo","H3l1ZPeE","HjazHniC","JZpuk1uE","L3NzmWBk","N0l6paIn","NJUH5B3Y","NUv5iSWD","NfAFFXz9","NsVyQxVb","OtLdgpZk","P6my3YXS","QZN7IPvo","QqsMlKHj","SBJkjIqJ","TSBqgQPT","UwZw3KdA","VyKEnyzL","WqWIcUq0","YRvBJbet","ZrmJJLOE","Zzsc+GPI","caRSlkdN","ikvxLhey","k0Ca8vII","nUrEPV4k","oAGvde6J","pIQvAjTX","rXw8xz+c","sX/G8FwH","t9X3TI9J","vBzU8H2C","vIiiQDCh","xISxN+LR"]),74320:t.r(70,113,113),74321:t.r(74,11,["7fQE0Nsy","EZO6MfEJ","MuCH8Jm+","OuEcclww","Tf3xley3","hfo1W9tP","psruVgSg","vWrMhibR"],11,["5btZonMZ","7fQE0Nsy","EZO6MfEJ","GYPE/cX2","MuCH8Jm+","OuEcclww","Tf3xley3","YKiwxt5v","hfo1W9tP","vWrMhibR"]),74323:t.r(23,1,5,"New York"),74334:t.r(113,"35295","74334","liveramp_Bombora","1005388449","74334","eyeota","12967","74334"),74335:t.r(103,"liveramp_Yougov","1006302691","74335","liveramp_Yougov","1006302781","74335","liveramp_Yougov","1006302741","74335","liveramp_Yougov","1006302791","74335","eyeota","1649","74335","liveramp_33across","1002463346","74335","liveramp_Epsilon","1000992549","74335","liveramp_Epsilon","1000992539","74335","liveramp_Acxiom","1004216349","74335"),74336:t.r(110,"liveramp_killi","1006992121","74336","1000849646","74336","liveramp_Stirista","1000308376","74336","liveramp_Illion","1005350379","74336","liveramp_StartApp","1003724999","74336","liveramp_StartApp","1004305289","74336","liveramp_AnalyticsIQ","1000690996","74336","liveramp_ShareThis","1003556009","74336","liveramp_ShareThis","1004108159","74336","liveramp_killi","1006833091","74336","liveramp_Experian","1004256489","74336","liveramp_StatSocial","1006911341","74336","liveramp_Acxiom","1958","74336","liveramp_Stirista","1000307626","74336","liveramp_MeritDirect","1002713866","74336","eyeota","35436","74336","eyeota","6681","74336","eyeota","301","74336","eyeota","243","74336","liveramp_Epsilon","1003069936","74336","eyeota","35486","74336"),74338:t.r(99,"liveramp_Stirista","1000982729","74338","liveramp_ShareThis","1001011509","74338","liveramp_ShareThis","1003628489","74338"),74339:t.r(108,"liveramp_Bombora","1005387419","74339","liveramp_PlaceIQ","1002436926","74339","6631","74339","35196","74339","liveramp_DunandBradstreet","1000311476","74339","liveramp_DunandBradstreet","1000311436","74339","liveramp_DunandBradstreet","1000311456","74339","1000311446","74339","1000311486","74339","liveramp_DunandBradstreet","1000311466","74339","liveramp_DunandBradstreet","1000311466","74339","1005387409","74339","liveramp_MeritDirect","1000071614","74339","liveramp_ShareThis","1005135069","74339","liveramp_Bombora","1000095124","74339"),74340:t.r(105,"eyeota","35095","74340","eyeota","34882","74340","eyeota","35097","74340","eyeota","35096","74340","eyeota","35099","74340","eyeota","35100","74340","eyeota","35098","74340","eyeota","34884","74340","eyeota","34886","74340","eyeota","6636","74340","liveramp_Bombora","1005387639","74340","liveramp_MeritDirect","1002715256","74340","liveramp_StatSocial","1006912591","74340","liveramp_Bombora","1005387639","74340"),74341:t.r(98,"liveramp_ShareThis","1001013139","74341","liveramp_ShareThis","1003624539","74341","liveramp_DunandBradstreet","1001204219",!1,"74341","liveramp_Bombora","1005387489",!1,"74341","liveramp_Bombora","1000095194",!1,"74341"),74342:t.r(127,"35578","74342"),74343:t.r(103,"liveramp_IPSOS","1002976996","74343","liveramp_AnalyticsIQ","1002984956","74343","liveramp_Alliant","1003267719","74343","liveramp_Alliant","1003267729","74343","liveramp_Alliant","1003267709","74343","liveramp_Alliant","1003270249","74343","liveramp_Alliant","1003270259","74343","liveramp_Alliant","1003270269","74343","liveramp_IXIDigital","1002276836","74343"),74497:t.r(132,3,9,467),74500:t.r(133,t.pe(8,"https://www.reuters.com/signin/")),74501:t.r(133,t.bsc_(17,["hB+3Am6l","zoVyu0aM"])),74502:t.r(131,3,12,440),74569:t.q(t.ocqs([t.itp("liveramp_CACI","1004179139",!1,"74569"),t.itp("liveramp_AudienceElements","1001851146",!1,"74569"),t.itp("liveramp_Zeotap","1005092259",!1,"74569"),t.itp("liveramp_Alliant","1000848126",!1,"74569"),t.itp("liveramp_Zeotap","1004761309",!1,"74569"),t.itp("liveramp_Zeotap","1004330129",!1,"74569"),t.itp("liveramp_Alliant","1000848906",!1,"74569"),t.itp("liveramp_Zeotap","1004330209",!1,"74569"),t.itp("liveramp_PlaceIQ","1002437036",!1,"74569"),t.itp("liveramp_killi","1006833131",!1,"74569"),t.itp("eyeota","291",!1,"74569"),t.itp("eyeota","35438",!1,"74569"),t.itp("liveramp_StatSocial","1006911281",!1,"74569"),t.itp("liveramp_Epsilon","1000458566",!1,"74569"),t.itp("liveramp_Epsilon","1003071376",!1,"74569"),t.itp("liveramp_Comscore","1004338269",!1,"74569"),t.itp("liveramp_Comscore","1004338569",!1,"74569"),t.itp("liveramp_Comscore","1004338829",!1,"74569"),t.itp("eyeota","35450",!1,"74569")])),74574:t.r(53,"twitter"),74575:t.r(104,"liveramp_CACI","1004179149","74575","liveramp_Alliant","1000845656","74575","liveramp_AnalyticsIQ","1000690786","74575","liveramp_Alliant","1000853446","74575","liveramp_Experian","1005797671","74575","liveramp_killi","1006833221","74575","liveramp_AudienceElements","1001851176","74575","liveramp_Acxiom","1004908859","74575","liveramp_Acxiom","1824","74575","liveramp_Acxiom","4132","74575","liveramp_Acxiom","1003643919","74575","liveramp_Acxiom","33078","74575"),74576:t.r(53,1850),74577:t.q(t.ocqs([t.itp("liveramp_AnalyticsIQ","1004097679",!1,"74577"),t.itp("liveramp_Alliant","1000846266",!1,"74577"),t.itp("liveramp_Alliant","1000852966",!1,"74577"),t.itp("liveramp_killi","1006832931",!1,"74577"),t.itp("liveramp_Experian","1004256379",!1,"74577"),t.itp("liveramp_CACI","1004179159",!1,"74577"),t.itp("liveramp_Alliant","1000848136",!1,"74577"),t.itp("liveramp_AnalyticsIQ","1000690796",!1,"74577"),t.itp("liveramp_Alliant","1000848886",!1,"74577"),t.itp("liveramp_Experian","1005797681",!1,"74577"),t.itp("liveramp_killi","1006833211",!1,"74577")])),74578:t.r(118,"1004330569","74578","1000849366","74578","1000847546","74578","liveramp_killi","1006833151","74578","1004256389","74578","1004179179","74578","1000848146","74578","liveramp_killi","1006833201","74578","liveramp_AnalyticsIQ","1000690816","74578","liveramp_Alliant","1000848866","74578","1005797701","74578","liveramp_AudienceElements","1001851526","74578","liveramp_Acxiom","33081","74578","1827","74578","1003643949","74578","1004908889","74578","liveramp_Acxiom","4135","74578"),74579:t.r(53,1859),74580:t.r(118,"1004330579","74580","1000852986","74580","1000846256","74580","liveramp_Alliant","1000845626","74580","1004256399","74580","1004179199","74580","1000848156","74580","liveramp_AnalyticsIQ","1000690836","74580","liveramp_Alliant","1000848846","74580","liveramp_Stirista","1005073659","74580","1005797721","74580","liveramp_killi","1006833081","74580","liveramp_AudienceElements","1001851066","74580","33084","74580","1004908919","74580","4138","74580","liveramp_Epsilon","1005785801","74580"),74581:t.r(19,5,t.s,17,["youtu.be","youtube"]),74583:t.r(110,"liveramp_AnalyticsIQ","1004330589","74583","1000849346","74583","liveramp_CACI","1004179219","74583","liveramp_AnalyticsIQ","1000690856","74583","liveramp_AudienceElements","1001851596","74583","liveramp_Acxiom","1004636009","74583","liveramp_Experian","1004256409","74583","liveramp_Acxiom","1003643989","74583","liveramp_Acxiom","1004908929","74583","liveramp_Acxiom","4139","74583","liveramp_Acxiom","10785","74583","liveramp_Acxiom","33085","74583","liveramp_Epsilon","1005785811","74583","liveramp_CACI","1004179229","74583","liveramp_AnalyticsIQ","1000690866","74583","liveramp_Stirista","1005073689","74583","liveramp_AudienceElements","1001851076","74583","liveramp_Acxiom","1004636019","74583","liveramp_Acxiom","1003643999","74583","liveramp_Acxiom","1004908939","74583","liveramp_Epsilon","1005785821","74583"),74584:t.r(53,"instagram"),74585:t.q(t.ocqs([t.itp("liveramp_Epsilon","1000458816",!1,"74585"),t.itp("liveramp_Epsilon","1000458836",!1,"74585"),t.itp("liveramp_Epsilon","1000458846",!1,"74585"),t.itp("liveramp_Epsilon","1000458646",!1,"74585"),t.itp("liveramp_Epsilon","1000458796",!1,"74585"),t.itp("liveramp_Epsilon","1000458776",!1,"74585"),t.itp("liveramp_Epsilon","1000458876",!1,"74585"),t.itp("liveramp_Epsilon","1000458636",!1,"74585"),t.itp("liveramp_Epsilon","1000458886",!1,"74585"),t.itp("liveramp_Epsilon","1000458676",!1,"74585"),t.itp("liveramp_Epsilon","1000458856",!1,"74585"),t.itp("liveramp_Epsilon","1000458766",!1,"74585"),t.itp("liveramp_Epsilon","1000458656",!1,"74585"),t.itp("liveramp_Epsilon","1000458826",!1,"74585"),t.itp("liveramp_Bombora","1005405049",!1,"74585"),t.itp("liveramp_Bombora","1005405059",!1,"74585"),t.itp("liveramp_Bombora","1005405039",!1,"74585")])),74682:t.r(2,5,t.bsc_(17,["eVAWg1bL","qR1Vxy4+"]),0,t.bsnc_(21,["43cqxLTb","F9U+Dmpo","doaFylgq","l2kSHxD3","zWp7h2hS"]),1,1),74712:t.r(104,"liveramp_Stirista","1000044924","74712","liveramp_Stirista","1000044934","74712","liveramp_Epsilon","1000458926","74712","liveramp_Epsilon","1000458966","74712","liveramp_Epsilon","1000459026","74712","liveramp_Epsilon","1000458956","74712","liveramp_Epsilon","1000458936","74712","liveramp_Epsilon","1000458916","74712","liveramp_Epsilon","1000458996","74712","liveramp_Epsilon","1000458946","74712","liveramp_Bombora","1005405069","74712","liveramp_Bombora","1005405079","74712"),75208:t.r(19,0,t.cx,2,[1692,1232,1230,1785,1791,1787,1736,1665,1231,1194,1296,158,1133,1066,1056,1044,866,848,844,843,842,818,408,359,277,993,1353,105,1793,1792,109,1720,1667,1666,1645,1501,1500,1499,1498,1058,1038,921,553,548,281,278,276,275,181,117,116,115,114,113,112,111,108,107,106,95,78]),75209:t.r(19,0,t.cx,2,[1606,1218,628,286,1684,1213,195,1021,765,1411,1412,452,1402,1820,1828,1836,1556,1678,24,23,22,1503,698,1140,1130,1117,1116,1115,1490,883,944,952,854,786,543,684,1136,1484,522,705,990,268,92,33,31,102,101,100,99,98,1809,1724,1566,1404,706,1128,1127,913,639,629,1808,979,1826,1798,857,1796,1776,1727,1721,1691,1707,1688,1687,1685,986,1662,1661,925,1643,1642,1646,1644,1467,1620,1615,1432,1431,1570,1564,1571,1568,1565,1561,1608,1544,1543,1523,1616,590,1704,1706,1705,1460,1558,1442,1457,1456,997,1494,1445,1430,1429,1451,1450,1433,1471,1422,1416,1454,1453,1414,1413,734,700,699,674,646,645,1348,1347,1346,704,1368,1320,1306,694,689,1522,620,691,1246,1247,1245,1224,1212,592,1217,1214,1184,1179,1210,1205,1181,1144,1329,642,1068,1104,1070,1071,676,1134,1106,1037,962,1683,889,926,922,914,933,932,18,951,853,801,779,781,766,794,643,640,709,624,1485,737,648,654,660,657,655,652,651,1531,649,1701,637,593,598,17,16,15,574,575,768,1073,545,635,634,633,632,1700,631,1465,1428,1427,939,480,519,499,492,513,477,622,448,334,336,443,446,436,1699,1698,945,447,1696,183,1697,421,389,333,395,410,343,661,441,1426,1425,370,401,419,335,427,362,1343,344,619,269,617,615,88,86,992,588,599,771,1268,1775,1774,903,1222,252,1532,1287,924,563,495,1515,1838,1694,1671,733,730,1536,729,1610,1563,1560,1605,377,727,728,725,1573,726,1539,1516,1473,716,1449,1495,1493,1496,1441,722,721,720,718,1337,703,702,701,697,696,708,1339,1338,1345,1344,707,1354,690,695,693,711,692,682,681,1271,1364,683,963,1186,1185,1139,673,1703,1702,675,672,671,666,232,686,653,1834,576,266,1813,501,623,688,611,618,258,229,187,616,613,1772,1771,1770,1769,1768,1767,1766,1765,1764,1763,1762,1761,1760,1759,1758,1757,1756,1755,1754,1753,1752,1751,1750,1749,1748,1747,1746,1745,1744,1743,1742,1741,1740,1739,1738,1735,1734,1733,1732,1731,1737,1668,346,1567,1535,1502,1384,1237,1236,1235,1234,1211,1220,73,1155,999,978,954,955,782,788,783,764,763,762,761,760,759,758,757,756,755,444,664,665,724,589,439,607,606,508,1459,1482,445,491,262,130,186,138,257,1690,1562,1492,1351,1444,1099,911,251,1481,797,793,638,573,1611,625,14,423,369,353,342,185,25,869,909,882,934,915,1031,1028,1022,1006,1010,1011,1206,104,800,1197,159,1574,1153,1148,732,1648,1635,1619,97,1146,261,1461,1472,1452,21,20,19,1391,1458,920,413,412,47,1638,1321,1637,1677,1639,119,1788,1695,1636,1617,1599,1586,1555,1541,1529,1527,1521,1486,1479,1443,1415,1400,1399,1398,1397,1396,1395,1394,1383,1367,1307,1296,1294,1244,1233,1229,1221,1219,1209,1207,1202,1183,1180,1178,1177,1176,1175,1174,1173,1172,1171,1170,1169,1168,1151,1150,1149,1119,1118,1114,1105,1094,1064,1036,1016,994,977,960,959,958,943,942,941,940,938,937,936,935,929,881,879,863,849,839,838,829,735,723,678,677,663,662,658,650,641,627,621,612,594,591,587,584,583,582,"ETF",542,541,529,511,509,506,481,475,471,453,432,431,422,414,409,408,407,406,404,403,402,400,398,396,393,392,388,371,368,341,338,331,330,329,328,327,326,325,324,323,322,321,320,319,317,316,315,313,312,311,310,309,308,307,306,305,304,303,302,301,300,299,298,297,296,295,294,293,292,291,290,289,288,287,285,284,283,282,256,255,254,253,250,246,241,240,238,237,236,235,234,233,231,230,228,227,226,225,224,223,222,221,220,219,218,217,216,215,214,213,212,211,210,209,208,207,206,205,204,203,202,201,200,199,198,197,196,194,193,192,184,182,179,178,177,155,154,153,152,151,150,149,148,147,146,145,144,143,142,141,140,139,137,136,135,134,133,131,103,83,81,65,64,42,28,27,26]),75210:t.r(19,0,t.cx,2,[787,571,349,1015,1081,1069,1039,1017,1018,1013,1035,989,931,912,910,814,780,767,775,799,754,679,865,824,825,830,817,826,827,856,876,891,966,890,873,1825,1263,1823,1824,1806,1795,1730,1681,1658,1621,1614,1613,1552,1581,1578,1551,1550,1533,1520,1466,1480,1478,1497,1448,1424,1390,1365,1363,1360,1352,1350,1342,1309,1682,1362,1357,1356,864,1359,1358,1366,1298,1293,1288,1289,1299,1278,1276,1274,1273,1270,1265,1269,802,1238,1228,1193,1188,1187,1152,1101,1096,1095,626,685,636,572,564,540,1164,1618,527,524,512,502,498,496,493,489,487,485,484,609,405,1227,397,363,132,332,274,273,272,271,267,374,242,239,190,189,175,174,523,168,128,32,94,93,89,1091,867,1790,1789,1782,1656,1655,1604,1483,1447,1417,1409,1408,1407,1406,1401,1312,1311,1310,1308,1138,1137,1093,1092,1090,1089,1088,1087,1086,1085,1084,1083,1082,1080,1079,1078,1077,1076,1075,995,859,858,855,852,847,846,845,841,840,832,831,828,821,820,819,528,526,525,520,516,497,494,424,170,167,164,162,82,80,79,76,75,74,72,71,70,68,66,46,45]),75211:t.r(19,0,t.cx,2,[1693,1469,1468,"PRPINS",1319,1318,1297,"MINS1","MINS","LINS1","LINS","LIFINS",1012,996,"ISLINS","INSR","INSB",888,"HEAINS",280,110]),75212:t.r(19,0,t.cx,2,[581,"ANGL","ARWTEA","ARMTEA","ARWIND","ARMIND","ARCH","AQSPO",345,"CANO",180,"SQUA","CARDIO","YACH","XCTY","WSPO","WRW69K","WRW63K","WRW58K","WRW48K","WRMFSH","WRMF97","WRMF86","WRMF74","WRMF65","WRMF57","WRM98K","WRM85K","WRM75K","WRM66K","WRM59K","WRM130","WRES","WPWPOL","WPMPOL","WLW76K","WLW75K","WLW69K","WLW63K","WLW58K","WLW53K","WLW48K","WLM94K","WLM85K","WLM77K","WLM69K","WLM62K","WLM56K","WLM106","WLM105","WEIG","WCUP","WATS","WATP","VOWVBL","VOMVBL","VOLL","TTWTEM","TTWSIN","TTMTEM","TTMSIN","TRWTRI","TRMTRI","TRIA","TKWHVW","TKW67K","TKW57K","TKW49K","TKMHVW","TKM80K","TKM68K","TKM58K","TEXDOB","TEWSIN","TEWDOB","TENP","TENN","TEMSIN","TEMDOB","TAEK","TABT","SYWTEA","SYWDUE","SYNCS","SWW80F","SWW50F","SWW4XM","SWW4X2","SWW4X1","SWW4IM","SWW40F","SWW2IM","SWW2BU","SWW2BR","SWW2BA","SWW20F","SWW1BU","SWW1BR","SWW1BA","SWW10F","SWM50F","SWM4XM","SWM4X2","SWM4X1","SWM4IM","SWM40F","SWM2IM","SWM2BU","SWM2BR","SWM2BA","SWM20F","SWM1BU","SWM1BR","SWM1BA","SWM15F","SWM10F","SWIM",1623,"SUMO","STSK","SRPT","SRFNG","SREP","SPS","SPRV","SPOSTO","SPOSHO","SPORET","SPOOL","SPOLO","SPOGDS","SPOCLO","SPO","SPEE","SOFT","SOCE",1588,1587,"SNOO","SNO","SKIJ","SKAT","SKAE","SHWTRA","SHWSKE","SHWR3X","SHW25P","SHW10R","SHW10P","SHOO","SHMTRA","SHMSKE","SHMR3X","SHMDOB","SHM5RP","SHM50P","SHM10R","SHM10P","SFNAL","SDOG","SCHED","SBOATS","SBOAT","SBIZ","SAWRSX","SAWLAS","SAW49","SAW470","SAMRSX","SAMN","SAMLAS","SAMFIN","SAM49R","SAM470","RUGU","RUGS","RUGL","RUGBYW","RUGBYM","RSLT","ROWSS","ROWPAR","ROWLDS","ROWI","ROWDS","ROW8","ROW4S","ROMSS","ROMPAR","ROMLDS","ROML4","ROMDS","ROM8","ROM4S","ROM4","RELX1","RELX","RALL","RACETR","QRND","QFNAL","PUBSPO","PROSPO","PROLY","PBOAT","ORENT","OLY","OLT","OLRES","OLM","OLF","OLE","NORS",1203,1196,"NETB","NBA","MTPIX","MTHN","MSWMW","MSWMM","MPWMOP","MPMMOP","MOTBIK",1132,"MODE",1125,1124,"MMA","MARTS","LUGE","LINKS","LESR","LACR","KARA","JUW79K","JUW78K","JUW70K","JUW63K","JUW57K","JUW52K","JUW48K","JUM90K","JUM81K","JUM73K","JUM66K","JUM60K","JUM101","JUM100","JUDO","JE",956,946,"ICEH",868,"HOWHKY","HORS","HOMHKY","HOCK","HKW","HKM","HKC","HBWHBL","HBMHBL","HAND","GYMSPA","GYMN","GTWTRP","GTMTRP","GRWTEA","GRWIAA","GOLFOW","GOLFOM",790,"GAWVAL","GAWUBA","GAWTEA","GAWIAA","GAWFEX","GAWBEA","GAMVAL","GAMTEA","GAMRIN","GAMPHO","GAMPBA","GAMIAA","GAMHBA","GAMFEX","FSKI",715,680,"FNCSHO","FIGS","FEWTSB","FEWTEP","FEWISB","FEWIFO","FEWIEP","FENC","FEMTFO","FEMTEP","FEMISB","FEMIFO","FEMIEP","FBWSOC","FBO","FBMSOC","FBC","EXEFIT","ESPO","EQXTJP","EQXTDR","EQXT3D","EQXIJP","EQXIDR","EQXI3D","EQUE",547,"DVWS3M","DVWS10","DVW3SP","DVW10P","DVMS3M","DVMS10","DVM3SP","DVM10P",530,"DRTS",510,"DIVE","CYCL","CURL","CTWTSP","CTWTPU","CTWSPR","CTWOMN","CTWKEI","CTMTSP","CTMTPU","CTMSPR","CTMOMN","CTMKEI","CSWK1","CSMK1","CSMC2","CSMC1","CRWTT","CRWRR","CRMTT","CRMRR","CRIC","CMWBIK","CMMBIK","CLMB","CLEB","CGC","CFWK45","CFWK25","CFWK15","CFWK12","CFMK41","CFMK22","CFMK21","CFMK12","CFMK11","CFMC21","CFMC12","CFMC11","CBWBMX","CBMBMX","BXW75K","BXW60K","BXW51K","BXM92K","BXM91K","BXM81K","BXM75K","BXM69K","BXM64K","BXM60K","BXM56K","BXM52K","BXM49K","BVWVOL","BVOLL","BVMVOL","BOXI","BOWL","BOBS","BOAR","BKWBBL","BKW","BKO","BKMBBL","BKC","BILL","BIAT","BDXDOB","BDWSIN","BDWDOB","BDMSIN","BDMDOB","BBN","BASK","BASE","BADM",129,"AUSR","ATWSP","ATWPOL","ATWMAR","ATWLJP","ATWJAV","ATWHJP","ATWHEP","ATWHAM","ATWH40","ATWH10","ATWDIS","ATW800","ATW5K","ATW4X4","ATW4X1","ATW400","ATW3KS","ATW3JP","ATW20W","ATW200","ATW150","ATW10K","ATW100","ATMSP","ATMPOL","ATMMAR","ATMLJP","ATMJAV","ATMHJP","ATMHAM","ATMH40","ATMH10","ATMDIS","ATMDEC","ATM800","ATM5K","ATM50W","ATM4X4","ATM4X1","ATM400","ATM3KS","ATM3JP","ATM20W","ATM200","ATM150","ATM10K","ATM100","ATHL","ASG"]),75213:t.r(19,0,t.cx,2,[44,"AGRI","AGRCWH","AGRC1","AGRC",43,41,40]),75216:t.r(19,0,t.cx,2,["ACCU","LKD1",710,"WRCRIM","WRCRI1",1783,"UNGUN","UNGUN1",1726,"UNCOMP","LUN","UNCREF","TRRES","TCRIM","TRAGD","TERRO","TENV","SMGLNG","SEXEX","SCRIM","SECSER","SNCTN1","RGHTIS","REGENF",1389,"PRXF","RECLL",85,1305,1304,1355,"LKDPAR","LKDPA",1784,1659,1540,1519,1241,1517,949,861,479,1514,434,1240,1723,1239,1200,1518,1154,"LOTTOP",1014,1009,1007,1008,668,1003,1004,667,1033,1001,980,503,985,981,950,877,878,656,605,953,1020,905,1446,884,887,886,885,837,1679,862,860,836,822,355,478,610,712,1575,1576,1837,595,567,1686,562,1799,536,504,470,500,488,486,318,"CWDSRC",364,435,433,608,247,279,418,380,420,416,379,378,811,368,357,1794,354,987,988,350,337,"BUS",438,244,"BRANDS",248,437,1129,35,34]),75219:t.r(19,0,t.cx,2,["TRNSSH","TACQC","TXTCON","TNKERS",1673,"TNKCLN","TNKBRG","SUPVSL","SPLNT","STNCAR","SPECVS","SPDCAR","CPSZSM","SHPB1","SHPB","SHPREP","SHPPAR","SVCVSL","SRCHEN","SCHRES","DRWN","SALVVS","VESSA","SAILTV","PURECC","PORTS","PORWAR","PORTOP","PATRLV",1361,"PNMXDB","OTHTNK","OFFVSL","MORVSL","MGASC","SHP","PRTSV1","PRTSV","FERRYS",1538,1537,"MARCAR","MARINA","LNGTAN","LNGTNK","LIVCAR","LATTNK","CPSZLG","DREDKL",947,"DREDHO",1488,1487,"GTKS","GENCAR",719,713,714,"FIFIVS","FERVSL",476,"DRYBR","DRLVSL","DRDGR",532,"CREWBT","CNTCAR","CFERRY","BUOYLH","BLKRS","BRTHS",245,"MDS","TUGVSL","VSSLS","UTLVSL","URECAR","UNCVSL","UNCTNK","WKRPVS","YACHT","BUNTNK","ANCRGS","AHTUG","LOGTIP","MOLTNK","PASVSL","PASCAR","MINBDB","HLCAR","HNDYSZ","DRYBLK","WSTDVS",560,"PLAVSL","PILOTV","BARCAR","PNMXOV","MDMOT","LPGTNK","HNDYMX","HNDYOT","EDOTNK","CRNSHP","ASBTNK","CRUISL","CPRLTM","MTM","SEALOG"]),75220:t.r(19,0,t.cx,2,["MOSTRD","VOIPS","VGAME","MTVID","VID","TVVID","TPX","LINSI","TVBCST","TELE","TSUB","INFO","STREAM","SPECPR",1589,"SOCMED","SMED","RDSHWS","RFC1","RPCV","RBCST","OUTADV","OBIT","PUB","MDIA","KPIMED","ADBUY","MAGPUB","PHON1","PHON","SINFLU","HLGT","GUMKTG","EXHBCO","EXCLSV","ENTPRD","SHOW1","SHOW","DIRPUB","DIGPUB","DIGMED","DASS","CPLD","CPCV","COLO","CSMSS","CLICKS","CLCKR","TBCS","BCSTEQ","BCST1","BCST","ALTCOM","ADVRT","ADVMK1","ADVMK","ADV"]),75223:t.r(19,0,t.cx,2,["WLEST",1722,"TSTLAB",1602,"CMPSSC","SCPREQ",1534,1476,"RSCHVS","RCHSUM","RRDIG","PSYCHO","NNTEC","JSRES","IOTCR","INNVTN","RRIND","EDU",1034,776,774,773,173]),75224:t.r(19,0,t.cx,2,[52,91,1156,483,1802,1107,49,1023,482,399,62,1601,1600,1603,1708,1640,991,"CRSH",96,67,63,61,60,59,58,57,56,55,54,53,51,50,48,38,37,36,30,29]),75225:t.r(19,0,t.cx,2,["MILITC","MILCLO","BOMB","MINSGN","MINES","SECSUR","NAVNAV",1542,"INSURG","GUNCTR","EXPLSV",449,"TRAGU",87,483,1802,1107,482,38,37,36]),75226:t.r(19,0,t.cx,2,["PLTN","TRN",1674,"TOPALL","SIGNWS","SIGGEN","TOPNP",1675,"NEWPUB","NEWSPR","NPLN","NWSCNF","NEWR","NEWSAG",1195,1242,1569,"NPLC","SIGIND","NWSPRT","PRESS",1803,"NMKR","JLN","JIJ+","JDOM","INGE","HOY","CWIN","CNEWS"]),75228:t.r(19,0,t.cx,2,[1797,1660,1651,1649,1593,1554,1624,1596,1595,1585,1607,1549,1592,1548,1547,1546,1530,1491,1594,430,1314,1277,1462,1833,965,961,917,964,644,630,1590,558,557,555,550,552,551,554,546,823,815,360,172,157,1676,1267,12,1385,1525,1072,1074,1145,561,1002,1801,1800,1583,1582,339,747,521,531,1835,1832,1815,1816,1819,1818,1817,736,1652,1647,1654,1653,1670,1584,1577,1524,1316,1313,1135,1147,1191,1190,1264,1192,1403,647,376,1591,1315,1122,1123,1121,1120,1208,1057,533,1830,948,930,835,798,411,365,366,265,1143,928,813,812,514,923,1131,84,372,1526,1393,314,394,816,510,442,429,13,11]),75231:t.r(20,0,38),75232:t.r(19,0,t.cx,2,["COMMUT","PCARD","TRAVAG","TRNSPT","KPITRN",1680,"TNPT","TNSI","TRNGVS","TRNSTN","TRAF","ROROS","ROROCO",1405,"RIGCNT","REVCLD","RPM","RPK","REGAIR","RFERS","RAILOP",1392,"RAILCO","RRL","RAILSE",1470,"RAILTR","TUGPSH","RRLP1",1489,"ROROPA","PAXM","PLF","PASSCO","PRKLOT","IMUS","INMOPT","INTLOG","RDRL1","RDRL","ROADOP","GTOUR","FSRU","FSO","FRJTNK","FPSO","ELCOEQ",426,425,"CNTROR","CTRAF",417,"PRVAIR","OTHSPC","CARGM","SUPDI"]),75244:t.r(51,88,23,19),75245:t.r(48,19,88,23),75246:t.r(51,72,10,47),75247:t.r(48,47,72,10),75249:t.q(t.cw(1,t.a([t.ps(0,804),t.ps(3,806),t.os(t.s,1,["govt/public service employee",1854,1876])]),t.ge(1))),75250:t.q(t.cw(1,t.o([t.ref(5),t.ps(1,984),t.ref(19)]),t.ge(1))),75251:t.q(t.cw(1,t.a([t.ps(1,984),t.ref(5),t.ref(19)]),t.ge(1))),75326:t.q(t.acqs([t.ocqs([t.itp("eyeota","61",!1,"75326"),t.itp("liveramp_ShareThis","1005652221",!1,"75326"),t.itp("eyeota","34905",!1,"75326"),t.itp("eyeota","34905",!1,"75326")]),t.ocqs([t.itp("liveramp_ShareThis","1005134739",!1,"75326"),t.itp("liveramp_Bombora","1000095954",!1,"75326"),t.itp("liveramp_ShareThis","1001011249",!1,"75326"),t.itp("eyeota","35307",!1,"75326")])])),75329:t.r(6,[t.itp("eyeota","61",!1,"75329"),t.itp("eyeota","34894",!1,"75329"),t.itp("eyeota","6565",!1,"75329"),t.itp("liveramp_DunandBradstreet","1001204299",!1,"75329"),t.itp("eyeota","6558",!1,"75329")],[t.itp("eyeota","267",!1,"75329"),t.itp("eyeota","12961",!1,"75329"),t.itp("eyeota","34823",!1,"75329")]),75331:t.r(0,t.itp("eyeota","6620",!1,"75331"),t.itp("eyeota","6700",!1,"75331"),t.ocqs([t.itp("liveramp_Bombora","1005389999",!1,"75331"),t.itp("eyeota","6615",!1,"75331"),t.itp("liveramp_DunandBradstreet","1001204289",!1,"75331"),t.itp("liveramp_DunandBradstreet","1001204289",!1,"75331"),t.itp("eyeota","35119",!1,"75331")])),75349:t.r(19,0,t.cx,2,["IPPREN",1829,1822,1814,1807,1709,1663,1597,1553,1475,1474,1439,1438,1437,1436,1435,1434,1370,1317,871,870,834,778,777,586,191,171,169,166,165,163,161,160,156]),75351:t.r(19,0,t.cx,2,["COMTNK","MINCOA","COALIQ",387,386,385,384,383,382]),75352:t.r(19,0,t.cx,2,["Nap","GPTU","JETFL","JETFG","JETFCL","JETFCG","IPPFOS","UTLFF","USCRU","REFGEN","PNMXOT","OILWEL","OILTNK","OSLTNK","GASU1","OILI08","CRU","INBOE","GASADD",1729,1728,1598,1557,1528,1463,1421,1420,1388,1349,1326,1303,1302,1300,1275,1272,1266,1262,1261,1260,1259,1258,1257,1255,1254,1253,1252,1251,1250,1249,1248,1243,1201,1198,1163,1126,1032,1027,1024,976,851,770,769,753,752,751,750,749,597,596,568,518,517,505,381,260,39]),75353:t.r(19,0,t.cx,2,["HELE1","HELE","ENQ","ELCGRD","ELEU","ELUT1","ELUT","CABLES","BATUPS"]),75354:t.r(19,0,t.cx,2,["NGASD","COASOT","SUEZMX","SMLLOT","OBOCAR"]),75355:t.r(19,0,t.cx,2,["CAISO1","PTCHMP",560,"THMCRK","TNKFRM","RIGUTL","RIGHRS","GENPOW","PWRGEN","OTHPWR","ODRLOF","UTLNUC","NUCGEN","INDSWG","INPP1","INPP","PLHYD","HYDCRK","PLAETH","BDSPWR","RIGRAT","OILRIG",1773,1419,1369,1335,1324,1256,1226,1225,1223,1189,875,748,556,390]),75357:t.r(19,0,t.cx,2,["AUSCRU","SEACRU","RUSCRU","NWEE","NSCRU","NASIAE","NASCRU","NAMERE","MECRU","LATCRU","EMACRU","CANCRU","ASCRU",77,"AMCRU","AFRCRU"]),75358:t.r(19,0,t.cx,2,[1811,1827,1821,1810,1669,1340,1167,810,381,367,361,358,356,118]),75359:t.r(19,0,t.cx,2,["RECRAT",1804,1418]),75360:t.r(19,0,t.cx,2,["ENVS1","ENVS","GEOSUR"]),75361:t.r(40,2,381),75365:t.r(19,0,t.cx,2,[1820,1828,1836,709,992,1599,1367,941,612,432]),75366:t.r(19,0,t.cx,2,[195,1808,1467,1212,960,1636,1529,1527,1521,1400,1399,1398,1397,1396,1394,1383,1294,1221,1219,1178,1177,1175,1174,1173,1172,1171,1170,1169,1036,935,863,594,542,511,471,431,331,330,329,328,327,326,325,323,322,321,320,319,317,316,315,313,312,311,310,309,308,307,306,305,303,302,301,300,299,298,297,296,295,294,293,292,291,290,289,288,287,285,284,283,282,256,255,254,253,246,241,240,238,237,236,235,234,233,231,230,228,227,226,225,224,223,222,221,220,219,218,217,216,215,214,213,212,211,210,209,208,207,206,205,204,203,202,201,200,199,198,197,196,194,193,192,184,179,178,177,155,154,153,152,151,150,149,147,145,144,143,142,141,139,137,136,135,134,133,131]),75367:t.r(19,0,t.cx,2,[1402,617,937,879,250]),75368:t.r(19,0,t.cx,2,[396,338]),75369:t.r(20,0,78),75370:t.r(19,0,t.cx,2,[1606,1218,1503,698,1140,1130,1117,1116,1115,1490,883,944,952,854,1136,1484,522,705,990,268,92,33,31,979,1826,1796,1727,1721,1691,1707,1688,1687,1685,986,1662,1661,925,1643,1642,1646,1644,1620,1608,1544,1543,1523,1616,590,1704,1706,1705,1460,1558,1442,997,1494,1445,734,700,699,694,1522,1179,1210,1205,1181,1329,642,1068,1070,1071,676,1134,1106,889,926,914,801,779,643,640,737,648,654,660,657,655,652,651,1531,649,1701,637,593,598,17,16,15,575,768,545,635,634,633,632,1700,631,480,519,499,492,513,477,622,448,446,436,1699,1698,945,447,1696,183,1697,421,395,410,343,661,441,419,335,427,362,1343,344,619,269,615,252,1287,924,1838,1694,1671,733,730,1536,729,1610,1563,1560,1605,377,727,728,725,1573,726,1539,1516,1473,716,1449,1495,1493,1496,1441,722,721,720,718,1337,703,702,701,697,696,708,1339,1338,1345,1344,707,1354,690,695,693,711,692,682,681,1271,1364,683,963,1186,1185,1139,673,1703,1702,675,672,671,666,232,653,1834,576,266,1813,501,623,688,611,618,258,229,187,616,613,1492,1351,1458,1695,1479,1443,1119,1105,1094,1016,929,650,641,621,506,481,422,409,408,407,406,368,182,83,81,42,28,27]),75371:t.r(19,0,t.cx,2,[1128,1127,26]),75372:t.r(20,0,118),75374:t.r(19,0,t.cx,2,[786,1566,1561,574,1073,1567]),75375:t.r(19,0,t.cx,2,[660,723,731,677,659,658]),75376:t.r(19,0,t.cx,2,[396,1307,1151,1150,1149,958,942,941,829,735]),75377:t.r(19,0,t.cx,2,[1150,781,766,794,800,1197,159,1574]),75378:t.r(19,0,t.cx,2,[913,922,1639]),75379:t.r(20,0,75),75380:t.r(19,0,t.cx,2,[1555,839,838]),75382:t.r(19,0,t.cx,2,[765,102,101,100,99,98,1772,1771,1770,1769,1768,1767,1766,1765,1764,1763,1762,1761,1760,1759,1758,1757,1756,1755,1754,1753,1752,1751,1750,1749,1748,1747,1746,1745,1744,1743,1742,1741,1740,1739,1738,1735,1734,1733,1732,1731,1737,1237,1236,1235,1234,764,763,762,761,760,759,758,757,756,755,589]),75383:t.r(19,0,t.cx,2,[1320,1306,1296,414,393,392,388]),75384:t.r(19,0,t.cx,2,[1346,1367]),75385:t.r(19,0,t.cx,2,[1411,1412,905,1570,1457,1456,1430,1429,1451,1450,1454,1453,1414,1413,1245,903,"T26",1415]),75386:t.r(19,0,t.cx,2,[1617,857]),75387:t.r(19,0,t.cx,2,[1775,1774,1773,1641]),75391:t.r(19,0,t.cx,2,[286,1213,1021,1776,588,599,771,1668,346,1535,1502,1384,1211,1220,73,1155,999,978,954,955,782,788,783,664,665,508,262,130,1638,1321,1637,1677,119,1586,1529,1527,1398,1396,1395,1394,1244,1233,1229,1219,1209,1207,1202,1183,1180,1178,1177,1176,1173,1171,1168,1114,1036,994,977,936,863,849,627,541,511,509,453,341,328,326,324,320,319,313,306,305,304,299,297,294,288,285,283,282,238,236,231,230,226,225,224,222,221,220,217,215,214,213,212,211,208,205,204,198,184,148,146,140,131]),75394:t.r(19,0,t.cx,2,[1569,85,1333,1799,1803]),75396:t.r(130,25),75397:t.r(19,0,t.cx,2,[1081,1069,1039,1017,1018,1013,1035,989,931,912,910,814,780,767,775,799,754,865,824,833,825,830,817,826,827,856,876,891,966,890,873,1825,1263,1823,1824,1806,1795,1730,1681,1658,1621,1614,1613,1552,1581,1578,1019,1551,1550,1533,1520,1466,1448,1424,1410,1390,1365,1363,1360,1352,1350,1342,1309,1362,1357,1356,864,1359,1358,1366,1298,1293,1288,1289,1299,1278,1276,1274,1273,1270,1265,1269,802,1238,1228,1193,1188,1187,1165,1152,1101,1096,1095,626,685,636,572,564,540,527,524,512,502,498,496,493,489,487,485,484,609,405,1227,397,363,132,332,351,274,273,272,271,270,267,374,242,239,190,189,175,174,523,168,128,32,94,93,89,867,1782,1655,1483,1417,1401,1311,1310,1308,1075,528,526,525,497,424,170,82,80,79,72,71,70,68,46,45]),75406:t.r(130,78),75424:t.r(130,75),75452:t.r(20,0,25),75931:t.r(19,0,t.cx,2,[349,132,332]),75932:t.r(19,0,t.cx,2,[1069,1039,1017,989,912,910,814,780,767,754,825,830,817,826,827,1823,1730,1614,1613,1552,1581,1578,1533,1466,1448,1424,1360,1350,1362,1366,1293,1288,1289,1299,1278,1276,1274,1273,1270,1265,1269,802,1238,1228,1193,1188,1187,1152,1101,1096,1095,626,685,636,572,564,540,502,498,496,493,489,487,485,484,405,397,274,273,272,271,374,242,239,190,189,175,174,523,168,128,32,94,93,89,867,424,82,80,68,46]),75933:t.r(19,0,t.cx,2,[1656,1655,1092,1087,1086,1083,1079,1078,859,841,76,75,74]),75934:t.r(19,0,t.cx,2,[775,828]),75935:t.r(19,0,t.cx,2,[1164,1618,1091,1085,819,66]),75938:t.r(19,0,t.cx,2,[679,1480,1478,1497,1682,995,821,820]),75939:t.r(19,0,t.cx,2,[1390,787,571,1015,1312,1138,1137,1076,167,164,162]),75940:t.r(19,0,t.cx,2,[1081,1018,1013,1035,931,799,865,824,856,876,891,966,890,873,1825,1263,1824,1806,1795,1681,1658,1621,1551,1550,1520,1365,1363,1352,1342,1309,1357,1356,864,1359,1358,1298,527,524,512,609,1227,363,267,1782,1483,1417,1401,1311,1310,1308,1075,528,526,525,497,170,79,72,71,70,45]),75941:t.r(19,0,t.cx,2,[1409,1408,1407,1406]),75942:t.r(19,0,t.cx,2,[1604,1447,1093,1090,1089,1088,1084,1082,1080,1077,858,855,852,847,846,845,840,832,831,520,516,494,72,71]),75943:t.q(t.cw(0,t.o([t.os(t.cx,2,[1790,1789,528]),t.os(t.cx,9,["Animal Breeding (TRBC level 5)","Animal Welfare","Veterinary Medical Equipment & Supplies (TRBC level 5)","Veterinary Services (TRBC level 5)","Veterinary Drugs (TRBC level 5)"])]),t.ge(1))),75944:t.r(40,2,"LIF"),75945:t.r(19,0,t.cx,2,["TEX","SYNFAB","SYNFIB","FABDYE","woo","SLK",1166,"CLOWHL","APRET1","APRET","WEAR1","WEAR","WOMSHO","WOMCLO","WOMRET","TEENFR","MENSHO","MENCLO","MENRET","FLWON",1053,1054,1046,1045,1052,1042,1043,1041,"LNGRIE","LEIS","LTHRGD","KNITW","JEWRET","WKWEAR","HSRY","LUGRET","HANDLG","HAIRAC","SHORET","SHOE1","SHOE","PRMSAC","DENIMS","GLSSES","CHLDSH","CHLRET","CHLDCL",614,"DUTYFR",1055,1047,"SHOWHL","TXTWHL","TXTL1","TXTL","APPA","ACCSRY"]),75946:t.r(40,2,"BRV"),75947:t.r(19,0,t.cx,2,[359,277,993,1353,105,1793,1792,109,1667,1666,1501,1500,1499,1498,921,116,115,112,108,107,106,95]),75948:t.r(19,0,t.cx,2,[1038,553,548,281,78]),75949:t.r(19,0,t.cx,2,[1232,1230,1785,1791,1787,1736,1665,1231,1194,276,275,117]),75950:t.r(40,2,1296),75953:t.r(2,0,t.o([t.os(t.cx,2,[1056,1044]),t.os(t.cx,9,["Living / Lifestyle","Luxury Goods / Services"])]),0,t.os(t.cx,9,["Automotive Body Parts (TRBC level 5)","Automotive Systems (TRBC level 5)","Automotive Accessories (TRBC level 5)","Automobiles & Auto Parts (TRBC level 3)","Auto Vehicles","Auto"]),1,1),75954:t.r(19,0,t.cx,2,[158,1133,181,114,113]),75955:t.r(19,0,t.cx,2,[1692,408,1720,1645,1058,278]),75956:t.r(19,0,t.cx,2,[1066,866,848,844,843,842,818]),76182:t.r(19,0,t.cx,2,[1019,"PETPLA","PETSTO",1301,"PSTCON",1790,1789,"PETCLO","FISHWS","FARM1","FARM",528,"ANWE","ANIFOD","ANIBRE"]),76183:t.r(19,0,t.cx,2,["FURNTR","PHOTEQ","MUSRET","THEACO","THEATR","THTR","INSTRM","CRUSE","CTY",569,"ART",1141,669]),76184:t.r(19,0,t.cx,2,["BOOKPR","EBOOKS","BKS","BOOKPB","BOKRET"]),76185:t.r(19,0,t.cx,2,[373,"DLTK","DBTR","FCACC","CTWIN","CTTER","FTOP","ORDR","CFO1","CEO1","BOARD1","ACB1","ACB",1103,428,1440,1162,"ADMIS","RRCMP","WAREHO","WAREHS","TMLN","VLLAS","PUBREL","MKTCON","MNGCON","TTINPR","HRSCON","EDPMG","TTEARN","ANACT","CCOS","CLYLTY","TTINCA","CNFCLS","CALCEN","ADSIGN","PMI","STAT","PRSNTS","MTNGS","INTER","TTGUCA","TTEAPC","TTECCA","COMLND","COMDOC",1423,"OUTSTA",998,795,"COMS1","COMS","BGDS1","BGDS","BSUP1","BSUP","FBARR"]),76186:t.r(19,0,t.cx,2,[473,1593,1554,1596,1595,1592,1594,1833,1590,157,1267,1120,515,474,469]),76187:t.r(19,0,t.cx,2,[795,979,"NEWJBS",1005,"PLCNG","HRSC1","HRSC","EMPLP",1336]),76190:t.r(19,0,t.cx,2,["EVT","ROY","RE","CLBBRS","CEREM"]),76191:t.r(19,0,t.cx,2,["COF","COCOIL","coc","CTRNG","SUPERM",176,"CHS","BWLSTO","MISO1","MEAL",1331,"MALTP","FRUVEG",243,"ABBATR",833,"SWTNRS","SPECFO","SNACKS","SEAPRO",1410,"SFTBV1","SFTBV",717,"RFOD1",1464,"FOD","ENERGD","DAIRPR","CMEAT","COFTEA",270,"BEV","GRA","BEER1",1786,"FODPR1","FODPR","FDK","BEER","YARGDS","WINTNK","WINE1","WHT","VGOTNK","VGOSTR","VEGFAR","TEA","SNFOIL","SUGFAR","SUG","SHFV","SOOLPR","SOIL","SOY1","SORG","SFTS","COFROB","RICE1","RBN","RAPOIL","PLTRY","PORBEL","PORPRO","PIGHOG","PNTOIL","POIL","ORJ","OLVOIL","OILS","MLK","LIV",850,"HALFOD","FRUITD","FOODWS","FOBE","FODS","FLOMIL",472,"COROIL","COR","BEEFAR","CTTL",249,"BEVS","CTTLB","BRLY","BABYFO","T01",687,"FOODIN","ALCBV"]),76192:t.r(19,0,t.cx,2,[1050,1040,1048,1049,"KITRET","KITAPP","HSEPR1","HSEPR","HSEGDS","CELE","HOMAPP",1609,"RDIY1","RDIY","HOMFUR","RHOM1","RHOM","HMFRN1","HMFRN","HOMRET","NRSFRN"]),76193:t.r(20,0,50),76195:t.r(19,0,t.cx,2,["AMSMNT","TOUR","RSORTS",1051,"STAY","HOTELS","KPIHOS","FEASTS","FSTFOD","RESBR1","RESBR",1609,"LEI","ENTS","BANDB"]),76196:t.r(19,0,t.cx,2,[1624,1277,965,"PRIS1",1591,"PRIS","ITSE1","ITSE","ITGOV"]),76199:t.r(19,0,t.cx,2,[1355,1009,1007,1008,247,418,35,34]),76208:t.r(19,0,t.cx,2,["CHE","ADPOLY","CLEANS","TANSOF","SPECWH","CHMSP1","CHMSP","TRAD08","CHEMDV","CDIV08","CHEM","ETHCR","FERTIL","FERT"]),76209:t.r(19,0,t.cx,2,["SLCN","T14","PRECAL","LEAD1","SEMGEM","SEMI","SEMWHL",1545,"SEMEQW","ZNORE","URNPRO","URANM1","URANM","URAN","TGSN","TTNM","TNTE","STL","STE","SSTE","MEMIWH","MEMI1","MEMI","XAGCC",1572,1579,"SLNM","SCRP","RTNM","RUB","RHDM","RHEN","RAWM","RAREE","REARTH","PALPNI","GDM",1341,"POTH","XPTCC","PGM",1327,"PHOS","XPDCC",1290,"PREC1","PREC","NFERPR","NFERMN","NIOB","NKL","MLDM","MINMTL","MINE","MGS","MGSM","LITH","FERR","IRONOR","IRN","IRDM","INDI","GLDREF","XAUCC",785,792,791,789,"GALL","EPOXY","DIAMIN","COTFAR","COPMIN","CPPR","COMIN","CKCOAL","CBLT","COOTNK","CHR","CHMTNK","CDMM","BSMH","BAUXTE","MINEAL","BMAT","BASMTL","VNDM","URNMIN","ELI",348,347,"ALMSMT","GRMN","IRNST1","IRNST","REFAL","ALUM1","ALUM","ALU","ALMWHL","ALMROL","ALMREF"]),76210:t.r(19,0,t.cx,2,[1784,1659,1540,1519,1241,1517,949,861,479,1514,434,1240,1723,1239,1518,1154,1014,668,1003,1004,667,1033,1001,980,503,985,981,950,877,878,656,605,953,1020,1446,884,887,886,885,837,1679,862,860,836,822,355,478,610,712,1575,1576,1837,595,567,1686,562,536,504,470,488,486,364,435,433,608,279,380,420,416,379,378,811,368,357,1794,354,987,988,350,337,438,244,248,"LKDBS",1165,437,"WICRIM",1129]),76211:t.r(19,0,t.cx,9,["MIS","ZNC","WOODPR","HOOTNK","WATR","COT"]),76213:t.r(19,0,t.cx,2,["OFFWHL","OFCE","OFFTEC","OFFSTO","OFFSUP","OFFURN","OFFEWS","OFEREN","OFCE1"]),76214:t.r(19,0,t.cx,2,[500,"CVN",1569,85,1333,1799,1803]),76217:t.r(19,0,t.cx,2,["WOODWH","LNDRYS","ANTQS","WOOCON","WINES",1805,"VENDMP","USEDMS","UUPP","TRNINT","TOYRET","TOYWHL","PLAY1","PLAY","TREVPA","TOOLSH","STCNT","STODEV","STRGE","SPCRET","SOFRET","SSF","RTKS","RTMS","RVIS","REVRTM","REVRTK","RPMY","RPKY","REVPAR","RASM","RASK",1455,"RTLAP","HMEDGN","RECPR1","RECPR","PUMPUM","CMSS","PANS","SHPMNT","PRDLCH","PREFAB","POSSS","PLMBNG","PRFMCE","PSVC1","PRASM","PRASK","PAPR1","PAPR","PPKGWH","CRDBX1","CRDBX","PAINTC","PWRET","OCR","STOPN","NWP","RETS1","RETS","METROL","INTMDS","MAILOD","HOBRET","GSF","GOPPAR","GMV","GIFSTO","GENEDS","DEPTG","FRNRET","CRPRET","DGOOD","DRSWIN","LIQS1","LIQS","DSGRNO","DISGRO","DISC1","DISC","DEPT1","DEPT","CYCP","BRWCRA","COURR","CPM","CASM","CASK","TLTRIS","CONSV","CSENT","READ1","READ",415,"CONPR",1182,"CGRENT","AVMS","GAMVEH","DOLLST","CHOCS","CARCUR","FNAL","FEA","FBOX","EXPLN","PRIN1","PRIN","BRUSHS","PACK","CPMWHL","DSGANO","DISGAS","TIN1","FURGDS","ELEQWH","BALROL","CNSREP","CELRET","ANTQD",1559,"AIRGAS"]),76218:t.r(19,0,t.cx,2,[348,347,1797,1660,1651,1649,1585,1607,1549,1548,1547,1546,1530,1491,430,1314,1462,961,917,964,644,630,558,557,555,550,552,551,554,546,823,815,360,172,1676,12,1385,1525,1072,1074,1145,561,"EWEAR","TECONS","TBLTS","CMPTAB",1002,"CELEWS","CHSRET","RETE1","RETE",1801,1800,1583,1582,339,747,521,531,1835,1832,1815,736,1584,1577,1524,1316,1313,1135,1147,1191,1190,1264,1192,1403,647,376,1315,1122,1123,1121,1208,1057,533,1830,948,930,835,798,411,365,366,265,1143,928,813,812,514,923,1131,84,372,1526,1393,314,394,816,510,442,429,11]),76219:t.r(20,0,38),76220:t.r(19,0,t.cx,2,[1816,1819,1818,1817,1652,1647,1654,1653,1670,13]),76223:t.r(19,0,t.cx,2,["CIGS",352,"TOBSTO",351,"TOBFAR","CIGS1","FOTB","TOBPRO"]),76325:t.r(47,"reutersagency.com"),77830:t.r(72,"77830","77830","833004899","77830",96,96),77831:t.r(76,"77831","77831","1650281721","77831",123,["3HujZT9l","u8xxRG4v"]),77832:t.q(t.ocqs([t.cw(1,t.bsc_(3,["zhyXfX2X"]),t.ge(1)),t.isp("reuters_authencated_users","77832",!1,"77832"),t.isp("liveramp_Reuters_reuters","357986319",!1,"77832")])),77833:t.r(58,t.ref(119),"reuters_authencated_users","77833",!1,"77833","liveramp_Reuters_reuters","115863937",!1,"77833","liveramp_Reuters_reuters","780166356",!1,"77833",2,t.ref(119),t.ge(1),1),77834:t.r(72,"77834","77834","1552326041","77834",48,48),77835:t.r(75,"77835","77835","1228090043","77835",3,["rzvdFzlO"],3,["TAYmTBUe","rzvdFzlO"]),77836:t.r(72,"77836","77836","1388475931","77836",1,1),77837:t.r(58,t.bsc_(3,["pwnBHaf6"]),"reuters_authencated_users","77837",!1,"77837","liveramp_Reuters_reuters","589573201",!1,"77837","liveramp_Reuters_reuters","1963923238",!1,"77837",2,t.bsc_(3,["6dkVhDXl","bohkcH+p"]),t.ge(1),1),77838:t.q(t.ocqs([t.cw(1,t.a([t.y(3,1874),t.ps(3,1874)]),t.ge(1)),t.isp("reuters_authencated_users","77838",!1,"77838"),t.isp("liveramp_Reuters_reuters","1880494985",!1,"77838"),t.cw(2,t.a([t.y(3,1627),t.ps(3,1627)]),t.ge(1))])),77839:t.q(t.ocqs([t.cw(1,t.bsc_(3,["IEA2oe9u","QrMnlHkr","q21bJMog"]),t.ge(1)),t.isp("reuters_authencated_users","77839",!1,"77839"),t.isp("liveramp_Reuters_reuters","895675154",!1,"77839"),t.cw(2,t.y(3,1633),t.ge(1))])),77846:t.r(60,t.bsc_(1,["joWhH/Ms"]),t.ref(87),"reuters_authencated_users","77846","77846"),77847:t.r(72,"77847","77847","503311935","77847",108,108),78882:t.r(23,0,7,"Finance"),78884:t.r(23,0,7,"Energy"),78885:t.r(27,["0Biwguij"]),78892:t.r(46,10,264),78894:t.r(26,["1yiD84/1"]),78899:t.r(22,0,t.y(10,1861),t.y(7,1861),t.ps(8,"reuters.com/markets/")),78901:t.r(26,["Qkhk1Sl+"]),78903:t.r(26,["1EOhGFV1"]),78904:t.r(26,["isS9PZRU"]),78906:t.r(26,["teJWydA/"]),78908:t.q(t.cw(0,t.o([t.os(t.w,10,["sustainability","Sustainability"]),t.pe(7,"Sustainable Business")]),t.ge(1))),78912:t.r(24,0,10,"Legal"),78913:t.r(26,["XJy0mPVA"]),79013:t.r(47,"change-suite"),79019:t.r(100,"eyeota","6525","79019","liveramp_MeritDirect","1006274711","79019","liveramp_Bombora","1005229509","79019","liveramp_Bombora","1005198549","79019","liveramp_IXIDigital","1003985989","79019","liveramp_IXIDigital","1003985999",!1,"79019"),79023:t.r(115,"35220","79023","5","79023","liveramp_ShareThis","1005135229","79023","liveramp_Bombora","1005251369","79023","liveramp_Bombora","1005229499","79023","1005251359","79023","liveramp_IXIDigital","1003985959","79023"),79026:t.r(98,"liveramp_Bombora","1000093724","79026","liveramp_Bombora","1000093724","79026","liveramp_Bombora","1005198529",!1,"79026","liveramp_Mastercard","1005907031",!1,"79026","liveramp_ShareThis","1005651551",!1,"79026"),79091:t.r(40,2,90),79093:t.r(19,0,t.cx,2,[360,366]),79151:t.r(64,15,85,86,42),79153:t.r(64,15,45,69,45),79156:t.q(t.ocqs([t.cw(1,t.a([t.ref(69),t.ref(81)]),t.ge(1)),t.cw(2,t.a([t.os(t.w,1,[808,984]),t.ref(14)]),t.ge(1))])),79168:t.r(66,11,1779,33,14,11,1779),79169:t.r(66,11,454,33,14,11,454),79170:t.r(66,11,1778,33,14,11,1778),79171:t.r(66,11,744,33,14,11,744),79172:t.r(66,11,803,33,14,11,803),79173:t.r(17,1,t.pe(11,"Switzerland"),33),79872:t.r(67,740,117,["18pHf78g","4MeVcajC","QWRgZGFi","SIhYLkmA","Wvm0ZwSs"],740),79873:t.r(69,"79873",t.ref(45),45),79874:t.r(69,"79874",t.bsc_(1,["4MeVcajC","i1PR+xUJ"]),81),79876:t.q(t.ocqs([t.cw(1,t.a([t.y(0,1711),t.bsc_(1,["18pHf78g","4MeVcajC","PXWzdfHa","SIhYLkmA","Wvm0ZwSs","kgzSpGU+"])]),t.ge(1)),t.cw(2,t.a([t.y(0,1711),t.bsc_(1,["18pHf78g","4MeVcajC","PXWzdfHa","SIhYLkmA","Wvm0ZwSs"])]),t.ge(1))])),79877:t.r(66,0,1711,45,45,0,1711),79878:t.r(66,0,1711,81,115,0,1711),81119:t.r(106,"liveramp_Bombora","1005389199","81119","liveramp_ShareThis","1001013139","81119","liveramp_ShareThis","1003624539","81119","liveramp_Bombora","1000096354","81119","liveramp_Bombora","1005388509","81119","liveramp_IPSOS","1002976916","81119","liveramp_ShareThis","1003624629","81119","liveramp_StatSocial","1006914021","81119","liveramp_33across","1002459906","81119","liveramp_33across","1002459906","81119","liveramp_StatSocial","1006913981","81119","liveramp_IXIDigital","1000089844","81119","liveramp_AnalyticsIQ","1000691436","81119","liveramp_ShareThis","1003629199","81119","1001204239","81119","liveramp_Bombora","1005387479","81119","liveramp_IXIDigital","1000089754","81119","liveramp_ShareThis","1001011049","81119","eyeota","48","81119"),81351:t.r(64,24,115,52,81),81352:t.r(64,24,45,52,45),81353:t.r(64,24,85,52,7),81356:t.r(66,0,127,81,115,0,127),81357:t.r(66,0,127,45,45,0,127),81361:t.r(66,0,127,7,85,0,127),81364:t.r(65,461,81,115,66),81365:t.r(65,461,45,45,66),81366:t.r(65,461,7,85,66),81367:t.r(66,0,601,81,115,0,601),81368:t.r(66,0,601,45,45,0,601),81369:t.r(66,0,601,7,85,0,601),81372:t.r(65,741,81,90,98),81373:t.r(65,741,45,45,98),81374:t.r(65,741,7,85,98),81375:t.r(66,0,121,81,115,0,121),81376:t.r(66,0,121,45,45,0,121),81378:t.r(66,0,121,7,85,0,121),81379:t.r(65,967,81,115,105),81380:t.r(65,967,45,45,105),81381:t.r(65,967,7,42,105),81518:t.r(65,1372,81,115,77),81519:t.r(65,1372,45,45,77),81520:t.r(65,1372,7,42,77),81521:t.r(66,0,1504,81,115,0,1504),81522:t.r(66,0,1504,45,45,0,1504),81523:t.r(66,0,1504,7,85,0,1504),81526:t.r(65,1505,81,115,76),81529:t.r(65,1505,45,45,76),81530:t.r(65,1505,7,85,76),81534:t.r(65,1508,81,115,65),81535:t.r(65,1508,45,45,65),81537:t.r(65,1508,7,85,65),81539:t.r(66,0,1631,81,115,0,1631),81540:t.r(66,0,1631,45,45,0,1631),81550:t.r(66,0,970,81,115,0,970),81551:t.q(t.cw(1,t.a([t.y(0,970),t.os(t.w,1,["Sr Manager/Sr Editor/Director/Dept Head",1159]),t.ref(45)]),t.ge(1))),81552:t.r(67,970,7,["18pHf78g","Ldld7CTt","Pa+V8Ifk","SIhYLkmA","Wvm0ZwSs"],970),81553:t.r(66,0,1060,81,115,0,1060),81554:t.r(66,0,1060,45,45,0,1060),81686:t.r(66,0,1060,7,42,0,1060),81687:t.r(66,0,1161,81,115,0,1161),81688:t.r(66,0,1161,45,45,0,1161),81689:t.r(66,0,1161,7,85,0,1161),81690:t.r(66,0,1200,81,115,0,1200),81691:t.r(66,0,1200,45,45,0,1200),81692:t.r(66,0,1200,7,85,0,1200),81694:t.r(66,0,1712,81,115,0,1712),81695:t.r(66,0,1712,45,45,0,1712),81696:t.r(66,0,1712,7,85,0,1712),81697:t.r(65,1715,81,115,97),81701:t.r(65,1715,45,45,97),81702:t.r(65,1715,106,85,114),81703:t.r(65,1717,81,115,74),81704:t.r(65,1717,45,45,74),81705:t.r(65,1717,83,85,114),83160:t.r(19,0,t.s,18,[1850]),83161:t.r(19,0,t.s,18,[1859,"lnkd"]),83162:t.r(19,0,t.s,18,[1853]),83163:t.r(26,["MuCnrXij"]),83164:t.r(26,["HGMP3xC9"]),83165:t.r(26,["pB4/RYgo"]),83166:t.r(26,["pYYePk/I"]),83271:t.r(107,"liveramp_AnalyticsIQ","1002176626","83271","eyeota","288","83271","35491","83271","liveramp_Experian","1007229021","83271","liveramp_Yougov","1006281291","83271"),83515:t.r(95,"liveramp_AnalyticsIQ","1002176626",!1,"83515","liveramp_Yougov","1006281291",!1,"83515","eyeota","35491",!1,"83515","eyeota","288",!1,"83515"),83833:t.r(81,.17052868),85883:t.r(40,2,1320),85884:t.r(44),85885:t.r(40,2,1119),85886:t.r(40,2,1683),85887:t.r(40,2,1827),85888:t.r(40,2,1534),85889:t.r(40,2,1167),85988:t.r(7,[t.itp("liveramp_MeritDirect","1002714776",!1,"85988"),t.itp("eyeota","35052",!1,"85988"),t.itp("eyeota","34850",!1,"85988")],"eyeota","6594","85988","268","85988","eyeota","51","85988","eyeota","35263","85988"),86042:t.r(100,"liveramp_MeritDirect","1002714866","86042","liveramp_IXIDigital","1003987359","86042","eyeota","34905","86042","liveramp_Acxiom","1003644309","86042","liveramp_DunandBradstreet","1000310196","86042","liveramp_MeritDirect","1002714696",!1,"86042"),86999:t.r(6,[t.itp("eyeota","61",!1,"86999"),t.itp("liveramp_MeritDirect","1002714166",!1,"86999"),t.itp("liveramp_Bombora","1005390079",!1,"86999"),t.itp("liveramp_ShareThis","1005652221",!1,"86999"),t.itp("liveramp_DunandBradstreet","1000310916",!1,"86999"),t.itp("liveramp_Bombora","1000096194",!1,"86999"),t.itp("liveramp_DunandBradstreet","1001640156",!1,"86999")],[t.itp("liveramp_ShareThis","1001600626",!1,"86999"),t.itp("liveramp_Experian","1004265219",!1,"86999"),t.itp("liveramp_ShareThis","1001600626",!1,"86999"),t.itp("liveramp_Bombora","1000093944",!1,"86999"),t.itp("liveramp_ShareThis","1001013139",!1,"86999"),t.itp("liveramp_DunandBradstreet","1001204219",!1,"86999"),t.itp("liveramp_Bombora","1005388509",!1,"86999"),t.itp("liveramp_StatSocial","1006912421",!1,"86999"),t.itp("eyeota","6593",!1,"86999"),t.itp("eyeota","35075",!1,"86999")]),87442:t.r(40,2,1242),87443:t.r(40,2,473),87444:t.r(40,2,1823),87445:t.r(41),87446:t.r(40,2,361),87448:t.r(45),87450:t.r(40,2,1434),88033:t.r(19,0,t.s,8,["utm_source=newsletter&utm_medium=email&utm_campaign=","utm_source=sailthru&utm_medium=email&utm_campaign=","utm_term=the%20reuters%20daily%"]),88034:t.r(19,0,t.s,8,["utm_campaign=global-healthcare"]),88035:t.r(47,"utm_campaign=global-investor"),88036:t.r(47,"utm_campaign=reuters-business"),88037:t.r(19,0,t.s,8,["utm_campaign=daily-briefing","utm_term=the%20reuters%20daily%20briefing"]),88038:t.r(19,0,t.s,8,["utm_campaign=technology-roundup","utm_term=technology%20roundup%20"]),88039:t.r(19,0,t.s,8,["utm_campaign=afternoon"]),88040:t.r(19,0,t.s,8,["utm_campaign=daily-docket","utm_term=dailydocket"]),88041:t.r(35,1884,["tenn","TEN"],1713),88042:t.r(36,t.pc_(9,790),790,2,790),88043:t.r(47,"reuters.com/lifestyle/sports/tennis/"),88044:t.r(19,0,t.s,8,["reuters.com/lifestyle/sports/golf/"]),88127:t.r(57,t.a([t.os(t.s,13,[1871]),t.os(t.s,20,[1871])]),1855,1855,"Event | Reuters NEXT"),88140:t.q(t.ocqs([t.cw(1,t.o([t.pe(23,"true"),t.y(5,1860)]),t.ge(1)),t.isp("reuters_authencated_users","88140",!1,"88140")])),88315:t.r(19,0,t.s,8,["reutersevents.com/oilandgas/"]),88413:t.r(37,"reuters.com/business/cop/",16,"https://www.reuters.com/business/cop/"),88783:t.r(78,"88783","88783","801394156","88783",3,1281,3,1281),88788:t.q(t.ocqs([t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74258)),t.cw(4,t.pe(4,74258)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74260)),t.cw(4,t.pe(4,74260)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74261)),t.cw(4,t.pe(4,74261)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74262)),t.cw(4,t.pe(4,74262)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74264)),t.cw(4,t.pe(4,74264)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74265)),t.cw(4,t.pe(4,74265)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74267)),t.cw(4,t.pe(4,74267)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74268)),t.cw(4,t.pe(4,74268)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74257)),t.cw(4,t.pe(4,74257)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74269)),t.cw(4,t.pe(4,74269)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74274)),t.cw(4,t.pe(4,74274)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74275)),t.cw(4,t.pe(4,74275)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74276)),t.cw(4,t.pe(4,74276)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74277)),t.cw(4,t.pe(4,74277)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74278)),t.cw(4,t.pe(4,74278)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74279)),t.cw(4,t.pe(4,74279)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74270)),t.cw(4,t.pe(4,74270)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74271)),t.cw(4,t.pe(4,74271)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74272)),t.cw(4,t.pe(4,74272)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74273)),t.cw(4,t.pe(4,74273)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74280)),t.cw(4,t.pe(4,74280)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74281)),t.cw(4,t.pe(4,74281)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74282)),t.cw(4,t.pe(4,74282)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74283)),t.cw(4,t.pe(4,74283)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],77830)),t.cw(4,t.pe(4,77830)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74285)),t.cw(4,t.pe(4,74285)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74286)),t.cw(4,t.pe(4,74286)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],77831)),t.cw(4,t.pe(4,77831)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],77832)),t.cw(4,t.pe(4,77832)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],77833)),t.cw(4,t.pe(4,77833)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74287)),t.cw(4,t.pe(4,74287)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74288)),t.cw(4,t.pe(4,74288)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],77834)),t.cw(4,t.pe(4,77834)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74289)),t.cw(4,t.pe(4,74289)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74290)),t.cw(4,t.pe(4,74290)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74291)),t.cw(4,t.pe(4,74291)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74292)),t.cw(4,t.pe(4,74292)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74293)),t.cw(4,t.pe(4,74293)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74294)),t.cw(4,t.pe(4,74294)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],77835)),t.cw(4,t.pe(4,77835)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],77836)),t.cw(4,t.pe(4,77836)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],88783)),t.cw(4,t.pe(4,88783)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],77837)),t.cw(4,t.pe(4,77837)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],77838)),t.cw(4,t.pe(4,77838)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],77839)),t.cw(4,t.pe(4,77839)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74295)),t.cw(4,t.pe(4,74295)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74296)),t.cw(4,t.pe(4,74296)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74297)),t.cw(4,t.pe(4,74297)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74298)),t.cw(4,t.pe(4,74298)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74299)),t.cw(4,t.pe(4,74299)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],77846)),t.cw(4,t.pe(4,77846)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74300)),t.cw(4,t.pe(4,74300)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],77847)),t.cw(4,t.pe(4,77847)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74304)),t.cw(4,t.pe(4,74304)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74301)),t.cw(4,t.pe(4,74301)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74302)),t.cw(4,t.pe(4,74302)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],74303)),t.cw(4,t.pe(4,74303)),t.ge(1))])),88810:t.r(47,"technology/reuters-momentum"),88887:t.q(t.tw(t.cw("RegistrationImpressionSeen",t.t,t.ge(1)),24192e5)),88890:t.r(128,1296e6,t.t,2),88891:t.q(t.tw(t.cw(0,t.t,t.le(1)),1296e6)),88919:t.r(19,0,t.s,8,["reutersevents.com/pharma"]),88920:t.r(19,0,t.s,8,["reutersevents.com/downstream"]),88921:t.r(19,0,t.s,8,["reutersevents.com/renewables"]),88922:t.r(19,0,t.s,8,["reutersevents.com/nuclear"]),88924:t.r(19,0,t.s,8,["reutersevents.com/oilandgas"]),88925:t.r(19,0,t.s,8,["reutersevents.com/supplychain"]),88926:t.r(19,0,t.s,8,["reutersevents.com/travel"]),88927:t.r(19,0,t.s,8,["reutersevents.com/insurance"]),88928:t.r(19,0,t.s,8,["reutersevents.com/marketing"]),88930:t.r(19,0,t.s,8,["reutersevents.com/sustainability"]),88931:t.r(19,0,t.s,8,["reutersevents.com/technology"]),89015:t.r(19,0,t.s,8,["reutersevents.com/pharma/events-list"]),89016:t.r(19,0,t.s,8,["reutersevents.com/downstream/events-list"]),89017:t.r(19,0,t.s,8,["reutersevents.com/renewables/upcoming-events"]),89018:t.r(19,0,t.s,8,["reutersevents.com/nuclear/upcoming-events"]),89019:t.r(19,0,t.s,8,["reutersevents.com/oilandgas/events-list"]),89020:t.r(19,0,t.s,8,["reutersevents.com/supplychain/events-list"]),89021:t.r(19,0,t.s,8,["reutersevents.com/travel/events-list"]),89023:t.r(19,0,t.s,8,["reutersevents.com/insurance/events-list"]),89024:t.r(19,0,t.s,8,["reutersevents.com/marketing/events-list"]),89025:t.r(19,0,t.s,8,["reutersevents.com/sustainability/events"]),89026:t.r(19,0,t.s,8,["reutersevents.com/technology/events-list"]),89650:t.r(19,0,t.s,8,["reutersevents.com/events/momentum"]),90505:t.r(40,2,569),90507:t.r(40,2,614),90993:t.r(98,"liveramp_IXIDigital","1000089794","90993","liveramp_Epsilon","1003068406","90993","liveramp_Epsilon","1000455586",!1,"90993","liveramp_Acxiom","300132299",!1,"90993","liveramp_Acxiom","300129601",!1,"90993"),90994:t.q(t.ocqs([t.itp("eyeota","13226",!1,"90994"),t.itp("liveramp_Acxiom","1005523959",!1,"90994"),t.itp("eyeota","35714",!1,"90994"),t.itp("liveramp_Acxiom","300633499",!1,"90994")])),90995:t.r(100,"liveramp_Acxiom","300495199","90995","liveramp_CoreLogic","1000869226","90995","liveramp_ShareThis","1001601066","90995","liveramp_ShareThis","1003624669","90995","liveramp_Experian","1003187369","90995","liveramp_Acxiom","1276",!1,"90995"),90996:t.r(98,"liveramp_IXIDigital","1000089814","90996","liveramp_Acxiom","300131399","90996","liveramp_Acxiom","300130899",!1,"90996","liveramp_Acxiom","300131499",!1,"90996","liveramp_Acxiom","300142399",!1,"90996"),90998:t.r(117,"1005523929","90998","liveramp_Acxiom","300050799","90998"),90999:t.r(100,"eyeota","48","90999","liveramp_Acxiom","1005523989","90999","liveramp_ShareThis","1003624639","90999","liveramp_ShareThis","1001011059","90999","liveramp_33across","1002463256","90999","liveramp_33across","1002461086",!1,"90999"),91e3:t.r(95,"liveramp_Experian","1004267839",!1,"91000","liveramp_Acxiom","300140499",!1,"91000","liveramp_Epsilon","1005786101",!1,"91000","liveramp_Acxiom","300503399",!1,"91000"),91002:t.r(101,"liveramp_Acxiom","300143199","91002","liveramp_Acxiom","300543999","91002","liveramp_Epsilon","1003068386","91002","liveramp_Epsilon","1005786081","91002","liveramp_Experian","1004268899","91002","liveramp_IXIDigital","1000089784","91002","liveramp_Acxiom","300431905","91002"),92784:t.r(19,0,t.s,8,["westlaw.com"]),92785:t.r(37,"legal.thomsonreuters.com",8,"https://legal.thomsonreuters.com/en"),94563:t.r(96,"liveramp_Acxiom","10821",!1,"94563","liveramp_Acxiom","2098",!1,"94563","liveramp_Acxiom","300125104",!1,"94563","liveramp_Acxiom","2097",!1,"94563","liveramp_IPSOS","1002977016",!1,"94563","liveramp_IPSOS","1002977006",!1,"94563","liveramp_AnalyticsIQ","1000690616",!1,"94563","liveramp_AnalyticsIQ","1003520589",!1,"94563","liveramp_AnalyticsIQ","1003520579",!1,"94563","liveramp_AnalyticsIQ","1003520599",!1,"94563"),94834:t.q(t.cw(0,t.a([t.ref(118),t.os(t.w,25,["Oceania","Asia"])]),t.ge(1))),94837:t.r(18,0,t.ref(118),21,["+2HIqOui","+SvLagbS","+rGlI5Eg","/0Y20Mr2","/7Dq+Zjm","0RW41ay4","0aoFA2Eq","1+BFO7Sv","1oGysMz1","1riX/RRa","1xU+ZwK0","26hnibU+","2Jc7jt/l","2qakidvK","3PJe1WyV","43cqxLTb","5RM1iXwO","5btZonMZ","5xtW2SNH","6SkEvOgC","6yEx7ODv","7fQE0Nsy","850oAhgS","8Klto/hq","8U5Gzn0J","AnoSwvyF","BaFcGKID","DOZbJtzT","E29dtd50","EIL4kRVi","EZO6MfEJ","F9U+Dmpo","GAyJv1DI","GAyXq9uA","GHQK9bzs","GlkaPpH8","Gu2ezG4b","H+9CkJJH","HDmr9o6T","HtXdnYM/","IKjfm3YD","JhYNI/sH","MJSdX0pp","MX26yQdD","MuCH8Jm+","NascPeba","Nf2hf/Bf","NzYW45+0","OuEcclww","PZH3Yxuo","PtEEM36x","QTSelVfl","R5+zS9v0","RhdYW4dJ","SQKkVsqp","TBl9/Wfx","Tf3xley3","TvnGcyDm","UHZyHEBg","VZSdTBZj","WSL1zu/z","WTkFsxly","X/A7cnOx","XHdyY1jF","XKp/gRta","XLTJ2CgX","YKiwxt5v","YqxZtyVc","Z0An4XsO","ZofhiW3Y","b0nDEZL1","bGsbKz7M","bTG/ANft","c6fd1QXy","cmah2n46","ct3Sthmv","d9zYSeVQ","dKeIzuJ9","ebnSc6xt","fDmXT0Sy","fjgL6Nwo","g+8+bO6D","gOrzCHsL","h/0778zm","hSrdq5Ac","hfo1W9tP","iJIk4/yi","idoSTgTf","jkCAnkdP","k7Er9X8Y","kRPGwMH5","kylbDHa5","l0LQCMQg","l2kSHxD3","l5G8TXJz","mIRV5n33","nTvR+1J4","oG3NcTKP","pAqb4Aqa","pCUioM3W","pJUZC8wu","qE9W8uan","rDPWQfTJ","rXnvDwdt","s8ku7PCq","sHy5orJI","sN3OD1TJ","tHtU/TpG","tsFJw+AE","v+ed687d","vWrMhibR","wUw23/ym","xfW7OzUH","yQmxOOuo","yVHsAPEj","yYXfCAnD"]),94838:t.r(17,0,t.y(21,1779),118),95544:t.r(29,t.pe(7,"Motor-sports"),743,["CAR",1132,680],743),96352:t.r(26,["Q/Kl9MG+"]),96354:t.r(26,["JZRLBqOF"]),96401:t.r(19,0,t.w,7,["charged","Charged"]),98386:t.r(20,0,55),99781:t.r(33,13,"robot",2,[1513,1476])}),rootCompressionLookup:t=>[(e,r,n)=>t.q(t.acqs([e,r,n])),(e,r,n,i,a,s)=>t.q(t.acqs([t.cw(e,r,t.ge(i)),t.cw(n,t.ref(s),t.ge(a))])),(e,r,n,i,a,s)=>t.q(t.acqs([t.cw(e,r,t.ge(a)),t.cw(n,i,t.ge(s))])),(e,r)=>t.q(t.acqs([t.cw(1,t.a([t.ref(r),t.ref(e)]),t.ge(1)),t.cw(1,t.ref(56),t.ge(1))])),(e,r)=>t.q(t.acqs([t.cw(1,t.a([t.y(0,r),t.ref(e)]),t.ge(1)),t.cw(1,t.ref(56),t.ge(1))])),(e,r,n)=>t.q(t.acqs([t.cw(1,t.ref(93),t.ge(1)),t.cw(e,r,t.ge(1)),t.cw(6,n,t.e(0))])),(e,r)=>t.q(t.acqs([t.ocqs(e),t.ocqs(r)])),(e,r,n,i,a,s,o,c,u,l,f,p)=>t.q(t.acqs([t.ocqs(e),t.ocqs([t.itp(r,n,!1,i),t.itp("eyeota",a,!1,s),t.itp(o,c,!1,u),t.itp(l,f,!1,p)])])),(e,r,n)=>t.q(t.acqs([t.ocqs(e),t.ocqs([t.itp("eyeota","12967",!1,r),t.itp("eyeota","35295",!1,n)])])),(e,r,n,i)=>t.q(t.acqs([t.ocqs([t.cw(1,t.ref(i),t.ge(1)),t.isp("reuters_authencated_users",r,!1,n)]),t.cw(1,t.ref(e),t.ge(1))])),(e,r,n)=>t.q(t.acqs([t.ocqs([t.cw(1,t.y(0,n),t.ge(1)),t.isp("reuters_authencated_users",e,!1,r)]),t.cw(1,t.ref(56),t.ge(1))])),(e,r,n,i)=>t.q(t.acqs([t.ocqs([t.cw(1,t.ps(n,i),t.ge(1)),t.isp("reuters_authencated_users",e,!1,r)]),t.cw(1,t.ref(53),t.ge(1))])),(e,r,n)=>t.q(t.acqs([t.ocqs([t.cw(1,t.ps(n,1281),t.ge(1)),t.isp("reuters_authencated_users",e,!1,r)]),t.cw(1,t.ref(53),t.ge(1))])),(e,r,n,i,a,s,o)=>t.q(t.acqs([t.ocqs([t.itp(n,i,!1,a),t.itp("eyeota",s,!1,o)]),t.itp("eyeota",e,!1,r)])),(e,r,n,i,a,s,o)=>t.q(t.acqs([t.itp("eyeota","46",!1,e),t.ocqs([t.itp(r,n,!1,i),t.itp(a,s,!1,o)])])),(e,r)=>t.q(t.cw(e,r,t.ge(1))),(e,r,n)=>t.q(t.cw(e,t.a([r,n]),t.ge(1))),(e,r,n)=>t.q(t.cw(e,t.a([r,t.ref(n)]),t.ge(1))),(e,r,n,i)=>t.q(t.cw(e,t.a([r,t.bsc_(n,i)]),t.ge(1))),(e,r,n,i)=>t.q(t.cw(e,t.os(r,n,i),t.ge(1))),(e,r)=>t.q(t.cw(e,t.ref(r),t.ge(1))),(e,r,n)=>t.q(t.cw(e,t.bsc_(r,n),t.ge(1))),(e,r,n,i)=>t.q(t.cw(e,t.o([r,n,i]),t.ge(1))),(e,r,n)=>t.q(t.cw(e,t.pe(r,n),t.ge(1))),(e,r,n)=>t.q(t.cw(e,t.ps(r,n),t.ge(1))),(e,r)=>t.q(t.cw(0,t.a([t.os(t.s,13,r),t.os(t.cx,12,e)]),t.ge(1))),e=>t.q(t.cw(0,t.bsc_(7,e),t.ge(1))),e=>t.q(t.cw(0,t.bsc_(10,e),t.ge(1))),e=>t.q(t.cw(0,t.bsc_(16,e),t.ge(1))),(e,r,n,i)=>t.q(t.cw(0,t.o([e,t.pc_(12,r),t.os(t.cx,2,n),t.pc_(9,i)]),t.ge(1))),(e,r,n)=>t.q(t.cw(0,t.o([e,t.ps(r,n)]),t.ge(1))),(e,r,n,i,a,s,o,c)=>t.q(t.cw(0,t.o([t.os(e,r,n),t.os(i,a,s),t.os(t.s,o,c)]),t.ge(1))),(e,r,n,i)=>t.q(t.cw(0,t.o([t.os(t.cx,n,i),t.os(t.s,e,r)]),t.ge(1))),(e,r,n,i)=>t.q(t.cw(0,t.o([t.os(t.cx,n,i),t.ps(e,r)]),t.ge(1))),(e,r)=>t.q(t.cw(0,t.o([t.os(t.s,14,r),t.ps(8,e)]),t.ge(1))),(e,r,n)=>t.q(t.cw(0,t.o([t.pc_(12,e),t.os(t.cx,2,r),t.pc_(9,n)]),t.ge(1))),(e,r,n,i)=>t.q(t.cw(0,t.o([t.pc_(12,r),t.pc_(n,i),e]),t.ge(1))),(e,r,n)=>t.q(t.cw(0,t.o([t.pe(r,n),t.ps(8,e)]),t.ge(1))),(e,r,n)=>t.q(t.cw(0,t.o([t.ps(r,n),t.os(t.s,8,e)]),t.ge(1))),(e,r,n,i)=>t.q(t.cw(0,t.o([t.ps(n,i),t.ps(e,r)]),t.ge(1))),(e,r)=>t.q(t.cw(0,t.pc_(e,r),t.ge(1))),()=>t.q(t.cw(0,t.pc_(2,341),t.ge(1))),()=>t.q(t.cw(0,t.pc_(2,772),t.ge(1))),()=>t.q(t.cw(0,t.pc_(2,927),t.ge(1))),()=>t.q(t.cw(0,t.pc_(2,1329),t.ge(1))),()=>t.q(t.cw(0,t.pc_(2,1559),t.ge(1))),(e,r)=>t.q(t.cw(0,t.y(e,r),t.ge(1))),e=>t.q(t.cw(0,t.ps(8,e),t.ge(1))),(e,r,n)=>t.q(t.cw(1,t.a([t.ref(r),t.ref(n),t.ref(e)]),t.ge(1))),(e,r)=>t.q(t.cw(1,t.a([t.y(0,740),t.pe(1,r),t.ref(e)]),t.ge(1))),e=>t.q(t.cw(1,t.bsc_(11,e),t.ge(1))),(e,r,n)=>t.q(t.cw(1,t.o([t.ref(e),t.ref(r),t.ref(n)]),t.ge(1))),e=>t.q(t.cw(2,t.os(t.w,e,[null,0]),t.ge(1))),e=>t.q(t.cw(5,t.ps(17,e),t.ge(1))),(e,r,n,i,a,s,o)=>t.q(t.ocqs([e,r,n,i,a,s,o])),(e,r,n,i,a,s,o,c,u,l,f,p,d)=>t.q(t.ocqs([e,r,n,i,a,s,o,c,u,l,f,p,d])),(e,r,n,i)=>t.q(t.ocqs([t.cw(e,r,t.ge(1)),t.cw(n,i,t.ge(1))])),(e,r,n,i)=>t.q(t.ocqs([t.cw(0,t.o([t.y(16,r),t.ps(8,n)]),t.ge(1)),t.cw(0,e,t.ge(1)),t.cw(7,t.a([t.ps(26,i),t.ps(27,1872)]),t.ge(1))])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S)=>t.q(t.ocqs([t.cw(1,e,t.ge(S)),t.isp(r,n,i,a),t.isp(s,o,c,u),t.isp(l,f,p,d),t.cw(m,g,v)])),(e,r,n,i,a,s,o,c,u,l,f)=>t.q(t.ocqs([t.cw(1,e,t.ge(1)),t.isp(r,n,!1,i),t.isp("liveramp_Reuters_reuters",a,!1,s),t.isp("liveramp_Reuters_reuters",o,!1,c),t.isp("liveramp_Reuters_reuters",u,!1,l),t.cw(2,f,t.ge(1))])),(e,r,n,i,a)=>t.q(t.ocqs([t.cw(1,e,t.ge(1)),t.isp(n,i,!1,a),t.cw(2,r,t.ge(1))])),(e,r,n,i,a,s,o)=>t.q(t.ocqs([t.cw(1,e,t.ge(1)),t.isp("liveramp_Reuters_reuters","499692590",!1,r),t.isp("liveramp_Reuters_reuters",n,!1,i),t.isp("liveramp_Reuters_reuters",a,!1,s),t.cw(2,o,t.ge(1))])),(e,r,n)=>t.q(t.ocqs([t.cw(1,t.a(r),t.ge(1)),t.isp("liveramp_Reuters_reuters","529699189",!1,e),t.cw(2,t.a(n),t.ge(1))])),(e,r,n,i)=>t.q(t.ocqs([t.cw(1,t.a(n),t.ge(1)),t.isp("liveramp_Reuters_reuters",e,!1,r),t.cw(2,t.a(i),t.ge(1))])),(e,r,n,i)=>t.q(t.ocqs([t.cw(1,t.a([t.ref(n),t.ref(i)]),t.ge(1)),t.cw(2,t.a([t.ref(e),t.ref(r)]),t.ge(1))])),(e,r,n,i)=>t.q(t.ocqs([t.cw(1,t.a([t.ref(i),t.ref(r)]),t.ge(1)),t.cw(2,t.a([t.y(0,e),t.ref(n)]),t.ge(1))])),(e,r,n,i,a,s)=>t.q(t.ocqs([t.cw(1,t.a([t.y(a,s),t.ref(n)]),t.ge(1)),t.cw(2,t.a([t.y(e,r),t.ref(i)]),t.ge(1))])),(e,r,n,i)=>t.q(t.ocqs([t.cw(1,t.a([t.y(0,i),t.ref(r)]),t.ge(1)),t.cw(2,t.a([t.y(0,e),t.bsc_(1,n)]),t.ge(1))])),(e,r,n,i,a,s,o,c)=>t.q(t.ocqs([t.cw(1,t.a([t.y(0,a),t.ref(s)]),t.ge(1)),t.isp("liveramp_Reuters_reuters",e,!1,r),t.isp("liveramp_Reuters_reuters",n,!1,i),t.cw(2,t.a([t.y(0,o),t.ref(c)]),t.ge(1))])),(e,r,n)=>t.q(t.ocqs([t.cw(1,t.a([t.y(0,740),t.ref(n)]),t.ge(1)),t.isp("liveramp_Reuters_reuters","1685152144",!1,e),t.cw(2,t.a([t.y(0,740),r]),t.ge(1))])),(e,r)=>t.q(t.ocqs([t.cw(1,t.ref(r),t.ge(1)),t.cw(2,t.ref(e),t.ge(1))])),(e,r,n,i)=>t.q(t.ocqs([t.cw(1,t.ref(n),t.ge(1)),t.isp("liveramp_Reuters_reuters",e,!1,r),t.cw(2,t.ref(i),t.ge(1))])),(e,r,n,i,a,s)=>t.q(t.ocqs([t.cw(1,t.ref(s),t.ge(1)),t.isp("reuters_authencated_users",e,!1,r),t.isp("liveramp_Reuters_reuters",n,!1,i),t.cw(2,t.ref(a),t.ge(1))])),(e,r,n,i,a,s)=>t.q(t.ocqs([t.cw(1,t.ref(s),t.ge(1)),t.isp("reuters_authencated_users",e,!1,r),t.isp("liveramp_Reuters_reuters",n,!1,i),t.cw(2,t.bsc_(0,a),t.ge(1))])),(e,r,n,i)=>t.q(t.ocqs([t.cw(1,t.bsc_(n,i),t.ge(1)),t.cw(2,t.bsc_(e,r),t.ge(1))])),(e,r,n,i,a,s,o,c)=>t.q(t.ocqs([t.cw(1,t.bsc_(o,c),t.ge(1)),t.isp("reuters_authencated_users",e,!1,r),t.isp("liveramp_Reuters_reuters",n,!1,i),t.cw(2,t.bsc_(a,s),t.ge(1))])),(e,r,n,i,a,s)=>t.q(t.ocqs([t.cw(1,t.bsc_(3,s),t.ge(1)),t.isp("reuters_authencated_users",e,!1,r),t.isp("liveramp_Reuters_reuters",n,!1,i),t.cw(2,t.ref(a),t.ge(1))])),(e,r,n,i,a,s,o)=>t.q(t.ocqs([t.cw(1,t.o([s,t.ps(3,o)]),t.ge(1)),t.isp("reuters_authencated_users",e,!1,r),t.isp("liveramp_Reuters_reuters",n,!1,i),t.cw(2,t.bsc_(3,a),t.ge(1))])),(e,r,n,i,a,s,o,c)=>t.q(t.ocqs([t.cw(1,t.y(o,c),t.ge(1)),t.isp("reuters_authencated_users",e,!1,r),t.isp("liveramp_Reuters_reuters",n,!1,i),t.cw(2,t.y(a,s),t.ge(1))])),(e,r,n)=>t.q(t.ocqs([t.lm(e,t.ge(n)),t.ifp(r)])),e=>t.q(t.ocqs([t.lm("0aa5852c-23f2-4503-ab36-955102906ba0",t.ge(e)),t.ifp("79876")])),e=>t.q(t.ocqs([t.lm("1d66855e-b73d-4a48-afaf-c563b7066702",t.ge(e)),t.ifp("74265")])),e=>t.q(t.ocqs([t.lm("57663f44-320c-4910-864a-673ee0b869e3",t.ge(e)),t.ifp("100677")])),e=>t.q(t.ocqs([t.lm("6a680c65-ce81-414e-8827-e3fd115339bf",t.ge(e)),t.ifp("77834")])),e=>t.q(t.ocqs([t.lm("6c1ae5c3-73da-477c-b128-d961c8633ac1",t.ge(e)),t.ifp("153951")])),e=>t.q(t.ocqs([t.lm("aee267bf-cdc4-4925-8662-0dc4a92da596",t.ge(e)),t.ifp("81520")])),e=>t.q(t.ocqs([t.lm("b3ee7b23-a4db-48b9-9e9f-1e0c74721eb3",t.ge(e)),t.ifp("74261")])),e=>t.q(t.ocqs([t.lm("c9f45e44-d64e-40fd-b5a5-4ac27ecc1f58",t.ge(e)),t.ifp("74279")])),e=>t.q(t.ocqs([t.lm("d01c8d7c-7ace-48b0-8c89-a57c794a5020",t.ge(e)),t.ifp("74286")])),e=>t.q(t.ocqs([t.lm("dae24096-2bab-42be-93c2-2e0636ec4b5f",t.ge(e)),t.ifp("74295")])),e=>t.q(t.ocqs([t.lm("f86efe34-fd32-43b5-b201-b293608efdb5",t.ge(e)),t.ifp("153994")])),(e,r,n,i,a,s,o,c,u,l,f,p)=>t.q(t.ocqs([t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],e)),t.cw(4,t.pe(4,r)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],n)),t.cw(4,t.pe(4,i)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],a)),t.cw(4,t.pe(4,s)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],o)),t.cw(4,t.pe(4,c)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],u)),t.cw(4,t.pe(4,l)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],f)),t.cw(4,t.pe(4,p)),t.ge(1))])),(e,r,n,i)=>t.q(t.ocqs([t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],e)),t.cw(4,t.pe(4,r)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],178642)),t.cw(4,t.pe(4,178642)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],n)),t.cw(4,t.pe(4,i)),t.ge(1))])),(e,r,n,i,a,s,o,c,u,l)=>t.q(t.ocqs([t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],173201)),t.cw(4,t.pe(4,173201)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],e)),t.cw(4,t.pe(4,r)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],n)),t.cw(4,t.pe(4,i)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],a)),t.cw(4,t.pe(4,s)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],o)),t.cw(4,t.pe(4,c)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],u)),t.cw(4,t.pe(4,l)),t.ge(1))])),()=>t.q(t.ocqs([t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],173205)),t.cw(4,t.pe(4,173205)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],75366)),t.cw(4,t.pe(4,75366)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],75376)),t.cw(4,t.pe(4,75376)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],75452)),t.cw(4,t.pe(4,75452)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],75377)),t.cw(4,t.pe(4,75377)),t.ge(1)),t.scq(t.cw(3,t.pc(["aggregations","SegmentEntry"],75379)),t.cw(4,t.pe(4,75379)),t.ge(1))])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v)=>t.q(t.ocqs([t.itp(e,r,n,i),t.itp(a,s,o,c),t.itp(u,l,f,p),t.itp(d,m,g,v)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h,b,_,y,E,I,w,R,T,C,A,P,G,O,M,U,D,k,L,N,z,q,B)=>t.q(t.ocqs([t.itp(e,r,n,i),t.itp(a,s,o,c),t.itp(u,l,f,p),t.itp(d,m,g,v),t.itp(S,h,b,_),t.itp(y,E,I,w),t.itp(R,T,C,A),t.itp(P,G,O,M),t.itp(U,D,k,L),t.itp(N,z,q,B)])),(e,r,n,i,a,s)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp(i,a,!1,s)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp(i,a,!1,s),t.itp(o,c,u,l),t.itp(f,p,d,m),t.itp(g,v,S,h)])),(e,r,n,i,a,s,o,c,u)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp(i,a,!1,s),t.itp(o,c,!1,u)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h,b)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp(i,a,!1,s),t.itp(o,c,!1,u),t.itp(l,f,!1,p),t.itp(d,m,!1,g),t.itp(v,S,h,b)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h,b,_,y)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp(i,a,!1,s),t.itp(o,c,!1,u),t.itp(l,f,!1,p),t.itp(d,m,!1,g),t.itp(v,S,!1,h),t.itp(b,_,!1,y)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h,b,_,y,E,I,w)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp(i,a,!1,s),t.itp(o,c,!1,u),t.itp(l,f,!1,p),t.itp(d,m,!1,g),t.itp(v,S,!1,h),t.itp(b,_,!1,y),t.itp(E,I,!1,w)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h,b,_,y,E,I,w,R,T,C)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp(i,a,!1,s),t.itp(o,c,!1,u),t.itp(l,f,!1,p),t.itp(d,m,!1,g),t.itp(v,S,!1,h),t.itp(b,_,!1,y),t.itp(E,I,!1,w),t.itp(R,T,!1,C)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h,b,_,y,E,I,w,R,T,C,A,P,G,O,M,U,D,k,L)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp(i,a,!1,s),t.itp(o,c,!1,u),t.itp(l,f,!1,p),t.itp(d,m,!1,g),t.itp(v,S,!1,h),t.itp(b,_,!1,y),t.itp(E,I,!1,w),t.itp(R,T,!1,C),t.itp(A,P,!1,G),t.itp(O,M,!1,U),t.itp(D,k,!1,L)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h,b,_,y,E,I,w,R,T,C,A,P,G,O,M,U,D,k,L,N,z,q,B,x,F)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp(i,a,!1,s),t.itp(o,c,!1,u),t.itp(l,f,!1,p),t.itp(d,m,!1,g),t.itp(v,S,!1,h),t.itp(b,_,!1,y),t.itp(E,I,!1,w),t.itp(R,T,!1,C),t.itp(A,P,!1,G),t.itp(O,M,!1,U),t.itp(D,k,!1,L),t.itp(N,z,!1,q),t.itp(B,x,!1,F)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h,b,_,y,E,I,w,R,T,C,A,P,G,O,M,U,D,k,L,N,z,q,B,x,F,W,H,Y,V,K,Q,j,X,J,$,Z,tt,et,rt)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp(i,a,!1,s),t.itp(o,c,!1,u),t.itp(l,f,!1,p),t.itp(d,m,!1,g),t.itp(v,S,!1,h),t.itp(b,_,!1,y),t.itp(E,I,!1,w),t.itp(R,T,!1,C),t.itp(A,P,!1,G),t.itp(O,M,!1,U),t.itp(D,k,!1,L),t.itp(N,z,!1,q),t.itp(B,x,!1,F),t.itp("liveramp_DunandBradstreet",W,!1,H),t.itp(Y,V,!1,K),t.itp(Q,j,!1,X),t.itp(J,$,!1,Z),t.itp(tt,et,!1,rt)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp(i,a,!1,s),t.itp("eyeota",o,!1,c),t.itp(u,l,!1,f),t.itp(p,d,!1,m)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h,b,_,y,E,I,w,R,T,C,A,P,G,O,M,U,D,k,L,N,z,q,B)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp(i,a,!1,s),t.itp("eyeota",o,!1,c),t.itp("eyeota",u,!1,l),t.itp(f,p,!1,d),t.itp(m,g,!1,v),t.itp(S,h,!1,b),t.itp("liveramp_DunandBradstreet",_,!1,y),t.itp("liveramp_DunandBradstreet",E,!1,I),t.itp(w,R,!1,T),t.itp(C,A,!1,P),t.itp("liveramp_Bombora",G,!1,O),t.itp(M,U,!1,D),t.itp(k,L,!1,N),t.itp(z,q,!1,B)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp("eyeota",i,!1,a),t.itp("liveramp_ShareThis",s,!1,o),t.itp(c,u,!1,l),t.itp(f,p,!1,d),t.itp("eyeota",m,!1,g)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h,b,_,y,E,I,w,R,T,C,A,P,G,O,M,U,D,k,L,N,z,q,B,x,F,W,H,Y,V,K,Q,j,X,J,$,Z,tt,et,rt,nt,it,at,st,ot,ct)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp("liveramp_Alliant",i,!1,a),t.itp(s,o,!1,c),t.itp(u,l,!1,f),t.itp(p,d,!1,m),t.itp(g,v,!1,S),t.itp(h,b,!1,_),t.itp(y,E,!1,I),t.itp(w,R,!1,T),t.itp(C,A,!1,P),t.itp(G,O,!1,M),t.itp(U,D,!1,k),t.itp(L,N,!1,z),t.itp(q,B,!1,x),t.itp(F,W,!1,H),t.itp(Y,V,!1,K),t.itp(Q,j,!1,X),t.itp(J,$,!1,Z),t.itp(tt,et,!1,rt),t.itp(nt,it,!1,at),t.itp(st,ot,!1,ct)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h,b,_)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp("liveramp_Bombora",i,!1,a),t.itp(s,o,!1,c),t.itp(u,l,!1,f),t.itp(p,d,!1,m),t.itp(g,v,!1,S),t.itp(h,b,!1,_)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h)=>t.q(t.ocqs([t.itp(e,r,!1,n),t.itp("liveramp_Bombora",i,!1,a),t.itp("eyeota",s,!1,o),t.itp("eyeota",c,!1,u),t.itp(l,f,!1,p),t.itp(d,m,!1,g),t.itp(v,S,!1,h)])),(e,r,n,i,a,s,o,c)=>t.q(t.ocqs([t.itp("eyeota",e,!1,r),t.itp(n,i,!1,a),t.itp(s,o,!1,c)])),(e,r,n,i)=>t.q(t.ocqs([t.itp("eyeota",e,!1,r),t.itp("eyeota",n,!1,i)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h)=>t.q(t.ocqs([t.itp("eyeota",e,!1,r),t.itp("eyeota",n,!1,i),t.itp(a,s,!1,o),t.itp(c,u,!1,l),t.itp(f,p,!1,d),t.itp("liveramp_Bombora",m,!1,g),t.itp(v,S,!1,h)])),(e,r,n,i,a,s,o,c,u)=>t.q(t.ocqs([t.itp("eyeota",e,!1,r),t.itp("eyeota",n,!1,i),t.itp(a,s,!1,o),t.itp("liveramp_Bombora",c,!1,u)])),(e,r,n,i,a)=>t.q(t.ocqs([t.itp("liveramp_Acxiom",e,!1,r),t.itp(n,i,!1,a)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h,b,_,y,E,I,w,R,T,C,A,P,G,O,M,U,D,k,L,N,z,q,B,x)=>t.q(t.ocqs([t.itp("liveramp_AnalyticsIQ",e,!1,r),t.itp("liveramp_Alliant",n,!1,i),t.itp("liveramp_Alliant",a,!1,s),t.itp(o,c,!1,u),t.itp("liveramp_Experian",l,!1,f),t.itp("liveramp_CACI",p,!1,d),t.itp("liveramp_Alliant",m,!1,g),t.itp(v,S,!1,h),t.itp(b,_,!1,y),t.itp(E,I,!1,w),t.itp("liveramp_Experian",R,!1,T),t.itp(C,A,!1,P),t.itp(G,O,!1,M),t.itp("liveramp_Acxiom",U,!1,D),t.itp("liveramp_Acxiom",k,!1,L),t.itp("liveramp_Acxiom",N,!1,z),t.itp(q,B,!1,x)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h,b,_,y,E,I,w,R,T,C,A,P)=>t.q(t.ocqs([t.itp("liveramp_Bombora",e,!1,r),t.itp(n,i,!1,a),t.itp(s,o,!1,c),t.itp(u,l,!1,f),t.itp(p,d,!1,m),t.itp(g,v,!1,S),t.itp(h,b,!1,_),t.itp(y,E,!1,I),t.itp(w,R,!1,T),t.itp(C,A,!1,P)])),(e,r,n,i,a,s,o,c)=>t.q(t.ocqs([t.itp("liveramp_ShareThis",e,!1,r),t.itp(n,i,!1,a),t.itp(s,o,!1,c)])),(e,r,n,i,a,s,o,c,u,l,f,p,d,m,g,v,S,h,b,_,y,E,I,w,R,T,C,A,P,G,O)=>t.q(t.ocqs([t.itp("liveramp_ShareThis",e,!1,r),t.itp(n,i,!1,a),t.itp(s,o,!1,c),t.itp(u,l,!1,f),t.itp("liveramp_Bombora",p,!1,d),t.itp(m,g,!1,v),t.itp(S,h,!1,b),t.itp(_,y,!1,E),t.itp(I,w,!1,R),t.itp(T,C,!1,A),t.itp(P,G,!1,O)])),(e,r)=>t.q(t.ocqs([t.tw(t.cw(0,t.pc_(6,e),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,r),t.ge(1)),2592e6)])),(e,r,n)=>t.q(t.ocqs([t.tw(t.cw(0,t.pc_(6,e),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,r),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,n),t.ge(1)),2592e6)])),(e,r,n,i)=>t.q(t.ocqs([t.tw(t.cw(0,t.pc_(6,e),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,r),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,n),t.ge(1)),2592e6),t.tw(t.cw(0,t.pc_(6,i),t.ge(1)),2592e6)])),(e,r)=>t.q(t.isp("liveramp_Reuters-Data-Marketplace_reuters",e,!1,r)),(e,r)=>t.q(t.isp("liveramp_Reuters_reuters",e,!1,r)),(e,r)=>t.q(t.itp("eyeota",e,!1,r)),(e,r,n)=>t.q(t.tw(t.cw(0,r,t.ge(n)),e)),(e,r,n,i)=>t.q(t.tw(t.cw(0,t.os(r,n,i),t.ge(e)),6048e5)),e=>t.q(t.tw(t.cw(0,t.ref(e),t.e(1)),6048e5)),(e,r,n)=>t.q(t.tw(t.cw(0,t.pc_(r,n),t.ge(e)),24192e5)),(e,r,n)=>t.q(t.tw(t.cw(0,t.pc_(r,n),t.ge(e)),2592e6)),e=>t.q(t.tw(t.cw(5,e,t.ge(1)),2592e6))],stateSyncReplays:t=>[],subexpressionsLookup:t=>[t.bsc_(3,["sat2Zr68"]),t.bsc_(3,["z27Q3Jqb"]),t.bsc_(1,["4MeVcajC"]),t.bsc_(1,["02hp+GyL"]),t.bsc_(3,["IZuCJMfJ"]),t.os(t.s,0,[1862,1882,1883]),t.bsc_(0,["4xScibA+"]),t.bsc_(1,["18pHf78g","4MeVcajC","SIhYLkmA","Wvm0ZwSs","kgzSpGU+"]),t.bsc_(1,["QWRgZGFi"]),t.bsc_(1,["P8eUAMsL"]),t.os(t.s,1,[1847,1865,1876,1880]),t.bsc_(1,["bjgEnKg4"]),t.bsc_(3,["tHiNhK3j"]),t.bsc_(1,["fo/d5Uh/"]),t.bsc_(0,["8j6s8UM8","pzg7eF0x"]),t.os(t.w,0,[1780,457]),t.bsc_(3,["XWaX4/ep"]),t.bsc_(3,["hwsSF2rp"]),t.bsc_(3,["Kpnz/G8s"]),t.os(t.s,3,[1848,1858]),t.bsc_(1,["rM6uR8Uw"]),t.bsc_(3,["rM6uR8Uw"]),t.bsc_(3,["XsR90Uoz"]),t.os(t.s,1,[1847,1876,1880]),t.os(t.w,0,[123,122]),t.os(t.cx,2,[1144,334,495,686,1099,1617,1118,723,475]),t.bsc_(1,["DXWdxDgH"]),t.bsc_(0,["8FXVjEDo","utnEYnXo"]),t.bsc_(11,["doaFylgq","zWp7h2hS"]),t.bsc_(3,["m4ZMvFLH"]),t.bsc_(0,["u/Cim5HW"]),t.bsc_(3,["xnBO00BX"]),t.bsc_(3,["ROrKEfn6"]),t.bsc_(0,["8j6s8UM8","M1DoHCkZ","Rskrl+D0","pzg7eF0x"]),t.os(t.w,0,[807,804,740,1060,1711]),t.bsc_(3,["V2OM4hqA"]),t.bsc_(1,["4Dftn4Vv"]),t.bsc_(3,["4Dftn4Vv"]),t.os(t.cx,2,[1110,1065,907,872,670,490,1672,535,1657,1330,1323,1292,1291,1689,1216,1215,1109,1098,1067,1029,604,880,906,900,916,892,898,897,899,895,904,893,784,507,188,534,1812,902,901,894,957,896,1625,1325,1026,1025,908,918,375,1725,1626,1580,1477,69,1334,1328,1204,1199,1113,1111,1112,1108,1142,1100,1097,1102,1030,1295,1612,559,796,391,1322,1332,549,919,259,1634]),t.bsc_(1,["OkmtR01a"]),t.bsc_(1,["LYCUjooy"]),t.bsc_(1,["ON3wezyv"]),t.bsc_(1,["18pHf78g","4MeVcajC","Ldld7CTt","SIhYLkmA","Wvm0ZwSs"]),t.bsc_(0,["8j6s8UM8","Rskrl+D0"]),t.bsc_(3,["0Z8eFd6J","5smC87aO"]),t.bsc_(1,["QWRgZGFi","RDwU1/6U"]),t.bsc_(3,["dYxgywKc"]),t.os(t.s,3,[1848,1858,1869]),t.bsc_(3,["9lFL0Vsh"]),t.bsc_(3,["RqJGEtKQ"]),t.os(t.cx,2,[1051,1053,1050,1040,1048,1049,1054,1046,1045,1052,1042,1043,1041,1055,1047,1044,1056]),t.bsc_(0,["q/aSnKdi","vKRZ0AWX"]),t.os(t.w,0,[124,122,123]),t.bsc_(5,["4qnAdBSq","fYfVMwXo"]),t.bsc_(0,["pzg7eF0x"]),t.os(t.w,7,[1864,1279]),t.os(t.s,5,[1878]),t.bsc_(3,["3UKwukGT"]),t.bsc_(0,["0Biwguij"]),t.bsc_(3,["0Biwguij"]),t.bsc_(0,["1TYaP9TW","DKpQde/+"]),t.bsc_(0,["5smC87aO","B9ybFBOs","htSLIXnT"]),t.bsc_(0,["JNkRLA2a","qGN4MvFt"]),t.bsc_(0,["cyXCx20n"]),t.bsc_(1,["9TAZrzm/"]),t.os(t.w,0,[1509,1508]),t.os(t.w,0,[462,461]),t.o([t.ps(22,1877),t.os(t.s,5,[1877])]),t.bsc_(0,["ksWFE66l"]),t.os(t.w,0,[1781,458,1780,457]),t.bsc_(0,["MS5KoaNn"]),t.bsc_(3,["c6SV2YIr"]),t.os(t.s,0,[1841,1845,1851,1856,1857,1870,1882,1885,1886]),t.bsc_(0,["IU4rpsY1"]),t.os(t.w,0,[1718,1717]),t.os(t.cx,2,[628,1684,452,1556,1678,24,23,22,543,684,1809,1404,706,639,629,1798,1615,1432,1431,1564,1571,1568,1565,1433,1471,1422,1416,674,646,645,1348,1347,200,704,1368,689,620,691,1246,1247,1224,592,1217,1214,1184,1104,962,929,1683,933,932,18,951,594,853,624,1485,1465,1428,1427,939,432,336,443,393,414,389,333,388,1426,1425,370,409,401,250,88,86,1268,1532,563,1515,444,724,607,606,1459,1482,445,491,138,257,1690,1444,911,797,793,638,573,1611,625,14,423,369,353,342,185,25,869,909,882,934,915,879,1031,1028,1022,1006,1010,1011,1206,104,1153,1148,732,1648,1635,1619,97,1146,261,1461,1472,1452,21,20,19,1391,920,413,412,47,1788,1541,1486,1064,960,959,943,940,938,937,936,935,881,839,838,663,662,587,529,103,65,64]),t.os(t.w,0,[1506,1505]),t.os(t.w,0,[1373,1372]),t.os(t.cx,2,[1222,1562,251,1481,678,677,591,404,403,402,400,398,371]),t.bsc_(3,["xLjf0vqv"]),t.bsc_(3,["md8KUnL+"]),t.bsc_(1,["Pa+V8Ifk","i1PR+xUJ","joWhH/Ms"]),t.bsc_(3,["0Z8eFd6J"]),t.bsc_(0,["OC94x+EJ","PjOGmkWo"]),t.bsc_(3,["Xx6HpdH5"]),t.bsc_(1,["18pHf78g","4MeVcajC","SIhYLkmA","Wvm0ZwSs"]),t.os(t.w,0,[1781,457,458,1780]),t.bsc_(1,["i1PR+xUJ"]),t.os(t.s,0,[1862,1883]),t.bsc_(3,["9AS+ApP4"]),t.bsc_(1,["Pa+V8Ifk"]),t.bsc_(1,["RkWFhXN1"]),t.bsc_(1,["SIhYLkmA"]),t.nt(t.ref(56)),t.bsc_(1,["18pHf78g","PXWzdfHa"]),t.bsc_(3,["cVX4Me2i"]),t.bsc_(3,["bJE+ZWiS"]),t.os(t.w,0,[1716,1715]),t.os(t.w,0,[742,741]),t.bsc_(0,["25ZQ/dLX","XTAzp5Yf","isS9PZRU"]),t.bsc_(0,["fEm8CAc0"]),t.bsc_(3,["WrXZd7xF"]),t.bsc_(3,["0GYGfxbp"]),t.bsc_(1,["9fI7mhue","bXGcWjkL"]),t.bsc_(3,["4J5/BrQD"]),t.os(t.w,0,[968,967]),t.bsc_(0,["E3zqwiSh","vLpthBGV"]),t.bsc_(0,["fO2Aw7Uk"]),t.bsc_(1,["RDwU1/6U"]),t.bsc_(3,["mWEcVSv4","wU/m4ybh"]),t.bsc_(0,["kUiOyDnd","wTu7h6c2"]),t.bsc_(0,["RAKfV0Bf","RtxRE8tj"]),t.bsc_(3,["BoMf5x2b"]),t.os(t.w,11,[1839,1777,1628,1386,1280,1059,1e3,982,975,974,1061,602]),t.os(t.w,1,[1879,1622,809,1286,451]),t.bsc_(1,["Pa+V8Ifk","i1PR+xUJ"]),t.bsc_(1,["TG391/j0"]),t.bsc_(1,["18pHf78g","4MeVcajC","QWRgZGFi","SIhYLkmA","Wvm0ZwSs","kgzSpGU+"]),t.os(t.cx,2,[1037,439,186,138,257]),t.bsc_(3,["VhSKjogU"]),t.bsc_(1,["Y1t9jf1N"]),t.bsc_(1,["jdifOvSo"]),t.bsc_(3,["VnfdbRpk"]),t.bsc_(3,["3HujZT9l"])]}})})));var bt=__webpack_require__(878),_t=__webpack_require__(29);async function yt(f){let{contextsInitTimestampPerformance:p,master:d}=f;const m=await d.next(),g=performance.now();Object.entries(m.globals??{}).forEach((t=>{let[e,r]=t;Object.defineProperty(self,e,{value:r})}));const v=new J(m.permutiveConfig);v.measureBetween("waiting_worker_high_priority_config",p,g);const S=function(e){var r;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.RP;return e.loggingEnabled&&void 0!==(null===(r=self.console)||void 0===r?void 0:r.log)?new O(n):new M}(m.permutiveConfig,m.sdkInitTimestampDate),h=m.metricsEnabled?new C(m.sdkInitTimestampPerformance,m.timeOriginMainContext,S):new A;h.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"worker_evaluated",time_origin:"sdk_init"},p),h.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"worker_received_high_priority_config",time_origin:"sdk_init"},g);const b=(0,r.zG)(d.next,v.traceTask("waiting_worker_low_priority_config"))();b.then((()=>h.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"worker_received_low_priority_config",time_origin:"sdk_init"})));const _=(0,r.zG)((()=>d.read()),function(t,n){const i=t=>(0,r.zG)(t,N.Hd((t=>t in n)),(t=>{let{left:e,right:r}=t;return{buffers:r,nonBuffers:e}}));return a=>{const{buffers:s,nonBuffers:o}=i(t),[c,u]=e.Ue({...o,...(0,r.zG)(s,N.Su((t=>()=>{const e=s[t];return s[t]=n[t].empty,e})))});return(async()=>{for(;;){const t=(0,r.zG)(await a(),q.UI(i),q.ur({concat:(t,e)=>({nonBuffers:{...t.nonBuffers,...e.nonBuffers},buffers:(()=>{const r={...t.buffers};for(const t in e.buffers)r[t]=t in r?n[t].concat(r[t],e.buffers[t]):e.buffers[t];return r})()})})),e=(0,r.zG)(t.buffers,N.Su(((t,e)=>(s[t]=n[t].concat(s[t],e),()=>{const e=s[t];return s[t]=n[t].empty,e}))));u({...c.current,...t.nonBuffers,...e})}})(),(0,r.zG)(t,N.Su((t=>(0,r.zG)(c,e.UI((e=>e[t]))))))}}({contextualCohorts:i.YP,consent:m.consent,enrichmentReplacementMap:i.YP,eventSourceId:m.eventSourceId,identities:i.YP,newEvents:a.cS,pageviewState:m.pageviewState,priorCachedEventsResponses:a.cS,sessionId:m.sessionId,userId:m.userId,userIdIsNewlyGenerated:m.userIdIsNewlyGenerated,viewId:m.pageviewState.viewId,webClient:i.G(m.webClient)},{newEvents:a.uZ(),priorCachedEventsResponses:a.uZ()}),(0,s.rO)({newEvents:(0,bt.F)(h,"pageview_received_by_worker")}),(t=>({...t,currentTimestampSecs:Et((0,r.zG)(m.initialTimestampSecs,i.EQ((()=>0),(t=>t-Date.now()/1e3))))}))),{eventsCachedInWorker:y,coreService:E}=await function(s,f,p,d,m,g){d.debug("SDK core started",s);const v=500,S=new I(g),h=new w(s.permutiveConfig),b=new tt(h,s.permutiveConfig,S,g,d,(()=>p.webClient.current)),_=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};b.reportError(t,null==e?void 0:e.userId,null==e?void 0:e.timestamp)},y=(0,r.zG)(o.Y3((()=>Promise.resolve().then(__webpack_require__.bind(__webpack_require__,414)).then((t=>t.watson))),(()=>"Failed to import watson.")),o.UI((t=>(0,r.zG)(p.webClient,e.UI(i.UI((t=>t.url))),e.D8(i.Eh(_t.Eq)),(n=>t({config:s.permutiveConfig,metrics:g,permutiveApi:S,permutiveUrls:h,pageUrl:n,trace:m,watsonEnabled:(0,r.zG)(p.pageviewState,e.UI((t=>t.watsonEnabled)))})))))),E=(0,r.zG)(Q.initialise(s.permutiveConfig,d,_,m,g,p.userId,(()=>(0,r.zG)($.connect(new D(s.permutiveConfig),g,new U,s.organizationId,`events_${p.userId.current}`,`keys_${p.userId.current}`,"events",d,p.consent,s.isSecureContext),m.traceTask("connect_idb_events_cache")))),m.traceTask("initialise_events_cache"),o.At((()=>()=>g.trackTimeSinceInit("sdk_lifecycle_timestamps",{timestamp_name:"events_cache_initialised",time_origin:"sdk_init"},performance.now()))),o.EQ((t=>{d.error(`Worker failed to initialise IndexedDB event cache: ${t}`);const n={},[i,s]=e.gS(a.uZ()),o=()=>new Promise((t=>{const e=String(Math.random());n[e]=r=>{delete n[e],t(r)},s([[e,void 0]])}));return(0,r.zG)(p.priorCachedEventsResponses,e.UI((t=>(0,r.zG)(t(),a.UI((t=>{var e;let[r,i]=t;return null===(e=n[r])||void 0===e?void 0:e.call(n,i)})))))),{eventsCachedInWorker:!1,coreOutput:{priorCachedEventsRequests:i},coreConfig:{eventsCache:l.t$(o)}}}),(t=>({eventsCachedInWorker:!0,coreOutput:{priorCachedEventsRequests:e.a9(L.of(a.bM()))},coreConfig:{eventsCache:l.F2(t)}})))),C=(0,r.zG)(!0,o.DT(r.yR,(()=>"IndexedDB disabled.")),o.tS((()=>(0,r.zG)(R.K.initialise(new D(s.permutiveConfig),g,d,new U,`worker_${s.organizationId}`,"core_service_state","keys","core_service_state",4,s.isSecureContext),m.traceTask("initialise-core-idb")))),o.tS((t=>(0,T.Yt)(o.Hi)({persistCoreState:c(t,"core"),persistLalState:c(t,"lal")})))),A=()=>new Promise((t=>(0,r.zG)(p.consent,e.YP((e=>{e&&t()}))))),P=a=>(0,r.zG)(o.fF(C),o.YO("servicePersistence"),o.Qt("eventsCache",o.fF((()=>a))),o.Qt("coreService",(0,r.zG)(o.Y3((()=>Promise.resolve().then(__webpack_require__.bind(__webpack_require__,324)).then((t=>t.service))),(t=>`Failed to import core service: ${t}`)),m.traceTask("import-core-service"))),o.Qt("lookalikeModelsService",o.Y3((()=>Promise.resolve().then(__webpack_require__.bind(__webpack_require__,965)).then((t=>t.lookalikeModelsService))),(()=>"Failed to import lookalike models."))),o.Qt("optimisedActivationsConfig",o.Y3((()=>Promise.resolve().then(__webpack_require__.bind(__webpack_require__,41)).then((t=>t.optimisedActivationsConfig))),(()=>"Failed to import lookalike models."))),o.Qt("watson",y),k.mU((()=>A)),o.UI((a=>{let{coreService:o,eventsCache:c,lookalikeModelsService:b,optimisedActivationsConfig:y,servicePersistence:E,watson:I}=a;const w={config:s.permutiveConfig,customQueries:ht(),logger:d,metrics:g,optimisedActivationsConfig:y,permutiveApi:S,permutiveUrls:h,reportError:_,trackPageviewComplete:s.trackPageviewComplete,migratedStateMaps:(0,r.zG)(i.lo(!s.isFirstPageview),i.EQ((()=>k.of({external:i.bM(),internal:i.bM()})),(()=>L.of(f.then((t=>t.migratedStateMaps)))))),trace:m,watson:i.G(I)};return(0,r.zG)(E,l.UI((a=>{let{persistCoreState:s,persistLalState:l}=a;return(0,r.zG)(b({...w,...p}),l,n.VS((a=>{let[l,f]=a;return(0,r.zG)(p,o({...w,...c.coreConfig,lookalikeModels:i.G(f)}),(d=v,m=e.a9(!1),n=>i=>{const{value:a,state:s}=n(i),[o,c]=e.Ue(s.current),u=(0,t.UM)((()=>c(s.current)),d),l=(0,r.zG)(e.vP(s,o),e.UI((t=>{let[e,r]=t;return e===r})));return(0,r.zG)(m,e.bw((t=>t&&u()))),{value:(0,r.bc)(l,a),state:(0,r.zG)(e.vP(m,s,o),e.UI((t=>{let[e,r,n]=t;return e?r:n})))}}),u(p.consent),s,n.UI((t=>{let[n,[i,a]]=t;return{...a,stateFlushed:(0,r.zG)(e.vP(l,n,i),e.UI((t=>{let[e,r,n]=t;return e&&r&&n})))}})));var d,m})),(t=>{const{value:r}=t({stopped:e.a9(!1),previousState:{}});return t=>({value:r,state:e.a9(void 0)})}))})),l.fS((t=>(d.warn("Worker running in non-persistent mode.",t),(0,r.zG)(p,o({...w,...c.coreConfig,lookalikeModels:i.YP}),n.Hr("stateFlushed",(()=>e.a9(!0))),u(p.consent))))),n.UI((t=>({...t,...c.coreOutput}))))})));return async()=>{const t=E(),e=P(t)(),{eventsCachedInWorker:r}=await t;return{eventsCachedInWorker:r,coreService:e}}}(m,b,_,S,v,h)();d.send({eventsCachedInWorker:y});const P=await E;var G,B;if(l.nM(P))return S.error(`Failed to start worker: ${P.left}`),void(null===(G=(B=self).close)||void 0===G||G.call(B));const x=P.right,F=await b,W=(await x)({stopped:e.a9(!1),previousState:F.previousState}),[H,Y]=e.Ue(h.getNoMetricsTracked());(0,t.UM)((()=>Y(h.getNoMetricsTracked())),100),function(t,n,a){const s=(0,r.zG)(e.vP(n),e.UI((0,r.ls)(N.UI((t=>"function"==typeof t?t:L.of(t))),(0,T.Yt)(L.G5))));let o=s.current();t(o),(0,r.zG)(s,e.YP((e=>{const n=e(),s=(0,r.zG)(n,N.z7(((t,e)=>{var r;return e!==o[t]&&(null===(r=a[t])||void 0===r||!r.isEmpty(e))})),i.DT((0,z.ff)(N.xb)));i.pC(s)&&(o={...o,...s.value},t(s.value))})))}(d.send,{activations:e.vP(W.value.activations),cohorts:e.vP(W.value.cohorts),context:W.value.context,eventsToPublish:W.value.eventsToPublish,eventsToPublishOnPageUnload:W.value.eventsToPublishOnPageUnload,externalData:W.value.externalData,geoIP:W.value.geoIP,metrics:(0,r.zG)(H,e.UI((()=>()=>h.consume()))),priorCachedEventsRequests:W.value.priorCachedEventsRequests,realtime:W.value.realtime,state:W.state,transitionsSinceInit:W.value.transitionsSinceInit,workerStateFlushed:W.value.stateFlushed,stateMigratedThisInitialisation:W.value.stateMigratedThisInitialisation,secureSignal:W.value.secureSignal},{eventsToPublish:{isEmpty:a.xb},metrics:{isEmpty:a.xb}})}function Et(r){const n=()=>Math.floor(Date.now()/1e3)+r,[i,a]=e.Ue(n());return(0,t.UM)((()=>a(n())),1e3),i}const It=e=>{const r=[],n=[],i=()=>{for(;r.length>0&&n.length>0;)n.shift()()},a=e=>new Promise((r=>{n.push((()=>r(e()))),(0,t.HJ)(i)}));return e.addEventListener("message",(0,t.GL)((e=>{null!==e.data&&(r.push(e.data),(0,t.HJ)(i))}))),{next:()=>a((()=>r.shift())),read:()=>a((()=>r.splice(0)))}};!async function(){const e=self;yt({contextsInitTimestampPerformance:t.NC,master:{...It(e),send:t=>e.postMessage(t)}})}()})()})();',"Worker",void 0,void 0)}},1005:t=>{t.exports=function(t,e,r,n){var i=self||window;try{try{var a;try{a=new i.Blob([t])}catch(e){(a=new(i.BlobBuilder||i.WebKitBlobBuilder||i.MozBlobBuilder||i.MSBlobBuilder)).append(t),a=a.getBlob()}var s=i.URL||i.webkitURL,o=s.createObjectURL(a),c=new i[e](o,r);return s.revokeObjectURL(o),c}catch(n){return new i[e]("data:application/javascript,".concat(encodeURIComponent(t)),r)}}catch(t){if(!n)throw Error("Inline worker is not supported");return new i[e](n,r)}}}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var r=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t](r,r.exports,__webpack_require__),r.exports}__webpack_require__.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=(t,e)=>{for(var r in e)__webpack_require__.o(e,r)&&!__webpack_require__.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),__webpack_require__.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var __webpack_exports__={},_framework_compute_time_measurement__WEBPACK_IMPORTED_MODULE_0__;_framework_compute_time_measurement__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3812),(()=>{var t,e;(0,_framework_compute_time_measurement__WEBPACK_IMPORTED_MODULE_0__.ho)(!0);const r="permutive.main.import_runWebSdk",n=`${r}_start`;null===(t=performance)||void 0===t||null===(e=t.mark)||void 0===e||e.call(t,n),(0,_framework_compute_time_measurement__WEBPACK_IMPORTED_MODULE_0__.SF)((()=>Promise.resolve().then(__webpack_require__.bind(__webpack_require__,4749))))().then((t=>{var e,i;null===(e=performance)||void 0===e||null===(i=e.measure)||void 0===i||i.call(e,r,n),t.runSdk({contextsInitTimestampPerformance:_framework_compute_time_measurement__WEBPACK_IMPORTED_MODULE_0__.NC,contextsInitTimestamp:_framework_compute_time_measurement__WEBPACK_IMPORTED_MODULE_0__.RP})})).catch(console.error)})()})();