var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opens = _____WB$wombat$assign$function_____("opens");
// Copyright 2025 Transcend Inc. All Rights Reserved.
// Learn more at https://transcend.io/consent-management

self.transcend=Object.assign({"country":"US","countryRegion":"CA"},self.transcend);self.transcend=Object.assign({readyQueue:[],ready(c){this.readyQueue.push(c)},showConsentManager(){this.ready((t)=>{t.showConsentManager()})}},self.transcend);self.airgap=Object.assign({readyQueue:[],ready(c){this.readyQueue.push(c)},purposes:{"useDefault":false,"types":{"SaleOfInfo":{"name":"SaleOfInfo","description":"Sale of personal information.","defaultConsent":"Auto","showInConsentManager":true,"configurable":true,"essential":false,"trackingType":"SaleOfInfo","optOutSignals":[]},"Advertising":{"name":"Advertising","description":"Helps us and others serve ads relevant to you.","defaultConsent":"Auto","showInConsentManager":true,"configurable":true,"essential":false,"trackingType":"Advertising","optOutSignals":[]},"Functional":{"name":"Functional","description":"Personalization, autofilled forms, etc.","defaultConsent":"Auto","showInConsentManager":true,"configurable":true,"essential":false,"trackingType":"Functional","optOutSignals":[]},"Analytics":{"name":"Analytics","description":"Help us learn how our site is used and how it performs.","defaultConsent":"Auto","showInConsentManager":true,"configurable":true,"essential":false,"trackingType":"Analytics","optOutSignals":[]},"Att":{"name":"Att","description":"iOS App-Tracking Transparency","defaultConsent":"Auto","showInConsentManager":false,"configurable":true,"essential":false,"trackingType":"Att","optOutSignals":[]}}},regimePurposeScopes:[[["us-gpc"],["Advertising"]],[["consent-prompt"],["Advertising","Functional"]],[["Unknown"],["Advertising"]],[["GDPR"],["Advertising","Functional"]],[["do-not-sell-or-share"],["Advertising"]]],macroregions:[["EU","BE GR LT PT BG ES LU RO CZ FR RE GP MQ GF YT BL MF PM WF PF NC HU SI DK FO GL HR MT SK DE IT NL AW CW SX FI AX EE CY AT SE IE LV PL AI BM IO VG KY FK GI MS PN SH TC GG JE IM"]],regionRegimesMap:[[[["US","CA"],["US","CO"],["US","MT"],["US","TX"],["US","CT"],["US","NH"]],["us-gpc"],"in",[],[],null,null,{"consentExpiry":"525600","onConsentExpiry":"Prompt"}],[[["EU"],["GB"],["NO"],["IS"],["LI"]],["consent-prompt"],"in",[],[],null,null,{"consentExpiry":"525600","onConsentExpiry":"Prompt"}],[[["EU"],["GB"],["NO"],["IS"],["LI"]],["GDPR"],"in",[],[],null,null,{"consentExpiry":"525600","onConsentExpiry":"Prompt"}],[[["US","CA"]],["do-not-sell-or-share"],"in",[],[],null,null,{"consentExpiry":"525600","onConsentExpiry":"Prompt"}],[[],["Unknown"],"out",[],[],null,null,{"consentExpiry":"525600","onConsentExpiry":"Prompt"}]],regimePurposeOptOuts:[[["GDPR"],["Advertising","Functional"]]],regulatedPaths:[],purposeMap:{"slichtenthal.vm.dev.etsycloud.com":["Functional","SaleOfInfo"]},cookies:[],ui:"/cm/ac71e058-41b7-4026-b482-3d9b8e31a6d0/ui.js",xdi:"/cm/ac71e058-41b7-4026-b482-3d9b8e31a6d0/xdi.js",metadata:"metadata.json",id:"ac71e058-41b7-4026-b482-3d9b8e31a6d0"},self.airgap);self.airgap.loadOptions=Object.assign({"csp":"off","log":"warn error","telemetry":"on","backendSync":"on","consentPrecedence":"user","signedIabAgreement":"no","backendSyncEndpoint":"https://consent.transcend.io/sync","telemetrySampleRate":"0.0083","unknownCookiePolicy":"allow","unknownRequestPolicy":"allow","telemetryPartitioning":"origin","prompt":"0","privacyPolicy":"https://etsy-com.trsnd.co","regimePrecedence":"us-gpc;consent-prompt;Unknown;GDPR;do-not-sell-or-share","consentManagerConfig":{"privacyPolicy":"https://etsy-com.trsnd.co","theme":{"primaryColor":"#222222","fontColor":"#222"},"initialViewStateByPrivacyRegime":{"us-gpc":"Hidden","consent-prompt":"Hidden","Unknown":"Hidden","GDPR":"Hidden","do-not-sell-or-share":"Hidden"}},"css":"cm.css","messages":"https://consent-manager.etsystatic.com/cm/ac71e058-41b7-4026-b482-3d9b8e31a6d0/translations","reportOnly":"on","iab":"off","sites":"transcend.io etsycloud.com etsy.com etsycorp.com"},self.airgap.loadOptions);(()=>{const allowedHosts=["sync.transcend.io","etsycloud.com","etsy.com","etsycorp.com"];const telemetryEndpoint="https://telemetry.transcend.io/collect";(()=>{
"use strict";var Eh=Object.defineProperty,yh=Object.defineProperties;var Th=Object.getOwnPropertyDescriptors;var Ef=Object.getOwnPropertySymbols;var Rh=Object.prototype.hasOwnProperty,Sh=Object.prototype.propertyIsEnumerable;var ql=(e,t,o)=>t in e?Eh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,x=(e,t)=>{for(var o in t||(t={}))Rh.call(t,o)&&ql(e,o,t[o]);if(Ef)for(var o of Ef(t))Sh.call(t,o)&&ql(e,o,t[o]);return e},Oe=(e,t)=>yh(e,Th(t));var W=(e,t,o)=>(ql(e,typeof t!="symbol"?t+"":t,o),o),yf=(e,t,o)=>{if(!t.has(e))throw TypeError("Cannot "+o)};var de=(e,t,o)=>(yf(e,t,"read from private field"),o?o.call(e):t.get(e)),Fe=(e,t,o)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,o)},fe=(e,t,o,r)=>(yf(e,t,"write to private field"),r?r.call(e,o):t.set(e,o),o);var br="http://www.w3.org/1999/xhtml",Tf="http://www.w3.org/2000/svg",ki=":~:",R="prototype",wi="src";var T=typeof globalThis<"u"?globalThis:self,{Function:Rs,top:G_,document:j}=T,P=!!j,{call:lc,apply:Ph,bind:Ih}=Rs[R],s=lc.bind(lc),H=lc.bind(Ph),mc=lc.bind(Ih),{Symbol:Xo,parent:dc,location:bo,navigator:Ss,String:Bl,XMLHttpRequest:$t,fetch:fc,Request:uc,Array:mr,Blob:Ps,Boolean:F_,Object:Tt,Error:Ke,ReferenceError:Hi,TypeError:kt,Set:Ce,WeakSet:Is,Map:Zt,WeakMap:Gi,Promise:ke,URL:Nt,URLSearchParams:zt,Event:wr,CustomEvent:Wl,UIEvent:Yl,SubmitEvent:Gf,CookieChangeEvent:Fi,CookieStore:qi,cookieStore:En,SecurityPolicyViolationEvent:gc,Date:Jt,FormData:hs,ReadableStream:$l,Headers:Ec,console:Ff,Math:kr,JSON:zl,RegExp:ko,EventTarget:jl,MessagePort:hh,MessageChannel:q_,postMessage:qf,history:vh,History:Ch,AbortController:V_,setTimeout:eo,clearTimeout:yn,setInterval:vs,clearInterval:K_,requestIdleCallback:Cs=function(e,{timeout:t=0}={timeout:0}){return s(eo,this,e,t)},importScripts:Xl,eval:B_,close:W_,TextEncoder:Ts,encodeURIComponent:Qo,decodeURIComponent:Ql,unescape:Vf,Intl:Jl,isNaN:Oh,confirm:Kf,Response:Bf,DOMParser:Wf,Node:Jo,NodeList:Zl,NodeFilter:_h,Attr:Y_,NamedNodeMap:Nh,XMLSerializer:eu,DOMException:Yf,MutationObserver:tu,Number:Ah,performance:ho,Performance:Rf,PerformanceObserver:Ui,PerformanceObserverEntryList:Sf,PerformanceEntry:$_,PerformanceResourceTiming:z_,Element:Os,Document:wo,HTMLDocument:$f,DocumentFragment:Mh,DocumentType:Lh,CharacterData:xh,HTMLElement:zf,HTMLScriptElement:yc,HTMLAnchorElement:ou,HTMLIFrameElement:ru,HTMLFormElement:Tc,HTMLButtonElement:j_,HTMLInputElement:jf,HTMLImageElement:nu,HTMLMediaElement:Xf,HTMLCollection:Rc,SVGElement:Dh,DOMTokenList:su,Proxy:Sc,Reflect:Pf,Range:bh,ShadowRoot:If,URLPattern:Vi,ValidityState:Qf}=T,{structuredClone:Jf}=T,{includes:Zf,every:eg,some:tg,map:og,push:Pc,pop:kh,shift:wh,unshift:Uh,join:rg,slice:X_,splice:ng,find:sg,findIndex:ig,filter:ag,flat:Ic,flatMap:cg,reduce:iu,concat:pg,keys:Hh,values:au,entries:Gh,slice:lg,indexOf:ug}=mr[R],{add:mg,has:dg,delete:fg,clear:gg,values:Eg,entries:Q_,keys:J_,forEach:Z_}=Ce[R],{get:hc,set:yg,has:Tg,delete:Rg,clear:Sg,keys:Fh,values:Pg,entries:Ig}=Zt[R],{toString:eN}=Ah[R],Tn=e=>!Oh(e),{then:Ur,catch:to}=ke[R],Hr=ke.all.bind(ke),hg=ke.resolve.bind(ke),_s=Pf.ownKeys.bind(Pf),et=Tt.keys.bind(Tt),tt=Tt.entries.bind(Tt),Co=e=>s(iu,we(e),(t,[o,r])=>(t[o]=r,t),f()),vg=Tt.assign.bind(Tt),hf=Tt.create.bind(Tt),f=(e=null,t=null)=>e?hf(t,uu(e)):hf(t),je=f(),Oo=e=>{s(Cs,T,()=>{throw e})},{iterator:Ns,hasInstance:cu,match:vf,matchAll:Cf,replace:Of,search:_f,split:Nf,toStringTag:Rn}=Xo,qh=Xo[cu],X=(e,t)=>s(qh,e,t),{childNodes:Vh,children:Kh}=P?j.createDocumentFragment():je,Ki=[[],new Ce,new Zt,""];P&&s(Pc,Ki,Vh,j.createElement("_").classList,Kh);var[Bh,Wh,Yh,$h,zh,jh,Xh]=Ki.map(({[Ns]:e})=>e),pu=e=>{if(X(mr,e))return Bh;if(X(Ce,e))return Wh;if(X(Zt,e))return Yh;if(P){if(X(Zl,e))return zh;if(X(su,e))return jh;if(X(Rc,e))return Xh}return typeof e=="string"||X(Bl,e)?$h:e[Ns]},_e=Tt.defineProperty.bind(Tt),As=Tt.getPrototypeOf.bind(Tt),[Qh,lu,Jh,Zh,ev,tv,ov]=Ki.map(e=>e&&e[Ns]().next),Cg=e=>{if(X(mr,e))return Qh;if(X(Ce,e))return lu;if(X(Zt,e))return Jh;if(P){if(X(Zl,e))return Zh;if(X(su,e))return ev;if(X(Rc,e))return tv}return typeof e=="string"||X(Bl,e)?ov:s(pu(e),e).next},w=function(e,t,o){let r=s(pu(e),e),n=Cg(e),i=s(n,r),a=0;for(;!i.done;)s(t,o,i.value,a++,e),i=s(n,r)},Zo=e=>s(to,e,()=>{}),Og=P?Ss:je,{doNotTrack:Af,cookieEnabled:_g}=Og,{globalPrivacyControl:Ng,userAgent:er}=Og,Gr=P&&_g?T.sessionStorage:f(),at=P&&_g?T.localStorage:f();var we=e=>{let t=s(pu(e),e),o=Cg(e),r=[],n=s(o,t);for(;!n.done;)s(Pc,r,n.value),n=s(o,t);return r},ct=e=>{e.length=0},Rt=e=>e.next().done,oo=Tt.getOwnPropertyDescriptor.bind(Tt),uu=Tt.getOwnPropertyDescriptors.bind(Tt),G=(e,t)=>oo(e[R],t),Bi=e=>uu(e[R]),{hasOwnProperty:vc}=Tt[R],{postMessage:Ag,start:Mg,close:Lg}=hh[R],{parse:rv,stringify:nv}=zl,Fr=rv.bind(zl),Ue=nv.bind(zl),{href:mu,hostname:At,origin:Uo}=bo||je,Ms=ko[R],{test:Cc}=Ms,du=vf&&Ms[vf],tN=Cf&&Ms[Cf],fu=Nf&&Ms[Nf],oN=_f&&Ms[_f],gu=Of&&Ms[Of],qr=G(ko,"source").get,xg=G(ko,"flags").get,{includes:Dg,split:bg,startsWith:kg,endsWith:wg,toLowerCase:Ug,toUpperCase:Hg,replace:Gg,replaceAll:rN,trim:Fg,match:qg,matchAll:nN,search:sN,indexOf:Vg,slice:Kg}=Bl[R],{add:Bg,has:Wg,delete:Yg}=Is[R],{get:$g,set:zg,has:jg,delete:Xg}=Gi[R],{preventDefault:Oc,stopPropagation:Qg,stopImmediatePropagation:Jg}=wr[R],{add:iN,remove:aN,toggle:cN,contains:Eu}=P?su[R]:je,{addEventListener:Ye,removeEventListener:tr,dispatchEvent:yu}=jl[R],{set:ro,entries:Vr,toString:Kr,has:_c,get:Nc,delete:Zg}=zt[R],Lf,Mf=(Lf=G(zt,"size"))==null?void 0:Lf.get,eE=e=>Mf?!s(Mf,e):Rt(s(Vr,e)),{entries:tE}=Ec[R],{go:sv,replaceState:oE}=P?Ch[R]:je,Ls=()=>{s(sv,vh,0)},{click:Ac}=P?zf[R]:je,{submit:Tu,requestSubmit:Ru}=P?Tc[R]:je,{setAttribute:Ro,setAttributeNS:Mc,setAttributeNode:rE,setAttributeNodeNS:nE,insertAdjacentElement:sE,insertAdjacentHTML:iE,append:Wi,remove:aE,hasAttribute:xs,getAttribute:Ds,removeAttribute:Lc,hasAttributeNS:pN,getAttributeNS:cE,removeAttributeNS:pE,getElementsByTagName:lN,matches:uN}=P?Os[R]:je,{appendChild:Br,removeChild:lE,insertBefore:Yi,replaceChild:uE,cloneNode:mE,getRootNode:mN,lookupNamespaceURI:dE}=P?Jo[R]:je,{forEach:fE}=P?Zl[R]:je,{setNamedItem:gE,setNamedItemNS:EE}=P?Nh[R]:je,{adoptNode:Su,importNode:Pu,append:dN,prepend:fN,write:xc=j==null?void 0:j.write,open:Dc=j==null?void 0:j.open,close:bc=j==null?void 0:j.close,execCommand:yE,createElement:TE,createElementNS:kc,createDocumentFragment:iv,createTreeWalker:RE}=P?wo[R]:je,{nextNode:SE}=P?TreeWalker[R]:je,{append:gN,prepend:EN}=P?Mh[R]:je,{before:yN,after:TN,replaceWith:RN}=P?Lh[R]:je,{before:SN,after:PN,replaceWith:IN}=P?xh[R]:je,{observe:PE,disconnect:IE}=P?tu[R]:je,hE=Rf&&Rf[R].getEntries,{observe:vE,disconnect:hN,takeRecords:vN}=Ui&&Ui[R]||je,CE=Sf&&Sf[R].getEntries,OE=ho==null?void 0:ho.timeOrigin,_E=ho==null?void 0:ho.setResourceTimingBufferSize,NE=ho==null?void 0:ho.clearResourceTimings,AE=P&&new Wf,{parseFromString:ME}=P?Wf[R]:je,{serializeToString:LE}=P?eu[R]:je,{createHTMLDocument:Iu,createDocument:wc}=P?DOMImplementation[R]:je,Vl=["DocumentFragment","Document","Element"],Kl=["DocumentType","CharacterData","Element"],xE=new Zt,DE=new Zt,bE=new Zt,kE=new Zt,wE=new Zt,UE=new Zt;P&&(w(Vl,e=>{let t=T[e];xE.set(e,t[R].querySelector),DE.set(e,t[R].querySelectorAll)}),w(Kl,e=>{let t=T[e];bE.set(e,t[R].remove),kE.set(e,t[R].replaceWith),wE.set(e,t[R].before),UE.set(e,t[R].after)}));var HE=P&&G(HTMLBaseElement,"href").set,_o=P&&G(Jo,"baseURI").get,Sn=P&&G(Jo,"nodeType").get,hu=P&&G(Jo,"childNodes").get,CN=P&&G(Jo,"parentNode").get,ON=P&&G(Jo,"parentElement").get,bs=P&&G(Jo,"firstChild").get,{contains:GE,compareDocumentPosition:av,DOCUMENT_POSITION_DISCONNECTED:cv,DOCUMENT_NODE:vu,ELEMENT_NODE:Uc,ATTRIBUTE_NODE:pv,TEXT_NODE:Cu,COMMENT_NODE:FE,DOCUMENT_FRAGMENT_NODE:Ou,DOCUMENT_TYPE_NODE:qE}=P?Jo[R]:je,{SHOW_ELEMENT:VE,FILTER_SKIP:KE,FILTER_REJECT:BE}=P?_h:je,no=e=>e!==null&&typeof e=="object"&&"nodeType"in e,lo=e=>s(Sn,e)===Uc,WE=e=>s(Sn,e)===pv,Hc=e=>s(Sn,e)===vu,YE=e=>s(Sn,e)===Ou,$E=e=>s(Sn,e)===Cu,Ho=P&&G(wo,"cookie"),lv=P&&G(wo,"implementation").get,jt=P&&G(Jo,"ownerDocument").get,ks=P&&G(wo,"defaultView").get,_u=P&&G(wo,"currentScript").get,uv=P&&G(wo,"readyState").get,ws=P&&(e=>s(uv,e)),Us=P&&G(Os,"tagName").get,$i=P&&G(Os,"namespaceURI").get,zE=P&&G(Os,"firstElementChild").get,Hs=P&&s(lv,j),dr=P&&s(_u,j),mv=()=>s(hu,s(iv,j)),Gc=(e,t)=>(o,...r)=>{let n=s(ks,s(jt,o)||j)||T,i=Kl.length;for(;i--;){let a=Kl[i],c=n[a];if(X(c,o))return H(s(hc,e,a),o,r)}return t},jE=(e,t)=>(o,...r)=>{let n=s(ks,Hc(o)?o:s(jt,o)||j)||T,i=Vl.length;for(;i--;){let a=Vl[i],c=n[a];if(X(c,o))return H(s(hc,e,a),o,r)}return t},Pn=P&&Gc(bE),_N=P&&Gc(wE),XE=P&&Gc(UE),QE=P&&Gc(kE),In=P&&jE(xE,null),NN=P&&jE(DE,mv()),vo=Tt.freeze.bind(Tt),JE=Tt.isFrozen.bind(Tt),Nu=(e,t,o=e[t])=>_e(e,t,{value:o,configurable:!1,writable:!1,enumerable:!1}),It=e=>(vo(e[R]),vo(e)),Au=e=>{let t=_s(e);for(let o of s(au,t)){let r=e[o];r&&typeof r=="object"&&Au(r)}return vo(e)},Ne=mr.isArray.bind(mr),No=Jt.now.bind(Jt),Go=Jt.parse.bind(Jt),{toISOString:dv,toUTCString:fv,setMilliseconds:AN}=Jt[R],ot=(e=new Jt)=>s(dv,e),ZE=(e=new Jt)=>s(fv,e),xf,ey=(xf=Ts==null?void 0:Ts[R])==null?void 0:xf.encode,ty=Bf[R].json,Fc=Bf[R].text,oy=oo(As(Uint8Array[R]),"byteLength").get,qc=kr.min.bind(kr),Vc=kr.max.bind(kr),Kc=kr.random.bind(kr),ry=kr.floor.bind(kr),ac,Df,Gs=(Df=(ac=Nt==null?void 0:Nt.createObjectURL)==null?void 0:ac.bind)==null?void 0:Df.call(ac,Nt),cc,bf,ny=(bf=(cc=Nt==null?void 0:Nt.revokeObjectURL)==null?void 0:cc.bind)==null?void 0:bf.call(cc,Nt),pc,kf,Mu=(kf=(pc=Nt==null?void 0:Nt.parse)==null?void 0:pc.bind)==null?void 0:kf.call(pc,Nt),sy=Af==="1"||Af==="on",zi=P&&G(Navigator,"languages").get,{DateTimeFormat:Lu}=Jl,{resolvedOptions:iy}=Lu[R],{sendBeacon:MN}=P?Navigator[R]:je,xu=P&&G(bh,"commonAncestorContainer").get,gv=G(Ce,"size").get,fr=e=>s(gv,e),Ev=G(Zt,"size").get,Vt=e=>s(Ev,e),Fo=e=>{let t=uu(e);return(o,...r)=>{let n=f();return w(r,i=>{let a=t[i];if(a){let{get:c,set:p}=a;(c||p)&&_e(n,i,x(x({},c&&{get(...l){return H(c,o,l)}}),p&&{set(...l){return H(p,o,l)}}))}}),n}},Ae=(e,t,o)=>e(t,o)[o],hn=Fo(wr[R]),Bc=Fo(MessageEvent[R]),{item:LN}=P?Rc[R]:je,xN=P&&G(Rc,"length").get,ay=P&&G(zf,"dataset").get,cy=P&&G(Dh,"dataset").get,wf,qo=(wf=oo(T,"document"))==null?void 0:wf.get,rt=P&&G(wo,"documentElement").get,py=P&&G(wo,"doctype").get,ji=P&&G(wo,"body").get,Wr=P&&G(wo,"head").get,Uf,Du=P&&((Uf=G(wo,"xmlVersion"))==null?void 0:Uf.get),Wc=P&&G(Tc,"action"),ly=P&&G(Tc,"enctype"),uy=P&&G(Tc,"method"),my=P&&(G(Jo,"isConnected")||{get(){let e=s(jt,this);return!e||!(s(av,e,this)&cv)}}).get,dy=P&&oo(T,"closed").get,vn=P&&G(Os,"innerHTML"),Xi=P&&G(Os,"outerHTML"),Yc=If&&G(If,"innerHTML"),bu=P&&G(yc,wi),Fs=P&&G(nu,wi),Qi=P&&G(nu,"currentSrc"),DN=P&&G(nu,"srcset"),ku=P&&G(Xf,wi),wu=P&&G(Xf,"currentSrc"),fy=P&&G(ru,wi),Hf,Ji=P&&((Hf=G(ru,"credentialless"))==null?void 0:Hf.set),$c=P&&G(ru,"srcdoc"),bN=P&&G(ou,"ping"),gy=P&&G(ou,"download"),Ey=P&&G(ou,"href"),yy=uc&&G(uc,"url").get,{open:zc,send:jc,abort:Ty,getResponseHeader:Uu,OPENED:kN,HEADERS_RECEIVED:Ry,DONE:Sy}=$t?$t[R]:je,wN=$t&&G($t,"withCredentials"),Py=$t&&G($t,"response").get,Iy=$t&&G($t,"responseText").get,hy=$t&&G($t,"responseType").set,Xc=$t&&G($t,"readyState").get,{entries:vy}=hs[R],Qc=No(),{captureStackTrace:Jc}=Ke;var F=(e,t)=>s(Zf,e,t),or=(e,t,o)=>s(eg,e,t,o),Te=(e,t,o)=>s(tg,e,t,o),L=(e,t,o)=>s(og,e,t,o),E=(e,...t)=>H(Pc,e,t);var Pe=(e,t)=>s(rg,e,t),Xe=(e,t,o)=>s(lg,e,t,o),st=(e,t,o,...r)=>s(ng,e,t,o,...r),Qe=(e,t,o)=>s(sg,e,t,o),Kt=(e,t,o)=>s(ig,e,t,o),Me=(e,t,o)=>s(ag,e,t,o),yv=(e,t)=>s(Ic,e,t),Tv=(e,t,o)=>s(iu,e,t,o),Mt=(e,...t)=>H(pg,e,t),Cn=Ic?e=>yv(e,1):e=>Tv(e,(t,o)=>Mt(t,o),[]),Cy=Ic?(e,t,o)=>s(cg,e,t,o):(e,t,o)=>Cn(L(e,t,o)),Yr=(e,t,o)=>s(ug,e,t,o);var I=e=>s(au,e),De=e=>s(Eg,e);var qu=e=>s(Pg,e),wt=e=>s(Ig,e),ht=(e,t)=>s(Dg,e,t),Oy=du?(e,t)=>s(du,t,e):(e,t)=>s(qg,e,t),Le=(e,t,o)=>s(bg,e,t,o),so=fu?(e,t,o)=>s(fu,t,e,o):Le,vt=(e,t,o)=>s(kg,e,t,o),Vu=(e,t,o)=>s(wg,e,t,o),Bt=e=>s(Ug,e),uo=e=>s(Hg,e),Ct=gu?(e,t,o)=>s(gu,t,e,o):(e,t,o)=>s(Gg,e,t,o),On=e=>s(Fg,e),Ao=(e,t,o)=>s(Vg,e,t,o),St=(e,t,o)=>s(Kg,e,t,o),gr=(e,t)=>s(Bg,e,t),Vo=(e,t)=>s(Wg,e,t),Zc=(e,t)=>s(Yg,e,t),_n=(e,t)=>s($g,e,t),qs=(e,t,o)=>s(zg,e,t,o),_y=(e,t)=>s(jg,e,t),Ny=(e,t)=>s(Xg,e,t),J=(e,t)=>s(mg,e,t),Re=(e,t)=>s(dg,e,t),Ay=(e,t)=>s(fg,e,t),Mo=e=>s(gg,e),Ee=(e,t)=>s(hc,e,t),ae=(e,t,o)=>s(yg,e,t,o),Be=(e,t)=>s(Tg,e,t),rr=(e,t)=>s(Rg,e,t),Lo=e=>s(Sg,e),My=(e,t)=>s(fE,e,t),We=(e,t)=>s(Cc,e,t),Se=e=>{let t=new Zt;return e&&w(e,([o,r])=>{ae(t,o,r)}),t},Zi=e=>{let t=new Gi;return e&&w(e,([o,r])=>{qs(t,o,r)}),t},ce=e=>{let t=new Ce;return e&&w(e,o=>{J(t,o)}),t},$r=e=>{let t=new Is;return e&&w(e,o=>{gr(t,o)}),t},Ly=(e=new Date)=>Le(ot(e),"T")[0],Hu,Vs=Ts?e=>s(oy,s(ey,Hu!=null?Hu:Hu=new Ts,e)):e=>s(Vf,T,Qo(e)).length,Gu=e=>`data-${Ct(e,/[A-Z]/g,t=>`-${Bt(t)}`)}`,Rv=function(){let e=this;return new Sc(f(),{get:(t,o)=>s(Ds,e,Gu(o)),set:(t,o,r)=>s(Ro,e,Gu(o),r),deleteProperty:(t,o)=>(s(Lc,e,Gu(o)),!0)})},Er=e=>s(s($i,e)===br?ay:s($i,e)===Tf?cy:Rv,e),Fu,Ko=e=>s(LE,Fu!=null?Fu:Fu=new eu,e),Xt=e=>s(kc,j,br,e),Bo=e=>uo(s(Us,e));var xy=()=>{var o,r;w(Ki,n=>{Nu(As(n),Ns),vo(As(n[Ns]()))});let e=(r=(o=T)==null?void 0:o.Iterator)==null?void 0:r[R];e&&vo(e);let t=[[Gi[R],"has","get","set"],[Is[R],"has","add"],[Is,cu],[Rs[R],"call"]];w(t,([n,...i])=>{w(i,a=>{Nu(n,a)})})};var Lt=(e,t=f,o)=>{try{return Fr(e,o)}catch(r){return Oo(r),t==null?void 0:t()}};var Gy=e=>{let t=e&&s(_o,e);return t==="about:blank"&&e!==j?Gy(j):t},Fy=(e,t)=>Wu||t||P&&Gy(e||j)||mu,Nn=bo&&Fo(bo).bind(T,bo),oe=Fo(Nt[R]),xt=(e,t,o)=>new Nt(e,Fy(t,o)),Sv=/^\s*data:/i,Uy,Hy,Pv=(Hy=(Uy=Vi)==null?void 0:Uy[R])==null?void 0:Hy.test,Iv=Vi&&new Vi,ea=e=>s(Cc,Sv,`${e}`),Dy=Vi&&(e=>e!==null&&s(Pv,Iv,`${e}`,"http://-")),by=(e,t,o)=>{try{return xt(e,t,o)}catch(r){return null}},An=Mu?(e,t,o)=>Mu(e,Fy(t,o)):Dy?(e,t,o)=>Dy(e)?xt(e,t,o):null:P?(()=>{let e=Xt("input");e.type="url";let t=e.validity,o=G(jf,"value").set,r=G(Qf,"valid").get;return(n,i,a)=>(s(o,e,n),n&&s(r,t)?xt(n,i,a):by(n,i,a))})():by,Wt=(e,t,o)=>ea(e)?null:An(e,t,o),ky=Bi(Event),hv=f(),vv=f();for(let e of I(et(ky))){let{get:t,set:o}=ky[e];hv[e]=t,vv[e]=o}var Ku,Ks=()=>{var e;return ho&&(Ku!=null?Ku:Ku=(e=Qe(s(hE,ho),({entryType:t})=>t==="navigation"))==null?void 0:e.name)||Wu||mu},Bu=e=>{let t=Ao(e,"#"),o=~t?Ao(St(e,t),ki):-1;return~o?[t+o,3]:[t,1]},ep=(e=Ks(),[t,o]=e?Bu(e):[-1])=>~t?new zt(St(e,t+o)):!1,Cv=/=(&|$)/g,Ov=e=>Ct(e,Cv,"$1"),wy=e=>Ov(s(Kr,e)),_v=(e,t)=>{if(Rt(s(Vr,t)))return;let{hash:o}=e;if(o){let[r,n]=Bu(o);if(~r){let i=ep(o);for(let[a,c]of s(Vr,t))s(ro,i,a,c);e.hash=`${St(o,0,r+n)}${wy(i)}`;return}}e.hash+=`${ki}${wy(t)}`},qy=(e,t=Ks(),o=history)=>{if(!e.length)return;let r=Bu(t),[n,i]=r;if(~n){let a=ep(t,r);w(e,p=>{s(Zg,a,p)});let c=oe(xt(St(t,0,n+i)),"hash","href");_v(c,a),s(oE,o,null,null,Ct(c.href,/#$/,""))}};var tp="tcmConfigOverrides",Nv=()=>{let{[tp]:e}=Gr,t=ep(),o=t||new zt;if(e){let r=Lt(e);r&&w(tt(r),([n,i])=>{(!t||!s(_c,t,n))&&s(ro,o,n,i)})}return o},op=Nv();var pt="on",Ie="off",Mn="consent",Wo="quarantine";var Vy,Ln=!((Vy=dr)!=null&&Vy.src)&&typeof GM<"u";var Av=/(?:\s*(?:,\s*)+|\s+)/,io=e=>so(e,Av);var Yu=["fatal","error","warn","info","log","debug","trace"],Mv=e=>{let t=-1;return w(e,o=>{let r=Yr(Yu,o);~r&&(t=Vc(r,t))}),~t?Xe(Yu,0,t+1):[]},Lv=["all","*"],Ky=e=>ce(Mv(F(Lv,e)?Yu:!e||e==="off"?[]:io(e)));var $u=T.airgap,ta=$u==null?void 0:$u.loadOptions,zu=dr?Er(dr):f();if(Ln){let e={log:"*",monitoring:"export"},{tcmLoadOptions:t}=at,o=x(x({},e),t?Lt(t):f());ta=ta?x(x({},ta),o):o}var B=f(ta?x(x({},ta),zu):zu),xv=["fatal","error","warn","info","log","debug","trace"],By="log",Dv="info",Wy,ju=s(Nc,op,By)||Bt((Wy=B[By])!=null?Wy:""),oa=Ky(ju),C=fr(oa)>Yr(xv,Dv),Je=Re(oa,"error"),lt=Re(oa,"warn"),yr=B.tamperResist===pt,Wu=B.baseUrl,xn=B.nonce;xn&&delete zu.nonce;var Xu=(e,t)=>_e(e,Rn,{value:t,enumerable:!0,configurable:!1,writable:!1});var bv=/\.+$/g,Bs=e=>Ct(e,bv,"");var Tr=(e,t,o,r=!0)=>{if(r&&(t===""||t===null))return!0;let{hostname:n,port:i}=oe(xt(`https://${t}${typeof o<"u"?`:${o}`:""}`),"port","hostname"),a=Le(Bs(n),".");return Te(e,c=>{let{port:p,hostname:l}=oe(xt(`https://${c}`),"port","hostname"),u=Le(Bs(l),"."),m=Pe(Xe(a,-u.length),".");return l===m&&(!p||p===i)})};var Yy=Jf||(e=>Fr(Ue(e)));var Rr=e=>X(Ce,e)?ce(e):no(e)?Ko(e):typeof e<"u"?Yy(e):void 0;var kv=/;/g,$y=e=>Ct(`${e}`,kv,t=>s(Qo,T,t)),Sr=({name:e,value:t},o=!1)=>`${$y(o||e||"")}${o?"":`=${$y(t||"")}`}`;var rp=(e,t)=>{let o=Er(t);w(_s(e),r=>{let n=e[r];(typeof n=="string"||typeof n=="number")&&(o[r]=n)})};var np=({getKey:e,searchDepth:t=null,condition:o})=>(r,...n)=>{let a=!n.length?we(r):Cn(n),c=new Ce;w(a,d=>{J(c,e(d))});let p=[],l=t===null,u=l?0:qc(a.length,t);w(l?a:Xe(a,-u),(d,y)=>{let A=e(d);Re(c,A)?(!o||o(d))&&E(p,l?y:y+u):J(c,A)});let m=p.length;for(;m--;){let d=p[m];st(a,d,1)}return a},sp=np({getKey:({url:e})=>e,condition:e=>{var o;let t=(o=e==null?void 0:e.requestInit)==null?void 0:o.method;return!t||uo(t)==="GET"}}),ip=np({getKey:Sr});var zr=(e,t,o)=>{let r=f(),n=!1;return w(e,i=>{let a=o[i];t[i]!==a&&(n||(n=!0),r[i]=a)}),n?r:null};var Ws=({timestamp:e},t)=>(Tn(e)?e:Go(e))<No()-t,Qu=(e,t)=>Me(e,o=>Ws(o,t));var wv={get(){return this.isTrusted}},Ju=(e,t="")=>(oo(new e(t),"isTrusted")||wv).get,ap=Ju(wr),Uv=P&&Ju(Yl),Hv=e=>X(wr,e)&&s(ap,e),Gv=Gf||wr,Zu=e=>X(Gv,e)&&Ae(hn,e,"type")==="submit"&&Hv(e),Fv=Ju(gc,"securitypolicyviolation"),Xy=e=>s(Fv,e),zy=e=>{let{type:t,timeStamp:o}=hn(e,"type","timeStamp");return s(ap,e)&&t==="load"&&o<=Qc},qv=e=>s(ap,e)&&Ae(hn,e,"type")==="change",jy=e=>P&&X(Yl,e)&&s(Uv,e)||Zu(e)||qv(e),Vv=Fi||wr,Qy=e=>X(Vv,e)&&Ae(hn,e,"type")==="change"&&s(ap,e),em=(e,t=!0)=>{if(!e)return!1;if(X(wr,e)&&(t&&jy(e)||zy(e)))return!0;let{interaction:o,load:r}=e;return t&&o&&jy(o)||r&&zy(r)||!1};var Jy=async e=>s(to,s(Fc,await fc(e)));function tm(e){return et(e)}var Zy=e=>{let t=f();if(F(["string","number","boolean","undefined"],typeof e))return t;let r=tm(As(e)),n=tm(e),i=a=>{t[a]=e[a]};return w(r,i),w(n,i),t};var cp=(e="",t,o=Ff)=>{let r=(h,z,...k)=>{let ue=[],He=!0;w(k,({tag:he,message:me})=>{He?(typeof me.content=="string"?E(ue,[`%c${he.content?`${he.content}%c `:"%c"}${me.content}`,...he.styles,"",...me.styles]):E(ue,[`%c${he.content}`,...he.styles,me.content]),He=!1):E(ue,me.content)});let se=Cn(ue);H(h,o,se)},n="font-size:larger;font-weight:bold;border-radius:0.25em;padding:0.08em 0.25em;",i=`${n};color:navy;background-color:#78acff;`,a=`${n};color:#2F4F4F;background-color:darkgray`,c=`${n};color:amber;background-color:#6e3e00`,p=`${n};color:#800000;background-color:#ff4500`,l=e,u=(h,z)=>{let k=l;l=h,z&&(z(),l=k)},m=Se([["fatal","error"]]),d=(h,z,k=n)=>{if(t&&!Re(t,z)){let me=()=>{};return me.styled=me,me}let ue=o[Be(m,h)?Ee(m,h):h],He=[k],se=[],he=(...me)=>{r(ue,h,...L(me,ft=>({tag:{content:l,styles:He},message:{content:ft,styles:se}})))};return he.styled=(me,...ft)=>{let[Ve]=ft;ft.length>0&&(typeof Ve!="string"||!ht(Ve,"%c"))&&(ft[0]=`%c${Ve}`),typeof me<"u"&&me!==null&&E(se,...Ne(me)?me:[me]),he(...ft),ct(se)},he},y="info",A=[["group",[y,i]],["groupCollapsed",[y,i]],["groupEnd",[y,i]],["trace",["trace",a]],["log",[y,i]],["info",[y,i]],["debug",["debug",a]],["warn",["warn",c]],["error",["error",p]],["fatal",["error",p]]],U=f({tag:u});return w(A,([h,[z,k]])=>{U[h]=d(h,z,k)}),vo(U)};var Kv=+(B.quarantineSyncBudget||0),Dn=({timestamp:e,purposes:t,confirmed:o,prompted:r,updated:n,metadata:i,metadataTimestamp:a,quarantine:c},p,l=Kv)=>f(x({purposes:t?f(Co(Me(tt(t),([u])=>!p||Re(p,u)))):f(),timestamp:ot(new Jt(e?Go(`${e||0}`):No())),confirmed:!!o,prompted:!!r,updated:!!n,metadata:i,metadataTimestamp:a},l&&(l===-1||Vs(Ue(c))<=l)&&f({quarantine:c})));var ra=e=>e?Me(L(e?Me(io(e),t=>t):[],t=>Wt(We(/^[\w-]+:\/\//,t)?t:`https://${t}`)),t=>t):[];var na=class{constructor(t,o){this.id=t;W(this,"hosts");W(this,"data");W(this,"toJSON",()=>{let{id:t,data:o,hosts:r}=this;return{[t]:o?[o,...r]:r}});let[r]=o;typeof r=="object"?(this.data=r,this.hosts=Xe(o,1)):this.hosts=o}};It(na);var Ys=class extends mr{constructor(o){super();W(this,"findGroupByHost",o=>{for(let r of I(this))if(Tr(r.hosts,o))return r;return null});W(this,"findGroupById",o=>{for(let r of I(this))if(r.id===o)return r;return null});W(this,"setAll",o=>{let r=tt(o);for(let[n,i]of I(r)){let a=this.findGroupById(n),c=Ne(i)?i[0]:i;a&&typeof c=="object"&&(a.data=c)}});W(this,"serialize",()=>{let o=f();for(let{id:r,data:n}of I(this))n&&(o[r]=Dn(n));return o});if(o)for(let[r,n]of tt(o))E(this,new na(r,n))}get hosts(){let o=new Ce;for(let{hosts:r}of I(this))for(let n of I(r))J(o,n);return we(o)}};It(Ys);yr&&xy();var xo="Essential",eT=[["EU","AI AT AW AX BE BG BL BM CW CY CZ DE DK EE ES FI FK FO FR GB GF GG GI GL GP HR HU IE IM IO IT JE KY LT LU LV MF MQ MS MT NC NL PF PL PM PN PT RE RO SE SH SI SK SX TC UK VG WF YT"]],tT=[[[["US","CA"]],["CPRA"]],[[["EU"],["GB"],["NO"],["IS"],["LI"]],["GDPR"],"in",!0,["Europe"]],[[["BR"]],["LGPD"],"in",!1,"Araguaina Bahia Belem Boa_Vista Campo_Grande Cuiaba Eirunepe Fortaleza Maceio Manaus Noronha Porto_Velho Recife Rio_Branco Santarem Sao_Paulo".split(" ")]],pp="GoogleConsentMode",lp="GoogleAdsRDP",$s="FacebookLDU",oT=`${$s}:strict`,zs="TikTokLDU",rT=`${zs}:strict`,up="YouTubePrivacyEnhancedMode",mp="VimeoDNT",dp="WistiaDNT";var om=2147483647,sa="HTMLImageElement",ia="HTMLAnchorElement",bn="HTMLLinkElement",fp="HTMLScriptElement",gp="HTMLMediaElement",jr="HTMLIFrameElement",qe="href",Ep=!0,yp=L(Le("about data blob mailto mediastream filesystem chrome-extension moz-extension safari-web-extension safari-extension"," "),e=>`${e}:`),Xr="unknown",Ut="Unknown",Tp=Ut,Ht="request",Yo="cookie",rm="origin",Rp="font-weight:bold",kn="airgap",Ot=`${kn}.js`,nr=e=>`${kn}.${e}(): Authorization proof is untrusted`,wn="*",Sp=[wn,pt,"all"],nT=7e4,sT=1e3,iT=1e3,aT=3e5,cT="tcfapi";var pT="ui",nm="policies",sm="dataflows",Pp="hosts",Ip="paths",hp="csp",im="cookies",vp=f({once:!0}),Pr="module",Ir=()=>{},Cp="pagehide";var lT=1e3,am="tcm",Op="true",cm="remove",aa="Content-Type",uT="^tcm(?::|$)",js="Tracking purposes must be strings",_p="PendingEvent.purposes must be a Set",Xs="Pending event allow/deny state must be true, false, or null",hr="Pending events cannot be unblocked";var g=cp(Ot);var mT=!1,pm=()=>{mT=!0},Un=new Ce,Hn=()=>(mT||(sy&&J(Un,"DNT"),Ng&&J(Un,"GPC"),pm()),Un);var dT=!1,fT=!1,gT=()=>dT,ET=()=>fT,Bv=()=>{let e=op;if(!eE(e)){let t=(p,l)=>{g.warn(`Using ${p} override:`,l?Ue(l):"(empty)")},o=Xo(),r=Xo(),n=f(),i=f({log:p=>{t("log level",p)},"tcm-prompt":p=>(g.warn("Consent prompt triggered by config override"),p&&t("prompt view state",p),fT=p,r),"tcm-reset":()=>(dT=s(Kf,T,"Reset tracking consent?"),r),"tcm-report-only":p=>{p===Ie&&(t("report-only mode",p),B.reportOnly=p)},"tcm-regime":p=>{t("privacy regime",p),B.regime=p},"tcm-signals":p=>{t("privacy signals",p),Mo(Un),p&&w(io(p),l=>{J(Un,l)}),pm()},"tcm-clear-overrides":()=>(g.log("Clearing all config overrides"),w(et(n),p=>{delete n[p]}),delete Gr[tp],o)}),a=!0,c=[];for(let[p,l]of s(Vr,e)){if(!s(vc,i,p))continue;E(c,p);let u=i[p](l);if(u===o){a=!1;break}u!==r&&(n[p]=l)}a&&(Gr[tp]=Ue(n)),qy(c)}};Bv();var Wv="Unknown",yT=[["GDPR","LGPD","nFADP"],["Advertising","Analytics","Functional"]],lm=[yT,[["CPRA","CDPA","CPA","NEVADA_SB220","US_DNSS"],["SaleOfInfo"]],[[Wv],[]]],um=[yT],gL=Object.fromEntries(um.map(([e,t])=>e.map(o=>[o,t])).flat()),EL=Object.fromEntries(lm.map(([e,t])=>e.map(o=>[o,t])).flat());var vr="9.82.3",PT,IT,hT,dm=dr&&(((PT=dr)==null?void 0:PT.src)||((hT=(IT=dr)==null?void 0:IT.href)==null?void 0:hT.baseVal))||B.airgap;if(!dm){let e;if(Ln){let t=GM.info.script.resources;e=(r=>{var n;return(n=Qe(t,({name:i})=>i===r))==null?void 0:n.url})(Ot)}if(!e)throw new Ke("No airgap.js script URL detected.");dm=e}var ua=oe(xt(dm),"href","search","hostname","pathname"),{search:ma,href:sr}=ua,Mp=T===dc,{telemetry:_T,backendSync:Yv,reportOnly:$v,monitoring:fm,privacyPolicy:zv,xdiAllowed:jv=zv||"",regulateRequests:Xv,regulateCookies:NT,regulateNavigation:Qv,trackerOverrides:Jv,telemetryPartitioning:Zv,telemetryTrackingPurpose:eC,requireAuth:AT,signedIabAgreement:PL,sync:Np,localSync:MT,site:tC,sites:TT,syncEndpoint:oC,syncEndpointMap:RT,mutationObserver:rC,tfpf:nC,requireTfpf:sC,tfpfStackLimit:iC,unknownRequestPolicy:gm,unknownCookiePolicy:Em,protectRealms:LT,realmProtectionHooks:mm,bup:aC,cacheGcInterval:cC}=B,{trackerOverridesUnconsentedPurpose:Lp="SaleOfInfo",telemetrySyncPeriod:xT=300,telemetryProcessingPeriod:DT=5e3,initialTelemetrySyncPeriod:bT=30,bdInteractionThreshold:kT=600,backendSyncEndpoint:ca,autoExpire:Ap,firstParty:wT,syncGroups:UT,quarantineSize:pC,partition:Gt,telemetrySampleRate:lC=1,eventSampleRate:uC=1}=B,ym=+(cC||aT),HT=aC!==Ie,Fn=LT!=="self",GT=Fn&&LT!=="descendants",pa=[],mC=mm!=="off"&&mm?io(mm):[];for(let e of I(mC)){let t=Ao(e,":");if(~t){let o=St(e,0,t),r=St(e,t+1);E(pa,[o,r])}else E(pa,[e])}var Qs=Bt(Np!=null?Np:""),dC=[Mn,Wo],qn=!Qs||F(Sp,Qs)?dC:Qs===Ie?[]:We(/\s|,/,Qs)?io(Qs):[Qs],xp=F(qn,Mn),Tm=F(qn,Wo),ST=RT&&tt(Lt(RT,f)),vT,Cr=((vT=ST&&Qe(ST,([e])=>Tr([e],At)))==null?void 0:vT[1])||oC,So=Np===Ie||!qn.length,FT=So||!xp&&!Tm||!Cr,da=!So&&xp&&Yv===pt&&ca;var qT=Ep&&eC||xo,la=Ep&&B.telemetryEndpoint||typeof telemetryEndpoint<"u"&&telemetryEndpoint,Js=+lC,Rm=Js===1||Kc()<Js,Vn=+uC,Dp=(!Ep||_T!==Ie)&&la&&Rm,VT=_T==="usage",KT=["origin","host","hostname","port"],Sm=[];ca&&da&&E(Sm,oe(xt(ca),...KT));var fa=[];la&&Dp&&E(fa,oe(xt(la),...KT));var Dt=$v===pt,$o=fm==="export",nt=fm!==Ie&&(Dp||Dt||$o||fm===pt),BT=!Dt&&Xv!==Ie,ga=!Dt&&NT!==Ie,WT=ga&&NT==="2",bp=!Dt&&Qv===pt,YT=P&&rC===pt,$T=+(pC||2621e3),_t=Ap?+Ap*6e4:0,Pm="airgap://test 'self' data: blob:";var CT,Ea=io(Dt?Ie:(CT=B.csp)!=null?CT:"allow-known-hosts allow-subdomains"),Zs=!F(Ea,Ie),kp=L(ra(jv),e=>oe(e,"host","hostname","port")),wp=er&&ht(er,"Edge/"),Up=er&&ht(er,"Chrome/"),Im=er&&ht(er,"Safari/")&&!Up,hm=!Im,Hp=er&&ht(er,"Firefox/"),OT,vm=Im&&((OT=Oy(er,/Version\/(\d+)/))==null?void 0:OT[1]),Gn=tC||TT&&Qe(io(TT),e=>Tr([e],At));Gn&&(B.site=Gn);var ya=MT!=="private-only",fC=ya&&MT!=="private",Or=P&&Gn&&fC,zT=Or&&(!hm||!Cr),ir=Gt?`${am}-${Gt}`:am,Gp=Xo(),Fp=AT===Ie,jT=AT==="strict",ei=!Dt&&Jv!==Ie,gC=[rm,"path","url"],Cm=Qe(gC,e=>e===Zv)||rm,EC=nC!==Ie,yC=sC===pt,XT=+(iC||6),qp=!qi,QT=9,Vp=Jc,JT=!Im&&(Vp||Hp),ti=EC&&JT,Om=yC&&!JT,oi=!Zs&&(!gm||gm==="allow"),Kp=!Zs&&(oi||gm==="require-full-consent"),ri=!Em||Em==="allow",_m=ri||Em==="require-full-consent",Ta=ti&&qi&&nt&&ri,Bp=B.ui===Ie,ZT=B.cookieListenerRegulation===pt;var eR="interaction",Do=(e,t=!0)=>Fp||t&&(e==null?void 0:e.key)===Gp&&em(f({[eR]:e==null?void 0:e[eR]}),t)||em(e,!jT&&t);var Wp=e=>{if(typeof e>"u")return;let t=f(e);return Ec&&X(Ec,t.headers)&&(t.headers=Co(s(tE,t.headers))),hs&&X(hs,t.body)&&(t.body=new zt(t.body)),zt&&X(zt,t.body)?(t.body=s(Kr,t.body),t):($l&&X($l,t.body)&&delete t.body,t)};var Ra=!Dt,Nm=!!Dp,$=()=>!Ra,ut=()=>Nm,Yp=e=>{Ra=!!e},TC=e=>{Nm=!!e},Am=e=>{var n;let t=typeof e>"u",o=typeof e=="object",r=!!(t?!Ra:o?(n=e==null?void 0:e.protection)!=null?n:Ra:e);if(Dt&&r)return Je&&g.error("Cannot enable protection in report-only mode"),!1;if(Yp(r),o){let i=e==null?void 0:e.telemetry;typeof i=="boolean"&&TC(i)}return!0},tR=(e,t)=>Do(e,!1)?Am(t):!1,oR=()=>vo(f({protection:Ra,csp:Zs,monitoring:nt,telemetry:Nm}));var Qr=()=>ce([xo]),RC=e=>{let t=Be(e,At),o=`www.${At}`,r=vt(At,"www.")||Be(e,o);t||ae(e,At,Qr()),ht(At,".")&&!r&&ae(e,o,Qr())},SC=e=>{let{hostname:t}=ua;Be(e,t)||ae(e,t,Qr())},PC=e=>{let t="about:";Be(e,t)||ae(e,t,Qr())},rR=(e,t=!1)=>{w([...Cr?[oe(xt(Cr),"host","hostname","port")]:[],...kp],o=>{if(o){if(t&&!o.port)return;let r=t?o.host:o.hostname;Be(e,r)||ae(e,r,Qr())}})},nR=(e,t=!1)=>{ut()&&w(fa,o=>{if(t&&!o.port)return;let r=t?o.host:o.hostname;Be(e,r)||ae(e,r,ce([qT]))})},sR=(e,t=!1)=>{da&&w(Sm,o=>{if(t&&!o.port)return;let r=t?o.host:o.hostname;Be(e,r)||ae(e,r,Qr())})},IC=e=>{Be(e,"youtube.com")&&!Be(e,"youtube-nocookie.com")&&ae(e,"youtube-nocookie.com",Qr())},iR=e=>{RC(e),SC(e),nR(e),rR(e),IC(e),sR(e)},aR=e=>{PC(e),nR(e,!0),rR(e,!0),sR(e,!0)},cR=e=>{Or&&!Te(e,({cookie:t})=>X(ko,t)?s(qr,t)===uT:t===ir)&&E(e,{cookie:ir,purposes:Qr()})};var{cacheKeySize:hC}=B,lR=+(hC||iT),$p=({URLs:e,urls:t})=>{let o=Pe(L(e,(r,n)=>r?Ae(oe,r,qe):s(encodeURIComponent,T,t[n])),`
`);return!o||o!==null&&o.length>lR?null:o},uR=e=>{let t=ar(e);return!t||t!==null&&t.length>lR?null:t},mR=[],zp=e=>{E(mR,e)},vC=()=>{for(let e of I(mR))e()},pR,jp=()=>{pR||ym&&(s(vs,T,vC,ym),pR=!0)};var{regulationCacheSize:CC}=B,Mm=+(CC||nT),ao=!!Mm,dR=e=>{let{requestInit:t}=e;return t!=null&&t.body?null:$p(e)},Sa=ao&&Se(),ni=ao&&Se(),Pa=ao&&new Map,Lm=()=>{Lo(Sa),Lo(ni),Lo(Pa)},OC=()=>{Vt(Sa)+Vt(ni)+Vt(Pa)>=Mm&&Lm()},fR=()=>{ao&&~Mm&&(zp(OC),jp())};var cr=[],gR=e=>{let t=E(cr,e)-1;return{remove:()=>{cr[t]!==e&&(t=Kt(cr,r=>r===e)),st(cr,t,1)}}};var xm=!1,Qp=()=>xm,Kn=[],ER=()=>{Ne(Xp)&&Xp.length&&(xm=!0,E(Kn,...Xp))},yR=(e,...t)=>{if(!Do(e,!1))throw new Ke(nr("overrideCookies"));if(t.length){xm=!0;for(let r of I(t))E(Kn,r)}return{remove:()=>{for(let r of I(t)){let n=Kt(Kn,i=>i===r);n!==-1&&st(Kn,n,1)}}}},TR=e=>{for(let t of I(Kn))t(RR(e))};var SR=["timestamp","expires","maxAge","domain","path","sameSite","secure"],PR=L(SR,Bt),_C=Xe(PR,-1),NC=e=>{let t=Ao(e,"=");return~t?[On(St(e,0,t)),On(St(e,t+1))]:[On(e),""]},Ia=(e,t)=>{let o=L(Le(e,";"),NC),[r,n]=o[0];if(!r&&!n)return null;let i=f();for(let c of I(Xe(o,1))){let[p,l]=c,u=Bt(Ct(p,/[^a-z]/i,"")),m=Yr(PR,u);~m&&(i[SR[m]]=F(_C,u)?!!l:l)}let{domain:a}=i;return qp&&a&&hR(r,a),x(x({name:r,value:n},i),t)},IR=({Document:e})=>{e&&_e(e[R],"cookie",Oe(x({},Ho),{set(...t){let o=this,r=()=>H(Ho.set,o,t);if($())return r();let[n]=t,i=()=>($o&&c!==null&&E(Po,c),r()),a=Ia(n,{target:o,mutator:i});if(a===null)return i();let c=new bt(a);return Qp()&&(t[0]=ar(c)),Jr(c)?i():si(c)}}))};var _R=(e=0,t=XT)=>{let o=Ke.stackTraceLimit,r=f();Ke.stackTraceLimit=t,s(Jc,Ke,r,e||ha);let n=Ke.prepareStackTrace,i;return Ke.prepareStackTrace=(...a)=>([,i]=a,n?s(n,...a):a[0].stack),r.stack,Ke.stackTraceLimit=o,Ke.prepareStackTrace=n,i},vR,CR,OR,{getMethodName:AC,getFileName:MC,getLineNumber:LC,getColumnNumber:xC}=ti&&Vp&&((OR=(CR=(vR=_R(0,1))==null?void 0:vR[0])==null?void 0:CR.constructor)==null?void 0:OR.prototype)||f(),DC=e=>{let t=_R(e);return L(t||[],o=>[s(AC,o)||"",s(MC,o)||"",s(LC,o)||-1,s(xC,o)||-1])},bC=async e=>{let[t,o,r,n,i]=so(e||"",/[@:]/g);return[t,o+r,+n,+i]},kC=e=>e?Hr(L(Xe(Le(e,`
`),0,-1),bC)):hg([]),ha=async e=>Vp?DC(e)||[]:Hp?kC(new Ke().stack):[],wC=`${Up?"chrome":"moz"}-extension`,NR=e=>(Up||Hp)&&Te(e,t=>vt(t[1]||"",wC));var Zp=ce(),AR,MR,UC=(MR=(AR=qi)==null?void 0:AR[R])==null?void 0:MR.getAll,bm=[],Jp=Ta&&Se();var Dm=Se(),hR=(e,t)=>{let o=Ee(Dm,e);o?J(o,t).size>QT&&Ay(o,s(lu,De(o)).value):ae(Dm,e,ce([t]))},ii=(e,t)=>typeof e<"u"&&e!==null?`;${t}=${e}`:"",ar=(e,t=!1,o=!1)=>{let{expires:r,domain:n,path:i,maxAge:a,secure:c,sameSite:p}=e;return`${Sr(e,t)}${ii(n,"Domain")}${ii(i,"Path")}${!o&&typeof r=="number"?ii(ZE(new Date(r)),"Expires"):""}${ii(a,"Max-Age")}${ii(p,"SameSite")}${c?";Secure":""}`},LR=(e,t,o=!1)=>{if(e&&(o&&cR(e),t))for(let r of I(Ne(t)?t:L(tt(t),([n,i])=>({cookie:n,purposes:i,hosts:[]})))){let{cookie:n,regex:i,hosts:a}=r,c=Wn(r.purposes),p=i&&typeof n=="string"?new ko(n):n;typeof p!="string"&&E(bm,[p,typeof n=="string"?n:s(qr,p)]),E(e,f(x({cookie:p,purposes:c},a&&{hosts:ce(a)})))}},ai=class extends mr{constructor(t){super(),LR(this,t)}};It(ai);var el=new ai,xR=(e,t)=>{for(let o of I(t)){let r=o.cookie,n=Kt(e,({cookie:i})=>i===r);~n?st(e,n,1,o):E(e,o)}C&&g.log("Cookie purpose map",L)},DR=()=>{LR(el,kR,!0)};var km=e=>`${e.name||e.value||""}`,HC=({expires:e,maxAge:t})=>typeof e=="number"&&e<=No()||typeof t<"u"&&+t<=0,Bn=(e,t=!0)=>{let o=Sr(e);if(ao&&Be(ni,o))return Ee(ni,o);let r=new Ce;if(HC(e))J(r,xo);else{let n=km(e),{domain:i}=e,a=Me(el,({cookie:c,hosts:p})=>(typeof c=="string"?c===n:We(c,WT?o:n))&&(!p||i&&Tr(we(p),i)));if(a.length)for(let{purposes:c}of I(a))for(let p of De(c))J(r,p);else J(r,Ut)}return t&&C&&g.log(`Purposes for cookie: ${ar(e)}`,r),ao&&ae(ni,o,r),r},bR=async(e,t=!0)=>Bn(e,t),GC=(e,t)=>{let o,r;return typeof e>"u"||e==="/"||(r=Wt(e,t,o=Nn&&Nn(qe)[qe]),r&&vt(o,Ae(oe,r,qe)))},FC=!!(nt&&En),Jr=(e,t=!0)=>{var r;let o=Dt||((r=e.allowed)!=null?r:be(e.purposes,Yo));if(t){if(nt&&o&&E(Po,e),ut()){if(!FC||!o||!GC(e.path))Oa(e);else if(Ta&&Re(e.purposes,Ut)){let n=ha();ae(Jp,e.name,n),s(eo,T,()=>rr(Jp,e.name),lT)}}if(cr.length){let n=Ca(e);for(let i of I(cr))i(n)}}return o},tl=async(e,t=!0)=>Jr(e,t),ol=e=>{nt&&E(Po,e),s(Ho.set,j,ar(e))},qC=async()=>{if(En)return s(UC,En);let e=Ho&&s(Ho.get,j);return e?L(Le(e,"; "),t=>Ia(t)):[]},va=e=>{e.expires=No();let t;if(qp&&!e.domain&&(t=Ee(Dm,e.name)))for(let o of De(t))s(Ho.set,j,`${ar(e)}${ii(o,"Domain")}`);else s(Ho.set,j,ar(e))},VC=async(e,t,o)=>{let r=await qC();for(let n of I(r)){let i=new bt(n,o,!1);J(Zp,i),e(i)&&(t&&!i.allowed&&si(ci(i)),va(i))}},wm=(e,t=!1,o=!0)=>VC(e,t,o),Zr=(e=!0,t=!0)=>wm(o=>!Jr(o,!0),e,t);var pi,_r=class{constructor(t){Fe(this,pi,void 0);W(this,"getNode",()=>{let t=de(this,pi);if(t===null)throw new Hi(_a);return t});W(this,"getLiveNode",this.getNode);W(this,"release",()=>{fe(this,pi,null)});fe(this,pi,t)}};pi=new WeakMap;It(_r);var wR=(e,t,o)=>{if(!($()||rl()))for(let r of I(li(e))){let{handleLiveMutation:n,tagNames:i,attribute:a,condition:c}=r;if(n&&lo(o)&&F(i,Bo(o))&&a!==null&&s(xs,o,a)&&(c===null||c(o))){let p=new _r(o);n(r,t,p)}}},UR=e=>new tu(t=>{if(rl()){qR();return}for(let o of I(t)){if(rl())return;let{type:r,target:n,addedNodes:i}=o;Aa(n)&&(r==="attributes"?wR(e,o,n):r==="childList"&&w(i,a=>{wR(e,o,a)}))}}),Na=Se(),Um=!1,HR=(e,t)=>{ae(Na,e,t),s(PE,e,t,{childList:!0,attributes:!0,attributeOldValue:!0,subtree:!0}),Um=!0},Hm=(...e)=>{for(let t of I(e))Be(Na,t)&&(s(IE,t),rr(Na,t));Um=Vt(Na)!==0},GR=e=>{let t=[];return w(Na,([o,r])=>{s(GE,r,e)&&E(t,o)}),t},FR=()=>Um;var Ma=!1,rl=()=>Ma,qR=()=>{Ma=!1},Ze=(e,t)=>{if(Ma)return t(e);Ma=!0;let o=t(e);return FR()||(Ma=!1),o};var KC=[],VR=/^\s*(?:(?:(?:text|application)\/(?:html|xml))|\/\\S*\+xml)\s*(?:$|;)/i,Gm=(e,t)=>{let{allowed:o,target:r,type:n,URLs:i,urls:a,mutator:c}=e;if(!o){e.mutator=()=>{e.mutator=c,Gm(e,t)},le(e);return}let p=n==="DOM:view"&&no(r)&&lo(r);if(p||n==="open"){let u=a.length;for(;u--;){let m=u,d=a[m],y=ea(d),A=y?An(d):i[m];if(!A)continue;let U=Ae(oe,A,"origin");if(U!==null&&U!=="null"&&U!==Uo)continue;let h=t!=="async",z=p&&Bo(r)==="IFRAME",k=new $t,ue=(se=s(Uu,k,aa))=>{let me=se!==null&&We(VR,se)&&(h?s(ME,AE,s(Iy,k),se):s(Py,k))||null,ft=me&&X($f,me),Ve=h?se||"":`text/${ft?"ht":"x"}ml`,gt=me&&s(rt,me),mt=me&&s(py,me);if(gt){La(T,f({insertion:me,target:me,static:!0,mutator:Ir}),me,me);let dt="uiAllowInEmbeds",$e=Xt("script");xn&&($e.nonce=xn),s(Ro,$e,"src",sr),rp(B,$e);let Et=Er($e);if(Et[dt]||(Et[dt]=Ie),Et.baseUrl=Ae(oe,A,qe),s(Yi,gt,$e,s(bs,gt)),!y){let Q=Xt("base");s(Ro,Q,qe,d),s(Yi,gt,Q,$e)}let ye=`${mt?Ko(mt):""}${ft?s(Xi.get,gt):Ko(gt)}`;if(z){e.deny();let{mutator:Q}=e;Q&&s(Q,e),s($c.set,r,ye)}else{let Q=Gs(new Ps([ye],{type:Ve}));E(KC,Q),a[m]=Q}}},He=()=>{let se=s(Xc,k);if(se>=Ry){let he=s(Uu,k,aa);he!==null&&We(VR,he)||(s(tr,k,"readystatechange",He),s(Ty,k),c==null||c()),se===Sy&&ue(he)}};h||(s(hy,k,"document"),s(addEventListener,k,"readystatechange",He)),s(zc,k,h?"GET":"HEAD",d,!h),s(jc,k),h&&ue()}}};var xa="fetch",Fm="fetchLater",en=(...e)=>H(fc,T,e),KR=(e,t)=>function(...o){let[r,n]=o,i=this,a=()=>H(t,i,o);if($())return a();let c=X(uc,r)||(r==null?void 0:r[Rn])==="Request"?s(yy,r):`${r}`,p=f({type:xa,url:c,persist:!0,requestInit:n}),l=new Z(f(Oe(x({},f(typeof r=="string"?p:x(x({},Zy(r)),p))),{omitCredentials(){var A;return((A=o[1])!=null?A:o[1]=f()).credentials="omit",!0}}))),u=l.serialize(),m=l.requestInit,d=()=>(c!==u&&(o[0]=u),n!==m&&(o[1]=m),a());if(ne(l))return d();if(e===xa)return new ke(A=>{let U=()=>{A(d())};l.mutator=U,le(l)});let y=f({activated:!1});return l.mutator=d,le(l),y},BR=e=>{let t=e[xa];t&&(e[xa]=KR(xa,t));let o=e[Fm];o&&(e[Fm]=KR(Fm,o))};var qm=Zi(),BC=(e,t)=>(qs(qm,e,t),t),WC=e=>_y(qm,e)?_n(qm,e):null,Vm=!1,nl=e=>{Vm=!0;let t=new $t;return s(zc,t,"GET",e,!1),s(jc,t),Vm=!1,t},WR=e=>{let{XMLHttpRequest:t}=e;if(t){let o=t[R],{open:r,send:n,OPENED:i}=o,a=G(t,"withCredentials");o.open=function(...c){let p=this,[l,u,m]=c,d=new Z({type:"xhr",url:u,requestInit:{method:l},omitCredentials(){return s(a.set,p,!1),!0}}),y=d.serialize();`${u}`!=`${y}`&&(c[1]=y);let A=Vm?!1:!ne(d);return BC(p,f({url:y,method:l,async:m,blocked:A})),H(r,p,c)},o.send=function(...c){var ue;let p=this,l=()=>H(n,p,c);if($())return l();let[u]=c,m=WC(p);if(!m||!m.blocked&&s(Xc,p)!==i)throw new Yf("The XMLHttpRequest object's state must be OPENED.","InvalidStateError");let{url:d,method:y,async:A,blocked:U}=m,h=uo(`${y}`),z=new Z({type:"xhr",url:d,requestInit:x({method:y},u!==null&&typeof u<"u"&&h!=="GET"&&h!=="HEAD"&&{body:no(u)?Ko(u):u}),persist:!0}),k=(ue=z.requestInit)==null?void 0:ue.body;if(!no(u)&&u!==k&&(c[0]=k),U){A?(z.mutator=()=>(m.blocked=!1,l()),le(z)):(C&&g.log("Synchronous XMLHttpRequest quarantined (unable to replay in-place)"),le(z));return}return l()}}};var YR=It(wp||vm&&+vm<14?class{constructor(){let e=s(wc,Hs,"","");return Xu(e,Ot)}}:class extends jl{constructor(...e){super(...e),Xu(this,Ot)}});var te=new YR;var $R="consent-resolution",zR="consent-change",jR="sync",XR=[],QR=()=>{for(let[e,t]of I(XR))s(yu,te,new Wl(e,{detail:t}))},Km=(e,t)=>{JR()?s(yu,te,new Wl(e,{detail:t})):E(XR,[e,t])},Da=(e,t,o,r,n)=>{Km(e,{oldConsent:t,consent:o,changes:r,signals:n})};var YC=e=>{let{[Pp]:t,[Ip]:o,[hp]:r}=e||f();return f({[Pp]:t&&new Nr(t),[Ip]:o,[hp]:r&&new Nr(r)})},ZR=e=>{let{[sm]:t,[im]:o}=Lt(e,()=>f());return f({[sm]:YC(t),[im]:new ai(o)})},$C=e=>{Je&&e.code!==e.ABORT_ERR&&g.error("Error fetching policies",e)},Bm=Se(),Wm=Se(),zC=e=>{let t=Ee(Wm,e);return t||ZR(nl(e).responseText)},jC=async(e,t)=>{let o=Ee(Wm,e)||Ee(Bm,e);if(o)return o;let r=new ke(async(n,i)=>{let a=await s(to,s(to,en(e,{signal:t}),$C),i);if(a&&a.body){let c=ZR(await s(to,s(Fc,a),i));ae(Wm,e,c),rr(Bm,e),n(c)}});return ae(Bm,e,r),r},il=(e,t=null)=>{let{dataflows:o,cookies:r}=e;if(o){let{[Pp]:n,[Ip]:i,[hp]:a}=o;if(n&&sl(tn,n),i)for(let c of I(i))ka(c,zo,zn,!0);Zs&&a&&(sl($n,a),Yn())}r&&(xR(el,r),Zr()),C&&g.log("Policies loaded:",e),Km("policy-update",{url:t,rules:e}),ba()},eS=async e=>{il(await jC(e),e)},tS=e=>{il(zC(e),e)};var XC=e=>{let t=s(_u,j)||s(ji,j)||s(Wr,j)||s(bs,s(rt,j));t?XE(t,e):s(Br,s(rt,j)||j,e)},oS=Se(),on=(...e)=>{let t=B.loadPoliciesSync===pt,o=[];for(let r of I(e)){let{url:n}=r,{id:i=n,name:a,type:c,kind:p,sync:l=t&&p===nm}=r;if(p===pT){if(Bp)continue;rS(),wa&&(n=wa)}let u=Ee(oS,i),m=u||new ke((d,y)=>{let A=Wt(`${n}${ma}`,null,sr);if(!A){y();return}let U=Ae(oe,A,qe);if(C&&g.log(`Loading ${a?`${a} from ${U}`:U}`),p===nm){let h=(l?tS:eS)(U);d(h)}else if(P){let h=Xt("script");xn&&(h.nonce=xn),rp(B,h),c&&(h.type=c),h.defer=h.async=!!l,h.crossOrigin="anonymous",h.src=U;let z=()=>{s(tr,h,"error",k),d()},k=()=>{y(),s(tr,h,"load",z)};s(Ye,h,"load",z,vp),s(Ye,h,"error",k),XC(h)}else if(Xl)Xl(U);else throw new Ke(`Cannot load module: ${U}`)});u||ae(oS,i,m),E(o,m)}return Hr(o)};var{regime:$m,defaultRegime:nS,regimeDetection:Ym}=B,QC="ip-only",JC="heuristics-only",Ua,ZC=()=>{var o;if(typeof Ua<"u")return Ua;let{country:e,countryRegion:t}=Xm||f();if(e||t)return Ua=[e,t];if(Ln){let r=((o=q)==null?void 0:o.regimeHints)||"regime-hints.json",n=Wt(r,j,sr);if(!n)return null;let i=Ae(oe,n,qe);try{let{country:a,countryRegion:c}=Lt(nl(i).responseText);return!a&&!c?null:Ua=[a,c]}catch(a){Je&&g.error("Failed to request regime hints:",a)}}return Ua=null},rn,zm=null,jm=(e,t)=>{var o,r;return $m&&!t||e!==Tp&&al&&!((r=(o=Qe(ui,([n])=>Te(n,i=>e===i)))==null?void 0:o[1])!=null&&r.length)?!1:(J(rn,e),!0)},eO=(e,t)=>e===t||Te(uS,([o,r])=>o===e&&F(r,t)||o===t&&F(r,e)),sS=e=>{let t=so(e,/\s*;\s*/);return Te(L(t,o=>jm(o,!0)),o=>o)},aS=!1,rS=()=>{aS=!0},cS=()=>aS,iS,pS=e=>{if(!iS){iS=!0;for(let{1:t,5:o,6:r,7:n}of I(Qm))if(Rt(I(t))||Te(t,i=>Re(e,i))){if(n)for(let[i,a]of tt(n))B[i]=a;!zm&&typeof r=="string"&&(zm=r),o&&on(...o)}}},Ar=()=>{if(rn)return rn;if(rn=ce(),Ln){let{tcmRegime:e}=at;if(e&&(C&&g.log(`Using regime override: ${e}`),sS(e)))return rn}if($m)sS($m);else if(Ym!==Ie){let e,t=()=>(e||(e=s(iy,s(Lu,Jl)).timeZone),e),o=a=>zi&&Te(s(zi,Ss),c=>Te(a,p=>ht(uo(c),uo(p)))),r=a=>zi&&Te(s(zi,Ss),c=>Te(Xe(Le(c,"-"),1),p=>F(a,uo(p)))),[n,i]=ZC()||[];for(let[a,c,p,l,u]of I(Qm)){if(c[0]===Tp)continue;let m=Ym!==JC&&n&&Te(a,([d,y])=>eO(n,d)&&(!y||i===y))||Ym!==QC&&((Ne(l)?o(l):l&&Te(a,([d])=>d&&r([d])))||Ne(u)&&Te(u,d=>ht(t(),d)));if(p!=="out"?m:!m)for(let d of I(c))jm(d)}}return Rt(De(rn))&&(!nS||!jm(nS))&&J(rn,Tp),rn},lS=()=>zm,Ha=(e,t=Ar())=>{let o=ce();for(let[r,n]of I(e))for(let i of De(t))if(F(r,i))for(let a of I(n))J(o,a);return o};var mS="importScripts(",dS="await import(",fS="application/ecmascript",tO=e=>`data:${fS},${s(Qo,T,e)}`,oO=e=>Gs(new Ps([e],{type:fS})),gS=e=>{let{type:t,urls:o}=e;if(typeof t=="string"&&Vu(t,"worker")&&!vt(t,"service-")){let r=Vu(t,"module-worker"),n=vt(t,"shared-"),i=o.length,a=ua[qe],c=Ue(a);for(;i--;){let p=f(B);p.regime=Pe(we(Ar()),";"),p.airgap=a;let l=An(o[i]);if(!l)continue;let u=Ae(oe,l,qe);p.baseUrl=u;let m=`(typeof globalThis>'u'?typeof self>'u'?{}:self:globalThis).airgap=${Ue({loadOptions:p})};`,d=Ue(u),y=r?`${m}import.meta.url=${d};${dS}${c});${dS}${d}`:`${m}${mS}${c};${mS}${d})`;o[i]=(n?tO:oO)(y)}}};var ES=Qe(pa,([e])=>e==="nav"),rO=Qe(pa,([e])=>e==="worker"),yS=e=>{ES&&Gm(e,ES[1]),rO&&gS(e)};var Jm=[oT,rT,lp,mp,up],nO=[pp,$s,zs],sO=[dp],Zm=Xe(Mt(Jm,sO,nO),0,-2),TS=Mt(Xe(Zm,3),$s,zs),ed="ad_user_data",td="ad_personalization",od="ad_storage",rd="analytics_storage",nd="functionality_storage",sd="personalization_storage",id="security_storage",RS="Analytics",cl="Advertising",pl="Functional";var ll,SS=()=>{ll==null||ll()},iO=e=>{let t=[],o=ei?e===wn?Zm:e?so(e,/\s+/):TS:[];return w(o,r=>{let n=Ao(r,":");if(~n){let i=St(r,0,n),a=St(r,n+1),c=L(Le(a,";"),p=>Le(p,"="));E(t,[i,c])}else E(t,[r])}),t},PS=e=>{var N,b;let t=iO(e),o=/^(www\.)?youtube\.com$/,r=/(?:^|.*\.)facebook\.(?:com|net)$/,n=/(?:^|.*\.)doubleclick\.net$/,i=/(?:^|.*\.)tiktok\.com$/,a=(O,D)=>Qe(O,([K])=>K===D),c=!!a(t,up),p=a(t,pp),l=p==null?void 0:p[1],u=a(t,$s),m=u==null?void 0:u[1],d=!!(m&&Qe(m,([O])=>O==="strict")),y=a(t,zs),A=y==null?void 0:y[1],U=A&&Qe(A,([O])=>O==="purposes"),h=U&&ce(Le(U[1],",")),z=!!(A&&Qe(A,([O])=>O==="strict")),k=a(t,lp),ue=k==null?void 0:k[1],He=ue&&((N=Qe(ue,([O])=>O==="tags"))==null?void 0:N[1]),se=He&&Le(He,","),he=!!a(t,mp),me=!!a(t,dp),ft=u&&((b=Qe(u,([O])=>O==="mode"))==null?void 0:b[1]),Ve=ft==="fb-auto",gt=ft==="off";C&&g.log(`Privacy-enhancing tracker overrides activated: ${Pe(L(t,([O])=>O),", ")}`);let mt=O=>O?"granted":"denied",dt=!1,$e=null,Et={},ye=()=>{var S;if(!p&&!k)return;let O=(S=T).dataLayer||(S.dataLayer=[]);function D(){O.push(arguments)}let K=(M,V=Lp)=>{var re;let ee=l&&((re=Qe(l,([xe])=>xe===M))==null?void 0:re[1]);return ee===pt||ee!==Ie&&be(ce(Le(ee||V,",")))},Y={[od]:mt(K(od,cl)),[ed]:mt(K(ed,cl)),[td]:mt(K(td,cl)),[rd]:mt(K(rd,RS)),[nd]:mt(K(nd,pl)),[sd]:mt(K(sd,pl)),[id]:mt(K(id,pl))};if(!zr(et(Y),Et,Y))return;Et=Y;let ve=[];p&&E(ve,["consent",dt?"update":"default",Et]);let ie=k&&!K("ads_data_redaction","SaleOfInfo");(ie&&$e===null||$e!==null&&ie!==$e)&&($e=!!ie,E(ve,...se?L(se,M=>["config",M,{restricted_data_processing:ie}]):[["set",{ads_data_redaction:ie}]])),w(ve,M=>{D(...M)}),dt=!0},Q={enumerable:!0,configurable:!0},pe=!1,ze=()=>{if(!u)return;let O=K=>{K("dataProcessingOptions",["LDU"],...gt?[]:[Ve?0:1,Ve?0:1e3])},{fbq:D}=T;X(Rs,D)&&(D!=null&&D.queue)?O(D):_e(T,"fbq",x({get:Ir,set:K=>{_e(T,"fbq",Oe(x({value:K},Q),{writable:!0})),_e(K,"queue",x({get:Ir,set:Y=>{_e(K,"queue",Oe(x({value:Y},Q),{writable:!0})),Y&&O(K)}},Q))}},Q)),pe=!0},Pt=!1,it=()=>{if(!y)return;let O=(Y,ge)=>(ve,ie,...S)=>s(ge,Y,ve,Oe(x({},ie),{limited_data_use:!0}),...S),{ttq:D}=T,K=D==null?void 0:D.load;if(X(Rs,K))D.load=O(D,K);else{let Y;_e(T,"ttq",x({get:Ir,set:ge=>{_e(T,"ttq",Oe(x({value:ge},Q),{writable:!0})),_e(ge,"load",x({get:()=>Y,set:ve=>{Y=O(ge,ve)}},Q))}},Q))}Pt=!0},Eo=!1,_=()=>{if(!me)return;let O=D=>{E(D,{id:"_all",options:{doNotTrack:!0}})};w(["_wq","_wcq"],D=>{let{[D]:K}=T;Ne(K)?O(K):_e(T,D,x({get:Ir,set:Y=>{Ne(Y)&&O(Y),_e(T,D,Oe(x({value:Y},Q),{writable:!0}))}},Q))}),Eo=!0};(ll=()=>{ye();let O=ce();J(O,Lp),be(O)||(pe||ze(),Eo||_()),be(h||O)||Pt||it()})();let v=ce([Lp]);return Te(t,([O,D])=>F(Jm,`${O}${D&&Te(D,([K])=>K==="strict")?":strict":""}`))?[f({override:O=>{var Y;let{URLs:D}=O,K=D.length;for(let ge=0;ge<K;ge++){let ve=D[ge];if(ve){let ie=oe(ve,"hostname","pathname","href","searchParams"),{hostname:S,pathname:M,searchParams:V}=ie,ee=(Y=O.requestInit)==null?void 0:Y.body;if(!be(v,Ht)){if(c&&We(o,S)&&(vt(M,"/embed/")||vt(M,"/s/player/"))){ie.hostname=Ct(S,o,(re,xe)=>`${xe||""}youtube-nocookie.com`),O.urls[ge]=ie.href;return}if(d&&We(r,S)){s(ro,V,"dpo",gt?"":"LDU"),gt||(s(ro,V,"dpoco",Ve?"0":"1"),s(ro,V,"dpost",Ve?"0":"1000")),O.urls[ge]=ie.href;return}if(he&&S==="player.vimeo.com"&&We(/^\/video\/\d+\/?$/,M)){s(ro,V,"dnt","1"),O.urls[ge]=ie.href;return}if(me&&S==="fast.wistia.net"&&vt(M,"/embed/iframe")){s(ro,V,"doNotTrack",Op),O.urls[ge]=ie.href;return}}be(h!=null?h:v,Ht)||z&&We(i,S)&&ee&&((O.requestInit||(O.requestInit=f())).body=Ue(vg(Fr(ee),f({limited_data_use:!0})))),k&&!se&&We(n,S)&&(s(ro,V,"rdp","1"),O.urls[ge]=ie.href)}}}})]:[]};var mi=[],Ga=[],ad=e=>{let{unconsented:t}=e;return Ne(t)&&(e.unconsented=ce(t)),e},Fa=()=>{let e=[];for(let t of I(mi)){let{unconsented:o}=t;(!o||!be(o))&&E(e,t)}Ga.length=0,E(Ga,...e)},IS=()=>{ei&&E(mi,...L(PS(lS()||B.trackerOverrides||""),ad)),Ne(cd)&&E(mi,...L(cd,ad))},hS=(e,...t)=>{if(!Do(e,!1))throw new Ke(nr("override"));for(let r of I(t))ad(r),E(mi,r);return Fa(),{remove:()=>{for(let r of I(t)){let n=Kt(mi,i=>i===r);~n&&st(mi,n,1)}}}},ul=e=>{for(let{matcher:t,override:o}of I(Ga)){let r=typeof t=="string"?new ko(t):t;if(typeof o!="string"){let n=CS(e);o(n,r);continue}if(typeof r<"u"){let{URLs:n}=e,i=n.length;for(let a=0;a<i;a++){let c=n[a],p=c?Ae(oe,c,qe):`${e.urls[a]}`;We(r,p)&&(e.urls[a]=Ct(p,r,o))}}}ml(e)&&(e.omitCredentials()||e.deny()),Fn&&yS(e)},vS=(e,t=!0)=>jn({type:Ot,url:e},t).serialize();var aO=(e,t)=>{e.airgapId=t},cO=e=>{delete e.airgapId},pO=0,qa,nn,Xn,di,Qn=class{constructor(t,o){Fe(this,qa,void 0);Fe(this,nn,void 0);Fe(this,Xn,null);Fe(this,di,void 0);W(this,"getNode",()=>{let t=de(this,nn);if(t===null)throw new Hi(_a);return t});W(this,"getLiveNode",()=>{let t=de(this,Xn);if(t)return t;let o=de(this,nn);if(o===null)throw new Hi(_a);let r=de(this,di);if(o&&r&&s(jt,o)!==r){C&&g.log("Converting quarantined mutation from proxy document");let n=dl&&In(r,`[data-airgap-id="${de(this,qa)}"]`);if(n)return fe(this,Xn,n),C&&g.log("Found corresponding node",n),n;lt&&g.warn("Unable to locate corresponding node from quarantined mutation in proxy document")}return o});W(this,"release",()=>{let t=de(this,nn),o=de(this,Xn);if(o!==null){let r=Er(o);dl&&Ze(o,()=>{cO(r)}),fe(this,Xn,null)}if(t&&s(jt,t)!==de(this,di)){let r=s(jt,t);r&&s(rt,r)&&s(my,s(rt,r))&&s(lE,r,s(rt,r))}fe(this,nn,null)});let r=Er(t),n=r.airgapId||`${pO++}`;fe(this,qa,n),fe(this,nn,t),fe(this,di,o),dl&&Ze(t,()=>{aO(r,n)})}};qa=new WeakMap,nn=new WeakMap,Xn=new WeakMap,di=new WeakMap;It(Qn);var Jn=e=>e&&(X(Qn,e)||X(_r,e));var Va,Ka,fi,Zn,gi,Ei,Ba,fl,Z=class{constructor({type:t,url:o,persist:r,serialize:n,omitCredentials:i,requestInit:a,mutator:c,target:p,timestamp:l=ot()},u=!0,m=!0){Fe(this,Va,void 0);Fe(this,Ka,void 0);Fe(this,fi,null);Fe(this,Zn,void 0);Fe(this,gi,void 0);Fe(this,Ei,void 0);Fe(this,Ba,void 0);Fe(this,fl,void 0);W(this,"allow",()=>{this.allowed=!0});W(this,"deny",()=>{fe(this,Zn,!1)});W(this,"block",()=>{fe(this,gi,!0),fe(this,Zn,!1)});W(this,"type");W(this,"persist");W(this,"urls",_e([],0,{enumerable:!0,configurable:!1,get:()=>this.url,set:t=>{this.url=t}}));W(this,"URLs",[]);W(this,"timestamp");W(this,"target");W(this,"requestInit");W(this,"mutator");W(this,"serialize",()=>de(this,Ei)?de(this,Ei).call(this):this.url);W(this,"omitCredentials",()=>{var t,o;return(o=de(this,fl))!=null?o:fe(this,fl,El(this)&&(((t=de(this,Ba))==null?void 0:t.call(this))||yi(this)))});W(this,"toJSON",()=>{let{type:t,url:o,requestInit:r,timestamp:n}=this;return{type:t,url:typeof o=="string"?o:`${o}`,requestInit:Wp(r),timestamp:n}});let d=this;fe(d,Va,m),d.target=p,d.type=t,d.persist=r,d.mutator=c,d.requestInit=a,d.timestamp=l,n&&fe(d,Ei,n),i&&fe(d,Ba,i),d.url=o,u&&ul(this)}get purposes(){var t;return(t=de(this,fi))!=null?t:fe(this,fi,es(this,de(this,Va)))}set purposes(t){if(!X(Ce,t))throw new kt(_p);let o=de(this,fi);o===null?fe(this,fi,o=new Ce):Mo(o);for(let r of De(t)){if(typeof r!="string")throw new kt(js);J(o,r)}}get allowed(){var t;return(t=de(this,Zn))!=null?t:be(this.purposes,Ht)}set allowed(t){if(t!==null&&typeof t!="boolean")throw new kt(Xs);if(t&&de(this,gi))throw new kt(hr);fe(this,Zn,t)}get blocked(){var t;return(t=de(this,gi))!=null?t:!1}set blocked(t){if(t!==!0)throw new kt(hr);this.block()}get url(){return de(this,Ka)}set url(t){fe(this,Ka,t);let{target:o}=this;this.URLs[0]=Wt(t,o&&Jn(o)?o.getNode():o)}};Va=new WeakMap,Ka=new WeakMap,fi=new WeakMap,Zn=new WeakMap,gi=new WeakMap,Ei=new WeakMap,Ba=new WeakMap,fl=new WeakMap;It(Z);var gl=e=>new Z(e,!1);var lO=async e=>{if(Xy(e)&&ht(e.originalPolicy," airgap://test ")){let t=e.blockedURI,o=new Z({type:"CSPV",url:t,persist:!0});ut()&&os(o,!1);let[r]=o.URLs;if(r){let n=Ae(oe,r,"protocol");if(!nt&&(n==="wss:"||n==="ws:"))return;C&&g.log("Caught network event via CSP:",t),le(o)}}},_S=!1,ld=!1,pd=!0,ud=()=>ld&&!pd,NS=(e=!1)=>(ud()&&(lt&&g.warn(`CSP already active. Reload${e?"ing":""} page for changes to take effect${e?"\u2026":"."}`),e&&Ls()),ld),uO=e=>{let t=Ao(e,"#"),o=~t?St(e,0,t):e,r=Ao(o,"?");return~r?St(o,0,r):o},mO=(e,t,o,r,n,i)=>{let a=` 'unsafe-inline' 'unsafe-eval';
`,c=t.length;if(c||e||o){let p=ce();if(e&&Vt(e))for(let[u,m]of wt(e)){let d=Wn(m);(!r&&i&&!Re(d,Ut)||be(d,Ht))&&(J(p,u),!r&&n&&ht(u,".")&&!ht(u,wn)&&!ht(u,":")&&!ht(u,"/")&&J(p,`*.${u}`))}for(let u=0;u<c;u++){let m=t[u];if(m){let{matcher:d,regex:y,purposes:A}=m,U=!y&&typeof d=="string"&&d,h=U&&Wn(A),z=U&&An(U),k=z&&Ae(oe,z,qe);k&&U[0]!=="?"&&St(U,0,3)!=="///"&&(!r&&i&&!Re(h,Ut)||be(h,Ht))&&J(p,uO(k))}}if(o&&Vt(o))for(let[u,m]of wt(o))(i||be(Wn(m),Ht))&&J(p,u);let l=Pe(we(p)," ");return`default-src ${Pm} ${l}${a}`}return`default-src ${Pm}${a}`},dO=(e,t,o)=>mO(tn,zo,$n,e,t,o),fO=(e,t,o)=>{if(!o&&pd&&(pd=!1),NS())return;let r=dO(e,t,o);return _S=!0,C&&g.log(`CSP initialized:
`,r),r},gO=(e,t,o)=>{s(Ye,s(ks,o),"securitypolicyviolation",lO);let r=Xt("meta");r.httpEquiv="Content-Security-Policy",r.content=e,Ze(o,()=>{let n=s(Wr,o),i=n||s(Br,s(rt,o),Xt("head"));Pn(s(Br,i,r)),n||Pn(i)}),ld=!0,C&&g.log(`CSP activated (${Pe(t,", ")})`)},OS=ce(),Yn=(e=Ea,t=j)=>{let o=Re(OS,t);if(!t)for(let[p]of we(ts))Yn(e,p),J(OS,p);let r=!F(e,Ie);if(!o&&!r){C&&g.log("CSP disabled");return}let n=F(e,"allow-subdomains"),i=F(e,"allow-known-hosts"),a=r&&F(e,"strict")||!(n||i),c=p=>{NS(!0)||p&&gO(p,e,t)};if(!_S){let p=fO(a,n,i);c(p)}};var EO=e=>f(Co(Me(tt(e),([,t])=>typeof t=="boolean"))),AS=async(e,t,o)=>{let r=await new ke(c=>{let{__gpp:p}=T;p?s(p,T,"getFullString",c):c()}),n=Dn(o,mo,!1),i={purposes:Co(L(tt(EO(n.purposes)),([c,p])=>[c,!!p])),gpp:r,airgapVersion:vr,timestamp:n.timestamp,confirmed:n.confirmed,prompted:n.prompted,updated:n.updated,metadata:n.metadata};return s(Ur,s(to,en(e,f({method:"POST",mode:"cors",body:Ue({token:t,partition:Gt||yl,consent:i}),credentials:"omit"})),c=>{Je&&g.error("Failed to sync remote consent",c)}),c=>{try{return s(ty,c)}catch(p){Je&&g.error("Failed to parse response body",p)}})};var MS="9.82.3",LS="ConsentManager:Sync";var xS="fps";var yO,TO=()=>yO||(yO=an.xdi.connect(Cr)),DS=async(e,t,o)=>{let r=await TO(),n=F(o,Mn),i=F(o,Wo);return await r.run(LS,f(x(x({reset:t,sync:Me(o,c=>F(qn,c)),partition:Gt},!t&&n&&f({consent:e})),!t&&i&&f({quarantine:f(x(x({},po&&f({requests:L(Ft,c=>c.toJSON())})),fo&&f({cookies:L(co,c=>c.toJSON())})))}))))},bS=async(e,t,o,r=!1)=>{let{purposes:n,confirmed:i,timestamp:a,prompted:c,metadata:p,metadataTimestamp:l}=t,u=qt(),m=r?u.metadata:p,d=r?u.metadataTimestamp:l;C&&g.log("Consent from sync: ",t),await sn(n,!!i,!!c,m,!1,a,!1,d)},kS=(e,t)=>{t&&(ct(Ft),ct(co));let{requests:o,cookies:r}=e;po&&o&&E(Ft,...L(sp(Ft,o),gl)),fo&&r&&E(co,...L(ip(co,r),ci))};var{syncPeriod:RO=1800,deferSync:SO}=B,md,US=SO===pt,wS=!1,Ti=!1,PO=()=>{C&&g.log("Sync complete")},Io=async({sync:e=qn,reset:t=!1,backend:o=!0,local:r=!0,auth:n}=f())=>{if(n&&(md=n),_t&&Tl(_t),So)return;C&&g.log("Consent sync queued");let i=qt(),{purposes:a}=i,c=!1;Or&&(HS(),c=!0);let p=da&&o&&md&&i;Ti&&(C&&g.log("Pending sync in progress..."),await Ti);let l=!1,u=async m=>{if(p){let d=m!=null?m:i,y=d.metadata?{metadata:{tcmp:d.metadata.tcmp}}:{},A=await AS(ca,md,x(x({},d),y));if(!A)return;let{purposes:U,prompted:h,timestamp:z}=A,k=!d.confirmed&&Te(et(d.purposes),ue=>!s(vc,U,ue))?!1:A.confirmed;await sn(U,!!k,!!h,d.metadata,!1,z,!1),l=!0}};if(Ti=new ke(async m=>{if(Cr&&hm&&r&&!FT&&e.length&&j){let{consent:d,quarantine:y}=await DS(i,t,e);xp&&F(e,Mn)&&d&&(await bS(i,d,t,!0),c=!0),Tm&&F(e,Wo)&&y&&(kS(y,t),c=!0),await u(c?d:void 0),dd(!1),wS||(s(vs,T,Io,+RO*1e3),wS=!0)}else await u();PO(),m()}),s(to,Ti,m=>{ut()&&fd(m)}),await Ti,c||l){let m=qt(),d=zr(we(rs),a,m.purposes);Da(jR,i,m,d)}Ti=!1};var Ft=[],ns=[],co=[],Wa=[],IO=()=>{(po||fo)&&dd()},qS="Blocking event:",VS="Quarantining event:",GS=!1,hO=()=>{if(!GS){let{tcmQuarantine:e}=at;if((po||fo)&&e){let t=Lt(e,()=>[]);if(po){let{requests:o=[]}=t;E(Ft,...L(o,gl))}if(fo){let{cookies:o=[]}=t;E(co,...L(o,ci))}}C&&(po&&g.log(`Pending request queue: ${Ue(Ft,null,2)}`),fo&&g.log(`Pending cookie queue: ${Ue(co,null,2)}`)),s(Ye,T,Cp,IO)}GS=!0},KS=async(e,t)=>{if(t){let o=!1;try{C&&g.log("Applying mutation",e,t);let{target:r}=e,n=Jn(r),i=n?r.getLiveNode():r;await Ze(i,t),n&&r.release()}catch(r){o=!0,Oo(r)}return!o}return!1},vO=(e,t)=>{let o=!1;try{en(e,t)}catch(r){o=!0,Oo(r)}return!o},yd=()=>{ct(Ft),ct(co),$o||Ri(),delete at.tcmQuarantine},dd=(e=!0)=>{if(po||fo){let t=x(x({},po&&{requests:sp(_t?Qu(Ft,_t):Ft)}),fo&&{cookies:ip(_t?Qu(co,_t):co)}),o=Ue(t);if(Vs(o)>$T){if(lt&&g.warn("Transcend Consent Manager replay queue is too large. Clearing queue."),yd(),!So&&e)return Zo(Io({sync:[Wo],reset:!0}))}else at.tcmQuarantine=o}},FS,le=e=>{var a;if(e.blocked){C&&g.log(qS,e);return}if(!e.persist){if(!cn)return;E(ns,e),C&&g.log(VS,e);return}if(!po)return;let{type:t,urls:[o],mutator:r}=e,n=`${o}`;if(t!=="CSPV")FS=n;else if(n===FS)return;let i=!1;typeof t=="string"&&vt(t,"DOM:")&&!((a=e==null?void 0:e.requestInit)!=null&&a.body)&&(i=Te(Ft,c=>n===c.url)),!i&&po?(E(Ft,e),C&&g.log("Request added to queue:",e)):r&&cn&&E(ns,e)},si=e=>{if(e.blocked){C&&g.log(qS,e);return}let t=fo&&e.persist,o=t||cn;t?E(co,e):o&&E(Wa,e),C&&o&&g.log(VS,e)},CO=async()=>{C&&g.log("Dispatching cookie queue");let e=[];cn&&E(e,Wa),fo&&E(e,co),await Hr(L(e,async t=>{let o=[];await Hr(L(t,async(n,i)=>{if(_t&&Ws(n,_t)){E(o,i);return}if(Jr(n,!1)){C&&g.log("Cookie allowed",n),E(o,i);let{mutator:a}=n;if(a){await s(a,n);return}Je&&g.error("Mutator missing",n)}else C&&g.log("Cookie not allowed",n)}));let r=o.length;for(;r--;){let n=o[r];st(t,n,1)}}))},OO=async()=>{if(C&&g.log("Dispatching non-persistent mutation queue"),!cn)return;let e=[];await Hr(L(ns,async(o,r)=>{if(_t&&Ws(o,_t)){E(e,r);return}if(ne(o,!1)){E(e,r);let{mutator:n}=o;if(n){try{await KS(o,n)}catch(i){Oo(i)}return}Je&&g.error("Mutator missing",o)}else C&&g.log("Mutation not allowed",o)}));let t=e.length;for(;t--;){let o=e[t];st(ns,o,1)}},_O=async()=>{C&&g.log("Dispatching persistent request and mutation queue");let e=[],t=Ft.length;for(let r=0;r<t;r++){let n=Ft[r],{URLs:[i]}=n;if(!i){E(e,r);return}let{href:a,protocol:c}=oe(i,"href","protocol");if(c==="wss:"||c==="ws:"){if(nt)return;E(e,r);return}if(_t&&Ws(n,_t)){E(e,r);return}if(ne(n,!1)){E(e,r);let{requestInit:p,mutator:l,type:u}=n;C&&(u!=="script"||l)&&g.log("Request or mutation allowed",n);let m=KS(n,l)||u!=="script"&&vO(a,p);Je&&!m&&g.error("Unable to process request or mutation",n)}}let o=e.length;for(;o--;){let r=e[o];st(Ft,r,1)}},Ed=!1,NO=async e=>{if(await CO(),ud()){e&&Ls();return}await OO(),await _O()},BS=(e=!1)=>{Ed=!0,NO(e)},gd=null,ba=(e=!1)=>{gd===null&&(gd=s(Cs,T,()=>{BS(e),gd=null}))},WS=()=>new ke(e=>{let t=async()=>{(po||fo)&&hO(),!So&&!US&&await Zo(Io()),e(),Ed||ba()};ws&&ws(j)!=="complete"?s(Ye,T,"load",async()=>{await t()},vp):s(Cs,T,async()=>{await t(),Ed||BS()})}),AO=(e,t)=>{let o=[],r=e.length;for(let i=0;i<r;i++){let a=e[i];Ws(a,t)&&E(o,i)}let n=o.length;for(;n--;){C&&g.log("Removing expired event from quarantine",e[o[n]]);let i=o[n];st(e,i,1)}return e},Tl=(e=_t)=>{w([Ft,co,ns,Wa],t=>{AO(t,e)})};var YS=({CookieStore:e})=>{if(e){let t=e[R],{set:o}=t;t.set=async function(...r){let n=()=>H(o,this,r);if($())return n();let i=()=>(nt&&E(Po,a),Qp()&&r.length<=1?r[0]=a.toJSON():(r[0]=a.name,r[1]=a.value),n()),a=new bt(Oe(x({},r.length<=1?r[0]:{name:r[0],value:r[1]}),{mutator:i}));return await tl(a)?i():new ke(c=>{a.mutator=()=>c(i()),si(a)})}}};var $S=e=>{IR(e),YS(e),C&&g.log("Cookie regulation active")};var Qt=(e,t)=>new gc(`${kn}-block`,{blockedURI:t,documentURI:Ks(),disposition:"enforce",effectiveDirective:`${e} blocked by Transcend Consent Manager`,originalPolicy:"",violatedDirective:"",statusCode:0});var zS=e=>{let{Navigation:t}=e;if(t){let o=t[R],{navigate:r}=o;o.navigate=function(...n){let i=this,a=()=>H(r,i,n);if($())return a();let[c]=n,p=new Z({type:"navigation",url:c,mutator:a,persist:!1}),l=`${p.serialize()}`;if(`${c}`!==l&&(n[0]=l),!ne(p))throw p.mutator=a,le(p),Qt("navigation.navigate()",c);return a()}}};var MO=e=>{zS(e)},LO=e=>{let{navigation:t}=e;if(!t)return;let o=Fo(e.NavigateEvent[R]),r=Fo(e.NavigationDestination[R]),{navigate:n}=t;s(addEventListener,t,"navigate",i=>{if($())return;let{destination:a,info:c}=o(i,"destination","info"),p=Ae(r,a,"url"),l=new Z({type:"navigation",url:p,persist:!1}),u=l.serialize(),{allowed:m}=l;if(!m||`${u}`!=`${p}`){s(Oc,i);let d=()=>s(n,t,u,{info:c});if(m){d();return}l.mutator=d,le(l)}}),C&&g.log("Navigation control initialized")},jS=e=>{MO(e),LO(e)};var XS=e=>{let t="EventSource",o=e[t];if(o){let r=function(...n){if($())return new o(...n);let i=`${n[0]}`,a=new Z({type:"eventsource",url:i,omitCredentials(){var p;return!(((p=n[1])!=null?p:n[1]=f()).withCredentials=!1)}}),c=a.serialize();if(ne(a))return`${c}`!=`${i}`&&(n[0]=c),new o(...n);throw Qt(t,c)};r.prototype=o.prototype,r.prototype.constructor=r,w(["CONNECTING","OPEN","CLOSED"],n=>{let i=oo(o,n);i&&_e(r,n,i)}),e[t]=r}};var QS=e=>{let t="importScripts",o=e[t];o&&(e[t]=(...r)=>{let n=()=>H(o,e,r);if($())return n();for(let i=0;i<r.length;i++){let a=r[i],c=new Z({type:"script",url:a});if(!ne(c))throw Qt(t,a);let p=c.serialize();`${a}`!=`${p}`&&(r[i]=p)}return n()})};var JS=e=>{let{Navigator:t}=e;if(t){let o="sendBeacon",r=t[R][o];r&&(e.Navigator[R][o]=function(...n){var c;let i=this,a=()=>H(r,i,n);if($())return a();if(n.length){let[p,l]=n,u=new Z(x({type:"beacon",url:p,mutator:a,persist:!0},l!==null&&typeof l<"u"&&f({requestInit:f({method:"POST",body:l})}))),m=`${u.serialize()}`;`${p}`!==m&&(n[0]=m);let d=(c=u.requestInit)==null?void 0:c.body;if(l!==d&&(n[1]=d),!ne(u))return le(u),!1}return a()})}};var Rl=$r(),Sl=e=>{if(Vo(Rl,e))return!1;try{return e.location.href,gr(Rl,e),!0}catch(t){return!1}},Td=e=>{let t=[],{frames:o}=e,r=o==null?void 0:o.length;if(r)for(let i=0;i<r;i++){let a=o[i];Sl(a)&&E(t,a)}let n=[e];if(GT){let{parent:i,top:a}=e;E(n,i,a)}for(let i of I(n))i&&Sl(i)&&E(t,i);for(let i of I(t))for(let a of I(Td(i)))E(t,a);return t};var pn=[],ZS=()=>{Ne(Rd)&&E(pn,...Rd)},eP=e=>{let t=E(pn,e)-1;return{remove:()=>{pn[t]!==e&&(t=Kt(pn,r=>r===e)),st(pn,t,1)}}},Si=e=>{Fn&&Sl(e)&&ln(e);for(let t of I(pn))try{t(e)}catch(o){Oo(o)}};var xO=["_blank","_self","_top","_parent"],DO=["iframe","frame","object","embed"],tP=e=>{let t="open",o=e[t],r=qo&&s(qo,e);o&&(e[t]=function(...n){let i=this,a=i&&s(qo,i)||r,c=()=>{let d=H(o,i,n);return Si(d),d};if($())return c();let[p,l]=n,u=new Z({type:t,url:p,persist:!1}),m=()=>{let d=`${u.serialize()}`;return`${p}`!==d&&(n[0]=d),c()};if(!bp&&(n.length<=1||F(xO,l)||a&&!In(a,Pe(L(DO,d=>`${d}[name=${Ue(`${l}`)}]`),","))||ne(u)))return m();throw u.mutator=m,le(u),Qt("open()",p)})};var oP=e=>{let{ServiceWorkerContainer:t}=e;if(t){let o=t[R],{register:r}=o;o.register=function(...n){let i=()=>H(r,this,n);if($())return i();let[a,c]=n,p=new Z({type:`service-${(c==null?void 0:c.type)===Pr?`${Pr}-`:""}worker`,url:a}),l=p.serialize();if(`${a}`!=`${l}`&&(n[0]=l),ne(p))return i();throw Qt("ServiceWorker registration",l)}}};var rP=e=>{let t="SharedWorker",o=e[t];if(o){let r=function(...n){if($())return new o(...n);let[i,a]=n,c=new Z({type:`shared-${typeof a!="string"&&(a==null?void 0:a.type)===Pr?`${Pr}-`:""}worker`,url:typeof i=="string"?i:i.href,omitCredentials(){let l=n[1];return typeof l!="object"&&(l=f(x({credentials:"omit"},typeof l=="string"&&f({name:l})))),n[1]=l,!0}}),p=c.serialize();if(ne(c))return`${p}`!=`${i}`&&(n[0]=p),new o(...n);throw Qt(t,p)};r.prototype=o.prototype,r.prototype.constructor=r,e[t]=r}};var nP=e=>{let t="WebSocket",o=e[t];if(o){let r=function(...n){if($())return new o(...n);let[i]=n,a=new Z({type:"websocket",url:typeof i=="string"?i:i.href}),c=a.serialize(),p="[native";if(ne(a))return`${c}`!=`${i}`&&(n[0]=c),new o(...n);throw Qt(t,c)};r.prototype=o.prototype,r.prototype.constructor=r,w(["CONNECTING","OPEN","CLOSING","CLOSED"],n=>{let i=oo(o,n);i&&_e(r,n,i)}),e[t]=r}};var sP=e=>{let t="Worker",o=e[t];if(o){let r=function(...n){var p;if($())return new o(...n);let i=`${n[0]}`,a=new Z({type:`${((p=n[1])==null?void 0:p.type)===Pr?`${Pr}-`:""}worker`,url:i,omitCredentials(){var l;return((l=n[1])!=null?l:n[1]=f()).credentials="omit",!0}}),c=a.serialize();if(ne(a))return`${c}`!==i&&(n[0]=c),new o(...n);throw Qt(t,c)};r.prototype=o.prototype,r.prototype.constructor=r,e[t]=r}};var iP=e=>{let{Worklet:t}=e;if(t){let o="addModule",r=t[R][o];t[R][o]=async function(...n){let i=()=>H(r,this,n);if($())return i();let[a]=n,c="worklet",p=function(){var m;return((m=n[1])!=null?m:n[1]=f()).credentials="omit",!0},l=()=>{let m=u.serialize();return`${a}`!=`${m}`&&(n[0]=m),i()},u=new Z({type:c,url:a,omitCredentials:p});return await Ya(u)?l():new ke(m=>{let d=()=>{m(l())};le(new Z({type:c,url:a,mutator:d,omitCredentials:p}))})}}};var aP=e=>{tP(e),BR(e),JS(e),oP(e),rP(e),nP(e),sP(e),WR(e),iP(e),XS(e),QS(e)};var bO=B.protect,ss=$r(),kO=e=>{Ny(Pl,e),Zc(Rl,e),Zc(ss,e),rr(ts,s(qo,e))},cP=e=>{let t=!s(dy,e);return t||kO(e),t},ln=e=>{if(Dt||bO===Ie){C&&g.log("Protection disabled");return}lP();let t;if(Vo(ss,e)||(t=e.airgap)&&Sd(t))return;if(e!==T&&!yr){let r=oo(e,"airgap");(!r||r.configurable)&&_e(e,"airgap",{value:te,writable:!1,configurable:!1})}if(BT&&(aP(e),P&&(Yn(Ea,s(qo,e)),pP(e)),C&&g.log("Request regulation active")),ga&&($S(e),Zr()),bp&&jS(e),nt&&e!==T&&Il(e),Fn){let r=Td(e);for(let n of I(r))Si(n)}let o=()=>{Zc(ss,e)};return gr(ss,e),f({remove:o})};var uP=[{type:"DOM:form",init:e=>{let{HTMLButtonElement:t,HTMLElement:o,HTMLFormElement:r,HTMLInputElement:n}=e,i=["POST","PUT","DELETE","PATCH"],a=(l,u,m=s(uy.get,l))=>{let d=s(Wc.get,l),y=new Z({type:"DOM:form-action",url:d,target:l}).serialize();d!==y&&s(Wc.set,l,y);let A=F(i,uo(m)),U=new hs(l),h=Wt(y,l),z;if(h){let k=h&&oe(h,"href","search","pathname");A||(k.href=y,k.search=s(Kr,new zt(U))),z=k.href}else z=y;return new Z({url:z,type:"DOM:form",requestInit:x({mode:"no-cors",method:m},A&&!Rt(s(vy,U))&&f({headers:f({[aa]:s(ly.get,l)}),body:U})),target:l,mutator:u,persist:!0})};r[R].submit=function(...l){let u=this,m=()=>{H(Tu,u,l)},d=a(u,m);return ne(d)?m():le(d)},Ru&&(r[R].requestSubmit=function(...l){let u=this,m=()=>H(Ru,u,l),d=a(u,m);return ne(d)?m():le(d)});let c=Fo(n[R]),p=Fo(t[R]);return o[R].click=function(...l){let u=this,m=()=>H(Ac,u,l),d=Bo(u)==="INPUT"?c:Bo(u)==="BUTTON"?p:null;if(!d)return m();let{type:y,form:A,formAction:U,formMethod:h="get"}=d(u,"type","form","formAction","formMethod");if(y==="submit"&&A){let z=a(A,m,h),k=new Z({type:"DOM:form-action",url:U,target:A}).serialize();if(U!==k&&s(Wc.set,u,k),!ne(z))return le(z)}return m()},s(Ye,e,"submit",l=>{if(Zu(l))return!0;let u=l.target;if(u){let m=a(u,()=>s(Tu,u));if(!ne(m))return s(Oc,l),s(Jg,l),s(Qg,l),le(m),!1}return!0}),is(e,[{type:"DOM:form-action",constructors:["HTMLButtonElement","HTMLInputElement"],property:"formAction",attribute:"formaction",safe:!0},{type:"DOM:form-action",constructors:["HTMLFormElement"],property:"action",safe:!0}])}}];var mP={empty:"data:text/plain,",video:"data:video/mp4;base64,",image:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",script:"data:text/javascript,",document:"data:text/html,%3Cmeta%20http-equiv%3D%22Content-Security-Policy%22%20content%3D%22default-src%20'none'%3B%22%3E",track:"data:text/vtt,WEBVTT"};var dP=e=>{e&&Si(e)},fP="DOM:view",gP={type:fP,init:e=>{let t={type:fP,constructors:[jr,"HTMLObjectElement","HTMLFrameElement"],attribute:null};return is(e,[Oe(x({},t),{property:"contentWindow",handlePendingRead:(o,r)=>{let n=o(r);return dP(n),n}}),Oe(x({},t),{property:"contentDocument",handlePendingRead:(o,r)=>{let n=o(r);if(n){let i=hl(n);dP(i)}return n}})])}};var wO=e=>{var t;return X(yc,e)?s(bu.get,e):(t=e.href)==null?void 0:t.baseVal},EP=(e,t)=>{X(yc,e)?s(bu.set,e,t):e.href.baseVal=t},yP=(...e)=>{for(let t of I(e))Ze(t,()=>{QE(t,s(mE,t,!0))})},TP={type:"script",constructors:[fp],property:"src",placeholder:"script",handlePendingWrite:(e,t,o,r,n)=>{if($()){t(r);return}let{type:i,parse:a}=e,c=o,p=a(r,{type:i,target:c});if(!p)return;let l=ne(p),u=p.serialize(),m=`${r}`!=`${u}`;n&&(!l||m)&&(n.modified=!0);let d=()=>{t(u)};if(!l){p.mutator=()=>{d(),yP(c)},le(p);return}Ze(c,d)},handleLiveMutation:(e,t,o,r)=>{let{type:n,parse:i,placeholder:a}=e,c=o.getNode(),p=wO(c),l=i(p,{type:n,target:o});if(!l)return;let u=ne(l),m=l.serialize(),d=p!==m;r&&(!u||d)&&(r.modified=!0);let y=(A,U=m)=>{EP(A,U),yP(A)};u?d&&Ze(c,()=>{y(c)}):(Ze(c,()=>{EP(c,a)}),l.mutator=()=>{let A=o.getLiveNode();y(A,m),o.release()},le(l))}};var RP=e=>We(/\S/,e),vl=(e="",t)=>{let o=`${e}`,r=On(o)==="",n=r?[[""]]:L(Le(o,","),p=>so(p,/(?=\s+)/)),i=r?n[0]:L(n,p=>On(Qe(p,RP)||p[0])),a=n.length;return new pr(Oe(x({},t),{urls:i,serialize:()=>{let p=i.length;for(let l=0;l<p;l++){let u=i[l];if(l<a){let m=n[l],d=Kt(m,RP);m[d]=Ct(m[d]||"",/^(\s*)(?:\S+)(\s*)$/,(y,A,U)=>`${A}${u}${U}`)}}return Pe(L(n,l=>Pe(l,"")),",")}}))};var SP=e=>({get(){return s(Ds,this,e)},set(t){return s(Ro,this,e,t)}}),$a=SP("href"),PP=SP("rel");var IP=[{type:"DOM:image",constructors:[sa],property:"src",placeholder:"image",save:!0,handleLiveMutation:(e,t,o,r)=>{let{type:n,parse:i,placeholder:a}=e,c=o.getNode(),p=Qi&&s(Qi.get,c)||s(Fs.get,c),l=i(p,{type:n,target:o});if(!l)return;let u=ne(l),m=l.serialize(),d=p!==m;r&&(!u||d)&&(r.modified=!0);let y=A=>{s(Fs.set,A,m)};u?d&&Ze(c,()=>{y(c)}):(Ze(c,()=>{s(Fs.set,c,a)}),l.mutator=()=>{y(o.getLiveNode()),o.release()},le(l))}},{type:"DOM:image",constructors:[sa],property:"srcset",placeholder:"image",parse:vl},{type:"DOM:media",constructors:["HTMLSourceElement"],property:"src"},{type:"DOM:media",constructors:["HTMLSourceElement"],property:"srcset",parse:vl},{type:"DOM:image",constructors:["HTMLPictureElement"],property:"src",placeholder:"image",handleLiveMutation:(e,t,o,r)=>{let{type:n,parse:i,placeholder:a}=e,c=o.getNode(),p=In(c,"img"),l=p&&(Qi&&s(Qi.get,p)||s(Fs.get,p)),u=i(l,{type:n,target:o});if(u&&p&&l){let m=ne(u),d=u.serialize(),y=l!==d;r&&(!m||y)&&(r.modified=!0);let A=(U,h=d)=>{s(Fs.set,U,h)};m?y&&Ze(p,()=>{A(p)}):(Ze(p,()=>{A(p,a)}),u.mutator=()=>{let U=In(o.getLiveNode(),"img");A(U),o.release()},le(u))}}},{type:"DOM:media",constructors:[gp],property:"src",placeholder:"video",handleLiveMutation:(e,t,o,r)=>{let{type:n,parse:i,placeholder:a}=e,c=o.getNode(),p=wu&&s(wu.get,c)||s(ku.get,c),l=i(p,{type:n,target:o});if(!l)return;let u=ne(l),m=l.serialize(),d=p!==m;r&&(!u||d)&&(r.modified=!0);let y=(A,U=m)=>{s(ku.set,A,U)};u?d&&Ze(c,()=>{y(c)}):(Ze(c,()=>{y(c,a)}),l.mutator=()=>{y(o.getLiveNode()),o.release()},le(l))}},{type:"DOM:media",constructors:["HTMLVideoElement"],property:"poster",placeholder:"image"},{type:"DOM:ping",constructors:[ia],property:"ping"},{type:"DOM:link",constructors:[ia,bn,"HTMLAreaElement"],property:"rel",condition:e=>s(xs,e,"href"),parse:(e,t)=>{let{type:o,target:r}=t,n=so(`${e}`,/\s+/);if(!Te(n,u=>F(Pi,Bt(u))))return null;let a=()=>{var m;let u=no(r)?r:(m=r==null?void 0:r.getLiveNode)==null?void 0:m.call(r);u&&s(PP.set,u,e)},c=no(r)?r:r.getNode(),p=s($a.get,c);return new Z({type:o,url:p,target:r,serialize:()=>e,mutator:a},!0)}},{type:"DOM:link",constructors:[ia,bn,"HTMLAreaElement"],property:"relList",attribute:null,handlePendingRead:(e,t)=>{let o=t,r=e(t),{add:n,toggle:i,replace:a}=r;return r.add=function(...c){let p=()=>H(n,this,c),l=s($a.get,o);if(Te(c,m=>F(Pi,Bt(m)))){let m=new Z({type:"DOM:link",url:l,target:o,mutator:p,persist:!0});if(!ne(m)){le(m);return}}return p()},r.toggle=function(c,p){let l=()=>s(i,this,c,p),u=s($a.get,o);if(F(Pi,Bt(c))){let d=new Z({type:"DOM:link",url:u,target:o,mutator:l,persist:!0});if(!ne(d))return le(d),!s(Eu,r,c)}return l()},r.replace=function(c,p){let l=()=>s(a,this,c,p),u=s($a.get,o);if(F(Pi,Bt(p))){let d=new Z({type:"DOM:link",url:u,target:o,mutator:l,persist:!0});if(!ne(d))return le(d),!0}return l()},r}},{type:"DOM:link",constructors:[ia,bn,"HTMLAreaElement"],property:"href",condition:({relList:e})=>e&&Te(Pi,t=>s(Eu,e,t))},{type:"DOM:link",constructors:[bn],attribute:"imagesrcset",property:"imageSrcset",parse:vl},{type:"DOM:view",constructors:[jr,"HTMLEmbedElement","HTMLFrameElement"],property:"src",placeholder:"document"},{type:"DOM:view",constructors:["HTMLObjectElement"],property:"data",placeholder:"document"},{type:"DOM:track",constructors:["HTMLTrackElement"],property:"src",placeholder:"track"}];var Pd=!Du&&$r(),Id=Pd?e=>Vo(Pd,e)?!1:s(Us,s(TE,e,"x"))!=="x"?(gr(Pd,e),!1):!0:e=>s(Du,e)!==null,za=e=>{let t=s(jt,e)||e;return t&&Id(t)},Ii=e=>{let t=[];return My(s(hu,e),o=>{E(t,Ko(o))}),Pe(t,"")};var lr=e=>{e&&Pn(e)},Pl=Zi(),li=e=>_n(Pl,e)||_n(qs(Pl,e,[]),e),is=(e,t)=>Cy(t,o=>FO(e,o)),vd=(e,t)=>{E(li(e),...is(e,t))},ts=Se(),hP=B.domProtectionCache!==Ie,UO=[gP,...IP,TP,...uP],vP=Zi(),HO=e=>_n(vP,e)||_n(qs(vP,e,UO),e),hl=e=>s(ks,s(jt,e)||e),ja=e=>e?lo(e)&&s($i,e)||s(dE,e,null):null,as=e=>ja(s(jt,e)),cs=e=>s(Us,e),hi=(e,t)=>{s(Dc,e),s(xc,e,t),s(bc,e)},pP=e=>{C&&g.log("Initializing DOM patchers");let t=HO(e),{Node:o,Element:r,Document:n,DocumentFragment:i,DocumentType:a,Attr:c,CharacterData:p,Range:l,ShadowRoot:u,NamedNodeMap:m}=e,d=o[R],y=r[R],A=n[R],U=m[R],h=l[R],z=u==null?void 0:u[R];if(E(t,...((..._)=>L(_,({attribute:v=null,property:N,accessor:b,constructors:O=["Element"]})=>({type:Xr,constructors:O,property:N,attribute:v,handleLiveMutation:null,handlePendingWrite:(D,K,Y,ge)=>{if($())return s(K,Y,ge);let ve=as(Y),[ie,S]=Mr(ve,cs(Y),s(_o,Y));hi(ie,ge===null?"":ge);let M=Y===s(rt,s(jt,Y)||j)||ve!==br?[s(rt,ie)]:[s(Wr,ie),s(ji,ie)],V=f({insertion:ie,mutator:ee=>{lr(S);let re=za(Y);s(b.set,ee,V.modified?Pe(L(M,xe=>re?Ii(xe):s(vn.get,xe)),""):ge)},target:Y});return Yt(e,V)}})))({property:"innerHTML",accessor:vn},{property:"outerHTML",accessor:Xi},{property:"srcdoc",attribute:"srcdoc",accessor:$c,constructors:[jr]})),Yc){let{set:_}=Yc;_e(u[R],"innerHTML",Oe(x({},Yc),{set(...v){let N=this;if($())return H(_,N,v);let[b]=v,O=as(N),[D,K]=Mr(O,"_",s(_o,N));hi(D,b===null?"":b);let Y=[s(rt,D)],ge=f({insertion:D,mutator:ve=>{lr(K);let ie=za(ve);return H(_,ve,ge.modified?[Pe(L(Y,S=>ie?Ii(S):s(vn.get,S)),"")]:v)},target:N});return Yt(e,ge)}}))}y.insertAdjacentElement=function(..._){let v=this,N=()=>H(sE,v,_);if($())return N();let b=_[1];return Yt(e,f({insertion:b,mutator:N,target:v}))};let ue="setHTML",He=ue+"Unsafe";for(let[_,v]of I([[y,ue],[y,He],[z,ue],[z,He]])){let N=_[v];N&&(_[v]=function(...b){let O=this,D=()=>H(N,O,b);if($())return D();let[K]=b,Y=za(O),ge=(S,M,V)=>(lr(ie),V&&(b[0]=Y?Ii(M):s(vn.get,M)),D());if(!b.length)return ge();let[ve,ie]=Mr(as(O),_===y?cs(O):"_",s(_o,O));return hi(ve,K),Yt(e,f({mutator:ge,target:O,insertion:ve}))})}y.insertAdjacentHTML=function(..._){let v=this,N=()=>H(iE,v,_);if($())return N();let b=_[1],[O,D]=Mr(as(v),cs(v),s(_o,v));hi(O,b);let K=za(v);return Yt(e,f({insertion:O,mutator:(ge,ve,ie)=>(lr(D),ie&&(_[1]=K?Ii(ve):s(vn.get,ve)),N()),target:v}))},A.adoptNode=function(..._){let v=this,N=()=>H(Su,v,_);if($())return N();let[b]=_;if(lo(b)){let[O,D]=Mr(as(b),cs(b),s(_o,b)),K=s(Su,O,b);return s(Wi,OP(O),K),Yt(e,f({insertion:K,mutator:(ge,ve,ie)=>(lr(D),ie&&(_[0]=K),N()),target:v}))}return N()},A.importNode=function(..._){let v=this,N=()=>H(Pu,v,_);if($())return N();let[b,O]=_;if(lo(b)){let[D,K]=Mr(as(b),cs(b),s(_o,b)),Y=s(Pu,D,b,O);return s(Wi,OP(D),Y),Yt(e,f({insertion:Y,mutator:(ve,ie,S)=>(lr(K),S&&(_[0]=Y),N()),target:v}))}return N()},A.open=function(..._){let v=this,N=()=>H(Dc,v,_);return $()||_P(e,v,v,!0),N()},A.close=function(..._){let v=this,N=()=>H(bc,v,_);return $()||Hm(...GR(v)),N()};let se=function(..._){let v=this,N=()=>H(xc,v,_);if($())return N();let b=s(rt,v),O=b?cs(b):"_",[D,K]=Mr(ja(v),O,s(_o,v));return s(Dc,D),H(xc,D,_),s(bc,D),Yt(e,f({insertion:D,mutator:(ge,ve,ie)=>(lr(K),ie&&(ct(_),E(_,s(Xi.get,s(rt,D)))),N()),target:v}))};A.write=se,A.writeln=function(..._){return H(se,this,Mt(_,`
`))},A.execCommand=function(..._){let v=this,N=()=>H(yE,v,_);if($())return N();let[b]=_,O=uo(`${b}`),D=_[2];if(O==="INSERTHTML"){let K=Id(v),[Y,ge]=Mr(ja(v),"_",s(_o,v));hi(Y,D===null?"":D);let ve=[s(rt,Y)],ie=f({insertion:Y,mutator:()=>(lr(ge),ie.modified&&(_[2]=Pe(L(ve,S=>K?Ii(S):s(vn.get,S)),"")),N()),target:v});return Yt(e,ie)}if(O==="INSERTIMAGE"){let K=new Z({type:"DOM:image",url:D,target:v,mutator:()=>{let Y=K.serialize();Y!==`${D}`&&(_[2]=Y),N()}});if(!K.allowed)return le(K),!1}return N()};let he=new Map,me=[[[[r,Uc],[n,vu],[i,Ou]],["append","prepend","replaceChildren"]],[[[r,Uc],[a,qE],[p,Cu,FE]],["before","after","replaceWith"]]],ft=(_,v,N,b)=>{let{prototype:O}=_,D=oo(O,N);if(D){let K=D.value;for(let Y of I(v))ae(he,`${Y}${N}`,K);_e(O,N,{configurable:!0,enumerable:!0,writable:!0,value:b})}};for(let[_,v]of I(me))for(let[N,...b]of I(_))for(let O of I(v))ft(N,b,O,function(...D){let K=this,Y=s(Sn,K),ge=Ee(he,`${Y}${O}`),ve=()=>H(ge,K,D);if($())return ve();for(let ie=0,S=D.length;ie<S;ie++){let M=D[ie];typeof M!="string"&&Yt(e,f({insertion:M,mutator:(V,ee,re)=>{re&&(D[ie]=ee)},target:K}))}return ve()});d.appendChild=function(..._){let v=this,N=()=>H(Br,v,_);if($())return N();let[b]=_;return Yt(e,f({insertion:b,mutator:N,target:v}))},d.insertBefore=function(..._){let v=this,N=()=>H(Yi,v,_);if($())return N();let[b]=_;return Yt(e,f({insertion:b,mutator:N,target:v}))},d.replaceChild=function(..._){let v=this,N=()=>H(uE,v,_);if($())return N();let[b]=_;return Yt(e,f({insertion:b,mutator:N,target:v}))};let Ve=function(_,v,N,b,O=null){let D=Bt(v),K=Y=>b?s(Mc,_,O,v,Y):s(Ro,_,v,N);for(let Y of I(li(e))){let{handlePendingWrite:ge,attribute:ve,property:ie,condition:S}=Y;if(ge&&ve!==null&&ie!==null&&D===ve&&(S===null||S(_))){ge(Y,K,_,N);return}}return K(N)};y.setAttribute=function(..._){let v=this;if($())return H(Ro,v,_);let[N,b]=_;return Ve(v,N,b,!1)},y.setAttributeNS=function(..._){let v=this;if($())return H(Mc,v,_);let[N,b,O]=_;return Ve(v,b,O,!0,N)};let gt=_=>Qe(li(e),({attribute:v})=>v===_),mt=(_,v,N,b)=>{if(Re(AP,_)){let O=gt(_),D=O.parse(v,{type:Xr,target:N,mutator:b});if(!D)return b();if(ml(D))return lt&&g.warn("Unable to omit credentials from request. Request blocked: ",D),N;if(!O.safe&&!ne(D))return le(D),N}return b()},dt=G(c,"name"),$e=G(c,"value"),Et=Oe(x({},$e),{set(..._){let v=this,N=()=>H($e.set,v,_);if($())return N();let b=s(dt.get,v),[O]=_;return mt(b,O,v,N)}});_e(c[R],"value",Et);let ye=G(o,"nodeValue"),Q=Oe(x({},ye),{set(..._){return WE(this)?H(Et.set,this,_):H(ye.set,this,_)}});_e(d,"nodeValue",Q);let pe=_=>function(...v){let N=this,b=()=>H(_,N,v);if($())return b();let[O]=v,D=s(dt.get,O),K=s($e.get,O);return mt(D,K,O,b)};y.setAttributeNodeNS=pe(nE),y.setAttributeNode=pe(rE),U.setNamedItemNS=pe(EE),U.setNamedItem=pe(gE);let ze="insertNode",Pt=h[ze];h[ze]=function(..._){let v=this,N=()=>H(Pt,v,_);if($())return N();let b=s(xu,v);if(!Aa(b))return N();let[O]=_;return Yt(e,f({insertion:O,mutator:N,target:b,static:!0}))};let it="createContextualFragment",Eo=h[it];h[it]=function(..._){let v=this,N=()=>H(Eo,v,_);if($())return N();let b=s(xu,v);if(!Aa(b))return N();let[O]=_,[D,K]=Mr(Hc(b)?ja(b):as(b),lo(b)?cs(b):"_",s(_o,b));hi(D,O);let Y=f({insertion:D,target:b,static:!0,mutator:()=>(lr(K),Y.modified&&(_[0]=Ko(D)),N())});return Yt(e,Y)},vd(e,t)},_P=(e,t,o=t,r=!1)=>{let n=()=>{};if(YT&&t&&Hc(t)&&(r||ws(t)==="loading")){let i="readystatechange",a=UR(e);n=()=>{Hm(a),s(tr,t,i,c)};let c=()=>{ws(t)!=="loading"&&n()};s(Ye,t,i,c),HR(a,o)}return n},NP=(e=j)=>{let t=no(e),o=(t?hl(e):e)||T,r=ln(o),n=(t?s(jt,e):s(qo,e))||j;if(C&&g.log("protect() called on",n),Be(ts,n)){Je&&g.error("protect() already called on this document");return}let i=_P(o,n),a=()=>{i(),rr(ts,n),C&&g.log("protect() removed from",n),r&&r[cm]()},c=f({[cm]:a});return ae(ts,n,c),c},Aa=e=>e!==null&&hl(e)!==null,Cl=Se([["ANCHOR",["A"]],["IMAGE",["IMG"]],["MEDIA",["VIDEO","AUDIO"]]]),Cd=e=>{let t=uo(Ct(e,/^HTML|^SVG|Element$/g,""));return Be(Cl,t)?Ee(Cl,t):[t]},GO={mode:"no-cors"},AP=ce(),FO=(e,t)=>{let o=[],{type:r}=t,{property:n=null,placeholder:i=null,safe:a=!1,save:c=!1,requestInit:p,constructors:l=[],condition:u=null,attribute:m=n,attributeNamespace:d=null,omitCredentials:y=or(l,k=>F(Xa,k))&&((k,ue)=>{let He=yi(k);return He&&ue&&(ue.modified=!0),He})||null,parse:A=(k,ue)=>new Z(Oe(x({},ue),{url:k,persist:c,omitCredentials:y!==null?function(){return y(this)}:void 0})),setup:U=null,init:h=k=>{for(let ue of I(l)){let He=k[ue];if(!He)continue;let se=n!==null&&oo(He[R],n)||null,he=i&&mP[i],me=(p!=null?p:c)?f(GO):void 0,{read:ft=n!==null&&(se==null?void 0:se.get)&&(ye=>s(se.get,ye))||(m!==null&&d?(ye,Q=m,pe=d)=>{s(cE,ye,pe,Q)}:(ye,Q=m)=>{s(Ds,ye,Q)})||null,write:Ve=n!==null&&(se==null?void 0:se.set)&&((ye,Q)=>s(se.set,ye,Q))||m!==null&&(d?(ye,Q,pe=m,ze=d)=>{s(Mc,ye,ze,pe,Q)}:(ye,Q,pe=m)=>{s(Ro,ye,pe,Q)})||null,block:gt=(ye,Q,pe=m,ze=d)=>{let Pt=ye.getNode(),it=!1;Ze(Pt,()=>{Ve&&he?Ve(Pt,he,pe,ze):pe!==null?d?s(pE,Pt,ze,pe):s(Lc,Pt,pe):(it=!0,lr(Pt))}),Q&&(Ve&&!it?Q.mutator=()=>{Ve(ye.getLiveNode(),Q.serialize(),pe,ze),ye.release()}:ye.release(),le(Q))},handlePendingRead:mt=null,handlePendingWrite:dt=Ve!==null&&function(ye,Q,pe,ze,Pt){if($()){Q(ze);return}let it=A(ze,{type:r,target:pe,requestInit:me});if(!it){Q(ze);return}let Eo=ye.safe||ne(it),_=it.serialize(),v=`${ze}`!=`${_}`;Pt&&(!Eo||v)&&(Pt.modified=!0);let N=()=>{Q(_)};if(!Eo){it.mutator=N,le(it);return}Ze(pe,N)}||null,handleLiveMutation:$e=ft!==null&&Ve!==null&&gt!==null&&((ye,Q,pe,ze)=>{let{attributeName:Pt,attributeNamespace:it}=Q,Eo=pe.getNode(),_=ft(Eo,Pt,it),v=A(_,{type:r,target:pe});if(!v)return;let N=ne(v),b=v.serialize(),O=_!==b;ze&&(!N||O)&&(ze.modified=!0),!ye.safe&&!N?gt(pe,v,Pt,it):(O&&Ve(Eo,b,Pt,it),pe.release())})||null}=t,Et=f({type:r,constructor:He,tagNames:Cd(He.name),placeholder:he,requestInit:me,property:n,condition:u,safe:a,save:c,attribute:m,read:ft,write:Ve,block:gt,parse:A,attributeNamespace:d,handlePendingRead:mt,handlePendingWrite:dt,handleLiveMutation:$e,omitCredentials:y});E(o,Et),m!==null&&J(AP,m),n&&se&&(mt||dt)&&_e(He[R],n,Oe(x({},se),{get:mt===null?se.get:function(){return mt(pe=>s(se.get,pe),this)},set:dt===null?se.set:function(ye){let Q=this,pe=ze=>{s(se.set,Q,ze)};u===null||u(Q)?dt(Et,pe,Q,ye):pe(ye)}}))}return o}}=t,z=h(e);return U==null||U(z),z},hd=HT?(e,t)=>{let o=s(Wr,e);if(o){let r=s(Br,o,s(kc,e,br,"base"));return s(HE,r,t),r}}:Ir,qO=wp?e=>{let t=s(Iu,Hs,"");return s(aE,s(bs,s(Wr,t))),[t,e&&hd(t,e)]}:e=>{let t=s(Iu,Hs);return[t,e&&hd(t,e)]},Mr=(e,t,o)=>{if(e===br||e===null)return qO(o);let n=s(wc,Hs,e,t);return[n,o&&hd(n,o)]},VO=e=>ja(e)===br,CP=$r(),La=(e,t,o,r)=>{let n=a=>{if(hP&&Vo(CP,a))return BE;for(let c of I(li(e))){let{handleLiveMutation:p,attribute:l,tagNames:u,condition:m}=c;if(p&&F(u,Bo(a))&&l!==null&&s(xs,a,l)&&(m===null||m(a))){let A=f({attributeName:l,attributeNamespace:null}),U=new(t.static?_r:Qn)(a,o);p(c,A,U,t)}}return hP&&s(zE,a)===null&&gr(CP,a),KE},i=s(RE,o,r,VE,n);for(lo(r)&&n(r);cP(e)&&s(SE,i)!==null;);},OP=e=>VO(e)?s(ji,e):s(rt,e),Yt=(e,t)=>{let{target:o,insertion:r,mutator:n}=t;if($E(r))return Ze(o,()=>n(o,r,t.modified));let i=s(jt,r)||r||j,a=lo(r)||YE(r)?r:s(rt,i)||r;if(Aa(o)&&a){let c=s(jt,o)||o;c&&o===c&&(a=i),La(e,t,i,a)}return Ze(o,()=>n(o,a===i?s(rt,i):a,t.modified))};var Xa=P?Cn(L([sa,bn,fp,gp,"SVGImageElement","SVGScriptElement"],e=>Cd(e))):[];Ji&&E(Xa,jr);var MP=["fetch","xhr","worker","eventsource"],Pi=Le("stylesheet icon apple-touch-icon preconnect prefetch preload prerender dns-prefetch modulepreload pingback manifest shortcut import alternate webbundle"," "),_a="Attempted to reference a released node";var KO=e=>{let t=no(e)?lo(e)&&e:e.getNode(),o=t&&Bo(t);return t&&Ze(t,()=>{s(Ro,t,"crossorigin","anonymous"),Ji&&o==="IFRAME"&&s(Ji,t,!0)}),no(t)&&lo(t)&&F(Xa,o)},El=e=>{let{requestInit:t}=e;return(e.requestInit=t||f()).credentials="omit",!0},yi=e=>{let{target:t,type:o}=e;return t?KO(t):F(MP,o)};var Qa,vi,ps,Ci,Oi,Ja,Ol,pr=class{constructor({type:t,urls:o,serialize:r,omitCredentials:n,requestInit:i,mutator:a,target:c,timestamp:p=ot()},l=!0,u=!0){Fe(this,Qa,void 0);Fe(this,vi,null);Fe(this,ps,void 0);Fe(this,Ci,void 0);Fe(this,Oi,void 0);Fe(this,Ja,void 0);Fe(this,Ol,void 0);W(this,"allow",()=>{this.allowed=!0});W(this,"deny",()=>{fe(this,ps,!1)});W(this,"block",()=>{fe(this,Ci,!0),fe(this,ps,!1)});W(this,"type");W(this,"urls");W(this,"URLs");W(this,"timestamp");W(this,"mutator");W(this,"target");W(this,"requestInit");W(this,"serialize",()=>de(this,Oi)?de(this,Oi).call(this):this.urls[0]);W(this,"omitCredentials",()=>{var t,o;return(o=de(this,Ol))!=null?o:fe(this,Ol,El(this)&&(((t=de(this,Ja))==null?void 0:t.call(this))||yi(this)))});W(this,"toJSON",()=>{let{type:t,urls:o,requestInit:r,timestamp:n}=this;return{type:t,urls:L(o,i=>typeof i=="string"?i:`${i}`),requestInit:Wp(r),timestamp:n}});let m=this;fe(m,Qa,u),m.target=c,m.type=t,m.mutator=a,m.requestInit=i,m.timestamp=p,r&&fe(m,Oi,r),n&&fe(m,Ja,n);let d=m.urls=we(o),y=c&&Jn(c)?c.getNode():c,A=m.URLs=L(d,U=>Wt(U,y));w(d,(U,h)=>{_e(d,h,{enumerable:!0,configurable:!1,get:()=>U,set:z=>{let{target:k}=m;k&&Jn(k)&&(y=k.getNode()),A[h]=Wt(U=z,y)}})}),l&&ul(m)}get purposes(){var t;return(t=de(this,vi))!=null?t:fe(this,vi,es(this,de(this,Qa)))}set purposes(t){if(!X(Ce,t))throw new kt(_p);let o=de(this,vi);o===null?fe(this,vi,o=new Ce):Mo(o);for(let r of De(t)){if(typeof r!="string")throw new kt(js);J(o,r)}}get allowed(){var t;return(t=de(this,ps))!=null?t:be(this.purposes,Ht)}set allowed(t){if(t!==null&&typeof t!="boolean")throw new kt(Xs);if(t&&de(this,Ci))throw new kt(hr);fe(this,ps,t)}get blocked(){var t;return(t=de(this,Ci))!=null?t:!1}set blocked(t){if(t!==!0)throw new kt(hr);this.block()}get url(){return this.urls[0]}set url(t){this.urls[0]=t}get persist(){return!1}set persist(t){}};Qa=new WeakMap,vi=new WeakMap,ps=new WeakMap,Ci=new WeakMap,Oi=new WeakMap,Ja=new WeakMap,Ol=new WeakMap;It(pr);var _l=ce(["mutator"]);var Nl=()=>[Xo(),Xo()],_i=(e,t,o,r,n=(i,a)=>Rr(a))=>i=>{let a=(p,l)=>p!==i||F(e,l),c=(p,l)=>t&&a(p,l)&&(typeof p[l]!="function"||!!o&&Re(o,l));return new Sc(i,{get:(p,l)=>{if(!a(p,l))return;if(Ne(r)){let[m,d]=r;if(l===m)return d}let u=p[l];return typeof u=="object"&&!c(p,l)?n(l,u):u},set:(p,l,u)=>c(p,l)?(p[l]=u,!0):!1,has:(p,l)=>l in p,deleteProperty:(p,l)=>c(p,l)&&delete p[l]})};var Od=Nl(),[BO,WO]=Od,_d=["url","urls","type","requestInit","timestamp","URLs","persist","allowed","blocked","serialize","purposes","target","toJSON"],ls=_i(_d,!1,!1,Od,(e,t)=>e==="URLs"?L(t,o=>o&&new Nt(o)):Rr(t)),YO=Mt(_d,"URLs","omitCredentials","allow","deny","block","mutator"),CS=_i(YO,!0,_l,Od),$O=Xe(_d,0,5),jn=(e,t=!0)=>{var i;let o=et(e),r=Me(o,a=>F($O,a));if(r.length<o.length&&lt){let a=Me(o,c=>!F(r,c));g.warn(`The following properties are not allowed and will be ignored: ${Pe(a," ")}`)}let n=f();for(let a of I(r)){let c=Rr(e[a]);a==="url"?((i=n.urls)!=null?i:n.urls=[])[0]=c:n[a]=c}return ls(new pr(n,t))},Nd=e=>X(Z,e)||X(pr,e)||e[BO]===WO;var Ad=(e,t)=>Me(e,({param:o,value:r})=>{if(s(_c,t,o)){if(r===null)return!0;let n=s(Nc,t,o);if(typeof n=="string"&&ht(n,r))return!0}return!1}),Md=(e,t,o)=>{let r=Ad(e,o);for(let{purposes:n}of I(r))for(let i of De(n))J(t,i);return!!r.length};var{tfpfCacheSize:zO}=B,Ld=+(zO||sT),us=!!Ld,Ni=ce(),xd=()=>{Mo(Ni)},jO=()=>{fr(Ni)>=Ld&&xd()},LP=()=>{us&&~Ld&&(zp(jO),jp())};var Al=(e=!1)=>(+at.tcmu||0)+(e&&+at.tcmr||0),Dd=(e,t)=>{let o=+(at.tcmr||0),r=+(at.tcmu||0)+Mp,n=o+r,i=Tn(t)&&r>=t;return at.tcmu=i?t:r,Tn(e)&&n>=e},xP=()=>{delete at.tcmu},DP=()=>{xP(),delete at.tcmr},bP=()=>{let e=Al(),t=Al(!0);return at.tcmr=t,xP(),e};var bd=()=>va(new bt({name:ir,domain:Gn})),kP=async(e=!0)=>{yd(),C&&Mo(Ml),nt&&Ri(),!So&&e&&await Zo(Io({sync:[Wo],reset:!0})),ao&&Lm(),us&&xd()},wP=async e=>Do(e)?(await kP(),C&&g.log(`${Ot} caches have been cleared`),!0):(Je&&g.error(nr("clear")),!1),Za=async e=>{let t=typeof e=="boolean",{autoReload:o=!0,autoSync:r=!0}=t?f({autoReload:e,autoSync:e}):e||f();return Or&&bd(),await kP(!1),DP(),await kd(!1),!So&&r&&await Zo(Io({reset:!0})),C&&g.log(`${Ot} data has been reset`),o&&Ls(),!0},UP=async(e,t)=>Do(e)?Za(t):(Je&&g.error(nr("reset")),!1);var FP="tcms",Ll=!(FP in Gr),XO=()=>{Gr[FP]=1},HP,qP=()=>Ll&&!HP?(HP=!0,1):0,GP,VP=()=>{GP||(GP=!0,Ll&&XO())};var wd=!1,KP=!0,QO=()=>Ll&&!wd,WP=()=>KP?(KP=!1,QO()):!1,BP=!1,YP=e=>{if(BP)return;BP=!0;let t;w(["mousedown","keydown","touchstart"],o=>{s(Ye,T,o,()=>{wd=!0,t&&(s(yn,T,t),t=null),t=s(eo,T,()=>{wd=!1},e)},{passive:!0})})};var Ud="Skipped telemetry for extension-initiated event:",JO=()=>{if(Nn){if(Cm==="origin")return Uo;if(Cm==="path"){let{origin:e,pathname:t}=Nn("origin","pathname");return`${e}${t}`}return Nn(qe)[qe]}},Ai=Se(),Hd=[],ec=()=>{let e=JO(),t=Ee(Ai,e);return t||(t=f({hosts:Se(),paths:Se(),pathMatchers:Se(),cookies:Se(),cookieMatchers:Se(),cspv:Se(),consent:[]}),ae(Ai,e,t)),t},$P=Vn===1,zP=()=>Kc()<Vn,jP=(e,t,o,r,n,i,a,c=1,p=1)=>{C&&g.log.styled(Rp,`Logging telemetry to %c${i}`),YP(r);let l=!1,u=null,m=!1,d=!1,y,A,U=L(e,({hostname:S})=>S),h=Se(),z=S=>{let M=f();for(let[V,{allowed:ee,blocked:re}]of wt(S))Re(mo,V)&&(M[V]=[ee,re]);return M},k=()=>{for(let S of De(rs))ae(h,S,f({allowed:0,blocked:0}))};k();let ue=["http:","https:"],He=S=>{let M=Le(S,"."),{length:V}=M;for(let ee=0;ee<V;ee++){let re=Pe(Xe(M,ee),".");if(F(U,re))return!0}return!1},se=(S,M,V)=>V&&(S===At||He(S))||F(yp,M),he=(S,M=`
`)=>{let V=[];for(let[ee,re]of wt(S))E(V,re>1?`${ee} ${re}`:ee);return Pe(V,M)},me=/\n/g,ft=S=>{let M=[];for(let[V,ee]of wt(S))Vt(ee)&&E(M,`${Ct(V,me,re=>s(Qo,T,re))}
${Pe(L(we(ee),([re,xe])=>{let Ge=re===At?"^":re;return xe>1?`${Ge} ${xe}`:Ge})," ")}`);return Pe(M,`
`)},Ve=S=>Pe(L(we(S),([M,V])=>`${he(V,",")};${M}`),`
`),gt=S=>{let M=f();for(let[V,ee]of wt(S))M[V]=he(ee);return M},mt=S=>Pe(L(we(S),([M,V])=>`${M}
${he(V,",")}`),`
`),dt=()=>{let S=f();for(let[M,{hosts:V,paths:ee,pathMatchers:re,cookies:xe,cookieMatchers:Ge,cspv:yt,consent:yo}]of wt(Ai)){let To=f();Vt(V)&&(To.hosts=he(V)),Vt(ee)&&(To.paths=Ve(ee)),Vt(re)&&(To.pathMatchers=gt(re)),Vt(xe)&&(To.cookies=ft(xe)),Vt(Ge)&&(To.cookieMatchers=mt(Ge)),Vt(yt)&&(To.cspv=he(yt)),yo.length&&(To.consent=Me(L(yo,ur=>Co(Me(tt(ur),([Es])=>Re(mo,Es)))),ur=>et(ur).length)),S[M]=To}return S},$e=S=>{let M=f({version:vr,id:yl,site:At,samplingRate:c,clientSamplingRate:p,sessions:S});return Pt(),!S&&or(we(qu(Ai)),({hosts:V,paths:ee,pathMatchers:re,cookies:xe,cookieMatchers:Ge,cspv:yt,consent:yo})=>Rt(wt(V))&&Rt(wt(ee))&&Rt(wt(re))&&Rt(wt(xe))&&Rt(wt(Ge))&&Rt(wt(yt))&&!Al()&&!yo.length&&!Hd.length)?null:(M.entries=dt(),M)},Et=()=>{w(Ai,([,{hosts:S,paths:M,pathMatchers:V,cookies:ee,cookieMatchers:re,cspv:xe,consent:Ge}])=>{Lo(S),Lo(M),Lo(V),Lo(ee),Lo(re),Lo(xe),ct(Ge)}),Lo(Ai),ct(Hd)},ye=S=>{let M=$e(qP());if(M===null||(Et(),$o||Ri(),n))return M;(M.sessions||0)>0&&(M.currentConsent=Dn(qt(),mo).purposes,M.defaultConsent=Dn(f({purposes:Co(Fd)}),mo).purposes),M.bounces=+(S&&WP()),M.views=bP();for(let{allowed:re,blocked:xe}of qu(h))if(re||xe){M.purposes=z(h);break}k();let V=Ar();fr(V)&&(M.regimes=!Gd.length||fr(V)===1?we(De(V)):Me(Gd,re=>Re(V,re)));let ee=Hn();return ee.size&&(M.signals=we(De(ee))),M},Q=S=>{if(!ut()||!i||!ne(new Z({type:"beacon",url:i}),!1))return;let M=ye(S);if(!M)return;m=!0,C&&g.log("Flushing telemetry data:",M);let V=Ue(M);en(i,{method:"POST",mode:"no-cors",credentials:"omit",body:V,keepalive:Vs(V)<=65536}),m=!1,d||(d=!0)},pe=[],ze=S=>{n||E(pe,S),A||(A=s(vs,T,async()=>{await new ke(M=>{y||(y=s(Cs,T,()=>{Pt(),M()}))}),y=null},a))},Pt=()=>{if(pe.length){let{length:S}=pe;if(S){for(;S--;)pe[S]();ct(pe)}}},it=()=>{m||(l||(s(Ye,T,Cp,()=>{Q(!0)}),l=!0),u===null&&(u=s(eo,T,()=>{u=null,Q(!1)},(d?o:t)*1e3)))},Eo=S=>(M,V)=>{var yt;let ee=F(ue,V);if(se(M,V,ee))return;let{[S]:re}=ec(),xe=ee?M:`${V}${M}`,Ge=((yt=Ee(re,xe))!=null?yt:0)+1;ae(re,xe,Ge)},_=Eo("hosts"),v=Eo("cspv"),N=["pathMatchers","paths"],b=(S,M)=>{let V=typeof M=="string",ee=ec()[N[+V]],re=V?M:s(qr,M),xe=Be(ee,re),Ge=xe?Ee(ee,re):Se();xe||ae(ee,re,Ge),ae(Ge,S,(Ee(Ge,S)||0)+1)},O=({protocol:S,host:M})=>{v(M,S)},D=(S,M=!0)=>{ze(()=>{let V=`${S}`;tI&&Te(Kd,ee=>We(ee,V))||(E(Hd,V),Je&&g.error(S),M&&it())})},K=(S,M)=>{var ee;let V=be(S,M)?"allowed":"blocked";for(let re of De(S))if(Re(rs,re)){let xe=Ee(h,re);xe[V]=((ee=xe[V])!=null?ee:0)+1}},Y=(S,M)=>s(Ur,S,V=>{if(NR(V)){us&&M&&J(Ni,M),C&&g.log(Ud,event);return}it()}),ge=(S,M)=>Re(S.purposes,Ut)&&ha(M),ve=(S,M=!0,V=!0)=>{let ee=us?$p(S):null;if(ee&&Re(Ni,ee)){C&&g.log(Ud,S);return}let re=ti&&M&&ge(S,ve);ze(()=>{if(!Om){if(JP){let Ge=ls(S);if(Te(Bd,yt=>yt(Ge)))return}if(ZP&&Te(qd,Ge=>Te(S.URLs,yt=>{let yo=yt&&Ae(oe,yt,qe);return yo&&!ea(yo)&&We(Ge,yo)})))return;if($P||zP()){for(let Ge of I(S.URLs))if(Ge){let yt=oe(Ge,"protocol","hostname","host",qe),{protocol:yo}=yt;if(yo==="data:")continue;S.type==="CSPV"&&(O(yt),V&&(re?Y(re,ee):it()));let To=XP(Ge),ur=QP(Ge),Es=Mt(To,ur);for(let ys of I(Es))b(Ge.hostname,ys);if(!To.length){let{hostname:ys}=yt;_(ys,yo)}}}let{purposes:xe}=S;K(xe,Ht)}V&&(re?Y(re,ee):it())})},ie=(S,M,V=!0,ee=!0)=>{let re=us?uR(S):null;if(re&&Re(Ni,re)){C&&g.log(Ud,S);return}let xe=ti&&V&&(M||ge(S,ie));ze(()=>{if(!Om){let Ge=km(S);if(Ge===""||eI&&Te(Vd,yt=>We(yt,Ge)))return;if($P||zP()){let yt=ar(S,Ge,Zp.has(S));Zp.delete(S);let yo=Bn(S,!1);K(yo,Yo);let{domain:To}=S,ur=To||At,{cookies:Es,cookieMatchers:ys}=ec();if(!Me(bm,([gn,ff])=>{let gf=We(gn,Ge);return gf&&(Be(ys,ff)||ae(ys,ff,Se([[ur,1]]))),gf}).length){let gn=Ee(Es,yt);gn||(gn=Se(),ae(Es,yt,gn)),ae(gn,ur,(Ee(gn,ur)||0)+1)}}}ee&&(xe?Y(xe,re):it())})};return{logRequestStats:ve,logCookieStats:ie,logError:D}};var jo=[],oI=()=>{Ne(Wd)&&E(jo,...Wd)},rI=e=>{let t=E(jo,e)-1;return{remove:()=>{jo[t]!==e&&(t=Kt(jo,r=>r===e)),st(jo,t,1)}}};var xl,nI=!0,{consentPrecedence:ZO,waf:e_}=B,cI=e_==="esc",Xd=ZO==="signals",Li=`tcm${Gt?"MP":""}Consent`,pI=e=>{let t=so(s(Ho.get,j),/;\s*/);for(let o of I(t)){let[r,n]=Le(o,"=");if(r===e)return s(Ql,T,n)}},lI=()=>{let e=[at[Li],ya&&pI(ir)],t=L(L(e,(u,m)=>u&&Lt(m&&ya&&cI?Ql(u):u,f)||f()),(u,m)=>!m&&u&&Gt&&u[Gt]||u),o=L(t,({timestamp:u})=>u&&Go(u)||0),r=Vc(...o),n=Yr(o,r);C&&g.log(`Consent read from ${n?`cookie (${Ue(ir)})`:`localStorage[${Ue(Li)}]${Gt?` partition ${Gt}`:""}`}`);let i=qt(),{purposes:a=f()}=i,c=t[n]||f(),p=c.purposes;return p&&zr(_s(a),a,p)&&(go=x(x({},go),p)),c},uI=e=>{let t;if(Gt){let r=at[Li],n=r&&Lt(r,f)||f();n[Gt]=e,t=Ue(n)}let o=Ue(e);if(at[Li]=Gt&&t||o,Or){let n=new bt({name:ir,value:cI?Qo(o):o,domain:Gn,path:"/",maxAge:hI()||3456e7});if(Sr(n).length>4095){Je&&g.error("Consent data exceeds 4KiB cookie size limit");return}ol(n)}ef()},HS=()=>{let e=lI();Ul(e)},Mi,mn=Se(),go,Lr,dn=!1,ms=!1,xr=!1,ds,fs,$n,sI=Se(),Fd=Se(),tc=f(),t_="Auto",rs=ce(),mI=ce(),bl=ce(),dI=[],o_=[Ut],un,fI=()=>Mi.types,Qd=()=>!(OI&&!Ga.length&&!Kn.length&&Kp&&_m&&be(mI)),sn=async(e,t=ms,o=xr,r=void 0,n=!0,i=ot(),a=dn,c=void 0)=>{let p=zr(_s(e),go,e);p&&Xd&&w(et(p),d=>{oc(d)&&(delete p[d],delete e[d])});let l=a||ms!==t||xr!==o||!!p;if(ut()&&p){let d=f();w(et(p),y=>{d[y]=!!$d(y,p[y])}),E(ec().consent,d)}let u=qt();w(et(e),d=>{var y;(y=Ee(mn,d))!=null&&y.configurable&&(go[d]=e[d])}),xr=o,ms=t,Lr=i,dn=l;let m=EI(r,c);uI(Ul({purposes:go,timestamp:i,updated:l,confirmed:t,prompted:o,metadata:m.metadata,metadataTimestamp:m.metadataTimestamp})),l&&Da(zR,u,qt(),p),!So&&n&&await Zo(Io()),Fa(),ei&&p&&SS(),ga&&Zr(),Hl&&Qd()?ln(T):ba(of)},wl=(e,t,o)=>{var c,p,l,u;if(!Do(e))return Je&&g.error(nr("setConsent")),!1;let n=(c=o==null?void 0:o.confirmed)!=null?c:!0,i=!!((p=o==null?void 0:o.prompted)!=null?p:xr),a=s(Ur,sn(t,n,i,o==null?void 0:o.metadata,!0,(l=o==null?void 0:o.timestamp)!=null?l:ot(),dn,(u=o==null?void 0:o.metadataTimestamp)!=null?u:ot()),()=>(C&&g.log("Consent set to",go),!0));return o!=null&&o.waitForSync?a:!0},r_=async(e,t=!0,o=ot())=>{let{metadata:r,metadataTimestamp:n}=EI(e,o);ds=r,fs=n,uI(qt()),C&&g.log("Metadata set",ds),!So&&t&&await Zo(Io())},gI=async(e,t,o=!0,r=ot())=>{if(Do(e))await r_(t,o,r);else return Je&&g.error(nr("setConsentMetadata")),!1;return!0},n_=e=>or(e,t=>oc(t)),EI=(e,t)=>{let o=e===!1,r=e!==null&&typeof e<"u"&&(!fs||t&&Go(t)>Go(fs));return{metadata:o?void 0:r?e:ds,metadataTimestamp:o?void 0:r?t:fs}},Ul=e=>{if(!e)return qt();let{purposes:t,timestamp:o,prompted:r,confirmed:n,updated:i,metadata:a,metadataTimestamp:c}=e;return ms=!!(n||nI&&!tf&&n_(we(mo))),nI&&(nI=!1),xr=!!r,dn=!!i,ds=a,t&&w(et(t),p=>{Re(mo,p)&&(go[p]=t[p])}),o&&(Lr=o),c&&(fs=c),f({purposes:go,timestamp:Lr,confirmed:ms,prompted:xr,updated:dn,metadata:a,metadataTimestamp:fs})},kd=(e=!0,t=!1)=>(at[Li]&&delete at[Li],(ya||zT)&&pI(ir)&&bd(),go=f(un==null?void 0:un.purposes),Ul(un),sn(t?Co(L(Me(tt(go),([r,n])=>{var i;return n&&!((i=tc.purposes)!=null&&i[r])}),([r])=>[r,!1])):tc,!1,!1,!1,e,ot(),!1,ot())),be=(e,t)=>{let o=!0;if(tf&&(t===Ht&&oi||t===Yo&&ri||oi&&ri))return o;for(let r of De(e)){let n=Ee(mn,r);if(n&&n.essential)return!0;if(o){if(r===Ut||!n)if(t===Ht)o=oi||Kp&&be(bl,t);else if(t===Yo)o=ri||_m&&be(bl,t);else return be(e,Ht)&&be(e,Yo);Re(mo,r)&&!go[r]&&(o=!1)}}return o},Jd=e=>(xr=!!e,Lr=ot(),Zo(Io())),qt=()=>f({purposes:f(go),confirmed:ms,prompted:xr,timestamp:Lr!=null?Lr:Lr=ot(),updated:dn,metadata:ds&&f(ds),metadataTimestamp:fs}),yI=()=>be(bl),TI=()=>or(dI,e=>!go[e]),RI=e=>{let t=f(),o=Ha(ui);for(let r of De(o))t[r]=e;return t},SI=e=>wl(e,RI(!0)),PI=e=>wl(e,RI(!1)),Wn=e=>typeof e>"u"||Ne(e)&&Rt(I(e))||X(Ce,e)&&Rt(De(e))?ce(o_):X(Ce,e)?e:ce(e),s_=(e,t)=>{if(t){let o=et(t);for(let r of I(o))ae(e,Bs(r),Wn(t[r]))}},Nr=class extends Zt{constructor(t){super(),s_(this,t)}};It(Nr);var tn=new Nr,sl=(e,t,o=!1)=>{o&&iR(t);for(let[r,n]of wt(t))ae(e,r,n);C&&g.log("Data flow purpose map loaded",t)},i_=e=>{let t=Le(Bs(e),"."),{length:o}=t;for(let r=0;r<o;r++){let n=Pe(Xe(t,r),".");if(Be(tn,n))return n}return!1},ne=(e,t=!0)=>{var r;let o=Dt||((r=e.allowed)!=null?r:be(e.purposes,Ht));if(t&&(nt&&o&&E(Dr,e),ut()&&os(e),jo.length)){let n=ls(e);for(let i of I(jo))i(n)}return o},Ya=async(e,t=!0)=>ne(e,t),iI=e=>{J(e,Ut)},aI=(e,t)=>St(e.href,e[t].length),II=(e,t)=>{let o=ao&&Ee(Pa,e),r=t.href;if(o&&Re(o,r))return!0;let n;if(typeof e=="string"){let i=e[0]==="/",a=i&&e[1]==="/"&&e[2]==="/",c=a?"origin":"protocol";n=i?vt(aI(t,c),aI(oe(xt(a?St(e,2):e),"href","protocol","origin"),c)):vt(r,e)}else n=We(e,r);return ao&&(o||(o=ce(),ae(Pa,e,o)),n&&J(o,r)),n},Yd=(e,t,o)=>{let r=Me(e,({matcher:n})=>II(n,o));for(let{purposes:n}of I(r))for(let i of De(n))J(t,i);return!!r.length},ml=({URLs:e})=>{let t=new Ce;for(let o of I(e))o&&Yd(rf,t,oe(o,"href","origin","protocol"));return fr(t)!==0&&!be(t,Yo)},Ml=C&&ce(),a_=(e,t,o)=>{for(let{matcher:r}of I(e))II(r,t)&&J(o,r)},XP=e=>{let t=new Ce;zo.length&&a_(zo,e,t);let r=[];for(let n of De(t))E(r,n);return r},QP=e=>{let t=new Ce;if(Md.length)for(let{source:r}of I(Ad(zn,e.searchParams)))J(t,r);return we(t)},es=(e,t=!0)=>{var p;let o=ao&&dR(e),r;if(ao&&o!==null&&(r=Ee(Sa,o)))return r;let{URLs:n}=e,i=L(Me(n,l=>l!==null),l=>{var k;let u=new Ce,m=oe(l,"hostname","href","protocol","origin","searchParams"),{href:d,hostname:y,protocol:A,searchParams:U}=m;if(F(yp,A))return J(u,xo),u;let h=zo.length&&Yd(zo,u,m);e.type==="script"&&(h=kl.length&&Yd(kl,u,m)||h);let z=zn.length&&Md(zn,u,U);if(tn){let ue=i_(y);if(ue!==!1){let He=Ee(tn,ue);for(let se of De(He))(!((k=Ee(mn,se))!=null&&k.essential)||!h&&!z&&Rt(De(u)))&&J(u,se)}else iI(u)}else iI(u);return C&&t&&(Re(Ml,d)||(J(Ml,d),g.log(`Purposes for ${d}`,u))),ao&&o!==null&&ae(Sa,o,u),u}),a=new Ce,c=or(i,l=>!l||Te(we(l),u=>{var m;return(m=Ee(mn,u))==null?void 0:m.essential}));for(let l of I(i))if(l)for(let u of De(l))(c||!((p=Ee(mn,u))!=null&&p.essential))&&J(a,u);return a},Zd=async(e,t=!0)=>es(e,t),oc=e=>{var o;let t=(o=Ee(mn,e))==null?void 0:o.optOutSignals;return!!t&&Te(t,r=>Re(Hn(),r))},c_=(e,t)=>{var o;if((!t||Xd)&&oc(e))return!0;for(let r of De(Ar())){let n=(o=Qe(CI,([i])=>F(i,r)))==null?void 0:o[1];if(n&&F(n,e))return!0}return!1},$d=(e,t,o)=>{if(typeof t=="boolean")return t;let r=io(`${t}`);for(let n of I(r))switch(n){case Ie:return!1;case t_:if(c_(e,o))return!1;break}return t},ef=()=>{if(s(yn,T,xl),!Lr)return;let e=hI();if(!e)return;let t=Go(Lr)+e-No();if(t<=om){xl=s(eo,T,p_,t);return}xl=s(eo,T,ef,om)},hI=()=>{let{consentExpiry:e}=B;return e?+e*6e4:0},p_=()=>{let{onConsentExpiry:e}=B,t=e==="ResetOptIns",r=e==="Reset"||t;xl=null,C&&g.log(`Consent has expired. ${r?"Resetting":"Re-prompting for"} consent${t?" opt-ins":""}`),r?kd(!0,t):Jd(!1)},vI=()=>{var c,p;C&&g.log(`Network events with unknown purposes are ${oi?"always allowed":`${Kp?"":"not "}consentable`}`),Mi=f({types:Oe(x({},(c=Dl)==null?void 0:c.types),{[xo]:{name:xo,description:"",defaultConsent:!0,configurable:!1,essential:!0},[Ut]:{name:Ut,description:"",defaultConsent:!1,configurable:!1,essential:!1}})});let e=(l,u)=>u==="boolean"||u==="string",t=(p=Dl)==null?void 0:p.defaultConsent;if(typeof t<"u"){let l=e(t,typeof t)?(()=>{var m,d;let u=f();return w(et((d=(m=Dl)==null?void 0:m.types)!=null?d:{}),y=>{u[y]=t}),u})():t;w(et(l),u=>{let m=Mi.types[u];m?m.defaultConsent=l[u]:lt&&g.warn(`Default consent specified for unrecognized tracking purpose: ${Ue(u)}`)})}zd&&(C&&g.log("Using embedded purpose map"),sl(tn,new Nr(zd),!0)),w(et(Mi.types),l=>{let u=Mi.types[l],m=u.configurable&&!u.essential&&(!al||Re(mo,l));J(rs,l),u.essential||J(mI,l),ae(mn,l,u),m&&(E(dI,l),J(bl,l));let{name:d}=u;d!==xo&&d!==Ut&&(ae(sI,l,"defaultConsent"in u?$d(l,u.defaultConsent):!1),ae(Fd,l,"defaultConsent"in u?$d(l,u.defaultConsent,!0):!1))}),Au(Mi);let o=l=>{var d;if(!Xd)return;let{purposes:u}=l,m;for(let[y,A]of tt(u))A&&((d=Ee(mn,y))!=null&&d.configurable)&&oc(y)&&(m=!0,u[y]=!1);m&&(l.timestamp=ot(),l.confirmed=l.updated=!0)};for(let[l,u]of wt(sI))tc[l]=u;let r=lI(),{confirmed:n,purposes:i}=r;un=f({purposes:f(tc),confirmed:ms,updated:dn=dn||!!(i&&zr(we(rs),i,tc)),prompted:xr});let a=n?r:un;a!==un&&o(un),o(a),go=f(a==null?void 0:a.purposes),Ul(a),Da($R,null,qt(),null,Te(we(mo),l=>oc(l))?Hn():null),$n=new Nr(jd||f()),jd&&C&&g.log("Using embedded CSP-only purpose map",$n),aR($n),ef()};var rc,xi,gs,Di,bt=class{constructor({name:t,value:o,timestamp:r=ot(),expires:n,maxAge:i,domain:a,path:c,sameSite:p,partitioned:l,secure:u,persist:m=!0,target:d=j,mutator:y=()=>ol(this)},A=!0,U=!0){Fe(this,rc,void 0);Fe(this,xi,null);Fe(this,gs,void 0);Fe(this,Di,void 0);W(this,"name");W(this,"value");W(this,"timestamp");W(this,"expires");W(this,"maxAge");W(this,"domain");W(this,"path");W(this,"secure");W(this,"sameSite");W(this,"partitioned");W(this,"persist");W(this,"mutator");W(this,"target");W(this,"allow",()=>{this.allowed=!0});W(this,"deny",()=>{fe(this,gs,!1)});W(this,"block",()=>{fe(this,Di,!0),fe(this,gs,!1)});W(this,"toJSON",()=>{let{name:t,value:o,timestamp:r,expires:n,maxAge:i,domain:a,path:c,sameSite:p,partitioned:l,secure:u}=this;return{name:`${t}`,value:`${o}`,timestamp:r,expires:n,maxAge:i,domain:a,path:c,sameSite:p,partitioned:l,secure:u}});let h=this;fe(h,rc,U),h.target=d;let z=typeof n,k=z!=="undefined"&&n!==null&&(z==="number"?n:+Go(`${n}`));h.name=t,h.value=o,h.timestamp=r,typeof k=="number"&&(h.expires=k),h.maxAge=i,h.domain=a,h.path=c,h.sameSite=p,h.partitioned=l,h.secure=u,h.persist=m,h.mutator=y,A&&TR(h)}get purposes(){var t;return(t=de(this,xi))!=null?t:fe(this,xi,Bn(this,de(this,rc)))}set purposes(t){if(!X(Ce,t))throw new kt("PendingCookieMutation.purposes must be a Set");let o=de(this,xi);o===null?fe(this,xi,o=new Ce):Mo(o);for(let r of De(t)){if(typeof r!="string")throw new kt(js);J(o,r)}}get allowed(){var t;return(t=de(this,gs))!=null?t:be(this.purposes,Yo)}set allowed(t){if(t!==null&&typeof t!="boolean")throw new kt(Xs);if(t&&de(this,Di))throw new kt(hr);fe(this,gs,t)}get blocked(){var t;return(t=de(this,Di))!=null?t:!1}set blocked(t){if(t!==!0)throw new kt(hr);this.block()}};rc=new WeakMap,xi=new WeakMap,gs=new WeakMap,Di=new WeakMap;It(bt);var ci=({name:e,value:t,timestamp:o,expires:r,maxAge:n,domain:i,path:a,sameSite:c,secure:p})=>new bt({name:e,value:t,timestamp:o,expires:r,maxAge:n,domain:i,path:a,sameSite:c,secure:p});var nf=Nl(),[l_,u_]=nf,sf=["name","value","timestamp","expires","domain","path","secure","sameSite","partitioned","persist","purposes","allowed","blocked","toJSON"],Ca=_i(sf,!1,!1,nf),m_=Mt(sf,"allow","deny","block","target","mutator"),RR=_i(m_,!0,_l,nf),d_=Xe(sf,0,9),nc=(e,t=!0)=>{let o=et(e),r=Me(o,i=>F(d_,i));if(r.length<o.length&&lt){let i=Me(o,a=>!F(r,a));g.warn(`The following properties are not allowed and will be ignored: ${Pe(i," ")}`)}let n=f();for(let i of I(r))n[i]=Rr(e[i]);return Ca(new bt(n,t))},af=e=>X(bt,e)||e[l_]===u_;var Po=[],_I,NI=()=>{if(!_I){if(En){let e=G(Fi,"changed").get,t=G(Fi,"deleted").get;s(Ye,En,"change",o=>{if(Qy(o)){let r=s(e,o),n=r.length,i=s(t,o),a=i.length;C&&(a&&g.log("Cookie(s) deleted:",i),n&&g.log("Cookie(s) changed:",r));let c=n+a,p=np({getKey:Sr,searchDepth:c}),l=ot(new Jt(ry(OE+Ae(hn,o,"timeStamp")))),u=p(Po,L(Mt(r,i),d=>nc(Oe(x({},d),{timestamp:l})))),m=[];for(let d of I(u)){if(nt&&E(Po,d),ZT&&!d.allowed&&E(m,d),ut()){let y;Ta&&Re(d.purposes,Ut)&&(y=Ee(Jp,d.name)),Oa(d,y,!!y)}if(cr.length){let y=Ca(d);for(let A of I(cr))A(y)}}for(let d of I(m))va(f(d))}})}_I=!0}},AI=()=>{ct(Po)};var Dr=[],MI=e=>{let{performance:t}=e;if(!t)return;let o=PerformanceEntry?Bi(PerformanceEntry):{},r=f();for(let[u,m]of I(tt(o))){let d=m.get;d&&(r[u]=d)}let n=PerformanceResourceTiming?Bi(PerformanceResourceTiming):{},i=f();for(let[u,m]of I(tt(n))){let d=m.get;d&&(i[u]=d)}let a=[i,r],c=u=>{let m=f();for(let d of I(a))for(let[y,A]of I(tt(d)))m[y]=s(A,u);return m},p=Se([...L(["iframe","object","embed","frame"],u=>[u,"DOM:view"]),["css","DOM:style"],["link","DOM:link"],["img","DOM:image"],["video","DOM:video"],["audio","DOM:audio"],["track","DOM:track"],["xmlhttprequest","xhr"],["other",Xr],["",Xr]]),l=({name:u,fetchStart:m,entryType:d,initiatorType:y=d})=>new Z({type:Be(p,y)?Ee(p,y):y,url:u,timestamp:ot(new Jt(m!=null?m:No()))},!1);if(nt&&Ui){s(Ye,t,"resourcetimingbufferfull",()=>{s(NE,t)}),s(_E,t,1e3);let m=new Ui(d=>{let y=s(CE,d),A=y.length,U=Me(L(L(y,c),l),h=>{var se;let{url:z,URLs:{0:k}}=h;if(typeof z>"u"||!k)return!1;let ue=Dr.length,He=ue-qc(ue,A);for(;ue-- >He;){let he=Dr[ue];if(z===he.url&&!((se=he==null?void 0:he.requestInit)!=null&&se.body))return!1}return!0});for(let h of I(U))if(Dt&&C&&g.log("Request sent:",h),$o&&E(Dr,h),ut()&&os(h,!1),jo.length){let z=ls(h);for(let k of I(jo))k(z)}});s(vE,m,{entryTypes:["resource","navigation"]})}},LI=()=>{ct(Dr)};var Ri=()=>{AI(),LI()},Il=e=>{C&&g.log("Monitoring active"),NI(),MI(e),VP()};var f_=(e,t=0)=>Ue(e,void 0,t),xI=(e=f())=>{let{endpoint:t,save:o,space:r=o?2:0,filename:n}=e,i=qt();_t&&Tl(_t);let a=f(x({version:vr,consent:i,url:Ks(),requests:Ft,mutations:ns,cookies:co,cookieMutations:Wa},$o&&f({sentRequests:Dr,setCookies:Po}))),c=f_(a,r);if((o||t)&&(t&&Ss.sendBeacon(t,c),o)){let p=Xt("a"),l=new Ps([c],{type:"application/json"}),u=Gs(l);s(Ey.set,p,u),s(gy.set,p,n||`${At||Ot} requests (${Ly(new Jt(Qc))}).json`),s(Ac,p),s(eo,T,mc(ny,Nt,u),1e4)}return Fr(c)};var wI=()=>B.tcf===pt,sc=`__${cT}`,g_="Locator",E_=`${sc}${g_}`,y_=(e,t)=>{let o=s(qo,e),r=!!e[t];if(!r){let n=Xt("iframe");n.style.display="none",n.name=t,(s(rt,o)||o).appendChild(n)}return!r},DI=!0,bI=[],T_=(...e)=>{let[t,o,r,n]=e;if(!t&&!o&&!r&&!n)return bI;let i=typeof r=="function";t==="setGdprApplies"?n&&o===2&&typeof n=="boolean"&&(DI=n,i&&r("set",!0)):t==="ping"&&i?r({gdprApplies:DI,cmpLoaded:!1,cmpStatus:"stub",gvlVersion:31}):E(bI,e)},R_=(e,t,o,r)=>{let{command:n,version:i,callId:a,parameter:c}=r;o(n,i,(p,l)=>{s(qf,e,{[t+"Return"]:{returnValue:p,success:l,callId:a}},wn)},c)},S_="Call",kI,P_=e=>{var r;let{data:t,source:o}=Bc(e,"data","source");if(o){let n=wI()&&((r=t==null?void 0:t[`${sc}${S_}`])!=null?r:null);n&&R_(o,sc,T[sc],n)}},I_=(e,t,o,r,n)=>{let i=e,a,{ancestorOrigins:c}=bo,p=c&&or(we(c),l=>l===Uo);for(;i;){if(p){if(i[r]){a=i;break}}else try{if(i[r]){a=i;break}}catch(l){}if(i===e.top)break;i=i.parent}a||(y_(e,r),e[o]=n,kI||(kI=!0,s(Ye,e,"message",P_))),C&&g.log(`IAB ${t} API integration active`)},UI=e=>{wI()&&I_(e,"TCF stub",sc,E_,T_)};var HI=async()=>{if(!cf){lt&&g.warn("getMetadata(): No metadata URL defined");return}let e=await Jy(cf);if(e)return Lt(e);Je&&g.error("Failed to load remote metadata")};var GI=e=>{if(Ne(pf)){let t=[[ne,es,Jr,Bn],[Z,pr,bt],[$,le,ut],[te,Am,sn,Za,il,on],[vd,is,La,Yt,Cl],[g,oa]],o=0;for(let r of I(pf)){let{init:n,protect:i}=r;n&&n(t,e),i&&(Vo(ss,e)&&i(e,t,e),st(pn,o++,0,a=>{Vo(ss,a)&&i(a,t,e)}))}}};var FI=[];var qI=[];var{privacyPolicy:h_,xdiAllowed:v_=h_||""}=B,{syncGroups:VI,firstParty:KI}=B,ic=KI&&L(ra(KI),e=>oe(e,"origin","hostname")),BI=VI?new Ys(Lt(VI)):ic?new Ys({[xS]:[]}):null,lf=L(ra(v_),e=>Ae(oe,e,"hostname"));if(ic)for(let{hostname:e}of I(ic))E(lf,e);var fn=cp("Transcend XDI");var WI=(e,t,o)=>{var n,i,a;let r=!1;if(C&&fn.tag("Transcend",()=>{fn.groupCollapsed(`Initializing XDI v${MS}`)}),e){let c=T.transcend,{readyQueue:p=[]}=t;p&&C&&fn.log("transcend.xdi.ready() queue = [",p,"]"),c?c.xdi=t:T.transcend=f(Oe(x({},c),{xdi:t})),o&&(t.host=(...l)=>(r=!0,H(o,t,l))),w(p,l=>{try{l(t)}catch(u){Oo(u)}}),delete t.host,ct(p),delete t.readyQueue}o&&T!==dc&&(lf.length||(n=ic)!=null&&n.length||(a=(i=BI)==null?void 0:i.hosts)!=null&&a.length)&&!r&&o(),C&&fn.groupEnd()};var YI=!1,{xdiConnectTimeout:O_=3e4}=B,__=0,uf=(e,t=+O_)=>{let o=Wt(e);if(typeof e!="string"||!o)throw new Ke("XDI endpoint unspecified");let r=`${__++}`,n=oe(o,"href","origin","hash"),{origin:i,href:a}=n;return C&&fn.log(`Connecting to endpoint: ${a}`),new ke((c,p)=>{let l=0,u=Xt("iframe"),m=t&&s(eo,T,()=>{p(new Ke(`XDI connection to ${a} timed out.`))},t),d=h=>{let{ports:[z],origin:k,data:ue}=Bc(h,"ports","origin","data");if(!ue)return;let{id:He,ready:se,"transcend-xdi":he,commands:me=new Ce}=ue;if(!(+he>=1&&se)||r!==He||!z)return;if(k!==i){lt&&fn.warn(`Connection attempt from ${k} refused`);return}s(tr,T,"message",d),m&&s(yn,T,m);let Ve=Se(),gt=({data:dt})=>{if(!dt)return;let{id:$e,error:Et,results:ye}=dt;if(Be(Ve,$e)){let[Q,pe]=Ee(Ve,$e);Et?pe(new Ke(Et)):Q(ye)}};s(Ye,z,"message",gt),s(Mg,z);let mt=dt=>new ke((...$e)=>{ae(Ve,dt,$e)});c({commands:me,run:(dt,$e,Et)=>{let ye=l++,Q=Tn(Et)&&s(eo,T,()=>{p(new Ke(`Request sent to ${k} timed out.`))},Et),pe=s(Ur,mt(ye),ze=>(Q&&s(yn,T,Q),ze));return s(Ag,z,{id:ye,command:dt,options:$e}),pe},close:()=>{s(tr,z,"message",gt),s(Lg,z),Pn(u)}})};s(Ye,T,"message",d),u.style.display="none",u.width=u.height="0";let y=new zt;"ancestorOrigins"in bo||s(ro,y,"xdi-client-origin",Uo),s(ro,y,"xdi-channel-id",r),s(ro,y,"log",ju);let A=s(Kr,y);n.hash=`${A}${ki}${A}`,s(fy.set,u,n.href);let U=s(rt,j);s(Wi,U,u)})},$I,zI;if(YI){let e=Oe(x({readyQueue:[]},(zI=($I=T)==null?void 0:$I.transcend)==null?void 0:zI.xdi),{ready(t){t(e)},connect:uf});WI(YI,e)}var QI=[],N_=(e,...t)=>new ke((o,r)=>{mf?(E(QI,i=>{o(H(i[e],i,t))}),s(to,on({url:mf,name:"Transcend XDI",sync:!0}),r)):r(new Ke("Unable to determine Transcend XDI module location."))}),A_=mc(N_,null,"host"),jI,XI,df=Oe(x({ready:e=>{e(df)},readyQueue:QI},(XI=(jI=T)==null?void 0:jI.transcend)==null?void 0:XI.xdi),{connect:uf}),JI=()=>{P&&!Mp&&(kp.length||wT||UT)&&A_()};var{airgap:q,transcend:Xm}=T,Sd=e=>(e==null?void 0:e.initialized)&&(e==null?void 0:e[Rn])===Ot;if(Sd(q)){let e=`${Ot} is already initialized`;if(yr)lt&&g.warn(e);else throw new Ke(e)}var lP=()=>{Yp(!(Hl=!1))},Hl=!1,os,Oa,fd,ZI=q==null?void 0:q.macroregions,uS=L(Ne(ZI)?ZI:eT,([e,t])=>[e,Le(t," ")]),eh=q==null?void 0:q.regionRegimesMap,Qm=Ne(eh)?eh:tT,th=q==null?void 0:q.regimePurposeOptOuts,CI=Ne(th)?th:um,oh=B.regimePrecedence,Gd=oh?Le(oh,";"):[],rh=q==null?void 0:q.regimePurposeScopes,al=B.regimePurposeScopes!==Ie,ui=Ne(rh)?rh:lm,mo=Ha(ui),tf=Rt(De(mo)),of=B.autoReload!==Ie,Dl=(q==null?void 0:q.purposes)&&Rr(q.purposes),OI=B.disableWhenConsented!==Ie,lh,nh=(lh=Bp?!1:B.ui)!=null?lh:q==null?void 0:q.ui,wa=nh&&Ae(oe,xt(`${nh}${ma}`,j,sr),qe),M_=B.lazyLoadUi===pt,uh,sh=(uh=B.xdi)!=null?uh:q==null?void 0:q.xdi,mf=sh&&Ae(oe,xt(`${sh}${ma}`,j,sr),qe),ih=q==null?void 0:q.metadata,cf=ih&&Ae(oe,xt(ih,j,sr),qe),yl=q==null?void 0:q.id,zd=q==null?void 0:q.purposeMap,jd=q==null?void 0:q.csp,kR=q==null?void 0:q.cookies,pf=q==null?void 0:q.plugins,Wd=q==null?void 0:q.watchers,Rd=q==null?void 0:q.realmWatchers,cd=q==null?void 0:q.overrides,Xp=q==null?void 0:q.cookieOverrides,mh,bi=Bt((mh=B.replay)!=null?mh:""),Gl=["requests","mutations","cookies"],Fl=!bi||F(Sp,bi)?Gl:bi===Ie?[]:We(/\s|,/,bi)?io(bi):[bi],po=F(Fl,Gl[0]),cn=F(Fl,Gl[1]),fo=F(Fl,Gl[2]);ct(Fl);var dl=po||cn,zn=[],ah=e=>`R:${s(xg,e)}:${s(qr,e)}`,ka=({matcher:e,purposes:t=[],regex:o=!1},r,n=zn,i)=>{if(n&&typeof e=="string"&&vt(e,"?"))for(let[a,c]of s(Vr,new zt(e))){let p=f({param:a,value:c===""?null:c,purposes:ce(t),source:e});if(i){let l=Kt(n,({source:u})=>e===u);~l?st(n,l,1,p):E(n,p)}else E(n,p);break}else{let a=f({matcher:o&&typeof e=="string"?new ko(e):e,purposes:ce(t)});if(i){let{matcher:c}=a,p=typeof c!="string"?ah(c):c,l=Kt(r,({matcher:u})=>(typeof u=="string"?u:ah(u))===p);~l?st(zo,l,1,a):E(r,a)}else E(r,a)}},L_=q==null?void 0:q.regulatedPaths,zo=[];w(Mt(FI,L_||[]),e=>{ka(e,zo)});var x_=q==null?void 0:q.regulatedScripts,kl=[];w(Mt(qI,Mt(x_||[])),e=>{ka(e,kl)});var ch=q==null?void 0:q.omitCredentials,rf=[];Ne(ch)&&w(ch,e=>{ka(e,rf,!1)});var{requests:qd=[],cookies:Vd=[],errors:Kd=[],requestConditions:Bd=[]}=(q==null?void 0:q.suppressTelemetry)||f(),JP=Bd.length,ZP=qd.length,eI=Vd.length,tI=Kd.length,dh=()=>{if(B.disabled===Op){lt&&g.warn(`${Ot} is disabled`);return}if(typeof allowedHosts<"u"&&Ne(allowedHosts)){let{port:e}=bo;if(At&&!Tr(allowedHosts,At,e))throw new Ke(`This build of Transcend Consent Manager cannot run on ${Uo}! If you are the website owner, try adding this domain (${Uo}) to your domain list on the Transcend dashboard under Consent Management -> Developer Settings which can be found at https://app.transcend.io/consent-manager/developer-settings`)}if(C&&g.tag("Transcend",()=>{g.groupCollapsed(`Initializing airgap.js v${vr}`)}),Dt&&lt&&g.warn("Report-only mode enabled"),Fp&&lt&&g.warn("Privileged API authorization checks disabled"),C){let e=[];po||E(e,"requests"),cn||E(e,"mutations"),fo||E(e,"cookies"),g.log(`Smart Quarantine replay ${e.length?`disabled for ${Pe(e,", ")}`:"enabled"}`),of||g.log("Auto-reload disabled")}JI(),b_(),fR(),LP()},an=Oe(x({readyQueue:[],ready(e){E(this.readyQueue,e)}},Xm),{xdi:df,[Rn]:"Transcend"});w(Mt(L(["autoShow","show","hide","toggle"],e=>e+"ConsentManager"),"doNotSell","setSecondaryPolicy","setPrivacyPolicy","getViewState","getPolicies","setUiVariables","getUiVariables"),e=>{JE(an)||(an[e]=(...t)=>new ke(o=>{var r,n;(n=(r=T)==null?void 0:r.transcend)==null||n.ready(async i=>{o(await H(i[e],i,t))}),gh()}))});var fh=!1,JR=()=>fh,D_=async()=>{C&&g.groupEnd(),g.tag("Consent Manager"),await WS();let e=ET(),{prompt:t}=B;if(e===!1&&t&&t!==Ie&&t!=="0"){let o=t==="auto"?1:+t;Dd(o,ut()?1/0:o)&&an.autoShowConsentManager()}else ut()&&Dd();gT()&&Za(),e!==!1&&(e===""?an.showConsentManager():an.showConsentManager({viewState:e})),fh=!0,QR()},gh=()=>new ke(async(e,t)=>{var o,r,n;if(wa&&!cS()){await s(to,on({url:wa,name:"consent manager UI"}),t);let i;(n=(r=(o=T)==null?void 0:o.transcend)==null?void 0:r.ready)==null||n.call(r,a=>{var c;i||(i=!0,(c=a.setAuth)==null||c.call(a,Gp)),e()})}}),ph=!1,b_=()=>{if(ph)return;ph=!0;let e=Ar();if(pS(e),vI(),DR(),UI(T),ZS(),oI(),IS(),ER(),C&&(Gt&&g.log("Consent partition:",Gt),g.log("Current tracking consent preferences",qt().purposes),_t&&g.log(`Quarantined requests expire after ${Ap} minutes.`),Js<1&&g.log(`Telemetry sample rate: ${Js} (${Rm?"":"not "}sampling)`),Vn<1&&g.log(`Telemetry event sample rate: ${Vn}`)),nt&&Il(T),ut()){let r=jP(fa,+bT,+xT,+kT,VT,la,+DT,+Js,+Vn);os=r.logRequestStats,Oa=r.logCookieStats,fd=r.logError}Qd()?(Fa(),ln(T)):(Yp(!(Hl=!0)),C&&g.log.styled([Rp,""],'All tracking purposes and unknown events are allowed. Event regulation disabled with %cdisable-when-consented="on"%c option')),T.transcend=an;let{readyQueue:t=[]}=q||f();te.ready=r=>{r(te)},te.toggle=tR,te.getMetadata=HI,te.getPurposes=(r,n=!0)=>Zd(jn({type:Ot,url:r},n)),te.getRequestPurposes=(r,n=!0)=>{let i=typeof r=="string"?f({type:Xr,url:r}):r;return Zd(Nd(i)?i:jn(i,n),!1)};let o=r=>typeof r=="string"?Ia(r):r;te.getCookiePurposes=(r,n=!0)=>{let i=o(r);return bR(af(i)?i:nc(i,n),!1)},te.isAllowed=(r,n=!0)=>Ya(jn({type:Ot,url:r},n),!1),te.isCookieAllowed=(r,n=!0)=>{let i=o(r);return tl(af(i)?i:nc(i,n),!1)},te.isRequestAllowed=(r,n=!0)=>Ya(Nd(r)?r:jn(r,n),!1),te.getRegimePurposes=r=>Ha(ui,r),te.getConsent=qt,te.setConsent=wl,te.setConsentMetadata=gI,te.optIn=SI,te.optOut=PI,te.isConsented=be,te.isOptedIn=yI,te.isOptedOut=TI,te.getPurposeTypes=fI,te.getRegimes=()=>ce(e),te.getPrivacySignals=()=>ce(Hn()),te.override=hS,te.overrideCookies=yR,te.watch=rI,te.watchRealms=eP,te.watchCookies=gR,te.activateCSP=Yn,te.protect=NP,te.reset=UP,te.resolve=vS,te.sync=Io,te.clear=wP,te.export=xI,te.setPrompted=Jd,te.clearCookies=wm,te.clearDisallowedCookies=Zr,te.version=vr,te.loadOptions=B,te.addEventListener=Ye,te.initialized=!0,_e(te,"status",{get:oR,configurable:!0,enumerable:!0}),yr&&vo(te),_e(T,kn,{value:te,configurable:!yr,writable:!yr,enumerable:!0}),t&&(C&&g.log(`${kn}.ready() queue = [`,t,"]"),w(t,r=>{try{r(te)}catch(n){Oo(n)}}),ct(t)),M_||gh(),GI(T),D_()};dh();
})()
})()
}