try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="227b1c74-809a-49a6-a421-585641180427",e._sentryDebugIdIdentifier="sentry-dbid-227b1c74-809a-49a6-a421-585641180427")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{33938:function(e,n,t){"use strict";t.d(n,{$6:function(){return a},$c:function(){return s},AX:function(){return d},J9:function(){return h},Ks:function(){return u},NA:function(){return r},OT:function(){return p},YJ:function(){return o},ar:function(){return c},g_:function(){return i},jR:function(){return f},nC:function(){return l},yD:function(){return m}}),t(9e3),t(40671),t(1582);var r="n0ju2m5",o="n0ju2m4",i="n0ju2m3",a="n0ju2m6",s="n0ju2m7",l="n0ju2m0",c={main:"n0ju2m9 n0ju2m8",membership:"n0ju2ma n0ju2m8"},u="n0ju2mc",d="n0ju2m1",p="n0ju2mb",m="n0ju2me",h="n0ju2mf",f="n0ju2m2"},88413:function(e,n,t){"use strict";t.d(n,{AS:function(){return g},Bj:function(){return m},Lb:function(){return r},QO:function(){return f},af:function(){return _},jq:function(){return l},l5:function(){return p},lB:function(){return d},mU:function(){return s},nz:function(){return a},oK:function(){return h},rC:function(){return c},ri:function(){return u},xN:function(){return o},yA:function(){return i}}),t(68331),t(9806);var r="_1agz5xbm",o={right:"_1agz5xb1 _1agz5xb0",left:"_1agz5xb2 _1agz5xb0",floatRight:"_1agz5xb3 _1agz5xb0",hideImage:"_1agz5xb0",latestRecirc:"_1agz5xb5"},i="_1agz5xb0",a="_1agz5xbi",s="_1agz5xbj",l="_1agz5xbo",c="_1agz5xbn",u="_1agz5xbl",d={square:"_1agz5xbb",squareMobile:"_1agz5xbc",wide:"_1agz5xbd",semiWide:"_1agz5xbe"},p="_1agz5xbh",m={right:"_1agz5xb7 _1agz5xb6",left:"_1agz5xb8 _1agz5xb6",floatRight:"_1agz5xb9 _1agz5xb6",hideImage:"_1agz5xba"},h="_1agz5xb6",f="_1agz5xbk",g="_1agz5xbg",_="_1agz5xbf"},74397:function(e,n,t){"use strict";t.d(n,{E4:function(){return a},Et:function(){return f},Ok:function(){return p},PI:function(){return d},TN:function(){return y},WL:function(){return c},We:function(){return m},X6:function(){return s},YQ:function(){return h},_q:function(){return g},h$:function(){return r},j1:function(){return o},jW:function(){return v},nC:function(){return l},p4:function(){return u},v4:function(){return _},w3:function(){return i}}),t(79583),t(69452);var r={xsmall:"_1yizdi85 _1yizdi86",small:"_1yizdi85 _1yizdi87",medium:"_1yizdi85 _1yizdi88",large:"_1yizdi85 _1yizdi89"},o={xsmall:"_1yizdi81",small:"_1yizdi82",medium:"_1yizdi83",large:"_1yizdi84"},i="_1yizdi816",a="_1yizdi8e",s="_1yizdi8h",l="_1yizdi80",c={xsmall:"_1yizdi8u _1yizdi8t",small:"_1yizdi8v _1yizdi8t",medium:"_1yizdi8w _1yizdi8t",large:"_1yizdi8x",branded:"_1yizdi8y"},u="_1yizdi817",d="_1yizdi818",p="_1yizdi815",m={xsmall:"_1yizdi810",small:"_1yizdi811",medium:"_1yizdi812",large:"_1yizdi813",branded:"_1yizdi814"},h="_1yizdi8z",f={xsmall:"_1yizdi86",small:"_1yizdi87",medium:"_1yizdi88",large:"_1yizdi89"},g="_1yizdi8g",_="_1yizdi8s",y={xsmall:"_1yizdi8n _1yizdi8m xkp0cg2",small:"_1yizdi8o _1yizdi8m xkp0cg2",medium:"_1yizdi8p _1yizdi8m xkp0cg2",large:"_1yizdi8q _1yizdi8m xkp0cg2",branded:"_1yizdi8r _1yizdi8m xkp0cg2"},v={xsmall:"_1yizdi8i _1yizdi8f",small:"_1yizdi8j _1yizdi8f",medium:"_1yizdi8k _1yizdi8f",large:"_1yizdi8l _1yizdi8f"}},54332:function(e,n,t){"use strict";t.d(n,{TN:function(){return a},Wr:function(){return i},Xw:function(){return r},dN:function(){return o},sy:function(){return s}}),t(44583);var r="_102m78f1",o={default:"_102m78f4",small:"_102m78f5",smallMobile:"_102m78f6",medium:"_102m78f7",mediumMobile:"_102m78f8",large:"_102m78f9"},i="_102m78f0",a="_102m78f3",s="_102m78fa"},49070:function(e,n,t){"use strict";t.d(n,{Fp:function(){return o},MI:function(){return r},aS:function(){return i}}),t(34393);var r="fp8pvk1",o="fp8pvk2",i="fp8pvk0"},8721:function(e,n,t){"use strict";t.d(n,{aS:function(){return r},w8:function(){return o},zs:function(){return i}}),t(35018);var r="a0d76n0",o="a0d76n1",i="a0d76n2"},25782:function(e,n,t){"use strict";t.d(n,{BV:function(){return s},aS:function(){return o},er:function(){return r},sq:function(){return i},zs:function(){return a}}),t(38574);var r={1:"_1cz9p5m2",2:"_1cz9p5m3",3:"_1cz9p5m4"},o="_1cz9p5m0",i="_1cz9p5m5",a="_1cz9p5m1",s="_1cz9p5m6"},67430:function(e,n,t){"use strict";t.r(n),t.d(n,{srOnly:function(){return r}}),t(58948);var r="_142ra0g0"},63132:function(e,n,t){"use strict";t.r(n),t.d(n,{articleOffset:function(){return r},aspectRatio:function(){return o},blockSpacing:function(){return i},bodyBg:function(){return a},bodyPadding:function(){return s},bodyPaddingBottom:function(){return l},bodyPaddingTop:function(){return c},bodyPaddingTopLarge:function(){return u},bodyPaddingTopSmall:function(){return d},borderTop:function(){return p},bulletSeparator:function(){return m},closeAdPadding:function(){return h},fancyBorder:function(){return f},fancyBorderSecondary:function(){return g},fancyTitle:function(){return _},flexAppContainer:function(){return y},growContainer:function(){return v},hide:function(){return b},hideDesktop:function(){return C},hideScrollbar:function(){return T},hideTabletPlus:function(){return S},mainColumn:function(){return k},mainColumnDesktop:function(){return E},marginArticleTop:function(){return R},navigationOverhangPadding:function(){return I},navigationOverhangPaddingWithoutMobile:function(){return A},pipeSeparator:function(){return w},showDesktop:function(){return x},showTablet:function(){return P},showTabletPlus:function(){return B},singleColumn:function(){return N},spaceSeparator:function(){return O},standardSpacing:function(){return L}}),t(9e3);var r="_1agbrix11",o={none:"_1agbrixv",square:"_1agbrixw",horizontal:"_1agbrixx",vertical:"_1agbrixy"},i={small:"_1agbrixi",large:"_1agbrixj",insetSmall:"_1agbrixk",insetLarge:"_1agbrixl"},a="_1agbrix0",s="_1agbrix8 _1agbrix9 _1agbrixa",l="_1agbrixa",c="_1agbrixb",u="_1agbrix9",d="_1agbrix8",p="_1agbrix12",m="_1agbrixt",h="_1agbrix16",f="_1agbrixz",g="_1agbrix10 _1agbrixz",_="_1agbrix17",y="_1agbrix1",v="_1agbrix2",b="_1agbrixu",C="_1agbrixp",T="_1agbrix13",S="_1agbrixm",k="_1agbrix3",E="_1agbrix4",R={standard:"_1agbrix14",feature:"_1agbrix15"},I="_1agbrix7",A="_1agbrix6",w="_1agbrixr",x="_1agbrixq",P="_1agbrixo",B="_1agbrixn",N="_1agbrix5",O="_1agbrixs",L={xsmall:"_1agbrixd",small:"_1agbrixe",medium:"_1agbrixf",large:"_1agbrixg",xlarge:"_1agbrixh"}},4742:function(e,n,t){"use strict";t.r(n),t.d(n,{hangingPunctuation:function(){return r},ledeTextColor:function(){return o},linkStyles:function(){return i},metaText:function(){return a},metaTextVariant:function(){return s},paragraphSpacing:function(){return l},paragraphSpacingBetween:function(){return c},singleLink:function(){return u},standardLinkStyles:function(){return d}}),t(79583);var r="xkp0cg9",o={standard:"xkp0cga",fullWidth:"xkp0cgb",split:"xkp0cgc",specialFullWidth:"xkp0cgd",specialSplit:"xkp0cge",overlay:"xkp0cgf",brandedVertical:"xkp0cgg",brandedFullWidth:"xkp0cgh",stream:"xkp0cgi"},i="xkp0cg1",a="xkp0cg5",s={box:"xkp0cg6 xkp0cg5",standard:"xkp0cg7 xkp0cg5",special:"xkp0cg8 xkp0cg5"},l="xkp0cg3",c="xkp0cg4",u="xkp0cg0",d="xkp0cg2"},43307:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return t(29234)}])},66752:function(e,n,t){"use strict";t.d(n,{Z:function(){return k}});var r=t(35683),o=t(4093),i=t(66342),a=t(66123),s=t(44431),l=t(78842),c=t(38600),u=t(67430);t(94476);var d=({className:e,...n})=>{let{isFocusVisible:t,focusProps:i}=(0,c.F)();return(0,r.jsxs)("div",{className:(0,o.Z)("rq6lt10",e),children:[(0,r.jsx)("input",{...i,className:u.srOnly,type:"radio",...n}),(0,r.jsx)("label",{className:(0,o.Z)("rq6lt11",n.checked&&"rq6lt13",t&&"rq6lt12"),htmlFor:n.id,children:n.label})]})},p=t(128),m=t(47904);t(9e3),t(40671);var h="x0yt3j0",f="x0yt3j5",g=e=>{let{className:n="",viewBox:t="0 0 42 14"}=e;return(0,r.jsx)("svg",{className:n,width:"42",height:"14",viewBox:t,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5 1C13.1693 1 12.8418 1.01283 12.5177 1.038L12.4403 0.0410045C12.7901 0.0138326 13.1435 0 13.5 0H14.5V1H13.5ZM18.5 1H16.5V0H18.5V1ZM22.5 1H20.5V0H22.5V1ZM26.5 1H24.5V0H26.5V1ZM30.5 1H28.5V0H30.5V1ZM34.5 1H32.5V0H34.5V1ZM38.5 1H36.5V0H38.5V1ZM41.5 1H40.5V0H41.5V1ZM10.5802 1.34272C9.93789 1.49641 9.31483 1.69969 8.71528 1.94831L8.33223 1.02458C8.98009 0.755929 9.65341 0.536247 10.3476 0.370171L10.5802 1.34272ZM6.96837 2.84008C6.40901 3.18358 5.87868 3.56991 5.38198 3.99453L4.73218 3.23443C5.26838 2.77604 5.84098 2.3589 6.44508 1.98793L6.96837 2.84008ZM3.99453 5.38198C3.56991 5.87868 3.18358 6.40901 2.84008 6.96837L1.98793 6.44508C2.3589 5.84098 2.77604 5.26838 3.23443 4.73218L3.99453 5.38198ZM1.94831 8.71528C1.69969 9.31483 1.49641 9.93789 1.34272 10.5802L0.37017 10.3476C0.536247 9.65341 0.755929 8.98009 1.02458 8.33223L1.94831 8.71528ZM1.038 12.5178C1.01283 12.8418 1 13.1693 1 13.5H0C0 13.1435 0.0138325 12.7901 0.0410044 12.4403L1.038 12.5178Z",fill:"black"})})},_=e=>{let{plan:n,showMembershipToggle:t=!0,setPlan:i,frequency:a,setFrequency:c,textInputOpen:u,setTextInputOpen:_,otherAmount:y,setOtherAmount:v}=e,b=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.offerDisplayId||`${e.label}-${e.recurringInterval}`;return(0,r.jsx)("div",{className:"x0yt3j1",children:(0,r.jsx)(d,{checked:n===e,label:e.label,id:o,onChange:()=>{i(e),_(t)}})},o)};return(0,r.jsxs)(r.Fragment,{children:[t&&(0,r.jsxs)("div",{className:"x0yt3j2",children:[(0,r.jsxs)("div",{className:"x0yt3j9",children:[(0,r.jsx)("div",{className:"x0yt3jc",children:(0,r.jsxs)("div",{className:"x0yt3jd",children:[(0,r.jsx)(g,{className:"_1agbrixn x0yt3je"}),(0,r.jsx)(g,{viewBox:"0 0 10 14",className:"_1agbrixm x0yt3je"}),(0,r.jsx)("div",{className:"x0yt3jk",children:"Membership"}),(0,r.jsx)(g,{className:"_1agbrixn x0yt3jf"}),(0,r.jsx)(g,{viewBox:"0 0 10 14",className:"_1agbrixm x0yt3jf"})]})}),(0,r.jsxs)("div",{className:"x0yt3ja",children:[(0,r.jsx)(l.Z,{type:"button",className:(0,o.Z)("x0yt3j6 x0yt3j3 x0yt3j4",a===s.H$.monthly&&f),fullWidth:!0,displayType:"secondary",text:"Monthly",onClick:()=>c(s.H$.monthly)}),(0,r.jsx)(l.Z,{type:"button",className:(0,o.Z)("x0yt3j3 x0yt3j4",a===s.H$.annual&&f),fullWidth:!0,displayType:"secondary",text:"Annual",onClick:()=>c(s.H$.annual)})]})]}),(0,r.jsx)("div",{className:"x0yt3jb",children:(0,r.jsx)(l.Z,{type:"button",className:(0,o.Z)("x0yt3j8 x0yt3j3",a===s.H$.onetime&&f),fullWidth:!0,displayType:"secondary",text:"One-time",onClick:()=>c(s.H$.onetime)})})]}),(0,r.jsxs)("div",{className:"x0yt3jl",children:[(0,r.jsxs)("div",{className:(0,o.Z)(a===s.H$.monthly?h:m.F.layout.hide),children:[s.ZD.monthly.map(e=>b(e)),b(s.ZD.other[0],!0)]}),(0,r.jsxs)("div",{className:(0,o.Z)(a===s.H$.annual?h:m.F.layout.hide),children:[s.ZD.annual.map(e=>b(e)),b(s.ZD.other[1],!0)]}),(0,r.jsxs)("div",{className:(0,o.Z)(a===s.H$.onetime?h:m.F.layout.hide),children:[s.ZD.onetime.map(e=>b(e)),b(s.ZD.other[2],!0)]}),u&&(0,r.jsx)(p.Z,{hideLabel:!0,name:"otherTextInput",placeholder:"Other Amount",label:"Other Amount",type:"number",min:a===s.H$.annual?"50.00":"1.00",step:1,className:"x0yt3jm",value:y||"",onChange:e=>{let n=e.target.getAttribute("min"),t=e.target.value;if(""===t){v(null);return}if(t.length>=7)return;let r=Number(t);if(!isNaN(r)){if(n){let e=Number(n);r{let{setPlan:n,currentPlan:t,value:i,frequency:l,setFrequency:d,variant:p}=e,m=(0,a.useId)(),{isFocusVisible:h,focusProps:f}=(0,c.F)();return(0,r.jsxs)("div",{className:(0,o.Z)("_1b6c4bc3"),children:[(0,r.jsx)("input",{...f,className:(0,o.Z)("_1b6c4bc4",u.srOnly),name:"plan",type:"radio",checked:t===i,id:`option-${m}`,onChange:()=>{d(l),n(i)}}),(0,r.jsxs)("label",{className:(0,o.Z)("_1b6c4bc5",h&&"_1b6c4bc9",l===s.H$.annual&&("membership-holiday24"===p?"_1b6c4bcc _1b6c4bca":"_1b6c4bcb _1b6c4bca")),htmlFor:`option-${m}`,children:[(0,r.jsx)("div",{className:"_1b6c4bc6",children:l===s.H$.monthly?"Monthly Membership":"Annual Membership"}),(0,r.jsx)("div",{className:"_1b6c4bc7",dangerouslySetInnerHTML:{__html:i.htmlLabel||i.label}})]}),i.miceType&&(0,r.jsx)("div",{className:"_1b6c4bc8",children:i.miceType})]})};var v=e=>{let{plan:n,setPlan:t,setFrequency:o,variant:i="membership",sale:a}=e,l=a||s.QM[i];return l?(0,r.jsxs)("fieldset",{className:"_1b6c4bc0",children:[(0,r.jsx)("legend",{className:"_1b6c4bc1",children:"Select a plan:"}),(0,r.jsxs)("div",{className:"_1b6c4bc2",children:[(0,r.jsx)(y,{setPlan:t,currentPlan:n,value:l.monthly,frequency:s.H$.monthly,setFrequency:o,variant:i}),(0,r.jsx)(y,{setPlan:t,currentPlan:n,value:l.annual,frequency:s.H$.annual,setFrequency:o,variant:i})]})]}):null},b=t(7209),C=t(23618),T=t(11078),S=t(33938),k=e=>{let n,{additionalButtonParams:t,contributeContainerClassName:c,generateAnalyticsEvent:u,redirectPath:d="/",sale:p,showCheckmarks:h=!0,showMatchedMembershipCta:f=!0,variant:g="standard"}=e,[y,k]=(0,a.useState)(s.H$.annual),[E,R]=(0,a.useState)(!1),[I,A]=(0,a.useState)(()=>{if(p)return p.monthly;switch(g){case"membership":case"membership-sale":return s.QM[g].annual;case"membership-b":case"membership-holiday24":case"membership-winback":return s.QM[g].monthly;case"one-time":return s.ZD.onetime[0];default:return s.ZD.monthly.find(e=>e.default)||s.ZD.monthly[0]}}),w=(0,i.useSearchParams)(),x=(0,a.useMemo)(()=>{switch(g){case"membership":return v;case"membership-b":return e=>(0,r.jsx)(v,{...e,variant:"membership-b"});case"membership-holiday24":return e=>(0,r.jsx)(v,{...e,variant:"membership-holiday24"});case"membership-winback":return e=>(0,r.jsx)(v,{...e,variant:"membership-winback"});case"membership-sale":return e=>(0,r.jsx)(v,{...e,variant:"membership-sale"});case"one-time":return k(s.H$.onetime),e=>(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:S.J9,children:"Choose a one-time contribution amount:"}),(0,r.jsx)(_,{...e,variant:"membership-sale",showMembershipToggle:!1})]});default:return _}},[g]),P=(0,b.z$)(),[B,N]=(0,a.useState)(null);(0,a.useEffect)(()=>{E||N(null)},[E]);let O=e=>{k(e);let n=s.ZD[e].find(e=>e.default)||s.ZD[e][0];R(!1),A(n)};(0,a.useEffect)(()=>(window.contributeSwitchFrequency=O,()=>{window.contributeSwitchFrequency=void 0}),[]),n=E&&!B?"Yes, I'll give":E&&B&&y===s.H$.onetime?`Yes, I'll give $${B}`:E&&B&&y===s.H$.monthly?`Join for $${B}/month`:E&&B&&y===s.H$.annual?`Join for $${B}/year`:y===s.H$.onetime?`Yes I'll give ${I.label}`:`Join for ${I.label}`;let L=E&&!B,M=(0,a.useCallback)(e=>{e.preventDefault(),u&&P?.emit(u(n));let r=["/support-now","/support-membership","/support-membership-b","/membership-winback","/membership-sale","/checkout"].some(e=>d.startsWith(e)),o={...t,redirectPath:r?"/":d};if(([s.H$.annual,s.H$.monthly].includes(y)||I.recurringInterval)&&(o.entitlement=s.Mg),I.offerDisplayId&&(o.offerDisplayId=I.offerDisplayId,o.ga_plan_type="time"===I.offerDisplayId.split("-")[2]?"one-time":I.offerDisplayId.split("-")[2]||"",o.ga_plan_amount=I.offerDisplayId.split("-").pop()||""),I.promoCode&&(o.promoCode=I.promoCode),I.productId&&(o.productId=I.productId),I.recurringInterval&&(o.recurringInterval=I.recurringInterval),B){let e;o.otherUnitAmount=Math.round(100*B).toString(),o.ga_plan_amount=o.otherUnitAmount,e="month"===I.recurringInterval?"monthly":"year"===I.recurringInterval?"yearly":"one-time",o.ga_plan_type=e}w.forEach((e,n)=>{o[n]=e});let i=new URLSearchParams(o);window.location.href=`/checkout?${i.toString()}`},[t,P,n,u,B,I.offerDisplayId,I.productId,I.promoCode,I.recurringInterval,y,w,d]);return(0,r.jsx)("form",{onSubmit:M,children:(0,r.jsxs)("div",{className:(0,o.Z)(S.nC,c),children:[(0,r.jsx)(x,{frequency:y,setFrequency:O,plan:I,setPlan:A,textInputOpen:E,setTextInputOpen:R,otherAmount:B,setOtherAmount:N,sale:p}),h&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("hr",{className:S.jR}),(0,r.jsx)("div",{className:S.g_,children:s.wh.map((e,n)=>{let t=e.frequency&&y!==e.frequency||y===s.H$.onetime&&e.membershipOnly;return(0,r.jsxs)("p",{className:(0,o.Z)(S.YJ,t&&S.$c),children:[t?(0,r.jsx)(T.Z,{className:S.NA,width:20,height:20}):(0,r.jsx)(C.Z,{className:S.NA,width:20,height:20}),(0,r.jsx)("span",{className:S.$6,children:e.text})]},n)})})]}),(0,r.jsx)(l.Z,{fullWidth:!0,disabled:L,text:n,className:S.ar["standard"===g?"main":"membership"]}),I.miceType&&(0,r.jsx)("p",{className:S.OT,children:I.miceType}),(0,r.jsxs)("div",{className:S.Ks,children:[(0,r.jsx)("p",{children:"We accept credit card, Apple Pay, and Google Pay."}),f&&(0,r.jsxs)("p",{className:(0,o.Z)(S.AX,m.F.text.linkStyles),children:["If cost is a barrier, we’d still love for you to be a Vox Member."," ",(0,r.jsx)("a",{href:"/membership-match",children:"Apply here"})," to receive a free annual Membership, made possible by another reader."]})]})]})})}},42719:function(e,n,t){"use strict";t.r(n),t.d(n,{supportedBrowsersRegExp:function(){return r}});let r=/Edge?\/(13\d|1[4-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Firefox\/(13[2-9]|1[4-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Chrom(ium|e)\/(109|1[1-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|(Maci|X1{2}).+ Version\/(17\.([6-9]|\d{2,})|(1[89]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(1{2}[3-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(15[._]([6-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](13[1-9]|1[4-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Mobile Safari.+OPR\/([89]\d|\d{3,})\.\d+\.\d+|Android.+Firefox\/(13[2-9]|1[4-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(13[1-9]|1[4-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+(UC? ?Browser|UCWEB|U3)[ /]?(15\.([5-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+)\.\d+|SamsungBrowser\/(2[6-9]|[3-9]\d|\d{3,})\.\d+|Android.+MQ{2}Browser\/(14(\.(9|\d{2,})|)|(1[5-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|K[Aa][Ii]OS\/(2\.([5-9]|\d{2,})|([3-9]|\d{2,})\.\d+)(\.\d+|)/},44431:function(e,n,t){"use strict";t.d(n,{GR:function(){return f},H$:function(){return o},Mg:function(){return l},O5:function(){return c},QM:function(){return d},WQ:function(){return u},ZD:function(){return p},wh:function(){return m}});var r,o,i=t(65777),a=t(21859);let s={Memberships:"b3d412ef-d59c-498e-9d02-86bc5aceb754",Contributions:"1e4965a3-a530-438f-a03e-fa955249faa7"};if(!s.Memberships||!s.Contributions)throw Error("Missing NEXT_PUBLIC_VOX_MEMBERSHIPS_PRODUCT_ID or NEXT_PUBLIC_VOX_CONTRIBUTIONS_PRODUCT_ID");let l="vox_memberships",c="Become a member",u=`

There’s too much news and too little context. At Vox, we help you understand what really matters. We can only do this work with the support of people like you. As a Vox Member, you’ll have unlimited access to our award-winning journalism and enjoy exclusive perks.

If you’re not ready to become a member, we appreciate one-time contributions of any size to help sustain Vox’s mission.

`;(r=o||(o={})).monthly="monthly",r.annual="annual",r.onetime="onetime",r.other="other";let d={membership:{pageDescription:`

There’s too much news and too little context. At Vox, we help you understand what really matters.

We can only do this work with the support of people like you. As a Vox Member, you’ll have unlimited access to our award-winning journalism and enjoy exclusive perks.

`,monthly:{label:"$4/month",htmlLabel:"$5 $4/month",offerDisplayId:"vox-member-monthly-5",promoCode:i.Zp.includes("production")?"promo_1S84IPCvwqVwVjeerU5dOP8O":"promo_1S84DWBoQLnMtJCnclbv1w55"},annual:{label:"$40/year",htmlLabel:"$60 $40/year",offerDisplayId:"vox-member-yearly-60",promoCode:i.Zp.includes("production")?"promo_1S84HPCvwqVwVjeet3V7Y4f7":"promo_1S84EyBoQLnMtJCn6EyHQvBC"}},"membership-b":{monthly:{label:"$6/month",offerDisplayId:"vox-member-monthly-6"},annual:{label:"$60/year",offerDisplayId:"vox-member-yearly-60"}},"membership-holiday24":{monthly:{label:"$5/month",offerDisplayId:"vox-member-monthly-5"},annual:{label:"$40/year",offerDisplayId:"vox-member-yearly-40"}},"membership-winback":{noindex:!0,pageTitle:"Rejoin as a Vox Member with a special offer",pageDescription:`

As a past Vox Member, you’ll get an exclusive discount of 50% off an annual membership if you rejoin today. Rejoin our community of readers who support Vox's smart and thoughtful work and get unlimited access to our award-winning journalism and enjoy exclusive perks, like ad-free podcasts and member-only newsletters.

`,monthly:{label:"$4/month",htmlLabel:"$5 $4/month",offerDisplayId:"vox-member-monthly-5",promoCode:i.Zp.includes("production")?"promo_1S5CCNCvwqVwVjeeTaysVrp8":"promo_1S58GKBoQLnMtJCnT654z3yk"},annual:{label:"$30/year",htmlLabel:"$60 $30/year",offerDisplayId:"vox-member-yearly-60",promoCode:i.Zp.includes("production")?"promo_1S5CCiCvwqVwVjeeMJ3sLxMh":"promo_1S58KuBoQLnMtJCngzjSqUhr"}},"membership-sale":{noindex:!0,pageTitle:"Join Vox for 50% Off",pageDescription:`

Our world is complicated — your news shouldn’t be. Vox Members get deeper context, exclusive stories, and a community built around understanding.

Join today to get your membership at our lowest price of the year — 50% off an annual membership.

`,monthly:{label:"$4/month",htmlLabel:"$5 $4/month",offerDisplayId:"vox-member-monthly-5",promoCode:i.Zp.includes("production")?"promo_1SdIp1CvwqVwVjeezkOs9DQc":"promo_1S58GKBoQLnMtJCnT654z3yk"},annual:{label:"$30/year",htmlLabel:"$60 $30/year",offerDisplayId:"vox-member-yearly-60",promoCode:i.Zp.includes("production")?"promo_1SdIofCvwqVwVjeePRix9czI":"promo_1S58KuBoQLnMtJCngzjSqUhr"}},"one-time":{pageTitle:"Support Vox. Give once.",pageDescription:`

There’s too much news and too little context. At Vox, we help you understand what really matters. We can only do this work with the support of people like you.

Not ready to become a member? One-time contributions of any size help sustain Vox’s journalism.

`,monthly:{label:"$5/month",offerDisplayId:"vox-member-monthly-5"},annual:{label:"$40/year",offerDisplayId:"vox-member-yearly-40"}}},p={monthly:[{label:"$5/month",offerDisplayId:"vox-member-monthly-5"},{label:"$10/month",offerDisplayId:"vox-member-monthly-10",default:!0},{label:"$25/month",offerDisplayId:"vox-member-monthly-25"},{label:"$50/month",offerDisplayId:"vox-member-monthly-50"}],annual:[{label:"$50/year",offerDisplayId:"vox-member-yearly-50"},{label:"$100/year",offerDisplayId:"vox-member-yearly-100"},{label:"$150/year",offerDisplayId:"vox-member-yearly-150"},{label:"$200/year",offerDisplayId:"vox-member-yearly-200"}],onetime:[{label:"$25",offerDisplayId:"vox-one-time-contrib-25"},{label:"$50",offerDisplayId:"vox-one-time-contrib-50"},{label:"$100",offerDisplayId:"vox-one-time-contrib-100"},{label:"$250",offerDisplayId:"vox-one-time-contrib-250"}],other:[{label:"Other",productId:s.Memberships,recurringInterval:"month"},{label:"Other",productId:s.Memberships,recurringInterval:"year"},{label:"Other",productId:s.Contributions}]},m=[{text:"Ad-free Vox Podcasts",membershipOnly:!0},{text:"Exclusive newsletters",membershipOnly:!0},{text:"The Highlight digital magazine",membershipOnly:!0},{text:"Unlimited access to Vox.com",membershipOnly:!0},{text:"Help fund the newsroom",membershipOnly:!1},{text:"One year of Vox on Patreon",membershipOnly:!0,frequency:"annual"}],h=[{start:"2025-05-29T15:00:00.000Z",end:"2025-06-20T19:00:00.000Z",hideFooter:!0,pageTitle:"Join Vox:
Limited-Time Offer",pageDescription:`

There’s too much news and too little context. At Vox, we help you understand what really matters.

Millions of people rely on Vox, and in turn, we rely on our readers. For a limited time, you can become a Vox Member at a discounted rate — with unlimited access to our journalism, ad-free podcasts and member-only newsletters — while helping ensure stable funding for our work.

`,annual:{label:"$40/year",htmlLabel:"$60 $40/year",offerDisplayId:"vox-member-yearly-60",productId:s.Memberships,recurringInterval:"year"},monthly:{label:"$4/month",htmlLabel:"$5 $4/month",offerDisplayId:"vox-member-monthly-5",productId:s.Memberships,recurringInterval:"month"}}],f=()=>{let e=new Date;return h.find(n=>(0,a.Ax)(e,n.start)&&(0,a.RR)(e,n.end))}},29234:function(e,n,t){"use strict";let r,o,i,a,s,l,c,u,d;t.r(n),t.d(n,{default:function(){return u$},reportWebVitals:function(){return uW}});var p,m,h,f,g,_,y,v,b,C,T,S,k,E,R,I,A,w,x,P,B,N,O,L,M,j,D,U,q,F,H,G,V,z,W,K,$,Q,Y=t(35683),Z=t(95567),J=t.n(Z),X=t(59926),ee=t(66123),en=t(66752),et=t(44431);let er="vox_article_readcount_count",eo="vox_article_readcount_reset_date",ei=()=>{let e=window.localStorage.getItem(eo),n=e?new Date(Number(e)):null;return n&&!isNaN(n.getTime())?n:null},ea=e=>{let n=e.setMonth(e.getMonth()+1);window.localStorage.setItem(eo,n.toString())},es=()=>{let e=window.localStorage.getItem(er),n=e?Number(e):0;return isNaN(n)?1:n},el=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;window.localStorage.setItem(er,e.toString())},ec=()=>{let e=1,n=new Date,t=ei();return!t||n>t?(ea(n),el()):el((e=es())+1),e},eu=(0,ee.createContext)(null),ed=()=>{let e=(0,ee.useContext)(eu);if(!e)throw Error("Missing Categories Context");return e};var ep=t(51323),em=t(56141);t(9e3),t(78997);var eh="_1tzd3in4";let ef={internal:["critical-info","critical-information","paywall-exclude"],external:["future-perfect"]},eg=(e,n)=>ef.internal.length>0&&!!n.find(e=>ef.internal.includes(e))||ef.external.length>0&&!!e.find(e=>ef.external.includes(e));var e_=()=>{let e=(0,X.useRouter)(),[n,t]=(0,ee.useState)(1),r=(0,ep.J)(),o=ed().internalCategories||[],i=ed().categories||[];(0,ee.useEffect)(()=>{t(ec())},[]);let a=(0,ee.createRef)();(0,em.Z)(a,{event:"memberships_article_footer",memberships_article_footer:{cta:"Here at Vox",action:"view",position:"article_footer"}});let s=(0,et.GR)();return!r?.isEntitled&&eg(i,o)&&s?.hideFooter!==!0?(0,Y.jsxs)("aside",{className:"_1tzd3in0 _1agbrixz",ref:a,children:[(0,Y.jsxs)("p",{className:"_1tzd3in1",children:["You’ve read ",n," article",n>1?"s":""," in the last month"]}),(0,Y.jsxs)("div",{className:"_1tzd3in2",children:[(0,Y.jsxs)("div",{className:"_1tzd3in3",children:[(0,Y.jsx)("p",{className:eh,children:"Here at Vox, we're unwavering in our commitment to covering the issues that matter most to you — threats to democracy, immigration, reproductive rights, the environment, and the rising polarization across this country."}),(0,Y.jsxs)("p",{className:eh,children:["Our mission is to provide clear, accessible journalism that empowers you to stay informed and engaged in shaping our world. By becoming a"," ","Vox Member, you directly strengthen our ability to deliver in-depth, independent reporting that drives meaningful change."]}),(0,Y.jsx)("p",{className:eh,children:"We rely on readers like you — join us."})]}),(0,Y.jsxs)("div",{className:"_1tzd3in5",children:[(0,Y.jsx)(J(),{src:"/static-assets/headshots/swati.png",alt:"Swati Sharma",width:59,height:69}),(0,Y.jsxs)("div",{className:"_1tzd3in7",children:[(0,Y.jsx)("p",{className:"_1tzd3in8",children:"Swati Sharma"}),(0,Y.jsx)("p",{className:"_1tzd3in9",children:"Vox Editor-in-Chief"})]})]})]}),(0,Y.jsx)(en.Z,{redirectPath:e.isReady?e.asPath:"/",showCheckmarks:!1,generateAnalyticsEvent:e=>({event:"memberships_article_footer",memberships_article_footer:{cta:e,action:`click_${e}`,position:"article_footer"}}),additionalButtonParams:{itm_campaign:"swati-post-election",itm_medium:"site",itm_source:"footer"}})]}):null},ey=t(96853),ev=t(4093),eb=t(1495),eC=t.n(eb),eT=t(93338),eS=t.n(eT),ek=t(21766),eE=t.n(ek),eR=t(68705),eI=t(4274),eA=t(96109),ew=t(48192),ex=t.n(ew);let eP={Eater:{localStorageKey:"_aQS02NDc5MDdGOUVBRjRCODk4QjNGNEM5NjItNw",admiralUrl:"https://workhorsefunds.com/j/q5fn_fz5k1ggl.bundle.js"},"The Verge":{localStorageKey:"_aQS02NDc5MDdGOUVBRjRCODk4QjNGNEM5NjItMg",admiralUrl:"https://worldrealize.com/chunks/l2aod777_3ir2.v2.js"},Vox:{localStorageKey:"_aQS02NDc5MDdGOUVBRjRCODk4QjNGNEM5NjItMQ",admiralUrl:"https://luminousboulevard.com/assets/js/n3x3pe0fuo_se.index.js"}};var eB=e=>{let{communityName:n}=e,t=Object.keys(eP).find(e=>n.includes(e))||n,r=eP[t];if(!r)return;let{localStorageKey:o,admiralUrl:i}=r;return(0,Y.jsx)(ex(),{id:"admiral-script",dangerouslySetInnerHTML:{__html:`!(function (q, _name) { (q[_name] = q[_name] || function k() { (k.q = k.q || []).push(arguments); }), (q[_name].v = q[_name].v || 2), (q[_name].s = "3"); // Pause targeting to allow late targeting values before candidate call q[_name]("targeting", "pause"); !(function (q, k, F, H) { function m(F, H) { try { (m = q.localStorage), (F = JSON.parse(m[decodeURI(decodeURI("%67%25%36%35%2574%25%34%39tem"))]("${o}")).lgk || []) && (H = q[k].pubads()) && F.forEach(function (q) { q && q[0] && H.setTargeting(q[0], q[1] || ""); }); } catch (N) {} var m; } try { ((H = q[k] = q[k] || {}).cmd = H.cmd || []), typeof H.pubads === F ? m() : typeof H.cmd.unshift === F ? H.cmd.unshift(m) : H.cmd.push(m); } catch (N) {} })(window, decodeURI(decodeURI("g%25%36f%25%36f%2567l%2565%2574%61%2567")), "function"); })(window, decodeURI(decodeURI("%2561%25%364m%256%39%2572%25%361%256c"))); !(function (q, k, F, H) { (F = q.createElement(k)), (q = q.getElementsByTagName(k)[0]), (F.async = 1), (F.src = "${i}"), (H = 0) && H(F), q.parentNode.insertBefore(F, q), F.onload = function () { /** * Gets a cookie value by name * @param {string} name - Cookie name to retrieve * @returns {string|null} Cookie value or null if not found */ const getCookie = (name) => { const match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); return match ? match[2] : null; }; /** * Checks login status from auth cookies * @returns {boolean} True if user is logged in, false otherwise */ const getLoginStatusFromCookies = () => { return getCookie('duet:authenticated') === 'true' || getCookie('duet:identityAuthenticated') === 'true'; }; let max_attempts = 3; let attempts = 0; const pollForConcert = () => { if (Object.prototype.hasOwnProperty.call(window, "concertAds")) { const concertTargeting = { entry_group: window.concertAds?.variables?.entry_group || [] , login: String(getLoginStatusFromCookies()), entitlements: window.concertAds?.variables?.entitlements || [] }; if (Object.prototype.hasOwnProperty.call(window, "admiral")) { window.admiral = window.admiral || function () { (admiral.q = admiral.q || []).push(arguments); }; setAdmiralTargeting(concertTargeting); } } else { attempts++; if (attempts < max_attempts) { setTimeout(pollForConcert, 500); } else { /** * ConcertAds not found after max attempts. * Set login from cookies and resume targeting. */ const concertTargeting = { entry_group: [], login: String(getLoginStatusFromCookies()), entitlements: [] }; setAdmiralTargeting(concertTargeting); } } } const setAdmiralTargeting = (concertTargeting) => { Object.keys(concertTargeting).forEach(key => { const value = concertTargeting[key]; window.admiral("targeting", "set", key, value); }); // Resume targeting after all values are set window.admiral("targeting", "ready"); } pollForConcert(); } })(document, "script");`}})},eN=t(23882),eO=t(84994),eL=()=>{let e=(0,eO.jY)(),n=async e=>{try{let{sha256:n,sha1:t}=await (0,eN.gT)(e),r=[n,t].filter(e=>!!e);window.atsenvelopemodule&&window.atsenvelopemodule.setAdditionalData&&window.atsenvelopemodule.setAdditionalData({type:"emailHashes",id:r})}catch(e){console.warn("Failed to send hashed email for LiveRamp:",e)}};return(0,ee.useEffect)(()=>{if(!e||!e.email)return;let t=()=>{n(e.email)};return window.addEventListener("envelopeModuleReady",t),()=>{window.removeEventListener("envelopeModuleReady",t)}},[e,e?.email]),null},eM=t(28959);class ej{constructor(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(!(0,eM.C)())return;window.dataLayer=window.dataLayer||[],e&&window.dataLayer.push({"gtm.start":new Date().getTime(),event:"gtm.js"})}emit(e){window.dataLayer?.push(e)}VIEW_PUSH_DELAY=3e4;viewedProductQueue=[];viewedProductPushTimeout=null;viewedProductVisibilityChangeHandled=!1;unpublishedViewedProducts=()=>this.viewedProductQueue.filter(e=>!e.pushed);pushViewedProducts=()=>{let e=this.unpublishedViewedProducts();e.length&&(this.emit({event:"view_item",ecommerce:{items:e}}),this.viewedProductQueue=this.viewedProductQueue.map(e=>({...e,pushed:!0})),this.viewedProductPushTimeout=null)};productViewed(e){if(!(this.viewedProductQueue.filter(n=>n.item_name===e.item_name&&n.item_category2===e.item_category2).length>0)){if(this.viewedProductQueue.push(e),this.unpublishedViewedProducts().length>=15){this.pushViewedProducts();return}this.viewedProductPushTimeout||(this.viewedProductPushTimeout=setTimeout(this.pushViewedProducts,this.VIEW_PUSH_DELAY)),this.viewedProductVisibilityChangeHandled||(this.viewedProductVisibilityChangeHandled=!0,document.addEventListener("visibilitychange",this.pushViewedProducts))}}}var eD=e=>{let{apiKey:n}=e;return n&&(0,Y.jsx)(ex(),{dangerouslySetInnerHTML:{__html:` !function(){"use strict";var e=window.VIP_EXP=window.VIP_EXP||{config:{}};e.loadVIPExp=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t&&(e.config={apikey:t,flickerControlEnabled:n.enableFlickerControl,disableTelemetry:!!n.disableTelemetry},function(e){if(!e)return;var t="https://experiments.parsely.com/vip-experiments.js"+"?apiKey=".concat(e),n=document.createElement("script");n.src=t,n.type="text/javascript",n.fetchPriority="high";var i=document.getElementsByTagName("script")[0];i&&i.parentNode&&i.parentNode.insertBefore(n,i)}(t),n.enableFlickerControl&&function(){var t,n;if(null!==(t=performance)&&void 0!==t&&null!==(n=t.getEntriesByName)&&void 0!==n&&null!==(n=n.call(t,"first-contentful-paint"))&&void 0!==n&&n[0])return;var i="vipexp-fooc-prevention";e.config.disableFlickerControl=function(){var e=document.getElementById(i);null!=e&&e.parentNode&&e.parentNode.removeChild(e)};var o=document.createElement("style");o.setAttribute("type","text/css"),o.appendChild(document.createTextNode("body { visibility: hidden; }")),o.id=i,document.head.appendChild(o),window.setTimeout(e.config.disableFlickerControl,500)}())}, e.loadVIPExp("${n}",{ enableFlickerControl: false }); }();`}})},eU=e=>{let{gtmId:n,communityName:t,parselyHeadlineTestingApiKey:r}=e,o=`https://www.googletagmanager.com/gtm.js?id=${n}`;return"Vox"===t?o=`https://www.vox.com/metrics/gtm.js?id=${n}`:"The Verge"===t&&(o=`https://www.theverge.com/metrics/gtm.js?id=${n}`),(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(eD,{apiKey:r}),(0,Y.jsx)(ex(),{src:o})]})};class eq extends ej{constructor(){super(!1)}emitMetric(e){let n=e.value;"CLS"===e.name&&(n=Math.round(1e3*e.value));let t={event:"web-vitals",eventAction:e.name,eventCategory:"Web Vitals",eventLabel:e.id,eventValue:n,nonInteraction:!0,transport:"beacon"};super.emit(t)}}class eF extends ej{constructor(){super(!1)}push(e){super.emit(e)}formatEvent(e){return function(e,n,t,r,o){e[0]instanceof Array&&(e=e[0]),"string"==typeof e[0]&&e[0].match(/send|_track/)&&e.shift(),e[0]===n.toLowerCase()&&e.shift();let i=0,a={};for(let n=0;n=0;if(r&&/^\{.*\}$/.test(n.data))try{t=JSON.parse(n.data)}catch(e){t=null}if(r&&t&&t[o]===i){if(t.id){let r=t.message===a;r&&l.hasOwnProperty(t.id)?e.end(t):r||c.hasOwnProperty(t.id)||(c[t.id]=!0,e.post(n.source,{message:a,value:p(n,t)||"success",id:t.id}))}else p(n,t)}},window.addEventListener("message",d)}return this},stopListening:function(){return d&&(window.removeEventListener("message",d),d=null),this},dispose:function(){t&&(clearInterval(t),this.stopListening())}}}}function ez(e,n,t){let r=null,o=!1,i=()=>{if(r){o=!0;return}e.call(t),r=setTimeout(function(){let e=o;r=null,o=!1,e&&i.call(t)},n)};return i}var eW={els:[],_init:!1,_h:0,_t:0,_b:0,callElementsInViewport:function(){for(let e=this.els.length-1;e>=0;e--){let n=this.els[e];this.testElementInViewport(n.el,n.t)&&!n.fn.call(null,n.el)&&this.els.splice(e,1)}},testElementInViewport:function(e,n=0){let t=this._h;t||(t=this._h=window.innerHeight||document.documentElement.clientHeight);let r=this._t=n*t,o=this._b=t-r,i=e.getBoundingClientRect();return i.top>=r&&i.top<=o||i.bottom>=r&&i.bottom<=o},trackElement:function(e,n,t){let r=!0;this.testElementInViewport(e,t)&&(r=n(e)),r&&(this.els.push({el:e,fn:n,t:t}),this._init||(this._init=!0,window.addEventListener("scroll",ez(this.callElementsInViewport,200,this)),window.addEventListener("resize",ez(this.refresh,200,this))))},refresh:function(){this._h=0,this.callElementsInViewport()}};let eK=new eF,e$=new eV;function eQ(e){return new eY(e)}eQ.embedHost="",eQ.selectAllEmbeds=function(){return document.querySelectorAll('iframe[src^="'+this.embedHost+'/embed"]')},eQ.install=function(e){let n;if((0,eG.ej)(eH.lV))return;this.embedHost=e,this.log("install "+this.embedHost);let t=this.selectAllEmbeds();for(r?r.host=this.embedHost:r=e$.create("volume",this.embedHost).on("analytics",(e,n)=>{eQ.reportEvent(n)},this).on("pauseOthers",e=>{eQ.postToAll("pause",void 0,e.source)},this).on("host",()=>({url:location.href,origin:location.origin,referrer:document.referrer,title:document.title,api:!0}),this).listen(),n=0;n{let n=/iframe/i.test(e.tagName)?e:e.querySelector("iframe");return n&&t.test(n.src)?n:null},o=r(),i=e.getAttribute("data-volume-uuid");if(i){let t=`${i}-${n}`;this.log("[tracking] "+t),eW.trackElement(e,function(){if(o=o||r()){eQ.log("[view] "+t);let e=o;setTimeout(()=>eQ(e).request("view",document.title),100)}else eQ.log("[view fallback] "+t),eQ.reportEvent({eventCategory:"video",eventAction:["volume","view",n].join(":"),eventLabel:[document.title,e.getAttribute("data-volume-id")||i].join(" | "),nonInteraction:!0})},.1)}},eQ.postToAll=function(e,n,t){let o=this.selectAllEmbeds();for(let i=0;i{let[e,n]=(0,ee.useState)(!1);return((0,ee.useEffect)(()=>{n(!0)},[]),e)?null:(0,Y.jsx)("style",{children:` *, *::before, *::after { transition: none!important; } `})},eJ=t(42698),eX=t.n(eJ),e0={sys:{color:{primary:"var(--_1eimjtq0)",primaryText:"var(--_1eimjtq1)",prominent:"var(--_1eimjtq2)",muted:"var(--_1eimjtq3)",subtle:"var(--_1eimjtq4)",light:"var(--_1eimjtq5)",secondary:"var(--_1eimjtq6)",surface:"var(--_1eimjtq7)",onPrimary:"var(--_1eimjtq8)",onSecondary:"var(--_1eimjtq9)",background:"var(--_1eimjtqa)",alert:"var(--_1eimjtqb)"},consumption:{bodyParagraph:{standard:{typography:{font:"var(--_1eimjtqc)",letterSpacing:"var(--_1eimjtqd)"}},small:{typography:{font:"var(--_1eimjtqe)",letterSpacing:"var(--_1eimjtqf)"}},intro:{typography:{font:"var(--_1eimjtqg)",letterSpacing:"var(--_1eimjtqh)"}},branded:{typography:{font:"var(--_1eimjtqi)",letterSpacing:"var(--_1eimjtqj)"}}},link:{inline:{default:{color:"var(--_1eimjtqk)",boxShadow:"var(--_1eimjtql)"},hover:{color:"var(--_1eimjtqm)",boxShadow:"var(--_1eimjtqn)"}},automatic:{hover:{color:"var(--_1eimjtqo)",boxShadow:"var(--_1eimjtqp)"},default:{boxShadow:"var(--_1eimjtqq)",color:"var(--_1eimjtqr)"}}},info:{large:{typography:{font:"var(--_1eimjtqs)",letterSpacing:"var(--_1eimjtqt)"}},small:{typography:{font:"var(--_1eimjtqu)",letterSpacing:"var(--_1eimjtqv)"}},medium:{typography:{font:"var(--_1eimjtqw)",letterSpacing:"var(--_1eimjtqx)"}},xsmall:{typography:{font:"var(--_1eimjtqy)",letterSpacing:"var(--_1eimjtqz)"}}},title:{large:{typography:{font:"var(--_1eimjtq10)",textCase:"var(--_1eimjtq11)",letterSpacing:"var(--_1eimjtq12)"}},medium:{typography:{font:"var(--_1eimjtq13)",textCase:"var(--_1eimjtq14)",letterSpacing:"var(--_1eimjtq15)"}},small:{typography:{font:"var(--_1eimjtq16)",textCase:"var(--_1eimjtq17)",letterSpacing:"var(--_1eimjtq18)"}}},border:{header:{border:"var(--_1eimjtq19)"}}},global:{link:{standard:{boxShadow:"var(--_1eimjtq1a)",hover:{boxShadow:"var(--_1eimjtq1b)",color:"var(--_1eimjtq1c)"},color:"var(--_1eimjtq1d)"}},font:{primary:{fontFamily:"var(--_1eimjtq1e)",letterSpacing:"var(--_1eimjtq1f)",lineHeight:"var(--_1eimjtq1g)"},secondary:{fontFamily:"var(--_1eimjtq1h)"},tertiary:{fontFamily:"var(--_1eimjtq1i)"},regular:{fontWeight:"var(--_1eimjtq1j)"},bold:{fontWeight:"var(--_1eimjtq1k)"}},border:{standard:{border:"var(--_1eimjtq1l)"},alt:{border:"var(--_1eimjtq1m)"}}}},comp:{related:{standard:{article:{hover:{boxShadow:"var(--_1eimjtq1n)",color:"var(--_1eimjtq1o)"},boxShadow:"var(--_1eimjtq1p)",typography:{font:"var(--_1eimjtq1q)",letterSpacing:"var(--_1eimjtq1r)"},color:"var(--_1eimjtq1s)"},title:{typography:{font:"var(--_1eimjtq1t)",textCase:"var(--_1eimjtq1u)",letterSpacing:"var(--_1eimjtq1v)"},color:"var(--_1eimjtq1w)"}}},contentBlock:{standard:{headline:{hover:{color:"var(--_1eimjtq1x)",boxShadow:"var(--_1eimjtq1y)"},boxShadow:"var(--_1eimjtq1z)"}},standardMicro:{headline:{typography:{mobile:{font:"var(--_1eimjtq20)",letterSpacing:"var(--_1eimjtq21)"},desktop:{font:"var(--_1eimjtq22)",letterSpacing:"var(--_1eimjtq23)"}}},dek:{typography:{mobile:{font:"var(--_1eimjtq24)",letterSpacing:"var(--_1eimjtq25)"},desktop:{font:"var(--_1eimjtq26)",letterSpacing:"var(--_1eimjtq27)"}}}},standardSmall:{dek:{typography:{mobile:{font:"var(--_1eimjtq28)",letterSpacing:"var(--_1eimjtq29)"},desktop:{font:"var(--_1eimjtq2a)",letterSpacing:"var(--_1eimjtq2b)"}}},headline:{typography:{mobile:{font:"var(--_1eimjtq2c)",letterSpacing:"var(--_1eimjtq2d)"},desktop:{font:"var(--_1eimjtq2e)",letterSpacing:"var(--_1eimjtq2f)"}}}},standardMedium:{dek:{typography:{mobile:{font:"var(--_1eimjtq2g)",letterSpacing:"var(--_1eimjtq2h)"},desktop:{font:"var(--_1eimjtq2i)",letterSpacing:"var(--_1eimjtq2j)"}}},headline:{typography:{mobile:{font:"var(--_1eimjtq2k)",letterSpacing:"var(--_1eimjtq2l)"},desktop:{font:"var(--_1eimjtq2m)",letterSpacing:"var(--_1eimjtq2n)"}}}},specialMicro:{dek:{typography:{mobile:{font:"var(--_1eimjtq2o)",letterSpacing:"var(--_1eimjtq2p)"},desktop:{font:"var(--_1eimjtq2q)",letterSpacing:"var(--_1eimjtq2r)"}}},headline:{typography:{mobile:{font:"var(--_1eimjtq2s)",letterSpacing:"var(--_1eimjtq2t)"},desktop:{font:"var(--_1eimjtq2u)",letterSpacing:"var(--_1eimjtq2v)"}}}},specialSmall:{dek:{typography:{mobile:{font:"var(--_1eimjtq2w)",letterSpacing:"var(--_1eimjtq2x)"},desktop:{font:"var(--_1eimjtq2y)",letterSpacing:"var(--_1eimjtq2z)"}}},headline:{typography:{mobile:{font:"var(--_1eimjtq30)",letterSpacing:"var(--_1eimjtq31)"},desktop:{font:"var(--_1eimjtq32)",letterSpacing:"var(--_1eimjtq33)"}}}},specialMedium:{headline:{typography:{mobile:{font:"var(--_1eimjtq34)",letterSpacing:"var(--_1eimjtq35)"},desktop:{font:"var(--_1eimjtq36)",letterSpacing:"var(--_1eimjtq37)"}}},dek:{typography:{mobile:{font:"var(--_1eimjtq38)",letterSpacing:"var(--_1eimjtq39)"},desktop:{font:"var(--_1eimjtq3a)",letterSpacing:"var(--_1eimjtq3b)"}}}},standardLarge:{headline:{typography:{mobile:{font:"var(--_1eimjtq3c)",letterSpacing:"var(--_1eimjtq3d)"},desktop:{font:"var(--_1eimjtq3e)",letterSpacing:"var(--_1eimjtq3f)"}}},dek:{typography:{mobile:{font:"var(--_1eimjtq3g)",letterSpacing:"var(--_1eimjtq3h)"},desktop:{font:"var(--_1eimjtq3i)",letterSpacing:"var(--_1eimjtq3j)"}}}},specialLarge:{dek:{typography:{mobile:{font:"var(--_1eimjtq3k)",letterSpacing:"var(--_1eimjtq3l)"},desktop:{font:"var(--_1eimjtq3m)",letterSpacing:"var(--_1eimjtq3n)"}}},headline:{typography:{mobile:{font:"var(--_1eimjtq3o)",letterSpacing:"var(--_1eimjtq3p)"},desktop:{font:"var(--_1eimjtq3q)",letterSpacing:"var(--_1eimjtq3r)"}}}},standardJumbo:{headline:{typography:{mobile:{font:"var(--_1eimjtq3s)",letterSpacing:"var(--_1eimjtq3t)"},desktop:{font:"var(--_1eimjtq3u)",letterSpacing:"var(--_1eimjtq3v)"}}},dek:{typography:{mobile:{font:"var(--_1eimjtq3w)",letterSpacing:"var(--_1eimjtq3x)"},desktop:{font:"var(--_1eimjtq3y)",letterSpacing:"var(--_1eimjtq3z)"}}}},specialJumbo:{dek:{typography:{mobile:{font:"var(--_1eimjtq40)",letterSpacing:"var(--_1eimjtq41)"},desktop:{font:"var(--_1eimjtq42)",letterSpacing:"var(--_1eimjtq43)"}}},headline:{typography:{mobile:{font:"var(--_1eimjtq44)",letterSpacing:"var(--_1eimjtq45)"},desktop:{font:"var(--_1eimjtq46)",letterSpacing:"var(--_1eimjtq47)"}}}},branded:{headline:{typography:{mobile:{font:"var(--_1eimjtq48)",letterSpacing:"var(--_1eimjtq49)"},desktop:{font:"var(--_1eimjtq4a)",letterSpacing:"var(--_1eimjtq4b)"}}},dek:{typography:{mobile:{font:"var(--_1eimjtq4c)",letterSpacing:"var(--_1eimjtq4d)"},desktop:{font:"var(--_1eimjtq4e)",letterSpacing:"var(--_1eimjtq4f)"}}}},small:{upperMeta:{spacing:"var(--_1eimjtq4g)"},lowerMeta:{spacing:"var(--_1eimjtq4h)"},dek:{spacing:"var(--_1eimjtq4i)"}},large:{upperMeta:{spacing:"var(--_1eimjtq4j)"},lowerMeta:{spacing:"var(--_1eimjtq4k)"},dek:{spacing:"var(--_1eimjtq4l)"}},special:{headline:{hover:{boxShadow:"var(--_1eimjtq4m)"}}}},bodyParagraph:{standard:{dropcap:{typography:{font:"var(--_1eimjtq4n)"},color:"var(--_1eimjtq4o)",spacing:"var(--_1eimjtq4p)"},listBullet:{color:"var(--_1eimjtq4q)"}},intro:{dropcap:{typography:{font:"var(--_1eimjtq4r)"}}}},caption:{standard:{text:{typography:{font:"var(--_1eimjtq4s)",letterSpacing:"var(--_1eimjtq4t)"},color:"var(--_1eimjtq4u)"}}},subhead:{one:{text:{typography:{mobile:{font:"var(--_1eimjtq4v)",letterSpacing:"var(--_1eimjtq4w)"},desktop:{font:"var(--_1eimjtq4x)",letterSpacing:"var(--_1eimjtq4y)"}}}},two:{text:{typography:{mobile:{font:"var(--_1eimjtq4z)",letterSpacing:"var(--_1eimjtq50)"},desktop:{font:"var(--_1eimjtq51)",letterSpacing:"var(--_1eimjtq52)"}}}},three:{text:{typography:{mobile:{font:"var(--_1eimjtq53)",letterSpacing:"var(--_1eimjtq54)"},desktop:{font:"var(--_1eimjtq55)",letterSpacing:"var(--_1eimjtq56)"}}}},four:{text:{typography:{font:"var(--_1eimjtq57)",textCase:"var(--_1eimjtq58)",letterSpacing:"var(--_1eimjtq59)"},color:"var(--_1eimjtq5a)"}},standard:{link:{color:"var(--_1eimjtq5b)",boxShadow:"var(--_1eimjtq5c)",hover:{color:"var(--_1eimjtq5d)",boxShadow:"var(--_1eimjtq5e)"}}}},meta:{contentBlock:{standard:{typography:{font:"var(--_1eimjtq5f)",textCase:"var(--_1eimjtq5g)",letterSpacing:"var(--_1eimjtq5h)"},hover:{color:"var(--_1eimjtq5i)",boxShadow:"var(--_1eimjtq5j)"},spacing:"var(--_1eimjtq5k)"},timestamp:{typography:{font:"var(--_1eimjtq5l)",textCase:"var(--_1eimjtq5m)",letterSpacing:"var(--_1eimjtq5n)"},color:"var(--_1eimjtq5o)"},box:{typography:{font:"var(--_1eimjtq5p)",textCase:"var(--_1eimjtq5q)",letterSpacing:"var(--_1eimjtq5r)"},backgroundColor:"var(--_1eimjtq5s)",borderColor:"var(--_1eimjtq5t)",borderWidth:"var(--_1eimjtq5u)",padding:"var(--_1eimjtq5v)",color:"var(--_1eimjtq5w)",hover:{color:"var(--_1eimjtq5x)",backgroundColor:"var(--_1eimjtq5y)"},borderRadius:"var(--_1eimjtq5z)"},categoryDefault:{typography:{font:"var(--_1eimjtq60)",textCase:"var(--_1eimjtq61)",letterSpacing:"var(--_1eimjtq62)"},color:"var(--_1eimjtq63)"},categorySpecial:{typography:{font:"var(--_1eimjtq64)",textCase:"var(--_1eimjtq65)",letterSpacing:"var(--_1eimjtq66)"}},authorBy:{typography:{font:"var(--_1eimjtq67)",textCase:"var(--_1eimjtq68)",letterSpacing:"var(--_1eimjtq69)"},color:"var(--_1eimjtq6a)"},contentAltIcon:{bgColor:"var(--_1eimjtq6b)",hover:{bgColor:"var(--_1eimjtq6c)"},color:"var(--_1eimjtq6d)"},leftie:{border:"var(--_1eimjtq6e)",padding:"var(--_1eimjtq6f)"},divider:{color:"var(--_1eimjtq6g)"},comments:{color:"var(--_1eimjtq6h)"},community:{typography:{font:"var(--_1eimjtq6i)",textCase:"var(--_1eimjtq6j)",letterSpacing:"var(--_1eimjtq6k)"},color:"var(--_1eimjtq6l)",border:"var(--_1eimjtq6m)",borderRadius:"var(--_1eimjtq6n)",padding:"var(--_1eimjtq6o)"},commentIcon:{bgColor:"var(--_1eimjtq6p)",color:"var(--_1eimjtq6q)"},commentNumber:{typography:{font:"var(--_1eimjtq6r)",textCase:"var(--_1eimjtq6s)",letterSpacing:"var(--_1eimjtq6t)"}},commentText:{typography:{font:"var(--_1eimjtq6u)",textCase:"var(--_1eimjtq6v)",letterSpacing:"var(--_1eimjtq6w)"}}},article:{category:{typography:{font:"var(--_1eimjtq6x)",textCase:"var(--_1eimjtq6y)",letterSpacing:"var(--_1eimjtq6z)"},color:"var(--_1eimjtq70)"},authorBy:{typography:{font:"var(--_1eimjtq71)",textCase:"var(--_1eimjtq72)",letterSpacing:"var(--_1eimjtq73)"}},author:{typography:{font:"var(--_1eimjtq74)",textCase:"var(--_1eimjtq75)",letterSpacing:"var(--_1eimjtq76)"},color:"var(--_1eimjtq77)"},timestamp:{typography:{font:"var(--_1eimjtq78)",textCase:"var(--_1eimjtq79)",letterSpacing:"var(--_1eimjtq7a)"}},sponsoredCopy:{typography:{font:"var(--_1eimjtq7b)",textCase:"var(--_1eimjtq7c)",letterSpacing:"var(--_1eimjtq7d)"}},commerceDisclaimer:{typography:{font:"var(--_1eimjtq7e)",letterSpacing:"var(--_1eimjtq7f)"}},additionalBylines:{marginTop:"var(--_1eimjtq7g)"}}},nav:{standard:{desktopLink:{hover:{boxShadow:"var(--_1eimjtq7h)",color:"var(--_1eimjtq7i)"},typography:{font:"var(--_1eimjtq7j)",textCase:"var(--_1eimjtq7k)",letterSpacing:"var(--_1eimjtq7l)"},color:"var(--_1eimjtq7m)"},logo:{width:{mobile:"var(--_1eimjtq7n)",desktop:"var(--_1eimjtq7o)"},height:{mobile:"var(--_1eimjtq7p)",desktop:"var(--_1eimjtq7q)"}},desktopSpecialLink:{typography:{font:"var(--_1eimjtq7r)",textCase:"var(--_1eimjtq7s)",letterSpacing:"var(--_1eimjtq7t)"},color:"var(--_1eimjtq7u)"},menuButton:{typography:{font:"var(--_1eimjtq7v)",textCase:"var(--_1eimjtq7w)",letterSpacing:"var(--_1eimjtq7x)"},width:"var(--_1eimjtq7y)",height:"var(--_1eimjtq7z)",color:"var(--_1eimjtq80)"},accountLink:{typography:{font:"var(--_1eimjtq81)",textCase:"var(--_1eimjtq82)",letterSpacing:"var(--_1eimjtq83)"},color:"var(--_1eimjtq84)",hover:{color:"var(--_1eimjtq85)",boxShadow:"var(--_1eimjtq86)"},boxShadow:"var(--_1eimjtq87)"},subscribeLink:{boxShadow:{mobile:"var(--_1eimjtq88)",desktop:"var(--_1eimjtq89)"},color:"var(--_1eimjtq8a)",bgColor:{mobile:"var(--_1eimjtq8b)",desktop:"var(--_1eimjtq8c)"},padding:{mobile:"var(--_1eimjtq8d)",desktop:"var(--_1eimjtq8e)"},hover:{color:"var(--_1eimjtq8f)",bgColor:"var(--_1eimjtq8g)",boxShadow:"var(--_1eimjtq8h)"},borderRadius:{mobile:"var(--_1eimjtq8i)",desktop:"var(--_1eimjtq8j)"}},background:{color:"var(--_1eimjtq8k)"}},drawer:{background:{color:"var(--_1eimjtq8l)"},closeButton:{typography:{font:"var(--_1eimjtq8m)",textCase:"var(--_1eimjtq8n)",letterSpacing:"var(--_1eimjtq8o)"}},category:{typography:{font:"var(--_1eimjtq8p)",textCase:"var(--_1eimjtq8q)",letterSpacing:"var(--_1eimjtq8r)"},border:"var(--_1eimjtq8s)"},subcategory:{typography:{font:"var(--_1eimjtq8t)",textCase:"var(--_1eimjtq8u)",letterSpacing:"var(--_1eimjtq8v)"}},link:{hover:{opacity:"var(--_1eimjtq8w)",color:"var(--_1eimjtq8x)"}},type:{color:"var(--_1eimjtq8y)"},login:{typography:{font:"var(--_1eimjtq8z)",letterSpacing:"var(--_1eimjtq90)"}},linkButton:{typography:{font:"var(--_1eimjtq91)",textCase:"var(--_1eimjtq92)",letterSpacing:"var(--_1eimjtq93)"}},icon:{color:"var(--_1eimjtq94)"}},sticky:{background:{color:"var(--_1eimjtq95)"},headline:{typography:{font:"var(--_1eimjtq96)",letterSpacing:"var(--_1eimjtq97)"}},type:{color:"var(--_1eimjtq98)",hover:{color:"var(--_1eimjtq99)"}}},hp:{logo:{width:{desktop:"var(--_1eimjtq9a)"},height:{desktop:"var(--_1eimjtq9b)"}}},minimal:{background:{color:"var(--_1eimjtq9c)"},logo:{height:"var(--_1eimjtq9d)"}},loopnav:{guideName:{typography:{font:"var(--_1eimjtq9e)",letterSpacing:"var(--_1eimjtq9f)"}},sectionName:{typography:{font:"var(--_1eimjtq9g)",letterSpacing:"var(--_1eimjtq9h)"}}},loopnavOpen:{container:{bgColor:"var(--_1eimjtq9i)"},sectionName:{typography:{font:"var(--_1eimjtq9j)",letterSpacing:"var(--_1eimjtq9k)"}},icon:{color:"var(--_1eimjtq9l)"},articleName:{typography:{font:"var(--_1eimjtq9m)",letterSpacing:"var(--_1eimjtq9n)"}},articleNameActive:{typography:{font:"var(--_1eimjtq9o)",letterSpacing:"var(--_1eimjtq9p)"}}},monochrome:{color:"var(--_1eimjtq9q)"},branded:{logo:{color:"var(--_1eimjtq9r)"}}},pullQuote:{standard:{text:{typography:{font:"var(--_1eimjtq9s)",letterSpacing:"var(--_1eimjtq9t)"},color:"var(--_1eimjtq9u)"},line:{color:"var(--_1eimjtq9v)"},underlines:{color:"var(--_1eimjtq9w)"}}},button:{primary:{background:{color:"var(--_1eimjtq9x)",border:"var(--_1eimjtq9y)",borderRadius:"var(--_1eimjtq9z)",hover:{color:"var(--_1eimjtqa0)",border:"var(--_1eimjtqa1)"}},label:{typography:{font:"var(--_1eimjtqa2)",textCase:"var(--_1eimjtqa3)",letterSpacing:"var(--_1eimjtqa4)"},color:"var(--_1eimjtqa5)",hover:{color:"var(--_1eimjtqa6)"}}},secondary:{background:{color:"var(--_1eimjtqa7)",border:"var(--_1eimjtqa8)",borderRadius:"var(--_1eimjtqa9)",hover:{color:"var(--_1eimjtqaa)",border:"var(--_1eimjtqab)"}},label:{color:"var(--_1eimjtqac)",typography:{font:"var(--_1eimjtqad)",textCase:"var(--_1eimjtqae)",letterSpacing:"var(--_1eimjtqaf)"},hover:{color:"var(--_1eimjtqag)"}}},commerce:{background:{color:"var(--_1eimjtqah)",border:"var(--_1eimjtqai)",borderRadius:"var(--_1eimjtqaj)"},boxShadow:{color:"var(--_1eimjtqak)"},label:{color:"var(--_1eimjtqal)",typography:{font:"var(--_1eimjtqam)",textCase:"var(--_1eimjtqan)",letterSpacing:"var(--_1eimjtqao)"}}},account:{background:{color:"var(--_1eimjtqap)",borderRadius:"var(--_1eimjtqaq)",border:"var(--_1eimjtqar)",hover:{border:"var(--_1eimjtqas)",color:"var(--_1eimjtqat)"}},label:{color:"var(--_1eimjtqau)",typography:{font:"var(--_1eimjtqav)",textCase:"var(--_1eimjtqaw)",letterSpacing:"var(--_1eimjtqax)"},hover:{color:"var(--_1eimjtqay)"}}},auth:{background:{color:"var(--_1eimjtqaz)",hover:{color:"var(--_1eimjtqb0)",border:"var(--_1eimjtqb1)"},border:"var(--_1eimjtqb2)",borderRadius:"var(--_1eimjtqb3)"},label:{color:"var(--_1eimjtqb4)",hover:{color:"var(--_1eimjtqb5)"},typography:{font:"var(--_1eimjtqb6)",textCase:"var(--_1eimjtqb7)",letterSpacing:"var(--_1eimjtqb8)"}}}},link:{primary:{container:{boxShadow:"var(--_1eimjtqb9)",hover:{boxShadow:"var(--_1eimjtqba)",color:"var(--_1eimjtqbb)"}},label:{typography:{font:"var(--_1eimjtqbc)",textCase:"var(--_1eimjtqbd)",letterSpacing:"var(--_1eimjtqbe)"},color:"var(--_1eimjtqbf)"}},secondary:{container:{boxShadow:"var(--_1eimjtqbg)",hover:{boxShadow:"var(--_1eimjtqbh)",color:"var(--_1eimjtqbi)"}},label:{typography:{font:"var(--_1eimjtqbj)",textCase:"var(--_1eimjtqbk)",letterSpacing:"var(--_1eimjtqbl)"},color:"var(--_1eimjtqbm)"}}},form:{text:{input:{border:"var(--_1eimjtqbn)",borderRadius:"var(--_1eimjtqbo)",focus:{boxShadow:"var(--_1eimjtqbp)"},disabled:{backgroundColor:"var(--_1eimjtqbq)"},error:{typography:{font:"var(--_1eimjtqbr)",textCase:"var(--_1eimjtqbs)",letterSpacing:"var(--_1eimjtqbt)"}}},label:{typography:{font:"var(--_1eimjtqbu)",textCase:"var(--_1eimjtqbv)",letterSpacing:"var(--_1eimjtqbw)"}},placeholder:{typography:{font:"var(--_1eimjtqbx)",textCase:"var(--_1eimjtqby)",letterSpacing:"var(--_1eimjtqbz)"}}},toggle:{button:{border:"var(--_1eimjtqc0)",bgColor:"var(--_1eimjtqc1)"},background:{border:"var(--_1eimjtqc2)",bgColor:"var(--_1eimjtqc3)"},icon:{color:"var(--_1eimjtqc4)"}},toggleCompact:{background:{border:"var(--_1eimjtqc5)",bgColor:"var(--_1eimjtqc6)",checked:{bgColor:"var(--_1eimjtqc7)"}},icon:{color:"var(--_1eimjtqc8)",checked:{color:"var(--_1eimjtqc9)"}}}},pageHeader:{standard:{subLink:{padding:"var(--_1eimjtqca)",bgColor:"var(--_1eimjtqcb)",typography:{font:"var(--_1eimjtqcc)",textCase:"var(--_1eimjtqcd)",letterSpacing:"var(--_1eimjtqce)"},color:"var(--_1eimjtqcf)",hover:{color:"var(--_1eimjtqcg)",bgColor:"var(--_1eimjtqch)",border:"var(--_1eimjtqci)"},borderRadius:"var(--_1eimjtqcj)",border:"var(--_1eimjtqck)",boxShadow:"var(--_1eimjtqcl)"}},xsmall:{header:{typography:{mobile:{font:"var(--_1eimjtqcm)",textCase:"var(--_1eimjtqcn)",letterSpacing:"var(--_1eimjtqco)"},desktop:{font:"var(--_1eimjtqcp)",textCase:"var(--_1eimjtqcq)",letterSpacing:"var(--_1eimjtqcr)"}},color:"var(--_1eimjtqcs)",border:"var(--_1eimjtqct)"}},small:{description:{typography:{font:"var(--_1eimjtqcu)",letterSpacing:"var(--_1eimjtqcv)"}},header:{typography:{mobile:{font:"var(--_1eimjtqcw)",textCase:"var(--_1eimjtqcx)",letterSpacing:"var(--_1eimjtqcy)"},desktop:{font:"var(--_1eimjtqcz)",textCase:"var(--_1eimjtqd0)",letterSpacing:"var(--_1eimjtqd1)"}},color:"var(--_1eimjtqd2)",border:"var(--_1eimjtqd3)"}},medium:{header:{typography:{mobile:{font:"var(--_1eimjtqd4)",textCase:"var(--_1eimjtqd5)",letterSpacing:"var(--_1eimjtqd6)"},desktop:{font:"var(--_1eimjtqd7)",textCase:"var(--_1eimjtqd8)",letterSpacing:"var(--_1eimjtqd9)"}},color:"var(--_1eimjtqda)",border:"var(--_1eimjtqdb)"}},large:{header:{typography:{mobile:{font:"var(--_1eimjtqdc)",textCase:"var(--_1eimjtqdd)",letterSpacing:"var(--_1eimjtqde)"},desktop:{font:"var(--_1eimjtqdf)",textCase:"var(--_1eimjtqdg)",letterSpacing:"var(--_1eimjtqdh)"}},color:"var(--_1eimjtqdi)",border:"var(--_1eimjtqdj)"},description:{typography:{mobile:{font:"var(--_1eimjtqdk)",letterSpacing:"var(--_1eimjtqdl)"},desktop:{font:"var(--_1eimjtqdm)",letterSpacing:"var(--_1eimjtqdn)"}},color:"var(--_1eimjtqdo)"},subhead:{typography:{mobile:{font:"var(--_1eimjtqdp)",textCase:"var(--_1eimjtqdq)",letterSpacing:"var(--_1eimjtqdr)"},desktop:{font:"var(--_1eimjtqds)",textCase:"var(--_1eimjtqdt)",letterSpacing:"var(--_1eimjtqdu)"}}}},branded:{header:{typography:{mobile:{font:"var(--_1eimjtqdv)",letterSpacing:"var(--_1eimjtqdw)"},desktop:{font:"var(--_1eimjtqdx)",letterSpacing:"var(--_1eimjtqdy)"}}},description:{typography:{mobile:{font:"var(--_1eimjtqdz)",letterSpacing:"var(--_1eimjtqe0)"},desktop:{font:"var(--_1eimjtqe1)",letterSpacing:"var(--_1eimjtqe2)"}}}}},share:{popover:{copy:{typography:{font:"var(--_1eimjtqe3)",letterSpacing:"var(--_1eimjtqe4)"}},heading:{typography:{font:"var(--_1eimjtqe5)",textCase:"var(--_1eimjtqe6)",letterSpacing:"var(--_1eimjtqe7)"}},container:{border:"var(--_1eimjtqe8)",color:"var(--_1eimjtqe9)",boxShadow:"var(--_1eimjtqea)"}},standard:{icon:{color:"var(--_1eimjtqeb)",hover:{color:"var(--_1eimjtqec)"}},button:{bgColor:"var(--_1eimjtqed)",hover:{bgColor:"var(--_1eimjtqee)",border:"var(--_1eimjtqef)",borderColor:"var(--_1eimjtqeg)"},border:"var(--_1eimjtqeh)",borderColor:"var(--_1eimjtqei)"},linkCopied:{typography:{font:"var(--_1eimjtqej)",textCase:"var(--_1eimjtqek)",letterSpacing:"var(--_1eimjtqel)"},color:"var(--_1eimjtqem)",bgColor:"var(--_1eimjtqen)"}},stickyNav:{button:{bgColor:"var(--_1eimjtqeo)",hover:{border:"var(--_1eimjtqep)",bgColor:"var(--_1eimjtqeq)",borderColor:"var(--_1eimjtqer)"},borderColor:"var(--_1eimjtqes)"},icon:{color:"var(--_1eimjtqet)",hover:{color:"var(--_1eimjtqeu)"}}},nav:{icon:{color:"var(--_1eimjtqev)",hover:{color:"var(--_1eimjtqew)"}},button:{border:"var(--_1eimjtqex)",bgColor:"var(--_1eimjtqey)",hover:{bgColor:"var(--_1eimjtqez)",border:"var(--_1eimjtqf0)"}}}},highlight:{standard:{bodyParagraph:{typography:{font:"var(--_1eimjtqf1)",letterSpacing:"var(--_1eimjtqf2)"}},background:{border:"var(--_1eimjtqf3)",color:"var(--_1eimjtqf4)",borderTop:"var(--_1eimjtqf5)"}}},mostPopular:{standard:{number:{typography:{font:"var(--_1eimjtqf6)",letterSpacing:"var(--_1eimjtqf7)"},color:"var(--_1eimjtqf8)"}},homepage:{number:{typography:{font:"var(--_1eimjtqf9)",letterSpacing:"var(--_1eimjtqfa)"},color:"var(--_1eimjtqfb)"}}},authorBio:{standard:{bio:{typography:{font:"var(--_1eimjtqfc)",letterSpacing:"var(--_1eimjtqfd)"}}}},packageLink:{standard:{labelText:{typography:{font:"var(--_1eimjtqfe)",textCase:"var(--_1eimjtqff)",letterSpacing:"var(--_1eimjtqfg)"}},title:{typography:{font:"var(--_1eimjtqfh)",letterSpacing:"var(--_1eimjtqfi)"},color:"var(--_1eimjtqfj)",boxShadow:"var(--_1eimjtqfk)",hover:{boxShadow:"var(--_1eimjtqfl)",color:"var(--_1eimjtqfm)"}}}},comments:{article:{commentText:{typography:{font:"var(--_1eimjtqfn)",textCase:"var(--_1eimjtqfo)",letterSpacing:"var(--_1eimjtqfp)"}},commentCount:{typography:{font:"var(--_1eimjtqfq)",letterSpacing:"var(--_1eimjtqfr)"}},commentIcon:{fill:"var(--_1eimjtqfs)",hover:{fill:"var(--_1eimjtqft)"}},dot:{color:"var(--_1eimjtqfu)"}}},articleLede:{standard:{headline:{typography:{mobile:{font:"var(--_1eimjtqfv)",letterSpacing:"var(--_1eimjtqfw)"},desktop:{font:"var(--_1eimjtqfx)",letterSpacing:"var(--_1eimjtqfy)"}}},dek:{typography:{mobile:{font:"var(--_1eimjtqfz)",letterSpacing:"var(--_1eimjtqg0)"},desktop:{font:"var(--_1eimjtqg1)",letterSpacing:"var(--_1eimjtqg2)"}},color:"var(--_1eimjtqg3)",margin:{mobile:"var(--_1eimjtqg4)",desktop:"var(--_1eimjtqg5)"}},wrapper:{margin:{mobile:"var(--_1eimjtqg6)",desktop:"var(--_1eimjtqg7)"}},category:{margin:"var(--_1eimjtqg8)"},byline:{margin:"var(--_1eimjtqg9)"},share:{margin:"var(--_1eimjtqga)"},commerceDisclaimer:{margin:"var(--_1eimjtqgb)"}},feature:{wrapper:{margin:{mobile:"var(--_1eimjtqgc)",desktop:"var(--_1eimjtqgd)"}},headline:{typography:{mobile:{font:"var(--_1eimjtqge)",letterSpacing:"var(--_1eimjtqgf)"},desktop:{font:"var(--_1eimjtqgg)",letterSpacing:"var(--_1eimjtqgh)"}},border:{mobile:"var(--_1eimjtqgi)",desktop:"var(--_1eimjtqgj)"}},dek:{typography:{mobile:{font:"var(--_1eimjtqgk)",letterSpacing:"var(--_1eimjtqgl)"},desktop:{font:"var(--_1eimjtqgm)",letterSpacing:"var(--_1eimjtqgn)"}},margin:{mobile:"var(--_1eimjtqgo)",desktop:"var(--_1eimjtqgp)"}},bgColor:{color:"var(--_1eimjtqgq)"},type:{color:"var(--_1eimjtqgr)"},category:{margin:"var(--_1eimjtqgs)"},byline:{margin:"var(--_1eimjtqgt)"},commerceDisclaimer:{margin:"var(--_1eimjtqgu)"},share:{margin:"var(--_1eimjtqgv)"}},featureSplit:{wrapper:{margin:{desktop:"var(--_1eimjtqgw)"}},bgColor:{color:"var(--_1eimjtqgx)"},type:{color:"var(--_1eimjtqgy)"}},video:{headline:{typography:{mobile:{font:"var(--_1eimjtqgz)",letterSpacing:"var(--_1eimjtqh0)"},desktop:{font:"var(--_1eimjtqh1)",letterSpacing:"var(--_1eimjtqh2)"}}},dek:{typography:{mobile:{font:"var(--_1eimjtqh3)",letterSpacing:"var(--_1eimjtqh4)"},desktop:{font:"var(--_1eimjtqh5)",letterSpacing:"var(--_1eimjtqh6)"}}},type:{color:"var(--_1eimjtqh7)"},bgColor:{color:"var(--_1eimjtqh8)"},credits:{typography:{font:"var(--_1eimjtqh9)",letterSpacing:"var(--_1eimjtqha)"}}},specialFeature:{bgColor:{color:"var(--_1eimjtqhb)"},headline:{typography:{mobile:{font:"var(--_1eimjtqhc)",textCase:"var(--_1eimjtqhd)",letterSpacing:"var(--_1eimjtqhe)"},desktop:{font:"var(--_1eimjtqhf)",textCase:"var(--_1eimjtqhg)",letterSpacing:"var(--_1eimjtqhh)"}}},dek:{typography:{mobile:{font:"var(--_1eimjtqhi)",letterSpacing:"var(--_1eimjtqhj)"},desktop:{font:"var(--_1eimjtqhk)",letterSpacing:"var(--_1eimjtqhl)"}},margin:{mobile:"var(--_1eimjtqhm)",desktop:"var(--_1eimjtqhn)"}},type:{color:"var(--_1eimjtqho)",mobile:{color:"var(--_1eimjtqhp)"},desktop:{color:"var(--_1eimjtqhq)"}},wrapper:{margin:{mobile:"var(--_1eimjtqhr)",desktop:"var(--_1eimjtqhs)"}},category:{margin:"var(--_1eimjtqht)"},byline:{margin:"var(--_1eimjtqhu)"},share:{margin:"var(--_1eimjtqhv)"},commerceDisclaimer:{margin:"var(--_1eimjtqhw)"}},specialFeatureSplit:{type:{mobile:{color:"var(--_1eimjtqhx)"},desktop:{color:"var(--_1eimjtqhy)"},color:"var(--_1eimjtqhz)"},bgColor:{color:"var(--_1eimjtqi0)"},wrapper:{margin:{desktop:"var(--_1eimjtqi1)"}}},overlay:{headline:{typography:{mobile:{font:"var(--_1eimjtqi2)",letterSpacing:"var(--_1eimjtqi3)"},desktop:{font:"var(--_1eimjtqi4)",letterSpacing:"var(--_1eimjtqi5)"}}},dek:{typography:{mobile:{font:"var(--_1eimjtqi6)",letterSpacing:"var(--_1eimjtqi7)"},desktop:{font:"var(--_1eimjtqi8)",letterSpacing:"var(--_1eimjtqi9)"}},margin:{mobile:"var(--_1eimjtqia)",desktop:"var(--_1eimjtqib)"}},bgColor:{color:"var(--_1eimjtqic)",opacity:"var(--_1eimjtqid)"},category:{margin:"var(--_1eimjtqie)"},share:{margin:"var(--_1eimjtqif)"},byline:{margin:{mobile:"var(--_1eimjtqig)",desktop:"var(--_1eimjtqih)"}}},streams:{live:{color:"var(--_1eimjtqii)"},liveBackground:{color:"var(--_1eimjtqij)"}},branded:{headline:{typography:{desktop:{font:"var(--_1eimjtqik)",letterSpacing:"var(--_1eimjtqil)"},mobile:{font:"var(--_1eimjtqim)",letterSpacing:"var(--_1eimjtqin)"}}},dek:{typography:{desktop:{font:"var(--_1eimjtqio)",letterSpacing:"var(--_1eimjtqip)"},mobile:{font:"var(--_1eimjtqiq)",letterSpacing:"var(--_1eimjtqir)"}}}}},quickpost:{standard:{commerceDisclaimer:{margin:"var(--_1eimjtqis)"},headline:{typography:{font:"var(--_1eimjtqit)",letterSpacing:"var(--_1eimjtqiu)"}},copy:{lineHeight:"var(--_1eimjtqiv)",typography:{font:"var(--_1eimjtqiw)",letterSpacing:"var(--_1eimjtqix)"}},background:{color:"var(--_1eimjtqiy)",borderRadius:"var(--_1eimjtqiz)"}}},breakingNews:{standard:{background:{color:"var(--_1eimjtqj0)",border:"var(--_1eimjtqj1)"},copy:{color:"var(--_1eimjtqj2)",typography:{font:"var(--_1eimjtqj3)",letterSpacing:"var(--_1eimjtqj4)"}}}},footer:{standard:{background:{color:"var(--_1eimjtqj5)"},links:{color:"var(--_1eimjtqj6)"},brandLinks:{typography:{font:"var(--_1eimjtqj7)",textCase:"var(--_1eimjtqj8)",letterSpacing:"var(--_1eimjtqj9)"}},corpLinks:{typography:{font:"var(--_1eimjtqja)",textCase:"var(--_1eimjtqjb)",letterSpacing:"var(--_1eimjtqjc)"}},container:{border:{desktop:"var(--_1eimjtqjd)"}}}},quickLinks:{standard:{headline:{typography:{font:"var(--_1eimjtqje)",textCase:"var(--_1eimjtqjf)",letterSpacing:"var(--_1eimjtqjg)"}},links:{typography:{font:"var(--_1eimjtqjh)",textCase:"var(--_1eimjtqji)",letterSpacing:"var(--_1eimjtqjj)"}}}},newsletter:{homepage:{copy:{typography:{font:"var(--_1eimjtqjk)",letterSpacing:"var(--_1eimjtqjl)"},color:"var(--_1eimjtqjm)"},container:{border:"var(--_1eimjtqjn)",bgColor:"var(--_1eimjtqjo)"}},standard:{copy:{color:"var(--_1eimjtqjp)"},container:{border:"var(--_1eimjtqjq)"}},pagePanel:{background:"var(--_1eimjtqjr)"}},imageGallery:{standard:{button:{bgColor:"var(--_1eimjtqjs)",iconColor:"var(--_1eimjtqjt)"}}},streamEntries:{standard:{byline:{typography:{font:"var(--_1eimjtqju)",textCase:"var(--_1eimjtqjv)",letterSpacing:"var(--_1eimjtqjw)"}}}},brandedDisclaimer:{standard:{copy:{typography:{font:"var(--_1eimjtqjx)",letterSpacing:"var(--_1eimjtqjy)"}},tooltipCopy:{typography:{font:"var(--_1eimjtqjz)",letterSpacing:"var(--_1eimjtqk0)"}},tooltipBackground:{color:"var(--_1eimjtqk1)"}}},ads:{standard:{container:{border:"var(--_1eimjtqk2)",bgColor:"var(--_1eimjtqk3)",boxShadow:"var(--_1eimjtqk4)"},label:{typography:{font:"var(--_1eimjtqk5)",textCase:"var(--_1eimjtqk6)",letterSpacing:"var(--_1eimjtqk7)"}}}},productCard:{scorecard:{score:{backgroundColor:"var(--_1eimjtqk8)",color:"var(--_1eimjtqk9)",typography:{font:"var(--_1eimjtqka)",letterSpacing:"var(--_1eimjtqkb)"}},header:{typography:{font:"var(--_1eimjtqkc)",textCase:"var(--_1eimjtqkd)",letterSpacing:"var(--_1eimjtqke)"}},copy:{typography:{font:"var(--_1eimjtqkf)",letterSpacing:"var(--_1eimjtqkg)"}}},standard:{productName:{typography:{mobile:{font:"var(--_1eimjtqkh)",letterSpacing:"var(--_1eimjtqki)"},desktop:{font:"var(--_1eimjtqkj)",letterSpacing:"var(--_1eimjtqkk)"}}},price:{typography:{mobile:{font:"var(--_1eimjtqkl)",letterSpacing:"var(--_1eimjtqkm)"},desktop:{font:"var(--_1eimjtqkn)",letterSpacing:"var(--_1eimjtqko)"}}},salePrice:{typography:{font:"var(--_1eimjtqkp)",letterSpacing:"var(--_1eimjtqkq)"},color:"var(--_1eimjtqkr)"},border:"var(--_1eimjtqks)"},featured:{label:{typography:{font:"var(--_1eimjtqkt)",textCase:"var(--_1eimjtqku)",letterSpacing:"var(--_1eimjtqkv)"}},productDescription:{typography:{font:"var(--_1eimjtqkw)",letterSpacing:"var(--_1eimjtqkx)"}},jumpLink:{typography:{font:"var(--_1eimjtqky)",textCase:"var(--_1eimjtqkz)",letterSpacing:"var(--_1eimjtql0)"}}}},table:{standard:{tableHeader:{typography:{font:"var(--_1eimjtql1)",textCase:"var(--_1eimjtql2)",letterSpacing:"var(--_1eimjtql3)"}},tableData:{typography:{font:"var(--_1eimjtql4)",letterSpacing:"var(--_1eimjtql5)"}},tableBorder:{border:"var(--_1eimjtql6)"},altRows:{color:"var(--_1eimjtql7)"}}},toc:{standard:{title:{typography:{font:"var(--_1eimjtql8)",textCase:"var(--_1eimjtql9)",letterSpacing:"var(--_1eimjtqla)"},color:"var(--_1eimjtqlb)"},bullet:{color:"var(--_1eimjtqlc)"},link:{color:"var(--_1eimjtqld)",hover:{color:"var(--_1eimjtqle)",boxShadow:"var(--_1eimjtqlf)"},boxShadow:"var(--_1eimjtqlg)",typography:{font:"var(--_1eimjtqlh)",letterSpacing:"var(--_1eimjtqli)"}}}},accordion:{standard:{header:{typography:{mobile:{font:"var(--_1eimjtqlj)",letterSpacing:"var(--_1eimjtqlk)"},desktop:{font:"var(--_1eimjtqll)",letterSpacing:"var(--_1eimjtqlm)"}}},icon:{color:"var(--_1eimjtqln)"},title:{typography:{font:"var(--_1eimjtqlo)",textCase:"var(--_1eimjtqlp)",letterSpacing:"var(--_1eimjtqlq)"}}}},card:{standard:{container:{bgColor:"var(--_1eimjtqlr)",border:"var(--_1eimjtqls)"},subhead:{typography:{font:"var(--_1eimjtqlt)",textCase:"var(--_1eimjtqlu)",letterSpacing:"var(--_1eimjtqlv)"}},copy:{typography:{font:"var(--_1eimjtqlw)",letterSpacing:"var(--_1eimjtqlx)"}},byline:{typography:{font:"var(--_1eimjtqly)",letterSpacing:"var(--_1eimjtqlz)"}}}},data:{standard:{label:{typography:{font:"var(--_1eimjtqm0)",textCase:"var(--_1eimjtqm1)",letterSpacing:"var(--_1eimjtqm2)"}},labelData:{typography:{font:"var(--_1eimjtqm3)",textCase:"var(--_1eimjtqm4)",letterSpacing:"var(--_1eimjtqm5)"}}}},login:{standard:{heading:{typography:{font:"var(--_1eimjtqm6)",letterSpacing:"var(--_1eimjtqm7)"}},helpText:{typography:{font:"var(--_1eimjtqm8)",letterSpacing:"var(--_1eimjtqm9)"}},username:{typography:{font:"var(--_1eimjtqma)",textCase:"var(--_1eimjtqmb)",letterSpacing:"var(--_1eimjtqmc)"}},copy:{typography:{font:"var(--_1eimjtqmd)",letterSpacing:"var(--_1eimjtqme)"}},data:{typography:{font:"var(--_1eimjtqmf)",textCase:"var(--_1eimjtqmg)",letterSpacing:"var(--_1eimjtqmh)"}},background:{color:"var(--_1eimjtqmi)"}}},accountCtr:{nav:{link:{typography:{font:"var(--_1eimjtqmj)",textCase:"var(--_1eimjtqmk)",letterSpacing:"var(--_1eimjtqml)"}}},standard:{helpText:{typography:{font:"var(--_1eimjtqmm)",letterSpacing:"var(--_1eimjtqmn)"}},link:{typography:{font:"var(--_1eimjtqmo)",textCase:"var(--_1eimjtqmp)",letterSpacing:"var(--_1eimjtqmq)"}},copy:{typography:{font:"var(--_1eimjtqmr)",letterSpacing:"var(--_1eimjtqms)"}}},subhead:{h2:{typography:{font:"var(--_1eimjtqmt)",letterSpacing:"var(--_1eimjtqmu)"}},h3:{typography:{font:"var(--_1eimjtqmv)",textCase:"var(--_1eimjtqmw)",letterSpacing:"var(--_1eimjtqmx)"}},h4:{typography:{font:"var(--_1eimjtqmy)",textCase:"var(--_1eimjtqmz)",letterSpacing:"var(--_1eimjtqn0)"}}}},byline:{inline:{author:{typography:{font:"var(--_1eimjtqn1)",textCase:"var(--_1eimjtqn2)",letterSpacing:"var(--_1eimjtqn3)"}},timestamp:{typography:{font:"var(--_1eimjtqn4)",textCase:"var(--_1eimjtqn5)",letterSpacing:"var(--_1eimjtqn6)"}},copy:{color:"var(--_1eimjtqn7)"}},stacked:{timestamp:{typography:{font:"var(--_1eimjtqn8)",textCase:"var(--_1eimjtqn9)",letterSpacing:"var(--_1eimjtqna)"}},author:{typography:{font:"var(--_1eimjtqnb)",textCase:"var(--_1eimjtqnc)",letterSpacing:"var(--_1eimjtqnd)"}},copy:{color:"var(--_1eimjtqne)"}},permalink:{copy:{color:"var(--_1eimjtqnf)"}}},streams:{standard:{border:"var(--_1eimjtqng)",pinned:{color:"var(--_1eimjtqnh)",typography:{font:"var(--_1eimjtqni)",textCase:"var(--_1eimjtqnj)",letterSpacing:"var(--_1eimjtqnk)"}},link:{boxShadow:"var(--_1eimjtqnl)",hover:{boxShadow:"var(--_1eimjtqnm)",color:"var(--_1eimjtqnn)"},color:"var(--_1eimjtqno)"}}},contentCard:{standard:{image:{border:"var(--_1eimjtqnp)",borderRadius:"var(--_1eimjtqnq)",hover:{opacity:"var(--_1eimjtqnr)"}}}},seeMore:{standard:{label:{typography:{font:"var(--_1eimjtqns)",textCase:"var(--_1eimjtqnt)",letterSpacing:"var(--_1eimjtqnu)"},color:"var(--_1eimjtqnv)"},link:{hover:{opacity:"var(--_1eimjtqnw)"}}}},nlCard:{standard:{frequency:{typography:{font:"var(--_1eimjtqnx)",textCase:"var(--_1eimjtqny)",letterSpacing:"var(--_1eimjtqnz)"}},headline:{typography:{font:"var(--_1eimjtqo0)",letterSpacing:"var(--_1eimjtqo1)"}},description:{typography:{font:"var(--_1eimjtqo2)",letterSpacing:"var(--_1eimjtqo3)"}},border:"var(--_1eimjtqo4)"}},nlPanel:{standard:{background:{color:"var(--_1eimjtqo5)"},headline:{color:"var(--_1eimjtqo6)",typography:{font:"var(--_1eimjtqo7)",textCase:"var(--_1eimjtqo8)",letterSpacing:"var(--_1eimjtqo9)"}}}},credit:{standard:{text:{color:"var(--_1eimjtqoa)"}}},coral:{primary:{color:"var(--_1eimjtqob)",fontFamily:"var(--_1eimjtqoc)"},primaryText:{color:"var(--_1eimjtqod)"},onPrimary:{color:"var(--_1eimjtqoe)"},comment:{typography:{font:"var(--_1eimjtqof)",letterSpacing:"var(--_1eimjtqog)"},unread:{color:"var(--_1eimjtqoh)"},rec:{color:"var(--_1eimjtqoi)"}},username:{color:"var(--_1eimjtqoj)",typography:{font:"var(--_1eimjtqok)",letterSpacing:"var(--_1eimjtqol)"}},meta:{typography:{font:"var(--_1eimjtqom)",letterSpacing:"var(--_1eimjtqon)"}}},notification:{standard:{copy:{typography:{font:"var(--_1eimjtqoo)",letterSpacing:"var(--_1eimjtqop)"}},headline:{typography:{font:"var(--_1eimjtqoq)",letterSpacing:"var(--_1eimjtqor)"}},timestamp:{typography:{font:"var(--_1eimjtqos)",textCase:"var(--_1eimjtqot)",letterSpacing:"var(--_1eimjtqou)"},color:"var(--_1eimjtqov)"},alert:{color:"var(--_1eimjtqow)",typography:{font:"var(--_1eimjtqox)",letterSpacing:"var(--_1eimjtqoy)"}},alertType:{color:"var(--_1eimjtqoz)"}}},zephr:{paywall:{background:{color:"var(--_1eimjtqp0)"},headline:{typography:{mobile:{font:"var(--_1eimjtqp1)",letterSpacing:"var(--_1eimjtqp2)"},desktop:{font:"var(--_1eimjtqp3)",letterSpacing:"var(--_1eimjtqp4)"}}},dek:{typography:{mobile:{font:"var(--_1eimjtqp5)",letterSpacing:"var(--_1eimjtqp6)"},desktop:{font:"var(--_1eimjtqp7)",letterSpacing:"var(--_1eimjtqp8)"}}}},regwall:{headline:{typography:{mobile:{font:"var(--_1eimjtqp9)",letterSpacing:"var(--_1eimjtqpa)"},desktop:{font:"var(--_1eimjtqpb)",letterSpacing:"var(--_1eimjtqpc)"}}},helpText:{typography:{font:"var(--_1eimjtqpd)",letterSpacing:"var(--_1eimjtqpe)"}}}},subsLp:{compact:{h1:{typography:{mobile:{font:"var(--_1eimjtqpf)",letterSpacing:"var(--_1eimjtqpg)"},desktop:{font:"var(--_1eimjtqph)",letterSpacing:"var(--_1eimjtqpi)"}}},dek:{typography:{mobile:{font:"var(--_1eimjtqpj)",letterSpacing:"var(--_1eimjtqpk)"},desktop:{font:"var(--_1eimjtqpl)",letterSpacing:"var(--_1eimjtqpm)"}}},planTitle:{typography:{font:"var(--_1eimjtqpn)",letterSpacing:"var(--_1eimjtqpo)"}},planPrice:{typography:{font:"var(--_1eimjtqpp)",letterSpacing:"var(--_1eimjtqpq)"}},radio:{fgColor:"var(--_1eimjtqpr)",bgColor:"var(--_1eimjtqps)"},bestValue:{typography:{font:"var(--_1eimjtqpt)",textCase:"var(--_1eimjtqpu)",letterSpacing:"var(--_1eimjtqpv)"},backgroundColor:"var(--_1eimjtqpw)",color:"var(--_1eimjtqpx)"},benefits:{typography:{font:"var(--_1eimjtqpy)",letterSpacing:"var(--_1eimjtqpz)"}}},full:{headline:{typography:{mobile:{font:"var(--_1eimjtqq0)",letterSpacing:"var(--_1eimjtqq1)"},desktop:{font:"var(--_1eimjtqq2)",letterSpacing:"var(--_1eimjtqq3)"}}},dek:{typography:{mobile:{font:"var(--_1eimjtqq4)",letterSpacing:"var(--_1eimjtqq5)"},desktop:{font:"var(--_1eimjtqq6)",letterSpacing:"var(--_1eimjtqq7)"}}},benefits:{typography:{font:"var(--_1eimjtqq8)",letterSpacing:"var(--_1eimjtqq9)"}},planTitle:{typography:{font:"var(--_1eimjtqqa)",letterSpacing:"var(--_1eimjtqqb)"}},planPrice:{typography:{font:"var(--_1eimjtqqc)",letterSpacing:"var(--_1eimjtqqd)"}}},standard:{h2:{typography:{mobile:{font:"var(--_1eimjtqqe)",letterSpacing:"var(--_1eimjtqqf)"},desktop:{font:"var(--_1eimjtqqg)",letterSpacing:"var(--_1eimjtqqh)"}}},h3:{typography:{font:"var(--_1eimjtqqi)",letterSpacing:"var(--_1eimjtqqj)"}},dek:{typography:{font:"var(--_1eimjtqqk)",letterSpacing:"var(--_1eimjtqql)"}},checkbox:{typography:{font:"var(--_1eimjtqqm)",letterSpacing:"var(--_1eimjtqqn)"},bgColor:"var(--_1eimjtqqo)",color:"var(--_1eimjtqqp)"}}}},synth:{comp:{ad:{adContainerBackgroundBoxshadow:{borderBottom:"var(--_1eimjtqqq)"},articleSponsorshipMobile:{paddingTop:"var(--_1eimjtqqr)"},articleSponsorshipHeadlineAboveDesktop:{paddingTop:"var(--_1eimjtqqs)"},frontpageHeroTabletAndDesktop:{marginTop:"var(--_1eimjtqqt)",marginBottom:"var(--_1eimjtqqu)"},hubSponsorshipMobile:{marginBottom:"var(--_1eimjtqqv)"},medrecFrontpageHeroMobile:{borderTop:"var(--_1eimjtqqw)",borderBottom:"var(--_1eimjtqqx)",padding:"var(--_1eimjtqqy)"},networkRiverDesktopTop:{marginBottom:"var(--_1eimjtqqz)"},networkRiverDesktop:{marginBottom:"var(--_1eimjtqr0)",marginTop:"var(--_1eimjtqr1)"},networkRiverTabletTop:{marginBottom:"var(--_1eimjtqr2)"},networkRiverTablet:{marginBottom:"var(--_1eimjtqr3)",marginTop:"var(--_1eimjtqr4)"},networkRiverMobileTop:{marginBottom:"var(--_1eimjtqr5)"},networkRiverMobile:{marginBottom:"var(--_1eimjtqr6)"},streamLeaderboardDesktop:{marginTop:"var(--_1eimjtqr7)"},streamLeaderboardTablet:{marginTop:"var(--_1eimjtqr8)"},nativeLinkset:{bgColor:"var(--_1eimjtqr9)"},leaderboardDesktop:{marginTop:"var(--_1eimjtqra)",marginBottom:"var(--_1eimjtqrb)"},leaderboardTablet:{marginTop:"var(--_1eimjtqrc)"},mobileFullWidthContentCard:{margin:"var(--_1eimjtqrd)",paddingLeft:"var(--_1eimjtqre)",paddingRight:"var(--_1eimjtqrf)"}},articleDetailsBar:{container:{specialFeature:{mobile:{marginTop:"var(--_1eimjtqrg)"},desktop:{marginTop:"var(--_1eimjtqrh)",borderTop:"var(--_1eimjtqri)",borderBottom:"var(--_1eimjtqrj)",padding:"var(--_1eimjtqrk)"}},standard:{desktop:{marginTop:"var(--_1eimjtqrl)"}}}},articleRecirc:{backgroundColor:"var(--_1eimjtqrm)",borderTop:"var(--_1eimjtqrn)",borderRight:"var(--_1eimjtqro)",border:{padding:"var(--_1eimjtqrp)"},leftContent:{display:"var(--_1eimjtqrq)"}},brandedContentSponsor:{darkLogo:{display:"var(--_1eimjtqrr)"},lightLogo:{display:"var(--_1eimjtqrs)"}},category:{articleMetaStandard:{color:"var(--_1eimjtqrt)",boxShadow:"var(--_1eimjtqru)"},articleMetaFeature:{color:"var(--_1eimjtqrv)",boxShadow:"var(--_1eimjtqrw)"},articleMetaFeatureSplit:{color:"var(--_1eimjtqrx)",boxShadow:"var(--_1eimjtqry)"},articleMetaSpecial:{color:"var(--_1eimjtqrz)",boxShadow:"var(--_1eimjtqs0)",desktop:{color:"var(--_1eimjtqs1)"}},articleMetaSpecialSplit:{color:"var(--_1eimjtqs2)",boxShadow:"var(--_1eimjtqs3)"},separator:{marginLeft:"var(--_1eimjtqs4)",color:"var(--_1eimjtqs5)",borderBottom:"var(--_1eimjtqs6)"}},checkoutConfirmation:{container:{width:"var(--_1eimjtqs7)"},mobileContainer:{maxWidth:"var(--_1eimjtqs8)"},title:{fontWeight:"var(--_1eimjtqs9)"},paragraph:{fontWeight:"var(--_1eimjtqsa)"},returnButton:{font:"var(--_1eimjtqsb)",textTransform:"var(--_1eimjtqsc)",backgroundColor:"var(--_1eimjtqsd)"},newsletterCards:{tablet:{gridTemplateColumns:"var(--_1eimjtqse)"},desktop:{gridTemplateColumns:"var(--_1eimjtqsf)"}}},subscriptionBenefits:{benefitIcon:{border:"var(--_1eimjtqsg)"},helpSection:{borderTop:"var(--_1eimjtqsh)"}},subscriptionCollage:{container:{background:"var(--_1eimjtqsi)"}},subscriptionPricingPlan:{full:{headline:{bgColor:"var(--_1eimjtqsj)"}}},contentBlockCrossCommunity:{community:{display:"var(--_1eimjtqsk)"}},commentCount:{fullWidthLede:{fontColor:"var(--_1eimjtqsl)",borderColor:"var(--_1eimjtqsm)",hover:{backgroundColor:"var(--_1eimjtqsn)",borderColor:"var(--_1eimjtqso)",textColor:"var(--_1eimjtqsp)"}},splitLede:{fontColor:"var(--_1eimjtqsq)",borderColor:"var(--_1eimjtqsr)",hover:{backgroundColor:"var(--_1eimjtqss)",borderColor:"var(--_1eimjtqst)",textColor:"var(--_1eimjtqsu)"}},specialLede:{fontColor:"var(--_1eimjtqsv)"},stickyNav:{borderColor:"var(--_1eimjtqsw)"},quickPostRiver:{textColor:"var(--_1eimjtqsx)"},icon:{marginTop:"var(--_1eimjtqsy)"}},prominentContentCard:{border:"var(--_1eimjtqsz)",padding:{default:"var(--_1eimjtqt0)",river:"var(--_1eimjtqt1)",narrowRiver:"var(--_1eimjtqt2)"},contentBlock:{mobile:{width:"var(--_1eimjtqt3)"},tablet:{width:"var(--_1eimjtqt4)"},desktop:{width:"var(--_1eimjtqt5)"},spacing:{mobile:{marginLeft:"var(--_1eimjtqt6)"},tablet:{marginLeft:"var(--_1eimjtqt7)",marginRight:"var(--_1eimjtqt8)"}}},overlap:{margin:"var(--_1eimjtqt9)",padding:"var(--_1eimjtqta)",backgroundColor:"var(--_1eimjtqtb)",border:"var(--_1eimjtqtc)",borderRadius:"var(--_1eimjtqtd)",tablet:{margin:"var(--_1eimjtqte)",padding:"var(--_1eimjtqtf)",border:"var(--_1eimjtqtg)",boxShadow:"var(--_1eimjtqth)"}},overlapRiver:{marginTop:"var(--_1eimjtqti)",marginLeft:"var(--_1eimjtqtj)",padding:"var(--_1eimjtqtk)",backgroundColor:"var(--_1eimjtqtl)",tablet:{marginTop:"var(--_1eimjtqtm)",marginLeft:"var(--_1eimjtqtn)",padding:"var(--_1eimjtqto)"}},overlapCategoryPillar:{margin:"var(--_1eimjtqtp)",padding:"var(--_1eimjtqtq)",backgroundColor:"var(--_1eimjtqtr)",border:"var(--_1eimjtqts)",borderRadius:"var(--_1eimjtqtt)",tablet:{margin:"var(--_1eimjtqtu)",padding:"var(--_1eimjtqtv)",border:"var(--_1eimjtqtw)",borderRadius:"var(--_1eimjtqtx)",boxShadow:"var(--_1eimjtqty)",alignSelf:"var(--_1eimjtqtz)"},desktop:{minHeight:"var(--_1eimjtqu0)"}},image:{marginBottom:"var(--_1eimjtqu1)",marginLeft:"var(--_1eimjtqu2)",borderRadius:"var(--_1eimjtqu3)",width:"var(--_1eimjtqu4)",tablet:{width:"var(--_1eimjtqu5)",marginLeft:"var(--_1eimjtqu6)"},treatment:{one:{clipPath:"var(--_1eimjtqu7)"},two:{clipPath:"var(--_1eimjtqu8)"},three:{clipPath:"var(--_1eimjtqu9)"},four:{clipPath:"var(--_1eimjtqua)"},five:{clipPath:"var(--_1eimjtqub)"}},overlay:{base:{inset:"var(--_1eimjtquc)"},one:{background:"var(--_1eimjtqud)",mixBlendMode:"var(--_1eimjtque)"},two:{background:"var(--_1eimjtquf)",mixBlendMode:"var(--_1eimjtqug)"},three:{background:"var(--_1eimjtquh)",mixBlendMode:"var(--_1eimjtqui)"},four:{background:"var(--_1eimjtquj)",mixBlendMode:"var(--_1eimjtquk)"},five:{background:"var(--_1eimjtqul)",mixBlendMode:"var(--_1eimjtqum)"}}}},featureFullWidthLede:{outerContainer:{mobile:{padding:"var(--_1eimjtqun)"},desktop:{padding:"var(--_1eimjtquo)"}},container:{mobile:{paddingTop:"var(--_1eimjtqup)"},desktop:{padding:"var(--_1eimjtquq)"}},textContainer:{mobile:{backgroundColor:"var(--_1eimjtqur)",borderRadius:"var(--_1eimjtqus)",margin:"var(--_1eimjtqut)",padding:"var(--_1eimjtquu)",zIndex:"var(--_1eimjtquv)"},desktop:{flexDirection:"var(--_1eimjtquw)",margin:"var(--_1eimjtqux)",backgroundColor:"var(--_1eimjtquy)",zIndex:"var(--_1eimjtquz)",padding:"var(--_1eimjtqv0)",maxWidth:"var(--_1eimjtqv1)",borderRadius:"var(--_1eimjtqv2)"}},rule:{mobile:{margin:"var(--_1eimjtqv3)"},desktop:{margin:"var(--_1eimjtqv4)"}},image:{container:{mobile:{clipPath:"var(--_1eimjtqv5)",margin:"var(--_1eimjtqv6)"},tablet:{margin:"var(--_1eimjtqv7)"},desktop:{margin:"var(--_1eimjtqv8)",clipPath:"var(--_1eimjtqv9)",padding:"var(--_1eimjtqva)"}},before:{base:{zIndex:"var(--_1eimjtqvb)",opacity:"var(--_1eimjtqvc)",mixBlendMode:"var(--_1eimjtqvd)"},mobile:{background:"var(--_1eimjtqve)"},desktop:{background:"var(--_1eimjtqvf)"}}},mobile:{image:{container:{mobile:{clipPath:"var(--_1eimjtqvg)",margin:"var(--_1eimjtqvh)"},tablet:{margin:"var(--_1eimjtqvi)"},desktop:{margin:"var(--_1eimjtqvj)",clipPath:"var(--_1eimjtqvk)",padding:"var(--_1eimjtqvl)"}},before:{base:{zIndex:"var(--_1eimjtqvm)",opacity:"var(--_1eimjtqvn)",mixBlendMode:"var(--_1eimjtqvo)"},mobile:{background:"var(--_1eimjtqvp)"},desktop:{background:"var(--_1eimjtqvq)"}}}}},featureSquareLede:{outerContainer:{mobile:{padding:"var(--_1eimjtqvr)"},desktop:{padding:"var(--_1eimjtqvs)"}},container:{mobile:{paddingTop:"var(--_1eimjtqvt)"},desktop:{padding:"var(--_1eimjtqvu)"}},textContainer:{mobile:{backgroundColor:"var(--_1eimjtqvv)",borderRadius:"var(--_1eimjtqvw)",margin:"var(--_1eimjtqvx)",padding:"var(--_1eimjtqvy)",zIndex:"var(--_1eimjtqvz)"},tablet:{margin:"var(--_1eimjtqw0)"},desktop:{margin:"var(--_1eimjtqw1)",backgroundColor:"var(--_1eimjtqw2)",zIndex:"var(--_1eimjtqw3)",padding:"var(--_1eimjtqw4)",borderRadius:"var(--_1eimjtqw5)"}},image:{container:{mobile:{clipPath:"var(--_1eimjtqw6)",margin:"var(--_1eimjtqw7)"},tablet:{margin:"var(--_1eimjtqw8)"},desktop:{clipPath:"var(--_1eimjtqw9)",padding:"var(--_1eimjtqwa)",margin:"var(--_1eimjtqwb)"}},before:{base:{zIndex:"var(--_1eimjtqwc)",opacity:"var(--_1eimjtqwd)",mixBlendMode:"var(--_1eimjtqwe)"},mobile:{background:"var(--_1eimjtqwf)"},desktop:{background:"var(--_1eimjtqwg)"}}},mobile:{image:{container:{mobile:{clipPath:"var(--_1eimjtqwh)",margin:"var(--_1eimjtqwi)"},tablet:{margin:"var(--_1eimjtqwj)"},desktop:{clipPath:"var(--_1eimjtqwk)",padding:"var(--_1eimjtqwl)",margin:"var(--_1eimjtqwm)"}},before:{base:{zIndex:"var(--_1eimjtqwn)",opacity:"var(--_1eimjtqwo)",mixBlendMode:"var(--_1eimjtqwp)"},mobile:{background:"var(--_1eimjtqwq)"},desktop:{background:"var(--_1eimjtqwr)"}}}}},specialFeatureFullWidthLede:{outerContainer:{mobile:{padding:"var(--_1eimjtqws)"},desktop:{padding:"var(--_1eimjtqwt)"}},image:{container:{mobile:{clipPath:"var(--_1eimjtqwu)"},desktop:{clipPath:"var(--_1eimjtqwv)",padding:"var(--_1eimjtqww)"}},before:{base:{zIndex:"var(--_1eimjtqwx)",opacity:"var(--_1eimjtqwy)",mixBlendMode:"var(--_1eimjtqwz)"},mobile:{background:"var(--_1eimjtqx0)"},desktop:{background:"var(--_1eimjtqx1)"}}},textContainer:{mobile:{margin:"var(--_1eimjtqx2)",padding:"var(--_1eimjtqx3)",boxShadow:"var(--_1eimjtqx4)"},desktop:{margin:"var(--_1eimjtqx5)",padding:"var(--_1eimjtqx6)",backgroundColor:"var(--_1eimjtqx7)",boxShadow:"var(--_1eimjtqx8)",transform:"var(--_1eimjtqx9)",width:"var(--_1eimjtqxa)",alignSelf:"var(--_1eimjtqxb)"}},captionContainer:{mobile:{borderTop:"var(--_1eimjtqxc)",padding:"var(--_1eimjtqxd)"},desktop:{textAlign:"var(--_1eimjtqxe)",maxWidth:"var(--_1eimjtqxf)",margin:"var(--_1eimjtqxg)",borderTop:"var(--_1eimjtqxh)",padding:"var(--_1eimjtqxi)"}},mobile:{image:{container:{mobile:{clipPath:"var(--_1eimjtqxj)"},desktop:{clipPath:"var(--_1eimjtqxk)",padding:"var(--_1eimjtqxl)"}},before:{base:{zIndex:"var(--_1eimjtqxm)",opacity:"var(--_1eimjtqxn)",mixBlendMode:"var(--_1eimjtqxo)"},mobile:{background:"var(--_1eimjtqxp)"},desktop:{background:"var(--_1eimjtqxq)"}}}}},specialFeatureSquareLede:{outerContainer:{mobile:{padding:"var(--_1eimjtqxr)"},desktop:{padding:"var(--_1eimjtqxs)"}},container:{alignItems:"var(--_1eimjtqxt)",padding:"var(--_1eimjtqxu)"},image:{container:{mobile:{clipPath:"var(--_1eimjtqxv)"},desktop:{clipPath:"var(--_1eimjtqxw)",padding:"var(--_1eimjtqxx)"}},before:{base:{zIndex:"var(--_1eimjtqxy)",opacity:"var(--_1eimjtqxz)",mixBlendMode:"var(--_1eimjtqy0)"},mobile:{background:"var(--_1eimjtqy1)"},desktop:{background:"var(--_1eimjtqy2)"}},desktop:{maxWidth:"var(--_1eimjtqy3)",minHeight:"var(--_1eimjtqy4)"}},textContainer:{mobile:{margin:"var(--_1eimjtqy5)",padding:"var(--_1eimjtqy6)",boxShadow:"var(--_1eimjtqy7)"},desktop:{zIndex:"var(--_1eimjtqy8)",width:"var(--_1eimjtqy9)",padding:"var(--_1eimjtqya)",margin:"var(--_1eimjtqyb)",minHeight:"var(--_1eimjtqyc)",alignContent:"var(--_1eimjtqyd)",boxShadow:"var(--_1eimjtqye)",backgroundColor:"var(--_1eimjtqyf)",transform:"var(--_1eimjtqyg)",before:{content:"var(--_1eimjtqyh)",position:"var(--_1eimjtqyi)",height:"var(--_1eimjtqyj)",width:"var(--_1eimjtqyk)",borderLeftWidth:"var(--_1eimjtqyl)"}}},captionContainer:{desktop:{float:"var(--_1eimjtqym)"},footer:{mobile:{borderTop:"var(--_1eimjtqyn)",marginTop:"var(--_1eimjtqyo)"}}},mobile:{image:{container:{mobile:{clipPath:"var(--_1eimjtqyp)"},desktop:{clipPath:"var(--_1eimjtqyq)",padding:"var(--_1eimjtqyr)"}},before:{base:{zIndex:"var(--_1eimjtqys)",opacity:"var(--_1eimjtqyt)",mixBlendMode:"var(--_1eimjtqyu)"},mobile:{background:"var(--_1eimjtqyv)"},desktop:{background:"var(--_1eimjtqyw)"}}}},scotchRule:{display:"var(--_1eimjtqyx)",marginBottom:"var(--_1eimjtqyy)"}},specialFeatureOverlayLede:{mediaInnerContainer:{mixBlendMode:"var(--_1eimjtqyz)"},textContainer:{mobile:{backgroundColor:"var(--_1eimjtqz0)",padding:"var(--_1eimjtqz1)",margin:"var(--_1eimjtqz2)",width:"var(--_1eimjtqz3)",borderWidth:"var(--_1eimjtqz4)"},desktop:{padding:"var(--_1eimjtqz5)",top:"var(--_1eimjtqz6)"}}},eightUpPattern:{primaryCard:{border:"var(--_1eimjtqz7)",borderRadius:"var(--_1eimjtqz8)",boxShadow:"var(--_1eimjtqz9)",mobile:{padding:"var(--_1eimjtqza)"},tablet:{padding:"var(--_1eimjtqzb)"},desktop:{padding:"var(--_1eimjtqzc)"}},secondaryContainer:{desktop:{padding:"var(--_1eimjtqzd)"}},tertiaryContainer:{mobile:{padding:"var(--_1eimjtqze)"},tablet:{padding:"var(--_1eimjtqzf)"},desktop:{padding:"var(--_1eimjtqzg)"}}},sevenUpPattern:{primaryCard:{border:"var(--_1eimjtqzh)",borderRadius:"var(--_1eimjtqzi)",boxShadow:"var(--_1eimjtqzj)",mobile:{padding:"var(--_1eimjtqzk)"},desktop:{padding:"var(--_1eimjtqzl)"}},thirdContainer:{desktop:{padding:"var(--_1eimjtqzm)"}}},fiveGridPattern:{border:{borderRight:"var(--_1eimjtqzn)",padding:"var(--_1eimjtqzo)"},container:{desktop:{justifyContent:"var(--_1eimjtqzp)",padding:"var(--_1eimjtqzq)"}},overflowCard:{marginBottom:"var(--_1eimjtqzr)"},mobileInnerContainer:{padding:"var(--_1eimjtqzs)"}},fourUpAltPattern:{primaryContainer:{mobile:{borderBottom:"var(--_1eimjtqzt)",paddingBottom:"var(--_1eimjtqzu)"},tablet:{borderBottom:"var(--_1eimjtqzv)",paddingBottom:"var(--_1eimjtqzw)"},desktop:{borderBottom:"var(--_1eimjtqzx)",paddingBottom:"var(--_1eimjtqzy)"},contentBlock:{alignSelf:"var(--_1eimjtqzz)"},image:{tablet:{width:"var(--_1eimjtq100)",height:"var(--_1eimjtq101)"},desktop:{width:"var(--_1eimjtq102)",height:"var(--_1eimjtq103)"}}},secondaryContainer:{mobile:{paddingTop:"var(--_1eimjtq104)"}},compactContainer:{mobile:{padding:"var(--_1eimjtq105)"},desktop:{padding:"var(--_1eimjtq106)"}}},fourUpPattern:{firstCard:{contentBlock:{margin:{tablet:"var(--_1eimjtq107)",mobile:"var(--_1eimjtq108)"},textShadow:"var(--_1eimjtq109)"},image:{paddingRight:{tablet:"var(--_1eimjtq10a)",mobile:"var(--_1eimjtq10b)"}}}},headerPattern:{maxHeight:{marginBottom:"var(--_1eimjtq10c)",mobile:{maxHeight:"var(--_1eimjtq10d)"},desktop:{maxHeight:"var(--_1eimjtq10e)"}},collapsedButton:{backgroundColor:"var(--_1eimjtq10f)"}},captionCredit:{specialFeature:{mobile:{textAlign:"var(--_1eimjtq10g)"},desktop:{textAlign:"var(--_1eimjtq10h)",paddingLeft:"var(--_1eimjtq10i)"}},specialFeatureFullWidth:{mobile:{textAlign:"var(--_1eimjtq10j)"},desktop:{textAlign:"var(--_1eimjtq10k)"}}},mediaIcon:{circle:{small:{inset:"var(--_1eimjtq10l)"},medium:{inset:"var(--_1eimjtq10m)"},large:{inset:"var(--_1eimjtq10n)"}}},newsletter:{after:{content:"var(--_1eimjtq10o)",padding:"var(--_1eimjtq10p)"},homepage:{border:{borderWidth:"var(--_1eimjtq10q)"},input:{backgroundColor:"var(--_1eimjtq10r)",borderColor:"var(--_1eimjtq10s)",color:"var(--_1eimjtq10t)",paddingRight:"var(--_1eimjtq10u)",placeholder:{color:"var(--_1eimjtq10v)"}},container:{border:"var(--_1eimjtq10w)"},desktopWrapper:{margin:"var(--_1eimjtq10x)"}},standard:{container:{padding:"var(--_1eimjtq10y)"}},input:{button:{color:"var(--_1eimjtq10z)"},placeholder:{color:"var(--_1eimjtq110)"}},newslettersPagePanel:{input:{background:"var(--_1eimjtq111)",placeholder:{color:"var(--_1eimjtq112)"}},button:{background:"var(--_1eimjtq113)",foreground:"var(--_1eimjtq114)"}}},newsletterPageCard:{container:{borderRadius:"var(--_1eimjtq115)"}},pageHeader:{xsmall:{container:{mobile:{paddingTop:"var(--_1eimjtq116)",paddingBottom:"var(--_1eimjtq117)"},desktop:{paddingTop:"var(--_1eimjtq118)",paddingBottom:"var(--_1eimjtq119)"}},title:{mobile:{marginBottom:"var(--_1eimjtq11a)"},desktop:{marginBottom:"var(--_1eimjtq11b)"}},description:{mobile:{marginBottom:"var(--_1eimjtq11c)"},desktop:{marginBottom:"var(--_1eimjtq11d)"}}},small:{container:{mobile:{paddingTop:"var(--_1eimjtq11e)",paddingBottom:"var(--_1eimjtq11f)"},desktop:{paddingTop:"var(--_1eimjtq11g)",paddingBottom:"var(--_1eimjtq11h)"}},title:{mobile:{marginBottom:"var(--_1eimjtq11i)"},desktop:{marginBottom:"var(--_1eimjtq11j)"}},description:{mobile:{marginBottom:"var(--_1eimjtq11k)"},desktop:{marginBottom:"var(--_1eimjtq11l)"}}},medium:{container:{mobile:{paddingTop:"var(--_1eimjtq11m)",paddingBottom:"var(--_1eimjtq11n)"},desktop:{paddingTop:"var(--_1eimjtq11o)",paddingBottom:"var(--_1eimjtq11p)"}},title:{mobile:{marginBottom:"var(--_1eimjtq11q)"},desktop:{marginBottom:"var(--_1eimjtq11r)"}},description:{mobile:{marginBottom:"var(--_1eimjtq11s)"},desktop:{marginBottom:"var(--_1eimjtq11t)"}}},large:{container:{mobile:{paddingTop:"var(--_1eimjtq11u)",paddingBottom:"var(--_1eimjtq11v)"},desktop:{paddingTop:"var(--_1eimjtq11w)",paddingBottom:"var(--_1eimjtq11x)"}},title:{mobile:{marginBottom:"var(--_1eimjtq11y)"},desktop:{marginBottom:"var(--_1eimjtq11z)"}},description:{mobile:{marginBottom:"var(--_1eimjtq120)"},desktop:{marginBottom:"var(--_1eimjtq121)"}}},links:{mobile:{gap:"var(--_1eimjtq122)"},desktop:{gap:"var(--_1eimjtq123)"}},borderBottom:"var(--_1eimjtq124)"},related:{heading:{after:{content:"var(--_1eimjtq125)",paddingLeft:"var(--_1eimjtq126)"}},item:{listStyle:"var(--_1eimjtq127)",marker:{color:"var(--_1eimjtq128)"}}},river:{indent:"var(--_1eimjtq129)",padding:"var(--_1eimjtq12a)"},loginForm:{background:"var(--_1eimjtq12b)",logo:{color:"var(--_1eimjtq12c)"},footer:{color:"var(--_1eimjtq12d)",fill:"var(--_1eimjtq12e)"}},sharedStyles:{contentCard:{hover:{background:"var(--_1eimjtq12f)"}},layout:{mainColumnMargin:"var(--_1eimjtq12g)"},standardSpacing:{xsmall:{mobile:{marginBottom:"var(--_1eimjtq12h)"},desktop:{marginBottom:"var(--_1eimjtq12i)"}},small:{mobile:{marginBottom:"var(--_1eimjtq12j)"},desktop:{marginBottom:"var(--_1eimjtq12k)"}},medium:{mobile:{marginBottom:"var(--_1eimjtq12l)"},desktop:{marginBottom:"var(--_1eimjtq12m)"}},large:{mobile:{marginBottom:"var(--_1eimjtq12n)"},desktop:{marginBottom:"var(--_1eimjtq12o)"}},xlarge:{mobile:{marginBottom:"var(--_1eimjtq12p)"},desktop:{marginBottom:"var(--_1eimjtq12q)"}}},fancyBorder:{borderImageSource:"var(--_1eimjtq12r)",borderImageSlice:"var(--_1eimjtq12s)",borderImageRepeat:"var(--_1eimjtq12t)",maskBorder:"var(--_1eimjtq12u)",borderStyle:"var(--_1eimjtq12v)",borderColor:"var(--_1eimjtq12w)"},fancyBorderSecondary:{borderImageSource:"var(--_1eimjtq12x)",borderColor:"var(--_1eimjtq12y)"},fancyBorderInverted:{borderImageSource:"var(--_1eimjtq12z)"},fancyTitle:{WebkitTextStroke:"var(--_1eimjtq130)",textShadow:"var(--_1eimjtq131)",color:"var(--_1eimjtq132)",fontFamily:"var(--_1eimjtq133)",letterSpacing:"var(--_1eimjtq134)",marginTop:"var(--_1eimjtq135)"},topLine:{display:"var(--_1eimjtq136)",width:"var(--_1eimjtq137)",height:"var(--_1eimjtq138)",marginBottom:"var(--_1eimjtq139)",backgroundColor:"var(--_1eimjtq13a)",boxShadow:"var(--_1eimjtq13b)",boxShadowInverted:"var(--_1eimjtq13c)"},lede:{overlayImage:{opacity:"var(--_1eimjtq13d)",height:"var(--_1eimjtq13e)",top:"var(--_1eimjtq13f)"},backgroundFill:{solidGradient:{background:"var(--_1eimjtq13g)"}},articleContainer:{standard:{marginTop:"var(--_1eimjtq13h)"},feature:{marginTop:"var(--_1eimjtq13i)"}}},rule:{primary:{borderImageSource:"var(--_1eimjtq13j)",borderImageSlice:"var(--_1eimjtq13k)",borderStyle:"var(--_1eimjtq13l)",borderWidth:"var(--_1eimjtq13m)",borderColor:"var(--_1eimjtq13n)"},inverted:{borderImageSource:"var(--_1eimjtq13o)",borderImageSlice:"var(--_1eimjtq13p)",borderStyle:"var(--_1eimjtq13q)",borderWidth:"var(--_1eimjtq13r)",borderColor:"var(--_1eimjtq13s)"}}},splitContentCard:{contentBlock:{paddingTop:"var(--_1eimjtq13t)"},image:{aspectRatio:"var(--_1eimjtq13u)",borderRadius:"var(--_1eimjtq13v)"}},compactContentCard:{image:{height:{mobile:"var(--_1eimjtq13w)",narrowRiver:"var(--_1eimjtq13x)"}},padding:{default:{mobile:"var(--_1eimjtq13y)",tablet:"var(--_1eimjtq13z)"},river:{mobile:"var(--_1eimjtq140)",tablet:"var(--_1eimjtq141)"},narrowRiver:"var(--_1eimjtq142)",latestRecirc:{mobile:"var(--_1eimjtq143)",tablet:"var(--_1eimjtq144)"}},border:{latestRecirc:"var(--_1eimjtq145)"}},standardLayout:{mainContainer:{maxWidth:"var(--_1eimjtq146)"},railContainer:{maxWidth:"var(--_1eimjtq147)"},gap:{width:"var(--_1eimjtq148)"}},threeGridPattern:{border:{borderRight:"var(--_1eimjtq149)",borderTop:"var(--_1eimjtq14a)",padding:"var(--_1eimjtq14b)"}},threeGridBigPattern:{desktopContainer:{gridGap:"var(--_1eimjtq14c)"}},threeUpAltPattern:{contentContainer:{primary:{padding:"var(--_1eimjtq14d)"}}},twoGridPattern:{border:{borderRight:"var(--_1eimjtq14e)",borderTop:"var(--_1eimjtq14f)",padding:"var(--_1eimjtq14g)"}},twoUpPattern:{container:{alignItems:"var(--_1eimjtq14h)",margin:{desktop:"var(--_1eimjtq14i)"}},firstCard:{container:{width:{tablet:"var(--_1eimjtq14j)"}},image:{width:{mobile:"var(--_1eimjtq14k)"},marginLeft:{mobile:"var(--_1eimjtq14l)"}},contentBlock:{margin:{tablet:"var(--_1eimjtq14m)",mobile:"var(--_1eimjtq14n)"},textShadow:"var(--_1eimjtq14o)"},metaOffset:{marginTop:{tablet:"var(--_1eimjtq14p)",mobile:"var(--_1eimjtq14q)"}}},secondCard:{container:{width:{tablet:"var(--_1eimjtq14r)"}},image:{width:{mobile:"var(--_1eimjtq14s)"},marginLeft:{mobile:"var(--_1eimjtq14t)"}},contentBlock:{margin:{tablet:"var(--_1eimjtq14u)",mobile:"var(--_1eimjtq14v)"},textShadow:"var(--_1eimjtq14w)"},metaOffset:{marginTop:{tablet:"var(--_1eimjtq14x)",mobile:"var(--_1eimjtq14y)"}}}},pagination:{linkText:{color:"var(--_1eimjtq14z)"}},primaryNavigationStandard:{container:{standard:{height:"var(--_1eimjtq150)",overflow:"var(--_1eimjtq151)"},homepage:{height:"var(--_1eimjtq152)"}},logo:{position:{standard:{top:"var(--_1eimjtq153)",left:"var(--_1eimjtq154)",zIndex:"var(--_1eimjtq155)","@media":{"screen and (min-width: 1180px)":{left:"var(--_1eimjtq156)"}}},homepage:{top:"var(--_1eimjtq157)",left:"var(--_1eimjtq158)","@media":{"screen and (min-width: 1180px)":{left:"var(--_1eimjtq159)"}}}}},linkMenu:{position:{standard:{top:"var(--_1eimjtq15a)",right:"var(--_1eimjtq15b)","@media":{"screen and (min-width: 1180px)":{right:"var(--_1eimjtq15c)"}}},homepage:{top:"var(--_1eimjtq15d)",right:"var(--_1eimjtq15e)","@media":{"screen and (min-width: 1180px)":{right:"var(--_1eimjtq15f)"}}}},item:{standard:{gap:"var(--_1eimjtq15g)",margin:"var(--_1eimjtq15h)"},homepage:{gap:"var(--_1eimjtq15i)",margin:"var(--_1eimjtq15j)"},monochrome:{boxShadow:"var(--_1eimjtq15k)"}}},buttonContainer:{position:{standard:{bottom:"var(--_1eimjtq15l)",right:"var(--_1eimjtq15m)","@media":{"screen and (min-width: 1180px)":{right:"var(--_1eimjtq15n)"}}},homepage:{bottom:"var(--_1eimjtq15o)",right:"var(--_1eimjtq15p)","@media":{"screen and (min-width: 1180px)":{right:"var(--_1eimjtq15q)"}}}},cta:{standard:{marginRight:"var(--_1eimjtq15r)"},homepage:{marginRight:"var(--_1eimjtq15s)"}},menuButton:{background:"var(--_1eimjtq15t)",color:"var(--_1eimjtq15u)",borderRadius:"var(--_1eimjtq15v)",width:"var(--_1eimjtq15w)",height:"var(--_1eimjtq15x)",hover:{background:"var(--_1eimjtq15y)",color:"var(--_1eimjtq15z)"},monochrome:{background:"var(--_1eimjtq160)",color:"var(--_1eimjtq161)",hover:{background:"var(--_1eimjtq162)",color:"var(--_1eimjtq163)"}}}}},primaryNavigationMobile:{container:{height:"var(--_1eimjtq164)"},logo:{margin:"var(--_1eimjtq165)",padding:"var(--_1eimjtq166)"},cta:{marginRight:"var(--_1eimjtq167)",color:"var(--_1eimjtq168)",boxShadow:"var(--_1eimjtq169)",hover:{color:"var(--_1eimjtq16a)",boxShadow:"var(--_1eimjtq16b)"}},buttonsContainer:{margin:"var(--_1eimjtq16c)"},menuButton:{background:"var(--_1eimjtq16d)",color:"var(--_1eimjtq16e)",padding:"var(--_1eimjtq16f)",margin:"var(--_1eimjtq16g)",monochrome:{color:"var(--_1eimjtq16h)"}}},primaryNavigation:{overhang:{screenMobile:"var(--_1eimjtq16i)",screenStandard:"var(--_1eimjtq16j)",screenHomepage:"var(--_1eimjtq16k)"}},minimalNav:{container:{display:"var(--_1eimjtq16l)",height:"var(--_1eimjtq16m)",padding:"var(--_1eimjtq16n)"},logo:{branded:{color:"var(--_1eimjtq16o)"}}},navigationDrawer:{search:{borderRadius:"var(--_1eimjtq16p)",iconColor:"var(--_1eimjtq16q)",fontSize:"var(--_1eimjtq16r)",backgroundColor:"var(--_1eimjtq16s)",fontColor:"var(--_1eimjtq16t)"},accordionMenu:{borderTop:"var(--_1eimjtq16u)",borderBottom:"var(--_1eimjtq16v)"},identityAuth:{link:{hover:{opacity:"var(--_1eimjtq16w)"}}}},nGridPattern:{border:{borderRight:"var(--_1eimjtq16x)",padding:"var(--_1eimjtq16y)"},container:{desktop:{justifyContent:"var(--_1eimjtq16z)"}},overflowCard:{marginBottom:"var(--_1eimjtq170)"}},mostPopularList:{standardVariation:{numberPadding:"var(--_1eimjtq171)",numberStyle:{content:"var(--_1eimjtq172)",position:"var(--_1eimjtq173)",left:"var(--_1eimjtq174)",borderRadius:"var(--_1eimjtq175)",textAlign:"var(--_1eimjtq176)",backgroundColor:"var(--_1eimjtq177)",marginTop:"var(--_1eimjtq178)",height:"var(--_1eimjtq179)",width:"var(--_1eimjtq17a)",display:"var(--_1eimjtq17b)",justifyContent:"var(--_1eimjtq17c)",alignItems:"var(--_1eimjtq17d)"},container:{mobile:{margin:"var(--_1eimjtq17e)"},desktop:{margin:"var(--_1eimjtq17f)"}},separator:{width:"var(--_1eimjtq17g)",borderBottom:"var(--_1eimjtq17h)",mobile:{paddingTop:"var(--_1eimjtq17i)",marginBottom:"var(--_1eimjtq17j)"},desktop:{paddingTop:"var(--_1eimjtq17k)",marginBottom:"var(--_1eimjtq17l)"}},headline:{color:"var(--_1eimjtq17m)",mobile:{font:"var(--_1eimjtq17n)",letterSpacing:"var(--_1eimjtq17o)"},desktop:{font:"var(--_1eimjtq17p)",letterSpacing:"var(--_1eimjtq17q)"}}},homepageVariation:{numberPadding:"var(--_1eimjtq17r)",numberStyle:{mobile:{content:"var(--_1eimjtq17s)",position:"var(--_1eimjtq17t)",left:"var(--_1eimjtq17u)",borderRadius:"var(--_1eimjtq17v)",textAlign:"var(--_1eimjtq17w)",backgroundColor:"var(--_1eimjtq17x)",marginTop:"var(--_1eimjtq17y)",height:"var(--_1eimjtq17z)",width:"var(--_1eimjtq180)",display:"var(--_1eimjtq181)",justifyContent:"var(--_1eimjtq182)",alignItems:"var(--_1eimjtq183)"},desktop:{height:"var(--_1eimjtq184)"}},headlineText:{trailingSymbol:{content:"var(--_1eimjtq185)",fontWeight:"var(--_1eimjtq186)",fontSize:"var(--_1eimjtq187)",verticalAlign:"var(--_1eimjtq188)",margin:"var(--_1eimjtq189)"}},container:{mobile:{margin:"var(--_1eimjtq18a)"},desktop:{margin:"var(--_1eimjtq18b)"}},headline:{color:"var(--_1eimjtq18c)",mobile:{font:"var(--_1eimjtq18d)",letterSpacing:"var(--_1eimjtq18e)"},desktop:{font:"var(--_1eimjtq18f)",letterSpacing:"var(--_1eimjtq18g)"}}},vergeBackgroundElement:{opacity:"var(--_1eimjtq18h)"},separator:{mobile:{paddingTop:"var(--_1eimjtq18i)",marginBottom:"var(--_1eimjtq18j)"},desktop:{paddingTop:"var(--_1eimjtq18k)",marginBottom:"var(--_1eimjtq18l)"}}},standardParagraph:{dropcap:{boxShadow:"var(--_1eimjtq18m)",padding:"var(--_1eimjtq18n)",textShadow:"var(--_1eimjtq18o)"},endmark:{background:"var(--_1eimjtq18p)",size:"var(--_1eimjtq18q)",marginTop:"var(--_1eimjtq18r)"},outdent:{marginLeft:"var(--_1eimjtq18s)"}},pullquote:{quote:{backgroundSize:"var(--_1eimjtq18t)",background:"var(--_1eimjtq18u)",lineHeight:"var(--_1eimjtq18v)"}},rail:{mostPopularSection:{margin:"var(--_1eimjtq18w)",top:"var(--_1eimjtq18x)"},stickySection:{top:"var(--_1eimjtq18y)"},stickySectionDesktop:{top:"var(--_1eimjtq18z)"}},highlight:{container:{padding:"var(--_1eimjtq190)"}},authorHeader:{image:{filter:"var(--_1eimjtq191)"},pageHeader:{margin:"var(--_1eimjtq192)"},subhead:{margin:"var(--_1eimjtq193)"}},ledeHed:{metaComponents:{base:{marginBottom:"var(--_1eimjtq194)"},specialFeature:{mobile:{margin:"var(--_1eimjtq195)"},desktop:{margin:"var(--_1eimjtq196)"}}},metaSpecialFeature:{display:"var(--_1eimjtq197)",margin:"var(--_1eimjtq198)",zIndex:"var(--_1eimjtq199)"},containerStandard:{mobile:{marginBottom:"var(--_1eimjtq19a)"},desktop:{marginBottom:"var(--_1eimjtq19b)"}},containerFullWidth:{desktop:{borderImageSource:"var(--_1eimjtq19c)",borderImageSlice:"var(--_1eimjtq19d)",borderImageRepeat:"var(--_1eimjtq19e)",borderStyle:"var(--_1eimjtq19f)",borderColor:"var(--_1eimjtq19g)",maskBorder:"var(--_1eimjtq19h)",margin:"var(--_1eimjtq19i)",padding:"var(--_1eimjtq19j)",borderWidth:"var(--_1eimjtq19k)"},mobile:{content:"var(--_1eimjtq19l)",display:"var(--_1eimjtq19m)",width:"var(--_1eimjtq19n)",marginTop:"var(--_1eimjtq19o)",borderBottom:"var(--_1eimjtq19p)"}},containerSplit:{content:"var(--_1eimjtq19q)",display:"var(--_1eimjtq19r)",width:"var(--_1eimjtq19s)",marginTop:"var(--_1eimjtq19t)",marginBottom:"var(--_1eimjtq19u)",borderBottom:"var(--_1eimjtq19v)",desktop:{marginTop:"var(--_1eimjtq19w)",marginBottom:"var(--_1eimjtq19x)"}}},ledeMeta:{feature:{marginTop:"var(--_1eimjtq19y)",desktop:{marginTop:"var(--_1eimjtq19z)",borderTop:"var(--_1eimjtq1a0)",paddingTop:"var(--_1eimjtq1a1)"}},specialFeature:{specialFullStyling:{textAlign:"var(--_1eimjtq1a2)",marginTop:"var(--_1eimjtq1a3)"},specialFullSponsoredContainer:{justifyContent:"var(--_1eimjtq1a4)"}},standard:{display:"var(--_1eimjtq1a5)",desktop:{marginBottom:"var(--_1eimjtq1a6)",marginTop:"var(--_1eimjtq1a7)"},mobile:{marginBottom:"var(--_1eimjtq1a8)",marginTop:"var(--_1eimjtq1a9)"},metaComponents:{position:"var(--_1eimjtq1aa)"},disclaimer:{maxWidth:"var(--_1eimjtq1ab)",marginBottom:"var(--_1eimjtq1ac)"}},containerFullWidth:{borderTop:"var(--_1eimjtq1ad)",width:"var(--_1eimjtq1ae)",margin:"var(--_1eimjtq1af)",paddingTop:"var(--_1eimjtq1ag)"},map:{display:"var(--_1eimjtq1ah)",metaComponents:{position:"var(--_1eimjtq1ai)"},desktop:{display:"var(--_1eimjtq1aj)",marginBottom:"var(--_1eimjtq1ak)",marginTop:"var(--_1eimjtq1al)",metaComponents:{position:"var(--_1eimjtq1am)"}},mobile:{marginBottom:"var(--_1eimjtq1an)"}}},ledeTitle:{container:{mobile:{paddingBottom:"var(--_1eimjtq1ao)"},desktop:{paddingBottom:"var(--_1eimjtq1ap)"}},specialFeature:{headline:{backgroundSize:{desktop:"var(--_1eimjtq1aq)",mobile:"var(--_1eimjtq1ar)"},background:{desktop:"var(--_1eimjtq1as)",mobile:"var(--_1eimjtq1at)"},backgroundPositioning:{width:"var(--_1eimjtq1au)",zIndex:"var(--_1eimjtq1av)",padding:"var(--_1eimjtq1aw)",backgroundColor:"var(--_1eimjtq1ax)"},paddingBottom:{desktop:"var(--_1eimjtq1ay)"}},specialFullStyling:{textAlign:"var(--_1eimjtq1az)",marginTop:"var(--_1eimjtq1b0)"}},featureFullWidth:{headline:{backgroundSize:{desktop:"var(--_1eimjtq1b1)",mobile:"var(--_1eimjtq1b2)"},background:{desktop:"var(--_1eimjtq1b3)",mobile:"var(--_1eimjtq1b4)"},paddingBottom:"var(--_1eimjtq1b5)"}},featureSplit:{headline:{backgroundSize:{desktop:"var(--_1eimjtq1b6)",mobile:"var(--_1eimjtq1b7)"},background:{desktop:"var(--_1eimjtq1b8)",mobile:"var(--_1eimjtq1b9)"}}},overlay:{headline:{backgroundSize:{desktop:"var(--_1eimjtq1ba)",mobile:"var(--_1eimjtq1bb)"},background:{desktop:"var(--_1eimjtq1bc)",mobile:"var(--_1eimjtq1bd)"},marginBottom:{desktop:"var(--_1eimjtq1be)",mobile:"var(--_1eimjtq1bf)"},paddingBottom:{desktop:"var(--_1eimjtq1bg)"}}},standard:{headline:{mobile:{display:"var(--_1eimjtq1bh)"},desktop:{display:"var(--_1eimjtq1bi)"}},dek:{mobile:{display:"var(--_1eimjtq1bj)",before:{content:"var(--_1eimjtq1bk)",display:"var(--_1eimjtq1bl)",position:"var(--_1eimjtq1bm)",height:"var(--_1eimjtq1bn)",marginRight:"var(--_1eimjtq1bo)",marginLeft:"var(--_1eimjtq1bp)",color:"var(--_1eimjtq1bq)"}},desktop:{display:"var(--_1eimjtq1br)"}}}},ledeByline:{fullWidth:{color:"var(--_1eimjtq1bs)"},split:{color:"var(--_1eimjtq1bt)"},specialFullWidth:{color:"var(--_1eimjtq1bu)",desktop:{color:"var(--_1eimjtq1bv)"}},specialSplit:{color:"var(--_1eimjtq1bw)",desktop:{color:"var(--_1eimjtq1bx)"}}},packageLede:{background:"var(--_1eimjtq1by)",backgroundOneUp:"var(--_1eimjtq1bz)",foreground:{color:"var(--_1eimjtq1c0)"},bottom:{mobile:"var(--_1eimjtq1c1)",tablet:"var(--_1eimjtq1c2)",desktop:"var(--_1eimjtq1c3)"},containerOneUp:{margin:"var(--_1eimjtq1c4)",tablet:{margin:"var(--_1eimjtq1c5)"}},oneUpImageContainer:{left:"var(--_1eimjtq1c6)",width:"var(--_1eimjtq1c7)",maxWidth:"var(--_1eimjtq1c8)",clipPath:"var(--_1eimjtq1c9)",before:{background:"var(--_1eimjtq1ca)",mixBlendMode:"var(--_1eimjtq1cb)"},container:{clipPath:"var(--_1eimjtq1cc)",background:"var(--_1eimjtq1cd)",mixBlendMode:"var(--_1eimjtq1ce)"}},heroContainerOneUp:{padding:"var(--_1eimjtq1cf)"},pageHeaderContainerOneUp:{clipPath:"var(--_1eimjtq1cg)",padding:"var(--_1eimjtq1ch)",width:"var(--_1eimjtq1ci)",marginTop:"var(--_1eimjtq1cj)",textAlign:"var(--_1eimjtq1ck)",left:"var(--_1eimjtq1cl)",transform:"var(--_1eimjtq1cm)",foregroundColor:"var(--_1eimjtq1cn)",after:{backgroundColor:"var(--_1eimjtq1co)",borderRadius:"var(--_1eimjtq1cp)"},tablet:{position:"var(--_1eimjtq1cq)",margin:"var(--_1eimjtq1cr)",padding:"var(--_1eimjtq1cs)",textAlign:"var(--_1eimjtq1ct)",bottom:"var(--_1eimjtq1cu)",width:"var(--_1eimjtq1cv)",opacity:"var(--_1eimjtq1cw)",left:"var(--_1eimjtq1cx)",transform:"var(--_1eimjtq1cy)"}},pageHeaderContainerZeroUp:{maxWidth:"var(--_1eimjtq1cz)",background:"var(--_1eimjtq1d0)",padding:{mobile:"var(--_1eimjtq1d1)",tablet:"var(--_1eimjtq1d2)"}},pageHeaderContainerThreeUp:{padding:{mobile:"var(--_1eimjtq1d3)",tablet:"var(--_1eimjtq1d4)"}},pageHeaderTitle:{one_up:{mobile:{font:"var(--_1eimjtq1d5)",letterSpacing:"var(--_1eimjtq1d6)",margin:"var(--_1eimjtq1d7)"},desktop:{font:"var(--_1eimjtq1d8)",letterSpacing:"var(--_1eimjtq1d9)"}},zero_up:{mobile:{font:"var(--_1eimjtq1da)",letterSpacing:"var(--_1eimjtq1db)",color:"var(--_1eimjtq1dc)"},desktop:{font:"var(--_1eimjtq1dd)",letterSpacing:"var(--_1eimjtq1de)"}},three_up:{mobile:{font:"var(--_1eimjtq1df)",letterSpacing:"var(--_1eimjtq1dg)"},desktop:{font:"var(--_1eimjtq1dh)",letterSpacing:"var(--_1eimjtq1di)"}}},pageHeaderDescription:{color:"var(--_1eimjtq1dj)"},articleBody:{border:"var(--_1eimjtq1dk)",paddingTop:"var(--_1eimjtq1dl)"}},footer:{logo:{height:"var(--_1eimjtq1dm)"},border:{borderStyle:"var(--_1eimjtq1dn)",borderColor:"var(--_1eimjtq1do)",borderImageSource:"var(--_1eimjtq1dp)",borderImageSlice:"var(--_1eimjtq1dq)",borderImageRepeat:"var(--_1eimjtq1dr)",maskBorder:"var(--_1eimjtq1ds)"}},shareButtons:{fullWidth:{icon:{color:"var(--_1eimjtq1dt)",hover:{fill:"var(--_1eimjtq1du)"}},button:{border:"var(--_1eimjtq1dv)",hover:{border:"var(--_1eimjtq1dw)",backgroundColor:"var(--_1eimjtq1dx)"}}},split:{icon:{color:"var(--_1eimjtq1dy)",hover:{fill:"var(--_1eimjtq1dz)"}},button:{border:"var(--_1eimjtq1e0)",hover:{border:"var(--_1eimjtq1e1)",backgroundColor:"var(--_1eimjtq1e2)"}}}},standardLede:{dek:{before:{content:"var(--_1eimjtq1e3)",display:"var(--_1eimjtq1e4)",position:"var(--_1eimjtq1e5)",marginRight:"var(--_1eimjtq1e6)",color:"var(--_1eimjtq1e7)"}},mediaContainer:{maxWidth:"var(--_1eimjtq1e8)"}},streamEntry:{streamEntryByline:{profileImage:{filter:"var(--_1eimjtq1e9)"},marker:{top:"var(--_1eimjtq1ea)",borderWidth:"var(--_1eimjtq1eb)"}}},timestamp:{latestRecirc:{color:"var(--_1eimjtq1ec)",font:"var(--_1eimjtq1ed)"},breaker:{color:"var(--_1eimjtq1ee)"}},contentBlockByline:{authorName:{color:"var(--_1eimjtq1ef)"},breaker:{authorName:{color:"var(--_1eimjtq1eg)"}}},contentBlockMeta:{metaLayoutBase:{display:"var(--_1eimjtq1eh)",columnGap:"var(--_1eimjtq1ei)",rowGap:"var(--_1eimjtq1ej)",alignItems:"var(--_1eimjtq1ek)",lineHeight:"var(--_1eimjtq1el)"},metaLayoutUpper:{large:{desktop:{marginBottom:"var(--_1eimjtq1em)"}}}},productCard:{cardContainer:{border:"var(--_1eimjtq1en)",desktop:{padding:"var(--_1eimjtq1eo)"},mobile:{padding:"var(--_1eimjtq1ep)"}},scoreContainer:{borderRadius:"var(--_1eimjtq1eq)"}},rating:{icon:{fill:"var(--_1eimjtq1er)"}},orderedList:{marker:{color:"var(--_1eimjtq1es)"}},actionBox:{color:"var(--_1eimjtq1et)",borderTop:"var(--_1eimjtq1eu)"},table:{title:{color:"var(--_1eimjtq1ev)"},header:{color:"var(--_1eimjtq1ew)"}},streamLede:{label:{color:"var(--_1eimjtq1ex)"},timestamp:{color:"var(--_1eimjtq1ey)"}},hierarchyLinks:{spacing:{mobile:{marginTop:"var(--_1eimjtq1ez)"},desktop:{marginTop:"var(--_1eimjtq1f0)"}}}}}},e1=e=>{let{communityThemeConfig:n,children:t}=e,r=(0,ee.useMemo)(()=>{let e={};return n?(Object.entries(n.overrides).forEach(t=>{let[r,o]=t,i=eX()(e0,r);if(i){let n=i.replace(/var\(([^)]+)\)/,"$1");e[n]=o,e[`--coral${n.replace(/__\w+$/,"").replace(/^--/,"-")}`]=o}(n.componentTokens[r]||[]).forEach(t=>{let r=t.replace(/\.value.*/,""),i=eX()(e0,r);if(!i)return;let a=i.replace(/var\(([^)]+)\)/,"$1");a.startsWith("--comp-coral")&&(a=`--coral-${a.slice(2).replace(/__\w+$/,"")}`);let s=eX()(n.themeData,r);s&&(e[a]=s.replace(/#([0-9A-Fa-f]{3,6})/g,o))})}),e):null},[n]);return(0,ee.useEffect)(()=>{r&&Object.keys(r).length>0&&Object.entries(r).forEach(e=>{let[n,t]=e;document.body.style.setProperty(n,t)})},[r]),r&&Object.keys(r).length>0?(0,Y.jsx)("div",{style:r,children:t}):t},e2=t(93853),e3=t.n(e2),e4=()=>(0,Y.jsxs)(e3(),{children:[(0,Y.jsx)("link",{rel:"shortcut icon",href:"/static-assets/icons/favicon.ico"}),(0,Y.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/static-assets/icons/apple-touch-icon.png"}),(0,Y.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/static-assets/icons/favicon-32x32.png"}),(0,Y.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/static-assets/icons/favicon-96x96.png"}),(0,Y.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/static-assets/icons/favicon-16x16.png"}),(0,Y.jsx)("link",{rel:"mask-icon",href:"/static-assets/icons/safari-pinned-tab.svg"}),(0,Y.jsx)("link",{rel:"icon",type:"image/png",href:"/static-assets/icons/android-chrome-192x192.png",sizes:"192x192"}),(0,Y.jsx)("link",{rel:"icon",type:"image/png",href:"/static-assets/icons/android-chrome-512x512.png",sizes:"512x512"})]}),e5=e=>{let{fonts:n}=e;if(!n)return null;let t=Object.entries(n).map(e=>{let[n,t]=e;return`${n}: ${t};`}).join("");return(0,Y.jsx)("style",{dangerouslySetInnerHTML:{__html:` :root { ${t} } `}})},e9=t(98026),e6=t(42103),e8=({children:e,loopNavData:n})=>{let[t,r]=(0,ee.useState)(!1),o=(0,ee.useCallback)(()=>{r(!0)},[]),i=(0,ee.useCallback)(()=>{r(!1)},[]);return(0,Y.jsx)(e6.Z.Provider,{value:{loopNavData:n,isDrawerOpen:t,openDrawer:o,closeDrawer:i,drawerId:"loopnav-drawer"},children:e})},e7=e=>{let{nodeId:n,children:r}=e,{node:o}=(0,eR.useLazyLoadQuery)((void 0!==w||(w=t(9274)).hash&&"4c3e8c249bd5b267f0ed4e22d21e8d9d"!==w.hash&&console.error("The definition of 'LoopNavProviderContainerQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),w),{nodeId:n}),i=o.loopNav?{title:o.loopNav.title,sections:o.loopNav.items.map(e=>{let t=!1,r=e.items.map(e=>{let r={...e};return(e.listItemResourceId===n||e.permalink&&new URL(e.permalink).pathname===o.path)&&(r.current=!0,t=!0),r});return{...e,items:r,current:t}})}:null;return(0,Y.jsx)(e8,{loopNavData:i,children:r})},ne=t(46644),nn=t(71042),nt=t(42498);let nr=[{name:"The Strategist",host:"nymag.com",path:"/strategist",url:"https://nymag.com/strategist"},{name:"Intelligencer",host:"nymag.com",path:"/intelligencer",url:"https://nymag.com/intelligencer"},{name:"New York Magazine",host:"nymag.com",url:"https://nymag.com/"},{name:"Vulture",host:"vulture.com",url:"https://www.vulture.com/"},{name:"Grub Street",host:"grubstreet.com",url:"https://www.grubstreet.com/"},{name:"The Cut",host:"thecut.com",url:"https://www.thecut.com/"},{name:"Curbed",host:"curbed.com",url:"https://www.curbed.com/"},{name:"Punch",host:"punchdrink.com",url:"https://www.punchdrink.com/"},{name:"Thrillist",host:"thrillist.com",url:"https://www.thrillist.com/"},{name:"The Dodo",host:"thedodo.com",url:"https://www.thedodo.com/"},{name:"Popsugar",host:"popsugar.com",url:"https://www.popsugar.com/"},{name:"Now This",host:"nowthisnews.com",url:"https://www.nowthisnews.com/"},{name:"The Verge",host:"theverge.com",url:"https://www.theverge.com/"},{name:"Eater",host:"eater.com",url:"https://www.eater.com/"},{name:"SBNation",host:"sbnation.com",url:"https://www.sbnation.com/"},{name:"Punch",host:"punchdrink.com",url:"https://www.punchdrink.com/"}],no=e=>nr.filter(n=>n.name!==e),ni={serverURL:"https://beta.sbnation.com",commentRecThreshold:5,enabled:!1,commentsEnabled:!1},na={subscriptionProviderUrl:"https://vox.memberful.com"};var ns=t(25785),nl=t(60998),nc=t(13759),nu=t.n(nc);let nd=(e,n)=>n.some(n=>e instanceof n),np=new WeakMap,nm=new WeakMap,nh=new WeakMap,nf={get(e,n,t){if(e instanceof IDBTransaction){if("done"===n)return np.get(e);if("store"===n)return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return ng(e[n])},set:(e,n,t)=>(e[n]=t,!0),has:(e,n)=>e instanceof IDBTransaction&&("done"===n||"store"===n)||n in e};function ng(e){var n;if(e instanceof IDBRequest)return function(e){let n=new Promise((n,t)=>{let r=()=>{e.removeEventListener("success",o),e.removeEventListener("error",i)},o=()=>{n(ng(e.result)),r()},i=()=>{t(e.error),r()};e.addEventListener("success",o),e.addEventListener("error",i)});return nh.set(n,e),n}(e);if(nm.has(e))return nm.get(e);let t="function"==typeof(n=e)?(i||(i=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(n)?function(...e){return n.apply(n_(this),e),ng(this.request)}:function(...e){return ng(n.apply(n_(this),e))}:(n instanceof IDBTransaction&&function(e){if(np.has(e))return;let n=new Promise((n,t)=>{let r=()=>{e.removeEventListener("complete",o),e.removeEventListener("error",i),e.removeEventListener("abort",i)},o=()=>{n(),r()},i=()=>{t(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",o),e.addEventListener("error",i),e.addEventListener("abort",i)});np.set(e,n)}(n),nd(n,o||(o=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])))?new Proxy(n,nf):n;return t!==e&&(nm.set(e,t),nh.set(t,e)),t}let n_=e=>nh.get(e),ny=["get","getKey","getAll","getAllKeys","count"],nv=["put","add","delete","clear"],nb=new Map;function nC(e,n){if(!(e instanceof IDBDatabase&&!(n in e)&&"string"==typeof n))return;if(nb.get(n))return nb.get(n);let t=n.replace(/FromIndex$/,""),r=n!==t,o=nv.includes(t);if(!(t in(r?IDBIndex:IDBObjectStore).prototype)||!(o||ny.includes(t)))return;let i=async function(e,...n){let i=this.transaction(e,o?"readwrite":"readonly"),a=i.store;return r&&(a=a.index(n.shift())),(await Promise.all([a[t](...n),o&&i.done]))[0]};return nb.set(n,i),i}nf={...u=nf,get:(e,n,t)=>nC(e,n)||u.get(e,n,t),has:(e,n)=>!!nC(e,n)||u.has(e,n)};let nT=["continue","continuePrimaryKey","advance"],nS={},nk=new WeakMap,nE=new WeakMap,nR={get(e,n){if(!nT.includes(n))return e[n];let t=nS[n];return t||(t=nS[n]=function(...e){nk.set(this,nE.get(this)[n](...e))}),t}};async function*nI(...e){let n=this;if(n instanceof IDBCursor||(n=await n.openCursor(...e)),!n)return;let t=new Proxy(n,nR);for(nE.set(t,n),nh.set(t,n_(n));n;)yield t,n=await (nk.get(t)||n.continue()),nk.delete(t)}function nA(e,n){return n===Symbol.asyncIterator&&nd(e,[IDBIndex,IDBObjectStore,IDBCursor])||"iterate"===n&&nd(e,[IDBIndex,IDBObjectStore])}nf={...d=nf,get:(e,n,t)=>nA(e,n)?nI:d.get(e,n,t),has:(e,n)=>nA(e,n)||d.has(e,n)};let nw="duet-comment-counts",nx="duet-last-read";class nP{constructor(e){this.db=e}static async init(){return new nP(await function(e,n,{blocked:t,upgrade:r,blocking:o,terminated:i}={}){let a=indexedDB.open(e,1),s=ng(a);return r&&a.addEventListener("upgradeneeded",e=>{r(ng(a.result),e.oldVersion,e.newVersion,ng(a.transaction),e)}),t&&a.addEventListener("blocked",e=>t(e.oldVersion,e.newVersion,e)),s.then(e=>{i&&e.addEventListener("close",()=>i()),o&&e.addEventListener("versionchange",e=>o(e.oldVersion,e.newVersion,e))}).catch(()=>{}),s}("duet-coral",0,{upgrade(e){e.objectStoreNames.contains(nw)||e.createObjectStore(nw),e.objectStoreNames.contains(nx)||e.createObjectStore(nx)}}))}async loadCommentCounts(e){if(0===e.length)return[];try{let n=[],t=this.db.transaction(nw,"readonly").store;for(let{coralId:r,data:o}of(await Promise.all(e.map(async e=>{let n=await t.get(e);return{coralId:e,data:n}}))))o&&n.push({coralId:r,count:o.count,timestamp:o.timestamp});return n}catch(e){return console.warn("CoralIndexedDBUtils - Failed to load comment counts:",e),[]}}async saveCommentCounts(e){if(0!==e.length)try{let n=this.db.transaction(nw,"readwrite"),t=n.store,r=e.map(e=>({key:e.coralId,value:{count:e.count,timestamp:e.timestamp}}));await Promise.all(r.map(e=>{let{key:n,value:r}=e;return t.put(r,n)})),await n.done}catch(e){console.warn("CoralIndexedDBUtils - Failed to save comment counts:",e)}}async loadAllCommentCounts(){try{let e=this.db.transaction(nw,"readonly").store,[n,t]=await Promise.all([e.getAllKeys(),e.getAll()]),r=[];for(let e=0;e=r||(this.counts.set(n,{count:t,timestamp:r}),this.notifySubscribers(n,t),await this.saveToIndexedDB([e]))}getCount(e){return this.getCommentCount(e)}async updateCounts(e){for(let n of e)await this.updateCommentCount(n)}subscribe(e,n){return this.subscriptions.has(e)||this.subscriptions.set(e,new Set),this.subscriptions.get(e).add(n),()=>{let t=this.subscriptions.get(e);t&&(t.delete(n),0===t.size&&this.subscriptions.delete(e))}}notifySubscribers(e,n){let t=this.subscriptions.get(e);t&&t.forEach(e=>e(n))}clear(){this.counts.clear(),this.subscriptions.clear()}getAllCoralIds(){return Array.from(this.counts.keys())}async saveToIndexedDB(e){let n=await nP.init();await n.saveCommentCounts(e)}}let nN=new nB;class nO{pendingCoralIds=[];registeredCoralIds=new Set;constructor(){this.debouncedFetch=nu()(()=>{this.fetchCommentCounts()},100,{maxWait:1e3})}registerCoralId(e){this.registeredCoralIds.has(e)||(this.registeredCoralIds.add(e),this.pendingCoralIds.push(e),this.debouncedFetch())}async fetchCommentCounts(){let e=[...this.pendingCoralIds];if(this.pendingCoralIds=[],0!==e.length)try{let n=new URLSearchParams;e.sort().forEach(e=>n.append("c",e));let t=`/api/coral-counts?${n.toString()}`,r=await fetch(t,{method:"GET",headers:{"Content-Type":"application/json"}});if(!r.ok)throw Error(`HTTP ${r.status}: ${r.statusText}`);let o=(await r.json()).data,i=r.headers.get("Last-Modified"),a=i?new Date(i).getTime():Date.now(),s=Object.entries(o).filter(e=>{let[,n]=e;return null!==n}).map(e=>{let[n,t]=e;return{coralId:n,count:t,timestamp:a}});await nN.updateCounts(s)}catch(e){console.error("Failed to fetch comment counts:",e)}}async updateCommentCount(e,n,t){await nN.updateCommentCount({coralId:e,count:n,timestamp:t})}getCommentCount(e){return nN.getCommentCount(e)}subscribeToCommentCount(e,n){return nN.subscribe(e,n)}async loadAllCountsFromIndexedDB(){try{let e=await nP.init(),n=await e.loadAllCommentCounts();n.length>0&&await nN.updateCounts(n)}catch(e){console.warn("IndexedDB not available, skipping count loading:",e)}}async getLastReadCount(e){try{let n=await nP.init(),t=await n.getLastReadCount(e);if(null!==t)return t;return null}catch(n){return console.warn("IndexedDB failed, falling back to localStorage:",n),this.getLastReadCountFromLocalStorage(e)}}getLastReadCountFromLocalStorage(e){let n=localStorage.getItem(`comment-count-${e}`);return n?parseInt(n,10):null}async setLastReadCount(e,n){try{let t=await nP.init();await t.setLastReadCount(e,n)}catch(t){console.warn("IndexedDB failed, falling back to localStorage:",t),localStorage.setItem(`comment-count-${e}`,n.toString())}}}let nL=null,nM={getCommentCount:e=>nj().getCommentCount(e),updateCommentCount:(e,n,t)=>nj().updateCommentCount(e,n,t),subscribeToCommentCount:(e,n)=>nj().subscribeToCommentCount(e,n),registerCoralId:e=>nj().registerCoralId(e),loadAllCountsFromIndexedDB:()=>nj().loadAllCountsFromIndexedDB(),getLastReadCount:e=>nj().getLastReadCount(e),setLastReadCount:(e,n)=>nj().setLastReadCount(e,n)};function nj(){return nL||(nL=new nO),nL}var nD=e=>{let{children:n}=e;return(0,Y.jsx)(nl.Z.Provider,{value:nM,children:n})},nU=t(75525),nq=e=>{let{children:n}=e,[t,r]=(0,ee.useState)(!1),[o,i]=(0,ee.useState)(!1),[a,s]=(0,ee.useState)(!1),l=(0,ee.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(!!e.disableTransition),r(!0)},[]),c=(0,ee.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(!!e.disableTransition),r(!1),s(!1)},[]),u=(0,ee.useCallback)(()=>{s(!0)},[]),d=(0,ee.useMemo)(()=>({drawerId:"coral-drawer",isDrawerOpen:t,isDrawerTransitionDisabled:o,isDrawerPrerendered:a,openDrawer:l,closeDrawer:c,prerenderDrawer:u}),[t,o,a,l,c,u]);return(0,Y.jsx)(nU.Z.Provider,{value:d,children:n})},nF=e=>{let{children:n}=e;return(0,Y.jsx)(nD,{children:(0,Y.jsx)(nq,{children:n})})};let nH=` mutation UpdateUserSettings($userID: String!, $settings: UserSettingsInput!, $communityID: String!) { updateUserSettings(input: { userID: $userID, settings: $settings communityID: $communityID }) { fanPostFeedMode replySort unfurlMediaEmbeds } } `,nG=` mutation IgnoreUser($userID: String!, $communityID: String!) { ignoreUser(userID: $userID, communityID: $communityID) { id user { id username } } } `,nV=` mutation UnignoreUser($userID: String!, $communityID: String!) { unignoreUser(userID: $userID, communityID: $communityID) { id } } `;var nz=t(64214);let nW=async(e,n,t,r)=>{if(!r)return;let o=new URL("/api",n),i=await (0,nz.$f)(o.toString(),nG,{userID:e,communityID:t},r);if(!i.errors&&i.data)return i.data.ignoreUser},nK=async(e,n,t,r)=>{if(!r)return;let o=new URL("/api",n),i=await (0,nz.$f)(o.toString(),nV,{userID:e,communityID:t},r);if(!i.errors&&i.data)return i.data.unignoreUser},n$=async(e,n,t,r,o)=>{let i=`${e}`;if(!o)return;let a=new URL("/api",r),s=await (0,nz.$f)(a.toString(),nH,{communityID:i,userID:n,settings:t},o);if(!s.errors&&s.data)return s.data.updateUserSettings};var nQ=t(17467),nY=t(47727),nZ=t(84795),nJ=function(e,n,t,r){return new(t||(t=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var n;e.done?o(e.value):((n=e.value)instanceof t?n:new t(function(e){e(n)})).then(a,s)}l((r=r.apply(e,n||[])).next())})};(p=x||(x={})).MostRecs="MOST_RECS",p.MostReplies="MOST_REPLIES",p.NewestFirst="NEWEST_FIRST",p.OldestFirst="OLDEST_FIRST",(m=P||(P={}))[m.compact=0]="compact",m[m.full=1]="full",(h=B||(B={})).ADMIN="ADMIN",h.MODERATOR="MODERATOR",h.USER="USER",h.UNKNOWN="UNKNOWN",(f=N||(N={})).None="None",f.Suspended="Suspended",f.Banned="Banned";let nX=(0,ee.createContext)({viewer:null,viewerLoading:!0,viewerBans:[],viewerSuspensions:[],unignoreUser:()=>nJ(void 0,void 0,void 0,function*(){}),ignoreUser:()=>nJ(void 0,void 0,void 0,function*(){}),updateUserSettings:()=>nJ(void 0,void 0,void 0,function*(){})}),n0=` query ViewerQuery { viewer { createdAt id email username displayName displayNameOrUsername role avatar ignoredUsers { id user { id username } } restrictions { type allCommunities communityID expiresAt } communities settings { fanPostFeedMode replySort unfurlMediaEmbeds } } } `;var n1=e=>{let{children:n}=e,{user:t,userLoading:r}=(0,eO.aC)(),[o,i]=(0,ee.useState)(void 0),[a,s]=(0,ee.useState)(!0),{cycloneConfig:{serverURL:l,enabled:c}}=(0,nZ.q)(),{cycloneCommunityId:u}=(0,nY.uj)(),d=(0,ee.useMemo)(()=>o?.restrictions?.filter(e=>e.type===nQ.J0.Banned&&(!!e.allCommunities||e.communityID===u))??[],[u,o?.restrictions]),p=(0,ee.useMemo)(()=>o?.restrictions?.filter(e=>e.type===nQ.J0.Suspended&&(!!e.allCommunities||e.communityID===u))??[],[u,o?.restrictions]),m=(0,ee.useCallback)(async e=>{if(!o?.token)return;let n=await nW(e,l,u,o.token);n&&i(e=>e?{...e,ignoredUsers:[...e.ignoredUsers??[],{id:n.id,user:{id:n.user.id,username:n.user.username}}]}:e)},[o?.token,l,u,i]),h=(0,ee.useCallback)(async e=>{o?.token&&await nK(e,l,u,o.token)&&i(n=>n?{...n,ignoredUsers:n.ignoredUsers?.filter(n=>n.id!==e)}:n)},[o?.token,l,u,i]),f=(0,ee.useCallback)(async(e,n)=>{o?.token&&await n$(u,e,n,l,o.token)&&i(e=>e?{...e,settings:{...e.settings,...n}}:e)},[o?.token,l,u,i]),g=(0,ee.useCallback)(async()=>{if(!t?.cycloneToken){r||s(!1);return}let e=new URL("/api",l),n=await (0,nz.$f)(e.toString(),n0,{},t.cycloneToken);if(!n.data||!n.data.viewer||n.errors){i(void 0),s(!1);return}i({...n.data.viewer,token:t.cycloneToken}),s(!1)},[t,l,r]);return(0,ee.useEffect)(()=>{c&&g()},[t?.cycloneToken,g,c]),(0,Y.jsx)(nX.Provider,{value:{viewer:o??null,viewerLoading:a,viewerBans:d,viewerSuspensions:p,unignoreUser:h,ignoreUser:m,updateUserSettings:f},children:n})},n2=e=>{let{children:n}=e;return n},n3=t(89495),n4=t.n(n3),n5=t(86638),n9=t(7209),n6=t(39344);let n8={PAGE_IMPRESSION:21,GROWL_TOUT_IMPRESSION:41,CLIFF_TOUT_IMPRESSION:44,TOUT_CLICK:28,SCROLL:46},n7="blaize_tracking_id",te=[30,60,90];var tn=e=>{let{isPaywallEligible:n,paywallConfig:t}=e,r=(0,eO.$3)(),o=(0,eO.II)(),i=(0,n9.z$)(),[a,s]=(0,ee.useState)({}),[l,c]=(0,ee.useState)(),[u,d]=(0,ee.useState)({30:!1,60:!1,90:!1}),p=(0,ee.useRef)(!1),m=(0,ee.useRef)(null),h=(0,ee.useRef)(null),f=(0,ee.useRef)(!1),g=(0,ee.useRef)({});(0,n6.Z)(()=>{if(window.dataLayer?.push&&!f.current){let e=window.dataLayer.push;window.dataLayer.push=function(){for(var n=arguments.length,t=Array(n),r=0;r{s(e.detail||{})},t=()=>{c(window.Zephr?.accessDetails?.trials||{})};return window.addEventListener("DataLayerInitEvent",n,{once:!0}),document.addEventListener("zephr.browserDecisionsFinished",t,{once:!0}),g.current={userAgent:window.navigator.userAgent,countryCode:navigator.language.split("-")[1],referSource:document.referrer},()=>{window.dataLayer&&(window.dataLayer.push=e),window.removeEventListener("DataLayerInitEvent",n),document.addEventListener("zephr.browserDecisionsFinished",t,{once:!0})}}},[]);let _=(0,ee.useCallback)(()=>o?r?"subscriber":"registered":"anonymous",[o,r]),y=(0,ee.useCallback)(()=>(m.current||(m.current=document.querySelector("#zephr-footer-container")),m.current),[]),v=(0,ee.useCallback)(()=>(h.current||(h.current=document.querySelector("#zephr-anchor")),h.current),[]),b=async()=>{(0,eG.ej)(n7)||await (0,n5.Um)()},C=(0,ee.useCallback)(async(e,r)=>{let i=y(),s=(a["All Categories"]||"").split(","),l=a["Page Type"]||"",c=t.excludedArticleTypes||[],u=t.meterExceptions||[],d=s.some(e=>u.includes(e)),p=c.includes(l),m=e!==n8.PAGE_IMPRESSION?i?.getAttribute("data-wid"):"";return await b(),{wId_2:r?void 0:[m],dtId:(0,eG.ej)(n7),action:e,actionValue:r,refer:document.referrer,requestUrl:window.location.href,user:{userId:o||"",userState:_()},...r?{}:{content:{section:a["Primary Category"],subSection:s,articleId:a["Page ID"],articleType:l,articleClass:n?"paywall eligible":"free",increaseRA:!d&&!p},context:{custom:{variable_1:a.Headline},...g.current}},...r?{context:g.current}:{}}},[a,n,_,y,t.meterExceptions,t.excludedArticleTypes,o]),T=(0,ee.useCallback)(()=>{let e=v()&&!l;return Object.entries(a).length>0&&!e},[a,l,v]),S=(0,ee.useCallback)(async e=>{(0,n5.bi)(await C(e))},[C]);(0,ee.useEffect)(()=>{T()&&S(n8.PAGE_IMPRESSION)},[T,S,i]),(0,ee.useEffect)(()=>{async function e(){i&&i.emit(await (0,n5._7)())}T()&&i&&e()},[T,i]),(0,ee.useEffect)(()=>{if(T()){let e=y();if(e){let n=n8.CLIFF_TOUT_IMPRESSION;e.classList.contains("duet--growl")&&(n=n8.GROWL_TOUT_IMPRESSION);let t=()=>{S(n)},r=()=>{S(n8.TOUT_CLICK)};return e.classList.contains("visible")?(t(),e.addEventListener("click",r),()=>{e.removeEventListener("click",r)}):(e.addEventListener("ToutImpression",t),e.addEventListener("click",r),()=>{e.removeEventListener("ToutImpression",t),e.removeEventListener("click",r)})}}},[T,y,S]);let k=(0,ee.useCallback)(async()=>{if(p.current)return;p.current=!0;let e=100*(window.scrollY+window.outerHeight)/document.body.offsetHeight;for(let n of te)e>n&&!u[n]&&(d(e=>({...e,[n]:!0})),(0,n5.bi)(await C(n8.SCROLL,String(n))));p.current=!1},[u,C]);return(0,ee.useEffect)(()=>{let e=n4()(()=>{k()},200);return window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e)}},[k]),(0,Y.jsx)(Y.Fragment,{})},tt=t(97650),tr=({children:e,globalData:n})=>(0,Y.jsx)(tt.Z.Provider,{value:n,children:e}),to=t(39348),ti=e=>{var n;let{children:r,overrides:o}=e,{breakingNewsBanner:i,wikiBanner:a,siteSettings:s,newsletters:l,mainNav:c,footerNav:u}=(0,eR.useLazyLoadQuery)((void 0!==O||(O=t(96109)).hash&&"be2f2a24e6816b18f46667956cfa4c60"!==O.hash&&console.error("The definition of 'GlobalDataContainerQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),O),{}),{placeholderImage:d,siteTagline:p,siteLogo:m,seo:h,...f}=s,g={...f,...o?.siteSettings??{}},_=o&&"siteSettings"in o&&o.siteSettings&&"siteTagline"in o.siteSettings?o.siteSettings.siteTagline:p,y=null,v=o&&"siteSettings"in o&&o.siteSettings&&"siteLogo"in o.siteSettings?o.siteSettings.siteLogo:m;v&&(y={social:{url:v.thumbnails.social.url,...(0,to.P_)(v,v.thumbnails.social)},original:{url:v.thumbnails.original.url,...(0,to.P_)(v,v.thumbnails.original)}});let b=null;a&&((b={...a}).dek="We rely on readers like you to fund our journalism. Will you support our work and become a Vox Member today?");let C=null,T={defaultSchema:h?.defaultSchema??null,newsMediaOrganizationSchema:h?.newsMediaOrganizationSchema??null},S=o?.siteSettings?.seo;n={defaultSchema:S?.defaultSchema??T.defaultSchema,newsMediaOrganizationSchema:S?.newsMediaOrganizationSchema??T.newsMediaOrganizationSchema},C={longSiteTitle:n.defaultSchema?.title||void 0,facebookAppId:n.defaultSchema?.facebookAppId||void 0,googleSiteVerification:n.defaultSchema?.googleSiteVerification||void 0,longSiteDescription:n.newsMediaOrganizationSchema?.description||void 0,foundingDate:n.newsMediaOrganizationSchema?.foundingDate||void 0,founders:n.newsMediaOrganizationSchema?.founders.map(e=>e)||[],knowsAbout:n.newsMediaOrganizationSchema?.knowsAbout.map(e=>e)||[],diversityPolicyUrl:n.newsMediaOrganizationSchema?.diversityPolicyUrl||void 0,ethicsPolicyUrl:n.newsMediaOrganizationSchema?.ethicsPolicyUrl||void 0,mastheadUrl:n.newsMediaOrganizationSchema?.mastheadUrl||void 0,wikipediaUrl:n.newsMediaOrganizationSchema?.wikipediaUrl||void 0,linkedInUrl:n.newsMediaOrganizationSchema?.linkedInUrl||void 0};let k=e=>e?.menuItems?.nodes?e.menuItems.nodes.map(e=>({title:e.label,url:e.url||"",subItems:e.menuItems.map(e=>({title:e.label,url:e.url||""}))})):null,E=o&&"mainNavItems"in o&&o.mainNavItems?o.mainNavItems:k(c),R=o&&"footerItems"in o&&o.footerItems?o.footerItems:k(u);return(0,Y.jsx)(tr,{globalData:{breakingNewsBanner:i,wikiBanner:b,siteSettings:{...g,siteTagline:_||void 0,placeholderImageUrl:{horizontal:d?.thumbnails.horizontal.url||"",vertical:d?.thumbnails.vertical.url||"",square:d?.thumbnails.square.url||"",social:d?.thumbnails.social.url||""},siteLogo:y,seo:C},newsletters:l,mainNav:E,footerNav:R},children:r})},ta=t(31347),ts=t(2627),tl=t(97132),tc=t(98970),tu=t(41650),td=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return async n=>{let t;let r={...n.fetchOpts},o={...n.fetchOpts.headers,Accept:"application/json"};"POST"===n.fetchOpts.method&&(r.body=JSON.stringify(n.operation),o["Content-Type"]="application/json"),r.headers={...r.headers,...o},"true"===tu.env.DEBUG_ENABLED&&tc.cM.debug(`GQL Curl Command for ${n.operation.operationName}: ${(0,ts.ZP)(n.url,r)} `);let i=await fetch(n.url,r),a=await i.text();if(!i.ok)throw new tl.Q(`[${i.status}] GraphQL Request Failed: ${i.statusText}`,{cause:`[${i.status}] GraphQL request failure due to ${i.statusText}`,extra:{status:i.status,statusText:i.statusText,url:n.url,operationName:n.operation.operationName,text:a,requestMethod:r.method||"GET",responseHeaders:(()=>{let e={};return i.headers.forEach((n,t)=>{e[t]=n}),e})()}});try{t=JSON.parse(a)}catch(e){throw new tl.Q(`Failed to parse ${n.operation.operationName} GraphQL response JSON`,{cause:e,extra:{status:i.status,statusText:i.statusText,url:n.url,operationName:n.operation.operationName,text:a,requestMethod:r.method||"GET",responseHeaders:(()=>{let e={};return i.headers.forEach((n,t)=>{e[t]=n}),e})()}})}return e.onHeaders&&e.onHeaders(i.headers,n.operation),t}};function tp(e){let{url:n,middleware:t,options:r={},incomingRequestContext:o}=e,i=td(r),a=(function(e){if(0===e.length)return e=>e;let n=e[e.length-1],t=e.slice(0,-1);return e=>t.reduceRight((e,n)=>n(e),n(e))})(t)(i),s=function e(n){if(!n||"object"!=typeof n)return{};let t={};for(let[r,o]of Object.entries(n))if(void 0!==o){if("object"==typeof o&&null!==o){let n=e(o);Object.keys(n).length>0&&(t[r]=n)}else t[r]=o}return t}(o);return(e,t,r)=>{if(!e.id)throw Error("Missing request id");return ta.Observable.create(o=>{let i=a({url:n,fetchOpts:{method:"POST",headers:{}},request:e,operation:{operationName:e.name,variables:t},cacheConfig:r,incomingRequestContext:s});if(!(0,ta.isPromise)(i)){o.next(i),o.complete();return}i.then(e=>{o.next(e),o.complete()},e=>{o.error(e),o.complete()})})}}var tm=function(e){let{name:n,commit:t}=e;if(!n&&!t)return e=>n=>e(n);let r={};return n&&(r["client-name"]=n),t&&(r["client-version"]=t.substring(0,7)),e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...r},e(n))},th=function(e){let{communityId:n}=e;if(!n)return e=>n=>e(n);let t={};return n&&(t["vm-community-id"]=n.toString()),e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...t},e(n))},tf=t(89789),tg=t.n(tf),t_=t(41650);let ty=tg()({enabled:"true"!==t_.env.DISABLE_GRAPHQL_LOGGING,base:void 0,browser:{write(e){try{console.log(JSON.stringify(e))}catch(e){e instanceof Error&&console.log(JSON.stringify(e,["name","message","stack"])),console.log(JSON.stringify({message:"Unknown error type"}))}}},level:t_.env.LOG_LEVEL||"info"}).child((0,tc.kv)("duet-framework"));var tv=e=>async n=>{let t=await e(n);if(t.errors){let e={url:n.url,errors:t.errors,hasData:!!t.data,requestMethod:n.fetchOpts.method,incomingRequestContext:n.incomingRequestContext,...n.logContext};if((!t.data||t.errors.length>0)&&n.cacheConfig.metadata?.throwOnError!==!1)throw ty.error(e,"GraphQL Response with critical errors"),new tl.Q("GraphQL Response with critical errors",{extra:e});ty.warn(e,"GraphQL Response with errors"),(0,ey.Tb)(new tl.Q("GraphQL Response with errors",{extra:e}))}return t},tb=t(48889);function tC(e){let{communityDataResolver:n}=e||{};return e=>async t=>{let r;let o=t.incomingRequestContext?.communityId;if(n){if("function"==typeof n){if(o)try{r=n(o)}catch{r={communityId:o}}}else r=n}else o&&(r={communityId:o});let i={operationName:t.operation.operationName,variables:t.operation.variables,variableHash:Object.keys(t.operation.variables).length>0?await (0,tb.W)(t.operation.variables):null,persistedQuery:{md5Hash:t.request.id||void 0}};return t.logContext={query:i,community:r},e(t)}}function tT(e,n){function t(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}let r=t(e);return r===t(n)&&("array"===r?function(){if(e.length!==n.length)return!1;for(let t=0;t{let n=[...e.responses];return e=>t=>{if("query"!==t.request.operationKind)return e(t);let r=n.findIndex(e=>e.operationName===t.operation.operationName&&tT(e.variables,t.operation.variables));if(-1===r)return e(t);let o=n[r];return n.splice(r,1),{data:o.data,errors:o.errors}}},tk=t(57815),tE=t.n(tk),tR=t(41650),tI=t(65777);function tA(e,n){let t=new ta.RecordSource(n),r=new ta.Store(t);return new ta.Environment({store:r,network:e,isServer:"undefined"==typeof window,relayFieldLogger:e=>{let n="Relay Error";"error"in e&&e.error.message&&(n=`${n}: ${e.error.message}`),"undefined"==typeof window?ty.error(e,n):tI.Zp.includes("production")||console.error(n,e)}})}var tw=(e,n,t)=>(0,ee.useMemo)(()=>{let{communityId:r}=t;return tA(function(e){let{hydrationData:n,communityId:t,token:r,origin:o}=e,i=function(e){let{hydrationData:n,communityId:t,token:r}=e,{NEXT_PUBLIC_APP_NAME:o}=tR.env;return[e=>n=>{if("subscription"===n.request.operationKind)throw Error("GraphQL subscriptions are not supported.");return n.fetchOpts.method="mutation"===n.request.operationKind?"POST":"GET","GET"===n.fetchOpts.method&&(n.url+=`?id=${n.request.id}&variables=${encodeURIComponent(tE()(n.operation.variables))}`),e(n)},tS(n),tC({communityDataResolver:{communityId:t}}),tv,e=>n=>{if(!r&&"undefined"==typeof window)throw new tl.Q(`Unexpected GraphQL network request for '${n.operation.operationName}'`,{extra:{operationName:n.operation.operationName,variables:n.operation.variables}});return r&&(n.fetchOpts.headers.Authorization=`Bearer ${r}`),e(n)},tm({name:o}),th({communityId:t})]}({hydrationData:n,communityId:t,token:r}),a="/api/graphql";return o&&(a=`${o}${a}`),ta.Network.create(tp({url:a,middleware:i}))}({hydrationData:e,communityId:r,token:n}))},[t,e,n]);let tx=(()=>{let e={};return async n=>(n in e||(e[n]=await (0,tb.Z)({text:n})),e[n])})();var tP=e=>n=>async t=>{if("query"!==t.request.operationKind||!t.request.id)return n(t);if(!(t.request.id in e))return tc.cM.debug(`---------! WARNING: Request for ${t.operation.operationName} not found in persisted data - are you using the correct query fetcher?`),n(t);let r=await tx(e[t.request.id]);t.logContext=eC()({},t.logContext,{query:{persistedQuery:{sha256Hash:r}}});let{url:o,fetchOpts:{method:i}}=t;t.fetchOpts.method="GET";let a={queryId:r,operationName:t.operation.operationName,variables:t.operation.variables};t.url=function(e,n){let t=new URL(e);for(let[e,r]of Object.entries(n)){let n="string"==typeof r?r:JSON.stringify(r);t.searchParams.append(e,n)}return t.href}(o,a);let s=await n(t);return"errors"in s&&s.errors&&s.errors[0]&&"PersistedQueryNotFound"===s.errors[0].message?(t.url=o,t.fetchOpts.method=i,t.operation.extensions={...t.operation.extensions,persistedQuery:{version:1,sha256Hash:r}},t.operation.query=function(e,n){if(n.text)return n.text;if(!n.id)throw Error("no id or text on query");let t=e[n.id];if(!t)throw new tl.Q(`persisted query not found for id: ${n.id}`,{extra:{id:n.id}});return t}(e,t.request),n(t)):s},tB=t(41650),tN=t(93924).Buffer,tO=e=>n=>{let t=tB.env.WP_PLATFORM_API_TOKEN;if(!t)throw Error("WP_PLATFORM_API_TOKEN environment variable is required for basic auth middleware.");return n.fetchOpts.headers.Authorization=`Basic ${tN.from(`duet:${t}`).toString("base64")}`,e(n)},tL=e=>n=>async t=>{if("query"!==t.request.operationKind)return n(t);let r=await n(t);return r.data&&e.responses.push({operationName:t.operation.operationName,variables:t.operation.variables,data:r.data,errors:r.errors||[]}),r},tM=e=>async n=>{let t=Date.now(),r=await e(n);return ty.info({duration:Date.now()-t,url:n.url,cache:n.cache,...n.logContext},"GraphQL response"),r},tj=function(e){let{bypassCache:n}=e;if(!n)return e=>n=>e(n);let t={};return t["vm-cache-bypass-wp"]="1",e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...t},e(n))},tD=function(e){let{active:n}=e;if(!n)return e=>n=>e(n);let t={};return t["fastly-debug"]="1",e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...t},e(n))},tU=function(e){let{userAgent:n}=e;if(!n)return e=>n=>e(n);let t={};return n&&(t["User-Agent"]=n),e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...t},e(n))},tq=t(41650),tF=t(41650);function tH(e){let{hydrationData:n,persisted:t,communityApiUrl:r,userAgent:o,bypassCache:i,fastlyDebugHeader:a,options:s={},incomingRequestContext:l}=e,{WP_GRAPHQL_URL:c}=tF.env;if(!c)throw Error("WP_GRAPHQL_URL is not defined");let u=function(e){let{hydrationData:n,persisted:t,userAgent:r,bypassCache:o,fastlyDebugHeader:i}=e,{APP_NAME:a,VERSION:s}=tq.env;return[...null!==n?[tL(n)]:[],tC({communityDataResolver:e=>{let n=(0,nn.Jx)(e);return{communityId:e,communityName:n.communityName,communityApiOrigin:n.communityApiOrigin,communityOrigin:n.communityOrigin,communityWpSiteId:n.communityWpSiteId}}}),tM,tv,tO,tm({name:a,commit:s}),tU({userAgent:r}),tj({bypassCache:o}),tD({active:i}),tP(t)]}({hydrationData:n,persisted:t,userAgent:o,bypassCache:i,fastlyDebugHeader:a});return ta.Network.create(tp({url:r||c,middleware:u,options:s,incomingRequestContext:l}))}var tG=t(78979),tV=t(46727);function tz(e,n){return e+JSON.stringify(n)}let tW=e=>{var n;let{hydration:t,persisted:r,req:o,communityId:i,createServerNetworkFunction:a,onHeaders:s}=e,{communityApiUrl:l}=(0,nn.Jx)(i),{forwardedHost:c,...u}={forwardedHost:(n=o.headers)["x-forwarded-host"],resourceNodeId:n["vm-resource-node-id"],resourceType:n["vm-resource-type"],resourceWpId:n["vm-resource-wp-id"]},d=function(e){let n=Object.getOwnPropertySymbols(e).find(e=>"NextInternalRequestMeta"===e.description);if(!n)return;let t=e[n];if(t&&"object"==typeof t)return{initURL:t.initURL,invokePath:t.invokePath,invokeOutput:t.invokeOutput}}(o),p={communityId:i,url:o.url,forwardedHost:c,resourceData:u,nextInternalRequestMeta:d};return tA(a()({hydrationData:t,persisted:r,communityApiUrl:l,userAgent:o.headers["user-agent"],bypassCache:(0,tG.K$)(o),options:{onHeaders:s},incomingRequestContext:p}))},tK=e=>{let{req:n,persisted:t,communityId:r,createServerNetworkFunction:o}=e,i={responses:[]},a={},s=tW({hydration:i,persisted:t,req:n,communityId:r,createServerNetworkFunction:o,onHeaders:(e,n)=>{let t=tz(n.operationName,n.variables),r={};e.forEach((e,n)=>r[n]=e),a[t]=r}});return{fetchQuery:async function(e){let{query:n,variables:t,durationHeaderKey:r,throwOnError:o}=e,l=(0,tc._E)(),c=await (0,ta.fetchQuery)(s,n,t,{fetchPolicy:"network-only",networkCacheConfig:{metadata:{throwOnError:o}}}).toPromise(),u=(0,tc.Z9)(l),d=function(e){let n=e;if("default"in n&&(n=n.default),"function"==typeof n&&(n=n()),!("operation"in n))throw Error("Not a ConcreteRequest");return n}(n).operation.name,p=tz(d,t),m=p in a?{...a[p],"vm-duration-gql-query":u}:{"vm-duration-gql-query":u},h=(0,tG.zE)(m);return{response:c,headers:m,surrogateKeys:h,durationHeaderKey:r||(0,tV.Tn)(d),duration:u,discardHydration:()=>{let e=i.responses.findIndex(e=>e.operationName===d&&tT(e.variables,t));-1!==e&&i.responses.splice(e,1)}}},hydration:i,getCollectedHeaders:()=>Object.freeze({...a})}};try{a=t(10586)}catch(e){throw(0,ey.Tb)(e,{extra:{message:"could not load persisted queries"}}),e}var t$=a,tQ=t(90967),tY=e=>{let{routeInfo:n,children:t}=e;return(0,Y.jsx)(tQ.Z.Provider,{value:{routeInfo:n},children:t})},tZ=t(40307),tJ=e=>{let{schema:n,communityConfig:t}=e,{siteSettings:r}=(0,tt.Q)(),o=(0,ee.useMemo)(()=>"function"==typeof n?n(r,t):n,[t,n,r]);return(0,Y.jsx)(tZ.lX,{...o})},tX=t(74400),t0=t(75066),t1=e=>{let{seoSchemaConfig:n}=e,{base:t}=(0,tX.Z)(),{siteSettings:r}=(0,tt.Q)(),o=(0,nY.v1)(),i=(0,ee.useMemo)(()=>{let e=n?.[t];return"function"==typeof e?e(r,o):e||null},[o,t,n,r]);return i?i.map((e,n)=>(0,Y.jsx)(t0.Z,{schema:e},n)):null},t2=({analyticsClient:e,volume:n,subXTrackingEnabled:t,children:r})=>(0,Y.jsx)(Y.Fragment,{children:(0,Y.jsx)(n9.ZP.Provider,{value:{client:e,volume:n,subXTrackingEnabled:t},children:r})}),t3=t(19093),t4=({children:e,campaign:n})=>(0,Y.jsx)(t3.Z.Provider,{value:{campaign:n},children:e}),t5=({children:e,categories:n,primaryCategoryNodeId:t,primarySuperCatNodeId:r,superCatNodeId:o,categoryNodeId:i,internalCategories:a})=>(0,Y.jsx)(eu.Provider,{value:{categories:n,internalCategories:a,primaryCategoryNodeId:t,primarySuperCatNodeId:r,superCatNodeId:o,categoryNodeId:i},children:e}),t9=({children:e,currentOrigin:n,currentCommunityId:t,currentCycloneCommunityId:r,currentWpSiteId:o,communities:i})=>{let a=i[t];if(!a)throw Error(`Community not found for current communityId: ${t}`);return(0,Y.jsx)(nY.ZP.Provider,{value:{currentCommunity:a,currentCommunityId:t,currentCycloneCommunityId:r,currentOrigin:n,currentWpSiteId:o,communities:i},children:e})},t6=({children:e,adConfig:n,appConfig:t,membershipConfig:r,networkConfig:o,communityConfig:i,crossPostConfig:a,coralConfig:s,cycloneConfig:l,newslettersConfig:c,customArticleFooter:u,subscriptionProviderConfig:d,seoConfig:p,parselyConfig:m,paywallConfig:h,stnVideoConfig:f,subscriptionsConfig:g,featureConfig:_,userProfileConfig:y,wunderkindConfig:v,retailerLinkOrderConfig:b})=>{let{siteSettings:{siteDomain:C}}=(0,tt.Q)(),T=`https://${C}`;return(0,Y.jsx)(nZ.Z.Provider,{value:{adConfig:n,appConfig:t,communityConfig:Object.assign(Object.assign({},i),{siteOrigin:T}),coralConfig:s,cycloneConfig:l,crossPostConfig:a,customArticleFooter:u,featureConfig:_,membershipConfig:r,networkConfig:o,newslettersConfig:c,seoConfig:p,parselyConfig:m,paywallConfig:h,stnVideoConfig:f,subscriptionProviderConfig:d,subscriptionsConfig:g,userProfileConfig:y,wunderkindConfig:v,retailerLinkOrderConfig:b},children:e})},t8=t(60546);t8.x1.essential,t8.x1.performance,t8.x1.functional,t8.x1.targeting,t8.x1.socialMediaAndEmbeds;let t7=()=>"undefined"!=typeof window&&window.OnetrustActiveGroups?window.OnetrustActiveGroups.split(",").filter(e=>""!==e):null;var re=({children:e})=>{let[n,t]=(0,ee.useState)([]),[r,o]=(0,ee.useState)(!0),i=(0,ee.useRef)(null),a=(0,ee.useCallback)(()=>{"undefined"!=typeof window&&window.OneTrust&&window.OneTrust.ToggleInfoDisplay()},[]),s=(0,ee.useCallback)(()=>{if("undefined"!=typeof window&&window.OneTrust){let e=`${t8.x1.socialMediaAndEmbeds}:1`;window.OneTrust.UpdateConsent("Category",e)}},[]);return(0,ee.useEffect)(()=>{let e=()=>{let n=t7();n?(t(n),o(!1)):(i.current&&clearTimeout(i.current),i.current=setTimeout(e,50))};return e(),()=>{i.current&&clearTimeout(i.current)}},[]),(0,ee.useEffect)(()=>{let e=e=>{t(e.detail)};return window.addEventListener("OneTrustGroupsUpdated",e),()=>{window.removeEventListener("OneTrustGroupsUpdated",e)}},[]),(0,Y.jsx)(t8.ZP.Provider,{value:{activeConsentGroups:n,isOneTrustLoading:r,enableSocialMediaCookies:s,toggleCookiesConsentDrawer:a},children:e})},rn=t(43131),rt=({isPaywallEligible:e,paywallConfig:n,trackingScript:t,children:r})=>(0,Y.jsxs)(rn.Z.Provider,{value:{isPaywallEligible:e,paywallConfig:n},children:[n.subXTrackingEnabled&&t,r]}),rr=t(28207),ro=t(40495),ri=t(95712),ra=t(11078),rs=t(26900),rl=t(88764),rc=t(47904),ru=t(67430);t(74682);var rd=()=>{let{breakingNewsBanner:e}=(0,tt.Q)(),{campaign:n}=(0,t3.G)(),t=(0,n9.z$)(),r=(0,ee.createRef)(),[o,i]=(0,ee.useState)(!1),a=e?.content.map(e=>e.html).join(" ");if((0,em.Z)(r,{event:"breaking_news_banner",breaking_news_banner:{name:a,action:"view",position:"breaking_news_banner"}}),n||!e)return null;let{content:s,buttonText:l,buttonUrl:c}=e,u=l.toLowerCase().replace(/\s/g,"_");return(0,Y.jsx)("div",{ref:r,className:(0,ev.Z)(rl.I.BreakingNewsBanner,"_2hw9j60",o?"_2hw9j67":""),children:(0,Y.jsxs)("div",{className:(0,ev.Z)(rc.F.layout.mainColumn,"_2hw9j61"),children:[(0,Y.jsx)("div",{className:"_2hw9j62",children:(0,Y.jsxs)(rs.Z,{href:c,onClick:()=>t?.emit({event:"breaking_news_banner",breaking_news_banner:{name:a,action:`click_${u}`,position:"breaking_news_banner"}}),children:[s.map((e,n)=>(0,Y.jsx)(ro.Z,{html:e.html,component:"span",className:"_2hw9j63"},n)),(0,Y.jsx)("span",{className:"_2hw9j64",children:l}),(0,Y.jsx)(ri.Z,{className:"_2hw9j65"})]})}),(0,Y.jsxs)("button",{onClick:()=>{i(!o)},children:[(0,Y.jsx)("span",{className:ru.srOnly,children:"Close Banner"}),(0,Y.jsx)(ra.Z,{className:"_2hw9j66"})]})]})})},rp=t(78842);t(21693);var rm=({anchorId:e,text:n="Skip to main content",className:t})=>(0,Y.jsx)(rp.Z,{className:(0,ev.Z)(rl.I.SkipToContent,"_19riaqz0",t&&t),displayType:"secondary",href:`#${e}`,text:n}),rh=t(65707),rf=t(28054),rg=t(44079),r_=({className:e,fill:n="currentColor",width:t=23,height:r=17})=>(0,Y.jsxs)("svg",{width:t,height:r,className:e,viewBox:"0 0 23 17",xmlns:"http://www.w3.org/2000/svg",children:[(0,Y.jsx)("line",{x1:"0.867188",y1:"1.53857",x2:"22.8672",y2:"1.53857",stroke:n,strokeWidth:"2"}),(0,Y.jsx)("line",{x1:"0.867188",y1:"8.53857",x2:"22.8672",y2:"8.53857",stroke:n,strokeWidth:"2"}),(0,Y.jsx)("line",{x1:"0.867188",y1:"15.5386",x2:"22.8672",y2:"15.5386",stroke:n,strokeWidth:"2"})]}),ry=t(3610),rv=t(150);t(61439);var rb={normal:"_1ythw5z1 _1ythw5z0",branded:"_1ythw5z2 _1ythw5z0"},rC={normal:"_1ythw5z7 _1ythw5z6",branded:"_1ythw5z8 _1ythw5z6"},rT={normal:"_1ythw5zb _1ythw5za",branded:"_1ythw5zc _1ythw5za"},rS=(0,rv.n)(({Logo:e,headline:n,isBranded:t=!1})=>{let{openDrawer:r,drawerId:o}=(0,rf.Q)(),i=(0,n9.z$)(),a=t?"branded":"normal";return(0,Y.jsx)("nav",{"aria-label":"Navigation Bar",className:(0,ev.Z)(ry.Z.MinimalNav,rb[a]),children:(0,Y.jsxs)("div",{className:"_1ythw5z3",children:[(0,Y.jsx)("a",{href:"/","aria-label":"Click to visit the homepage",tabIndex:-1,className:"_1ythw5z5",children:(0,Y.jsx)(e,{className:(0,ev.Z)(rC[a])})}),n&&(0,Y.jsx)("div",{className:"_1ythw5z4",children:n}),(0,Y.jsx)("div",{className:"_1ythw5z9",children:(0,Y.jsx)("button",{onClick:()=>{r(),i?.emit({event:"navigation_click",navigation_click:{name:"minimal nav more button"}})},"aria-controls":o,"aria-label":"Open Drawer",children:(0,Y.jsx)(r_,{className:(0,ev.Z)(rT[a])})})})]})})},{context:"MinimalNavErrorBoundary"}),rk=t(52325),rE=t(22749),rR=t(25254);t(92984);var rI="_1ir9te02",rA="_1ir9te00",rw="_1ir9te01",rx="_1ir9te03",rP=()=>{let{user:e}=(0,eO.aC)(),n=(0,n9.z$)(),[t,r]=(0,ee.useState)("/auth/login?returnPath=/"),{communityConfig:o}=(0,nZ.q)();(0,ee.useEffect)(()=>{let{ssoAuthDomain:e,isPrimaryCommunity:n}=o,{protocol:t,href:i,pathname:a}=window.location;r(e&&!n?`${t}//${e}/auth/sso?returnTo=${encodeURIComponent(i)}`:`/auth/login?returnPath=${encodeURIComponent(a)}`)},[]);let i=async()=>{n?.emit({event:"authentication",authentication:{method:"logout"}}),await fetch("/api/auth/firebase-logout"),location.reload()};return e?(0,Y.jsx)("ul",{className:rA,children:(0,Y.jsxs)("li",{className:rw,children:[(0,Y.jsx)("a",{className:rI,href:"/account/profile",children:"Your Account"}),(0,Y.jsx)("div",{className:rx,children:" / "}),(0,Y.jsx)("button",{className:rI,onClick:()=>void i(),children:"Log Out"})]})}):(0,Y.jsx)("ul",{className:rA,children:(0,Y.jsxs)("li",{className:rw,children:[(0,Y.jsx)("a",{className:rI,href:t,onClick:()=>{n?.emit({event:"authentication",authentication:{method:"log in"}})},children:"Login"}),(0,Y.jsx)("div",{className:rx,children:" / "}),(0,Y.jsx)("a",{className:rI,href:t,onClick:()=>{n?.emit({event:"authentication",authentication:{method:"sign up"}})},children:"Sign Up"})]})})},rB=t(23627),rN=t(63059),rO=t(39431),rL=t(44058),rM=t(25245);let rj=null!=(L=ee.useId)?L:function(){let e=(0,rM.H)(),[n,t]=ee.useState(e?()=>rO.O.nextId():null);return(0,rL.e)(()=>{null===n&&t(rO.O.nextId())},[n]),null!=n?""+n:void 0};function rD(e){var n;if(e.type)return e.type;let t=null!=(n=e.as)?n:"button";if("string"==typeof t&&"button"===t.toLowerCase())return"button"}var rU=t(82782),rq=t(8739),rF=t(65911),rH=t(26105);let rG=null!=(M=ee.startTransition)?M:function(e){e()};var rV=((s=rV||{}).Space=" ",s.Enter="Enter",s.Escape="Escape",s.Backspace="Backspace",s.Delete="Delete",s.ArrowLeft="ArrowLeft",s.ArrowUp="ArrowUp",s.ArrowRight="ArrowRight",s.ArrowDown="ArrowDown",s.Home="Home",s.End="End",s.PageUp="PageUp",s.PageDown="PageDown",s.Tab="Tab",s),rz=((l=rz||{})[l.Open=0]="Open",l[l.Closed=1]="Closed",l),rW=((c=rW||{})[c.ToggleDisclosure=0]="ToggleDisclosure",c[c.CloseDisclosure=1]="CloseDisclosure",c[c.SetButtonId=2]="SetButtonId",c[c.SetPanelId=3]="SetPanelId",c[c.LinkPanel=4]="LinkPanel",c[c.UnlinkPanel=5]="UnlinkPanel",c);let rK={0:e=>({...e,disclosureState:(0,rF.E)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},4:e=>!0===e.linkedPanel?e:{...e,linkedPanel:!0},5:e=>!1===e.linkedPanel?e:{...e,linkedPanel:!1},2:(e,n)=>e.buttonId===n.buttonId?e:{...e,buttonId:n.buttonId},3:(e,n)=>e.panelId===n.panelId?e:{...e,panelId:n.panelId}},r$=(0,ee.createContext)(null);function rQ(e){let n=(0,ee.useContext)(r$);if(null===n){let n=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,rQ),n}return n}r$.displayName="DisclosureContext";let rY=(0,ee.createContext)(null);rY.displayName="DisclosureAPIContext";let rZ=(0,ee.createContext)(null);function rJ(e,n){return(0,rF.E)(n.type,rK,e,n)}rZ.displayName="DisclosurePanelContext";let rX=ee.Fragment,r0=rH.AN.RenderStrategy|rH.AN.Static,r1=Object.assign((0,rH.yV)(function(e,n){let{defaultOpen:t=!1,...r}=e,o=(0,ee.useRef)(null),i=(0,rU.T)(n,(0,rU.h)(e=>{o.current=e},void 0===e.as||e.as===ee.Fragment)),a=(0,ee.useRef)(null),s=(0,ee.useRef)(null),l=(0,ee.useReducer)(rJ,{disclosureState:t?0:1,linkedPanel:!1,buttonRef:s,panelRef:a,buttonId:null,panelId:null}),[{disclosureState:c,buttonId:u},d]=l,p=(0,rN.z)(e=>{d({type:1});let n=rO.O.isServer?null:o instanceof Node?o.ownerDocument:null!=o&&o.hasOwnProperty("current")&&o.current instanceof Node?o.current.ownerDocument:document;if(!n||!u)return;let t=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:n.getElementById(u):n.getElementById(u);null==t||t.focus()}),m=(0,ee.useMemo)(()=>({close:p}),[p]),h=(0,ee.useMemo)(()=>({open:0===c,close:p}),[c,p]);return ee.createElement(r$.Provider,{value:l},ee.createElement(rY.Provider,{value:m},ee.createElement(rq.up,{value:(0,rF.E)(c,{0:rq.ZM.Open,1:rq.ZM.Closed})},(0,rH.sY)({ourProps:{ref:i},theirProps:r,slot:h,defaultTag:rX,name:"Disclosure"}))))}),{Button:(0,rH.yV)(function(e,n){let t=rj(),{id:r=`headlessui-disclosure-button-${t}`,...o}=e,[i,a]=rQ("Disclosure.Button"),s=(0,ee.useContext)(rZ),l=null!==s&&s===i.panelId,c=(0,ee.useRef)(null),u=(0,rU.T)(c,n,l?null:i.buttonRef),d=(0,rH.Y2)();(0,ee.useEffect)(()=>{if(!l)return a({type:2,buttonId:r}),()=>{a({type:2,buttonId:null})}},[r,a,l]);let p=(0,rN.z)(e=>{var n;if(l){if(1===i.disclosureState)return;switch(e.key){case rV.Space:case rV.Enter:e.preventDefault(),e.stopPropagation(),a({type:0}),null==(n=i.buttonRef.current)||n.focus()}}else switch(e.key){case rV.Space:case rV.Enter:e.preventDefault(),e.stopPropagation(),a({type:0})}}),m=(0,rN.z)(e=>{e.key===rV.Space&&e.preventDefault()}),h=(0,rN.z)(n=>{var t;(function(e){let n=e.parentElement,t=null;for(;n&&!(n instanceof HTMLFieldSetElement);)n instanceof HTMLLegendElement&&(t=n),n=n.parentElement;let r=(null==n?void 0:n.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let n=e.previousElementSibling;for(;null!==n;){if(n instanceof HTMLLegendElement)return!1;n=n.previousElementSibling}return!0}(t))&&r})(n.currentTarget)||e.disabled||(l?(a({type:0}),null==(t=i.buttonRef.current)||t.focus()):a({type:0}))}),f=(0,ee.useMemo)(()=>({open:0===i.disclosureState}),[i]),g=function(e,n){let[t,r]=(0,ee.useState)(()=>rD(e));return(0,rL.e)(()=>{r(rD(e))},[e.type,e.as]),(0,rL.e)(()=>{t||n.current&&n.current instanceof HTMLButtonElement&&!n.current.hasAttribute("type")&&r("button")},[t,n]),t}(e,c),_=l?{ref:u,type:g,onKeyDown:p,onClick:h}:{ref:u,id:r,type:g,"aria-expanded":0===i.disclosureState,"aria-controls":i.linkedPanel?i.panelId:void 0,onKeyDown:p,onKeyUp:m,onClick:h};return(0,rH.sY)({mergeRefs:d,ourProps:_,theirProps:o,slot:f,defaultTag:"button",name:"Disclosure.Button"})}),Panel:(0,rH.yV)(function(e,n){let t=rj(),{id:r=`headlessui-disclosure-panel-${t}`,...o}=e,[i,a]=rQ("Disclosure.Panel"),{close:s}=function e(n){let t=(0,ee.useContext)(rY);if(null===t){let t=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}("Disclosure.Panel"),l=(0,rH.Y2)(),c=(0,rU.T)(n,i.panelRef,e=>{rG(()=>a({type:e?4:5}))});(0,ee.useEffect)(()=>(a({type:3,panelId:r}),()=>{a({type:3,panelId:null})}),[r,a]);let u=(0,rq.oJ)(),d=null!==u?(u&rq.ZM.Open)===rq.ZM.Open:0===i.disclosureState,p=(0,ee.useMemo)(()=>({open:0===i.disclosureState,close:s}),[i,s]);return ee.createElement(rZ.Provider,{value:i.panelId},(0,rH.sY)({mergeRefs:l,ourProps:{ref:c,id:r},theirProps:o,slot:p,defaultTag:"div",features:r0,visible:d,name:"Disclosure.Panel"}))})});var r2=t(95395),r3=t(64639);t(5284),t(10256),t(63928);let r4=({children:e})=>(0,Y.jsx)("ul",{children:e});r4.Item=({className:e,special:n,...t})=>(0,Y.jsx)("li",{className:(0,ev.Z)(e,"fl1qjc0"),children:(0,Y.jsx)("a",{...t,className:(0,ev.Z)("fl1qjc1",n&&"fl1qjc2"),children:t.children})}),r4.Group=e=>(0,Y.jsx)("li",{className:(0,ev.Z)(e.className,"_1i6dio50"),children:(0,Y.jsx)(r1,{defaultOpen:e.defaultOpen,children:({open:n})=>(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)(r1.Button,{className:(0,ev.Z)("_1i6dio51",n&&"_1i6dio53",e.special&&"_1i6dio52"),"aria-label":`${n?"Expand":"Collapse"} '${e.title}' Section`,children:[e.title,n?(0,Y.jsx)(r2.Z,{className:"_1i6dio54"}):(0,Y.jsx)(r3.Z,{className:"_1i6dio54"})]}),(0,Y.jsx)(r1.Panel,{static:!0,children:(0,Y.jsx)("ul",{className:(0,ev.Z)(!n&&rc.F.layout.hide,"_1i6dio56"),children:e.children})})]})})}),r4.GroupItem=({className:e,...n})=>(0,Y.jsx)("li",{className:e,children:(0,Y.jsx)("a",{...n,className:"llv8jq0",children:n.children})}),t(86122);var r5=({className:e,...n})=>(0,Y.jsxs)("button",{className:(0,ev.Z)("al1lul0",e),...n,"aria-label":"Close Drawer",children:[(0,Y.jsx)("span",{children:"close"}),(0,Y.jsx)(ra.Z,{className:"al1lul1"})]});t(86105);var r9="_1yqd7kl8",r6=({items:e,onClose:n,open:t,shortcutBar:r,endSection:o,background:i,showAuth:a,initialSearchFocus:s,storybookStatic:l,randomizeSearchPlaceholder:c=[]})=>{let{drawerId:u}=(0,rf.Q)(),d=(0,n9.z$)(),p=(0,ee.useRef)(null),[m,h]=(0,ee.useState)("Search"),{isDrawerOpen:f,closeDrawer:g}=(0,e6.D)();return(0,ee.useEffect)(()=>{t&&f&&g()},[g,t,f]),(0,ee.useEffect)(()=>{if(t&&c.length){let e=Math.floor(Math.random()*c.length);h(c[e])}},[t,c]),(0,Y.jsx)(rR.Z,{drawerClassName:"_1yqd7kl0",drawerId:u,onClose:n,open:t,storybookStatic:l,initialFocusElement:s&&p.current,"aria-label":"Navigation Drawer",children:(0,Y.jsxs)("div",{className:"_1yqd7kl5",children:[(0,Y.jsxs)("div",{children:[i&&i,(0,Y.jsxs)("div",{children:[(0,Y.jsxs)("div",{className:"_1yqd7kl1",children:[a?(0,Y.jsx)(rP,{}):(0,Y.jsx)("div",{}),(0,Y.jsx)(r5,{onClick:n,"aria-controls":u})]}),(0,Y.jsx)("div",{children:(0,Y.jsx)("form",{onSubmit:e=>{e.preventDefault();let n=p.current?.value||null;n?window.location.href=`/search?q=${n}`:window.location.href="/search"},"aria-label":"Search Form",children:(0,Y.jsx)(rk.Z,{inputClassName:"_1yqd7kl2",iconClassName:"_1yqd7kl3",ref:p,placeholder:m})})}),r,(0,Y.jsx)("nav",{className:"_1yqd7kl4","aria-label":"Drawer Navigation",children:(0,Y.jsx)(r4,{children:e.map((e,n)=>e.subItems&&0!==e.subItems.length?(0,Y.jsxs)(r4.Group,{title:e.title,special:e.special,defaultOpen:e.defaultOpen,children:[e.allLink&&(0,Y.jsxs)(r4.GroupItem,{href:e.allLink.url,target:e.allLink.target,onClick:()=>e.allLink?.title&&d?.emit({event:"navigation_click",navigation_click:{name:e.allLink.title}}),children:[e.allLink.title,"_blank"===e.allLink.target&&(0,Y.jsx)(rE.Z,{className:r9})]}),e.subItems.map((e,n)=>(0,Y.jsxs)(r4.GroupItem,{href:e.url,target:e.target,onClick:()=>d?.emit({event:"navigation_click",navigation_click:{name:e.title}}),children:[e.title,"_blank"===e.target&&(0,Y.jsx)(rE.Z,{className:r9})]},n))]},n):(0,Y.jsxs)(r4.Item,{href:e.allLink?.url||e.url,target:e.allLink?.target||e.target,rel:"noreferrer",special:e.special,onClick:()=>(e.allLink?.url||e.url)&&d?.emit({event:"navigation_click",navigation_click:{name:e.allLink?.url||e.url}}),children:[e.title,("_blank"===e.target||e.allLink?.target==="_blank")&&(0,Y.jsx)(rE.Z,{className:r9})]},n))})})]}),(0,Y.jsx)("div",{children:o})]}),(0,Y.jsx)("div",{className:"_1yqd7kl6"}),(0,Y.jsx)("div",{className:"_1yqd7kl7",children:(0,Y.jsx)(rB.Z,{})})]})})},r8=t(66342),r7=t(87240),oe=t(92049);t(68941);var on="_1bn7g9f9",ot="_1bn7g9fa",or="_1bn7g9f3",oo="_1bn7g9fm",oi="_1bn7g9fc",oa="_1bn7g9f7 _1bn7g9f6",os=({Logo:e,streamHeadline:n,streamUrl:t,packageHeadline:r,packageUrl:o,hamburgerButton:i,commentCount:a,isLive:s})=>{let l=!!(s&&n)||!r,c=l?n:r;return(0,Y.jsxs)("div",{className:(0,ev.Z)(oa),children:[(0,Y.jsx)("a",{href:"/","aria-label":"Click to visit the homepage",tabIndex:-1,className:(0,ev.Z)(or,"_1bn7g9fp"),children:(0,Y.jsx)(e,{className:(0,ev.Z)(ot)})}),c&&(0,Y.jsxs)("div",{className:"_1bn7g9fo",children:[s&&(0,Y.jsx)(oe.Z,{variation:"card"}),(0,Y.jsx)("a",{href:l?t:o,target:"_blank",className:(0,ev.Z)(on,"_1bn7g9fn"),rel:"noreferrer",children:c})]}),(0,Y.jsxs)("div",{className:oi,children:[a,i]})]})},ol=t(99962),oc=t.n(ol),ou=t(11885),od=t(2653),op=t(97585);t(49553);var om="_7dgjqdp",oh="_7dgjqdm",of="_7dgjqds",og="_7dgjqdf",o_="_7dgjqdi",oy="_7dgjqdr",ov=({open:e,onClick:n,title:t,subTitle:r,transitionStatus:o,drawerId:i})=>(0,Y.jsxs)("button",{className:"_7dgjqd6",onClick:n,"aria-expanded":e?"true":"false","aria-controls":i,"aria-label":`${e?"Expand":"Collapse"} Special Navigation`,title:`${t}${r?": "+r:""}`,children:[(0,Y.jsxs)("span",{className:"_7dgjqd7",children:[(0,Y.jsxs)("span",{className:(0,ev.Z)("_7dgjqd8",oy,(e||!r)&&"_7dgjqdt"),children:[t,r&&(0,Y.jsx)("span",{className:"_7dgjqdb",children:": "})]}),r&&(0,Y.jsx)(od.Z,{component:"span",className:(0,ev.Z)("_7dgjqd9","_7dgjqdu",e&&"_7dgjqdv"),html:r})]}),(0,Y.jsx)(op.Z,{className:(0,ev.Z)("_7dgjqda",oy,"entering"===o&&of,"entered"===o&&of)})]}),ob=t(91979),oC=t(80926),oT=({open:e=!1,permalink:n,text:t,onClick:r,sectionId:o,loopNavTitle:i})=>{let a=(0,n9.z$)();return n?(0,Y.jsx)("a",{className:og,href:n,onClick:()=>{a?.emit({event:"loopnav",loopnav:{action:"click",loopnav_name:i,url:n,variant:"hyperlink"}}),r()},children:t}):(0,Y.jsxs)("button",{className:(0,ev.Z)(og,e&&"_7dgjqdg"),onClick:r,"aria-expanded":e?"true":"false","aria-controls":o,"aria-label":`${e?"Expand":"Collapse"} '${t}' Section`,children:[(0,Y.jsx)(od.Z,{component:"span",className:"_7dgjqdh",html:t}),e?(0,Y.jsx)(r2.Z,{className:o_}):(0,Y.jsx)(r3.Z,{className:o_})]})},oS=(0,ee.forwardRef)(({text:e,items:n,onClick:t,open:r=!1,permalink:o,loopNavTitle:i},a)=>{let s=(0,ee.useId)(),l=(0,n9.z$)();return(0,Y.jsxs)("li",{className:r&&n?"_7dgjqde":"_7dgjqdd",children:[(0,Y.jsx)(oT,{open:r,...0===(n?.length||0)?{permalink:o}:{},onClick:t,text:e,sectionId:s,loopNavTitle:i}),n&&(0,Y.jsx)("ol",{className:(0,ev.Z)(!r&&rc.F.layout.hide,"_7dgjqdk"),id:s,children:n.map(({text:e,permalink:n,current:t})=>(0,Y.jsx)("li",{...t?{ref:a}:{},className:(0,ev.Z)("_7dgjqdl",t&&"_7dgjqdn"),children:n?(0,Y.jsx)("a",{onClick:()=>{l?.emit({event:"loopnav",loopnav:{action:"click",loopnav_name:i,url:n,variant:"dropdown"}})},className:oh,href:n,children:(0,Y.jsx)(od.Z,{component:"span",html:e})}):(0,Y.jsx)(od.Z,{className:oh,component:"span",html:e})},e))}),(0,Y.jsx)("hr",{className:"_7dgjqdj"})]})}),ok=({transitionStatus:e,sections:n,initialOpenSectionTitle:t,loopNavTitle:r})=>{let[o,i]=(0,ee.useState)(t),[a,s]=(0,ee.useState)(!1),l=(0,ee.useRef)(null),c=(0,ee.useRef)(null),u=(0,ee.useRef)(null),d=nu()(()=>{l.current&&s(l.current.offsetHeight-Array.from(l.current.querySelectorAll(`.${og}`)).reduce((e,n)=>e+n.offsetHeight,0)>250)},300),p=()=>{if(!c.current)return;let e=(0,oC.wh)();c.current.scrollIntoView({behavior:"instant",block:e?"start":"center"})};return(0,ee.useEffect)(()=>{if(!l.current)return;let e=l.current;d(),p();let n=new ResizeObserver(()=>{d()});return n.observe(e),()=>{n.unobserve(e)}},[e,d]),(0,ee.useEffect)(()=>{if(!u.current)return;let e=new MutationObserver(e=>{for(let n of e)"class"===n.attributeName&&(0,ob.setTimeout)(p,150)});return e.observe(u.current,{attributes:!0}),()=>{e.disconnect()}},[]),(0,Y.jsxs)("nav",{className:(0,ev.Z)("_7dgjqd5",a&&"_7dgjqd0"),"aria-label":"Drawer Navigation",ref:u,children:[(0,Y.jsx)("div",{className:rc.F.accessibility.srOnly,children:(0,Y.jsx)("div",{id:"loopnav-title",children:"Drawer"})}),(0,Y.jsx)("ol",{className:"_7dgjqdc",ref:l,children:n.map(({text:e,items:n,permalink:t})=>{let a=o===e;return(0,Y.jsx)(oS,{text:e,loopNavTitle:r,items:n,onClick:()=>{i(a?void 0:e)},open:a,permalink:t,ref:c},e)})})]})},oE=(0,rv.n)(({forceOpenLoopNav:e})=>{let{drawerId:n,isDrawerOpen:t,closeDrawer:r,openDrawer:o,loopNavData:i}=(0,e6.D)(),[a,s]=(0,ee.useState)(!1),l=(0,ee.useRef)(null),c=(0,n9.z$)();if(!i)return null;let{sections:u,title:d}=i,p=u.find(e=>e.current)||null,m=p?.text,h=()=>{t?r():(c?.emit({event:"loopnav",loopnav:{action:"click_dropdown",loopnav_name:d}}),o())};return(0,Y.jsx)("div",{className:(0,ev.Z)(rl.I.LoopNav,"_7dgjqd1"),children:(0,Y.jsx)(ou.ZP,{in:e||t,timeout:150,nodeRef:l,onEntered:()=>s(!0),onExited:()=>s(!1),children:o=>(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(ov,{open:e||t,drawerId:n,onClick:h,title:d,subTitle:m,transitionStatus:o}),(0,Y.jsx)("div",{id:"animate-under-me",className:"_7dgjqdo"}),(0,Y.jsx)("div",{id:n,ref:l,className:(0,ev.Z)("_7dgjqd2","exited"===o&&rc.F.layout.hide),onClick:e=>{e.currentTarget===e.target&&r()},onKeyUp:e=>{"Escape"===e.key&&r()},role:"dialog","aria-modal":"true","aria-labelledby":"loopnav-title",children:(0,Y.jsx)("section",{className:(0,ev.Z)("_7dgjqd3",oy,"_7dgjqdw","entering"===o&&om,"entered"===o&&"_7dgjqdq","exiting"===o&&om),children:(0,Y.jsx)(oc(),{active:a,focusTrapOptions:{escapeDeactivates:!1,clickOutsideDeactivates:!1,allowOutsideClick:!0},children:(0,Y.jsx)("div",{className:"_7dgjqd4",children:(0,Y.jsx)(ok,{transitionStatus:o,sections:u,initialOpenSectionTitle:m,loopNavTitle:d})})})})})]})})})},{context:"LoopNavErrorBoundary"}),oR=t(63132),oI=({Logo:e,MinimalLogo:n,hamburgerButton:t,forceOpenLoopNav:r,commentCount:o})=>(0,Y.jsxs)("div",{className:(0,ev.Z)("_1bn7g9f6"),children:[(0,Y.jsxs)("a",{href:"/","aria-label":"Click to visit the homepage",tabIndex:-1,className:"_1bn7g9f4",children:[(0,Y.jsx)(e,{className:(0,ev.Z)(ot,n&&oR.hide&&oR.showTabletPlus)}),n&&(0,Y.jsx)(n,{className:(0,ev.Z)(oR.hideTabletPlus)})]}),(0,Y.jsx)(oE,{forceOpenLoopNav:r}),(0,Y.jsxs)("div",{className:(0,ev.Z)(oi,"_1bn7g9fd"),children:[o,t]})]}),oA=t(49413),ow=({Logo:e,headline:n,isBranded:t=!1,hamburgerButton:r,campaign:o,commentCount:i,notificationsButton:a})=>(0,Y.jsxs)("div",{className:(0,ev.Z)(oa),children:[(0,Y.jsx)("a",{href:"/","aria-label":"Click to visit the homepage",tabIndex:-1,className:or,children:(0,Y.jsx)(e,{className:(0,ev.Z)(ot,t&&"_1bn7g9fb")})}),n&&(0,Y.jsx)("div",{className:on,children:n}),(0,Y.jsxs)("div",{className:oi,children:[o&&(0,Y.jsx)(oA.Z,{campaign:o,imageClassName:(0,ev.Z)(t?"_1bn7g9fg":"_1bn7g9ff"),textClassName:(0,ev.Z)("_1bn7g9fh",t&&"_1bn7g9fi")}),i,a,r]})]}),ox=t(16584),oP=t(13454),oB=t(59004);function oN(e){for(var n=arguments.length,t=Array(n>1?n-1:0),r=1;re.length)&&(n=e.length);for(var t=0,r=Array(n);t=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function io(){return(io=Object.assign?Object.assign.bind():function(e){for(var n=1;nr&&(r=s.dependenciesState_)}for(t.length=o,e.newObserving_=null,i=n.length;i--;){var l=n[i];0===l.diffValue&&ag(l,e),l.diffValue=0}for(;o--;){var c=t[o];1===c.diffValue&&(c.diffValue=0,c.observers_.add(e),c.lowestObserverState_>e.dependenciesState_&&(c.lowestObserverState_=e.dependenciesState_))}r!==U.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),au(o),r}function ai(e){var n=e.observing_;e.observing_=[];for(var t=n.length;t--;)ag(n[t],e);e.dependenciesState_=U.NOT_TRACKING_}function aa(e){var n=as();try{return e()}finally{al(n)}}function as(){var e=af.trackingDerivation;return af.trackingDerivation=null,e}function al(e){af.trackingDerivation=e}function ac(e){var n=af.allowStateReads;return af.allowStateReads=e,n}function au(e){af.allowStateReads=e}function ad(e){if(e.dependenciesState_!==U.UP_TO_DATE_){e.dependenciesState_=U.UP_TO_DATE_;for(var n=e.observing_,t=n.length;t--;)n[t].lowestObserverState_=U.UP_TO_DATE_}}var ap=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},am=!0,ah=!1,af=((y=oL()).__mobxInstanceCount>0&&!y.__mobxGlobals&&(am=!1),y.__mobxGlobals&&y.__mobxGlobals.version!==new ap().version&&(am=!1),am)?y.__mobxGlobals?(y.__mobxInstanceCount+=1,y.__mobxGlobals.UNCHANGED||(y.__mobxGlobals.UNCHANGED={}),y.__mobxGlobals):(y.__mobxInstanceCount=1,y.__mobxGlobals=new ap):(setTimeout(function(){ah||oN(35)},1),new ap);function ag(e,n){e.observers_.delete(n),0===e.observers_.size&&a_(e)}function a_(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,af.pendingUnobservations.push(e))}function ay(){af.inBatch++}function av(){if(0==--af.inBatch){ak();for(var e=af.pendingUnobservations,n=0;n0&&a_(e),!1)}function aC(e){e.lowestObserverState_!==U.STALE_&&(e.lowestObserverState_=U.STALE_,e.observers_.forEach(function(e){e.dependenciesState_===U.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=U.STALE_}))}var aT=function(){function e(e,n,t,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=U.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=q.NONE,this.name_=e,this.onInvalidate_=n,this.errorHandler_=t,this.requiresObservable_=r}var n=e.prototype;return n.onBecomeStale_=function(){this.schedule_()},n.schedule_=function(){this.isScheduled||(this.isScheduled=!0,af.pendingReactions.push(this),ak())},n.runReaction_=function(){if(!this.isDisposed){ay(),this.isScheduled=!1;var e=af.trackingContext;if(af.trackingContext=this,ar(this)){this.isTrackPending=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}af.trackingContext=e,av()}},n.track=function(e){if(!this.isDisposed){ay(),this.isRunning=!0;var n=af.trackingContext;af.trackingContext=this;var t=ao(this,e,void 0);af.trackingContext=n,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&ai(this),at(t)&&this.reportExceptionInDerivation_(t.cause),av()}},n.reportExceptionInDerivation_=function(e){var n=this;if(this.errorHandler_){this.errorHandler_(e,this);return}if(af.disableErrorBoundaries)throw e;af.suppressReactionErrors||console.error("[mobx] uncaught error in '"+this+"'",e),af.globalReactionErrorHandlers.forEach(function(t){return t(e,n)})},n.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(ay(),ai(this),av()))},n.getDisposer_=function(e){var n=this,t=function t(){n.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",t)};return null==e||null==e.addEventListener||e.addEventListener("abort",t),t[id]=this,t},n.toString=function(){return"Reaction["+this.name_+"]"},n.trace=function(e){void 0===e&&(e=!1)},it(e,[{key:"isDisposed",get:function(){return!!(this.flags_&e.isDisposedMask_)},set:function(n){this.flags_=o8(this.flags_,e.isDisposedMask_,n)}},{key:"isScheduled",get:function(){return!!(this.flags_&e.isScheduledMask_)},set:function(n){this.flags_=o8(this.flags_,e.isScheduledMask_,n)}},{key:"isTrackPending",get:function(){return!!(this.flags_&e.isTrackPendingMask_)},set:function(n){this.flags_=o8(this.flags_,e.isTrackPendingMask_,n)}},{key:"isRunning",get:function(){return!!(this.flags_&e.isRunningMask_)},set:function(n){this.flags_=o8(this.flags_,e.isRunningMask_,n)}},{key:"diffValue",get:function(){return this.flags_&e.diffValueMask_?1:0},set:function(n){this.flags_=o8(this.flags_,e.diffValueMask_,1===n)}}])}();aT.isDisposedMask_=1,aT.isScheduledMask_=2,aT.isTrackPendingMask_=4,aT.isRunningMask_=8,aT.diffValueMask_=16;var aS=function(e){return e()};function ak(){af.inBatch>0||af.isRunningReactions||aS(aE)}function aE(){af.isRunningReactions=!0;for(var e=af.pendingReactions,n=0;e.length>0;){100==++n&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var t=e.splice(0),r=0,o=t.length;r",n,e):oK(t)?i5(n,t,e):iu(t)?(e?aP:aw).decorate_20223_(n,t):o$(t)?ic(n,t,e?aP:aw):o$(n)?il(iv(e?aA:aI,{name:n,autoAction:e})):void 0}}var aO=aN(!1);Object.assign(aO,aw);var aL=aN(!0);function aM(e){return oK(e)&&!0===e.isMobxAction}Object.assign(aL,aP),aO.bound=il(ax),aL.bound=il(aB);var aj=function(e){return e()};function aD(e,n,t){return aU("onBUO",e,n,t)}function aU(e,n,t,r){var o="function"==typeof r?sA(n,t):sA(n),i=oK(r)?r:t,a=e+"L";return o[a]?o[a].add(i):o[a]=new Set([i]),function(){var e=o[a];e&&(e.delete(i),0===e.size&&delete o[a])}}var aq="always",aF=0;function aH(){this.message="FLOW_CANCELLED"}aH.prototype=Object.create(Error.prototype);var aG=ik("flow"),aV=ik("flow.bound",{bound:!0}),az=Object.assign(function(e,n){if(iu(n))return aG.decorate_20223_(e,n);if(o$(n))return ic(e,n,aG);var t=e.name||"",r=function(){var n,r=arguments,o=++aF,i=aO(t+" - runid: "+o+" - init",e).apply(this,r),a=void 0,s=new Promise(function(e,r){var s=0;function l(e){var n;a=void 0;try{n=aO(t+" - runid: "+o+" - yield "+s++,i.next).call(i,e)}catch(e){return r(e)}u(n)}function c(e){var n;a=void 0;try{n=aO(t+" - runid: "+o+" - yield "+s++,i.throw).call(i,e)}catch(e){return r(e)}u(n)}function u(n){if(oK(null==n?void 0:n.then)){n.then(u,r);return}return n.done?e(n.value):(a=Promise.resolve(n.value)).then(l,c)}n=r,l(void 0)});return s.cancel=aO(t+" - runid: "+o+" - cancel",function(){try{a&&aW(a);var e=i.return(void 0),t=Promise.resolve(e.value);t.then(oW,oW),aW(t),n(new aH)}catch(e){n(e)}}),s};return r.isMobXFlow=!0,r},aG);function aW(e){oK(e.cancel)&&e.cancel()}function aK(e){return(null==e?void 0:e.isMobXFlow)===!0}function a$(e){return!!e&&(sv(e)||!!e[id]||im(e)||aR(e)||ae(e))}function aQ(e,n){void 0===n&&(n=void 0),ay();try{return e.apply(n)}finally{av()}}az.bound=il(aV);var aY={has:function(e,n){return e[id].has_(n)},get:function(e,n){return e[id].get_(n)},set:function(e,n,t){var r;return!!o$(n)&&(null==(r=e[id].set_(n,t,!0))||r)},deleteProperty:function(e,n){var t;return!!o$(n)&&(null==(t=e[id].delete_(n,!0))||t)},defineProperty:function(e,n,t){var r;return null==(r=e[id].defineProperty_(n,t))||r},ownKeys:function(e){return e[id].ownKeys_()},preventExtensions:function(e){oN(13)}};function aZ(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function aJ(e,n){var t=e.interceptors_||(e.interceptors_=[]);return t.push(n),oz(function(){var e=t.indexOf(n);-1!==e&&t.splice(e,1)})}function aX(e,n){var t=as();try{for(var r=[].concat(e.interceptors_||[]),o=0,i=r.length;o0}function a1(e,n){var t=e.changeListeners_||(e.changeListeners_=[]);return t.push(n),oz(function(){var e=t.indexOf(n);-1!==e&&t.splice(e,1)})}function a2(e,n){var t=as(),r=e.changeListeners_;if(r){r=r.slice();for(var o=0,i=r.length;o0?e.map(this.dehancer):e},n.intercept_=function(e){return aJ(this,e)},n.observe_=function(e,n){return void 0===n&&(n=!1),n&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),a1(this,e)},n.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},n.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&oN("Out of range: "+e);var n=this.values_.length;if(e!==n){if(e>n){for(var t=Array(e-n),r=0;r0&&sI(e+n+1)},n.spliceWithArray_=function(e,n,t){var r=this;this.atom_;var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),n=1==arguments.length?o-e:null==n?0:Math.max(0,Math.min(n,o-e)),void 0===t&&(t=oq),aZ(this)){var i=aX(this,{object:this.proxy_,type:a3,index:e,removedCount:n,added:t});if(!i)return oq;n=i.removedCount,t=i.added}if(t=0===t.length?t:t.map(function(e){return r.enhancer_(e,void 0)}),this.legacyMode_){var a=t.length-n;this.updateArrayLength_(o,a)}var s=this.spliceItemsIntoValues_(e,n,t);return(0!==n||0!==t.length)&&this.notifyArraySplice_(e,t,s),this.dehanceValues_(s)},n.spliceItemsIntoValues_=function(e,n,t){if(t.length<1e4){var r;return(r=this.values_).splice.apply(r,[e,n].concat(t))}var o=this.values_.slice(e,e+n),i=this.values_.slice(e+n);this.values_.length+=t.length-n;for(var a=0;a=this.values_.length){console.warn("[mobx] Out of bounds read: "+e);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e])},n.set_=function(e,n){var t=this.values_;if(this.legacyMode_&&e>t.length&&oN(17,e,t.length),e2?t-2:0),o=2;o-1&&(this.splice(t,1),!0)}};function a8(e,n){"function"==typeof Array.prototype[e]&&(a6[e]=n(e))}function a7(e){return function(){var n=this[id];n.atom_.reportObserved();var t=n.dehanceValues_(n.values_);return t[e].apply(t,arguments)}}function se(e){return function(n,t){var r=this,o=this[id];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e](function(e,o){return n.call(t,e,o,r)})}}function sn(e){return function(){var n=this,t=this[id];t.atom_.reportObserved();var r=t.dehanceValues_(t.values_),o=arguments[0];return arguments[0]=function(e,t,r){return o(e,t,r,n)},r[e].apply(r,arguments)}}a8("at",a7),a8("concat",a7),a8("flat",a7),a8("includes",a7),a8("indexOf",a7),a8("join",a7),a8("lastIndexOf",a7),a8("slice",a7),a8("toString",a7),a8("toLocaleString",a7),a8("toSorted",a7),a8("toSpliced",a7),a8("with",a7),a8("every",se),a8("filter",se),a8("find",se),a8("findIndex",se),a8("findLast",se),a8("findLastIndex",se),a8("flatMap",se),a8("forEach",se),a8("map",se),a8("some",se),a8("toReversed",se),a8("reduce",sn),a8("reduceRight",sn);var st=o0("ObservableArrayAdministration",a9);function sr(e){return oQ(e)&&st(e[id])}var so={},si="delete",sa=function(){function e(e,n,t){var r=this;void 0===n&&(n=i_),void 0===t&&(t="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[id]=so,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=n,this.name_=t,oK(Map)||oN(18),sx(function(){r.keysAtom_=ih("ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.merge(e)})}var n=e.prototype;return n.has_=function(e){return this.data_.has(e)},n.has=function(e){var n=this;if(!af.trackingDerivation)return this.has_(e);var t=this.hasMap_.get(e);if(!t){var r=t=new i8(this.has_(e),iy,"ObservableMap.key?",!1);this.hasMap_.set(e,r),aD(r,function(){return n.hasMap_.delete(e)})}return t.get()},n.set=function(e,n){var t=this.has_(e);if(aZ(this)){var r=aX(this,{type:t?a4:"add",object:this,newValue:n,name:e});if(!r)return this;n=r.newValue}return t?this.updateValue_(e,n):this.addValue_(e,n),this},n.delete=function(e){var n=this;if(this.keysAtom_,aZ(this)&&!aX(this,{type:si,object:this,name:e}))return!1;if(this.has_(e)){var t=a0(this),r=t?{observableKind:"map",debugObjectName:this.name_,type:si,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return aQ(function(){var t;n.keysAtom_.reportChanged(),null==(t=n.hasMap_.get(e))||t.setNewValue_(!1),n.data_.get(e).setNewValue_(void 0),n.data_.delete(e)}),t&&a2(this,r),!0}return!1},n.updateValue_=function(e,n){var t=this.data_.get(e);if((n=t.prepareNewValue_(n))!==af.UNCHANGED){var r=a0(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:a4,object:this,oldValue:t.value_,name:e,newValue:n}:null;t.setNewValue_(n),r&&a2(this,o)}},n.addValue_=function(e,n){var t=this;this.keysAtom_,aQ(function(){var r,o=new i8(n,t.enhancer_,"ObservableMap.key",!1);t.data_.set(e,o),n=o.value_,null==(r=t.hasMap_.get(e))||r.setNewValue_(!0),t.keysAtom_.reportChanged()});var r=a0(this),o=r?{observableKind:"map",debugObjectName:this.name_,type:"add",object:this,name:e,newValue:n}:null;r&&a2(this,o)},n.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},n.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},n.values=function(){var e=this,n=this.keys();return sl({next:function(){var t=n.next(),r=t.done,o=t.value;return{done:r,value:r?void 0:e.get(o)}}})},n.entries=function(){var e=this,n=this.keys();return sl({next:function(){var t=n.next(),r=t.done,o=t.value;return{done:r,value:r?void 0:[o,e.get(o)]}}})},n[Symbol.iterator]=function(){return this.entries()},n.forEach=function(e,n){for(var t,r=ir(this);!(t=r()).done;){var o=t.value,i=o[0],a=o[1];e.call(n,a,i,this)}},n.merge=function(e){var n=this;return ss(e)&&(e=new Map(e)),aQ(function(){oY(e)?(function(e){var n=Object.keys(e);if(!o3)return n;var t=Object.getOwnPropertySymbols(e);return t.length?[].concat(n,t.filter(function(n){return oU.propertyIsEnumerable.call(e,n)})):n})(e).forEach(function(t){return n.set(t,e[t])}):Array.isArray(e)?e.forEach(function(e){var t=e[0],r=e[1];return n.set(t,r)}):o1(e)?(null!==Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(e)))&&oN(19,e),e.forEach(function(e,t){return n.set(t,e)})):null!=e&&oN(20,e)}),this},n.clear=function(){var e=this;aQ(function(){aa(function(){for(var n,t=ir(e.keys());!(n=t()).done;){var r=n.value;e.delete(r)}})})},n.replace=function(e){var n=this;return aQ(function(){for(var t,r=function(e){if(o1(e)||ss(e))return e;if(Array.isArray(e))return new Map(e);if(!oY(e))return oN(21,e);var n=new Map;for(var t in e)n.set(t,e[t]);return n}(e),o=new Map,i=!1,a=ir(n.data_.keys());!(t=a()).done;){var s=t.value;if(!r.has(s)){if(n.delete(s))i=!0;else{var l=n.data_.get(s);o.set(s,l)}}}for(var c,u=ir(r.entries());!(c=u()).done;){var d=c.value,p=d[0],m=d[1],h=n.data_.has(p);if(n.set(p,m),n.data_.has(p)){var f=n.data_.get(p);o.set(p,f),h||(i=!0)}}if(!i){if(n.data_.size!==o.size)n.keysAtom_.reportChanged();else for(var g=n.data_.keys(),_=o.keys(),y=g.next(),v=_.next();!y.done;){if(y.value!==v.value){n.keysAtom_.reportChanged();break}y=g.next(),v=_.next()}}n.data_=o}),this},n.toString=function(){return"[object ObservableMap]"},n.toJSON=function(){return Array.from(this)},n.observe_=function(e,n){return a1(this,e)},n.intercept_=function(e){return aJ(this,e)},it(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),ss=o0("ObservableMap",sa);function sl(e){return e[Symbol.toStringTag]="MapIterator",sL(e)}var sc={},su=function(){function e(e,n,t){var r=this;void 0===n&&(n=i_),void 0===t&&(t="ObservableSet"),this.name_=void 0,this[id]=sc,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=t,oK(Set)||oN(22),this.enhancer_=function(e,r){return n(e,r,t)},sx(function(){r.atom_=ih(r.name_),e&&r.replace(e)})}var n=e.prototype;return n.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.clear=function(){var e=this;aQ(function(){aa(function(){for(var n,t=ir(e.data_.values());!(n=t()).done;){var r=n.value;e.delete(r)}})})},n.forEach=function(e,n){for(var t,r=ir(this);!(t=r()).done;){var o=t.value;e.call(n,o,o,this)}},n.add=function(e){var n=this;if(this.atom_,aZ(this)){var t=aX(this,{type:"add",object:this,newValue:e});if(!t)return this;e=t.newValue}if(!this.has(e)){aQ(function(){n.data_.add(n.enhancer_(e,void 0)),n.atom_.reportChanged()});var r=a0(this),o=r?{observableKind:"set",debugObjectName:this.name_,type:"add",object:this,newValue:e}:null;r&&a2(this,o)}return this},n.delete=function(e){var n=this;if(aZ(this)&&!aX(this,{type:si,object:this,oldValue:e}))return!1;if(this.has(e)){var t=a0(this),r=t?{observableKind:"set",debugObjectName:this.name_,type:si,object:this,oldValue:e}:null;return aQ(function(){n.atom_.reportChanged(),n.data_.delete(e)}),t&&a2(this,r),!0}return!1},n.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},n.entries=function(){var e=this.values();return sp({next:function(){var n=e.next(),t=n.value,r=n.done;return r?{value:void 0,done:r}:{value:[t,t],done:r}}})},n.keys=function(){return this.values()},n.values=function(){this.atom_.reportObserved();var e=this,n=this.data_.values();return sp({next:function(){var t=n.next(),r=t.value,o=t.done;return o?{value:void 0,done:o}:{value:e.dehanceValue_(r),done:o}}})},n.intersection=function(e){return o2(e)&&!sd(e)?e.intersection(this):new Set(this).intersection(e)},n.union=function(e){return o2(e)&&!sd(e)?e.union(this):new Set(this).union(e)},n.difference=function(e){return new Set(this).difference(e)},n.symmetricDifference=function(e){return o2(e)&&!sd(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},n.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},n.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},n.isDisjointFrom=function(e){return o2(e)&&!sd(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},n.replace=function(e){var n=this;return sd(e)&&(e=new Set(e)),aQ(function(){Array.isArray(e)?(n.clear(),e.forEach(function(e){return n.add(e)})):o2(e)?(n.clear(),e.forEach(function(e){return n.add(e)})):null!=e&&oN("Cannot initialize set from "+e)}),this},n.observe_=function(e,n){return a1(this,e)},n.intercept_=function(e){return aJ(this,e)},n.toJSON=function(){return Array.from(this)},n.toString=function(){return"[object ObservableSet]"},n[Symbol.iterator]=function(){return this.values()},it(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),sd=o0("ObservableSet",su);function sp(e){return e[Symbol.toStringTag]="SetIterator",sL(e)}var sm=Object.create(null),sh="remove",sf=function(){function e(e,n,t,r){void 0===n&&(n=new Map),void 0===r&&(r=ij),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=n,this.name_=t,this.defaultAnnotation_=r,this.keysAtom_=new ip("ObservableObject.keys"),this.isPlainObject_=oY(this.target_)}var n=e.prototype;return n.getObservablePropValue_=function(e){return this.values_.get(e).get()},n.setObservablePropValue_=function(e,n){var t=this.values_.get(e);if(t instanceof i7)return t.set(n),!0;if(aZ(this)){var r=aX(this,{type:a4,object:this.proxy_||this.target_,name:e,newValue:n});if(!r)return null;n=r.newValue}if((n=t.prepareNewValue_(n))!==af.UNCHANGED){var o=a0(this),i=o?{type:a4,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:t.value_,name:e,newValue:n}:null;t.setNewValue_(n),o&&a2(this,i)}return!0},n.get_=function(e){return af.trackingDerivation&&!o9(this.target_,e)&&this.has_(e),this.target_[e]},n.set_=function(e,n,t){return(void 0===t&&(t=!1),o9(this.target_,e))?this.values_.has(e)?this.setObservablePropValue_(e,n):t?Reflect.set(this.target_,e,n):(this.target_[e]=n,!0):this.extend_(e,{value:n,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,t)},n.has_=function(e){if(!af.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var n=this.pendingKeys_.get(e);return n||(n=new i8(e in this.target_,iy,"ObservableObject.key?",!1),this.pendingKeys_.set(e,n)),n.get()},n.make_=function(e,n){if(!0===n&&(n=this.defaultAnnotation_),!1!==n){if(!(e in this.target_)){var t;if(null!=(t=this.target_[is])&&t[e])return;oN(1,n.annotationType_,this.name_+"."+e.toString())}for(var r=this.target_;r&&r!==oU;){var o=oj(r,e);if(o){var i=n.make_(this,e,o,r);if(0===i)return;if(1===i)break}r=Object.getPrototypeOf(r)}sb(this,n,e)}},n.extend_=function(e,n,t,r){if(void 0===r&&(r=!1),!0===t&&(t=this.defaultAnnotation_),!1===t)return this.defineProperty_(e,n,r);var o=t.extend_(this,e,n,r);return o&&sb(this,t,e),o},n.defineProperty_=function(e,n,t){void 0===t&&(t=!1),this.keysAtom_;try{ay();var r=this.delete_(e);if(!r)return r;if(aZ(this)){var o=aX(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:n.value});if(!o)return null;var i=o.newValue;n.value!==i&&(n=io({},n,{value:i}))}if(t){if(!Reflect.defineProperty(this.target_,e,n))return!1}else oD(this.target_,e,n);this.notifyPropertyAddition_(e,n.value)}finally{av()}return!0},n.defineObservableProperty_=function(e,n,t,r){void 0===r&&(r=!1),this.keysAtom_;try{ay();var o=this.delete_(e);if(!o)return o;if(aZ(this)){var i=aX(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:n});if(!i)return null;n=i.newValue}var a=sy(e),s={configurable:!af.safeDescriptors||this.isPlainObject_,enumerable:!0,get:a.get,set:a.set};if(r){if(!Reflect.defineProperty(this.target_,e,s))return!1}else oD(this.target_,e,s);var l=new i8(n,t,"ObservableObject.key",!1);this.values_.set(e,l),this.notifyPropertyAddition_(e,l.value_)}finally{av()}return!0},n.defineComputedProperty_=function(e,n,t){void 0===t&&(t=!1),this.keysAtom_;try{ay();var r=this.delete_(e);if(!r)return r;if(aZ(this)&&!aX(this,{object:this.proxy_||this.target_,name:e,type:"add",newValue:void 0}))return null;n.name||(n.name="ObservableObject.key"),n.context=this.proxy_||this.target_;var o=sy(e),i={configurable:!af.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(t){if(!Reflect.defineProperty(this.target_,e,i))return!1}else oD(this.target_,e,i);this.values_.set(e,new i7(n)),this.notifyPropertyAddition_(e,void 0)}finally{av()}return!0},n.delete_=function(e,n){if(void 0===n&&(n=!1),this.keysAtom_,!o9(this.target_,e))return!0;if(aZ(this)&&!aX(this,{object:this.proxy_||this.target_,name:e,type:sh}))return null;try{ay();var t,r,o=a0(this),i=this.values_.get(e),a=void 0;if(!i&&o&&(a=null==(r=oj(this.target_,e))?void 0:r.value),n){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if(i&&(this.values_.delete(e),i instanceof i8&&(a=i.value_),aC(i)),this.keysAtom_.reportChanged(),null==(t=this.pendingKeys_)||null==(t=t.get(e))||t.set(e in this.target_),o){var s={type:sh,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:a,name:e};o&&a2(this,s)}}finally{av()}return!0},n.observe_=function(e,n){return a1(this,e)},n.intercept_=function(e){return aJ(this,e)},n.notifyPropertyAddition_=function(e,n){var t,r=a0(this);if(r){var o=r?{type:"add",observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:n}:null;r&&a2(this,o)}null==(t=this.pendingKeys_)||null==(t=t.get(e))||t.set(!0),this.keysAtom_.reportChanged()},n.ownKeys_=function(){return this.keysAtom_.reportObserved(),o4(this.target_)},n.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function sg(e,n){if(o9(e,id))return e;var t,r,o=null!=(r=null==n?void 0:n.name)?r:"ObservableObject",i=new sf(e,new Map,String(o),n?null!=(t=n.defaultDecorator)?t:iD(n):void 0);return oJ(e,id,i),e}var s_=o0("ObservableObjectAdministration",sf);function sy(e){return sm[e]||(sm[e]={get:function(){return this[id].getObservablePropValue_(e)},set:function(n){return this[id].setObservablePropValue_(e,n)}})}function sv(e){return!!oQ(e)&&s_(e[id])}function sb(e,n,t){var r;null==(r=e.target_[is])||delete r[t]}var sC=sR(0),sT=(v=!1,Object.defineProperty(b={},"0",{set:function(){v=!0}}),Object.create(b)["0"]=1,!1===v),sS=0,sk=function(){};C=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(sk.prototype,C):void 0!==sk.prototype.__proto__?sk.prototype.__proto__=C:sk.prototype=C;var sE=function(e){function n(n,t,r,o){var i;return void 0===r&&(r="ObservableArray"),void 0===o&&(o=!1),i=e.call(this)||this,sx(function(){var e=new a9(r,t,o,!0);e.proxy_=i,oX(i,id,e),n&&n.length&&i.spliceWithArray(0,0,n),sT&&Object.defineProperty(i,"0",sC)}),i}ii(n,e);var t=n.prototype;return t.concat=function(){this[id].atom_.reportObserved();for(var e=arguments.length,n=Array(e),t=0;tsS){for(var n,t=sS;t=0&&r++}n=sN(n),t=sN(t);var l="[object Array]"===s;if(!l){if("object"!=typeof n||"object"!=typeof t)return!1;var c=n.constructor,u=t.constructor;if(c!==u&&!(oK(c)&&c instanceof c&&oK(u)&&u instanceof u)&&"constructor"in n&&"constructor"in t)return!1}if(0===r)return!1;r<0&&(r=-1),i=i||[];for(var d=(o=o||[]).length;d--;)if(o[d]===n)return i[d]===t;if(o.push(n),i.push(t),l){if((d=n.length)!==t.length)return!1;for(;d--;)if(!e(n[d],t[d],r-1,o,i))return!1}else{var p=Object.keys(n),m=p.length;if(Object.keys(t).length!==m)return!1;for(var h=0;h0&&(t.dependencies=Array.from(new Set(n.observing_)).map(e)),t}(sA(e,void 0))}var sU=function(){function e(e){var n=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(n.sweepTimeout),n.sweepTimeout=void 0;var t=Date.now();n.registrations.forEach(function(r,o){t-r.registeredAt>=e&&(n.finalize(r.value),n.registrations.delete(o))}),n.registrations.size>0&&n.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){n.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,n,t){this.registrations.set(t,{value:n,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),sq=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:sU)(function(e){var n;null===(n=e.reaction)||void 0===n||n.dispose(),e.reaction=null}),sF=t(98499);function sH(e){e.reaction=new aT("observer".concat(e.name),function(){var n;e.stateVersion=Symbol(),null===(n=e.onStoreChange)||void 0===n||n.call(e)})}var sG="function"==typeof Symbol&&Symbol.for,sV=null!==(G=null===(H=Object.getOwnPropertyDescriptor(function(){},"name"))||void 0===H?void 0:H.configurable)&&void 0!==G&&G,sz=sG?Symbol.for("react.forward_ref"):"function"==typeof ee.forwardRef&&(0,ee.forwardRef)(function(e){return null}).$$typeof,sW=sG?Symbol.for("react.memo"):"function"==typeof ee.memo&&(0,ee.memo)(function(e){return null}).$$typeof,sK={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function s$(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}(T=sj.unstable_batchedUpdates)||(T=function(e){e()}),function(e){!0===e.isolateGlobalState&&function(){if((af.pendingReactions.length||af.inBatch||af.isRunningReactions)&&oN(36),ah=!0,am){var e=oL();0==--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),af=new ap}}();var n,t,r=e.useProxies,o=e.enforceActions;if(void 0!==r&&(af.useProxies=r===aq||"never"!==r&&"undefined"!=typeof Proxy),"ifavailable"===r&&(af.verifyProxies=!0),void 0!==o){var i=o===aq?aq:"observed"===o;af.enforceActions=i,af.allowStateChanges=!0!==i&&i!==aq}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(n){n in e&&(af[n]=!!e[n])}),af.allowStateReads=!af.observableRequiresReaction,e.reactionScheduler&&(n=e.reactionScheduler,t=aS,aS=function(e){return n(function(){return t(e)})})}({reactionScheduler:T}),sq.finalizeAllImmediately;var sQ=Symbol("patchMixins"),sY=Symbol("patchedDefinition");function sZ(e,n){for(var t,r=this,o=arguments.length,i=Array(o>2?o-2:0),a=2;a"}function s3(e){var n=e.bind(this),t=s1(this);return function(){t.reaction||(t.reaction=new aT(t.name+".render()",function(){if(!t.mounted){t.reactionInvalidatedBeforeMount=!0;return}try{null==t.forceUpdate||t.forceUpdate()}catch(n){var e;null==(e=t.reaction)||e.dispose(),t.reaction=null}}),t.mounted||sq.register(this,t,this));var e=void 0,r=void 0;if(t.reaction.track(function(){try{r=function(e,n){var t=i9(e);try{return n()}finally{i6(t)}}(!1,n)}catch(n){e=n}}),e)throw e;return r}}function s4(e,n){return this.state!==n||!function(e,n){if(s$(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(var o=0;o {}` or `render = function() {}` is not supported.");n.render=function(){return Object.defineProperty(this,"render",{configurable:!1,writable:!1,value:s3.call(this,t)}),this.render()};var r=n.componentDidMount;return n.componentDidMount=function(){var e=this,n=s1(this);return n.mounted=!0,sq.unregister(this),n.forceUpdate=function(){return e.forceUpdate()},(!n.reaction||n.reactionInvalidatedBeforeMount)&&n.forceUpdate(),null==r?void 0:r.apply(this,arguments)},!function(e,n,t){var r,o,i=((o=(r=e[sQ]=e[sQ]||{})[n]=r[n]||{}).locks=o.locks||0,o.methods=o.methods||[],o);0>i.methods.indexOf(t)&&i.methods.push(t);var a=Object.getOwnPropertyDescriptor(e,n);if(!a||!a[sY]){var s=e[n],l=function e(n,t,r,o,i){var a,s=sJ(i,o);return(a={})[sY]=!0,a.get=function(){return s},a.set=function(i){if(this===n)s=sJ(i,o);else{var a=e(this,t,r,o,i);Object.defineProperty(this,t,a)}},a.configurable=!0,a.enumerable=r,a}(e,n,a?a.enumerable:void 0,i,s);Object.defineProperty(e,n,l)}}(n,"componentWillUnmount",function(){var e,n=s1(this);null==(e=n.reaction)||e.dispose(),n.reaction=null,n.forceUpdate=null,n.mounted=!1,n.reactionInvalidatedBeforeMount=!1}),e}(e):function(e,n){if(sW&&e.$$typeof===sW)throw Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");var t=!1,r=e,o=e.displayName||e.name;if(sz&&e.$$typeof===sz&&(t=!0,"function"!=typeof(r=e.render)))throw Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var i=function(e,n){return function(e,n){void 0===n&&(n="observed");var t,r,o=ee.useRef(null);if(!o.current){var i={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:n,subscribe:function(e){return sq.unregister(i),i.onStoreChange=e,i.reaction||(sH(i),i.stateVersion=Symbol()),function(){var e;i.onStoreChange=null,null===(e=i.reaction)||void 0===e||e.dispose(),i.reaction=null}},getSnapshot:function(){return i.stateVersion}};o.current=i}var a=o.current;if(a.reaction||(sH(a),sq.register(o,a,a)),ee.useDebugValue(a.reaction,sD),(0,sF.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getSnapshot),a.reaction.track(function(){try{t=e()}catch(e){r=e}}),r)throw r;return t}(function(){return r(e,n)},o)};return i.displayName=e.displayName,sV&&Object.defineProperty(i,"name",{value:e.name,writable:!0,configurable:!0}),e.contextTypes&&(i.contextTypes=e.contextTypes),t&&(i=(0,ee.forwardRef)(i)),function(e,n){Object.keys(e).forEach(function(t){sK[t]||Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})}(e,i=(0,ee.memo)(i)),i}(e)}if(ee.version.split(".")[0],!ee.Component)throw Error("mobx-react requires React to be available");if(!iY)throw Error("mobx-react requires mobx to be available");var s9=t(60300),s6=({className:e="",fill:n="currentColor",width:t=25,height:r=25,id:o,title:i="Notifications"})=>(0,Y.jsxs)("svg",{className:e,width:t,height:r,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",id:o,children:[(0,Y.jsx)("title",{children:i}),(0,Y.jsx)("path",{d:"M12.5 1.59375C13.4362 1.59389 14.3319 2.08811 14.7725 2.91309C17.3943 3.87547 19.3438 6.33443 19.3438 9.375C19.3438 11.7269 19.9919 14.0106 21.2256 15.9854L21.4795 16.376L21.4893 16.3896L22.3486 17.7178L22.3545 17.7275C22.6894 18.2635 22.7045 18.9021 22.4287 19.417C22.1487 19.9395 21.5979 20.2811 20.9375 20.2812H16.3008C15.9494 22.0578 14.3764 23.4062 12.5 23.4062C10.6235 23.4062 9.05064 22.0578 8.69922 20.2812H4.0625C3.40199 20.2812 2.85141 19.9395 2.57129 19.417C2.29544 18.9021 2.31047 18.2636 2.64551 17.7275L2.65137 17.7178L3.51074 16.3896L3.51953 16.376C4.91815 14.3148 5.65625 11.8835 5.65625 9.375C5.65625 6.3346 7.60499 3.87558 10.2266 2.91309C10.6671 2.08787 11.5636 1.59375 12.5 1.59375ZM10.25 20.2812C10.5666 21.2217 11.4574 21.9062 12.5 21.9062C13.5425 21.9062 14.4334 21.2217 14.75 20.2812H10.25ZM12.5 3.09375C12.005 3.09375 11.6144 3.38947 11.4932 3.75293C11.417 3.98151 11.2348 4.15948 11.0049 4.23145C8.79186 4.92302 7.15625 6.91712 7.15625 9.375C7.15625 12.1732 6.33333 14.8924 4.76953 17.2031L4.77051 17.2041L3.91699 18.5225C3.86156 18.6112 3.87649 18.676 3.89355 18.708C3.90318 18.7259 3.91722 18.7419 3.9375 18.7539C3.95671 18.7652 3.99506 18.7812 4.0625 18.7812H20.9375C21.005 18.7812 21.0434 18.7652 21.0625 18.7539C21.0826 18.7419 21.0969 18.7259 21.1064 18.708C21.1235 18.6759 21.1382 18.6109 21.083 18.5225H21.082L20.2383 17.2178C18.6684 14.9041 17.8438 12.1788 17.8438 9.375C17.8438 6.91728 16.2079 4.92314 13.9951 4.23145C13.7651 4.15956 13.5831 3.98155 13.5068 3.75293C13.3857 3.38951 12.9948 3.09391 12.5 3.09375Z",fill:n})]}),s8=t(29129);t(67056);var s7=({Logo:e,onCloseNotifications:n})=>{let{communityConfig:t}=(0,nZ.q)(),r=(0,n9.z$)(),[o,i]=(0,ee.useState)("/auth/login?returnPath=/");(0,ee.useEffect)(()=>{let{ssoAuthDomain:e,isPrimaryCommunity:n}=t,{protocol:r,href:o,pathname:a}=window.location;i(e&&!n?`${r}//${e}/auth/sso?returnTo=${encodeURIComponent(o)}`:`/auth/login?returnPath=${encodeURIComponent(a)}`)},[]);let a=(0,ee.useCallback)(()=>{r?.emit({event:"authentication",authentication:{method:"notification_top_navigation"}})},[r]);return(0,Y.jsxs)("div",{className:"_115mhz90",children:[(0,Y.jsx)(s8.Z,{className:"_115mhz91",text:"",iconLeft:(0,Y.jsx)(ra.Z,{fill:e0.sys.color.subtle}),displayType:"cycloneSecondary",onClick:n}),(0,Y.jsxs)("div",{className:"_115mhz94",children:[e&&(0,Y.jsx)(e,{className:"_115mhz92"}),(0,Y.jsx)("p",{className:"_115mhz93",children:"Sign in to see your notifications or create an account to join the conversation."}),(0,Y.jsx)(s8.Z,{text:"Sign in",href:o,onClick:a})]})]})};t(49102);var le="j3g6cr1",ln="j3g6cr2",lt=({filter:e,onFilterClick:n})=>(0,Y.jsxs)("div",{className:"j3g6cr0",children:[(0,Y.jsx)(rp.Z,{className:(0,ev.Z)(le,"all"===e&&ln),text:"All",displayType:"cyclone",onClick:()=>void n("all"),active:"all"===e,tabIndex:0}),(0,Y.jsx)(rp.Z,{className:(0,ev.Z)(le,"unread"===e&&ln),text:"Unread",displayType:"cyclone",onClick:()=>void n("unread"),active:"unread"===e,tabIndex:0})]}),lr=t(29474),lo=t(23618),li=t(32282),la=({className:e,fill:n="currentColor",width:t=24,height:r=8})=>(0,Y.jsxs)("svg",{width:t,height:r,className:e,viewBox:"0 0 24 8",xmlns:"http://www.w3.org/2000/svg",children:[(0,Y.jsx)("circle",{cx:"4",cy:"4",r:"2",fill:n}),(0,Y.jsx)("circle",{cx:"12",cy:"4",r:"2",fill:n}),(0,Y.jsx)("circle",{cx:"20",cy:"4",r:"2",fill:n})]}),ls=({fill:e="currentColor",width:n=14,height:t=14})=>(0,Y.jsx)("svg",{width:n,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,Y.jsx)("path",{d:"M11 1C12.3807 1 13.5 2.11929 13.5 3.5C13.5 4.32033 13.1025 5.04513 12.4922 5.50098C12.4975 5.80746 12.5 6.14002 12.5 6.5V8.5C12.5 9.42848 12.5006 10.1751 12.4219 10.7607C12.3412 11.3608 12.1689 11.8663 11.7676 12.2676C11.3663 12.6689 10.8608 12.8412 10.2607 12.9219C9.67511 13.0006 8.92848 13 8 13H6C5.07152 13 4.32489 13.0006 3.73926 12.9219C3.13919 12.8412 2.6337 12.6689 2.23242 12.2676C1.83114 11.8663 1.6588 11.3608 1.57813 10.7607C1.49943 10.1751 1.5 9.42848 1.5 8.5V6.5C1.5 5.57152 1.49943 4.82489 1.57813 4.23926C1.6588 3.63919 1.83114 3.1337 2.23242 2.73242C2.6337 2.33114 3.13919 2.1588 3.73926 2.07812C4.32489 1.99943 5.07152 2 6 2H8C8.35958 2 8.69183 2.00183 8.99805 2.00684C9.4539 1.39664 10.1797 1 11 1ZM6 3C5.04308 3 4.37563 3.00066 3.87207 3.06836C3.38289 3.13413 3.12396 3.25494 2.93945 3.43945C2.75494 3.62396 2.63413 3.88289 2.56836 4.37207C2.50066 4.87563 2.5 5.54308 2.5 6.5V8.5C2.5 9.45692 2.50066 10.1244 2.56836 10.6279C2.63413 11.1171 2.75494 11.376 2.93945 11.5605C3.12396 11.7451 3.38289 11.8659 3.87207 11.9316C4.37563 11.9993 5.04308 12 6 12H8C8.95692 12 9.62437 11.9993 10.1279 11.9316C10.6171 11.8659 10.876 11.7451 11.0605 11.5605C11.2451 11.376 11.3659 11.1171 11.4316 10.6279C11.4993 10.1244 11.5 9.45692 11.5 8.5V6.5C11.5 6.30506 11.4963 6.12216 11.4951 5.9502C11.335 5.98237 11.1696 6 11 6C9.61929 6 8.5 4.88071 8.5 3.5C8.5 3.32984 8.51643 3.16354 8.54883 3.00293C8.37715 3.00195 8.19456 3 8 3H6ZM10 9C10.2761 9 10.5 9.22386 10.5 9.5C10.5 9.77614 10.2761 10 10 10H4C3.72386 10 3.5 9.77614 3.5 9.5C3.5 9.22386 3.72386 9 4 9H10ZM8.28613 7C8.56208 7.00023 8.78613 7.224 8.78613 7.5C8.78613 7.776 8.56208 7.99977 8.28613 8H4C3.72386 8 3.5 7.77614 3.5 7.5C3.5 7.22386 3.72386 7 4 7H8.28613ZM11 2C10.1716 2 9.5 2.67157 9.5 3.5C9.5 4.32843 10.1716 5 11 5C11.8284 5 12.5 4.32843 12.5 3.5C12.5 2.67157 11.8284 2 11 2Z",fill:e})});(S=V||(V={})).Coral="Coral",S.Cyclone="Cyclone",S.Firebase="Firebase",(k=z||(z={})).Coral="Coral",k.Cyclone="Cyclone",(E=W||(W={})).CoralRec="CoralRec",E.CoralReply="CoralReply",E.CoralCommentApproved="CoralCommentApproved",E.CycloneReplyRec="CycloneReplyRec",E.CycloneReply="CycloneReply",E.CycloneFanPostRec="CycloneFanPostRec",E.CycloneFanPostReply="CycloneFanPostReply",E.CoralRecSummary="CoralRecSummary",E.CycloneFPRecSummary="CycloneFPRecSummary",E.CycloneReplyRecSummary="CycloneReplyRecSummary",(R=K||(K={})).All="All",R.Unread="Unread",R.Unseen="Unseen",(I=$||($={})).NewestFirst="NewestFirst",I.OldestFirst="OldestFirst";let ll=(0,ee.createContext)({RootStore:null});function lc(){return(0,ee.useContext)(ll)}t(15266);var lu="_1svqyxa2",ld=({showGoToNotificationsPageLink:e=!0,tabIndex:n})=>{let[t,r]=(0,ee.useState)(!1),{RootStore:o}=lc(),i=(0,n9.z$)(),{refs:a,floatingStyles:s}=(0,ox.YF)({middleware:[(0,oP.cv)(10),(0,oP.uY)()],whileElementsMounted:oB.Me}),l=(0,ee.useCallback)(()=>{r(e=>!e)},[]),c=(0,ee.useCallback)(()=>{window.location.href="/account/notification-settings"},[]),u=(0,ee.useCallback)(async()=>{o&&(await o.notificationsStore.markRead({all:!0}),o.unreadNotificationsStore.setHasNext(!1),o.unreadNotificationsStore.setCursor(null))},[o]),d=(0,ee.useCallback)(()=>{i?.emit({event:"notification_page_click",notification_page_click:{click_text:"Go to Notifications Page"}}),window.location.href="/notifications"},[i]);return(0,Y.jsx)(Y.Fragment,{children:(0,Y.jsxs)("div",{"aria-label":"Notifications actions",onClick:l,ref:a.setReference,onKeyDown:l,tabIndex:n,role:"button",children:[(0,Y.jsx)(la,{className:"three-dots-icon",fill:e0.sys.color.subtle}),(0,Y.jsx)(s9.Z,{in:t,timeout:200,classNames:{enter:"_1svqyxa3",enterActive:"_1svqyxa4",exit:"_1svqyxa5",exitActive:"_1svqyxa6"},nodeRef:a.floating,unmountOnExit:!0,children:(0,Y.jsx)(ol.FocusTrap,{active:t,focusTrapOptions:{fallbackFocus:"#notifications-actions",allowOutsideClick:!0,clickOutsideDeactivates:e=>(e.target instanceof HTMLElement&&"three-dots-icon"!==e.target.className&&r(!1),!1)},children:(0,Y.jsx)("div",{id:"notifications-actions",style:s,ref:a.setFloating,role:"dialog","aria-modal":"true","aria-label":"Notifications",className:"_1svqyxa0",children:(0,Y.jsxs)("div",{className:"_1svqyxa1",children:[(0,Y.jsx)(rp.Z,{text:"Mark all as read",onClick:()=>{u()},iconLeft:(0,Y.jsx)(lo.Z,{width:14,height:14}),displayType:"cycloneSecondary",className:lu}),(0,Y.jsx)(rp.Z,{text:"Notification settings",onClick:c,iconLeft:(0,Y.jsx)(li.Z,{width:14,height:14}),displayType:"cycloneSecondary",className:lu}),e&&(0,Y.jsx)(rp.Z,{text:"Go to Notifications Page",onClick:d,iconLeft:(0,Y.jsx)(ls,{width:14,height:14}),displayType:"cycloneSecondary",className:lu})]})})})})]})})};t(86670);var lp=({showGoToNotificationsPageLink:e=!0,onCloseNotifications:n,tabIndexes:t})=>(0,Y.jsxs)("div",{className:"_118mvm01",children:[(0,Y.jsx)(lr.Z,{className:"_118mvm02",classNameTitle:"_118mvm03",title:"Notifications",size:"large",headingLevel:"h1"}),(0,Y.jsxs)("div",{className:"_118mvm04",children:[(0,Y.jsx)(ld,{showGoToNotificationsPageLink:e,tabIndex:t.threeDots}),n&&(0,Y.jsx)(rp.Z,{className:"_118mvm05",text:"",iconLeft:(0,Y.jsx)(ra.Z,{fill:e0.sys.color.subtle}),displayType:"cycloneSecondary",onClick:n})]})]});let lm=()=>(0,Y.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"54",viewBox:"0 0 48 54",fill:"none",children:[(0,Y.jsx)("rect",{width:"1.5559",height:"39.839",rx:"0.777949",transform:"matrix(0.999895 0.0144604 -0.00879314 0.999961 6.04724 6.3418)",fill:e0.sys.color.secondary}),(0,Y.jsx)("circle",{cx:"1.59637",cy:"1.59637",r:"1.59637",transform:"matrix(-0.999899 -0.0141841 -0.0141841 0.999899 8.66638 4.41211)",fill:e0.sys.color.secondary}),(0,Y.jsx)("path",{d:"M19.022 11.8304C19.0261 11.2302 19.5468 10.6762 20.1335 10.6479L44.0971 9.49265C44.9042 9.45374 45.2447 10.388 44.6752 11.0789L37.0061 20.3823C36.6535 20.8101 36.6291 21.39 36.9497 21.7268L44.3282 29.4771C44.8965 30.0741 44.3279 31.2188 43.4418 31.2615L19.7481 32.4038C19.2539 32.4276 18.885 32.0655 18.8885 31.56L19.022 11.8304Z",fill:`color-mix(in srgb, ${e0.sys.color.primary} 80%, white)`}),(0,Y.jsx)("path",{d:"M27.0861 8.47449C27.0909 7.76903 26.3936 7.40574 25.7451 7.77581L19.5608 11.3049C19.1834 11.5203 18.9335 11.9316 18.9307 12.3422L18.7989 31.8134C18.7955 32.3072 19.2836 32.5615 19.7376 32.3025L26.3272 28.5421C26.7046 28.3268 26.9545 27.9154 26.9573 27.5048L27.0861 8.47449Z",fill:`color-mix(in srgb, ${e0.sys.color.primary} 80%, black)`}),(0,Y.jsx)("path",{d:"M6.03182 7.04088C6.03587 6.44287 6.55289 5.89026 7.13787 5.8587L26.3491 4.82206C26.8457 4.79527 27.2176 5.15794 27.2142 5.66556L27.0811 25.3132C27.0771 25.9112 26.5601 26.4638 25.9751 26.4954L6.76387 27.532C6.26731 27.5588 5.89536 27.1961 5.8988 26.6885L6.03182 7.04088Z",fill:e0.sys.color.primary})]});var lh=t(50283),lf=t(12575),lg=t(34659);t(8625);var l_={"bottom-right":"sfsa1e4"},ly={small:"sfsa1e2 sfsa1e1",large:"sfsa1e3 sfsa1e1"};let lv={small:30,large:50},lb={"SBNation (Product)":`${lg.uW}/logo-sbnation.png`,"March Madness":`${lg.uW}/logo-sbnation.png`,NFL:`${lg.uW}/logo-sbnation.png`},lC=(e,n)=>{switch(e.source){case z.Cyclone:{let n=(0,lg.QH)(e.community.logo);return e.community.name&&e.community.name in lb&&(n=lb[e.community.name]),{logo:n,name:e.community.name}}case z.Coral:return{logo:(0,lg.Is)({communityName:e.site.name,width:n}),name:e.site.name}}};var lT=({notification:e,size:n="small",alignment:t,needsWrapper:r=!1})=>{let o=lv[n],{logo:i,name:a}=lC(e,o),s=(0,Y.jsx)(lf.Z,{src:i,alt:a,className:(0,ev.Z)(ly[n],t&&l_[t]),width:o,height:o});return r?(0,Y.jsx)("div",{className:"sfsa1e0",children:s}):s};t(36996);var lS=({notification:e,fromProfile:n,showCommunityLogo:t=!0})=>(0,Y.jsxs)("div",{className:"e6ujqc0",children:[n.avatarUrl?(0,Y.jsx)(lf.Z,{src:n.avatarUrl,alt:n.username,className:"e6ujqc1"}):n.username&&n.username[0]?(0,Y.jsx)("div",{className:"e6ujqc2",children:n.username[0].toUpperCase()}):null,t&&(0,Y.jsx)(lT,{notification:e,alignment:"bottom-right"})]});t(67277);var lk="bls5023";let lE=e=>{let n,t="";switch(e.type){case W.CycloneFanPostReply:case W.CycloneReply:case W.CycloneReplyRec:case W.CycloneReplyRecSummary:t=e.reply.url,n=e.community.id;break;case W.CycloneFanPostRec:case W.CycloneFPRecSummary:t=e.fanPost.url,n=e.community.id;break;case W.CoralReply:return e.reply.url;case W.CoralRec:case W.CoralCommentApproved:case W.CoralRecSummary:return e.comment.url;default:return""}return"b750955c-6e73-4300-8141-58b6f548cf3b"===n?t.replace("/post/","/product/post/"):"11c1cafe-d8f7-41fc-b14e-e24c89119315"===n?t.replace("/post/","/march-madness/post/"):"59e618dd-fe1c-4011-953b-daae822a10cc"===n?t.replace("/post/","/nfl/post/"):t},lR=e=>{switch(e.type){case W.CycloneReply:return`replied to your comment on "${e.fanPost.title}"`;case W.CycloneReplyRec:return`rec'd your comment on "${e.fanPost.title}"`;case W.CycloneFanPostReply:return`replied to your post "${e.fanPost.title}"`;case W.CycloneFanPostRec:return`rec'd your post on "${e.fanPost.title}"`;case W.CoralReply:return`replied to your comment on "${e.story.title}"`;case W.CoralRec:return`rec'd your comment on "${e.story.title}"`;case W.CoralRecSummary:case W.CycloneReplyRecSummary:return"rec'd your comment";case W.CycloneFPRecSummary:return`rec'd your post "${e.fanPost.title}"`;case W.CoralCommentApproved:return"Your comment has been published.";default:return""}},lI=e=>{let n=e.recs;return n.length>0?n.map(e=>e.from):null},lA=e=>{switch(e.type){case W.CycloneReplyRecSummary:case W.CycloneFPRecSummary:case W.CoralRecSummary:return lI(e);default:return e.from}},lw=e=>{switch(e.type){case W.CoralRecSummary:case W.CoralCommentApproved:return e.comment.snippet;default:return"reply"in e?e.reply.snippet:""}},lx=(e,n)=>{if(n===W.CoralCommentApproved)return"";if(!Array.isArray(e))return(0,Y.jsx)("span",{className:lk,children:e.username});if(!(e.length>0))return(0,Y.jsx)("span",{className:lk,children:e[0]?.username??""});if(1===e.length)return(0,Y.jsx)("span",{className:lk,children:e[0]?.username});if(2===e.length)return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)("span",{className:lk,children:e[0]?.username})," and"," ",(0,Y.jsx)("span",{className:lk,children:e[1]?.username})]});{let n=e.length-2;return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)("span",{className:lk,children:e[0]?.username}),","," ",(0,Y.jsx)("span",{className:lk,children:e[1]?.username}),", and"," ",(0,Y.jsxs)("span",{className:lk,children:[n," other",n>1?"s":""]})]})}},lP=e=>{if(e.type===W.CoralCommentApproved)return[];{let n=lA(e);return(Array.isArray(n)?n:n?[n]:[]).map(n=>n.profiles?.find(n=>n.type.toString()===e.source.toString())).filter(e=>void 0!==e)}},lB=(e,n,t)=>{if(e.type===W.CoralCommentApproved)return(0,Y.jsx)(lT,{notification:e,size:"large",needsWrapper:!0});{let r=t.length>0?t[0]:null;return r?(0,Y.jsx)(lS,{fromProfile:r,showCommunityLogo:n,notification:e}):null}},lN=s5(function({notification:e,showCommunityLogo:n=!0,handleNotificationClick:t}){let r=lR(e),o=lw(e),i=lP(e),a=lB(e,n,i),s=lx(i,e.type),l=lE(e),c="updatedAt"in e?e.updatedAt:e.createdAt,u=(0,ee.useCallback)(()=>{t&&t(e)},[t,e]);return(0,Y.jsxs)("a",{href:l,onClick:u,onContextMenu:u,className:"bls5020",tabIndex:0,children:[(0,Y.jsxs)("div",{className:"bls5021",children:[(0,Y.jsxs)("div",{className:"bls5022",children:[a&&a,(0,Y.jsxs)("div",{className:"bls5025",children:[s," ",r]})]}),!e.read&&(0,Y.jsx)("span",{className:"bls5024"})]}),(0,Y.jsxs)("div",{className:"bls5026",children:[o&&""!==o&&(0,Y.jsx)("span",{className:"bls5027",children:o}),(0,Y.jsx)(lh.Z,{timestamp:c,format:"notifications"})]})]})});t(58948),t(68331),t(44583),t(72011),t(76541),t(91543),t(84515),t(45831),t(377),t(79583),t(74592),t(28877);var lO=({notifications:e,showLoader:n,onLoadMoreClick:t,onNotificationItemClick:r,notificationsHasNext:o,loadMoreText:i="See previous notifications"})=>(0,Y.jsxs)(Y.Fragment,{children:[e.length>0&&(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)("h2",{className:"_1kpmu0s1",children:"Latest"}),(0,Y.jsx)("div",{className:"_1kpmu0s5",children:e.map(e=>(0,Y.jsx)(lN,{notification:e,handleNotificationClick:r},e.id))})]}),(0,Y.jsx)("div",{className:"_1kpmu0s6",children:n?(0,Y.jsx)("div",{className:"p8j69x0"}):(0,Y.jsx)(Y.Fragment,{children:o?(0,Y.jsx)(rp.Z,{className:"_1kpmu0s7",text:i,displayType:"secondary",onClick:t,role:"button"}):(0,Y.jsxs)("div",{className:"_1kpmu0s2",children:[(0,Y.jsx)(lm,{}),(0,Y.jsx)("p",{className:"_1kpmu0s3",children:"You're caught up!"})]})})})]});t(70442);var lL={Modal:"_1r5swhd2 _1r5swhd1",Page:"_1r5swhd3 _1r5swhd1"};let lM=[{notificationType:W.CoralRec,eventType:"rec"},{notificationType:W.CoralReply,eventType:"comment"},{notificationType:W.CycloneFanPostRec,eventType:"rec"},{notificationType:W.CycloneFanPostReply,eventType:"comment"},{notificationType:W.CycloneReply,eventType:"comment"},{notificationType:W.CycloneReplyRec,eventType:"rec"}];(A=Q||(Q={})).Modal="Modal",A.Page="Page";let lj=s5(({showGoToNotificationsPageLink:e=!0,onCloseNotifications:n,initialFilter:t="all",onFilterChange:r,mode:o})=>{let{RootStore:i}=lc(),[a,s]=(0,ee.useState)(t),{userLoading:l}=(0,eO.aC)(),c=(0,n9.z$)(),u="unread"===a?i?.unreadNotificationsStore:i?.allNotificationsStore,d=u?.visibleNotifications,p=u?.hasNext,m=u?.loading,h=!e,f=(0,ee.useCallback)(async e=>{await i?.notificationsStore.markRead({ids:[e.id],updateStore:"unread"!==a});let n=lM.find(n=>n.notificationType===e.type);c?.emit({event:"notification_reply",notification_reply:{type:n?.eventType}})},[i?.notificationsStore,a,c]),g=(0,ee.useCallback)(async()=>{p&&!m&&h&&("unread"===a?await i?.unreadNotificationsStore.loadNotificationsForUser({cursor:i.unreadNotificationsStore.cursor??void 0,filter:K.Unread}):await i?.allNotificationsStore.loadNotificationsForUser({cursor:i.allNotificationsStore.cursor??void 0}))},[p,m,i,a,h]),_=(0,ee.useMemo)(()=>h?"See previous notifications":`See all${"unread"===a?" unread":""} notifications`,[h,a]),y=(0,ee.useCallback)(()=>{h?g():(c?.emit({event:"notification_page_click",notification_page_click:{click_text:_}}),window.location.href=`/notifications?filter=${a}`)},[h,g,a,c,_]),v=(0,ee.useCallback)(e=>{s(e),r?.(e)},[r]),b=!!(m||l||i?.userStore.viewerLoading);return(0,Y.jsxs)("div",{className:lL[o],children:[(0,Y.jsx)(lp,{showGoToNotificationsPageLink:e,onCloseNotifications:o===Q.Modal?n:void 0,tabIndexes:{threeDots:o===Q.Page?0:-1}}),(0,Y.jsx)(lt,{filter:a,onFilterClick:v}),i?(0,Y.jsx)(Y.Fragment,{children:(0,Y.jsx)(lO,{notifications:d??[],showLoader:b,onLoadMoreClick:y,loadMoreText:_,onNotificationItemClick:f,notificationsHasNext:!!p})}):(0,Y.jsx)("div",{className:"p8j69x0"})]})});t(67325);var lD={standard:"ewl17wh ewl17wg",mobile:"ewl17wi ewl17wg"},lU={standard:"ewl17wk ewl17wj",mobile:"ewl17wl ewl17wj"},lq={standard:"ewl17wn ewl17wm",mobile:"ewl17wo ewl17wm"},lF={standard:"ewl17wq ewl17wp",mobile:"ewl17wr ewl17wp"},lH={standard:"ewl17w6",mobile:"ewl17w8 ewl17w6"},lG={standard:"ewl17wa ewl17w9",mobile:"ewl17wb ewl17w9"};let lV=s5(function({popoverId:e,type:n,Logo:t}){let r=(0,n9.z$)(),[o,i]=(0,ee.useState)(!0);(0,ee.useEffect)(()=>{"/notifications"===window.location.pathname&&i(!1)},[]);let a=(0,ee.useRef)(!1),s=(0,ee.useRef)(!1),{user:l}=(0,eO.aC)(),[c,u]=(0,ee.useState)(!1),{RootStore:d}=lc(),p=d?.notificationsStore.notificationsStatus.unseen??0;(0,ee.useEffect)(()=>{if(d?.userStore.viewerLoading||!d?.userStore.viewer)return;let e=!s.current&&c;s.current=c,e&&(a.current?p>0&&(d.allNotificationsStore.refreshNotifications(),d.unreadNotificationsStore.refreshNotifications({filter:K.Unread})):(d.allNotificationsStore.loadNotificationsForUser(),d.unreadNotificationsStore.loadNotificationsForUser({filter:K.Unread}),a.current=!0))},[d,c,p]);let m=(0,ee.useCallback)(()=>{u(!1)},[]),h=(0,ee.useRef)(null),{refs:f,floatingStyles:g,context:_}=(0,ox.YF)({middleware:[(0,oP.cv)(10),(0,oP.uY)({padding:30}),(0,oP.x7)({element:h}),(0,oP.dp)({apply({availableHeight:e,elements:n}){Object.assign(n.floating.style,{maxHeight:`${Math.min(e-20,600)}px`})}})],whileElementsMounted:oB.Me});return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)("button",{"aria-label":"Open Notifications",onClick:()=>{o&&(c||(d?.userStore.setLastViewed(new Date),r?.emit({event:"notification_click"})),u(e=>!e))},ref:f.setReference,children:(0,Y.jsxs)("span",{className:"ewl17w1",children:[(0,Y.jsx)(s6,{className:(0,ev.Z)("ewl17w2",!o&&"ewl17w3"),id:"notifications-bell"}),d?.notificationsStore.unseenNotificationsDisplayCount&&(0,Y.jsx)("div",{id:"notifications-unseen-count",className:"ewl17w4",children:d.notificationsStore.unseenNotificationsDisplayCount})]})}),(0,Y.jsx)(s9.Z,{in:c,timeout:200,classNames:{enter:lD[n],enterActive:lU[n],exit:lq[n],exitActive:lF[n]},nodeRef:f.floating,unmountOnExit:!0,children:(0,Y.jsxs)("div",{className:"mobile"===n?"ewl17wd":void 0,children:[" ",(0,Y.jsx)(ol.FocusTrap,{active:c,focusTrapOptions:{fallbackFocus:`#notifications-popover${e?`-${e}`:""}`,escapeDeactivates:!1,clickOutsideDeactivates:e=>{if(e.target instanceof HTMLElement){let n="notifications-bell"===e.target.id,t="notifications-badge"===e.target.id,r="notifications-unseen-count"===e.target.id;n||t||r||u(!1)}return!1},allowOutsideClick:!0,preventScroll:!0},children:(0,Y.jsxs)("div",{id:`notifications-popover${e?`-${e}`:""}`,style:{..."standard"===n?g:{}},ref:"standard"===n?f.setFloating:void 0,role:"dialog","aria-modal":"true","aria-label":"Notifications",className:lH[n],children:["standard"===n&&(0,Y.jsx)(ox.Y$,{ref:h,context:_,className:"ewl17w5"}),(0,Y.jsx)("div",{className:lG[n],children:l?(0,Y.jsx)(Y.Fragment,{children:d?(0,Y.jsx)(lj,{showGoToNotificationsPageLink:!0,onCloseNotifications:m,mode:Q.Modal}):(0,Y.jsx)("div",{className:"p8j69x0"})}):(0,Y.jsx)(s7,{Logo:t,onCloseNotifications:m})})]})})]})})]})});t(9921);var lz=({Logo:e,popoverId:n})=>(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)("div",{className:"_3uru6x0",children:(0,Y.jsx)(lV,{type:"standard",Logo:e,popoverId:n})}),(0,Y.jsx)("div",{className:"_3uru6x2",children:(0,Y.jsx)(lV,{type:"mobile",Logo:e,popoverId:n})})]}),lW=({Logo:e,MinimalLogo:n,NotificationsLogo:t,headline:r,isBranded:o=!1,overrideStickyVisible:i,onSetOverrideStickyVisible:a,forceOpenLoopNav:s,commentCountProps:l,className:c,showNotificationsButton:u=!1,stickyVisibleThroughBottom:d=!1,showStickyOnCommentCountClick:p=!1,streamHeadline:m,streamUrl:h,packageHeadline:f,packageUrl:g,isLive:_,enableAltTitleInNav:y})=>{let v=(0,r8.usePathname)(),[b,C]=(0,ee.useState)(!1),[T,S]=(0,ee.useState)(""),{openDrawer:k,drawerId:E,addArticleRefSubscriber:R,stickyNavTriggerClassName:I,navigationOverrides:A}=(0,rf.Q)(),{campaign:w}=(0,t3.G)(),{loopNavData:x}=(0,e6.D)(),P=(0,n9.z$)(),[B,N]=(0,ee.useState)(w),O=(0,ee.useCallback)(()=>{C(!0)},[]);(0,ee.useEffect)(()=>{i&&O()},[i,O]),(0,ee.useEffect)(()=>{!b&&a&&a(!1)},[b,a]),(0,ee.useEffect)(()=>{S(window.location.hash);let e=()=>{S(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[v]),(0,ee.useEffect)(()=>{"#comments"===T&&setTimeout(()=>{p&&C(!0)},100)},[T,p]),(0,ee.useEffect)(()=>{let e=A?.campaign;if("none"===e){N(void 0);return}e&&N(e)},[A?.campaign]);let L=x&&!o&&!B;(0,ee.useEffect)(()=>{let e=new IntersectionObserver(([e])=>{if(e){let n=e.boundingClientRect.bottom<0;C(n),L&&n&&P?.emit({event:"loopnav",loopnav:{action:"view",loopnav_name:x.title}})}}),n=new IntersectionObserver(([e])=>{e&&!d&&C(e.boundingClientRect.top<0&&e.intersectionRect.top>0)},{rootMargin:d?"0px 0px 0px 0px":"-100% 0px 0px 0px"}),t=R(t=>{if(!t||"undefined"==typeof IntersectionObserver)return;let r=t.querySelector(`.${I}`);r&&(e.observe(r),n.observe(t))});return()=>{t(),e.disconnect(),n.disconnect()}},[R,I,P,x?.title,L,d]);let M=l?.coralId,j=(0,Y.jsxs)(Y.Fragment,{children:[(L||M)&&!u&&(0,Y.jsx)("span",{className:(0,ev.Z)(oo,L&&!M&&rc.F.layout.hideTabletPlus)}),(0,Y.jsx)("button",{onClick:()=>{k(),P?.emit({event:"navigation_click",navigation_click:{name:"sticky more button"}})},"aria-controls":E,"aria-label":"Open Drawer",className:(0,ev.Z)("_1bn7g9fj",o&&"_1bn7g9fk"),children:(0,Y.jsx)(r_,{className:"_1bn7g9fe"})})]}),D=M?(0,Y.jsx)(r7.Z,{className:(0,ev.Z)("_1bn7g9fl",L&&rc.F.layout.showTabletPlus),noText:!0,variant:"stickyNav",...l}):null,U=u?(0,Y.jsxs)(Y.Fragment,{children:[(L||M)&&(0,Y.jsx)("span",{className:(0,ev.Z)(oo,L&&!M&&rc.F.layout.hideTabletPlus)}),(0,Y.jsx)("div",{className:"_1bn7g9f5",children:(0,Y.jsx)(lz,{Logo:t,popoverId:"sticky"})})]}):null;return(0,ee.useEffect)(()=>{if(b)return document.body.classList.add(ry.Z.BodyStickyNav),()=>{document.body.classList.remove(ry.Z.BodyStickyNav)}},[b]),(0,Y.jsx)("nav",{"aria-label":"Sticky Nav",className:(0,ev.Z)(ry.Z.StickyNav,"_1bn7g9f0",(i||b)&&"_1bn7g9f2",B&&"_1bn7g9f1",c),children:L?(0,Y.jsx)(oI,{Logo:e,MinimalLogo:n,hamburgerButton:j,forceOpenLoopNav:s,commentCount:D}):y&&(m||f)?(0,Y.jsx)(os,{Logo:e,hamburgerButton:j,commentCount:D,streamHeadline:m,streamUrl:h,packageHeadline:f,packageUrl:g,isLive:_}):(0,Y.jsx)(ow,{Logo:e,MinimalLogo:n,headline:r,isBranded:o,campaign:B,hamburgerButton:j,commentCount:D,notificationsButton:U})})};t(30363);var lK=e=>{let n=(0,rh.dj)("navigation"),{Logo:t,PrimaryLogo:r,drawerItems:o,getDrawerItems:i,getPinnedItems:a,MinimalLogo:s,cta:l,stickyNav:c,getDrawerComponents:u,variant:d,showAuth:p,linkMenu:m,rightMenuButtons:h,showStickyNavCommentCount:f,showSubscribeInNav:g,primaryNavigationComponent:_,stickyNavComponent:y,showStickyOnCommentCountClick:v,stickyVisibleThroughBottom:b}=(0,rg.Z)(e,n),{currentOrigin:C,currentCommunity:T}=(0,nY.v1)(),{loopNavData:S}=(0,e6.D)(),{setOpenDrawerFn:k,setCloseDrawerFn:E,navigationOverrides:R,setCommentCountClickFn:I}=(0,rf.Q)(),{mainNav:A}=(0,tt.Q)(),[w,x]=(0,ee.useState)(!1),[P,B]=(0,ee.useState)(!1),[N,O]=(0,ee.useState)(!1),[L,M]=(0,ee.useState)(!1),[j,D]=(0,ee.useState)(d),[U,q]=(0,ee.useState)(c?.headline),F=(0,ee.useCallback)((e={})=>{O(!!e.initialSearchFocus),x(!0)},[]),H=(0,X.useRouter)(),G=()=>x(!1),V=(0,ee.useCallback)(()=>{v&&B(!0)},[v,B]);(0,ee.useEffect)(()=>{k(F),E(G),I(V)},[R?.variant,H]),(0,ee.useEffect)(()=>{let e=R?.variant;e&&j!==e&&(M(!0),D("none"===e?d:e),setTimeout(()=>{M(!1)},600))},[j,R?.variant,d]),(0,ee.useEffect)(()=>{let e=R?.headline;e&&q("none"===e?c?.headline:e)},[R?.headline,c?.headline]);let z=(0,ee.useMemo)(()=>u(C),[u,C]),W=(0,ee.useMemo)(()=>a(C,A,T.domain),[a,C,A,T]),K=(0,ee.useMemo)(()=>i?i(C,A):o,[i,C,o,A]);return(0,Y.jsxs)(Y.Fragment,{children:["minimal"===j||"branded"===j?(0,Y.jsx)(rS,{Logo:t,isBranded:"branded"===j}):(0,Y.jsx)("div",{className:(0,ev.Z)(L&&"sh5e1j1"),children:(0,Y.jsx)(_,{PrimaryLogo:r,Logo:t,items:W,cta:l,variant:j,showLinkLines:m.showLinkLines,linkClassName:m.linkClassName,rightMenuButtons:h,showSubscribeInNav:g,tagline:e.tagline})}),(0,Y.jsx)(r6,{items:K,open:w,onClose:G,shortcutBar:z.shortcutBar,endSection:z.endSection,background:z.background,randomizeSearchPlaceholder:z.randomizeSearchPlaceholder,showAuth:p,initialSearchFocus:N}),(c?.enable||S)&&(0,Y.jsx)(y||lW,{overrideStickyVisible:P,onSetOverrideStickyVisible:e=>B(e),Logo:t,MinimalLogo:s,...c,headline:U,isBranded:"branded"===j,stickyVisibleThroughBottom:b,showStickyOnCommentCountClick:v,...f&&(!R?.headline||"none"===R.headline)&&{commentCountProps:e.commentCountProps}})]})},l$=({children:e,componentConfig:n})=>(0,Y.jsx)(rh.ZP.Provider,{value:n,children:e}),lQ=({children:e})=>{let n=(0,ee.useRef)([]),t=(0,ee.useRef)(null),[r,o]=(0,ee.useState)(void 0),i=(0,ee.useCallback)(e=>{o(e)},[]),a=(0,ee.useCallback)(e=>(e(t.current),n.current.push(e),()=>{let t=n.current.indexOf(e);t>=0&&n.current.splice(t,1)}),[n]),s=()=>{},l=()=>{},c=`drawer_${(0,ee.useId)()}`,u=()=>{};return(0,Y.jsx)(Y.Fragment,{children:(0,Y.jsx)(rf.Z.Provider,{value:{stickyNavTriggerClassName:"sticky-nav-trigger",articleRef:e=>{t.current=e,n.current.forEach(n=>n(e))},addArticleRefSubscriber:a,openDrawer:(...e)=>s(...e),setOpenDrawerFn:e=>{s=e},closeDrawer:(...e)=>l(...e),setCloseDrawerFn:e=>{l=e},drawerId:c,navigationOverrides:r,setNavigationOverrides:i,onCommentCountClick:()=>u(),setCommentCountClickFn:e=>{u=e}},children:e})})},lY=t(95242),lZ=t(74960),lJ=t(41650);let lX="GTM-WQ5FM5W",l0=lJ.env.CORAL_TENANT_ID,l1=lX&&new eq,l2={pagesCanonicalMap:{},defaultOgImage:""},l3={tagsToInverse:[],enableTraining:!1,enableArticleRecirc:!1},l4={isWalled:!1,subXTrackingEnabled:!1},l5={useLiveStreamUpdates:!1,useQuickPosts:!1,subcategoryLimit:8,breadcrumbStrategy:"hierarchy",useBoostedPosts:!1},l9={requireCommentingName:!1,commentingNameLabel:"commenting name"},l6={},l8={};function l7(e){let n=(0,ee.useMemo)(()=>e,[]),{adConfig:t,additionalNavMetadata:r,AuthProvider:o,commentRecThreshold:i=5,commentCalloutThreshold:a=75,communityId:s,CoralProvider:l,cycloneCommunityId:c,communityThemeConfig:u,Component:d,componentConfig:p,currentOrigin:m,customArticleFooter:h,defaultSEO:f,Favicons:g,featureConfig:_=l5,fonts:y,Footer:v,globalOverrides:b,hydration:C,isPaywallEligible:T,membershipConfig:S=l6,newslettersConfig:k,subscriptionsConfig:E,pageProps:R,parselyConfig:I=l3,paywallConfig:A=l4,preview:w,routeInfo:x,seoConfig:P=l2,seoSchemaConfigPathMap:B,serverAuthState:N,stnVideoConfig:O,token:L,userProfileConfig:M=l9,wunderkindConfig:j=l8,retailerLinkOrderConfig:D}=n;(0,ee.useEffect)(()=>{"serviceWorker"in navigator&&navigator.serviceWorker.register("/ad-block-service-worker.js").catch(e=>(0,ey.Tb)(e,{extra:{message:"Ad block service worker registration failed"}}))},[]),(0,ee.useEffect)(()=>{window.history.replaceState(null,"",window.location.toString())},[]),(0,ee.useEffect)(()=>{l0&&nM.loadAllCountsFromIndexedDB().catch(e=>{console.warn("Failed to load comment counts from IndexedDB:",e)})},[]);let U=(0,ee.useMemo)(()=>new ej,[]),{nodeId:q,appContainerClassName:F="",navProps:H={},hideNav:G,hideFooter:V,isMobileAppRequest:z,campaign:W=null,categories:K=null,internalCategories:$=null,primaryCategoryNodeId:Q,primarySuperCatNodeId:Z,resourceType:J,showBreakingNewsBanner:X,showWikiBanner:en,showLeaderboardTopAd:et}=R,er=(0,ee.useMemo)(()=>(0,nn.Jx)(s),[s]),eo=ni.enabled?n1:n2;(0,ee.useMemo)(()=>{(0,ey.v)("Community Config",er),(0,ey.v)("Feature Flags",_),(0,ey.v)("Page Props",eS()(R,"hydration","token","mostPopularArticles","_sentryBaggage","_sentryTraceData")),e.version&&(0,ey.YA)("version",e.version)},[]);let ei=tw((0,ee.useMemo)(()=>({responses:[...C.responses,...R.hydration?R.hydration.responses:[]]}),[C.responses,R.hydration]),L||R.token,er),ea=(0,ee.useMemo)(()=>no(er.communityName),[er]),es=(0,ee.useMemo)(()=>e=>{let r=ne.mD[ns.er];if(!r)throw Error("Community data for network not found");let d=l??nF;return(0,Y.jsx)(eR.RelayEnvironmentProvider,{environment:ei,children:(0,Y.jsx)(d,{children:(0,Y.jsxs)(ti,{overrides:b,children:[(0,Y.jsx)(tJ,{schema:f,communityConfig:er}),(0,Y.jsx)(o,{children:(0,Y.jsx)(t6,{adConfig:t,appConfig:eH.eG,communityConfig:er,coralConfig:{...nt.vG,commentRecThreshold:i,commentCalloutThreshold:a},cycloneConfig:{...ni,commentRecThreshold:i,CycloneArticleBody:n.CycloneArticleBody},crossPostConfig:ea,customArticleFooter:h,featureConfig:_,membershipConfig:S,networkConfig:ns.$,newslettersConfig:k,subscriptionsConfig:E,parselyConfig:I,paywallConfig:A,seoConfig:P,stnVideoConfig:O,subscriptionProviderConfig:na,userProfileConfig:M,wunderkindConfig:j,retailerLinkOrderConfig:D,children:(0,Y.jsx)(tY,{routeInfo:x,children:(0,Y.jsx)(t9,{currentOrigin:m,currentCommunityId:s,currentCycloneCommunityId:c,currentWpSiteId:er.communityWpSiteId,communities:r.communities,children:(0,Y.jsx)(eo,{children:(0,Y.jsx)(t4,{campaign:W,children:(0,Y.jsx)(l$,{componentConfig:p,children:(0,Y.jsx)(re,{children:(0,Y.jsx)(lQ,{children:(0,Y.jsx)(t5,{categories:K,internalCategories:$,primaryCategoryNodeId:Q,primarySuperCatNodeId:Z,superCatNodeId:J===eI.P_.superCat?q:void 0,categoryNodeId:J===eI.P_.category?q:void 0,children:(0,Y.jsx)(rt,{isPaywallEligible:T,paywallConfig:A,trackingScript:(0,Y.jsx)(tn,{isPaywallEligible:T,paywallConfig:A}),children:(0,Y.jsx)(e1,{communityThemeConfig:u,children:H.loopNav?.enable&&q?(0,Y.jsx)(e7,{nodeId:q,children:e.children}):(0,Y.jsx)(e8,{loopNavData:null,children:e.children})})})})})})})})})})})})})]})})})},[l,ei,b,f,er,o,t,i,a,n.CycloneArticleBody,ea,h,_,S,k,I,A,P,O,M,j,D,x,m,s,c,eo,W,p,K,$,Q,Z,J,q,T,E,u,H.loopNav?.enable]),el=(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(e5,{fonts:y}),(0,Y.jsx)(eB,{communityName:er.communityName}),(0,Y.jsx)(eZ,{}),(0,Y.jsx)(es,{children:(0,Y.jsxs)("div",{className:(0,ev.Z)(ry.Z.AppContainer,"minimal"!==H.variant&&rc.F.layout.flexAppContainer,F),children:[!G&&(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(rm,{anchorId:"content"}),et&&(0,Y.jsx)(rr.Z,{adType:"leaderboardTop"}),X&&(0,Y.jsx)(rd,{}),(0,Y.jsx)(lK,{variant:H.variant||"standard",stickyNav:H.stickyNav,commentCountProps:H.commentCountProps,tagline:r?.tagline}),en&&!N?.isEntitled&&(0,Y.jsx)(e9.Z,{template:H.template})]}),(0,Y.jsx)(t1,{seoSchemaConfig:B}),(0,Y.jsx)(eL,{}),g||(0,Y.jsx)(e4,{}),(0,Y.jsx)(d,{...R}),V?null:v]})})]});return(el=(0,Y.jsx)(rv.Z,{context:"AppErrorBoundary",layout:"App",children:el}),!lX||w||z)?el:(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(eU,{gtmId:lX,communityName:er.communityName,nodeId:q,parselyHeadlineTestingApiKey:I.headlineTestingApiKey}),(0,Y.jsx)(t2,{analyticsClient:U,volume:eQ,subXTrackingEnabled:!!A.subXTrackingEnabled,children:el})]})}l7.getInitialProps=async e=>{let{additionalNavMetadata:n,context:t,themes:r,defaultTheme:o,scripts:i,serverAuthState:a,commentRecThreshold:s,commentCalloutThreshold:l,communityId:c,communityThemeConfig:u}=e,d=(0,tc._E)(),p=await eE().getInitialProps(t),{req:m,res:h,asPath:f}=t.ctx,g=f?(0,lY.bn)(f):{base:"",page:null};if(""===g.base&&console.warn("RouteInfo not available"),!m)throw Error("Expected a request object");let _=(0,tV.lK)(m.headers),y=(0,ne.xU)(c),v=(0,tV.yD)(m.headers,y),b=(0,lZ.P6)(f),{vmPrefix:C,isFeedOnlyCommunity:T,primaryCommunityId:S}=(0,nn.Jx)(c),k=tK({persisted:t$,req:m,communityId:T&&S?S:c,createServerNetworkFunction:()=>tH}),E=await k.fetchQuery({query:eA.default,variables:{},durationHeaderKey:"vm-duration-global-data-query"}),R=(0,tV.Vn)(m.headers);return h&&(function(e,n){n.forEach(n=>{let{durationHeaderKey:t,duration:r}=n;e.setHeader(t,r)})}(h,[E]),(0,tG.nZ)({res:h,preview:b,vmPrefix:C,queryResponseKeys:E.surrogateKeys}),h.setHeader("vm-duration-gip",(0,tc.Z9)(d)),h.setHeader("vm-app-path",f||"")),eC()({...p,hydration:k.hydration,preview:b,themes:r,additionalNavMetadata:n,commentRecThreshold:s,commentCalloutThreshold:l,communityId:c,cycloneCommunityId:v,communityThemeConfig:u,defaultTheme:o,isPaywallEligible:R,routeInfo:g,scripts:i,serverAuthState:a,currentOrigin:(0,lZ.il)(m),version:lJ.env.VERSION},{pageProps:{resourceType:_}})};let ce={...l5,useBoostedPosts:!0},cn={productName:"Membership",ctaLabel:"Become a Member",ctaUrl:"/support-membership?itm_campaign=member-menu-nav&itm_medium=site&itm_source=navigation",productUrl:"/account/membership",navNewsletters:"Newsletters",navPodcasts:"Podcasts",navProductName:"Membership",newslettersEmbedUrl:"https://link.vox.com/manage/6x9/member-preferences",sentenceProduct:"Vox Membership",contactEmail:"contribute@vox.com",entitlementName:"vox_memberships",faqUrl:"https://voxmembership.zendesk.com/hc/en-us",giftArticleMonthlyLimit:10,giftArticleLinkDaysValid:14,sailthruLists:["Subscribers from Memberful"],sailthruRegwallList:"Registration Wall"};var ct={newslettersPageTitle:"Newsletters",newslettersPageDek:"We’re like your friend who delights in doing obsessive research and explaining what we learned. Sign up to better understand our complicated world.",newslettersPageMetaDescription:"From Today, Explained to the Vox Crossword, our newsletters bring you the best of the day right to your inbox.",newsletterSectionTitleSize:"xsmall",newslettersPage:[{title:"Start Here",variant:"standard",newsletters:["vox_sentences","the_logoff","vox_recommends"]},{title:"Politics and policy",variant:"standard",newsletters:["on_the_right","vox_weeds","scotus_explained","within_our_means"]},{title:"Future Perfect",variant:"standard",newsletters:["future_perfect","good_news","processing_meat"]},{title:"Culture and technology",variant:"standard",newsletters:["the_goods","recode","next-page","kids_today"]},{title:"Build new habits",variant:"standard",newsletters:["even_better's_guide_to_drinking_less","more_to_meditation","vox_course_meatless","VoxCare"]},{title:"Just for fun",variant:"standard",newsletters:["explain_it_to_me","vox_crossword"]}]};let cr="vox.com",co={tagsToInverse:[],enableTraining:!0,enableArticleRecirc:!0,...cr&&{headlineTestingApiKey:cr}};t(44110),t(86029);var ci={excludedArticleTypes:["homepage","category","account","memberships","page","search_results","auth","newsletters","error","author_profile","package","stream","quick_post"],isWalled:!0,meterExceptions:["advertiser-content","paywall-exclude","press-room"],subXTrackingEnabled:!0};let ca={title:"Vox",description:"Vox is a general interest news site for the 21st century. Its mission: to help everyone understand our complicated world, so that we can all help shape it. In text, video and audio, our reporters explain politics, policy, world affairs, technology, culture, science, the climate crisis, money, health and everything else that matters. Our goal is to ensure that everyone, regardless of income or status, can access accurate information that empowers them.",additionalMetaTags:[{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no"},{name:"apple-mobile-web-app-title",content:"Vox"}],additionalLinkTags:[{rel:"alternate",type:"application/rss+xml",title:"Vox",href:"/rss/index.xml"}],facebook:{appId:"549923288395304"},openGraph:{images:[{url:"https://www.vox.com/static-assets/default-og-image.png"}],site_name:"Vox",type:"website",url:"https://www.vox.com/"},twitter:{site:"@voxdotcom",cardType:"summary_large_image"}},cs={"@context":"https://schema.org","@type":"NewsMediaOrganization","@id":"https://www.vox.com/#publisher",name:"Vox",alternateName:"Vox.com",url:"https://www.vox.com",description:"Vox is a general interest news outlet founded in 2014 with a focus on explanatory journalism. Vox's staff of over 100 journalists and subject-matter experts research, report and produce articles, videos, and podcasts that make complex ideas accessible. Whether it’s policy, culture, the Supreme Court, meatless meat, political extremism, biodiversity, artificial intelligence, the climate crisis, or something else, we give context to what’s happening today. Our goal is to ensure that everyone, regardless of income or status, can access accurate information that empowers them.",logo:{"@type":"ImageObject",url:"https://platform.vox.com/wp-content/uploads/sites/2/2024/04/default-og-image.png?quality=90&strip=all&crop=0,0.13712291199202,100,99.725754176016",height:"624",width:"1200"},diversityPolicy:"https://diversity.voxmedia.com/",ethicsPolicy:"https://www.vox.com/2018/12/7/18113237/ethics-and-guidelines-at-vox-com",masthead:"https://www.vox.com/masthead",foundingDate:"2014-04-01",founder:[{"@type":"Person",name:"Ezra Klein"},{"@type":"Person",name:"Matt Yglesias"},{"@type":"Person",name:"Melissa Bell"}],employee:[{"@type":"Person",name:"Ian Millhiser"},{"@type":"Person",name:"Dylan Scott"},{"@type":"Person",name:"Dylan Matthews"},{"@type":"Person",name:"Sean Rameswaram"},{"@type":"Person",name:"Noel King"},{"@type":"Person",name:"Joss Fong"},{"@type":"Person",name:"Swati Sharma"},{"@type":"Person",name:"Marin Cogan"},{"@type":"Person",name:"Alex Abad-Santos"},{"@type":"Person",name:"Alissa Wilkinson"},{"@type":"Person",name:"Constance Grady"},{"@type":"Person",name:"Aja Romano"},{"@type":"Person",name:"Kelsey Piper"},{"@type":"Person",name:"Kenny Torrella"},{"@type":"Person",name:"Noam Hassenfeld"},{"@type":"Person",name:"Rebecca Leber"},{"@type":"Person",name:"Peter Kafka"},{"@type":"Person",name:"Rani Molla"},{"@type":"Person",name:"Zack Beauchamp"}],ownershipFundingInfo:"Vox is owned by Vox Media, the leading modern media company dedicated to high-quality journalism.",sameAs:["https://en.wikipedia.org/wiki/Vox_(website)","https://www.wikidata.org/wiki/Q20877087","https://www.facebook.com/Vox/","https://twitter.com/voxdotcom","https://www.instagram.com/voxdotcom","https://www.youtube.com/@Vox","www.tiktok.com/@voxdotcom","https://www.linkedin.com/company/vox-com/","https://www.threads.net/@voxdotcom"],knowsAbout:[{"@type":"Thing",name:"news"},{"@type":"Thing",name:"politics"},{"@type":"Thing",name:"science"},{"@type":"Thing",name:"culture"},{"@type":"Thing",name:"policy"},{"@type":"Thing",name:"elections"},{"@type":"Thing",name:"climate change"},{"@type":"Thing",name:"energy"},{"@type":"Thing",name:"business"},{"@type":"Thing",name:"economy"},{"@type":"Thing",name:"technology"},{"@type":"Thing",name:"video"},{"@type":"Thing",name:"podcasts"},{"@type":"Thing",name:"world news"},{"@type":"Thing",name:"entertainment"},{"@type":"Thing",name:"today explained"},{"@type":"Thing",name:"vox explained"},{"@type":"Thing",name:"politics news"},{"@type":"Thing",name:"business news"},{"@type":"Thing",name:"election news"},{"@type":"Thing",name:"trump news"},{"@type":"Thing",name:"movie reviews"},{"@type":"Thing",name:"tv reviews"},{"@type":"Thing",name:"climate change news"},{"@type":"Thing",name:"science news"},{"@type":"Thing",name:"technology news"},{"@type":"Thing",name:"media news"}],award:["News & Documentary Emmy 2019 Winner in Outstanding New Approaches: Arts, Lifestyle and Culture","Online Journalism Awards 2022 winner in Excellence in Audio Storytelling","Online Journalism Awards 2020 winner in Excellence in Video Storytelling","Online Journalism Awards 2020 winner in Climate Change Reporting","Online Journalism Awards 2022 winner in Topical Reporting, Olympics Coverage","Online Journalism Awards 2022 winner in 3M Trurth in Science Award","Webby Awards 2020 winner in Best News & Politics General Series for Today Explained","Webby Awards 2020 winner in Best Arts & Culture Podcast","Webby Awards 2020 winner in Best Video - How To, Explainer, and DIY","Webby Awards 2020 winner in Best Podcast - Interview/Talk Show for The Ezra Klein Show","Webby Awards 2020 winner in Best Video - News & Politics"]},cl={"/":[cs,{"@context":"https://schema.org","@type":"WebSite",url:"https://www.vox.com/",name:"Vox",potentialAction:{"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:"https://www.vox.com/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}],"/about-us":[cs]},cc={pagesCanonicalMap:{"/pages/masthead":"/masthead","/pages/about-us":"/about-us","/pages/membership-special-offer":"/membership-special-offer"},defaultOgImage:"/static-assets/default-og-image.png"},cu={entitlement:cn.entitlementName??"",forbiddenRedirectPaths:["/support-now","/support-membership","/membership-winback","/membership-sale","/one-time-contribution","/checkout"]},cd={...rr.W.rJ,viewport:"desktop"},cp={...rr.W.EO,viewport:"mobileAndTablet"},cm={...rr.W.KO,viewport:"desktop"},ch={...rr.W.Ym,viewport:"tabletAndDesktop"},cf={...rr.W.Ps,viewport:"mobile"},cg={...rr.W.Hh,viewport:"mobile"},c_={...rr.W.tE,viewport:"mobile"},cy={...rr.W.l,viewport:"desktop"},cv={...rr.W.l,viewport:"tablet"},cb={...rr.W.vD,viewport:"flexTabletAndDesktop"},cC={...rr.W.DL,viewport:"mobile"},cT={...rr.W.aX,viewport:"mobile"},cS={...rr.W.F0,viewport:"tablet"},ck={...rr.W.Rl,viewport:"desktop"},cE={...rr.W.rJ,viewport:"all"},cR={...rr.W.I_,viewport:"desktop"},cI={...rr.W.rN,viewport:"tablet"},cA={...rr.W._x,viewport:"desktop"},cw={...rr.W.Yq,viewport:"mobile"},cx={...rr.W.Hb,viewport:"mobile"},cP={...rr.W.cg,viewport:"tablet"},cB={...rr.W.zP,viewport:"tablet"},cN={...rr.W.cj,viewport:"desktop"},cO={...rr.W.FO,viewport:"desktop"},cL={...rr.W.tO,viewport:"desktop"},cM={...rr.W.L5,viewport:"desktop"},cj={...rr.W.IK,viewport:"desktop"},cD={...rr.W.Y9,viewport:"desktop"},cU={...rr.W.oy,viewport:"desktop"},cq={...rr.W.TR,viewport:"desktop"},cF={...rr.W.eu,viewport:"desktop"},cH={...rr.W.X8,viewport:"desktop"},cG={...rr.W.Mq,viewport:"desktop"},cV={...rr.W.Xx,viewport:"mobileAndTablet"},cz={...rr.W.yO,viewport:"desktop"},cW={...rr.W.He,viewport:"desktop"},cK={...rr.W.b6,viewport:"all"},c$={articleSponsorshipMobileAndTablet:[{slotName:"article_sponsorship_mobile_and_tablet",...cp}],articleSponsorshipDesktop:[{slotName:"article_sponsorship_desktop",...cd}],articleSponsorshipHeadlineAboveMobileAndTablet:[{slotName:"article_sponsorship_headline_above_mobile_and_tablet",...cp}],articleSponsorshipHeadlineAboveDesktop:[{slotName:"article_sponsorship_headline_above_desktop",...cm}],articleSponsorshipWhiteMobileAndTablet:[{slotName:"article_sponsorship_white_mobile_and_tablet",...cp}],articleSponsorshipWhiteDesktop:[{slotName:"article_sponsorship_white_desktop",...cm}],articleStreamSponsorship:[{slotName:"article_sponsorship_desktop",...cd},{slotName:"article_sponsorship_headline_above_mobile_and_tablet",...cp}],in5Sponsorship:[{slotName:"article_sponsorship_desktop",...cd},{slotName:"article_sponsorship_mobile_and_tablet",...cp}],athenaGamesHub:[{slotName:"athena_games_hub_mobile",...cf},{slotName:"athena_games_hub_desktop_tablet",...ch}],connatixRightRail:[{slotName:"connatix_right_rail",...cG,hideIfSubscription:["verge"]}],frontpageSecondaryMobile:[{slotName:"frontpage_secondary_mobile",...cg}],frontpageHeroMobile:[{slotName:"frontpage_hero_mobile",...c_}],frontpageHeroDesktop:[{slotName:"frontpage_hero_desktop",...cy}],frontpageHeroTablet:[{slotName:"frontpage_hero_tablet",...cv}],networkRiverHomeTop:[{slotName:"mobile_network_river",...cw},{slotName:"tablet_network_river",...cP},{slotName:"desktop_network_river",...cN}],networkRiverHome:[{slotName:"mobile_network_river",...cx},{slotName:"tablet_network_river",...cB},{slotName:"desktop_network_river",...cO}],networkRiverArticle:[{slotName:"mobile_network_river",...cx},{slotName:"tablet_network_river",...cB}],packageSponsorship:[{slotName:"package_sponsorship",...cE}],rightRailNetworkRiver:[{slotName:"medium_rectangle_river",...cL}],rightRailNetworkRiverAboveNewsletter:[{slotName:"medium_rectangle_river",...cM}],leaderboardArticle:[{slotName:"tablet_leaderboard",...cS},{slotName:"desktop_leaderboard_variable",...ck}],leaderboardAuthor:[{slotName:"tablet_leaderboard",...cS},{slotName:"desktop_leaderboard_variable",...ck}],leaderboardHub:[{slotName:"mobile_leaderboard",...cT},{slotName:"tablet_leaderboard",...cS},{slotName:"desktop_leaderboard_variable",...ck}],leaderboardPackagedHub:[{slotName:"tablet_leaderboard",...cS},{slotName:"desktop_leaderboard_variable",...cR}],leaderboardStream:[{slotName:"storystream_top_leaderboard_tablet",...cI},{slotName:"storystream_top_leaderboard_desktop",...cA}],leaderboardTop:[{slotName:"leaderboard_top_tablet_desktop",...cb,hideIfSubscription:["verge"]}],mediumRectangleHero:[{slotName:"medium_rectangle_hero",viewport:"desktop"}],medrecFrontpageHero:[{slotName:"medrec_frontpage_hero_mobile",...cC}],commentsRightRail:[{slotName:"comments_medium_rectangle",...cD}],topRightRailHub:[{slotName:"medium_rectangle_variable",...cj}],topRightRailHome:[{slotName:"medium_rectangle_variable_home",...cU}],topRightRailArticle:[{slotName:"medium_rectangle_variable",...cq}],bottomRightRail:[{slotName:"btf_medium_rectangle_variable",...cF,hideIfSubscription:["verge"]}],bottomRightRailHome:[{slotName:"btf_medium_rectangle_variable_home",...cU}],bottomRightRailHub:[{slotName:"btf_medium_rectangle_variable_hub",...cF,hideIfSubscription:["verge"]}],bottomRightRailArticle:[{slotName:"btf_medium_rectangle_variable_article",...cH,hideIfSubscription:["verge"]}],specialSponsorshipRail:[{slotName:"medium_rectangle_gamestop_desktop",...cz}],specialSponsorshipBody:[{slotName:"medium_rectangle_gamestop_mobile_and_tablet",...cV,hideIfSubscription:["verge"]}],featureExtendedSticky:[{slotName:"btf_medium_rectangle_variable_feature_extended_sticky",...cW}],hubSponsorship:[{slotName:"hub_sponsorship",...cK}],leaderboardStreamWordpress:[{slotName:"mobile_leaderboard",...cT},{slotName:"tablet_leaderboard",...cS},{slotName:"desktop_leaderboard_variable",...cA}],leaderboardVideoGameWordpress:[{slotName:"mobile_leaderboard",...cT},{slotName:"tablet_leaderboard",...cS},{slotName:"desktop_leaderboard_variable",...cA}],leaderboardArticleWordpress:[{slotName:"mobile_leaderboard",...cT},{slotName:"tablet_leaderboard",...cS},{slotName:"desktop_leaderboard_variable",...ck}],leaderboardAuthorWordpress:[{slotName:"mobile_leaderboard",...cT},{slotName:"tablet_leaderboard",...cS},{slotName:"desktop_leaderboard_variable",...ck}]},cQ="duet:identityAuthenticated",cY=e=>{let{children:n,serverAuthState:t}=e,[r,o]=(0,ee.useState)(null),[i,a]=(0,ee.useState)(!0);return(0,ee.useMemo)(()=>{(0,ey.v)("Duet User",{loggedIn:!1,service:"firebase"})},[]),(0,ee.useEffect)(()=>{r?(0,ey.v)("Duet User",{loggedIn:!0,emailVerified:r.emailVerified,entitlements:r.entitlements,isEntitled:r.isEntitled,hasZephrJwtToken:!!r.zephrJwt,service:"firebase"}):(0,ey.v)("Duet User",{loggedIn:!1,service:"firebase"})},[r]),(0,ee.useEffect)(()=>{let e=async function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,r=await fetch("/api/auth/firebase-verify",{method:"post",headers:{"Content-Type":"application/json"},credentials:"same-origin"});if(r.ok){let e=await r.json();o(e.data?.user??e.user??null)}else if([400,401].includes(r.status))o(null);else{if(n>0)return await new Promise(e=>setTimeout(e,t)),e(n-1,3*t);o(null)}};(async()=>{if("true"!==(0,eG.ej)(cQ)){a(!1);return}try{await e()}catch(e){(0,ey.Tb)(e,{extra:{message:"Failed to verify identity session"}})}a(!1)})()},[]),(0,Y.jsx)(ep.Z.Provider,{value:t||null,children:(0,Y.jsx)(eO.ZP.Provider,{value:{authMethod:"identity",user:r,userLoading:i,setUser:e=>{o(e)}},children:n})})};async function cZ(e,n){let t={isLoggedIn:!1,isEntitled:!1};if(!e.req||!e.res)return t;let{req:r}=e,{headers:o}=r,i=o["x-user-state"];if(i)return{isEntitled:"logged-in-entitled"===i,isLoggedIn:"not-logged-in"!==i};"1"===o["fastly-client"]&&(0,ey.Tb)(Error("Missing `x-user-state` header from fastly"));let{communityDomain:a}=(0,tI.Jx)(n),s="true"===(0,eG.qS)(r,cQ),l=(0,eG.qS)(r,"duet:identitySession");if(!s||!l)return t;let c=(0,lZ.R2)(r,a).href;try{let e=await fetch(`${c}/auth/firebase-verify`,{method:"post",headers:{"Content-Type":"application/json",Cookie:o.cookie||""}});if(!e.ok)return tc.cM.error("Error verifying server auth state of user"),t;{let n=await e.json(),t=n.data?.user??n.user??null;return{isLoggedIn:!!t,isEntitled:!!t?.isEntitled}}}catch(e){return(0,ey.Tb)(e,{extra:{message:"Error checking server auth state"}}),t}}let cJ={buttons:["sharePopover","giftLink"],popoverButtons:["copy","facebook","threads","linkedin","bluesky","whatsapp","rss"],giftLinks:{subscriberMessaging:e=>(0,Y.jsxs)(Y.Fragment,{children:["As a Vox member, you have"," ",(0,Y.jsxs)("strong",{children:[Number.isInteger(e)?e:"..."," ",1===e?"article":"articles"]})," ","left to share this month, for anyone to read without a membership."]}),nonSubscriberMessaging:(0,Y.jsx)(Y.Fragment,{children:"Gifting articles is one of the benefits of Vox membership. Members can gift 10 articles every month."}),ctaText:"Become a Member",ctaLink:"https://www.vox.com/support-now",signInText:"Already a member?"}},cX={buttons:["facebook","copy","rss"],popoverButtons:["facebook","copy","rss"],giftLinks:{subscriberMessaging:e=>(0,Y.jsx)(Y.Fragment,{children:e}),nonSubscriberMessaging:(0,Y.jsx)(Y.Fragment,{}),ctaText:"",ctaLink:"/subscribe",signInText:""}};var c0=t(98228);let c1={defaultSeparators:{upper:[rc.F.layout.pipeSeparator,rc.F.layout.pipeSeparator],lower:[rc.F.layout.pipeSeparator,rc.F.layout.pipeSeparator]},metaVariation:"standard",showAuthorBy:!0,MapIcon:c0.Z,showCommentCountText:!1,componentContext:{prominentContentCardTwoUpPattern:{metaVariation:"box"},prominentContentCardThreeUpPattern:{metaVariation:"box"},compactContentCardThreeUpPattern:{metaVariation:"box"}}};var c2=t(25782);let c3={lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,showDek:!0},c4={contentBlockSize:"large",contentBlockVariation:"standard",coverLink:!0,imageAspectRatio:"wide",imageTreatment:null,imageOverlay:null,lowerMetaFirstComponent:"ContentBlockByline",lowerMetaSecondComponent:"Timestamp",lowerMetaThirdComponent:"CommentCount",mediaVariationIconPlacement:"thumbnail",showBorder:!1,showDek:!1,showScore:!1,upperMetaSecondComponent:null,upperMetaThirdComponent:null,logo:!1,imagePosition:"imageAbove",overlap:!1,overlapStyle:"default",imageLeftTablet:!1,componentContext:{nGridPatternMobile:{imageAspectRatio:"wide",contentBlockSize:"micro",upperMetaFirstComponent:null,lowerMetaSecondComponent:null},river:{imageLeftTablet:!0,imageAspectRatio:"squareLarge",lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,showBorder:!0,showDek:!0,upperMetaSecondComponent:"Timestamp"},twoUpPatternFirst:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"large",contentBlockVariation:"standard",imageAspectRatio:"wide",showDek:!0},twoUpPatternSecond:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"large",contentBlockVariation:"standard",imageAspectRatio:"wide",showDek:!0},threeGridBigPattern:{lowerMetaSecondComponent:"CommentCount",lowerMetaThirdComponent:null,contentBlockSize:"large",contentBlockVariation:"special"},threeUpPatternLargeFirst:{...c3,imageAspectRatio:"square",extraImageStyles:c2.sq},threeUpPatternLargeSecond:{...c3,imageAspectRatio:"square",extraImageStyles:(0,ev.Z)(c2.BV,c2.sq)},threeUpPatternLargeThird:{...c3,imageAspectRatio:"square",extraImageStyles:(0,ev.Z)(c2.BV,c2.sq)},threeUpPatternFirst:{...c3,extraImageStyles:(0,ev.Z)(c2.BV,c2.sq)},threeUpPatternSecond:{...c3},threeUpPatternThird:{...c3},threeUpCategoryPillarLargeFirst:{...c3},threeUpCategoryPillarLargeSecond:{...c3},threeUpCategoryPillarLargeThird:{...c3},threeUpBigPattern:{lowerMetaSecondComponent:"CommentCount",lowerMetaThirdComponent:null},threeUpAltPatternLargeFirst:{...c3,overlap:!0,overlapStyle:"default",mediaIconInset:"medium"},threeUpAltPatternLarge:{...c3,imageAspectRatio:"square",mediaIconInset:"medium"},threeUpAltPatternSmall:{...c3,overlap:!0,overlapStyle:"default"},threeGridPattern:{contentBlockSize:"small",contentBlockVariation:"special",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,upperMetaFirstComponent:null},threeGridArticleCategoryRecirc:{contentBlockSize:"small",contentBlockVariation:"special",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,upperMetaFirstComponent:null},fourUpPattern:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"jumbo",showDek:!0},fourUpPatternDesktop:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"jumbo",showDek:!0},fourUpAltPattern:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"jumbo",contentBlockVariation:"standard",showDek:!0,imageLeftTablet:!0},fourUpAltPrimaryRightPattern:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"jumbo",contentBlockVariation:"standard",showDek:!0},sixUpPatternPrimarySquare:{contentBlockSize:"jumbo",lowerMetaSecondComponent:null,imageAspectRatio:"square",lowerMetaThirdComponent:null,overlap:!1,showDek:!0},sixUpPatternPrimaryWide:{contentBlockSize:"jumbo",lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,overlap:!0,overlapStyle:"default",showDek:!0},eightUpPatternPrimary:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"jumbo",imageAspectRatio:"square",showDek:!0},sevenUpPattern:{contentBlockVariation:"standard",lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,imagePosition:"imageAbove",contentBlockSize:"jumbo",imageAspectRatio:"square",showDek:!0},sevenUpPatternDesktop:{contentBlockVariation:"standard",lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,imagePosition:"imageAbove",contentBlockSize:"jumbo",imageAspectRatio:"wide",showDek:!0},sevenUpPatternSecondary:{contentBlockVariation:"standard",lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,imagePosition:"imageAbove",contentBlockSize:"medium",imageAspectRatio:"square",showDek:!1},sevenUpPatternSecondaryDesktop:{contentBlockVariation:"standard",lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,imagePosition:"imageAbove",contentBlockSize:"medium",imageAspectRatio:"square",showDek:!1},eightUpPatternPrimaryDesktop:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"jumbo",showDek:!0},eightUpPatternSecondary:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"medium",imageAspectRatio:"square"},imageAndListPattern:{imageAspectRatio:"wide",imageOverlay:null,imageTreatment:"three"},featuredImageLeadGridMobile:{contentBlockSize:"medium",lowerMetaSecondComponent:null},featuredImageLeadGridDesktop:{contentBlockSize:"medium",lowerMetaSecondComponent:null},fiveGridOverflowPattern:{imageAspectRatio:"wide",contentBlockSize:"small",upperMetaFirstComponent:null,lowerMetaSecondComponent:null},mapSection:{contentBlockSize:"small",contentBlockVariation:"standard",upperMetaFirstComponent:null,upperMetaSecondComponent:null,lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,showDek:!1,imageAspectRatio:"square"},threeUpAltTwoPattern:{imagePosition:"imageAbove",overlap:!0,overlapStyle:"default",imageAspectRatio:"wide",contentBlockVariation:"special",contentBlockSize:"jumbo"},threeUpAltTwoPatternSecondaryTablet:{imagePosition:"imageAbove",overlap:!0,overlapStyle:"default",imageAspectRatio:"wide",contentBlockVariation:"special",contentBlockSize:"large"}}},c5={indent:!1,topSpacing:!1,header:!1,topPadding:!1,componentContext:{categoryPillar:{indent:!1},latestRecirc:{header:(0,Y.jsx)(lr.Z,{title:"The Latest",headingLevel:"h2",size:"medium"}),topPadding:!1},recommendedRecirc:{header:(0,Y.jsx)(lr.Z,{title:"Recommended For You",headingLevel:"h2",size:"medium"})}}};var c9=t(61996),c6=t(49070),c8=t(8721),c7=t(11360);t(74413);var ue=t(83110),un=t(14521);t(29218);var ut=e=>{let n=(0,rh.dj)("threeGridOverflowPattern",e.componentContext||""),{cardsData:t,gaComponentName:r="three_grid_overflow_pattern",mobileCardContext:o="threeGridPattern",desktopCardContext:i,showGridBorders:a=!1,mobileCardClassName:s,desktopCardClassName:l,desktopContainerClassName:c}=eC()({},n,e),{mobileContext:u,desktopContext:d}=(0,c7.A)(t.length,o,i),p=(e,n)=>(0,Y.jsx)("div",{className:(0,ev.Z)(a&&c8.w8),children:(0,Y.jsx)(un.Z,{...e,componentContext:d[n],gaComponentName:r,className:l})},e.id),m=(e,n)=>(0,Y.jsx)("div",{className:(0,ev.Z)(rc.F.contentCard.fixedWidthCard),children:(0,Y.jsx)(un.Z,{...e,componentContext:u[n],gaComponentName:r,className:s})},e.id),h=[],f=[];return t.forEach((e,n)=>{h.push(p(e,n)),f.push(m(e,n))}),(0,Y.jsxs)("div",{children:[(0,Y.jsx)("div",{className:(0,ev.Z)("_1l63vww0",c),children:h}),(0,Y.jsx)("div",{className:"_1l63vww2",children:(0,Y.jsx)("div",{className:(0,ev.Z)("_1l63vww1",rc.F.layout.hideScrollbar),children:f})})]})},ur=t(86643),uo=t(24310);let ui={MobilePattern:uo.Z,componentContext:{categoryPillarThreeUp:{MobilePattern:ur.Z,TabletPattern:ue.Z,DesktopPattern:uo.Z},guidesSection:{MobilePattern:ut,TabletPattern:ut,DesktopPattern:e=>{let n=(0,rh.dj)("threeGridAltOverflowPattern",e.componentContext||""),{cardsData:t,gaComponentName:r="three_grid_alt_overflow_pattern",mobileCardContext:o="threeGridAltPattern",desktopCardContext:i,showGridBorders:a=!1,mobileCardClassName:s,desktopCardClassName:l,desktopContainerClassName:c,desktopCardContainerClassName:u,desktopCardAlignTop:d=!1}=eC()({},n,e),{mobileContext:p,desktopContext:m}=(0,c7.A)(t.length,o,i),h=(e,n)=>(0,Y.jsx)("div",{className:(0,ev.Z)(c6.Fp,a&&c8.w8,u),children:(0,Y.jsx)(c9.Z,{...e,componentContext:m[n],gaComponentName:r,className:(0,ev.Z)(c6.MI,l),alignTop:d})},e.id),f=(e,n)=>(0,ee.createElement)(c9.Z,{...e,key:e.id,componentContext:p[n],gaComponentName:r,firstChild:0===n,lastChild:n===t.length-1,className:s}),g=[],_=[];return t.forEach((e,n)=>{g.push(h(e,n)),_.push(f(e,n))}),(0,Y.jsxs)("div",{children:[(0,Y.jsx)("div",{className:(0,ev.Z)("pjyg9o0",c),children:g}),(0,Y.jsx)("div",{className:c8.zs,children:(0,Y.jsx)("div",{className:(0,ev.Z)("pjyg9o2",rc.F.layout.hideScrollbar),children:_})})]})}},homepageSpotlight:{MobilePattern:uo.Z,TabletPattern:ue.Z,DesktopPattern:uo.Z}}};var ua=({className:e})=>(0,Y.jsxs)("svg",{width:"120",height:"58",viewBox:"0 0 120 58",fill:"black",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,Y.jsx)("title",{children:"Vox"}),(0,Y.jsx)("desc",{children:"Vox logo"}),(0,Y.jsx)("path",{fill:"#fff200",d:"M155-6.7h123.8v115H155z"}),(0,Y.jsx)("path",{d:"M55.1 77.5h1.7l.2-.8H35.6l-.2.8h3.1c2.7 0 4.9 1.9 4.9 5.6 0 2.1-.9 4.8-2.4 8.1l-13.9 30.7L23.7 82c-.3-3.1 1.3-4.5 4.8-4.5h2l.2-.8H.5l-.3.8h1.9c2.4 0 3.3 1.5 3.5 4.3l5.4 51.6h12.7L45 88.3c3.3-6.7 6.7-10.8 10.1-10.8zm-2.5 56.1c-1.9 0-3.1-.6-3.1-3.8 0-4 1.5-11.9 3.1-19.1.2 3.3 2.5 6.6 5.9 6.6.8 0 1.5-.1 2.2-.2-3.2 13.7-4.4 16.5-8.1 16.5zm60.6-27.1c4 0 6.6-3.3 6.6-7.1 0-3.2-2.3-5.6-5.6-5.6-5.9 0-8.7 4.7-13.6 13.3-1-5.4-3.5-12.4-9.7-12.4-7 0-15.1 10-22.5 16.2-3.4 2.9-7.1 4.7-10.1 4.7-3.1 0-4.9-3.1-4.9-8.6 2.2-9 3.3-11.3 6.7-11.3 2.3 0 3.3 1.3 3.3 4 0 2.9-.6 7.7-1.9 13.8 3.3-1 8.3-5.2 12.5-9.7-2.2-5.3-7-8.9-13.8-8.9-12.7 0-23.9 11.4-23.9 24.2 0 8.8 6.3 15.5 16.1 15.5 16.2 0 23-14 23-23.8 0-1.4-.1-2.4-.2-3.7 2.5-2.7 5.7-5.3 8.3-5.3 3 0 5.4 7.5 7.7 18.8-2.1 2.3-4.2 6.7-5.2 7.5-.4-4-3.1-6.5-6.6-6.5-4 0-6.7 3.8-6.7 7 0 3.6 2.5 6 5.8 6 6.9 0 8.8-6.5 13.1-12.3 1.3 6.2 4.4 12.3 9.7 12.3 6.3 0 12.1-5.4 15.1-9.2l-.6-.9c-1.9 1.9-3.8 3.1-6 3.1-3.9 0-6.7-8.4-8.8-18.6 1.3-1.7 3.3-6.1 4.7-7.7.9 1.8 2.9 5.2 7.5 5.2z",fill:"#fff"}),(0,Y.jsx)("path",{d:"M55.1.9h1.7l.2-.8H35.6l-.2.8h3.1c2.7 0 4.9 1.9 4.9 5.6 0 2.1-.9 4.8-2.4 8.1L27.1 45.3 23.7 5.4C23.4 2.3 25 .9 28.5.9h2l.2-.8H.5L.2.9h1.9c2.4 0 3.3 1.5 3.5 4.3L11 56.8h12.7L45 11.7C48.3 5 51.7.9 55.1.9zM52.6 57c-1.9 0-3.1-.6-3.1-3.8 0-4 1.5-11.9 3.1-19.1.2 3.3 2.5 6.6 5.9 6.6.8 0 1.5-.1 2.2-.2C57.5 54.2 56.3 57 52.6 57zm60.6-27.1c4 0 6.6-3.3 6.6-7.1 0-3.2-2.3-5.6-5.6-5.6-5.9 0-8.7 4.7-13.6 13.3-1-5.4-3.5-12.4-9.7-12.4-7 0-15.1 10-22.5 16.2C65 37.2 61.3 39 58.3 39c-3.1 0-4.9-3.1-4.9-8.6 2.2-9 3.3-11.3 6.7-11.3 2.3 0 3.3 1.3 3.3 4 0 2.9-.6 7.7-1.9 13.8 3.3-1 8.3-5.2 12.5-9.7-2.2-5.3-7-8.9-13.8-8.9-12.7 0-23.9 11.4-23.9 24.2 0 8.8 6.3 15.5 16.1 15.5 16.2 0 23-14 23-23.8 0-1.4-.1-2.4-.2-3.7 2.5-2.7 5.7-5.3 8.3-5.3 3 0 5.4 7.5 7.7 18.8-2.1 2.3-4.2 6.7-5.2 7.5-.4-4-3.1-6.5-6.6-6.5-4 0-6.7 3.8-6.7 7 0 3.6 2.5 6 5.8 6 6.9 0 8.8-6.5 13.1-12.3C92.9 51.9 96 58 101.3 58c6.3 0 12.1-5.4 15.1-9.2l-.6-.9c-1.9 1.9-3.8 3.1-6 3.1-3.9 0-6.7-8.4-8.8-18.6 1.3-1.7 3.3-6.1 4.7-7.7.9 1.8 2.9 5.2 7.5 5.2zm133.7-13.4h2.1l.2-1h-26l-.2 1h3.8c3.3 0 6 2.3 6 6.8 0 2.6-1.1 5.8-2.9 9.8L213 70.4 208.7 22c-.4-3.8 1.6-5.5 5.8-5.5h2.4l.2-1h-36.7l-.4 1h2.3c2.9 0 4 1.8 4.3 5.2l6.6 62.7h15.4l25.9-54.8c4.2-8.1 8.3-13.1 12.4-13.1z"})]});t(4484);var us="_1y7i8ya2",ul="_1y7i8ya3",uc=({subscribeStyles:e,subscribeText:n="Subscribe",signInText:t="Sign In",linkStyles:r,leftIcon:o,getLoginUrl:i,getSubscribeUrl:a,hideAccountLink:s=!1,hideSubscribeLink:l=!1,showSubscribeLinkFirst:c=!0})=>{let u=(0,n9.z$)(),d=(0,eO.aC)(),p=d.user?.isEntitled,[m,h]=(0,ee.useState)("/auth/login"),[f,g]=(0,ee.useState)("/subscribe?itm_campaign=desktop-top-navigation-subscribe&itm_medium=site&itm_source=desktop-top-navigation"),[_,y]=(0,ee.useState)(!0);(0,ee.useEffect)(()=>{if(i)h(i());else{let e=encodeURIComponent(window.location.pathname);h(`/auth/login?returnPath=${e}`)}a&&g(a()),(!d.userLoading||d.user)&&y(!1)},[d,i,a]);let v=!l&&!p&&(0,Y.jsx)("a",{className:(0,ev.Z)("_1y7i8ya1",e),href:f,onClick:()=>{u?.emit({event:"authentication",authentication:{method:"subscribe_top_navigation"}})},children:n});return _?null:(0,Y.jsxs)("div",{className:"_1y7i8ya0",children:[c&&v,!s&&(0,Y.jsx)(Y.Fragment,{children:d.user?(0,Y.jsxs)("a",{href:"/account/profile",className:(0,ev.Z)(us,r),children:[o&&o,(0,Y.jsx)("span",{className:ul,children:"Account"})]}):(0,Y.jsxs)("a",{href:m,className:(0,ev.Z)(us,r),onClick:()=>{u?.emit({event:"authentication",authentication:{method:"sign_in_top_navigation"}})},children:[o&&o,(0,Y.jsx)("span",{className:ul,children:t})]})}),!c&&v]})};t(89519);var uu=({Logo:e,rightMenuButtons:n,monochrome:t})=>{let r=(0,n9.z$)();return(0,Y.jsx)("div",{className:(0,ev.Z)(t&&"_1771tfx1","_1771tfx0"),children:(0,Y.jsxs)("div",{className:"_1771tfx2",children:[(0,Y.jsx)("div",{className:(0,ev.Z)("_1771tfx3"),children:(0,Y.jsxs)("a",{href:"/",onClick:()=>r?.emit({event:"navigation_click",navigation_click:{name:"front page"}}),children:[(0,Y.jsx)("span",{className:ru.srOnly,children:"The homepage"}),(0,Y.jsx)(e,{className:(0,ev.Z)("_1771tfx4",t&&"_1771tfxa")})]})}),(0,Y.jsxs)("div",{className:"_1771tfx5",children:[(0,Y.jsx)(uc,{subscribeText:"Become a Member",getSubscribeUrl:()=>{let e=encodeURIComponent(window.location.pathname);return`/support-membership?itm_campaign=top-nav-bam-button&itm_medium=site&itm_source=navigation&returnPath=${e}`},signInText:"Sign In",hideAccountLink:!0}),(0,Y.jsx)("div",{className:"_1771tfx6",children:(0,Y.jsx)(n,{monochrome:t})})]})]})})},ud=({className:e="",fill:n="",width:t=18,height:r=24,viewBox:o="0 0 18 24"})=>(0,Y.jsx)("svg",{className:e,width:t,height:r,fill:"none",xmlns:"http://www.w3.org/2000/svg",tabIndex:-1,"aria-hidden":"true",viewBox:o,children:(0,Y.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.063 4.872c0 2.69-2.267 4.872-5.063 4.872S3.937 7.563 3.937 4.872C3.937 2.182 6.204 0 9 0s5.063 2.181 5.063 4.872ZM2.778 13.598c1.65-1.588 3.888-2.48 6.222-2.48 2.334 0 4.572.892 6.223 2.48 1.65 1.588 2.577 3.742 2.577 5.988V23.2H.2v-3.614c0-2.246.927-4.4 2.578-5.988Z",fill:n})});t(53406);var up={regular:"p9cztz8 p9cztz7",special:"p9cztz9 p9cztz7"},um={standard:"p9cztz5",homepage:"p9cztz6"},uh={standard:"p9cztz2 p9cztz1",homepage:"p9cztz3 p9cztz1"};t(10695);var uf={standard:"rr52vu1 rr52vu0",homepage:"rr52vu2 rr52vu0"};let ug=({children:e,variant:n})=>(0,Y.jsx)("ul",{className:uf[n],children:e});ug.Link=({className:e,anchorClassName:n,contentClassName:t,special:r,children:o,style:i,showLinkLines:a,icon:s,variant:l,monochrome:c,...u})=>{let d=u.href?"a":"button";return(0,Y.jsx)("li",{className:(0,ev.Z)(e,"p9cztz0",a&&uh[l]),children:(0,Y.jsx)(d,{...u,className:(0,ev.Z)(n,"p9cztz4"),children:(0,Y.jsxs)("span",{className:(0,ev.Z)(um[l],up[r?"special":"regular"],c&&"p9cztza",t),style:i,children:[o,s&&(0,Y.jsx)("span",{className:"p9cztzb",children:s})]})})})},t(8158);var u_={standard:"_1j2ggcbh",homepage:"_1j2ggcbj _1j2ggcbh"},uy={standard:"_1j2ggcbf _1j2ggcbe",homepage:"_1j2ggcbg _1j2ggcbe"},uv={standard:"_1j2ggcb1 _1j2ggcb0",monochrome:"_1j2ggcb2 _1j2ggcb0",homepage:"_1j2ggcb3 _1j2ggcb0"},ub={standard:"_1j2ggcbc _1j2ggcbb",homepage:"_1j2ggcbd _1j2ggcbb"},uC={standard:"_1j2ggcb8",homepage:"_1j2ggcb9"},uT={standard:"_1j2ggcb6 _1j2ggcb5",homepage:"_1j2ggcb7 _1j2ggcb5"},uS=({items:e,Logo:n,showLinkLines:t,linkClassName:r,variant:o,rightMenuButtons:i,monochrome:a})=>{let s=(0,n9.z$)(),l=(0,Y.jsx)(ug,{variant:o,children:e.map((e,n)=>"title"in e?(0,Y.jsx)(ug.Link,{className:r,href:e.url,showLinkLines:t,special:e.special,icon:e.icon,variant:o,monochrome:a,onClick:()=>s?.emit({event:"navigation_click",navigation_click:{name:e.title}}),children:e.title},n):e)});return(0,Y.jsx)("div",{className:uv[a?"monochrome":o],children:(0,Y.jsxs)("div",{className:"_1j2ggcb4",children:[(0,Y.jsx)("div",{className:uT[o],children:(0,Y.jsxs)("a",{href:"/",onClick:()=>s?.emit({event:"navigation_click",navigation_click:{name:"front page"}}),children:[(0,Y.jsx)("span",{className:ru.srOnly,children:"The homepage"}),(0,Y.jsx)(n,{className:(0,ev.Z)(a&&"_1j2ggcba",uC[o])})]})}),(0,Y.jsx)("nav",{className:ub[o],"aria-label":"Top Navigation",children:l}),(0,Y.jsx)("div",{className:u_[o],children:(0,Y.jsx)(uc,{subscribeText:"Become a Member",signInText:"Sign In",showSubscribeLinkFirst:!1,leftIcon:(0,Y.jsx)(ud,{width:8,height:14,className:"_1j2ggcbk"}),getSubscribeUrl:()=>{let e=encodeURIComponent(window.location.pathname);return`/support-membership?itm_campaign=top-nav-bam-button&itm_medium=site&itm_source=navigation&returnPath=${e}`}})}),(0,Y.jsx)("div",{className:uy[o],children:(0,Y.jsx)(i,{variant:o,monochrome:a})})]})})};t(32684);var uk={navigation:"_16vlidu2",tablet:"_16vlidu3"};t(3313);var uE=function(e){let n=(0,n9.z$)(),{openDrawer:t,drawerId:r}=(0,rf.Q)();return(0,Y.jsx)("button",{onClick:()=>{t(),n?.emit({event:"navigation_click",navigation_click:{name:"more button"}})},className:"hqwttv0","aria-controls":r,"aria-label":"Open Drawer",children:(0,Y.jsx)(r_,{className:(0,ev.Z)("hqwttv1",e.monochrome&&"hqwttv2",e.iconClassName)})})},uR=t(45348);t(2063),t(80387),t(88951);var uI=({monochrome:e})=>{let n=(0,n9.z$)(),{openDrawer:t,drawerId:r}=(0,rf.Q)();return(0,Y.jsxs)("button",{onClick:()=>{t(),n?.emit({event:"navigation_click",navigation_click:{name:"more button"}})},className:"c481el0","aria-controls":r,"aria-label":"Open Drawer",children:[(0,Y.jsx)("span",{className:rc.F.accessibility.srOnly,children:"Menu"}),(0,Y.jsx)("span",{className:(0,ev.Z)(e&&"c481el3","c481el1"),children:(0,Y.jsx)(r_,{className:"c481el2"})})]})};t(8983);let uA={Logo:({className:e})=>(0,Y.jsxs)("svg",{width:"245",height:"66",viewBox:"0 0 245 66",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,Y.jsx)("path",{d:"M213.047 65.5386C193.725 65.5386 181.527 53.6071 181.527 33.1276V32.9495C181.527 12.4701 193.725 0.538574 213.047 0.538574C232.369 0.538574 244.568 12.4701 244.568 32.9495V33.1276C244.568 53.6071 232.369 65.5386 213.047 65.5386ZM213.047 50.2235C216.876 50.2235 218.835 46.8399 218.835 33.1276V32.9495C218.835 19.2372 216.876 15.8536 213.047 15.8536C209.219 15.8536 207.26 19.2372 207.26 32.9495V33.1276C207.26 46.8399 209.219 50.2235 213.047 50.2235Z",fill:"currentColor"}),(0,Y.jsx)("path",{d:"M159.403 64.203L158.246 56.5454C155.663 62.6002 150.232 65.5386 142.307 65.5386C127.794 65.5386 116.485 55.566 116.485 33.1276V32.9495C116.485 13.4495 127.615 0.538574 148.362 0.538574C166.526 0.538574 175.252 7.75091 176.855 20.5728L155.129 22.5317C154.684 17.9906 152.458 15.8536 149.074 15.8536C144.088 15.8536 142.218 18.792 142.218 32.9495V33.1276C142.218 47.7304 143.999 50.7578 148.985 50.7578C152.191 50.7578 154.595 48.2646 154.595 43.8125V42.3879H147.026V27.7852H177.211V64.203H159.403Z",fill:"currentColor"}),(0,Y.jsx)("path",{d:"M81.399 65.5386C62.077 65.5386 49.8784 53.6071 49.8784 33.1276V32.9495C49.8784 12.4701 62.077 0.538574 81.399 0.538574C100.721 0.538574 112.92 12.4701 112.92 32.9495V33.1276C112.92 53.6071 100.721 65.5386 81.399 65.5386ZM81.399 50.2235C85.2277 50.2235 87.1866 46.8399 87.1866 33.1276V32.9495C87.1866 19.2372 85.2277 15.8536 81.399 15.8536C77.5702 15.8536 75.6113 19.2372 75.6113 32.9495V33.1276C75.6113 46.8399 77.5702 50.2235 81.399 50.2235Z",fill:"currentColor"}),(0,Y.jsx)("path",{d:"M0 64.2028V1.87402H24.6644V46.3946H48.2603V64.2028H0Z",fill:"currentColor"})]}),showAuth:!1,showStickyNavCommentCount:!1,showSubscribeInNav:!1,stickyNavComponent:lW,getDrawerComponents:()=>({}),primaryNavigationComponent:({items:e,PrimaryLogo:n,Logo:t,cta:r,variant:o,showLinkLines:i,linkClassName:a,rightMenuButtons:s,showSubscribeInNav:l=!1})=>{let c=o.startsWith("monochrome");return(0,Y.jsxs)("div",{children:[(0,Y.jsx)("div",{className:"_16vlidu0",children:(0,Y.jsx)(uS,{Logo:n||t,items:e,cta:r.desktop,variant:"homepage"===o?"homepage":"standard",showLinkLines:i,showSubscribeInNav:l,linkClassName:a,rightMenuButtons:s.desktop,monochrome:c})}),(0,Y.jsx)("div",{className:"monochrome-minimal"===o?"_16vlidu4":uk.navigation,children:(0,Y.jsx)(uu,{Logo:n||t,cta:r.mobile,rightMenuButtons:s.mobile,monochrome:c})}),"monochrome-minimal"===o&&(0,Y.jsx)("div",{className:uk.tablet,children:(0,Y.jsx)(rS,{Logo:t})})]})},linkMenu:{showLinkLines:!1,linkClassName:"_14x5z6v0"},rightMenuButtons:{desktop:e=>(0,Y.jsx)(uI,{...e}),mobile:e=>(0,Y.jsx)(uE,{...e})},cta:{desktop:(0,Y.jsx)(s8.Z,{displayType:"primary",text:"Call to Action"}),mobile:(0,Y.jsx)(({className:e,...n})=>(0,Y.jsx)(uR.Z,{className:(0,ev.Z)(e,"jv6cq40"),...n}),{text:"Call to Action"})},drawerItems:[{title:"Duet UI Docs",url:"https://duet-docs.voxops.net/packages/duet-ui/overview/index.html",subItems:[]}],getPinnedItems:()=>[],componentContext:{}};t(24981);let uw=(0,Y.jsx)("button",{id:"ot-sdk-btn",className:(0,ev.Z)("m0kjex0","ot-sdk-show-settings"),suppressHydrationWarning:!0,children:"Cookie Settings"});var ux=({className:e="",width:n=20,height:t=20})=>(0,Y.jsxs)("svg",{className:e,width:n,height:t,xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 49 49",children:[(0,Y.jsx)("title",{children:"Crossword"}),(0,Y.jsxs)("g",{transform:"matrix(1,0,0,1,-2,-1.6)",children:[(0,Y.jsx)("g",{transform:"matrix(1.0083,0,0,1.0083,0.790041,0.591701)",children:(0,Y.jsx)("rect",{x:"1.2",y:"1",width:"48.2",height:"48.2",fill:"white"})}),(0,Y.jsx)("g",{transform:"matrix(1,0,0,1,1,0.8)",children:(0,Y.jsx)("path",{d:"M1,0.8L1,49.4L49.6,49.4L49.6,0.8L1,0.8ZM3.7,3.5L23.8,3.5L23.8,23.9L3.7,23.9L3.7,3.5ZM46.9,46.7L26.5,46.7L26.5,26.6L46.9,26.6L46.9,46.7ZM46.9,23.9L26.5,23.9L26.5,3.5L46.9,3.5L46.9,23.9Z",fillRule:"nonzero"})})]})]}),uP=t(44389),uB=t(3602);t(57433);var uN={standard:"_4q5u9i0",wide:"_4q5u9i1"};let uO=({children:e})=>{let n=ee.Children.count(e)>2?uN.wide:uN.standard;return(0,Y.jsx)("nav",{className:n,"data-children":ee.Children.count(e),children:(0,Y.jsx)("ul",{className:"_4q5u9i2",children:e})})};uO.Item=({href:e,target:n,onClick:t,anchorClassName:r,listItemClassName:o,children:i})=>(0,Y.jsx)("li",{className:(0,ev.Z)(o,"_4q5u9i3"),children:(0,Y.jsx)("a",{href:e,className:(0,ev.Z)(r,"_4q5u9i4"),onClick:t,target:n,children:i})});var uL=()=>{let e=(0,n9.z$)(),n=n=>e?.emit({event:"navigation_click",navigation_click:{name:n}});return(0,Y.jsxs)(uO,{children:[(0,Y.jsxs)(uO.Item,{href:"/videos",onClick:()=>n("videos"),children:[(0,Y.jsx)(uB.Z,{width:22,height:14}),"Watch"]}),(0,Y.jsxs)(uO.Item,{href:"/podcasts",onClick:()=>n("listen"),children:[(0,Y.jsx)(uP.Z,{width:22,height:17}),"Listen"]}),(0,Y.jsxs)(uO.Item,{href:"/21523212/crossword-puzzles-free-daily-printable",onClick:()=>n("crossword"),children:[(0,Y.jsx)(ux,{width:22,height:22}),"Play"]})]})};t(64920),t(56030);let uM=()=>{let e=(0,n9.z$)(),n=(0,ep.J)();return n?.isEntitled?null:(0,Y.jsx)(rp.Z,{className:"_1ssspgd0",displayType:"secondary",text:"Become a Member",href:"/support-now?itm_campaign=member-menu-nav&itm_medium=site&itm_source=navigation",onClick:()=>{e?.emit({event:"memberships_navigation",memberships_navigation:{action:"click",cta:"Become a Member",position:"navigation"}})},fullWidth:!0})},uj=(0,t(5493).d)({boostedPostSeparator:{specialStyle:!1},compactContentCard:{contentBlockSize:"medium",contentBlockVariation:"standard",coverLink:!0,imagePosition:"floatRight",imageAspectRatio:"squareMobile",lowerMetaFirstComponent:"ContentBlockByline",lowerMetaSecondComponent:"CommentCount",lowerMetaThirdComponent:null,mediaVariationIconPlacement:"thumbnail",showCommentCallout:!1,showDek:!0,showScore:!1,upperMetaSecondComponent:"Timestamp",upperMetaThirdComponent:null,latestRecircPadding:!1,alignTop:!1,componentContext:{river:{mediaIconInset:"smallMobile"},articleParentRecircStream:{imagePosition:"left",showDek:!1,upperMetaFirstComponent:null,upperMetaSecondComponent:null},articleParentRecircPackage:{imagePosition:"left",showDek:!1,upperMetaFirstComponent:null,upperMetaSecondComponent:null},specialEvent:{contentBlockSize:"micro",imagePosition:"left",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,showDek:!1,upperMetaFirstComponent:null,upperMetaSecondComponent:null},latestRecirc:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"hideImage",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,mediaVariationIconPlacement:"title",showDek:!1,upperMetaFirstComponent:"Timestamp",upperMetaSecondComponent:null},nGridPatternMobile:{contentBlockSize:"micro",imagePosition:"right",showDek:!1,upperMetaFirstComponent:null,upperMetaSecondComponent:null},recommendedRecirc:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"hideImage",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,mediaVariationIconPlacement:"title",showDek:!1,upperMetaFirstComponent:"Timestamp",upperMetaSecondComponent:null},threeUpPattern:{imagePosition:"floatRight",lowerMetaSecondComponent:null,upperMetaSecondComponent:null},threeUpAltTwoPatternSecondaryMobile:{imagePosition:"left",lowerMetaSecondComponent:"CommentCount",contentBlockSize:"medium",contentBlockVariation:"standard",showDek:!1},fourUpPattern:{upperMetaSecondComponent:null},fourUpAltPattern:{upperMetaSecondComponent:null,lowerMetaSecondComponent:null,contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"left",showDek:!1},fourUpAltPatternTablet:{upperMetaSecondComponent:null,lowerMetaSecondComponent:null,contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"left",showDek:!1},fourUpAltPrimaryRightPattern:{upperMetaSecondComponent:null,lowerMetaSecondComponent:null,contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"right",showDek:!1},sixUpPatternTop:{imagePosition:"right",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null},sixUpPatternBottom:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"hideImage",lowerMetaFirstComponent:null,mediaVariationIconPlacement:"title",showDek:!1,upperMetaSecondComponent:null},searchPage:{imagePosition:"right",lowerMetaFirstComponent:"ContentBlockByline",upperMetaFirstComponent:"Category",upperMetaSecondComponent:"Timestamp"},searchPageWithoutCategory:{imagePosition:"right",lowerMetaFirstComponent:"ContentBlockByline",upperMetaFirstComponent:"Timestamp",upperMetaSecondComponent:null},fiveGridPattern:{contentBlockSize:"micro",imagePosition:"right",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null},fiveGridPackagePattern:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"right",lowerMetaFirstComponent:"ContentBlockAdvertiserFlag",showDek:!1,upperMetaFirstComponent:"Category",upperMetaSecondComponent:null},fiveGridGameGuidesPattern:{contentBlockSize:"small",imagePosition:"right",lowerMetaFirstComponent:null,showDek:!1,upperMetaFirstComponent:null,upperMetaSecondComponent:null},podcastSection:{contentBlockSize:"small",imageAspectRatio:"square",imagePosition:"left",lowerMetaFirstComponent:null,showDek:!0,upperMetaFirstComponent:null,upperMetaSecondComponent:null},threeGridPattern:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"right",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null},threeGridAltPattern:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"left",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null},threeUpWithCategories:{contentBlockSize:"micro",latestRecircPadding:!0,upperMetaSecondComponent:null,upperMetaFirstComponent:null},threeUpWithCategoriesMobile:{contentBlockSize:"small",latestRecircPadding:!0,upperMetaSecondComponent:null,upperMetaFirstComponent:null},sevenUpPattern:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"hideImage",lowerMetaSecondComponent:null,upperMetaSecondComponent:null,showDek:!1},eightUpPattern:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"hideImage",upperMetaFirstComponent:"Timestamp",upperMetaSecondComponent:null,lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,showDek:!1},guidesSection:{contentBlockSize:"micro",contentBlockVariation:"standard",imagePosition:"right",imageAspectRatio:"square",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,showDek:!1,upperMetaSecondComponent:null,upperMetaFirstComponent:null},videoSection:{contentBlockSize:"medium",contentBlockVariation:"standard",imagePosition:"right",imageAspectRatio:"wide",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null},mapSection:{contentBlockSize:"small",contentBlockVariation:"standard",upperMetaFirstComponent:null,upperMetaSecondComponent:null,lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,showDek:!1,imagePosition:"left"},mapSectionFeatured:{contentBlockSize:"medium",contentBlockVariation:"standard",imagePosition:"hideImage",upperMetaFirstComponent:"Category",upperMetaSecondComponent:null,upperMetaThirdComponent:null,lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,showDek:!1},mapSearchFeatured:{contentBlockSize:"medium",contentBlockVariation:"standard",imagePosition:"hideImage",upperMetaFirstComponent:"Category",upperMetaSecondComponent:null,upperMetaThirdComponent:null,lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,showDek:!1},elevatedGridPattern:{contentBlockSize:"large",contentBlockVariation:"standard",imagePosition:"hideImage",upperMetaSecondComponent:null,upperMetaThirdComponent:null,lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,showDek:!1}}},contactForm:{forms:["tip","issue","suggestion","advertising","advertisingSupport","pressInquiry","security","personalData"],pressInquiry:{link:"https://www.vox.com/press-room"},componentContext:{}},contentBlockMeta:c1,contentBlockCrossCommunityPost:{defaultPrefix:""},disclaimer:{disclaimerText:"If you buy something from a link, Vox Media may earn a commission.",ethicsUrl:"https://www.voxmedia.com/ethics-statement",ethicsText:"See our ethics statement."},embed:{mediaContainerVariant:"standard",componentContext:{standard:{mediaContainerVariant:"standard"},stream:{mediaContainerVariant:"standard"}}},imageSlider:{setCaptionHeightToLongest:!0},featureFullWidthLede:{showDek:!0,hasBackgroundImage:!1,backgroundFill:"solidFeature",showRule:!1},featureSquareLede:{showDek:!0,hasBackgroundImage:!1,backgroundFill:"solidFeatureSplit",showRule:!1},ledeMeta:{standard:{desktopAdSlot:"articleSponsorshipDesktop",mobileAdSlot:"articleSponsorshipMobileAndTablet"},specialSplit:{desktopAdSlot:"articleSponsorshipHeadlineAboveDesktop",mobileAdSlot:"articleSponsorshipHeadlineAboveMobileAndTablet"},specialFullWidth:{desktopAdSlot:"articleSponsorshipHeadlineAboveDesktop",mobileAdSlot:"articleSponsorshipHeadlineAboveMobileAndTablet"},overlay:{desktopAdSlot:"articleSponsorshipWhiteDesktop",mobileAdSlot:"articleSponsorshipWhiteMobileAndTablet"},fullWidth:{desktopAdSlot:"articleSponsorshipHeadlineAboveDesktop",mobileAdSlot:"articleSponsorshipHeadlineAboveMobileAndTablet"},split:{desktopAdSlot:"articleSponsorshipHeadlineAboveDesktop",mobileAdSlot:"articleSponsorshipHeadlineAboveMobileAndTablet"},inlineOnDesktop:!1,inlineBylineTimestamp:!1},specialFeatureSquareLede:{showDek:!0,hasBackgroundImage:!1,backgroundFill:"solidSpecialFeatureSplit"},specialFeatureFullWidthLede:{showDek:!0,hasBackgroundImage:!1,backgroundFill:"solidSpecialFeature"},footer:{Logo:ua,linkData:[],componentContext:{},showUpperContainer:!0,showBrandLinks:!0,border:!0,adText:""},headerPattern:c5,highlight:{scotchRule:!1},ledeByline:{inlineOnDesktop:!1},ledeImage:{mediaContainerVariant:"standard",hideCaptionCredit:!0,priority:!0,componentContext:{standard:{hideCaptionCredit:!1},streamEntry:{hideCaptionCredit:!1,priority:!1},mapCard:{hideCaptionCredit:!1,priority:!1}}},metaCategory:{metaVariation:"standard",vertical:!1,categorySeparator:" /",showSuperCats:!1,componentContext:{standard:{metaVariation:"articleMetaStandard"},fullWidth:{metaVariation:"articleMetaStandard"},split:{metaVariation:"articleMetaStandard"},specialFullWidth:{metaVariation:"box",categorySeparator:""},specialSplit:{metaVariation:"box",categorySeparator:""},overlay:{metaVariation:"box",categorySeparator:""},branded:{metaVariation:"articleMetaStandard"},stream:{metaVariation:"articleMetaStandard"}}},metaCommentCount:{hideZeroComments:!0,showContentCardUnreadCount:!1,componentContext:{}},metaTimestamp:{format:"hub",componentContext:{compactContentCardLatestRecirc:{format:"latestRecirc"},compactContentCardLatestRecircCrossCommunityPost:{format:"latestRecirc"},compactContentCardListBreaker:{format:"breaker"},compactContentCardCategoryBreaker:{format:"breaker"},prominentContentCardCategoryBreaker:{format:"breaker"}}},navigation:uA,prominentContentCard:c4,socialLinks:{linkData:{facebook:"https://www.facebook.com/voxmedia",rss:"/rss/index.xml"},componentContext:{}},pageHeader:{borderBottom:!1,borderTop:!1,center:!1,className:"",classNameDescription:"",classNameLinks:"",classNameSubhead:"",classNameTitle:"",headingLevel:"h1",isBranded:!1,moreLinkIcon:null,paddingBottom:!1,size:"small",title:"",componentContext:{categoryPillar:{size:"large"},latestRecirc:{size:"medium"},spotlightSection:{size:"medium",borderTop:"standard"},articleParentRecirc:{borderTop:"standard"},standardRail:{title:"Most Popular"},newsletterPage:{borderBottom:!0}}},patternSwitcher:ui,river:{indent:!0,borderTop:!1,createContainerContext:!0,headingLevel:"h2",headerSize:"xsmall"},splitContentCard:{contentBlockSize:"small",contentBlockVariation:"standard",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,mediaVariationIconPlacement:"thumbnail",showBorder:!1,showDek:!1,showScore:!1,upperMetaFirstComponent:"Category",upperMetaSecondComponent:null,upperMetaThirdComponent:null,componentContext:{fiveGridPattern:{contentBlockSize:"micro",upperMetaFirstComponent:null,lowerMetaFirstComponent:"ContentBlockByline"},fiveGridPackagePattern:{contentBlockSize:"small",contentBlockVariation:"special",upperMetaFirstComponent:null,lowerMetaFirstComponent:"ContentBlockAdvertiserFlag"},fiveGridGameGuidesPattern:{upperMetaFirstComponent:null,contentBlockSize:"small"},threeGridPattern:{contentBlockVariation:"special",upperMetaFirstComponent:null},mapSection:{contentBlockSize:"small",contentBlockVariation:"standard",upperMetaFirstComponent:null}}},standardLede:{mediaAboveRightRail:!1,dekLocation:"top",metaLocation:"top",componentContext:{standardEntry:{noMargin:!1},streamEntry:{noMargin:!0}}},fourUpAltPattern:{cardsData:[],overlap:!1},fourUpPattern:{cardsData:[],overlap:!1},fiveGridOverflowPattern:{cardsData:[],showGridBorders:!0},threeGridAltOverflowPattern:{cardsData:[],componentContext:{guidesSection:{mobileCardContext:"guidesSectionMobile",desktopCardContext:"guidesSection",showGridBorders:!0}}},threeGridBigPattern:{cardsData:[],componentContext:{categoryPillarThreeUp:{mobileCardContext:"threeUpCategoryPillarLargeFirst"},homepageSpotlight:{mobileCardContext:"threeUpCategoryPillarLargeFirst"}}},threeGridOverflowPattern:{cardsData:[],componentContext:{guidesSection:{mobileCardContext:"guidesSectionMobile",desktopCardContext:"guidesSection",showGridBorders:!0}}},threeUpPattern:{cardsData:[],componentContext:{categoryPillarThreeUp:{desktopCardContext:["threeUpCategoryPillarLargeFirst","threeUpCategoryPillarLargeSecond","threeUpCategoryPillarLargeThird"]},homepageSpotlight:{desktopCardContext:["threeUpCategoryPillarLargeFirst","threeUpCategoryPillarLargeSecond","threeUpCategoryPillarLargeSecond"],mobileCardContext:["threeUpCategoryPillarLargeSecond","threeUpCategoryPillarLargeFirst","threeUpCategoryPillarLargeSecond"]}}},videoEmbed:{mediaContainerVariant:"standard",componentContext:{standard:{mediaContainerVariant:"standard"},stream:{mediaContainerVariant:"standard"}}},shareButtons:cX,checkoutConfirmation:{titleRecurring:"Thanks for
becoming a member!",titleOneTime:"Thanks for
your support!",includeCaptcha:!1,descriptionOneTime:"Your contribution helps support our journalism and you now have access to all our Member-only content, The Highlight, bonus content and more.",descriptionRecurring:"You now have unlimited access to all things Vox. To set up ad-free listening for your favorite Vox podcasts, head to your account page to get set-up."},articleRecirc:{useColorContainer:!1},articleParentRecirc:{formatTitle:e=>`More In ${e}`,componentContext:{articleParentRecircStream:{formatTitle:(e,n)=>`More in: ${e}`}}},quickPost:{meatballs:!1,meatBallCommentCount:!0,copyLink:!0,inlineTimestamp:!0,meta:!1,linkCard:!1,linkAuthor:!1,borderBottom:!1,hideAffiliateDisclaimer:!1,stackedByline:!1,lowerMeta:!1,componentContext:{river:{linkCard:!0,borderBottom:!0},permalink:{copyLink:!1,inlineTimestamp:!1,meta:!0,meatBallCommentCount:!1,linkAuthor:!0},stream:{copyLink:!1,linkAuthor:!0}}},contentBlockByline:{variation:"default",componentContext:{compactContentCardListBreaker:{variation:"breaker"},compactContentCardCategoryBreaker:{variation:"breaker"}}},mostPopularList:{backgroundElement:null,fancyBorder:!0,componentContext:{rightRail:{fancyBorder:!0},homepage:{fancyBorder:!1}}},productCard:{scoreLabel:null,prosLabel:"The Good",consLabel:"The Bad",showZeroPrice:!0},contentCardScore:{scoreLabel:"Score"},newsletter:{buttonDisplayType:"primary",newslettersPagePanelButtonDisplayType:"primary"},newslettersPageCard:{fancyBorder:!1},streamEntryByline:{defaultProfileImage:"/static-assets/headshots/default_headshot.png"},subscriptionCollage:{textPosition:"top"},userProfileContent:{defaultAvatar:"https://www.sbnation.com/images/sbn/placeholders/profile/large.png"}},{shareButtons:cJ,checkoutConfirmation:{titleRecurring:"Thanks for
becoming a member!",titleOneTime:"Thanks for
your support!",descriptionRecurring:"You now have unlimited access to all things Vox. To set up ad-free listening for your favorite Vox podcasts, head to your account page or click below.",descriptionOneTime:"Your contribution helps support our journalism and you now have access to all our Member-only content, The Highlight, bonus content and more.",screens:["newsletters","customBrandScreen","podcasts"],newsletters:{title:"Thanks for
becoming a member!",description:"You’ve been opted into Vox's subscriber-exclusive newsletter. Manage your email preferences anytime in your account.",items:[{title:"The Vox Explainer",description:"Biweekly editions of The Vox Explainer members-only newsletter, going behind-the-scenes on how we make our journalism."}]},customBrandScreen:{useCustomScreenComponent:!0,requiredPlanType:"yearly"},podcasts:{title:"Set up your ad-free podcasts",description:"To do this later, visit your account anytime."}},compactContentCard:{lowerMetaSecondComponent:null},footer:{Logo:ua,linkData:[[{title:"About us",href:"/about-us"},{title:"Our staff",href:"/masthead"},{title:"Ethics & Guidelines",href:"/2018/12/7/18113237/ethics-and-guidelines-at-vox-com"},{title:"How we make money",href:"/pages/funding"},{title:"Contact us",href:"/contact"},{title:"How to pitch Vox",href:"/pages/how-to-pitch-vox-pitching-guidelines"},{title:"Newsletters",href:"/newsletters"},{title:"Archives",href:"/archives/full"}],[{title:"Privacy Notice",href:"https://www.voxmedia.com/legal/privacy-notice"},{title:"Terms of Use",href:"https://www.voxmedia.com/legal/terms-of-use"},{title:"Cookie Policy",href:"https://www.voxmedia.com/legal/cookie-policy"},{component:uw,title:"Consent Management",href:"about:blank"},{title:"Licensing",href:"https://www.voxmedia.com/pages/licensing"},{title:"Accessibility",href:"https://www.voxmedia.com/legal/accessibility"},{title:"Platform Status",href:"https://status.voxmedia.com"},{title:"Careers",href:"https://jobs.voxmedia.com/"}]],componentContext:{}},navigation:{Logo:({className:e})=>(0,Y.jsxs)("svg",{width:"120",height:"58",viewBox:"0 0 120 58",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:(0,ev.Z)("_1eb8rv20",e),children:[(0,Y.jsx)("title",{children:"Vox"}),(0,Y.jsx)("desc",{children:"Vox logo"}),(0,Y.jsx)("path",{fill:"#fff200",d:"M155-6.7h123.8v115H155z"}),(0,Y.jsx)("path",{d:"M55.1 77.5h1.7l.2-.8H35.6l-.2.8h3.1c2.7 0 4.9 1.9 4.9 5.6 0 2.1-.9 4.8-2.4 8.1l-13.9 30.7L23.7 82c-.3-3.1 1.3-4.5 4.8-4.5h2l.2-.8H.5l-.3.8h1.9c2.4 0 3.3 1.5 3.5 4.3l5.4 51.6h12.7L45 88.3c3.3-6.7 6.7-10.8 10.1-10.8zm-2.5 56.1c-1.9 0-3.1-.6-3.1-3.8 0-4 1.5-11.9 3.1-19.1.2 3.3 2.5 6.6 5.9 6.6.8 0 1.5-.1 2.2-.2-3.2 13.7-4.4 16.5-8.1 16.5zm60.6-27.1c4 0 6.6-3.3 6.6-7.1 0-3.2-2.3-5.6-5.6-5.6-5.9 0-8.7 4.7-13.6 13.3-1-5.4-3.5-12.4-9.7-12.4-7 0-15.1 10-22.5 16.2-3.4 2.9-7.1 4.7-10.1 4.7-3.1 0-4.9-3.1-4.9-8.6 2.2-9 3.3-11.3 6.7-11.3 2.3 0 3.3 1.3 3.3 4 0 2.9-.6 7.7-1.9 13.8 3.3-1 8.3-5.2 12.5-9.7-2.2-5.3-7-8.9-13.8-8.9-12.7 0-23.9 11.4-23.9 24.2 0 8.8 6.3 15.5 16.1 15.5 16.2 0 23-14 23-23.8 0-1.4-.1-2.4-.2-3.7 2.5-2.7 5.7-5.3 8.3-5.3 3 0 5.4 7.5 7.7 18.8-2.1 2.3-4.2 6.7-5.2 7.5-.4-4-3.1-6.5-6.6-6.5-4 0-6.7 3.8-6.7 7 0 3.6 2.5 6 5.8 6 6.9 0 8.8-6.5 13.1-12.3 1.3 6.2 4.4 12.3 9.7 12.3 6.3 0 12.1-5.4 15.1-9.2l-.6-.9c-1.9 1.9-3.8 3.1-6 3.1-3.9 0-6.7-8.4-8.8-18.6 1.3-1.7 3.3-6.1 4.7-7.7.9 1.8 2.9 5.2 7.5 5.2z",fill:"#fff"}),(0,Y.jsx)("path",{d:"M55.1.9h1.7l.2-.8H35.6l-.2.8h3.1c2.7 0 4.9 1.9 4.9 5.6 0 2.1-.9 4.8-2.4 8.1L27.1 45.3 23.7 5.4C23.4 2.3 25 .9 28.5.9h2l.2-.8H.5L.2.9h1.9c2.4 0 3.3 1.5 3.5 4.3L11 56.8h12.7L45 11.7C48.3 5 51.7.9 55.1.9zM52.6 57c-1.9 0-3.1-.6-3.1-3.8 0-4 1.5-11.9 3.1-19.1.2 3.3 2.5 6.6 5.9 6.6.8 0 1.5-.1 2.2-.2C57.5 54.2 56.3 57 52.6 57zm60.6-27.1c4 0 6.6-3.3 6.6-7.1 0-3.2-2.3-5.6-5.6-5.6-5.9 0-8.7 4.7-13.6 13.3-1-5.4-3.5-12.4-9.7-12.4-7 0-15.1 10-22.5 16.2C65 37.2 61.3 39 58.3 39c-3.1 0-4.9-3.1-4.9-8.6 2.2-9 3.3-11.3 6.7-11.3 2.3 0 3.3 1.3 3.3 4 0 2.9-.6 7.7-1.9 13.8 3.3-1 8.3-5.2 12.5-9.7-2.2-5.3-7-8.9-13.8-8.9-12.7 0-23.9 11.4-23.9 24.2 0 8.8 6.3 15.5 16.1 15.5 16.2 0 23-14 23-23.8 0-1.4-.1-2.4-.2-3.7 2.5-2.7 5.7-5.3 8.3-5.3 3 0 5.4 7.5 7.7 18.8-2.1 2.3-4.2 6.7-5.2 7.5-.4-4-3.1-6.5-6.6-6.5-4 0-6.7 3.8-6.7 7 0 3.6 2.5 6 5.8 6 6.9 0 8.8-6.5 13.1-12.3C92.9 51.9 96 58 101.3 58c6.3 0 12.1-5.4 15.1-9.2l-.6-.9c-1.9 1.9-3.8 3.1-6 3.1-3.9 0-6.7-8.4-8.8-18.6 1.3-1.7 3.3-6.1 4.7-7.7.9 1.8 2.9 5.2 7.5 5.2zm133.7-13.4h2.1l.2-1h-26l-.2 1h3.8c3.3 0 6 2.3 6 6.8 0 2.6-1.1 5.8-2.9 9.8L213 70.4 208.7 22c-.4-3.8 1.6-5.5 5.8-5.5h2.4l.2-1h-36.7l-.4 1h2.3c2.9 0 4 1.8 4.3 5.2l6.6 62.7h15.4l25.9-54.8c4.2-8.1 8.3-13.1 12.4-13.1z"})]}),showAuth:!0,linkMenu:{showLinkLines:!0,linkClassName:"_1ssspgd1"},cta:{desktop:null,mobile:null},getDrawerComponents:()=>({shortcutBar:(0,Y.jsx)(uL,{}),endSection:(0,Y.jsx)(uM,{})}),getPinnedItems:()=>[{title:"Explainers",url:"/explainers"},{title:"Politics",url:"/politics"},{title:"Culture",url:"/culture"},{title:"Advice",url:"/advice"},{title:"Listen",url:"/podcasts",icon:(0,Y.jsx)(uP.Z,{}),special:!0},{title:"Watch",url:"/videos",icon:(0,Y.jsx)(uB.Z,{}),special:!0}],drawerItems:[{title:"Explainers",url:"/explainers",subItems:[]},{title:"Politics",url:"/politics",subItems:[]},{title:"Culture",url:"/culture",subItems:[]},{title:"Advice",url:"/advice",subItems:[]},{title:"Science",url:"/science",subItems:[]},{title:"Technology",url:"/technology",subItems:[]},{title:"Climate",url:"/climate",subItems:[]},{title:"Health",url:"/health",subItems:[]},{title:"Money",url:"/money",subItems:[]},{title:"Life",url:"/life",subItems:[]},{title:"Future Perfect",url:"/future-perfect",subItems:[]},{title:"Newsletters",url:"/newsletters",subItems:[]},{title:"Archives",url:"/archives/full",subItems:[]}],componentContext:{}},prominentContentCard:{lowerMetaThirdComponent:null,componentContext:{packageLayoutPosts:{imageLeftTablet:!0,imageAspectRatio:"squareLarge",lowerMetaSecondComponent:"Timestamp",showBorder:!0,showDek:!0,upperMetaFirstComponent:null}}},disclaimer:{disclaimerText:"If you buy something from a Vox link, Vox Media may earn a commission.",ethicsUrl:"https://www.vox.com/2018/12/7/18113237/ethics-and-guidelines-at-vox-com"},socialLinks:{linkData:{facebook:"https://www.facebook.com/vox",instagram:"https://www.instagram.com/voxdotcom",youtube:"https://www.youtube.com/voxdotcom",rss:"https://www.vox.com/rss/index.xml",tiktok:"https://www.tiktok.com/@vox"},componentContext:{}}});var uD=t(9948);t(36045);var uU=t(86345),uq=t.n(uU),uF=t(15976),uH=t.n(uF),uG=t(37197),uV=t.n(uG);let uz={"--font-balto":uq().style.fontFamily,"--font-harriet":uH().style.fontFamily,"--font-roboto-mono":uV().style.fontFamily};t(66564),t(18443);let uW=function(e){l1&&l1.emitMetric(e)};function uK(e){return(0,Y.jsx)(l7,{...e,adConfig:{staticAdConfig:c$},AuthProvider:n=>{let{children:t,...r}=n;return(0,Y.jsx)(cY,{...r,serverAuthState:e.serverAuthState,children:t})},componentConfig:uj,customArticleFooter:(0,Y.jsx)(e_,{}),defaultSEO:ca,featureConfig:ce,fonts:uz,Footer:(0,Y.jsx)(uD.Z,{}),membershipConfig:cn,newslettersConfig:ct,subscriptionsConfig:cu,parselyConfig:co,paywallConfig:ci,seoConfig:cc,seoSchemaConfigPathMap:cl})}uK.getInitialProps=async e=>{let n=e.ctx,t=await cZ(n,ne.lu);return l7.getInitialProps({context:e,themes:{voxLight:"_19dl57i0"},defaultTheme:"voxLight",serverAuthState:t,communityId:ne.lu})};var u$=uK},43002:function(e,n,t){globalThis._sentryRewritesTunnelPath=void 0,globalThis.SENTRY_RELEASE=void 0,globalThis._sentryBasePath=void 0,globalThis._sentryNextJsVersion="14.2.25",globalThis._sentryRewriteFramesAssetPrefixPath="",globalThis._sentryAssetPrefix=void 0,globalThis._sentryExperimentalThirdPartyOriginStackFrames=void 0,globalThis._sentryRouteManifest='{"isrRoutes":[],"dynamicRoutes":[],"staticRoutes":[]}',t(50727)},50727:function(e,n,t){let{init:r}=t(53541),{supportedBrowsersRegExp:o}=t(42719),{createSentryConfig:i}=t(34993);r(i({supportedBrowsersRegExp:o}))},25990:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"actionAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,t(2758).createAsyncLocalStorage)();("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},17178:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"actionAsyncStorage",{enumerable:!0,get:function(){return r.actionAsyncStorage}});let r=t(25990);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},2758:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"createAsyncLocalStorage",{enumerable:!0,get:function(){return i}});let t=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class r{disable(){throw t}getStore(){}run(){throw t}exit(){throw t}enterWith(){throw t}}let o=globalThis.AsyncLocalStorage;function i(){return o?new o:new r}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},22949:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e,n){for(var t in n)Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}(n,{ReadonlyURLSearchParams:function(){return l.ReadonlyURLSearchParams},RedirectType:function(){return l.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return l.notFound},permanentRedirect:function(){return l.permanentRedirect},redirect:function(){return l.redirect},useParams:function(){return m},usePathname:function(){return d},useRouter:function(){return p},useSearchParams:function(){return u},useSelectedLayoutSegment:function(){return f},useSelectedLayoutSegments:function(){return h},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let r=t(66123),o=t(32056),i=t(56249),a=t(18961),s=t(49245),l=t(90810),c=t(4215);function u(){let e=(0,r.useContext)(i.SearchParamsContext);return(0,r.useMemo)(()=>e?new l.ReadonlyURLSearchParams(e):null,[e])}function d(){return(0,r.useContext)(i.PathnameContext)}function p(){let e=(0,r.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function m(){return(0,r.useContext)(i.PathParamsContext)}function h(e){void 0===e&&(e="children");let n=(0,r.useContext)(o.LayoutRouterContext);return n?function e(n,t,r,o){let i;if(void 0===r&&(r=!0),void 0===o&&(o=[]),r)i=n[1][t];else{var l;let e=n[1];i=null!=(l=e.children)?l:Object.values(e)[0]}if(!i)return o;let c=i[0],u=(0,a.getSegmentValue)(c);return!u||u.startsWith(s.PAGE_SEGMENT_KEY)?o:(o.push(u),e(i,t,!1,o))}(n.tree,e):null}function f(e){void 0===e&&(e="children");let n=h(e);if(!n||0===n.length)return null;let t="children"===e?n[0]:n[n.length-1];return t===s.DEFAULT_SEGMENT_KEY?null:t}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},90810:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e,n){for(var t in n)Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}(n,{ReadonlyURLSearchParams:function(){return a},RedirectType:function(){return r.RedirectType},notFound:function(){return o.notFound},permanentRedirect:function(){return r.permanentRedirect},redirect:function(){return r.redirect}});let r=t(50860),o=t(19895);class i extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class a extends URLSearchParams{append(){throw new i}delete(){throw new i}set(){throw new i}sort(){throw new i}}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},19895:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e,n){for(var t in n)Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}(n,{isNotFoundError:function(){return o},notFound:function(){return r}});let t="NEXT_NOT_FOUND";function r(){let e=Error(t);throw e.digest=t,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===t}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},76564:function(e,n){"use strict";var t,r;Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"RedirectStatusCode",{enumerable:!0,get:function(){return t}}),(r=t||(t={}))[r.SeeOther=303]="SeeOther",r[r.TemporaryRedirect=307]="TemporaryRedirect",r[r.PermanentRedirect=308]="PermanentRedirect",("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},50860:function(e,n,t){"use strict";var r,o;Object.defineProperty(n,"__esModule",{value:!0}),function(e,n){for(var t in n)Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}(n,{RedirectType:function(){return r},getRedirectError:function(){return c},getRedirectStatusCodeFromError:function(){return f},getRedirectTypeFromError:function(){return h},getURLFromRedirectError:function(){return m},isRedirectError:function(){return p},permanentRedirect:function(){return d},redirect:function(){return u}});let i=t(18898),a=t(17178),s=t(76564),l="NEXT_REDIRECT";function c(e,n,t){void 0===t&&(t=s.RedirectStatusCode.TemporaryRedirect);let r=Error(l);r.digest=l+";"+n+";"+e+";"+t+";";let o=i.requestAsyncStorage.getStore();return o&&(r.mutableCookies=o.mutableCookies),r}function u(e,n){void 0===n&&(n="replace");let t=a.actionAsyncStorage.getStore();throw c(e,n,(null==t?void 0:t.isAction)?s.RedirectStatusCode.SeeOther:s.RedirectStatusCode.TemporaryRedirect)}function d(e,n){void 0===n&&(n="replace");let t=a.actionAsyncStorage.getStore();throw c(e,n,(null==t?void 0:t.isAction)?s.RedirectStatusCode.SeeOther:s.RedirectStatusCode.PermanentRedirect)}function p(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[n,t,r,o]=e.digest.split(";",4),i=Number(o);return n===l&&("replace"===t||"push"===t)&&"string"==typeof r&&!isNaN(i)&&i in s.RedirectStatusCode}function m(e){return p(e)?e.digest.split(";",3)[2]:null}function h(e){if(!p(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function f(e){if(!p(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(o=r||(r={})).push="push",o.replace="replace",("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},48444:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"requestAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,t(2758).createAsyncLocalStorage)();("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},18898:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e,n){for(var t in n)Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}(n,{getExpectedRequestStore:function(){return o},requestAsyncStorage:function(){return r.requestAsyncStorage}});let r=t(48444);function o(e){let n=r.requestAsyncStorage.getStore();if(n)return n;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},18961:function(e,n){"use strict";function t(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getSegmentValue",{enumerable:!0,get:function(){return t}}),("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},13355:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Image",{enumerable:!0,get:function(){return v}});let r=t(71763),o=t(2227),i=t(35683),a=o._(t(66123)),s=r._(t(58775)),l=r._(t(50174)),c=t(24318),u=t(39525),d=t(52641);t(48789);let p=t(93571),m=r._(t(53142)),h={deviceSizes:[376,415,480,540,640,750,828,1080,1200,1440,1920,2048,2400],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function f(e,n,t,r,o,i,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==n&&o(!0),null==t?void 0:t.current){let n=new Event("load");Object.defineProperty(n,"target",{writable:!1,value:e});let r=!1,o=!1;t.current({...n,nativeEvent:n,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{r=!0,n.preventDefault()},stopPropagation:()=>{o=!0,n.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function g(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let _=(0,a.forwardRef)((e,n)=>{let{src:t,srcSet:r,sizes:o,height:s,width:l,decoding:c,className:u,style:d,fetchPriority:p,placeholder:m,loading:h,unoptimized:_,fill:y,onLoadRef:v,onLoadingCompleteRef:b,setBlurComplete:C,setShowAltText:T,sizesInput:S,onLoad:k,onError:E,...R}=e;return(0,i.jsx)("img",{...R,...g(p),loading:h,width:l,height:s,decoding:c,"data-nimg":y?"fill":"1",className:u,style:d,sizes:o,srcSet:r,src:t,ref:(0,a.useCallback)(e=>{n&&("function"==typeof n?n(e):"object"==typeof n&&(n.current=e)),e&&(E&&(e.src=e.src),e.complete&&f(e,m,v,b,C,_,S))},[t,m,v,b,C,E,_,S,n]),onLoad:e=>{f(e.currentTarget,m,v,b,C,_,S)},onError:e=>{T(!0),"empty"!==m&&C(!0),E&&E(e)}})});function y(e){let{isAppRouter:n,imgAttributes:t}=e,r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...g(t.fetchPriority)};return n&&s.default.preload?(s.default.preload(t.src,r),null):(0,i.jsx)(l.default,{children:(0,i.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let v=(0,a.forwardRef)((e,n)=>{let t=(0,a.useContext)(p.RouterContext),r=(0,a.useContext)(d.ImageConfigContext),o=(0,a.useMemo)(()=>{var e;let n=h||r||u.imageConfigDefault,t=[...n.deviceSizes,...n.imageSizes].sort((e,n)=>e-n),o=n.deviceSizes.sort((e,n)=>e-n),i=null==(e=n.qualities)?void 0:e.sort((e,n)=>e-n);return{...n,allSizes:t,deviceSizes:o,qualities:i}},[r]),{onLoad:s,onLoadingComplete:l}=e,f=(0,a.useRef)(s);(0,a.useEffect)(()=>{f.current=s},[s]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[v,b]=(0,a.useState)(!1),[C,T]=(0,a.useState)(!1),{props:S,meta:k}=(0,c.getImgProps)(e,{defaultLoader:m.default,imgConf:o,blurComplete:v,showAltText:C});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(_,{...S,unoptimized:k.unoptimized,placeholder:k.placeholder,fill:k.fill,onLoadRef:f,onLoadingCompleteRef:g,setBlurComplete:b,setShowAltText:T,sizesInput:e.sizes,ref:n}),k.priority?(0,i.jsx)(y,{isAppRouter:!t,imgAttributes:S}):null]})});("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},24318:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getImgProps",{enumerable:!0,get:function(){return s}}),t(48789);let r=t(94181),o=t(39525);function i(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,n){var t,s;let l,c,u,{src:d,sizes:p,unoptimized:m=!1,priority:h=!1,loading:f,className:g,quality:_,width:y,height:v,fill:b=!1,style:C,overrideSrc:T,onLoad:S,onLoadingComplete:k,placeholder:E="empty",blurDataURL:R,fetchPriority:I,decoding:A="async",layout:w,objectFit:x,objectPosition:P,lazyBoundary:B,lazyRoot:N,...O}=e,{imgConf:L,showAltText:M,blurComplete:j,defaultLoader:D}=n,U=L||o.imageConfigDefault;if("allSizes"in U)l=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,n)=>e-n),n=U.deviceSizes.sort((e,n)=>e-n),r=null==(t=U.qualities)?void 0:t.sort((e,n)=>e-n);l={...U,allSizes:e,deviceSizes:n,qualities:r}}if(void 0===D)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let q=O.loader||D;delete O.loader,delete O.srcSet;let F="__next_img_default"in q;if(F){if("custom"===l.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=q;q=n=>{let{config:t,...r}=n;return e(r)}}if(w){"fill"===w&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[w];e&&(C={...C,...e});let n={responsive:"100vw",fill:"100vw"}[w];n&&!p&&(p=n)}let H="",G=a(y),V=a(v);if("object"==typeof(s=d)&&(i(s)||void 0!==s.src)){let e=i(d)?d.default:d;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(c=e.blurWidth,u=e.blurHeight,R=R||e.blurDataURL,H=e.src,!b){if(G||V){if(G&&!V){let n=G/e.width;V=Math.round(e.height*n)}else if(!G&&V){let n=V/e.height;G=Math.round(e.width*n)}}else G=e.width,V=e.height}}let z=!h&&("lazy"===f||void 0===f);(!(d="string"==typeof d?d:H)||d.startsWith("data:")||d.startsWith("blob:"))&&(m=!0,z=!1),l.unoptimized&&(m=!0),F&&d.endsWith(".svg")&&!l.dangerouslyAllowSVG&&(m=!0),h&&(I="high");let W=a(_),K=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:x,objectPosition:P}:{},M?{}:{color:"transparent"},C),$=j||"empty"===E?null:"blur"===E?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:G,heightInt:V,blurWidth:c,blurHeight:u,blurDataURL:R||"",objectFit:K.objectFit})+'")':'url("'+E+'")',Q=$?{backgroundSize:K.objectFit||"cover",backgroundPosition:K.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:$}:{},Y=function(e){let{config:n,src:t,unoptimized:r,width:o,quality:i,sizes:a,loader:s}=e;if(r)return{src:t,srcSet:void 0,sizes:void 0};let{widths:l,kind:c}=function(e,n,t){let{deviceSizes:r,allSizes:o}=e;if(t){let e=/(^|\s)(1?\d?\d)vw/g,n=[];for(let r;r=e.exec(t);r)n.push(parseInt(r[2]));if(n.length){let e=.01*Math.min(...n);return{widths:o.filter(n=>n>=r[0]*e),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof n?{widths:r,kind:"w"}:{widths:[...new Set([n,2*n].map(e=>o.find(n=>n>=e)||o[o.length-1]))],kind:"x"}}(n,o,a),u=l.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:l.map((e,r)=>s({config:n,src:t,quality:i,width:e})+" "+("w"===c?e:r+1)+c).join(", "),src:s({config:n,src:t,quality:i,width:l[u]})}}({config:l,src:d,unoptimized:m,width:G,quality:W,sizes:p,loader:q});return{props:{...O,loading:z?"lazy":f,fetchPriority:I,width:G,height:V,decoding:A,className:g,style:{...K,...Q},sizes:Y.sizes,srcSet:Y.srcSet,src:T||Y.src},meta:{unoptimized:m,priority:h,placeholder:E,fill:b}}}},94181:function(e,n){"use strict";function t(e){let{widthInt:n,heightInt:t,blurWidth:r,blurHeight:o,blurDataURL:i,objectFit:a}=e,s=r?40*r:n,l=o?40*o:t,c=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+c+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(c?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+i+"'/%3E%3C/svg%3E"}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getImageBlurSvg",{enumerable:!0,get:function(){return t}})},54437:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e,n){for(var t in n)Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}(n,{default:function(){return l},getImageProps:function(){return s}});let r=t(71763),o=t(24318),i=t(13355),a=r._(t(53142));function s(e){let{props:n}=(0,o.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[376,415,480,540,640,750,828,1080,1200,1440,1920,2048,2400],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,t]of Object.entries(n))void 0===t&&delete n[e];return{props:n}}let l=i.Image},53142:function(e,n){"use strict";function t(e){var n;let{config:t,src:r,width:o,quality:i}=e,a=i||(null==(n=t.qualities)?void 0:n.reduce((e,n)=>Math.abs(n-75)`http.request.header.${e}`,d8="http.request.method",d7="_OTHER",pe="CONNECT",pn="DELETE",pt="GET",pr="HEAD",po="OPTIONS",pi="PATCH",pa="POST",ps="PUT",pl="TRACE",pc="http.request.method_original",pu="http.request.resend_count",pd=e=>`http.response.header.${e}`,pp="http.response.status_code",pm="http.route",ph="jvm.gc.action",pf="jvm.gc.name",pg="jvm.memory.pool.name",p_="jvm.memory.type",py="heap",pv="non_heap",pb="jvm.thread.daemon",pC="jvm.thread.state",pT="blocked",pS="new",pk="runnable",pE="terminated",pR="timed_waiting",pI="waiting",pA="network.local.address",pw="network.local.port",px="network.peer.address",pP="network.peer.port",pB="network.protocol.name",pN="network.protocol.version",pO="network.transport",pL="pipe",pM="quic",pj="tcp",pD="udp",pU="unix",pq="network.type",pF="ipv4",pH="ipv6",pG="otel.scope.name",pV="otel.scope.version",pz="otel.status_code",pW="ERROR",pK="OK",p$="otel.status_description",pQ="server.address",pY="server.port",pZ="service.name",pJ="service.version",pX="signalr.connection.status",p0="app_shutdown",p1="normal_closure",p2="timeout",p3="signalr.transport",p4="long_polling",p5="server_sent_events",p9="web_sockets",p6="telemetry.sdk.language",p8="cpp",p7="dotnet",me="erlang",mn="go",mt="java",mr="nodejs",mo="php",mi="python",ma="ruby",ms="rust",ml="swift",mc="webjs",mu="telemetry.sdk.name",md="telemetry.sdk.version",mp="url.fragment",mm="url.full",mh="url.path",mf="url.query",mg="url.scheme",m_="user_agent.original",my="aspnetcore.diagnostics.exceptions",mv="aspnetcore.rate_limiting.active_request_leases",mb="aspnetcore.rate_limiting.queued_requests",mC="aspnetcore.rate_limiting.request.time_in_queue",mT="aspnetcore.rate_limiting.request_lease.duration",mS="aspnetcore.rate_limiting.requests",mk="aspnetcore.routing.match_attempts",mE="db.client.operation.duration",mR="dotnet.assembly.count",mI="dotnet.exceptions",mA="dotnet.gc.collections",mw="dotnet.gc.heap.total_allocated",mx="dotnet.gc.last_collection.heap.fragmentation.size",mP="dotnet.gc.last_collection.heap.size",mB="dotnet.gc.last_collection.memory.committed_size",mN="dotnet.gc.pause.time",mO="dotnet.jit.compilation.time",mL="dotnet.jit.compiled_il.size",mM="dotnet.jit.compiled_methods",mj="dotnet.monitor.lock_contentions",mD="dotnet.process.cpu.count",mU="dotnet.process.cpu.time",mq="dotnet.process.memory.working_set",mF="dotnet.thread_pool.queue.length",mH="dotnet.thread_pool.thread.count",mG="dotnet.thread_pool.work_item.count",mV="dotnet.timer.count",mz="http.client.request.duration",mW="http.server.request.duration",mK="jvm.class.count",m$="jvm.class.loaded",mQ="jvm.class.unloaded",mY="jvm.cpu.count",mZ="jvm.cpu.recent_utilization",mJ="jvm.cpu.time",mX="jvm.gc.duration",m0="jvm.memory.committed",m1="jvm.memory.limit",m2="jvm.memory.used",m3="jvm.memory.used_after_last_gc",m4="jvm.thread.count",m5="kestrel.active_connections",m9="kestrel.active_tls_handshakes",m6="kestrel.connection.duration",m8="kestrel.queued_connections",m7="kestrel.queued_requests",he="kestrel.rejected_connections",hn="kestrel.tls_handshake.duration",ht="kestrel.upgraded_connections",hr="signalr.server.active_connections",ho="signalr.server.connection.duration",hi="exception"},69896:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(78720),i=t(3753);class a extends r.Client{constructor(e){let n=s(e),t=i.WINDOW.SENTRY_SDK_SOURCE||r.getSDKSource();r.applySdkMetadata(n,"browser",["browser"],t),n._metadata?.sdk&&(n._metadata.sdk.settings={infer_ip:n.sendDefaultPii?"auto":"never",...n._metadata.sdk.settings}),super(n);let{sendDefaultPii:o,sendClientReports:a,enableLogs:l,_experiments:c,enableMetrics:u}=this._options,d=u??c?.enableMetrics??!0;i.WINDOW.document&&(a||l||d)&&i.WINDOW.document.addEventListener("visibilitychange",()=>{"hidden"===i.WINDOW.document.visibilityState&&(a&&this._flushOutcomes(),l&&r._INTERNAL_flushLogsBuffer(this),d&&r._INTERNAL_flushMetricsBuffer(this))}),o&&this.on("beforeSendSession",r.addAutoIpAddressToSession)}eventFromException(e,n){return o.eventFromException(this._options.stackParser,e,n,this._options.attachStacktrace)}eventFromMessage(e,n="info",t){return o.eventFromMessage(this._options.stackParser,e,n,t,this._options.attachStacktrace)}_prepareEvent(e,n,t,r){return e.platform=e.platform||"javascript",super._prepareEvent(e,n,t,r)}}function s(e){return{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:i.WINDOW.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}n.BrowserClient=a,n.applyDefaultOptions=s},7328:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.DEBUG_BUILD=!1},40891:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949);async function o(){let e=r.getClient();if(!e)return"no-client-active";if(!e.getDsn())return"no-dsn-configured";let n=e.getOptions().tunnel||"https://o447951.ingest.sentry.io/api/4509632503087104/envelope/?sentry_version=7&sentry_key=c1dfb07d783ad5325c245c1fd3725390&sentry_client=sentry.javascript.browser%2F1.33.7";try{await r.suppressTracing(()=>fetch(n,{body:"{}",method:"POST",mode:"cors",credentials:"omit"}))}catch{return"sentry-unreachable"}}n.diagnoseSdkConnectivity=o},78720:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949);function o(e,n){let t=a(e,n),r={type:c(n),value:u(n)};return t.length&&(r.stacktrace={frames:t}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function i(e,n){return{exception:{values:[o(e,n)]}}}function a(e,n){let t=n.stacktrace||n.stack||"",r=n&&s.test(n.message)?1:0,o="number"==typeof n.framesToPop?n.framesToPop:0;try{return e(t,r,o)}catch{}return[]}let s=/Minified React error #\d+;/i;function l(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function c(e){let n=e?.name;return!n&&l(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":n}function u(e){let n=e?.message;return l(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":n?n.error&&"string"==typeof n.error.message?r._INTERNAL_enhanceErrorWithSentryInfo(n.error):r._INTERNAL_enhanceErrorWithSentryInfo(e):"No error message"}function d(e,n,t,s,l){let c;if(r.isErrorEvent(n)&&n.error)return i(e,n.error);if(r.isDOMError(n)||r.isDOMException(n)){if("stack"in n)c=i(e,n);else{let o=n.name||(r.isDOMError(n)?"DOMError":"DOMException"),i=n.message?`${o}: ${n.message}`:o;c=p(e,i,t,s),r.addExceptionTypeValue(c,i)}return"code"in n&&(c.tags={...c.tags,"DOMException.code":`${n.code}`}),c}return r.isError(n)?i(e,n):(r.isPlainObject(n)||r.isEvent(n)?c=function(e,n,t,i){let s=r.getClient(),l=s?.getOptions().normalizeDepth,c=function(e){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)){let t=e[n];if(t instanceof Error)return t}}(n),u={__serialized__:r.normalizeToSize(n,l)};if(c)return{exception:{values:[o(e,c)]},extra:u};let d={exception:{values:[{type:r.isEvent(n)?n.constructor.name:i?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:n}){let t=r.extractExceptionKeysForMessage(e),o=n?"promise rejection":"exception";if(r.isErrorEvent(e))return`Event \`ErrorEvent\` captured as ${o} with message \`${e.message}\``;if(r.isEvent(e)){let n=function(e){try{let n=Object.getPrototypeOf(e);return n?n.constructor.name:void 0}catch{}}(e);return`Event \`${n}\` (type=${e.type}) captured as ${o}`}return`Object captured as ${o} with keys: ${t}`}(n,{isUnhandledRejection:i})}]},extra:u};if(t){let n=a(e,t);n.length&&(d.exception.values[0].stacktrace={frames:n})}return d}(e,n,t,l):(c=p(e,n,t,s),r.addExceptionTypeValue(c,`${n}`,void 0)),r.addExceptionMechanism(c,{synthetic:!0}),c)}function p(e,n,t,o){let i={};if(o&&t){let o=a(e,t);o.length&&(i.exception={values:[{value:n,stacktrace:{frames:o}}]}),r.addExceptionMechanism(i,{synthetic:!0})}if(r.isParameterizedString(n)){let{__sentry_template_string__:e,__sentry_template_values__:t}=n;return i.logentry={message:e,params:t},i}return i.message=n,i}n.eventFromException=function(e,n,t,o){let i=d(e,n,t?.syntheticException||void 0,o);return r.addExceptionMechanism(i),i.level="error",t?.event_id&&(i.event_id=t.event_id),r.resolvedSyncPromise(i)},n.eventFromMessage=function(e,n,t="info",o,i){let a=p(e,n,o?.syntheticException||void 0,i);return a.level=t,o?.event_id&&(a.event_id=o.event_id),r.resolvedSyncPromise(a)},n.eventFromUnknownInput=d,n.exceptionFromError=o,n.extractMessage=u,n.extractType=c},32597:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(35825),o=t(17521),i=r.buildFeedbackIntegration({lazyLoadIntegration:o.lazyLoadIntegration});n.feedbackAsyncIntegration=i},57962:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(35825),o=r.buildFeedbackIntegration({getModalIntegration:()=>r.feedbackModalIntegration,getScreenshotIntegration:()=>r.feedbackScreenshotIntegration});n.feedbackSyncIntegration=o},3753:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=r.GLOBAL_OBJ,i=0;function a(){i++,setTimeout(()=>{i--})}n.WINDOW=o,n.getHttpRequestData=function(){let e=r.getLocationHref(),{referrer:n}=o.document||{},{userAgent:t}=o.navigator||{};return{url:e,headers:{...n&&{Referer:n},...t&&{"User-Agent":t}}}},n.ignoreNextOnError=a,n.shouldIgnoreOnError=function(){return i>0},n.wrap=function e(n,t={}){if("function"!=typeof n)return n;try{let e=n.__sentry_wrapped__;if(e){if("function"==typeof e)return e;return n}if(r.getOriginalFunction(n))return n}catch{return n}let o=function(...o){try{let r=o.map(n=>e(n,t));return n.apply(this,r)}catch(e){throw a(),r.withScope(n=>{n.addEventProcessor(e=>(t.mechanism&&(r.addExceptionTypeValue(e,void 0,void 0),r.addExceptionMechanism(e,t.mechanism)),e.extra={...e.extra,arguments:o},e)),r.captureException(e)}),e}};try{for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&(o[e]=n[e])}catch{}r.markFunctionWrapped(o,n),r.addNonEnumerableProperty(n,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:()=>n.name})}catch{}return o}},75407:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(32597),o=t(57962),i=t(58949),a=t(3753),s=t(69896),l=t(50680),c=t(44352),u=t(9892),d=t(78720),p=t(64769),m=t(96661),h=t(21666),f=t(74241),g=t(34282),_=t(1415),y=t(11469),v=t(57105),b=t(17521),C=t(59866),T=t(63491),S=t(7165),k=t(96076),E=t(98936),R=t(72621),I=t(35825),A=t(83120),w=t(32629),x=t(31595),P=t(38913),B=t(73891),N=t(5225),O=t(34454),L=t(8901),M=t(81768),j=t(14237),D=t(2998),U=t(36708),q=t(25497),F=t(40891),H=t(41286);n.feedbackAsyncIntegration=r.feedbackAsyncIntegration,n.feedbackIntegration=o.feedbackSyncIntegration,n.feedbackSyncIntegration=o.feedbackSyncIntegration,n.MULTIPLEXED_TRANSPORT_EXTRA_KEY=i.MULTIPLEXED_TRANSPORT_EXTRA_KEY,n.SDK_VERSION=i.SDK_VERSION,n.SEMANTIC_ATTRIBUTE_SENTRY_OP=i.SEMANTIC_ATTRIBUTE_SENTRY_OP,n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN=i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,n.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE=i.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE=i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,n.Scope=i.Scope,n.addBreadcrumb=i.addBreadcrumb,n.addEventProcessor=i.addEventProcessor,n.addIntegration=i.addIntegration,n.captureConsoleIntegration=i.captureConsoleIntegration,n.captureEvent=i.captureEvent,n.captureException=i.captureException,n.captureFeedback=i.captureFeedback,n.captureMessage=i.captureMessage,n.captureSession=i.captureSession,n.close=i.close,n.consoleLoggingIntegration=i.consoleLoggingIntegration,n.continueTrace=i.continueTrace,n.createConsolaReporter=i.createConsolaReporter,n.createLangChainCallbackHandler=i.createLangChainCallbackHandler,n.createTransport=i.createTransport,n.dedupeIntegration=i.dedupeIntegration,n.endSession=i.endSession,n.eventFiltersIntegration=i.eventFiltersIntegration,n.extraErrorDataIntegration=i.extraErrorDataIntegration,n.featureFlagsIntegration=i.featureFlagsIntegration,n.flush=i.flush,n.functionToStringIntegration=i.functionToStringIntegration,n.getActiveSpan=i.getActiveSpan,n.getClient=i.getClient,n.getCurrentScope=i.getCurrentScope,n.getGlobalScope=i.getGlobalScope,n.getIsolationScope=i.getIsolationScope,n.getRootSpan=i.getRootSpan,n.getSpanDescendants=i.getSpanDescendants,n.getSpanStatusFromHttpCode=i.getSpanStatusFromHttpCode,n.getTraceData=i.getTraceData,n.inboundFiltersIntegration=i.inboundFiltersIntegration,n.instrumentAnthropicAiClient=i.instrumentAnthropicAiClient,n.instrumentGoogleGenAIClient=i.instrumentGoogleGenAIClient,n.instrumentLangGraph=i.instrumentLangGraph,n.instrumentOpenAiClient=i.instrumentOpenAiClient,n.instrumentSupabaseClient=i.instrumentSupabaseClient,n.isEnabled=i.isEnabled,n.isInitialized=i.isInitialized,n.lastEventId=i.lastEventId,n.logger=i.logger,n.makeMultiplexedTransport=i.makeMultiplexedTransport,n.metrics=i.metrics,n.moduleMetadataIntegration=i.moduleMetadataIntegration,n.parameterize=i.parameterize,n.registerSpanErrorInstrumentation=i.registerSpanErrorInstrumentation,n.rewriteFramesIntegration=i.rewriteFramesIntegration,n.setContext=i.setContext,n.setCurrentClient=i.setCurrentClient,n.setExtra=i.setExtra,n.setExtras=i.setExtras,n.setHttpStatus=i.setHttpStatus,n.setMeasurement=i.setMeasurement,n.setTag=i.setTag,n.setTags=i.setTags,n.setUser=i.setUser,n.spanToBaggageHeader=i.spanToBaggageHeader,n.spanToJSON=i.spanToJSON,n.spanToTraceHeader=i.spanToTraceHeader,n.startInactiveSpan=i.startInactiveSpan,n.startNewTrace=i.startNewTrace,n.startSession=i.startSession,n.startSpan=i.startSpan,n.startSpanManual=i.startSpanManual,n.supabaseIntegration=i.supabaseIntegration,n.suppressTracing=i.suppressTracing,n.thirdPartyErrorFilterIntegration=i.thirdPartyErrorFilterIntegration,n.updateSpanName=i.updateSpanName,n.withActiveSpan=i.withActiveSpan,n.withIsolationScope=i.withIsolationScope,n.withScope=i.withScope,n.zodErrorsIntegration=i.zodErrorsIntegration,n.WINDOW=a.WINDOW,n.BrowserClient=s.BrowserClient,n.makeFetchTransport=l.makeFetchTransport,n.uiProfiler=c.uiProfiler,n.chromeStackLineParser=u.chromeStackLineParser,n.defaultStackLineParsers=u.defaultStackLineParsers,n.defaultStackParser=u.defaultStackParser,n.geckoStackLineParser=u.geckoStackLineParser,n.opera10StackLineParser=u.opera10StackLineParser,n.opera11StackLineParser=u.opera11StackLineParser,n.winjsStackLineParser=u.winjsStackLineParser,n.eventFromException=d.eventFromException,n.eventFromMessage=d.eventFromMessage,n.exceptionFromError=d.exceptionFromError,n.createUserFeedbackEnvelope=p.createUserFeedbackEnvelope,n.forceLoad=m.forceLoad,n.getDefaultIntegrations=m.getDefaultIntegrations,n.init=m.init,n.onLoad=m.onLoad,n.showReportDialog=h.showReportDialog,n.breadcrumbsIntegration=f.breadcrumbsIntegration,n.globalHandlersIntegration=g.globalHandlersIntegration,n.httpContextIntegration=_.httpContextIntegration,n.linkedErrorsIntegration=y.linkedErrorsIntegration,n.browserApiErrorsIntegration=v.browserApiErrorsIntegration,n.lazyLoadIntegration=b.lazyLoadIntegration,n.reportingObserverIntegration=C.reportingObserverIntegration,n.httpClientIntegration=T.httpClientIntegration,n.contextLinesIntegration=S.contextLinesIntegration,n.graphqlClientIntegration=k.graphqlClientIntegration,n.getReplay=E.getReplay,n.replayIntegration=E.replayIntegration,n.replayCanvasIntegration=R.replayCanvasIntegration,n.getFeedback=I.getFeedback,n.sendFeedback=I.sendFeedback,n.defaultRequestInstrumentationOptions=A.defaultRequestInstrumentationOptions,n.instrumentOutgoingRequests=A.instrumentOutgoingRequests,n.browserTracingIntegration=w.browserTracingIntegration,n.startBrowserTracingNavigationSpan=w.startBrowserTracingNavigationSpan,n.startBrowserTracingPageLoadSpan=w.startBrowserTracingPageLoadSpan,n.reportPageLoaded=x.reportPageLoaded,n.setActiveSpanInBrowser=P.setActiveSpanInBrowser,n.makeBrowserOfflineTransport=B.makeBrowserOfflineTransport,n.browserProfilingIntegration=N.browserProfilingIntegration,n.spotlightBrowserIntegration=O.spotlightBrowserIntegration,n.browserSessionIntegration=L.browserSessionIntegration,n.buildLaunchDarklyFlagUsedHandler=M.buildLaunchDarklyFlagUsedHandler,n.launchDarklyIntegration=M.launchDarklyIntegration,n.OpenFeatureIntegrationHook=j.OpenFeatureIntegrationHook,n.openFeatureIntegration=j.openFeatureIntegration,n.unleashIntegration=D.unleashIntegration,n.growthbookIntegration=U.growthbookIntegration,n.statsigIntegration=q.statsigIntegration,n.diagnoseSdkConnectivity=F.diagnoseSdkConnectivity,n.registerWebWorker=H.registerWebWorker,n.webWorkerIntegration=H.webWorkerIntegration},74241:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(67223),i=t(7328),a=t(3753),s=r.defineIntegration((e={})=>{let n={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var t;n.console&&r.addConsoleInstrumentationHandler(function(n){if(r.getClient()!==e)return;let t={category:"console",data:{arguments:n.args,logger:"console"},level:r.severityLevelFromString(n.level),message:r.safeJoin(n.args," ")};if("assert"===n.level){if(!1!==n.args[0])return;t.message=`Assertion failed: ${r.safeJoin(n.args.slice(1)," ")||"console.assert"}`,t.data.arguments=n.args.slice(1)}r.addBreadcrumb(t,{input:n.args,level:n.level})}),n.dom&&o.addClickKeypressInstrumentationHandler((t=n.dom,function(n){let o,a;if(r.getClient()!==e)return;let s="object"==typeof t?t.serializeAttribute:void 0,l="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;l&&l>1024&&(i.DEBUG_BUILD&&r.debug.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${l} was configured. Sentry will use 1024 instead.`),l=1024),"string"==typeof s&&(s=[s]);try{let e=n.event,t=e&&e.target?e.target:e;o=r.htmlTreeAsString(t,{keyAttrs:s,maxStringLength:l}),a=r.getComponentName(t)}catch{o=""}if(0===o.length)return;let c={category:`ui.${n.name}`,message:o};a&&(c.data={"ui.component_name":a}),r.addBreadcrumb(c,{event:n.event,name:n.name,global:n.global})})),n.xhr&&o.addXhrInstrumentationHandler(function(n){if(r.getClient()!==e)return;let{startTimestamp:t,endTimestamp:i}=n,a=n.xhr[o.SENTRY_XHR_DATA_KEY];if(!t||!i||!a)return;let{method:s,url:l,status_code:c,body:u}=a,d={xhr:n.xhr,input:u,startTimestamp:t,endTimestamp:i},p={category:"xhr",data:{method:s,url:l,status_code:c},type:"http",level:r.getBreadcrumbLogLevelFromHttpStatusCode(c)};e.emit("beforeOutgoingRequestBreadcrumb",p,d),r.addBreadcrumb(p,d)}),n.fetch&&r.addFetchInstrumentationHandler(function(n){if(r.getClient()!==e)return;let{startTimestamp:t,endTimestamp:o}=n;if(!(!o||n.fetchData.url.match(/sentry_key/)&&"POST"===n.fetchData.method)){if(n.fetchData.method,n.fetchData.url,n.error){let i=n.fetchData,a={data:n.error,input:n.args,startTimestamp:t,endTimestamp:o},s={category:"fetch",data:i,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",s,a),r.addBreadcrumb(s,a)}else{let i=n.response,a={...n.fetchData,status_code:i?.status};n.fetchData.request_body_size,n.fetchData.response_body_size,i?.status;let s={input:n.args,response:i,startTimestamp:t,endTimestamp:o},l={category:"fetch",data:a,type:"http",level:r.getBreadcrumbLogLevelFromHttpStatusCode(a.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",l,s),r.addBreadcrumb(l,s)}}}),n.history&&o.addHistoryInstrumentationHandler(function(n){if(r.getClient()!==e)return;let t=n.from,o=n.to,i=r.parseUrl(a.WINDOW.location.href),s=t?r.parseUrl(t):void 0,l=r.parseUrl(o);s?.path||(s=i),i.protocol===l.protocol&&i.host===l.host&&(o=l.relative),i.protocol===s.protocol&&i.host===s.host&&(t=s.relative),r.addBreadcrumb({category:"navigation",data:{from:t,to:o}})}),n.sentry&&e.on("beforeSendEvent",function(n){r.getClient()===e&&r.addBreadcrumb({category:`sentry.${"transaction"===n.type?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:r.getEventDescription(n)},{event:n})})}}});n.breadcrumbsIntegration=s},57105:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(3753),i=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],a=r.defineIntegration((e={})=>{let n={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){n.setTimeout&&r.fill(o.WINDOW,"setTimeout",s),n.setInterval&&r.fill(o.WINDOW,"setInterval",s),n.requestAnimationFrame&&r.fill(o.WINDOW,"requestAnimationFrame",l),n.XMLHttpRequest&&"XMLHttpRequest"in o.WINDOW&&r.fill(XMLHttpRequest.prototype,"send",c);let e=n.eventTarget;e&&(Array.isArray(e)?e:i).forEach(e=>(function(e,n){let t=o.WINDOW,i=t[e]?.prototype;i?.hasOwnProperty?.("addEventListener")&&(r.fill(i,"addEventListener",function(t){return function(i,a,s){try{"function"==typeof a.handleEvent&&(a.handleEvent=o.wrap(a.handleEvent,{mechanism:{data:{handler:r.getFunctionName(a),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return n.unregisterOriginalCallbacks&&this&&"object"==typeof this&&"removeEventListener"in this&&"function"==typeof this.removeEventListener&&this.removeEventListener(i,a),t.apply(this,[i,o.wrap(a,{mechanism:{data:{handler:r.getFunctionName(a),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),s])}}),r.fill(i,"removeEventListener",function(e){return function(n,t,r){try{let o=t.__sentry_wrapped__;o&&e.call(this,n,o,r)}catch{}return e.call(this,n,t,r)}}))})(e,n))}}});function s(e){return function(...n){let t=n[0];return n[0]=o.wrap(t,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${r.getFunctionName(e)}`}}),e.apply(this,n)}}function l(e){return function(n){return e.apply(this,[o.wrap(n,{mechanism:{data:{handler:r.getFunctionName(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function c(e){return function(...n){let t=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in t&&"function"==typeof t[e]&&r.fill(t,e,function(n){let t={mechanism:{data:{handler:r.getFunctionName(n)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},i=r.getOriginalFunction(n);return i&&(t.mechanism.data.handler=r.getFunctionName(i)),o.wrap(n,t)})}),e.apply(this,n)}}n.browserApiErrorsIntegration=a},8901:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(67223),i=t(7328),a=t(3753),s=r.defineIntegration(()=>({name:"BrowserSession",setupOnce(){if(void 0===a.WINDOW.document){i.DEBUG_BUILD&&r.debug.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}r.startSession({ignoreDuration:!0}),r.captureSession(),o.addHistoryInstrumentationHandler(({from:e,to:n})=>{void 0!==e&&e!==n&&(r.startSession({ignoreDuration:!0}),r.captureSession())})}}));n.browserSessionIntegration=s},7165:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=r.GLOBAL_OBJ,i=r.defineIntegration((e={})=>{let n=null!=e.frameContextLines?e.frameContextLines:7;return{name:"ContextLines",processEvent:e=>(function(e,n){let t=o.document,i=o.location&&r.stripUrlQueryAndFragment(o.location.href);if(!t||!i)return e;let s=e.exception?.values;if(!s?.length)return e;let l=t.documentElement.innerHTML;if(!l)return e;let c=["","",...l.split("\n"),""];return s.forEach(e=>{let t=e.stacktrace;t?.frames&&(t.frames=t.frames.map(e=>a(e,c,i,n)))}),e})(e,n)}});function a(e,n,t,o){return e.filename===t&&e.lineno&&n.length&&r.addContextToFrame(n,e,o),e}n.applySourceContextToFrame=a,n.contextLinesIntegration=i},36708:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949);n.growthbookIntegration=({growthbookClass:e})=>r.growthbookIntegration({growthbookClass:e})},81768:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=r.defineIntegration(()=>({name:"LaunchDarkly",processEvent:(e,n,t)=>r._INTERNAL_copyFlagsFromScopeToEvent(e)}));n.buildLaunchDarklyFlagUsedHandler=function(){return{name:"sentry-flag-auditor",type:"flag-used",synchronous:!0,method:(e,n,t)=>{r._INTERNAL_insertFlagToScope(e,n.value),r._INTERNAL_addFeatureFlagToActiveSpan(e,n.value)}}},n.launchDarklyIntegration=o},14237:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=r.defineIntegration(()=>({name:"OpenFeature",processEvent:(e,n,t)=>r._INTERNAL_copyFlagsFromScopeToEvent(e)}));class i{after(e,n){r._INTERNAL_insertFlagToScope(n.flagKey,n.value),r._INTERNAL_addFeatureFlagToActiveSpan(n.flagKey,n.value)}error(e,n,t){r._INTERNAL_insertFlagToScope(e.flagKey,e.defaultValue),r._INTERNAL_addFeatureFlagToActiveSpan(e.flagKey,e.defaultValue)}}n.OpenFeatureIntegrationHook=i,n.openFeatureIntegration=o},25497:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=r.defineIntegration(({featureFlagClient:e})=>({name:"Statsig",setup(n){e.on("gate_evaluation",e=>{r._INTERNAL_insertFlagToScope(e.gate.name,e.gate.value),r._INTERNAL_addFeatureFlagToActiveSpan(e.gate.name,e.gate.value)})},processEvent:(e,n,t)=>r._INTERNAL_copyFlagsFromScopeToEvent(e)}));n.statsigIntegration=o},2998:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(7328),i=r.defineIntegration(({featureFlagClientClass:e})=>({name:"Unleash",setupOnce(){let n=e.prototype;r.fill(n,"isEnabled",a)},processEvent:(e,n,t)=>r._INTERNAL_copyFlagsFromScopeToEvent(e)}));function a(e){return function(...n){let t=n[0],i=e.apply(this,n);return"string"==typeof t&&"boolean"==typeof i?(r._INTERNAL_insertFlagToScope(t,i),r._INTERNAL_addFeatureFlagToActiveSpan(t,i)):o.DEBUG_BUILD&&r.debug.error(`[Feature Flags] UnleashClient.isEnabled does not match expected signature. arg0: ${t} (${typeof t}), result: ${i} (${typeof i})`),i}}n.unleashIntegration=i},34282:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(7328),i=t(78720),a=t(3753),s=r.defineIntegration((e={})=>{let n={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){n.onerror&&(r.addGlobalErrorInstrumentationHandler(n=>{let{stackParser:t,attachStacktrace:o}=d();if(r.getClient()!==e||a.shouldIgnoreOnError())return;let{msg:s,url:l,line:c,column:u,error:p}=n,m=function(e,n,t,o){let i=e.exception=e.exception||{},a=i.values=i.values||[],s=a[0]=a[0]||{},l=s.stacktrace=s.stacktrace||{},c=l.frames=l.frames||[],u=function(e){if(r.isString(e)&&0!==e.length){if(e.startsWith("data:")){let n=e.match(/^data:([^;]+)/),t=n?n[1]:"text/javascript",r=e.includes("base64,");return``}return e}}(n)??r.getLocationHref();return 0===c.length&&c.push({colno:o,filename:u,function:r.UNKNOWN_FUNCTION,in_app:!0,lineno:t}),e}(i.eventFromUnknownInput(t,p||s,void 0,o,!1),l,c,u);m.level="error",r.captureEvent(m,{originalException:p,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),u("onerror")),n.onunhandledrejection&&(r.addGlobalUnhandledRejectionInstrumentationHandler(n=>{let{stackParser:t,attachStacktrace:o}=d();if(r.getClient()!==e||a.shouldIgnoreOnError())return;let s=l(n),u=r.isPrimitive(s)?c(s):i.eventFromUnknownInput(t,s,void 0,o,!0);u.level="error",r.captureEvent(u,{originalException:s,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),u("onunhandledrejection"))}}});function l(e){if(r.isPrimitive(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function c(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function u(e){o.DEBUG_BUILD&&r.debug.log(`Global Handler attached: ${e}`)}function d(){let e=r.getClient();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}n._eventFromRejectionWithPrimitive=c,n._getUnhandledRejectionError=l,n.globalHandlersIntegration=s},96076:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(67223);function i(e){if(u(e))return`persisted ${e.operationName}`;if(c(e)){let{query:n,operationName:t}=e,{operationName:r=t,operationType:o}=s(n);return r?`${o} ${r}`:`${o}`}return"unknown"}function a(e){let n;if("xhr"in e){let t=e.xhr[o.SENTRY_XHR_DATA_KEY];n=t&&o.getBodyString(t.body)[0]}else{let t=o.getFetchRequestArgBody(e.input);n=o.getBodyString(t)[0]}return n}function s(e){let n=e.match(/^(?:\s*)(query|mutation|subscription)(?:\s*)(\w+)(?:\s*)[{(]/);if(n)return{operationType:n[1],operationName:n[2]};let t=e.match(/^(?:\s*)(query|mutation|subscription)(?:\s*)[{(]/);return t?{operationType:t[1],operationName:void 0}:{operationType:void 0,operationName:void 0}}function l(e){return"object"==typeof e&&null!==e}function c(e){return l(e)&&"string"==typeof e.query}function u(e){return l(e)&&"string"==typeof e.operationName&&l(e.extensions)&&l(e.extensions.persistedQuery)&&"string"==typeof e.extensions.persistedQuery.sha256Hash&&"number"==typeof e.extensions.persistedQuery.version}function d(e){try{let n=JSON.parse(e);if(c(n)||u(n))return n;return}catch{return}}let p=r.defineIntegration(e=>({name:"GraphQLClient",setup(n){(function(e,n){e.on("beforeOutgoingRequestSpan",(e,t)=>{let o=r.spanToJSON(e).data||{};if("http.client"!==o[r.SEMANTIC_ATTRIBUTE_SENTRY_OP])return;let s=o[r.SEMANTIC_ATTRIBUTE_URL_FULL]||o["http.url"],l=o[r.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD]||o["http.method"];if(!r.isString(s)||!r.isString(l))return;let{endpoints:p}=n,m=r.stringMatchesSomePattern(s,p),h=a(t);if(m&&h){let n=d(h);if(n){let t=i(n);e.updateName(`${l} ${s} (${t})`),c(n)&&e.setAttribute("graphql.document",n.query),u(n)&&(e.setAttribute("graphql.persisted_query.hash.sha256",n.extensions.persistedQuery.sha256Hash),e.setAttribute("graphql.persisted_query.version",n.extensions.persistedQuery.version))}}})})(n,e),function(e,n){e.on("beforeOutgoingRequestBreadcrumb",(e,t)=>{let{category:o,type:s,data:l}=e;if("http"===s&&("fetch"===o||"xhr"===o)){let e=l?.url,{endpoints:o}=n,s=r.stringMatchesSomePattern(e,o),p=a(t);if(s&&l&&p){let e=d(p);if(!l.graphql&&e){let n=i(e);l["graphql.operation"]=n,c(e)&&(l["graphql.document"]=e.query),u(e)&&(l["graphql.persisted_query.hash.sha256"]=e.extensions.persistedQuery.sha256Hash,l["graphql.persisted_query.version"]=e.extensions.persistedQuery.version)}}}})}(n,e)}}));n._getGraphQLOperation=i,n.getGraphQLRequestPayload=d,n.getRequestPayloadXhrOrFetch=a,n.graphqlClientIntegration=p,n.parseGraphQLQuery=s},63491:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(67223),i=t(7328),a=r.defineIntegration((e={})=>{let n={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:"HttpClient",setup(e){r.supportsNativeFetch()&&r.addFetchInstrumentationHandler(t=>{if(r.getClient()!==e)return;let{response:o,args:i,error:a,virtualError:l}=t,[p,m]=i;o&&function(e,n,t,o,i){if(c(e,t.status,t.url)){let e,a,l,c;let p=!o&&n instanceof Request||n instanceof Request&&n.bodyUsed?n:new Request(n,o);d()&&([e,l]=s("Cookie",p),[a,c]=s("Set-Cookie",t));let m=u({url:p.url,method:p.method,status:t.status,requestHeaders:e,responseHeaders:a,requestCookies:l,responseCookies:c,error:i,type:"fetch"});r.captureEvent(m)}}(n,p,o,m,a||l)},!1),"XMLHttpRequest"in r.GLOBAL_OBJ&&o.addXhrInstrumentationHandler(t=>{if(r.getClient()!==e)return;let{error:a,virtualError:s}=t,p=t.xhr,m=p[o.SENTRY_XHR_DATA_KEY];if(!m)return;let{method:h,request_headers:f}=m;try{!function(e,n,t,o,i){if(c(e,n.status,n.responseURL)){let e,a,s;if(d()){try{let e=n.getResponseHeader("Set-Cookie")||n.getResponseHeader("set-cookie")||void 0;e&&(a=l(e))}catch{}try{s=function(e){let n=e.getAllResponseHeaders();return n?n.split("\r\n").reduce((e,n)=>{let[t,r]=n.split(": ");return t&&r&&(e[t]=r),e},{}):{}}(n)}catch{}e=o}let c=u({url:n.responseURL,method:t,status:n.status,requestHeaders:e,responseHeaders:s,responseCookies:a,error:i,type:"xhr"});r.captureEvent(c)}}(n,p,h,f,a||s)}catch(e){i.DEBUG_BUILD&&r.debug.warn("Error while extracting response event form XHR response",e)}})}}});function s(e,n){let t;let r=function(e){let n={};return e.forEach((e,t)=>{n[t]=e}),n}(n.headers);try{let n=r[e]||r[e.toLowerCase()]||void 0;n&&(t=l(n))}catch{}return[r,t]}function l(e){return e.split("; ").reduce((e,n)=>{let[t,r]=n.split("=");return t&&r&&(e[t]=r),e},{})}function c(e,n,t){return e.failedRequestStatusCodes.some(e=>"number"==typeof e?e===n:n>=e[0]&&n<=e[1])&&e.failedRequestTargets.some(e=>"string"==typeof e?t.includes(e):e.test(t))&&!r.isSentryRequestUrl(t,r.getClient())}function u(e){let n=r.getClient(),t=n&&e.error&&e.error instanceof Error?e.error.stack:void 0,o=t&&n?n.getOptions().stackParser(t,0,1):void 0,i=`HTTP Client Error with status code: ${e.status}`,a={message:i,exception:{values:[{type:"Error",value:i,stacktrace:o?{frames:o}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:function(e){if(e){let n=e["Content-Length"]||e["content-length"];if(n)return parseInt(n,10)}}(e.responseHeaders)}}};return r.addExceptionMechanism(a,{type:`auto.http.client.${e.type}`,handled:!1}),a}function d(){let e=r.getClient();return!!e&&!!e.getOptions().sendDefaultPii}n.httpClientIntegration=a},1415:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(3753),i=r.defineIntegration(()=>({name:"HttpContext",preprocessEvent(e){if(!o.WINDOW.navigator&&!o.WINDOW.location&&!o.WINDOW.document)return;let n=o.getHttpRequestData(),t={...n.headers,...e.request?.headers};e.request={...n,...e.request,headers:t}}}));n.httpContextIntegration=i},11469:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(78720),i=r.defineIntegration((e={})=>{let n=e.limit||5,t=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,i,a){let s=a.getOptions();r.applyAggregateErrorsToEvent(o.exceptionFromError,s.stackParser,t,n,e,i)}}});n.linkedErrorsIntegration=i},59866:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=r.GLOBAL_OBJ,i=new WeakMap,a=r.defineIntegration((e={})=>{let n=e.types||["crash","deprecation","intervention"];function t(e){if(i.has(r.getClient()))for(let n of e)r.withScope(e=>{e.setExtra("url",n.url);let t=`ReportingObserver [${n.type}]`,o="No details available";if(n.body){let t={};for(let e in n.body)t[e]=n.body[e];if(e.setExtra("body",t),"crash"===n.type){let e=n.body;o=[e.crashId||"",e.reason||""].join(" ").trim()||o}else o=n.body.message||o}r.captureMessage(`${t}: ${o}`)})}return{name:"ReportingObserver",setupOnce(){r.supportsReportingObserver()&&new o.ReportingObserver(t,{buffered:!0,types:n}).observe()},setup(e){i.set(e,!0)}}});n.reportingObserverIntegration=a},34454:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(67223),i=t(7328),a="SpotlightBrowser",s=r.defineIntegration((e={})=>{let n=e.sidecarUrl||"http://localhost:8969/stream";return{name:a,setup:()=>{i.DEBUG_BUILD&&r.debug.log("Using Sidecar URL",n)},processEvent:e=>l(e)?null:e,afterAllSetup:e=>{!function(e,n){let t=o.getNativeImplementation("fetch"),i=0;e.on("beforeEnvelope",e=>{if(i>3){r.debug.warn("[Spotlight] Disabled Sentry -> Spotlight integration due to too many failed requests:",i);return}t(n,{method:"POST",body:r.serializeEnvelope(e),headers:{"Content-Type":"application/x-sentry-envelope"},mode:"cors"}).then(e=>{e.status>=200&&e.status<400&&(i=0)},e=>{i++,r.debug.error("Sentry SDK can't connect to Sidecar is it running? See: https://spotlightjs.com/sidecar/npx/",e)})})}(e,n)}}});function l(e){return!!("transaction"===e.type&&e.spans&&e.contexts?.trace&&"ui.action.click"===e.contexts.trace.op&&e.spans.some(({description:e})=>e?.includes("#sentry-spotlight")))}n.INTEGRATION_NAME=a,n.isSpotlightInteraction=l,n.spotlightBrowserIntegration=s},41286:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(7328),i=t(78720),a=t(3753),s=t(34282),l="WebWorker",c=r.defineIntegration(({worker:e})=>({name:l,setupOnce:()=>{(Array.isArray(e)?e:[e]).forEach(e=>u(e))},addWorker:e=>u(e)}));function u(e){e.addEventListener("message",e=>{(function(e){if(!r.isPlainObject(e)||!0!==e._sentryMessage)return!1;let n="_sentryDebugIds"in e,t="_sentryModuleMetadata"in e,o="_sentryWorkerError"in e;return!!((n||t||o)&&(!n||r.isPlainObject(e._sentryDebugIds)||void 0===e._sentryDebugIds)&&(!t||r.isPlainObject(e._sentryModuleMetadata)||void 0===e._sentryModuleMetadata)&&(!o||r.isPlainObject(e._sentryWorkerError)))})(e.data)&&(e.stopImmediatePropagation(),e.data._sentryDebugIds&&(o.DEBUG_BUILD&&r.debug.log("Sentry debugId web worker message received",e.data),a.WINDOW._sentryDebugIds={...e.data._sentryDebugIds,...a.WINDOW._sentryDebugIds}),e.data._sentryModuleMetadata&&(o.DEBUG_BUILD&&r.debug.log("Sentry module metadata web worker message received",e.data),a.WINDOW._sentryModuleMetadata={...e.data._sentryModuleMetadata,...a.WINDOW._sentryModuleMetadata}),e.data._sentryWorkerError&&(o.DEBUG_BUILD&&r.debug.log("Sentry worker rejection message received",e.data._sentryWorkerError),function(e){let n=r.getClient();if(!n)return;let t=n.getOptions().stackParser,a=n.getOptions().attachStacktrace,l=e.reason,c=r.isPrimitive(l)?s._eventFromRejectionWithPrimitive(l):i.eventFromUnknownInput(t,l,void 0,a,!0);c.level="error",e.filename&&(c.contexts={...c.contexts,worker:{filename:e.filename}}),r.captureEvent(c,{originalException:l,mechanism:{handled:!1,type:"auto.browser.web_worker.onunhandledrejection"}}),o.DEBUG_BUILD&&r.debug.log("Captured worker unhandled rejection",l)}(e.data._sentryWorkerError)))})}n.INTEGRATION_NAME=l,n.registerWebWorker=function({self:e}){e.postMessage({_sentryMessage:!0,_sentryDebugIds:e._sentryDebugIds??void 0,_sentryModuleMetadata:e._sentryModuleMetadata??void 0}),e.addEventListener("unhandledrejection",n=>{let t={reason:s._getUnhandledRejectionError(n),filename:e.location?.href};e.postMessage({_sentryMessage:!0,_sentryWorkerError:t}),o.DEBUG_BUILD&&r.debug.log("[Sentry Worker] Forwarding unhandled rejection to parent",t)}),o.DEBUG_BUILD&&r.debug.log("[Sentry Worker] Registered worker with unhandled rejection handling")},n.webWorkerIntegration=c},22814:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(7328),i=t(36231);class a{constructor(){this._client=void 0,this._profiler=void 0,this._chunkTimer=void 0,this._profilerId=void 0,this._isRunning=!1,this._sessionSampled=!1,this._lifecycleMode=void 0,this._activeRootSpanIds=new Set,this._rootSpanTimeouts=new Map}initialize(e){let n=e.getOptions().profileLifecycle,t=i.shouldProfileSession(e.getOptions());o.DEBUG_BUILD&&r.debug.log(`[Profiling] Initializing profiler (lifecycle='${n}').`),!t&&o.DEBUG_BUILD&&r.debug.log("[Profiling] Session not sampled. Skipping lifecycle profiler initialization."),this._profilerId=r.uuid4(),this._client=e,this._sessionSampled=t,this._lifecycleMode=n,"trace"===n&&this._setupTraceLifecycleListeners(e)}start(){if("trace"===this._lifecycleMode){o.DEBUG_BUILD&&r.debug.warn('[Profiling] `profileLifecycle` is set to "trace". Calls to `uiProfiler.start()` are ignored in trace mode.');return}if(this._isRunning){o.DEBUG_BUILD&&r.debug.warn("[Profiling] Profile session is already running, `uiProfiler.start()` is a no-op.");return}if(!this._sessionSampled){o.DEBUG_BUILD&&r.debug.warn("[Profiling] Session is not sampled, `uiProfiler.start()` is a no-op.");return}this._beginProfiling()}stop(){if("trace"===this._lifecycleMode){o.DEBUG_BUILD&&r.debug.warn('[Profiling] `profileLifecycle` is set to "trace". Calls to `uiProfiler.stop()` are ignored in trace mode.');return}if(!this._isRunning){o.DEBUG_BUILD&&r.debug.warn("[Profiling] Profiler is not running, `uiProfiler.stop()` is a no-op.");return}this._endProfiling()}notifyRootSpanActive(e){if("trace"!==this._lifecycleMode||!this._sessionSampled)return;let n=e.spanContext().spanId;if(!n||this._activeRootSpanIds.has(n))return;this._registerTraceRootSpan(n);let t=this._activeRootSpanIds.size;1===t&&(o.DEBUG_BUILD&&r.debug.log("[Profiling] Detected already active root span during setup. Active root spans now:",t),this._beginProfiling())}_beginProfiling(){if(!this._isRunning){if(this._isRunning=!0,o.DEBUG_BUILD&&r.debug.log("[Profiling] Started profiling with profiler ID:",this._profilerId),r.getGlobalScope().setContext("profile",{profiler_id:this._profilerId}),this._startProfilerInstance(),!this._profiler){o.DEBUG_BUILD&&r.debug.log("[Profiling] Failed to start JS Profiler; stopping."),this._resetProfilerInfo();return}this._startPeriodicChunking()}}_endProfiling(){this._isRunning&&(this._isRunning=!1,this._chunkTimer&&(clearTimeout(this._chunkTimer),this._chunkTimer=void 0),this._clearAllRootSpanTimeouts(),this._collectCurrentChunk().catch(e=>{o.DEBUG_BUILD&&r.debug.error("[Profiling] Failed to collect current profile chunk on `stop()`:",e)}),"manual"===this._lifecycleMode&&r.getGlobalScope().setContext("profile",{}))}_setupTraceLifecycleListeners(e){e.on("spanStart",e=>{if(!this._sessionSampled){o.DEBUG_BUILD&&r.debug.log("[Profiling] Span not profiled because of negative sampling decision for user session.");return}if(e!==r.getRootSpan(e))return;if(!e.isRecording()){o.DEBUG_BUILD&&r.debug.log("[Profiling] Discarding profile because root span was not sampled.");return}let n=e.spanContext().spanId;if(!n||this._activeRootSpanIds.has(n))return;this._registerTraceRootSpan(n);let t=this._activeRootSpanIds.size;1===t&&(o.DEBUG_BUILD&&r.debug.log(`[Profiling] Root span ${n} started. Profiling active while there are active root spans (count=${t}).`),this._beginProfiling())}),e.on("spanEnd",e=>{if(!this._sessionSampled)return;let n=e.spanContext().spanId;if(!n||!this._activeRootSpanIds.has(n))return;this._activeRootSpanIds.delete(n);let t=this._activeRootSpanIds.size;o.DEBUG_BUILD&&r.debug.log(`[Profiling] Root span with ID ${n} ended. Will continue profiling for as long as there are active root spans (currently: ${t}).`),0===t&&(this._collectCurrentChunk().catch(e=>{o.DEBUG_BUILD&&r.debug.error("[Profiling] Failed to collect current profile chunk on last `spanEnd`:",e)}),this._endProfiling())})}_resetProfilerInfo(){this._isRunning=!1,r.getGlobalScope().setContext("profile",{})}_clearAllRootSpanTimeouts(){this._rootSpanTimeouts.forEach(e=>clearTimeout(e)),this._rootSpanTimeouts.clear()}_registerTraceRootSpan(e){this._activeRootSpanIds.add(e);let n=setTimeout(()=>this._onRootSpanTimeout(e),3e5);this._rootSpanTimeouts.set(e,n)}_startProfilerInstance(){if(this._profiler?.stopped===!1)return;let e=i.startJSSelfProfile();if(!e){o.DEBUG_BUILD&&r.debug.log("[Profiling] Failed to start JS Profiler.");return}this._profiler=e}_startPeriodicChunking(){this._isRunning&&(this._chunkTimer=setTimeout(()=>{if(this._collectCurrentChunk().catch(e=>{o.DEBUG_BUILD&&r.debug.error("[Profiling] Failed to collect current profile chunk during periodic chunking:",e)}),this._isRunning){if(this._startProfilerInstance(),!this._profiler){this._resetProfilerInfo();return}this._startPeriodicChunking()}},6e4))}_onRootSpanTimeout(e){this._rootSpanTimeouts.has(e)&&(this._rootSpanTimeouts.delete(e),this._activeRootSpanIds.has(e)&&(o.DEBUG_BUILD&&r.debug.log(`[Profiling] Reached 5-minute timeout for root span ${e}. You likely started a manual root span that never called \`.end()\`.`),this._activeRootSpanIds.delete(e),0===this._activeRootSpanIds.size&&this._endProfiling()))}async _collectCurrentChunk(){let e=this._profiler;if(this._profiler=void 0,e)try{let n=await e.stop(),t=i.createProfileChunkPayload(n,this._client,this._profilerId),a=i.validateProfileChunk(t);if("reason"in a){o.DEBUG_BUILD&&r.debug.log("[Profiling] Discarding invalid profile chunk (this is probably a bug in the SDK):",a.reason);return}this._sendProfileChunk(t),o.DEBUG_BUILD&&r.debug.log("[Profiling] Collected browser profile chunk.")}catch(e){o.DEBUG_BUILD&&r.debug.log("[Profiling] Error while stopping JS Profiler for chunk:",e)}}_sendProfileChunk(e){let n=this._client,t=r.getSdkMetadataForEnvelopeHeader(n.getSdkMetadata?.()),i=n.getDsn(),a=n.getOptions().tunnel,s=r.createEnvelope({event_id:r.uuid4(),sent_at:new Date().toISOString(),...t&&{sdk:t},...!!a&&i&&{dsn:r.dsnToString(i)}},[[{type:"profile_chunk"},e]]);n.sendEnvelope(s).then(null,e=>{o.DEBUG_BUILD&&r.debug.error("Error while sending profile chunk envelope:",e)})}}n.UIProfiler=a},44352:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(7328);n.uiProfiler={startProfiler:function(){let e=r.getClient();if(!e){o.DEBUG_BUILD&&r.debug.warn("No Sentry client available, profiling is not started");return}if(!e.getIntegrationByName("BrowserProfiling")){o.DEBUG_BUILD&&r.debug.warn("BrowserProfiling integration is not available");return}e.emit("startUIProfiler")},stopProfiler:function(){let e=r.getClient();if(!e){o.DEBUG_BUILD&&r.debug.warn("No Sentry client available, profiling is not started");return}if(!e.getIntegrationByName("BrowserProfiling")){o.DEBUG_BUILD&&r.debug.warn("ProfilingIntegration is not available");return}e.emit("stopUIProfiler")}}},5225:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(7328),i=t(3753),a=t(34103),s=t(22814),l=t(36231),c=r.defineIntegration(()=>({name:"BrowserProfiling",setup(e){let n=e.getOptions(),t=new s.UIProfiler;if(l.hasLegacyProfiling(n)||n.profileLifecycle||(n.profileLifecycle="manual"),l.hasLegacyProfiling(n)&&!n.profilesSampleRate){o.DEBUG_BUILD&&r.debug.log("[Profiling] Profiling disabled, no profiling options found.");return}let c=r.getActiveSpan(),u=c&&r.getRootSpan(c);if(l.hasLegacyProfiling(n)&&void 0!==n.profileSessionSampleRate&&o.DEBUG_BUILD&&r.debug.warn("[Profiling] Both legacy profiling (`profilesSampleRate`) and UI profiling settings are defined. `profileSessionSampleRate` has no effect when legacy profiling is enabled."),l.hasLegacyProfiling(n))u&&l.isAutomatedPageLoadSpan(u)&&l.shouldProfileSpanLegacy(u)&&a.startProfileForSpan(u),e.on("spanStart",e=>{e===r.getRootSpan(e)&&l.shouldProfileSpanLegacy(e)&&a.startProfileForSpan(e)}),e.on("beforeEnvelope",e=>{if(!l.getActiveProfilesCount())return;let n=l.findProfiledTransactionsFromEnvelope(e);if(!n.length)return;let t=[];for(let e of n){let n=e?.contexts,i=n?.profile?.profile_id,a=n?.profile?.start_timestamp;if("string"!=typeof i||!i){o.DEBUG_BUILD&&r.debug.log("[Profiling] cannot find profile for a span without a profile context");continue}n?.profile&&delete n.profile;let s=l.takeProfileFromGlobalCache(i);if(!s){o.DEBUG_BUILD&&r.debug.log(`[Profiling] Could not retrieve profile for span: ${i}`);continue}let c=l.createProfilingEvent(i,a,s,e);c&&t.push(c)}l.addProfilesToEnvelope(e,t)});else{let a=n.profileLifecycle;if(e.on("startUIProfiler",()=>t.start()),e.on("stopUIProfiler",()=>t.stop()),"manual"===a)t.initialize(e);else if("trace"===a){if(!r.hasSpansEnabled(n)){o.DEBUG_BUILD&&r.debug.warn("[Profiling] `profileLifecycle` is 'trace' but tracing is disabled. Set a `tracesSampleRate` or `tracesSampler` to enable span tracing.");return}t.initialize(e),u&&t.notifyRootSpanActive(u),i.WINDOW.setTimeout(()=>{let e=r.getActiveSpan(),n=e&&r.getRootSpan(e);n&&t.notifyRootSpanActive(n)},0)}}},processEvent:e=>l.attachProfiledThreadToEvent(e)}));n.browserProfilingIntegration=c},34103:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(7328),i=t(3753),a=t(36231);n.startProfileForSpan=function(e){let n;a.isAutomatedPageLoadSpan(e)&&(n=1e3*r.timestampInSeconds());let t=a.startJSSelfProfile();if(!t)return;o.DEBUG_BUILD&&r.debug.log(`[Profiling] started profiling span: ${r.spanToJSON(e).description}`);let s=r.uuid4(),l=null;async function c(){if(e&&t){if(l){o.DEBUG_BUILD&&r.debug.log("[Profiling] profile for:",r.spanToJSON(e).description,"already exists, returning early");return}return t.stop().then(n=>{if(u&&(i.WINDOW.clearTimeout(u),u=void 0),o.DEBUG_BUILD&&r.debug.log(`[Profiling] stopped profiling of span: ${r.spanToJSON(e).description}`),!n){o.DEBUG_BUILD&&r.debug.log(`[Profiling] profiler returned null profile for: ${r.spanToJSON(e).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started");return}l=n,a.addProfileToGlobalCache(s,n)}).catch(e=>{o.DEBUG_BUILD&&r.debug.log("[Profiling] error while stopping profiler:",e)})}}r.getCurrentScope().setContext("profile",{profile_id:s,start_timestamp:n});let u=i.WINDOW.setTimeout(()=>{o.DEBUG_BUILD&&r.debug.log("[Profiling] max profile duration elapsed, stopping profiling for:",r.spanToJSON(e).description),c()},a.MAX_PROFILE_DURATION_MS),d=e.end.bind(e);e.end=function(){return e?(c().then(()=>{d()},()=>{d()}),e):d()}}},36231:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(7328),i=t(3753),a="window"in r.GLOBAL_OBJ&&r.GLOBAL_OBJ.window===r.GLOBAL_OBJ&&"undefined"==typeof importScripts,s=String(0),l=a?"main":"worker",c=i.WINDOW.navigator,u="",d="",p="",m=c?.userAgent||"",h="",f=c?.language||c?.languages?.[0]||"",g=c?.userAgentData;function _(e){return"thread_metadata"in e?e:v(e)}function y(e,n,t,a){if("transaction"!==a.type)throw TypeError("Profiling events may only be attached to transactions, this should never occur.");if(null==t)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${t} instead.`);let l=function(e){let n=e.contexts?.trace?.trace_id;return("string"==typeof n&&32!==n.length&&o.DEBUG_BUILD&&r.debug.log(`[Profiling] Invalid traceId: ${n} on profiled event`),"string"!=typeof n)?"":n}(a),c=_(t),g=n||("number"==typeof a.start_timestamp?1e3*a.start_timestamp:1e3*r.timestampInSeconds()),y="number"==typeof a.timestamp?1e3*a.timestamp:1e3*r.timestampInSeconds();return{event_id:e,timestamp:new Date(g).toISOString(),platform:"javascript",version:"1",release:a.release||"",environment:a.environment||r.DEFAULT_ENVIRONMENT,runtime:{name:"javascript",version:i.WINDOW.navigator.userAgent},os:{name:u,version:d,build_number:m},device:{locale:f,model:h,manufacturer:m,architecture:p,is_emulator:!1},debug_meta:{images:b(t.resources)},profile:c,transactions:[{name:a.transaction||"",id:a.event_id||r.uuid4(),trace_id:l,active_thread_id:s,relative_start_ns:"0",relative_end_ns:((y-g)*1e6).toFixed(0)}]}}function v(e){let n;let t=0,o={samples:[],stacks:[],frames:[],thread_metadata:{[s]:{name:l}}},i=e.samples[0];if(!i)return o;let a=i.timestamp,c=r.browserPerformanceTimeOrigin(),u="number"==typeof performance.timeOrigin?performance.timeOrigin:c||0,d=u-(c||u);return e.samples.forEach((r,i)=>{if(void 0===r.stackId){void 0===n&&(n=t,o.stacks[n]=[],t++),o.samples[i]={elapsed_since_start_ns:((r.timestamp+d-a)*1e6).toFixed(0),stack_id:n,thread_id:s};return}let l=e.stacks[r.stackId],c=[];for(;l;){c.push(l.frameId);let n=e.frames[l.frameId];n&&void 0===o.frames[l.frameId]&&(o.frames[l.frameId]={function:n.name,abs_path:"number"==typeof n.resourceId?e.resources[n.resourceId]:void 0,lineno:n.line,colno:n.column}),l=void 0===l.parentId?void 0:e.stacks[l.parentId]}let u={elapsed_since_start_ns:((r.timestamp+d-a)*1e6).toFixed(0),stack_id:t,thread_id:s};o.stacks[t]=c,o.samples[i]=u,t++}),o}function b(e){let n=r.getClient(),t=n?.getOptions(),o=t?.stackParser;return o?r.getDebugImagesForResources(o,e):[]}function C(e){return"number"!=typeof e&&"boolean"!=typeof e||"number"==typeof e&&isNaN(e)?(o.DEBUG_BUILD&&r.debug.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):!0===e||!1===e||!(e<0)&&!(e>1)||(o.DEBUG_BUILD&&r.debug.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1)}"object"==typeof g&&null!==g&&"getHighEntropyValues"in g&&g.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(u=e.platform||"",p=e.architecture||"",h=e.model||"",d=e.platformVersion||"",e.fullVersionList?.length){let n=e.fullVersionList[e.fullVersionList.length-1];m=`${n.brand} ${n.version}`}}).catch(e=>void 0);let T=!1,S=new Map;n.MAX_PROFILE_DURATION_MS=3e4,n.PROFILER_THREAD_ID_STRING=s,n.PROFILER_THREAD_NAME=l,n.addProfileToGlobalCache=function(e,n){if(S.set(e,n),S.size>30){let e=S.keys().next().value;void 0!==e&&S.delete(e)}},n.addProfilesToEnvelope=function(e,n){if(!n.length)return e;for(let t of n)e[1].push([{type:"profile"},t]);return e},n.applyDebugMetadata=b,n.attachProfiledThreadToEvent=function(e){return e?.contexts?.profile&&e.contexts&&(e.contexts.trace={...e.contexts?.trace??{},data:{...e.contexts?.trace?.data??{},"thread.id":s,"thread.name":l}},e.spans?.forEach(e=>{e.data={...e.data||{},"thread.id":s,"thread.name":l}})),e},n.convertJSSelfProfileToSampledFormat=v,n.createProfileChunkPayload=function(e,n,t){if(null==e)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${e} instead.`);let o=function(e){let n=[];for(let t=0;t{if("transaction"===t)for(let t=1;t"string"==typeof e&&/^[a-f0-9]{32}$/.test(e);if(!n(e.profiler_id))return{reason:"missing or invalid profiler_id"};if(!n(e.chunk_id))return{reason:"missing or invalid chunk_id"};if(!e.client_sdk)return{reason:"missing client_sdk metadata"};let t=e.profile;if(!t)return{reason:"missing profile data"};if(!Array.isArray(t.frames)||!t.frames.length)return{reason:"profile has no frames"};if(!Array.isArray(t.stacks)||!t.stacks.length)return{reason:"profile has no stacks"};if(!Array.isArray(t.samples)||!t.samples.length)return{reason:"profile has no samples"};return{valid:!0}}catch(e){return{reason:`unknown validation error: ${e}`}}}},21666:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(7328),i=t(3753);n.showReportDialog=function(e={}){let n=i.WINDOW.document,t=n?.head||n?.body;if(!t){o.DEBUG_BUILD&&r.debug.error("[showReportDialog] Global document not defined");return}let a=r.getCurrentScope(),s=r.getClient(),l=s?.getDsn();if(!l){o.DEBUG_BUILD&&r.debug.error("[showReportDialog] DSN not configured");return}let c={...e,user:{...a.getUser(),...e.user},eventId:e.eventId||r.lastEventId()},u=i.WINDOW.document.createElement("script");u.async=!0,u.crossOrigin="anonymous",u.src=r.getReportDialogEndpoint(l,c);let{onLoad:d,onClose:p}=c;if(d&&(u.onload=d),p){let e=n=>{if("__sentry_reportdialog_closed__"===n.data)try{p()}finally{i.WINDOW.removeEventListener("message",e)}};i.WINDOW.addEventListener("message",e)}t.appendChild(u)}},96661:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(69896),i=t(74241),a=t(57105),s=t(8901),l=t(34282),c=t(1415),u=t(11469);t(34454);let d=t(9892),p=t(50680),m=t(93407);function h(e){return[r.inboundFiltersIntegration(),r.functionToStringIntegration(),a.browserApiErrorsIntegration(),i.breadcrumbsIntegration(),l.globalHandlersIntegration(),u.linkedErrorsIntegration(),r.dedupeIntegration(),c.httpContextIntegration(),s.browserSessionIntegration()]}n.forceLoad=function(){},n.getDefaultIntegrations=h,n.init=function(e={}){let n=!e.skipBrowserExtensionCheck&&m.checkAndWarnIfIsEmbeddedBrowserExtension(),t=null==e.defaultIntegrations?h():e.defaultIntegrations,i={...e,enabled:!n&&e.enabled,stackParser:r.stackParserFromStackParserOptions(e.stackParser||d.defaultStackParser),integrations:r.getIntegrationsToSetup({integrations:e.integrations,defaultIntegrations:t}),transport:e.transport||p.makeFetchTransport};return r.initAndBind(o.BrowserClient,i)},n.onLoad=function(e){e()}},9892:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949);function o(e,n,t,o){let i={filename:e,function:""===n?r.UNKNOWN_FUNCTION:n,in_app:!0};return void 0!==t&&(i.lineno=t),void 0!==o&&(i.colno=o),i}let i=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,a=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/,l=/at (.+?) ?\(data:(.+?),/,c=[30,e=>{let n=e.match(l);if(n)return{filename:``,function:n[1]};let t=i.exec(e);if(t){let[,e,n,i]=t;return o(e,r.UNKNOWN_FUNCTION,+n,+i)}let c=a.exec(e);if(c){if(c[2]&&0===c[2].indexOf("eval")){let e=s.exec(c[2]);e&&(c[2]=e[1],c[3]=e[2],c[4]=e[3])}let[e,n]=v(c[1]||r.UNKNOWN_FUNCTION,c[2]);return o(n,e,c[3]?+c[3]:void 0,c[4]?+c[4]:void 0)}}],u=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,d=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,p=[50,e=>{let n=u.exec(e);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){let e=d.exec(n[3]);e&&(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]="")}let e=n[3],t=n[1]||r.UNKNOWN_FUNCTION;return[t,e]=v(t,e),o(e,t,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],m=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,h=[40,e=>{let n=m.exec(e);return n?o(n[2],n[1]||r.UNKNOWN_FUNCTION,+n[3],n[4]?+n[4]:void 0):void 0}],f=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,g=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,_=[c,p],y=r.createStackParser(..._),v=(e,n)=>{let t=-1!==e.indexOf("safari-extension"),o=-1!==e.indexOf("safari-web-extension");return t||o?[-1!==e.indexOf("@")?e.split("@")[0]:r.UNKNOWN_FUNCTION,t?`safari-extension:${n}`:`safari-web-extension:${n}`]:[e,n]};n.chromeStackLineParser=c,n.defaultStackLineParsers=_,n.defaultStackParser=y,n.geckoStackLineParser=p,n.opera10StackLineParser=[10,e=>{let n=f.exec(e);return n?o(n[2],n[3]||r.UNKNOWN_FUNCTION,+n[1]):void 0}],n.opera11StackLineParser=[20,e=>{let n=g.exec(e);return n?o(n[5],n[3]||n[4]||r.UNKNOWN_FUNCTION,+n[1],+n[2]):void 0}],n.winjsStackLineParser=h},16338:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(7328),i=t(3753);n.registerBackgroundTabDetection=function(){i.WINDOW.document?i.WINDOW.document.addEventListener("visibilitychange",()=>{let e=r.getActiveSpan();if(!e)return;let n=r.getRootSpan(e);if(i.WINDOW.document.hidden&&n){let e="cancelled",{op:t,status:i}=r.spanToJSON(n);o.DEBUG_BUILD&&r.debug.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${t}`),i||n.setStatus({code:r.SPAN_STATUS_ERROR,message:e}),n.setAttribute("sentry.cancellation_reason","document.hidden"),n.end()}}):o.DEBUG_BUILD&&r.debug.warn("[Tracing] Could not set up background tab detection due to lack of global document")}},32629:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(67223),i=t(7328),a=t(3753),s=t(16338),l=t(14758),c=t(83120),u="BrowserTracing",d={...r.TRACING_DEFAULTS,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...c.defaultRequestInstrumentationOptions};function p(e,n,t){e.emit("startPageLoadSpan",n,t),r.getCurrentScope().setTransactionName(n.name);let o=e[f];return o&&e.emit("afterStartPageLoadSpan",o),o}function m(e,n,t){let{url:o,isRedirect:i}=t||{};e.emit("beforeStartNavigationSpan",n,{isRedirect:i}),e.emit("startNavigationSpan",n,{isRedirect:i});let s=r.getCurrentScope();return s.setTransactionName(n.name),o&&!i&&s.setSDKProcessingMetadata({normalizedRequest:{...a.getHttpRequestData(),url:o}}),e[f]}function h(e){let n=a.WINDOW.document,t=n?.querySelector(`meta[name=${e}]`);return t?.getAttribute("content")||void 0}let f="_sentry_idleSpan";function g(e,n){r.addNonEnumerableProperty(e,f,n)}n.BROWSER_TRACING_INTEGRATION_ID=u,n.browserTracingIntegration=(e={})=>{let n,t,_;let y={name:void 0,source:void 0},v=a.WINDOW.document,{enableInp:b,enableElementTiming:C,enableLongTask:T,enableLongAnimationFrame:S,_experiments:{enableInteractions:k,enableStandaloneClsSpans:E,enableStandaloneLcpSpans:R},beforeStartSpan:I,idleTimeout:A,finalTimeout:w,childSpanTimeout:x,markBackgroundSpan:P,traceFetch:B,traceXHR:N,trackFetchStreamPerformance:O,shouldCreateSpanForRequest:L,enableHTTPTimings:M,ignoreResourceSpans:j,ignorePerformanceApiSpans:D,instrumentPageLoad:U,instrumentNavigation:q,detectRedirects:F,linkPreviousTrace:H,consistentTraceSampling:G,enableReportPageLoaded:V,onRequestSpanStart:z,onRequestSpanEnd:W}={...d,...e};function K(e,t,i=!0){let a="pageload"===t.op,s=t.name,l=I?I(t):t,c=l.attributes||{};if(s!==l.name&&(c[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="custom",l.attributes=c),!i){let e=r.dateTimestampInSeconds();r.startInactiveSpan({...l,startTime:e}).end(e);return}y.name=l.name,y.source=c[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];let u=r.startIdleSpan(l,{idleTimeout:A,finalTimeout:w,childSpanTimeout:x,disableAutoFinish:a,beforeSpanEnd:t=>{n?.(),o.addPerformanceEntries(t,{recordClsOnPageloadSpan:!E,recordLcpOnPageloadSpan:!R,ignoreResourceSpans:j,ignorePerformanceApiSpans:D}),g(e,void 0);let i=r.getCurrentScope(),s=i.getPropagationContext();i.setPropagationContext({...s,traceId:u.spanContext().traceId,sampled:r.spanIsSampled(u),dsc:r.getDynamicSamplingContextFromSpan(t)}),a&&(_=void 0)},trimIdleSpanEndTimestamp:!V});function d(){v&&["interactive","complete"].includes(v.readyState)&&e.emit("idleSpanEnableAutoFinish",u)}a&&V&&(_=u),g(e,u),a&&!V&&v&&(v.addEventListener("readystatechange",()=>{d()}),d())}return{name:u,setup(e){if(r.registerSpanErrorInstrumentation(),n=o.startTrackingWebVitals({recordClsStandaloneSpans:E||!1,recordLcpStandaloneSpans:R||!1,client:e}),b&&o.startTrackingINP(),C&&o.startTrackingElementTiming(),S&&r.GLOBAL_OBJ.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?o.startTrackingLongAnimationFrames():T&&o.startTrackingLongTasks(),k&&o.startTrackingInteractions(),F&&v){let e=()=>{t=r.timestampInSeconds()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function s(){let n=e[f];n&&!r.spanToJSON(n).timestamp&&(i.DEBUG_BUILD&&r.debug.log(`[Tracing] Finishing current active span with op: ${r.spanToJSON(n).op}`),n.setAttribute(r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"cancelled"),n.end())}e.on("startNavigationSpan",(n,o)=>{if(r.getClient()!==e)return;if(o?.isRedirect){i.DEBUG_BUILD&&r.debug.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),K(e,{op:"navigation.redirect",...n},!1);return}t=void 0,s(),r.getIsolationScope().setPropagationContext({traceId:r.generateTraceId(),sampleRand:Math.random(),propagationSpanId:r.hasSpansEnabled()?void 0:r.generateSpanId()});let a=r.getCurrentScope();a.setPropagationContext({traceId:r.generateTraceId(),sampleRand:Math.random(),propagationSpanId:r.hasSpansEnabled()?void 0:r.generateSpanId()}),a.setSDKProcessingMetadata({normalizedRequest:void 0}),K(e,{op:"navigation",...n,parentSpan:null,forceTransaction:!0})}),e.on("startPageLoadSpan",(n,t={})=>{if(r.getClient()!==e)return;s();let o=t.sentryTrace||h("sentry-trace"),i=t.baggage||h("baggage"),l=r.propagationContextFromHeaders(o,i),c=r.getCurrentScope();c.setPropagationContext(l),r.hasSpansEnabled()||(c.getPropagationContext().propagationSpanId=r.generateSpanId()),c.setSDKProcessingMetadata({normalizedRequest:a.getHttpRequestData()}),K(e,{op:"pageload",...n})}),e.on("endPageloadSpan",()=>{V&&_&&(_.setAttribute(r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"reportPageLoaded"),_.end())})},afterAllSetup(e){let n,u=r.getLocationHref();if("off"!==H&&l.linkTraces(e,{linkPreviousTrace:H,consistentTraceSampling:G}),a.WINDOW.location){if(U){let n=r.browserPerformanceTimeOrigin();p(e,{name:a.WINDOW.location.pathname,startTime:n?n/1e3:void 0,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.browser"}})}q&&o.addHistoryInstrumentationHandler(({to:n,from:o})=>{if(void 0===o&&u?.indexOf(n)!==-1){u=void 0;return}u=void 0;let i=r.parseStringToURLObject(n),s=e[f],l=s&&F&&function(e,n){let t=r.spanToJSON(e),o=r.dateTimestampInSeconds();return!(o-t.start_timestamp>1.5)&&(!n||!(o-n<=1.5))}(s,t);m(e,{name:i?.pathname||a.WINDOW.location.pathname,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.browser"}},{url:n,isRedirect:l})})}P&&s.registerBackgroundTabDetection(),k&&a.WINDOW.document&&addEventListener("click",()=>{let t="ui.action.click",o=e[f];if(o&&["navigation","pageload"].includes(r.spanToJSON(o).op)){i.DEBUG_BUILD&&r.debug.warn(`[Tracing] Did not create ${t} span because a pageload or navigation span is in progress.`);return}if(n&&(n.setAttribute(r.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,"interactionInterrupted"),n.end(),n=void 0),!y.name){i.DEBUG_BUILD&&r.debug.warn(`[Tracing] Did not create ${t} transaction because _latestRouteName is missing.`);return}n=r.startIdleSpan({name:y.name,op:t,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:y.source||"url"}},{idleTimeout:A,finalTimeout:w,childSpanTimeout:x})},{capture:!0}),b&&o.registerInpInteractionListener(),c.instrumentOutgoingRequests(e,{traceFetch:B,traceXHR:N,trackFetchStreamPerformance:O,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:L,enableHTTPTimings:M,onRequestSpanStart:z,onRequestSpanEnd:W})}}},n.getMetaContent=h,n.startBrowserTracingNavigationSpan=m,n.startBrowserTracingPageLoadSpan=p},14758:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(7328),i=t(3753);t(67223),t(9892),t(74241),t(57105),t(8901),t(34282),t(1415),t(11469),t(34454);let a="sentry_previous_trace",s="sentry.previous_trace";function l(e,n,t){let i=r.spanToJSON(n),a={spanContext:n.spanContext(),startTimestamp:i.start_timestamp,sampleRate:function(){try{return Number(t.dsc?.sample_rate)??Number(i.data?.[r.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE])}catch{return 0}}(),sampleRand:t.sampleRand};if(!e)return a;let l=e.spanContext;return l.traceId===i.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(o.DEBUG_BUILD&&r.debug.log(`Adding previous_trace \`${JSON.stringify(l)}\` link to span \`${JSON.stringify({op:i.op,...n.spanContext()})}\``),n.addLink({context:l,attributes:{[r.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE]:"previous_trace"}}),n.setAttribute(s,`${l.traceId}-${l.spanId}-${d(l)?1:0}`)),a)}function c(e){try{i.WINDOW.sessionStorage.setItem(a,JSON.stringify(e))}catch(e){o.DEBUG_BUILD&&r.debug.warn("Could not store previous trace in sessionStorage",e)}}function u(){try{let e=i.WINDOW.sessionStorage?.getItem(a);return JSON.parse(e)}catch{return}}function d(e){return 1===e.traceFlags}n.PREVIOUS_TRACE_KEY=a,n.PREVIOUS_TRACE_MAX_DURATION=3600,n.PREVIOUS_TRACE_TMP_SPAN_ATTRIBUTE=s,n.addPreviousTraceSpanLink=l,n.getPreviousTraceFromSessionStorage=u,n.linkTraces=function(e,{linkPreviousTrace:n,consistentTraceSampling:t}){let o="session-storage"===n,i=o?u():void 0;e.on("spanStart",e=>{if(r.getRootSpan(e)!==e)return;let n=r.getCurrentScope().getPropagationContext();i=l(i,e,n),o&&c(i)});let a=!0;t&&e.on("beforeSampling",e=>{if(!i)return;let n=r.getCurrentScope(),t=n.getPropagationContext();if(a&&t.parentSpanId){a=!1;return}n.setPropagationContext({...t,dsc:{...t.dsc,sample_rate:String(i.sampleRate),sampled:String(d(i.spanContext))},sampleRand:i.sampleRand}),e.parentSampled=d(i.spanContext),e.parentSampleRate=i.sampleRate,e.spanAttributes={...e.spanAttributes,[r.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE]:i.sampleRate}})},n.spanContextSampled=d,n.storePreviousTraceInSessionStorage=c},31595:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949);n.reportPageLoaded=function(e=r.getClient()){e?.emit("endPageloadSpan")}},83120:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(67223),i=t(66452),a=new WeakMap,s=new Map,l={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function c(e){let{url:n}=r.spanToJSON(e).data;if(!n||"string"!=typeof n)return;let t=o.addPerformanceInstrumentationHandler("resource",({entries:r})=>{r.forEach(r=>{i.isPerformanceResourceTiming(r)&&r.name.endsWith(n)&&(e.setAttributes(o.resourceTimingToSpanAttributes(r)),setTimeout(t))})})}function u(e,n){let t=r.getLocationHref();if(t){let o,i;try{o=new URL(e,t),i=new URL(t).origin}catch{return!1}let a=o.origin===i;return n?r.stringMatchesSomePattern(o.toString(),n)||a&&r.stringMatchesSomePattern(o.pathname,n):a}{let t=!!e.match(/^\/(?!\/)/);return n?r.stringMatchesSomePattern(e,n):t}}n.defaultRequestInstrumentationOptions=l,n.instrumentOutgoingRequests=function(e,n){let{traceFetch:t,traceXHR:d,trackFetchStreamPerformance:p,shouldCreateSpanForRequest:m,enableHTTPTimings:h,tracePropagationTargets:f,onRequestSpanStart:g,onRequestSpanEnd:_}={...l,...n},y="function"==typeof m?m:e=>!0,v=e=>u(e,f),b={},C=e.getOptions().propagateTraceparent;t&&(e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let n=s.get(e.span_id);n&&(e.timestamp=n/1e3,s.delete(e.span_id))}}),e)),p&&r.addFetchEndInstrumentationHandler(e=>{if(e.response){let n=a.get(e.response);n&&e.endTimestamp&&s.set(n,e.endTimestamp)}}),r.addFetchInstrumentationHandler(e=>{let n=r.instrumentFetchRequest(e,y,v,b,{propagateTraceparent:C,onRequestSpanEnd:_});if(e.response&&e.fetchData.__span&&a.set(e.response,e.fetchData.__span),n){let t=i.getFullURL(e.fetchData.url),o=t?r.parseUrl(t).host:void 0;n.setAttributes({"http.url":t,"server.address":o}),h&&c(n),g?.(n,{headers:e.headers})}})),d&&o.addXhrInstrumentationHandler(e=>{let n=function(e,n,t,a,s,l){let c=e.xhr,u=c?.[o.SENTRY_XHR_DATA_KEY];if(!c||c.__sentry_own_request__||!u)return;let{url:d,method:p}=u,m=r.hasSpansEnabled()&&n(d);if(e.endTimestamp&&m){let n=c.__sentry_xhr_span_id__;if(!n)return;let t=a[n];t&&void 0!==u.status_code&&(r.setHttpStatus(t,u.status_code),t.end(),l?.(t,{headers:i.createHeadersSafely(o.parseXhrResponseHeaders(c)),error:e.error}),delete a[n]);return}let h=i.getFullURL(d),f=h?r.parseUrl(h):r.parseUrl(d),g=r.stripUrlQueryAndFragment(d),_=!!r.getActiveSpan(),y=m&&_?r.startInactiveSpan({name:`${p} ${g}`,attributes:{url:d,type:"xhr","http.method":p,"http.url":h,"server.address":f?.host,[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser",[r.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client",...f?.search&&{"http.query":f?.search},...f?.hash&&{"http.fragment":f?.hash}}}):new r.SentryNonRecordingSpan;c.__sentry_xhr_span_id__=y.spanContext().spanId,a[c.__sentry_xhr_span_id__]=y,t(d)&&function(e,n,t){let{"sentry-trace":o,baggage:a,traceparent:s}=r.getTraceData({span:n,propagateTraceparent:t});o&&function(e,n,t,r){let o=e.__sentry_xhr_v3__?.request_headers;if(!o?.["sentry-trace"]&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",n),r&&!o?.traceparent&&e.setRequestHeader("traceparent",r),t){let n=o?.baggage;n&&i.baggageHeaderHasSentryValues(n)||e.setRequestHeader("baggage",t)}}catch{}}(e,o,a,s)}(c,r.hasSpansEnabled()&&_?y:void 0,s);let v=r.getClient();return v&&v.emit("beforeOutgoingRequestSpan",y,e),y}(e,y,v,b,C,_);n&&(h&&c(n),g?.(n,{headers:i.createHeadersSafely(e.xhr.__sentry_xhr_v3__?.request_headers)}))})},n.shouldAttachHeaders=u},38913:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949);n.setActiveSpanInBrowser=function(e){let n=r.getActiveSpan();if(n===e)return;let t=r.getCurrentScope();e.end=new Proxy(e.end,{apply:(e,o,i)=>(r._INTERNAL_setSpanForScope(t,n),Reflect.apply(e,o,i))}),r._INTERNAL_setSpanForScope(t,e)}},66452:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(3753);n.baggageHeaderHasSentryValues=function(e){return e.split(",").some(e=>e.trim().startsWith("sentry-"))},n.createHeadersSafely=function(e){try{return new Headers(e)}catch{return}},n.getFullURL=function(e){try{return new URL(e,r.WINDOW.location.origin).href}catch{return}},n.isPerformanceResourceTiming=function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}},50680:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(67223);n.makeFetchTransport=function(e,n=o.getNativeImplementation("fetch")){let t=0,i=0;async function a(r){let a=r.body.length;t+=a,i++;let s={body:r.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:t<=6e4&&i<15,...e.fetchOptions};try{let t=await n(e.url,s);return{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}}}catch(e){throw o.clearCachedImplementation("fetch"),e}finally{t-=a,i--}}return r.createTransport(e,a,r.makePromiseBuffer(e.bufferSize||40))}},73891:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(3753),i=t(50680);function a(e){return new Promise((n,t)=>{e.oncomplete=e.onsuccess=()=>n(e.result),e.onabort=e.onerror=()=>t(e.error)})}function s(e,n){let t=indexedDB.open(e);t.onupgradeneeded=()=>t.result.createObjectStore(n);let r=a(t);return e=>r.then(t=>e(t.transaction(n,"readwrite").objectStore(n)))}function l(e){return a(e.getAllKeys())}function c(e,n,t){return e(e=>l(e).then(r=>{if(!(r.length>=t))return e.put(n,Math.max(...r,0)+1),a(e.transaction)}))}function u(e,n,t){return e(e=>l(e).then(r=>{if(!(r.length>=t))return e.put(n,Math.min(...r,0)-1),a(e.transaction)}))}function d(e){return e(e=>l(e).then(n=>{let t=n[0];if(null!=t)return a(e.get(t)).then(n=>(e.delete(t),a(e.transaction).then(()=>n)))}))}function p(e){let n;function t(){return void 0==n&&(n=s(e.dbName||"sentry-offline",e.storeName||"queue")),n}return{push:async n=>{try{let o=await r.serializeEnvelope(n);await c(t(),o,e.maxQueueSize||30)}catch{}},unshift:async n=>{try{let o=await r.serializeEnvelope(n);await u(t(),o,e.maxQueueSize||30)}catch{}},shift:async()=>{try{let e=await d(t());if(e)return r.parseEnvelope(e)}catch{}}}}n.createStore=s,n.makeBrowserOfflineTransport=function(e=i.makeFetchTransport){var n;return n=r.makeOfflineTransport(e),e=>{let t=n({...e,createStore:p});return o.WINDOW.addEventListener("online",async e=>{await t.flush()}),t}},n.push=c,n.shift=d,n.unshift=u},64769:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949);n.createUserFeedbackEnvelope=function(e,{metadata:n,tunnel:t,dsn:o}){let i={event_id:e.event_id,sent_at:new Date().toISOString(),...n?.sdk&&{sdk:{name:n.sdk.name,version:n.sdk.version}},...!!t&&!!o&&{dsn:r.dsnToString(o)}};return r.createEnvelope(i,[[{type:"user_report"},e]])}},93407:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(7328),i=t(3753);n.checkAndWarnIfIsEmbeddedBrowserExtension=function(){return!!function(){if(void 0===i.WINDOW.window)return!1;let e=i.WINDOW;if(e.nw)return!1;let n=e.chrome||e.browser;if(!n?.runtime?.id)return!1;let t=r.getLocationHref();return!(i.WINDOW===i.WINDOW.top&&["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"].some(e=>t.startsWith(`${e}://`)))}()&&(o.DEBUG_BUILD&&r.consoleSandbox(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0)}},17521:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(3753),i={replayIntegration:"replay",replayCanvasIntegration:"replay-canvas",feedbackIntegration:"feedback",feedbackModalIntegration:"feedback-modal",feedbackScreenshotIntegration:"feedback-screenshot",captureConsoleIntegration:"captureconsole",contextLinesIntegration:"contextlines",linkedErrorsIntegration:"linkederrors",dedupeIntegration:"dedupe",extraErrorDataIntegration:"extraerrordata",graphqlClientIntegration:"graphqlclient",httpClientIntegration:"httpclient",reportingObserverIntegration:"reportingobserver",rewriteFramesIntegration:"rewriteframes",browserProfilingIntegration:"browserprofiling",moduleMetadataIntegration:"modulemetadata",instrumentAnthropicAiClient:"instrumentanthropicaiclient",instrumentOpenAiClient:"instrumentopenaiclient",instrumentGoogleGenAIClient:"instrumentgooglegenaiclient",instrumentLangGraph:"instrumentlanggraph",createLangChainCallbackHandler:"createlangchaincallbackhandler"},a=o.WINDOW;async function s(e,n){let t=i[e],s=a.Sentry=a.Sentry||{};if(!t)throw Error(`Cannot lazy load integration: ${e}`);let l=s[e];if("function"==typeof l&&!("_isShim"in l))return l;let c=function(e){let n=r.getClient(),t=n?.getOptions()?.cdnBaseUrl||"https://browser.sentry-cdn.com";return new URL(`/${r.SDK_VERSION}/${e}.min.js`,t).toString()}(t),u=o.WINDOW.document.createElement("script");u.src=c,u.crossOrigin="anonymous",u.referrerPolicy="strict-origin",n&&u.setAttribute("nonce",n);let d=new Promise((e,n)=>{u.addEventListener("load",()=>e()),u.addEventListener("error",n)}),p=o.WINDOW.document.currentScript,m=o.WINDOW.document.body||o.WINDOW.document.head||p?.parentElement;if(m)m.appendChild(u);else throw Error(`Could not find parent element to insert lazy-loaded ${e} script`);try{await d}catch{throw Error(`Error when loading integration: ${e}`)}let h=s[e];if("function"!=typeof h)throw Error(`Could not load integration: ${e}`);return h}n.lazyLoadIntegration=s},25697:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(79575);function o(e){let n=e.protocol?`${e.protocol}:`:"",t=e.port?`:${e.port}`:"";return`${n}//${e.host}${t}${e.path?`/${e.path}`:""}/api/`}n.getEnvelopeEndpointWithUrlEncodedAuth=function(e,n,t){return n||`${o(e)}${e.projectId}/envelope/?${function(e,n){let t={sentry_version:"7"};return e.publicKey&&(t.sentry_key=e.publicKey),n&&(t.sentry_client=`${n.name}/${n.version}`),new URLSearchParams(t).toString()}(e,t)}`},n.getReportDialogEndpoint=function(e,n){let t=r.makeDsn(e);if(!t)return"";let i=`${o(t)}embed/error-page/`,a=`dsn=${r.dsnToString(t)}`;for(let e in n)if("dsn"!==e&&"onClose"!==e){if("user"===e){let e=n.user;if(!e)continue;e.name&&(a+=`&name=${encodeURIComponent(e.name)}`),e.email&&(a+=`&email=${encodeURIComponent(e.email)}`)}else a+=`&${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`}return`${i}?${a}`}},30474:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(7975),o=t(43763);n.getAsyncContextStrategy=function(e){let n=r.getSentryCarrier(e);return n.acs?n.acs:o.getStackAsyncContextStrategy()},n.setAsyncContextStrategy=function(e){let n=r.getMainCarrier();r.getSentryCarrier(n).acs=e}},43763:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(28405),o=t(15100),i=t(88025),a=t(7975);class s{constructor(e,n){let t,r;t=e||new o.Scope,r=n||new o.Scope,this._stack=[{scope:t}],this._isolationScope=r}withScope(e){let n;let t=this._pushScope();try{n=e(t)}catch(e){throw this._popScope(),e}return i.isThenable(n)?n.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function l(){let e=a.getMainCarrier(),n=a.getSentryCarrier(e);return n.stack=n.stack||new s(r.getDefaultCurrentScope(),r.getDefaultIsolationScope())}function c(e){return l().withScope(e)}function u(e,n){let t=l();return t.withScope(()=>(t.getStackTop().scope=e,n(e)))}function d(e){return l().withScope(()=>e(l().getIsolationScope()))}n.AsyncContextStack=s,n.getStackAsyncContextStrategy=function(){return{withIsolationScope:d,withScope:c,withSetScope:u,withSetIsolationScope:(e,n)=>d(n),getCurrentScope:()=>l().getScope(),getIsolationScope:()=>l().getIsolationScope()}}},38020:function(e,n){function t(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)&&Object.keys(e).includes("value")}function r(e,n){let{value:r,unit:o}=t(e)?e:{value:e,unit:void 0},i=function(e){let n="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(n)return{value:e,type:n}}(r),a=o&&"string"==typeof o?{unit:o}:{};if(i)return{...i,...a};if(!n||"skip-undefined"===n&&void 0===r)return;let s="";try{s=JSON.stringify(r)??""}catch{}return{value:s,type:"string",...a}}Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.attributeValueToTypedAttributeValue=r,n.isAttributeObject=t,n.serializeAttributes=function(e,n=!1){let t={};for(let[o,i]of Object.entries(e??{})){let e=r(i,n);e&&(t[o]=e)}return t}},53172:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(48530),i=t(83884);n.addBreadcrumb=function(e,n){let t=r.getClient(),a=r.getIsolationScope();if(!t)return;let{beforeBreadcrumb:s=null,maxBreadcrumbs:l=100}=t.getOptions();if(l<=0)return;let c={timestamp:i.dateTimestampInSeconds(),...e},u=s?o.consoleSandbox(()=>s(c,n)):c;null!==u&&(t.emit&&t.emit("beforeAddBreadcrumb",u,n),a.addBreadcrumb(u,l))}},7975:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(62016),o=t(40205);function i(e){let n=e.__SENTRY__=e.__SENTRY__||{};return n.version=n.version||r.SDK_VERSION,n[r.SDK_VERSION]=n[r.SDK_VERSION]||{}}n.getGlobalSingleton=function(e,n,t=o.GLOBAL_OBJ){let i=t.__SENTRY__=t.__SENTRY__||{},a=i[r.SDK_VERSION]=i[r.SDK_VERSION]||{};return a[e]||(a[e]=n())},n.getMainCarrier=function(){return i(o.GLOBAL_OBJ),o.GLOBAL_OBJ},n.getSentryCarrier=i},66142:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(79575),o=t(49622);n.createCheckInEnvelope=function(e,n,t,i,a){let s={sent_at:new Date().toISOString()};return t?.sdk&&(s.sdk={name:t.sdk.name,version:t.sdk.version}),i&&a&&(s.dsn=r.dsnToString(a)),n&&(s.trace=n),o.createEnvelope(s,[[{type:"check_in"},e]])}},39430:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(25697),o=t(46638),i=t(70249),a=t(43147),s=t(92157),l=t(74030),c=t(70179),u=t(27467),d=t(45177),p=t(77512),m=t(25891),h=t(58450),f=t(48530),g=t(79575),_=t(49622),y=t(45394),v=t(88025),b=t(90687),C=t(62274),T=t(23412),S=t(97963),k=t(50404),E=t(42221),R=t(20836),I=t(85899),A=t(7233),w=t(68738),x="Not capturing exception because it's already been captured.",P="Discarded session because of missing or non-string release",B=Symbol.for("SentryInternalError"),N=Symbol.for("SentryDoNotSendEventError");function O(e){return{message:e,[B]:!0}}function L(e){return{message:e,[N]:!0}}function M(e){return!!e&&"object"==typeof e&&B in e}function j(e){return!!e&&"object"==typeof e&&N in e}function D(e,n,t,r,o){let i,a=0,s=!1;e.on(t,()=>{a=0,clearTimeout(i),s=!1}),e.on(n,n=>{(a+=r(n))>=8e5?o(e):s||(s=!0,i=setTimeout(()=>{o(e)},5e3))}),e.on("flush",()=>{o(e)})}class U{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=k.makePromiseBuffer(e.transportOptions?.bufferSize??m.DEFAULT_TRANSPORT_BUFFER_SIZE),e.dsn?this._dsn=g.makeDsn(e.dsn):a.DEBUG_BUILD&&f.debug.warn("No DSN provided, client will not send events."),this._dsn){let n=r.getEnvelopeEndpointWithUrlEncodedAuth(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:n})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&D(this,"afterCaptureLog","flushLogs",V,c._INTERNAL_flushLogsBuffer),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&D(this,"afterCaptureMetric","flushMetrics",G,u._INTERNAL_flushMetricsBuffer)}captureException(e,n,t){let r=C.uuid4();if(C.checkOrSetAlreadyCaught(e))return a.DEBUG_BUILD&&f.debug.log(x),r;let o={event_id:r,...n};return this._process(()=>this.eventFromException(e,o).then(e=>this._captureEvent(e,o,t)).then(e=>e),"error"),o.event_id}captureMessage(e,n,t,r){let o={event_id:C.uuid4(),...t},i=v.isParameterizedString(e)?e:String(e),a=v.isPrimitive(e),s=a?this.eventFromMessage(i,n,o):this.eventFromException(e,o);return this._process(()=>s.then(e=>this._captureEvent(e,o,r)),a?"unknown":"error"),o.event_id}captureEvent(e,n,t){let r=C.uuid4();if(n?.originalException&&C.checkOrSetAlreadyCaught(n.originalException))return a.DEBUG_BUILD&&f.debug.log(x),r;let o={event_id:r,...n},i=e.sdkProcessingMetadata||{},s=i.capturedSpanScope,l=i.capturedSpanIsolationScope,c=q(e.type);return this._process(()=>this._captureEvent(e,o,s||t,l),c),o.event_id}captureSession(e){this.sendSession(e),d.updateSession(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let n=this._transport;if(!n)return!0;this.emit("flush");let t=await this._isClientDoneProcessing(e),r=await n.flush(e);return t&&r}async close(e){let n=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),n}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let n=this._integrations[e.name];l.setupIntegration(this,e,this._integrations),n||l.afterSetupIntegrations(this,[e])}sendEvent(e,n={}){this.emit("beforeSendEvent",e,n);let t=s.createEventEnvelope(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of n.attachments||[])t=_.addItemToEnvelope(t,_.createAttachmentEnvelopeItem(e));this.sendEnvelope(t).then(n=>this.emit("afterSendEvent",e,n))}sendSession(e){let{release:n,environment:t=o.DEFAULT_ENVIRONMENT}=this._options;if("aggregates"in e){let r=e.attrs||{};if(!r.release&&!n){a.DEBUG_BUILD&&f.debug.warn(P);return}r.release=r.release||n,r.environment=r.environment||t,e.attrs=r}else{if(!e.release&&!n){a.DEBUG_BUILD&&f.debug.warn(P);return}e.release=e.release||n,e.environment=e.environment||t}this.emit("beforeSendSession",e);let r=s.createSessionEnvelope(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(e,n,t=1){if(this._options.sendClientReports){let r=`${e}:${n}`;a.DEBUG_BUILD&&f.debug.log(`Recording outcome: "${r}"${t>1?` (${t} times)`:""}`),this._outcomes[r]=(this._outcomes[r]||0)+t}}on(e,n){let t=this._hooks[e]=this._hooks[e]||new Set,r=(...e)=>n(...e);return t.add(r),()=>{t.delete(r)}}emit(e,...n){let t=this._hooks[e];t&&t.forEach(e=>e(...n))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return a.DEBUG_BUILD&&f.debug.error("Error while sending envelope:",e),{}}return a.DEBUG_BUILD&&f.debug.error("Transport disabled"),{}}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=l.setupIntegrations(this,e),l.afterSetupIntegrations(this,e)}_updateSessionFromEvent(e,n){let t="fatal"===n.level,r=!1,o=n.exception?.values;if(o){for(let e of(r=!0,t=!1,o))if(e.mechanism?.handled===!1){t=!0;break}}let i="ok"===e.status;(i&&0===e.errors||i&&t)&&(d.updateSession(e,{...t&&{status:"crashed"},errors:e.errors||Number(r||t)}),this.captureSession(e))}async _isClientDoneProcessing(e){let n=0;for(;!e||nsetTimeout(e,1)),!this._numProcessing)return!0;n++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,n,t,r){let o=this.getOptions(),a=Object.keys(this._integrations);return!n.integrations&&a?.length&&(n.integrations=a),this.emit("preprocessEvent",e,n),e.type||r.setLastEventId(e.event_id||n.event_id),S.prepareEvent(o,e,n,t,this,r).then(e=>{if(null===e)return e;this.emit("postprocessEvent",e,n),e.contexts={trace:i.getTraceContextFromScope(t),...e.contexts};let r=p.getDynamicSamplingContextFromScope(this,t);return e.sdkProcessingMetadata={dynamicSamplingContext:r,...e.sdkProcessingMetadata},e})}_captureEvent(e,n={},t=i.getCurrentScope(),r=i.getIsolationScope()){return a.DEBUG_BUILD&&F(e)&&f.debug.log(`Captured error event \`${y.getPossibleEventMessages(e)[0]||""}\``),this._processEvent(e,n,t,r).then(e=>e.event_id,e=>{a.DEBUG_BUILD&&(j(e)?f.debug.log(e.message):M(e)?f.debug.warn(e.message):f.debug.warn(e))})}_processEvent(e,n,t,r){let o=this.getOptions(),{sampleRate:i}=o,a=H(e),s=F(e),l=e.type||"error",c=`before send for type \`${l}\``,u=void 0===i?void 0:T.parseSampleRate(i);if(s&&"number"==typeof u&&E.safeMathRandom()>u)return this.recordDroppedEvent("sample_rate","error"),A.rejectedSyncPromise(L(`Discarding event because it's not included in the random sample (sampling rate = ${i})`));let d=q(e.type);return this._prepareEvent(e,n,t,r).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),L("An event processor returned `null`, will not send event.");return n.data&&!0===n.data.__sentry__?e:function(e,n){let t=`${n} must return \`null\` or a valid event.`;if(v.isThenable(e))return e.then(e=>{if(!v.isPlainObject(e)&&null!==e)throw O(t);return e},e=>{throw O(`${n} rejected with ${e}`)});if(!v.isPlainObject(e)&&null!==e)throw O(t);return e}(function(e,n,t,r){let{beforeSend:o,beforeSendTransaction:i,beforeSendSpan:a,ignoreSpans:s}=n,l=t;if(F(l)&&o)return o(l,r);if(H(l)){if(a||s){let n=w.convertTransactionEventToSpanJson(l);if(s?.length&&R.shouldIgnoreSpan(n,s))return null;if(a){let e=a(n);e?l=b.merge(t,w.convertSpanJsonToTransactionEvent(e)):I.showSpanDropWarning()}if(l.spans){let n=[],t=l.spans;for(let e of t){if(s?.length&&R.shouldIgnoreSpan(e,s)){R.reparentChildSpans(t,e);continue}if(a){let t=a(e);t?n.push(t):(I.showSpanDropWarning(),n.push(e))}else n.push(e)}let r=l.spans.length-n.length;r&&e.recordDroppedEvent("before_send","span",r),l.spans=n}}if(i){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...t.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return i(l,r)}}return l}(this,o,e,n),c)}).then(o=>{if(null===o){if(this.recordDroppedEvent("before_send",d),a){let n=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",n)}throw L(`${c} returned \`null\`, will not send event.`)}let i=t.getSession()||r.getSession();if(s&&i&&this._updateSessionFromEvent(i,o),a){let e=(o.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(o.spans?o.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let l=o.transaction_info;return a&&l&&o.transaction!==e.transaction&&(o.transaction_info={...l,source:"custom"}),this.sendEvent(o,n),o}).then(null,e=>{if(j(e)||M(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),O(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. Reason: ${e}`)})}_process(e,n){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===k.SENTRY_BUFFER_FULL_ERROR&&this.recordDroppedEvent("queue_overflow",n),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,n])=>{let[t,r]=e.split(":");return{reason:t,category:r,quantity:n}})}_flushOutcomes(){a.DEBUG_BUILD&&f.debug.log("Flushing outcomes...");let e=this._clearOutcomes();if(0===e.length){a.DEBUG_BUILD&&f.debug.log("No outcomes to send");return}if(!this._dsn){a.DEBUG_BUILD&&f.debug.log("No dsn provided, will not send outcomes");return}a.DEBUG_BUILD&&f.debug.log("Sending outcomes:",e);let n=h.createClientReportEnvelope(e,this._options.tunnel&&g.dsnToString(this._dsn));this.sendEnvelope(n)}}function q(e){return"replay_event"===e?"replay":e||"error"}function F(e){return void 0===e.type}function H(e){return"transaction"===e.type}function G(e){let n=0;return e.name&&(n+=2*e.name.length),(n+=8)+z(e.attributes)}function V(e){let n=0;return e.message&&(n+=2*e.message.length),n+z(e.attributes)}function z(e){if(!e)return 0;let n=0;return Object.values(e).forEach(e=>{Array.isArray(e)?n+=e.length*W(e[0]):v.isPrimitive(e)?n+=W(e):n+=100}),n}function W(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:"boolean"==typeof e?4:0}n.Client=U},46638:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.DEFAULT_ENVIRONMENT="production",n.DEV_ENVIRONMENT="development"},70249:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(30474),o=t(7975),i=t(15100),a=t(76216);function s(){let e=o.getMainCarrier();return r.getAsyncContextStrategy(e).getCurrentScope()}n.getClient=function(){return s().getClient()},n.getCurrentScope=s,n.getGlobalScope=function(){return o.getGlobalSingleton("globalScope",()=>new i.Scope)},n.getIsolationScope=function(){let e=o.getMainCarrier();return r.getAsyncContextStrategy(e).getIsolationScope()},n.getTraceContextFromScope=function(e){let{traceId:n,parentSpanId:t,propagationSpanId:r}=e.getPropagationContext(),o={trace_id:n,span_id:r||a.generateSpanId()};return t&&(o.parent_span_id=t),o},n.withIsolationScope=function(...e){let n=o.getMainCarrier(),t=r.getAsyncContextStrategy(n);if(2===e.length){let[n,r]=e;return n?t.withSetIsolationScope(n,r):t.withIsolationScope(r)}return t.withIsolationScope(e[0])},n.withScope=function(...e){let n=o.getMainCarrier(),t=r.getAsyncContextStrategy(n);if(2===e.length){let[n,r]=e;return n?t.withSetScope(n,r):t.withScope(r)}return t.withScope(e[0])}},43147:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.DEBUG_BUILD=!1},28405:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(7975),o=t(15100);n.getDefaultCurrentScope=function(){return r.getGlobalSingleton("defaultCurrentScope",()=>new o.Scope)},n.getDefaultIsolationScope=function(){return r.getGlobalSingleton("defaultIsolationScope",()=>new o.Scope)}},92157:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(77512),o=t(79575),i=t(49622),a=t(20836),s=t(85899);function l(e,n){if(!n)return e;let t=e.sdk||{};return e.sdk={...t,name:t.name||n.name,version:t.version||n.version,integrations:[...e.sdk?.integrations||[],...n.integrations||[]],packages:[...e.sdk?.packages||[],...n.packages||[]],settings:e.sdk?.settings||n.settings?{...e.sdk?.settings,...n.settings}:void 0},e}n._enhanceEventWithSdkInfo=l,n.createEventEnvelope=function(e,n,t,r){let o=i.getSdkMetadataForEnvelopeHeader(t),a=e.type&&"replay_event"!==e.type?e.type:"event";l(e,t?.sdk);let s=i.createEventEnvelopeHeaders(e,o,r,n);delete e.sdkProcessingMetadata;let c=[{type:a},e];return i.createEnvelope(s,[c])},n.createSessionEnvelope=function(e,n,t,r){let a=i.getSdkMetadataForEnvelopeHeader(t),s={sent_at:new Date().toISOString(),...a&&{sdk:a},...!!r&&n&&{dsn:o.dsnToString(n)}},l="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return i.createEnvelope(s,[l])},n.createSpanEnvelope=function(e,n){let t=r.getDynamicSamplingContextFromSpan(e[0]),l=n?.getDsn(),c=n?.getOptions().tunnel,u={sent_at:new Date().toISOString(),...!!t.trace_id&&!!t.public_key&&{trace:t},...!!c&&l&&{dsn:o.dsnToString(l)}},{beforeSendSpan:d,ignoreSpans:p}=n?.getOptions()||{},m=p?.length?e.filter(e=>!a.shouldIgnoreSpan(s.spanToJSON(e),p)):e,h=e.length-m.length;h&&n?.recordDroppedEvent("before_send","span",h);let f=d?e=>{let n=s.spanToJSON(e);return d(n)||(s.showSpanDropWarning(),n)}:s.spanToJSON,g=[];for(let e of m){let n=f(e);n&&g.push(i.createSpanEnvelopeItem(n))}return i.createEnvelope(u,g)}},31691:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(48530),i=t(88025),a=t(7233);n.notifyEventProcessors=function(e,n,t,s=0){try{let l=function e(n,t,a,s){let l=a[s];if(!n||!l)return n;let c=l({...n},t);return(r.DEBUG_BUILD&&null===c&&o.debug.log(`Event processor "${l.id||"?"}" dropped event`),i.isThenable(c))?c.then(n=>e(n,t,a,s+1)):e(c,t,a,s+1)}(n,t,e,s);return i.isThenable(l)?l:a.resolvedSyncPromise(l)}catch(e){return a.rejectedSyncPromise(e)}}},17528:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(43147),i=t(45177),a=t(7665),s=t(48530),l=t(88025),c=t(62274),u=t(97963),d=t(83884),p=t(40205);function m(e,n){let t=r.getCurrentScope(),i=r.getClient();if(i){if(i.captureCheckIn)return i.captureCheckIn(e,n,t);o.DEBUG_BUILD&&s.debug.warn("Cannot capture check-in. Client does not support sending check-ins.")}else o.DEBUG_BUILD&&s.debug.warn("Cannot capture check-in. No client defined.");return c.uuid4()}async function h(e){let n=r.getClient();return n?n.flush(e):(o.DEBUG_BUILD&&s.debug.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function f(e){let n=r.getClient();return n?n.close(e):(o.DEBUG_BUILD&&s.debug.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function g(){let e=r.getIsolationScope(),n=r.getCurrentScope().getSession()||e.getSession();n&&i.closeSession(n),_(),e.setSession()}function _(){let e=r.getIsolationScope(),n=r.getClient(),t=e.getSession();t&&n&&n.captureSession(t)}n.addEventProcessor=function(e){r.getIsolationScope().addEventProcessor(e)},n.captureCheckIn=m,n.captureEvent=function(e,n){return r.getCurrentScope().captureEvent(e,n)},n.captureException=function(e,n){return r.getCurrentScope().captureException(e,u.parseEventHintOrCaptureContext(n))},n.captureMessage=function(e,n){let t="string"==typeof n?n:void 0,o="string"!=typeof n?{captureContext:n}:void 0;return r.getCurrentScope().captureMessage(e,t,o)},n.captureSession=function(e=!1){if(e){g();return}_()},n.close=f,n.endSession=g,n.flush=h,n.isEnabled=function(){let e=r.getClient();return e?.getOptions().enabled!==!1&&!!e?.getTransport()},n.isInitialized=function(){return!!r.getClient()},n.lastEventId=function(){return r.getIsolationScope().lastEventId()},n.setContext=function(e,n){r.getIsolationScope().setContext(e,n)},n.setExtra=function(e,n){r.getIsolationScope().setExtra(e,n)},n.setExtras=function(e){r.getIsolationScope().setExtras(e)},n.setTag=function(e,n){r.getIsolationScope().setTag(e,n)},n.setTags=function(e){r.getIsolationScope().setTags(e)},n.setUser=function(e){r.getIsolationScope().setUser(e)},n.startSession=function(e){let n=r.getIsolationScope(),t=r.getCurrentScope(),{userAgent:o}=p.GLOBAL_OBJ.navigator||{},a=i.makeSession({user:t.getUser()||n.getUser(),...o&&{userAgent:o},...e}),s=n.getSession();return s?.status==="ok"&&i.updateSession(s,{status:"exited"}),g(),n.setSession(a),a},n.withMonitor=function(e,n,t){function o(){let r;let o=m({monitorSlug:e,status:"in_progress"},t),i=d.timestampInSeconds();function a(n){m({monitorSlug:e,status:n,checkInId:o,duration:d.timestampInSeconds()-i})}try{r=n()}catch(e){throw a("error"),e}return l.isThenable(r)?r.then(e=>(a("ok"),e),e=>{throw a("error"),e}):(a("ok"),r)}return r.withIsolationScope(()=>t?.isolateTrace?a.startNewTrace(o):o())}},69333:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249);n.captureFeedback=function(e,n={},t=r.getCurrentScope()){let{message:o,name:i,email:a,url:s,source:l,associatedEventId:c,tags:u}=e,d={contexts:{feedback:{contact_email:a,name:i,message:o,url:s,source:l,associated_event_id:c}},type:"feedback",level:"info",tags:u},p=t?.getClient()||r.getClient();return p&&p.emit("beforeSendFeedback",d,n),t.captureEvent(d,n)}},60466:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(97930),i=t(85899),a=t(5978),s=t(88025),l=t(46793),c=t(72634),u=t(17519),d=t(7665),p=t(29566),m=t(42678);function h(e,n,t){let r="object"==typeof t&&null!==t?t.onRequestSpanEnd:void 0;r?.(e,{headers:n.response?.headers,error:n.error})}function f(e,n,t,r){let o=p.getTraceData({span:t,propagateTraceparent:r}),i=o["sentry-trace"],a=o.baggage,l=o.traceparent;if(!i)return;let c=n.headers||(s.isRequest(e)?e.headers:void 0);if(!c)return{...o};if("undefined"!=typeof Headers&&s.isInstanceOf(c,Headers)){let e=new Headers(c);if(e.get("sentry-trace")||e.set("sentry-trace",i),r&&l&&!e.get("traceparent")&&e.set("traceparent",l),a){let n=e.get("baggage");n?g(n)||e.set("baggage",`${n},${a}`):e.set("baggage",a)}return e}if(Array.isArray(c)){let e=[...c];c.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",i]),r&&l&&!c.find(e=>"traceparent"===e[0])&&e.push(["traceparent",l]);let n=c.find(e=>"baggage"===e[0]&&g(e[1]));return a&&!n&&e.push(["baggage",a]),e}{let e="sentry-trace"in c?c["sentry-trace"]:void 0,n="traceparent"in c?c.traceparent:void 0,t="baggage"in c?c.baggage:void 0,o=t?Array.isArray(t)?[...t]:[t]:[],s=t&&(Array.isArray(t)?t.find(e=>g(e)):g(t));a&&!s&&o.push(a);let u={...c,"sentry-trace":e??i,baggage:o.length>0?o.join(","):void 0};return r&&l&&!n&&(u.traceparent=l),u}}function g(e){return e.split(",").some(e=>e.trim().startsWith(c.SENTRY_BAGGAGE_KEY_PREFIX))}n._addTracingHeadersToFetchRequest=f,n._callOnRequestSpanEnd=h,n.instrumentFetchRequest=function(e,n,t,s,c){if(!e.fetchData)return;let{method:p,url:g}=e.fetchData,_=l.hasSpansEnabled()&&n(g);if(e.endTimestamp&&_){let n=e.fetchData.__span;if(!n)return;let t=s[n];t&&(function(e,n){if(n.response){a.setHttpStatus(e,n.response.status);let t=n.response?.headers?.get("content-length");if(t){let n=parseInt(t);n>0&&e.setAttribute("http.response_content_length",n)}}else n.error&&e.setStatus({code:a.SPAN_STATUS_ERROR,message:"internal_error"});e.end()}(t,e),h(t,e,c),delete s[n]);return}let{spanOrigin:y="auto.http.browser",propagateTraceparent:v=!1}="object"==typeof c?c:{spanOrigin:c},b=!!i.getActiveSpan(),C=_&&b?d.startInactiveSpan(function(e,n,t){let r=m.parseStringToURLObject(e);return{name:r?`${n} ${m.getSanitizedUrlStringFromUrlObject(r)}`:n,attributes:function(e,n,t,r){let i={url:e,type:"fetch","http.method":t,[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:r,[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"http.client"};return n&&(m.isURLObjectRelative(n)||(i["http.url"]=n.href,i["server.address"]=n.host),n.search&&(i["http.query"]=n.search),n.hash&&(i["http.fragment"]=n.hash)),i}(e,r,n,t)}}(g,p,y)):new u.SentryNonRecordingSpan;if(e.fetchData.__span=C.spanContext().spanId,s[C.spanContext().spanId]=C,t(e.fetchData.url)){let n=e.args[0],t=e.args[1]||{},r=f(n,t,l.hasSpansEnabled()&&b?C:void 0,v);r&&(e.args[1]=t,t.headers=r)}let T=r.getClient();if(T){let n={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};T.emit("beforeOutgoingRequestSpan",C,n)}return C}},58949:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(20503),o=t(2957),i=t(32818),a=t(48391),s=t(17519),l=t(5978),c=t(7665),u=t(77512),d=t(62908),p=t(55385),m=t(19319),h=t(97930),f=t(92157),g=t(17528),_=t(70249),y=t(28405),v=t(30474),b=t(7975),C=t(45177),T=t(15100),S=t(31691),k=t(25697),E=t(39430),R=t(58889),I=t(67342),A=t(25891),w=t(554),x=t(79194),P=t(74030),B=t(70193),N=t(75222),O=t(97963),L=t(66142),M=t(46793),j=t(51211),D=t(56805),U=t(84492),q=t(69599),F=t(85899),H=t(25156),G=t(23412),V=t(2924),z=t(29566),W=t(71260),K=t(72787),$=t(96289),Q=t(46638),Y=t(53172),Z=t(30379),J=t(7267),X=t(88498),ee=t(48904),en=t(35814),et=t(93976),er=t(41389),eo=t(14121),ei=t(12429),ea=t(90962),es=t(61860),el=t(44450),ec=t(25630),eu=t(4063),ed=t(60679),ep=t(7882),em=t(60466),eh=t(49859),ef=t(97506),eg=t(69333),e_=t(70179),ey=t(89281),ev=t(31629),eb=t(27467),eC=t(3983),eT=t(30901),eS=t(49745),ek=t(75294),eE=t(56599),eR=t(80492),eI=t(32628),eA=t(18669),ew=t(19877),ex=t(13905),eP=t(63853),eB=t(53292),eN=t(4121),eO=t(84867),eL=t(61265),eM=t(86085),ej=t(29565),eD=t(4903),eU=t(79575),eq=t(42410),eF=t(40205),eH=t(86503),eG=t(85972),eV=t(73489),ez=t(3779),eW=t(62741),eK=t(88025),e$=t(92240),eQ=t(48530),eY=t(62274),eZ=t(6208),eJ=t(73915),eX=t(59315),e0=t(31586),e1=t(50404),e2=t(22744),e3=t(9036),e4=t(30388),e5=t(85884),e9=t(53850),e6=t(60544),e8=t(7233),e7=t(83884),ne=t(26077),nn=t(96952),nt=t(49622),nr=t(58450),no=t(41412),ni=t(72634),na=t(42678),ns=t(6315),nl=t(90263),nc=t(15806),nu=t(76216),nd=t(75698),np=t(86767),nm=t(62016),nh=t(25571),nf=t(76208),ng=t(80349),n_=t(42221);n.registerSpanErrorInstrumentation=r.registerSpanErrorInstrumentation,n.getCapturedScopesOnSpan=o.getCapturedScopesOnSpan,n.setCapturedScopesOnSpan=o.setCapturedScopesOnSpan,n.TRACING_DEFAULTS=i.TRACING_DEFAULTS,n.startIdleSpan=i.startIdleSpan,n.SentrySpan=a.SentrySpan,n.SentryNonRecordingSpan=s.SentryNonRecordingSpan,n.SPAN_STATUS_ERROR=l.SPAN_STATUS_ERROR,n.SPAN_STATUS_OK=l.SPAN_STATUS_OK,n.SPAN_STATUS_UNSET=l.SPAN_STATUS_UNSET,n.getSpanStatusFromHttpCode=l.getSpanStatusFromHttpCode,n.setHttpStatus=l.setHttpStatus,n.continueTrace=c.continueTrace,n.startInactiveSpan=c.startInactiveSpan,n.startNewTrace=c.startNewTrace,n.startSpan=c.startSpan,n.startSpanManual=c.startSpanManual,n.suppressTracing=c.suppressTracing,n.withActiveSpan=c.withActiveSpan,n.getDynamicSamplingContextFromClient=u.getDynamicSamplingContextFromClient,n.getDynamicSamplingContextFromScope=u.getDynamicSamplingContextFromScope,n.getDynamicSamplingContextFromSpan=u.getDynamicSamplingContextFromSpan,n.spanToBaggageHeader=u.spanToBaggageHeader,n.setMeasurement=d.setMeasurement,n.timedEventsToMeasurements=d.timedEventsToMeasurements,n.sampleSpan=p.sampleSpan,n.logSpanEnd=m.logSpanEnd,n.logSpanStart=m.logSpanStart,n.SEMANTIC_ATTRIBUTE_CACHE_HIT=h.SEMANTIC_ATTRIBUTE_CACHE_HIT,n.SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE=h.SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE,n.SEMANTIC_ATTRIBUTE_CACHE_KEY=h.SEMANTIC_ATTRIBUTE_CACHE_KEY,n.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME=h.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME,n.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD=h.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD,n.SEMANTIC_ATTRIBUTE_PROFILE_ID=h.SEMANTIC_ATTRIBUTE_PROFILE_ID,n.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME=h.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME,n.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON=h.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT=h.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT,n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE=h.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE,n.SEMANTIC_ATTRIBUTE_SENTRY_OP=h.SEMANTIC_ATTRIBUTE_SENTRY_OP,n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN=h.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,n.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE=h.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE,n.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE=h.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE=h.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,n.SEMANTIC_ATTRIBUTE_URL_FULL=h.SEMANTIC_ATTRIBUTE_URL_FULL,n.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE=h.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE,n.createEventEnvelope=f.createEventEnvelope,n.createSessionEnvelope=f.createSessionEnvelope,n.createSpanEnvelope=f.createSpanEnvelope,n.addEventProcessor=g.addEventProcessor,n.captureCheckIn=g.captureCheckIn,n.captureEvent=g.captureEvent,n.captureException=g.captureException,n.captureMessage=g.captureMessage,n.captureSession=g.captureSession,n.close=g.close,n.endSession=g.endSession,n.flush=g.flush,n.isEnabled=g.isEnabled,n.isInitialized=g.isInitialized,n.lastEventId=g.lastEventId,n.setContext=g.setContext,n.setExtra=g.setExtra,n.setExtras=g.setExtras,n.setTag=g.setTag,n.setTags=g.setTags,n.setUser=g.setUser,n.startSession=g.startSession,n.withMonitor=g.withMonitor,n.getClient=_.getClient,n.getCurrentScope=_.getCurrentScope,n.getGlobalScope=_.getGlobalScope,n.getIsolationScope=_.getIsolationScope,n.getTraceContextFromScope=_.getTraceContextFromScope,n.withIsolationScope=_.withIsolationScope,n.withScope=_.withScope,n.getDefaultCurrentScope=y.getDefaultCurrentScope,n.getDefaultIsolationScope=y.getDefaultIsolationScope,n.setAsyncContextStrategy=v.setAsyncContextStrategy,n.getGlobalSingleton=b.getGlobalSingleton,n.getMainCarrier=b.getMainCarrier,n.closeSession=C.closeSession,n.makeSession=C.makeSession,n.updateSession=C.updateSession,n.Scope=T.Scope,n.notifyEventProcessors=S.notifyEventProcessors,n.getEnvelopeEndpointWithUrlEncodedAuth=k.getEnvelopeEndpointWithUrlEncodedAuth,n.getReportDialogEndpoint=k.getReportDialogEndpoint,n.Client=E.Client,n.ServerRuntimeClient=R.ServerRuntimeClient,n.initAndBind=I.initAndBind,n.setCurrentClient=I.setCurrentClient,n.createTransport=A.createTransport,n.makeOfflineTransport=w.makeOfflineTransport,n.MULTIPLEXED_TRANSPORT_EXTRA_KEY=x.MULTIPLEXED_TRANSPORT_EXTRA_KEY,n.makeMultiplexedTransport=x.makeMultiplexedTransport,n.addIntegration=P.addIntegration,n.defineIntegration=P.defineIntegration,n.getIntegrationsToSetup=P.getIntegrationsToSetup,n.installedIntegrations=P.installedIntegrations,n._INTERNAL_clearAiProviderSkips=B._INTERNAL_clearAiProviderSkips,n._INTERNAL_shouldSkipAiProviderWrapping=B._INTERNAL_shouldSkipAiProviderWrapping,n._INTERNAL_skipAiProviderWrapping=B._INTERNAL_skipAiProviderWrapping,n.applyScopeDataToEvent=N.applyScopeDataToEvent,n.getCombinedScopeData=N.getCombinedScopeData,n.mergeScopeData=N.mergeScopeData,n.prepareEvent=O.prepareEvent,n.createCheckInEnvelope=L.createCheckInEnvelope,n.hasSpansEnabled=M.hasSpansEnabled,n.isSentryRequestUrl=j.isSentryRequestUrl,n.handleCallbackErrors=D.handleCallbackErrors,n.fmt=U.fmt,n.parameterize=U.parameterize,n.addAutoIpAddressToSession=q.addAutoIpAddressToSession,n.addAutoIpAddressToUser=q.addAutoIpAddressToUser,n.addChildSpanToSpan=F.addChildSpanToSpan,n.convertSpanLinksForEnvelope=F.convertSpanLinksForEnvelope,n.getActiveSpan=F.getActiveSpan,n.getRootSpan=F.getRootSpan,n.getSpanDescendants=F.getSpanDescendants,n.getStatusMessage=F.getStatusMessage,n.spanIsSampled=F.spanIsSampled,n.spanTimeInputToSeconds=F.spanTimeInputToSeconds,n.spanToJSON=F.spanToJSON,n.spanToTraceContext=F.spanToTraceContext,n.spanToTraceHeader=F.spanToTraceHeader,n.updateSpanName=F.updateSpanName,n._INTERNAL_setSpanForScope=H._setSpanForScope,n.parseSampleRate=G.parseSampleRate,n.applySdkMetadata=V.applySdkMetadata,n.getTraceData=z.getTraceData,n.getTraceMetaTags=W.getTraceMetaTags,n.debounce=K.debounce,n.extractQueryParamsFromUrl=$.extractQueryParamsFromUrl,n.headersToDict=$.headersToDict,n.httpHeadersToSpanAttributes=$.httpHeadersToSpanAttributes,n.httpRequestToRequestData=$.httpRequestToRequestData,n.winterCGHeadersToDict=$.winterCGHeadersToDict,n.winterCGRequestToRequestData=$.winterCGRequestToRequestData,n.DEFAULT_ENVIRONMENT=Q.DEFAULT_ENVIRONMENT,n.DEV_ENVIRONMENT=Q.DEV_ENVIRONMENT,n.addBreadcrumb=Y.addBreadcrumb,n.functionToStringIntegration=Z.functionToStringIntegration,n.eventFiltersIntegration=J.eventFiltersIntegration,n.inboundFiltersIntegration=J.inboundFiltersIntegration,n.linkedErrorsIntegration=X.linkedErrorsIntegration,n.moduleMetadataIntegration=ee.moduleMetadataIntegration,n.requestDataIntegration=en.requestDataIntegration,n.captureConsoleIntegration=et.captureConsoleIntegration,n.dedupeIntegration=er.dedupeIntegration,n.extraErrorDataIntegration=eo.extraErrorDataIntegration,n.rewriteFramesIntegration=ei.rewriteFramesIntegration,n.instrumentSupabaseClient=ea.instrumentSupabaseClient,n.supabaseIntegration=ea.supabaseIntegration,n.zodErrorsIntegration=es.zodErrorsIntegration,n.thirdPartyErrorFilterIntegration=el.thirdPartyErrorFilterIntegration,n.consoleIntegration=ec.consoleIntegration,n.featureFlagsIntegration=eu.featureFlagsIntegration,n.growthbookIntegration=ed.growthbookIntegration,n.profiler=ep.profiler,n.instrumentFetchRequest=em.instrumentFetchRequest,n.trpcMiddleware=eh.trpcMiddleware,n.wrapMcpServerWithSentry=ef.wrapMcpServerWithSentry,n.captureFeedback=eg.captureFeedback,n._INTERNAL_captureLog=e_._INTERNAL_captureLog,n._INTERNAL_captureSerializedLog=e_._INTERNAL_captureSerializedLog,n._INTERNAL_flushLogsBuffer=e_._INTERNAL_flushLogsBuffer,n.logger=ey,n.consoleLoggingIntegration=ev.consoleLoggingIntegration,n._INTERNAL_captureMetric=eb._INTERNAL_captureMetric,n._INTERNAL_captureSerializedMetric=eb._INTERNAL_captureSerializedMetric,n._INTERNAL_flushMetricsBuffer=eb._INTERNAL_flushMetricsBuffer,n.metrics=eC,n.createConsolaReporter=eT.createConsolaReporter,n.addVercelAiProcessors=eS.addVercelAiProcessors,n._INTERNAL_cleanupToolCallSpan=ek._INTERNAL_cleanupToolCallSpan,n._INTERNAL_getSpanForToolCallId=ek._INTERNAL_getSpanForToolCallId,n.instrumentOpenAiClient=eE.instrumentOpenAiClient,n.OPENAI_INTEGRATION_NAME=eR.OPENAI_INTEGRATION_NAME,n.instrumentAnthropicAiClient=eI.instrumentAnthropicAiClient,n.ANTHROPIC_AI_INTEGRATION_NAME=eA.ANTHROPIC_AI_INTEGRATION_NAME,n.instrumentGoogleGenAIClient=ew.instrumentGoogleGenAIClient,n.GOOGLE_GENAI_INTEGRATION_NAME=ex.GOOGLE_GENAI_INTEGRATION_NAME,n.createLangChainCallbackHandler=eP.createLangChainCallbackHandler,n.LANGCHAIN_INTEGRATION_NAME=eB.LANGCHAIN_INTEGRATION_NAME,n.instrumentLangGraph=eN.instrumentLangGraph,n.instrumentStateGraphCompile=eN.instrumentStateGraphCompile,n.LANGGRAPH_INTEGRATION_NAME=eO.LANGGRAPH_INTEGRATION_NAME,n._INTERNAL_FLAG_BUFFER_SIZE=eL._INTERNAL_FLAG_BUFFER_SIZE,n._INTERNAL_MAX_FLAGS_PER_SPAN=eL._INTERNAL_MAX_FLAGS_PER_SPAN,n._INTERNAL_addFeatureFlagToActiveSpan=eL._INTERNAL_addFeatureFlagToActiveSpan,n._INTERNAL_copyFlagsFromScopeToEvent=eL._INTERNAL_copyFlagsFromScopeToEvent,n._INTERNAL_insertFlagToScope=eL._INTERNAL_insertFlagToScope,n.applyAggregateErrorsToEvent=eM.applyAggregateErrorsToEvent,n.getBreadcrumbLogLevelFromHttpStatusCode=ej.getBreadcrumbLogLevelFromHttpStatusCode,n.getComponentName=eD.getComponentName,n.getLocationHref=eD.getLocationHref,n.htmlTreeAsString=eD.htmlTreeAsString,n.dsnFromString=eU.dsnFromString,n.dsnToString=eU.dsnToString,n.makeDsn=eU.makeDsn,n.SentryError=eq.SentryError,n.GLOBAL_OBJ=eF.GLOBAL_OBJ,n.addConsoleInstrumentationHandler=eH.addConsoleInstrumentationHandler,n.addFetchEndInstrumentationHandler=eG.addFetchEndInstrumentationHandler,n.addFetchInstrumentationHandler=eG.addFetchInstrumentationHandler,n.addGlobalErrorInstrumentationHandler=eV.addGlobalErrorInstrumentationHandler,n.addGlobalUnhandledRejectionInstrumentationHandler=ez.addGlobalUnhandledRejectionInstrumentationHandler,n.addHandler=eW.addHandler,n.maybeInstrument=eW.maybeInstrument,n.resetInstrumentationHandlers=eW.resetInstrumentationHandlers,n.triggerHandlers=eW.triggerHandlers,n.isDOMError=eK.isDOMError,n.isDOMException=eK.isDOMException,n.isElement=eK.isElement,n.isError=eK.isError,n.isErrorEvent=eK.isErrorEvent,n.isEvent=eK.isEvent,n.isInstanceOf=eK.isInstanceOf,n.isParameterizedString=eK.isParameterizedString,n.isPlainObject=eK.isPlainObject,n.isPrimitive=eK.isPrimitive,n.isRegExp=eK.isRegExp,n.isString=eK.isString,n.isSyntheticEvent=eK.isSyntheticEvent,n.isThenable=eK.isThenable,n.isVueViewModel=eK.isVueViewModel,n.isBrowser=e$.isBrowser,n.CONSOLE_LEVELS=eQ.CONSOLE_LEVELS,n.consoleSandbox=eQ.consoleSandbox,n.debug=eQ.debug,n.originalConsoleMethods=eQ.originalConsoleMethods,n.addContextToFrame=eY.addContextToFrame,n.addExceptionMechanism=eY.addExceptionMechanism,n.addExceptionTypeValue=eY.addExceptionTypeValue,n.checkOrSetAlreadyCaught=eY.checkOrSetAlreadyCaught,n.getEventDescription=eY.getEventDescription,n.parseSemver=eY.parseSemver,n.uuid4=eY.uuid4,n.isNodeEnv=eZ.isNodeEnv,n.loadModule=eZ.loadModule,n.normalize=eJ.normalize,n.normalizeToSize=eJ.normalizeToSize,n.normalizeUrlToBase=eJ.normalizeUrlToBase,n.addNonEnumerableProperty=eX.addNonEnumerableProperty,n.convertToPlainObject=eX.convertToPlainObject,n.dropUndefinedKeys=eX.dropUndefinedKeys,n.extractExceptionKeysForMessage=eX.extractExceptionKeysForMessage,n.fill=eX.fill,n.getOriginalFunction=eX.getOriginalFunction,n.markFunctionWrapped=eX.markFunctionWrapped,n.objectify=eX.objectify,n.basename=e0.basename,n.dirname=e0.dirname,n.isAbsolute=e0.isAbsolute,n.join=e0.join,n.normalizePath=e0.normalizePath,n.relative=e0.relative,n.resolve=e0.resolve,n.SENTRY_BUFFER_FULL_ERROR=e1.SENTRY_BUFFER_FULL_ERROR,n.makePromiseBuffer=e1.makePromiseBuffer,n.severityLevelFromString=e2.severityLevelFromString,n.replaceExports=e3.replaceExports,n.UNKNOWN_FUNCTION=e4.UNKNOWN_FUNCTION,n.createStackParser=e4.createStackParser,n.getFramesFromEvent=e4.getFramesFromEvent,n.getFunctionName=e4.getFunctionName,n.stackParserFromStackParserOptions=e4.stackParserFromStackParserOptions,n.stripSentryFramesAndReverse=e4.stripSentryFramesAndReverse,n.filenameIsInApp=e5.filenameIsInApp,n.node=e5.node,n.nodeStackLineParser=e5.nodeStackLineParser,n.isMatchingPattern=e9.isMatchingPattern,n.safeJoin=e9.safeJoin,n.snipLine=e9.snipLine,n.stringMatchesSomePattern=e9.stringMatchesSomePattern,n.truncate=e9.truncate,n.isNativeFunction=e6.isNativeFunction,n.supportsDOMError=e6.supportsDOMError,n.supportsDOMException=e6.supportsDOMException,n.supportsErrorEvent=e6.supportsErrorEvent,n.supportsFetch=e6.supportsFetch,n.supportsHistory=e6.supportsHistory,n.supportsNativeFetch=e6.supportsNativeFetch,n.supportsReferrerPolicy=e6.supportsReferrerPolicy,n.supportsReportingObserver=e6.supportsReportingObserver,n.SyncPromise=e8.SyncPromise,n.rejectedSyncPromise=e8.rejectedSyncPromise,n.resolvedSyncPromise=e8.resolvedSyncPromise,n.browserPerformanceTimeOrigin=e7.browserPerformanceTimeOrigin,n.dateTimestampInSeconds=e7.dateTimestampInSeconds,n.timestampInSeconds=e7.timestampInSeconds,n.TRACEPARENT_REGEXP=ne.TRACEPARENT_REGEXP,n.extractTraceparentData=ne.extractTraceparentData,n.generateSentryTraceHeader=ne.generateSentryTraceHeader,n.generateTraceparentHeader=ne.generateTraceparentHeader,n.propagationContextFromHeaders=ne.propagationContextFromHeaders,n.shouldContinueTrace=ne.shouldContinueTrace,n.getSDKSource=nn.getSDKSource,n.isBrowserBundle=nn.isBrowserBundle,n.addItemToEnvelope=nt.addItemToEnvelope,n.createAttachmentEnvelopeItem=nt.createAttachmentEnvelopeItem,n.createEnvelope=nt.createEnvelope,n.createEventEnvelopeHeaders=nt.createEventEnvelopeHeaders,n.createSpanEnvelopeItem=nt.createSpanEnvelopeItem,n.envelopeContainsItemType=nt.envelopeContainsItemType,n.envelopeItemTypeToDataCategory=nt.envelopeItemTypeToDataCategory,n.forEachEnvelopeItem=nt.forEachEnvelopeItem,n.getSdkMetadataForEnvelopeHeader=nt.getSdkMetadataForEnvelopeHeader,n.parseEnvelope=nt.parseEnvelope,n.serializeEnvelope=nt.serializeEnvelope,n.createClientReportEnvelope=nr.createClientReportEnvelope,n.DEFAULT_RETRY_AFTER=no.DEFAULT_RETRY_AFTER,n.disabledUntil=no.disabledUntil,n.isRateLimited=no.isRateLimited,n.parseRetryAfterHeader=no.parseRetryAfterHeader,n.updateRateLimits=no.updateRateLimits,n.MAX_BAGGAGE_STRING_LENGTH=ni.MAX_BAGGAGE_STRING_LENGTH,n.SENTRY_BAGGAGE_KEY_PREFIX=ni.SENTRY_BAGGAGE_KEY_PREFIX,n.SENTRY_BAGGAGE_KEY_PREFIX_REGEX=ni.SENTRY_BAGGAGE_KEY_PREFIX_REGEX,n.baggageHeaderToDynamicSamplingContext=ni.baggageHeaderToDynamicSamplingContext,n.dynamicSamplingContextToSentryBaggageHeader=ni.dynamicSamplingContextToSentryBaggageHeader,n.objectToBaggageHeader=ni.objectToBaggageHeader,n.parseBaggageHeader=ni.parseBaggageHeader,n.getHttpSpanDetailsFromUrlObject=na.getHttpSpanDetailsFromUrlObject,n.getSanitizedUrlString=na.getSanitizedUrlString,n.getSanitizedUrlStringFromUrlObject=na.getSanitizedUrlStringFromUrlObject,n.isURLObjectRelative=na.isURLObjectRelative,n.parseStringToURLObject=na.parseStringToURLObject,n.parseUrl=na.parseUrl,n.stripUrlQueryAndFragment=na.stripUrlQueryAndFragment,n._INTERNAL_enhanceErrorWithSentryInfo=ns._enhanceErrorWithSentryInfo,n.eventFromMessage=ns.eventFromMessage,n.eventFromUnknownInput=ns.eventFromUnknownInput,n.exceptionFromError=ns.exceptionFromError,n.parseStackFrames=ns.parseStackFrames,n.callFrameToStackFrame=nl.callFrameToStackFrame,n.watchdogTimer=nl.watchdogTimer,n.LRUMap=nc.LRUMap,n.generateSpanId=nu.generateSpanId,n.generateTraceId=nu.generateTraceId,n.vercelWaitUntil=nd.vercelWaitUntil,n.flushIfServerless=np.flushIfServerless,n.SDK_VERSION=nm.SDK_VERSION,n.getDebugImagesForResources=nh.getDebugImagesForResources,n.getFilenameToDebugIdMap=nh.getFilenameToDebugIdMap,n.getFilenameToMetadataMap=nf.getFilenameToMetadataMap,n.escapeStringForRegex=ng.escapeStringForRegex,n._INTERNAL_safeDateNow=n_.safeDateNow,n._INTERNAL_safeMathRandom=n_.safeMathRandom,n._INTERNAL_withRandomSafeContext=n_.withRandomSafeContext},86503:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(48530),o=t(59315),i=t(40205),a=t(62741);function s(){"console"in i.GLOBAL_OBJ&&r.CONSOLE_LEVELS.forEach(function(e){e in i.GLOBAL_OBJ.console&&o.fill(i.GLOBAL_OBJ.console,e,function(n){return r.originalConsoleMethods[e]=n,function(...n){a.triggerHandlers("console",{args:n,level:e});let t=r.originalConsoleMethods[e];t?.apply(i.GLOBAL_OBJ.console,n)}})})}n.addConsoleInstrumentationHandler=function(e){let n="console";a.addHandler(n,e),a.maybeInstrument(n,s)}},85972:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(88025),i=t(59315),a=t(60544),s=t(83884),l=t(40205),c=t(62741);function u(e,n=!1){(!n||a.supportsNativeFetch())&&i.fill(l.GLOBAL_OBJ,"fetch",function(n){return function(...t){let a=Error(),{method:u,url:d}=f(t),p={args:t,fetchData:{method:u,url:d},startTimestamp:1e3*s.timestampInSeconds(),virtualError:a,headers:function(e){let[n,t]=e;try{if("object"==typeof t&&null!==t&&"headers"in t&&t.headers)return new Headers(t.headers);if(o.isRequest(n))return new Headers(n.headers)}catch{}}(t)};return e||c.triggerHandlers("fetch",{...p}),n.apply(l.GLOBAL_OBJ,t).then(async n=>(e?e(n):c.triggerHandlers("fetch",{...p,endTimestamp:1e3*s.timestampInSeconds(),response:n}),n),e=>{c.triggerHandlers("fetch",{...p,endTimestamp:1e3*s.timestampInSeconds(),error:e}),o.isError(e)&&void 0===e.stack&&(e.stack=a.stack,i.addNonEnumerableProperty(e,"framesToPop",1));let n=r.getClient(),t=n?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==t&&e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let n=new URL(p.fetchData.url).host;"always"===t?e.message=`${e.message} (${n})`:i.addNonEnumerableProperty(e,"__sentry_fetch_url_host__",n)}catch{}throw e})}})}async function d(e,n){if(e?.body){let t=e.body,r=t.getReader(),o=setTimeout(()=>{t.cancel().then(null,()=>{})},9e4),i=!0;for(;i;){let e;try{e=setTimeout(()=>{t.cancel().then(null,()=>{})},5e3);let{done:o}=await r.read();clearTimeout(e),o&&(n(),i=!1)}catch{i=!1}finally{clearTimeout(e)}}clearTimeout(o),r.releaseLock(),t.cancel().then(null,()=>{})}}function p(e){let n;try{n=e.clone()}catch{return}d(n,()=>{c.triggerHandlers("fetch-body-resolved",{endTimestamp:1e3*s.timestampInSeconds(),response:e})})}function m(e,n){return!!e&&"object"==typeof e&&!!e[n]}function h(e){return"string"==typeof e?e:e?m(e,"url")?e.url:e.toString?e.toString():"":""}function f(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[n,t]=e;return{url:h(n),method:m(t,"method")?String(t.method).toUpperCase():o.isRequest(n)&&m(n,"method")?String(n.method).toUpperCase():"GET"}}let n=e[0];return{url:h(n),method:m(n,"method")?String(n.method).toUpperCase():"GET"}}n.addFetchEndInstrumentationHandler=function(e){let n="fetch-body-resolved";c.addHandler(n,e),c.maybeInstrument(n,()=>u(p))},n.addFetchInstrumentationHandler=function(e,n){let t="fetch";c.addHandler(t,e),c.maybeInstrument(t,()=>u(void 0,n))},n.parseFetchArgs=f},73489:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(40205),o=t(62741),i=null;function a(){i=r.GLOBAL_OBJ.onerror,r.GLOBAL_OBJ.onerror=function(e,n,t,r,a){return o.triggerHandlers("error",{column:r,error:a,line:t,msg:e,url:n}),!!i&&i.apply(this,arguments)},r.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}n.addGlobalErrorInstrumentationHandler=function(e){let n="error";o.addHandler(n,e),o.maybeInstrument(n,a)}},3779:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(40205),o=t(62741),i=null;function a(){i=r.GLOBAL_OBJ.onunhandledrejection,r.GLOBAL_OBJ.onunhandledrejection=function(e){return o.triggerHandlers("unhandledrejection",e),!i||i.apply(this,arguments)},r.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}n.addGlobalUnhandledRejectionInstrumentationHandler=function(e){let n="unhandledrejection";o.addHandler(n,e),o.maybeInstrument(n,a)}},62741:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(48530),i=t(30388),a={},s={};n.addHandler=function(e,n){a[e]=a[e]||[],a[e].push(n)},n.maybeInstrument=function(e,n){if(!s[e]){s[e]=!0;try{n()}catch(n){r.DEBUG_BUILD&&o.debug.error(`Error while instrumenting ${e}`,n)}}},n.resetInstrumentationHandlers=function(){Object.keys(a).forEach(e=>{a[e]=void 0})},n.triggerHandlers=function(e,n){let t=e&&a[e];if(t)for(let a of t)try{a(n)}catch(n){r.DEBUG_BUILD&&o.debug.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${i.getFunctionName(a)} Error:`,n)}}},74030:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(43147),i=t(48530),a=[];function s(e,n,t){if(t[n.name]){o.DEBUG_BUILD&&i.debug.log(`Integration skipped because it was already installed: ${n.name}`);return}if(t[n.name]=n,a.includes(n.name)||"function"!=typeof n.setupOnce||(n.setupOnce(),a.push(n.name)),n.setup&&"function"==typeof n.setup&&n.setup(e),"function"==typeof n.preprocessEvent){let t=n.preprocessEvent.bind(n);e.on("preprocessEvent",(n,r)=>t(n,r,e))}if("function"==typeof n.processEvent){let t=n.processEvent.bind(n),r=Object.assign((n,r)=>t(n,r,e),{id:n.name});e.addEventProcessor(r)}o.DEBUG_BUILD&&i.debug.log(`Integration installed: ${n.name}`)}n.addIntegration=function(e){let n=r.getClient();if(!n){o.DEBUG_BUILD&&i.debug.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}n.addIntegration(e)},n.afterSetupIntegrations=function(e,n){for(let t of n)t?.afterAllSetup&&t.afterAllSetup(e)},n.defineIntegration=function(e){return e},n.getIntegrationsToSetup=function(e){let n;let t=e.defaultIntegrations||[],r=e.integrations;if(t.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(r))n=[...t,...r];else if("function"==typeof r){let e=r(t);n=Array.isArray(e)?e:[e]}else n=t;return function(e){let n={};return e.forEach(e=>{let{name:t}=e,r=n[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(n[t]=e)}),Object.values(n)}(n)},n.installedIntegrations=a,n.setupIntegration=s,n.setupIntegrations=function(e,n){let t={};return n.forEach(n=>{n&&s(e,n,t)}),t}},93976:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(17528),i=t(86503),a=t(74030),s=t(48530),l=t(62274),c=t(22744),u=t(53850),d=t(40205),p=a.defineIntegration((e={})=>{let n=e.levels||s.CONSOLE_LEVELS,t=e.handled??!0;return{name:"CaptureConsole",setup(e){"console"in d.GLOBAL_OBJ&&i.addConsoleInstrumentationHandler(({args:i,level:a})=>{r.getClient()===e&&n.includes(a)&&function(e,n,t){let i=c.severityLevelFromString(n),a=Error(),s={level:c.severityLevelFromString(n),extra:{arguments:e}};r.withScope(r=>{if(r.addEventProcessor(e=>(e.logger="console",l.addExceptionMechanism(e,{handled:t,type:"auto.core.capture_console"}),e)),"assert"===n){if(!e[0]){let n=`Assertion failed: ${u.safeJoin(e.slice(1)," ")||"console.assert"}`;r.setExtra("arguments",e.slice(1)),r.captureMessage(n,i,{captureContext:s,syntheticException:a})}return}let c=e.find(e=>e instanceof Error);if(c){o.captureException(c,s);return}let d=u.safeJoin(e," ");r.captureMessage(d,i,{captureContext:s,syntheticException:a})})}(i,a,t)})}}});n.captureConsoleIntegration=p},30901:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(70179),i=t(46435),a=["trace","debug","info","warn","error","fatal"],s={silent:"trace",fatal:"fatal",error:"error",warn:"warn",log:"info",info:"info",success:"info",fail:"error",ready:"info",start:"info",box:"info",debug:"debug",trace:"trace",verbose:"debug",critical:"fatal",notice:"info"},l={0:"fatal",1:"warn",2:"info",3:"info",4:"debug",5:"trace"};n.createConsolaReporter=function(e={}){let n=new Set(e.levels??a),t=e.client;return{log(e){let{type:a,level:c,message:u,args:d,tag:p,date:m,...h}=e,f=t||r.getClient();if(!f)return;let g=function(e,n){if("verbose"===e)return"debug";if("silent"===e)return"trace";if(e){let n=s[e];if(n)return n}if("number"==typeof n){let e=l[n];if(e)return e}return"info"}(a,c);if(!n.has(g))return;let{normalizeDepth:_=3,normalizeMaxBreadth:y=1e3}=f.getOptions(),v=[];u&&v.push(u),d&&d.length>0&&v.push(i.formatConsoleArgs(d,_,y));let b=v.join(" ");h["sentry.origin"]="auto.log.consola",p&&(h["consola.tag"]=p),a&&(h["consola.type"]=a),null!=c&&"number"==typeof c&&(h["consola.level"]=c),o._INTERNAL_captureLog({level:g,message:b,attributes:h})}}}},25630:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(53172),o=t(70249),i=t(86503),a=t(74030),s=t(48530),l=t(22744),c=t(53850),u=t(40205),d=a.defineIntegration((e={})=>{let n=new Set(e.levels||s.CONSOLE_LEVELS);return{name:"Console",setup(e){i.addConsoleInstrumentationHandler(({args:t,level:r})=>{o.getClient()===e&&n.has(r)&&p(r,t)})}}});function p(e,n){let t={category:"console",data:{arguments:n,logger:"console"},level:l.severityLevelFromString(e),message:m(n)};if("assert"===e){if(!1!==n[0])return;{let e=n.slice(1);t.message=e.length>0?`Assertion failed: ${m(e)}`:"Assertion failed",t.data.arguments=e}}r.addBreadcrumb(t,{input:n,level:e})}function m(e){return"util"in u.GLOBAL_OBJ&&"function"==typeof u.GLOBAL_OBJ.util.format?u.GLOBAL_OBJ.util.format(...e):c.safeJoin(e," ")}n.addConsoleBreadcrumb=p,n.consoleIntegration=d},41389:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(74030),i=t(48530),a=t(30388),s=o.defineIntegration(()=>{let e;return{name:"Dedupe",processEvent(n){if(n.type)return n;try{if(l(n,e))return r.DEBUG_BUILD&&i.debug.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=n}}});function l(e,n){return!!n&&!!(function(e,n){let t=e.message,r=n.message;return!!((t||r)&&(!t||r)&&(t||!r)&&t===r&&u(e,n)&&c(e,n))}(e,n)||function(e,n){let t=d(n),r=d(e);return!!(t&&r&&t.type===r.type&&t.value===r.value&&u(e,n)&&c(e,n))}(e,n))}function c(e,n){let t=a.getFramesFromEvent(e),r=a.getFramesFromEvent(n);if(!t&&!r)return!0;if(t&&!r||!t&&r||r.length!==t.length)return!1;for(let e=0;e{let n;return{name:"EventFilters",setup(t){n=p(e,t.getOptions())},processEvent:(t,o,c)=>(n||(n=p(e,c.getOptions())),!function(e,n){if(e.type){if("transaction"===e.type&&function(e,n){if(!n?.length)return!1;let t=e.transaction;return!!t&&l.stringMatchesSomePattern(t,n)}(e,n.ignoreTransactions))return r.DEBUG_BUILD&&i.debug.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. Event: ${s.getEventDescription(e)}`),!0}else{var t;if(t=n.ignoreErrors,t?.length&&a.getPossibleEventMessages(e).some(e=>l.stringMatchesSomePattern(e,t)))return r.DEBUG_BUILD&&i.debug.warn(`Event dropped due to being matched by \`ignoreErrors\` option. Event: ${s.getEventDescription(e)}`),!0;if(e.exception?.values?.length&&!e.message&&!e.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return r.DEBUG_BUILD&&i.debug.warn(`Event dropped due to not having an error message, error type or stacktrace. Event: ${s.getEventDescription(e)}`),!0;if(function(e,n){if(!n?.length)return!1;let t=m(e);return!!t&&l.stringMatchesSomePattern(t,n)}(e,n.denyUrls))return r.DEBUG_BUILD&&i.debug.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${s.getEventDescription(e)}. Url: ${m(e)}`),!0;if(!function(e,n){if(!n?.length)return!0;let t=m(e);return!t||l.stringMatchesSomePattern(t,n)}(e,n.allowUrls))return r.DEBUG_BUILD&&i.debug.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${s.getEventDescription(e)}. Url: ${m(e)}`),!0}return!1}(t,n)?t:null)}}),d=o.defineIntegration((e={})=>({...u(e),name:"InboundFilters"}));function p(e={},n={}){return{allowUrls:[...e.allowUrls||[],...n.allowUrls||[]],denyUrls:[...e.denyUrls||[],...n.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...n.ignoreErrors||[],...e.disableErrorDefaults?[]:c],ignoreTransactions:[...e.ignoreTransactions||[],...n.ignoreTransactions||[]]}}function m(e){try{let n=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),t=n?.stacktrace?.frames;return t?function(e=[]){for(let n=e.length-1;n>=0;n--){let t=e[n];if(t&&""!==t.filename&&"[native code]"!==t.filename)return t.filename||null}return null}(t):null}catch{return r.DEBUG_BUILD&&i.debug.error(`Cannot extract url for event ${s.getEventDescription(e)}`),null}}n.eventFiltersIntegration=u,n.inboundFiltersIntegration=d},14121:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(74030),i=t(48530),a=t(88025),s=t(73915),l=t(59315),c=t(53850),u=o.defineIntegration((e={})=>{let{depth:n=3,captureErrorCause:t=!0}=e;return{name:"ExtraErrorData",processEvent(e,o,u){let{maxValueLength:d}=u.getOptions();return function(e,n={},t,o,u){if(!n.originalException||!a.isError(n.originalException))return e;let d=n.originalException.name||n.originalException.constructor.name,p=function e(n,t,o){try{let r=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],i={};for(let e of Object.keys(n)){if(-1!==r.indexOf(e))continue;let t=n[e];i[e]=a.isError(t)||"string"==typeof t?o?c.truncate(`${t}`,o):`${t}`:t}if(t&&void 0!==n.cause){if(a.isError(n.cause)){let t=n.cause.name||n.cause.constructor.name;i.cause={[t]:e(n.cause,!1,o)}}else i.cause=n.cause}if("function"==typeof n.toJSON){let e=n.toJSON();for(let n of Object.keys(e)){let t=e[n];i[n]=a.isError(t)?t.toString():t}}return i}catch(e){r.DEBUG_BUILD&&i.debug.error("Unable to extract extra data from the Error object:",e)}return null}(n.originalException,o,u);if(p){let n={...e.contexts},r=s.normalize(p,t);return a.isPlainObject(r)&&(l.addNonEnumerableProperty(r,"__sentry_skip_normalization__",!0),n[d]=r),{...e,contexts:n}}return e}(e,o,n,t,d)}}});n.extraErrorDataIntegration=u},4063:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(74030),o=t(61265),i=r.defineIntegration(()=>({name:"FeatureFlags",processEvent:(e,n,t)=>o._INTERNAL_copyFlagsFromScopeToEvent(e),addFeatureFlag(e,n){o._INTERNAL_insertFlagToScope(e,n),o._INTERNAL_addFeatureFlagToActiveSpan(e,n)}}));n.featureFlagsIntegration=i},60679:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(74030),o=t(61265),i=t(59315),a=r.defineIntegration(({growthbookClass:e})=>({name:"GrowthBook",setupOnce(){let n=e.prototype;"function"==typeof n.isOn&&i.fill(n,"isOn",s),"function"==typeof n.getFeatureValue&&i.fill(n,"getFeatureValue",s)},processEvent:(e,n,t)=>o._INTERNAL_copyFlagsFromScopeToEvent(e)}));function s(e){return function(...n){let t=n[0],r=e.apply(this,n);return"string"==typeof t&&"boolean"==typeof r&&(o._INTERNAL_insertFlagToScope(t,r),o._INTERNAL_addFeatureFlagToActiveSpan(t,r)),r}}n.growthbookIntegration=a},30379:function(e,n,t){let r;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(70249),i=t(74030),a=t(59315),s=new WeakMap,l=i.defineIntegration(()=>({name:"FunctionToString",setupOnce(){r=Function.prototype.toString;try{Function.prototype.toString=function(...e){let n=a.getOriginalFunction(this),t=s.has(o.getClient())&&void 0!==n?n:this;return r.apply(t,e)}}catch{}},setup(e){s.set(e,!0)}}));n.functionToStringIntegration=l},88498:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(74030),o=t(86085),i=t(6315),a=r.defineIntegration((e={})=>{let n=e.limit||5,t=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,a){let s=a.getOptions();o.applyAggregateErrorsToEvent(i.exceptionFromError,s.stackParser,t,n,e,r)}}});n.linkedErrorsIntegration=a},70797:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(42678),o=t(11539),i=t(68403);function a(e,n,t){let i={};switch(e){case"notifications/cancelled":n?.requestId&&(i["mcp.cancelled.request_id"]=String(n.requestId)),n?.reason&&(i["mcp.cancelled.reason"]=String(n.reason));break;case"notifications/message":if(n?.level&&(i[o.MCP_LOGGING_LEVEL_ATTRIBUTE]=String(n.level)),n?.logger&&(i[o.MCP_LOGGING_LOGGER_ATTRIBUTE]=String(n.logger)),n?.data!==void 0&&(i[o.MCP_LOGGING_DATA_TYPE_ATTRIBUTE]=typeof n.data,t)){var a;i[o.MCP_LOGGING_MESSAGE_ATTRIBUTE]="string"==typeof(a=n.data)?a:JSON.stringify(a)}break;case"notifications/progress":n?.progressToken&&(i["mcp.progress.token"]=String(n.progressToken)),"number"==typeof n?.progress&&(i["mcp.progress.current"]=n.progress),"number"==typeof n?.total&&(i["mcp.progress.total"]=n.total,"number"==typeof n?.progress&&(i["mcp.progress.percentage"]=n.progress/n.total*100)),n?.message&&(i["mcp.progress.message"]=String(n.message));break;case"notifications/resources/updated":if(n?.uri){i[o.MCP_RESOURCE_URI_ATTRIBUTE]=String(n.uri);let e=r.parseStringToURLObject(String(n.uri));e&&!r.isURLObjectRelative(e)&&(i["mcp.resource.protocol"]=e.protocol.replace(":",""))}break;case"notifications/initialized":i["mcp.lifecycle.phase"]="initialization_complete",i["mcp.protocol.ready"]=1}return i}n.buildTypeSpecificAttributes=function(e,n,t,r){if("request"===e){let e=i.extractTargetInfo(n.method,t||{});return{...void 0!==n.id&&{[o.MCP_REQUEST_ID_ATTRIBUTE]:String(n.id)},...e.attributes,...r?i.getRequestArguments(n.method,t||{}):{}}}return a(n.method,t||{},r)},n.getNotificationAttributes=a},11539:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.CLIENT_ADDRESS_ATTRIBUTE="client.address",n.CLIENT_PORT_ATTRIBUTE="client.port",n.MCP_FUNCTION_ORIGIN_VALUE="auto.function.mcp_server",n.MCP_LOGGING_DATA_TYPE_ATTRIBUTE="mcp.logging.data_type",n.MCP_LOGGING_LEVEL_ATTRIBUTE="mcp.logging.level",n.MCP_LOGGING_LOGGER_ATTRIBUTE="mcp.logging.logger",n.MCP_LOGGING_MESSAGE_ATTRIBUTE="mcp.logging.message",n.MCP_METHOD_NAME_ATTRIBUTE="mcp.method.name",n.MCP_NOTIFICATION_CLIENT_TO_SERVER_OP_VALUE="mcp.notification.client_to_server",n.MCP_NOTIFICATION_ORIGIN_VALUE="auto.mcp.notification",n.MCP_NOTIFICATION_SERVER_TO_CLIENT_OP_VALUE="mcp.notification.server_to_client",n.MCP_PROMPT_NAME_ATTRIBUTE="mcp.prompt.name",n.MCP_PROMPT_RESULT_DESCRIPTION_ATTRIBUTE="mcp.prompt.result.description",n.MCP_PROMPT_RESULT_MESSAGE_COUNT_ATTRIBUTE="mcp.prompt.result.message_count",n.MCP_PROTOCOL_VERSION_ATTRIBUTE="mcp.protocol.version",n.MCP_REQUEST_ARGUMENT="mcp.request.argument",n.MCP_REQUEST_ID_ATTRIBUTE="mcp.request.id",n.MCP_RESOURCE_URI_ATTRIBUTE="mcp.resource.uri",n.MCP_ROUTE_SOURCE_VALUE="route",n.MCP_SERVER_NAME_ATTRIBUTE="mcp.server.name",n.MCP_SERVER_OP_VALUE="mcp.server",n.MCP_SERVER_TITLE_ATTRIBUTE="mcp.server.title",n.MCP_SERVER_VERSION_ATTRIBUTE="mcp.server.version",n.MCP_SESSION_ID_ATTRIBUTE="mcp.session.id",n.MCP_TOOL_NAME_ATTRIBUTE="mcp.tool.name",n.MCP_TOOL_RESULT_CONTENT_COUNT_ATTRIBUTE="mcp.tool.result.content_count",n.MCP_TOOL_RESULT_IS_ERROR_ATTRIBUTE="mcp.tool.result.is_error",n.MCP_TRANSPORT_ATTRIBUTE="mcp.transport",n.NETWORK_PROTOCOL_VERSION_ATTRIBUTE="network.protocol.version",n.NETWORK_TRANSPORT_ATTRIBUTE="network.transport"},26749:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(5978),o=t(11539),i=t(43113),a=t(33133),s=new WeakMap;function l(e){let n=s.get(e);return n||(n=new Map,s.set(e,n)),n}n.cleanupPendingSpansForTransport=function(e){let n=s.get(e);if(n){for(let[,e]of n)e.span.setStatus({code:r.SPAN_STATUS_ERROR,message:"cancelled"}),e.span.end();n.clear()}},n.completeSpanWithResults=function(e,n,t,r){let s=l(e),c=s.get(n);if(c){let{span:e,method:l}=c;if("initialize"===l){let n=a.extractSessionDataFromInitializeResponse(t),r={...a.buildServerAttributesFromInfo(n.serverInfo)};n.protocolVersion&&(r[o.MCP_PROTOCOL_VERSION_ATTRIBUTE]=n.protocolVersion),e.setAttributes(r)}else if("tools/call"===l){let n=i.extractToolResultAttributes(t,r.recordOutputs);e.setAttributes(n)}else if("prompts/get"===l){let n=i.extractPromptResultAttributes(t,r.recordOutputs);e.setAttributes(n)}e.end(),s.delete(n)}},n.storeSpanForRequest=function(e,n,t,r){l(e).set(n,{span:t,method:r,startTime:Date.now()})}},94065:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(17528),i=t(85899),a=t(5978);n.captureError=function(e,n,t){try{if(!r.getClient())return;let s=i.getActiveSpan();s?.isRecording()&&s.setStatus({code:a.SPAN_STATUS_ERROR,message:"internal_error"}),o.captureException(e,{mechanism:{type:"auto.ai.mcp_server",handled:!1,data:{error_type:n||"handler_execution",...t}}})}catch{}}},47081:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(48530),i=t(59315),a=t(94065);function s(e,n){i.fill(e,n,e=>function(t,...i){let a=i[i.length-1];return"function"!=typeof a?e.call(this,t,...i):e.call(this,t,...i.slice(0,-1),function(...e){try{return l.call(this,a,n,t,e)}catch(n){return r.DEBUG_BUILD&&o.debug.warn("MCP handler wrapping failed:",n),a.apply(this,e)}})})}function l(e,n,t,r){try{let o=e.apply(this,r);if(o&&"object"==typeof o&&"function"==typeof o.then)return Promise.resolve(o).catch(e=>{throw c(e,n,t),e});return o}catch(e){throw c(e,n,t),e}}function c(e,n,t){try{let r={};"tool"===n?(r.tool_name=t,"ProtocolValidationError"===e.name||e.message.includes("validation")||e.message.includes("protocol")?a.captureError(e,"validation",r):"ServerTimeoutError"===e.name||e.message.includes("timed out")||e.message.includes("timeout")?a.captureError(e,"timeout",r):a.captureError(e,"tool_execution",r)):"resource"===n?(r.resource_uri=t,a.captureError(e,"resource_execution",r)):"prompt"===n&&(r.prompt_name=t,a.captureError(e,"prompt_execution",r))}catch(e){}}function u(e){s(e,"tool")}function d(e){s(e,"resource")}function p(e){s(e,"prompt")}n.wrapAllMCPHandlers=function(e){u(e),d(e),p(e)},n.wrapPromptHandlers=p,n.wrapResourceHandlers=d,n.wrapToolHandlers=u},97506:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(59315),i=t(47081),a=t(33215),s=t(83201),l=new WeakSet;n.wrapMcpServerWithSentry=function(e,n){if(l.has(e)||!s.validateMcpServerInstance(e))return e;let t=r.getClient(),c=!!t?.getOptions().sendDefaultPii,u={recordInputs:n?.recordInputs??c,recordOutputs:n?.recordOutputs??c};return o.fill(e,"connect",e=>async function(n,...t){let r=await e.call(this,n,...t);return a.wrapTransportOnMessage(n,u),a.wrapTransportSend(n,u),a.wrapTransportOnClose(n),a.wrapTransportError(n),r}),i.wrapAllMCPHandlers(e),l.add(e),e}},68403:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(11539),o={"tools/call":{targetField:"name",targetAttribute:r.MCP_TOOL_NAME_ATTRIBUTE,captureArguments:!0,argumentsField:"arguments"},"resources/read":{targetField:"uri",targetAttribute:r.MCP_RESOURCE_URI_ATTRIBUTE,captureUri:!0},"resources/subscribe":{targetField:"uri",targetAttribute:r.MCP_RESOURCE_URI_ATTRIBUTE},"resources/unsubscribe":{targetField:"uri",targetAttribute:r.MCP_RESOURCE_URI_ATTRIBUTE},"prompts/get":{targetField:"name",targetAttribute:r.MCP_PROMPT_NAME_ATTRIBUTE,captureName:!0,captureArguments:!0,argumentsField:"arguments"}};n.extractTargetInfo=function(e,n){let t=o[e];if(!t)return{attributes:{}};let r=t.targetField&&"string"==typeof n?.[t.targetField]?n[t.targetField]:void 0;return{target:r,attributes:r&&t.targetAttribute?{[t.targetAttribute]:r}:{}}},n.getRequestArguments=function(e,n){let t={},i=o[e];if(!i)return t;if(i.captureArguments&&i.argumentsField&&n?.[i.argumentsField]){let e=n[i.argumentsField];if("object"==typeof e&&null!==e)for(let[n,o]of Object.entries(e))t[`${r.MCP_REQUEST_ARGUMENT}.${n.toLowerCase()}`]=JSON.stringify(o)}return i.captureUri&&n?.uri&&(t[`${r.MCP_REQUEST_ARGUMENT}.uri`]=JSON.stringify(n.uri)),i.captureName&&n?.name&&(t[`${r.MCP_REQUEST_ARGUMENT}.name`]=JSON.stringify(n.name)),t}},20377:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(11539),o=new Set([r.CLIENT_ADDRESS_ATTRIBUTE,r.CLIENT_PORT_ATTRIBUTE,r.MCP_RESOURCE_URI_ATTRIBUTE]);n.filterMcpPiiFromSpanData=function(e,n){return n?e:Object.entries(e).reduce((e,[n,t])=>(o.has(n)||(e[n]=t),e),{})}},43113:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(11539),o=t(83201);n.extractPromptResultAttributes=function(e,n){let t={};if(!o.isValidContentItem(e))return t;if(n&&"string"==typeof e.description&&(t[r.MCP_PROMPT_RESULT_DESCRIPTION_ATTRIBUTE]=e.description),Array.isArray(e.messages)&&(t[r.MCP_PROMPT_RESULT_MESSAGE_COUNT_ATTRIBUTE]=e.messages.length,n)){let n=e.messages;for(let[e,r]of n.entries()){var i,a;if(!o.isValidContentItem(r))continue;let s=1===n.length?"mcp.prompt.result":`mcp.prompt.result.${e}`;if(i="role","string"==typeof(a=r.role)&&(t[1===n.length?`${s}.message_${i}`:`${s}.${i}`]=a),o.isValidContentItem(r.content)){let e=r.content;"string"==typeof e.text&&(t[1===n.length?`${s}.message_content`:`${s}.content`]=e.text)}}}return t},n.extractToolResultAttributes=function(e,n){if(!o.isValidContentItem(e))return{};let t=Array.isArray(e.content)?function(e,n){let t={[r.MCP_TOOL_RESULT_CONTENT_COUNT_ATTRIBUTE]:e.length};for(let[r,i]of e.entries()){if(!o.isValidContentItem(i))continue;let a=1===e.length?"mcp.tool.result":`mcp.tool.result.${r}`;if("string"==typeof i.type&&(t[`${a}.content_type`]=i.type),n){let e=(e,n)=>{"string"==typeof n&&(t[`${a}.${e}`]=n)};e("mime_type",i.mimeType),e("uri",i.uri),e("name",i.name),"string"==typeof i.text&&(t[`${a}.content`]=i.text),"string"==typeof i.data&&(t[`${a}.data_size`]=i.data.length);let n=i.resource;o.isValidContentItem(n)&&(e("resource_uri",n.uri),e("resource_mime_type",n.mimeType))}}return t}(e.content,n):{};return"boolean"==typeof e.isError&&(t[r.MCP_TOOL_RESULT_IS_ERROR_ATTRIBUTE]=e.isError),t}},33133:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(11539),o=t(55654),i=t(83201);function a(e){let n={};return i.isValidContentItem(e)&&("string"==typeof e.name&&(n.name=e.name),"string"==typeof e.title&&(n.title=e.title),"string"==typeof e.version&&(n.version=e.version)),n}function s(e){let n=o.getClientInfoForTransport(e),t={};return n?.name&&(t["mcp.client.name"]=n.name),n?.title&&(t["mcp.client.title"]=n.title),n?.version&&(t["mcp.client.version"]=n.version),t}function l(e){let n=o.getSessionDataForTransport(e)?.serverInfo,t={};return n?.name&&(t[r.MCP_SERVER_NAME_ATTRIBUTE]=n.name),n?.title&&(t[r.MCP_SERVER_TITLE_ATTRIBUTE]=n.title),n?.version&&(t[r.MCP_SERVER_VERSION_ATTRIBUTE]=n.version),t}function c(e){return{address:e?.requestInfo?.remoteAddress||e?.clientAddress||e?.request?.ip||e?.request?.connection?.remoteAddress,port:e?.requestInfo?.remotePort||e?.clientPort||e?.request?.connection?.remotePort}}function u(e){if(!e?.constructor)return{mcpTransport:"unknown",networkTransport:"unknown"};let n="string"==typeof e.constructor?.name?e.constructor.name:"unknown",t="unknown",r=n.toLowerCase();return r.includes("stdio")?t="pipe":(r.includes("http")||r.includes("sse"))&&(t="tcp"),{mcpTransport:n,networkTransport:t}}n.buildClientAttributesFromInfo=function(e){let n={};return e?.name&&(n["mcp.client.name"]=e.name),e?.title&&(n["mcp.client.title"]=e.title),e?.version&&(n["mcp.client.version"]=e.version),n},n.buildServerAttributesFromInfo=function(e){let n={};return e?.name&&(n[r.MCP_SERVER_NAME_ATTRIBUTE]=e.name),e?.title&&(n[r.MCP_SERVER_TITLE_ATTRIBUTE]=e.title),e?.version&&(n[r.MCP_SERVER_VERSION_ATTRIBUTE]=e.version),n},n.buildTransportAttributes=function(e,n){let t=e&&"sessionId"in e?e.sessionId:void 0,i=n?c(n):{},{mcpTransport:a,networkTransport:d}=u(e),p=s(e),m=l(e),h=o.getProtocolVersionForTransport(e);return{...t&&{[r.MCP_SESSION_ID_ATTRIBUTE]:t},...i.address&&{[r.CLIENT_ADDRESS_ATTRIBUTE]:i.address},...i.port&&{[r.CLIENT_PORT_ATTRIBUTE]:i.port},[r.MCP_TRANSPORT_ATTRIBUTE]:a,[r.NETWORK_TRANSPORT_ATTRIBUTE]:d,[r.NETWORK_PROTOCOL_VERSION_ATTRIBUTE]:"2.0",...h&&{[r.MCP_PROTOCOL_VERSION_ATTRIBUTE]:h},...p,...m}},n.extractClientInfo=c,n.extractSessionDataFromInitializeRequest=function(e){let n={};return i.isValidContentItem(e.params)&&("string"==typeof e.params.protocolVersion&&(n.protocolVersion=e.params.protocolVersion),e.params.clientInfo&&(n.clientInfo=a(e.params.clientInfo))),n},n.extractSessionDataFromInitializeResponse=function(e){let n={};return i.isValidContentItem(e)&&("string"==typeof e.protocolVersion&&(n.protocolVersion=e.protocolVersion),e.serverInfo&&(n.serverInfo=a(e.serverInfo))),n},n.getClientAttributes=s,n.getServerAttributes=l,n.getTransportTypes=u},55654:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let t=new WeakMap;n.cleanupSessionDataForTransport=function(e){t.delete(e)},n.getClientInfoForTransport=function(e){return t.get(e)?.clientInfo},n.getProtocolVersionForTransport=function(e){return t.get(e)?.protocolVersion},n.getSessionDataForTransport=function(e){return t.get(e)},n.storeSessionDataForTransport=function(e,n){e.sessionId&&t.set(e,n)},n.updateSessionDataForTransport=function(e,n){if(e.sessionId){let r=t.get(e)||{};t.set(e,{...r,...n})}}},672:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(97930),i=t(7665),a=t(70797),s=t(11539),l=t(68403),c=t(20377),u=t(33133);function d(e,n){return n?`${e} ${n}`:e}function p(e){let n,t;switch(e){case"request":n=s.MCP_SERVER_OP_VALUE,t=s.MCP_FUNCTION_ORIGIN_VALUE;break;case"notification-incoming":n=s.MCP_NOTIFICATION_CLIENT_TO_SERVER_OP_VALUE,t=s.MCP_NOTIFICATION_ORIGIN_VALUE;break;case"notification-outgoing":n=s.MCP_NOTIFICATION_SERVER_TO_CLIENT_OP_VALUE,t=s.MCP_NOTIFICATION_ORIGIN_VALUE}return{[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:n,[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:t,[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:s.MCP_ROUTE_SOURCE_VALUE}}function m(e){let n;let{type:t,message:o,transport:m,extra:h,callback:f,options:g}=e,{method:_}=o,y=o.params;if("request"===t){let e=l.extractTargetInfo(_,y||{});n=d(_,e.target)}else n=_;let v={...u.buildTransportAttributes(m,h),[s.MCP_METHOD_NAME_ATTRIBUTE]:_,...a.buildTypeSpecificAttributes(t,o,y,g?.recordInputs),...p(t)},b=r.getClient(),C=!!b?.getOptions().sendDefaultPii,T=c.filterMcpPiiFromSpanData(v,C);return i.startSpan({name:n,forceTransaction:!0,attributes:T},f)}n.buildMcpServerSpanConfig=function(e,n,t,o){let{method:i}=e,m=e.params,h=l.extractTargetInfo(i,m||{}),f=d(i,h.target),g={...u.buildTransportAttributes(n,t),[s.MCP_METHOD_NAME_ATTRIBUTE]:i,...a.buildTypeSpecificAttributes("request",e,m,o?.recordInputs),...p("request")},_=r.getClient(),y=!!_?.getOptions().sendDefaultPii,v=c.filterMcpPiiFromSpanData(g,y);return{name:f,op:s.MCP_SERVER_OP_VALUE,forceTransaction:!0,attributes:v}},n.createMcpNotificationSpan=function(e,n,t,r,o){return m({type:"notification-incoming",message:e,transport:n,extra:t,callback:o,options:r})},n.createMcpOutgoingNotificationSpan=function(e,n,t,r){return m({type:"notification-outgoing",message:e,transport:n,options:t,callback:r})}},33215:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(59315),i=t(7665),a=t(11539),s=t(26749),l=t(94065),c=t(33133),u=t(55654),d=t(672),p=t(83201);n.wrapTransportError=function(e){e.onerror&&o.fill(e,"onerror",e=>function(n){return function(e){try{l.captureError(e,"transport")}catch{}}(n),e.call(this,n)})},n.wrapTransportOnClose=function(e){e.onclose&&o.fill(e,"onclose",e=>function(...n){return s.cleanupPendingSpansForTransport(this),u.cleanupSessionDataForTransport(this),e.call(this,...n)})},n.wrapTransportOnMessage=function(e,n){e.onmessage&&o.fill(e,"onmessage",e=>function(t,o){if(p.isJsonRpcRequest(t)){let l;let p="initialize"===t.method;if(p)try{l=c.extractSessionDataFromInitializeRequest(t),u.storeSessionDataForTransport(this,l)}catch{}let m=r.getIsolationScope().clone();return r.withIsolationScope(m,()=>{let r=d.buildMcpServerSpanConfig(t,this,o,n),u=i.startInactiveSpan(r);return p&&l&&u.setAttributes({...c.buildClientAttributesFromInfo(l.clientInfo),...l.protocolVersion&&{[a.MCP_PROTOCOL_VERSION_ATTRIBUTE]:l.protocolVersion}}),s.storeSpanForRequest(this,t.id,u,t.method),i.withActiveSpan(u,()=>e.call(this,t,o))})}return p.isJsonRpcNotification(t)?d.createMcpNotificationSpan(t,this,o,n,()=>e.call(this,t,o)):e.call(this,t,o)})},n.wrapTransportSend=function(e,n){e.send&&o.fill(e,"send",e=>async function(...t){let[r]=t;if(p.isJsonRpcNotification(r))return d.createMcpOutgoingNotificationSpan(r,this,n,()=>e.call(this,...t));if(p.isJsonRpcResponse(r)&&null!==r.id&&void 0!==r.id){if(r.error&&function(e){try{if(e&&"object"==typeof e&&"code"in e&&"message"in e&&(-32603===e.code||e.code>=-32099&&e.code<=-32e3)){let n=Error(e.message);n.name=`JsonRpcError_${e.code}`,l.captureError(n,"protocol")}}catch{}}(r.error),p.isValidContentItem(r.result)&&(r.result.protocolVersion||r.result.serverInfo))try{let e=c.extractSessionDataFromInitializeResponse(r.result);u.updateSessionDataForTransport(this,e)}catch{}s.completeSpanWithResults(this,r.id,r.result,n)}return e.call(this,...t)})}},83201:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(48530);n.isJsonRpcNotification=function(e){return"object"==typeof e&&null!==e&&"jsonrpc"in e&&"2.0"===e.jsonrpc&&"method"in e&&!("id"in e)},n.isJsonRpcRequest=function(e){return"object"==typeof e&&null!==e&&"jsonrpc"in e&&"2.0"===e.jsonrpc&&"method"in e&&"id"in e},n.isJsonRpcResponse=function(e){return"object"==typeof e&&null!==e&&"jsonrpc"in e&&"2.0"===e.jsonrpc&&"id"in e&&("result"in e||"error"in e)},n.isValidContentItem=function(e){return null!=e&&"object"==typeof e},n.validateMcpServerInstance=function(e){return"object"==typeof e&&null!==e&&"resource"in e&&"tool"in e&&"prompt"in e&&"connect"in e||(r.DEBUG_BUILD&&o.debug.warn("Did not patch MCP server. Interface is incompatible."),!1)}},48904:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(74030),o=t(76208),i=t(49622),a=r.defineIntegration(()=>({name:"ModuleMetadata",setup(e){e.on("beforeEnvelope",e=>{i.forEachEnvelopeItem(e,(e,n)=>{if("event"===n){let n=Array.isArray(e)?e[1]:void 0;n&&(o.stripMetadataFromStackFrames(n),e[1]=n)}})}),e.on("applyFrameMetadata",n=>{if(n.type)return;let t=e.getOptions().stackParser;o.addMetadataToStackFrames(t,n)})}}));n.moduleMetadataIntegration=a},35814:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(74030),o=t(46648),i=t(99774),a={cookies:!0,data:!0,headers:!0,query_string:!0,url:!0},s=r.defineIntegration((e={})=>{let n={...a,...e.include};return{name:"RequestData",processEvent(e,t,r){let{sdkProcessingMetadata:a={}}=e,{normalizedRequest:s,ipAddress:l}=a,c={...n,ip:n.ip??r.getOptions().sendDefaultPii};return s&&function(e,n,t,r){if(e.request={...e.request,...function(e,n){let t={},r={...e.headers};if(n.headers&&(t.headers=r,n.cookies||delete r.cookie,n.ip||i.ipHeaderNames.forEach(e=>{delete r[e]})),t.method=e.method,n.url&&(t.url=e.url),n.cookies){let n=e.cookies||(r?.cookie?o.parseCookie(r.cookie):void 0);t.cookies=n||{}}return n.query_string&&(t.query_string=e.query_string),n.data&&(t.data=e.data),t}(n,r)},r.ip){let r=n.headers&&i.getClientIPAddress(n.headers)||t.ipAddress;r&&(e.user={...e.user,ip_address:r})}}(e,s,{ipAddress:l},c),e}}});n.requestDataIntegration=s},12429:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(74030),o=t(31586),i=t(40205),a=r.defineIntegration((e={})=>{let n=e.root,t=e.prefix||"app:///",r="window"in i.GLOBAL_OBJ&&!!i.GLOBAL_OBJ.window,o=e.iteratee||s({isBrowser:r,root:n,prefix:t});return{name:"RewriteFrames",processEvent(e){let n=e;return e.exception&&Array.isArray(e.exception.values)&&(n=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var n;return{...e,...e.stacktrace&&{stacktrace:{...n=e.stacktrace,frames:n?.frames?.map(e=>o(e))}}}})}}}catch{return e}}(n)),n}}});function s({isBrowser:e,root:n,prefix:t}){return r=>{if(!r.filename)return r;let i=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),a=/^\//.test(r.filename);if(e){if(n){let e=r.filename;0===e.indexOf(n)&&(r.filename=e.replace(n,t))}}else if(i||a){let e=i?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,a=n?o.relative(n,e):o.basename(e);r.filename=`${t}${a}`}return r}}n.generateIteratee=s,n.rewriteFramesIntegration=a},90962:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(53172),o=t(43147),i=t(17528),a=t(74030),s=t(97930),l=t(48530),c=t(62274),u=t(88025),d=t(5978),p=t(7665),m=["reauthenticate","signInAnonymously","signInWithOAuth","signInWithIdToken","signInWithOtp","signInWithPassword","signInWithSSO","signOut","signUp","verifyOtp"],h=["createUser","deleteUser","listUsers","getUserById","updateUserById","inviteUserByEmail"],f={eq:"eq",neq:"neq",gt:"gt",gte:"gte",lt:"lt",lte:"lte",like:"like","like(all)":"likeAllOf","like(any)":"likeAnyOf",ilike:"ilike","ilike(all)":"ilikeAllOf","ilike(any)":"ilikeAnyOf",is:"is",in:"in",cs:"contains",cd:"containedBy",sr:"rangeGt",nxl:"rangeGte",sl:"rangeLt",nxr:"rangeLte",adj:"rangeAdjacent",ov:"overlaps",fts:"",plfts:"plain",phfts:"phrase",wfts:"websearch",not:"not"},g=["select","insert","upsert","update","delete"];function _(e){try{e.__SENTRY_INSTRUMENTED__=!0}catch{}}function y(e){try{return e.__SENTRY_INSTRUMENTED__}catch{return!1}}function v(e,n={}){switch(e){case"GET":return"select";case"POST":if(n.Prefer?.includes("resolution="))return"upsert";return"insert";case"PATCH":return"update";case"DELETE":return"delete";default:return""}}function b(e,n){let t;if(""===n||"*"===n)return"select(*)";if("select"===e)return`select(${n})`;if("or"===e||e.endsWith(".or"))return`${e}${n}`;let[r,...o]=n.split(".");return t=r?.startsWith("fts")?"textSearch":r?.startsWith("plfts")?"textSearch[plain]":r?.startsWith("phfts")?"textSearch[phrase]":r?.startsWith("wfts")?"textSearch[websearch]":r&&f[r]||"filter",`${t}(${e}, ${o.join(".")})`}function C(e,n=!1){return new Proxy(e,{apply:(t,r,o)=>p.startSpan({name:`auth ${n?"(admin) ":""}${e.name}`,attributes:{[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.db.supabase",[s.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"db","db.system":"postgresql","db.operation":`auth.${n?"admin.":""}${e.name}`}},e=>Reflect.apply(t,r,o).then(n=>(n&&"object"==typeof n&&"error"in n&&n.error?(e.setStatus({code:d.SPAN_STATUS_ERROR}),i.captureException(n.error,{mechanism:{handled:!1,type:"auto.db.supabase.auth"}})):e.setStatus({code:d.SPAN_STATUS_OK}),e.end(),n)).catch(n=>{throw e.setStatus({code:d.SPAN_STATUS_ERROR}),e.end(),i.captureException(n,{mechanism:{handled:!1,type:"auto.db.supabase.auth"}}),n}).then(...o))})}let T=e=>{var n;if(!e){o.DEBUG_BUILD&&l.debug.warn("Supabase integration was not installed because no Supabase client was provided.");return}y((n=e.constructor===Function?e:e.constructor).prototype.from)||(n.prototype.from=new Proxy(n.prototype.from,{apply(e,n,t){let a=Reflect.apply(e,n,t);return function(e){for(let n of g)y(e.prototype[n])||(e.prototype[n]=new Proxy(e.prototype[n],{apply(e,t,a){let m=Reflect.apply(e,t,a),h=m.constructor;return o.DEBUG_BUILD&&l.debug.log(`Instrumenting ${n} operation's PostgRESTFilterBuilder`),y(h.prototype.then)||(h.prototype.then=new Proxy(h.prototype.then,{apply(e,n,t){let o=v(n.method,n.headers);if(!g.includes(o)||!n?.url?.pathname||"string"!=typeof n.url.pathname)return Reflect.apply(e,n,t);let a=n.url.pathname.split("/"),l=a.length>0?a[a.length-1]:"",m=[];for(let[e,t]of n.url.searchParams.entries())m.push(b(e,t));let h=Object.create(null);if(u.isPlainObject(n.body))for(let[e,t]of Object.entries(n.body))h[e]=t;let f=`${"select"===o?"":`${o}${h?"(...) ":""}`}${m.join(" ")} from(${l})`,_={"db.table":l,"db.schema":n.schema,"db.url":n.url.origin,"db.sdk":n.headers["X-Client-Info"],"db.system":"postgresql","db.operation":o,[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.db.supabase",[s.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"db"};return m.length&&(_["db.query"]=m),Object.keys(h).length&&(_["db.body"]=h),p.startSpan({name:f,attributes:_},a=>Reflect.apply(e,n,[]).then(e=>{if(a&&(e&&"object"==typeof e&&"status"in e&&d.setHttpStatus(a,e.status||500),a.end()),e.error){let n=Error(e.error.message);e.error.code&&(n.code=e.error.code),e.error.details&&(n.details=e.error.details);let t={};m.length&&(t.query=m),Object.keys(h).length&&(t.body=h),i.captureException(n,e=>(e.addEventProcessor(e=>(c.addExceptionMechanism(e,{handled:!1,type:"auto.db.supabase.postgres"}),e)),e.setContext("supabase",t),e))}let n={type:"supabase",category:`db.${o}`,message:f},t={};return m.length&&(t.query=m),Object.keys(h).length&&(t.body=h),Object.keys(t).length&&(n.data=t),r.addBreadcrumb(n),e},e=>{throw a&&(d.setHttpStatus(a,500),a.end()),e}).then(...t))}}),_(h.prototype.then)),m}}),_(e.prototype[n]))}(a.constructor),a}}),_(n.prototype.from)),function(e){let n=e.auth;if(!(!n||y(e.auth))){for(let t of m){let r=n[t];r&&"function"==typeof e.auth[t]&&(e.auth[t]=C(r))}for(let t of h){let r=n.admin[t];r&&"function"==typeof e.auth.admin[t]&&(e.auth.admin[t]=C(r,!0))}_(e.auth)}}(e)},S=e=>({setupOnce(){T(e)},name:"Supabase"}),k=a.defineIntegration(e=>S(e.supabaseClient));n.DB_OPERATIONS_TO_INSTRUMENT=g,n.FILTER_MAPPINGS=f,n.extractOperation=v,n.instrumentSupabaseClient=T,n.supabaseIntegration=k,n.translateFiltersIntoMethods=b},44450:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(74030),o=t(76208),i=t(49622),a=t(30388),s=r.defineIntegration(e=>({name:"ThirdPartyErrorsFilter",setup(e){e.on("beforeEnvelope",e=>{i.forEachEnvelopeItem(e,(e,n)=>{if("event"===n){let n=Array.isArray(e)?e[1]:void 0;n&&(o.stripMetadataFromStackFrames(n),e[1]=n)}})}),e.on("applyFrameMetadata",n=>{if(n.type)return;let t=e.getOptions().stackParser;o.addMetadataToStackFrames(t,n)})},processEvent(n){let t=function(e,n){let t=a.getFramesFromEvent(e);if(t)return t.filter((e,t)=>!!e.filename&&(null!=e.lineno||null!=e.colno||null!=e.instruction_addr)&&(!n||!function(e,n){if(0!==n||!e.context_line||!e.filename||!e.filename.includes("sentry")||!e.filename.includes("helpers")||!e.context_line.includes(u))return!1;if(e.pre_context){let n=e.pre_context.length;for(let t=0;te.module_metadata?Object.keys(e.module_metadata).filter(e=>e.startsWith(l)).map(e=>e.slice(l.length)):[])}(n,e.ignoreSentryInternalFrames);if(t&&t["drop-error-if-contains-third-party-frames"===e.behaviour||"apply-tag-if-contains-third-party-frames"===e.behaviour?"some":"every"](n=>!n.some(n=>e.filterKeys.includes(n)))){if("drop-error-if-contains-third-party-frames"===e.behaviour||"drop-error-if-exclusively-contains-third-party-frames"===e.behaviour)return null;n.tags={...n.tags,third_party_code:!0}}return n}})),l="_sentryBundlerPluginAppKey:",c="Attempt to invoke user-land function",u="fn.apply(this, wrappedArguments)";n.thirdPartyErrorFilterIntegration=s},61860:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(74030),o=t(88025),i=t(53850);function a(e){return{...e,path:"path"in e&&Array.isArray(e.path)?e.path.join("."):void 0,keys:"keys"in e?JSON.stringify(e.keys):void 0,unionErrors:"unionErrors"in e?JSON.stringify(e.unionErrors):void 0}}function s(e){return e.map(e=>"number"==typeof e?"":e).join(".")}function l(e){let n=new Set;for(let t of e.issues){let e=s(t.path);e.length>0&&n.add(e)}let t=Array.from(n);if(0===t.length){let n="variable";if(e.issues.length>0){let t=e.issues[0];void 0!==t&&"expected"in t&&"string"==typeof t.expected&&(n=t.expected)}return`Failed to validate ${n}`}return`Failed to validate keys: ${i.truncate(t.join(", "),100)}`}function c(e,n=!1,t,r){var i;if(!t.exception?.values||!r.originalException||(i=r.originalException,!(o.isError(i)&&"ZodError"===i.name&&Array.isArray(i.issues)))||0===r.originalException.issues.length)return t;try{let o=(n?r.originalException.issues:r.originalException.issues.slice(0,e)).map(a);return n&&(Array.isArray(r.attachments)||(r.attachments=[]),r.attachments.push({filename:"zod_issues.json",data:JSON.stringify({issues:o})})),{...t,exception:{...t.exception,values:[{...t.exception.values[0],value:l(r.originalException)},...t.exception.values.slice(1)]},extra:{...t.extra,"zoderror.issues":o.slice(0,e)}}}catch(e){return{...t,extra:{...t.extra,"zoderrors sentry integration parse error":{message:"an exception was thrown while processing ZodError within applyZodErrorsToEvent()",error:e instanceof Error?`${e.name}: ${e.message} ${e.stack}`:"unknown"}}}}}let u=r.defineIntegration((e={})=>{let n=e.limit??10;return{name:"ZodErrors",processEvent:(t,r)=>c(n,e.saveZodIssuesAsAttachment,t,r)}});n.applyZodErrorsToEvent=c,n.flattenIssue=a,n.flattenIssuePath=s,n.formatIssueMessage=l,n.zodErrorsIntegration=u},31629:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(43147),i=t(86503),a=t(74030),s=t(97930),l=t(48530),c=t(70179),u=t(46435),d={[s.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.log.console"},p=a.defineIntegration((e={})=>{let n=e.levels||l.CONSOLE_LEVELS;return{name:"ConsoleLogs",setup(e){let{enableLogs:t,normalizeDepth:a=3,normalizeMaxBreadth:s=1e3}=e.getOptions();if(!t){o.DEBUG_BUILD&&l.debug.warn("`enableLogs` is not enabled, ConsoleLogs integration disabled");return}i.addConsoleInstrumentationHandler(({args:t,level:o})=>{if(r.getClient()!==e||!n.includes(o))return;let i=t[0],l=t.slice(1);if("assert"===o){if(!i){let e=l.length>0?`Assertion failed: ${u.formatConsoleArgs(l,a,s)}`:"Assertion failed";c._INTERNAL_captureLog({level:"error",message:e,attributes:d})}return}let p="log"===o,m=t.length>1&&"string"==typeof t[0]&&!u.hasConsoleSubstitutions(t[0]),h={...d,...m?u.createConsoleTemplateAttributes(i,l):{}};c._INTERNAL_captureLog({level:p?"info":o,message:u.formatConsoleArgs(t,a,s),severityNumber:p?10:void 0,attributes:h})})}}});n.consoleLoggingIntegration=p},12479:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.SEVERITY_TEXT_TO_SEVERITY_NUMBER={trace:1,debug:5,info:9,warn:13,error:17,fatal:21}},81481:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(79575),o=t(49622);function i(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}n.createLogContainerEnvelopeItem=i,n.createLogEnvelope=function(e,n,t,a){let s={};return n?.sdk&&(s.sdk={name:n.sdk.name,version:n.sdk.version}),t&&a&&(s.dsn=r.dsnToString(a)),o.createEnvelope(s,[i(e)])}},70179:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(38020),o=t(7975),i=t(70249),a=t(43147),s=t(48530),l=t(88025),c=t(75222),u=t(25156),d=t(83884),p=t(45815),m=t(12479),h=t(81481);function f(e,n,t,r=!0){t&&(!e[n]||r)&&(e[n]=t)}function g(e,n){let t=v(),r=y(e);void 0===r?t.set(e,[n]):r.length>=100?(_(e,r),t.set(e,[n])):t.set(e,[...r,n])}function _(e,n){let t=n??y(e)??[];if(0===t.length)return;let r=e.getOptions(),o=h.createLogEnvelope(t,r._metadata,r.tunnel,e.getDsn());v().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(o)}function y(e){return v().get(e)}function v(){return o.getGlobalSingleton("clientToLogBufferMap",()=>new WeakMap)}n._INTERNAL_captureLog=function(e,n=i.getCurrentScope(),t=g){let o=n?.getClient()??i.getClient();if(!o){a.DEBUG_BUILD&&s.debug.warn("No client available to capture log.");return}let{release:h,environment:_,enableLogs:y=!1,beforeSendLog:v}=o.getOptions();if(!y){a.DEBUG_BUILD&&s.debug.warn("logging option not enabled, log will not be captured.");return}let[,b]=p._getTraceInfoFromScope(o,n),C={...e.attributes},{user:{id:T,email:S,username:k},attributes:E={}}=c.getCombinedScopeData(i.getIsolationScope(),n);f(C,"user.id",T,!1),f(C,"user.email",S,!1),f(C,"user.name",k,!1),f(C,"sentry.release",h),f(C,"sentry.environment",_);let{name:R,version:I}=o.getSdkMetadata()?.sdk??{};f(C,"sentry.sdk.name",R),f(C,"sentry.sdk.version",I);let A=o.getIntegrationByName("Replay"),w=A?.getReplayId(!0);f(C,"sentry.replay_id",w),w&&A?.getRecordingMode()==="buffer"&&f(C,"sentry._internal.replay_is_buffering",!0);let x=e.message;if(l.isParameterizedString(x)){let{__sentry_template_string__:e,__sentry_template_values__:n=[]}=x;n?.length&&(C["sentry.message.template"]=e),n.forEach((e,n)=>{C[`sentry.message.parameter.${n}`]=e})}let P=u._getSpanForScope(n);f(C,"sentry.trace.parent_span_id",P?.spanContext().spanId);let B={...e,attributes:C};o.emit("beforeCaptureLog",B);let N=v?s.consoleSandbox(()=>v(B)):B;if(!N){o.recordDroppedEvent("before_send","log_item",1),a.DEBUG_BUILD&&s.debug.warn("beforeSendLog returned null, log will not be captured.");return}let{level:O,message:L,attributes:M={},severityNumber:j}=N;t(o,{timestamp:d.timestampInSeconds(),level:O,body:L,trace_id:b?.trace_id,severity_number:j??m.SEVERITY_TEXT_TO_SEVERITY_NUMBER[O],attributes:{...r.serializeAttributes(E),...r.serializeAttributes(M,!0)}}),o.emit("afterCaptureLog",N)},n._INTERNAL_captureSerializedLog=g,n._INTERNAL_flushLogsBuffer=_,n._INTERNAL_getLogBuffer=y},89281:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70179),o=t(84492);function i(e,n,t,o,i){r._INTERNAL_captureLog({level:e,message:n,attributes:t,severityNumber:i},o)}n.fmt=o.fmt,n.debug=function(e,n,{scope:t}={}){i("debug",e,n,t)},n.error=function(e,n,{scope:t}={}){i("error",e,n,t)},n.fatal=function(e,n,{scope:t}={}){i("fatal",e,n,t)},n.info=function(e,n,{scope:t}={}){i("info",e,n,t)},n.trace=function(e,n,{scope:t}={}){i("trace",e,n,t)},n.warn=function(e,n,{scope:t}={}){i("warn",e,n,t)}},46435:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(88025),o=t(73915),i=t(40205);function a(e,n,t){return e.map(e=>r.isPrimitive(e)?String(e):JSON.stringify(o.normalize(e,n,t))).join(" ")}n.createConsoleTemplateAttributes=function(e,n){let t={},r=Array(n.length).fill("{}").join(" ");return t["sentry.message.template"]=`${e} ${r}`,n.forEach((e,n)=>{t[`sentry.message.parameter.${n}`]=e}),t},n.formatConsoleArgs=function(e,n,t){return"util"in i.GLOBAL_OBJ&&"function"==typeof i.GLOBAL_OBJ.util.format?i.GLOBAL_OBJ.util.format(...e):a(e,n,t)},n.hasConsoleSubstitutions=function(e){return/%[sdifocO]/.test(e)},n.safeJoinConsoleArgs=a},76208:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(40205),o=new Map,i=new Set;function a(e,n){return!function(e){if(r.GLOBAL_OBJ._sentryModuleMetadata)for(let n of Object.keys(r.GLOBAL_OBJ._sentryModuleMetadata)){let t=r.GLOBAL_OBJ._sentryModuleMetadata[n];if(!i.has(n)){for(let r of(i.add(n),e(n).reverse()))if(r.filename){o.set(r.filename,t);break}}}}(e),o.get(n)}n.addMetadataToStackFrames=function(e,n){n.exception?.values?.forEach(n=>{n.stacktrace?.frames?.forEach(n=>{if(!n.filename||n.module_metadata)return;let t=a(e,n.filename);t&&(n.module_metadata=t)})})},n.getFilenameToMetadataMap=function(e){if(!r.GLOBAL_OBJ._sentryModuleMetadata)return{};let n={};for(let t of Object.keys(r.GLOBAL_OBJ._sentryModuleMetadata)){let o=r.GLOBAL_OBJ._sentryModuleMetadata[t];for(let r of e(t).reverse())if(r.filename){n[r.filename]=o;break}}return n},n.getMetadataForUrl=a,n.stripMetadataFromStackFrames=function(e){e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{delete e.module_metadata})})}},78079:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(79575),o=t(49622);function i(e){return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]}n.createMetricContainerEnvelopeItem=i,n.createMetricEnvelope=function(e,n,t,a){let s={};return n?.sdk&&(s.sdk={name:n.sdk.name,version:n.sdk.version}),t&&a&&(s.dsn=r.dsnToString(a)),o.createEnvelope(s,[i(e)])}},27467:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(38020),o=t(7975),i=t(70249),a=t(43147),s=t(48530),l=t(75222),c=t(25156),u=t(83884),d=t(45815),p=t(78079);function m(e,n,t,r=!0){!t||!r&&n in e||(e[n]=t)}function h(e,n){let t=_(),r=g(e);void 0===r?t.set(e,[n]):r.length>=1e3?(f(e,r),t.set(e,[n])):t.set(e,[...r,n])}function f(e,n){let t=n??g(e)??[];if(0===t.length)return;let r=e.getOptions(),o=p.createMetricEnvelope(t,r._metadata,r.tunnel,e.getDsn());_().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(o)}function g(e){return _().get(e)}function _(){return o.getGlobalSingleton("clientToMetricBufferMap",()=>new WeakMap)}n._INTERNAL_captureMetric=function(e,n){let t=n?.scope??i.getCurrentScope(),o=n?.captureSerializedMetric??h,p=t?.getClient()??i.getClient();if(!p){a.DEBUG_BUILD&&s.debug.warn("No client available to capture metric.");return}let{_experiments:f,enableMetrics:g,beforeSendMetric:_}=p.getOptions();if(!(g??f?.enableMetrics??!0)){a.DEBUG_BUILD&&s.debug.warn("metrics option not enabled, metric will not be captured.");return}let{user:y,attributes:v}=l.getCombinedScopeData(i.getIsolationScope(),t),b=function(e,n,t){let{release:r,environment:o}=n.getOptions(),i={...e.attributes};m(i,"user.id",t.id,!1),m(i,"user.email",t.email,!1),m(i,"user.name",t.username,!1),m(i,"sentry.release",r),m(i,"sentry.environment",o);let{name:a,version:s}=n.getSdkMetadata()?.sdk??{};m(i,"sentry.sdk.name",a),m(i,"sentry.sdk.version",s);let l=n.getIntegrationByName("Replay"),c=l?.getReplayId(!0);return m(i,"sentry.replay_id",c),c&&l?.getRecordingMode()==="buffer"&&m(i,"sentry._internal.replay_is_buffering",!0),{...e,attributes:i}}(e,p,y);p.emit("processMetric",b);let C=_||f?.beforeSendMetric,T=C?C(b):b;if(!T){a.DEBUG_BUILD&&s.debug.log("`beforeSendMetric` returned `null`, will not send metric.");return}let S=function(e,n,t,o){let[,i]=d._getTraceInfoFromScope(n,t),a=c._getSpanForScope(t),s=a?a.spanContext().traceId:i?.trace_id,l=a?a.spanContext().spanId:void 0;return{timestamp:u.timestampInSeconds(),trace_id:s??"",span_id:l,name:e.name,type:e.type,unit:e.unit,value:e.value,attributes:{...r.serializeAttributes(o),...r.serializeAttributes(e.attributes,"skip-undefined")}}}(T,p,t,v);a.DEBUG_BUILD&&s.debug.log("[Metric]",S),o(p,S),p.emit("afterCaptureMetric",T)},n._INTERNAL_captureSerializedMetric=h,n._INTERNAL_flushMetricsBuffer=f,n._INTERNAL_getMetricBuffer=g},3983:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(27467);function o(e,n,t,o){r._INTERNAL_captureMetric({type:e,name:n,value:t,unit:o?.unit,attributes:o?.attributes},{scope:o?.scope})}n.count=function(e,n=1,t){o("counter",e,n,t)},n.distribution=function(e,n,t){o("distribution",e,n,t)},n.gauge=function(e,n,t){o("gauge",e,n,t)}},7882:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(43147),i=t(48530);function a(e){return!!e&&void 0!==e._profiler&&"function"==typeof e._profiler.start&&"function"==typeof e._profiler.stop}n.profiler={startProfiler:function(){let e=r.getClient();if(!e){o.DEBUG_BUILD&&i.debug.warn("No Sentry client available, profiling is not started");return}let n=e.getIntegrationByName("ProfilingIntegration");if(!n){o.DEBUG_BUILD&&i.debug.warn("ProfilingIntegration is not available");return}if(!a(n)){o.DEBUG_BUILD&&i.debug.warn("Profiler is not available on profiling integration.");return}n._profiler.start()},stopProfiler:function(){let e=r.getClient();if(!e){o.DEBUG_BUILD&&i.debug.warn("No Sentry client available, profiling is not started");return}let n=e.getIntegrationByName("ProfilingIntegration");if(!n){o.DEBUG_BUILD&&i.debug.warn("ProfilingIntegration is not available");return}if(!a(n)){o.DEBUG_BUILD&&i.debug.warn("Profiler is not available on profiling integration.");return}n._profiler.stop()}}},15100:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(45177),i=t(48530),a=t(88025),s=t(90687),l=t(62274),c=t(76216),u=t(42221),d=t(25156),p=t(53850),m=t(83884);class h{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:c.generateTraceId(),sampleRand:u.safeMathRandom()}}clone(){let e=new h;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,d._setSpanForScope(e,d._getSpanForScope(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&o.updateSession(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,n){return this.setTags({[e]:n})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,n){return this.setAttributes({[e]:n})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,n){return this._extra={...this._extra,[e]:n},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,n){return null===n?delete this._contexts[e]:this._contexts[e]=n,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let n="function"==typeof e?e(this):e,{tags:t,attributes:r,extra:o,user:i,contexts:s,level:l,fingerprint:c=[],propagationContext:u}=(n instanceof h?n.getScopeData():a.isPlainObject(n)?e:void 0)||{};return this._tags={...this._tags,...t},this._attributes={...this._attributes,...r},this._extra={...this._extra,...o},this._contexts={...this._contexts,...s},i&&Object.keys(i).length&&(this._user=i),l&&(this._level=l),c.length&&(this._fingerprint=c),u&&(this._propagationContext=u),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,d._setSpanForScope(this,void 0),this._attachments=[],this.setPropagationContext({traceId:c.generateTraceId(),sampleRand:u.safeMathRandom()}),this._notifyScopeListeners(),this}addBreadcrumb(e,n){let t="number"==typeof n?n:100;if(t<=0)return this;let r={timestamp:m.dateTimestampInSeconds(),...e,message:e.message?p.truncate(e.message,2048):e.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>t&&(this._breadcrumbs=this._breadcrumbs.slice(-t),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:d._getSpanForScope(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=s.merge(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){let t=n?.event_id||l.uuid4();if(!this._client)return r.DEBUG_BUILD&&i.debug.warn("No client configured on scope - will not capture exception!"),t;let o=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:o,...n,event_id:t},this),t}captureMessage(e,n,t){let o=t?.event_id||l.uuid4();if(!this._client)return r.DEBUG_BUILD&&i.debug.warn("No client configured on scope - will not capture message!"),o;let a=t?.syntheticException??Error(e);return this._client.captureMessage(e,n,{originalException:e,syntheticException:a,...t,event_id:o},this),o}captureEvent(e,n){let t=n?.event_id||l.uuid4();return this._client?this._client.captureEvent(e,{...n,event_id:t},this):r.DEBUG_BUILD&&i.debug.warn("No client configured on scope - will not capture event!"),t}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}n.Scope=h},67342:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(43147),i=t(48530);function a(e){r.getCurrentScope().setClient(e)}n.initAndBind=function(e,n){!0===n.debug&&(o.DEBUG_BUILD?i.debug.enable():i.consoleSandbox(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),r.getCurrentScope().update(n.initialScope);let t=new e(n);return a(t),t.init(),t},n.setCurrentClient=a},97930:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.SEMANTIC_ATTRIBUTE_CACHE_HIT="cache.hit",n.SEMANTIC_ATTRIBUTE_CACHE_ITEM_SIZE="cache.item_size",n.SEMANTIC_ATTRIBUTE_CACHE_KEY="cache.key",n.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME="sentry.exclusive_time",n.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD="http.request.method",n.SEMANTIC_ATTRIBUTE_PROFILE_ID="sentry.profile_id",n.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME="sentry.custom_span_name",n.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON="sentry.idle_span_finish_reason",n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT="sentry.measurement_unit",n.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE="sentry.measurement_value",n.SEMANTIC_ATTRIBUTE_SENTRY_OP="sentry.op",n.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN="sentry.origin",n.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE="sentry.previous_trace_sample_rate",n.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE="sentry.sample_rate",n.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE="sentry.source",n.SEMANTIC_ATTRIBUTE_URL_FULL="url.full",n.SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE="sentry.link.type"},58889:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(66142),o=t(39430),i=t(70249),a=t(43147),s=t(20503),l=t(48530),c=t(62274),u=t(40162),d=t(6315),p=t(7233),m=t(45815);class h extends o.Client{constructor(e){s.registerSpanErrorInstrumentation(),u.addUserAgentToTransportHeaders(e),super(e),this._setUpMetricsProcessing()}eventFromException(e,n){let t=d.eventFromUnknownInput(this,this._options.stackParser,e,n);return t.level="error",p.resolvedSyncPromise(t)}eventFromMessage(e,n="info",t){return p.resolvedSyncPromise(d.eventFromMessage(this._options.stackParser,e,n,t,this._options.attachStacktrace))}captureException(e,n,t){return f(n),super.captureException(e,n,t)}captureEvent(e,n,t){return!e.type&&e.exception?.values&&e.exception.values.length>0&&f(n),super.captureEvent(e,n,t)}captureCheckIn(e,n,t){let o="checkInId"in e&&e.checkInId?e.checkInId:c.uuid4();if(!this._isEnabled())return a.DEBUG_BUILD&&l.debug.warn("SDK not enabled, will not capture check-in."),o;let{release:i,environment:s,tunnel:u}=this.getOptions(),d={check_in_id:o,monitor_slug:e.monitorSlug,status:e.status,release:i,environment:s};"duration"in e&&(d.duration=e.duration),n&&(d.monitor_config={schedule:n.schedule,checkin_margin:n.checkinMargin,max_runtime:n.maxRuntime,timezone:n.timezone,failure_issue_threshold:n.failureIssueThreshold,recovery_threshold:n.recoveryThreshold});let[p,h]=m._getTraceInfoFromScope(this,t);h&&(d.contexts={trace:h});let f=r.createCheckInEnvelope(d,p,this.getSdkMetadata(),u,this.getDsn());return a.DEBUG_BUILD&&l.debug.log("Sending checkin:",e.monitorSlug,e.status),this.sendEnvelope(f),o}_prepareEvent(e,n,t,r){return this._options.platform&&(e.platform=e.platform||this._options.platform),this._options.runtime&&(e.contexts={...e.contexts,runtime:e.contexts?.runtime||this._options.runtime}),this._options.serverName&&(e.server_name=e.server_name||this._options.serverName),super._prepareEvent(e,n,t,r)}_setUpMetricsProcessing(){this.on("processMetric",e=>{this._options.serverName&&(e.attributes={"server.address":this._options.serverName,...e.attributes})})}}function f(e){let n=i.getIsolationScope().getScopeData().sdkProcessingMetadata.requestSession;if(n){let t=e?.mechanism?.handled??!0;t&&"crashed"!==n.status?n.status="errored":t||(n.status="crashed")}}n.ServerRuntimeClient=h},45177:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(62274),o=t(83884);function i(e,n={}){if(!n.user||(!e.ipAddress&&n.user.ip_address&&(e.ipAddress=n.user.ip_address),e.did||n.did||(e.did=n.user.id||n.user.email||n.user.username)),e.timestamp=n.timestamp||o.timestampInSeconds(),n.abnormal_mechanism&&(e.abnormal_mechanism=n.abnormal_mechanism),n.ignoreDuration&&(e.ignoreDuration=n.ignoreDuration),n.sid&&(e.sid=32===n.sid.length?n.sid:r.uuid4()),void 0!==n.init&&(e.init=n.init),!e.did&&n.did&&(e.did=`${n.did}`),"number"==typeof n.started&&(e.started=n.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof n.duration)e.duration=n.duration;else{let n=e.timestamp-e.started;e.duration=n>=0?n:0}n.release&&(e.release=n.release),n.environment&&(e.environment=n.environment),!e.ipAddress&&n.ipAddress&&(e.ipAddress=n.ipAddress),!e.userAgent&&n.userAgent&&(e.userAgent=n.userAgent),"number"==typeof n.errors&&(e.errors=n.errors),n.status&&(e.status=n.status)}n.closeSession=function(e,n){let t={};n?t={status:n}:"ok"===e.status&&(t={status:"exited"}),i(e,t)},n.makeSession=function(e){let n=o.timestampInSeconds(),t={sid:r.uuid4(),init:!0,timestamp:n,started:n,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})};return e&&i(t,e),t},n.updateSession=i},75480:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.ANTHROPIC_AI_RESPONSE_TIMESTAMP_ATTRIBUTE="anthropic.response.timestamp",n.GEN_AI_AGENT_NAME_ATTRIBUTE="gen_ai.agent.name",n.GEN_AI_CONVERSATION_ID_ATTRIBUTE="gen_ai.conversation.id",n.GEN_AI_EMBED_DO_EMBED_OPERATION_ATTRIBUTE="gen_ai.embed",n.GEN_AI_EMBED_MANY_DO_EMBED_OPERATION_ATTRIBUTE="gen_ai.embed_many",n.GEN_AI_EXECUTE_TOOL_OPERATION_ATTRIBUTE="gen_ai.execute_tool",n.GEN_AI_GENERATE_OBJECT_DO_GENERATE_OPERATION_ATTRIBUTE="gen_ai.generate_object",n.GEN_AI_GENERATE_TEXT_DO_GENERATE_OPERATION_ATTRIBUTE="gen_ai.generate_text",n.GEN_AI_INVOKE_AGENT_OPERATION_ATTRIBUTE="gen_ai.invoke_agent",n.GEN_AI_OPERATION_NAME_ATTRIBUTE="gen_ai.operation.name",n.GEN_AI_PIPELINE_NAME_ATTRIBUTE="gen_ai.pipeline.name",n.GEN_AI_PROMPT_ATTRIBUTE="gen_ai.prompt",n.GEN_AI_REQUEST_AVAILABLE_TOOLS_ATTRIBUTE="gen_ai.request.available_tools",n.GEN_AI_REQUEST_DIMENSIONS_ATTRIBUTE="gen_ai.request.dimensions",n.GEN_AI_REQUEST_ENCODING_FORMAT_ATTRIBUTE="gen_ai.request.encoding_format",n.GEN_AI_REQUEST_FREQUENCY_PENALTY_ATTRIBUTE="gen_ai.request.frequency_penalty",n.GEN_AI_REQUEST_MAX_TOKENS_ATTRIBUTE="gen_ai.request.max_tokens",n.GEN_AI_REQUEST_MESSAGES_ATTRIBUTE="gen_ai.request.messages",n.GEN_AI_REQUEST_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE="gen_ai.request.messages.original_length",n.GEN_AI_REQUEST_MODEL_ATTRIBUTE="gen_ai.request.model",n.GEN_AI_REQUEST_PRESENCE_PENALTY_ATTRIBUTE="gen_ai.request.presence_penalty",n.GEN_AI_REQUEST_STREAM_ATTRIBUTE="gen_ai.request.stream",n.GEN_AI_REQUEST_TEMPERATURE_ATTRIBUTE="gen_ai.request.temperature",n.GEN_AI_REQUEST_TOP_K_ATTRIBUTE="gen_ai.request.top_k",n.GEN_AI_REQUEST_TOP_P_ATTRIBUTE="gen_ai.request.top_p",n.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE="gen_ai.response.finish_reasons",n.GEN_AI_RESPONSE_ID_ATTRIBUTE="gen_ai.response.id",n.GEN_AI_RESPONSE_MODEL_ATTRIBUTE="gen_ai.response.model",n.GEN_AI_RESPONSE_STOP_REASON_ATTRIBUTE="gen_ai.response.stop_reason",n.GEN_AI_RESPONSE_STREAMING_ATTRIBUTE="gen_ai.response.streaming",n.GEN_AI_RESPONSE_TEXT_ATTRIBUTE="gen_ai.response.text",n.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE="gen_ai.response.tool_calls",n.GEN_AI_STREAM_OBJECT_DO_STREAM_OPERATION_ATTRIBUTE="gen_ai.stream_object",n.GEN_AI_STREAM_TEXT_DO_STREAM_OPERATION_ATTRIBUTE="gen_ai.stream_text",n.GEN_AI_SYSTEM_ATTRIBUTE="gen_ai.system",n.GEN_AI_USAGE_CACHE_CREATION_INPUT_TOKENS_ATTRIBUTE="gen_ai.usage.cache_creation_input_tokens",n.GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS_ATTRIBUTE="gen_ai.usage.cache_read_input_tokens",n.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE="gen_ai.usage.input_tokens",n.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE="gen_ai.usage.input_tokens.cached",n.GEN_AI_USAGE_INPUT_TOKENS_CACHE_WRITE_ATTRIBUTE="gen_ai.usage.input_tokens.cache_write",n.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE="gen_ai.usage.output_tokens",n.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE="gen_ai.usage.total_tokens",n.OPENAI_OPERATIONS={CHAT:"chat",RESPONSES:"responses",EMBEDDINGS:"embeddings",CONVERSATIONS:"conversations"},n.OPENAI_RESPONSE_ID_ATTRIBUTE="openai.response.id",n.OPENAI_RESPONSE_MODEL_ATTRIBUTE="openai.response.model",n.OPENAI_RESPONSE_TIMESTAMP_ATTRIBUTE="openai.response.timestamp",n.OPENAI_USAGE_COMPLETION_TOKENS_ATTRIBUTE="openai.usage.completion_tokens",n.OPENAI_USAGE_PROMPT_TOKENS_ATTRIBUTE="openai.usage.prompt_tokens"},27914:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let t=e=>new TextEncoder().encode(e).length,r=e=>t(JSON.stringify(e));function o(e,n){if(t(e)<=n)return e;let r=0,o=e.length,i="";for(;r<=o;){let a=Math.floor((r+o)/2),s=e.slice(0,a);t(s)<=n?(i=s,r=a+1):o=a-1}return i}function i(e,n){return"string"==typeof e?n:{...e,text:n}}function a(e){return!!e&&"object"==typeof e&&("type"in e&&"string"==typeof e.type&&"source"in e&&a(e.source)||s(e)||"media_type"in e&&"string"==typeof e.media_type&&"data"in e||"image_url"in e&&"string"==typeof e.image_url&&e.image_url.startsWith("data:")||"type"in e&&("blob"===e.type||"base64"===e.type)||"b64_json"in e||"type"in e&&"result"in e&&"image_generation"===e.type||"uri"in e&&"string"==typeof e.uri&&e.uri.startsWith("data:"))}function s(e){return"inlineData"in e&&!!e.inlineData&&"object"==typeof e.inlineData&&"data"in e.inlineData&&"string"==typeof e.inlineData.data}function l(e){return null!==e&&"object"==typeof e&&"parts"in e&&Array.isArray(e.parts)&&e.parts.length>0}let c="[Filtered]",u=["image_url","data","content","b64_json","result","uri"];function d(e){let n={...e};for(let t of(a(n.source)&&(n.source=d(n.source)),s(e)&&(n.inlineData={...e.inlineData,data:c}),u))"string"==typeof n[t]&&(n[t]=c);return n}n.DEFAULT_GEN_AI_MESSAGES_BYTE_LIMIT=2e4,n.truncateGenAiMessages=function(e){return function(e,n){var s,c;if(!Array.isArray(e)||0===e.length)return e;let u=function e(n){return n.map(n=>{let t;return n&&"object"==typeof n&&(null!==n&&"object"==typeof n&&"content"in n&&Array.isArray(n.content)?t={...n,content:e(n.content)}:"content"in n&&a(n.content)&&(t={...n,content:d(n.content)}),l(n)&&(t={...t??n,parts:e(n.parts)}),a(t)?t=d(t):a(n)&&(t=d(n))),t??n})}(e);if(2e4>=r(u))return u;let p=u.map(r),m=0,h=u.length;for(let e=u.length-1;e>=0;e--){let n=p[e];if(n&&m+n>2e4)break;n&&(m+=n),h=e}return h===u.length?(s=u[u.length-1],c=2e4,s&&"object"==typeof s?null!==s&&"object"==typeof s&&"content"in s&&"string"==typeof s.content?function(e,n){let t=n-r({...e,content:""});if(t<=0)return[];let i=o(e.content,t);return[{...e,content:i}]}(s,c):l(s)?function(e,n){let{parts:a}=e,s=a.map(e=>i(e,"")),l=n-r({...e,parts:s});if(l<=0)return[];let c=[];for(let e of a){let n="string"==typeof e?e:"text"in e?e.text:"",r=t(n);if(r<=l)c.push(e),l-=r;else if(0===c.length){let t=o(n,l);t&&c.push(i(e,t));break}else break}return c.length<=0?[]:[{...e,parts:c}]}(s,c):[]:[]):u.slice(h)}(e,2e4)},n.truncateGenAiStringInput=function(e){return o(e,2e4)}},44085:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(75480),o=t(27914);function i(e){return e.includes("messages")?"messages":e.includes("completions")?"completions":e.includes("models")?"models":e.includes("chat")?"chat":e.split(".").pop()||"unknown"}n.buildMethodPath=function(e,n){return e?`${e}.${n}`:n},n.getFinalOperationName=i,n.getSpanOperation=function(e){return`gen_ai.${i(e)}`},n.getTruncatedJsonString=function(e){return"string"==typeof e?o.truncateGenAiStringInput(e):Array.isArray(e)?JSON.stringify(o.truncateGenAiMessages(e)):JSON.stringify(e)},n.setTokenUsageAttributes=function(e,n,t,o,i){void 0!==n&&e.setAttributes({[r.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]:n}),void 0!==t&&e.setAttributes({[r.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE]:t}),(void 0!==n||void 0!==t||void 0!==o||void 0!==i)&&e.setAttributes({[r.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE]:(n??0)+(t??0)+(o??0)+(i??0)})}},18669:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.ANTHROPIC_AI_INSTRUMENTED_METHODS=["messages.create","messages.stream","messages.countTokens","models.get","completions.create","models.retrieve","beta.messages.create"],n.ANTHROPIC_AI_INTEGRATION_NAME="Anthropic_AI"},32628:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(17528),i=t(97930),a=t(5978),s=t(7665),l=t(56805),c=t(75480),u=t(44085),d=t(88656),p=t(24142);function m(e,n){let t=p.messagesFromParams(n);p.setMessagesAttribute(e,t),"prompt"in n&&e.setAttributes({[c.GEN_AI_PROMPT_ATTRIBUTE]:JSON.stringify(n.prompt)})}function h(e,n,t){throw o.captureException(e,{mechanism:{handled:!1,type:"auto.ai.anthropic",data:{function:t}}}),n.isRecording()&&(n.setStatus({code:a.SPAN_STATUS_ERROR,message:"internal_error"}),n.end()),e}n.instrumentAnthropicAiClient=function(e,n){let t=!!r.getClient()?.getOptions().sendDefaultPii;return function e(n,t="",r){return new Proxy(n,{get(n,a){let f=n[a],g=u.buildMethodPath(t,String(a));return"function"==typeof f&&p.shouldInstrument(g)?new Proxy(f,{apply(e,t,a){let _=function(e,n){let t={[c.GEN_AI_SYSTEM_ATTRIBUTE]:"anthropic",[c.GEN_AI_OPERATION_NAME_ATTRIBUTE]:u.getFinalOperationName(n),[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ai.anthropic"};if(e.length>0&&"object"==typeof e[0]&&null!==e[0]){let n=e[0];n.tools&&Array.isArray(n.tools)&&(t[c.GEN_AI_REQUEST_AVAILABLE_TOOLS_ATTRIBUTE]=JSON.stringify(n.tools)),t[c.GEN_AI_REQUEST_MODEL_ATTRIBUTE]=n.model??"unknown","temperature"in n&&(t[c.GEN_AI_REQUEST_TEMPERATURE_ATTRIBUTE]=n.temperature),"top_p"in n&&(t[c.GEN_AI_REQUEST_TOP_P_ATTRIBUTE]=n.top_p),"stream"in n&&(t[c.GEN_AI_REQUEST_STREAM_ATTRIBUTE]=n.stream),"top_k"in n&&(t[c.GEN_AI_REQUEST_TOP_K_ATTRIBUTE]=n.top_k),"frequency_penalty"in n&&(t[c.GEN_AI_REQUEST_FREQUENCY_PENALTY_ATTRIBUTE]=n.frequency_penalty),"max_tokens"in n&&(t[c.GEN_AI_REQUEST_MAX_TOKENS_ATTRIBUTE]=n.max_tokens)}else"models.retrieve"===n||"models.get"===n?t[c.GEN_AI_REQUEST_MODEL_ATTRIBUTE]=e[0]:t[c.GEN_AI_REQUEST_MODEL_ATTRIBUTE]="unknown";return t}(a,g),y=_[c.GEN_AI_REQUEST_MODEL_ATTRIBUTE]??"unknown",v=u.getFinalOperationName(g),b="object"==typeof a[0]?a[0]:void 0,C=!!b?.stream,T="messages.stream"===g;return C||T?function(e,n,t,r,o,i,a,l,p,f,g){let _=o[c.GEN_AI_REQUEST_MODEL_ATTRIBUTE]??"unknown",y={name:`${i} ${_} stream-response`,op:u.getSpanOperation(a),attributes:o};return f&&!g?s.startSpanManual(y,async n=>{try{p.recordInputs&&l&&m(n,l);let o=await e.apply(t,r);return d.instrumentAsyncIterableStream(o,n,p.recordOutputs??!1)}catch(e){return h(e,n,a)}}):s.startSpanManual(y,e=>{try{p.recordInputs&&l&&m(e,l);let o=n.apply(t,r);return d.instrumentMessageStream(o,e,p.recordOutputs??!1)}catch(n){return h(n,e,a)}})}(f,e,n,a,_,v,g,b,r,C,T):s.startSpan({name:`${v} ${y}`,op:u.getSpanOperation(g),attributes:_},t=>(r.recordInputs&&b&&m(t,b),l.handleCallbackErrors(()=>e.apply(n,a),e=>{o.captureException(e,{mechanism:{handled:!1,type:"auto.ai.anthropic",data:{function:g}}})},()=>{},e=>(function(e,n,t){if(n&&"object"==typeof n){if("type"in n&&"error"===n.type){p.handleResponseError(e,n);return}t&&function(e,n){if("content"in n&&Array.isArray(n.content)){e.setAttributes({[c.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:n.content.map(e=>e.text).filter(e=>!!e).join("")});let t=[];for(let e of n.content)("tool_use"===e.type||"server_tool_use"===e.type)&&t.push(e);t.length>0&&e.setAttributes({[c.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]:JSON.stringify(t)})}"completion"in n&&e.setAttributes({[c.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:n.completion}),"input_tokens"in n&&e.setAttributes({[c.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:JSON.stringify(n.input_tokens)})}(e,n),"id"in n&&"model"in n&&(e.setAttributes({[c.GEN_AI_RESPONSE_ID_ATTRIBUTE]:n.id,[c.GEN_AI_RESPONSE_MODEL_ATTRIBUTE]:n.model}),"created"in n&&"number"==typeof n.created&&e.setAttributes({[c.ANTHROPIC_AI_RESPONSE_TIMESTAMP_ATTRIBUTE]:new Date(1e3*n.created).toISOString()}),"created_at"in n&&"number"==typeof n.created_at&&e.setAttributes({[c.ANTHROPIC_AI_RESPONSE_TIMESTAMP_ATTRIBUTE]:new Date(1e3*n.created_at).toISOString()}),"usage"in n&&n.usage&&u.setTokenUsageAttributes(e,n.usage.input_tokens,n.usage.output_tokens,n.usage.cache_creation_input_tokens,n.usage.cache_read_input_tokens))}})(t,e,r.recordOutputs))))}}):"function"==typeof f?f.bind(n):f&&"object"==typeof f?e(f,g,r):f}})}(e,"",{recordInputs:t,recordOutputs:t,...n})}},88656:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(17528),o=t(5978),i=t(75480),a=t(44085);function s(e,n,t,i){!e||"object"!=typeof e||"type"in e&&"string"==typeof e.type&&"error"===e.type&&(i.setStatus({code:o.SPAN_STATUS_ERROR,message:e.error?.type??"internal_error"}),r.captureException(e.error,{mechanism:{handled:!1,type:"auto.ai.anthropic.anthropic_error"}}),1)||(!function(e,n){if("message_delta"===e.type&&e.usage&&"output_tokens"in e.usage&&"number"==typeof e.usage.output_tokens&&(n.completionTokens=e.usage.output_tokens),e.message){let t=e.message;t.id&&(n.responseId=t.id),t.model&&(n.responseModel=t.model),t.stop_reason&&n.finishReasons.push(t.stop_reason),t.usage&&("number"==typeof t.usage.input_tokens&&(n.promptTokens=t.usage.input_tokens),"number"==typeof t.usage.cache_creation_input_tokens&&(n.cacheCreationInputTokens=t.usage.cache_creation_input_tokens),"number"==typeof t.usage.cache_read_input_tokens&&(n.cacheReadInputTokens=t.usage.cache_read_input_tokens))}}(e,n),"content_block_start"===e.type&&"number"==typeof e.index&&e.content_block&&("tool_use"===e.content_block.type||"server_tool_use"===e.content_block.type)&&(n.activeToolBlocks[e.index]={id:e.content_block.id,name:e.content_block.name,inputJsonParts:[]}),function(e,n,t){if("content_block_delta"===e.type&&e.delta){if("number"==typeof e.index&&"partial_json"in e.delta&&"string"==typeof e.delta.partial_json){let t=n.activeToolBlocks[e.index];t&&t.inputJsonParts.push(e.delta.partial_json)}t&&"string"==typeof e.delta.text&&n.responseTexts.push(e.delta.text)}}(e,n,t),function(e,n){let t;if("content_block_stop"!==e.type||"number"!=typeof e.index)return;let r=n.activeToolBlocks[e.index];if(!r)return;let o=r.inputJsonParts.join("");try{t=o?JSON.parse(o):{}}catch{t={__unparsed:o}}n.toolCalls.push({type:"tool_use",id:r.id,name:r.name,input:t}),delete n.activeToolBlocks[e.index]}(e,n))}async function*l(e,n,t){let r={responseTexts:[],finishReasons:[],responseId:"",responseModel:"",promptTokens:void 0,completionTokens:void 0,cacheCreationInputTokens:void 0,cacheReadInputTokens:void 0,toolCalls:[],activeToolBlocks:{}};try{for await(let o of e)s(o,r,t,n),yield o}finally{r.responseId&&n.setAttributes({[i.GEN_AI_RESPONSE_ID_ATTRIBUTE]:r.responseId}),r.responseModel&&n.setAttributes({[i.GEN_AI_RESPONSE_MODEL_ATTRIBUTE]:r.responseModel}),a.setTokenUsageAttributes(n,r.promptTokens,r.completionTokens,r.cacheCreationInputTokens,r.cacheReadInputTokens),n.setAttributes({[i.GEN_AI_RESPONSE_STREAMING_ATTRIBUTE]:!0}),r.finishReasons.length>0&&n.setAttributes({[i.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE]:JSON.stringify(r.finishReasons)}),t&&r.responseTexts.length>0&&n.setAttributes({[i.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:r.responseTexts.join("")}),t&&r.toolCalls.length>0&&n.setAttributes({[i.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]:JSON.stringify(r.toolCalls)}),n.end()}}n.instrumentAsyncIterableStream=l,n.instrumentMessageStream=function(e,n,t){let l={responseTexts:[],finishReasons:[],responseId:"",responseModel:"",promptTokens:void 0,completionTokens:void 0,cacheCreationInputTokens:void 0,cacheReadInputTokens:void 0,toolCalls:[],activeToolBlocks:{}};return e.on("streamEvent",e=>{s(e,l,t,n)}),e.on("message",()=>{n.isRecording()&&(l.responseId&&n.setAttributes({[i.GEN_AI_RESPONSE_ID_ATTRIBUTE]:l.responseId}),l.responseModel&&n.setAttributes({[i.GEN_AI_RESPONSE_MODEL_ATTRIBUTE]:l.responseModel}),a.setTokenUsageAttributes(n,l.promptTokens,l.completionTokens,l.cacheCreationInputTokens,l.cacheReadInputTokens),n.setAttributes({[i.GEN_AI_RESPONSE_STREAMING_ATTRIBUTE]:!0}),l.finishReasons.length>0&&n.setAttributes({[i.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE]:JSON.stringify(l.finishReasons)}),t&&l.responseTexts.length>0&&n.setAttributes({[i.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:l.responseTexts.join("")}),t&&l.toolCalls.length>0&&n.setAttributes({[i.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]:JSON.stringify(l.toolCalls)}),n.end())}),e.on("error",e=>{r.captureException(e,{mechanism:{handled:!1,type:"auto.ai.anthropic.stream_error"}}),n.isRecording()&&(n.setStatus({code:o.SPAN_STATUS_ERROR,message:"stream_error"}),n.end())}),e}},24142:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(17528),o=t(5978),i=t(75480),a=t(44085),s=t(18669);n.handleResponseError=function(e,n){n.error&&(e.setStatus({code:o.SPAN_STATUS_ERROR,message:n.error.type||"internal_error"}),r.captureException(n.error,{mechanism:{handled:!1,type:"auto.ai.anthropic.anthropic_error"}}))},n.messagesFromParams=function(e){let{system:n,messages:t,input:r}=e,o="string"==typeof n?[{role:"system",content:e.system}]:[],i=Array.isArray(r)?r:null!=r?[r]:void 0,a=Array.isArray(t)?t:null!=t?[t]:[];return[...o,...i??a]},n.setMessagesAttribute=function(e,n){let t=Array.isArray(n)?n.length:void 0;0!==t&&e.setAttributes({[i.GEN_AI_REQUEST_MESSAGES_ATTRIBUTE]:a.getTruncatedJsonString(n),[i.GEN_AI_REQUEST_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]:t})},n.shouldInstrument=function(e){return s.ANTHROPIC_AI_INSTRUMENTED_METHODS.includes(e)}},77512:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(46638),o=t(70249),i=t(97930),a=t(72634),s=t(79575),l=t(46793),c=t(59315),u=t(85899),d=t(2957),p="_frozenDsc";function m(e,n){let t=n.getOptions(),{publicKey:o}=n.getDsn()||{},i={environment:t.environment||r.DEFAULT_ENVIRONMENT,release:t.release,public_key:o,trace_id:e,org_id:s.extractOrgIdFromClient(n)};return n.emit("createDsc",i),i}function h(e){let n=o.getClient();if(!n)return{};let t=u.getRootSpan(e),r=u.spanToJSON(t),s=r.data,c=t.spanContext().traceState,h=c?.get("sentry.sample_rate")??s[i.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]??s[i.SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE];function f(e){return("number"==typeof h||"string"==typeof h)&&(e.sample_rate=`${h}`),e}let g=t[p];if(g)return f(g);let _=c?.get("sentry.dsc"),y=_&&a.baggageHeaderToDynamicSamplingContext(_);if(y)return f(y);let v=m(e.spanContext().traceId,n),b=s[i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],C=r.description;return"url"!==b&&C&&(v.transaction=C),l.hasSpansEnabled()&&(v.sampled=String(u.spanIsSampled(t)),v.sample_rand=c?.get("sentry.sample_rand")??d.getCapturedScopesOnSpan(t).scope?.getPropagationContext().sampleRand.toString()),f(v),n.emit("createDsc",v,t),v}n.freezeDscOnSpan=function(e,n){c.addNonEnumerableProperty(e,p,n)},n.getDynamicSamplingContextFromClient=m,n.getDynamicSamplingContextFromScope=function(e,n){let t=n.getPropagationContext();return t.dsc||m(t.traceId,e)},n.getDynamicSamplingContextFromSpan=h,n.spanToBaggageHeader=function(e){let n=h(e);return a.dynamicSamplingContextToSentryBaggageHeader(n)}},20503:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(73489),i=t(3779),a=t(48530),s=t(85899),l=t(5978),c=!1;n.registerSpanErrorInstrumentation=function(){c||(e.tag="sentry_tracingErrorCallback",c=!0,o.addGlobalErrorInstrumentationHandler(e),i.addGlobalUnhandledRejectionInstrumentationHandler(e));function e(){let e=s.getActiveSpan(),n=e&&s.getRootSpan(e);if(n){let e="internal_error";r.DEBUG_BUILD&&a.debug.log(`[Tracing] Root span: ${e} -> Global error occurred`),n.setStatus({code:l.SPAN_STATUS_ERROR,message:e})}}}},13905:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.CHATS_CREATE_METHOD="chats.create",n.CHAT_PATH="chat",n.GOOGLE_GENAI_INSTRUMENTED_METHODS=["models.generateContent","models.generateContentStream","chats.create","sendMessage","sendMessageStream"],n.GOOGLE_GENAI_INTEGRATION_NAME="Google_GenAI",n.GOOGLE_GENAI_SYSTEM_NAME="google_genai"},19877:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(17528),i=t(97930),a=t(5978),s=t(7665),l=t(56805),c=t(75480),u=t(27914),d=t(44085),p=t(13905),m=t(12169),h=t(42111);function f(e,n){if("model"in e&&"string"==typeof e.model)return e.model;if(n&&"object"==typeof n){if("model"in n&&"string"==typeof n.model)return n.model;if("modelVersion"in n&&"string"==typeof n.modelVersion)return n.modelVersion}return"unknown"}function g(e,n){let t=[];"config"in n&&n.config&&"object"==typeof n.config&&"systemInstruction"in n.config&&n.config.systemInstruction&&t.push(...h.contentUnionToMessages(n.config.systemInstruction,"system")),"history"in n&&t.push(...h.contentUnionToMessages(n.history,"user")),"contents"in n&&t.push(...h.contentUnionToMessages(n.contents,"user")),"message"in n&&t.push(...h.contentUnionToMessages(n.message,"user")),Array.isArray(t)&&t.length&&e.setAttributes({[c.GEN_AI_REQUEST_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]:t.length,[c.GEN_AI_REQUEST_MESSAGES_ATTRIBUTE]:JSON.stringify(u.truncateGenAiMessages(t))})}function _(e,n,t,r){let u=n===p.CHATS_CREATE_METHOD;return new Proxy(e,{apply(e,_,y){let v=y[0],b=function(e,n,t){let r={[c.GEN_AI_SYSTEM_ATTRIBUTE]:p.GOOGLE_GENAI_SYSTEM_NAME,[c.GEN_AI_OPERATION_NAME_ATTRIBUTE]:d.getFinalOperationName(e),[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ai.google_genai"};if(n){if(r[c.GEN_AI_REQUEST_MODEL_ATTRIBUTE]=f(n,t),"config"in n&&"object"==typeof n.config&&n.config){let e=n.config;if(Object.assign(r,function(e){let n={};return"temperature"in e&&"number"==typeof e.temperature&&(n[c.GEN_AI_REQUEST_TEMPERATURE_ATTRIBUTE]=e.temperature),"topP"in e&&"number"==typeof e.topP&&(n[c.GEN_AI_REQUEST_TOP_P_ATTRIBUTE]=e.topP),"topK"in e&&"number"==typeof e.topK&&(n[c.GEN_AI_REQUEST_TOP_K_ATTRIBUTE]=e.topK),"maxOutputTokens"in e&&"number"==typeof e.maxOutputTokens&&(n[c.GEN_AI_REQUEST_MAX_TOKENS_ATTRIBUTE]=e.maxOutputTokens),"frequencyPenalty"in e&&"number"==typeof e.frequencyPenalty&&(n[c.GEN_AI_REQUEST_FREQUENCY_PENALTY_ATTRIBUTE]=e.frequencyPenalty),"presencePenalty"in e&&"number"==typeof e.presencePenalty&&(n[c.GEN_AI_REQUEST_PRESENCE_PENALTY_ATTRIBUTE]=e.presencePenalty),n}(e)),"tools"in e&&Array.isArray(e.tools)){let n=e.tools.flatMap(e=>e.functionDeclarations);r[c.GEN_AI_REQUEST_AVAILABLE_TOOLS_ATTRIBUTE]=JSON.stringify(n)}}}else r[c.GEN_AI_REQUEST_MODEL_ATTRIBUTE]=f({},t);return r}(n,v,t),C=b[c.GEN_AI_REQUEST_MODEL_ATTRIBUTE]??"unknown",T=d.getFinalOperationName(n);return h.isStreamingMethod(n)?s.startSpanManual({name:`${T} ${C} stream-response`,op:d.getSpanOperation(n),attributes:b},async i=>{try{r.recordInputs&&v&&g(i,v);let n=await e.apply(t,y);return m.instrumentStream(n,i,!!r.recordOutputs)}catch(e){throw i.setStatus({code:a.SPAN_STATUS_ERROR,message:"internal_error"}),o.captureException(e,{mechanism:{handled:!1,type:"auto.ai.google_genai",data:{function:n}}}),i.end(),e}}):s.startSpan({name:u?`${T} ${C} create`:`${T} ${C}`,op:d.getSpanOperation(n),attributes:b},i=>(r.recordInputs&&v&&g(i,v),l.handleCallbackErrors(()=>e.apply(t,y),e=>{o.captureException(e,{mechanism:{handled:!1,type:"auto.ai.google_genai",data:{function:n}}})},()=>{},e=>{u||function(e,n,t){if(n&&"object"==typeof n){if(n.modelVersion&&e.setAttribute(c.GEN_AI_RESPONSE_MODEL_ATTRIBUTE,n.modelVersion),n.usageMetadata&&"object"==typeof n.usageMetadata){let t=n.usageMetadata;"number"==typeof t.promptTokenCount&&e.setAttributes({[c.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]:t.promptTokenCount}),"number"==typeof t.candidatesTokenCount&&e.setAttributes({[c.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE]:t.candidatesTokenCount}),"number"==typeof t.totalTokenCount&&e.setAttributes({[c.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE]:t.totalTokenCount})}if(t&&Array.isArray(n.candidates)&&n.candidates.length>0){let t=n.candidates.map(e=>e.content?.parts&&Array.isArray(e.content.parts)?e.content.parts.map(e=>"string"==typeof e.text?e.text:"").filter(e=>e.length>0).join(""):"").filter(e=>e.length>0);t.length>0&&e.setAttributes({[c.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:t.join("")})}if(t&&n.functionCalls){let t=n.functionCalls;Array.isArray(t)&&t.length>0&&e.setAttributes({[c.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]:JSON.stringify(t)})}}}(i,e,r.recordOutputs)})))}})}n.extractModel=f,n.instrumentGoogleGenAIClient=function(e,n){let t=!!r.getClient()?.getOptions().sendDefaultPii;return function e(n,t="",r){return new Proxy(n,{get:(n,o,i)=>{let a=Reflect.get(n,o,i),s=d.buildMethodPath(t,String(o));if("function"==typeof a&&h.shouldInstrument(s)){if(s===p.CHATS_CREATE_METHOD){let t=_(a,s,n,r);return function(...n){let o=t(...n);return o&&"object"==typeof o?e(o,p.CHAT_PATH,r):o}}return _(a,s,n,r)}return"function"==typeof a?a.bind(n):a&&"object"==typeof a?e(a,s,r):a}})}(e,"",{recordInputs:t,recordOutputs:t,...n})}},12169:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(17528),o=t(5978),i=t(75480);async function*a(e,n,t){let a={responseTexts:[],finishReasons:[],toolCalls:[]};try{for await(let i of e)!i||function(e,n){let t=e?.promptFeedback;if(t?.blockReason){let e=t.blockReasonMessage??t.blockReason;return n.setStatus({code:o.SPAN_STATUS_ERROR,message:`Content blocked: ${e}`}),r.captureException(`Content blocked: ${e}`,{mechanism:{handled:!1,type:"auto.ai.google_genai"}}),!0}return!1}(i,n)||(function(e,n){"string"==typeof e.responseId&&(n.responseId=e.responseId),"string"==typeof e.modelVersion&&(n.responseModel=e.modelVersion);let t=e.usageMetadata;t&&("number"==typeof t.promptTokenCount&&(n.promptTokens=t.promptTokenCount),"number"==typeof t.candidatesTokenCount&&(n.completionTokens=t.candidatesTokenCount),"number"==typeof t.totalTokenCount&&(n.totalTokens=t.totalTokenCount))}(i,a),function(e,n,t){for(let r of(Array.isArray(e.functionCalls)&&n.toolCalls.push(...e.functionCalls),e.candidates??[]))for(let e of(r?.finishReason&&!n.finishReasons.includes(r.finishReason)&&n.finishReasons.push(r.finishReason),r?.content?.parts??[]))t&&e.text&&n.responseTexts.push(e.text),e.functionCall&&n.toolCalls.push({type:"function",id:e.functionCall.id,name:e.functionCall.name,arguments:e.functionCall.args})}(i,a,t)),yield i}finally{let e={[i.GEN_AI_RESPONSE_STREAMING_ATTRIBUTE]:!0};a.responseId&&(e[i.GEN_AI_RESPONSE_ID_ATTRIBUTE]=a.responseId),a.responseModel&&(e[i.GEN_AI_RESPONSE_MODEL_ATTRIBUTE]=a.responseModel),void 0!==a.promptTokens&&(e[i.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]=a.promptTokens),void 0!==a.completionTokens&&(e[i.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE]=a.completionTokens),void 0!==a.totalTokens&&(e[i.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE]=a.totalTokens),a.finishReasons.length&&(e[i.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE]=JSON.stringify(a.finishReasons)),t&&a.responseTexts.length&&(e[i.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]=a.responseTexts.join("")),t&&a.toolCalls.length&&(e[i.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]=JSON.stringify(a.toolCalls)),n.setAttributes(e),n.end()}}n.instrumentStream=a},42111:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(13905);n.contentUnionToMessages=function e(n,t="user"){return"string"==typeof n?[{role:t,content:n}]:Array.isArray(n)?n.flatMap(n=>e(n,t)):"object"==typeof n&&n?"role"in n&&"string"==typeof n.role?[n]:"parts"in n?[{...n,role:t}]:[{role:t,content:n}]:[]},n.isStreamingMethod=function(e){return e.includes("Stream")},n.shouldInstrument=function(e){if(r.GOOGLE_GENAI_INSTRUMENTED_METHODS.includes(e))return!0;let n=e.split(".").pop();return r.GOOGLE_GENAI_INSTRUMENTED_METHODS.includes(n)}},32818:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(43147),i=t(97930),a=t(48530),s=t(46793),l=t(20836),c=t(25156),u=t(85899),d=t(83884),p=t(77512),m=t(17519),h=t(48391),f=t(5978),g=t(7665),_={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};n.TRACING_DEFAULTS=_,n.startIdleSpan=function(e,n={}){let t;let y=new Map,v=!1,b="externalFinish",C=!n.disableAutoFinish,T=[],{idleTimeout:S=_.idleTimeout,finalTimeout:k=_.finalTimeout,childSpanTimeout:E=_.childSpanTimeout,beforeSpanEnd:R,trimIdleSpanEndTimestamp:I=!0}=n,A=r.getClient();if(!A||!s.hasSpansEnabled()){let e=new m.SentryNonRecordingSpan,n={sample_rate:"0",sampled:"false",...p.getDynamicSamplingContextFromSpan(e)};return p.freezeDscOnSpan(e,n),e}let w=r.getCurrentScope(),x=u.getActiveSpan(),P=function(e){let n=g.startInactiveSpan(e);return c._setSpanForScope(r.getCurrentScope(),n),o.DEBUG_BUILD&&a.debug.log("[Tracing] Started span is an idle span"),n}(e);function B(){t&&(clearTimeout(t),t=void 0)}function N(e){B(),t=setTimeout(()=>{!v&&0===y.size&&C&&(b="idleTimeout",P.end(e))},S)}function O(e){t=setTimeout(()=>{!v&&C&&(b="heartbeatFailed",P.end(e))},E)}function L(e){v=!0,y.clear(),T.forEach(e=>e()),c._setSpanForScope(w,x);let n=u.spanToJSON(P),{start_timestamp:t}=n;if(!t)return;n.data[i.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON]||P.setAttribute(i.SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON,b);let r=n.status;r&&"unknown"!==r||P.setStatus({code:f.SPAN_STATUS_OK}),a.debug.log(`[Tracing] Idle span "${n.op}" finished`);let s=u.getSpanDescendants(P).filter(e=>e!==P),l=0;s.forEach(n=>{n.isRecording()&&(n.setStatus({code:f.SPAN_STATUS_ERROR,message:"cancelled"}),n.end(e),o.DEBUG_BUILD&&a.debug.log("[Tracing] Cancelling span since span ended early",JSON.stringify(n,void 0,2)));let{timestamp:t=0,start_timestamp:r=0}=u.spanToJSON(n),i=r<=e,s=t-r<=(k+S)/1e3;if(o.DEBUG_BUILD){let e=JSON.stringify(n,void 0,2);i?s||a.debug.log("[Tracing] Discarding span since it finished after idle span final timeout",e):a.debug.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!s||!i)&&(u.removeChildSpanFromSpan(P,n),l++)}),l>0&&P.setAttribute("sentry.idle_span_discarded_spans",l)}return P.end=new Proxy(P.end,{apply(e,n,t){if(R&&R(P),n instanceof m.SentryNonRecordingSpan)return;let[r,...o]=t,i=r||d.timestampInSeconds(),a=u.spanTimeInputToSeconds(i),s=u.getSpanDescendants(P).filter(e=>e!==P),c=u.spanToJSON(P);if(!s.length||!I)return L(a),Reflect.apply(e,n,[a,...o]);let p=A.getOptions().ignoreSpans,h=s?.reduce((e,n)=>{let t=u.spanToJSON(n);return!t.timestamp||p&&l.shouldIgnoreSpan(t,p)?e:e?Math.max(e,t.timestamp):t.timestamp},void 0),f=c.start_timestamp,g=Math.min(f?f+k/1e3:1/0,Math.max(f||-1/0,Math.min(a,h||1/0)));return L(g),Reflect.apply(e,n,[g,...o])}}),T.push(A.on("spanStart",e=>{if(!(v||e===P||u.spanToJSON(e).timestamp||e instanceof h.SentrySpan&&e.isStandaloneSpan())&&u.getSpanDescendants(P).includes(e)){var n;n=e.spanContext().spanId,B(),y.set(n,!0),O(d.timestampInSeconds()+E/1e3)}})),T.push(A.on("spanEnd",e=>{var n;v||(n=e.spanContext().spanId,y.has(n)&&y.delete(n),0===y.size&&N(d.timestampInSeconds()+S/1e3))})),T.push(A.on("idleSpanEnableAutoFinish",e=>{e===P&&(C=!0,N(),y.size&&O())})),n.disableAutoFinish||N(),setTimeout(()=>{v||(P.setStatus({code:f.SPAN_STATUS_ERROR,message:"deadline_exceeded"}),b="finalTimeout",P.end())},k),P}},53292:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.LANGCHAIN_INTEGRATION_NAME="LangChain",n.LANGCHAIN_ORIGIN="auto.ai.langchain",n.ROLE_MAP={human:"user",ai:"assistant",assistant:"assistant",system:"system",function:"function",tool:"tool"}},63853:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(17528),o=t(97930),i=t(5978),a=t(7665),s=t(75480),l=t(53292),c=t(47395);n.createLangChainCallbackHandler=function(e={}){let n=e.recordInputs??!1,t=e.recordOutputs??!1,u=new Map,d=e=>{let n=u.get(e);n?.isRecording()&&(n.end(),u.delete(e))},p={lc_serializable:!1,lc_namespace:["langchain_core","callbacks","sentry"],lc_secrets:void 0,lc_attributes:void 0,lc_aliases:void 0,lc_serializable_keys:void 0,lc_id:["langchain_core","callbacks","sentry"],lc_kwargs:{},name:"SentryCallbackHandler",ignoreLLM:!1,ignoreChain:!1,ignoreAgent:!1,ignoreRetriever:!1,ignoreCustomEvent:!1,raiseError:!1,awaitHandlers:!0,handleLLMStart(e,t,r,i,l,d,p,m){let h=c.getInvocationParams(d),f=c.extractLLMRequestAttributes(e,t,n,h,p),g=f[s.GEN_AI_REQUEST_MODEL_ATTRIBUTE],_=f[s.GEN_AI_OPERATION_NAME_ATTRIBUTE];a.startSpanManual({name:`${_} ${g}`,op:"gen_ai.pipeline",attributes:{...f,[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.pipeline"}},e=>(u.set(r,e),e))},handleChatModelStart(e,t,r,i,l,d,p,m){let h=c.getInvocationParams(d),f=c.extractChatModelRequestAttributes(e,t,n,h,p),g=f[s.GEN_AI_REQUEST_MODEL_ATTRIBUTE],_=f[s.GEN_AI_OPERATION_NAME_ATTRIBUTE];a.startSpanManual({name:`${_} ${g}`,op:"gen_ai.chat",attributes:{...f,[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.chat"}},e=>(u.set(r,e),e))},handleLLMEnd(e,n,r,o,i){let a=u.get(n);if(a?.isRecording()){let r=c.extractLlmResponseAttributes(e,t);r&&a.setAttributes(r),d(n)}},handleLLMError(e,n){let t=u.get(n);t?.isRecording()&&(t.setStatus({code:i.SPAN_STATUS_ERROR,message:"llm_error"}),d(n)),r.captureException(e,{mechanism:{handled:!1,type:`${l.LANGCHAIN_ORIGIN}.llm_error_handler`}})},handleChainStart(e,t,r,i){let s=e.name||"unknown_chain",l={[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ai.langchain","langchain.chain.name":s};n&&(l["langchain.chain.inputs"]=JSON.stringify(t)),a.startSpanManual({name:`chain ${s}`,op:"gen_ai.invoke_agent",attributes:{...l,[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.invoke_agent"}},e=>(u.set(r,e),e))},handleChainEnd(e,n){let r=u.get(n);r?.isRecording()&&(t&&r.setAttributes({"langchain.chain.outputs":JSON.stringify(e)}),d(n))},handleChainError(e,n){let t=u.get(n);t?.isRecording()&&(t.setStatus({code:i.SPAN_STATUS_ERROR,message:"chain_error"}),d(n)),r.captureException(e,{mechanism:{handled:!1,type:`${l.LANGCHAIN_ORIGIN}.chain_error_handler`}})},handleToolStart(e,t,r,i){let s=e.name||"unknown_tool",c={[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:l.LANGCHAIN_ORIGIN,"gen_ai.tool.name":s};n&&(c["gen_ai.tool.input"]=t),a.startSpanManual({name:`execute_tool ${s}`,op:"gen_ai.execute_tool",attributes:{...c,[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.execute_tool"}},e=>(u.set(r,e),e))},handleToolEnd(e,n){let r=u.get(n);r?.isRecording()&&(t&&r.setAttributes({"gen_ai.tool.output":JSON.stringify(e)}),d(n))},handleToolError(e,n){let t=u.get(n);t?.isRecording()&&(t.setStatus({code:i.SPAN_STATUS_ERROR,message:"tool_error"}),d(n)),r.captureException(e,{mechanism:{handled:!1,type:`${l.LANGCHAIN_ORIGIN}.tool_error_handler`}})},copy:()=>p,toJSON:()=>({lc:1,type:"not_implemented",id:p.lc_id}),toJSONNotImplemented:()=>({lc:1,type:"not_implemented",id:p.lc_id})};return p}},47395:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(97930),o=t(75480),i=t(27914),a=t(53292),s=(e,n,t)=>{null!=t&&(e[n]=t)},l=(e,n,t)=>{let r=Number(t);Number.isNaN(r)||(e[n]=r)};function c(e){if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return String(e)}}function u(e){let n=e.toLowerCase();return a.ROLE_MAP[n]??n}function d(e){return e.includes("System")?"system":e.includes("Human")?"user":e.includes("AI")||e.includes("Assistant")?"assistant":e.includes("Function")?"function":e.includes("Tool")?"tool":"user"}function p(e){return e.map(e=>{let n=e._getType;if("function"==typeof n)return{role:u(n.call(e)),content:c(e.content)};let t=e.constructor?.name;if(t)return{role:u(d(t)),content:c(e.content)};if(e.type)return{role:u(String(e.type).toLowerCase()),content:c(e.content)};if(e.role)return{role:u(String(e.role)),content:c(e.content)};if(1===e.lc&&e.kwargs){let n=e.id,t=Array.isArray(n)&&n.length>0?n[n.length-1]:"";return{role:u("string"==typeof t?d(t):"user"),content:c(e.kwargs?.content)}}return{role:"user",content:c(e.content)}})}function m(e,n,t,i,u,d){return{[o.GEN_AI_SYSTEM_ATTRIBUTE]:c(e??"langchain"),[o.GEN_AI_OPERATION_NAME_ATTRIBUTE]:t,[o.GEN_AI_REQUEST_MODEL_ATTRIBUTE]:c(n),[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:a.LANGCHAIN_ORIGIN,...function(e,n,t){let r={},i="kwargs"in e?e.kwargs:void 0,a=n?.temperature??t?.ls_temperature??i?.temperature;l(r,o.GEN_AI_REQUEST_TEMPERATURE_ATTRIBUTE,a);let c=n?.max_tokens??t?.ls_max_tokens??i?.max_tokens;l(r,o.GEN_AI_REQUEST_MAX_TOKENS_ATTRIBUTE,c);let u=n?.top_p??i?.top_p;l(r,o.GEN_AI_REQUEST_TOP_P_ATTRIBUTE,u);let d=n?.frequency_penalty;l(r,o.GEN_AI_REQUEST_FREQUENCY_PENALTY_ATTRIBUTE,d);let p=n?.presence_penalty;return l(r,o.GEN_AI_REQUEST_PRESENCE_PENALTY_ATTRIBUTE,p),n&&"stream"in n&&s(r,o.GEN_AI_REQUEST_STREAM_ATTRIBUTE,!!n.stream),r}(i,u,d)}}n.extractChatModelRequestAttributes=function(e,n,t,r,a){let l=m(a?.ls_provider??e.id?.[2],r?.model??a?.ls_model_name??"unknown","chat",e,r,a);if(t&&Array.isArray(n)&&n.length>0){let e=p(n.flat());s(l,o.GEN_AI_REQUEST_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE,e.length);let t=i.truncateGenAiMessages(e);s(l,o.GEN_AI_REQUEST_MESSAGES_ATTRIBUTE,c(t))}return l},n.extractLLMRequestAttributes=function(e,n,t,r,i){let a=m(i?.ls_provider,r?.model??i?.ls_model_name??"unknown","pipeline",e,r,i);if(t&&Array.isArray(n)&&n.length>0){s(a,o.GEN_AI_REQUEST_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE,n.length);let e=n.map(e=>({role:"user",content:e}));s(a,o.GEN_AI_REQUEST_MESSAGES_ATTRIBUTE,c(e))}return a},n.extractLlmResponseAttributes=function(e,n){if(!e)return;let t={};if(Array.isArray(e.generations)){let r=e.generations.flat().map(e=>e.generationInfo?.finish_reason?e.generationInfo.finish_reason:e.generation_info?.finish_reason?e.generation_info.finish_reason:null).filter(e=>"string"==typeof e);if(r.length>0&&s(t,o.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE,c(r)),function(e,n){let t=[];for(let n of e.flat()){let e=n.message?.content;if(Array.isArray(e))for(let n of e)"tool_use"===n.type&&t.push(n)}t.length>0&&s(n,o.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE,c(t))}(e.generations,t),n){let n=e.generations.flat().map(e=>e.text??e.message?.content).filter(e=>"string"==typeof e);n.length>0&&s(t,o.GEN_AI_RESPONSE_TEXT_ATTRIBUTE,c(n))}}!function(e,n){if(!e)return;let t=e.tokenUsage,r=e.usage;if(t)l(n,o.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE,t.promptTokens),l(n,o.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE,t.completionTokens),l(n,o.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE,t.totalTokens);else if(r){l(n,o.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE,r.input_tokens),l(n,o.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE,r.output_tokens);let e=Number(r.input_tokens),t=Number(r.output_tokens),i=(Number.isNaN(e)?0:e)+(Number.isNaN(t)?0:t);i>0&&l(n,o.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE,i),void 0!==r.cache_creation_input_tokens&&l(n,o.GEN_AI_USAGE_CACHE_CREATION_INPUT_TOKENS_ATTRIBUTE,r.cache_creation_input_tokens),void 0!==r.cache_read_input_tokens&&l(n,o.GEN_AI_USAGE_CACHE_READ_INPUT_TOKENS_ATTRIBUTE,r.cache_read_input_tokens)}}(e.llmOutput,t);let r=e.llmOutput,i=e.generations?.[0]?.[0],a=i?.message,u=r?.model_name??r?.model??a?.response_metadata?.model_name;u&&s(t,o.GEN_AI_RESPONSE_MODEL_ATTRIBUTE,u);let d=r?.id??a?.id;d&&s(t,o.GEN_AI_RESPONSE_ID_ATTRIBUTE,d);let p=r?.stop_reason??a?.response_metadata?.finish_reason;return p&&s(t,o.GEN_AI_RESPONSE_STOP_REASON_ATTRIBUTE,c(p)),t},n.getInvocationParams=function(e){if(!(!e||Array.isArray(e)))return e.invocation_params},n.normalizeLangChainMessages=p},84867:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.LANGGRAPH_INTEGRATION_NAME="LangGraph",n.LANGGRAPH_ORIGIN="auto.ai.langgraph"},4121:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(17528),o=t(97930),i=t(5978),a=t(7665),s=t(75480),l=t(27914),c=t(47395),u=t(84867),d=t(22789);function p(e,n){return new Proxy(e,{apply:(e,t,p)=>a.startSpan({op:"gen_ai.create_agent",name:"create_agent",attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:u.LANGGRAPH_ORIGIN,[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"gen_ai.create_agent",[s.GEN_AI_OPERATION_NAME_ATTRIBUTE]:"create_agent"}},m=>{try{var h;let f=Reflect.apply(e,t,p),g=p.length>0?p[0]:{};g?.name&&"string"==typeof g.name&&(m.setAttribute(s.GEN_AI_AGENT_NAME_ATTRIBUTE,g.name),m.updateName(`create_agent ${g.name}`));let _=f.invoke;return _&&"function"==typeof _&&(f.invoke=(h=_.bind(f),new Proxy(h,{apply:(e,t,p)=>a.startSpan({op:"gen_ai.invoke_agent",name:"invoke_agent",attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:u.LANGGRAPH_ORIGIN,[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:s.GEN_AI_INVOKE_AGENT_OPERATION_ATTRIBUTE,[s.GEN_AI_OPERATION_NAME_ATTRIBUTE]:"invoke_agent"}},async o=>{try{let r=g?.name;r&&"string"==typeof r&&(o.setAttribute(s.GEN_AI_PIPELINE_NAME_ATTRIBUTE,r),o.setAttribute(s.GEN_AI_AGENT_NAME_ATTRIBUTE,r),o.updateName(`invoke_agent ${r}`));let i=p.length>1?p[1]:void 0,a=i?.configurable,u=a?.thread_id;u&&"string"==typeof u&&o.setAttribute(s.GEN_AI_CONVERSATION_ID_ATTRIBUTE,u);let m=d.extractToolsFromCompiledGraph(f);m&&o.setAttribute(s.GEN_AI_REQUEST_AVAILABLE_TOOLS_ATTRIBUTE,JSON.stringify(m));let h=n.recordInputs,_=n.recordOutputs,y=p.length>0?p[0].messages??[]:[];if(y&&h){let e=c.normalizeLangChainMessages(y),n=l.truncateGenAiMessages(e);o.setAttributes({[s.GEN_AI_REQUEST_MESSAGES_ATTRIBUTE]:JSON.stringify(n),[s.GEN_AI_REQUEST_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]:e.length})}let v=await Reflect.apply(e,t,p);return _&&d.setResponseAttributes(o,y??null,v),v}catch(e){throw o.setStatus({code:i.SPAN_STATUS_ERROR,message:"internal_error"}),r.captureException(e,{mechanism:{handled:!1,type:"auto.ai.langgraph.error"}}),e}})}))),f}catch(e){throw m.setStatus({code:i.SPAN_STATUS_ERROR,message:"internal_error"}),r.captureException(e,{mechanism:{handled:!1,type:"auto.ai.langgraph.error"}}),e}})})}n.instrumentLangGraph=function(e,n){return e.compile=p(e.compile.bind(e),n||{}),e},n.instrumentStateGraphCompile=p},22789:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(75480),o=t(47395);function i(e){if(!e||0===e.length)return null;let n=[];for(let t of e)if(t&&"object"==typeof t){let e=t.tool_calls;e&&Array.isArray(e)&&n.push(...e)}return n.length>0?n:null}function a(e){let n=0,t=0,r=0;if(e.usage_metadata&&"object"==typeof e.usage_metadata){let o=e.usage_metadata;return"number"==typeof o.input_tokens&&(n=o.input_tokens),"number"==typeof o.output_tokens&&(t=o.output_tokens),"number"==typeof o.total_tokens&&(r=o.total_tokens),{inputTokens:n,outputTokens:t,totalTokens:r}}if(e.response_metadata&&"object"==typeof e.response_metadata){let o=e.response_metadata;if(o.tokenUsage&&"object"==typeof o.tokenUsage){let e=o.tokenUsage;"number"==typeof e.promptTokens&&(n=e.promptTokens),"number"==typeof e.completionTokens&&(t=e.completionTokens),"number"==typeof e.totalTokens&&(r=e.totalTokens)}}return{inputTokens:n,outputTokens:t,totalTokens:r}}function s(e,n){if(n.response_metadata&&"object"==typeof n.response_metadata){let t=n.response_metadata;t.model_name&&"string"==typeof t.model_name&&e.setAttribute(r.GEN_AI_RESPONSE_MODEL_ATTRIBUTE,t.model_name),t.finish_reason&&"string"==typeof t.finish_reason&&e.setAttribute(r.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE,[t.finish_reason])}}n.extractModelMetadata=s,n.extractTokenUsageFromMessage=a,n.extractToolCalls=i,n.extractToolsFromCompiledGraph=function(e){if(!e.builder?.nodes?.tools?.runnable?.tools)return null;let n=e.builder?.nodes?.tools?.runnable?.tools;return n&&Array.isArray(n)&&0!==n.length?n.map(e=>({name:e.lc_kwargs?.name,description:e.lc_kwargs?.description,schema:e.lc_kwargs?.schema})):null},n.setResponseAttributes=function(e,n,t){let l=t?.messages;if(!l||!Array.isArray(l))return;let c=n?.length??0,u=l.length>c?l.slice(c):[];if(0===u.length)return;let d=i(u);d&&e.setAttribute(r.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE,JSON.stringify(d));let p=o.normalizeLangChainMessages(u);e.setAttribute(r.GEN_AI_RESPONSE_TEXT_ATTRIBUTE,JSON.stringify(p));let m=0,h=0,f=0;for(let n of u){let t=a(n);m+=t.inputTokens,h+=t.outputTokens,f+=t.totalTokens,s(e,n)}m>0&&e.setAttribute(r.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE,m),h>0&&e.setAttribute(r.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE,h),f>0&&e.setAttribute(r.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE,f)}},19319:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(48530),i=t(85899);n.logSpanEnd=function(e){if(!r.DEBUG_BUILD)return;let{description:n="< unknown name >",op:t="< unknown op >"}=i.spanToJSON(e),{spanId:a}=e.spanContext(),s=i.getRootSpan(e)===e,l=`[Tracing] Finishing "${t}" ${s?"root ":""}span "${n}" with ID ${a}`;o.debug.log(l)},n.logSpanStart=function(e){if(!r.DEBUG_BUILD)return;let{description:n="< unknown name >",op:t="< unknown op >",parent_span_id:a}=i.spanToJSON(e),{spanId:s}=e.spanContext(),l=i.spanIsSampled(e),c=i.getRootSpan(e),u=c===e,d=`[Tracing] Starting ${l?"sampled":"unsampled"} ${u?"root ":""}span`,p=[`op: ${t}`,`name: ${n}`,`ID: ${s}`];if(a&&p.push(`parent ID: ${a}`),!u){let{op:e,description:n}=i.spanToJSON(c);p.push(`root ID: ${c.spanContext().spanId}`),e&&p.push(`root op: ${e}`),n&&p.push(`root description: ${n}`)}o.debug.log(`${d} ${p.join("\n ")}`)}},62908:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(97930),i=t(48530),a=t(85899);n.setMeasurement=function(e,n,t,s=a.getActiveSpan()){let l=s&&a.getRootSpan(s);l&&(r.DEBUG_BUILD&&i.debug.log(`[Measurement] Setting measurement on root span: ${e} = ${n} ${t}`),l.addEvent(e,{[o.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:n,[o.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:t}))},n.timedEventsToMeasurements=function(e){if(!e||0===e.length)return;let n={};return e.forEach(e=>{let t=e.attributes||{},r=t[o.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT],i=t[o.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE];"string"==typeof r&&"number"==typeof i&&(n[e.name]={value:i,unit:r})}),n}},80492:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let t=["response.output_item.added","response.function_call_arguments.delta","response.function_call_arguments.done","response.output_item.done"],r=["response.created","response.in_progress","response.failed","response.completed","response.incomplete","response.queued","response.output_text.delta",...t];n.INSTRUMENTED_METHODS=["responses.create","chat.completions.create","embeddings.create","conversations.create"],n.OPENAI_INTEGRATION_NAME="OpenAI",n.RESPONSES_TOOL_CALL_EVENT_TYPES=t,n.RESPONSE_EVENT_TYPES=r},56599:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(17528),i=t(97930),a=t(5978),s=t(7665),l=t(75480),c=t(44085),u=t(91926),d=t(63461);function p(e,n){let t="input"in n?n.input:"messages"in n?n.messages:void 0,r=Array.isArray(t)?t.length:void 0;if(t&&0!==r){let n=c.getTruncatedJsonString(t);e.setAttribute(l.GEN_AI_REQUEST_MESSAGES_ATTRIBUTE,n),r&&e.setAttribute(l.GEN_AI_REQUEST_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE,r)}}n.instrumentOpenAiClient=function(e,n){let t=!!r.getClient()?.getOptions().sendDefaultPii;return function e(n,t="",r){return new Proxy(n,{get(n,c){let m=n[c],h=d.buildMethodPath(t,String(c));return"function"==typeof m&&d.shouldInstrument(h)?async function(...e){let t=function(e,n){let t={[l.GEN_AI_SYSTEM_ATTRIBUTE]:"openai",[l.GEN_AI_OPERATION_NAME_ATTRIBUTE]:d.getOperationName(n),[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ai.openai"};if(e.length>0&&"object"==typeof e[0]&&null!==e[0]){let n=e[0],r=function(e){let n=[...Array.isArray(e.tools)?e.tools:[],...e.web_search_options&&"object"==typeof e.web_search_options?[{type:"web_search_options",...e.web_search_options}]:[]];return n.length>0?JSON.stringify(n):void 0}(n);r&&(t[l.GEN_AI_REQUEST_AVAILABLE_TOOLS_ATTRIBUTE]=r),Object.assign(t,d.extractRequestParameters(n))}else t[l.GEN_AI_REQUEST_MODEL_ATTRIBUTE]="unknown";return t}(e,h),c=t[l.GEN_AI_REQUEST_MODEL_ATTRIBUTE]||"unknown",f=d.getOperationName(h),g=e[0];return g&&"object"==typeof g&&!0===g.stream?s.startSpanManual({name:`${f} ${c} stream-response`,op:d.getSpanOperation(h),attributes:t},async t=>{try{r.recordInputs&&g&&p(t,g);let o=await m.apply(n,e);return u.instrumentStream(o,t,r.recordOutputs??!1)}catch(e){throw t.setStatus({code:a.SPAN_STATUS_ERROR,message:"internal_error"}),o.captureException(e,{mechanism:{handled:!1,type:"auto.ai.openai.stream",data:{function:h}}}),t.end(),e}}):s.startSpan({name:`${f} ${c}`,op:d.getSpanOperation(h),attributes:t},async t=>{try{r.recordInputs&&g&&p(t,g);let o=await m.apply(n,e);return function(e,n,t){if(n&&"object"==typeof n){if(d.isChatCompletionResponse(n)){if(d.addChatCompletionAttributes(e,n,t),t&&n.choices?.length){let t=n.choices.map(e=>e.message?.content||"");e.setAttributes({[l.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:JSON.stringify(t)})}}else d.isResponsesApiResponse(n)?(d.addResponsesApiAttributes(e,n,t),t&&n.output_text&&e.setAttributes({[l.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:n.output_text})):d.isEmbeddingsResponse(n)?d.addEmbeddingsAttributes(e,n):d.isConversationResponse(n)&&d.addConversationAttributes(e,n)}}(t,o,r.recordOutputs),o}catch(e){throw o.captureException(e,{mechanism:{handled:!1,type:"auto.ai.openai",data:{function:h}}}),e}})}:"function"==typeof m?m.bind(n):m&&"object"==typeof m?e(m,h,r):m}})}(e,"",{recordInputs:t,recordOutputs:t,...n})}},91926:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(17528),o=t(5978),i=t(75480),a=t(80492),s=t(63461);async function*l(e,n,t){let l={eventTypes:[],responseTexts:[],finishReasons:[],responseId:"",responseModel:"",responseTimestamp:0,promptTokens:void 0,completionTokens:void 0,totalTokens:void 0,chatCompletionToolCalls:{},responsesApiToolCalls:[]};try{for await(let i of e)s.isChatCompletionChunk(i)?function(e,n,t){for(let r of(n.responseId=e.id??n.responseId,n.responseModel=e.model??n.responseModel,n.responseTimestamp=e.created??n.responseTimestamp,e.usage&&(n.promptTokens=e.usage.prompt_tokens,n.completionTokens=e.usage.completion_tokens,n.totalTokens=e.usage.total_tokens),e.choices??[]))t&&(r.delta?.content&&n.responseTexts.push(r.delta.content),r.delta?.tool_calls&&function(e,n){for(let t of e){let e=t.index;if(void 0!==e&&t.function){if(e in n.chatCompletionToolCalls){let r=n.chatCompletionToolCalls[e];t.function.arguments&&r?.function&&(r.function.arguments+=t.function.arguments)}else n.chatCompletionToolCalls[e]={...t,function:{name:t.function.name,arguments:t.function.arguments||""}}}}}(r.delta.tool_calls,n)),r.finish_reason&&n.finishReasons.push(r.finish_reason)}(i,l,t):s.isResponsesApiStreamEvent(i)&&function(e,n,t,i){if(!(e&&"object"==typeof e)){n.eventTypes.push("unknown:non-object");return}if(e instanceof Error){i.setStatus({code:o.SPAN_STATUS_ERROR,message:"internal_error"}),r.captureException(e,{mechanism:{handled:!1,type:"auto.ai.openai.stream-response"}});return}if("type"in e){if(!a.RESPONSE_EVENT_TYPES.includes(e.type)){n.eventTypes.push(e.type);return}if(t&&("response.output_item.done"===e.type&&"item"in e&&n.responsesApiToolCalls.push(e.item),"response.output_text.delta"===e.type&&"delta"in e&&e.delta)){n.responseTexts.push(e.delta);return}if("response"in e){let{response:r}=e;n.responseId=r.id??n.responseId,n.responseModel=r.model??n.responseModel,n.responseTimestamp=r.created_at??n.responseTimestamp,r.usage&&(n.promptTokens=r.usage.input_tokens,n.completionTokens=r.usage.output_tokens,n.totalTokens=r.usage.total_tokens),r.status&&n.finishReasons.push(r.status),t&&r.output_text&&n.responseTexts.push(r.output_text)}}}(i,l,t,n),yield i}finally{s.setCommonResponseAttributes(n,l.responseId,l.responseModel,l.responseTimestamp),s.setTokenUsageAttributes(n,l.promptTokens,l.completionTokens,l.totalTokens),n.setAttributes({[i.GEN_AI_RESPONSE_STREAMING_ATTRIBUTE]:!0}),l.finishReasons.length&&n.setAttributes({[i.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE]:JSON.stringify(l.finishReasons)}),t&&l.responseTexts.length&&n.setAttributes({[i.GEN_AI_RESPONSE_TEXT_ATTRIBUTE]:l.responseTexts.join("")});let e=[...Object.values(l.chatCompletionToolCalls),...l.responsesApiToolCalls];e.length>0&&n.setAttributes({[i.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]:JSON.stringify(e)}),n.end()}}n.instrumentStream=l},63461:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(75480),o=t(80492);function i(e){return e.includes("chat.completions")?r.OPENAI_OPERATIONS.CHAT:e.includes("responses")?r.OPENAI_OPERATIONS.RESPONSES:e.includes("embeddings")?r.OPENAI_OPERATIONS.EMBEDDINGS:e.includes("conversations")?r.OPENAI_OPERATIONS.CONVERSATIONS:e.split(".").pop()||"unknown"}function a(e,n,t,o){void 0!==n&&e.setAttributes({[r.OPENAI_USAGE_PROMPT_TOKENS_ATTRIBUTE]:n,[r.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]:n}),void 0!==t&&e.setAttributes({[r.OPENAI_USAGE_COMPLETION_TOKENS_ATTRIBUTE]:t,[r.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE]:t}),void 0!==o&&e.setAttributes({[r.GEN_AI_USAGE_TOTAL_TOKENS_ATTRIBUTE]:o})}function s(e,n,t,o){e.setAttributes({[r.OPENAI_RESPONSE_ID_ATTRIBUTE]:n,[r.GEN_AI_RESPONSE_ID_ATTRIBUTE]:n}),e.setAttributes({[r.OPENAI_RESPONSE_MODEL_ATTRIBUTE]:t,[r.GEN_AI_RESPONSE_MODEL_ATTRIBUTE]:t}),e.setAttributes({[r.OPENAI_RESPONSE_TIMESTAMP_ATTRIBUTE]:new Date(1e3*o).toISOString()})}n.addChatCompletionAttributes=function(e,n,t){if(s(e,n.id,n.model,n.created),n.usage&&a(e,n.usage.prompt_tokens,n.usage.completion_tokens,n.usage.total_tokens),Array.isArray(n.choices)){let o=n.choices.map(e=>e.finish_reason).filter(e=>null!==e);if(o.length>0&&e.setAttributes({[r.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE]:JSON.stringify(o)}),t){let t=n.choices.map(e=>e.message?.tool_calls).filter(e=>Array.isArray(e)&&e.length>0).flat();t.length>0&&e.setAttributes({[r.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]:JSON.stringify(t)})}}},n.addConversationAttributes=function(e,n){let{id:t,created_at:o}=n;e.setAttributes({[r.OPENAI_RESPONSE_ID_ATTRIBUTE]:t,[r.GEN_AI_RESPONSE_ID_ATTRIBUTE]:t,[r.GEN_AI_CONVERSATION_ID_ATTRIBUTE]:t}),o&&e.setAttributes({[r.OPENAI_RESPONSE_TIMESTAMP_ATTRIBUTE]:new Date(1e3*o).toISOString()})},n.addEmbeddingsAttributes=function(e,n){e.setAttributes({[r.OPENAI_RESPONSE_MODEL_ATTRIBUTE]:n.model,[r.GEN_AI_RESPONSE_MODEL_ATTRIBUTE]:n.model}),n.usage&&a(e,n.usage.prompt_tokens,void 0,n.usage.total_tokens)},n.addResponsesApiAttributes=function(e,n,t){if(s(e,n.id,n.model,n.created_at),n.status&&e.setAttributes({[r.GEN_AI_RESPONSE_FINISH_REASONS_ATTRIBUTE]:JSON.stringify([n.status])}),n.usage&&a(e,n.usage.input_tokens,n.usage.output_tokens,n.usage.total_tokens),t&&Array.isArray(n.output)&&n.output.length>0){let t=n.output.filter(e=>"object"==typeof e&&null!==e&&"function_call"===e.type);t.length>0&&e.setAttributes({[r.GEN_AI_RESPONSE_TOOL_CALLS_ATTRIBUTE]:JSON.stringify(t)})}},n.buildMethodPath=function(e,n){return e?`${e}.${n}`:n},n.extractRequestParameters=function(e){let n={[r.GEN_AI_REQUEST_MODEL_ATTRIBUTE]:e.model??"unknown"};"temperature"in e&&(n[r.GEN_AI_REQUEST_TEMPERATURE_ATTRIBUTE]=e.temperature),"top_p"in e&&(n[r.GEN_AI_REQUEST_TOP_P_ATTRIBUTE]=e.top_p),"frequency_penalty"in e&&(n[r.GEN_AI_REQUEST_FREQUENCY_PENALTY_ATTRIBUTE]=e.frequency_penalty),"presence_penalty"in e&&(n[r.GEN_AI_REQUEST_PRESENCE_PENALTY_ATTRIBUTE]=e.presence_penalty),"stream"in e&&(n[r.GEN_AI_REQUEST_STREAM_ATTRIBUTE]=e.stream),"encoding_format"in e&&(n[r.GEN_AI_REQUEST_ENCODING_FORMAT_ATTRIBUTE]=e.encoding_format),"dimensions"in e&&(n[r.GEN_AI_REQUEST_DIMENSIONS_ATTRIBUTE]=e.dimensions);let t="conversation"in e&&"string"==typeof e.conversation?e.conversation:"previous_response_id"in e&&"string"==typeof e.previous_response_id?e.previous_response_id:void 0;return t&&(n[r.GEN_AI_CONVERSATION_ID_ATTRIBUTE]=t),n},n.getOperationName=i,n.getSpanOperation=function(e){return`gen_ai.${i(e)}`},n.isChatCompletionChunk=function(e){return null!==e&&"object"==typeof e&&"object"in e&&"chat.completion.chunk"===e.object},n.isChatCompletionResponse=function(e){return null!==e&&"object"==typeof e&&"object"in e&&"chat.completion"===e.object},n.isConversationResponse=function(e){return null!==e&&"object"==typeof e&&"object"in e&&"conversation"===e.object},n.isEmbeddingsResponse=function(e){return null!==e&&"object"==typeof e&&"object"in e&&"list"===e.object&&"string"==typeof e.model&&e.model.toLowerCase().includes("embedding")},n.isResponsesApiResponse=function(e){return null!==e&&"object"==typeof e&&"object"in e&&"response"===e.object},n.isResponsesApiStreamEvent=function(e){return null!==e&&"object"==typeof e&&"type"in e&&"string"==typeof e.type&&e.type.startsWith("response.")},n.setCommonResponseAttributes=s,n.setTokenUsageAttributes=a,n.shouldInstrument=function(e){return o.INSTRUMENTED_METHODS.includes(e)}},55385:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(48530),i=t(46793),a=t(23412);n.sampleSpan=function(e,n,t){let s,l;if(!i.hasSpansEnabled(e))return[!1];"function"==typeof e.tracesSampler?(s=e.tracesSampler({...n,inheritOrSampleWith:e=>"number"==typeof n.parentSampleRate?n.parentSampleRate:"boolean"==typeof n.parentSampled?Number(n.parentSampled):e}),l=!0):void 0!==n.parentSampled?s=n.parentSampled:void 0!==e.tracesSampleRate&&(s=e.tracesSampleRate,l=!0);let c=a.parseSampleRate(s);if(void 0===c)return r.DEBUG_BUILD&&o.debug.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(s)} of type ${JSON.stringify(typeof s)}.`),[!1];if(!c)return r.DEBUG_BUILD&&o.debug.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,c,l];let u=tthis.setAttribute(n,e[n])),this}updateStartTime(e){this._startTime=c.spanTimeInputToSeconds(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"custom"),this}end(e){this._endTime||(this._endTime=c.spanTimeInputToSeconds(e),p.logSpanEnd(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[a.SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:c.getStatusMessage(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],profile_id:this._attributes[a.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._attributes[a.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:m.timedEventsToMeasurements(this._events),is_segment:this._isStandaloneSpan&&c.getRootSpan(this)===this||void 0,segment_id:this._isStandaloneSpan?c.getRootSpan(this).spanContext().spanId:void 0,links:c.convertSpanLinksForEnvelope(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,n,t){o.DEBUG_BUILD&&s.debug.log("[Tracing] Adding an event to span:",e);let r=g(n)?n:t||u.timestampInSeconds(),i=g(n)?{}:n||{},a={name:e,time:c.spanTimeInputToSeconds(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=r.getClient();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===c.getRootSpan(this)))return;if(this._isStandaloneSpan){this._sampled?function(e){let n=r.getClient();if(!n)return;let t=e[1];if(!t||0===t.length){n.recordDroppedEvent("before_send","span");return}n.sendEnvelope(e)}(i.createSpanEnvelope([this],e)):(o.DEBUG_BUILD&&s.debug.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span"));return}let n=this._convertSpanToTransaction();n&&(h.getCapturedScopesOnSpan(this).scope||r.getCurrentScope()).captureEvent(n)}_convertSpanToTransaction(){if(!_(c.spanToJSON(this)))return;this._name||(o.DEBUG_BUILD&&s.debug.warn("Transaction has no name, falling back to ``."),this._name="");let{scope:e,isolationScope:n}=h.getCapturedScopesOnSpan(this),t=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let r=c.getSpanDescendants(this).filter(e=>e!==this&&!(e instanceof f&&e.isStandaloneSpan())).map(e=>c.spanToJSON(e)).filter(_),i=this._attributes[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];delete this._attributes[a.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME],r.forEach(e=>{delete e.data[a.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]});let l={contexts:{trace:c.spanToTransactionTraceContext(this)},spans:r.length>1e3?r.sort((e,n)=>e.start_timestamp-n.start_timestamp).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:n,dynamicSamplingContext:d.getDynamicSamplingContextFromSpan(this)},request:t,...i&&{transaction_info:{source:i}}},u=m.timedEventsToMeasurements(this._events);return u&&Object.keys(u).length&&(o.DEBUG_BUILD&&s.debug.log("[Measurements] Adding measurements to transaction event",JSON.stringify(u,void 0,2)),l.measurements=u),l}}function g(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function _(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}n.SentrySpan=f},5978:function(e,n){function t(e){if(e<400&&e>=100)return{code:1};if(e>=400&&e<500)switch(e){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"}}return{code:2,message:"internal_error"}}Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.SPAN_STATUS_ERROR=2,n.SPAN_STATUS_OK=1,n.SPAN_STATUS_UNSET=0,n.getSpanStatusFromHttpCode=t,n.setHttpStatus=function(e,n){e.setAttribute("http.response.status_code",n);let r=t(n);"unknown_error"!==r.message&&e.setStatus(r)}},7665:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(30474),o=t(7975),i=t(70249),a=t(43147),s=t(97930),l=t(72634),c=t(48530),u=t(56805),d=t(46793),p=t(23412),m=t(76216),h=t(42221),f=t(25156),g=t(85899),_=t(26077),y=t(77512),v=t(19319),b=t(55385),C=t(17519),T=t(48391),S=t(5978),k=t(2957),E="__SENTRY_SUPPRESS_TRACING__";function R(e,n){let t=x();return t.withActiveSpan?t.withActiveSpan(e,n):i.withScope(t=>(f._setSpanForScope(t,e||void 0),n(t)))}function I(e){return i.withScope(n=>(n.setPropagationContext({traceId:m.generateTraceId(),sampleRand:h.safeMathRandom()}),a.DEBUG_BUILD&&c.debug.log(`Starting a new trace with id ${n.getPropagationContext().traceId}`),R(null,e)))}function A({parentSpan:e,spanArguments:n,forceTransaction:t,scope:r}){let o;if(!d.hasSpansEnabled()){let r=new C.SentryNonRecordingSpan;if(t||!e){let e={sampled:"false",sample_rate:"0",transaction:n.name,...y.getDynamicSamplingContextFromSpan(r)};y.freezeDscOnSpan(r,e)}return r}let a=i.getIsolationScope();if(e&&!t)o=function(e,n,t){let{spanId:r,traceId:o}=e.spanContext(),a=!n.getScopeData().sdkProcessingMetadata[E]&&g.spanIsSampled(e),s=a?new T.SentrySpan({...t,parentSpanId:r,traceId:o,sampled:a}):new C.SentryNonRecordingSpan({traceId:o});g.addChildSpanToSpan(e,s);let l=i.getClient();return l&&(l.emit("spanStart",s),t.endTimestamp&&l.emit("spanEnd",s)),s}(e,r,n),g.addChildSpanToSpan(e,o);else if(e){let t=y.getDynamicSamplingContextFromSpan(e),{traceId:i,spanId:a}=e.spanContext(),s=g.spanIsSampled(e);o=P({traceId:i,parentSpanId:a,...n},r,s),y.freezeDscOnSpan(o,t)}else{let{traceId:e,dsc:t,parentSpanId:i,sampled:s}={...a.getPropagationContext(),...r.getPropagationContext()};o=P({traceId:e,parentSpanId:i,...n},r,s),t&&y.freezeDscOnSpan(o,t)}return v.logSpanStart(o),k.setCapturedScopesOnSpan(o,r,a),o}function w(e){let n={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let t={...n};return t.startTimestamp=g.spanTimeInputToSeconds(e.startTime),delete t.startTime,t}return n}function x(){let e=o.getMainCarrier();return r.getAsyncContextStrategy(e)}function P(e,n,t){let r=i.getClient(),o=r?.getOptions()||{},{name:l=""}=e,u={spanAttributes:{...e.attributes},spanName:l,parentSampled:t};r?.emit("beforeSampling",u,{decision:!1});let d=u.parentSampled??t,m=u.spanAttributes,h=n.getPropagationContext(),[f,g,_]=n.getScopeData().sdkProcessingMetadata[E]?[!1]:b.sampleSpan(o,{name:l,parentSampled:d,attributes:m,parentSampleRate:p.parseSampleRate(h.dsc?.sample_rate)},h.sampleRand),y=new T.SentrySpan({...e,attributes:{[s.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[s.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]:void 0!==g&&_?g:void 0,...m},sampled:f});return!f&&r&&(a.DEBUG_BUILD&&c.debug.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),r.recordDroppedEvent("sample_rate","transaction")),r&&r.emit("spanStart",y),y}function B(e,n){if(n)return n;if(null===n)return;let t=f._getSpanForScope(e);if(!t)return;let r=i.getClient();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?g.getRootSpan(t):t}function N(e){return void 0!==e?n=>R(e,n):e=>e()}n.continueTrace=(e,n)=>{let t=o.getMainCarrier(),a=r.getAsyncContextStrategy(t);if(a.continueTrace)return a.continueTrace(e,n);let{sentryTrace:s,baggage:c}=e,u=i.getClient(),d=l.baggageHeaderToDynamicSamplingContext(c);return u&&!_.shouldContinueTrace(u,d?.org_id)?I(n):i.withScope(e=>{let t=_.propagationContextFromHeaders(s,c);return e.setPropagationContext(t),f._setSpanForScope(e,void 0),n()})},n.startInactiveSpan=function(e){let n=x();if(n.startInactiveSpan)return n.startInactiveSpan(e);let t=w(e),{forceTransaction:r,parentSpan:o}=e;return(e.scope?n=>i.withScope(e.scope,n):void 0!==o?e=>R(o,e):e=>e())(()=>{let n=i.getCurrentScope(),a=B(n,o);return e.onlyIfParent&&!a?new C.SentryNonRecordingSpan:A({parentSpan:a,spanArguments:t,forceTransaction:r,scope:n})})},n.startNewTrace=I,n.startSpan=function(e,n){let t=x();if(t.startSpan)return t.startSpan(e,n);let r=w(e),{forceTransaction:o,parentSpan:a,scope:s}=e,l=s?.clone();return i.withScope(l,()=>N(a)(()=>{let t=i.getCurrentScope(),s=B(t,a),l=e.onlyIfParent&&!s?new C.SentryNonRecordingSpan:A({parentSpan:s,spanArguments:r,forceTransaction:o,scope:t});return f._setSpanForScope(t,l),u.handleCallbackErrors(()=>n(l),()=>{let{status:e}=g.spanToJSON(l);l.isRecording()&&(!e||"ok"===e)&&l.setStatus({code:S.SPAN_STATUS_ERROR,message:"internal_error"})},()=>{l.end()})}))},n.startSpanManual=function(e,n){let t=x();if(t.startSpanManual)return t.startSpanManual(e,n);let r=w(e),{forceTransaction:o,parentSpan:a,scope:s}=e,l=s?.clone();return i.withScope(l,()=>N(a)(()=>{let t=i.getCurrentScope(),s=B(t,a),l=e.onlyIfParent&&!s?new C.SentryNonRecordingSpan:A({parentSpan:s,spanArguments:r,forceTransaction:o,scope:t});return f._setSpanForScope(t,l),u.handleCallbackErrors(()=>n(l,()=>l.end()),()=>{let{status:e}=g.spanToJSON(l);l.isRecording()&&(!e||"ok"===e)&&l.setStatus({code:S.SPAN_STATUS_ERROR,message:"internal_error"})})}))},n.suppressTracing=function(e){let n=x();return n.suppressTracing?n.suppressTracing(e):i.withScope(n=>{n.setSDKProcessingMetadata({[E]:!0});let t=e();return n.setSDKProcessingMetadata({[E]:void 0}),t})},n.withActiveSpan=R},2957:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(59315),o=t(40205),i="_sentryScope",a="_sentryIsolationScope";n.getCapturedScopesOnSpan=function(e){return{scope:e[i],isolationScope:function(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}(e[a])}},n.setCapturedScopesOnSpan=function(e,n,t){e&&(r.addNonEnumerableProperty(e,a,function(e){try{let n=o.GLOBAL_OBJ.WeakRef;if("function"==typeof n)return new n(e)}catch{}return e}(t)),r.addNonEnumerableProperty(e,i,n))}},28392:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let t=new Map;n.toolCallSpanMap=t},49745:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(97930),o=t(85899),i=t(75480),a=t(28392),s=t(75294),l=t(64340);function c(e,n){e.setAttribute(r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,n)}function u(e){let{data:n,description:t}=o.spanToJSON(e);if(t){if(n[l.AI_TOOL_CALL_NAME_ATTRIBUTE]&&n[l.AI_TOOL_CALL_ID_ATTRIBUTE]&&"ai.toolCall"===t){!function(e,n){c(e,"auto.vercelai.otel"),e.setAttribute(r.SEMANTIC_ATTRIBUTE_SENTRY_OP,"gen_ai.execute_tool"),p(n,l.AI_TOOL_CALL_NAME_ATTRIBUTE,"gen_ai.tool.name"),p(n,l.AI_TOOL_CALL_ID_ATTRIBUTE,"gen_ai.tool.call.id");let t=n["gen_ai.tool.call.id"];"string"==typeof t&&a.toolCallSpanMap.set(t,e),n["gen_ai.tool.type"]||e.setAttribute("gen_ai.tool.type","function");let o=n["gen_ai.tool.name"];o&&e.updateName(`execute_tool ${o}`)}(e,n);return}t.startsWith("ai.")&&function(e,n,t){c(e,"auto.vercelai.otel");let o=n.replace("ai.","");e.setAttribute("ai.pipeline.name",o),e.updateName(o);let a=t[l.AI_TELEMETRY_FUNCTION_ID_ATTRIBUTE];a&&"string"==typeof a&&(e.updateName(`${o} ${a}`),e.setAttribute("gen_ai.function_id",a)),s.requestMessagesFromPrompt(e,t),t[l.AI_MODEL_ID_ATTRIBUTE]&&!t[i.GEN_AI_RESPONSE_MODEL_ATTRIBUTE]&&e.setAttribute(i.GEN_AI_RESPONSE_MODEL_ATTRIBUTE,t[l.AI_MODEL_ID_ATTRIBUTE]),e.setAttribute("ai.streaming",n.includes("stream"));let u=s.getSpanOpFromName(n);u&&e.setAttribute(r.SEMANTIC_ATTRIBUTE_SENTRY_OP,u);let d=t[l.AI_MODEL_ID_ATTRIBUTE];if(d)switch(n){case"ai.generateText.doGenerate":e.updateName(`generate_text ${d}`);break;case"ai.streamText.doStream":e.updateName(`stream_text ${d}`);break;case"ai.generateObject.doGenerate":e.updateName(`generate_object ${d}`);break;case"ai.streamObject.doStream":e.updateName(`stream_object ${d}`);break;case"ai.embed.doEmbed":e.updateName(`embed ${d}`);break;case"ai.embedMany.doEmbed":e.updateName(`embed_many ${d}`)}}(e,t,n)}}function d(e){if("transaction"===e.type&&e.spans){let n=new Map;for(let t of e.spans)(function(e){let{data:n,origin:t}=e;if("auto.vercelai.otel"===t)for(let e of(p(n,l.AI_USAGE_COMPLETION_TOKENS_ATTRIBUTE,i.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE),p(n,l.AI_USAGE_PROMPT_TOKENS_ATTRIBUTE,i.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE),p(n,l.AI_USAGE_CACHED_INPUT_TOKENS_ATTRIBUTE,i.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE),"number"==typeof n[i.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]&&"number"==typeof n[i.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE]&&(n[i.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]=n[i.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]+n[i.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE]),"number"==typeof n[i.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE]&&"number"==typeof n[i.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]&&(n["gen_ai.usage.total_tokens"]=n[i.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE]+n[i.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]),n[l.AI_PROMPT_TOOLS_ATTRIBUTE]&&Array.isArray(n[l.AI_PROMPT_TOOLS_ATTRIBUTE])&&(n[l.AI_PROMPT_TOOLS_ATTRIBUTE]=s.convertAvailableToolsToJsonString(n[l.AI_PROMPT_TOOLS_ATTRIBUTE])),p(n,l.OPERATION_NAME_ATTRIBUTE,i.GEN_AI_OPERATION_NAME_ATTRIBUTE),p(n,l.AI_PROMPT_MESSAGES_ATTRIBUTE,i.GEN_AI_REQUEST_MESSAGES_ATTRIBUTE),p(n,l.AI_RESPONSE_TEXT_ATTRIBUTE,"gen_ai.response.text"),p(n,l.AI_RESPONSE_TOOL_CALLS_ATTRIBUTE,"gen_ai.response.tool_calls"),p(n,l.AI_RESPONSE_OBJECT_ATTRIBUTE,"gen_ai.response.object"),p(n,l.AI_PROMPT_TOOLS_ATTRIBUTE,"gen_ai.request.available_tools"),p(n,l.AI_TOOL_CALL_ARGS_ATTRIBUTE,"gen_ai.tool.input"),p(n,l.AI_TOOL_CALL_RESULT_ATTRIBUTE,"gen_ai.tool.output"),p(n,l.AI_SCHEMA_ATTRIBUTE,"gen_ai.request.schema"),p(n,l.AI_MODEL_ID_ATTRIBUTE,i.GEN_AI_REQUEST_MODEL_ATTRIBUTE),function(e){let n=e[l.AI_RESPONSE_PROVIDER_METADATA_ATTRIBUTE];if(n)try{let t=JSON.parse(n),r=t.openai??t.azure;if(r&&(m(e,i.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE,r.cachedPromptTokens),m(e,"gen_ai.usage.output_tokens.reasoning",r.reasoningTokens),m(e,"gen_ai.usage.output_tokens.prediction_accepted",r.acceptedPredictionTokens),m(e,"gen_ai.usage.output_tokens.prediction_rejected",r.rejectedPredictionTokens),m(e,"gen_ai.conversation.id",r.responseId)),t.anthropic){let n=t.anthropic.usage?.cache_read_input_tokens??t.anthropic.cacheReadInputTokens;m(e,i.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE,n);let r=t.anthropic.usage?.cache_creation_input_tokens??t.anthropic.cacheCreationInputTokens;m(e,i.GEN_AI_USAGE_INPUT_TOKENS_CACHE_WRITE_ATTRIBUTE,r)}t.bedrock?.usage&&(m(e,i.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE,t.bedrock.usage.cacheReadInputTokens),m(e,i.GEN_AI_USAGE_INPUT_TOKENS_CACHE_WRITE_ATTRIBUTE,t.bedrock.usage.cacheWriteInputTokens)),t.deepseek&&(m(e,i.GEN_AI_USAGE_INPUT_TOKENS_CACHED_ATTRIBUTE,t.deepseek.promptCacheHitTokens),m(e,"gen_ai.usage.input_tokens.cache_miss",t.deepseek.promptCacheMissTokens))}catch{}}(n),Object.keys(n)))e.startsWith("ai.")&&p(n,e,`vercel.${e}`)})(t),s.accumulateTokensForParent(t,n);for(let t of e.spans)"gen_ai.invoke_agent"===t.op&&s.applyAccumulatedTokens(t,n);let t=e.contexts?.trace;t&&"gen_ai.invoke_agent"===t.op&&s.applyAccumulatedTokens(t,n)}return e}function p(e,n,t){null!=e[n]&&(e[t]=e[n],delete e[n])}function m(e,n,t){null!=t&&(e[n]=t)}n.addVercelAiProcessors=function(e){e.on("spanStart",u),e.addEventProcessor(Object.assign(d,{id:"VercelAiEventProcessor"}))}},75294:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(75480),o=t(44085),i=t(28392),a=t(64340);function s(e){try{let n=JSON.parse(e);if(n&&"object"==typeof n){let{prompt:e,system:t}=n;if("string"==typeof e||"string"==typeof t){let n=[];return"string"==typeof t&&n.push({role:"system",content:t}),"string"==typeof e&&n.push({role:"user",content:e}),n}}}catch{}return[]}n._INTERNAL_cleanupToolCallSpan=function(e){i.toolCallSpanMap.delete(e)},n._INTERNAL_getSpanForToolCallId=function(e){return i.toolCallSpanMap.get(e)},n.accumulateTokensForParent=function(e,n){let t=e.parent_span_id;if(!t)return;let o=e.data[r.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE],i=e.data[r.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE];if("number"==typeof o||"number"==typeof i){let e=n.get(t)||{inputTokens:0,outputTokens:0};"number"==typeof o&&(e.inputTokens+=o),"number"==typeof i&&(e.outputTokens+=i),n.set(t,e)}},n.applyAccumulatedTokens=function(e,n){let t=n.get(e.span_id);t&&e.data&&(t.inputTokens>0&&(e.data[r.GEN_AI_USAGE_INPUT_TOKENS_ATTRIBUTE]=t.inputTokens),t.outputTokens>0&&(e.data[r.GEN_AI_USAGE_OUTPUT_TOKENS_ATTRIBUTE]=t.outputTokens),(t.inputTokens>0||t.outputTokens>0)&&(e.data["gen_ai.usage.total_tokens"]=t.inputTokens+t.outputTokens))},n.convertAvailableToolsToJsonString=function(e){return JSON.stringify(e.map(e=>{if("string"==typeof e)try{return JSON.parse(e)}catch{}return e}))},n.convertPromptToMessages=s,n.getSpanOpFromName=function(e){switch(e){case"ai.generateText":case"ai.streamText":case"ai.generateObject":case"ai.streamObject":case"ai.embed":case"ai.embedMany":return r.GEN_AI_INVOKE_AGENT_OPERATION_ATTRIBUTE;case"ai.generateText.doGenerate":return r.GEN_AI_GENERATE_TEXT_DO_GENERATE_OPERATION_ATTRIBUTE;case"ai.streamText.doStream":return r.GEN_AI_STREAM_TEXT_DO_STREAM_OPERATION_ATTRIBUTE;case"ai.generateObject.doGenerate":return r.GEN_AI_GENERATE_OBJECT_DO_GENERATE_OPERATION_ATTRIBUTE;case"ai.streamObject.doStream":return r.GEN_AI_STREAM_OBJECT_DO_STREAM_OPERATION_ATTRIBUTE;case"ai.embed.doEmbed":return r.GEN_AI_EMBED_DO_EMBED_OPERATION_ATTRIBUTE;case"ai.embedMany.doEmbed":return r.GEN_AI_EMBED_MANY_DO_EMBED_OPERATION_ATTRIBUTE;case"ai.toolCall":return r.GEN_AI_EXECUTE_TOOL_OPERATION_ATTRIBUTE;default:if(e.startsWith("ai.stream"))return"ai.run";return}},n.requestMessagesFromPrompt=function(e,n){if(n[a.AI_PROMPT_ATTRIBUTE]){let t=o.getTruncatedJsonString(n[a.AI_PROMPT_ATTRIBUTE]);e.setAttribute("gen_ai.prompt",t)}let t=n[a.AI_PROMPT_ATTRIBUTE];if("string"!=typeof t||n[r.GEN_AI_REQUEST_MESSAGES_ATTRIBUTE]||n[a.AI_PROMPT_MESSAGES_ATTRIBUTE]){if("string"==typeof n[a.AI_PROMPT_MESSAGES_ATTRIBUTE])try{let t=JSON.parse(n[a.AI_PROMPT_MESSAGES_ATTRIBUTE]);Array.isArray(t)&&e.setAttributes({[a.AI_PROMPT_MESSAGES_ATTRIBUTE]:void 0,[r.GEN_AI_REQUEST_MESSAGES_ATTRIBUTE]:o.getTruncatedJsonString(t),[r.GEN_AI_REQUEST_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]:t.length})}catch{}}else{let n=s(t);n.length&&e.setAttributes({[r.GEN_AI_REQUEST_MESSAGES_ATTRIBUTE]:o.getTruncatedJsonString(n),[r.GEN_AI_REQUEST_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]:n.length})}}},64340:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.AI_MODEL_ID_ATTRIBUTE="ai.model.id",n.AI_PROMPT_ATTRIBUTE="ai.prompt",n.AI_PROMPT_MESSAGES_ATTRIBUTE="ai.prompt.messages",n.AI_PROMPT_TOOLS_ATTRIBUTE="ai.prompt.tools",n.AI_RESPONSE_OBJECT_ATTRIBUTE="ai.response.object",n.AI_RESPONSE_PROVIDER_METADATA_ATTRIBUTE="ai.response.providerMetadata",n.AI_RESPONSE_TEXT_ATTRIBUTE="ai.response.text",n.AI_RESPONSE_TOOL_CALLS_ATTRIBUTE="ai.response.toolCalls",n.AI_SCHEMA_ATTRIBUTE="ai.schema",n.AI_TELEMETRY_FUNCTION_ID_ATTRIBUTE="ai.telemetry.functionId",n.AI_TOOL_CALL_ARGS_ATTRIBUTE="ai.toolCall.args",n.AI_TOOL_CALL_ID_ATTRIBUTE="ai.toolCall.id",n.AI_TOOL_CALL_NAME_ATTRIBUTE="ai.toolCall.name",n.AI_TOOL_CALL_RESULT_ATTRIBUTE="ai.toolCall.result",n.AI_USAGE_CACHED_INPUT_TOKENS_ATTRIBUTE="ai.usage.cachedInputTokens",n.AI_USAGE_COMPLETION_TOKENS_ATTRIBUTE="ai.usage.completionTokens",n.AI_USAGE_PROMPT_TOKENS_ATTRIBUTE="ai.usage.promptTokens",n.OPERATION_NAME_ATTRIBUTE="operation.name"},25891:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(48530),i=t(49622),a=t(50404),s=t(41412);n.DEFAULT_TRANSPORT_BUFFER_SIZE=64,n.createTransport=function(e,n,t=a.makePromiseBuffer(e.bufferSize||64)){let l={};return{send:function(c){let u=[];if(i.forEachEnvelopeItem(c,(n,t)=>{let r=i.envelopeItemTypeToDataCategory(t);s.isRateLimited(l,r)?e.recordDroppedEvent("ratelimit_backoff",r):u.push(n)}),0===u.length)return Promise.resolve({});let d=i.createEnvelope(c[0],u),p=n=>{if(i.envelopeContainsItemType(d,["client_report"])){r.DEBUG_BUILD&&o.debug.warn(`Dropping client report. Will not send outcomes (reason: ${n}).`);return}i.forEachEnvelopeItem(d,(t,r)=>{e.recordDroppedEvent(n,i.envelopeItemTypeToDataCategory(r))})};return t.add(()=>n({body:i.serializeEnvelope(d)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&r.DEBUG_BUILD&&o.debug.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),l=s.updateRateLimits(l,e),e),e=>{throw p("network_error"),r.DEBUG_BUILD&&o.debug.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===a.SENTRY_BUFFER_FULL_ERROR)return r.DEBUG_BUILD&&o.debug.error("Skipped sending event because buffer is full."),p("queue_overflow"),Promise.resolve({});throw e})},flush:e=>t.drain(e)}}},79194:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(25697),o=t(79575),i=t(49622),a="MULTIPLEXED_TRANSPORT_EXTRA_KEY";function s(e,n){let t;return i.forEachEnvelopeItem(e,(e,r)=>(n.includes(r)&&(t=Array.isArray(e)?e[1]:void 0),!!t)),t}n.MULTIPLEXED_TRANSPORT_EXTRA_KEY=a,n.eventFromEnvelope=s,n.makeMultiplexedTransport=function(e,n){return t=>{let l=e(t),c=new Map,u=n||(e=>{let n=e.getEvent();return n?.extra?.[a]&&Array.isArray(n.extra[a])?n.extra[a]:[]});function d(n,i){let a=i?`${n}:${i}`:n,l=c.get(a);if(!l){let u=o.dsnFromString(n);if(!u)return;let d=r.getEnvelopeEndpointWithUrlEncodedAuth(u,t.tunnel);l=i?(n=>{let t=e(n);return{...t,send:async e=>{let n=s(e,["event","transaction","profile","replay_event"]);return n&&(n.release=i),t.send(e)}}})({...t,url:d}):e({...t,url:d}),c.set(a,l)}return[n,l]}return{send:async function(e){let n=u({envelope:e,getEvent:function(n){return s(e,n?.length?n:["event"])}}).map(e=>"string"==typeof e?d(e,void 0):d(e.dsn,e.release)).filter(e=>!!e),t=n.length?n:[["",l]];return(await Promise.all(t.map(([n,t])=>t.send(i.createEnvelope(n?{...e[0],dsn:n}:e[0],e[1])))))[0]},flush:async function(e){let n=[...c.values(),l];return(await Promise.all(n.map(n=>n.flush(e)))).every(e=>e)}}}}},554:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(48530),i=t(49622),a=t(41412);n.MIN_DELAY=100,n.START_DELAY=5e3,n.makeOfflineTransport=function(e){function n(...e){r.DEBUG_BUILD&&o.debug.log("[Offline]:",...e)}return t=>{let r;let o=e(t);if(!t.createStore)throw Error("No `createStore` function was provided");let s=t.createStore(t),l=5e3;function c(e){r&&clearTimeout(r),"number"!=typeof(r=setTimeout(async()=>{r=void 0;let e=await s.shift();e&&(n("Attempting to send previously queued event"),e[0].sent_at=new Date().toISOString(),d(e,!0).catch(e=>{n("Failed to retry sending",e)}))},e))&&r.unref&&r.unref()}function u(){r||(c(l),l=Math.min(2*l,36e5))}async function d(e,r=!1){if(!r&&i.envelopeContainsItemType(e,["replay_event","replay_recording"]))return await s.push(e),c(100),{};try{if(t.shouldSend&&await t.shouldSend(e)===!1)throw Error("Envelope not sent because `shouldSend` callback returned false");let n=await o.send(e),r=100;if(n){if(n.headers?.["retry-after"])r=a.parseRetryAfterHeader(n.headers["retry-after"]);else if(n.headers?.["x-sentry-rate-limits"])r=6e4;else if((n.statusCode||0)>=400)return n}return c(r),l=5e3,n}catch(o){var d;if(await (d=l,!i.envelopeContainsItemType(e,["client_report"])&&(!t.shouldStore||t.shouldStore(e,o,d))))return r?await s.unshift(e):await s.push(e),u(),n("Error sending. Event queued.",o),{};throw o}}return t.flushAtStartup&&u(),{send:d,flush:e=>(void 0===e&&(l=5e3,c(100)),o.flush(e))}}}},40162:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.addUserAgentToTransportHeaders=function(e){let n=e._metadata?.sdk,t=n?.name&&n?.version?`${n?.name}/${n?.version}`:void 0;e.transportOptions={...e.transportOptions,headers:{...t&&{"user-agent":t},...e.transportOptions?.headers}}}},49859:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(17528),i=t(97930),a=t(59315),s=t(73915),l=t(7665),c={mechanism:{handled:!1,type:"auto.rpc.trpc.middleware"}};n.trpcMiddleware=function(e={}){return async function(n){let{path:t,type:u,next:d,rawInput:p,getRawInput:m}=n,h=r.getClient(),f=h?.getOptions(),g={procedure_path:t,procedure_type:u};if(a.addNonEnumerableProperty(g,"__sentry_override_normalization_depth__",1+(f?.normalizeDepth??5)),(void 0!==e.attachRpcInput?e.attachRpcInput:f?.sendDefaultPii)&&(void 0!==p&&(g.input=s.normalize(p)),void 0!==m&&"function"==typeof m))try{let e=await m();g.input=s.normalize(e)}catch{}return r.withIsolationScope(n=>(n.setContext("trpc",g),l.startSpanManual({name:`trpc/${t}`,op:"rpc.server",attributes:{[i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"route",[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.rpc.trpc"},forceTransaction:!!e.forceTransaction},async e=>{try{let n=await d();return"object"==typeof n&&null!==n&&"ok"in n&&!n.ok&&"error"in n&&o.captureException(n.error,c),e.end(),n}catch(n){throw o.captureException(n,c),e.end(),n}})))}}},86085:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(88025);function o(e,n){e.mechanism={handled:!0,type:"auto.core.linked_errors",...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:n}}function i(e,n,t,r){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:n,exception_id:t,parent_id:r}}n.applyAggregateErrorsToEvent=function(e,n,t,a,s,l){if(!s.exception?.values||!l||!r.isInstanceOf(l.originalException,Error))return;let c=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;c&&(s.exception.values=function e(n,t,a,s,l,c,u,d){if(c.length>=a+1)return c;let p=[...c];if(r.isInstanceOf(s[l],Error)){o(u,d);let r=n(t,s[l]),c=p.length;i(r,l,c,d),p=e(n,t,a,s[l],l,[r,...p],r,c)}return Array.isArray(s.errors)&&s.errors.forEach((s,c)=>{if(r.isInstanceOf(s,Error)){o(u,d);let r=n(t,s),m=p.length;i(r,`errors[${c}]`,m,d),p=e(n,t,a,s,l,[r,...p],r,m)}}),p}(e,n,a,l.originalException,t,s.exception.values,c,0))}},70193:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(48530),i=new Set;n._INTERNAL_clearAiProviderSkips=function(){i.clear(),r.DEBUG_BUILD&&o.debug.log("Cleared AI provider skip registrations")},n._INTERNAL_shouldSkipAiProviderWrapping=function(e){return i.has(e)},n._INTERNAL_skipAiProviderWrapping=function(e){e.forEach(e=>{i.add(e),r.DEBUG_BUILD&&o.debug.log(`AI provider "${e}" wrapping will be skipped`)})}},90263:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(85884),o=t(30388);n.callFrameToStackFrame=function(e,n,t){let i=n?n.replace(/^file:\/\//,""):void 0,a=e.location.columnNumber?e.location.columnNumber+1:void 0,s=e.location.lineNumber?e.location.lineNumber+1:void 0;return{filename:i,module:t(i),function:e.functionName||o.UNKNOWN_FUNCTION,colno:a,lineno:s,in_app:i?r.filenameIsInApp(i):void 0}},n.watchdogTimer=function(e,n,t,r){let o=e(),i=!1,a=!0;return setInterval(()=>{let e=o.getTimeMs();!1===i&&e>n+t&&(i=!0,a&&r()),e{o.reset()},enabled:e=>{a=e}}}},72634:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(48530),i=t(88025),a="sentry-",s=/^sentry-/;function l(e){return e&&(i.isString(e)||Array.isArray(e))?Array.isArray(e)?e.reduce((e,n)=>(Object.entries(c(n)).forEach(([n,t])=>{e[n]=t}),e),{}):c(e):void 0}function c(e){return e.split(",").map(e=>{let n=e.indexOf("=");return -1===n?[]:[e.slice(0,n),e.slice(n+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[n,t])=>(n&&t&&(e[n]=t),e),{})}function u(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[n,t],i)=>{let a=`${encodeURIComponent(n)}=${encodeURIComponent(t)}`,s=0===i?a:`${e},${a}`;return s.length>8192?(r.DEBUG_BUILD&&o.debug.warn(`Not adding key: ${n} with val: ${t} to baggage header due to exceeding baggage size limits.`),e):s},"")}n.MAX_BAGGAGE_STRING_LENGTH=8192,n.SENTRY_BAGGAGE_KEY_PREFIX=a,n.SENTRY_BAGGAGE_KEY_PREFIX_REGEX=s,n.baggageHeaderToDynamicSamplingContext=function(e){let n=l(e);if(!n)return;let t=Object.entries(n).reduce((e,[n,t])=>(n.match(s)&&(e[n.slice(a.length)]=t),e),{});return Object.keys(t).length>0?t:void 0},n.dynamicSamplingContextToSentryBaggageHeader=function(e){if(e)return u(Object.entries(e).reduce((e,[n,t])=>(t&&(e[`${a}${n}`]=t),e),{}))},n.objectToBaggageHeader=u,n.parseBaggageHeader=l},29565:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.getBreadcrumbLogLevelFromHttpStatusCode=function(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}},4903:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(88025),o=t(40205).GLOBAL_OBJ;n.getComponentName=function(e){if(!o.HTMLElement)return null;let n=e;for(let e=0;e<5&&n;e++){if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null},n.getLocationHref=function(){try{return o.document.location.href}catch{return""}},n.htmlTreeAsString=function(e,n={}){if(!e)return"";try{let t,i=e,a=[],s=0,l=0,c=Array.isArray(n)?n:n.keyAttrs,u=!Array.isArray(n)&&n.maxStringLength||80;for(;i&&s++<5&&(t=function(e,n){let t=[];if(!e?.tagName)return"";if(o.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}t.push(e.tagName.toLowerCase());let i=n?.length?n.filter(n=>e.getAttribute(n)).map(n=>[n,e.getAttribute(n)]):null;if(i?.length)i.forEach(e=>{t.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&t.push(`#${e.id}`);let n=e.className;if(n&&r.isString(n))for(let e of n.split(/\s+/))t.push(`.${e}`)}for(let n of["aria-label","type","name","title","alt"]){let r=e.getAttribute(n);r&&t.push(`[${n}="${r}"]`)}return t.join("")}(i,c),"html"!==t&&(!(s>1)||!(l+3*a.length+t.length>=u)));)a.push(t),l+=t.length,i=i.parentNode;return a.reverse().join(" > ")}catch{return""}}},58450:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(49622),o=t(83884);n.createClientReportEnvelope=function(e,n,t){let i=[{type:"client_report"},{timestamp:t||o.dateTimestampInSeconds(),discarded_events:e}];return r.createEnvelope(n?{dsn:n}:{},[i])}},46648:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.parseCookie=function(e){let n={},t=0;for(;t{for(let o of n){let n=t[o],i=r?.[o];if(i&&a&&n)a[i[0]]=n,r&&(r[o]=[i[0],n]);else if(n){let t=e(o);for(let e=t.length-1;e>=0;e--){let i=t[e],s=i?.filename;if(s&&a&&r){a[s]=n,r[o]=[s,n];break}}}}};return n&&u(l,n),t&&u(c,t),a}n.getDebugImagesForResources=function(e,n){let t=l(e);if(!t)return[];let r=[];for(let e of n)e&&t[e]&&r.push({type:"sourcemap",code_file:e,debug_id:t[e]});return r},n.getFilenameToDebugIdMap=l},48530:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(7975),o=t(43147),i=t(40205),a={};function s(e){if(!("console"in i.GLOBAL_OBJ))return e();let n=i.GLOBAL_OBJ.console,t={},r=Object.keys(a);r.forEach(e=>{let r=a[e];t[e]=n[e],n[e]=r});try{return e()}finally{r.forEach(e=>{n[e]=t[e]})}}function l(){return u().enabled}function c(e,...n){o.DEBUG_BUILD&&l()&&s(()=>{i.GLOBAL_OBJ.console[e](`Sentry Logger [${e}]:`,...n)})}function u(){return o.DEBUG_BUILD?r.getGlobalSingleton("loggerSettings",()=>({enabled:!1})):{enabled:!1}}n.CONSOLE_LEVELS=["debug","info","warn","error","log","assert","trace"],n.consoleSandbox=s,n.debug={enable:function(){u().enabled=!0},disable:function(){u().enabled=!1},isEnabled:l,log:function(...e){c("log",...e)},warn:function(...e){c("warn",...e)},error:function(...e){c("error",...e)}},n.originalConsoleMethods=a},79575:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(48530),i=/^o(\d+)\./,a=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function s(e){let n=a.exec(e);if(!n){o.consoleSandbox(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[t,r,i="",s="",c="",u=""]=n.slice(1),d="",p=u,m=p.split("/");if(m.length>1&&(d=m.slice(0,-1).join("/"),p=m.pop()),p){let e=p.match(/^\d+/);e&&(p=e[0])}return l({host:s,pass:i,path:d,projectId:p,port:c,protocol:t,publicKey:r})}function l(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function c(e){let n=e.match(i);return n?.[1]}n.dsnFromString=s,n.dsnToString=function(e,n=!1){let{host:t,path:r,pass:o,port:i,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${n&&o?`:${o}`:""}@${t}${i?`:${i}`:""}/${r?`${r}/`:r}${a}`},n.extractOrgIdFromClient=function(e){let n;let t=e.getOptions(),{host:r}=e.getDsn()||{};return t.orgId?n=String(t.orgId):r&&(n=c(r)),n},n.extractOrgIdFromDsnHost=c,n.makeDsn=function(e){let n="string"==typeof e?s(e):l(e);if(n&&function(e){if(!r.DEBUG_BUILD)return!0;let{port:n,projectId:t,protocol:i}=e;return!["protocol","publicKey","host","projectId"].find(n=>!e[n]&&(o.debug.error(`Invalid Sentry Dsn: ${n} missing`),!0))&&(t.match(/^\d+$/)?"http"===i||"https"===i?!(n&&isNaN(parseInt(n,10)))||(o.debug.error(`Invalid Sentry Dsn: Invalid port ${n}`),!1):(o.debug.error(`Invalid Sentry Dsn: Invalid protocol ${i}`),!1):(o.debug.error(`Invalid Sentry Dsn: Invalid projectId ${t}`),!1))}(n))return n}},96952:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.getSDKSource=function(){return"npm"},n.isBrowserBundle=function(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}},49622:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(7975),o=t(79575),i=t(73915),a=t(40205);function s(e,n){for(let t of e[1]){let e=t[0].type;if(n(t,e))return!0}return!1}function l(e){let n=r.getSentryCarrier(a.GLOBAL_OBJ);return n.encodePolyfill?n.encodePolyfill(e):new TextEncoder().encode(e)}let c={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};n.addItemToEnvelope=function(e,n){let[t,r]=e;return[t,[...r,n]]},n.createAttachmentEnvelopeItem=function(e){let n="string"==typeof e.data?l(e.data):e.data;return[{type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},n]},n.createEnvelope=function(e,n=[]){return[e,n]},n.createEventEnvelopeHeaders=function(e,n,t,r){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...n&&{sdk:n},...!!t&&r&&{dsn:o.dsnToString(r)},...i&&{trace:i}}},n.createSpanEnvelopeItem=function(e){return[{type:"span"},e]},n.envelopeContainsItemType=function(e,n){return s(e,(e,t)=>n.includes(t))},n.envelopeItemTypeToDataCategory=function(e){return c[e]},n.forEachEnvelopeItem=s,n.getSdkMetadataForEnvelopeHeader=function(e){if(!e?.sdk)return;let{name:n,version:t}=e.sdk;return{name:n,version:t}},n.parseEnvelope=function(e){let n="string"==typeof e?l(e):e;function t(e){let t=n.subarray(0,e);return n=n.subarray(e+1),t}function o(){let e=n.indexOf(10);return e<0&&(e=n.length),JSON.parse(function(e){let n=r.getSentryCarrier(a.GLOBAL_OBJ);return n.decodePolyfill?n.decodePolyfill(e):new TextDecoder().decode(e)}(t(e)))}let i=o(),s=[];for(;n.length;){let e=o(),n="number"==typeof e.length?e.length:void 0;s.push([e,n?t(n):o()])}return[i,s]},n.serializeEnvelope=function(e){let[n,t]=e,r=JSON.stringify(n);function o(e){"string"==typeof r?r="string"==typeof e?r+e:[l(r),e]:r.push("string"==typeof e?l(e):e)}for(let e of t){let[n,t]=e;if(o(` ${JSON.stringify(n)} `),"string"==typeof t||t instanceof Uint8Array)o(t);else{let e;try{e=JSON.stringify(t)}catch{e=JSON.stringify(i.normalize(t))}o(e)}}return"string"==typeof r?r:function(e){let n=new Uint8Array(e.reduce((e,n)=>e+n.length,0)),t=0;for(let r of e)n.set(r,t),t+=r.length;return n}(r)}},42410:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});class t extends Error{constructor(e,n="warn"){super(e),this.message=e,this.logLevel=n}}n.SentryError=t},45394:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.getPossibleEventMessages=function(e){let n=[];e.message&&n.push(e.message);try{let t=e.exception.values[e.exception.values.length-1];t?.value&&(n.push(t.value),t.type&&n.push(`${t.type}: ${t.value}`))}catch{}return n}},6315:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(88025),o=t(62274),i=t(73915),a=t(59315);function s(e,n){return e(n.stack||"",1)}function l(e){return r.isError(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function c(e,n){let t={type:n.name||n.constructor.name,value:l(n)},r=s(e,n);return r.length&&(t.stacktrace={frames:r}),t}n._enhanceErrorWithSentryInfo=l,n.eventFromMessage=function(e,n,t="info",i,a){let l={event_id:i?.event_id,level:t};if(a&&i?.syntheticException){let t=s(e,i.syntheticException);t.length&&(l.exception={values:[{value:n,stacktrace:{frames:t}}]},o.addExceptionMechanism(l,{synthetic:!0}))}if(r.isParameterizedString(n)){let{__sentry_template_string__:e,__sentry_template_values__:t}=n;return l.logentry={message:e,params:t},l}return l.message=n,l},n.eventFromUnknownInput=function(e,n,t,s){let l=s?.data&&s.data.mechanism||{handled:!0,type:"generic"},[u,d]=function(e,n,t,o){if(r.isError(t))return[t,void 0];if(n.synthetic=!0,r.isPlainObject(t)){let n=e?.getOptions().normalizeDepth,s={__serialized__:i.normalizeToSize(t,n)},l=function(e){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)){let t=e[n];if(t instanceof Error)return t}}(t);if(l)return[l,s];let c=function(e){if("name"in e&&"string"==typeof e.name){let n=`'${e.name}' captured as exception`;return"message"in e&&"string"==typeof e.message&&(n+=` with message '${e.message}'`),n}if("message"in e&&"string"==typeof e.message)return e.message;let n=a.extractExceptionKeysForMessage(e);if(r.isErrorEvent(e))return`Event \`ErrorEvent\` captured as exception with message \`${e.message}\``;let t=function(e){try{let n=Object.getPrototypeOf(e);return n?n.constructor.name:void 0}catch{}}(e);return`${t&&"Object"!==t?`'${t}'`:"Object"} captured as exception with keys: ${n}`}(t),u=o?.syntheticException||Error(c);return u.message=c,[u,s]}let s=o?.syntheticException||Error(t);return s.message=`${t}`,[s,void 0]}(e,l,t,s),p={exception:{values:[c(n,u)]}};return d&&(p.extra=d),o.addExceptionTypeValue(p,void 0,void 0),o.addExceptionMechanism(p,l),{...p,event_id:s?.event_id}},n.exceptionFromError=c,n.parseStackFrames=s},9036:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.replaceExports=function(e,n,t){let r=e[n];if("function"==typeof r){try{e[n]=t}catch(r){Object.defineProperty(e,n,{value:t,writable:!0,configurable:!0,enumerable:!0})}if(e.default===r)try{e.default=t}catch(n){Object.defineProperty(e,"default",{value:t,writable:!0,configurable:!0,enumerable:!0})}}}},61265:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(43147),i=t(48530),a=t(85899),s="flag.evaluation.";function l(e,n,t,r){if("boolean"!=typeof t)return;if(e.length>r){o.DEBUG_BUILD&&i.debug.error(`[Feature Flags] insertToFlagBuffer called on a buffer larger than maxSize=${r}`);return}let a=e.findIndex(e=>e.flag===n);-1!==a&&e.splice(a,1),e.length===r&&e.shift(),e.push({flag:n,result:t})}n._INTERNAL_FLAG_BUFFER_SIZE=100,n._INTERNAL_MAX_FLAGS_PER_SPAN=10,n._INTERNAL_addFeatureFlagToActiveSpan=function(e,n,t=10){if("boolean"!=typeof n)return;let r=a.getActiveSpan();if(!r)return;let o=a.spanToJSON(r).data;if(`${s}${e}` in o){r.setAttribute(`${s}${e}`,n);return}Object.keys(o).filter(e=>e.startsWith(s)).length{},o=()=>{}){var i;let a;try{a=e()}catch(e){throw n(e),t(),e}return i=a,r.isThenable(i)?i.then(e=>(t(),o(e),e),e=>{throw n(e),t(),e}):(t(),o(i),i)}},46793:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),t(70249),n.hasSpansEnabled=function(e){return!1}},69599:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.addAutoIpAddressToSession=function(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")},n.addAutoIpAddressToUser=function(e){e.user?.ip_address===void 0&&(e.user={...e.user,ip_address:"{{auto}}"})}},88025:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let t=Object.prototype.toString;function r(e,n){return t.call(e)===`[object ${n}]`}function o(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function i(e){return r(e,"Object")}function a(e,n){try{return e instanceof n}catch{return!1}}n.isDOMError=function(e){return r(e,"DOMError")},n.isDOMException=function(e){return r(e,"DOMException")},n.isElement=function(e){return"undefined"!=typeof Element&&a(e,Element)},n.isError=function(e){switch(t.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return a(e,Error)}},n.isErrorEvent=function(e){return r(e,"ErrorEvent")},n.isEvent=function(e){return"undefined"!=typeof Event&&a(e,Event)},n.isInstanceOf=a,n.isParameterizedString=o,n.isPlainObject=i,n.isPrimitive=function(e){return null===e||o(e)||"object"!=typeof e&&"function"!=typeof e},n.isRegExp=function(e){return r(e,"RegExp")},n.isRequest=function(e){return"undefined"!=typeof Request&&a(e,Request)},n.isString=function(e){return r(e,"String")},n.isSyntheticEvent=function(e){return i(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e},n.isThenable=function(e){return!!(e?.then&&"function"==typeof e.then)},n.isVueViewModel=function(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue||e.__v_isVNode))}},92240:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(6208),o=t(40205);n.isBrowser=function(){return"undefined"!=typeof window&&(!r.isNodeEnv()||function(){let e=o.GLOBAL_OBJ.process;return e?.type==="renderer"}())}},51211:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(42678);function o(e){return"/"===e[e.length-1]?e.slice(0,-1):e}n.isSentryRequestUrl=function(e,n){let t=n?.getDsn(),i=n?.getOptions().tunnel;return function(e,n){let t=r.parseStringToURLObject(e);return!(!t||r.isURLObjectRelative(t))&&!!n&&t.host.includes(n.host)&&/(^|&|\?)sentry_key=/.test(t.search)}(e,t)||!!i&&o(e)===o(i)}},15806:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});class t{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){let n=this._cache.get(e);if(void 0!==n)return this._cache.delete(e),this._cache.set(e,n),n}set(e,n){if(this._cache.size>=this._maxSize){let e=this._cache.keys().next().value;this._cache.delete(e)}this._cache.set(e,n)}remove(e){let n=this._cache.get(e);return n&&this._cache.delete(e),n}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let e=[];return this._cache.forEach(n=>e.push(n)),e}}n.LRUMap=t},90687:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.merge=function e(n,t,r=2){if(!t||"object"!=typeof t||r<=0)return t;if(n&&0===Object.keys(t).length)return n;let o={...n};for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(o[n]=e(o[n],t[n],r-1));return o}},71260:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(29566);n.getTraceMetaTags=function(e){return Object.entries(e||r.getTraceData()).map(([e,n])=>``).join("\n")}},62274:function(e,n,t){let r;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(59315),i=t(42221),a=t(53850),s=t(40205);function l(e){return e.exception?.values?.[0]}let c=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function u(e){return parseInt(e||"",10)}n.addContextToFrame=function(e,n,t=5){if(void 0===n.lineno)return;let r=e.length,o=Math.max(Math.min(r-1,n.lineno-1),0);n.pre_context=e.slice(Math.max(0,o-t),o).map(e=>a.snipLine(e,0));let i=Math.min(r-1,o);n.context_line=a.snipLine(e[i],n.colno||0),n.post_context=e.slice(Math.min(o+1,r),o+1+t).map(e=>a.snipLine(e,0))},n.addExceptionMechanism=function(e,n){let t=l(e);if(!t)return;let r=t.mechanism;if(t.mechanism={type:"generic",handled:!0,...r,...n},n&&"data"in n){let e={...r?.data,...n.data};t.mechanism.data=e}},n.addExceptionTypeValue=function(e,n,t){let r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=n||""),i.type||(i.type=t||"Error")},n.checkOrSetAlreadyCaught=function(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{o.addNonEnumerableProperty(e,"__sentry_captured__",!0)}catch{}return!1},n.getEventDescription=function(e){let{message:n,event_id:t}=e;if(n)return n;let r=l(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||t||"":t||""},n.parseSemver=function(e){let n=e.match(c)||[],t=u(n[1]),r=u(n[2]),o=u(n[3]);return{buildmetadata:n[5],major:isNaN(t)?void 0:t,minor:isNaN(r)?void 0:r,patch:isNaN(o)?void 0:o,prerelease:n[4]}},n.uuid4=function(e=function(){let e=s.GLOBAL_OBJ;return e.crypto||e.msCrypto}()){try{if(e?.randomUUID)return i.withRandomSafeContext(()=>e.randomUUID()).replace(/-/g,"")}catch{}return r||(r="10000000100040008000100000000000"),r.replace(/[018]/g,e=>(e^(15&16*i.safeMathRandom())>>e/4).toString(16))}},85884:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(30388);function o(e,n=!1){return!(n||e&&!e.startsWith("/")&&!e.match(/^[A-Z]:/)&&!e.startsWith(".")&&!e.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//))&&void 0!==e&&!e.includes("node_modules/")}function i(e){let n=/^\s*[-]{4,}$/,t=/at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/,i=/at (?:async )?(.+?) \(data:(.*?),/;return s=>{let l=s.match(i);if(l)return{filename:``,function:l[1]};let c=s.match(t);if(c){let n,t,i,s,l;if(c[1]){let e=(i=c[1]).lastIndexOf(".");if("."===i[e-1]&&e--,e>0){n=i.slice(0,e),t=i.slice(e+1);let r=n.indexOf(".Module");r>0&&(i=i.slice(r+1),n=n.slice(0,r))}s=void 0}t&&(s=n,l=t),""===t&&(l=void 0,i=void 0),void 0===i&&(l=l||r.UNKNOWN_FUNCTION,i=s?`${s}.${l}`:l);let u=c[2]?.startsWith("file://")?c[2].slice(7):c[2],d="native"===c[5];return u?.match(/\/[A-Z]:/)&&(u=u.slice(1)),u||!c[5]||d||(u=c[5]),{filename:u?decodeURI(u):void 0,module:e?e(u):void 0,function:i,lineno:a(c[3]),colno:a(c[4]),in_app:o(u||"",d)}}if(s.match(n))return{filename:s}}}function a(e){return parseInt(e||"",10)||void 0}n.filenameIsInApp=o,n.node=i,n.nodeStackLineParser=function(e){return[90,i(e)]}},6208:function(e,n,t){e=t.nmd(e);var r=t(41650);Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(96952);function i(e,n){return e.require(n)}n.isNodeEnv=function(){return!o.isBrowserBundle()&&"[object process]"===Object.prototype.toString.call(void 0!==r?r:0)},n.loadModule=function(n,t=e){let r;try{r=i(t,n)}catch{}if(!r)try{let{cwd:e}=i(t,"process");r=i(t,`${e()}/node_modules/${n}`)}catch{}return r}},73915:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(88025),o=t(59315),i=t(30388);function a(e,n=100,a=Infinity){try{return function e(n,a,s=Infinity,l=Infinity,c=function(){let e=new WeakSet;return[function(n){return!!e.has(n)||(e.add(n),!1)},function(n){e.delete(n)}]}()){let[u,d]=c;if(null==a||["boolean","string"].includes(typeof a)||"number"==typeof a&&Number.isFinite(a))return a;let p=function(e,n){try{if("domain"===e&&n&&"object"==typeof n&&n._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==t.g&&n===t.g)return"[Global]";if("undefined"!=typeof window&&n===window)return"[Window]";if("undefined"!=typeof document&&n===document)return"[Document]";if(r.isVueViewModel(n))return i.getVueInternalName(n);if(r.isSyntheticEvent(n))return"[SyntheticEvent]";if("number"==typeof n&&!Number.isFinite(n))return`[${n}]`;if("function"==typeof n)return`[Function: ${i.getFunctionName(n)}]`;if("symbol"==typeof n)return`[${String(n)}]`;if("bigint"==typeof n)return`[BigInt: ${String(n)}]`;let o=function(e){let n=Object.getPrototypeOf(e);return n?.constructor?n.constructor.name:"null prototype"}(n);if(/^HTML(\w*)Element$/.test(o))return`[HTMLElement: ${o}]`;return`[object ${o}]`}catch(e){return`**non-serializable** (${e})`}}(n,a);if(!p.startsWith("[object "))return p;if(a.__sentry_skip_normalization__)return a;let m="number"==typeof a.__sentry_override_normalization_depth__?a.__sentry_override_normalization_depth__:s;if(0===m)return p.replace("object ","");if(u(a))return"[Circular ~]";if(a&&"function"==typeof a.toJSON)try{let n=a.toJSON();return e("",n,m-1,l,c)}catch{}let h=Array.isArray(a)?[]:{},f=0,g=o.convertToPlainObject(a);for(let n in g){if(!Object.prototype.hasOwnProperty.call(g,n))continue;if(f>=l){h[n]="[MaxProperties ~]";break}let t=g[n];h[n]=e(n,t,m-1,l,c),f++}return d(a),h}("",e,n,a)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}n.normalize=a,n.normalizeToSize=function e(n,t=3,r=102400){let o=a(n,t);return~-encodeURI(JSON.stringify(o)).split(/%..|./).length>r?e(n,t-1,r):o},n.normalizeUrlToBase=function(e,n){let t=n.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"),r=e;try{r=decodeURI(e)}catch{}return r.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(RegExp(`(file://)?/*${t}/*`,"ig"),"app:///")}},59315:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(4903),i=t(48530),a=t(88025);function s(e,n,t){try{Object.defineProperty(e,n,{value:t,writable:!0,configurable:!0})}catch{r.DEBUG_BUILD&&i.debug.log(`Failed to add non-enumerable property "${n}" to object`,e)}}function l(e,n){try{let t=n.prototype||{};e.prototype=n.prototype=t,s(e,"__sentry_original__",n)}catch{}}function c(e){if(a.isError(e))return{message:e.message,name:e.name,stack:e.stack,...d(e)};if(!a.isEvent(e))return e;{let n={type:e.type,target:u(e.target),currentTarget:u(e.currentTarget),...d(e)};return"undefined"!=typeof CustomEvent&&a.isInstanceOf(e,CustomEvent)&&(n.detail=e.detail),n}}function u(e){try{return a.isElement(e)?o.htmlTreeAsString(e):Object.prototype.toString.call(e)}catch{return""}}function d(e){if("object"!=typeof e||null===e)return{};{let n={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n}}n.addNonEnumerableProperty=s,n.convertToPlainObject=c,n.dropUndefinedKeys=function(e){return function e(n,t){if(null===n||"object"!=typeof n)return n;let r=t.get(n);if(void 0!==r)return r;if(Array.isArray(n)){let r=[];return t.set(n,r),n.forEach(n=>{r.push(e(n,t))}),r}if(function(e){let n=e.constructor;return n===Object||void 0===n}(n)){let r={};return t.set(n,r),Object.keys(n).forEach(o=>{let i=n[o];void 0!==i&&(r[o]=e(i,t))}),r}return n}(e,new Map)},n.extractExceptionKeysForMessage=function(e){let n=Object.keys(c(e));return n.sort(),n[0]?n.join(", "):"[object has no keys]"},n.fill=function(e,n,t){if(!(n in e))return;let o=e[n];if("function"!=typeof o)return;let a=t(o);"function"==typeof a&&l(a,o);try{e[n]=a}catch{r.DEBUG_BUILD&&i.debug.log(`Failed to replace method "${n}" in object`,e)}},n.getOriginalFunction=function(e){return e.__sentry_original__},n.markFunctionWrapped=l,n.objectify=function(e){let n;switch(!0){case void 0==e:n=new String(e);break;case"symbol"==typeof e||"bigint"==typeof e:n=Object(e);break;case a.isPrimitive(e):n=new e.constructor(e);break;default:n=e}return n}},84492:function(e,n){function t(e,...n){let r=new String(String.raw(e,...n));return r.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),r.__sentry_template_values__=n,r}Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.fmt=t,n.parameterize=t},23412:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.parseSampleRate=function(e){if("boolean"==typeof e)return Number(e);let n="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof n||isNaN(n))&&!(n<0)&&!(n>1))return n}},31586:function(e,n){function t(e,n){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];"."===r?e.splice(n,1):".."===r?(e.splice(n,1),t++):t&&(e.splice(n,1),t--)}if(n)for(;t--;t)e.unshift("..");return e}Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function o(e){let n=e.length>1024?`${e.slice(-1024)}`:e,t=r.exec(n);return t?t.slice(1):[]}function i(...e){let n="",r=!1;for(let t=e.length-1;t>=-1&&!r;t--){let o=t>=0?e[t]:"/";o&&(n=`${o}/${n}`,r="/"===o.charAt(0))}return n=t(n.split("/").filter(e=>!!e),!r).join("/"),(r?"/":"")+n||"."}function a(e){let n=0;for(;n=0&&""===e[t];t--);return n>t?[]:e.slice(n,t-n+1)}function s(e){let n=l(e),r="/"===e.slice(-1),o=t(e.split("/").filter(e=>!!e),!n).join("/");return o||n||(o="."),o&&r&&(o+="/"),(n?"/":"")+o}function l(e){return"/"===e.charAt(0)}n.basename=function(e,n){let t=o(e)[2]||"";return n&&t.slice(-1*n.length)===n&&(t=t.slice(0,t.length-n.length)),t},n.dirname=function(e){let n=o(e),t=n[0]||"",r=n[1];return t||r?(r&&(r=r.slice(0,r.length-1)),t+r):"."},n.isAbsolute=l,n.join=function(...e){return s(e.join("/"))},n.normalizePath=s,n.relative=function(e,n){e=i(e).slice(1),n=i(n).slice(1);let t=a(e.split("/")),r=a(n.split("/")),o=Math.min(t.length,r.length),s=o;for(let e=0;e{e.value&&(e.value=u.truncate(e.value,a))})}function m(e,n){let t=a.getFilenameToDebugIdMap(n);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=t[e.filename])})})}function h(e){let n={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?n[e.abs_path]=e.debug_id:e.filename&&(n[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(n).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let t=e.debug_meta.images;Object.entries(n).forEach(([e,n])=>{t.push({type:"sourcemap",code_file:e,debug_id:n})})}let f=["user","level","extra","contexts","tags","fingerprint","propagationContext"];n.applyClientOptions=p,n.applyDebugIds=m,n.applyDebugMeta=h,n.parseEventHintOrCaptureContext=function(e){return e?e instanceof i.Scope||"function"==typeof e||Object.keys(e).some(e=>f.includes(e))?{captureContext:e}:e:void 0},n.prepareEvent=function(e,n,t,r,a,u){let{normalizeDepth:f=3,normalizeMaxBreadth:g=1e3}=e,_={...n,event_id:n.event_id||t.event_id||s.uuid4(),timestamp:n.timestamp||d.dateTimestampInSeconds()},y=t.integrations||e.integrations.map(e=>e.name);p(_,e),y.length>0&&(_.sdk=_.sdk||{},_.sdk.integrations=[..._.sdk.integrations||[],...y]),a&&a.emit("applyFrameMetadata",n),void 0===n.type&&m(_,e.stackParser);let v=function(e,n){if(!n)return e;let t=e?e.clone():new i.Scope;return t.update(n),t}(r,t.captureContext);t.mechanism&&s.addExceptionMechanism(_,t.mechanism);let b=a?a.getEventProcessors():[],C=c.getCombinedScopeData(u,v),T=[...t.attachments||[],...C.attachments];T.length&&(t.attachments=T),c.applyScopeDataToEvent(_,C);let S=[...b,...C.eventProcessors];return o.notifyEventProcessors(S,_,t).then(e=>(e&&h(e),"number"==typeof f&&f>0)?function(e,n,t){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:l.normalize(e.data,n,t)}}))},...e.user&&{user:l.normalize(e.user,n,t)},...e.contexts&&{contexts:l.normalize(e.contexts,n,t)},...e.extra&&{extra:l.normalize(e.extra,n,t)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=l.normalize(e.contexts.trace.data,n,t))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:l.normalize(e.data,n,t)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=l.normalize(e.contexts.flags,3,t)),r}(e,f,g):e)}},50404:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(7233),o=Symbol.for("SentryBufferFullError");n.SENTRY_BUFFER_FULL_ERROR=o,n.makePromiseBuffer=function(e=100){let n=new Set;return{get $(){return Array.from(n)},add:function(t){if(!(n.size{n.delete(i)},()=>{n.delete(i)}),i},drain:function(e){if(!n.size)return r.resolvedSyncPromise(!0);let t=Promise.allSettled(Array.from(n)).then(()=>!0);return e?Promise.race([t,new Promise(n=>setTimeout(()=>n(!1),e))]):t}}}},76216:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(62274);n.generateSpanId=function(){return r.uuid4().substring(16)},n.generateTraceId=function(){return r.uuid4()}},42221:function(e,n,t){let r;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(40205);function i(e){if(void 0!==r)return r?r(e):e();let n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),t=o.GLOBAL_OBJ;return n in t&&"function"==typeof t[n]?(r=t[n])(e):(r=null,e())}n.safeDateNow=function(){return i(()=>Date.now())},n.safeMathRandom=function(){return i(()=>Math.random())},n.withRandomSafeContext=i},41412:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(42221);function o(e,n=r.safeDateNow()){let t=parseInt(`${e}`,10);if(!isNaN(t))return 1e3*t;let o=Date.parse(`${e}`);return isNaN(o)?6e4:o-n}function i(e,n){return e[n]||e.all||0}n.DEFAULT_RETRY_AFTER=6e4,n.disabledUntil=i,n.isRateLimited=function(e,n,t=r.safeDateNow()){return i(e,n)>t},n.parseRetryAfterHeader=o,n.updateRateLimits=function(e,{statusCode:n,headers:t},i=r.safeDateNow()){let a={...e},s=t?.["x-sentry-rate-limits"],l=t?.["retry-after"];if(s)for(let e of s.trim().split(",")){let[n,t,,,r]=e.split(":",5),o=parseInt(n,10),s=(isNaN(o)?60:o)*1e3;if(t)for(let e of t.split(";"))"metric_bucket"===e?(!r||r.split(";").includes("custom"))&&(a[e]=i+s):a[e]=i+s;else a.all=i+s}else l?a.all=i+o(l,i):429===n&&(a.all=i+6e4);return a}},96289:function(e,n){function t(e){let n={};try{e.forEach((e,t)=>{"string"==typeof e&&(n[t]=e)})}catch{}return n}function r(e){let n=Object.create(null);try{Object.entries(e).forEach(([e,t])=>{"string"==typeof t&&(n[e]=t)})}catch{}return n}Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=["auth","token","secret","session","password","passwd","pwd","key","jwt","bearer","sso","saml","csrf","xsrf","credentials","set-cookie","cookie"],i=["x-forwarded-","-user"];function a(e){return e.replace(/-/g,"_")}function s(e,n,t,r,s){var l;let c=t?`http.request.header.${a(n)}.${a(t)}`:`http.request.header.${a(n)}`,u=(l=t||n,(s?o.some(e=>l.includes(e)):[...i,...o].some(e=>l.includes(e)))?"[Filtered]":Array.isArray(r)?r.map(e=>null!=e?String(e):e).join(";"):"string"==typeof r?r:void 0);void 0!==u&&(e[c]=u)}function l(e){if(e)try{let n=new URL(e,"http://s.io").search.slice(1);return n.length?n:void 0}catch{return}}n.extractQueryParamsFromUrl=l,n.headersToDict=r,n.httpHeadersToSpanAttributes=function(e,n=!1){let t={};try{Object.entries(e).forEach(([e,r])=>{if(null==r)return;let o=e.toLowerCase();if(("cookie"===o||"set-cookie"===o)&&"string"==typeof r&&""!==r){let e="set-cookie"===o,i=r.indexOf(";"),a=e&&-1!==i?r.substring(0,i):r;for(let r of e?[a]:a.split("; ")){let e=r.indexOf("="),i=-1!==e?r.substring(0,e):r,a=-1!==e?r.substring(e+1):"",l=i.toLowerCase();s(t,o,l,a,n)}}else s(t,o,"",r,n)})}catch{}return t},n.httpRequestToRequestData=function(e){let n=e.headers||{},t=("string"==typeof n["x-forwarded-host"]?n["x-forwarded-host"]:void 0)||("string"==typeof n.host?n.host:void 0),o=("string"==typeof n["x-forwarded-proto"]?n["x-forwarded-proto"]:void 0)||e.protocol||(e.socket?.encrypted?"https":"http"),i=e.url||"",a=function({url:e,protocol:n,host:t}){return e?.startsWith("http")?e:e&&t?`${n}://${t}${e}`:void 0}({url:i,host:t,protocol:o}),s=e.body||void 0,c=e.cookies;return{url:a,method:e.method,query_string:l(i),headers:r(n),cookies:c,data:s}},n.winterCGHeadersToDict=t,n.winterCGRequestToRequestData=function(e){let n=t(e.headers);return{method:e.method,url:e.url,query_string:l(e.url),headers:n}}},75222:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(77512),i=t(90687),a=t(85899);function s(e,n){let{extra:t,tags:r,attributes:o,user:a,contexts:s,level:c,sdkProcessingMetadata:u,breadcrumbs:d,fingerprint:p,eventProcessors:m,attachments:h,propagationContext:f,transactionName:g,span:_}=n;l(e,"extra",t),l(e,"tags",r),l(e,"attributes",o),l(e,"user",a),l(e,"contexts",s),e.sdkProcessingMetadata=i.merge(e.sdkProcessingMetadata,u,2),c&&(e.level=c),g&&(e.transactionName=g),_&&(e.span=_),d.length&&(e.breadcrumbs=[...e.breadcrumbs,...d]),p.length&&(e.fingerprint=[...e.fingerprint,...p]),m.length&&(e.eventProcessors=[...e.eventProcessors,...m]),h.length&&(e.attachments=[...e.attachments,...h]),e.propagationContext={...e.propagationContext,...f}}function l(e,n,t){e[n]=i.merge(e[n],t,1)}n.applyScopeDataToEvent=function(e,n){let{fingerprint:t,span:r,breadcrumbs:i,sdkProcessingMetadata:s}=n;(function(e,n){let{extra:t,tags:r,user:o,contexts:i,level:a,transactionName:s}=n;Object.keys(t).length&&(e.extra={...t,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(o).length&&(e.user={...o,...e.user}),Object.keys(i).length&&(e.contexts={...i,...e.contexts}),a&&(e.level=a),s&&"transaction"!==e.type&&(e.transaction=s)})(e,n),r&&function(e,n){e.contexts={trace:a.spanToTraceContext(n),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:o.getDynamicSamplingContextFromSpan(n),...e.sdkProcessingMetadata};let t=a.getRootSpan(n),r=a.spanToJSON(t).description;r&&!e.transaction&&"transaction"===e.type&&(e.transaction=r)}(e,r),e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint,function(e,n){let t=[...e.breadcrumbs||[],...n];e.breadcrumbs=t.length?t:void 0}(e,i),e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...s}},n.getCombinedScopeData=function(e,n){let t=r.getGlobalScope().getScopeData();return e&&s(t,e.getScopeData()),n&&s(t,n.getScopeData()),t},n.mergeAndOverwriteScopeData=l,n.mergeScopeData=s},2924:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(62016);n.applySdkMetadata=function(e,n,t=[n],o="npm"){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${n}`,packages:t.map(e=>({name:`${o}:@sentry/${e}`,version:r.SDK_VERSION})),version:r.SDK_VERSION}),e._metadata=i}},22744:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.severityLevelFromString=function(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}},20836:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(48530),i=t(53850);function a(e){o.debug.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}n.reparentChildSpans=function(e,n){let t=n.parent_span_id,r=n.span_id;if(t)for(let n of e)n.parent_span_id===r&&(n.parent_span_id=t)},n.shouldIgnoreSpan=function(e,n){if(!n?.length||!e.description)return!1;for(let t of n){if("string"==typeof t||t instanceof RegExp){if(i.isMatchingPattern(e.description,t))return r.DEBUG_BUILD&&a(e),!0;continue}if(!t.name&&!t.op)continue;let n=!t.name||i.isMatchingPattern(e.description,t.name),o=!t.op||e.op&&i.isMatchingPattern(e.op,t.op);if(n&&o)return r.DEBUG_BUILD&&a(e),!0}return!1}},25156:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(59315),o="_sentrySpan";n._getSpanForScope=function(e){return e[o]},n._setSpanForScope=function(e,n){n?r.addNonEnumerableProperty(e,o,n):delete e[o]}},85899:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(30474),o=t(7975),i=t(70249),a=t(97930),s=t(5978),l=t(2957),c=t(59315),u=t(76216),d=t(83884),p=t(26077),m=t(48530),h=t(25156),f=!1;function g(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:n,traceFlags:t,...r},attributes:o})=>({span_id:e,trace_id:n,sampled:1===t,attributes:o,...r})):void 0}function _(e){return"number"==typeof e?y(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?y(e.getTime()):d.timestampInSeconds()}function y(e){return e>9999999999?e/1e3:e}function v(e){if("function"==typeof e.getSpanJSON)return e.getSpanJSON();let{spanId:n,traceId:t}=e.spanContext();if(e.attributes&&e.startTime&&e.name&&e.endTime&&e.status){let{attributes:r,startTime:o,name:i,endTime:s,status:l,links:c}=e;return{span_id:n,trace_id:t,data:r,description:i,parent_span_id:"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0,start_timestamp:_(o),timestamp:_(s)||void 0,status:C(l),op:r[a.SEMANTIC_ATTRIBUTE_SENTRY_OP],origin:r[a.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],links:g(c)}}return{span_id:n,trace_id:t,start_timestamp:0,data:{}}}function b(e){let{traceFlags:n}=e.spanContext();return 1===n}function C(e){return e&&e.code!==s.SPAN_STATUS_UNSET?e.code===s.SPAN_STATUS_OK?"ok":e.message||"internal_error":void 0}let T="_sentryChildSpans",S="_sentryRootSpan";n.TRACE_FLAG_NONE=0,n.TRACE_FLAG_SAMPLED=1,n.addChildSpanToSpan=function(e,n){let t=e[S]||e;c.addNonEnumerableProperty(n,S,t),e[T]?e[T].add(n):c.addNonEnumerableProperty(e,T,new Set([n]))},n.convertSpanLinksForEnvelope=g,n.getActiveSpan=function(){let e=o.getMainCarrier(),n=r.getAsyncContextStrategy(e);return n.getActiveSpan?n.getActiveSpan():h._getSpanForScope(i.getCurrentScope())},n.getRootSpan=function(e){return e[S]||e},n.getSpanDescendants=function(e){let n=new Set;return function e(t){if(!n.has(t)&&b(t))for(let r of(n.add(t),t[T]?Array.from(t[T]):[]))e(r)}(e),Array.from(n)},n.getStatusMessage=C,n.removeChildSpanFromSpan=function(e,n){e[T]&&e[T].delete(n)},n.showSpanDropWarning=function(){f||(m.consoleSandbox(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),f=!0)},n.spanIsSampled=b,n.spanTimeInputToSeconds=_,n.spanToJSON=v,n.spanToTraceContext=function(e){let{spanId:n,traceId:t,isRemote:r}=e.spanContext(),o=r?n:v(e).parent_span_id,i=l.getCapturedScopesOnSpan(e).scope;return{parent_span_id:o,span_id:r?i?.getPropagationContext().propagationSpanId||u.generateSpanId():n,trace_id:t}},n.spanToTraceHeader=function(e){let{traceId:n,spanId:t}=e.spanContext(),r=b(e);return p.generateSentryTraceHeader(n,t,r)},n.spanToTraceparentHeader=function(e){let{traceId:n,spanId:t}=e.spanContext(),r=b(e);return p.generateTraceparentHeader(n,t,r)},n.spanToTransactionTraceContext=function(e){let{spanId:n,traceId:t}=e.spanContext(),{data:r,op:o,parent_span_id:i,status:a,origin:s,links:l}=v(e);return{parent_span_id:i,span_id:n,trace_id:t,data:r,op:o,status:a,origin:s,links:l}},n.updateSpanName=function(e,n){e.updateName(n),e.setAttributes({[a.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"custom",[a.SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME]:n})}},30388:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let t=/\(error: (.*)\)/,r=/captureMessage|captureException/;function o(...e){let n=e.sort((e,n)=>e[0]-n[0]).map(e=>e[1]);return(e,r=0,o=0)=>{let a=[],s=e.split("\n");for(let e=r;e1024&&(r=r.slice(0,1024));let i=t.test(r)?r.replace(t,"$1"):r;if(!i.match(/\S*Error: /)){for(let e of n){let n=e(i);if(n){a.push(n);break}}if(a.length>=50+o)break}}return i(a.slice(o))}}function i(e){if(!e.length)return[];let n=Array.from(e);return/sentryWrapped/.test(a(n).function||"")&&n.pop(),n.reverse(),r.test(a(n).function||"")&&(n.pop(),r.test(a(n).function||"")&&n.pop()),n.slice(0,50).map(e=>({...e,filename:e.filename||a(n).filename,function:e.function||"?"}))}function a(e){return e[e.length-1]||{}}let s="";n.UNKNOWN_FUNCTION="?",n.createStackParser=o,n.getFramesFromEvent=function(e){let n=e.exception;if(n){let e=[];try{return n.values.forEach(n=>{n.stacktrace.frames&&e.push(...n.stacktrace.frames)}),e}catch{}}},n.getFunctionName=function(e){try{if(!e||"function"!=typeof e)return s;return e.name||s}catch{return s}},n.getVueInternalName=function(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"},n.stackParserFromStackParserOptions=function(e){return Array.isArray(e)?o(...e):e},n.stripSentryFramesAndReverse=i},53850:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(88025),o=t(30388);function i(e,n,t=!1){return!!r.isString(e)&&(r.isRegExp(n)?n.test(e):!!r.isString(n)&&(t?e===n:e.includes(n)))}n.isMatchingPattern=i,n.safeJoin=function(e,n){if(!Array.isArray(e))return"";let t=[];for(let n=0;nr&&(n=r);let o=Math.max(n-60,0);o<5&&(o=0);let i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),t=t.slice(o,i),o>0&&(t=`'{snip} ${t}`),ii(e,n,t))},n.truncate=function(e,n=0){return"string"!=typeof e||0===n?e:e.length<=n?e:`${e.slice(0,n)}...`}},60544:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(43147),o=t(48530),i=t(40205).GLOBAL_OBJ;function a(){if(!("fetch"in i))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}function s(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}n.isNativeFunction=s,n.supportsDOMError=function(){try{return new DOMError(""),!0}catch{return!1}},n.supportsDOMException=function(){try{return new DOMException(""),!0}catch{return!1}},n.supportsErrorEvent=function(){try{return new ErrorEvent(""),!0}catch{return!1}},n.supportsFetch=a,n.supportsHistory=function(){return"history"in i&&!!i.history},n.supportsNativeFetch=function(){if("string"==typeof EdgeRuntime)return!0;if(!a())return!1;if(s(i.fetch))return!0;let e=!1,n=i.document;if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t),t.contentWindow?.fetch&&(e=s(t.contentWindow.fetch)),n.head.removeChild(t)}catch(e){r.DEBUG_BUILD&&o.debug.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e},n.supportsReferrerPolicy=function(){if(!a())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch{return!1}},n.supportsReportingObserver=function(){return"ReportingObserver"in i}},7233:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(88025);class o{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,n){return new o((t,r)=>{this._handlers.push([!1,n=>{if(e)try{t(e(n))}catch(e){r(e)}else t(n)},e=>{if(n)try{t(n(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new o((n,t)=>{let r,o;return this.then(n=>{o=!1,r=n,e&&e()},n=>{o=!0,r=n,e&&e()}).then(()=>{if(o){t(r);return}n(r)})})}_executeHandlers(){if(0===this._state)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let n=(e,n)=>{if(0===this._state){if(r.isThenable(n)){n.then(t,o);return}this._state=e,this._value=n,this._executeHandlers()}},t=e=>{n(1,e)},o=e=>{n(2,e)};try{e(t,o)}catch(e){o(e)}}}n.SyncPromise=o,n.rejectedSyncPromise=function(e){return new o((n,t)=>{t(e)})},n.resolvedSyncPromise=function(e){return new o(n=>{n(e)})}},83884:function(e,n,t){let r;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(42221),i=t(40205);function a(){return o.safeDateNow()/1e3}let s=null;n.browserPerformanceTimeOrigin=function(){return null===s&&(s=function(){let{performance:e}=i.GLOBAL_OBJ;if(!e?.now)return;let n=o.withRandomSafeContext(()=>e.now()),t=o.safeDateNow(),r=e.timeOrigin;if("number"==typeof r&&3e5>Math.abs(r+n-t))return r;let a=e.timing?.navigationStart;return"number"==typeof a&&3e5>Math.abs(a+n-t)?a:t-n}()),s},n.dateTimestampInSeconds=a,n.timestampInSeconds=function(){return(r??(r=function(){let{performance:e}=i.GLOBAL_OBJ;if(!e?.now||!e.timeOrigin)return a;let n=e.timeOrigin;return()=>(n+o.withRandomSafeContext(()=>e.now()))/1e3}()))()}},45815:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(70249),o=t(77512),i=t(85899);n._getTraceInfoFromScope=function(e,n){return n?r.withScope(n,()=>{let t=i.getActiveSpan(),a=t?i.spanToTraceContext(t):r.getTraceContextFromScope(n);return[t?o.getDynamicSamplingContextFromSpan(t):o.getDynamicSamplingContextFromScope(e,n),a]}):[void 0,void 0]}},29566:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(30474),o=t(7975),i=t(70249),a=t(17528),s=t(48530),l=t(85899),c=t(77512),u=t(72634),d=t(26077);n.getTraceData=function(e={}){let n=e.client||i.getClient();if(!a.isEnabled()||!n)return{};let t=o.getMainCarrier(),p=r.getAsyncContextStrategy(t);if(p.getTraceData)return p.getTraceData(e);let m=e.scope||i.getCurrentScope(),h=e.span||l.getActiveSpan(),f=h?l.spanToTraceHeader(h):function(e){let{traceId:n,sampled:t,propagationSpanId:r}=e.getPropagationContext();return d.generateSentryTraceHeader(n,r,t)}(m),g=h?c.getDynamicSamplingContextFromSpan(h):c.getDynamicSamplingContextFromScope(n,m),_=u.dynamicSamplingContextToSentryBaggageHeader(g);if(!d.TRACEPARENT_REGEXP.test(f))return s.debug.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let y={"sentry-trace":f,baggage:_};return e.propagateTraceparent&&(y.traceparent=h?l.spanToTraceparentHeader(h):function(e){let{traceId:n,sampled:t,propagationSpanId:r}=e.getPropagationContext();return d.generateTraceparentHeader(n,r,t)}(m)),y}},26077:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(48530),o=t(72634),i=t(79575),a=t(23412),s=t(76216),l=t(42221),c=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function u(e){let n;if(!e)return;let t=e.match(c);if(t)return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}n.TRACEPARENT_REGEXP=c,n.extractTraceparentData=u,n.generateSentryTraceHeader=function(e=s.generateTraceId(),n=s.generateSpanId(),t){let r="";return void 0!==t&&(r=t?"-1":"-0"),`${e}-${n}${r}`},n.generateTraceparentHeader=function(e=s.generateTraceId(),n=s.generateSpanId(),t){return`00-${e}-${n}-${t?"01":"00"}`},n.propagationContextFromHeaders=function(e,n){let t=u(e),r=o.baggageHeaderToDynamicSamplingContext(n);if(!t?.traceId)return{traceId:s.generateTraceId(),sampleRand:l.safeMathRandom()};let i=function(e,n){let t=a.parseSampleRate(n?.sample_rand);if(void 0!==t)return t;let r=a.parseSampleRate(n?.sample_rate);return r&&e?.parentSampled!==void 0?e.parentSampled?l.safeMathRandom()*r:r+l.safeMathRandom()*(1-r):l.safeMathRandom()}(t,r);r&&(r.sample_rand=i.toString());let{traceId:c,parentSpanId:d,parentSampled:p}=t;return{traceId:c,parentSpanId:d,sampled:p,dsc:r||{},sampleRand:i}},n.shouldContinueTrace=function(e,n){let t=i.extractOrgIdFromClient(e);return n&&t&&n!==t?(r.debug.log(`Won't continue trace because org IDs don't match (incoming baggage: ${n}, SDK options: ${t})`),!1):!e.getOptions().strictTraceContinuation||(!n||!!t)&&(!!n||!t)||(r.debug.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${n}, Sentry client: ${t})`),!1)}},68738:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(97930);n.convertSpanJsonToTransactionEvent=function(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[r.SEMANTIC_ATTRIBUTE_PROFILE_ID]:e.profile_id},...e.exclusive_time&&{[r.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:e.exclusive_time}}}},measurements:e.measurements}},n.convertTransactionEventToSpanJson=function(e){let{trace_id:n,parent_span_id:t,span_id:o,status:i,origin:a,data:s,op:l}=e.contexts?.trace??{};return{data:s??{},description:e.transaction,op:l,parent_span_id:t,span_id:o??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:n??"",origin:a,profile_id:s?.[r.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:s?.[r.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME],measurements:e.measurements,is_segment:!0}}},42678:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(97930);function o(e){return"isRelative"in e}function i(e){if(o(e))return e.pathname;let n=new URL(e);return n.search="",n.hash="",["80","443"].includes(n.port)&&(n.port=""),n.password&&(n.password="%filtered%"),n.username&&(n.username="%filtered%"),n.toString()}n.getHttpSpanDetailsFromUrlObject=function(e,n,t,a,s){let l={[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:t,[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"};return s&&(l["server"===n?"http.route":"url.template"]=s,l[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="route"),a?.method&&(l[r.SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD]=a.method.toUpperCase()),e&&(e.search&&(l["url.query"]=e.search),e.hash&&(l["url.fragment"]=e.hash),e.pathname&&(l["url.path"]=e.pathname,"/"===e.pathname&&(l[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]="route")),!o(e)&&(l[r.SEMANTIC_ATTRIBUTE_URL_FULL]=e.href,e.port&&(l["url.port"]=e.port),e.protocol&&(l["url.scheme"]=e.protocol),e.hostname&&(l["server"===n?"server.address":"url.domain"]=e.hostname))),[function(e,n,t,r){let o=t?.method?.toUpperCase()??"GET",a=r||(e?"client"===n?i(e):e.pathname:"/");return`${o} ${a}`}(e,n,a,s),l]},n.getSanitizedUrlString=function(e){let{protocol:n,host:t,path:r}=e,o=t?.replace(/^.*@/,"[filtered]:[filtered]@").replace(/(:80)$/,"").replace(/(:443)$/,"")||"";return`${n?`${n}://`:""}${o}${r}`},n.getSanitizedUrlStringFromUrlObject=i,n.isURLObjectRelative=o,n.parseStringToURLObject=function(e,n){let t=0>=e.indexOf("://")&&0!==e.indexOf("//"),r=n??(t?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,r))return;let n=new URL(e,r);if(t)return{isRelative:t,pathname:n.pathname,search:n.search,hash:n.hash};return n}catch{}},n.parseUrl=function(e){if(!e)return{};let n=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!n)return{};let t=n[6]||"",r=n[8]||"";return{host:n[4],path:n[5],protocol:n[2],search:t,hash:r,relative:n[5]+t+r}},n.stripUrlQueryAndFragment=function(e){return e.split(/[?#]/,1)[0]}},75698:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(40205);n.vercelWaitUntil=function(e){if("string"!=typeof EdgeRuntime)return;let n=r.GLOBAL_OBJ[Symbol.for("@vercel/request-context")],t=n?.get?.();t?.waitUntil&&t.waitUntil(e)}},62016:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.SDK_VERSION="10.34.0"},40205:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let t=globalThis;n.GLOBAL_OBJ=t},80349:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.escapeStringForRegex=function(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},99774:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let t=["X-Client-IP","X-Forwarded-For","Fly-Client-IP","CF-Connecting-IP","Fastly-Client-Ip","True-Client-Ip","X-Real-IP","X-Cluster-Client-IP","X-Forwarded","Forwarded-For","Forwarded","X-Vercel-Forwarded-For"];n.getClientIPAddress=function(e){return t.map(n=>{let t=e[n],r=Array.isArray(t)?t.join(";"):t;return"Forwarded"===n?function(e){if(!e)return null;for(let n of e.split(";"))if(n.startsWith("for="))return n.slice(4);return null}(r):r?.split(",").map(e=>e.trim())}).reduce((e,n)=>n?e.concat(n):e,[]).find(e=>null!==e&&/(?:^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$)|(?:^(?:(?:[a-fA-F\d]{1,4}:){7}(?:[a-fA-F\d]{1,4}|:)|(?:[a-fA-F\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|:[a-fA-F\d]{1,4}|:)|(?:[a-fA-F\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,2}|:)|(?:[a-fA-F\d]{1,4}:){4}(?:(?::[a-fA-F\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,3}|:)|(?:[a-fA-F\d]{1,4}:){3}(?:(?::[a-fA-F\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,4}|:)|(?:[a-fA-F\d]{1,4}:){2}(?:(?::[a-fA-F\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,5}|:)|(?:[a-fA-F\d]{1,4}:){1}(?:(?::[a-fA-F\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,6}|:)|(?::(?:(?::[a-fA-F\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-fA-F\d]{1,4}){1,7}|:)))(?:%[0-9a-zA-Z]{1,})?$)/.test(e))||null},n.ipHeaderNames=t},38825:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(34157),o=t(65835);n.browserTracingIntegration=function(e={}){let n=r.browserTracingIntegration({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...n){let[t,{headers:r}]=n;return r?.get("next-router-prefetch")&&t?.setAttribute("http.request.prefetch",!0),e.onRequestSpanStart?.(...n)}}),{instrumentPageLoad:t=!0,instrumentNavigation:i=!0}=e;return{...n,afterAllSetup(e){i&&o.nextRouterInstrumentNavigation(e),n.afterAllSetup(e),t&&o.nextRouterInstrumentPageLoad(e)}}}},54869:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(34157),i=r.defineIntegration(({assetPrefix:e,basePath:n,rewriteFramesAssetPrefixPath:t,experimentalThirdPartyOriginStackFrames:r})=>({...o.rewriteFramesIntegration({iteratee:o=>{if(r){let t="undefined"!=typeof window&&window.location?window.location.origin:"";if(o.filename?.startsWith(t)&&!o.filename.endsWith(".js"))return o;if(e)o.filename?.startsWith(e)&&(o.filename=o.filename.replace(e,"app://"));else if(n)try{let{origin:e}=new URL(o.filename);e===t&&(o.filename=o.filename?.replace(e,"app://").replace(n,""))}catch{}}else try{let{origin:e}=new URL(o.filename);o.filename=o.filename?.replace(e,"app://").replace(t,"")}catch{}return r?(o.filename?.includes("/_next")&&(o.filename=decodeURI(o.filename)),o.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(o.in_app=!1)):(o.filename?.startsWith("app:///_next")&&(o.filename=decodeURI(o.filename)),o.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(o.in_app=!1)),o}}),name:"NextjsClientStackFrameNormalization"}));n.nextjsClientStackFrameNormalizationIntegration=i},36779:function(e,n,t){var r=t(41650);Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(58949),i=t(34157),a=t(3270);t(3655);let s=t(12338),l=t(10685),c=t(38825),u=t(54869),d=t(10988);t(31711);let p=t(53792),m=t(49593),h=t(77690),f=t(80089),g=t(83227),_=t(3177),y=t(41192),v=t(11669),b=t(98646),C=t(99591),T=t(3445),S=t(90432),k=t(86773),E=t(20615),R=t(72612),I=t(35407),A=t(64312),w=!1,x=o.GLOBAL_OBJ;n.browserTracingIntegration=c.browserTracingIntegration,n.captureRouterTransitionStart=d.captureRouterTransitionStart,n.wrapGetStaticPropsWithSentry=m.wrapGetStaticPropsWithSentry,n.wrapGetInitialPropsWithSentry=h.wrapGetInitialPropsWithSentry,n.wrapAppGetInitialPropsWithSentry=f.wrapAppGetInitialPropsWithSentry,n.wrapDocumentGetInitialPropsWithSentry=g.wrapDocumentGetInitialPropsWithSentry,n.wrapErrorGetInitialPropsWithSentry=_.wrapErrorGetInitialPropsWithSentry,n.wrapGetServerSidePropsWithSentry=y.wrapGetServerSidePropsWithSentry,n.wrapServerComponentWithSentry=v.wrapServerComponentWithSentry,n.wrapRouteHandlerWithSentry=b.wrapRouteHandlerWithSentry,n.wrapApiHandlerWithSentryVercelCrons=C.wrapApiHandlerWithSentryVercelCrons,n.wrapMiddlewareWithSentry=T.wrapMiddlewareWithSentry,n.wrapPageComponentWithSentry=S.wrapPageComponentWithSentry,n.wrapGenerationFunctionWithSentry=k.wrapGenerationFunctionWithSentry,n.withServerActionInstrumentation=E.withServerActionInstrumentation,n.captureRequestError=R.captureRequestError,n.captureUnderscoreErrorException=I.captureUnderscoreErrorException,n.startInactiveSpan=A.startInactiveSpan,n.startSpan=A.startSpan,n.startSpanManual=A.startSpanManual,n.init=function(e){w&&o.consoleSandbox(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),w=!0,!a.DEBUG_BUILD&&e.debug&&o.consoleSandbox(()=>{console.warn("[@sentry/nextjs] You have enabled `debug: true`, but Sentry debug logging was removed from your bundle (likely via `withSentryConfig({ disableLogger: true })` / `webpack.treeshake.removeDebugLogging: true`). Set that option to `false` to see Sentry debug output.")});let n={environment:s.getVercelEnv(!0)||"production",defaultIntegrations:function(e){let n=i.getDefaultIntegrations(e),t=x._sentryRewriteFramesAssetPrefixPath||"",o=r.env._sentryAssetPrefix||x._sentryAssetPrefix,a=r.env._sentryBasePath||x._sentryBasePath,s="true"===r.env._experimentalThirdPartyOriginStackFrames||"true"===x._experimentalThirdPartyOriginStackFrames;return n.push(u.nextjsClientStackFrameNormalizationIntegration({assetPrefix:o,basePath:a,rewriteFramesAssetPrefixPath:t,experimentalThirdPartyOriginStackFrames:s})),n}(e),release:r.env._sentryRelease||x._sentryRelease,...e};p.applyTunnelRouteOption(n),o.applySdkMetadata(n,"nextjs",["nextjs","react"]);let t=i.init(n),c=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;c.id="NextClient404Filter",o.addEventProcessor(c);let m=e=>"transaction"===e.type&&e.transaction===d.INCOMPLETE_APP_ROUTER_INSTRUMENTATION_TRANSACTION_NAME?null:e;m.id="IncompleteTransactionFilter",o.addEventProcessor(m);let h=(e,n)=>l.isRedirectNavigationError(n?.originalException)||e.exception?.values?.[0]?.value==="NEXT_REDIRECT"?null:e;return h.id="NextRedirectErrorFilter",o.addEventProcessor(h),t},n.withSentryConfig=function(e){return e},Object.prototype.hasOwnProperty.call(i,"__proto__")&&!Object.prototype.hasOwnProperty.call(n,"__proto__")&&Object.defineProperty(n,"__proto__",{enumerable:!0,value:i.__proto__}),Object.keys(i).forEach(e=>{"default"===e||Object.prototype.hasOwnProperty.call(n,e)||(n[e]=i[e])})},10988:function(e,n,t){let r;var o=t(41650);Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let i=t(58949),a=t(34157),s=t(5101),l="incomplete-app-router-transaction",c="router-patch",u={current:void 0},d=i.GLOBAL_OBJ,p=i.GLOBAL_OBJ;function m(e){try{return new URL(e,"http://example.com/").pathname}catch{return"/"}}let h=new WeakSet;function f(e,n,t){h.has(n)||(h.add(n),["back","forward","push","replace"].forEach(r=>{n?.[r]&&(n[r]=new Proxy(n[r],{apply(n,u,d){if("router-patch"!==c)return n.apply(u,d);let h=l,f={[i.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"},g=d[0],_=o.env._sentryBasePath??p._sentryBasePath,y=_&&"string"==typeof g&&!g.startsWith(_)?`${_}${g}`:g;"push"===r?(h=m(y),f["navigation.type"]="router.push"):"replace"===r?(h=m(y),f["navigation.type"]="router.replace"):"back"===r?f["navigation.type"]="router.back":"forward"===r&&(f["navigation.type"]="router.forward");let v=s.maybeParameterizeRoute(h);return t.current=a.startBrowserTracingNavigationSpan(e,{name:v??h,attributes:{...f,[i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:v?"route":"url"}}),n.apply(u,d)}}))}))}n.INCOMPLETE_APP_ROUTER_INSTRUMENTATION_TRANSACTION_NAME=l,n.appRouterInstrumentNavigation=function(e){r=(n,t)=>{let r=o.env._sentryBasePath??p._sentryBasePath,l=new URL(r&&!n.startsWith(r)?`${r}${n}`:n,a.WINDOW.location.href).pathname,d=s.maybeParameterizeRoute(l),m=d??l;"router-patch"===c&&(c="transition-start-hook");let h=u.current;h?(h.updateName(m),h.setAttributes({"navigation.type":`router.${t}`,[i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:d?"route":"url"}),u.current=void 0):a.startBrowserTracingNavigationSpan(e,{name:m,attributes:{[i.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:d?"route":"url","navigation.type":`router.${t}`}})},a.WINDOW.addEventListener("popstate",()=>{let n=s.maybeParameterizeRoute(a.WINDOW.location.pathname);u.current?.isRecording()?(u.current.updateName(n??a.WINDOW.location.pathname),u.current.setAttribute(i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,n?"route":"url")):u.current=a.startBrowserTracingNavigationSpan(e,{name:n??a.WINDOW.location.pathname,attributes:{[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.app_router_instrumentation",[i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:n?"route":"url","navigation.type":"browser.popstate"}})});let n=!1,t=0,l=setInterval(()=>{t++;let r=d?.next?.router??d?.nd?.router;n||t>500?clearInterval(l):r&&(clearInterval(l),n=!0,f(e,r,u),["nd","next"].forEach(n=>{let t=d[n];t&&(d[n]=new Proxy(t,{set:(n,t,r)=>("router"===t&&"object"==typeof r&&null!==r&&f(e,r,u),n[t]=r,!0)}))}))},20)},n.appRouterInstrumentPageLoad=function(e){let n=s.maybeParameterizeRoute(a.WINDOW.location.pathname),t=i.browserPerformanceTimeOrigin();a.startBrowserTracingPageLoadSpan(e,{name:n??a.WINDOW.location.pathname,startTime:t?t/1e3:void 0,attributes:{[i.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.app_router_instrumentation",[i.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:n?"route":"url"}})},n.captureRouterTransitionStart=function(e,n){r&&r(e,n)}},31711:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(34157),i=t(5101),a=new r.LRUMap(100);function s(e){let n=i.maybeParameterizeRoute(e)||e,t=a.get(n);if(void 0!==t)return t;let r=i.getManifest();if(!r?.isrRoutes||!Array.isArray(r.isrRoutes)||0===r.isrRoutes.length)return a.set(n,!1),!1;let o=r.isrRoutes.includes(n);return a.set(n,o),o}n.IS_ISR_SSG_ROUTE_CACHE=a,n.isIsrSsgRoute=s,n.removeIsrSsgTraceMetaTags=function(){o.WINDOW.document&&s(o.WINDOW.location.pathname)&&(e("sentry-trace"),e("baggage"));function e(e){try{let n=o.WINDOW.document.querySelector(`meta[name="${e}"]`);n&&n.remove()}catch{}}}},65835:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(34157),o=t(10988),i=t(94017);n.nextRouterInstrumentNavigation=function(e){r.WINDOW.document.getElementById("__NEXT_DATA__")?i.pagesRouterInstrumentNavigation(e):o.appRouterInstrumentNavigation(e)},n.nextRouterInstrumentPageLoad=function(e){r.WINDOW.document.getElementById("__NEXT_DATA__")?i.pagesRouterInstrumentPageLoad(e):o.appRouterInstrumentPageLoad(e)}},94017:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(34157),i=t(59926),a=t(3270),s=i.default.events?i.default:i.default.default,l=o.WINDOW;n.pagesRouterInstrumentNavigation=function(e){s.events.on("routeChangeStart",n=>{let t,i;let a=r.stripUrlQueryAndFragment(n),s=function(e){let n=l.__BUILD_MANIFEST?.sortedPages;if(n)return n.find(n=>{let t=function(e){let n=e.split("/"),t="";n[n.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(n.pop(),t="(?:/(.+?))?");let r=n.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${r}${t}(?:/)?$`)}(n);return e.match(t)})}(a);s?(t=s,i="route"):(t=a,i="url"),o.startBrowserTracingNavigationSpan(e,{name:t,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.nextjs.pages_router_instrumentation",[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:i}})})},n.pagesRouterInstrumentPageLoad=function(e){let{route:n,params:t,sentryTrace:i,baggage:s}=function(){let e;let n=l.document.getElementById("__NEXT_DATA__");if(n?.innerHTML)try{e=JSON.parse(n.innerHTML)}catch{a.DEBUG_BUILD&&r.debug.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let t={},{page:o,query:i,props:s}=e;return t.route=o,t.params=i,s?.pageProps&&(t.sentryTrace=s.pageProps._sentryTraceData,t.baggage=s.pageProps._sentryBaggage),t}(),c=r.parseBaggageHeader(s),u=n||l.location.pathname;c?.["sentry-transaction"]&&"/_error"===u&&(u=(u=c["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let d=r.browserPerformanceTimeOrigin();o.startBrowserTracingPageLoadSpan(e,{name:u,startTime:d?d/1e3:void 0,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.nextjs.pages_router_instrumentation",[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:n?"route":"url",...t&&e.getOptions().sendDefaultPii&&{...t}}},{sentryTrace:i,baggage:s})}},5101:function(e,n,t){let r;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(58949),i=t(3270),a=o.GLOBAL_OBJ,s=null,l=new Map,c=new Map;function u(e){let n=e.split("/").filter(Boolean),t=0;for(let e of n)if(e.startsWith(":")){let n=e.substring(1);n.endsWith("*?")?t+=1e3:n.endsWith("*")?t+=100:t+=10}return n.length>0&&(t+=1/n.length),t}function d(e){if(l.has(e))return l.get(e)??null;try{let n=new RegExp(e);return l.set(e,n),n}catch(n){return i.DEBUG_BUILD&&o.debug.warn("Could not compile regex",{regexString:e,error:n}),null}}function p(){if(!a?._sentryRouteManifest||"string"!=typeof a._sentryRouteManifest)return null;let e=a._sentryRouteManifest;if(s&&r===e)return s;l.clear(),c.clear();let n={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(n=JSON.parse(e),!Array.isArray(n.staticRoutes)||!Array.isArray(n.dynamicRoutes))return null;return s=n,r=e,n}catch{return i.DEBUG_BUILD&&o.debug.warn("Could not extract route manifest"),null}}n.getManifest=p,n.maybeParameterizeRoute=e=>{let n=p();if(!n)return;if(c.has(e))return c.get(e);let{staticRoutes:t,dynamicRoutes:r}=n;if(!Array.isArray(t)||!Array.isArray(r))return;let o=(function(e,n,t){let r=[];if(n.some(n=>n.path===e))return r;for(let n of t)if(n.regex){let t=d(n.regex);t?.test(e)&&r.push(n.path)}if(!e.startsWith("/:")){for(let n of t)if(n.hasOptionalPrefix&&n.regex){let t="/"===e?"/SENTRY_OPTIONAL_PREFIX":`/SENTRY_OPTIONAL_PREFIX${e}`,o=d(n.regex);o?.test(t)&&r.push(n.path)}}return r})(e,t,r).sort((e,n)=>u(e)-u(n))[0];return c.set(e,o),o}},53792:function(e,n,t){var r=t(41650);Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(58949),i=t(3270),a=o.GLOBAL_OBJ;n.applyTunnelRouteOption=function(e){let n=r.env._sentryRewritesTunnelPath||a._sentryRewritesTunnelPath;if(n&&e.dsn){let t=o.dsnFromString(e.dsn);if(!t)return;let r=t.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let a=r[1],s=r[2],l=`${n}?o=${a}&p=${t.projectId}`;s&&(l+=`&r=${s}`),e.tunnel=l,i.DEBUG_BUILD&&o.debug.log(`Tunneling events to "${l}"`)}else i.DEBUG_BUILD&&o.debug.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}},72612:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(26700);n.captureRequestError=function(e,n,t){r.withScope(i=>{i.setSDKProcessingMetadata({normalizedRequest:{headers:r.headersToDict(n.headers),method:n.method}}),i.setContext("nextjs",{request_path:n.path,router_kind:t.routerKind,router_path:t.routePath,route_type:t.routeType}),i.setTransactionName(t.routePath),r.captureException(e,{mechanism:{handled:!1,type:"auto.function.nextjs.on_request_error"}}),o.waitUntil(o.flushSafelyWithTimeout())})}},3270:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.DEBUG_BUILD=!1},3655:function(e,n,t){var r=t(41650);Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(58949),i=t(1074),a=t(3270),s=o.GLOBAL_OBJ;function l(){let e=r.env._sentryBasePath??s._sentryBasePath??"";if(""===e||e.match(/^\//)||(e=`/${e}`),"undefined"!=typeof window)return e;let n=r.env.PORT||"3000";return`http://localhost:${n}${e}`}async function c(e,n={}){let t=new AbortController,r=setTimeout(()=>t.abort(),3e3);return o.suppressTracing(()=>fetch(e,{...n,signal:t.signal}).finally(()=>{clearTimeout(r)}))}async function u(e,n){"transaction"===e.type&&(e.spans=e.spans?.filter(e=>{let n=e.data?.["http.url"];return"string"!=typeof n||!n.includes("__nextjs_original-stack-frame")}));try{if(n.originalException&&n.originalException instanceof Error&&n.originalException.stack){let t;let r=i.parse(n.originalException.stack),a=s._sentryNextJsVersion;if(!a)return e;let l=o.parseSemver(a);if(l.major>15||15===l.major&&l.minor>=2){let n=await p(r);if(null===n)return e;t=n}else t=await Promise.all(r.map(e=>d(e,n.originalException)));e.exception?.values?.[0]?.stacktrace?.frames&&(e.exception.values[0].stacktrace.frames=e.exception.values[0].stacktrace.frames.map((e,n,r)=>{let o=t[r.length-1-n];if(!o?.originalStackFrame||!o.originalCodeFrame)return{...e,platform:e.filename?.startsWith("node:internal")?"nodejs":void 0,in_app:!1};let{contextLine:i,preContextLines:a,postContextLines:s}=function(e){let n;let t=e.replace(/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g,"").split("\n").filter(e=>!e.match(/^\s*\|/)).map(e=>({line:e,isErrorLine:!!e.match(/^>/)})).map(e=>({...e,line:e.line.replace(/^.*\|/,"")})),r=[],o=[],i=!1;for(let e of t)e.isErrorLine?(n=e.line,i=!0):i?o.push(e.line):r.push(e.line);return{contextLine:n,preContextLines:r,postContextLines:o}}(o.originalCodeFrame);return{...e,pre_context:a,context_line:i,post_context:s,function:o.originalStackFrame.methodName,filename:o.originalStackFrame.file?function(e){if(!e)return e;let n=e.match(/^webpack-internal:(?:\/+)?(?:\([^)]*\)\/)?(.+)$/);return n?n[1]:e}(o.originalStackFrame.file):void 0,lineno:o.originalStackFrame.lineNumber||o.originalStackFrame.line1||void 0,colno:o.originalStackFrame.column||o.originalStackFrame.column1||void 0}}))}}catch{}return e}async function d(e,n){try{if(!(e.file?.startsWith("webpack-internal:")||e.file?.startsWith("file:")))return null;let t=new URLSearchParams;t.append("isServer",String(!1)),t.append("isEdgeServer",String(!1)),t.append("isAppDirectory",String(!0)),t.append("errorMessage",n.toString()),Object.keys(e).forEach(n=>{t.append(n,(e[n]??"").toString())});let r=l(),o=await c(`${r}/__nextjs_original-stack-frame?${t.toString()}`);if(!o.ok||204===o.status)return null;let i=await o.json();return{originalCodeFrame:i.originalCodeFrame,originalStackFrame:i.originalStackFrame}}catch(e){return a.DEBUG_BUILD&&o.debug.error("Failed to symbolicate event with Next.js dev server",e),null}}async function p(e){try{let n={frames:e.filter(e=>!!e.file).map(e=>(e.file=e.file.replace(/^rsc:\/\/React\/[^/]+\//,"").replace(/\?\d+$/,""),{file:e.file,methodName:e.methodName??"",arguments:[],lineNumber:e.lineNumber??0,column:e.column??0,line1:e.lineNumber??0,column1:e.column??0})),isServer:!1,isEdgeServer:!1,isAppDirectory:!0},t=l(),r=await c(`${t}/__nextjs_original-stack-frames`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!r.ok||204===r.status)return null;return(await r.json()).map(e=>({originalCodeFrame:e.value.originalCodeFrame,originalStackFrame:e.value.originalStackFrame}))}catch(e){return a.DEBUG_BUILD&&o.debug.error("Failed to symbolicate event with Next.js dev server",e),null}}n.devErrorSymbolicationEventProcessor=u},12338:function(e,n,t){var r=t(41650);Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.getVercelEnv=function(e){let n=e?r.env.NEXT_PUBLIC_VERCEL_ENV:r.env.VERCEL_ENV;return n?`vercel-${n}`:void 0}},10685:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949);n.isNotFoundNavigationError=function(e){return r.isError(e)&&["NEXT_NOT_FOUND","NEXT_HTTP_ERROR_FALLBACK;404"].includes(e.digest)},n.isRedirectNavigationError=function(e){return r.isError(e)&&"string"==typeof e.digest&&e.digest.startsWith("NEXT_REDIRECT;")}},51797:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.ATTR_NEXT_ROUTE="next.route",n.ATTR_NEXT_SEGMENT="next.segment",n.ATTR_NEXT_SPAN_NAME="next.span_name",n.ATTR_NEXT_SPAN_TYPE="next.span_type"},35407:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(26700);async function i(e){let{req:n,res:t,err:i}=e,a=t?.statusCode||e.statusCode;if(a&&a<500||!e.pathname)return Promise.resolve();r.withScope(e=>{if(n){let t=r.httpRequestToRequestData(n);e.setSDKProcessingMetadata({normalizedRequest:t})}r.captureException(i||`_error.js called with falsy error (${i})`,{mechanism:{type:"auto.function.nextjs.underscore_error",handled:!1,data:{function:"_error.getInitialProps"}}})}),o.waitUntil(o.flushSafelyWithTimeout())}n.captureUnderscoreErrorException=i},99591:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949);n.wrapApiHandlerWithSentryVercelCrons=function(e,n){return new Proxy(e,{apply:(e,t,o)=>{let i;if(!o?.[0])return e.apply(t,o);let[a]=o,s="nextUrl"in a?a.nextUrl.pathname:a.url,l="nextUrl"in a?a.headers.get("user-agent"):a.headers["user-agent"];if(!n||!l?.includes("vercel-cron"))return e.apply(t,o);let c=n.find(e=>e.path===s);if(!c?.path||!c.schedule)return e.apply(t,o);let u=c.path,d=r.captureCheckIn({monitorSlug:u,status:"in_progress"},{maxRuntime:720,schedule:{type:"crontab",value:c.schedule}}),p=r._INTERNAL_safeDateNow()/1e3,m=()=>{r.captureCheckIn({checkInId:d,monitorSlug:u,status:"error",duration:r._INTERNAL_safeDateNow()/1e3-p})};try{i=e.apply(t,o)}catch(e){throw m(),e}return"object"==typeof i&&null!==i&&"then"in i?Promise.resolve(i).then(()=>{r.captureCheckIn({checkInId:d,monitorSlug:u,status:"ok",duration:r._INTERNAL_safeDateNow()/1e3-p})},()=>{m()}):r.captureCheckIn({checkInId:d,monitorSlug:u,status:"ok",duration:r._INTERNAL_safeDateNow()/1e3-p}),i}})}},80089:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(23856),o=t(31456);n.wrapAppGetInitialPropsWithSentry=function(e){return new Proxy(e,{apply:async(e,n,t)=>{if(r.isBuild())return e.apply(n,t);let[i]=t,{req:a,res:s}=i.ctx,l=o.withErrorInstrumentation(e);if(!a||!s)return l.apply(n,t);{let e=o.withTracedServerSideDataFetcher(l,a,s,{dataFetcherRouteName:"/_app",requestedRouteName:i.ctx.pathname,dataFetchingMethodName:"getInitialProps"}),{data:r,sentryTrace:c,baggage:u}=await e.apply(n,t);return"object"==typeof r&&null!==r&&(r.pageProps||(r.pageProps={}),c&&(r.pageProps._sentryTraceData=c),u&&(r.pageProps._sentryBaggage=u)),r}}})}},83227:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(23856),o=t(31456);n.wrapDocumentGetInitialPropsWithSentry=function(e){return new Proxy(e,{apply:async(e,n,t)=>{if(r.isBuild())return e.apply(n,t);let[i]=t,{req:a,res:s}=i,l=o.withErrorInstrumentation(e);if(!a||!s)return l.apply(n,t);{let e=o.withTracedServerSideDataFetcher(l,a,s,{dataFetcherRouteName:"/_document",requestedRouteName:i.pathname,dataFetchingMethodName:"getInitialProps"}),{data:r}=await e.apply(n,t);return r}}})}},3177:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(23856),o=t(31456);n.wrapErrorGetInitialPropsWithSentry=function(e){return new Proxy(e,{apply:async(e,n,t)=>{if(r.isBuild())return e.apply(n,t);let[i]=t,{req:a,res:s}=i,l=o.withErrorInstrumentation(e);if(!a||!s)return l.apply(n,t);{let e=o.withTracedServerSideDataFetcher(l,a,s,{dataFetcherRouteName:"/_error",requestedRouteName:i.pathname,dataFetchingMethodName:"getInitialProps"}),{data:r,baggage:c,sentryTrace:u}=await e.apply(n,t);return"object"==typeof r&&null!==r&&(u&&(r._sentryTraceData=u),c&&(r._sentryBaggage=c)),r}}})}},77690:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(23856),o=t(31456);n.wrapGetInitialPropsWithSentry=function(e){return new Proxy(e,{apply:async(e,n,t)=>{if(r.isBuild())return e.apply(n,t);let[i]=t,{req:a,res:s}=i,l=o.withErrorInstrumentation(e);if(!a||!s)return l.apply(n,t);{let e=o.withTracedServerSideDataFetcher(l,a,s,{dataFetcherRouteName:i.pathname,requestedRouteName:i.pathname,dataFetchingMethodName:"getInitialProps"}),{data:r,baggage:c,sentryTrace:u}=await e.apply(n,t)??{};return"object"==typeof r&&null!==r&&(u&&(r._sentryTraceData=u),c&&(r._sentryBaggage=c)),r}}})}},41192:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(23856),o=t(31456);n.wrapGetServerSidePropsWithSentry=function(e,n){return new Proxy(e,{apply:async(e,t,i)=>{if(r.isBuild())return e.apply(t,i);let[a]=i,{req:s,res:l}=a,c=o.withErrorInstrumentation(e),u=o.withTracedServerSideDataFetcher(c,s,l,{dataFetcherRouteName:n,requestedRouteName:n,dataFetchingMethodName:"getServerSideProps"}),{data:d,baggage:p,sentryTrace:m}=await u.apply(t,i);return"object"==typeof d&&null!==d&&"props"in d&&(m&&(d.props._sentryTraceData=m),p&&(d.props._sentryBaggage=p)),d}})}},49593:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(23856),o=t(31456);n.wrapGetStaticPropsWithSentry=function(e,n){return new Proxy(e,{apply:async(e,n,t)=>{if(r.isBuild())return e.apply(n,t);let i=o.withErrorInstrumentation(e);return o.callDataFetcherTraced(i,t)}})}},90432:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949);n.wrapPageComponentWithSentry=function(e){return"function"==typeof e&&e?.prototype?.isReactComponent?class extends e{render(...e){return r.withIsolationScope(()=>{let n=r.getCurrentScope(),t="object"==typeof this.props&&null!==this.props&&"_sentryTraceData"in this.props&&"string"==typeof this.props._sentryTraceData?this.props._sentryTraceData:void 0;if(t){let e=r.extractTraceparentData(t);n.setContext("trace",{span_id:e?.parentSpanId,trace_id:e?.traceId})}try{return super.render(...e)}catch(e){throw r.captureException(e,{mechanism:{handled:!1,type:"auto.function.nextjs.page_class"}}),e}})}}:"function"==typeof e?new Proxy(e,{apply:(e,n,t)=>r.withIsolationScope(()=>{let o=r.getCurrentScope(),i=t?.[0]?._sentryTraceData;if(i){let e=r.extractTraceparentData(i);o.setContext("trace",{span_id:e?.parentSpanId,trace_id:e?.traceId})}try{return e.apply(n,t)}catch(e){throw r.captureException(e,{mechanism:{handled:!1,type:"auto.function.nextjs.page_function"}}),e}})}):e}},32950:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.TRANSACTION_ATTR_SENTRY_ROUTE_BACKFILL="sentry.route_backfill",n.TRANSACTION_ATTR_SENTRY_TRACE_BACKFILL="sentry.sentry_trace_backfill",n.TRANSACTION_ATTR_SHOULD_DROP_TRANSACTION="sentry.drop_transaction"},23856:function(e,n,t){var r=t(41650);Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(46680);n.isBuild=function(){return r.env.NEXT_PHASE===o.PHASE_PRODUCTION_BUILD}},534:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.isUseCacheFunction=function(e){if(e.$$typeof!==Symbol.for("react.server.reference"))return!1;let{type:n}=function(e){let n=parseInt(e.slice(0,2),16),t=n>>1&63,r=Array(6);for(let e=0;e<6;e++){let n=t>>5-e&1;r[e]=1===n}return{type:1==(n>>7&1)?"use-cache":"server-action",usedArgs:r,hasRestArgs:1==(1&n)}}(e.$$id);return"use-cache"===n}},64312:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(3270),i=t(23856),a=t(534);function s(e){let n=i.isBuild(),t=!!e&&a.isUseCacheFunction(e);return t&&o.DEBUG_BUILD&&r.debug.log("Skipping span creation in Cache Components context"),n||t}function l(){return new r.SentryNonRecordingSpan({traceId:"00000000000000000000000000000000",spanId:"0000000000000000"})}n.startInactiveSpan=function(e){return s()?l():r.startInactiveSpan(e)},n.startSpan=function(e,n){return s(n)?n(l()):r.startSpan(e,n)},n.startSpanManual=function(e,n){if(s(n)){let e=l();return n(e,()=>e.end())}return r.startSpanManual(e,n)}},26700:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(3270);async function i(){try{o.DEBUG_BUILD&&r.debug.log("Flushing events..."),await r.flush(2e3),o.DEBUG_BUILD&&r.debug.log("Done flushing events")}catch(e){o.DEBUG_BUILD&&r.debug.log("Error while flushing events:\n",e)}}function a(){let e=Symbol.for("__cloudflare-context__");return r.GLOBAL_OBJ[e]?.ctx}function s(e){a()?.waitUntil(e)}function l(){return"function"==typeof a()?.waitUntil}n.cloudflareWaitUntil=s,n.flushSafelyWithTimeout=i,n.isCloudflareWaitUntilAvailable=l,n.waitUntil=function(e){if(l()){s(e);return}r.vercelWaitUntil(e)}},59425:function(e,n,t){let r;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(65330),i=t(58949),a=t(3270),s=t(51797),l=t(32950),c="__PAGE__",u=new WeakMap;function d(e){return"NextNodeServer.getLayoutOrPageModule"===e[s.ATTR_NEXT_SPAN_TYPE]&&"resolve segment modules"===e[s.ATTR_NEXT_SPAN_NAME]&&"string"==typeof e[s.ATTR_NEXT_SEGMENT]}function p({segment:e,route:n}){return e===c?`resolve page server component "${n}"`:""===e?"resolve root layout server component":`resolve layout server component "${e}"`}n.commonObjectToIsolationScope=function(e){if("object"!=typeof e||!e)return new i.Scope;{let n=u.get(e);if(n)return n;{let n=new i.Scope;return u.set(e,n),n}}},n.dropNextjsRootContext=function(){let e=i.getActiveSpan();if(e){let n=i.getRootSpan(e),t=i.spanToJSON(n).data;t?.["next.span_type"]&&i.getRootSpan(e)?.setAttribute(l.TRANSACTION_ATTR_SHOULD_DROP_TRANSACTION,!0)}},n.escapeNextjsTracing=function(e){let n=i.GLOBAL_OBJ.AsyncLocalStorage;return n?(r||(r=new n),r.getStore())?e():i.startNewTrace(()=>r.run(!0,()=>e())):(a.DEBUG_BUILD&&i.debug.warn("Tried to register AsyncLocalStorage async context strategy in a runtime that doesn't support AsyncLocalStorage."),e())},n.getEnhancedResolveSegmentSpanName=p,n.isResolveSegmentSpan=d,n.maybeEnhanceServerComponentSpanName=function(e,n,t){if(!d(n))return;let r=n[s.ATTR_NEXT_SEGMENT],a=t[o.ATTR_HTTP_ROUTE],l=p({segment:r,route:"string"==typeof a?a:""});e.updateName(l),e.setAttributes({"sentry.nextjs.ssr.function.type":r===c?"Page":"Layout","sentry.nextjs.ssr.function.route":a}),e.setAttribute(i.SEMANTIC_ATTRIBUTE_SENTRY_OP,"function.nextjs")}},31456:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(32950);async function i(e,n){try{return await e(...n)}catch(e){throw r.captureException(e,{mechanism:{handled:!1,type:"auto.function.nextjs.data_fetcher"}}),e}}n.callDataFetcherTraced=i,n.withErrorInstrumentation=function(e){return async function(...n){try{return await e.apply(this,n)}catch(n){throw r.captureException(n,{mechanism:{handled:!1,type:"auto.function.nextjs.wrapped",data:{function:e.name}}}),n}}},n.withTracedServerSideDataFetcher=function(e,n,t,i){return async function(...t){let a=r.httpRequestToRequestData(n);r.getCurrentScope().setTransactionName(`${i.dataFetchingMethodName} (${i.dataFetcherRouteName})`),r.getIsolationScope().setSDKProcessingMetadata({normalizedRequest:a});let s=r.getActiveSpan();s&&"/_error"!==i.requestedRouteName&&r.getRootSpan(s).setAttribute(o.TRANSACTION_ATTR_SENTRY_ROUTE_BACKFILL,i.requestedRouteName);let{"sentry-trace":l,baggage:c}=r.getTraceData();return{sentryTrace:l,baggage:c,data:await e.apply(this,t)}}}},20615:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(26700),i=t(3270),a=t(10685);async function s(e,n,t){return r.withIsolationScope(async s=>{let l,c;let u=r.getClient()?.getOptions().sendDefaultPii,d={};try{let e=await n.headers;l=e?.get("sentry-trace")??void 0,c=e?.get("baggage"),e?.forEach((e,n)=>{d[n]=e})}catch{i.DEBUG_BUILD&&r.debug.warn("Sentry wasn't able to extract the tracing headers for a server action. Will not trace this request.")}return s.setTransactionName(`serverAction/${e}`),s.setSDKProcessingMetadata({normalizedRequest:{headers:d}}),(r.getActiveSpan()?(e,n)=>n():r.continueTrace)({sentryTrace:l,baggage:c},async()=>{try{return await r.startSpan({op:"function.server_action",name:`serverAction/${e}`,forceTransaction:!0,attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"route",[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.function.nextjs.server_action"}},async e=>{let o=await r.handleCallbackErrors(t,n=>{a.isNotFoundNavigationError(n)?e.setStatus({code:r.SPAN_STATUS_ERROR,message:"not_found"}):a.isRedirectNavigationError(n)||(e.setStatus({code:r.SPAN_STATUS_ERROR,message:"internal_error"}),r.captureException(n,{mechanism:{handled:!1,type:"auto.function.nextjs.server_action"}}))});return(void 0!==n.recordResponse?n.recordResponse:u)&&r.getIsolationScope().setExtra("server_action_result",o),n.formData&&n.formData.forEach((e,n)=>{r.getIsolationScope().setExtra(`server_action_form_data.${n}`,"string"==typeof e?e:"[non-string value]")}),o})}finally{o.waitUntil(o.flushSafelyWithTimeout())}})})}n.withServerActionInstrumentation=function(...e){if("function"==typeof e[1]){let[n,t]=e;return s(n,{},t)}{let[n,t,r]=e;return s(n,t,r)}}},86773:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(10685),i=t(26700);n.wrapGenerationFunctionWithSentry=function(e,n){return new Proxy(e,{apply:(e,t,a)=>{let s;let l=r.getIsolationScope();try{s=n.requestAsyncStorage?.getStore()?.headers}catch{}let c=s?r.winterCGHeadersToDict(s):void 0;return l.setSDKProcessingMetadata({normalizedRequest:{headers:c}}),r.handleCallbackErrors(()=>e.apply(t,a),e=>{let t=r.getActiveSpan(),{componentRoute:i,componentType:a,generationFunctionIdentifier:s}=n,c=!0;l.setTransactionName(`${a}.${s} (${i})`),t&&(o.isNotFoundNavigationError(e)?(c=!1,t.setStatus({code:r.SPAN_STATUS_ERROR,message:"not_found"})):o.isRedirectNavigationError(e)?(c=!1,t.setStatus({code:r.SPAN_STATUS_OK})):t.setStatus({code:r.SPAN_STATUS_ERROR,message:"internal_error"})),c&&r.captureException(e,{mechanism:{handled:!1,type:"auto.function.nextjs.generation_function",data:{function:s}}})},()=>{i.waitUntil(i.flushSafelyWithTimeout())})}})}},3445:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(26700);n.wrapMiddlewareWithSentry=function(e){return new Proxy(e,{apply:async(e,n,t)=>{let i="_sentryRewritesTunnelPath"in globalThis?globalThis._sentryRewritesTunnelPath:void 0;if(i&&"string"==typeof i){let e=t[0];if(e instanceof Request&&new URL(e.url).pathname.startsWith(i))return new Response(null,{status:200,headers:{"x-middleware-next":"1"}})}return r.withIsolationScope(i=>{let a,s;let l=t[0],c=r.getCurrentScope();l instanceof Request?(i.setSDKProcessingMetadata({normalizedRequest:r.winterCGRequestToRequestData(l)}),a=`middleware ${l.method}`,s="url"):(a="middleware",s="component"),c.setTransactionName(a);let u=r.getActiveSpan();if(u){a="middleware",s="component";let e=r.getRootSpan(u);e&&r.setCapturedScopesOnSpan(e,c,i)}return r.startSpan({name:a,op:"http.server.middleware",attributes:{[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:s,[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.function.nextjs.wrap_middleware"}},()=>r.handleCallbackErrors(()=>e.apply(n,t),e=>{r.captureException(e,{mechanism:{type:"auto.function.nextjs.wrap_middleware",handled:!1}})},()=>{o.waitUntil(o.flushSafelyWithTimeout())}))})}})}},98646:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(10685),i=t(26700);t(59425),n.wrapRouteHandlerWithSentry=function(e,n){let{method:t,parameterizedRoute:a,headers:s}=n;return new Proxy(e,{apply:async(e,n,s)=>{let l=r.getActiveSpan(),c=l?r.getRootSpan(l):void 0;return r.withIsolationScope(r.getIsolationScope(),()=>r.withScope(async u=>{u.setTransactionName(`${t} ${a}`);let d=await r.handleCallbackErrors(()=>e.apply(n,s),e=>{o.isRedirectNavigationError(e)||(o.isNotFoundNavigationError(e)?(l&&r.setHttpStatus(l,404),c&&r.setHttpStatus(c,404)):r.captureException(e,{mechanism:{handled:!1,type:"auto.function.nextjs.route_handler"}}))},()=>{i.waitUntil(i.flushSafelyWithTimeout())});try{d.status&&(l&&r.setHttpStatus(l,d.status),c&&r.setHttpStatus(c,d.status))}catch{}return d}))}})}},11669:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(10685),i=t(26700);n.wrapServerComponentWithSentry=function(e,n){return new Proxy(e,{apply:(e,t,a)=>{let s=r.getIsolationScope(),l=n.headers?r.winterCGHeadersToDict(n.headers):void 0;return s.setSDKProcessingMetadata({normalizedRequest:{headers:l}}),r.handleCallbackErrors(()=>e.apply(t,a),e=>{let t=r.getActiveSpan(),{componentRoute:i,componentType:a}=n,l=!0;s.setTransactionName(`${a} Server Component (${i})`),t&&(o.isNotFoundNavigationError(e)?(l=!1,t.setStatus({code:r.SPAN_STATUS_ERROR,message:"not_found"})):o.isRedirectNavigationError(e)?(l=!1,t.setStatus({code:r.SPAN_STATUS_OK})):t.setStatus({code:r.SPAN_STATUS_ERROR,message:"internal_error"})),l&&r.captureException(e,{mechanism:{handled:!1,type:"auto.function.nextjs.server_component"}})},()=>{i.waitUntil(i.flushSafelyWithTimeout())})}})}},53541:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(36779),o=t(35407),i=t(64312),a=t(38825),s=t(10988),l=t(49593),c=t(77690),u=t(80089),d=t(83227),p=t(3177),m=t(41192),h=t(11669),f=t(98646),g=t(99591),_=t(3445),y=t(90432),v=t(86773),b=t(20615),C=t(72612),T=t(34157);n.init=r.init,n.withSentryConfig=r.withSentryConfig,n.captureUnderscoreErrorException=o.captureUnderscoreErrorException,n.startInactiveSpan=i.startInactiveSpan,n.startSpan=i.startSpan,n.startSpanManual=i.startSpanManual,n.browserTracingIntegration=a.browserTracingIntegration,n.captureRouterTransitionStart=s.captureRouterTransitionStart,n.wrapGetStaticPropsWithSentry=l.wrapGetStaticPropsWithSentry,n.wrapGetInitialPropsWithSentry=c.wrapGetInitialPropsWithSentry,n.wrapAppGetInitialPropsWithSentry=u.wrapAppGetInitialPropsWithSentry,n.wrapDocumentGetInitialPropsWithSentry=d.wrapDocumentGetInitialPropsWithSentry,n.wrapErrorGetInitialPropsWithSentry=p.wrapErrorGetInitialPropsWithSentry,n.wrapGetServerSidePropsWithSentry=m.wrapGetServerSidePropsWithSentry,n.wrapServerComponentWithSentry=h.wrapServerComponentWithSentry,n.wrapRouteHandlerWithSentry=f.wrapRouteHandlerWithSentry,n.wrapApiHandlerWithSentryVercelCrons=g.wrapApiHandlerWithSentryVercelCrons,n.wrapMiddlewareWithSentry=_.wrapMiddlewareWithSentry,n.wrapPageComponentWithSentry=y.wrapPageComponentWithSentry,n.wrapGenerationFunctionWithSentry=v.wrapGenerationFunctionWithSentry,n.withServerActionInstrumentation=b.withServerActionInstrumentation,n.captureRequestError=C.captureRequestError,Object.prototype.hasOwnProperty.call(T,"__proto__")&&!Object.prototype.hasOwnProperty.call(n,"__proto__")&&Object.defineProperty(n,"__proto__",{enumerable:!0,value:T.__proto__}),Object.keys(T).forEach(e=>{"default"===e||Object.prototype.hasOwnProperty.call(n,e)||(n[e]=T[e])})},20526:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.REACT_MOUNT_OP="ui.react.mount",n.REACT_RENDER_OP="ui.react.render",n.REACT_UPDATE_OP="ui.react.update"},92517:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.DEBUG_BUILD=!1},50431:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(75407),o=t(58949),i=t(66123);function a(e){let n=e.match(/^([^.]+)/);return null!==n&&parseInt(n[0])>=17}function s(e,n){let t=new WeakSet;!function e(n,r){if(!t.has(n)){if(n.cause)return t.add(n),e(n.cause,r);n.cause=r}}(e,n)}function l(e,{componentStack:n},t){if(a(i.version)&&o.isError(e)&&n){let t=Error(e.message);t.name=`React ErrorBoundary ${e.name}`,t.stack=n,s(e,t)}return r.withScope(o=>(o.setContext("react",{componentStack:n}),r.captureException(e,t)))}n.captureReactException=l,n.isAtLeastReact17=a,n.reactErrorHandler=function(e){return(n,t)=>{let r=!!e,o=l(n,t,{mechanism:{handled:r,type:"auto.function.react.error_handler"}});r&&e(n,t,o)}},n.setCause=s},5336:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(75407),o=t(58949),i=t(66123),a=t(92517),s=t(50431),l=t(53829),c="unknown",u={componentStack:null,error:null,eventId:null};class d extends i.Component{constructor(e){super(e),this.state=u,this._openFallbackReportDialog=!0;let n=r.getClient();n&&e.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=n.on("afterSendEvent",n=>{!n.type&&this._lastEventId&&n.event_id===this._lastEventId&&r.showReportDialog({...e.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(e,n){let{componentStack:t}=n,{beforeCapture:o,onError:i,showDialog:a,dialogOptions:l}=this.props;r.withScope(c=>{o&&o(c,e,t);let u=null!=this.props.handled?this.props.handled:!!this.props.fallback,d=s.captureReactException(e,n,{mechanism:{handled:u,type:"auto.function.react.error_boundary"}});i&&i(e,t,d),a&&(this._lastEventId=d,this._openFallbackReportDialog&&r.showReportDialog({...l,eventId:d})),this.setState({error:e,componentStack:t,eventId:d})})}componentDidMount(){let{onMount:e}=this.props;e&&e()}componentWillUnmount(){let{error:e,componentStack:n,eventId:t}=this.state,{onUnmount:r}=this.props;r&&(this.state===u?r(null,null,null):r(e,n,t)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){let{onReset:e}=this.props,{error:n,componentStack:t,eventId:r}=this.state;e&&e(n,t,r),this.setState(u)}render(){let{fallback:e,children:n}=this.props,t=this.state;if(null===t.componentStack)return"function"==typeof n?n():n;let r="function"==typeof e?i.createElement(e,{error:t.error,componentStack:t.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:t.eventId}):e;return i.isValidElement(r)?r:(e&&a.DEBUG_BUILD&&o.debug.warn("fallback did not produce a valid ReactElement"),null)}}n.ErrorBoundary=d,n.UNKNOWN_COMPONENT=c,n.withErrorBoundary=function(e,n){let t=e.displayName||e.name||c,r=i.memo(t=>i.createElement(d,{...n},i.createElement(e,{...t})));return r.displayName=`errorBoundary(${t})`,l.hoistNonReactStatics(r,e),r}},53829:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i=Symbol.for("react.forward_ref"),a=Symbol.for("react.memo"),s={};function l(e){if("object"==typeof e&&null!==e&&e.$$typeof===a)return o;let n=e.$$typeof;return n&&s[n]||t}s[i]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[a]=o;let c=Object.defineProperty.bind(Object),u=Object.getOwnPropertyNames.bind(Object),d=Object.getOwnPropertySymbols?.bind(Object),p=Object.getOwnPropertyDescriptor.bind(Object),m=Object.getPrototypeOf.bind(Object),h=Object.prototype;n.hoistNonReactStatics=function e(n,t,o){if("string"!=typeof t){if(h){let r=m(t);r&&r!==h&&e(n,r)}let o=u(t);d&&(o=o.concat(d(t)));let i=l(n),a=l(t);for(let e of o){let o=String(e);if(!r[o]&&!a?.[o]&&!i?.[o]&&!p(n,e)){let r=p(t,e);if(r)try{c(n,e,r)}catch(e){}}}}return n}},34157:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(75407),o=t(47929),i=t(50431),a=t(13007),s=t(5336),l=t(83206),c=t(3096),u=t(78625),d=t(8251),p=t(1959),m=t(85866);n.init=o.init,n.captureReactException=i.captureReactException,n.reactErrorHandler=i.reactErrorHandler,n.Profiler=a.Profiler,n.useProfiler=a.useProfiler,n.withProfiler=a.withProfiler,n.ErrorBoundary=s.ErrorBoundary,n.withErrorBoundary=s.withErrorBoundary,n.createReduxEnhancer=l.createReduxEnhancer,n.reactRouterV3BrowserTracingIntegration=c.reactRouterV3BrowserTracingIntegration,n.tanstackRouterBrowserTracingIntegration=u.tanstackRouterBrowserTracingIntegration,n.reactRouterV4BrowserTracingIntegration=d.reactRouterV4BrowserTracingIntegration,n.reactRouterV5BrowserTracingIntegration=d.reactRouterV5BrowserTracingIntegration,n.withSentryRouting=d.withSentryRouting,n.reactRouterV6BrowserTracingIntegration=p.reactRouterV6BrowserTracingIntegration,n.withSentryReactRouterV6Routing=p.withSentryReactRouterV6Routing,n.wrapCreateBrowserRouterV6=p.wrapCreateBrowserRouterV6,n.wrapCreateMemoryRouterV6=p.wrapCreateMemoryRouterV6,n.wrapUseRoutesV6=p.wrapUseRoutesV6,n.reactRouterV7BrowserTracingIntegration=m.reactRouterV7BrowserTracingIntegration,n.withSentryReactRouterV7Routing=m.withSentryReactRouterV7Routing,n.wrapCreateBrowserRouterV7=m.wrapCreateBrowserRouterV7,n.wrapCreateMemoryRouterV7=m.wrapCreateMemoryRouterV7,n.wrapUseRoutesV7=m.wrapUseRoutesV7,Object.prototype.hasOwnProperty.call(r,"__proto__")&&!Object.prototype.hasOwnProperty.call(n,"__proto__")&&Object.defineProperty(n,"__proto__",{enumerable:!0,value:r.__proto__}),Object.keys(r).forEach(e=>{"default"===e||Object.prototype.hasOwnProperty.call(n,e)||(n[e]=r[e])})},13007:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(75407),o=t(58949),i=t(66123),a=t(20526),s=t(53829),l="unknown";class c extends i.Component{constructor(e){super(e);let{name:n,disabled:t=!1}=this.props;if(t)return;this._mountSpan=r.startInactiveSpan({name:`<${n}>`,onlyIfParent:!0,op:a.REACT_MOUNT_OP,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":n}})}componentDidMount(){this._mountSpan&&this._mountSpan.end()}shouldComponentUpdate({updateProps:e,includeUpdates:n=!0}){if(n&&this._mountSpan&&e!==this.props.updateProps){let n=Object.keys(e).filter(n=>e[n]!==this.props.updateProps[n]);if(n.length>0){let e=o.timestampInSeconds();this._updateSpan=o.withActiveSpan(this._mountSpan,()=>r.startInactiveSpan({name:`<${this.props.name}>`,onlyIfParent:!0,op:a.REACT_UPDATE_OP,startTime:e,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":this.props.name,"ui.react.changed_props":n}}))}}return!0}componentDidUpdate(){this._updateSpan&&(this._updateSpan.end(),this._updateSpan=void 0)}componentWillUnmount(){let e=o.timestampInSeconds(),{name:n,includeRender:t=!0}=this.props;if(this._mountSpan&&t){let t=o.spanToJSON(this._mountSpan).timestamp;o.withActiveSpan(this._mountSpan,()=>{let i=r.startInactiveSpan({onlyIfParent:!0,name:`<${n}>`,op:a.REACT_RENDER_OP,startTime:t,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":n}});i&&i.end(e)})}}render(){return this.props.children}}Object.assign(c,{defaultProps:{disabled:!1,includeRender:!0,includeUpdates:!0}}),n.Profiler=c,n.UNKNOWN_COMPONENT=l,n.useProfiler=function(e,n={disabled:!1,hasRenderSpan:!0}){let[t]=i.useState(()=>{if(!n?.disabled)return r.startInactiveSpan({name:`<${e}>`,onlyIfParent:!0,op:a.REACT_MOUNT_OP,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":e}})});i.useEffect(()=>(t&&t.end(),()=>{if(t&&n.hasRenderSpan){let n=o.spanToJSON(t).timestamp,i=o.timestampInSeconds(),s=r.startInactiveSpan({name:`<${e}>`,onlyIfParent:!0,op:a.REACT_RENDER_OP,startTime:n,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.react.profiler","ui.component_name":e}});s&&s.end(i)}}),[])},n.withProfiler=function(e,n){let t=n?.name||e.displayName||e.name||l,r=r=>i.createElement(c,{...n,name:t,updateProps:r},i.createElement(e,{...r}));return r.displayName=`profiler(${t})`,s.hoistNonReactStatics(r,e),r}},34366:function(e,n,t){let r,o,i,a,s;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let l=t(75407),c=t(58949),u=t(66123),d=t(92517),p=t(53829),m=t(93145),h=t(78971),f=!1,g=3e3,_=new WeakSet,y=new WeakMap,v=new Set,b=new WeakMap;function C(e){l.WINDOW?.cancelAnimationFrame?l.WINDOW.cancelAnimationFrame(e):clearTimeout(e)}function T(e){return`${e.pathname}${e.search||""}${e.hash||""}`}function S(e){return e.includes(":")||e.includes("*")}function k(e,n,t,r){if(!e)return{skip:!1,shouldUpdate:!1};if(e.locationKey===n&&(e.isPlaceholder||!r)){let n=!!e.routeName&&h.transactionNameHasWildcard(e.routeName),r=h.transactionNameHasWildcard(t),o=!!e.routeName&&S(e.routeName),i=S(t),a=t!==e.routeName&&t.length>(e.routeName?.length||0)&&!r;return{skip:!0,shouldUpdate:!!(e.routeName&&(n&&!r||!o&&i||a))}}return{skip:!1,shouldUpdate:!1}}function E(e,n){let t=n.children||[],r=e.filter(e=>!t.some(n=>n===e||e.path&&n.path===e.path||e.id&&n.id===e.id));r.length>0&&(n.children=[...t,...r])}function R(e,n,t=null,r){e.forEach(e=>{v.add(e),f&&m.checkRouteForAsyncHandler(e,R)}),n&&E(e,n);let o=r??h.getActiveRootSpan();if(o){let e=c.spanToJSON(o);if(e.timestamp){d.DEBUG_BUILD&&c.debug.warn("[React Router] Lazy handler resolved after span ended - skipping update");return}let n=e.op,i=t;if(!i&&!r&&void 0!==l.WINDOW){let e=l.WINDOW.location;e?.pathname&&(i={pathname:e.pathname})}i&&("pageload"===n?B({activeRootSpan:o,location:{pathname:i.pathname},routes:Array.from(v),allRoutes:Array.from(v)}):"navigation"===n&&I(o,i,Array.from(v),!1,s))}}function I(e,n,t,r=!1,o){let i=c.spanToJSON(e),a=i.description,s=e?.__sentry_navigation_name_set__,l=a&&h.transactionNameHasWildcard(a);if((!s||r||l)&&!i.timestamp){let r=o(t,n),[u,d]=h.resolveRouteNameAndSource(n,t,t,r||[],""),p=i.data?.[c.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];!u||a&&(s||"route"===p&&"route"!==d)&&("route"===p||"route"!==d)&&("route"!==p||"route"!==d||!l)||(e.updateName(u),e.setAttribute(c.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,d),h.transactionNameHasWildcard(u)||"route"!==d||c.addNonEnumerableProperty(e,"__sentry_navigation_name_set__",!0))}}function A(e,n,t,r,o){let i=!1,a=!!o&&"pageload"===c.spanToJSON(o).op,s=!1,u=null,d=null;e.subscribe(e=>{if(!i){let n=h.getActiveRootSpan();n&&"pageload"===c.spanToJSON(n).op?a=!0:a&&("POP"!==e.historyAction||s?i=!0:s=!0)}if("PUSH"===e.historyAction||"POP"===e.historyAction&&i){let o=T(e.location),i=()=>{d!==o&&(d=o,u=null,x({location:e.location,routes:n,navigationType:e.historyAction,version:t,basename:r,allRoutes:Array.from(v)}))};"idle"!==e.navigation.state?(d!==o&&(d=null),null!==u&&C(u),u=l.WINDOW?.requestAnimationFrame?l.WINDOW.requestAnimationFrame(i):setTimeout(i,0)):(null!==u&&(C(u),u=null),i())}})}function w(e,n=!1){if(!e||!("patchRoutesOnNavigation"in e)||"function"!=typeof e.patchRoutesOnNavigation)return e||{};let t=e.patchRoutesOnNavigation;return{...e,patchRoutesOnNavigation:async e=>{let r=e?.path,o=h.getActiveRootSpan();if(!n){let n=e?.patch;n&&(e.patch=(e,t)=>{P(t);let o=h.getActiveRootSpan();return r&&o&&"navigation"===c.spanToJSON(o).op&&I(o,{pathname:r,search:"",hash:"",state:null,key:"default"},Array.from(v),!0,s),n(e,t)})}let i=(async()=>{let i;let a=h.setNavigationContext(r,o);try{i=await t(e)}finally{h.clearNavigationContext(a)}let u=h.getActiveRootSpan();if(u&&"navigation"===c.spanToJSON(u).op){let e=n?r:r||l.WINDOW.location?.pathname;e&&I(u,{pathname:e,search:"",hash:"",state:null,key:"default"},Array.from(v),!1,s)}return i})();if(o){let e;(e=b.get(o))||(e=new Set,b.set(o,e)),e.add(i),i.finally(()=>{let e=b.get(o);e&&e.delete(i)})}return i}}}function x(e){let{location:n,routes:t,navigationType:r,version:o,matches:i,basename:a,allRoutes:u}=e,p=Array.isArray(i)?i:s(u||t,n,a),m=c.getClient();if(!m||!_.has(m))return;let f=h.getActiveRootSpan();if((!f||"pageload"!==c.spanToJSON(f).op||"POP"!==r)&&("PUSH"===r||"POP"===r)&&p){let e;let[r,i]=h.resolveRouteNameAndSource(n,u||t,u||t,p,a),s=T(n),f=y.get(m),g=!!f&&!f.isPlaceholder&&!!c.spanToJSON(f.span).timestamp,{skip:_,shouldUpdate:v}=k(f,s,r,g);if(_){if(v&&f){let e=f.routeName;f.isPlaceholder?(f.routeName=r,d.DEBUG_BUILD&&c.debug.log(`[Tracing] Updated placeholder navigation name from "${e}" to "${r}" (will apply to real span)`)):(f.span.updateName(r),f.span.setAttribute(c.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,i),c.addNonEnumerableProperty(f.span,"__sentry_navigation_name_set__",!0),f.routeName=r,d.DEBUG_BUILD&&c.debug.log(`[Tracing] Updated navigation span name from "${e}" to "${r}"`))}else d.DEBUG_BUILD&&c.debug.log(`[Tracing] Skipping duplicate navigation for location: ${s}`);return}let b={span:{end:()=>{}},routeName:r,pathname:n.pathname,locationKey:s,isPlaceholder:!0};y.set(m,b);try{e=l.startBrowserTracingNavigationSpan(m,{name:b.routeName,attributes:{[c.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:i,[c.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:`auto.navigation.react.reactrouter_v${o}`}})}catch(e){throw y.delete(m),e}e?(y.set(m,{span:e,routeName:b.routeName,pathname:n.pathname,locationKey:s}),O(e,n,t,a,u,"navigation")):y.delete(m)}}function P(e){e.forEach(e=>{(function e(n,t=new Set){return t.has(n)||(t.add(n),n.children&&!n.index&&n.children.forEach(n=>{e(n,t).forEach(e=>{t.add(e)})})),t})(e).forEach(e=>{v.add(e)})})}function B({activeRootSpan:e,location:n,routes:t,matches:r,basename:o,allRoutes:i}){let a=Array.isArray(r)?r:s(i||t,n,o);if(a){let[r,s]=h.resolveRouteNameAndSource(n,i||t,i||t,a,o);c.getCurrentScope().setTransactionName(r||"/"),e&&(e.updateName(r),e.setAttribute(c.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,s),O(e,n,t,o,i,"pageload"))}}function N(e,n,t,r,o,i,a,l){try{let u=n.data?.[c.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];if("route"===u&&t&&!h.transactionNameHasWildcard(t))return;let d=Array.from(l),p=d.length>0?d:o,m=s(p,r,i);if(!m)return;let[f,g]=h.resolveRouteNameAndSource(r,p,p,m,i),_=function(e,n,t,r,o=!1){return!!t&&(!!(!e&&o||e&&h.transactionNameHasWildcard(e)&&"route"===r&&!h.transactionNameHasWildcard(t))||"route"!==n&&"route"===r)}(t,u,f,g,!0),y="pageload"===a||!n.timestamp;_&&y&&(e.updateName(f),e.setAttribute(c.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,g))}catch(e){d.DEBUG_BUILD&&c.debug.warn(`Error updating span details before ending: ${e}`)}}function O(e,n,t,r,o,i){let a=`__sentry_${i}_end_patched__`;if(e?.[a]||!e.end)return;let s=o?new Set(o):v,l=e.end.bind(e),u=!1;e.end=function(...o){if(u)return;u=!0;let a=o.length>0?o[0]:Date.now()/1e3,d=c.spanToJSON(e),p=d.description,m=d.data?.[c.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],f=()=>{let n=c.getClient();if(n&&"navigation"===i){let t=y.get(n);t&&t.span===e&&y.delete(n)}},_=b.get(e);if(_&&_.size>0&&p&&(h.transactionNameHasWildcard(p)||"route"!==m)){if(0===g){N(e,d,p,n,t,r,i,s),f(),l(a);return}let o=Promise.allSettled(_).then(()=>{});(g===1/0?o:Promise.race([o,new Promise(e=>setTimeout(e,g))])).then(()=>{let o=c.spanToJSON(e);N(e,o,o.description,n,t,r,i,s),f(),l(a)}).catch(()=>{f(),l(a)});return}N(e,d,p,n,t,r,i,s),f(),l(a)},c.addNonEnumerableProperty(e,a,!0)}n.addResolvedRoutesToParent=E,n.addRoutesToAllRoutes=P,n.allRoutes=v,n.computeLocationKey=T,n.createReactRouterV6CompatibleTracingIntegration=function(e,n){let t=l.browserTracingIntegration({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{useEffect:u,useLocation:p,useNavigationType:m,createRoutesFromChildren:y,matchRoutes:v,stripBasename:b,enableAsyncRouteHandlers:C=!1,instrumentPageLoad:T=!0,instrumentNavigation:S=!0,lazyRouteTimeout:k}=e;return{...t,setup(n){t.setup(n);let l=e.finalTimeout??3e4,_=(e.idleTimeout??1e3)*3,T=k??_;T===1/0?(g=l,d.DEBUG_BUILD&&c.debug.log("[React Router] lazyRouteTimeout set to Infinity, capping at finalTimeout:",l,"ms to prevent indefinite hangs")):Number.isNaN(T)?(d.DEBUG_BUILD&&c.debug.warn("[React Router] lazyRouteTimeout must be a number, falling back to default:",_),g=_):T<0?(d.DEBUG_BUILD&&c.debug.warn("[React Router] lazyRouteTimeout must be non-negative or Infinity, got:",T,"falling back to:",_),g=_):g=T,r=u,o=p,i=m,s=v,a=y,f=C,h.initializeRouterUtils(v,b||!1)},afterAllSetup(e){t.afterAllSetup(e);let r=l.WINDOW.location?.pathname;T&&r&&l.startBrowserTracingPageLoadSpan(e,{name:r,attributes:{[c.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url",[c.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[c.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:`auto.pageload.react.reactrouter_v${n}`}}),S&&_.add(e)}}},n.createV6CompatibleWithSentryReactRouterRouting=function(e,n){if(!r||!o||!i||!a||!s)return d.DEBUG_BUILD&&c.debug.warn(`reactRouterV6Instrumentation was unable to wrap Routes because of one or more missing parameters. useEffect: ${r}. useLocation: ${o}. useNavigationType: ${i}. createRoutesFromChildren: ${a}. matchRoutes: ${s}.`),e;let t=t=>{let s=u.useRef(!0),l=o(),c=i();return r(()=>{let e=a(t.children);s.current?(P(e),B({activeRootSpan:h.getActiveRootSpan(),location:l,routes:e,allRoutes:Array.from(v)}),s.current=!1):x({location:l,routes:e,navigationType:c,version:n,allRoutes:Array.from(v)})},[l,c]),u.createElement(e,{...t})};return p.hoistNonReactStatics(t,e),t},n.createV6CompatibleWrapCreateBrowserRouter=function(e,n){return r&&o&&i&&s?function(t,r){if(P(t),f)for(let e of t)m.checkRouteForAsyncHandler(e,R);let o=e(t,w(r)),i=r?.basename,a=h.getActiveRootSpan();return"POP"===o.state.historyAction&&a&&B({activeRootSpan:a,location:o.state.location,routes:t,basename:i,allRoutes:Array.from(v)}),A(o,t,n,i,a),o}:(d.DEBUG_BUILD&&c.debug.warn(`reactRouterV${n}Instrumentation was unable to wrap the \`createRouter\` function because of one or more missing parameters.`),e)},n.createV6CompatibleWrapCreateMemoryRouter=function(e,n){return r&&o&&i&&s?function(t,r){let o;if(P(t),f)for(let e of t)m.checkRouteForAsyncHandler(e,R);let i=e(t,w(r,!0)),a=r?.basename,s=r?.initialEntries,l=r?.initialIndex,c=s&&1===s.length,u=void 0!==l&&s&&s[l],d=(o=c?s[0]:u?s[l]:void 0)?"string"==typeof o?{pathname:o}:o:i.state.location,p=h.getActiveRootSpan();return"POP"===i.state.historyAction&&p&&B({activeRootSpan:p,location:d,routes:t,basename:a,allRoutes:Array.from(v)}),A(i,t,n,a,p),i}:(d.DEBUG_BUILD&&c.debug.warn(`reactRouterV${n}Instrumentation was unable to wrap the \`createMemoryRouter\` function because of one or more missing parameters.`),e)},n.createV6CompatibleWrapUseRoutes=function(e,n){if(!r||!o||!i||!s)return d.DEBUG_BUILD&&c.debug.warn("reactRouterV6Instrumentation was unable to wrap `useRoutes` because of one or more missing parameters."),e;let t=t=>{let a=u.useRef(!0),{routes:s,locationArg:l}=t,c=e(s,l),d=o(),p=i(),m="string"==typeof l||l?.pathname?l:d;return r(()=>{let e="string"==typeof m?{pathname:m}:m;a.current?(P(s),B({activeRootSpan:h.getActiveRootSpan(),location:e,routes:s,allRoutes:Array.from(v)}),a.current=!1):x({location:e,routes:s,navigationType:p,version:n,allRoutes:Array.from(v)})},[p,m]),c};return(e,n)=>u.createElement(t,{routes:e,locationArg:n})},n.handleNavigation=x,n.processResolvedRoutes=R,n.shouldSkipNavigation=k,n.updateNavigationSpan=I},93145:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(75407),o=t(58949),i=t(92517),a=t(78971);function s(e,n,t,s){let c=new Proxy(e,{apply(e,c,u){let d=function(){let e=a.getNavigationContext();if(e?.targetPath)return{pathname:e.targetPath,search:"",hash:"",state:null,key:"default"};if(void 0!==r.WINDOW)try{let e=r.WINDOW.location;if(e)return{pathname:e.pathname,search:e.search||"",hash:e.hash||"",state:null,key:"default"}}catch{i.DEBUG_BUILD&&o.debug.warn("[React Router] Could not access window.location")}return null}(),p=function(){let e=a.getNavigationContext();return e?e.span:a.getActiveRootSpan()}(),m=e.apply(c,u);return l(m,n,t,s,d,p),m}});return o.addNonEnumerableProperty(c,"__sentry_proxied__",!0),c}function l(e,n,t,r,a,s){o.isThenable(e)?e.then(e=>{Array.isArray(e)&&r(e,n,a??void 0,s)}).catch(e=>{i.DEBUG_BUILD&&o.debug.warn(`Error resolving async handler '${t}' for route`,n,e)}):Array.isArray(e)&&r(e,n,a??void 0,s)}n.checkRouteForAsyncHandler=function e(n,t){if(n.handle&&"object"==typeof n.handle)for(let e of Object.keys(n.handle)){let r=n.handle[e];"function"!=typeof r||r.__sentry_proxied__||(n.handle[e]=s(r,n,e,t))}if(Array.isArray(n.children))for(let r of n.children)e(r,t)},n.createAsyncHandlerProxy=s,n.handleAsyncHandlerResult=l},78971:function(e,n,t){let r;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(58949),i=t(92517),a=!1,s=[];function l(e){return"/"===e[e.length-1]?e.slice(0,-1):e}function c(e){return e.endsWith("*")}function u(e,n){return c(e)&&!!n.route.children?.length||!1}function d(e){return!!(!e.children&&e.element&&e.path?.endsWith("/*"))}function p(e){return e.split(/\\?\//).filter(e=>e.length>0&&","!==e).length}function m(e,n){if(!n||"/"===n||!e.toLowerCase().startsWith(n.toLowerCase()))return e;let t=n.endsWith("/")?n.length-1:n.length,r=e.charAt(t);return r&&"/"!==r?e:e.slice(t)||"/"}function h(e){return"/"===e[0]?e:`/${e}`}function f(e,n){let t=r(e,n);if(!t||0===t.length)return"";for(let r of t)if(r.route.path&&"*"!==r.route.path){var o;let t="*"===(o=r.route.path||"")[o.length-1]?o.slice(0,-1):o,i=m(n.pathname,h(r.pathnameBase));if(n.pathname===i)return l(i);return l(l(t||"")+h(f(e.filter(e=>e!==r.route),{pathname:i})))}return""}function g(e,n){let t=r(n,e);if(t){for(let e of t)if(d(e.route)&&e.params["*"])return!0}return!1}function _(e,n){return a?m(e.pathname,n):e.pathname||""}function y(e,n,t,r=""){if(!e||0===e.length)return[a?m(n.pathname,r):n.pathname,"url"];if(!t)return[_(n,r),"url"];let o="";for(let e of t){let t=e.route;if(!t)continue;if(t.index)return function(e,n,t){let r=e&&e.length>0?e:a?m(n,t):n,o="/*"===r.slice(-2)?r.slice(0,-2):r;return o.length>1&&"/"===o[o.length-1]&&(o=o.slice(0,-1)),[o,"route"]}(o,e.pathname,r);let i=t.path;if(!i||u(i,e))continue;let s="/"===i[0]||"/"===o[o.length-1]?i:`/${i}`;if(o=l(o)+h(s),l(n.pathname)===l(r+e.pathname)){if(p(o)!==p(e.pathname)&&!c(o))return[(a?"":r)+s,"route"];return u(o,e)&&(o=o.slice(0,-1)),[(a?"":r)+o,"route"]}}return[_(n,r),"url"]}n.clearNavigationContext=function(e){let n=s[s.length-1];n?.token===e&&s.pop()},n.getActiveRootSpan=function(){let e=o.getActiveSpan(),n=e?o.getRootSpan(e):void 0;if(!n)return;let t=o.spanToJSON(n).op;return"navigation"===t||"pageload"===t?n:void 0},n.getNavigationContext=function(){let e=s.length;return e>0?s[e-1]??null:null},n.getNormalizedName=y,n.getNumberOfUrlSegments=p,n.initializeRouterUtils=function(e,n=!1){r=e,a=n},n.locationIsInsideDescendantRoute=g,n.pathEndsWithWildcard=c,n.pathIsWildcardAndHasChildren=u,n.prefixWithSlash=h,n.rebuildRoutePathFromAllRoutes=f,n.resolveRouteNameAndSource=function(e,n,t,r,o=""){let i;let a="url",s=g(e,t);return s&&(i=h(f(t,e)),a="route"),s&&i||([i,a]=y(n,e,r,o)),[i||e.pathname,a]},n.routeIsDescendant=d,n.setNavigationContext=function(e,n){let t={};return s.length>=10&&(i.DEBUG_BUILD&&o.debug.warn("[React Router] Navigation context stack overflow - removing oldest context"),s.shift()),s.push({token:t,targetPath:e,span:n}),t},n.transactionNameHasWildcard=function(e){return e.includes("/*")||e.endsWith("*")}},8251:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(75407),o=t(58949),i=t(66123),a=t(53829);function s(e,n,t,i,a,s=[],l){function c(e){if(0===s.length||!l)return[e,"url"];for(let n of function e(n,t,r,o=[]){return n.some(n=>{let i=n.path?r(t,n):o.length?o[o.length-1].match:{path:"/",url:"/",params:{},isExact:"/"===t};return i&&(o.push({route:n,match:i}),n.routes&&e(n.routes,t,r,o)),!!i}),o}(s,e,l))if(n.match.isExact)return[n.match.path,"route"];return[e,"url"]}if(n){let n=i.location?i.location.pathname:r.WINDOW.location?r.WINDOW.location.pathname:void 0;if(n){let[t,i]=c(n);r.startBrowserTracingPageLoadSpan(e,{name:t,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:`auto.pageload.react.${a}`,[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:i}})}}t&&i.listen&&i.listen((n,t)=>{if(t&&("PUSH"===t||"POP"===t)){let[t,i]=c(n.pathname);r.startBrowserTracingNavigationSpan(e,{name:t,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:`auto.navigation.react.${a}`,[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:i}})}})}n.reactRouterV4BrowserTracingIntegration=function(e){let n=r.browserTracingIntegration({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:t,routes:o,matchPath:i,instrumentPageLoad:a=!0,instrumentNavigation:l=!0}=e;return{...n,afterAllSetup(e){n.afterAllSetup(e),s(e,a,l,t,"reactrouter_v4",o,i)}}},n.reactRouterV5BrowserTracingIntegration=function(e){let n=r.browserTracingIntegration({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:t,routes:o,matchPath:i,instrumentPageLoad:a=!0,instrumentNavigation:l=!0}=e;return{...n,afterAllSetup(e){n.afterAllSetup(e),s(e,a,l,t,"reactrouter_v5",o,i)}}},n.withSentryRouting=function(e){let n=e.displayName||e.name,t=n=>{if(n?.computedMatch?.isExact){let e=n.computedMatch.path,t=function(){let e=o.getActiveSpan(),n=e&&o.getRootSpan(e);if(!n)return;let t=o.spanToJSON(n).op;return"navigation"===t||"pageload"===t?n:void 0}();o.getCurrentScope().setTransactionName(e),t&&(t.updateName(e),t.setAttribute(o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"route"))}return i.createElement(e,{...n})};return t.displayName=`sentryRoute(${n})`,a.hoistNonReactStatics(t,e),t}},3096:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(75407),o=t(58949);function i(e,n,t,r){let o=n.pathname;t({location:n,routes:e},(e,n,t)=>{if(e||!t)return r(o);let i=function(e){if(!Array.isArray(e)||0===e.length)return"";let n=e.filter(e=>!!e.path),t=-1;for(let e=n.length-1;e>=0;e--){let r=n[e];if(r.path?.startsWith("/")){t=e;break}}return n.slice(t).reduce((e,{path:n})=>{let t="/"===e||""===e?n:`/${n}`;return`${e}${t}`},"")}(t.routes||[]);return 0===i.length||"/*"===i?r(o):r(o=i,"route")})}n.reactRouterV3BrowserTracingIntegration=function(e){let n=r.browserTracingIntegration({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:t,routes:a,match:s,instrumentPageLoad:l=!0,instrumentNavigation:c=!0}=e;return{...n,afterAllSetup(e){n.afterAllSetup(e),l&&r.WINDOW.location&&i(a,r.WINDOW.location,s,(n,t="url")=>{r.startBrowserTracingPageLoadSpan(e,{name:n,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.react.reactrouter_v3",[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t}})}),c&&t.listen&&t.listen(n=>{("PUSH"===n.action||"POP"===n.action)&&i(a,n,s,(n,t="url")=>{r.startBrowserTracingNavigationSpan(e,{name:n,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.react.reactrouter_v3",[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:t}})})})}}}},1959:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(34366);t(58949),t(75407),n.reactRouterV6BrowserTracingIntegration=function(e){return r.createReactRouterV6CompatibleTracingIntegration(e,"6")},n.withSentryReactRouterV6Routing=function(e){return r.createV6CompatibleWithSentryReactRouterRouting(e,"6")},n.wrapCreateBrowserRouterV6=function(e){return r.createV6CompatibleWrapCreateBrowserRouter(e,"6")},n.wrapCreateMemoryRouterV6=function(e){return r.createV6CompatibleWrapCreateMemoryRouter(e,"6")},n.wrapUseRoutesV6=function(e){return r.createV6CompatibleWrapUseRoutes(e,"6")}},85866:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(34366);t(58949),t(75407),n.reactRouterV7BrowserTracingIntegration=function(e){return r.createReactRouterV6CompatibleTracingIntegration(e,"7")},n.withSentryReactRouterV7Routing=function(e){return r.createV6CompatibleWithSentryReactRouterRouting(e,"7")},n.wrapCreateBrowserRouterV7=function(e){return r.createV6CompatibleWrapCreateBrowserRouter(e,"7")},n.wrapCreateMemoryRouterV7=function(e){return r.createV6CompatibleWrapCreateMemoryRouter(e,"7")},n.wrapUseRoutesV7=function(e){return r.createV6CompatibleWrapUseRoutes(e,"7")}},83206:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o={attachReduxState:!0,actionTransformer:e=>e,stateTransformer:e=>e||null};n.createReduxEnhancer=function(e){let n={...o,...e};return e=>(t,o)=>{function i(e){return(t,o)=>{let i=e(t,o),a=r.getCurrentScope(),s=n.actionTransformer(o);null!=s&&r.addBreadcrumb({category:"redux.action",data:s,type:"info"});let l=n.stateTransformer(i);if(null!=l){let e=r.getClient(),n=e?.getOptions(),t=n?.normalizeDepth||3,o={state:{type:"redux",value:l}};r.addNonEnumerableProperty(o,"__sentry_override_normalization_depth__",3+t),a.setContext("state",o)}else a.setContext("state",null);let{configureScopeWithState:c}=n;return"function"==typeof c&&c(a,i),i}}n.attachReduxState&&r.getGlobalScope().addEventProcessor((e,n)=>{try{void 0===e.type&&"redux"===e.contexts.state.state.type&&(n.attachments=[...n.attachments||[],{filename:"redux_state.json",data:JSON.stringify(e.contexts.state.state.value)}])}catch{}return e});let a=e(i(t),o);return a.replaceReducer=new Proxy(a.replaceReducer,{apply:function(e,n,t){e.apply(n,[i(t[0])])}}),a}}},47929:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(75407),o=t(58949),i=t(66123);n.init=function(e){let n={...e};return o.applySdkMetadata(n,"react"),r.setContext("react",{version:i.version}),r.init(n)}},78625:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(75407),o=t(58949);function i(e){if(!e)return{};let n={};return Object.entries(e.params).forEach(([e,t])=>{n[`url.path.params.${e}`]=t,n[`url.path.parameter.${e}`]=t,n[`params.${e}`]=t}),n}n.tanstackRouterBrowserTracingIntegration=function(e,n={}){let t=r.browserTracingIntegration({...n,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:a=!0,instrumentNavigation:s=!0}=n;return{...t,afterAllSetup(n){t.afterAllSetup(n);let l=r.WINDOW.location;if(a&&l){let t=e.matchRoutes(l.pathname,e.options.parseSearch(l.search),{preload:!1,throwOnError:!1}),a=t[t.length-1],s=a?.routeId!=="__root__"?a:void 0;r.startBrowserTracingPageLoadSpan(n,{name:s?s.routeId:l.pathname,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"pageload",[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.pageload.react.tanstack_router",[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:s?"route":"url",...i(s)}})}s&&e.subscribe("onBeforeNavigate",t=>{if(!t.fromLocation||t.toLocation.state===t.fromLocation.state)return;let a=e.matchRoutes(t.toLocation.pathname,t.toLocation.search,{preload:!1,throwOnError:!1}),s=a[a.length-1],l=s?.routeId!=="__root__"?s:void 0,c=r.WINDOW.location,u=r.startBrowserTracingNavigationSpan(n,{name:l?l.routeId:c.pathname,attributes:{[o.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"navigation",[o.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.navigation.react.tanstack_router",[o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:l?"route":"url"}}),d=e.subscribe("onResolved",n=>{if(d(),u){let t=e.matchRoutes(n.toLocation.pathname,n.toLocation.search,{preload:!1,throwOnError:!1}),r=t[t.length-1],a=r?.routeId!=="__root__"?r:void 0;a&&(u.updateName(a.routeId),u.setAttribute(o.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"route"),u.setAttributes(i(a)))}})})}}}},33527:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.DEBUG_BUILD=!1},52083:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(33527),i=t(95746),a={};function s(e){let n=a[e];if(n)return n;let t=i.WINDOW[e];if(r.isNativeFunction(t))return a[e]=t.bind(i.WINDOW);let s=i.WINDOW.document;if(s&&"function"==typeof s.createElement)try{let n=s.createElement("iframe");n.hidden=!0,s.head.appendChild(n);let r=n.contentWindow;r?.[e]&&(t=r[e]),s.head.removeChild(n)}catch(n){o.DEBUG_BUILD&&r.debug.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,n)}return t?a[e]=t.bind(i.WINDOW):t}n.clearCachedImplementation=function(e){a[e]=void 0},n.fetch=function(...e){return s("fetch")(...e)},n.getNativeImplementation=s,n.setTimeout=function(...e){return s("setTimeout")(...e)}},67223:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(99157),o=t(64445),i=t(22770),a=t(95465),s=t(73065),l=t(13272),c=t(52083),u=t(48974),d=t(21392),p=t(27012),m=t(9236);n.addClsInstrumentationHandler=r.addClsInstrumentationHandler,n.addInpInstrumentationHandler=r.addInpInstrumentationHandler,n.addLcpInstrumentationHandler=r.addLcpInstrumentationHandler,n.addPerformanceInstrumentationHandler=r.addPerformanceInstrumentationHandler,n.addTtfbInstrumentationHandler=r.addTtfbInstrumentationHandler,n.addPerformanceEntries=o.addPerformanceEntries,n.startTrackingInteractions=o.startTrackingInteractions,n.startTrackingLongAnimationFrames=o.startTrackingLongAnimationFrames,n.startTrackingLongTasks=o.startTrackingLongTasks,n.startTrackingWebVitals=o.startTrackingWebVitals,n.startTrackingElementTiming=i.startTrackingElementTiming,n.extractNetworkProtocol=a.extractNetworkProtocol,n.addClickKeypressInstrumentationHandler=s.addClickKeypressInstrumentationHandler,n.addHistoryInstrumentationHandler=l.addHistoryInstrumentationHandler,n.clearCachedImplementation=c.clearCachedImplementation,n.fetch=c.fetch,n.getNativeImplementation=c.getNativeImplementation,n.setTimeout=c.setTimeout,n.SENTRY_XHR_DATA_KEY=u.SENTRY_XHR_DATA_KEY,n.addXhrInstrumentationHandler=u.addXhrInstrumentationHandler,n.getBodyString=d.getBodyString,n.getFetchRequestArgBody=d.getFetchRequestArgBody,n.parseXhrResponseHeaders=d.parseXhrResponseHeaders,n.serializeFormData=d.serializeFormData,n.resourceTimingToSpanAttributes=p.resourceTimingToSpanAttributes,n.registerInpInteractionListener=m.registerInpInteractionListener,n.startTrackingINP=m.startTrackingINP},73065:function(e,n,t){let r,o,i;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let a=t(58949),s=t(95746);function l(){if(!s.WINDOW.document)return;let e=a.triggerHandlers.bind(null,"dom"),n=c(e,!0);s.WINDOW.document.addEventListener("click",n,!1),s.WINDOW.document.addEventListener("keypress",n,!1),["EventTarget","Node"].forEach(n=>{let t=s.WINDOW,r=t[n]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(a.fill(r,"addEventListener",function(n){return function(t,r,o){if("click"===t||"keypress"==t)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},i=r[t]=r[t]||{refCount:0};if(!i.handler){let r=c(e);i.handler=r,n.call(this,t,r,o)}i.refCount++}catch{}return n.call(this,t,r,o)}}),a.fill(r,"removeEventListener",function(e){return function(n,t,r){if("click"===n||"keypress"==n)try{let t=this.__sentry_instrumentation_handlers__||{},o=t[n];o&&(o.refCount--,o.refCount<=0&&(e.call(this,n,o.handler,r),o.handler=void 0,delete t[n]),0===Object.keys(t).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,n,t,r)}}))})}function c(e,n=!1){return t=>{if(!t||t._sentryCaptured)return;let l=function(e){try{return e.target}catch{return null}}(t);if("keypress"===t.type&&(!l?.tagName||"INPUT"!==l.tagName&&"TEXTAREA"!==l.tagName&&!l.isContentEditable))return;a.addNonEnumerableProperty(t,"_sentryCaptured",!0),l&&!l._sentryId&&a.addNonEnumerableProperty(l,"_sentryId",a.uuid4());let c="keypress"===t.type?"input":t.type;!function(e){if(e.type!==o)return!1;try{if(!e.target||e.target._sentryId!==i)return!1}catch{}return!0}(t)&&(e({event:t,name:c,global:n}),o=t.type,i=l?l._sentryId:void 0),clearTimeout(r),r=s.WINDOW.setTimeout(()=>{i=void 0,o=void 0},1e3)}}n.addClickKeypressInstrumentationHandler=function(e){a.addHandler("dom",e),a.maybeInstrument("dom",l)},n.instrumentDOM=l},13272:function(e,n,t){let r;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(58949),i=t(95746);function a(){i.WINDOW.addEventListener("popstate",()=>{let e=i.WINDOW.location.href,n=r;r=e,n!==e&&o.triggerHandlers("history",{from:n,to:e})}),o.supportsHistory()&&(o.fill(i.WINDOW.history,"pushState",e),o.fill(i.WINDOW.history,"replaceState",e));function e(e){return function(...n){let t=n.length>2?n[2]:void 0;if(t){let a=r,s=function(e){try{return new URL(e,i.WINDOW.location.origin).toString()}catch{return e}}(String(t));if(r=s,a===s)return e.apply(this,n);o.triggerHandlers("history",{from:a,to:s})}return e.apply(this,n)}}}n.addHistoryInstrumentationHandler=function(e){let n="history";o.addHandler(n,e),o.maybeInstrument(n,a)},n.instrumentHistory=a},48974:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(95746),i="__sentry_xhr_v3__";function a(){if(!o.WINDOW.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,n,t){let o=Error(),a=1e3*r.timestampInSeconds(),s=r.isString(t[0])?t[0].toUpperCase():void 0,l=function(e){if(r.isString(e))return e;try{return e.toString()}catch{}}(t[1]);if(!s||!l)return e.apply(n,t);n[i]={method:s,url:l,request_headers:{}},"POST"===s&&l.match(/sentry_key/)&&(n.__sentry_own_request__=!0);let c=()=>{let e=n[i];if(e&&4===n.readyState){try{e.status_code=n.status}catch{}let t={endTimestamp:1e3*r.timestampInSeconds(),startTimestamp:a,xhr:n,virtualError:o};r.triggerHandlers("xhr",t)}};return"onreadystatechange"in n&&"function"==typeof n.onreadystatechange?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply:(e,n,t)=>(c(),e.apply(n,t))}):n.addEventListener("readystatechange",c),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(e,n,t){let[o,a]=t,s=n[i];return s&&r.isString(o)&&r.isString(a)&&(s.request_headers[o.toLowerCase()]=a),e.apply(n,t)}}),e.apply(n,t)}}),e.send=new Proxy(e.send,{apply(e,n,t){let o=n[i];if(!o)return e.apply(n,t);void 0!==t[0]&&(o.body=t[0]);let a={startTimestamp:1e3*r.timestampInSeconds(),xhr:n};return r.triggerHandlers("xhr",a),e.apply(n,t)}})}n.SENTRY_XHR_DATA_KEY=i,n.addXhrInstrumentationHandler=function(e){r.addHandler("xhr",e),r.maybeInstrument("xhr",a)},n.instrumentXHR=a},64445:function(e,n,t){let r,o;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let i=t(58949),a=t(95746),s=t(45253),l=t(99157),c=t(3055),u=t(27012),d=t(95465),p=t(11865),m=t(31763),h=t(91766),f=0,g={};function _(e,n,t,r,o,a){if(function(e){if(e?.entryType==="measure")try{return"Components ⚛"===e.detail.devtools.track}catch{return}}(n)||["mark","measure"].includes(n.entryType)&&i.stringMatchesSomePattern(n.name,a))return;let s=m.getNavigationEntry(!1),l=o+Math.max(t,d.msToSec(s?s.requestStart:0)),c=o+t,u=c+r,p={[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"};l!==c&&(p["sentry.browser.measure_happened_before_request"]=!0,p["sentry.browser.measure_start_time"]=l),function(e,n){try{let t=n.detail;if(!t)return;if("object"==typeof t){for(let[n,r]of Object.entries(t))if(r&&i.isPrimitive(r))e[`sentry.browser.measure.detail.${n}`]=r;else if(void 0!==r)try{e[`sentry.browser.measure.detail.${n}`]=JSON.stringify(r)}catch{}return}if(i.isPrimitive(t)){e["sentry.browser.measure.detail"]=t;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(t)}catch{}}catch{}}(p,n),l<=u&&d.startAndEndSpan(e,l,u,{name:n.name,op:n.entryType,attributes:p})}function y(e,n,t){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{v(e,n,r,t)}),v(e,n,"secureConnection",t,"TLS/SSL"),v(e,n,"fetch",t,"cache"),v(e,n,"domainLookup",t,"DNS"),function(e,n,t){let r=t+d.msToSec(n.requestStart),o=t+d.msToSec(n.responseEnd),a=t+d.msToSec(n.responseStart);n.responseEnd&&(d.startAndEndSpan(e,r,o,{op:"browser.request",name:n.name,attributes:{[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}),d.startAndEndSpan(e,a,o,{op:"browser.response",name:n.name,attributes:{[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}}))}(e,n,t)}function v(e,n,t,r,o=t){let a=n["secureConnection"===t?"connectEnd":"fetch"===t?"domainLookupStart":`${t}End`],s=n[`${t}Start`];s&&a&&d.startAndEndSpan(e,r+d.msToSec(s),r+d.msToSec(a),{op:`browser.${o}`,name:n.name,attributes:{[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics",..."redirect"===t&&null!=n.redirectCount?{"http.redirect_count":n.redirectCount}:{}}})}function b(e,n,t,r,o,s,l){if("xmlhttprequest"===n.initiatorType||"fetch"===n.initiatorType)return;let c=n.initiatorType?`resource.${n.initiatorType}`:"resource.other";if(l?.includes(c))return;let p={[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.resource.browser.metrics"},m=i.parseUrl(t);m.protocol&&(p["url.scheme"]=m.protocol.split(":").pop()),m.host&&(p["server.address"]=m.host),p["url.same_origin"]=t.includes(a.WINDOW.location.origin),C(n,p,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);let h={...p,...u.resourceTimingToSpanAttributes(n)},f=s+r;d.startAndEndSpan(e,f,f+o,{name:t.replace(a.WINDOW.location.origin,""),op:c,attributes:h})}function C(e,n,t){t.forEach(([t,r])=>{let o=e[t];null!=o&&("number"==typeof o&&o<2147483647||"string"==typeof o)&&(n[r]=o)})}n._addMeasureSpans=_,n._addNavigationSpans=y,n._addResourceSpans=b,n._setResourceRequestAttributes=C,n.addPerformanceEntries=function(e,n){let t=d.getBrowserPerformanceAPI(),s=i.browserPerformanceTimeOrigin();if(!t?.getEntries||!s)return;let l=d.msToSec(s),c=t.getEntries(),{op:u,start_timestamp:v}=i.spanToJSON(e);c.slice(f).forEach(t=>{let r=d.msToSec(t.startTime),o=d.msToSec(Math.max(0,t.duration));if("navigation"!==u||!v||!(l+r{i.setMeasurement(e,n.value,n.unit)}),e.setAttribute("performance.timeOrigin",l),e.setAttribute("performance.activationStart",p.getActivationStart()),r&&n.recordLcpOnPageloadSpan&&(r.element&&e.setAttribute("lcp.element",i.htmlTreeAsString(r.element)),r.id&&e.setAttribute("lcp.id",r.id),r.url&&e.setAttribute("lcp.url",r.url.trim().slice(0,200)),null!=r.loadTime&&e.setAttribute("lcp.loadTime",r.loadTime),null!=r.renderTime&&e.setAttribute("lcp.renderTime",r.renderTime),e.setAttribute("lcp.size",r.size)),o?.sources&&n.recordClsOnPageloadSpan&&o.sources.forEach((n,t)=>e.setAttribute(`cls.source.${t+1}`,i.htmlTreeAsString(n.node)))),r=void 0,o=void 0,g={}},n.startTrackingInteractions=function(){l.addPerformanceInstrumentationHandler("event",({entries:e})=>{let n=i.getActiveSpan();if(n){for(let t of e)if("click"===t.name){let e=d.msToSec(i.browserPerformanceTimeOrigin()+t.startTime),r=d.msToSec(t.duration),o={name:i.htmlTreeAsString(t.target),op:`ui.interaction.${t.name}`,startTime:e,attributes:{[i.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.metrics"}},a=i.getComponentName(t.target);a&&(o.attributes["ui.component_name"]=a),d.startAndEndSpan(n,e,e+r,o)}}})},n.startTrackingLongAnimationFrames=function(){new PerformanceObserver(e=>{let n=i.getActiveSpan();if(n)for(let t of e.getEntries()){if(!t.scripts[0])continue;let e=d.msToSec(i.browserPerformanceTimeOrigin()+t.startTime),{start_timestamp:r,op:o}=i.spanToJSON(n);if("navigation"===o&&r&&e{let n=i.getActiveSpan();if(!n)return;let{op:t,start_timestamp:r}=i.spanToJSON(n);for(let o of e){let e=d.msToSec(i.browserPerformanceTimeOrigin()+o.startTime),a=d.msToSec(o.duration);"navigation"===t&&r&&e{let n=e.entries[e.entries.length-1];n&&(g.lcp={value:e.value,unit:"millisecond"},r=n)},!0),d=l.addTtfbInstrumentationHandler(({metric:e})=>{e.entries[e.entries.length-1]&&(g.ttfb={value:e.value,unit:"millisecond"})}),p=e?s.trackClsAsStandaloneSpan(t):l.addClsInstrumentationHandler(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(g.cls={value:e.value,unit:""},o=n)},!0);return()=>{i?.(),d(),p?.()}}return()=>void 0}},45253:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(33527),i=t(99157),a=t(95465);function s(e,n,t,i){o.DEBUG_BUILD&&r.debug.log(`Sending CLS span (${e})`);let s=n?a.msToSec((r.browserPerformanceTimeOrigin()||0)+n.startTime):r.timestampInSeconds(),l=r.getCurrentScope().getScopeData().transactionName,c=n?r.htmlTreeAsString(n.sources[0]?.node):"Layout shift",u={[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.cls",[r.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.cls",[r.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":t,"sentry.report_event":i};n?.sources&&n.sources.forEach((e,n)=>{u[`cls.source.${n+1}`]=r.htmlTreeAsString(e.node)});let d=a.startStandaloneWebVitalSpan({name:c,transaction:l,attributes:u,startTime:s});d&&(d.addEvent("cls",{[r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"",[r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e}),d.end(s))}n._sendStandaloneClsSpan=s,n.trackClsAsStandaloneSpan=function(e){let n,t=0;if(!a.supportsWebVital("layout-shift"))return;let r=i.addClsInstrumentationHandler(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(t=e.value,n=r)},!0);a.listenForWebVitalReportEvents(e,(e,o)=>{s(t,n,o,e),r()})}},22770:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(99157),i=t(95465),a=({entries:e})=>{let n=r.getActiveSpan(),t=n?r.getRootSpan(n):void 0,o=t?r.spanToJSON(t).description:r.getCurrentScope().getScopeData().transactionName;e.forEach(e=>{if(!e.identifier)return;let n=e.name,t=e.renderTime,a=e.loadTime,[s,l]=a?[i.msToSec(a),"load-time"]:t?[i.msToSec(t),"render-time"]:[r.timestampInSeconds(),"entry-emission"],c="image-paint"===n?i.msToSec(Math.max(0,(t??0)-(a??0))):0,u={[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.ui.browser.elementtiming",[r.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.elementtiming",[r.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"component","sentry.span_start_time_source":l,"sentry.transaction_name":o,"element.id":e.id,"element.type":e.element?.tagName?.toLowerCase()||"unknown","element.size":e.naturalWidth&&e.naturalHeight?`${e.naturalWidth}x${e.naturalHeight}`:void 0,"element.render_time":t,"element.load_time":a,"element.url":e.url||void 0,"element.identifier":e.identifier,"element.paint_type":n};r.startSpan({name:`element[${e.identifier}]`,attributes:u,startTime:s,onlyIfParent:!0},e=>{e.end(s+c)})})};n._onElementTiming=a,n.startTrackingElementTiming=function(){return i.getBrowserPerformanceAPI()&&r.browserPerformanceTimeOrigin()?o.addPerformanceInstrumentationHandler("element",a):()=>void 0}},9236:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(95746),i=t(99157),a=t(95465),s=[],l=new Map,c=new Map,u={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function d(){return i.addInpInstrumentationHandler(p)}let p=({metric:e})=>{if(void 0==e.value)return;let n=a.msToSec(e.value);if(n>60)return;let t=e.entries.find(n=>n.duration===e.value&&u[n.name]);if(!t)return;let{interactionId:o}=t,i=u[t.name],s=a.msToSec(r.browserPerformanceTimeOrigin()+t.startTime),c=r.getActiveSpan(),d=c?r.getRootSpan(c):void 0,p=null!=o?l.get(o):void 0,m=p?.span||d,h=m?r.spanToJSON(m).description:r.getCurrentScope().getScopeData().transactionName,f=p?.elementName||r.htmlTreeAsString(t.target),g={[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.inp",[r.SEMANTIC_ATTRIBUTE_SENTRY_OP]:`ui.interaction.${i}`,[r.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:t.duration},_=a.startStandaloneWebVitalSpan({name:f,transaction:h,attributes:g,startTime:s});_&&(_.addEvent("inp",{[r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e.value}),_.end(s+n))};n._onInp=p,n._trackINP=d,n.registerInpInteractionListener=function(){let e=Object.keys(u);function n(e){let n=e.target;if(!n)return;let t=r.htmlTreeAsString(n),o=Math.round(e.timeStamp);if(c.set(o,t),c.size>50){let e=c.keys().next().value;void 0!==e&&c.delete(e)}}r.isBrowser()&&e.forEach(e=>{o.WINDOW.addEventListener(e,n,{capture:!0,passive:!0})});let t=({entries:e})=>{let n=r.getActiveSpan(),t=n&&r.getRootSpan(n);e.forEach(e=>{if(!i.isPerformanceEventTiming(e))return;let n=e.interactionId;if(null==n||l.has(n))return;let o=e.target?r.htmlTreeAsString(e.target):function(e){let n=Math.round(e.startTime),t=c.get(n);if(!t)for(let e=-5;e<=5;e++){let r=c.get(n+e);if(r){t=r;break}}return t||""}(e);if(s.length>10){let e=s.shift();l.delete(e)}s.push(n),l.set(n,{span:t,elementName:o})})};i.addPerformanceInstrumentationHandler("event",t),i.addPerformanceInstrumentationHandler("first-input",t)},n.startTrackingINP=function(){if(a.getBrowserPerformanceAPI()&&r.browserPerformanceTimeOrigin()){let e=d();return()=>{e()}}return()=>void 0}},99157:function(e,n,t){let r,o,i,a;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let s=t(58949),l=t(33527),c=t(97625),u=t(77459),d=t(45018),p=t(4382),m=t(25998),h={},f={};function g(e,n){let t=h[e];if(t?.length)for(let r of t)try{r(n)}catch(n){l.DEBUG_BUILD&&s.debug.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${s.getFunctionName(r)} Error:`,n)}}function _(){return c.onCLS(e=>{g("cls",{metric:e}),r=e},{reportAllChanges:!0})}function y(){return d.onLCP(e=>{g("lcp",{metric:e}),o=e},{reportAllChanges:!0})}function v(){return m.onTTFB(e=>{g("ttfb",{metric:e}),i=e})}function b(){return u.onINP(e=>{g("inp",{metric:e}),a=e})}function C(e,n,t,r,o=!1){let i;return T(e,n),f[e]||(i=t(),f[e]=!0),r&&n({metric:r}),S(e,n,o?i:void 0)}function T(e,n){h[e]=h[e]||[],h[e].push(n)}function S(e,n,t){return()=>{t&&t();let r=h[e];if(!r)return;let o=r.indexOf(n);-1!==o&&r.splice(o,1)}}n.addClsInstrumentationHandler=function(e,n=!1){return C("cls",e,_,r,n)},n.addInpInstrumentationHandler=function(e){return C("inp",e,b,a)},n.addLcpInstrumentationHandler=function(e,n=!1){return C("lcp",e,y,o,n)},n.addPerformanceInstrumentationHandler=function(e,n){return T(e,n),f[e]||(function(e){let n={};"event"===e&&(n.durationThreshold=0),p.observe(e,n=>{g(e,{entries:n})},n)}(e),f[e]=!0),S(e,n)},n.addTtfbInstrumentationHandler=function(e){return C("ttfb",e,v,i)},n.isPerformanceEventTiming=function(e){return"duration"in e}},3055:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(33527),i=t(99157),a=t(95465);function s(e,n,t,i){o.DEBUG_BUILD&&r.debug.log(`Sending LCP span (${e})`);let s=a.msToSec((r.browserPerformanceTimeOrigin()||0)+(n?.startTime||0)),l=r.getCurrentScope().getScopeData().transactionName,c=n?r.htmlTreeAsString(n.element):"Largest contentful paint",u={[r.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser.lcp",[r.SEMANTIC_ATTRIBUTE_SENTRY_OP]:"ui.webvital.lcp",[r.SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME]:0,"sentry.pageload.span_id":t,"sentry.report_event":i};n&&(n.element&&(u["lcp.element"]=r.htmlTreeAsString(n.element)),n.id&&(u["lcp.id"]=n.id),n.url&&(u["lcp.url"]=n.url),null!=n.loadTime&&(u["lcp.loadTime"]=n.loadTime),null!=n.renderTime&&(u["lcp.renderTime"]=n.renderTime),null!=n.size&&(u["lcp.size"]=n.size));let d=a.startStandaloneWebVitalSpan({name:c,transaction:l,attributes:u,startTime:s});d&&(d.addEvent("lcp",{[r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT]:"millisecond",[r.SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE]:e}),d.end(s))}n._sendStandaloneLcpSpan=s,n.trackLcpAsStandaloneSpan=function(e){let n,t=0;if(!a.supportsWebVital("largest-contentful-paint"))return;let r=i.addLcpInstrumentationHandler(({metric:e})=>{let r=e.entries[e.entries.length-1];r&&(t=e.value,n=r)},!0);a.listenForWebVitalReportEvents(e,(e,o)=>{s(t,n,o,e),r()})}},27012:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(95465);function i(e){return e?((r.browserPerformanceTimeOrigin()||performance.timeOrigin)+e)/1e3:e}n.resourceTimingToSpanAttributes=function(e){let n={};if(void 0!=e.nextHopProtocol){let{name:t,version:r}=o.extractNetworkProtocol(e.nextHopProtocol);n["network.protocol.version"]=r,n["network.protocol.name"]=t}return r.browserPerformanceTimeOrigin()||o.getBrowserPerformanceAPI()?.timeOrigin?Object.fromEntries(Object.entries({...n,"http.request.redirect_start":i(e.redirectStart),"http.request.redirect_end":i(e.redirectEnd),"http.request.worker_start":i(e.workerStart),"http.request.fetch_start":i(e.fetchStart),"http.request.domain_lookup_start":i(e.domainLookupStart),"http.request.domain_lookup_end":i(e.domainLookupEnd),"http.request.connect_start":i(e.connectStart),"http.request.secure_connection_start":i(e.secureConnectionStart),"http.request.connection_end":i(e.connectEnd),"http.request.request_start":i(e.requestStart),"http.request.response_start":i(e.responseStart),"http.request.response_end":i(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0}).filter(([,e])=>null!=e)):n}},95465:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(95746),i=t(41006);n.extractNetworkProtocol=function(e){let n="unknown",t="unknown",r="";for(let o of e){if("/"===o){[n,t]=e.split("/");break}if(!isNaN(Number(o))){n="h"===r?"http":r,t=e.split(r)[1];break}r+=o}return r===e&&(n=r),{name:n,version:t}},n.getBrowserPerformanceAPI=function(){return o.WINDOW.addEventListener&&o.WINDOW.performance},n.isMeasurementValue=function(e){return"number"==typeof e&&isFinite(e)},n.listenForWebVitalReportEvents=function(e,n){let t;let r=!1;function o(e){!r&&t&&n(e,t),r=!0}i.onHidden(()=>{o("pagehide")});let a=e.on("beforeStartNavigationSpan",(e,n)=>{n?.isRedirect||(o("navigation"),a(),s())}),s=e.on("afterStartPageLoadSpan",e=>{t=e.spanContext().spanId,s()})},n.msToSec=function(e){return e/1e3},n.startAndEndSpan=function(e,n,t,{...o}){let i=r.spanToJSON(e).start_timestamp;return i&&i>n&&"function"==typeof e.updateStartTime&&e.updateStartTime(n),r.withActiveSpan(e,()=>{let e=r.startInactiveSpan({startTime:n,...o});return e&&e.end(t),e})},n.startStandaloneWebVitalSpan=function(e){let n;let t=r.getClient();if(!t)return;let{name:i,transaction:a,attributes:s,startTime:l}=e,{release:c,environment:u,sendDefaultPii:d}=t.getOptions(),p=t.getIntegrationByName("Replay"),m=p?.getReplayId(),h=r.getCurrentScope(),f=h.getUser(),g=void 0!==f?f.email||f.id||f.ip_address:void 0;try{n=h.getScopeData().contexts.profile.profile_id}catch{}let _={release:c,environment:u,user:g||void 0,profile_id:n||void 0,replay_id:m||void 0,transaction:a,"user_agent.original":o.WINDOW.navigator?.userAgent,"client.address":d?"{{auto}}":void 0,...s};return r.startInactiveSpan({name:i,attributes:_,startTime:l,experimental:{standalone:!0}})},n.supportsWebVital=function(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}},97625:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(95746),o=t(82830),i=t(91766),a=t(89207),s=t(82593),l=t(98508),c=t(4382),u=t(98669),d=t(30865),p=[.1,.25];n.CLSThresholds=p,n.onCLS=(e,n={})=>{d.onFCP(u.runOnce(()=>{let t;let u=a.initMetric("CLS",0),d=i.getVisibilityWatcher(),m=s.initUnique(n,l.LayoutShiftManager),h=e=>{for(let n of e)m._processEntry(n);m._sessionValue>u.value&&(u.value=m._sessionValue,u.entries=m._sessionEntries,t())},f=c.observe("layout-shift",h);f&&(t=o.bindReporter(e,u,p,n.reportAllChanges),d.onHidden(()=>{h(f.takeRecords()),t(!0)}),r.WINDOW?.setTimeout?.(t))}))}},77459:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(82830),o=t(91766),i=t(89207),a=t(82593),s=t(81609),l=t(4382),c=t(50487),u=t(72403),d=t(46993),p=[200,500];n.INPThresholds=p,n.onINP=(e,n={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let t=o.getVisibilityWatcher();u.whenActivated(()=>{let o;c.initInteractionCountPolyfill();let u=i.initMetric("INP"),m=a.initUnique(n,s.InteractionManager),h=e=>{d.whenIdleOrHidden(()=>{for(let n of e)m._processEntry(n);let n=m._estimateP98LongestInteraction();n&&n._latency!==u.value&&(u.value=n._latency,u.entries=n.entries,o())})},f=l.observe("event",h,{durationThreshold:n.durationThreshold??40});o=r.bindReporter(e,u,p,n.reportAllChanges),f&&(f.observe({type:"first-input",buffered:!0}),t.onHidden(()=>{h(f.takeRecords()),o(!0)}))})}},45018:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(82830),o=t(11865),i=t(91766),a=t(3049),s=t(89207),l=t(82593),c=t(63558),u=t(4382),d=t(98669),p=t(72403),m=t(46993),h=[2500,4e3];n.LCPThresholds=h,n.onLCP=(e,n={})=>{p.whenActivated(()=>{let t;let p=i.getVisibilityWatcher(),f=s.initMetric("LCP"),g=l.initUnique(n,c.LCPEntryManager),_=e=>{for(let r of(n.reportAllChanges||(e=e.slice(-1)),e))g._processEntry(r),r.startTime{_(y.takeRecords()),y.disconnect(),t(!0)}),i=e=>{e.isTrusted&&(m.whenIdleOrHidden(o),a.removePageListener(e.type,i,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])a.addPageListener(e,i,{capture:!0})}})}},81609:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(50487),o=0,i=()=>r.getInteractionCount()-o;class a{constructor(){a.prototype.__init.call(this),a.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){o=r.getInteractionCount(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor(i()/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||"first-input"===e.entryType))return;let n=this._longestInteractionList.at(-1),t=this._longestInteractionMap.get(e.interactionId);if(t||this._longestInteractionList.length<10||e.duration>n._latency){if(t?e.duration>t._latency?(t.entries=[e],t._latency=e.duration):e.duration===t._latency&&e.startTime===t.entries[0].startTime&&t.entries.push(e):(t={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(t.id,t),this._longestInteractionList.push(t)),this._longestInteractionList.sort((e,n)=>n._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);this._onAfterProcessingINPCandidate?.(t)}}}n.InteractionManager=a},63558:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});class t{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}n.LCPEntryManager=t},98508:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});class t{constructor(){t.prototype.__init.call(this),t.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let n=this._sessionEntries[0],t=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&n&&t&&e.startTime-t.startTime<1e3&&e.startTime-n.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}n.LayoutShiftManager=t},82830:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let t=(e,n)=>e>n[1]?"poor":e>n[0]?"needs-improvement":"good";n.bindReporter=(e,n,r,o)=>{let i,a;return s=>{n.value>=0&&(s||o)&&((a=n.value-(i??0))||void 0===i)&&(i=n.value,n.delta=a,n.rating=t(n.value,r),e(n))}}},95631:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.generateUniqueID=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`},11865:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(31763);n.getActivationStart=()=>{let e=r.getNavigationEntry();return e?.activationStart??0}},31763:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(95746);n.getNavigationEntry=(e=!0)=>{let n=r.WINDOW.performance?.getEntriesByType?.("navigation")[0];if(!e||n&&n.responseStart>0&&n.responseStartr.WINDOW.document?.visibilityState!=="hidden"||r.WINDOW.document?.prerendering?1/0:0,c=e=>{if(("pagehide"===e.type||r.WINDOW.document?.visibilityState==="hidden")&&a>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(let e of s)e();isFinite(a)||(a="visibilitychange"===e.type?e.timeStamp:0,i.removePageListener("prerenderingchange",c,!0))}};n.getVisibilityWatcher=()=>{if(r.WINDOW.document&&a<0){let e=o.getActivationStart();a=(r.WINDOW.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(n=>"hidden"===n.name&&n.startTime>e)[0]?.startTime)??l(),i.addPageListener("visibilitychange",c,!0),i.addPageListener("pagehide",c,!0),i.addPageListener("prerenderingchange",c,!0)}return{get firstHiddenTime(){return a},onHidden(e){s.add(e)}}}},3049:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(95746);n.addPageListener=function(e,n,t){r.WINDOW.document&&r.WINDOW.addEventListener(e,n,t)},n.removePageListener=function(e,n,t){r.WINDOW.document&&r.WINDOW.removeEventListener(e,n,t)}},89207:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(95746),o=t(95631),i=t(11865),a=t(31763);n.initMetric=(e,n=-1)=>{let t=a.getNavigationEntry(),s="navigate";return t&&(r.WINDOW.document?.prerendering||i.getActivationStart()>0?s="prerender":r.WINDOW.document?.wasDiscarded?s="restore":t.type&&(s=t.type.replace(/_/g,"-"))),{name:e,value:n,rating:"good",delta:0,entries:[],id:o.generateUniqueID(),navigationType:s}}},82593:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let t=new WeakMap;n.initUnique=function(e,n){try{return t.get(e)||t.set(e,new n),t.get(e)}catch(e){return new n}}},4382:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.observe=(e,n,t={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{n(e.getEntries())})});return r.observe({type:e,buffered:!0,...t}),r}}catch{}}},41006:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(95746),o=t(3049);n.onHidden=e=>{let n=n=>{("pagehide"===n.type||r.WINDOW.document?.visibilityState==="hidden")&&e(n)};o.addPageListener("visibilitychange",n,{capture:!0,once:!0}),o.addPageListener("pagehide",n,{capture:!0,once:!0})}},50487:function(e,n,t){let r;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(4382),i=0,a=1/0,s=0,l=e=>{e.forEach(e=>{e.interactionId&&(a=Math.min(a,e.interactionId),i=(s=Math.max(s,e.interactionId))?(s-a)/7+1:0)})};n.getInteractionCount=()=>r?i:performance.interactionCount||0,n.initInteractionCountPolyfill=()=>{"interactionCount"in performance||r||(r=o.observe("event",l,{type:"event",buffered:!0,durationThreshold:0}))}},98669:function(e,n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),n.runOnce=e=>{let n=!1;return()=>{n||(e(),n=!0)}}},72403:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(95746);n.whenActivated=e=>{r.WINDOW.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()}},46993:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(95746),o=t(3049),i=t(98669);n.whenIdleOrHidden=e=>{let n=r.WINDOW.requestIdleCallback||r.WINDOW.setTimeout;r.WINDOW.document?.visibilityState==="hidden"?e():(e=i.runOnce(e),o.addPageListener("visibilitychange",e,{once:!0,capture:!0}),o.addPageListener("pagehide",e,{once:!0,capture:!0}),n(()=>{e(),o.removePageListener("visibilitychange",e,{capture:!0}),o.removePageListener("pagehide",e,{capture:!0})}))}},30865:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(82830),o=t(11865),i=t(91766),a=t(89207),s=t(4382),l=t(72403),c=[1800,3e3];n.FCPThresholds=c,n.onFCP=(e,n={})=>{l.whenActivated(()=>{let t;let l=i.getVisibilityWatcher(),u=a.initMetric("FCP"),d=s.observe("paint",e=>{for(let n of e)"first-contentful-paint"===n.name&&(d.disconnect(),n.startTime{r.WINDOW.document?.prerendering?l.whenActivated(()=>u(e)):r.WINDOW.document?.readyState!=="complete"?addEventListener("load",()=>u(e),!0):setTimeout(e)};n.TTFBThresholds=c,n.onTTFB=(e,n={})=>{let t=s.initMetric("TTFB"),r=o.bindReporter(e,t,c,n.reportAllChanges);u(()=>{let e=a.getNavigationEntry();e&&(t.value=Math.max(e.responseStart-i.getActivationStart(),0),t.entries=[e],r(!0))})}},21392:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=t(33527),i=Symbol.for("sentry__originalRequestBody");function a(e){return new URLSearchParams(e).toString()}n.ORIGINAL_REQ_BODY=i,n.getBodyString=function(e,n=r.debug){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[a(e)];if(!e)return[void 0]}catch(t){return o.DEBUG_BUILD&&n.error(t,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return o.DEBUG_BUILD&&n.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]},n.getFetchRequestArgBody=function(e=[]){if(e.length>=2&&e[1]&&"object"==typeof e[1]&&"body"in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){let n=e[0][i];if(void 0!==n)return n}},n.parseXhrResponseHeaders=function(e){let n;try{n=e.getAllResponseHeaders()}catch(n){return o.DEBUG_BUILD&&r.debug.error(n,"Failed to get xhr response headers",e),{}}return n?n.split("\r\n").reduce((e,n)=>{let[t,r]=n.split(": ");return r&&(e[t.toLowerCase()]=r),e},{}):{}},n.serializeFormData=a},95746:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949).GLOBAL_OBJ;n.WINDOW=r},35825:function(e,n,t){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let r=t(58949),o=r.GLOBAL_OBJ,i=o.document,a=o.navigator,s="Report a Bug",l="Cancel",c="Send Bug Report",u="Confirm",d="Report a Bug",p="your.email@example.org",m="Email",h="What's the bug? What did you expect?",f="Description",g="Your Name",_="Name",y="Thank you for your report!",v="(required)",b="Add a screenshot",C="Remove screenshot",T="Highlight",S="Hide",k="Remove",E=(e,n={includeReplay:!0})=>{if(!e.message)throw Error("Unable to submit feedback with empty message");let t=r.getClient();if(!t)throw Error("No client setup, cannot send feedback.");e.tags&&Object.keys(e.tags).length&&r.getCurrentScope().setTags(e.tags);let o=r.captureFeedback({source:"api",url:r.getLocationHref(),...e},n);return new Promise((e,n)=>{let r=setTimeout(()=>n("Unable to determine if Feedback was correctly sent."),3e4),i=t.on("afterSendEvent",(t,a)=>t.event_id!==o?void 0:(clearTimeout(r),i(),a?.statusCode&&a.statusCode>=200&&a.statusCode<300)?e(o):a?.statusCode===403?n("Unable to send feedback. This could be because this domain is not in your list of allowed domains."):n("Unable to send feedback. This could be because of network issues, or because you are using an ad-blocker."))})};function R(e,n){return{...e,...n,tags:{...e.tags,...n.tags},onFormOpen:()=>{n.onFormOpen?.(),e.onFormOpen?.()},onFormClose:()=>{n.onFormClose?.(),e.onFormClose?.()},onSubmitSuccess:(t,r)=>{n.onSubmitSuccess?.(t,r),e.onSubmitSuccess?.(t,r)},onSubmitError:t=>{n.onSubmitError?.(t),e.onSubmitError?.(t)},onFormSubmitted:()=>{n.onFormSubmitted?.(),e.onFormSubmitted?.()},themeDark:{...e.themeDark,...n.themeDark},themeLight:{...e.themeLight,...n.themeLight}}}function I(e,n){return Object.entries(n).forEach(([n,t])=>{e.setAttributeNS(null,n,t)}),e}let A="rgba(88, 74, 192, 1)",w={foreground:"#2b2233",background:"#ffffff",accentForeground:"white",accentBackground:A,successColor:"#268d75",errorColor:"#df3338",border:"1.5px solid rgba(41, 35, 47, 0.13)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(95%)"},x={foreground:"#ebe6ef",background:"#29232f",accentForeground:"white",accentBackground:A,successColor:"#2da98c",errorColor:"#f55459",border:"1.5px solid rgba(235, 230, 239, 0.15)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(150%)"};function P(e){return` --foreground: ${e.foreground}; --background: ${e.background}; --accent-foreground: ${e.accentForeground}; --accent-background: ${e.accentBackground}; --success-color: ${e.successColor}; --error-color: ${e.errorColor}; --border: ${e.border}; --box-shadow: ${e.boxShadow}; --outline: ${e.outline}; --interactive-filter: ${e.interactiveFilter}; `}var B,N,O,L,M,j,D,U={},q=[],F=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,H=Array.isArray;function G(e,n){for(var t in n)e[t]=n[t];return e}function V(e){var n=e.parentNode;n&&n.removeChild(e)}function z(e,n,t){var r,o,i,a={};for(i in n)"key"==i?r=n[i]:"ref"==i?o=n[i]:a[i]=n[i];if(arguments.length>2&&(a.children=arguments.length>3?B.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return W(e,a,r,o,null)}function W(e,n,t,r,o){var i={type:e,props:n,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==o?++O:o,__i:-1,__u:0};return null==o&&null!=N.vnode&&N.vnode(i),i}function K(e){return e.children}function $(e,n){this.props=e,this.context=n}function Q(e,n){if(null==n)return e.__?Q(e.__,e.__i+1):null;for(var t;nt?(eo(r,n,o),o.length=r.length=0,n=void 0,L.sort(D)):n&&N.__c&&N.__c(n,q));n&&eo(r,n,o),Z.__r=0}function J(e,n,t,r,o,i,a,s,l,c,u){var d,p,m,h,f,g=r&&r.__k||q,_=n.length;for(t.__d=l,function(e,n,t){var r,o,i,a,s,l=n.length,c=t.length,u=c,d=0;for(e.__k=[],r=0;r0?W(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,s=function(e,n,t,r){var o=e.key,i=e.type,a=t-1,s=t+1,l=n[t];if(null===l||l&&o==l.key&&i===l.type)return t;if(r>(null!=l&&0==(131072&l.__u)?1:0))for(;a>=0||s=0){if((l=n[a])&&0==(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(sa?u>l-a?d+=s-a:d--:d=s=t.__.length&&t.__.push({__V:eh}),t.__[e]}function eS(e){return ep=1,ek(eN,e)}function ek(e,n,t){var r=eT(el++,2);if(r.t=e,!r.__c&&(r.__=[t?t(n):eN(void 0,n),function(e){var n=r.__N?r.__N[0]:r.__[0],t=r.t(n,e);n!==t&&(r.__N=[t,r.__[1]],r.__c.setState({}))}],r.__c=ec,!ec.u)){var o=function(e,n,t){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter(function(e){return!!e.__c});if(o.every(function(e){return!e.__N}))return!i||i.call(this,e,n,t);var a=!1;return o.forEach(function(e){if(e.__N){var n=e.__[0];e.__=e.__N,e.__N=void 0,n!==e.__[0]&&(a=!0)}}),!(!a&&r.__c.props===e)&&(!i||i.call(this,e,n,t))};ec.u=!0;var i=ec.shouldComponentUpdate,a=ec.componentWillUpdate;ec.componentWillUpdate=function(e,n,t){if(this.__e){var r=i;i=void 0,o(e,n,t),i=r}a&&a.call(this,e,n,t)},ec.shouldComponentUpdate=o}return r.__N||r.__}function eE(e,n){var t=eT(el++,4);!ef.__s&&eB(t.__H,n)&&(t.__=e,t.i=n,ec.__h.push(t))}function eR(e,n){var t=eT(el++,7);return eB(t.__H,n)?(t.__V=e(),t.i=n,t.__h=e,t.__V):t.__}function eI(e,n){return ep=8,eR(function(){return e},n)}function eA(){for(var e;e=em.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ex),e.__H.__h.forEach(eP),e.__H.__h=[]}catch(n){e.__H.__h=[],ef.__e(n,e.__v)}}ef.__b=function(e){ec=null,eg&&eg(e)},ef.__=function(e,n){n.__k&&n.__k.__m&&(e.__m=n.__k.__m),eC&&eC(e,n)},ef.__r=function(e){e_&&e_(e),el=0;var n=(ec=e.__c).__H;n&&(eu===ec?(n.__h=[],ec.__h=[],n.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=eh,e.__N=e.i=void 0})):(n.__h.forEach(ex),n.__h.forEach(eP),n.__h=[],el=0)),eu=ec},ef.diffed=function(e){ey&&ey(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==em.push(n)&&ed===ef.requestAnimationFrame||((ed=ef.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(r),ew&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,100);ew&&(n=requestAnimationFrame(t))})(eA)),n.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==eh&&(e.__=e.__V),e.i=void 0,e.__V=eh})),eu=ec=null},ef.__c=function(e,n){n.some(function(e){try{e.__h.forEach(ex),e.__h=e.__h.filter(function(e){return!e.__||eP(e)})}catch(t){n.some(function(e){e.__h&&(e.__h=[])}),n=[],ef.__e(t,e.__v)}}),ev&&ev(e,n)},ef.unmount=function(e){eb&&eb(e);var n,t=e.__c;t&&t.__H&&(t.__H.__.forEach(function(e){try{ex(e)}catch(e){n=e}}),t.__H=void 0,n&&ef.__e(n,t.__v))};var ew="function"==typeof requestAnimationFrame;function ex(e){var n=ec,t=e.__c;"function"==typeof t&&(e.__c=void 0,t()),ec=n}function eP(e){var n=ec;e.__c=e.__(),ec=n}function eB(e,n){return!e||e.length!==n.length||n.some(function(n,t){return n!==e[t]})}function eN(e,n){return"function"==typeof n?n(e):n}let eO=Object.defineProperty({__proto__:null,useCallback:eI,useContext:function(e){var n=ec.context[e.__c],t=eT(el++,9);return t.c=e,n?(null==t.__&&(t.__=!0,n.sub(ec)),n.props.value):e.__},useDebugValue:function(e,n){ef.useDebugValue&&ef.useDebugValue(n?n(e):e)},useEffect:function(e,n){var t=eT(el++,3);!ef.__s&&eB(t.__H,n)&&(t.__=e,t.i=n,ec.__H.__h.push(t))},useErrorBoundary:function(e){var n=eT(el++,10),t=eS();return n.__=e,ec.componentDidCatch||(ec.componentDidCatch=function(e,r){n.__&&n.__(e,r),t[1](e)}),[t[0],function(){t[1](void 0)}]},useId:function(){var e=eT(el++,11);if(!e.__){for(var n=ec.__v;null!==n&&!n.__m&&null!==n.__;)n=n.__;var t=n.__m||(n.__m=[0,0]);e.__="P"+t[0]+"-"+t[1]++}return e.__},useImperativeHandle:function(e,n,t){ep=6,eE(function(){return"function"==typeof e?(e(n()),function(){return e(null)}):e?(e.current=n(),function(){return e.current=null}):void 0},null==t?t:t.concat(e))},useLayoutEffect:eE,useMemo:eR,useReducer:ek,useRef:function(e){return ep=5,eR(function(){return{current:e}},[])},useState:eS},Symbol.toStringTag,{value:"Module"});function eL({options:e}){let n=eR(()=>({__html:function(){let e=e=>i.createElementNS("http://www.w3.org/2000/svg",e),n=I(e("svg"),{width:"32",height:"30",viewBox:"0 0 72 66",fill:"inherit"}),t=I(e("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});return n.appendChild(t),n}().outerHTML}),[]);return z("h2",{class:"dialog__header"},z("span",{class:"dialog__title"},e.formTitle),e.showBranding?z("a",{class:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer",dangerouslySetInnerHTML:n}):null)}function eM(e,n){let t=e.get(n);return"string"==typeof t?t.trim():""}function ej({options:e,defaultEmail:n,defaultName:t,onFormClose:r,onSubmit:o,onSubmitSuccess:i,onSubmitError:a,showEmail:s,showName:l,screenshotInput:c}){let{tags:u,addScreenshotButtonLabel:d,removeScreenshotButtonLabel:p,cancelButtonLabel:m,emailLabel:h,emailPlaceholder:f,isEmailRequired:g,isNameRequired:_,messageLabel:y,messagePlaceholder:v,nameLabel:b,namePlaceholder:C,submitButtonLabel:T,isRequiredLabel:S}=e,[k,E]=eS(!1),[R,I]=eS(null),[A,w]=eS(!1),x=c?.input,[P,B]=eS(null),N=eI(e=>{B(e),w(!1)},[]),O=eI(e=>{let n=function(e,n){let t=[];return n.isNameRequired&&!e.name&&t.push(n.nameLabel),n.isEmailRequired&&!e.email&&t.push(n.emailLabel),e.message||t.push(n.messageLabel),t}(e,{emailLabel:h,isEmailRequired:g,isNameRequired:_,messageLabel:y,nameLabel:b});return n.length>0?I(`Please enter in the following required fields: ${n.join(", ")}`):I(null),0===n.length},[h,g,_,y,b]);return z("form",{class:"form",onSubmit:eI(async e=>{E(!0);try{if(e.preventDefault(),!(e.target instanceof HTMLFormElement))return;let n=new FormData(e.target),t=await (c&&A?c.value():void 0),r={name:eM(n,"name"),email:eM(n,"email"),message:eM(n,"message"),attachments:t?[t]:void 0};if(!O(r))return;try{let e=await o({name:r.name,email:r.email,message:r.message,source:"widget",tags:u},{attachments:r.attachments});i(r,e)}catch(e){I(e),a(e)}}finally{E(!1)}},[c&&A,i,a])},x&&A?z(x,{onError:N}):null,z("fieldset",{class:"form__right","data-sentry-feedback":!0,disabled:k},z("div",{class:"form__top"},R?z("div",{class:"form__error-container"},R):null,l?z("label",{for:"name",class:"form__label"},z(eD,{label:b,isRequiredLabel:S,isRequired:_}),z("input",{class:"form__input",defaultValue:t,id:"name",name:"name",placeholder:C,required:_,type:"text"})):z("input",{"aria-hidden":!0,value:t,name:"name",type:"hidden"}),s?z("label",{for:"email",class:"form__label"},z(eD,{label:h,isRequiredLabel:S,isRequired:g}),z("input",{class:"form__input",defaultValue:n,id:"email",name:"email",placeholder:f,required:g,type:"email"})):z("input",{"aria-hidden":!0,value:n,name:"email",type:"hidden"}),z("label",{for:"message",class:"form__label"},z(eD,{label:y,isRequiredLabel:S,isRequired:!0}),z("textarea",{autoFocus:!0,class:"form__input form__input--textarea",id:"message",name:"message",placeholder:v,required:!0,rows:5})),x?z("label",{for:"screenshot",class:"form__label"},z("button",{class:"btn btn--default",disabled:k,type:"button",onClick:()=>{B(null),w(e=>!e)}},A?p:d),P?z("div",{class:"form__error-container"},P.message):null):null),z("div",{class:"btn-group"},z("button",{class:"btn btn--primary",disabled:k,type:"submit"},T),z("button",{class:"btn btn--default",disabled:k,type:"button",onClick:r},m))))}function eD({label:e,isRequired:n,isRequiredLabel:t}){return z("span",{class:"form__label__text"},e,n&&z("span",{class:"form__label__text--required"},t))}function eU({open:e,onFormSubmitted:n,...t}){let r=t.options,i=eR(()=>({__html:function(){let e=e=>o.document.createElementNS("http://www.w3.org/2000/svg",e),n=I(e("svg"),{width:"16",height:"17",viewBox:"0 0 16 17",fill:"inherit"}),t=I(e("g"),{clipPath:"url(#clip0_57_156)"}),r=I(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),i=I(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});n.appendChild(t).append(i,r);let a=e("defs"),s=I(e("clipPath"),{id:"clip0_57_156"}),l=I(e("rect"),{width:"16",height:"16",fill:"white",transform:"translate(0 0.5)"});return s.appendChild(l),a.appendChild(s),n.appendChild(a).appendChild(s).appendChild(l),n}().outerHTML}),[]),[a,s]=eS(null),l=eI(()=>{a&&(clearTimeout(a),s(null)),n()},[a]),c=eI((e,r)=>{t.onSubmitSuccess(e,r),s(setTimeout(()=>{n(),s(null)},5e3))},[n]);return z(K,null,a?z("div",{class:"success__position",onClick:l},z("div",{class:"success__content"},r.successMessageText,z("span",{class:"success__icon",dangerouslySetInnerHTML:i}))):z("dialog",{class:"dialog",onClick:r.onFormClose,open:e},z("div",{class:"dialog__position"},z("div",{class:"dialog__content",onClick:e=>{e.stopPropagation()}},z(eL,{options:r}),z(ej,{...t,onSubmitSuccess:c})))))}let eq=` .dialog { position: fixed; z-index: var(--z-index); margin: 0; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0; height: 100vh; width: 100vw; color: var(--dialog-color, var(--foreground)); fill: var(--dialog-color, var(--foreground)); line-height: 1.75em; background-color: rgba(0, 0, 0, 0.05); border: none; inset: 0; opacity: 1; transition: opacity 0.2s ease-in-out; } .dialog__position { position: fixed; z-index: var(--z-index); inset: var(--dialog-inset); padding: var(--page-margin); display: flex; max-height: calc(100vh - (2 * var(--page-margin))); } @media (max-width: 600px) { .dialog__position { inset: var(--page-margin); padding: 0; } } .dialog__position:has(.editor) { inset: var(--page-margin); padding: 0; } .dialog:not([open]) { opacity: 0; pointer-events: none; visibility: hidden; } .dialog:not([open]) .dialog__content { transform: translate(0, -16px) scale(0.98); } .dialog__content { display: flex; flex-direction: column; gap: 16px; padding: var(--dialog-padding, 24px); max-width: 100%; width: 100%; max-height: 100%; overflow: auto; background: var(--dialog-background, var(--background)); border-radius: var(--dialog-border-radius, 20px); border: var(--dialog-border, var(--border)); box-shadow: var(--dialog-box-shadow, var(--box-shadow)); transform: translate(0, 0) scale(1); transition: transform 0.2s ease-in-out; } `,eF=` .dialog__header { display: flex; gap: 4px; justify-content: space-between; font-weight: var(--dialog-header-weight, 600); margin: 0; } .dialog__title { align-self: center; width: var(--form-width, 272px); } @media (max-width: 600px) { .dialog__title { width: auto; } } .dialog__position:has(.editor) .dialog__title { width: auto; } .brand-link { display: inline-flex; } .brand-link:focus-visible { outline: var(--outline); } `,eH=` .form { display: flex; overflow: auto; flex-direction: row; gap: 16px; flex: 1 0; } .form fieldset { border: none; margin: 0; padding: 0; } .form__right { flex: 0 0 auto; display: flex; overflow: auto; flex-direction: column; justify-content: space-between; gap: 20px; width: var(--form-width, 100%); } .dialog__position:has(.editor) .form__right { width: var(--form-width, 272px); } .form__top { display: flex; flex-direction: column; gap: 8px; } .form__error-container { color: var(--error-color); fill: var(--error-color); } .form__label { display: flex; flex-direction: column; gap: 4px; margin: 0px; } .form__label__text { display: flex; gap: 4px; align-items: center; } .form__label__text--required { font-size: 0.85em; } .form__input { font-family: inherit; line-height: inherit; background: transparent; box-sizing: border-box; border: var(--input-border, var(--border)); border-radius: var(--input-border-radius, 6px); color: var(--input-color, inherit); fill: var(--input-color, inherit); font-size: var(--input-font-size, inherit); font-weight: var(--input-font-weight, 500); padding: 6px 12px; } .form__input::placeholder { opacity: 0.65; color: var(--input-placeholder-color, inherit); filter: var(--interactive-filter); } .form__input:focus-visible { outline: var(--input-focus-outline, var(--outline)); } .form__input--textarea { font-family: inherit; resize: vertical; } .error { color: var(--error-color); fill: var(--error-color); } `,eG=` .btn-group { display: grid; gap: 8px; } .btn { line-height: inherit; border: var(--button-border, var(--border)); border-radius: var(--button-border-radius, 6px); cursor: pointer; font-family: inherit; font-size: var(--button-font-size, inherit); font-weight: var(--button-font-weight, 600); padding: var(--button-padding, 6px 16px); } .btn[disabled] { opacity: 0.6; pointer-events: none; } .btn--primary { color: var(--button-primary-color, var(--accent-foreground)); fill: var(--button-primary-color, var(--accent-foreground)); background: var(--button-primary-background, var(--accent-background)); border: var(--button-primary-border, var(--border)); border-radius: var(--button-primary-border-radius, 6px); font-weight: var(--button-primary-font-weight, 500); } .btn--primary:hover { color: var(--button-primary-hover-color, var(--accent-foreground)); fill: var(--button-primary-hover-color, var(--accent-foreground)); background: var(--button-primary-hover-background, var(--accent-background)); filter: var(--interactive-filter); } .btn--primary:focus-visible { background: var(--button-primary-hover-background, var(--accent-background)); filter: var(--interactive-filter); outline: var(--button-primary-focus-outline, var(--outline)); } .btn--default { color: var(--button-color, var(--foreground)); fill: var(--button-color, var(--foreground)); background: var(--button-background, var(--background)); border: var(--button-border, var(--border)); border-radius: var(--button-border-radius, 6px); font-weight: var(--button-font-weight, 500); } .btn--default:hover { color: var(--button-color, var(--foreground)); fill: var(--button-color, var(--foreground)); background: var(--button-hover-background, var(--background)); filter: var(--interactive-filter); } .btn--default:focus-visible { background: var(--button-hover-background, var(--background)); filter: var(--interactive-filter); outline: var(--button-focus-outline, var(--outline)); } `,eV=` .success__position { position: fixed; inset: var(--dialog-inset); padding: var(--page-margin); z-index: var(--z-index); } .success__content { background: var(--success-background, var(--background)); border: var(--success-border, var(--border)); border-radius: var(--success-border-radius, 1.7em/50%); box-shadow: var(--success-box-shadow, var(--box-shadow)); font-weight: var(--success-font-weight, 600); color: var(--success-color); fill: var(--success-color); padding: 12px 24px; line-height: 1.75em; display: grid; align-items: center; grid-auto-flow: column; gap: 6px; cursor: default; } .success__icon { display: flex; } `;function ez(e,n,t){if(!e)return;let r=e.getContext("2d",n);r&&t(e,r)}function eW(e,n){ez(e,{alpha:!0},(e,t)=>{t.drawImage(n,0,0,n.width,n.height,0,0,e.width,e.height)})}function eK(e,n,t){ez(e,{alpha:!0},(e,r)=>{t.length&&(r.fillStyle="rgba(0, 0, 0, 0.25)",r.fillRect(0,0,e.width,e.height)),t.forEach(e=>{!function(e,n,t){switch(e.type){case"highlight":n.shadowColor="rgba(0, 0, 0, 0.7)",n.shadowBlur=50,n.fillStyle=t,n.fillRect(e.x-1,e.y-1,e.w+2,e.h+2),n.clearRect(e.x,e.y,e.w,e.h);break;case"hide":n.fillStyle="rgb(0, 0, 0)",n.fillRect(e.x,e.y,e.w,e.h)}}(e,r,n)})})}n.buildFeedbackIntegration=({lazyLoadIntegration:e,getModalIntegration:n,getScreenshotIntegration:t})=>({id:A="sentry-feedback",autoInject:B=!0,showBranding:N=!0,isEmailRequired:O=!1,isNameRequired:L=!1,showEmail:M=!0,showName:j=!0,enableScreenshot:D=!0,useSentryUser:U={email:"email",name:"username"},tags:q,styleNonce:F,scriptNonce:H,colorScheme:G="system",themeLight:V={},themeDark:z={},addScreenshotButtonLabel:W=b,cancelButtonLabel:K=l,confirmButtonLabel:$=u,emailLabel:Q=m,emailPlaceholder:Y=p,formTitle:Z=d,isRequiredLabel:J=v,messageLabel:X=f,messagePlaceholder:ee=h,nameLabel:en=_,namePlaceholder:et=g,removeScreenshotButtonLabel:er=C,submitButtonLabel:eo=c,successMessageText:ei=y,triggerLabel:ea=s,triggerAriaLabel:es="",highlightToolText:el=T,hideToolText:ec=S,removeHighlightText:eu=k,onFormOpen:ed,onFormClose:ep,onSubmitSuccess:em,onSubmitError:eh,onFormSubmitted:ef}={})=>{let eg={id:A,autoInject:B,showBranding:N,isEmailRequired:O,isNameRequired:L,showEmail:M,showName:j,enableScreenshot:D,useSentryUser:U,tags:q,styleNonce:F,scriptNonce:H,colorScheme:G,themeDark:z,themeLight:V,triggerLabel:ea,triggerAriaLabel:es,cancelButtonLabel:K,submitButtonLabel:eo,confirmButtonLabel:$,formTitle:Z,emailLabel:Q,emailPlaceholder:Y,messageLabel:X,messagePlaceholder:ee,nameLabel:en,namePlaceholder:et,successMessageText:ei,isRequiredLabel:J,addScreenshotButtonLabel:W,removeScreenshotButtonLabel:er,highlightToolText:el,hideToolText:ec,removeHighlightText:eu,onFormClose:ep,onFormOpen:ed,onSubmitError:eh,onSubmitSuccess:em,onFormSubmitted:ef},e_=null,ey=[],ev=e=>{if(!e_){let n=i.createElement("div");n.id=String(e.id),i.body.appendChild(n),(e_=n.attachShadow({mode:"open"})).appendChild(function({colorScheme:e,themeDark:n,themeLight:t,styleNonce:r}){let o=i.createElement("style");return o.textContent=` :host { --font-family: system-ui, 'Helvetica Neue', Arial, sans-serif; --font-size: 14px; --z-index: 100000; --page-margin: 16px; --inset: auto 0 0 auto; --actor-inset: var(--inset); font-family: var(--font-family); font-size: var(--font-size); ${"system"!==e?`color-scheme: only ${e};`:""} ${P("dark"===e?{...x,...n}:{...w,...t})} } ${"system"===e?` @media (prefers-color-scheme: dark) { :host { color-scheme: only dark; ${P({...x,...n})} } }`:""} `,r&&o.setAttribute("nonce",r),o}(e))}return e_},eb=async o=>{let i,s;let l=o.enableScreenshot&&!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a.userAgent)||/Macintosh/i.test(a.userAgent)&&a.maxTouchPoints&&a.maxTouchPoints>1)&&!!isSecureContext;try{i=(n?n():await e("feedbackModalIntegration",H))(),r.addIntegration(i)}catch{throw Error("[Feedback] Missing feedback modal integration!")}try{let n=l?t?t():await e("feedbackScreenshotIntegration",H):void 0;n&&(s=n(),r.addIntegration(s))}catch{}let c=i.createDialog({options:{...o,onFormClose:()=>{c?.close(),o.onFormClose?.()},onFormSubmitted:()=>{c?.close(),o.onFormSubmitted?.()}},screenshotIntegration:s,sendFeedback:E,shadow:ev(o)});return c},eC=(e,n={})=>{let t=R(eg,n),r="string"==typeof e?i.querySelector(e):"function"==typeof e.addEventListener?e:null;if(!r)throw Error("Unable to attach to target element");let o=null,a=async()=>{o||(o=await eb({...t,onFormSubmitted:()=>{o?.removeFromDom(),t.onFormSubmitted?.()}})),o.appendToDom(),o.open()};r.addEventListener("click",a);let s=()=>{ey=ey.filter(e=>e!==s),o?.removeFromDom(),o=null,r.removeEventListener("click",a)};return ey.push(s),s},eT=(e={})=>{let n=R(eg,e),t=ev(n),r=function({triggerLabel:e,triggerAriaLabel:n,shadow:t,styleNonce:r}){let a=i.createElement("button");if(a.type="button",a.className="widget__actor",a.ariaHidden="false",a.ariaLabel=n||e||s,a.appendChild(function(){let e=e=>o.document.createElementNS("http://www.w3.org/2000/svg",e),n=I(e("svg"),{width:"20",height:"20",viewBox:"0 0 20 20",fill:"var(--actor-color, var(--foreground))"}),t=I(e("g"),{clipPath:"url(#clip0_57_80)"}),r=I(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});n.appendChild(t).appendChild(r);let i=e("defs"),a=I(e("clipPath"),{id:"clip0_57_80"}),s=I(e("rect"),{width:"20",height:"20",fill:"white"});return a.appendChild(s),i.appendChild(a),n.appendChild(i).appendChild(a).appendChild(s),n}()),e){let n=i.createElement("span");n.appendChild(i.createTextNode(e)),a.appendChild(n)}let l=function(e){let n=i.createElement("style");return n.textContent=` .widget__actor { position: fixed; z-index: var(--z-index); margin: var(--page-margin); inset: var(--actor-inset); display: flex; align-items: center; gap: 8px; padding: 16px; font-family: inherit; font-size: var(--font-size); font-weight: 600; line-height: 1.14em; text-decoration: none; background: var(--actor-background, var(--background)); border-radius: var(--actor-border-radius, 1.7em/50%); border: var(--actor-border, var(--border)); box-shadow: var(--actor-box-shadow, var(--box-shadow)); color: var(--actor-color, var(--foreground)); fill: var(--actor-color, var(--foreground)); cursor: pointer; opacity: 1; transition: transform 0.2s ease-in-out; transform: translate(0, 0) scale(1); } .widget__actor[aria-hidden="true"] { opacity: 0; pointer-events: none; visibility: hidden; transform: translate(0, 16px) scale(0.98); } .widget__actor:hover { background: var(--actor-hover-background, var(--background)); filter: var(--interactive-filter); } .widget__actor svg { width: 1.14em; height: 1.14em; } @media (max-width: 600px) { .widget__actor span { display: none; } } `,e&&n.setAttribute("nonce",e),n}(r);return{el:a,appendToDom(){t.appendChild(l),t.appendChild(a)},removeFromDom(){a.remove(),l.remove()},show(){a.ariaHidden="false"},hide(){a.ariaHidden="true"}}}({triggerLabel:n.triggerLabel,triggerAriaLabel:n.triggerAriaLabel,shadow:t,styleNonce:F});return eC(r.el,{...n,onFormOpen(){r.hide()},onFormClose(){r.show()},onFormSubmitted(){r.show()}}),r};return{name:"Feedback",setupOnce(){r.isBrowser()&&eg.autoInject&&("loading"===i.readyState?i.addEventListener("DOMContentLoaded",()=>eT().appendToDom()):eT().appendToDom())},attachTo:eC,createWidget(e={}){let n=eT(R(eg,e));return n.appendToDom(),n},createForm:async(e={})=>eb(R(eg,e)),remove(){e_&&(e_.parentElement?.remove(),e_=null),ey.forEach(e=>e()),ey=[]}}},n.feedbackModalIntegration=()=>({name:"FeedbackModal",setupOnce(){},createDialog:({options:e,screenshotIntegration:n,sendFeedback:t,shadow:o})=>{let a=e.useSentryUser,s=function(){let e=r.getCurrentScope().getUser(),n=r.getIsolationScope().getUser(),t=r.getGlobalScope().getUser();return e&&Object.keys(e).length?e:n&&Object.keys(n).length?n:t}(),l=i.createElement("div"),c=function(e){let n=i.createElement("style");return n.textContent=` :host { --dialog-inset: var(--inset); } ${eq} ${eF} ${eH} ${eG} ${eV} `,e&&n.setAttribute("nonce",e),n}(e.styleNonce),u="",d={get el(){return l},appendToDom(){o.contains(c)||o.contains(l)||(o.appendChild(c),o.appendChild(l))},removeFromDom(){l.remove(),c.remove(),i.body.style.overflow=u},open(){m(!0),e.onFormOpen?.(),r.getClient()?.emit("openFeedbackWidget"),u=i.body.style.overflow,i.body.style.overflow="hidden"},close(){m(!1),i.body.style.overflow=u}},p=n?.createInput({h:z,hooks:eO,dialog:d,options:e}),m=n=>{var r,o,i,c;r=z(eU,{options:e,screenshotInput:p,showName:e.showName||e.isNameRequired,showEmail:e.showEmail||e.isEmailRequired,defaultName:String(a&&s?.[a.name]||""),defaultEmail:String(a&&s?.[a.email]||""),onFormClose:()=>{m(!1),e.onFormClose?.()},onSubmit:t,onSubmitSuccess:(n,t)=>{m(!1),e.onSubmitSuccess?.(n,t)},onSubmitError:n=>{e.onSubmitError?.(n)},onFormSubmitted:()=>{e.onFormSubmitted?.()},open:n}),N.__&&N.__(r,l),o=l.__k,i=[],c=[],er(l,r=l.__k=z(K,null,[r]),o||U,U,void 0!==l.ownerSVGElement,o?null:l.firstChild?B.call(l.childNodes):null,i,o?o.__e:l.firstChild,!1,c),r.__d=void 0,eo(i,r,c)};return d}}),n.feedbackScreenshotIntegration=()=>({name:"FeedbackScreenshot",setupOnce(){},createInput:({h:e,hooks:n,dialog:t,options:r})=>{let s=i.createElement("canvas");return{input:function({h:e,hooks:n,outputBuffer:t,dialog:r,options:s}){let l=function({hooks:e}){return function({onBeforeScreenshot:n,onScreenshot:t,onAfterScreenshot:r,onError:s}){let l=function(){let[n,t]=e.useState(o.devicePixelRatio??1);return e.useEffect(()=>{let e=()=>{t(o.devicePixelRatio)},n=matchMedia(`(resolution: ${o.devicePixelRatio}dppx)`);return n.addEventListener("change",e),()=>{n.removeEventListener("change",e)}},[]),n}();e.useEffect(()=>{(async()=>{n();let e=await a.mediaDevices.getDisplayMedia({video:{width:o.innerWidth*l,height:o.innerHeight*l},audio:!1,monitorTypeSurfaces:"exclude",preferCurrentTab:!0,selfBrowserSurface:"include",surfaceSwitching:"exclude"}),s=i.createElement("video");await new Promise((n,r)=>{s.srcObject=e,s.onloadedmetadata=()=>{t(s,l),e.getTracks().forEach(e=>e.stop()),n()},s.play().catch(r)}),r()})().catch(s)},[])}}({hooks:n}),c=function({h:e}){return function({action:n,setAction:t,options:r}){return e("div",{class:"editor__tool-container"},e("div",{class:"editor__tool-bar"},e("button",{type:"button",class:`editor__tool ${"highlight"===n?"editor__tool--active":""}`,onClick:()=>{t("highlight"===n?"":"highlight")}},r.highlightToolText),e("button",{type:"button",class:`editor__tool ${"hide"===n?"editor__tool--active":""}`,onClick:()=>{t("hide"===n?"":"hide")}},r.hideToolText)))}}({h:e}),u=function({h:e}){return function(){return e("svg",{"data-test-id":"icon-close",viewBox:"0 0 16 16",fill:"#2B2233",height:"25px",width:"25px"},e("circle",{r:"7",cx:"8",cy:"8",fill:"white"}),e("path",{strokeWidth:"1.5",d:"M8,16a8,8,0,1,1,8-8A8,8,0,0,1,8,16ZM8,1.53A6.47,6.47,0,1,0,14.47,8,6.47,6.47,0,0,0,8,1.53Z"}),e("path",{strokeWidth:"1.5",d:"M5.34,11.41a.71.71,0,0,1-.53-.22.74.74,0,0,1,0-1.06l5.32-5.32a.75.75,0,0,1,1.06,1.06L5.87,11.19A.74.74,0,0,1,5.34,11.41Z"}),e("path",{strokeWidth:"1.5",d:"M10.66,11.41a.74.74,0,0,1-.53-.22L4.81,5.87A.75.75,0,0,1,5.87,4.81l5.32,5.32a.74.74,0,0,1,0,1.06A.71.71,0,0,1,10.66,11.41Z"}))}}({h:e}),d={__html:function(e){let n=i.createElement("style"),t="#1A141F",r="#302735";return n.textContent=` .editor { display: flex; flex-grow: 1; flex-direction: column; } .editor__image-container { justify-items: center; padding: 15px; position: relative; height: 100%; border-radius: var(--menu-border-radius, 6px); background-color: ${t}; background-image: repeating-linear-gradient( -145deg, transparent, transparent 8px, ${t} 8px, ${t} 11px ), repeating-linear-gradient( -45deg, transparent, transparent 15px, ${r} 15px, ${r} 16px ); } .editor__canvas-container { width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; } .editor__canvas-container > * { object-fit: contain; position: absolute; } .editor__tool-container { padding-top: 8px; display: flex; justify-content: center; } .editor__tool-bar { display: flex; gap: 8px; } .editor__tool { display: flex; padding: 8px 12px; justify-content: center; align-items: center; border: var(--button-border, var(--border)); border-radius: var(--button-border-radius, 6px); background: var(--button-background, var(--background)); color: var(--button-color, var(--foreground)); } .editor__tool--active { background: var(--button-primary-background, var(--accent-background)); color: var(--button-primary-color, var(--accent-foreground)); } .editor__rect { position: absolute; z-index: 2; } .editor__rect button { opacity: 0; position: absolute; top: -12px; right: -12px; cursor: pointer; padding: 0; z-index: 3; border: none; background: none; } .editor__rect:hover button { opacity: 1; } `,e&&n.setAttribute("nonce",e),n}(s.styleNonce).innerText},p=r.el.style,m=({screenshot:r})=>{let[a,l]=n.useState("highlight"),[p,m]=n.useState([]),h=n.useRef(null),f=n.useRef(null),g=n.useRef(null),_=n.useRef(null),[y,v]=n.useState(1),b=n.useMemo(()=>{let e=i.getElementById(s.id);if(!e)return"white";let n=getComputedStyle(e);return n.getPropertyValue("--button-primary-background")||n.getPropertyValue("--accent-background")},[s.id]);n.useLayoutEffect(()=>{let e=()=>{let n=h.current;n&&(ez(r.canvas,{alpha:!1},e=>{v(Math.min(n.clientWidth/e.width,n.clientHeight/e.height))}),(0===n.clientHeight||0===n.clientWidth)&&setTimeout(e,0))};return e(),o.addEventListener("resize",e),()=>{o.removeEventListener("resize",e)}},[r]);let C=n.useCallback((e,n)=>{ez(e,{alpha:!0},(e,t)=>{t.scale(n,n),e.width=r.canvas.width,e.height=r.canvas.height})},[r]);n.useEffect(()=>{C(f.current,r.dpi),eW(f.current,r.canvas)},[r]),n.useEffect(()=>{C(g.current,r.dpi),ez(g.current,{alpha:!0},(e,n)=>{n.clearRect(0,0,e.width,e.height)}),eK(g.current,b,p)},[p,b]),n.useEffect(()=>{C(t,r.dpi),eW(t,r.canvas),ez(i.createElement("canvas"),{alpha:!0},(e,n)=>{n.scale(r.dpi,r.dpi),e.width=r.canvas.width,e.height=r.canvas.height,eK(e,b,p),eW(t,e)})},[p,r,b]);let T=n.useCallback(e=>n=>{n.preventDefault(),n.stopPropagation(),m(n=>{let t=[...n];return t.splice(e,1),t})},[]),S={width:`${r.canvas.width*y}px`,height:`${r.canvas.height*y}px`},k=e=>{e.stopPropagation()};return e("div",{class:"editor"},e("style",{nonce:s.styleNonce,dangerouslySetInnerHTML:d}),e("div",{class:"editor__image-container"},e("div",{class:"editor__canvas-container",ref:h},e("canvas",{ref:f,id:"background",style:S}),e("canvas",{ref:g,id:"foreground",style:S}),e("div",{ref:_,onMouseDown:e=>{if(!a||!_.current)return;let n=_.current.getBoundingClientRect(),t={type:a,x:e.offsetX/y,y:e.offsetY/y},r=(e,t)=>{let r=(t.clientX-n.x)/y,o=(t.clientY-n.y)/y;return{type:e.type,x:Math.min(e.x,r),y:Math.min(e.y,o),w:Math.abs(r-e.x),h:Math.abs(o-e.y)}},o=e=>{ez(g.current,{alpha:!0},(e,n)=>{n.clearRect(0,0,e.width,e.height)}),eK(g.current,b,[...p,r(t,e)])},s=e=>{let n=r(t,e);n.w*y>=1&&n.h*y>=1&&m(e=>[...e,n]),i.removeEventListener("mousemove",o),i.removeEventListener("mouseup",s)};i.addEventListener("mousemove",o),i.addEventListener("mouseup",s)},style:S},p.map((n,t)=>e("div",{key:t,class:"editor__rect",style:{top:`${n.y*y}px`,left:`${n.x*y}px`,width:`${n.w*y}px`,height:`${n.h*y}px`}},e("button",{"aria-label":s.removeHighlightText,onClick:T(t),onMouseDown:k,onMouseUp:k,type:"button"},e(u,null))))))),e(c,{options:s,action:a,setAction:l}))};return function({onError:r}){let[o,a]=n.useState();return(l({onBeforeScreenshot:n.useCallback(()=>{p.display="none"},[]),onScreenshot:n.useCallback((e,n)=>{ez(i.createElement("canvas"),{alpha:!1},(t,r)=>{r.scale(n,n),t.width=e.videoWidth,t.height=e.videoHeight,r.drawImage(e,0,0,t.width,t.height),a({canvas:t,dpi:n})}),t.width=e.videoWidth,t.height=e.videoHeight},[]),onAfterScreenshot:n.useCallback(()=>{p.display="block"},[]),onError:n.useCallback(e=>{p.display="block",r(e)},[])}),o)?e(m,{screenshot:o}):e("div",null)}}({h:e,hooks:n,outputBuffer:s,dialog:t,options:r}),value:async()=>{let e=await new Promise(e=>{s.toBlob(e,"image/png")});if(e)return{data:new Uint8Array(await e.arrayBuffer()),filename:"screenshot.png",contentType:"application/png"}}}}}),n.getFeedback=function(){let e=r.getClient();return e?.getIntegrationByName("Feedback")},n.sendFeedback=E},72621:function(e,n,t){let r;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let o=t(58949);var i,a,s,l=Object.defineProperty,c=(e,n,t)=>n in e?l(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,u=(e,n,t)=>c(e,"symbol"!=typeof n?n+"":n,t);class d{constructor(){u(this,"idNodeMap",new Map),u(this,"nodeMetaMap",new WeakMap)}getId(e){return e?this.getMeta(e)?.id??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let n=this.getId(e);this.idNodeMap.delete(n),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,n){let t=n.id;this.idNodeMap.set(t,e),this.nodeMetaMap.set(e,n)}replace(e,n){let t=this.getNode(e);if(t){let e=this.nodeMetaMap.get(t);e&&this.nodeMetaMap.set(n,e)}this.idNodeMap.set(e,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function p(e,n,t=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>t?-1:n(e)?r:p(e.parentNode,n,t,r+1)}function m(e,n){return t=>{if(null===t)return!1;try{if(e){if("string"==typeof e){if(t.matches(`.${e}`))return!0}else if(function(e,n){for(let t=e.classList.length;t--;){let r=e.classList[t];if(n.test(r))return!0}return!1}(t,e))return!0}if(n&&t.matches(n))return!0;return!1}catch{return!1}}}let h="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",f={map:{},getId:()=>(console.error(h),-1),getNode:()=>(console.error(h),null),removeNodeFromMap(){console.error(h)},has:()=>(console.error(h),!1),reset(){console.error(h)}};function g(e,n,t,r,o=window){let i=o.Object.getOwnPropertyDescriptor(e,n);return o.Object.defineProperty(e,n,r?t:{set(e){T(()=>{t.set.call(this,e)},0),i&&i.set&&i.set.call(this,e)}}),()=>g(e,n,i||{},!0)}function _(e,n,t){try{if(!(n in e))return()=>{};let r=e[n],o=t(r);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:r}})),e[n]=o,()=>{e[n]=r}}catch{return()=>{}}}function y(e,n,t,r,o){if(!e)return!1;let i=function(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}(e);if(!i)return!1;let a=m(n,t);if(!o){let e=r&&i.matches(r);return a(i)&&!e}let s=p(i,a),l=-1;return!(s<0)&&(r&&(l=p(i,m(null,r))),s>-1&&l<0||s("map"===n&&console.error(h),Reflect.get(e,n,t))})),Date.now().toString();let v={};function b(e){let n=v[e];if(n)return n;let t=window.document,r=window[e];if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);let o=n.contentWindow;o&&o[e]&&(r=o[e]),t.head.removeChild(n)}catch(e){}return v[e]=r.bind(window)}function C(...e){return b("requestAnimationFrame")(...e)}function T(...e){return b("setTimeout")(...e)}var S=((i=S||{})[i["2D"]=0]="2D",i[i.WebGL=1]="WebGL",i[i.WebGL2=2]="WebGL2",i);let k=e=>r?(...n)=>{try{return e(...n)}catch(e){if(r&&!0===r(e))return()=>{};throw e}}:e;for(var E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",R="undefined"==typeof Uint8Array?[]:new Uint8Array(256),I=0;I>2]+E[(3&t[n])<<4|t[n+1]>>4]+E[(15&t[n+1])<<2|t[n+2]>>6]+E[63&t[n+2]];return r%3==2?o=o.substring(0,o.length-1)+"=":r%3==1&&(o=o.substring(0,o.length-2)+"=="),o};let w=new Map,x=(e,n,t)=>{let r;if(!e||!(B(e,n)||"object"==typeof e))return;let o=e.constructor.name,i=((r=w.get(t))||(r=new Map,w.set(t,r)),r.has(o)||r.set(o,[]),r.get(o)),a=i.indexOf(e);return -1===a&&(a=i.length,i.push(e)),a},P=(e,n,t)=>e.map(e=>(function e(n,t,r){if(n instanceof Array)return n.map(n=>e(n,t,r));if(null===n);else if(n instanceof Float32Array||n instanceof Float64Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Uint8Array||n instanceof Uint16Array||n instanceof Int16Array||n instanceof Int8Array||n instanceof Uint8ClampedArray)return{rr_type:n.constructor.name,args:[Object.values(n)]};else if(n instanceof ArrayBuffer)return{rr_type:n.constructor.name,base64:A(n)};else if(n instanceof DataView)return{rr_type:n.constructor.name,args:[e(n.buffer,t,r),n.byteOffset,n.byteLength]};else if(n instanceof HTMLImageElement){let e=n.constructor.name,{src:t}=n;return{rr_type:e,src:t}}else if(n instanceof HTMLCanvasElement)return{rr_type:"HTMLImageElement",src:n.toDataURL()};else if(n instanceof ImageData)return{rr_type:n.constructor.name,args:[e(n.data,t,r),n.width,n.height]};else if(B(n,t)||"object"==typeof n)return{rr_type:n.constructor.name,index:x(n,t,r)};return n})(e,n,t)),B=(e,n)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(e=>"function"==typeof n[e]).find(t=>e instanceof n[t]);function N(e,n,t,r,o){let i=[];try{let a=_(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(i,...a){if(!y(this,n,t,r,!0)){let e="experimental-webgl"===i?"webgl":i;if("__context"in this||(this.__context=e),o&&["webgl","webgl2"].includes(e)){if(a[0]&&"object"==typeof a[0]){let e=a[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else a.splice(0,1,{preserveDrawingBuffer:!0})}}return e.apply(this,[i,...a])}});i.push(a)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{i.forEach(e=>e())}}function O(e,n,t,r,o,i,a,s){let l=[];for(let a of Object.getOwnPropertyNames(e))if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(a))try{if("function"!=typeof e[a])continue;let c=_(e,a,function(e){return function(...l){let c=e.apply(this,l);if(x(c,s,this),"tagName"in this.canvas&&!y(this.canvas,r,o,i,!0)){let e=P(l,s,this),r={type:n,property:a,args:e};t(this.canvas,r)}return c}});l.push(c)}catch{let r=g(e,a,{set(e){t(this.canvas,{type:n,property:a,args:[e],setter:!0})}});l.push(r)}return l}class L{constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.shadowDoms=new Set,this.windowsSet=new WeakSet,this.windows=[],this.restoreHandlers=[],this.frozen=!1,this.locked=!1,this.snapshotInProgressMap=new Map,this.worker=null,this.lastSnapshotTime=0,this.processMutation=(e,n)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(n)};let{enableManualSnapshot:n,sampling:t="all",win:o,recordCanvas:i,errorHandler:a}=e;if(e.sampling=t,this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,a&&(r=a),(i&&"number"==typeof t||n)&&(this.worker=this.initFPSWorker()),this.addWindow(o),n)return;k(()=>{i&&"all"===t&&(this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher()),i&&"number"==typeof t&&this.initCanvasFPSObserver()})()}reset(){this.pendingCanvasMutations.clear(),this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.windowsSet=new WeakSet,this.windows=[],this.shadowDoms=new Set,this.worker?.terminate(),this.worker=null,this.snapshotInProgressMap=new Map}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}addWindow(e){let{sampling:n="all",blockClass:t,blockSelector:r,unblockSelector:o,recordCanvas:i,enableManualSnapshot:a}=this.options;if(!this.windowsSet.has(e)){if(a){this.windowsSet.add(e),this.windows.push(new WeakRef(e));return}k(()=>{if(i&&"all"===n&&this.initCanvasMutationObserver(e,t,r,o),i&&"number"==typeof n){let n=N(e,t,r,o,!0);this.restoreHandlers.push(()=>{n()})}})(),this.windowsSet.add(e),this.windows.push(new WeakRef(e))}}addShadowRoot(e){this.shadowDoms.add(new WeakRef(e))}resetShadowRoots(){this.shadowDoms=new Set}snapshot(e,n){if(n?.skipRequestAnimationFrame){this.takeSnapshot(performance.now(),!0,e);return}C(n=>this.takeSnapshot(n,!0,e))}initFPSWorker(){let e=new Worker(function(){let e=new Blob(['for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w?.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};']);return URL.createObjectURL(e)}());return e.onmessage=e=>{let n=e.data,{id:t}=n;if(this.snapshotInProgressMap.set(t,!1),!("base64"in n))return;let{base64:r,type:o,width:i,height:a}=n;this.mutationCb({id:t,type:S["2D"],commands:[{property:"clearRect",args:[0,0,i,a]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:o}]},0,0,i,a]}]})},e}initCanvasFPSObserver(){let e;if(!this.windows.length&&!this.shadowDoms.size)return;let n=t=>{this.takeSnapshot(t,!1),e=C(n)};e=C(n),this.restoreHandlers.push(()=>{e&&cancelAnimationFrame(e)})}initCanvasMutationObserver(e,n,t,r){let o=N(e,n,t,r,!1),i=function(e,n,t,r,o){let i=[];for(let a of Object.getOwnPropertyNames(n.CanvasRenderingContext2D.prototype))try{if("function"!=typeof n.CanvasRenderingContext2D.prototype[a])continue;let s=_(n.CanvasRenderingContext2D.prototype,a,function(i){return function(...s){return y(this.canvas,t,r,o,!0)||T(()=>{let t=P(s,n,this);e(this.canvas,{type:S["2D"],property:a,args:t})},0),i.apply(this,s)}});i.push(s)}catch{let t=g(n.CanvasRenderingContext2D.prototype,a,{set(n){e(this.canvas,{type:S["2D"],property:a,args:[n],setter:!0})}});i.push(t)}return()=>{i.forEach(e=>e())}}(this.processMutation.bind(this),e,n,t,r),a=function(e,n,t,r,o,i){let a=[];return a.push(...O(n.WebGLRenderingContext.prototype,S.WebGL,e,t,r,o,i,n)),void 0!==n.WebGL2RenderingContext&&a.push(...O(n.WebGL2RenderingContext.prototype,S.WebGL2,e,t,r,o,i,n)),()=>{a.forEach(e=>e())}}(this.processMutation.bind(this),e,n,t,r,this.mirror);this.restoreHandlers.push(()=>{o(),i(),a()})}getCanvasElements(e,n,t){let r=[],o=o=>{o.querySelectorAll("canvas").forEach(o=>{y(o,e,n,t,!0)||r.push(o)})};for(let e of this.windows){let n;let t=e.deref();try{n=t&&t.document}catch{}n&&o(n)}for(let e of this.shadowDoms){let n=e.deref();n&&o(n)}return r}takeSnapshot(e,n,t){let{sampling:r,blockClass:o,blockSelector:i,unblockSelector:a,dataURLOptions:s,maxCanvasSize:l}=this.options;return(!this.lastSnapshotTime||!(e-this.lastSnapshotTime<1e3/("all"===r?2:r||2)))&&(this.lastSnapshotTime=e,(t?[t]:this.getCanvasElements(o,i,a)).forEach(e=>{let t=this.mirror.getId(e);if(!(!this.mirror.hasNode(e)||!e.width||!e.height||this.snapshotInProgressMap.get(t))){if(this.snapshotInProgressMap.set(t,!0),!n&&["webgl","webgl2"].includes(e.__context)){let n=e.getContext(e.__context);n?.getContextAttributes()?.preserveDrawingBuffer===!1&&n.clear(n.COLOR_BUFFER_BIT)}createImageBitmap(e).then(n=>{this.worker?.postMessage({id:t,bitmap:n,width:e.width,height:e.height,dataURLOptions:s,maxCanvasSize:l},[n])}).catch(e=>{k(()=>{throw this.snapshotInProgressMap.delete(t),e})()})}}),!0)}startPendingCanvasMutationFlusher(){C(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){let e=n=>{this.rafStamps.latestId=n,C(e)};C(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,n)=>{let t=this.mirror.getId(n);this.flushPendingCanvasMutationFor(n,t)}),C(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(e,n){if(this.frozen||this.locked)return;let t=this.pendingCanvasMutations.get(e);if(!t||-1===n)return;let r=t.map(e=>{let{type:n,...t}=e;return t}),{type:o}=t[0];this.mutationCb({id:n,type:o,commands:r}),this.pendingCanvasMutations.delete(e)}}try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}new d,(a=s||(s={}))[a.NotStarted=0]="NotStarted",a[a.Running=1]="Running",a[a.Stopped=2]="Stopped";let M={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},j=o.defineIntegration((e={})=>{let n,t;let[r,o]=e.maxCanvasSize||[],i={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[r?Math.min(r,1280):1280,o?Math.min(o,1280):1280]},a=new Promise(e=>t=e);return{name:"ReplayCanvas",getOptions(){let{quality:e,enableManualSnapshot:r,maxCanvasSize:o}=i;return{enableManualSnapshot:r,recordCanvas:!0,getCanvasManager:e=>{let i=new L({...e,enableManualSnapshot:r,maxCanvasSize:o,errorHandler:e=>{try{"object"==typeof e&&(e.__rrweb__=!0)}catch{}}});return n=i,t(i),i},...M[e]||M.medium}},async snapshot(e,t){(n||await a).snapshot(e,t)}}});n.replayCanvasIntegration=j},98936:function(e,n,t){let r,o,i,a,s,l;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});let c=t(58949),u=t(67223),d=c.GLOBAL_OBJ,p="sentryReplaySession",m="Unable to send Replay";var h,f,g,_,y,v,b,C,T,S=Object.defineProperty,k=(e,n,t)=>n in e?S(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,E=(e,n,t)=>k(e,"symbol"!=typeof n?n+"":n,t),R=((h=R||{})[h.Document=0]="Document",h[h.DocumentType=1]="DocumentType",h[h.Element=2]="Element",h[h.Text=3]="Text",h[h.CDATA=4]="CDATA",h[h.Comment=5]="Comment",h);function I(e){let n=e?.host;return n?.shadowRoot===e}function A(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function w(e){try{var n;let t=e.rules||e.cssRules;return t?((n=Array.from(t,x).join("")).includes(" background-clip: text;")&&!n.includes(" -webkit-background-clip: text;")&&(n=n.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),n):null}catch(e){return null}}function x(e){let n;if("styleSheet"in e)try{n=w(e.styleSheet)||function(e){let{cssText:n}=e;if(n.split('"').length<3)return n;let t=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?t.push("layer"):e.layerName&&t.push(`layer(${e.layerName})`),e.supportsText&&t.push(`supports(${e.supportsText})`),e.media.length&&t.push(e.media.mediaText),t.join(" ")+";"}(e)}catch(e){}else if("selectorText"in e){let n=e.cssText,t=e.selectorText.includes(":"),r="string"==typeof e.style.all&&e.style.all;if(r&&(n=function(e){let n="";for(let t=0;tthis.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,n){let t=n.id;this.idNodeMap.set(t,e),this.nodeMetaMap.set(e,n)}replace(e,n){let t=this.getNode(e);if(t){let e=this.nodeMetaMap.get(t);e&&this.nodeMetaMap.set(n,e)}this.idNodeMap.set(e,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function B({maskInputOptions:e,tagName:n,type:t}){return"OPTION"===n&&(n="SELECT"),!!(e[n.toLowerCase()]||t&&e[t]||"password"===t||"INPUT"===n&&!t&&e.text)}function N({isMasked:e,element:n,value:t,maskInputFn:r}){let o=t||"";return e?(r&&(o=r(o,n)),"*".repeat(o.length)):o}function O(e){return e.toLowerCase()}function L(e){return e.toUpperCase()}let M="__rrweb_original__";function j(e){let n=e.type;return e.hasAttribute("data-rr-is-password")?"password":n?O(n):null}function D(e,n,t){return"INPUT"===n&&("radio"===t||"checkbox"===t)?e.getAttribute("value")||"":e.value}function U(e,n){let t;try{t=new URL(e,n??window.location.href)}catch(e){return null}let r=t.pathname.match(/\.([0-9a-z]+)(?:$)/i);return r?.[1]??null}let q={};function F(e){let n=q[e];if(n)return n;let t=window.document,r=window[e];if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);let o=n.contentWindow;o&&o[e]&&(r=o[e]),t.head.removeChild(n)}catch(e){}return q[e]=r.bind(window)}function H(...e){return F("setTimeout")(...e)}function G(...e){return F("clearTimeout")(...e)}function V(e){try{return e.contentDocument}catch(e){}}let z=1,W=RegExp("[^a-z0-9-_:]");function K(){return z++}let $=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Q=/^(?:[a-z+]+:)?\/\//i,Y=/^www\..*/i,Z=/^(data:)([^,]*),(.*)/i;function J(e,n){return(e||"").replace($,(e,t,r,o,i,a)=>{let s=r||i||a,l=t||o||"";if(!s)return e;if(Q.test(s)||Y.test(s)||Z.test(s))return`url(${l}${s}${l})`;if("/"===s[0])return`url(${l}${(n.indexOf("//")>-1?n.split("/").slice(0,3).join("/"):n.split("/")[0]).split("?")[0]+s}${l})`;let c=n.split("/"),u=s.split("/");for(let e of(c.pop(),u))"."!==e&&(".."===e?c.pop():c.push(e));return`url(${l}${c.join("/")}${l})`})}let X=/^[^ \t\n\r\u000c]+/,ee=/^[, \t\n\r\u000c]+/,en=new WeakMap;function et(e,n){return n&&""!==n.trim()?er(e,n):n}function er(e,n){let t=en.get(e);if(t||(t=e.createElement("a"),en.set(e,t)),n){if(n.startsWith("blob:")||n.startsWith("data:"))return n}else n="";return t.setAttribute("href",n),t.href}function eo(e,n,t,r,o,i,a){if(!r)return r;if("src"===t||"href"===t&&!("use"===n&&"#"===r[0])||"xlink:href"===t&&"#"!==r[0]||"background"===t&&("table"===n||"td"===n||"th"===n))return et(e,r);if("srcset"===t)return function(e,n){if(""===n.trim())return n;let t=0;function r(e){let r;let o=e.exec(n.substring(t));return o?(r=o[0],t+=r.length,r):""}let o=[];for(;r(ee),!(t>=n.length);){let i=r(X);if(","===i.slice(-1))i=et(e,i.substring(0,i.length-1)),o.push(i);else{let r="";i=et(e,i);let a=!1;for(;;){let e=n.charAt(t);if(""===e){o.push((i+r).trim());break}if(a)")"===e&&(a=!1);else{if(","===e){t+=1,o.push((i+r).trim());break}"("===e&&(a=!0)}r+=e,t+=1}}}return o.join(", ")}(e,r);if("style"===t){let n=J(r,er(e));return a&&a.size>0&&(n=function(e,n){if(!e||0===n.size)return e;try{let t=e.split(";"),r=[];for(let e of t){if(!(e=e.trim()))continue;let t=e.indexOf(":");if(-1===t){r.push(e);continue}let o=e.slice(0,t).trim();n.has(o)||r.push(e)}return r.join("; ")+(r.length>0&&e.endsWith(";")?";":"")}catch(n){return console.warn("Error filtering CSS properties:",n),e}}(n,a)),n}return"object"===n&&"data"===t?et(e,r):"function"==typeof i?i(t,r,o):r}function ei(e,n,t){return("video"===e||"audio"===e)&&"autoplay"===n}function ea(e,n,t=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>t?-1:n(e)?r:ea(e.parentNode,n,t,r+1)}function es(e,n){return t=>{if(null===t)return!1;try{if(e){if("string"==typeof e){if(t.matches(`.${e}`))return!0}else if(function(e,n){for(let t=e.classList.length;t--;){let r=e.classList[t];if(n.test(r))return!0}return!1}(t,e))return!0}if(n&&t.matches(n))return!0;return!1}catch{return!1}}}function el(e,n,t,r,o,i){try{let a=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===a)return!1;if("INPUT"===a.tagName){let e=a.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let s=-1,l=-1;if(i){if((l=ea(a,es(r,o)))<0)return!0;s=ea(a,es(n,t),l>=0?l:1/0)}else{if((s=ea(a,es(n,t)))<0)return!1;l=ea(a,es(r,o),s>=0?s:1/0)}return s>=0?!(l>=0)||s<=l:!(l>=0)&&!!i}catch(e){}return!!i}function ec(e){return null==e?"":e.toLowerCase()}function eu(e,n){let t;let{doc:i,mirror:a,blockClass:s,blockSelector:l,unblockSelector:c,maskAllText:u,maskTextClass:d,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:h,skipChild:f=!1,inlineStylesheet:g=!0,maskInputOptions:_={},maskAttributeFn:y,maskTextFn:v,maskInputFn:b,slimDOMOptions:C,dataURLOptions:T={},inlineImages:S=!1,recordCanvas:k=!1,onSerialize:E,onIframeLoad:x,iframeLoadTimeout:P=5e3,onBlockedImageLoad:q,onStylesheetLoad:F,stylesheetLoadTimeout:z=5e3,keepIframeSrcFn:$=()=>!1,newlyAddedElement:Q=!1,ignoreCSSAttributes:Y}=n,{preserveWhiteSpace:Z=!0}=n,X=function(e,n){let{doc:t,mirror:i,blockClass:a,blockSelector:s,unblockSelector:l,maskAllText:c,maskAttributeFn:u,maskTextClass:d,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:h,inlineStylesheet:f,maskInputOptions:g={},maskTextFn:_,maskInputFn:y,dataURLOptions:v={},inlineImages:b,recordCanvas:C,keepIframeSrcFn:T,newlyAddedElement:S=!1,ignoreCSSAttributes:k}=n,E=function(e,n){if(!n.hasNode(e))return;let t=n.getId(e);return 1===t?void 0:t}(t,i);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:R.Document,childNodes:[],compatMode:e.compatMode};return{type:R.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:R.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:E};case e.ELEMENT_NODE:return function(e,n){let t;let{doc:i,blockClass:a,blockSelector:s,unblockSelector:l,inlineStylesheet:c,maskInputOptions:u={},maskAttributeFn:d,maskInputFn:p,dataURLOptions:m={},inlineImages:h,recordCanvas:f,keepIframeSrcFn:g,newlyAddedElement:_=!1,rootId:y,maskTextClass:v,unmaskTextClass:b,maskTextSelector:C,unmaskTextSelector:T,ignoreCSSAttributes:S}=n,k=function(e,n,t,r){try{if(r&&e.matches(r))return!1;if("string"==typeof n){if(e.classList.contains(n))return!0}else for(let t=e.classList.length;t--;){let r=e.classList[t];if(n.test(r))return!0}if(t)return e.matches(t)}catch(e){}return!1}(e,a,s,l),E=function(e){if(e instanceof HTMLFormElement)return"form";let n=O(e.tagName);return W.test(n)?"div":n}(e),I={},A=e.attributes.length;for(let n=0;nn.href===e.href),t=null;n&&(t=w(n)),t&&(I.rel=null,I.href=null,I.crossorigin=null,I._cssText=J(t,n.href))}if("style"===E&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let n=w(e.sheet);n&&(I._cssText=J(n,er(i)))}if("input"===E||"textarea"===E||"select"===E||"option"===E){let n=j(e),t=D(e,L(E),n),r=e.checked;if("submit"!==n&&"button"!==n&&t){let r=el(e,v,C,b,T,B({type:n,tagName:L(E),maskInputOptions:u}));I.value=N({isMasked:r,element:e,value:t,maskInputFn:p})}r&&(I.checked=r)}if("option"===E&&(e.selected&&!u.select?I.selected=!0:delete I.selected),"canvas"===E&&f){if("2d"===e.__context)!function(e){let n=e.getContext("2d");if(!n)return!0;for(let t=0;t0!==e))return!1}return!0}(e)&&(I.rr_dataURL=e.toDataURL(m.type,m.quality));else if(!("__context"in e)){let n=e.toDataURL(m.type,m.quality),t=i.createElement("canvas");t.width=e.width,t.height=e.height,n!==t.toDataURL(m.type,m.quality)&&(I.rr_dataURL=n)}}if("img"===E&&h){r||(o=(r=i.createElement("canvas")).getContext("2d"));let n=e.currentSrc||e.getAttribute("src")||"",t=e.crossOrigin,a=()=>{e.removeEventListener("load",a);try{r.width=e.naturalWidth,r.height=e.naturalHeight,o.drawImage(e,0,0),I.rr_dataURL=r.toDataURL(m.type,m.quality)}catch(t){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&&0!==e.naturalWidth?a():e.addEventListener("load",a);return}console.warn(`Cannot inline img src=${n}! Error: ${t}`)}"anonymous"===e.crossOrigin&&(t?I.crossOrigin=t:e.removeAttribute("crossorigin"))};e.complete&&0!==e.naturalWidth?a():e.addEventListener("load",a)}if(("audio"===E||"video"===E)&&(I.rr_mediaState=e.paused?"paused":"played",I.rr_mediaCurrentTime=e.currentTime),!_&&(e.scrollLeft&&(I.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(I.rr_scrollTop=e.scrollTop)),k){let{width:n,height:t}=e.getBoundingClientRect();I={class:I.class,rr_width:`${n}px`,rr_height:`${t}px`}}"iframe"!==E||g(I.src)||(k||V(e)||(I.rr_src=I.src),delete I.src);try{customElements.get(E)&&(t=!0)}catch(e){}return{type:R.Element,tagName:E,attributes:I,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:k,rootId:y,isCustom:t}}(e,{doc:t,blockClass:a,blockSelector:s,unblockSelector:l,inlineStylesheet:f,maskAttributeFn:u,maskInputOptions:g,maskInputFn:y,dataURLOptions:v,inlineImages:b,recordCanvas:C,keepIframeSrcFn:T,newlyAddedElement:S,rootId:E,maskTextClass:d,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:h,ignoreCSSAttributes:k});case e.TEXT_NODE:return function(e,n){let{maskAllText:t,maskTextClass:r,unmaskTextClass:o,maskTextSelector:i,unmaskTextSelector:a,maskTextFn:s,maskInputOptions:l,maskInputFn:c,rootId:u}=n,d=e.parentNode&&e.parentNode.tagName,p=e.textContent,m="STYLE"===d||void 0,h="SCRIPT"===d||void 0,f="TEXTAREA"===d||void 0;if(m&&p){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(p=w(e.parentNode.sheet))}catch(n){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${n}`,e)}p=J(p,er(n.doc))}h&&(p="SCRIPT_PLACEHOLDER");let g=el(e,r,i,o,a,t);return m||h||f||!p||!g||(p=s?s(p,e.parentElement):p.replace(/[\S]/g,"*")),f&&p&&(l.textarea||g)&&(p=c?c(p,e.parentNode):p.replace(/[\S]/g,"*")),"OPTION"===d&&p&&(p=N({isMasked:el(e,r,i,o,a,B({type:null,tagName:d,maskInputOptions:l})),element:e,value:p,maskInputFn:c})),{type:R.Text,textContent:p||"",isStyle:m,rootId:u}}(e,{doc:t,maskAllText:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:h,maskTextFn:_,maskInputOptions:g,maskInputFn:y,rootId:E});case e.CDATA_SECTION_NODE:return{type:R.CDATA,textContent:"",rootId:E};case e.COMMENT_NODE:return{type:R.Comment,textContent:e.textContent||"",rootId:E};default:return!1}}(e,{doc:i,mirror:a,blockClass:s,blockSelector:l,maskAllText:u,unblockSelector:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:h,inlineStylesheet:g,maskInputOptions:_,maskAttributeFn:y,maskTextFn:v,maskInputFn:b,dataURLOptions:T,inlineImages:S,recordCanvas:k,keepIframeSrcFn:$,newlyAddedElement:Q,ignoreCSSAttributes:Y});if(!X)return console.warn(e,"not serialized"),null;t=a.hasNode(e)?a.getId(e):!function(e,n){if(n.comment&&e.type===R.Comment)return!0;if(e.type===R.Element){if(n.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===U(e.attributes.href))||n.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(ec(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===ec(e.attributes.name)||"icon"===ec(e.attributes.rel)||"apple-touch-icon"===ec(e.attributes.rel)||"shortcut icon"===ec(e.attributes.rel))))return!0;if("meta"===e.tagName){if(n.headMetaDescKeywords&&ec(e.attributes.name).match(/^description|keywords$/)||n.headMetaSocial&&(ec(e.attributes.property).match(/^(og|twitter|fb):/)||ec(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===ec(e.attributes.name)))return!0;if(n.headMetaRobots&&("robots"===ec(e.attributes.name)||"googlebot"===ec(e.attributes.name)||"bingbot"===ec(e.attributes.name)))return!0;if(n.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(n.headMetaAuthorship&&("author"===ec(e.attributes.name)||"generator"===ec(e.attributes.name)||"framework"===ec(e.attributes.name)||"publisher"===ec(e.attributes.name)||"progid"===ec(e.attributes.name)||ec(e.attributes.property).match(/^article:/)||ec(e.attributes.property).match(/^product:/)))return!0;else if(n.headMetaVerification&&("google-site-verification"===ec(e.attributes.name)||"yandex-verification"===ec(e.attributes.name)||"csrf-token"===ec(e.attributes.name)||"p:domain_verify"===ec(e.attributes.name)||"verify-v1"===ec(e.attributes.name)||"verification"===ec(e.attributes.name)||"shopify-checkout-api-token"===ec(e.attributes.name)))return!0}}return!1}(X,C)&&(Z||X.type!==R.Text||X.isStyle||X.textContent.replace(/^\s+|\s+$/gm,"").length)?K():-2;let ee=Object.assign(X,{id:t});if(a.add(e,ee),-2===t)return null;E&&E(e);let en=!f;if(ee.type===R.Element){en=en&&!ee.needBlock;let n=e.shadowRoot;n&&A(n)&&(ee.isShadowHost=!0)}if((ee.type===R.Document||ee.type===R.Element)&&en){C.headWhitespace&&ee.type===R.Element&&"head"===ee.tagName&&(Z=!1);let n={doc:i,mirror:a,blockClass:s,blockSelector:l,maskAllText:u,unblockSelector:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:h,skipChild:f,inlineStylesheet:g,maskInputOptions:_,maskAttributeFn:y,maskTextFn:v,maskInputFn:b,slimDOMOptions:C,dataURLOptions:T,inlineImages:S,recordCanvas:k,preserveWhiteSpace:Z,onSerialize:E,onIframeLoad:x,iframeLoadTimeout:P,onBlockedImageLoad:q,onStylesheetLoad:F,stylesheetLoadTimeout:z,keepIframeSrcFn:$,ignoreCSSAttributes:Y};for(let t of e.childNodes?Array.from(e.childNodes):[]){let e=eu(t,n);e&&ee.childNodes.push(e)}if(e.nodeType===e.ELEMENT_NODE&&e.shadowRoot)for(let t of Array.from(e.shadowRoot.childNodes)){let r=eu(t,n);r&&(A(e.shadowRoot)&&(r.isShadow=!0),ee.childNodes.push(r))}}if(e.parentNode&&I(e.parentNode)&&A(e.parentNode)&&(ee.isShadow=!0),ee.type!==R.Element||"iframe"!==ee.tagName||ee.needBlock||function(e,n,t){let r;let o=e.contentWindow;if(!o)return;let i=!1;try{r=o.document.readyState}catch(e){return}if("complete"!==r){let r=H(()=>{i||(n(),i=!0)},t);e.addEventListener("load",()=>{G(r),i=!0,n()});return}let a="about:blank";if(o.location.href!==a||e.src===a||""===e.src)return H(n,0),e.addEventListener("load",n);e.addEventListener("load",n)}(e,()=>{let n=V(e);if(n&&x){let t=eu(n,{doc:n,mirror:a,blockClass:s,blockSelector:l,unblockSelector:c,maskAllText:u,maskTextClass:d,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:h,skipChild:!1,inlineStylesheet:g,maskInputOptions:_,maskAttributeFn:y,maskTextFn:v,maskInputFn:b,slimDOMOptions:C,dataURLOptions:T,inlineImages:S,recordCanvas:k,preserveWhiteSpace:Z,onSerialize:E,onIframeLoad:x,iframeLoadTimeout:P,onStylesheetLoad:F,stylesheetLoadTimeout:z,keepIframeSrcFn:$,ignoreCSSAttributes:Y});t&&x(e,t)}},P),ee.type===R.Element&&"img"===ee.tagName&&!e.complete&&ee.needBlock){let n=()=>{if(e.isConnected&&!e.complete&&q)try{let n=e.getBoundingClientRect();n.width>0&&n.height>0&&q(e,ee,n)}catch(e){}e.removeEventListener("load",n)};e.isConnected&&e.addEventListener("load",n)}return ee.type===R.Element&&"link"===ee.tagName&&"string"==typeof ee.attributes.rel&&("stylesheet"===ee.attributes.rel||"preload"===ee.attributes.rel&&"string"==typeof ee.attributes.href&&"css"===U(ee.attributes.href))&&function(e,n,t){let r,o=!1;try{r=e.sheet}catch(e){return}if(r)return;let i=H(()=>{o||(n(),o=!0)},t);e.addEventListener("load",()=>{G(i),o=!0,n()})}(e,()=>{if(F){let n=eu(e,{doc:i,mirror:a,blockClass:s,blockSelector:l,unblockSelector:c,maskAllText:u,maskTextClass:d,unmaskTextClass:p,maskTextSelector:m,unmaskTextSelector:h,skipChild:!1,inlineStylesheet:g,maskInputOptions:_,maskAttributeFn:y,maskTextFn:v,maskInputFn:b,slimDOMOptions:C,dataURLOptions:T,inlineImages:S,recordCanvas:k,preserveWhiteSpace:Z,onSerialize:E,onIframeLoad:x,iframeLoadTimeout:P,onStylesheetLoad:F,stylesheetLoadTimeout:z,keepIframeSrcFn:$,ignoreCSSAttributes:Y});n&&F(e,n)}},z),ee.type===R.Element&&delete ee.needBlock,ee}function ed(e,n,t=document){let r={capture:!0,passive:!0};return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)}let ep="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",em={map:{},getId:()=>(console.error(ep),-1),getNode:()=>(console.error(ep),null),removeNodeFromMap(){console.error(ep)},has:()=>(console.error(ep),!1),reset(){console.error(ep)}};function eh(e,n,t={}){let r=null,o=0;return function(...i){let a=Date.now();o||!1!==t.leading||(o=a);let s=n-(a-o),l=this;s<=0||s>n?(r&&(function(...e){ex("clearTimeout")(...e)}(r),r=null),o=a,e.apply(l,i)):r||!1===t.trailing||(r=eP(()=>{o=!1===t.leading?0:Date.now(),r=null,e.apply(l,i)},s))}}function ef(e,n,t){try{if(!(n in e))return()=>{};let r=e[n],o=t(r);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:r}})),e[n]=o,()=>{e[n]=r}}catch{return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(em=new Proxy(em,{get:(e,n,t)=>("map"===n&&console.error(ep),Reflect.get(e,n,t))}));let eg=Date.now;function e_(e){let n=e.document;return{left:n.scrollingElement?n.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:n?.documentElement.scrollLeft||n?.body?.parentElement?.scrollLeft||n?.body?.scrollLeft||0,top:n.scrollingElement?n.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:n?.documentElement.scrollTop||n?.body?.parentElement?.scrollTop||n?.body?.scrollTop||0}}function ey(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function ev(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function eb(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}function eC(e,n,t,r,o){if(!e)return!1;let i=eb(e);if(!i)return!1;let a=es(n,t);if(!o){let e=r&&i.matches(r);return a(i)&&!e}let s=ea(i,a),l=-1;return!(s<0)&&(r&&(l=ea(i,es(null,r))),s>-1&&l<0||snew Date().getTime());class eI{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,n){let t;return this.has(e)?this.getId(e):(t=void 0===n?this.id++:n,this.styleIDMap.set(e,t),this.idStyleMap.set(t,e),t)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function eA(e){let n=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(n=e.getRootNode().host),n}let ew={};function ex(e){let n=ew[e];if(n)return n;let t=window.document,r=window[e];if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);let o=n.contentWindow;o&&o[e]&&(r=o[e]),t.head.removeChild(n)}catch(e){}return ew[e]=r.bind(window)}function eP(...e){return ex("setTimeout")(...e)}var eB=((f=eB||{})[f.DomContentLoaded=0]="DomContentLoaded",f[f.Load=1]="Load",f[f.FullSnapshot=2]="FullSnapshot",f[f.IncrementalSnapshot=3]="IncrementalSnapshot",f[f.Meta=4]="Meta",f[f.Custom=5]="Custom",f[f.Plugin=6]="Plugin",f),eN=((g=eN||{})[g.Mutation=0]="Mutation",g[g.MouseMove=1]="MouseMove",g[g.MouseInteraction=2]="MouseInteraction",g[g.Scroll=3]="Scroll",g[g.ViewportResize=4]="ViewportResize",g[g.Input=5]="Input",g[g.TouchMove=6]="TouchMove",g[g.MediaInteraction=7]="MediaInteraction",g[g.StyleSheetRule=8]="StyleSheetRule",g[g.CanvasMutation=9]="CanvasMutation",g[g.Font=10]="Font",g[g.Log=11]="Log",g[g.Drag=12]="Drag",g[g.StyleDeclaration=13]="StyleDeclaration",g[g.Selection=14]="Selection",g[g.AdoptedStyleSheet=15]="AdoptedStyleSheet",g[g.CustomElement=16]="CustomElement",g),eO=((_=eO||{})[_.MouseUp=0]="MouseUp",_[_.MouseDown=1]="MouseDown",_[_.Click=2]="Click",_[_.ContextMenu=3]="ContextMenu",_[_.DblClick=4]="DblClick",_[_.Focus=5]="Focus",_[_.Blur=6]="Blur",_[_.TouchStart=7]="TouchStart",_[_.TouchMove_Departed=8]="TouchMove_Departed",_[_.TouchEnd=9]="TouchEnd",_[_.TouchCancel=10]="TouchCancel",_),eL=((y=eL||{})[y.Mouse=0]="Mouse",y[y.Pen=1]="Pen",y[y.Touch=2]="Touch",y),eM=((v=eM||{})[v.Play=0]="Play",v[v.Pause=1]="Pause",v[v.Seeked=2]="Seeked",v[v.VolumeChange=3]="VolumeChange",v[v.RateChange=4]="RateChange",v);class ej{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error("Position outside of list range");let n=this.head;for(let t=0;t`${e}@${n}`;class eU{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],n=new Set,t=new ej,r=e=>{let n=e,t=-2;for(;-2===t;)t=(n=n&&n.nextSibling)&&this.mirror.getId(n);return t},o=o=>{if(!o.parentNode||!function(e){let n=e.ownerDocument;return!!n&&(n.contains(e)||function(e){let n=e.ownerDocument;if(!n)return!1;let t=function(e){let n,t=e;for(;n=eA(t);)t=n;return t}(e);return n.contains(t)}(e))}(o))return;let i=I(o.parentNode)?this.mirror.getId(eA(o)):this.mirror.getId(o.parentNode),a=r(o);if(-1===i||-1===a)return t.addNode(o);let s=eu(o,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{ek(e,this.mirror)&&!eC(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),eE(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),eR(o)&&this.shadowDomManager.addShadowRoot(o.shadowRoot,this.doc)},onIframeLoad:(e,n)=>{eC(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(e,n),e.contentWindow&&this.canvasManager.addWindow(e.contentWindow),this.shadowDomManager.observeAttachShadow(e))},onStylesheetLoad:(e,n)=>{this.stylesheetManager.attachLinkElement(e,n)},onBlockedImageLoad:(e,n,{width:t,height:r})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:{style:{width:`${t}px`,height:`${r}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});s&&(e.push({parentId:i,nextId:a,node:s}),n.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!eF(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&o(e);for(let e of this.addedSet)eH(this.droppedSet,e)||eF(this.removes,e,this.mirror)?eH(this.movedSet,e)?o(e):this.droppedSet.add(e):o(e);let i=null;for(;t.length;){let e=null;if(i){let n=this.mirror.getId(i.value.parentNode),t=r(i.value);-1!==n&&-1!==t&&(e=i)}if(!e){let n=t.tail;for(;n;){let t=n;if(n=n.previous,t){let n=this.mirror.getId(t.value.parentNode);if(-1===r(t.value))continue;if(-1!==n){e=t;break}{let n=t.value;if(n.parentNode&&n.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let r=n.parentNode.host;if(-1!==this.mirror.getId(r)){e=t;break}}}}}}if(!e){for(;t.head;)t.removeNode(t.head.value);break}i=e.previous,t.removeNode(e.value),o(e.value)}let a={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!n.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:n}=e;if("string"==typeof n.style){let t=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);t.length!n.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(a.texts.length||a.attributes.length||a.removes.length||a.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=e=>{if(!eT(e.target,this.mirror))switch(e.type){case"characterData":{let n=e.target.textContent;eC(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||n===e.oldValue||this.texts.push({value:el(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n,eb(e.target)):n.replace(/[\S]/g,"*"):n,node:e.target});break}case"attributes":{let n=e.target,t=e.attributeName,r=e.target.getAttribute(t);if("value"===t){let t=j(n),o=n.tagName;r=D(n,o,t);let i=B({maskInputOptions:this.maskInputOptions,tagName:o,type:t});r=N({isMasked:el(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,i),element:n,value:r,maskInputFn:this.maskInputFn})}if(eC(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||r===e.oldValue)return;let o=this.attributeMap.get(e.target);if("IFRAME"===n.tagName&&"src"===t&&!this.keepIframeSrcFn(r)){if(function(e){try{return e.contentDocument}catch(e){}}(n))return;t="rr_src"}if(o||(o={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o),this.attributeMap.set(e.target,o)),"type"===t&&"INPUT"===n.tagName&&"password"===(e.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!ei(n.tagName,t)&&(o.attributes[t]=eo(this.doc,O(n.tagName),O(t),r,n,this.maskAttributeFn),"style"===t)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}let t=this.unattachedDoc.createElement("span");for(let r of(e.oldValue&&t.setAttribute("style",e.oldValue),Array.from(n.style))){let e=n.style.getPropertyValue(r),i=n.style.getPropertyPriority(r);e!==t.style.getPropertyValue(r)||i!==t.style.getPropertyPriority(r)?""===i?o.styleDiff[r]=e:o.styleDiff[r]=[e,i]:o._unchangedStyles[r]=[e,i]}for(let e of Array.from(t.style))""===n.style.getPropertyValue(e)&&(o.styleDiff[e]=!1)}break}case"childList":if(eC(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(n=>this.genAdds(n,e.target)),e.removedNodes.forEach(n=>{let t=this.mirror.getId(n),r=I(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);eC(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||eT(n,this.mirror)||-1===this.mirror.getId(n)||(this.addedSet.has(n)?(eq(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(e.target)&&-1===t||function e(n,t){if(I(n))return!1;let r=t.getId(n);return!t.has(r)||(!n.parentNode||n.parentNode.nodeType!==n.DOCUMENT_NODE)&&(!n.parentNode||e(n.parentNode,t))}(e.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[eD(t,r)]?eq(this.movedSet,n):this.removes.push({parentId:r,id:t,isShadow:!!(I(e.target)&&A(e.target))||void 0})),this.mapRemoves.push(n))})}},this.genAdds=(e,n)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(eT(e,this.mirror))return;this.movedSet.add(e);let t=null;n&&this.mirror.hasNode(n)&&(t=this.mirror.getId(n)),t&&-1!==t&&(this.movedMap[eD(this.mirror.getId(e),t)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!eC(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),eR(e)&&e.shadowRoot.childNodes.forEach(n=>{this.processedNodeManager.add(n,this),this.genAdds(n,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager","ignoreCSSAttributes"].forEach(n=>{this[n]=e[n]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function eq(e,n){e.delete(n),n.childNodes?.forEach(n=>eq(e,n))}function eF(e,n,t){return 0!==e.length&&function(e,n,t){let r=n.parentNode;for(;r;){let n=t.getId(r);if(e.some(e=>e.id===n))return!0;r=r.parentNode}return!1}(e,n,t)}function eH(e,n){return 0!==e.size&&function e(n,t){let{parentNode:r}=t;return!!r&&(!!n.has(r)||e(n,r))}(e,n)}let eG=e=>i?(...n)=>{try{return e(...n)}catch(e){if(i&&!0===i(e))return()=>{};throw e}}:e,eV=[];function ez(e){try{if("composedPath"in e){let n=e.composedPath();if(n.length)return n[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}let eW=["INPUT","TEXTAREA","SELECT"],eK=new WeakMap;function e$(e){var n;return n=[],eZ("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||eZ("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||eZ("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||eZ("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule?n.unshift(Array.from(e.parentRule.cssRules).indexOf(e)):e.parentStyleSheet&&n.unshift(Array.from(e.parentStyleSheet.cssRules).indexOf(e)),n}function eQ(e,n,t){let r,o;return e?(e.ownerNode?r=n.getId(e.ownerNode):o=t.getId(e),{styleId:o,id:r}):{}}function eY(e,n={}){let t;let r=e.doc.defaultView;if(!r)return()=>{};e.recordDOM&&(t=function(e,n){let t=new eU;eV.push(t),t.init(e);let r=window.MutationObserver||window.__rrMutationObserver,o=window?.Zone?.__symbol__?.("MutationObserver");o&&window[o]&&(r=window[o]);let i=new r(eG(n=>{e.onMutation&&!1===e.onMutation(n)||t.processMutations.bind(t)(n)}));return i.observe(n,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),i}(e,e.doc));let o=function({mousemoveCb:e,sampling:n,doc:t,mirror:r}){let o;if(!1===n.mousemove)return()=>{};let i="number"==typeof n.mousemove?n.mousemove:50,a="number"==typeof n.mousemoveCallback?n.mousemoveCallback:500,s=[],l=eh(eG(n=>{let t=Date.now()-o;e(s.map(e=>(e.timeOffset-=t,e)),n),s=[],o=null}),a),c=eG(eh(eG(e=>{let n=ez(e),{clientX:t,clientY:i}=eS(e)?e.changedTouches[0]:e;o||(o=eg()),s.push({x:t,y:i,id:r.getId(n),timeOffset:eg()-o}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?eN.Drag:e instanceof MouseEvent?eN.MouseMove:eN.TouchMove)}),i,{trailing:!1})),u=[ed("mousemove",c,t),ed("touchmove",c,t),ed("drag",c,t)];return eG(()=>{u.forEach(e=>e())})}(e),i=function({mouseInteractionCb:e,doc:n,mirror:t,blockClass:r,blockSelector:o,unblockSelector:i,sampling:a}){if(!1===a.mouseInteraction)return()=>{};let s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,l=[],c=null,u=n=>a=>{let s=ez(a);if(eC(s,r,o,i,!0))return;let l=null,u=n;if("pointerType"in a){switch(a.pointerType){case"mouse":l=eL.Mouse;break;case"touch":l=eL.Touch;break;case"pen":l=eL.Pen}l===eL.Touch?eO[n]===eO.MouseDown?u="TouchStart":eO[n]===eO.MouseUp&&(u="TouchEnd"):eL.Pen}else eS(a)&&(l=eL.Touch);null!==l?(c=l,(u.startsWith("Touch")&&l===eL.Touch||u.startsWith("Mouse")&&l===eL.Mouse)&&(l=null)):eO[n]===eO.Click&&(l=c,c=null);let d=eS(a)?a.changedTouches[0]:a;if(!d)return;let p=t.getId(s),{clientX:m,clientY:h}=d;eG(e)({type:eO[u],id:p,x:m,y:h,...null!==l&&{pointerType:l}})};return Object.keys(eO).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(e=>{let t=O(e),r=u(e);if(window.PointerEvent)switch(eO[e]){case eO.MouseDown:case eO.MouseUp:t=t.replace("mouse","pointer");break;case eO.TouchStart:case eO.TouchEnd:return}l.push(ed(t,r,n))}),eG(()=>{l.forEach(e=>e())})}(e),a=function({scrollCb:e,doc:n,mirror:t,blockClass:r,blockSelector:o,unblockSelector:i,sampling:a}){return ed("scroll",eG(eh(eG(a=>{let s=ez(a);if(!s||eC(s,r,o,i,!0))return;let l=t.getId(s);if(s===n&&n.defaultView){let t=e_(n.defaultView);e({id:l,x:t.left,y:t.top})}else e({id:l,x:s.scrollLeft,y:s.scrollTop})}),a.scroll||100)),n)}(e),s=function({viewportResizeCb:e},{win:n}){let t=-1,r=-1;return ed("resize",eG(eh(eG(()=>{let n=ey(),o=ev();(t!==n||r!==o)&&(e({width:Number(o),height:Number(n)}),t=n,r=o)}),200)),n)}(e,{win:r}),l=function({inputCb:e,doc:n,mirror:t,blockClass:r,blockSelector:o,unblockSelector:i,ignoreClass:a,ignoreSelector:s,maskInputOptions:l,maskInputFn:c,sampling:u,userTriggeredOnInput:d,maskTextClass:p,unmaskTextClass:m,maskTextSelector:h,unmaskTextSelector:f}){function g(e){let t=ez(e),u=e.isTrusted,g=t&&L(t.tagName);if("OPTION"===g&&(t=t.parentElement),!t||!g||0>eW.indexOf(g)||eC(t,r,o,i,!0))return;let y=t;if(y.classList.contains(a)||s&&y.matches(s))return;let v=j(t),b=D(y,g,v),C=!1,T=B({maskInputOptions:l,tagName:g,type:v}),S=el(t,p,h,m,f,T);("radio"===v||"checkbox"===v)&&(C=t.checked),b=N({isMasked:S,element:t,value:b,maskInputFn:c}),_(t,d?{text:b,isChecked:C,userTriggered:u}:{text:b,isChecked:C});let k=t.name;"radio"===v&&k&&C&&n.querySelectorAll(`input[type="radio"][name="${k}"]`).forEach(e=>{if(e!==t){let n=N({isMasked:S,element:e,value:D(e,g,v),maskInputFn:c});_(e,d?{text:n,isChecked:!C,userTriggered:!1}:{text:n,isChecked:!C})}})}function _(n,r){let o=eK.get(n);if(!o||o.text!==r.text||o.isChecked!==r.isChecked){eK.set(n,r);let o=t.getId(n);eG(e)({...r,id:o})}}let y=("last"===u.input?["change"]:["input","change"]).map(e=>ed(e,eG(g),n)),v=n.defaultView;if(!v)return()=>{y.forEach(e=>e())};let b=v.Object.getOwnPropertyDescriptor(v.HTMLInputElement.prototype,"value"),C=[[v.HTMLInputElement.prototype,"value"],[v.HTMLInputElement.prototype,"checked"],[v.HTMLSelectElement.prototype,"value"],[v.HTMLTextAreaElement.prototype,"value"],[v.HTMLSelectElement.prototype,"selectedIndex"],[v.HTMLOptionElement.prototype,"selected"]];return b&&b.set&&y.push(...C.map(e=>(function e(n,t,r,o,i=window){let a=i.Object.getOwnPropertyDescriptor(n,t);return i.Object.defineProperty(n,t,o?r:{set(e){eP(()=>{r.set.call(this,e)},0),a&&a.set&&a.set.call(this,e)}}),()=>e(n,t,a||{},!0)})(e[0],e[1],{set(){eG(g)({target:this,isTrusted:!1})}},!1,v))),eG(()=>{y.forEach(e=>e())})}(e),c=function({mediaInteractionCb:e,blockClass:n,blockSelector:t,unblockSelector:r,mirror:o,sampling:i,doc:a}){let s=eG(a=>eh(eG(i=>{let s=ez(i);if(!s||eC(s,n,t,r,!0))return;let{currentTime:l,volume:c,muted:u,playbackRate:d}=s;e({type:a,id:o.getId(s),currentTime:l,volume:c,muted:u,playbackRate:d})}),i.media||500)),l=[ed("play",s(eM.Play),a),ed("pause",s(eM.Pause),a),ed("seeked",s(eM.Seeked),a),ed("volumechange",s(eM.VolumeChange),a),ed("ratechange",s(eM.RateChange),a)];return eG(()=>{l.forEach(e=>e())})}(e),u=()=>{},d=()=>{},p=()=>{},m=()=>{};e.recordDOM&&(u=function({styleSheetRuleCb:e,mirror:n,stylesheetManager:t},{win:r}){let o,i;if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};let a=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:eG((r,o,i)=>{let[a,s]=i,{id:l,styleId:c}=eQ(o,n,t.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:a,index:s}]}),r.apply(o,i)})});let s=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:eG((r,o,i)=>{let[a]=i,{id:s,styleId:l}=eQ(o,n,t.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:a}]}),r.apply(o,i)})}),r.CSSStyleSheet.prototype.replace&&(o=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(o,{apply:eG((r,o,i)=>{let[a]=i,{id:s,styleId:l}=eQ(o,n,t.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replace:a}),r.apply(o,i)})})),r.CSSStyleSheet.prototype.replaceSync&&(i=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(i,{apply:eG((r,o,i)=>{let[a]=i,{id:s,styleId:l}=eQ(o,n,t.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replaceSync:a}),r.apply(o,i)})}));let l={};eJ("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(eJ("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),eJ("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),eJ("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));let c={};return Object.entries(l).forEach(([r,o])=>{c[r]={insertRule:o.prototype.insertRule,deleteRule:o.prototype.deleteRule},o.prototype.insertRule=new Proxy(c[r].insertRule,{apply:eG((r,o,i)=>{let[a,s]=i,{id:l,styleId:c}=eQ(o.parentStyleSheet,n,t.styleMirror);return(l&&-1!==l||c&&-1!==c)&&e({id:l,styleId:c,adds:[{rule:a,index:[...e$(o),s||0]}]}),r.apply(o,i)})}),o.prototype.deleteRule=new Proxy(c[r].deleteRule,{apply:eG((r,o,i)=>{let[a]=i,{id:s,styleId:l}=eQ(o.parentStyleSheet,n,t.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:[...e$(o),a]}]}),r.apply(o,i)})})}),eG(()=>{r.CSSStyleSheet.prototype.insertRule=a,r.CSSStyleSheet.prototype.deleteRule=s,o&&(r.CSSStyleSheet.prototype.replace=o),i&&(r.CSSStyleSheet.prototype.replaceSync=i),Object.entries(l).forEach(([e,n])=>{n.prototype.insertRule=c[e].insertRule,n.prototype.deleteRule=c[e].deleteRule})})}(e,{win:r}),d=function({mirror:e,stylesheetManager:n},t){let r=null;r="#document"===t.nodeName?e.getId(t):e.getId(t.host);let o="#document"===t.nodeName?t.defaultView?.Document:t.ownerDocument?.defaultView?.ShadowRoot,i=o?.prototype?Object.getOwnPropertyDescriptor(o?.prototype,"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&o&&i?(Object.defineProperty(t,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get(){return i.get?.call(this)},set(e){let t=i.set?.call(this,e);if(null!==r&&-1!==r)try{n.adoptStyleSheets(e,r)}catch(e){}return t}}),eG(()=>{Object.defineProperty(t,"adoptedStyleSheets",{configurable:i.configurable,enumerable:i.enumerable,get:i.get,set:i.set})})):()=>{}}(e,e.doc),p=function({styleDeclarationCb:e,mirror:n,ignoreCSSAttributes:t,stylesheetManager:r},{win:o}){let i=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(i,{apply:eG((o,a,s)=>{let[l,c,u]=s;if(t.has(l))return i.apply(a,[l,c,u]);let{id:d,styleId:p}=eQ(a.parentRule?.parentStyleSheet,n,r.styleMirror);return(d&&-1!==d||p&&-1!==p)&&e({id:d,styleId:p,set:{property:l,value:c,priority:u},index:e$(a.parentRule)}),o.apply(a,s)})});let a=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(a,{apply:eG((o,i,s)=>{let[l]=s;if(t.has(l))return a.apply(i,[l]);let{id:c,styleId:u}=eQ(i.parentRule?.parentStyleSheet,n,r.styleMirror);return(c&&-1!==c||u&&-1!==u)&&e({id:c,styleId:u,remove:{property:l},index:e$(i.parentRule)}),o.apply(i,s)})}),eG(()=>{o.CSSStyleDeclaration.prototype.setProperty=i,o.CSSStyleDeclaration.prototype.removeProperty=a})}(e,{win:r}),e.collectFonts&&(m=function({fontCb:e,doc:n}){let t=n.defaultView;if(!t)return()=>{};let r=[],o=new WeakMap,i=t.FontFace;t.FontFace=function(e,n,t){let r=new i(e,n,t);return o.set(r,{family:e,buffer:"string"!=typeof n,descriptors:t,fontSource:"string"==typeof n?n:JSON.stringify(Array.from(new Uint8Array(n)))}),r};let a=ef(n.fonts,"add",function(n){return function(t){return eP(eG(()=>{let n=o.get(t);n&&(e(n),o.delete(t))}),0),n.apply(this,[t])}});return r.push(()=>{t.FontFace=i}),r.push(a),eG(()=>{r.forEach(e=>e())})}(e)));let h=function(e){let{doc:n,mirror:t,blockClass:r,blockSelector:o,unblockSelector:i,selectionCb:a}=e,s=!0,l=eG(()=>{let e=n.getSelection();if(!e||s&&e?.isCollapsed)return;s=e.isCollapsed||!1;let l=[],c=e.rangeCount||0;for(let n=0;n{}}(e),g=[];for(let n of e.plugins)g.push(n.observer(n.callback,r,n.options));return eG(()=>{eV.forEach(e=>e.reset()),t?.disconnect(),o(),i(),a(),s(),l(),c(),u(),d(),p(),m(),h(),f(),g.forEach(e=>e())})}function eZ(e){return void 0!==window[e]}function eJ(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class eX{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,n,t,r){let o=t||this.getIdToRemoteIdMap(e),i=r||this.getRemoteIdToIdMap(e),a=o.get(n);return a||(a=this.generateIdFn(),o.set(n,a),i.set(a,n)),a}getIds(e,n){let t=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return n.map(n=>this.getId(e,n,t,r))}getRemoteId(e,n,t){let r=t||this.getRemoteIdToIdMap(e);return"number"!=typeof n?n:r.get(n)||-1}getRemoteIds(e,n){let t=this.getRemoteIdToIdMap(e);return n.map(n=>this.getRemoteId(e,n,t))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let n=this.iframeIdToRemoteIdMap.get(e);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(e,n)),n}getRemoteIdToIdMap(e){let n=this.iframeRemoteIdToIdMap.get(e);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(e,n)),n}}class e0{constructor(){this.crossOriginIframeMirror=new eX(K),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class e1{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}for(var e2="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e3="undefined"==typeof Uint8Array?[]:new Uint8Array(256),e4=0;e4({rule:x(e),index:n}))})),t.styleIds.push(e)}r.length>0&&(t.styles=r),this.adoptedStyleSheetCb(t)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class e6{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,n){let t=this.nodeMap.get(e);return t&&Array.from(t).some(e=>e!==n)}add(e,n){this.active||(this.active=!0,function(...e){ex("requestAnimationFrame")(...e)}(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(n))}destroy(){}}try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}let e8=new P;function e7(e={}){let n;let{emit:t,checkoutEveryNms:r,checkoutEveryNth:o,blockClass:l="rr-block",blockSelector:c=null,unblockSelector:u=null,ignoreClass:d="rr-ignore",ignoreSelector:p=null,maskAllText:m=!1,maskTextClass:h="rr-mask",unmaskTextClass:f=null,maskTextSelector:g=null,unmaskTextSelector:_=null,inlineStylesheet:y=!0,maskAllInputs:v,maskInputOptions:b,slimDOMOptions:C,maskAttributeFn:T,maskInputFn:S,maskTextFn:k,maxCanvasSize:E=null,packFn:R,sampling:I={},dataURLOptions:A={},mousemoveWait:w,recordDOM:x=!0,recordCanvas:B=!1,recordCrossOriginIframes:N=!1,recordAfter:O="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:L=!1,collectFonts:M=!1,inlineImages:j=!1,plugins:D,keepIframeSrcFn:U=()=>!1,ignoreCSSAttributes:q=new Set([]),errorHandler:F,onMutation:H,getCanvasManager:G}=e;i=F;let V=!N||window.parent===window,z=!1;if(!V)try{window.parent.document&&(z=!1)}catch(e){z=!0}if(V&&!t)throw Error("emit function is required");if(!V&&!z)return()=>{};void 0!==w&&void 0===I.mousemove&&(I.mousemove=w),e8.reset();let W=!0===v?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==b?b:{},K=!0===C||"all"===C?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===C,headMetaDescKeywords:"all"===C}:C||{};!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let n=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===n)return!0;while(n=n&&n.parentNode);return!1})}();let $=0,Q=e=>{for(let n of D||[])n.eventProcessor&&(e=n.eventProcessor(e));return R&&!z&&(e=R(e)),e};a=(e,i)=>{if(e.timestamp=eg(),eV[0]?.isFrozen()&&e.type!==eB.FullSnapshot&&!(e.type===eB.IncrementalSnapshot&&e.data.source===eN.Mutation)&&eV.forEach(e=>e.unfreeze()),V)t?.(Q(e),i);else if(z){let n={type:"rrweb",event:Q(e),origin:window.location.origin,isCheckout:i};window.parent.postMessage(n,"*")}if(e.type===eB.FullSnapshot)n=e,$=0;else if(e.type===eB.IncrementalSnapshot){if(e.data.source===eN.Mutation&&e.data.isAttachIframe)return;$++;let t=o&&$>=o,i=r&&n&&e.timestamp-n.timestamp>r;(t||i)&&eo(!0)}};let Y=e=>{a({type:eB.IncrementalSnapshot,data:{source:eN.Mutation,...e}})},Z=e=>a({type:eB.IncrementalSnapshot,data:{source:eN.Scroll,...e}}),J=e=>a({type:eB.IncrementalSnapshot,data:{source:eN.CanvasMutation,...e}}),X=new e9({mutationCb:Y,adoptedStyleSheetCb:e=>a({type:eB.IncrementalSnapshot,data:{source:eN.AdoptedStyleSheet,...e}})}),ee=new e0;for(let e of D||[])e.getMirror&&e.getMirror({nodeMirror:e8,crossOriginIframeMirror:ee.crossOriginIframeMirror,crossOriginIframeStyleMirror:ee.crossOriginIframeStyleMirror});let en=new e6,et=function(e,n){try{return e?e(n):new e5}catch{return console.warn("Unable to initialize CanvasManager"),new e5}}(G,{mirror:e8,win:window,mutationCb:e=>a({type:eB.IncrementalSnapshot,data:{source:eN.CanvasMutation,...e}}),recordCanvas:B,blockClass:l,blockSelector:c,unblockSelector:u,maxCanvasSize:E,sampling:I.canvas,dataURLOptions:A,errorHandler:F}),er=new e1,eo=(e=!1)=>{if(!x)return;a({type:eB.Meta,data:{href:window.location.href,width:ev(),height:ey()}},e),X.reset(),er.init(),eV.forEach(e=>e.lock());let n=function(e,n){let{mirror:t=new P,blockClass:r="rr-block",blockSelector:o=null,unblockSelector:i=null,maskAllText:a=!1,maskTextClass:s="rr-mask",unmaskTextClass:l=null,maskTextSelector:c=null,unmaskTextSelector:u=null,inlineStylesheet:d=!0,inlineImages:p=!1,recordCanvas:m=!1,maskAllInputs:h=!1,maskAttributeFn:f,maskTextFn:g,maskInputFn:_,slimDOM:y=!1,dataURLOptions:v,preserveWhiteSpace:b,onSerialize:C,onIframeLoad:T,iframeLoadTimeout:S,onBlockedImageLoad:k,onStylesheetLoad:E,stylesheetLoadTimeout:R,keepIframeSrcFn:I=()=>!1,ignoreCSSAttributes:A=new Set([])}=n||{};return eu(e,{doc:e,mirror:t,blockClass:r,blockSelector:o,unblockSelector:i,maskAllText:a,maskTextClass:s,unmaskTextClass:l,maskTextSelector:c,unmaskTextSelector:u,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===h?{}:h,maskAttributeFn:f,maskTextFn:g,maskInputFn:_,slimDOMOptions:!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===y,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===y?{}:y,dataURLOptions:v,inlineImages:p,recordCanvas:m,preserveWhiteSpace:b,onSerialize:C,onIframeLoad:T,iframeLoadTimeout:S,onBlockedImageLoad:k,onStylesheetLoad:E,stylesheetLoadTimeout:R,keepIframeSrcFn:I,newlyAddedElement:!1,ignoreCSSAttributes:A})}(document,{mirror:e8,blockClass:l,blockSelector:c,unblockSelector:u,maskAllText:m,maskTextClass:h,unmaskTextClass:f,maskTextSelector:g,unmaskTextSelector:_,inlineStylesheet:y,maskAllInputs:W,maskAttributeFn:T,maskInputFn:S,maskTextFn:k,slimDOM:K,dataURLOptions:A,recordCanvas:B,inlineImages:j,onSerialize:e=>{ek(e,e8)&&ee.addIframe(e),eE(e,e8)&&X.trackLinkElement(e),eR(e)&&er.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,n)=>{ee.attachIframe(e,n),e.contentWindow&&et.addWindow(e.contentWindow),er.observeAttachShadow(e)},onStylesheetLoad:(e,n)=>{X.attachLinkElement(e,n)},onBlockedImageLoad:(e,n,{width:t,height:r})=>{Y({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:{style:{width:`${t}px`,height:`${r}px`}}}]})},keepIframeSrcFn:U,ignoreCSSAttributes:q});if(!n)return console.warn("Failed to snapshot the document");a({type:eB.FullSnapshot,data:{node:n,initialOffset:e_(window)}}),eV.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&X.adoptStyleSheets(document.adoptedStyleSheets,e8.getId(document))};s=eo;try{let e=[],n=e=>eG(eY)({onMutation:H,mutationCb:Y,mousemoveCb:(e,n)=>a({type:eB.IncrementalSnapshot,data:{source:n,positions:e}}),mouseInteractionCb:e=>a({type:eB.IncrementalSnapshot,data:{source:eN.MouseInteraction,...e}}),scrollCb:Z,viewportResizeCb:e=>a({type:eB.IncrementalSnapshot,data:{source:eN.ViewportResize,...e}}),inputCb:e=>a({type:eB.IncrementalSnapshot,data:{source:eN.Input,...e}}),mediaInteractionCb:e=>a({type:eB.IncrementalSnapshot,data:{source:eN.MediaInteraction,...e}}),styleSheetRuleCb:e=>a({type:eB.IncrementalSnapshot,data:{source:eN.StyleSheetRule,...e}}),styleDeclarationCb:e=>a({type:eB.IncrementalSnapshot,data:{source:eN.StyleDeclaration,...e}}),canvasMutationCb:J,fontCb:e=>a({type:eB.IncrementalSnapshot,data:{source:eN.Font,...e}}),selectionCb:e=>{a({type:eB.IncrementalSnapshot,data:{source:eN.Selection,...e}})},customElementCb:e=>{a({type:eB.IncrementalSnapshot,data:{source:eN.CustomElement,...e}})},blockClass:l,ignoreClass:d,ignoreSelector:p,maskAllText:m,maskTextClass:h,unmaskTextClass:f,maskTextSelector:g,unmaskTextSelector:_,maskInputOptions:W,inlineStylesheet:y,sampling:I,recordDOM:x,recordCanvas:B,inlineImages:j,userTriggeredOnInput:L,collectFonts:M,doc:e,maskAttributeFn:T,maskInputFn:S,maskTextFn:k,keepIframeSrcFn:U,blockSelector:c,unblockSelector:u,slimDOMOptions:K,dataURLOptions:A,mirror:e8,iframeManager:ee,stylesheetManager:X,shadowDomManager:er,processedNodeManager:en,canvasManager:et,ignoreCSSAttributes:q,plugins:D?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:n=>a({type:eB.Plugin,data:{plugin:e.name,payload:n}})}))||[]},{});ee.addLoadListener(t=>{try{e.push(n(t.contentDocument))}catch(e){console.warn(e)}});let t=()=>{eo(),e.push(n(document))};return"interactive"===document.readyState||"complete"===document.readyState?t():(e.push(ed("DOMContentLoaded",()=>{a({type:eB.DomContentLoaded,data:{}}),"DOMContentLoaded"===O&&t()})),e.push(ed("load",()=>{a({type:eB.Load,data:{}}),"load"===O&&t()},window))),()=>{e.forEach(e=>e()),en.destroy(),s=void 0,i=void 0}}catch(e){console.warn(e)}}function ne(e){return e>9999999999?e:1e3*e}function nn(e){return e>9999999999?e/1e3:e}function nt(e,n){"sentry.transaction"!==n.category&&(["ui.click","ui.input"].includes(n.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:eB.Custom,timestamp:1e3*(n.timestamp||0),data:{tag:"breadcrumb",payload:c.normalize(n,10,1e3)}}),"console"===n.category)))}function nr(e){return e.closest("button,a")||e}function no(e){let n=ni(e);return n&&n instanceof Element?nr(n):n}function ni(e){return"object"==typeof e&&e&&"target"in e?e.target:e}e7.mirror=e8,e7.takeFullSnapshot=function(e){if(!s)throw Error("please take full snapshot after start recording");s(e)},(b=T||(T={}))[b.NotStarted=0]="NotStarted",b[b.Running=1]="Running",b[b.Stopped=2]="Stopped";let na=new Set([eN.Mutation,eN.StyleSheetRule,eN.StyleDeclaration,eN.AdoptedStyleSheet,eN.CanvasMutation,eN.Selection,eN.MediaInteraction]);class ns{constructor(e,n,t=nt){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scrollTimeout=n.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=t}addListeners(){var e;let n=(e=()=>{this._lastMutation=nc()},l||(l=[],c.fill(d,"open",function(e){return function(...n){if(l)try{l.forEach(e=>e())}catch{}return e.apply(d,n)}})),l.push(e),()=>{let n=l?l.indexOf(e):-1;n>-1&&l.splice(n,1)});this._teardown=()=>{n(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,n){var t;if(t=this._ignoreSelector,!nl.includes(n.tagName)||"INPUT"===n.tagName&&!["submit","button"].includes(n.getAttribute("type")||"")||"A"===n.tagName&&(n.hasAttribute("download")||n.hasAttribute("target")&&"_self"!==n.getAttribute("target"))||t&&n.matches(t)||!(e.data&&"number"==typeof e.data.nodeId&&e.timestamp))return;let r={timestamp:nn(e.timestamp),clickBreadcrumb:e,clickCount:0,node:n};this._clicks.some(e=>e.node===r.node&&1>Math.abs(e.timestamp-r.timestamp))||(this._clicks.push(r),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=nn(e)}registerScroll(e=Date.now()){this._lastScroll=nn(e)}registerClick(e){let n=nr(e);this._handleMultiClick(n)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(n=>n.node===e)}_checkClicks(){let e=[],n=nc();for(let t of(this._clicks.forEach(t=>{!t.mutationAfter&&this._lastMutation&&(t.mutationAfter=t.timestamp<=this._lastMutation?this._lastMutation-t.timestamp:void 0),!t.scrollAfter&&this._lastScroll&&(t.scrollAfter=t.timestamp<=this._lastScroll?this._lastScroll-t.timestamp:void 0),t.timestamp+this._timeout<=n&&e.push(t)}),e)){let e=this._clicks.indexOf(t);e>-1&&(this._generateBreadcrumbs(t),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let n=this._replay,t=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:o,clickBreadcrumb:i}=e;if(!t&&!r){let t=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=t<1e3*this._timeout?"mutation":"timeout",a={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.slowClickDetected",data:{...i.data,url:d.location.href,route:n.getCurrentRoute(),timeAfterClickMs:t,endReason:r,clickCount:o||1}};this._addBreadcrumbEvent(n,a);return}if(o>1){let e={type:"default",message:i.message,timestamp:i.timestamp,category:"ui.multiClick",data:{...i.data,url:d.location.href,route:n.getCurrentRoute(),clickCount:o,metric:!0}};this._addBreadcrumbEvent(n,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=u.setTimeout(()=>this._checkClicks(),1e3)}}let nl=["A","BUTTON","INPUT"];function nc(){return Date.now()/1e3}function nu(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var nd=((C=nd||{})[C.Document=0]="Document",C[C.DocumentType=1]="DocumentType",C[C.Element=2]="Element",C[C.Text=3]="Text",C[C.CDATA=4]="CDATA",C[C.Comment=5]="Comment",C);let np=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]),nm=e=>n=>{if(!e.isEnabled())return;let t=function(e){let{target:n,message:t}=function(e){let n;let t="click"===e.name,r=null;try{r=t?no(e.event):ni(e.event),n=c.htmlTreeAsString(r,{maxStringLength:200})||""}catch{n=""}return{target:r,message:n}}(e);return nu({category:`ui.${e.name}`,...nh(n,t)})}(n);if(!t)return;let r="click"===n.name,o=r?n.event:void 0;r&&e.clickDetector&&o?.target&&!o.altKey&&!o.metaKey&&!o.ctrlKey&&!o.shiftKey&&function(e,n,t){e.handleClick(n,t)}(e.clickDetector,t,no(n.event)),nt(e,t)};function nh(e,n){let t=e7.mirror.getId(e),r=t&&e7.mirror.getNode(t),o=r&&e7.mirror.getMeta(r),i=o&&o.type===nd.Element?o:null;return{message:n,data:i?{nodeId:t,node:{id:t,tagName:i.tagName,textContent:Array.from(i.childNodes).map(e=>e.type===nd.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:function(e){let n={};for(let t in!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]),e)if(np.has(t)){let r=t;("data-testid"===t||"data-test-id"===t)&&(r="testId"),n[r]=e[t]}return n}(i.attributes)}}:{}}}let nf={resource:function(e){let{entryType:n,initiatorType:t,name:r,responseEnd:o,startTime:i,decodedBodySize:a,encodedBodySize:s,responseStatus:l,transferSize:c}=e;return["fetch","xmlhttprequest"].includes(t)?null:{type:`${n}.${t}`,start:ny(i),end:ny(o),name:r,data:{size:c,statusCode:l,decodedBodySize:a,encodedBodySize:s}}},paint:function(e){let{duration:n,entryType:t,name:r,startTime:o}=e,i=ny(o);return{type:t,name:r,start:i,end:i+n,data:void 0}},navigation:function(e){let{entryType:n,name:t,decodedBodySize:r,duration:o,domComplete:i,encodedBodySize:a,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,domInteractive:c,loadEventStart:u,loadEventEnd:d,redirectCount:p,startTime:m,transferSize:h,type:f}=e;return 0===o?null:{type:`${n}.${f}`,start:ny(m),end:ny(i),name:t,data:{size:h,decodedBodySize:r,encodedBodySize:a,duration:o,domInteractive:c,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:u,loadEventEnd:d,domComplete:i,redirectCount:p}}}};function ng(e,n){return({metric:t})=>void n.replayPerformanceEntries.push(e(t))}function n_(e){let n=nf[e.entryType];return n?n(e):null}function ny(e){return((c.browserPerformanceTimeOrigin()||d.performance.timeOrigin)+e)/1e3}function nv(e){let n=e.entries[e.entries.length-1];return nT(e,"largest-contentful-paint",n?.element?[n.element]:void 0)}function nb(e){let n=[],t=[];for(let r of e.entries)if(void 0!==r.sources){let e=[];for(let n of r.sources)if(n.node){t.push(n.node);let r=e7.mirror.getId(n.node);r&&e.push(r)}n.push({value:r.value,nodeIds:e.length?e:void 0})}return nT(e,"cumulative-layout-shift",t,n)}function nC(e){let n=e.entries[e.entries.length-1];return nT(e,"interaction-to-next-paint",n?.target?[n.target]:void 0)}function nT(e,n,t,r){let o=e.value,i=e.rating,a=ny(o);return{type:"web-vital",name:n,start:a,end:a,data:{value:o,size:o,rating:i,nodeIds:t?t.map(e=>e7.mirror.getId(e)):void 0,attributions:r}}}let nS=["log","warn","error"],nk=function(){let e={exception:()=>void 0,infoTick:()=>void 0,setConfig:e=>{e.captureExceptions,e.traceInternals}};return nS.forEach(n=>{e[n]=()=>void 0}),e}();class nE extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class nR{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let n=JSON.stringify(e).length;if(this._totalSize+=n,this._totalSize>2e7)throw new nE;this.events.push(e)}finish(){return new Promise(e=>{let n=this.events;this.clear(),e(JSON.stringify(n))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=this.events.map(e=>e.timestamp).sort()[0];return e?ne(e):null}}class nI{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,n)=>{this._worker.addEventListener("message",({data:t})=>{t.success?e():n()},{once:!0}),this._worker.addEventListener("error",e=>{n(e)},{once:!0})})),this._ensureReadyPromise}destroy(){this._worker.terminate()}postMessage(e,n){let t=this._getAndIncrementId();return new Promise((r,o)=>{let i=({data:n})=>{if(n.method===e&&n.id===t){if(this._worker.removeEventListener("message",i),!n.success){o(Error("Error in compression worker"));return}r(n.response)}};this._worker.addEventListener("message",i),this._worker.postMessage({id:t,method:e,arg:n})})}_getAndIncrementId(){return this._id++}}class nA{constructor(e){this._worker=new nI(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let n=ne(e.timestamp);(!this._earliestTimestamp||n2e7)?Promise.reject(new nE):this._sendEventToWorker(t)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class nw{constructor(e){this._fallback=new nR,this._compression=new nA(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:n,waitForCheckout:t}=this._fallback,r=[];for(let n of e)r.push(this._compression.addEvent(n));this._compression.hasCheckout=n,this._compression.waitForCheckout=t,this._used=this._compression;try{await Promise.all(r),this._fallback.clear()}catch(e){}}}function nx(){try{return"sessionStorage"in d&&!!d.sessionStorage}catch{return!1}}function nP(e){return void 0!==e&&Math.random()e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)}function nH(e){return"transaction"===e.type}function nG(e){return"feedback"===e.type}function nV(e){return!!e.category}function nz(){let e=c.getCurrentScope().getPropagationContext().dsc;e&&delete e.replay_id;let n=c.getActiveSpan();if(n){let e=c.getDynamicSamplingContextFromSpan(n);delete e.replay_id}}function nW(e,n){return n.map(({type:n,start:t,end:r,name:o,data:i})=>{let a=e.throttledAddEvent({type:eB.Custom,timestamp:t,data:{tag:"performanceSpan",payload:{op:n,description:o,startTimestamp:t,endTimestamp:r,data:i}}});return"string"==typeof a?Promise.resolve(null):a})}function nK(e,n){var t;e.isEnabled()&&null!==n&&(t=n.name,c.isSentryRequestUrl(t,c.getClient())||e.addUpdate(()=>(nW(e,[n]),!0)))}function n$(e){if(!e)return;let n=new TextEncoder;try{if("string"==typeof e)return n.encode(e).length;if(e instanceof URLSearchParams)return n.encode(e.toString()).length;if(e instanceof FormData){let t=u.serializeFormData(e);return n.encode(t).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function nQ(e){if(!e)return;let n=parseInt(e,10);return isNaN(n)?void 0:n}function nY(e,n){if(!e)return{headers:{},size:void 0,_meta:{warnings:[n]}};let t={...e._meta},r=t.warnings||[];return t.warnings=[...r,n],e._meta=t,e}function nZ(e,n){if(!n)return null;let{startTimestamp:t,endTimestamp:r,url:o,method:i,statusCode:a,request:s,response:l}=n;return{type:e,start:t/1e3,end:r/1e3,name:o,data:{method:i,statusCode:a,request:s,response:l}}}function nJ(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function nX(e,n,t){if(!n&&0===Object.keys(e).length)return;if(!n)return{headers:e};if(!t)return{headers:e,size:n};let r={headers:e,size:n},{body:o,warnings:i}=function(e){if(!e||"string"!=typeof e)return{body:e};let n=e.length>15e4,t=function(e){let n=e[0],t=e[e.length-1];return"["===n&&"]"===t||"{"===n&&"}"===t}(e);if(n){let n=e.slice(0,15e4);return t?{body:n,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${n}…`,warnings:["TEXT_TRUNCATED"]}}if(t)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(t);return r.body=o,i?.length&&(r._meta={warnings:i}),r}function n0(e,n){return Object.entries(e).reduce((t,[r,o])=>{let i=r.toLowerCase();return n.includes(i)&&e[r]&&(t[i]=o),t},{})}function n1(e,n){let t=function(e,n=d.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(d.location.origin))return e;let t=new URL(e,n);if(t.origin!==new URL(n).origin)return e;let r=t.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}(e);return c.stringMatchesSomePattern(t,n)}async function n2(e,n,t){try{let r=await n3(e,n,t),o=nZ("resource.fetch",r);nK(t.replay,o)}catch(e){}}async function n3(e,n,t){let r=Date.now(),{startTimestamp:o=r,endTimestamp:i=r}=n,{url:a,method:s,status_code:l=0,request_body_size:c,response_body_size:d}=e.data,p=n1(a,t.networkDetailAllowUrls)&&!n1(a,t.networkDetailDenyUrls);return{startTimestamp:o,endTimestamp:i,url:a,method:s,statusCode:l,request:p?function({networkCaptureBodies:e,networkRequestHeaders:n},t,r){let o=t?1===t.length&&"string"!=typeof t[0]?n6(t[0],n):2===t.length?n6(t[1],n):{}:{};if(!e)return nX(o,r,void 0);let i=u.getFetchRequestArgBody(t),[a,s]=u.getBodyString(i,nk),l=nX(o,r,a);return s?nY(l,s):l}(t,n.input,c):nJ(c),response:await n4(p,t,n.response,d)}}async function n4(e,{networkCaptureBodies:n,networkResponseHeaders:t},r,o){if(!e&&void 0!==o)return nJ(o);let i=r?n9(r.headers,t):{};if(!r||!n&&void 0!==o)return nX(i,o,void 0);let[a,s]=await n5(r),l=function(e,{networkCaptureBodies:n,responseBodySize:t,captureDetails:r,headers:o}){try{let i=e?.length&&void 0===t?n$(e):t;if(!r)return nJ(i);if(n)return nX(o,i,e);return nX(o,i,void 0)}catch(e){return nX(o,t,void 0)}}(a,{networkCaptureBodies:n,responseBodySize:o,captureDetails:e,headers:i});return s?nY(l,s):l}async function n5(e){let n=function(e){try{return e.clone()}catch(e){}}(e);if(!n)return[void 0,"BODY_PARSE_ERROR"];try{return[await new Promise((e,t)=>{let r=u.setTimeout(()=>t(Error("Timeout while trying to read response body")),500);n8(n).then(n=>e(n),e=>t(e)).finally(()=>clearTimeout(r))})]}catch(e){if(e instanceof Error&&e.message.indexOf("Timeout")>-1)return[void 0,"BODY_PARSE_TIMEOUT"];return[void 0,"BODY_PARSE_ERROR"]}}function n9(e,n){let t={};return n.forEach(n=>{e.get(n)&&(t[n]=e.get(n))}),t}function n6(e,n){if(!e)return{};let t=e.headers;return t?t instanceof Headers?n9(t,n):Array.isArray(t)?{}:n0(t,n):{}}async function n8(e){return await e.text()}async function n7(e,n,t){try{let r=function(e,n,t){let r=Date.now(),{startTimestamp:o=r,endTimestamp:i=r,input:a,xhr:s}=n,{url:l,method:c,status_code:d=0,request_body_size:p,response_body_size:m}=e.data;if(!l)return null;if(!s||!n1(l,t.networkDetailAllowUrls)||n1(l,t.networkDetailDenyUrls)){let e=nJ(p);return{startTimestamp:o,endTimestamp:i,url:l,method:c,statusCode:d,request:e,response:nJ(m)}}let h=s[u.SENTRY_XHR_DATA_KEY],f=h?n0(h.request_headers,t.networkRequestHeaders):{},g=n0(u.parseXhrResponseHeaders(s),t.networkResponseHeaders),[_,y]=t.networkCaptureBodies?u.getBodyString(a,nk):[void 0],[v,b]=t.networkCaptureBodies?function(e){let n=[];try{return[e.responseText]}catch(e){n.push(e)}try{return function(e,n){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===n&&e&&"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(e){return[void 0,"BODY_PARSE_ERROR"]}return[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(e){n.push(e)}return[void 0]}(s):[void 0],C=nX(f,p,_),T=nX(g,m,v);return{startTimestamp:o,endTimestamp:i,url:l,method:c,statusCode:d,request:y?nY(C,y):C,response:b?nY(T,b):T}}(e,n,t),o=nZ("resource.xhr",r);nK(t.replay,o)}catch(e){}}async function te(e){try{return Promise.all(nW(e,[function(e){let{jsHeapSizeLimit:n,totalJSHeapSize:t,usedJSHeapSize:r}=e,o=Date.now()/1e3;return{type:"memory",name:"memory",start:o,end:o,data:{memory:{jsHeapSizeLimit:n,totalJSHeapSize:t,usedJSHeapSize:r}}}}(d.performance.memory)]))}catch{return[]}}let tn=c.GLOBAL_OBJ.navigator;async function tt({client:e,scope:n,replayId:t,event:r}){let o={event_id:t,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",r,o);let i=await c.prepareEvent(e.getOptions(),r,o,n,e,c.getIsolationScope());if(!i)return null;e.emit("postprocessEvent",i,o),i.platform=i.platform||"javascript";let a=e.getSdkMetadata(),{name:s,version:l,settings:u}=a?.sdk||{};return i.sdk={...i.sdk,name:s||"sentry.javascript.unknown",version:l||"0.0.0",settings:u},i}async function tr({recordingData:e,replayId:n,segmentId:t,eventContext:r,timestamp:o,session:i}){var a;let s;let l=function({recordingData:e,headers:n}){let t;let r=`${JSON.stringify(n)} `;if("string"==typeof e)t=`${r}${e}`;else{let n=new TextEncoder().encode(r);(t=new Uint8Array(n.length+e.length)).set(n),t.set(e,n.length)}return t}({recordingData:e,headers:{segment_id:t}}),{urls:u,errorIds:d,traceIds:p,initialTimestamp:h}=r,f=c.getClient(),g=c.getCurrentScope(),_=f?.getTransport(),y=f?.getDsn();if(!f||!_||!y||!i.sampled)return Promise.resolve({});let v={type:"replay_event",replay_start_timestamp:h/1e3,timestamp:o/1e3,error_ids:d,trace_ids:p,urls:u,replay_id:n,segment_id:t,replay_type:i.sampled},b=await tt({scope:g,client:f,replayId:n,event:v});if(!b)return f.recordDroppedEvent("event_processor","replay"),Promise.resolve({});delete b.sdkProcessingMetadata;let C=(a=f.getOptions().tunnel,c.createEnvelope(c.createEventEnvelopeHeaders(b,c.getSdkMetadataForEnvelopeHeader(b),a,y),[[{type:"replay_event"},b],[{type:"replay_recording",length:"string"==typeof l?new TextEncoder().encode(l).length:l.length},l]]));try{s=await _.send(C)}catch(n){let e=Error(m);try{e.cause=n}catch{}throw e}if("number"==typeof s.statusCode&&(s.statusCode<200||s.statusCode>=300))throw new to(s.statusCode);let T=c.updateRateLimits({},s);if(c.isRateLimited(T,"replay"))throw new ti(T);return s}class to extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class ti extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function ta(e,n={count:0,interval:5e3}){let{recordingData:t,onError:r}=e;if(t.length)try{return await tr(e),!0}catch(t){if(t instanceof to||t instanceof ti)throw t;if(c.setContext("Replays",{_retryCount:n.count}),r&&r(t),n.count>=3){let e=Error(`${m} - max retries exceeded`);try{e.cause=t}catch{}throw e}return n.interval*=++n.count,new Promise((t,r)=>{u.setTimeout(async()=>{try{await ta(e,n),t(!0)}catch(e){r(e)}},n.interval)})}}let ts="__THROTTLED";class tl{constructor({options:e,recordingOptions:n}){var t,r,o;this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=n,this._options=e,this._debouncedFlush=(t=()=>this._flush(),r=this._options.flushMinDelay,o={maxWait:this._options.flushMaxDelay},c.debounce(t,r,{...o,setTimeoutImpl:u.setTimeout})),this._throttledAddEvent=function(e,n,t){let r=new Map,o=e=>{let n=e-5;r.forEach((e,t)=>{t[...r.values()].reduce((e,n)=>e+n,0),a=!1;return(...n)=>{let t=Math.floor(Date.now()/1e3);if(o(t),i()>=300){let e=a;return a=!0,e?"__SKIPPED":ts}a=!1;let s=r.get(t)||0;return r.set(t,s+1),e(...n)}}((e,n)=>nF(this,e)?nq(this,e,n):Promise.resolve(null),0,0);let{slowClickTimeout:i,slowClickIgnoreSelectors:a}=this.getOptions(),s=i?{threshold:Math.min(3e3,i),timeout:i,scrollTimeout:300,ignoreSelector:a?a.join(","):""}:void 0;s&&(this.clickDetector=new ns(this,s)),this._handleVisibilityChange=()=>{"visible"===d.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{let e=nu({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{let e=nu({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{!function(e,n){if(!e.isEnabled())return;e.updateUserActivity();let t=function(e){var n;let{metaKey:t,shiftKey:r,ctrlKey:o,altKey:i,key:a,target:s}=e;if(!s||"INPUT"===(n=s).tagName||"TEXTAREA"===n.tagName||n.isContentEditable||!a)return null;let l=t||o||i,u=1===a.length;if(!l&&u)return null;let d=c.htmlTreeAsString(s,{maxStringLength:200})||"",p=nh(s,d);return nu({category:"ui.keyDown",message:d,data:{...p.data,metaKey:t,shiftKey:r,ctrlKey:o,altKey:i,key:a}})}(n);t&&nt(e,t)}(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){this._options.onError&&this._options.onError(e)}initializeSampling(e){let{errorSampleRate:n,sessionSampleRate:t}=this._options,r=n<=0&&t<=0;this._requiresManualStart=r,!r&&(this._initializeSessionForSampling(e),this.session)&&!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",this._initializeRecording())}start(){if(this._isEnabled&&"session"===this.recordingMode||this._isEnabled&&"buffer"===this.recordingMode)return;this._updateUserActivity();let e=nD({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode="session",this._initializeRecording()}startBuffering(){if(this._isEnabled)return;let e=nD({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{var e;let n;let t=this._canvas;this._stopRecording=e7({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:(e=this,n=!1,(t,r)=>{if(!e.checkAndHandleExpiredSession())return;let o=r||!n;n=!0,e.clickDetector&&function(e,n){try{if(3!==n.type)return;let{source:t}=n.data;if(na.has(t)&&e.registerMutation(n.timestamp),t===eN.Scroll&&e.registerScroll(n.timestamp),n.data.source===eN.MouseInteraction){let{type:t,id:r}=n.data,o=e7.mirror.getNode(r);o instanceof HTMLElement&&t===eO.Click&&e.registerClick(o)}}catch{}}(e.clickDetector,t),e.addUpdate(()=>{if("buffer"===e.recordingMode&&o&&e.setInitialState(),!nU(e,t,o))return!0;if(!o)return!1;let n=e.session;if(o&&e.session&&0===e.session.segmentId&&nU(e,function(e){let n=e.getOptions();return{type:eB.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:n.sessionSampleRate,errorSampleRate:n.errorSampleRate,useCompressionOption:n.useCompression,blockAllMedia:n.blockAllMedia,maskAllText:n.maskAllText,maskAllInputs:n.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:n.networkDetailAllowUrls.length>0,networkCaptureBodies:n.networkCaptureBodies,networkRequestHasHeaders:n.networkRequestHeaders.length>0,networkResponseHasHeaders:n.networkResponseHeaders.length>0}}}}(e),!1),"buffer"===e.recordingMode&&n&&e.eventBuffer&&!n.dirty){let t=e.eventBuffer.getEarliestTimestamp();t&&(n.started=t,e.getOptions().stickySession&&nB(n))}return!!n?.previousSessionId||("session"===e.recordingMode&&e.flush(),!0)})}),.../iPhone|iPad|iPod/i.test(tn?.userAgent??"")||/Macintosh/i.test(tn?.userAgent??"")&&tn?.maxTouchPoints&&tn?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...t?{recordCanvas:t.recordCanvas,getCanvasManager:t.getCanvasManager,sampling:t.sampling,dataURLOptions:t.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:n}={}){if(this._isEnabled){this._isEnabled=!1,this.recordingMode="buffer";try{nz(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,function(){if(nx())try{d.sessionStorage.removeItem(p)}catch{}}(),this.session=void 0}catch(e){this.handleException(e)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording())}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording())}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let n=Date.now();await this.flushImmediate();let t=this.stopRecording();e&&t&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(n),this._updateSessionActivity(n),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let n=e();"buffer"!==this.recordingMode&&this._isEnabled&&!0!==n&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(e){if(!e||this.session?.sampled!==!1)return this.session?.id}checkAndHandleExpiredSession(){if(this._lastActivity&&nL(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled){this.pause();return}return!!this._checkSession()}setInitialState(){let e=`${d.location.pathname}${d.location.hash}${d.location.search}`,n=`${d.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(e,n){let t=this._throttledAddEvent(e,n);if(t===ts){let e=nu({category:"replay.throttled"});this.addUpdate(()=>!nU(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return t}getCurrentRoute(){let e=this.lastActiveSpan||c.getActiveSpan(),n=e&&c.getRootSpan(e),t=(n&&c.spanToJSON(n).data||{})[c.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE];if(n&&t&&["route","custom"].includes(t))return c.spanToJSON(n).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:n}){if(e&&window.Worker){let e=function(e){try{let n=e||"";if(!n)return;let t=new Worker(n);return new nw(t)}catch(e){}}(n);if(e)return e}return new nR}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(e){let n=this._options.errorSampleRate>0,t=nD({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:n});this.session=t}_checkSession(){if(!this.session)return!1;let e=this.session;return!nj(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{d.document.addEventListener("visibilitychange",this._handleVisibilityChange),d.addEventListener("blur",this._handleWindowBlur),d.addEventListener("focus",this._handleWindowFocus),d.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(function(e){let n=c.getClient();u.addClickKeypressInstrumentationHandler(nm(e)),u.addHistoryInstrumentationHandler(n=>{if(!e.isEnabled())return;let t=function(e){let{from:n,to:t}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:t,data:{previous:n}}}(n);null!==t&&(e.getContext().urls.push(t.name),e.triggerUserActivity(),e.addUpdate(()=>(nW(e,[t]),!1)))}),function(e){let n=c.getClient();n&&n.on("beforeAddBreadcrumb",n=>(function(e,n){if(!e.isEnabled()||!nV(n))return;let t=!nV(n)||["fetch","xhr","sentry.event","sentry.transaction"].includes(n.category)||n.category.startsWith("ui.")?null:"console"===n.category?function(e){let n=e.data?.arguments;if(!Array.isArray(n)||0===n.length)return nu(e);let t=!1,r=n.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>5e3?(t=!0,`${e.slice(0,5e3)}…`):e;if("object"==typeof e)try{let n=c.normalize(e,7);if(JSON.stringify(n).length>5e3)return t=!0,`${JSON.stringify(n,null,2).slice(0,5e3)}…`;return n}catch{}return e});return nu({...e,data:{...e.data,arguments:r,...t?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(n):nu(n);t&&nt(e,t)})(e,n))}(e),function(e){let n=c.getClient();try{let{networkDetailAllowUrls:t,networkDetailDenyUrls:r,networkCaptureBodies:o,networkRequestHeaders:i,networkResponseHeaders:a}=e.getOptions(),s={replay:e,networkDetailAllowUrls:t,networkDetailDenyUrls:r,networkCaptureBodies:o,networkRequestHeaders:i,networkResponseHeaders:a};n&&n.on("beforeAddBreadcrumb",(e,n)=>(function(e,n,t){if(n.data)try{"xhr"===n.category&&t?.xhr&&(function(e,n){let{xhr:t,input:r}=n;if(!t)return;let o=n$(r),i=t.getResponseHeader("content-length")?nQ(t.getResponseHeader("content-length")):function(e,n){try{let t="json"===n&&e&&"object"==typeof e?JSON.stringify(e):e;return n$(t)}catch{return}}(t.response,t.responseType);void 0!==o&&(e.data.request_body_size=o),void 0!==i&&(e.data.response_body_size=i)}(n,t),n7(n,t,e)),"fetch"===n.category&&t?.response&&(function(e,n){let{input:t,response:r}=n,o=n$(t?u.getFetchRequestArgBody(t):void 0),i=r?nQ(r.headers.get("content-length")):void 0;void 0!==o&&(e.data.request_body_size=o),void 0!==i&&(e.data.response_body_size=i)}(n,t),n2(n,t,e))}catch(e){}})(s,e,n))}catch{}}(e);let t=Object.assign((n,t)=>{if(!e.isEnabled()||e.isPaused())return n;if("replay_event"===n.type)return delete n.breadcrumbs,n;if(n.type&&!nH(n)&&!nG(n))return n;if(!e.checkAndHandleExpiredSession())return nz(),n;if(nG(n))return e.flush(),n.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=>!n.timestamp||(e.throttledAddEvent({type:eB.Custom,timestamp:1e3*n.timestamp,data:{tag:"breadcrumb",payload:{timestamp:n.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:n.event_id}}}}),!1)),n;if(!n.type&&n.exception?.values?.length&&t.originalException?.__rrweb__&&!e.getOptions()._experiments.captureExceptions)return null;let r="buffer"===e.recordingMode&&n.message!==m&&!!n.exception&&!n.type&&nP(e.getOptions().errorSampleRate);if((r||"session"===e.recordingMode)&&(n.tags={...n.tags,replayId:e.getSessionId()}),r&&"buffer"===e.recordingMode&&e.session?.sampled==="buffer"){let n=e.session;n.dirty=!0,e.getOptions().stickySession&&nB(n)}return n},{id:"Replay"});c.addEventProcessor(t),n&&(n.on("beforeSendEvent",n=>{e.isEnabled()&&!n.type&&function(e,n){let t=n.exception?.values?.[0]?.value;"string"==typeof t&&(t.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||t.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&nt(e,nu({category:"replay.hydrate-error",data:{url:c.getLocationHref()}}))}(e,n)}),n.on("afterSendEvent",(n,t)=>{if(!e.isEnabled()||n.type&&!nH(n))return;let r=t.statusCode;if(r&&!(r<200)&&!(r>=300)){if(nH(n)){(function(e,n){let t=e.getContext();n.contexts?.trace?.trace_id&&t.traceIds.size<100&&t.traceIds.add(n.contexts.trace.trace_id)})(e,n);return}(function(e,n){let t=e.getContext();if(n.event_id&&t.errorIds.size<100&&t.errorIds.add(n.event_id),"buffer"!==e.recordingMode||!n.tags||!n.tags.replayId)return;let{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(n))&&u.setTimeout(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(n){e.handleException(n)}})})(e,n)}}),n.on("createDsc",n=>{let t=e.getSessionId();t&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(n.replay_id=t)}),n.on("spanStart",n=>{e.lastActiveSpan=n}),n.on("spanEnd",n=>{e.lastActiveSpan=n}),n.on("beforeSendFeedback",async(n,t)=>{let r=e.getSessionId();t?.includeReplay&&e.isEnabled()&&r&&n.contexts?.feedback&&("api"===n.contexts.feedback.source&&await e.sendBufferedReplayOrFlush(),n.contexts.feedback.replay_id=r)}),n.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=function(e){function n(n){e.performanceEntries.includes(n)||e.performanceEntries.push(n)}function t({entries:e}){e.forEach(n)}let r=[];return["navigation","paint","resource"].forEach(e=>{r.push(u.addPerformanceInstrumentationHandler(e,t))}),r.push(u.addLcpInstrumentationHandler(ng(nv,e)),u.addClsInstrumentationHandler(ng(nb,e)),u.addInpInstrumentationHandler(ng(nC,e))),()=>{r.forEach(e=>e())}}(this)}_removeListeners(){try{d.document.removeEventListener("visibilitychange",this._handleVisibilityChange),d.removeEventListener("blur",this._handleWindowBlur),d.removeEventListener("focus",this._handleWindowFocus),d.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){!this.session||nM(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){this.session&&this.checkAndHandleExpiredSession()&&e&&this._createCustomBreadcrumb(e)}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:eB.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(n_).filter(Boolean).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){let n=this._context.initialTimestamp/1e3;e=e.filter(e=>e.start>=n)}return Promise.all(nW(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:n}=this;if(!e||!n||this._requiresManualStart||e.segmentId)return;let t=n.getEarliestTimestamp();t&&tthis._options.maxReplayDuration+3e4)throw Error("Session is too long, not sending replay");let t=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();let o=await this.eventBuffer.finish();await ta({replayId:e,recordingData:o,segmentId:r,eventContext:t,session:this.session,timestamp:n,onError:e=>this.handleException(e)})}catch(n){this.handleException(n),this.stop({reason:"sendReplay"});let e=c.getClient();e&&e.recordDroppedEvent(n instanceof ti?"ratelimit_backoff":"send_error","replay")}}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e||!this.checkAndHandleExpiredSession()||!this.session)return;let n=this.session.started,t=Date.now()-n;this._debouncedFlush.cancel();let r=tthis._options.maxReplayDuration+5e3;if(r||o){r&&this._debouncedFlush();return}let i=this.eventBuffer;i&&0===this.session.segmentId&&i.hasCheckout;let a=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,a&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&nB(this.session)}_onMutationHandler(e){let{ignoreMutations:n}=this._options._experiments;if(n?.length&&e.some(e=>{let t=function(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}(e.target),r=n.join(",");return t?.matches(r)}))return!1;let t=e.length,r=this._options.mutationLimit,o=this._options.mutationBreadcrumbLimit,i=r&&t>r;if(t>o||i){let e=nu({category:"replay.mutations",data:{count:t,limit:i}});this._createCustomBreadcrumb(e)}return!i||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function tc(e,n){return[...e,...n].join(",")}let tu='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',td=["content-length","content-type","accept"],tp=Symbol.for("sentry__originalRequestBody"),tm=!1,th=!1;class tf{constructor({flushMinDelay:e=5e3,flushMaxDelay:n=5500,minReplayDuration:t=4999,maxReplayDuration:r=36e5,stickySession:o=!0,useCompression:i=!0,workerUrl:a,_experiments:s={},maskAllText:l=!0,maskAllInputs:u=!0,blockAllMedia:d=!0,mutationBreadcrumbLimit:p=750,mutationLimit:m=1e4,slowClickTimeout:h=7e3,slowClickIgnoreSelectors:f=[],networkDetailAllowUrls:g=[],networkDetailDenyUrls:_=[],networkCaptureBodies:y=!0,networkRequestHeaders:v=[],networkResponseHeaders:b=[],mask:C=[],maskAttributes:T=["title","placeholder","aria-label"],unmask:S=[],block:k=[],unblock:E=[],ignore:R=[],maskFn:I,beforeAddRecordingEvent:A,beforeErrorSampling:w,onError:x,attachRawBodyFromRequest:P=!1}={}){this.name="Replay";let B=function({mask:e,unmask:n,block:t,unblock:r,ignore:o}){return{maskTextSelector:tc(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:tc(n,[]),blockSelector:tc(t,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not([src])"]),unblockSelector:tc(r,[]),ignoreSelector:tc(o,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:C,unmask:S,block:k,unblock:E,ignore:R});if(this._recordingOptions={maskAllInputs:u,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:I,maskInputFn:I,maskAttributeFn:(e,n,t)=>(function({el:e,key:n,maskAttributes:t,maskAllText:r,privacyOptions:o,value:i}){return!r||o.unmaskTextSelector&&e.matches(o.unmaskTextSelector)?i:t.includes(n)||"value"===n&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?i.replace(/[\S]/g,"*"):i})({maskAttributes:T,maskAllText:l,privacyOptions:B,key:e,value:n,el:t}),...B,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!s.recordCrossOriginIframes},this._initialOptions={flushMinDelay:e,flushMaxDelay:n,minReplayDuration:Math.min(t,5e4),maxReplayDuration:Math.min(r,36e5),stickySession:o,useCompression:i,workerUrl:a,blockAllMedia:d,maskAllInputs:u,maskAllText:l,mutationBreadcrumbLimit:p,mutationLimit:m,slowClickTimeout:h,slowClickIgnoreSelectors:f,networkDetailAllowUrls:g,networkDetailDenyUrls:_,networkCaptureBodies:y,networkRequestHeaders:tg(v),networkResponseHeaders:tg(b),beforeAddRecordingEvent:A,beforeErrorSampling:w,onError:x,attachRawBodyFromRequest:P,_experiments:s},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${tu}`:tu,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&c.isBrowser())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return tm}set _isInitialized(e){tm=e}afterAllSetup(e){c.isBrowser()&&!this._replay&&(this._initialOptions.attachRawBodyFromRequest&&function(){if("undefined"==typeof Request||th)return;let e=Request;try{let n=function(n,t){let r=new e(n,t);return t?.body!=null&&(r[tp]=t.body),r};n.prototype=e.prototype,c.GLOBAL_OBJ.Request=n,th=!0}catch{}}(),this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(e){if(this._replay?.isEnabled())return this._replay.getSessionId(e)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){let n=function(e,n){let t=n.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...e},o=c.parseSampleRate(t.replaysSessionSampleRate),i=c.parseSampleRate(t.replaysOnErrorSampleRate);return null==o&&null==i&&c.consoleSandbox(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=o&&(r.sessionSampleRate=o),null!=i&&(r.errorSampleRate=i),r}(this._initialOptions,e);this._replay=new tl({options:n,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let n=e.getIntegrationByName("ReplayCanvas");if(!n)return;this._replay._canvas=n.getOptions()}catch{}}}function tg(e){return[...td,...e.map(e=>e.toLowerCase())]}n.getReplay=function(){let e=c.getClient();return e?.getIntegrationByName("Replay")},n.replayIntegration=e=>new tf(e)},26714:function(e,n){"use strict";n.byteLength=function(e){var n=l(e),t=n[0],r=n[1];return(t+r)*3/4-r},n.toByteArray=function(e){var n,t,i=l(e),a=i[0],s=i[1],c=new o((a+s)*3/4-s),u=0,d=s>0?a-4:a;for(t=0;t>16&255,c[u++]=n>>8&255,c[u++]=255&n;return 2===s&&(n=r[e.charCodeAt(t)]<<2|r[e.charCodeAt(t+1)]>>4,c[u++]=255&n),1===s&&(n=r[e.charCodeAt(t)]<<10|r[e.charCodeAt(t+1)]<<4|r[e.charCodeAt(t+2)]>>2,c[u++]=n>>8&255,c[u++]=255&n),c},n.fromByteArray=function(e){for(var n,r=e.length,o=r%3,i=[],a=0,s=r-o;a>18&63]+t[o>>12&63]+t[o>>6&63]+t[63&o]);return i.join("")}(e,a,a+16383>s?s:a+16383));return 1===o?i.push(t[(n=e[r-1])>>2]+t[n<<4&63]+"=="):2===o&&i.push(t[(n=(e[r-2]<<8)+e[r-1])>>10]+t[n>>4&63]+t[n<<2&63]+"="),i.join("")};for(var t=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");-1===t&&(t=n);var r=t===n?0:4-t%4;return[t,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},93924:function(e,n,t){"use strict";let r=t(26714),o=t(57004),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let n=new Uint8Array(e);return Object.setPrototypeOf(n,s.prototype),n}function s(e,n,t){if("number"==typeof e){if("string"==typeof n)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,n,t)}function l(e,n,t){if("string"==typeof e)return function(e,n){if(("string"!=typeof n||""===n)&&(n="utf8"),!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);let t=0|h(e,n),r=a(t),o=r.write(e,n);return o!==t&&(r=r.slice(0,o)),r}(e,n);if(ArrayBuffer.isView(e))return function(e){if(j(e,Uint8Array)){let n=new Uint8Array(e);return p(n.buffer,n.byteOffset,n.byteLength)}return d(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(j(e,ArrayBuffer)||e&&j(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(j(e,SharedArrayBuffer)||e&&j(e.buffer,SharedArrayBuffer)))return p(e,n,t);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,n,t);let o=function(e){var n;if(s.isBuffer(e)){let n=0|m(e.length),t=a(n);return 0===t.length||e.copy(t,0,0,n),t}return void 0!==e.length?"number"!=typeof e.length||(n=e.length)!=n?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),n,t);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),a(e<0?0:0|m(e))}function d(e){let n=e.length<0?0:0|m(e.length),t=a(n);for(let r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,n){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||j(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let t=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===t)return 0;let o=!1;for(;;)switch(n){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return O(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return L(e).length;default:if(o)return r?-1:O(e).length;n=(""+n).toLowerCase(),o=!0}}function f(e,n,t){let o=!1;if((void 0===n||n<0)&&(n=0),n>this.length||((void 0===t||t>this.length)&&(t=this.length),t<=0||(t>>>=0)<=(n>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,n,t){let r=e.length;(!n||n<0)&&(n=0),(!t||t<0||t>r)&&(t=r);let o="";for(let r=n;r2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),(i=t=+t)!=i&&(t=o?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(o)return -1;t=e.length-1}else if(t<0){if(!o)return -1;t=0}if("string"==typeof n&&(n=s.from(n,r)),s.isBuffer(n))return 0===n.length?-1:y(e,n,t,r,o);if("number"==typeof n)return(n&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,n,t):Uint8Array.prototype.lastIndexOf.call(e,n,t):y(e,[n],t,r,o);throw TypeError("val must be string, number or Buffer")}function y(e,n,t,r,o){let i,a=1,s=e.length,l=n.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||n.length<2)return -1;a=2,s/=2,l/=2,t/=2}function c(e,n){return 1===a?e[n]:e.readUInt16BE(n*a)}if(o){let r=-1;for(i=t;is&&(t=s-l),i=t;i>=0;i--){let t=!0;for(let r=0;r239?4:n>223?3:n>191?2:1;if(o+a<=t){let t,r,s,l;switch(a){case 1:n<128&&(i=n);break;case 2:(192&(t=e[o+1]))==128&&(l=(31&n)<<6|63&t)>127&&(i=l);break;case 3:t=e[o+1],r=e[o+2],(192&t)==128&&(192&r)==128&&(l=(15&n)<<12|(63&t)<<6|63&r)>2047&&(l<55296||l>57343)&&(i=l);break;case 4:t=e[o+1],r=e[o+2],s=e[o+3],(192&t)==128&&(192&r)==128&&(192&s)==128&&(l=(15&n)<<18|(63&t)<<12|(63&r)<<6|63&s)>65535&&l<1114112&&(i=l)}}null===i?(i=65533,a=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=a}return function(e){let n=e.length;if(n<=4096)return String.fromCharCode.apply(String,e);let t="",r=0;for(;rt)throw RangeError("Trying to access beyond buffer length")}function C(e,n,t,r,o,i){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(n>o||ne.length)throw RangeError("Index out of range")}function T(e,n,t,r,o){x(n,r,o,e,t,7);let i=Number(n&BigInt(4294967295));e[t++]=i,i>>=8,e[t++]=i,i>>=8,e[t++]=i,i>>=8,e[t++]=i;let a=Number(n>>BigInt(32)&BigInt(4294967295));return e[t++]=a,a>>=8,e[t++]=a,a>>=8,e[t++]=a,a>>=8,e[t++]=a,t}function S(e,n,t,r,o){x(n,r,o,e,t,7);let i=Number(n&BigInt(4294967295));e[t+7]=i,i>>=8,e[t+6]=i,i>>=8,e[t+5]=i,i>>=8,e[t+4]=i;let a=Number(n>>BigInt(32)&BigInt(4294967295));return e[t+3]=a,a>>=8,e[t+2]=a,a>>=8,e[t+1]=a,a>>=8,e[t]=a,t+8}function k(e,n,t,r,o,i){if(t+r>e.length||t<0)throw RangeError("Index out of range")}function E(e,n,t,r,i){return n=+n,t>>>=0,i||k(e,n,t,4,34028234663852886e22,-34028234663852886e22),o.write(e,n,t,r,23,4),t+4}function R(e,n,t,r,i){return n=+n,t>>>=0,i||k(e,n,t,8,17976931348623157e292,-17976931348623157e292),o.write(e,n,t,r,52,8),t+8}n.Buffer=s,n.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},n.INSPECT_MAX_BYTES=50,n.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),n={foo:function(){return 42}};return Object.setPrototypeOf(n,Uint8Array.prototype),Object.setPrototypeOf(e,n),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,n,t){return l(e,n,t)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,n,t){return(c(e),e<=0)?a(e):void 0!==n?"string"==typeof t?a(e).fill(n,t):a(e).fill(n):a(e)},s.allocUnsafe=function(e){return u(e)},s.allocUnsafeSlow=function(e){return u(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,n){if(j(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),j(n,Uint8Array)&&(n=s.from(n,n.offset,n.byteLength)),!s.isBuffer(e)||!s.isBuffer(n))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===n)return 0;let t=e.length,r=n.length;for(let o=0,i=Math.min(t,r);or.length?(s.isBuffer(n)||(n=s.from(n)),n.copy(r,o)):Uint8Array.prototype.set.call(r,n,o);else if(s.isBuffer(n))n.copy(r,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=n.length}return r},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let n=0;nt&&(e+=" ... "),""},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(e,n,t,r,o){if(j(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===n&&(n=0),void 0===t&&(t=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),n<0||t>e.length||r<0||o>this.length)throw RangeError("out of range index");if(r>=o&&n>=t)return 0;if(r>=o)return -1;if(n>=t)return 1;if(n>>>=0,t>>>=0,r>>>=0,o>>>=0,this===e)return 0;let i=o-r,a=t-n,l=Math.min(i,a),c=this.slice(r,o),u=e.slice(n,t);for(let e=0;e>>=0,isFinite(t)?(t>>>=0,void 0===r&&(r="utf8")):(r=t,t=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let p=this.length-n;if((void 0===t||t>p)&&(t=p),e.length>0&&(t<0||n<0)||n>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let m=!1;for(;;)switch(r){case"hex":return function(e,n,t,r){let o;t=Number(t)||0;let i=e.length-t;r?(r=Number(r))>i&&(r=i):r=i;let a=n.length;for(r>a/2&&(r=a/2),o=0;o>8,o.push(t%256),o.push(r);return o}(e,this.length-u),this,u,d);default:if(m)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),m=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,n){let t=this.length;e=~~e,n=void 0===n?t:~~n,e<0?(e+=t)<0&&(e=0):e>t&&(e=t),n<0?(n+=t)<0&&(n=0):n>t&&(n=t),n>>=0,n>>>=0,t||b(e,n,this.length);let r=this[e],o=1,i=0;for(;++i>>=0,n>>>=0,t||b(e,n,this.length);let r=this[e+--n],o=1;for(;n>0&&(o*=256);)r+=this[e+--n]*o;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,n){return e>>>=0,n||b(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,n){return e>>>=0,n||b(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,n){return e>>>=0,n||b(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,n){return e>>>=0,n||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,n){return e>>>=0,n||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=U(function(e){P(e>>>=0,"offset");let n=this[e],t=this[e+7];(void 0===n||void 0===t)&&B(e,this.length-8);let r=n+256*this[++e]+65536*this[++e]+16777216*this[++e],o=this[++e]+256*this[++e]+65536*this[++e]+16777216*t;return BigInt(r)+(BigInt(o)<>>=0,"offset");let n=this[e],t=this[e+7];(void 0===n||void 0===t)&&B(e,this.length-8);let r=16777216*n+65536*this[++e]+256*this[++e]+this[++e],o=16777216*this[++e]+65536*this[++e]+256*this[++e]+t;return(BigInt(r)<>>=0,n>>>=0,t||b(e,n,this.length);let r=this[e],o=1,i=0;for(;++i=(o*=128)&&(r-=Math.pow(2,8*n)),r},s.prototype.readIntBE=function(e,n,t){e>>>=0,n>>>=0,t||b(e,n,this.length);let r=n,o=1,i=this[e+--r];for(;r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*n)),i},s.prototype.readInt8=function(e,n){return(e>>>=0,n||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,n){e>>>=0,n||b(e,2,this.length);let t=this[e]|this[e+1]<<8;return 32768&t?4294901760|t:t},s.prototype.readInt16BE=function(e,n){e>>>=0,n||b(e,2,this.length);let t=this[e+1]|this[e]<<8;return 32768&t?4294901760|t:t},s.prototype.readInt32LE=function(e,n){return e>>>=0,n||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,n){return e>>>=0,n||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=U(function(e){P(e>>>=0,"offset");let n=this[e],t=this[e+7];return(void 0===n||void 0===t)&&B(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(t<<24))<>>=0,"offset");let n=this[e],t=this[e+7];return(void 0===n||void 0===t)&&B(e,this.length-8),(BigInt((n<<24)+65536*this[++e]+256*this[++e]+this[++e])<>>=0,n||b(e,4,this.length),o.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,n){return e>>>=0,n||b(e,4,this.length),o.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,n){return e>>>=0,n||b(e,8,this.length),o.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,n){return e>>>=0,n||b(e,8,this.length),o.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,n,t,r){if(e=+e,n>>>=0,t>>>=0,!r){let r=Math.pow(2,8*t)-1;C(this,e,n,t,r,0)}let o=1,i=0;for(this[n]=255&e;++i>>=0,t>>>=0,!r){let r=Math.pow(2,8*t)-1;C(this,e,n,t,r,0)}let o=t-1,i=1;for(this[n+o]=255&e;--o>=0&&(i*=256);)this[n+o]=e/i&255;return n+t},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,1,255,0),this[n]=255&e,n+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,2,65535,0),this[n]=255&e,this[n+1]=e>>>8,n+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,2,65535,0),this[n]=e>>>8,this[n+1]=255&e,n+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,4,4294967295,0),this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=255&e,n+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,4,4294967295,0),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e,n+4},s.prototype.writeBigUInt64LE=U(function(e,n=0){return T(this,e,n,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=U(function(e,n=0){return S(this,e,n,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(e,n,t,r){if(e=+e,n>>>=0,!r){let r=Math.pow(2,8*t-1);C(this,e,n,t,r-1,-r)}let o=0,i=1,a=0;for(this[n]=255&e;++o>0)-a&255;return n+t},s.prototype.writeIntBE=function(e,n,t,r){if(e=+e,n>>>=0,!r){let r=Math.pow(2,8*t-1);C(this,e,n,t,r-1,-r)}let o=t-1,i=1,a=0;for(this[n+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[n+o+1]&&(a=1),this[n+o]=(e/i>>0)-a&255;return n+t},s.prototype.writeInt8=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,1,127,-128),e<0&&(e=255+e+1),this[n]=255&e,n+1},s.prototype.writeInt16LE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,2,32767,-32768),this[n]=255&e,this[n+1]=e>>>8,n+2},s.prototype.writeInt16BE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,2,32767,-32768),this[n]=e>>>8,this[n+1]=255&e,n+2},s.prototype.writeInt32LE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,4,2147483647,-2147483648),this[n]=255&e,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24,n+4},s.prototype.writeInt32BE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e,n+4},s.prototype.writeBigInt64LE=U(function(e,n=0){return T(this,e,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=U(function(e,n=0){return S(this,e,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(e,n,t){return E(this,e,n,!0,t)},s.prototype.writeFloatBE=function(e,n,t){return E(this,e,n,!1,t)},s.prototype.writeDoubleLE=function(e,n,t){return R(this,e,n,!0,t)},s.prototype.writeDoubleBE=function(e,n,t){return R(this,e,n,!1,t)},s.prototype.copy=function(e,n,t,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(t||(t=0),r||0===r||(r=this.length),n>=e.length&&(n=e.length),n||(n=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-n>>=0,t=void 0===t?this.length:t>>>0,e||(e=0),"number"==typeof e)for(o=n;o=r+4;t-=3)n=`_${e.slice(t-3,t)}${n}`;return`${e.slice(0,t)}${n}`}function x(e,n,t,r,o,i){if(e>t||e3?0===n||n===BigInt(0)?`>= 0${o} and < 2${o} ** ${(i+1)*8}${o}`:`>= -(2${o} ** ${(i+1)*8-1}${o}) and < 2 ** ${(i+1)*8-1}${o}`:`>= ${n}${o} and <= ${t}${o}`,new I.ERR_OUT_OF_RANGE("value",r,e)}P(o,"offset"),(void 0===r[o]||void 0===r[o+i])&&B(o,r.length-(i+1))}function P(e,n){if("number"!=typeof e)throw new I.ERR_INVALID_ARG_TYPE(n,"number",e)}function B(e,n,t){if(Math.floor(e)!==e)throw P(e,t),new I.ERR_OUT_OF_RANGE(t||"offset","an integer",e);if(n<0)throw new I.ERR_BUFFER_OUT_OF_BOUNDS;throw new I.ERR_OUT_OF_RANGE(t||"offset",`>= ${t?1:0} and <= ${n}`,e)}A("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),A("ERR_INVALID_ARG_TYPE",function(e,n){return`The "${e}" argument must be of type number. Received type ${typeof n}`},TypeError),A("ERR_OUT_OF_RANGE",function(e,n,t){let r=`The value of "${e}" is out of range.`,o=t;return Number.isInteger(t)&&Math.abs(t)>4294967296?o=w(String(t)):"bigint"==typeof t&&(o=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(o=w(o)),o+="n"),r+=` It must be ${n}. Received ${o}`},RangeError);let N=/[^+/0-9A-Za-z-_]/g;function O(e,n){let t;n=n||1/0;let r=e.length,o=null,i=[];for(let a=0;a55295&&t<57344){if(!o){if(t>56319||a+1===r){(n-=3)>-1&&i.push(239,191,189);continue}o=t;continue}if(t<56320){(n-=3)>-1&&i.push(239,191,189),o=t;continue}t=(o-55296<<10|t-56320)+65536}else o&&(n-=3)>-1&&i.push(239,191,189);if(o=null,t<128){if((n-=1)<0)break;i.push(t)}else if(t<2048){if((n-=2)<0)break;i.push(t>>6|192,63&t|128)}else if(t<65536){if((n-=3)<0)break;i.push(t>>12|224,t>>6&63|128,63&t|128)}else if(t<1114112){if((n-=4)<0)break;i.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}else throw Error("Invalid code point")}return i}function L(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function M(e,n,t,r){let o;for(o=0;o=n.length)&&!(o>=e.length);++o)n[o+t]=e[o];return o}function j(e,n){return e instanceof n||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===n.name}let D=function(){let e="0123456789abcdef",n=Array(256);for(let t=0;t<16;++t){let r=16*t;for(let o=0;o<16;++o)n[r+o]=e[t]+e[o]}return n}();function U(e){return"undefined"==typeof BigInt?q:e}function q(){throw Error("BigInt not supported")}},41792:function(e,n,t){"use strict";var r=t(67909),o=t(89214),i=t(775),a=t(91037);e.exports=a||r.call(i,o)},23738:function(e,n,t){"use strict";var r=t(67909),o=t(89214),i=t(41792);e.exports=function(){return i(r,o,arguments)}},89214:function(e){"use strict";e.exports=Function.prototype.apply},775:function(e){"use strict";e.exports=Function.prototype.call},87201:function(e,n,t){"use strict";var r=t(67909),o=t(64617),i=t(775),a=t(41792);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return a(r,i,e)}},91037:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},55829:function(e,n,t){"use strict";var r=t(91826),o=t(39042),i=t(87201),a=t(23738);e.exports=function(e){var n=i(arguments),t=e.length-(arguments.length-1);return r(n,1+(t>0?t:0),!0)},o?o(e.exports,"apply",{value:a}):e.exports.apply=a},24959:function(e,n,t){"use strict";var r=t(53622),o=t(87201),i=o([r("%String.prototype.indexOf%")]);e.exports=function(e,n){var t=r(e,!!n);return"function"==typeof t&&i(e,".prototype.")>-1?o([t]):t}},68671:function(e,n,t){"use strict";var r=t(39042),o=t(29626),i=t(64617),a=t(96407);e.exports=function(e,n,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof n&&"symbol"!=typeof n)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!a&&a(e,n);if(r)r(e,n,{configurable:null===c&&d?d.configurable:!c,enumerable:null===s&&d?d.enumerable:!s,value:t,writable:null===l&&d?d.writable:!l});else if(!u&&(s||l||c))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[n]=t}},68904:function(e,n){"use strict";var t,r;Object.defineProperty(n,"__esModule",{value:!0}),n.Doctype=n.CDATA=n.Tag=n.Style=n.Script=n.Comment=n.Directive=n.Text=n.Root=n.isTag=n.ElementType=void 0,(r=t=n.ElementType||(n.ElementType={})).Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype",n.isTag=function(e){return e.type===t.Tag||e.type===t.Script||e.type===t.Style},n.Root=t.Root,n.Text=t.Text,n.Directive=t.Directive,n.Comment=t.Comment,n.Script=t.Script,n.Style=t.Style,n.Tag=t.Tag,n.CDATA=t.CDATA,n.Doctype=t.Doctype},65522:function(e,n,t){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,n,t,r){void 0===r&&(r=t);var o=Object.getOwnPropertyDescriptor(n,t);(!o||("get"in o?!n.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return n[t]}}),Object.defineProperty(e,r,o)}:function(e,n,t,r){void 0===r&&(r=t),e[r]=n[t]}),o=this&&this.__exportStar||function(e,n){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(n,t)||r(n,e,t)};Object.defineProperty(n,"__esModule",{value:!0}),n.DomHandler=void 0;var i=t(68904),a=t(84809);o(t(84809),n);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,n,t){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof n&&(t=n,n=s),"object"==typeof e&&(n=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=n?n:s,this.elementCB=null!=t?t:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,n){var t=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,n,void 0,t);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var n=this.lastNode;if(n&&n.type===i.ElementType.Text)n.data+=e,this.options.withEndIndices&&(n.endIndex=this.parser.endIndex);else{var t=new a.Text(e);this.addNode(t),this.lastNode=t}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment){this.lastNode.data+=e;return}var n=new a.Comment(e);this.addNode(n),this.lastNode=n},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),n=new a.CDATA([e]);this.addNode(n),e.parent=n,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,n){var t=new a.ProcessingInstruction(e,n);this.addNode(t)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var n=this.tagStack[this.tagStack.length-1],t=n.children[n.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),n.children.push(e),t&&(e.prev=t,t.next=e),e.parent=n,this.lastNode=null},e}();n.DomHandler=l,n.default=l},84809:function(e,n,t){"use strict";var r,o=this&&this.__extends||(r=function(e,n){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])})(e,n)},function(e,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}r(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),n}(s);n.NodeWithChildren=p;var m=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=a.ElementType.CDATA,n}return o(n,e),Object.defineProperty(n.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),n}(p);n.CDATA=m;var h=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=a.ElementType.Root,n}return o(n,e),Object.defineProperty(n.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),n}(p);n.Document=h;var f=function(e){function n(n,t,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===n?a.ElementType.Script:"style"===n?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,r)||this;return i.name=n,i.attribs=t,i.type=o,i}return o(n,e),Object.defineProperty(n.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(n){var t,r;return{name:n,value:e.attribs[n],namespace:null===(t=e["x-attribsNamespace"])||void 0===t?void 0:t[n],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[n]}})},enumerable:!1,configurable:!0}),n}(p);function g(e){return(0,a.isTag)(e)}function _(e){return e.type===a.ElementType.CDATA}function y(e){return e.type===a.ElementType.Text}function v(e){return e.type===a.ElementType.Comment}function b(e){return e.type===a.ElementType.Directive}function C(e){return e.type===a.ElementType.Root}function T(e,n){if(void 0===n&&(n=!1),y(e))t=new c(e.data);else if(v(e))t=new u(e.data);else if(g(e)){var t,r=n?S(e.children):[],o=new f(e.name,i({},e.attribs),r);r.forEach(function(e){return e.parent=o}),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),t=o}else if(_(e)){var r=n?S(e.children):[],a=new m(r);r.forEach(function(e){return e.parent=a}),t=a}else if(C(e)){var r=n?S(e.children):[],s=new h(r);r.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),t=s}else if(b(e)){var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),t=l}else throw Error("Not implemented yet: ".concat(e.type));return t.startIndex=e.startIndex,t.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(t.sourceCodeLocation=e.sourceCodeLocation),t}function S(e){for(var n=e.map(function(e){return T(e,!0)}),t=1;t{let n=e.method;return n&&({GET:" -X GET",POST:" -X POST",PUT:" -X PUT",PATCH:" -X PATCH",DELETE:" -X DELETE",HEAD:" -X HEAD",OPTIONS:" -X OPTIONS"})[n.toUpperCase()]||""},r=e=>"function"==typeof Headers&&e instanceof Headers,o=(e,n)=>` -H "${e}: ${`${n}`.replace(/(\\|")/g,"\\$1")}"`,i=(e={})=>{let{headers:n}=e,t=!1,i="";return r(n)?n.forEach((e,n)=>{"content-length"!==n.toLocaleLowerCase()&&(i+=o(n,e)),"accept-encoding"===n.toLocaleLowerCase()&&(t=!0)}):n&&Object.keys(n).map(e=>{"content-length"!==e.toLocaleLowerCase()&&(i+=o(e,n[e])),"accept-encoding"===e.toLocaleLowerCase()&&(t=!0)}),{params:i,isEncode:t}};function a(e){return"string"==typeof e?e.replace(/'/g,"'\\''"):e}n.ZP=(e,n)=>{let r,o;"string"==typeof e||e instanceof URL?(r=e,o=n||{}):(r=(e||{}).url,o=e||{});let{body:s}=o,l=i(o);return`curl '${r}'${t(o)}${l.params||""}${s?"object"==typeof s?` --data-binary '${a(JSON.stringify(s))}'`:` --data-binary '${a(s)}'`:""}${l.isEncode?" --compressed":""}`}},99962:function(e,n,t){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(o=function(){return!!e})()}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,n){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e})(e,n)}function s(e){var n=function(e,n){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,n||"default");if("object"!=r(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==r(n)?n:n+""}var l,c,u=t(66123),d=t(97660).createFocusTrap,p=t(42178).isFocusable,m=parseInt(null!==(l=null===(c=/^(\d+)\./.exec(u.version))||void 0===c?void 0:c[1])&&void 0!==l?l:0,10),h=function(e){var n;function t(e){!function(e,n){if(!(e instanceof n))throw TypeError("Cannot call a class as a function")}(this,t),n=t,a=[e],n=i(n),l=d=function(e,n){if(n&&("object"==r(n)||"function"==typeof n))return n;if(void 0!==n)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,o()?Reflect.construct(n,a||[],i(this).constructor):n.apply(this,a)),c="getNodeForOption",u=function(e){var n,t,r=null!==(n=this.internalOptions[e])&&void 0!==n?n:this.originalOptions[e];if("function"==typeof r){for(var o=arguments.length,i=Array(o>1?o-1:0),a=1;a element.");return u.cloneElement(n,{ref:function(t){var r=e.props.containerElements;n&&(m>=19?"function"==typeof n.props.ref?n.props.ref(t):n.props.ref&&(n.props.ref.current=t):"function"==typeof n.ref?n.ref(t):n.ref&&(n.ref.current=t)),e.focusTrapElements=r||[t]}})}return null}}],function(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);t0){var t=e[e.length-1];t!==n&&t.pause()}var r=e.indexOf(n);-1===r||e.splice(r,1),e.push(n)},l=function(e,n){var t=e.indexOf(n);-1!==t&&e.splice(t,1),e.length>0&&e[e.length-1].unpause()},c=function(e){return(null==e?void 0:e.key)==="Tab"||(null==e?void 0:e.keyCode)===9},u=function(e){return c(e)&&!e.shiftKey},d=function(e){return c(e)&&e.shiftKey},p=function(e){return setTimeout(e,0)},m=function(e){for(var n=arguments.length,t=Array(n>1?n-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{},r=t.hasFallback,a=t.params,s=_[e];if("function"==typeof s&&(s=s.apply(void 0,function(e){if(Array.isArray(e))return o(e)}(n=void 0===a?[]:a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,n){if(e){if("string"==typeof e)return o(e,void 0);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,void 0):void 0}}(n)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),!0===s&&(s=void 0),!s){if(void 0===s||!1===s)return s;throw Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=s;if("string"==typeof s){try{l=i.querySelector(s)}catch(n){throw Error("`".concat(e,'` appears to be an invalid selector; error="').concat(n.message,'"'))}if(!l&&!(void 0!==r&&r))throw Error("`".concat(e,"` as selector refers to no known node"))}return l},T=function(){var e=C("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!(0,r.isFocusable)(e,_.tabbableOptions)){if(b(i.activeElement)>=0)e=i.activeElement;else{var n=y.tabbableGroups[0];e=n&&n.firstTabbableNode||C("fallbackFocus")}}else null===e&&(e=C("fallbackFocus"));if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},S=function(){if(y.containerGroups=y.containers.map(function(e){var n=(0,r.tabbable)(e,_.tabbableOptions),t=(0,r.focusable)(e,_.tabbableOptions),o=n.length>0?n[0]:void 0,i=n.length>0?n[n.length-1]:void 0,a=t.find(function(e){return(0,r.isTabbable)(e)}),s=t.slice().reverse().find(function(e){return(0,r.isTabbable)(e)}),l=!!n.find(function(e){return(0,r.getTabIndex)(e)>0});return{container:e,tabbableNodes:n,focusableNodes:t,posTabIndexesFound:l,firstTabbableNode:o,lastTabbableNode:i,firstDomTabbableNode:a,lastDomTabbableNode:s,nextTabbableNode:function(e){var o=!(arguments.length>1)||void 0===arguments[1]||arguments[1],i=n.indexOf(e);return i<0?o?t.slice(t.indexOf(e)+1).find(function(e){return(0,r.isTabbable)(e)}):t.slice(0,t.indexOf(e)).reverse().find(function(e){return(0,r.isTabbable)(e)}):n[i+(o?1:-1)]}}}),y.tabbableGroups=y.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),y.tabbableGroups.length<=0&&!C("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(y.containerGroups.find(function(e){return e.posTabIndexesFound})&&y.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},k=function(e){var n=e.activeElement;return n?n.shadowRoot&&null!==n.shadowRoot.activeElement?k(n.shadowRoot):n:void 0},E=function(e){if(!1!==e&&e!==k(document)){if(!e||!e.focus){E(T());return}e.focus({preventScroll:!!_.preventScroll}),y.mostRecentlyFocusedNode=e,e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select&&e.select()}},R=function(e){var n=C("setReturnFocus",{params:[e]});return n||!1!==n&&e},I=function(e){var n=e.target,t=e.event,o=e.isBackward,i=void 0!==o&&o;n=n||h(t),S();var a=null;if(y.tabbableGroups.length>0){var s=b(n,t),l=s>=0?y.containerGroups[s]:void 0;if(s<0)a=i?y.tabbableGroups[y.tabbableGroups.length-1].lastTabbableNode:y.tabbableGroups[0].firstTabbableNode;else if(i){var u=y.tabbableGroups.findIndex(function(e){var t=e.firstTabbableNode;return n===t});if(u<0&&(l.container===n||(0,r.isFocusable)(n,_.tabbableOptions)&&!(0,r.isTabbable)(n,_.tabbableOptions)&&!l.nextTabbableNode(n,!1))&&(u=s),u>=0){var d=0===u?y.tabbableGroups.length-1:u-1,p=y.tabbableGroups[d];a=(0,r.getTabIndex)(n)>=0?p.lastTabbableNode:p.lastDomTabbableNode}else c(t)||(a=l.nextTabbableNode(n,!1))}else{var m=y.tabbableGroups.findIndex(function(e){var t=e.lastTabbableNode;return n===t});if(m<0&&(l.container===n||(0,r.isFocusable)(n,_.tabbableOptions)&&!(0,r.isTabbable)(n,_.tabbableOptions)&&!l.nextTabbableNode(n))&&(m=s),m>=0){var f=m===y.tabbableGroups.length-1?0:m+1,g=y.tabbableGroups[f];a=(0,r.getTabIndex)(n)>=0?g.firstTabbableNode:g.firstDomTabbableNode}else c(t)||(a=l.nextTabbableNode(n))}}else a=C("fallbackFocus");return a},A=function(e){if(!(b(h(e),e)>=0)){if(m(_.clickOutsideDeactivates,e)){t.deactivate({returnFocus:_.returnFocusOnDeactivate});return}m(_.allowOutsideClick,e)||e.preventDefault()}},w=function(e){var n=h(e),t=b(n,e)>=0;if(t||n instanceof Document)t&&(y.mostRecentlyFocusedNode=n);else{e.stopImmediatePropagation();var o,i=!0;if(y.mostRecentlyFocusedNode){if((0,r.getTabIndex)(y.mostRecentlyFocusedNode)>0){var a=b(y.mostRecentlyFocusedNode),s=y.containerGroups[a].tabbableNodes;if(s.length>0){var l=s.findIndex(function(e){return e===y.mostRecentlyFocusedNode});l>=0&&(_.isKeyForward(y.recentNavEvent)?l+1=0&&(o=s[l-1],i=!1))}}else y.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return(0,r.getTabIndex)(e)>0})})||(i=!1)}else i=!1;i&&(o=I({target:y.mostRecentlyFocusedNode,isBackward:_.isKeyBackward(y.recentNavEvent)})),o?E(o):E(y.mostRecentlyFocusedNode||T())}y.recentNavEvent=void 0},x=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];y.recentNavEvent=e;var t=I({event:e,isBackward:n});t&&(c(e)&&e.preventDefault(),E(t))},P=function(e){(_.isKeyForward(e)||_.isKeyBackward(e))&&x(e,_.isKeyBackward(e))},B=function(e){((null==e?void 0:e.key)==="Escape"||(null==e?void 0:e.key)==="Esc"||(null==e?void 0:e.keyCode)===27)&&!1!==m(_.escapeDeactivates,e)&&(e.preventDefault(),t.deactivate())},N=function(e){b(h(e),e)>=0||m(_.clickOutsideDeactivates,e)||m(_.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},O=function(){if(y.active)return s(g,t),y.delayInitialFocusTimer=_.delayInitialFocus?p(function(){E(T())}):E(T()),i.addEventListener("focusin",w,!0),i.addEventListener("mousedown",A,{capture:!0,passive:!1}),i.addEventListener("touchstart",A,{capture:!0,passive:!1}),i.addEventListener("click",N,{capture:!0,passive:!1}),i.addEventListener("keydown",P,{capture:!0,passive:!1}),i.addEventListener("keydown",B),t},L=function(){if(y.active)return i.removeEventListener("focusin",w,!0),i.removeEventListener("mousedown",A,!0),i.removeEventListener("touchstart",A,!0),i.removeEventListener("click",N,!0),i.removeEventListener("keydown",P,!0),i.removeEventListener("keydown",B),t},M="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===y.mostRecentlyFocusedNode})})&&E(T())}):void 0,j=function(){M&&(M.disconnect(),y.active&&!y.paused&&y.containers.map(function(e){M.observe(e,{subtree:!0,childList:!0})}))};return(t={get active(){return y.active},get paused(){return y.paused},activate:function(e){if(y.active)return this;var n=v(e,"onActivate"),t=v(e,"onPostActivate"),r=v(e,"checkCanFocusTrap");r||S(),y.active=!0,y.paused=!1,y.nodeFocusedBeforeActivation=i.activeElement,null==n||n();var o=function(){r&&S(),O(),j(),null==t||t()};return r?r(y.containers.concat()).then(o,o):o(),this},deactivate:function(e){if(!y.active)return this;var n=a({onDeactivate:_.onDeactivate,onPostDeactivate:_.onPostDeactivate,checkCanReturnFocus:_.checkCanReturnFocus},e);clearTimeout(y.delayInitialFocusTimer),y.delayInitialFocusTimer=void 0,L(),y.active=!1,y.paused=!1,j(),l(g,t);var r=v(n,"onDeactivate"),o=v(n,"onPostDeactivate"),i=v(n,"checkCanReturnFocus"),s=v(n,"returnFocus","returnFocusOnDeactivate");null==r||r();var c=function(){p(function(){s&&E(R(y.nodeFocusedBeforeActivation)),null==o||o()})};return s&&i?i(R(y.nodeFocusedBeforeActivation)).then(c,c):c(),this},pause:function(e){if(y.paused||!y.active)return this;var n=v(e,"onPause"),t=v(e,"onPostPause");return y.paused=!0,null==n||n(),L(),j(),null==t||t(),this},unpause:function(e){if(!y.paused||!y.active)return this;var n=v(e,"onUnpause"),t=v(e,"onPostUnpause");return y.paused=!1,null==n||n(),S(),O(),j(),null==t||t(),this},updateContainerElements:function(e){var n=[].concat(e).filter(Boolean);return y.containers=n.map(function(e){return"string"==typeof e?i.querySelector(e):e}),y.active&&S(),j(),this}}).updateContainerElements(e),t}},98096:function(e){"use strict";var n=Object.prototype.toString,t=Math.max,r=function(e,n){for(var t=[],r=0;r1&&"boolean"!=typeof n)throw new u('"allowMissing" argument must be a boolean');if(null===G(/^%?[^%]*%?$/,e))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=W(e),r=t.length>0?t[0]:"",o=K("%"+r+"%",n),i=o.name,a=o.value,s=!1,l=o.alias;l&&(r=l[0],q(t,U([0,1],l)));for(var d=1,p=!0;d=t.length){var g=C(a,m);a=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[m]}else p=D(a,m),a=a[m];p&&!s&&(N[i]=a)}}return a}},20862:function(e,n,t){"use strict";var r=t(8212);e.exports=r.getPrototypeOf||null},6806:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},7385:function(e,n,t){"use strict";var r=t(6806),o=t(20862),i=t(78113);e.exports=r?function(e){return r(e)}:o||(i?function(e){return i(e)}:null)},56840:function(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},96407:function(e,n,t){"use strict";var r=t(56840);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},98587:function(e,n,t){"use strict";var r=t(39042),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},1877:function(e,n,t){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=t(24532);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&o()}},24532:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},n=Symbol("test"),t=Object(n);if("string"==typeof n||"[object Symbol]"!==Object.prototype.toString.call(n)||"[object Symbol]"!==Object.prototype.toString.call(t))return!1;for(var r in e[n]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,n);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},58774:function(e,n,t){"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=t(67909);e.exports=i.call(r,o)},49704:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CARRIAGE_RETURN_PLACEHOLDER_REGEX=n.CARRIAGE_RETURN_PLACEHOLDER=n.CARRIAGE_RETURN_REGEX=n.CARRIAGE_RETURN=n.CASE_SENSITIVE_TAG_NAMES_MAP=n.CASE_SENSITIVE_TAG_NAMES=void 0,n.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],n.CASE_SENSITIVE_TAG_NAMES_MAP=n.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,n){return e[n.toLowerCase()]=n,e},{}),n.CARRIAGE_RETURN="\r",n.CARRIAGE_RETURN_REGEX=RegExp(n.CARRIAGE_RETURN,"g"),n.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),n.CARRIAGE_RETURN_PLACEHOLDER_REGEX=RegExp(n.CARRIAGE_RETURN_PLACEHOLDER,"g")},45974:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){var n,t,m=(e=(0,o.escapeSpecialCharacters)(e)).match(l),h=m&&m[1]?m[1].toLowerCase():"";switch(h){case i:var f=p(e);if(!c.test(e)){var g=f.querySelector(a);null===(n=null==g?void 0:g.parentNode)||void 0===n||n.removeChild(g)}if(!u.test(e)){var g=f.querySelector(s);null===(t=null==g?void 0:g.parentNode)||void 0===t||t.removeChild(g)}return f.querySelectorAll(i);case a:case s:var _=d(e).querySelectorAll(h);if(u.test(e)&&c.test(e))return _[0].parentNode.childNodes;return _;default:if(r)return r(e);var g=d(e,s).querySelector(s);return g.childNodes}};var r,o=t(43344),i="html",a="head",s="body",l=/<([a-zA-Z]+[0-9]?)/,c=//i,u=//i,d=function(e,n){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},p=function(e,n){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},m="object"==typeof window&&window.DOMParser;if("function"==typeof m){var h=new m;d=p=function(e,n){return n&&(e="<".concat(n,">").concat(e,"")),h.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var f=document.implementation.createHTMLDocument();d=function(e,n){if(n){var t=f.documentElement.querySelector(n);return t&&(t.innerHTML=e),f}return f.documentElement.innerHTML=e,f}}var g="object"==typeof document&&document.createElement("template");g&&g.content&&(r=function(e){return g.innerHTML=e,g.content.childNodes})},2032:function(e,n,t){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];var n=e.match(a),t=n?n[1]:void 0;return(0,i.formatDOM)((0,o.default)(e),null,t)};var o=r(t(45974)),i=t(43344),a=/<(![a-zA-Z\s]+)>/},43344:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.formatAttributes=i,n.escapeSpecialCharacters=function(e){return e.replace(o.CARRIAGE_RETURN_REGEX,o.CARRIAGE_RETURN_PLACEHOLDER)},n.revertEscapedCharacters=a,n.formatDOM=function e(n,t,s){void 0===t&&(t=null);for(var l,c=[],u=0,d=n.length;u1&&(g=u(g,{key:g.key||h})),r.push(l(g,f,h));continue}}if("text"===f.type){var _=!f.data.trim().length;if(_&&f.parent&&!(0,a.canTextBeChildOfNode)(f.parent)||t.trim&&_)continue;r.push(l(f.data,f,h));continue}var y={};a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===f.type&&(0,a.isCustomComponent)(f.name,f.attribs)?((0,a.setStyleProp)(f.attribs.style,f.attribs),y=f.attribs):f.attribs&&(y=(0,i.default)(f.attribs,f.name));var v=void 0;switch(f.type){case"script":case"style":f.children[0]&&(y.dangerouslySetInnerHTML={__html:f.children[0].data});break;case"tag":"textarea"===f.name&&f.children[0]?y.defaultValue=f.children[0].data:f.children&&f.children.length&&(v=e(f.children,t));break;default:continue}m>1&&(y.key=h),r.push(l(d(f.name,y,v),f,h))}return 1===r.length?r[0]:r};var o=t(66123),i=r(t(18859)),a=t(14998),s={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement}},58872:function(e,n,t){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.htmlToDOM=n.domToReact=n.attributesToProps=n.Text=n.ProcessingInstruction=n.Element=n.Comment=void 0,n.default=function(e,n){if("string"!=typeof e)throw TypeError("First argument must be a string");return e?(0,a.default)((0,o.default)(e,(null==n?void 0:n.htmlparser2)||l),n):[]};var o=r(t(2032));n.htmlToDOM=o.default;var i=r(t(18859));n.attributesToProps=i.default;var a=r(t(28233));n.domToReact=a.default;var s=t(65522);Object.defineProperty(n,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(n,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(n,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(n,"Text",{enumerable:!0,get:function(){return s.Text}});var l={lowerCaseAttributeNames:!1}},14998:function(e,n,t){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.returnFirstArg=n.canTextBeChildOfNode=n.ELEMENTS_WITH_NO_TEXT_CHILDREN=n.PRESERVE_CUSTOM_ATTRIBUTES=void 0,n.isCustomComponent=function(e,n){return e.includes("-")?!a.has(e):!!(n&&"string"==typeof n.is)},n.setStyleProp=function(e,n){if("string"==typeof e){if(!e.trim()){n.style={};return}try{n.style=(0,i.default)(e,s)}catch(e){n.style={}}}};var o=t(66123),i=r(t(79852)),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),s={reactCompat:!0};n.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,n.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),n.canTextBeChildOfNode=function(e){return!n.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},n.returnFirstArg=function(e){return e}},57004:function(e,n){n.read=function(e,n,t,r,o){var i,a,s=8*o-r-1,l=(1<>1,u=-7,d=t?o-1:0,p=t?-1:1,m=e[n+d];for(d+=p,i=m&(1<<-u)-1,m>>=-u,u+=s;u>0;i=256*i+e[n+d],d+=p,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[n+d],d+=p,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(m?-1:1);a+=Math.pow(2,r),i-=c}return(m?-1:1)*a*Math.pow(2,i-r)},n.write=function(e,n,t,r,o,i){var a,s,l,c=8*i-o-1,u=(1<>1,p=23===o?5960464477539062e-23:0,m=r?0:i-1,h=r?1:-1,f=n<0||0===n&&1/n<0?1:0;for(isNaN(n=Math.abs(n))||n===1/0?(s=isNaN(n)?1:0,a=u):(a=Math.floor(Math.log(n)/Math.LN2),n*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?n+=p/l:n+=p*Math.pow(2,1-d),n*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(n*l-1)*Math.pow(2,o),a+=d):(s=n*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[t+m]=255&s,m+=h,s/=256,o-=8);for(a=a<0;e[t+m]=255&a,m+=h,a/=256,c-=8);e[t+m-h]|=128*f}},75561:function(e){var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g;function c(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var u=1,d=1;function p(e){var n=e.match(t);n&&(u+=n.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function m(){var e={line:u,column:d};return function(n){return n.position=new h(e),_(r),n}}function h(e){this.start=e,this.end={line:u,column:d},this.source=l.source}h.prototype.content=e;var f=[];function g(n){var t=Error(l.source+":"+u+":"+d+": "+n);if(t.reason=n,t.filename=l.source,t.line=u,t.column=d,t.source=e,l.silent)f.push(t);else throw t}function _(n){var t=n.exec(e);if(t){var r=t[0];return p(r),e=e.slice(r.length),t}}function y(e){var n;for(e=e||[];n=v();)!1!==n&&e.push(n);return e}function v(){var n=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var t=2;""!=e.charAt(t)&&("*"!=e.charAt(t)||"/"!=e.charAt(t+1));)++t;if(t+=2,""===e.charAt(t-1))return g("End of comment missing");var r=e.slice(2,t-2);return d+=2,p(r),e=e.slice(t),d+=2,n({type:"comment",comment:r})}}return _(r),function(){var e,t=[];for(y(t);e=function(){var e=m(),t=_(o);if(t){if(v(),!_(i))return g("property missing ':'");var r=_(a),l=e({type:"declaration",property:c(t[0].replace(n,"")),value:r?c(r[0].replace(n,"")):""});return _(s),l}}();)!1!==e&&(t.push(e),y(t));return t}()}},50238:function(e){"use strict";e.exports=function(e,n,t,r,o,i,a,s){if(!e){var l;if(void 0===n)l=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[t,r,o,i,a,s],u=0;(l=Error(n.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},39838:function(e){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},57815:function(e,n,t){"use strict";var r=("undefined"!=typeof JSON?JSON:t(41863)).stringify,o=t(39838),i=t(63552),a=t(55829),s=t(24959),l=s("Array.prototype.join"),c=s("Array.prototype.indexOf"),u=s("Array.prototype.splice"),d=s("Array.prototype.sort"),p=function(e,n){for(var t="",r=0;r1?arguments[1]:void 0,t=n&&n.space||"";"number"==typeof t&&(t=p(t," "));var s=!!n&&"boolean"==typeof n.cycles&&n.cycles,h=n&&n.replacer?a(n.replacer):m,f="function"==typeof n?n:n&&n.cmp,g=f&&function(e){var n=f.length>2&&function(n){return e[n]};return function(t,r){return f({key:t,value:e[t]},{key:r,value:e[r]},n?{__proto__:null,get:n}:void 0)}},_=[];return function e(n,a,m,f){var y=t?"\n"+p(f,t):"",v=t?": ":":";if(m&&m.toJSON&&"function"==typeof m.toJSON&&(m=m.toJSON()),void 0!==(m=h(n,a,m))){if("object"!=typeof m||null===m)return r(m);if(o(m)){for(var b=[],C=0;C="0"&&t<="9";)n+=t,a();if("."===t)for(n+=".";a()&&t>="0"&&t<="9";)n+=t;if("e"===t||"E"===t)for(n+=t,a(),("-"===t||"+"===t)&&(n+=t,a());t>="0"&&t<="9";)n+=t,a();return isFinite(e=Number(n))||i("Bad number"),e}function l(){var e,n,r,s="";if('"'===t)for(;a();){if('"'===t)return a(),s;if("\\"===t){if(a(),"u"===t){for(n=0,r=0;n<4&&isFinite(e=parseInt(a(),16));n+=1)r=16*r+e;s+=String.fromCharCode(r)}else if("string"==typeof o[t])s+=o[t];else break}else s+=t}i("Bad string")}function c(){for(;t&&t<=" ";)a()}function u(){switch(c(),t){case"{":return function(){var e,n={};if("{"===t){if(a("{"),c(),"}"===t)return a("}"),n;for(;t;){if(e=l(),c(),a(":"),Object.prototype.hasOwnProperty.call(n,e)&&i('Duplicate key "'+e+'"'),n[e]=u(),c(),"}"===t)return a("}"),n;a(","),c()}}i("Bad object")}();case"[":return function(){var e=[];if("["===t){if(a("["),c(),"]"===t)return a("]"),e;for(;t;){if(e.push(u()),c(),"]"===t)return a("]"),e;a(","),c()}}i("Bad array")}();case'"':return l();case"-":return s();default:return t>="0"&&t<="9"?s():function(){switch(t){case"t":return a("t"),a("r"),a("u"),a("e"),!0;case"f":return a("f"),a("a"),a("l"),a("s"),a("e"),!1;case"n":return a("n"),a("u"),a("l"),a("l"),null;default:i("Unexpected '"+t+"'")}}()}}e.exports=function(e,o){var a;return r=e,n=0,t=" ",a=u(),c(),t&&i("Syntax error"),"function"==typeof o?function e(n,t){var r,i,a=n[t];if(a&&"object"==typeof a)for(r in u)Object.prototype.hasOwnProperty.call(a,r)&&(void 0===(i=e(a,r))?delete a[r]:a[r]=i);return o.call(n,t,a)}({"":a},""):a}},91720:function(e){"use strict";var n,t,r,o=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,i={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function a(e){return o.lastIndex=0,o.test(e)?'"'+e.replace(o,function(e){var n=i[e];return"string"==typeof n?n:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}e.exports=function(e,o,i){var s;if(n="",t="","number"==typeof i)for(s=0;s0&&i(u)?t>1?e(u,t-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},39347:function(e,n,t){var r=t(9614)();e.exports=r},77219:function(e,n,t){var r=t(50971),o=t(85681);e.exports=function(e,n){n=r(n,e);for(var t=0,i=n.length;null!=e&&to?0:o+n),(t=t>o?o:t)<0&&(t+=o),o=n>t?0:t-n>>>0,n>>>=0;for(var i=Array(o);++r1?t[i-1]:void 0,s=i>2?t[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(t[0],t[1],s)&&(a=i<3?void 0:a,i=1),n=Object(n);++r-1&&e%1==0&&e-1}},94035:function(e,n,t){var r=t(2247);e.exports=function(e,n){var t=this.__data__,o=r(t,e);return o<0?(++this.size,t.push([e,n])):t[o][1]=n,this}},43837:function(e,n,t){var r=t(69335),o=t(37699),i=t(8887);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},97988:function(e,n,t){var r=t(45679);e.exports=function(e){var n=r(this,e).delete(e);return this.size-=n?1:0,n}},13360:function(e,n,t){var r=t(45679);e.exports=function(e){return r(this,e).get(e)}},86605:function(e,n,t){var r=t(45679);e.exports=function(e){return r(this,e).has(e)}},35272:function(e,n,t){var r=t(45679);e.exports=function(e,n){var t=r(this,e),o=t.size;return t.set(e,n),this.size+=t.size==o?0:1,this}},52136:function(e,n,t){var r=t(16734);e.exports=function(e){var n=r(e,function(e){return 500===t.size&&t.clear(),e}),t=n.cache;return n}},27116:function(e,n,t){var r=t(49415)(Object,"create");e.exports=r},27702:function(e,n,t){var r=t(60298)(Object.keys,Object);e.exports=r},94143:function(e){e.exports=function(e){var n=[];if(null!=e)for(var t in Object(e))n.push(t);return n}},14984:function(e,n,t){e=t.nmd(e);var r=t(44182),o=n&&!n.nodeType&&n,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},40261:function(e){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},60298:function(e){e.exports=function(e,n){return function(t){return e(n(t))}}},52492:function(e,n,t){var r=t(66323),o=Math.max;e.exports=function(e,n,t){return n=o(void 0===n?e.length-1:n,0),function(){for(var i=arguments,a=-1,s=o(i.length-n,0),l=Array(s);++a0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},84042:function(e,n,t){var r=t(37699);e.exports=function(){this.__data__=new r,this.size=0}},29352:function(e){e.exports=function(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}},35544:function(e){e.exports=function(e){return this.__data__.get(e)}},46540:function(e){e.exports=function(e){return this.__data__.has(e)}},68441:function(e,n,t){var r=t(37699),o=t(8887),i=t(95946);e.exports=function(e,n){var t=this.__data__;if(t instanceof r){var a=t.__data__;if(!o||a.length<199)return a.push([e,n]),this.size=++t.size,this;t=this.__data__=new i(a)}return t.set(e,n),this.size=t.size,this}},14856:function(e,n,t){var r=t(52136),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r(function(e){var n=[];return 46===e.charCodeAt(0)&&n.push(""),e.replace(o,function(e,t,r,o){n.push(r?o.replace(i,"$1"):t||e)}),n});e.exports=a},85681:function(e,n,t){var r=t(87855),o=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var n=e+"";return"0"==n&&1/e==-o?"-0":n}},25743:function(e){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},65820:function(e){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},14296:function(e){e.exports=function(e){return function(){return e}}},13759:function(e,n,t){var r=t(985),o=t(69729),i=t(90156),a=Math.max,s=Math.min;e.exports=function(e,n,t){var l,c,u,d,p,m,h=0,f=!1,g=!1,_=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(n){var t=l,r=c;return l=c=void 0,h=n,d=e.apply(r,t)}function v(e){var t=e-m,r=e-h;return void 0===m||t>=n||t<0||g&&r>=u}function b(){var e,t,r,i=o();if(v(i))return C(i);p=setTimeout(b,(e=i-m,t=i-h,r=n-e,g?s(r,u-t):r))}function C(e){return(p=void 0,_&&l)?y(e):(l=c=void 0,d)}function T(){var e,t=o(),r=v(t);if(l=arguments,c=this,m=t,r){if(void 0===p)return h=e=m,p=setTimeout(b,n),f?y(e):d;if(g)return clearTimeout(p),p=setTimeout(b,n),y(m)}return void 0===p&&(p=setTimeout(b,n)),d}return n=i(n)||0,r(t)&&(f=!!t.leading,u=(g="maxWait"in t)?a(i(t.maxWait)||0,n):u,_="trailing"in t?!!t.trailing:_),T.cancel=function(){void 0!==p&&clearTimeout(p),h=0,l=m=c=p=void 0},T.flush=function(){return void 0===p?d:C(o())},T}},44329:function(e){e.exports=function(e,n){return e===n||e!=e&&n!=n}},32351:function(e,n,t){var r=t(6814),o=/[\\^$.*+?()[\]{}|]/g,i=RegExp(o.source);e.exports=function(e){return(e=r(e))&&i.test(e)?e.replace(o,"\\$&"):e}},79701:function(e,n,t){var r=t(5477);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},42698:function(e,n,t){var r=t(77219);e.exports=function(e,n,t){var o=null==e?void 0:r(e,n);return void 0===o?t:o}},4239:function(e){e.exports=function(e){return e}},38298:function(e,n,t){var r=t(68469),o=t(86644),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},27464:function(e){var n=Array.isArray;e.exports=n},86606:function(e,n,t){var r=t(74323),o=t(78193);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},65729:function(e,n,t){var r=t(86606),o=t(86644);e.exports=function(e){return o(e)&&r(e)}},59269:function(e,n,t){e=t.nmd(e);var r=t(18910),o=t(23765),i=n&&!n.nodeType&&n,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=s?s.isBuffer:void 0;e.exports=l||o},74323:function(e,n,t){var r=t(92592),o=t(985);e.exports=function(e){if(!o(e))return!1;var n=r(e);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},78193:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},24856:function(e,n,t){var r=t(52302),o=t(27825),i=t(14984),a=i&&i.isMap,s=a?o(a):r;e.exports=s},985:function(e){e.exports=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)}},86644:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},30550:function(e,n,t){var r=t(92592),o=t(13219),i=t(86644),a=Object.prototype,s=Function.prototype.toString,l=a.hasOwnProperty,c=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var n=o(e);if(null===n)return!0;var t=l.call(n,"constructor")&&n.constructor;return"function"==typeof t&&t instanceof t&&s.call(t)==c}},42912:function(e,n,t){var r=t(32362),o=t(27825),i=t(14984),a=i&&i.isSet,s=a?o(a):r;e.exports=s},87855:function(e,n,t){var r=t(92592),o=t(86644);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},31122:function(e,n,t){var r=t(9757),o=t(27825),i=t(14984),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},30434:function(e,n,t){var r=t(80753),o=t(34066),i=t(86606);e.exports=function(e){return i(e)?r(e):o(e)}},25640:function(e,n,t){var r=t(80753),o=t(72073),i=t(86606);e.exports=function(e){return i(e)?r(e,!0):o(e)}},21218:function(e){e.exports=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0}},16734:function(e,n,t){var r=t(95946);function o(e,n){if("function"!=typeof e||null!=n&&"function"!=typeof n)throw TypeError("Expected a function");var t=function(){var r=arguments,o=n?n.apply(this,r):r[0],i=t.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return t.cache=i.set(o,a)||i,a};return t.cache=new(o.Cache||r),t}o.Cache=r,e.exports=o},1495:function(e,n,t){var r=t(57232),o=t(93530)(function(e,n,t){r(e,n,t)});e.exports=o},69729:function(e,n,t){var r=t(18910);e.exports=function(){return r.Date.now()}},93338:function(e,n,t){var r=t(42015),o=t(12302),i=t(3391),a=t(50971),s=t(11396),l=t(66382),c=t(85107),u=t(27618),d=c(function(e,n){var t={};if(null==e)return t;var c=!1;n=r(n,function(n){return n=a(n,e),c||(c=n.length>1),n}),s(e,u(e),t),c&&(t=o(t,7,l));for(var d=n.length;d--;)i(t,n[d]);return t});e.exports=d},59350:function(e){e.exports=function(){return[]}},23765:function(e){e.exports=function(){return!1}},89495:function(e,n,t){var r=t(13759),o=t(985);e.exports=function(e,n,t){var i=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return o(t)&&(i="leading"in t?!!t.leading:i,a="trailing"in t?!!t.trailing:a),r(e,n,{leading:i,maxWait:n,trailing:a})}},90156:function(e,n,t){var r=t(71729),o=t(985),i=t(87855),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=o(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var t=l.test(e);return t||c.test(e)?u(e.slice(2),t?2:8):s.test(e)?a:+e}},12069:function(e,n,t){var r=t(11396),o=t(25640);e.exports=function(e){return r(e,o(e))}},6814:function(e,n,t){var r=t(5615);e.exports=function(e){return null==e?"":r(e)}},55930:function(e){"use strict";e.exports=Math.abs},4150:function(e){"use strict";e.exports=Math.floor},93634:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},13366:function(e){"use strict";e.exports=Math.max},32105:function(e){"use strict";e.exports=Math.min},38966:function(e){"use strict";e.exports=Math.pow},1294:function(e){"use strict";e.exports=Math.round},82147:function(e,n,t){"use strict";var r=t(93634);e.exports=function(e){return r(e)||0===e?e:e<0?-1:1}},40307:function(e,n,t){"use strict";t.d(n,{PB:function(){return f},lX:function(){return h}});var r=t(66123),o=t(93853),i=t.n(o);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}var l=["keyOverride"],c=["crossOrigin"],u={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},d=function(e,n,t){void 0===n&&(n=[]);var o=void 0===t?{}:t,i=o.defaultWidth,a=o.defaultHeight;return n.reduce(function(n,t,o){return n.push(r.createElement("meta",{key:"og:"+e+":0"+o,property:"og:"+e,content:t.url})),t.alt&&n.push(r.createElement("meta",{key:"og:"+e+":alt0"+o,property:"og:"+e+":alt",content:t.alt})),t.secureUrl&&n.push(r.createElement("meta",{key:"og:"+e+":secure_url0"+o,property:"og:"+e+":secure_url",content:t.secureUrl.toString()})),t.type&&n.push(r.createElement("meta",{key:"og:"+e+":type0"+o,property:"og:"+e+":type",content:t.type.toString()})),t.width?n.push(r.createElement("meta",{key:"og:"+e+":width0"+o,property:"og:"+e+":width",content:t.width.toString()})):i&&n.push(r.createElement("meta",{key:"og:"+e+":width0"+o,property:"og:"+e+":width",content:i.toString()})),t.height?n.push(r.createElement("meta",{key:"og:"+e+":height"+o,property:"og:"+e+":height",content:t.height.toString()})):a&&n.push(r.createElement("meta",{key:"og:"+e+":height"+o,property:"og:"+e+":height",content:a.toString()})),n},[])},p=function(e){var n,t,o,i,p,m=[];e.titleTemplate&&(u.templateTitle=e.titleTemplate);var h="";e.title?(h=e.title,u.templateTitle&&(h=u.templateTitle.replace(/%s/g,function(){return h}))):e.defaultTitle&&(h=e.defaultTitle),h&&m.push(r.createElement("title",{key:"title"},h));var f=void 0===e.noindex?u.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,g=void 0===e.nofollow?u.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,_=e.norobots||u.norobots,y="";if(e.robotsProps){var v=e.robotsProps,b=v.nosnippet,C=v.maxSnippet,T=v.maxImagePreview,S=v.maxVideoPreview,k=v.noarchive,E=v.noimageindex,R=v.notranslate,I=v.unavailableAfter;y=(b?",nosnippet":"")+(C?",max-snippet:"+C:"")+(T?",max-image-preview:"+T:"")+(k?",noarchive":"")+(I?",unavailable_after:"+I:"")+(E?",noimageindex":"")+(S?",max-video-preview:"+S:"")+(R?",notranslate":"")}if(e.norobots&&(u.norobots=!0),f||g?(e.dangerouslySetAllPagesToNoIndex&&(u.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(u.nofollow=!0),m.push(r.createElement("meta",{key:"robots",name:"robots",content:(f?"noindex":"index")+","+(g?"nofollow":"follow")+y}))):(!_||y)&&m.push(r.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+y})),e.description&&m.push(r.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&m.push(r.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&m.push(r.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){m.push(r.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&m.push(r.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&m.push(r.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&m.push(r.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&m.push(r.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(n=e.openGraph)&&n.title||h)&&m.push(r.createElement("meta",{key:"og:title",property:"og:title",content:(null==(i=e.openGraph)?void 0:i.title)||h})),(null!=(t=e.openGraph)&&t.description||e.description)&&m.push(r.createElement("meta",{key:"og:description",property:"og:description",content:(null==(p=e.openGraph)?void 0:p.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&m.push(r.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var A=e.openGraph.type.toLowerCase();m.push(r.createElement("meta",{key:"og:type",property:"og:type",content:A})),"profile"===A&&e.openGraph.profile?(e.openGraph.profile.firstName&&m.push(r.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&m.push(r.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&m.push(r.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&m.push(r.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===A&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,n){m.push(r.createElement("meta",{key:"book:author:0"+n,property:"book:author",content:e}))}),e.openGraph.book.isbn&&m.push(r.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&m.push(r.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEach(function(e,n){m.push(r.createElement("meta",{key:"book:tag:0"+n,property:"book:tag",content:e}))})):"article"===A&&e.openGraph.article?(e.openGraph.article.publishedTime&&m.push(r.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&m.push(r.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&m.push(r.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,n){m.push(r.createElement("meta",{key:"article:author:0"+n,property:"article:author",content:e}))}),e.openGraph.article.section&&m.push(r.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,n){m.push(r.createElement("meta",{key:"article:tag:0"+n,property:"article:tag",content:e}))})):("video.movie"===A||"video.episode"===A||"video.tv_show"===A||"video.other"===A)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,n){e.profile&&m.push(r.createElement("meta",{key:"video:actor:0"+n,property:"video:actor",content:e.profile})),e.role&&m.push(r.createElement("meta",{key:"video:actor:role:0"+n,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,n){m.push(r.createElement("meta",{key:"video:director:0"+n,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,n){m.push(r.createElement("meta",{key:"video:writer:0"+n,property:"video:writer",content:e}))}),e.openGraph.video.duration&&m.push(r.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&m.push(r.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEach(function(e,n){m.push(r.createElement("meta",{key:"video:tag:0"+n,property:"video:tag",content:e}))}),e.openGraph.video.series&&m.push(r.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(u.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(u.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&m.push.apply(m,d("image",e.openGraph.images,{defaultWidth:u.defaultOpenGraphImageWidth,defaultHeight:u.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(u.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(u.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&m.push.apply(m,d("video",e.openGraph.videos,{defaultWidth:u.defaultOpenGraphVideoWidth,defaultHeight:u.defaultOpenGraphVideoHeight})),e.openGraph.audio&&m.push.apply(m,d("audio",e.openGraph.audio)),e.openGraph.locale&&m.push(r.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&m.push(r.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&m.push(r.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var n,t,o=e.keyOverride,i=s(e,l);m.push(r.createElement("meta",a({key:"meta:"+(null!=(n=null!=(t=null!=o?o:i.name)?t:i.property)?n:i.httpEquiv)},i)))}),null!=(o=e.additionalLinkTags)&&o.length&&e.additionalLinkTags.forEach(function(e){var n,t=e.crossOrigin,o=s(e,c);m.push(r.createElement("link",a({key:"link"+(null!=(n=o.keyOverride)?n:o.href)+o.rel},o,{crossOrigin:"anonymous"===t||"use-credentials"===t||""===t?t:void 0})))}),m},m=function(e){return r.createElement(i(),null,p(e))},h=function(e){var n=e.title,t=e.titleTemplate,o=e.defaultTitle,i=e.themeColor,a=e.dangerouslySetAllPagesToNoIndex,s=e.dangerouslySetAllPagesToNoFollow,l=e.description,c=e.canonical,u=e.facebook,d=e.openGraph,p=e.additionalMetaTags,h=e.twitter,f=e.defaultOpenGraphImageWidth,g=e.defaultOpenGraphImageHeight,_=e.defaultOpenGraphVideoWidth,y=e.defaultOpenGraphVideoHeight,v=e.mobileAlternate,b=e.languageAlternates,C=e.additionalLinkTags,T=e.robotsProps,S=e.norobots;return r.createElement(m,{title:n,titleTemplate:t,defaultTitle:o,themeColor:i,dangerouslySetAllPagesToNoIndex:void 0!==a&&a,dangerouslySetAllPagesToNoFollow:void 0!==s&&s,description:l,canonical:c,facebook:u,openGraph:d,additionalMetaTags:p,twitter:h,defaultOpenGraphImageWidth:f,defaultOpenGraphImageHeight:g,defaultOpenGraphVideoWidth:_,defaultOpenGraphVideoHeight:y,mobileAlternate:v,languageAlternates:b,additionalLinkTags:C,robotsProps:T,norobots:S})},f=function(e){var n=e.title,t=e.themeColor,o=e.noindex,i=e.nofollow,a=e.robotsProps,s=e.description,l=e.canonical,c=e.openGraph,u=e.facebook,d=e.twitter,p=e.additionalMetaTags,h=e.titleTemplate,f=e.defaultTitle,g=e.mobileAlternate,_=e.languageAlternates,y=e.additionalLinkTags;return r.createElement(r.Fragment,null,r.createElement(m,{title:n,themeColor:t,noindex:o,nofollow:i,robotsProps:a,description:s,canonical:l,facebook:u,openGraph:c,additionalMetaTags:p,twitter:d,titleTemplate:h,defaultTitle:f,mobileAlternate:g,languageAlternates:_,additionalLinkTags:y}))};RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g")},21766:function(e,n,t){e.exports=t(22722)},46680:function(e,n,t){e.exports=t(70208)},4490:function(e,n,t){var r=t(41650);"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//"),({189:function(){!function(e,n){"use strict";if(!e.setImmediate){var t,o,i,a,s,l=1,c={},u=!1,d=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);(p=p&&p.setTimeout?p:e,"[object process]"===({}).toString.call(e.process))?s=function(e){r.nextTick(function(){h(e)})}:function(){if(e.postMessage&&!e.importScripts){var n=!0,t=e.onmessage;return e.onmessage=function(){n=!1},e.postMessage("","*"),e.onmessage=t,n}}()?(t="setImmediate$"+Math.random()+"$",o=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&h(+n.data.slice(t.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),s=function(n){e.postMessage(t+n,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},s=function(e){i.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(a=d.documentElement,s=function(e){var n=d.createElement("script");n.onreadystatechange=function(){h(e),n.onreadystatechange=null,a.removeChild(n),n=null},a.appendChild(n)}):s=function(e){setTimeout(h,0,e)},p.setImmediate=function(e){"function"!=typeof e&&(e=Function(""+e));for(var n=Array(arguments.length-1),t=0;t=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},n))},r(505),n.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t.g&&t.g.setImmediate||this&&this.setImmediate,n.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t.g&&t.g.clearImmediate||this&&this.clearImmediate},505:function(e){"use strict";e.exports=t(4490)}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}},a=!0;try{n[e].call(i.exports,i,i.exports,o),a=!1}finally{a&&delete r[e]}return i.exports}o.ab="//";var i=o(845);e.exports=i}()},93853:function(e,n,t){e.exports=t(50174)},95567:function(e,n,t){e.exports=t(54437)},66342:function(e,n,t){e.exports=t(22949)},59926:function(e,n,t){e.exports=t(33056)},48192:function(e,n,t){e.exports=t(5430)},38673:function(e,n,t){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=t(50651),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var n=e.constructor;return n&&n.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},m=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),h=function(e){if("undefined"==typeof window||!m)return d(e);try{return d(e)}catch(e){return!1}};r=function(e){var n=null!==e&&"object"==typeof e,t="[object Function]"===i.call(e),r=a(e),s=n&&"[object String]"===i.call(e),d=[];if(!n&&!t&&!r)throw TypeError("Object.keys called on a non-object");var p=c&&t;if(s&&e.length>0&&!o.call(e,0))for(var m=0;m0)for(var f=0;f=0&&"[object Function]"===n.call(e.callee)),r}},41650:function(e){var n,t,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{t="function"==typeof clearTimeout?clearTimeout:a}catch(e){t=a}}();var l=[],c=!1,u=-1;function d(){c&&r&&(c=!1,r.length?l=r.concat(l):u=-1,l.length&&p())}function p(){if(!c){var e=s(d);c=!0;for(var n=l.length;n;){for(r=l,l=[];++u1)for(var t=1;t-1?d:0,e.charCodeAt(m+1)){case 100:case 102:if(u>=l||null==t[u])break;d=l||null==t[u])break;d=l||void 0===t[u])break;d",d=m+2,m++;break}c+=o(t[u]),d=m+2,m++;break;case 115:if(u>=l)break;d{o[e]=new r(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,n])=>{o[e]=new r(e,1,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{o[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{o[e]=new r(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{o[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{o[e]=new r(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{o[e]=new r(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{o[e]=new r(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{o[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)});let i=/[\-\:]([a-z])/g,a=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{let n=e.replace(i,a);o[n]=new r(n,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{let n=e.replace(i,a);o[n]=new r(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{let n=e.replace(i,a);o[n]=new r(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)}),o.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)});let{CAMELCASE:s,SAME:l,possibleStandardNames:c}=t(38711),u=RegExp.prototype.test.bind(RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(c).reduce((e,n)=>{let t=c[n];return t===l?e[n]=n:t===s?e[n.toLowerCase()]=n:e[n]=t,e},{});n.BOOLEAN=3,n.BOOLEANISH_STRING=2,n.NUMERIC=5,n.OVERLOADED_BOOLEAN=4,n.POSITIVE_NUMERIC=6,n.RESERVED=0,n.STRING=1,n.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},n.isCustomAttribute=u,n.possibleStandardNames=d},38711:function(e,n){n.SAME=0,n.CAMELCASE=1,n.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},68705:function(e,n,t){e.exports=t(46218)},6944:function(e){"use strict";function n(e){return e.displayName||e.name||"Component"}e.exports={getComponentName:n,getContainerName:function(e){return"Relay("+n(e)+")"}}},10233:function(e,n,t){"use strict";var r=t(66123),o=t(31347).__internal.createRelayContext;e.exports=o(r)},79871:function(e,n,t){"use strict";var r=t(11915).default,o=r(t(83937)),i=r(t(7538)),a=r(t(79526)),s=r(t(20870)),l=r(t(76481)),c=["componentRef","__relayContext","__rootIsQueryRenderer"],u=t(37621),d=t(6944).getContainerName,p=t(13813).assertRelayContext,m=t(22781),h=t(66123),f=t(31347),g=f.createFragmentSpecResolver,_=f.getDataIDsFromObject,y=f.isScalarAndEqual;function v(e,n){var t,r=d(e);return t=function(t){function u(e){i=t.call(this,e)||this,(0,l.default)((0,a.default)(i),"_handleFragmentDataUpdate",function(){var e=i.state.resolver;i.setState(function(n){return e===n.resolver?{data:n.resolver.resolve(),relayProp:b(n.relayProp.environment)}:null})});var o,i,s=p(e.__relayContext),c=null!==(o=e.__rootIsQueryRenderer)&&void 0!==o&&o,u=g(s,r,n,e,c);return i.state={data:u.resolve(),prevProps:e,prevPropsContext:s,relayProp:b(s.environment),resolver:u},i}(0,s.default)(u,t),u.getDerivedStateFromProps=function(e,t){var o,i=t.prevProps,a=p(e.__relayContext),s=null!==(o=e.__rootIsQueryRenderer)&&void 0!==o&&o,l=_(n,i),c=_(n,e),u=t.resolver;if(t.prevPropsContext.environment!==a.environment||!m(l,c))return{data:(u=g(a,r,n,e,s)).resolve(),prevPropsContext:a,prevProps:e,relayProp:b(a.environment),resolver:u};u.setProps(e);var d=u.resolve();return d!==t.data?{data:d,prevProps:e,prevPropsContext:a,relayProp:b(a.environment)}:null};var d=u.prototype;return d.componentDidMount=function(){this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},d.componentDidUpdate=function(e,n){this.state.resolver!==n.resolver?(n.resolver.dispose(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},d.componentWillUnmount=function(){this.state.resolver.dispose()},d.shouldComponentUpdate=function(e,t){if(t.data!==this.state.data)return!0;for(var r=Object.keys(e),o=0;o0||r(!1),this._map=new Map}var n=e.prototype;return n.set=function(e,n){if(this._map.delete(e),this._map.set(e,n),this._map.size>this._capacity){var t=this._map.keys().next();t.done||this._map.delete(t.value)}},n.get=function(e){var n=this._map.get(e);return null!=n&&(this._map.delete(e),this._map.set(e,n)),n},n.has=function(e){return this._map.has(e)},n.delete=function(e){this._map.delete(e)},n.size=function(){return this._map.size},n.capacity=function(){return this._capacity-this._map.size},n.clear=function(){this._map.clear()},e}();e.exports={create:function(e){return new o(e)}}},4596:function(e,n,t){"use strict";var r=t(66123).createContext({wrapPrepareQueryResource:function(e){return e()}});e.exports=r},82686:function(e,n,t){"use strict";var r=t(11915).default,o=r(t(9278)),i=r(t(76481)),a=t(33470),s=t(68353),l=t(50238),c=t(31347).isPromise;t(30499);var u="store-or-network",d="store-and-network",p="function"==typeof WeakMap;function m(e){return void 0!==e.request.node.params.metadata.live}function h(e,n,t,r,o){var i=null!=t?t:m(n)?d:u,a=null!=r?r:e.UNSTABLE_getDefaultRenderPolicy(),s="".concat(i,"-").concat(a,"-").concat(n.request.identifier);return null!=o?"".concat(s,"-").concat(o):s}function f(e,n){var t={__id:e.fragment.dataID,__fragments:(0,i.default)({},e.fragment.node.name,e.request.variables),__fragmentOwner:e.request};return{cacheIdentifier:n,fragmentNode:e.request.node.fragment,fragmentRef:t,operation:e}}var g=2e5;function _(e,n,t,r,o,i){var a=m(n),l=r,c=o,u=new s(function(e){var t=e.retain(n);return{dispose:function(){a&&null!=c&&c.unsubscribe(),t.dispose(),i(d)}}}),d={cacheIdentifier:e,id:g++,processedPayloadsCount:0,operationAvailability:t,getValue:function(){return l},setValue:function(e){l=e},setNetworkSubscription:function(e){a&&null!=c&&c.unsubscribe(),c=e},temporaryRetain:function(e){return u.temporaryRetain(e)},permanentRetain:function(e){return u.permanentRetain(e)},releaseTemporaryRetain:function(){u.releaseTemporaryRetain()}};return d}var y=function(){function e(e){var n=this;(0,i.default)(this,"_clearCacheEntry",function(e){n._cache.delete(e.cacheIdentifier)}),this._environment=e,this._cache=a.create(1e3)}var n=e.prototype;return n.prepare=function(e,n,t,r,o,i,a){var s=h(this._environment,e,t,r,i);return this.prepareWithIdentifier(s,e,n,t,r,o,a)},n.prepareWithIdentifier=function(e,n,t,r,i,a,s){var l=this._environment,p=null!=r?r:m(n)?d:u,h=null!=i?i:l.UNSTABLE_getDefaultRenderPolicy(),f=this._cache.get(e),g=null,_=null!=f;null==f&&(f=this._fetchAndSaveQuery(e,n,t,p,h,s,(0,o.default)((0,o.default)({},a),{},{unsubscribe:function(e){null!=g&&g.dispose();var n=null==a?void 0:a.unsubscribe;n&&n(e)}}))),g=f.temporaryRetain(l);var y=f.getValue();if(c(y))throw l.__log({name:"suspense.query",fetchPolicy:p,isPromiseCached:_,operation:n,queryAvailability:f.operationAvailability,renderPolicy:h}),y;if(y instanceof Error)throw y;return y},n.retain=function(e,n){var t=this._environment,r=e.cacheIdentifier,o=e.operation,i=this._getOrCreateCacheEntry(r,o,null,e,null),a=i.permanentRetain(t);return t.__log({name:"queryresource.retain",profilerContext:n,resourceID:i.id}),{dispose:function(){a.dispose()}}},n.releaseTemporaryRetain=function(e){var n=this._cache.get(e.cacheIdentifier);null!=n&&n.releaseTemporaryRetain()},n.TESTS_ONLY__getCacheEntry=function(e,n,t,r){var o=h(this._environment,e,n,t,r);return this._cache.get(o)},n._getOrCreateCacheEntry=function(e,n,t,r,o){var i=this._cache.get(e);return null==i&&(i=_(e,n,t,r,o,this._clearCacheEntry),this._cache.set(e,i)),i},n._fetchAndSaveQuery=function(e,n,t,r,i,a,s){var c=this,u=this._environment,d=u.check(n),p=d.status,h="available"===p,g=h||"partial"===i&&"stale"!==p,y=function(){};switch(r){case"store-only":C=!1,T=!0;break;case"store-or-network":C=!h,T=g;break;case"store-and-network":C=!0,T=g;break;default:C=!0,T=!1}if(T){var v=f(n,e),b=_(e,n,d,v,null,this._clearCacheEntry);this._cache.set(e,b)}if(C){var C,T,S,k=f(n,e);t.subscribe({start:function(t){S=t;var r=c._cache.get(e);r&&r.setNetworkSubscription(S);var i=null==s?void 0:s.start;i&&i((0,o.default)((0,o.default)({},t),{},{unsubscribe:function(){m(n)&&t.unsubscribe()}}))},next:function(){var t=c._getOrCreateCacheEntry(e,n,d,k,S);t.processedPayloadsCount+=1,t.setValue(k),y();var r=null==s?void 0:s.next;null!=r&&r(u.lookup(n.fragment))},error:function(t){var r=c._getOrCreateCacheEntry(e,n,d,t,S);0===r.processedPayloadsCount&&r.setValue(t),y(),S=null,r.setNetworkSubscription(null);var o=null==s?void 0:s.error;o&&o(t)},complete:function(){y(),S=null;var n=c._cache.get(e);n&&n.setNetworkSubscription(null);var t=null==s?void 0:s.complete;t&&t()},unsubscribe:null==s?void 0:s.unsubscribe});var E=this._cache.get(e);if(!E){var R=new Promise(function(e){y=e});R.displayName="Relay("+n.fragment.node.name+")",E=_(e,n,d,R,S,this._clearCacheEntry),this._cache.set(e,E)}}else{var I=null==s?void 0:s.complete;I&&I()}var A=this._cache.get(e);return null!=A||l(!1),u.__log({name:"queryresource.fetch",resourceID:A.id,operation:n,profilerContext:a,fetchPolicy:r,renderPolicy:i,queryAvailability:d,shouldFetch:C}),A},e}();function v(e){return new y(e)}var b=p?new WeakMap:new Map;e.exports={createQueryResource:v,getQueryResourceForEnvironment:function(e){var n=b.get(e);if(n)return n;var t=v(e);return b.set(e,t),t},getQueryCacheIdentifier:h}},35656:function(e,n,t){"use strict";var r=t(10233),o=t(66123),i=o.useMemo;e.exports=function(e){var n=e.children,t=e.environment,a=e.getEnvironmentForActor,s=i(function(){return{environment:t,getEnvironmentForActor:a}},[t,a]);return o.createElement(r.Provider,{value:s},n)}},68353:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(76481));t(30499);var o=function(){function e(e){var n=this;(0,r.default)(this,"_retainCount",0),(0,r.default)(this,"_retainDisposable",null),(0,r.default)(this,"_releaseTemporaryRetain",null),this._retain=function(t){return n._retainCount++,1===n._retainCount&&(n._retainDisposable=e(t)),{dispose:function(){n._retainCount=Math.max(0,n._retainCount-1),0===n._retainCount&&null!=n._retainDisposable&&(n._retainDisposable.dispose(),n._retainDisposable=null)}}}}var n=e.prototype;return n.temporaryRetain=function(e){var n,t=this;if(e.isServer())return{dispose:function(){}};var r=this._retain(e),o=null,i=function(){clearTimeout(o),o=null,t._releaseTemporaryRetain=null,r.dispose()};return o=setTimeout(i,3e5),null===(n=this._releaseTemporaryRetain)||void 0===n||n.call(this),this._releaseTemporaryRetain=i,{dispose:function(){var e;null===(e=t._releaseTemporaryRetain)||void 0===e||e.call(t)}}},n.permanentRetain=function(e){var n=this._retain(e);return this.releaseTemporaryRetain(),n},n.releaseTemporaryRetain=function(){var e;null===(e=this._releaseTemporaryRetain)||void 0===e||e.call(this),this._releaseTemporaryRetain=null},n.getRetainCount=function(){return this._retainCount},e}();e.exports=o},35647:function(e,n,t){"use strict";var r=t(50238),o=t(31347),i=o.ConnectionInterface,a=o.getValueAtPath;e.exports=function(e,n,t,o){var s,l,c,u=i.get(),d=u.EDGES,p=u.PAGE_INFO,m=u.HAS_NEXT_PAGE,h=u.HAS_PREV_PAGE,f=u.END_CURSOR,g=u.START_CURSOR,_=a(t,o);if(null==_)return{cursor:null,hasMore:!1};"object"!=typeof _&&r(!1);var y=_[d],v=_[p];if(null==y||null==v)return{cursor:null,hasMore:!1};Array.isArray(y)||r(!1),"object"!=typeof v&&r(!1);var b="forward"===e?null!==(s=v[f])&&void 0!==s?s:null:null!==(l=v[g])&&void 0!==l?l:null;return null===b||"string"==typeof b||r(!1),c="forward"===e?null!=b&&!0===v[m]:null!=b&&!0===v[h],{cursor:b,hasMore:c}}},85147:function(e,n,t){"use strict";var r=t(69792).loadQuery;e.exports=function e(n,t,o){var i=null;null==t.root.getModuleIfRequired()&&(i=t.root.load());var a=t.getPreloadProps(o),s=a.queries,l=a.entryPoints,c=a.extraProps,u={},d={};null!=s&&Object.keys(s).forEach(function(e){var t=s[e];if(null!=t){var o=t.environmentProviderOptions,i=t.options,a=t.parameters,l=t.variables,c=n.getEnvironment(o);u[e]=r(c,a,l,{fetchPolicy:null==i?void 0:i.fetchPolicy,networkCacheConfig:null==i?void 0:i.networkCacheConfig,__nameForWarning:"loadEntryPoint"},o)}}),null!=l&&Object.keys(l).forEach(function(t){var r=l[t];if(null!=r){var o=r.entryPoint,i=r.entryPointParams;d[t]=e(n,o,i)}});var p=!1;return{dispose:function(){p||(null!=u&&Object.values(u).forEach(function(e){(0,e.dispose)()}),null!=d&&Object.values(d).forEach(function(e){(0,e.dispose)()}),p=!0)},entryPoints:d,extraProps:null!=c?c:null,getComponent:function(){var e,n=t.root.getModuleIfRequired();if(null==n)throw i=null!==(e=i)&&void 0!==e?e:t.root.load();return null!=n.default?n.default:n},get isDisposed(){return p},queries:u,rootModuleID:t.root.getModuleId()}}},69792:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(9278)),o=t(50238),i=t(31347),a=i.__internal.fetchQueryDeduped,s=i.Observable,l=i.PreloadableQueryRegistry,c=i.ReplaySubject,u=i.createOperationDescriptor,d=i.getRequest,p=i.getRequestIdentifier,m=100001;e.exports={loadQuery:function(e,n,t,i,h){m++;var f,g,_,y,v,b,C,T=null!==(f=null==i?void 0:i.fetchPolicy)&&void 0!==f?f:"store-or-network",S=(0,r.default)((0,r.default)({},null==i?void 0:i.networkCacheConfig),{},{force:!0}),k=!1,E=function(n,t){return k=!0,e.executeWithSource({operation:n,source:t})},R=new c,I=s.create(function(e){return R.subscribe(e)}),A=null,w=!1,x=function(n){w=!0;var r=new c;return _=a(e,"raw-network-request-"+p(n,t),function(){return e.getNetwork().execute(n,t,S)}).subscribe({error:function(e){A=e,r.error(e)},next:function(e){r.next(e)},complete:function(){r.complete()}}).unsubscribe,s.create(function(e){var n=r.subscribe(e);return function(){n.unsubscribe(),_()}})},P=function(n,t){w=!0,y=a(e,n.request.identifier,t).subscribe({error:function(e){R.error(e)},next:function(e){R.next(e)},complete:function(){R.complete()}}).unsubscribe},B=function(n){var r=u(n,t,S);g=e.retain(r),"store-only"!==T&&("store-or-network"!==T||"available"!==e.check(r).status)&&P(r,function(){return E(r,x(n.params))})};if("PreloadableConcreteRequest"===n.kind){null!==(C=(v=n.params).id)||o(!1);var N=l.get(C);if(null!=N)B(N);else{var O="store-only"===T?null:x(v);b=l.onLoad(C,function(n){b();var r=u(n,t,S);g=e.retain(r),null!=O&&P(r,function(){return E(r,O)})}).dispose}}else{var L=d(n);C=null!=(v=L.params).cacheID?v.cacheID:v.id,B(L)}var M=!1,j=!1,D=!1,U=function(){j||(g&&g.dispose(),j=!0)},q=function(){D||(k?y&&y():_&&_(),b&&b(),D=!0)};return{kind:"PreloadedQuery",environment:e,environmentProviderOptions:h,dispose:function(){M||(U(),q(),M=!0)},releaseQuery:U,cancelNetworkRequest:q,fetchKey:m,id:C,get isDisposed(){return M||j},get networkError(){return A},name:v.name,networkCacheConfig:S,fetchPolicy:T,source:w?I:void 0,variables:t}}}},74544:function(e,n,t){"use strict";var r=t(11915).default,o=r(t(9278)),i=r(t(27969)),a=t(82686).getQueryResourceForEnvironment,s=t(50238),l=t(31347),c=l.__internal.fetchQuery,u=l.RelayFeatureFlags,d=l.createOperationDescriptor,p=l.getPendingOperationsForFragment,m=l.getSelector,h=l.getVariablesFromFragment,f=l.handlePotentialSnapshotErrors;t(30499),e.exports=function(e,n,t,r,l,g){var _,y=m(n,t),v=(null==n?void 0:null===(S=n.metadata)||void 0===S?void 0:S.plural)===!0;v?null==t||Array.isArray(t)||s(!1):Array.isArray(t)&&s(!1),null==t||v&&Array.isArray(t)&&0===t.length||null!=y||s(!1);var b=null==y?{kind:"bailout"}:"PluralReaderSelector"!==y.kind?{kind:"singular",snapshot:e.lookup(y),epoch:e.getStore().getEpoch()}:0===y.selectors.length?{kind:"bailout"}:{kind:"plural",snapshots:y.selectors.map(function(n){return e.lookup(n)}),epoch:e.getStore().getEpoch()},C=null;if((null===(k=n.metadata)||void 0===k?void 0:k.hasClientEdges)===!0){var T=function(e){if("bailout"===e.kind)return null;if("singular"===e.kind)return null!==(n=e.snapshot.missingClientEdges)&&void 0!==n?n:null;var n,t,r=null,o=(0,i.default)(e.snapshots);try{for(o.s();!(t=o.n()).done;){var a=t.value;if(a.missingClientEdges){r=null!==(s=r)&&void 0!==s?s:[];var s,l,c=(0,i.default)(a.missingClientEdges);try{for(c.s();!(l=c.n()).done;){var u=l.value;r.push(u)}}catch(e){c.e(e)}finally{c.f()}}}}catch(e){o.e(e)}finally{o.f()}return r}(b);if(null!=T&&T.length){C=[];var S,k,E,R=(0,i.default)(T);try{for(R.s();!(E=R.n()).done;){var I=E.value;C.push(function(e,n,t,r,i){var s=h(n,t),l=(0,o.default)((0,o.default)({},s),{},{id:r.clientEdgeDestinationID}),u=d(r.request,l,null==i?void 0:i.networkCacheConfig);return a(e).prepare(u,c(e,u),null==i?void 0:i.fetchPolicy)}(e,n,t,I,l))}}catch(e){R.e(e)}finally{R.f()}}}if("bailout"!==b.kind&&("singular"===b.kind?b.snapshot.isMissingData:b.snapshots.some(function(e){return e.isMissingData}))){null!=y||s(!1);var A=p(e,n,"PluralReaderSelector"===y.kind?y.selectors[0].owner:y.owner);if(A)throw A.promise;!function(e,n){if("singular"===n.kind)f(e,n.snapshot.errorResponseFields);else if("plural"===n.kind){var t,r=(0,i.default)(n.snapshots);try{for(r.s();!(t=r.n()).done;){var o=t.value;f(e,o.errorResponseFields)}}catch(e){r.e(e)}finally{r.f()}}}(e,b)}return _="bailout"===b.kind?v?[]:null:"singular"===b.kind?b.snapshot.data:b.snapshots.map(function(e){return e.data}),u.LOG_MISSING_RECORDS_IN_PROD&&null!=t&&(void 0===_||Array.isArray(_)&&_.length>0&&_.every(function(e){return void 0===e})),{data:_,clientEdgeQueries:C}}},70504:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(9278)),o=t(850);e.exports=function(e,n,t){return o(e,n,(0,r.default)((0,r.default)({},t),{},{fetchPolicy:"store-only"}))}},50515:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(27969)),o=t(85147),i=t(2629),a=t(66123),s=a.useCallback,l=a.useEffect,c=a.useRef,u=a.useState,d={kind:"NullEntryPointReference"};e.exports=function(e,n,t){var a,p,m,h,f=null!==(a=null==t?void 0:null===(p=t.TEST_ONLY__initialEntryPointData)||void 0===p?void 0:p.entryPointReference)&&void 0!==a?a:d,g=null!==(m=null==t?void 0:null===(h=t.TEST_ONLY__initialEntryPointData)||void 0===h?void 0:h.entryPointParams)&&void 0!==m?m:null,_=i(),y=c(new Set([f])),v=u(f),b=v[0],C=v[1],T=u(g),S=T[0],k=T[1],E=s(function(){if(_.current){var e={kind:"NullEntryPointReference"};y.current.add(e),C(e)}},[C,_]),R=s(function(t){if(_.current){var r=o(e,n,t);y.current.add(r),C(r),k(t)}},[e,n,C,_]),I=c(!1);return l(function(){return function(){I.current=!0}},[]),l(function(){if(!0===I.current){I.current=!1,"NullEntryPointReference"!==b.kind&&null!=S&&R(S);return}var e=y.current;if(_.current){var n,t=(0,r.default)(e);try{for(t.s();!(n=t.n()).done;){var o=n.value;if(o===b)break;e.delete(o),"NullEntryPointReference"!==o.kind&&o.dispose()}}catch(e){t.e(e)}finally{t.f()}}},[b,S,R,_]),l(function(){return function(){var e,n=(0,r.default)(y.current);try{for(n.s();!(e=n.n()).done;){var t=e.value;"NullEntryPointReference"!==t.kind&&t.dispose()}}catch(e){n.e(e)}finally{n.f()}}},[]),["NullEntryPointReference"===b.kind?null:b,R,E]}},87499:function(e,n,t){"use strict";var r=t(20360),o=t(66123),i=o.useCallback,a=o.useEffect;e.exports=function(){var e=r(null),n=r(!1),t=i(function(){null!=e.current&&(e.current.unsubscribe(),e.current=null),n.current=!1},[]),o=i(function(t){e.current=t,n.current=!0},[]),s=i(function(){e.current=null,n.current=!1},[]);return a(function(){return t},[t]),{isFetchingRef:n,startFetch:o,disposeFetch:t,completeFetch:s}}},46486:function(e,n,t){"use strict";var r=t(93721),o=t(25716);t(66123).useDebugValue;var i=t(31347).getFragment;e.exports=function(e,n){var t=i(e);return o(t,"first argument of useFragment()"),r(t,n,"useFragment()")}},93721:function(e,n,t){"use strict";var r=t(11915).default,o=r(t(39445)),i=r(t(75485)),a=t(31347);e.exports=function(e,n,t,r){return a.RelayFeatureFlags.ENABLE_ACTIVITY_COMPATIBILITY?(0,i.default)(e,n,t,r):(0,o.default)(e,n,t,r)}},39445:function(e,n,t){"use strict";var r=t(11915).default,o=r(t(9278)),i=r(t(27969)),a=r(t(98639)),s=t(82686).getQueryResourceForEnvironment,l=t(36633),c=t(50238),u=t(66123),d=(u.useDebugValue,u.useEffect),p=u.useMemo,m=u.useRef,h=u.useState,f=t(31347),g=f.__internal,_=g.fetchQuery,y=g.getPromiseForActiveRequest,v=f.RelayFeatureFlags,b=f.areEqualSelectors,C=f.createOperationDescriptor,T=f.getPendingOperationsForFragment,S=f.getSelector,k=f.getVariablesFromFragment,E=f.handlePotentialSnapshotErrors,R=f.recycleNodesInto;function I(e,n){if("bailout"===n.kind)return null;var t=e.getStore().getEpoch();if(t===n.epoch)return null;if("singular"===n.kind){var r=e.lookup(n.snapshot.selector),o=R(n.snapshot.data,r.data),i={data:o,isMissingData:r.isMissingData,missingClientEdges:r.missingClientEdges,missingLiveResolverFields:r.missingLiveResolverFields,seenRecords:r.seenRecords,selector:r.selector,errorResponseFields:r.errorResponseFields};return[o!==n.snapshot.data,{kind:"singular",snapshot:i,epoch:t}]}for(var a=!1,s=[],l=0;l0)throw Promise.all(Z.map(function(e){return P.getStore().getLiveResolverPromise(e)}));if(v.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE||P!==V||!K.current||!b(K.current,w)){null!=w||c(!1);var J=T(P,e,"PluralReaderSelector"===w.kind?w.selectors[0].owner:w.owner);if(J)throw J.promise}}!function(e,n){if("singular"===n.kind)E(e,n.snapshot.errorResponseFields);else if("plural"===n.kind){var t,r=(0,i.default)(n.snapshots);try{for(r.s();!(t=r.n()).done;){var o=t.value;E(e,o.errorResponseFields)}}catch(e){r.e(e)}finally{r.f()}}}(P,L);var X=m(!1);if(d(function(){var e=U,n=I(P,U);if(null!==n){var t=n[0],r=n[1];t&&O(r),e=r}return function(e,n,t,r){if("bailout"===n.kind)return function(){};if("singular"===n.kind){var o=e.subscribe(n.snapshot,function(n){t(function(t){if("singular"!==t.kind||t.snapshot.selector!==n.selector){var o=I(e,t);if(null==o)return t;var i=o[0],a=o[1];return e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:i}),r.current=i,i?a:t}return r.current=!0,{kind:"singular",snapshot:n,epoch:e.getStore().getEpoch()}})});return function(){o.dispose()}}var s=n.snapshots.map(function(n,o){return e.subscribe(n,function(n){t(function(t){if("plural"!==t.kind||(null===(i=t.snapshots[o])||void 0===i?void 0:i.selector)!==n.selector){var i,s=I(e,t);if(null==s)return t;var l=s[0],c=s[1];return e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:l}),r.current=r.current||l,l?c:t}var u=(0,a.default)(t.snapshots);return u[o]=n,r.current=!0,{kind:"plural",snapshots:u,epoch:e.getStore().getEpoch()}})})});return function(){var e,n=(0,i.default)(s);try{for(n.s();!(e=n.n()).done;)e.value.dispose()}catch(e){n.e(e)}finally{n.f()}}}(P,e,O,X)},[P,U]),X.current){var ee=I(P,L);if(null!=ee){var en=ee[0],et=ee[1];en&&(O(et),L=et)}X.current=!1}if(x){var er=null==n;R=p(function(){return"bailout"===L.kind?er?null:[]:("plural"!==L.kind&&c(!1),L.snapshots.map(function(e){return e.data}))},[L,er])}else"bailout"===L.kind?R=null:("singular"!==L.kind&&c(!1),R=L.snapshot.data);return v.LOG_MISSING_RECORDS_IN_PROD&&null!=n&&(void 0===R||Array.isArray(R)&&R.length>0&&R.every(function(e){return void 0===e})),R}},75485:function(e,n,t){"use strict";var r=t(11915).default,o=r(t(9278)),i=r(t(27969)),a=r(t(98639)),s=t(82686).getQueryResourceForEnvironment,l=t(36633),c=t(50238),u=t(66123),d=(u.useDebugValue,u.useEffect),p=u.useMemo,m=u.useRef,h=u.useState,f=t(31347),g=f.__internal,_=g.fetchQuery,y=g.getPromiseForActiveRequest,v=f.RelayFeatureFlags,b=f.areEqualSelectors,C=f.createOperationDescriptor,T=f.getPendingOperationsForFragment,S=f.getSelector,k=f.getVariablesFromFragment,E=f.handlePotentialSnapshotErrors,R=f.recycleNodesInto;function I(e,n){if("bailout"===n.kind)return null;var t=e.getStore().getEpoch();if(t===n.epoch)return null;if("singular"===n.kind){var r=e.lookup(n.snapshot.selector),o=R(n.snapshot.data,r.data),i={data:o,isMissingData:r.isMissingData,missingClientEdges:r.missingClientEdges,missingLiveResolverFields:r.missingLiveResolverFields,seenRecords:r.seenRecords,selector:r.selector,errorResponseFields:r.errorResponseFields};return[o!==n.snapshot.data,{kind:"singular",snapshot:i,epoch:t,selector:n.selector,environment:n.environment}]}for(var a=!1,s=[],l=0;l0)throw Promise.all(H.map(function(e){return P.getStore().getLiveResolverPromise(e)}));if(v.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE||P!==M||!D.current||!b(D.current,R)){null!=R||c(!1);var G=T(P,e,"PluralReaderSelector"===R.kind?R.selectors[0].owner:R.owner);if(G)throw G.promise}}!function(e,n){if("singular"===n.kind)E(e,n.snapshot.errorResponseFields);else if("plural"===n.kind){var t,r=(0,i.default)(n.snapshots);try{for(r.s();!(t=r.n()).done;){var o=t.value;E(e,o.errorResponseFields)}}catch(e){r.e(e)}finally{r.f()}}}(P,L);var V=m(null);if(d(function(){var e=V.current;if(null!=e){if(L.environment===e.environment&&L.selector===e.selector)return;e.dispose()}if("bailout"!==L.kind){var n=L,t=I(L.environment,L);if(null!==t){var r=t[0],o=t[1];if(r){O(o);return}n=o}var i=A(L.environment,n,O);V.current={dispose:i,selector:L.selector,environment:L.environment}}},[L]),d(function(){if(null==V.current&&"bailout"!==L.kind){var e=A(L.environment,L,O);V.current={dispose:e,selector:L.selector,environment:L.environment}}return function(){var e;null===(e=V.current)||void 0===e||e.dispose(),V.current=null}},[]),x){var z=null==n;g=p(function(){return"bailout"===L.kind?z?null:[]:("plural"!==L.kind&&c(!1),L.snapshots.map(function(e){return e.data}))},[L,z])}else"bailout"===L.kind?g=null:("singular"!==L.kind&&c(!1),g=L.snapshot.data);return v.LOG_MISSING_RECORDS_IN_PROD&&null!=n&&(void 0===g||Array.isArray(g)&&g.length>0&&g.every(function(e){return void 0===e})),g}},2629:function(e,n,t){"use strict";var r=t(66123),o=r.useEffect,i=r.useRef;e.exports=function(){var e=i(!0);return o(function(){return e.current=!0,function(){e.current=!1}},[]),e}},2738:function(e,n,t){"use strict";var r=t(36633),o=t(50238),i=t(66123),a=t(31347),s=a.__internal.getObservableForActiveRequest,l=a.getSelector,c=i.useEffect,u=i.useState,d=i.useMemo;e.exports=function(e,n){var t=r(),i=d(function(){var r=l(e,n);return null==r?null:("SingularReaderSelector"!==r.kind&&o(!1),s(t,r.owner))},[t,e,n]),a=u(null!=i),p=a[0],m=a[1];return c(function(){var e;if(m(null!=i),null!=i){var n=function(){m(!1)};e=i.subscribe({complete:n,error:n})}return function(){e&&e.unsubscribe()}},[i]),p}},850:function(e,n,t){"use strict";var r=t(95888),o=t(54929),i=t(36633),a=t(31347).__internal.fetchQuery;e.exports=function(e,n,t){var s=i(),l=o(e,n,t&&t.networkCacheConfig?t.networkCacheConfig:{force:!0});return r({componentDisplayName:"useLazyLoadQuery()",fetchKey:null==t?void 0:t.fetchKey,fetchObservable:a(s,l),fetchPolicy:null==t?void 0:t.fetchPolicy,query:l,renderPolicy:null==t?void 0:t.UNSTABLE_renderPolicy})}},95888:function(e,n,t){"use strict";var r=t(4596),o=t(82686),i=o.getQueryCacheIdentifier,a=o.getQueryResourceForEnvironment,s=t(87499),l=t(93721),c=t(36633),u=t(66123),d=u.useContext,p=u.useEffect,m=u.useState,h=u.useRef;e.exports=function(e){var n=e.query,t=e.componentDisplayName,o=e.fetchObservable,u=e.fetchPolicy,f=e.fetchKey,g=e.renderPolicy,_=c(),y=d(r),v=a(_),b=m(0),C=b[0],T=b[1],S=s(),k=S.startFetch,E=S.completeFetch,R=i(_,n,u,g,"".concat(C,"-").concat(null!=f?f:"")),I=y.wrapPrepareQueryResource(function(){return v.prepareWithIdentifier(R,n,o,u,g,{start:k,complete:E,error:E},y)}),A=h(!1);return p(function(){return function(){A.current=!0}},[]),p(function(){if(!0===A.current){A.current=!1,T(function(e){return e+1});return}var e=v.retain(I,y);return function(){e.dispose()}},[_,R]),p(function(){v.releaseTemporaryRetain(I)}),l(I.fragmentNode,I.fragmentRef,t)}},76337:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(9278)),o=t(35647),i=t(87499),a=t(2629),s=t(2738),l=t(93798),c=t(36633),u=t(50238),d=t(66123),p=d.useCallback,m=d.useEffect,h=d.useState,f=t(31347),g=f.__internal.fetchQuery,_=f.RelayFeatureFlags,y=f.createOperationDescriptor,v=f.getPaginationVariables,b=f.getRefetchMetadata,C=f.getSelector;t(30499),e.exports=function(e){var n,t,d,f,T,S,k,E,R,I,A,w,x,P,B,N,O,L,M,j,D,U,q,F,H,G,V,z,W,K;return _.ENABLE_ACTIVITY_COMPATIBILITY?l(e):(n=e.direction,t=e.fragmentNode,d=e.fragmentRef,f=e.fragmentIdentifier,T=e.fragmentData,S=e.connectionPathInFragmentData,k=e.paginationRequest,E=e.paginationMetadata,R=e.componentDisplayName,I=e.observer,A=e.onReset,w=c(),P=(x=i()).isFetchingRef,B=x.startFetch,N=x.disposeFetch,O=x.completeFetch,M=(null==(L=b(t,R).identifierInfo)?void 0:L.identifierField)!=null&&null!=T&&"object"==typeof T?T[L.identifierField]:null,j=a(),U=(D=h(w))[0],q=D[1],H=(F=h(f))[0],G=F[1],V=s(t,d),(w!==U||f!==H)&&(N(),A(),q(w),G(f)),W=(z=o(n,t,T,S)).cursor,K=z.hasMore,m(function(){return function(){N()}},[N]),[p(function(e,o){var i=null==o?void 0:o.onComplete;if(!0!==j.current)return{dispose:function(){}};var a=C(t,d);if(!0===P.current||null==T||V)return i&&i(null),{dispose:function(){}};null!=a&&"PluralReaderSelector"!==a.kind||u(!1);var s=a.owner.variables,l=a.variables,c=null==o?void 0:o.UNSTABLE_extraVariables,p=v(n,e,W,(0,r.default)((0,r.default)({},s),l),(0,r.default)({},c),E);return null!=L&&(p[L.identifierQueryVariableName]=M),g(w,y(k,p,{force:!0})).subscribe((0,r.default)((0,r.default)({},I),{},{start:function(e){B(e),I.start&&I.start(e)},complete:function(){O(),I.complete&&I.complete(),i&&i(null)},error:function(e){O(),I.error&&I.error(e),i&&i(e)}})),{dispose:N}},[w,M,n,W,B,N,O,P,V,T,t.name,d,R]),K,N])}},93798:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(9278)),o=t(35647),i=t(2629),a=t(2738),s=t(36633),l=t(50238),c=t(66123),u=c.useCallback,d=c.useRef,p=c.useState,m=t(31347),h=m.__internal.fetchQuery,f=m.createOperationDescriptor,g=m.getPaginationVariables,_=m.getRefetchMetadata,y=m.getSelector;t(30499),e.exports=function(e){var n=e.direction,t=e.fragmentNode,c=e.fragmentRef,m=e.fragmentIdentifier,v=e.fragmentData,b=e.connectionPathInFragmentData,C=e.paginationRequest,T=e.paginationMetadata,S=e.componentDisplayName,k=e.observer,E=e.onReset,R=s(),I=_(t,S).identifierInfo,A=(null==I?void 0:I.identifierField)!=null&&null!=v&&"object"==typeof v?v[I.identifierField]:null,w=d({kind:"none"}),x=p(R),P=x[0],B=x[1],N=p(m),O=N[0],L=N[1],M=a(t,c),j=u(function(){"fetching"===w.current.kind&&w.current.subscription.unsubscribe(),w.current={kind:"none"}},[]);(R!==P||m!==O)&&(j(),E(),B(R),L(m));var D=o(n,t,v,b),U=D.cursor,q=D.hasMore,F=i();return[u(function(e,o){var i=null==o?void 0:o.onComplete;if(!0!==F.current)return{dispose:function(){}};var a=y(t,c);if("fetching"===w.current.kind||null==v||M)return i&&i(null),{dispose:function(){}};null!=a&&"PluralReaderSelector"!==a.kind||l(!1);var s=a.owner.variables,u=a.variables,d=null==o?void 0:o.UNSTABLE_extraVariables,p=g(n,e,U,(0,r.default)((0,r.default)({},s),u),(0,r.default)({},d),T);return null!=I&&(p[I.identifierQueryVariableName]=A),h(R,f(C,p,{force:!0})).subscribe((0,r.default)((0,r.default)({},k),{},{start:function(e){w.current={kind:"fetching",subscription:e},k.start&&k.start(e)},complete:function(){w.current={kind:"none"},k.complete&&k.complete(),i&&i(null)},error:function(e){w.current={kind:"none"},k.complete&&k.complete(),i&&i(e)}})),{dispose:function(){}}},[R,A,n,U,M,v,t.name,c,S]),q,j]}},54929:function(e,n,t){"use strict";var r=t(5995),o=t(66123),i=t(31347),a=i.createOperationDescriptor,s=i.getRequest,l=o.useMemo;e.exports=function(e,n,t){var o=r(n),i=r(t||{});return l(function(){return a(s(e),o,i)},[e,o,i])}},5995:function(e,n,t){"use strict";var r=t(22781),o=t(66123).useState;e.exports=function(e){var n=o(e),t=n[0],i=n[1];return r(e,t)?t:(i(e),e)}},3545:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(9278)),o=t(2629),i=t(36633),a=t(66123),s=t(31347).commitMutation,l=a.useState,c=a.useEffect,u=a.useRef,d=a.useCallback;e.exports=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,t=i(),a=o(),p=u(t),m=u(e),h=u(new Set),f=l(!1),g=f[0],_=f[1],y=d(function(n){p.current===t&&m.current===e&&(h.current.delete(n),a.current&&_(h.current.size>0))},[t,a,e]);return c(function(){(p.current!==t||m.current!==e)&&(h.current=new Set,a.current&&_(!1),p.current=t,m.current=e)},[t,a,e]),[d(function(o){a.current&&_(!0);var i=n(t,(0,r.default)((0,r.default)({},o),{},{mutation:e,onCompleted:function(e,n){var t;y(i),null===(t=o.onCompleted)||void 0===t||t.call(o,e,n)},onError:function(e){var n;y(i),null===(n=o.onError)||void 0===n||n.call(o,e)},onUnsubscribe:function(){var e;y(i),null===(e=o.onUnsubscribe)||void 0===e||e.call(o)},onNext:function(){var e;null===(e=o.onNext)||void 0===e||e.call(o)}}));return h.current.add(i),i},[y,n,t,a,e]),g]}},56150:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(9278)),o=t(76337),i=t(69989),a=t(36633),s=t(25716),l=t(66123),c=l.useCallback,u=(l.useDebugValue,l.useState),d=t(31347),p=d.getFragment,m=d.getFragmentIdentifier,h=d.getPaginationMetadata;function f(e){var n=a(),t=u(!1),i=t[0],s=t[1],l=function(e){var t,r=null===(t=n.getScheduler())||void 0===t?void 0:t.schedule;r?r(function(){s(e)}):s(e)},c=o((0,r.default)((0,r.default)({},e),{},{observer:{start:function(){return l(!0)},complete:function(){return l(!1)},error:function(){return l(!1)}},onReset:function(){return l(!1)}}));return[c[0],c[1],i,c[2]]}e.exports=function(e,n){var t=p(e);s(t,"first argument of usePaginationFragment()");var o="usePaginationFragment()",a=h(t,o),l=a.connectionPathInFragmentData,u=a.paginationRequest,d=a.paginationMetadata,g=i(t,n,o),_=g.fragmentData,y=g.fragmentRef,v=g.refetch,b=m(t,y),C=f({componentDisplayName:o,connectionPathInFragmentData:l,direction:"backward",fragmentData:_,fragmentIdentifier:b,fragmentNode:t,fragmentRef:y,paginationMetadata:d,paginationRequest:u}),T=C[0],S=C[1],k=C[2],E=C[3],R=f({componentDisplayName:o,connectionPathInFragmentData:l,direction:"forward",fragmentData:_,fragmentIdentifier:b,fragmentNode:t,fragmentRef:y,paginationMetadata:d,paginationRequest:u}),I=R[0],A=R[1],w=R[2],x=R[3];return{data:_,loadNext:I,loadPrevious:T,hasNext:A,hasPrevious:S,isLoadingNext:w,isLoadingPrevious:k,refetch:c(function(e,n){return x(),E(),v(e,(0,r.default)((0,r.default)({},n),{},{__environment:void 0}))},[x,E,v])}}},7102:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(9278)),o=t(46486),i=t(76337),a=t(69989),s=t(36633),l=t(25716),c=t(50238),u=t(66123),d=u.useCallback,p=(u.useDebugValue,u.useEffect),m=u.useLayoutEffect,h=u.useMemo,f=u.useRef,g=u.useState,_=t(31347),y=_.getFragment,v=_.getFragmentIdentifier,b=_.getPaginationMetadata,C=t(31347),T=C.ConnectionInterface,S=C.getSelector,k=C.getValueAtPath;e.exports=function(e,n,t,u,_){var C,E,R=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,I=y(e);l(I,"first argument of usePrefetchableForwardPaginationFragment_EXPERIMENTAL()");var A="usePrefetchableForwardPaginationFragment_EXPERIMENTAL()",w=b(I,A),x=w.connectionPathInFragmentData,P=w.paginationRequest,B=w.paginationMetadata,N=a(I,n,A),O=N.fragmentData,L=N.fragmentRef,M=N.refetch,j=v(I,L),D=h(function(){var e=k(O,x);return null==e?null:e[T.get().EDGES]},[x,O]),U=null==D?-1:D.length,q=g(null!=u?u:U),F=q[0],H=q[1],G=F;-1===F&&-1!==U&&H(G=null!=u?u:U);var V=s(),z=g(!1),W=z[0],K=z[1],$=g(!1),Q=$[0],Y=$[1],Z=f(0),J=d(function(e){var n,t=null===(n=V.getScheduler())||void 0===n?void 0:n.schedule;t?t(function(){K(e)}):K(e)},[V]),X=f(!1),ee=i({componentDisplayName:A,connectionPathInFragmentData:x,direction:"forward",fragmentData:O,fragmentIdentifier:j,fragmentNode:I,fragmentRef:L,paginationMetadata:B,paginationRequest:P,observer:h(function(){return{start:function(){X.current=!0,K(!0)},complete:function(){X.current=!1,J(!1)},error:function(){X.current=!1,J(!1)}}},[J]),onReset:d(function(){if(!Q){var e,n=null===(e=V.getScheduler())||void 0===e?void 0:e.schedule;n?n(function(){H(-1)}):H(-1)}X.current=!1,J(!1)},[V,Q,J])}),en=ee[0],et=ee[1],er=ee[2];m(function(){Z.current=U-G},[G,U]);var eo=null==_?void 0:_.UNSTABLE_extraVariables,ei=null==_?void 0:_.onComplete,ea=d(function(e,n){(!X.current||Z.current>=0)&&(Z.current-=e,H(function(n){return n+e}),!X.current&&Z.current<0&&en(Math.max(R,Math.min(e,t-Z.current)),null!=n?n:{onComplete:ei,UNSTABLE_extraVariables:"function"==typeof eo?eo({hasNext:et,data:O,getServerEdges:function(){var e=S(es,D);return null==e?[]:("PluralReaderSelector"!==e.kind&&c(!1),e.selectors.map(function(e){return V.lookup(e).data}))}}):eo}))},[t,en,R,D,O,eo,ei]),es=null===(C=e.metadata)||void 0===C?void 0:null===(E=C.refetch)||void 0===E?void 0:E.edgesFragment;null!=es||c(!1),p(function(){!X.current&&!W&&!Q&&et&&(U-GU)&&en(Math.max(t-Math.max(U-G,0),G-U,R),{onComplete:ei,UNSTABLE_extraVariables:"function"==typeof eo?eo({hasNext:et,data:O,getServerEdges:function(){var e=S(es,D);return null==e?[]:("PluralReaderSelector"!==e.kind&&c(!1),e.selectors.map(function(e){return V.lookup(e).data}))}}):eo})},[et,t,Q,en,G,eo,ei,U,D,W,R,V,es]);var el=Math.min(G,U),ec=o(es,h(function(){var e;return null!==(e=null==D?void 0:D.slice(0,el))&&void 0!==e?e:[]},[D,el])),eu=d(function(e,n){return er(),Y(!0),M(e,(0,r.default)((0,r.default)({},n),{},{onComplete:function(e){var t,r,o=null===(t=V.getScheduler())||void 0===t?void 0:t.schedule;o?o(function(){Y(!1),H(-1)}):(Y(!1),H(-1)),null==n||null===(r=n.onComplete)||void 0===r||r.call(n,e)},__environment:void 0}))},[er,V,M]);return{edges:ec,data:O,loadNext:ea,hasNext:et||U>G,isLoadingNext:W&&G>U,refetch:eu}}},87838:function(e,n,t){"use strict";var r=t(95888),o=t(54929),i=t(36633),a=t(50238);t(66123).useDebugValue;var s=t(31347).__internal,l=s.fetchQueryDeduped,c=s.fetchQuery;t(30499),e.exports=function(e,n,t){var s=i(),u=n.fetchKey,d=n.fetchPolicy,p=n.source,m=o(e,n.variables,n.networkCacheConfig);if("PreloadedQuery_DEPRECATED"===n.kind)m.request.node.params.name!==n.name&&a(!1),h={componentDisplayName:"usePreloadedQuery()",fetchKey:u,fetchObservable:l(s,m.request.identifier,function(){return s===n.environment&&null!=p?s.executeWithSource({operation:m,source:p}):s.execute({operation:m})}),fetchPolicy:d,query:m,renderPolicy:null==t?void 0:t.UNSTABLE_renderPolicy};else{var h,f,g=c(s,m);null!=p&&s===n.environment?f=p.ifEmpty(g):(n.environment,f=g),h={componentDisplayName:"usePreloadedQuery()",fetchObservable:f,fetchKey:u,fetchPolicy:d,query:m,renderPolicy:null==t?void 0:t.UNSTABLE_renderPolicy}}return r(h)}},22645:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(27969)),o=t(69792).loadQuery,i=t(2629),a=t(83167),s=t(36633),l=t(66123),c=l.useCallback,u=l.useEffect,d=l.useRef,p=l.useState,m=t(31347),h=m.RelayFeatureFlags,f=m.getRequest,g={kind:"NullQueryReference"};function _(e){return"PreloadableConcreteRequest"===e.kind?void 0!==e.params.metadata.live:void 0!==f(e).params.metadata.live}e.exports=function(e,n){var t,l,m,f,y,v,b,C,T,S,k,E,R;return h.ENABLE_ACTIVITY_COMPATIBILITY?a(e,n):(t=null!=n?n:g,l=s(),m=i(),f=d(new Set([t])),v=(y=p(function(){return t}))[0],b=y[1],T=(C=p(function(){return t}))[0],S=C[1],t!==T&&(f.current.add(t),S(t),b(t)),k=c(function(){m.current&&(f.current.add(g),b(g))},[m]),E=c(function(n,t){var r=null!=t&&t.hasOwnProperty("__environment")?{fetchPolicy:t.fetchPolicy,networkCacheConfig:t.networkCacheConfig,__nameForWarning:t.__nameForWarning}:t;if(m.current){var i,a=o(null!==(i=null==t?void 0:t.__environment)&&void 0!==i?i:l,e,n,r);f.current.add(a),b(a)}},[l,e,b,m]),R=d(!1),u(function(){return function(){R.current=!0}},[]),u(function(){if(!0===R.current){R.current=!1,"NullQueryReference"!==v.kind&&E(v.variables,{fetchPolicy:v.fetchPolicy,networkCacheConfig:v.networkCacheConfig});return}var n=f.current;if(m.current){var t,o=(0,r.default)(n);try{for(o.s();!(t=o.n()).done;){var i=t.value;if(i===v)break;n.delete(i),"NullQueryReference"!==i.kind&&(_(e)?i.dispose&&i.dispose():i.releaseQuery&&i.releaseQuery())}}catch(e){o.e(e)}finally{o.f()}}},[v,m,E,e]),u(function(){return function(){var n,t=(0,r.default)(f.current);try{for(t.s();!(n=t.n()).done;){var o=n.value;"NullQueryReference"!==o.kind&&(_(e)?o.dispose&&o.dispose():o.releaseQuery&&o.releaseQuery())}}catch(e){t.e(e)}finally{t.f()}}},[e]),["NullQueryReference"===v.kind?null:v,E,k])}},83167:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(27969)),o=t(69792).loadQuery,i=t(2629),a=t(36633),s=t(66123),l=s.useCallback,c=s.useEffect,u=s.useInsertionEffect,d=s.useRef,p=s.useState,m=t(31347).getRequest,h={kind:"NullQueryReference"};e.exports=function(e,n){var t,s=null!=n?n:h,f=a(),g=i(),_=d(null);null==_.current&&(_.current=new Set([s]));var y=p(function(){return s}),v=y[0],b=y[1],C=p(function(){return s}),T=C[0],S=C[1];s!==T&&(null===(t=_.current)||void 0===t||t.add(s),S(s),b(s));var k=l(function(){if(g.current){var e;null===(e=_.current)||void 0===e||e.add(h),b(h)}},[g]),E=l(function(n,t){if(g.current){var r,i,a=null!=t&&t.hasOwnProperty("__environment")?{fetchPolicy:t.fetchPolicy,networkCacheConfig:t.networkCacheConfig,__nameForWarning:t.__nameForWarning}:t,s=o(null!==(r=null==t?void 0:t.__environment)&&void 0!==r?r:f,e,n,a);null===(i=_.current)||void 0===i||i.add(s),b(s)}},[f,e,b,g]),R=l(function(e,n){var t,o,i=null!==(t=_.current)&&void 0!==t?t:new Set,a=(0,r.default)(i);try{for(a.s();!(o=a.n()).done;){var s=o.value;s!==n&&"NullQueryReference"!==s.kind&&(("PreloadableConcreteRequest"===e.kind?void 0!==e.params.metadata.live:void 0!==m(e).params.metadata.live)?s.dispose&&s.dispose():s.releaseQuery&&s.releaseQuery())}}catch(e){a.e(e)}finally{a.f()}},[]),I=d(null);return c(function(){return R(e,v),null!=I.current&&(clearTimeout(I.current),I.current=null),function(){I.current=setTimeout(function(){R(e,null)},3e5)}},[e,v]),u(function(){return function(){I.current&&clearTimeout(I.current),I.current=null,R(e,null)}},[e]),["NullQueryReference"===v.kind?null:v,E,k]}},88139:function(e,n,t){"use strict";var r=t(69989),o=t(25716);t(66123).useDebugValue;var i=t(31347).getFragment;e.exports=function(e,n){var t=i(e);o(t,"first argument of useRefetchableFragment()");var a=r(t,n,"useRefetchableFragment()");return[a.fragmentData,a.refetch]}},69989:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(9278)),o=t(4596),i=t(82686).getQueryResourceForEnvironment,a=t(74544),s=t(93721),l=t(2629),c=t(22645),u=t(36633),d=t(50238),p=t(66123),m=p.useCallback,h=p.useContext,f=p.useReducer,g=t(31347),_=g.__internal.fetchQuery,y=g.createOperationDescriptor,v=g.getFragmentIdentifier,b=g.getRefetchMetadata,C=g.getSelector,T=g.getValueAtPath;function S(e,n){switch(n.type){case"refetch":var t;return(0,r.default)((0,r.default)({},e),{},{fetchPolicy:n.fetchPolicy,mirroredEnvironment:null!==(t=n.refetchEnvironment)&&void 0!==t?t:e.mirroredEnvironment,onComplete:n.onComplete,refetchEnvironment:n.refetchEnvironment,refetchQuery:n.refetchQuery,renderPolicy:n.renderPolicy});case"reset":return{fetchPolicy:void 0,mirroredEnvironment:n.environment,mirroredFragmentIdentifier:n.fragmentIdentifier,onComplete:void 0,refetchQuery:null,renderPolicy:void 0};default:throw n.type,Error("useRefetchableFragmentNode: Unexpected action type")}}t(30499),e.exports=function(e,n,t){var p,g,k=u(),E=b(e,t),R=E.refetchableRequest,I=E.fragmentRefPathInResponse,A=E.identifierInfo,w=v(e,n),x=f(S,{fetchPolicy:void 0,mirroredEnvironment:k,mirroredFragmentIdentifier:w,onComplete:void 0,refetchEnvironment:null,refetchQuery:null,renderPolicy:void 0}),P=x[0],B=x[1],N=P.fetchPolicy,O=P.mirroredEnvironment,L=P.mirroredFragmentIdentifier,M=P.onComplete,j=P.refetchEnvironment,D=P.refetchQuery,U=P.renderPolicy,q=null!=j?j:k,F=i(q),H=h(o),G=q!==O||w!==L,V=c(R),z=V[0],W=V[1],K=V[2],$=n;if(G)B({type:"reset",environment:q,fragmentIdentifier:w}),K();else if(null!=D&&null!=z){var Q=function(e){M&&M(null!=e?e:null)},Y=null!=z.source?z.source:_(q,D),Z=H.wrapPrepareQueryResource(function(){return F.prepare(D,Y,N,U,{error:Q,complete:function(){Q()}},z.fetchKey,H)}),J=a(q,Z.fragmentNode,Z.fragmentRef,t).data;null!=J||d(!1),$=T(J,I)}var X=s(e,$,t),ee=(p=l(),m(function(t,o){if(!0!==p.current)return{dispose:function(){}};var i,a,s,l,c,u,d=null==o?void 0:o.__environment,m=null==o?void 0:o.fetchPolicy,h=null==o?void 0:o.UNSTABLE_renderPolicy,f=null==o?void 0:o.onComplete,_=C(e,n);null==_?(i={},a={}):"PluralReaderSelector"===_.kind?(i=null!==(s=null===(l=_.selectors[0])||void 0===l?void 0:l.owner.variables)&&void 0!==s?s:{},a=null!==(c=null===(u=_.selectors[0])||void 0===u?void 0:u.variables)&&void 0!==c?c:{}):(i=_.owner.variables,a=_.variables);var v=(0,r.default)((0,r.default)((0,r.default)({},i),a),t);null==A||t.hasOwnProperty(A.identifierQueryVariableName)||(v[A.identifierQueryVariableName]=g);var b=y(R,v,{force:!0});return W(b.request.variables,{fetchPolicy:m,__environment:d,__nameForWarning:"refetch"}),B({type:"refetch",fetchPolicy:m,onComplete:f,refetchEnvironment:d,refetchQuery:b,renderPolicy:h}),{dispose:K}},[w,B,K,g=(null==A?void 0:A.identifierField)!=null&&null!=X&&"object"==typeof X?X[A.identifierField]:null,W]));return{fragmentData:X,fragmentRef:$,refetch:ee}}},36633:function(e,n,t){"use strict";var r=t(10233),o=t(50238),i=t(66123).useContext;e.exports=function(){var e=i(r);return null!=e||o(!1),e.environment}},25716:function(e,n,t){"use strict";t(20360),t(30499),e.exports=function(e,n){}},97905:function(e,n,t){"use strict";var r=t(36633),o=t(66123),i=o.useEffect,a=o.useRef;e.exports=function(e,n){var t=r(),o=a(null);return i(function(){var r=t.getStore(),i=r.lookupInvalidationState(e),a=r.subscribeToInvalidationState(i,n);return o.current=a,function(){return a.dispose()}},[Array.from(e).sort().join(""),n,t]),{dispose:function(){null!=o.current&&o.current.dispose()}}}},8253:function(e,n,t){"use strict";var r=t(36633),o=t(66123).useEffect,i=t(31347).requestSubscription;e.exports=function(e,n){var t=null!=n?n:i,a=r();o(function(){return t(a,e).dispose},[a,e,t])}},20360:function(e,n,t){"use strict";var r=t(66123).useMemo;e.exports=function(e){return r(function(){return{current:e}},[])}},60300:function(e,n,t){"use strict";t.d(n,{Z:function(){return p}});var r=t(4711),o=t(61394),i=t(82679);function a(e,n){return e.replace(RegExp("(^|\\s)"+n+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var s=t(66123),l=t(11885),c=t(8997),u=function(e,n){return e&&n&&n.split(" ").forEach(function(n){e.classList?e.classList.remove(n):"string"==typeof e.className?e.className=a(e.className,n):e.setAttribute("class",a(e.className&&e.className.baseVal||"",n))})},d=function(e){function n(){for(var n,t=arguments.length,r=Array(t),o=0;o0&&"LinkedField"===e.fragment.selections[0].kind?e.fragment.selections[0].name:null}e.exports={MutationTypes:i,RangeOperations:a,convert:function(e,n,t,i){var a=t?[t]:[],l=i?[i]:[];return e.forEach(function(e){switch(e.type){case"NODE_DELETE":var t,i,c=(t=e.deletedIDFieldName,(i=s(n))?function(e,n){var r=e.getRootField(i);if(r){var o=r.getValue(t);(Array.isArray(o)?o:[o]).forEach(function(n){n&&"string"==typeof n&&e.delete(n)})}}:null);c&&(a.push(c),l.push(c));break;case"RANGE_ADD":var u=function(e,n){var t=e.parentID,i=e.connectionInfo,a=e.edgeName;if(!t)return null;var l=s(n);return i&&l?function(e,n){var s=e.get(t);if(s){var c=e.getRootField(l);if(c){var u,d=c.getLinkedRecord(a),p=(0,r.default)(i);try{for(p.s();!(u=p.n()).done;){var m=u.value;if(d){var h=o.getConnection(s,m.key,m.filters);if(h){var f=o.buildConnectionEdge(e,h,d);if(f)switch(m.rangeBehavior){case"append":o.insertEdgeAfter(h,f);break;case"prepend":o.insertEdgeBefore(h,f)}}}}}catch(e){p.e(e)}finally{p.f()}}}}:null}(e,n);u&&(a.push(u),l.push(u));break;case"RANGE_DELETE":var d=function(e,n){var t=e.parentID,i=e.connectionKeys,a=e.pathToConnection,l=e.deletedIDFieldName;if(!t)return null;var c=s(n);return c?function(e,n){if(n){var s=[],u=n[c];if(u&&Array.isArray(l)){var d,p=(0,r.default)(l);try{for(p.s();!(d=p.n()).done;){var m=d.value;u&&"object"==typeof u&&(u=u[m])}}catch(e){p.e(e)}finally{p.f()}Array.isArray(u)?u.forEach(function(e){e&&e.id&&"object"==typeof e&&"string"==typeof e.id&&s.push(e.id)}):u&&u.id&&"string"==typeof u.id&&s.push(u.id)}else u&&"string"==typeof l&&"object"==typeof u&&("string"==typeof(u=u[l])?s.push(u):Array.isArray(u)&&u.forEach(function(e){"string"==typeof e&&s.push(e)}));(function(e,n,t,i,a){var s=i.get(e);if(s&&!(t.length<2)){for(var l=s,c=1;c0||i(!1),t>0||i(!1),this._responses=new Map,this._size=n,this._ttl=t}var n=e.prototype;return n.clear=function(){this._responses.clear()},n.get=function(e,n){var t=this,o=s(e,n);this._responses.forEach(function(e,n){e.fetchTime+t._ttl>=Date.now()||t._responses.delete(n)});var i=this._responses.get(o);return null==i?null:Array.isArray(i.payload)?i.payload.map(function(e){return(0,r.default)((0,r.default)({},e),{},{extensions:(0,r.default)((0,r.default)({},e.extensions),{},{cacheTimestamp:i.fetchTime})})}):(0,r.default)((0,r.default)({},i.payload),{},{extensions:(0,r.default)((0,r.default)({},i.payload.extensions),{},{cacheTimestamp:i.fetchTime})})},n.set=function(e,n,t){var r=Date.now(),o=s(e,n);if(this._responses.delete(o),this._responses.set(o,{fetchTime:r,payload:t}),this._responses.size>this._size){var i=this._responses.keys().next();i.done||this._responses.delete(i.value)}},e}();function s(e,n){return JSON.stringify(o({queryID:e,variables:n}))}e.exports=a},9946:function(e,n,t){"use strict";var r=t(46273);e.exports=function(e,n){return{execute:function(t,o,i,a){var s=r();return n.execute(t,o,i,a,function(n){e.__log({name:"network.info",networkRequestId:s,info:n})}).do({start:function(n){e.__log({name:"network.start",networkRequestId:s,params:t,variables:o,cacheConfig:i})},next:function(n){e.__log({name:"network.next",networkRequestId:s,response:n})},error:function(n){e.__log({name:"network.error",networkRequestId:s,error:n})},complete:function(){e.__log({name:"network.complete",networkRequestId:s})},unsubscribe:function(){e.__log({name:"network.unsubscribe",networkRequestId:s})}})}}}},77674:function(e,n,t){"use strict";var r=t(70279),o=t(50238);function i(e){var n=e;return"function"==typeof n?n=n():n.default&&(n=n.default),n}function a(e){var n=i(e);return"object"==typeof n&&null!==n&&n.kind===r.FRAGMENT}function s(e){var n=i(e);return"object"==typeof n&&null!==n&&n.kind===r.REQUEST}function l(e){var n=i(e);return"object"==typeof n&&null!==n&&n.kind===r.UPDATABLE_QUERY}function c(e){var n=i(e);return"object"==typeof n&&null!==n&&n.kind===r.INLINE_DATA_FRAGMENT}function u(e){var n=i(e);return a(n)||o(!1),n}t(30499),e.exports={getFragment:u,getNode:i,getPaginationFragment:function(e){var n,t=u(e),r=null===(n=t.metadata)||void 0===n?void 0:n.refetch,o=null==r?void 0:r.connection;return null===r||"object"!=typeof r||null===o||"object"!=typeof o?null:t},getRefetchableFragment:function(e){var n,t=u(e),r=null===(n=t.metadata)||void 0===n?void 0:n.refetch;return null===r||"object"!=typeof r?null:t},getRequest:function(e){var n=i(e);return s(n)||o(!1),n},getUpdatableQuery:function(e){var n=i(e);return l(n)||o(!1),n},getInlineDataFragment:function(e){var n=i(e);return c(n)||o(!1),n},graphql:function(e){o(!1)},isFragment:a,isRequest:s,isUpdatableQuery:l,isInlineDataFragment:c}},6953:function(e){"use strict";var n=new(function(){function e(){this._preloadableQueries=new Map,this._callbacks=new Map}var n=e.prototype;return n.set=function(e,n){this._preloadableQueries.set(e,n);var t=this._callbacks.get(e);null!=t&&t.forEach(function(e){try{e(n)}catch(e){setTimeout(function(){throw e},0)}})},n.get=function(e){return this._preloadableQueries.get(e)},n.onLoad=function(e,n){var t,r=null!==(t=this._callbacks.get(e))&&void 0!==t?t:new Set;return r.add(n),this._callbacks.set(e,r),{dispose:function(){r.delete(n)}}},n.clear=function(){this._preloadableQueries.clear()},e}());e.exports=n},45172:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(9278)),o=t(58405),i=t(98210).createOperationDescriptor,a=t(66561).handlePotentialSnapshotErrors,s=t(45768),l=t(77674).getRequest,c=t(50238);function u(e,n){return s.fetchQuery(e,n).map(function(){return e.lookup(n.fragment)})}e.exports=function(e,n,t,s){var d,p=l(n);"query"!==p.params.operationKind&&c(!1);var m=i(p,t,(0,r.default)({force:!0},null==s?void 0:s.networkCacheConfig)),h=null!==(d=null==s?void 0:s.fetchPolicy)&&void 0!==d?d:"network-only";function f(n){return a(e,n.errorResponseFields),n.data}switch(h){case"network-only":return u(e,m).map(f);case"store-or-network":if("available"===e.check(m).status)return o.from(e.lookup(m.fragment)).map(f);return u(e,m).map(f);default:throw Error("fetchQuery: Invalid fetchPolicy "+h)}}},45768:function(e,n,t){"use strict";var r=t(58405),o=t(59610),i=t(50238),a="function"==typeof WeakMap?new WeakMap:new Map;function s(e,n,t){return r.create(function(a){var s,l=c(e),d=l.get(n);return d||t().finally(function(){return l.delete(n)}).subscribe({start:function(e){d={identifier:n,subject:new o,subjectForInFlightStatus:new o,subscription:e,promise:null},l.set(n,d)},next:function(e){var t=u(l,n);t.subject.next(e),t.subjectForInFlightStatus.next(e)},error:function(e){var t=u(l,n);t.subject.error(e),t.subjectForInFlightStatus.error(e)},complete:function(){var e=u(l,n);e.subject.complete(),e.subjectForInFlightStatus.complete()},unsubscribe:function(e){var t=u(l,n);t.subject.unsubscribe(),t.subjectForInFlightStatus.unsubscribe()}}),null!=d||i(!1),(s=d,r.create(function(e){var n=s.subject.subscribe(e);return function(){n.unsubscribe();var e=l.get(s.identifier);if(e){var t=e.subscription;null!=t&&0===e.subject.getObserverCount()&&(t.unsubscribe(),l.delete(s.identifier))}}})).subscribe(a)})}function l(e,n,t){return r.create(function(n){var r=t.subjectForInFlightStatus.subscribe({error:n.error,next:function(r){if(!e.isRequestActive(t.identifier)){n.complete();return}n.next()},complete:n.complete,unsubscribe:n.complete});return function(){r.unsubscribe()}})}function c(e){var n=a.get(e);if(null!=n)return n;var t=new Map;return a.set(e,t),t}function u(e,n){var t=e.get(n);return null!=t||i(!1),t}e.exports={fetchQuery:function(e,n){return s(e,n.request.identifier,function(){return e.execute({operation:n})})},fetchQueryDeduped:s,getPromiseForActiveRequest:function(e,n){var t=c(e),r=t.get(n.identifier);return r&&e.isRequestActive(r.identifier)?new Promise(function(n,o){var i=!1;l(e,t,r).subscribe({complete:n,error:o,next:function(e){i&&n(e)}}),i=!0}):null},getObservableForActiveRequest:function(e,n){var t=c(e),r=t.get(n.identifier);return r&&e.isRequestActive(r.identifier)?l(e,t,r):null}}},47651:function(e,n,t){"use strict";var r=t(98210).createOperationDescriptor,o=t(77674).getRequest;e.exports=function(e,n,t,i){var a=o(n);if("query"!==a.params.operationKind)throw Error("fetchQuery: Expected query operation");var s=r(a,t,i);return e.execute({operation:s}).map(function(){return e.lookup(s.fragment).data}).toPromise()}},36882:function(e,n,t){"use strict";var r=t(92247),o=t(53706).intern,i="client:",a=0;e.exports={generateClientID:function(e,n,t){var a=(r.STRING_INTERN_LEVEL<=0?e:o(e,r.MAX_DATA_ID_LENGTH))+":"+n;return null!=t&&(a+=":"+t),0!==a.indexOf(i)&&(a=i+a),a},generateClientObjectClientID:function(e,n,t){var r="".concat(i).concat(e,":").concat(n);return null!=t&&(r+=":"+t),r},generateUniqueClientID:function(){return"".concat(i,"local:").concat(a++)},isClientID:function(e){return 0===e.indexOf(i)}}},55650:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(27969)),o=t(92e3),i=t(999),a=t(94111),s=t(36882).isClientID,l=t(6343),c=t(64781),u=t(32933).getLocalVariables,d=t(8340),p=t(72346),m=p.EXISTENT,h=p.UNKNOWN,f=t(91583),g=t(4859),_=g.TYPE_SCHEMA_TYPE,y=g.generateTypeID,v=t(50238),b=f.getModuleOperationKey,C=f.getStorageKey,T=f.getArgumentValues,S=function(){function e(e,n,t,r,o,i,a,s){this._getSourceForActor=e,this._getTargetForActor=n,this._getDataID=a,this._source=e(t),this._mutatorRecordSourceProxyCache=new Map;var l=this._getMutatorAndRecordProxyForActor(t),c=l[0],u=l[1];this._mostRecentlyInvalidatedAt=null,this._handlers=o,this._mutator=c,this._operationLoader=null!=i?i:null,this._recordSourceProxy=u,this._recordWasMissing=!1,this._variables=r,this._shouldProcessClientComponents=s}var n=e.prototype;return n._getMutatorAndRecordProxyForActor=function(e){var n=this._mutatorRecordSourceProxyCache.get(e);if(null==n){var t=this._getTargetForActor(e),r=new o(this._getSourceForActor(e),t),a=new i(r,this._getDataID,void 0,this._handlers);n=[r,a],this._mutatorRecordSourceProxyCache.set(e,n)}return n},n.check=function(e,n){return this._assignClientAbstractTypes(e),this._traverse(e,n),!0===this._recordWasMissing?{status:"missing",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}:{status:"available",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}},n._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||v(!1),this._variables[e]},n._handleMissing=function(){this._recordWasMissing=!0},n._handleMissingScalarField=function(e,n){if(!("id"===e.name&&null==e.alias&&s(n))){var t,o=void 0!=e.args?T(e.args,this._variables):{},i=(0,r.default)(this._handlers);try{for(i.s();!(t=i.n()).done;){var a=t.value;if("scalar"===a.kind){var l=a.handle(e,this._recordSourceProxy.get(n),o,this._recordSourceProxy);if(void 0!==l)return l}}}catch(e){i.e(e)}finally{i.f()}this._handleMissing()}},n._handleMissingLinkField=function(e,n){var t,o=void 0!=e.args?T(e.args,this._variables):{},i=(0,r.default)(this._handlers);try{for(i.s();!(t=i.n()).done;){var a=t.value;if("linked"===a.kind){var s=a.handle(e,this._recordSourceProxy.get(n),o,this._recordSourceProxy);if(void 0!==s&&(null===s||this._mutator.getStatus(s)===m))return s}}}catch(e){i.e(e)}finally{i.f()}this._handleMissing()},n._handleMissingPluralLinkField=function(e,n){var t,o=this,i=void 0!=e.args?T(e.args,this._variables):{},a=(0,r.default)(this._handlers);try{for(a.s();!(t=a.n()).done;){var s=t.value;if("pluralLinked"===s.kind){var l=s.handle(e,this._recordSourceProxy.get(n),i,this._recordSourceProxy);if(null!=l){if(l.every(function(e){return null!=e&&o._mutator.getStatus(e)===m}))return l}else if(null===l)return null}}}catch(e){a.e(e)}finally{a.f()}this._handleMissing()},n._traverse=function(e,n){var t=this._mutator.getStatus(n);if(t===h&&this._handleMissing(),t===m){var r=this._source.get(n),o=d.getInvalidationEpoch(r);null!=o&&(this._mostRecentlyInvalidatedAt=null!=this._mostRecentlyInvalidatedAt?Math.max(this._mostRecentlyInvalidatedAt,o):o),this._traverseSelections(e.selections,n)}},n._traverseSelections=function(e,n){var t=this;e.forEach(function(r){switch(r.kind){case"ScalarField":t._checkScalar(r,n);break;case"LinkedField":r.plural?t._checkPluralLink(r,n):t._checkLink(r,n);break;case"ActorChange":t._checkActorChange(r.linkedField,n);break;case"Condition":!!t._getVariableValue(r.condition)===r.passingValue&&t._traverseSelections(r.selections,n);break;case"InlineFragment":var o=r.abstractKey;if(null==o)t._mutator.getType(n)===r.type&&t._traverseSelections(r.selections,n);else{var i=t._mutator.getType(n);null!=i||v(!1);var a=y(i),s=t._mutator.getValue(a,o);!0===s?t._traverseSelections(r.selections,n):null==s&&t._handleMissing()}break;case"LinkedHandle":var d=l(r,e,t._variables);d.plural?t._checkPluralLink(d,n):t._checkLink(d,n);break;case"ScalarHandle":var p=c(r,e,t._variables);t._checkScalar(p,n);break;case"ModuleImport":t._checkModuleImport(r,n);break;case"Defer":case"Stream":t._traverseSelections(r.selections,n);break;case"FragmentSpread":var m=t._variables;t._variables=u(t._variables,r.fragment.argumentDefinitions,r.args),t._traverseSelections(r.fragment.selections,n),t._variables=m;break;case"ClientExtension":var h=t._recordWasMissing;t._traverseSelections(r.selections,n),t._recordWasMissing=h;break;case"TypeDiscriminator":var f=r.abstractKey,g=t._mutator.getType(n);null!=g||v(!1);var _=y(g);null==t._mutator.getValue(_,f)&&t._handleMissing();break;case"ClientComponent":if(!1===t._shouldProcessClientComponents)break;t._traverseSelections(r.fragment.selections,n);break;case"RelayResolver":case"RelayLiveResolver":t._checkResolver(r,n);break;case"ClientEdgeToClientObject":t._checkResolver(r.backingField,n);break;default:v(!1)}})},n._checkResolver=function(e,n){e.fragment&&this._traverseSelections([e.fragment],n)},n._checkModuleImport=function(e,n){var t=this._operationLoader;null!==t||v(!1);var r=b(e.documentName),o=this._mutator.getValue(n,r);if(null==o){void 0===o&&this._handleMissing();return}var i=t.get(o);if(null!=i){var s=a(i),l=this._variables;this._variables=u(this._variables,s.argumentDefinitions,e.args),this._traverse(s,n),this._variables=l}else this._handleMissing()},n._checkScalar=function(e,n){var t=C(e,this._variables),r=this._mutator.getValue(n,t);void 0===r&&void 0!==(r=this._handleMissingScalarField(e,n))&&this._mutator.setValue(n,t,r)},n._checkLink=function(e,n){var t=C(e,this._variables),r=this._mutator.getLinkedRecordID(n,t);void 0===r&&(null!=(r=this._handleMissingLinkField(e,n))?this._mutator.setLinkedRecordID(n,t,r):null===r&&this._mutator.setValue(n,t,null)),null!=r&&this._traverse(e,r)},n._checkPluralLink=function(e,n){var t=this,r=C(e,this._variables),o=this._mutator.getLinkedRecordIDs(n,r);void 0===o&&(null!=(o=this._handleMissingPluralLinkField(e,n))?this._mutator.setLinkedRecordIDs(n,r,o):null===o&&this._mutator.setValue(n,r,null)),o&&o.forEach(function(n){null!=n&&t._traverse(e,n)})},n._checkActorChange=function(e,n){var t=C(e,this._variables),r=this._source.get(n),o=null!=r?d.getActorLinkedRecordID(r,t):r;if(null==o)void 0===o&&this._handleMissing();else{var i=o[0],a=o[1],s=this._source,l=this._mutator,c=this._recordSourceProxy,u=this._getMutatorAndRecordProxyForActor(i),p=u[0],m=u[1];this._source=this._getSourceForActor(i),this._mutator=p,this._recordSourceProxy=m,this._assignClientAbstractTypes(e),this._traverse(e,a),this._source=s,this._mutator=l,this._recordSourceProxy=c}},n._assignClientAbstractTypes=function(e){var n=e.clientAbstractTypes;if(null!=n)for(var t=0,o=Object.keys(n);t0?"active":"inactive";break;default:this._state,R(!1)}this._operationExecutions.set(this._operation.request.identifier,e)},n._schedule=function(e,n){var t=this,r=this._scheduler;if(null!=r){var o=this._nextSubscriptionId++;a.create(function(t){var o=r.schedule(function(){try{e(),t.complete()}catch(e){t.error(e)}},n);return function(){return r.cancel(o)}}).subscribe({complete:function(){return t._complete(o)},error:function(e){return t._error(e)},start:function(e){return t._start(o,e)}})}else e()},n._complete=function(e){this._subscriptions.delete(e),0===this._subscriptions.size&&(this.cancel(),this._sink.complete(),this._log({name:"execute.complete",executeId:this._executeId}))},n._error=function(e){this.cancel(),this._sink.error(e),this._log({name:"execute.error",executeId:this._executeId,error:e})},n._start=function(e,n){this._subscriptions.set(e,n),this._updateActiveState()},n._next=function(e,n){var t=this,r="loading_incremental"===this._state?"low":"default";this._schedule(function(){t._log({name:"execute.next.start",executeId:t._executeId,response:n,operation:t._operation}),t._handleNext(n),t._maybeCompleteSubscriptionOperationTracking(),t._log({name:"execute.next.end",executeId:t._executeId,response:n,operation:t._operation})},r)},n._handleErrorResponse=function(e){var n=this,t=[];return e.forEach(function(e){if(null!==e.data||null==e.extensions||e.hasOwnProperty("errors")){if(null==e.data){var r=e.hasOwnProperty("errors")&&null!=e.errors?e.errors:null,o=r?r.map(function(e){return e.message}).join("\n"):"(No errors)",i=c.create("RelayNetwork","No data returned for operation `"+n._operation.request.node.params.name+"`, got error(s):\n"+o+"\n\nSee the error `source` property for more information.");throw i.source={errors:r,operation:n._operation.request.node,variables:n._operation.request.variables},i.stack,i}t.push(e)}}),t},n._handleOptimisticResponses=function(e){if(e.length>1)return e.some(function(e){var n;return(null===(n=e.extensions)||void 0===n?void 0:n.isOptimistic)===!0})&&R(!1),!1;var n,t=e[0],r=(null===(n=t.extensions)||void 0===n?void 0:n.isOptimistic)===!0;return r&&"started"!==this._state&&R(!1),!!r&&(this._processOptimisticResponse(t,null,this._treatMissingFieldsAsNull),this._sink.next(t),!0)},n._handleNext=function(e){if("completed"!==this._state){this._seenActors.clear();var n=Array.isArray(e)?e:[e],t=this._handleErrorResponse(n);if(0===t.length){n.some(function(e){var n;return(null===(n=e.extensions)||void 0===n?void 0:n.is_final)===!0})&&(this._state="loading_final",this._updateActiveState(),this._incrementalPayloadsPending=!1),this._sink.next(e);return}if(!this._handleOptimisticResponses(t)){var r,o,i=(r=[],o=[],t.forEach(function(e){if(null!=e.path||null!=e.label){var n=e.label,t=e.path;(null==n||null==t)&&R(!1),o.push({label:n,path:t,response:e})}else r.push(e)}),[r,o]),a=i[0],s=i[1],l=a.length>0;if(l){if(this._isSubscriptionOperation){var c=f();this._operation={request:this._operation.request,fragment:b(this._operation.fragment.node,c,this._operation.fragment.variables,this._operation.fragment.owner),root:v(this._operation.root.node,c,this._operation.root.variables)}}var u=this._processResponses(a);this._processPayloadFollowups(u)}if(s.length>0){var d=this._processIncrementalResponses(s);this._processPayloadFollowups(d)}this._isSubscriptionOperation&&(null==t[0].extensions?t[0].extensions={__relay_subscription_root_id:this._operation.fragment.dataID}:t[0].extensions.__relay_subscription_root_id=this._operation.fragment.dataID);var p=this._runPublishQueue(l?this._operation:void 0);l&&this._incrementalPayloadsPending&&this._retainData(),this._updateOperationTracker(p),this._sink.next(e)}}},n._processOptimisticResponse=function(e,n,t){var r=this;if(null!==this._optimisticUpdates&&R(!1),null!=e||null!=n){var o=[];if(e){var i=this._normalizeResponse(e,this._operation.root,S,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[],shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:t});A(i),o.push({operation:this._operation,payload:i,updater:n}),this._processOptimisticFollowups(i,o)}else n&&o.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,followupPayloads:null,source:C.create(),isFinal:!1},updater:n});this._optimisticUpdates=o,o.forEach(function(e){return r._getPublishQueueAndSaveActor().applyUpdate(e)});var a=this._runPublishQueue();u.ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES&&this._updateOperationTracker(a)}},n._processOptimisticFollowups=function(e,n){if(e.followupPayloads&&e.followupPayloads.length){var t,r=e.followupPayloads,a=(0,o.default)(r);try{for(a.s();!(t=a.n()).done;){var s=t.value;switch(s.kind){case"ModuleImportPayload":var l=this._expectOperationLoader().get(s.operationReference);if(null==l)this._processAsyncOptimisticModuleImport(s);else{var c=this._processOptimisticModuleImport(l,s);n.push.apply(n,(0,i.default)(c))}break;case"ActorPayload":break;default:R(!1)}}}catch(e){a.e(e)}finally{a.f()}}},n._normalizeFollowupPayload=function(e,n){t="SplitOperation"===n.kind&&"ModuleImportPayload"===e.kind?g(e.variables,n.argumentDefinitions,e.args):e.variables;var t,r=v(n,e.dataID,t);return this._normalizeResponse({data:e.data},r,e.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:e.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents})},n._processOptimisticModuleImport=function(e,n){var t=l(e),r=[],o=this._normalizeFollowupPayload(n,t);return A(o),r.push({operation:this._operation,payload:o,updater:null}),this._processOptimisticFollowups(o,r),r},n._processAsyncOptimisticModuleImport=function(e){var n=this;this._expectOperationLoader().load(e.operationReference).then(function(t){if(null!=t&&"started"===n._state){var r,o=n._processOptimisticModuleImport(t,e);o.forEach(function(e){return n._getPublishQueueAndSaveActor().applyUpdate(e)}),null==n._optimisticUpdates||((r=n._optimisticUpdates).push.apply(r,(0,i.default)(o)),n._runPublishQueue())}})},n._processResponses=function(e){var n=this;return this._log({name:"execute.normalize.start",operation:this._operation}),null!==this._optimisticUpdates&&(this._optimisticUpdates.forEach(function(e){n._getPublishQueueAndSaveActor().revertUpdate(e)}),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),e.map(function(e){var t=n._normalizeResponse(e,n._operation.root,S,{actorIdentifier:n._actorIdentifier,getDataID:n._getDataID,path:[],treatMissingFieldsAsNull:n._treatMissingFieldsAsNull,shouldProcessClientComponents:n._shouldProcessClientComponents});return n._getPublishQueueAndSaveActor().commitPayload(n._operation,t,n._updater),n._log({name:"execute.normalize.end",operation:n._operation}),t})},n._processPayloadFollowups=function(e){var n=this;"completed"!==this._state&&e.forEach(function(e){var t=e.incrementalPlaceholders,r=e.followupPayloads,o=e.isFinal;if(n._state=o?"loading_final":"loading_incremental",n._updateActiveState(),o&&(n._incrementalPayloadsPending=!1),r&&0!==r.length&&r.forEach(function(e){var t,r=n._actorIdentifier;n._actorIdentifier=null!==(t=e.actorIdentifier)&&void 0!==t?t:n._actorIdentifier,n._processFollowupPayload(e),n._actorIdentifier=r}),t&&0!==t.length&&(n._incrementalPayloadsPending="loading_final"!==n._state,t.forEach(function(t){var r,o=n._actorIdentifier;n._actorIdentifier=null!==(r=t.actorIdentifier)&&void 0!==r?r:n._actorIdentifier,n._processIncrementalPlaceholder(e,t),n._actorIdentifier=o}),n._isClientPayload||"loading_final"===n._state)){var i=[];t.forEach(function(e){"defer"===e.kind&&i.push(n._processDeferResponse(e.label,e.path,e,{data:e.data}))}),i.length>0&&n._processPayloadFollowups(i)}})},n._maybeCompleteSubscriptionOperationTracking=function(){this._isSubscriptionOperation&&0===this._pendingModulePayloadsCount&&!1===this._incrementalPayloadsPending&&this._completeOperationTracker()},n._processFollowupPayload=function(e){var n=this;switch(e.kind){case"ModuleImportPayload":var t=this._expectOperationLoader(),r=t.get(e.operationReference);if(null!=r)this._processFollowupPayloadWithNormalizationNode(e,l(r));else{var o=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var i=function(){n._pendingModulePayloadsCount--,n._maybeCompleteSubscriptionOperationTracking()},s=a.from(new Promise(function(n,r){t.load(e.operationReference).then(n,r)}));a.create(function(t){var r,o=s.subscribe({next:function(o){if(null!=o){var i=function(){try{var r=l(o),i=u.BATCH_ASYNC_MODULE_UPDATES_FN,a=null!=i&&n._pendingModulePayloadsCount>1,s=p(function(){if(n._handleFollowupPayload(e,r),a)n._scheduleAsyncStoreUpdate(i,t.complete);else{var o=n._runPublishQueue();n._updateOperationTracker(o)}}),c=(s[0],s[1]);n._log({name:"execute.async.module",executeId:n._executeId,operationName:r.name,duration:c}),a||t.complete()}catch(e){t.error(e)}},a=n._scheduler;null==a?i():r=a.schedule(i)}else t.complete()},error:t.error});return function(){o.unsubscribe(),null!=n._scheduler&&null!=r&&n._scheduler.cancel(r)}}).subscribe({complete:function(){n._complete(o),i()},error:function(e){n._error(e),i()},start:function(e){return n._start(o,e)}})}break;case"ActorPayload":this._processFollowupPayloadWithNormalizationNode(e,e.node);break;default:R(!1)}},n._processFollowupPayloadWithNormalizationNode=function(e,n){this._handleFollowupPayload(e,n),this._maybeCompleteSubscriptionOperationTracking()},n._handleFollowupPayload=function(e,n){var t=this._normalizeFollowupPayload(e,n);this._getPublishQueueAndSaveActor().commitPayload(this._operation,t),this._processPayloadFollowups([t])},n._processIncrementalPlaceholder=function(e,n){var t,r,o,i,a=n.label,s=n.path.map(String).join("."),l=this._incrementalResults.get(a);null==l&&(l=new Map,this._incrementalResults.set(a,l));var c=l.get(s),u=null!=c&&"response"===c.kind?c.responses:null;l.set(s,{kind:"placeholder",placeholder:n}),"stream"===n.kind?r=n.parentID:"defer"===n.kind?r=n.selector.dataID:R(!1);var p=e.source.get(r),m=(null!==(t=e.fieldPayloads)&&void 0!==t?t:[]).filter(function(e){var n=h(e.dataID,e.fieldKey);return e.dataID===r||n===r});null!=p||R(!1);var f=this._source.get(r);if(null!=f){o=_.update(f.record,p);var g=new Map,y=function(e){var n,t=null!==(n=JSON.stringify(d(e)))&&void 0!==n?n:"";g.set(t,e)};f.fieldPayloads.forEach(y),m.forEach(y),i=Array.from(g.values())}else o=p,i=m;if(this._source.set(r,{record:o,fieldPayloads:i}),null!=u){var v=this._processIncrementalResponses(u);this._processPayloadFollowups(v)}},n._processIncrementalResponses=function(e){var n=this,t=[];return e.forEach(function(e){var r=e.label,o=e.path,i=e.response,a=n._incrementalResults.get(r);if(null==a&&(a=new Map,n._incrementalResults.set(r,a)),-1!==r.indexOf("$defer$")){var s=o.map(String).join("."),l=a.get(s);if(null==l){l={kind:"response",responses:[e]},a.set(s,l);return}if("response"===l.kind){l.responses.push(e);return}var c=l.placeholder;"defer"!==c.kind&&R(!1),t.push(n._processDeferResponse(r,o,c,i))}else{var u=o.slice(0,-2).map(String).join("."),d=a.get(u);if(null==d){d={kind:"response",responses:[e]},a.set(u,d);return}if("response"===d.kind){d.responses.push(e);return}var p=d.placeholder;"stream"!==p.kind&&R(!1),t.push(n._processStreamResponse(r,o,p,i))}}),t},n._processDeferResponse=function(e,n,t,r){var o=t.selector.dataID,i=this._actorIdentifier;this._actorIdentifier=null!==(c=t.actorIdentifier)&&void 0!==c?c:this._actorIdentifier;var a=this._normalizeResponse(r,t.selector,t.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:t.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});this._getPublishQueueAndSaveActor().commitPayload(this._operation,a);var s=this._source.get(o);null!=s||R(!1);var l=s.fieldPayloads;if(0!==l.length){var c,u,d={errors:null,fieldPayloads:l,incrementalPlaceholders:null,followupPayloads:null,source:C.create(),isFinal:(null===(u=r.extensions)||void 0===u?void 0:u.is_final)===!0};this._getPublishQueueAndSaveActor().commitPayload(this._operation,d)}return this._actorIdentifier=i,a},n._processStreamResponse=function(e,n,t,r){var o=t.parentID,a=t.node,s=t.variables,l=t.actorIdentifier,c=this._actorIdentifier;this._actorIdentifier=null!=l?l:this._actorIdentifier;var u=a.selections[0];null!=u&&"LinkedField"===u.kind&&!0===u.plural||R(!1);var d=this._normalizeStreamItem(r,o,u,s,n,t.path),p=d.fieldPayloads,m=d.itemID,h=d.itemIndex,f=d.prevIDs,g=d.relayPayload,_=d.storageKey;if(this._getPublishQueueAndSaveActor().commitPayload(this._operation,g,function(e){var n=e.get(o);if(null!=n){var t=n.getLinkedRecords(_);if(!(null==t||t.length!==f.length||t.some(function(e,n){return f[n]!==(e&&e.getDataID())}))){var r=(0,i.default)(t);r[h]=e.get(m),n.setLinkedRecords(r,_)}}}),0!==p.length){var y={errors:null,fieldPayloads:p,incrementalPlaceholders:null,followupPayloads:null,source:C.create(),isFinal:!1};this._getPublishQueueAndSaveActor().commitPayload(this._operation,y)}return this._actorIdentifier=c,g},n._normalizeStreamItem=function(e,n,t,r,o,a){var s,l,c,u,d=e.data;"object"!=typeof d&&R(!1);var p=null!==(s=t.alias)&&void 0!==s?s:t.name,m=E(t,r),f=this._source.get(n);null!=f||R(!1);var g=f.record,y=f.fieldPayloads,b=_.getLinkedRecordIDs(g,m);null!=b||R(!1);var C=o[o.length-1],T=parseInt(C,10);T===C&&T>=0||R(!1);var S=null!==(l=t.concreteType)&&void 0!==l?l:d[k];"string"!=typeof S&&R(!1);var I=null!==(c=null!==(u=this._getDataID(d,S))&&void 0!==u?u:null==b?void 0:b[T])&&void 0!==c?c:h(n,m,T);"string"!=typeof I&&R(!1);var A=v(t,I,r),w=_.clone(g),x=(0,i.default)(b);x[T]=I,_.setLinkedRecordIDs(w,m,x),this._source.set(n,{record:w,fieldPayloads:y});var P=this._normalizeResponse(e,A,S,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[].concat((0,i.default)(a),[p,String(T)]),treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});return{fieldPayloads:y,itemID:I,itemIndex:T,prevIDs:b,relayPayload:P,storageKey:m}},n._scheduleAsyncStoreUpdate=function(e,n){var t=this;this._completeFns.push(n),null==this._asyncStoreUpdateDisposable&&(this._asyncStoreUpdateDisposable=e(function(){t._asyncStoreUpdateDisposable=null;var e=t._runPublishQueue();t._updateOperationTracker(e);var n,r=(0,o.default)(t._completeFns);try{for(r.s();!(n=r.n()).done;)(0,n.value)()}catch(e){r.e(e)}finally{r.f()}t._completeFns=[]}))},n._updateOperationTracker=function(e){null!=e&&e.length>0&&this._operationTracker.update(this._operation.request,new Set(e))},n._completeOperationTracker=function(){this._operationTracker.complete(this._operation.request)},n._getPublishQueueAndSaveActor=function(){return this._seenActors.add(this._actorIdentifier),this._getPublishQueue(this._actorIdentifier)},n._getActorsToVisit=function(){return 0===this._seenActors.size?new Set([this._actorIdentifier]):this._seenActors},n._runPublishQueue=function(e){var n,t=new Set,r=(0,o.default)(this._getActorsToVisit());try{for(r.s();!(n=r.n()).done;){var i=n.value;this._getPublishQueue(i).run(e).forEach(function(e){return t.add(e)})}}catch(e){r.e(e)}finally{r.f()}return Array.from(t)},n._retainData=function(){var e,n=(0,o.default)(this._getActorsToVisit());try{for(n.s();!(e=n.n()).done;){var t=e.value;this._retainDisposables.has(t)||this._retainDisposables.set(t,this._getStore(t).retain(this._operation))}}catch(e){n.e(e)}finally{n.f()}},n._disposeRetainedData=function(){var e,n=(0,o.default)(this._retainDisposables.values());try{for(n.s();!(e=n.n()).done;)e.value.dispose()}catch(e){n.e(e)}finally{n.f()}this._retainDisposables.clear()},n._expectOperationLoader=function(){var e=this._operationLoader;return e||R(!1),e},e}();function A(e){var n=e.incrementalPlaceholders;null!=n&&0!==n.length&&R(!1)}e.exports={execute:function(e){return new I(e)}}},32933:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(9278)),o=t(91583).getArgumentValues,i=t(50238);e.exports={getLocalVariables:function(e,n,t){if(null==n)return e;var i=(0,r.default)({},e),a=t?o(t,e):{};return n.forEach(function(e){var n,t=null!==(n=a[e.name])&&void 0!==n?n:e.defaultValue;i[e.name]=t}),i},getFragmentVariables:function(e,n,t){var o;return null==e.argumentDefinitions?t:(e.argumentDefinitions.forEach(function(e){if(!t.hasOwnProperty(e.name))switch(o=o||(0,r.default)({},t),e.kind){case"LocalArgument":o[e.name]=e.defaultValue;break;case"RootArgument":if(!n.hasOwnProperty(e.name)){o[e.name]=void 0;break}o[e.name]=n[e.name];break;default:i(!1)}}),o||t)},getOperationVariables:function(e,n,t){var r={};return e.argumentDefinitions.forEach(function(e){var n=e.defaultValue;null!=t[e.name]&&(n=t[e.name]),r[e.name]=n}),null!=n&&Object.keys(n).forEach(function(e){r[e]=n[e].get()}),r}}},69e3:function(e,n,t){"use strict";var r=t(11915).default,o=r(t(9278)),i=r(t(7538)),a=r(t(27969)),s=r(t(98639)),l=["path","locations"],c=Symbol("$SELF");e.exports={SELF:c,buildErrorTrie:function(e){if(null==e)return null;var n,t=new Map,r=(0,a.default)(e);try{for(r.s();!(n=r.n()).done;){var o=n.value,s=o.path,u=(o.locations,(0,i.default)(o,l));if(null!=s){var d=s.length;if(0!==d){for(var p=d-1,m=t,h=0;h0&&this._scheduleUpdates(function(){t._publishQueue.commitSource(r),t._publishQueue.run()}),i},n._scheduleUpdates=function(e){var n=this._scheduler;null!=n?n.schedule(e):e()},n.execute=function(e){var n=this,t=e.operation;return this._execute({createSource:function(){return n.getNetwork().execute(t.request.node.params,t.request.variables,t.request.cacheConfig||{},null)},isClientPayload:!1,operation:t,optimisticConfig:null,updater:null})},n.executeSubscription=function(e){var n=this,t=e.operation,r=e.updater;return this._execute({createSource:function(){return n.getNetwork().execute(t.request.node.params,t.request.variables,t.request.cacheConfig||{},null)},isClientPayload:!1,operation:t,optimisticConfig:null,updater:r})},n.executeMutation=function(e){var n,t=this,o=e.operation,i=e.optimisticResponse,a=e.optimisticUpdater,s=e.updater,l=e.uploadables;return(i||a)&&(n={operation:o,response:i,updater:a}),this._execute({createSource:function(){return t.getNetwork().execute(o.request.node.params,o.request.variables,(0,r.default)((0,r.default)({},o.request.cacheConfig),{},{force:!0}),l)},isClientPayload:!1,operation:o,optimisticConfig:n,updater:s})},n.executeWithSource=function(e){var n=e.operation,t=e.source;return this._execute({createSource:function(){return t},isClientPayload:!1,operation:n,optimisticConfig:null,updater:null})},n.toJSON=function(){var e;return"RelayModernEnvironment(".concat(null!==(e=this.configName)&&void 0!==e?e:"",")")},n._execute=function(e){var n=this,t=e.createSource,r=e.isClientPayload,o=e.operation,i=e.optimisticConfig,c=e.updater,u=this._publishQueue,d=this._store;return l.create(function(e){var l=f.execute({actorIdentifier:a,getDataID:n._getDataID,isClientPayload:r,log:n.__log,operation:o,operationExecutions:n._operationExecutions,operationLoader:n._operationLoader,operationTracker:n._operationTracker,optimisticConfig:i,getPublishQueue:function(e){return s(e),u},scheduler:n._scheduler,shouldProcessClientComponents:n._shouldProcessClientComponents,sink:e,source:t(),getStore:function(e){return s(e),d},treatMissingFieldsAsNull:n._treatMissingFieldsAsNull,updater:c,normalizeResponse:n._normalizeResponse});return function(){return l.cancel()}})},e}();function v(){}y.prototype["@@RelayModernEnvironment"]=!0,e.exports=y},99358:function(e,n,t){"use strict";var r=t(11915).default,o=r(t(9278)),i=r(t(76481)),a=t(40003),s=t(66561).handlePotentialSnapshotErrors,l=t(82789),c=t(1344),u=t(92247),d=t(98210).createRequestDescriptor,p=t(44421),m=p.areEqualSelectors,h=p.createReaderSelector,f=p.getSelectorsFromObject,g=t(22781),_=t(50238);t(30499);var y=function(){function e(e,n,t,r,o){var a=this;(0,i.default)(this,"_onChange",function(){a._stale=!0,"function"==typeof a._callback&&a._callback()}),this._callback=r,this._context=e,this._data={},this._fragments=n,this._props={},this._resolvers={},this._stale=!1,this._rootIsQueryRenderer=o,this.setProps(t)}var n=e.prototype;return n.dispose=function(){for(var e in this._resolvers)this._resolvers.hasOwnProperty(e)&&C(this._resolvers[e])},n.resolve=function(){if(this._stale){var e,n=this._data;for(var t in this._resolvers)if(this._resolvers.hasOwnProperty(t)){var r=this._resolvers[t],i=n[t];if(r){var a=r.resolve();(e||a!==i)&&((e=e||(0,o.default)({},n))[t]=a)}else{var s=this._props[t],c=void 0!==s?s:null;(e||!l(c,i))&&((e=e||(0,o.default)({},n))[t]=c)}}this._data=e||n,this._stale=!1}return this._data},n.setCallback=function(e,n){this._callback=n,!0===u.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&this.setProps(e)},n.setProps=function(e){this._props={};var n=f(this._fragments,e);for(var t in n)if(n.hasOwnProperty(t)){var r=n[t],o=this._resolvers[t];null==r?(null!=o&&o.dispose(),o=null):"PluralReaderSelector"===r.kind?null==o?o=new b(this._context.environment,this._rootIsQueryRenderer,r,null!=this._callback,this._onChange):(o instanceof b||_(!1),o.setSelector(r)):null==o?o=new v(this._context.environment,this._rootIsQueryRenderer,r,null!=this._callback,this._onChange):(o instanceof v||_(!1),o.setSelector(r)),this._props[t]=e[t],this._resolvers[t]=o}this._stale=!0},n.setVariables=function(e,n){for(var t in this._resolvers)if(this._resolvers.hasOwnProperty(t)){var r=this._resolvers[t];r&&r.setVariables(e,n)}this._stale=!0},e}(),v=function(){function e(e,n,t,r,o){var a=this;(0,i.default)(this,"_onChange",function(e){a._data=e.data,a._isMissingData=e.isMissingData,a._errorResponseFields=e.errorResponseFields,a._callback()});var s=e.lookup(t);this._callback=o,this._data=s.data,this._isMissingData=s.isMissingData,this._errorResponseFields=s.errorResponseFields,this._environment=e,this._rootIsQueryRenderer=n,this._selector=t,!0===u.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?r&&(this._subscription=e.subscribe(s,this._onChange)):this._subscription=e.subscribe(s,this._onChange)}var n=e.prototype;return n.dispose=function(){this._subscription&&(this._subscription.dispose(),this._subscription=null)},n.resolve=function(){if(!0===this._isMissingData){var e=a(this._environment,this._selector.node,this._selector.owner),n=null==e?void 0:e.promise;if(null!=n){if(this._rootIsQueryRenderer);else{var t,r=null!==(t=null==e?void 0:e.pendingOperations)&&void 0!==t?t:[];throw this._environment.__log({name:"suspense.fragment",data:this._data,fragment:this._selector.node,isRelayHooks:!1,isMissingData:this._isMissingData,isPromiseCached:!1,pendingOperations:r}),n}}}return s(this._environment,this._errorResponseFields),this._data},n.setSelector=function(e){if(!(null!=this._subscription&&m(e,this._selector))){this.dispose();var n=this._environment.lookup(e);this._data=c(this._data,n.data),this._isMissingData=n.isMissingData,this._errorResponseFields=n.errorResponseFields,this._selector=e,this._subscription=this._environment.subscribe(n,this._onChange)}},n.setVariables=function(e,n){if(!g(e,this._selector.variables)){var t=d(n,e),r=h(this._selector.node,this._selector.dataID,e,t);this.setSelector(r)}},e}(),b=function(){function e(e,n,t,r,o){var a=this;(0,i.default)(this,"_onChange",function(e){a._stale=!0,a._callback()}),this._callback=o,this._data=[],this._environment=e,this._resolvers=[],this._stale=!0,this._rootIsQueryRenderer=n,this._subscribeOnConstruction=r,this.setSelector(t)}var n=e.prototype;return n.dispose=function(){this._resolvers.forEach(C)},n.resolve=function(){if(this._stale){for(var e,n=this._data,t=0;tn.length;)this._resolvers.pop().dispose();for(var t=0;t3&&void 0!==arguments[3]?arguments[3]:u,s=e.operation,m=a(s,e.params.providedVariables,n);o.ENABLE_CYLE_DETECTION_IN_VARIABLES&&i(m)&&d(!1);var h=p(e,m,t);return{fragment:c(e.fragment,r,m,h),request:h,root:l(s,r,m)}},createRequestDescriptor:p}},8340:function(e,n,t){"use strict";var r=t(11915).default,o=r(t(76481)),i=r(t(7538)),a=r(t(91934)),s=r(t(9278)),l=t(58723),c=t(36882),u=c.generateClientObjectClientID;c.isClientID;var d=t(95850).isSuspenseSentinel,p=t(91583),m=p.ACTOR_IDENTIFIER_KEY,h=p.ERRORS_KEY,f=p.ID_KEY,g=p.INVALIDATED_AT_KEY,_=p.REF_KEY,y=p.REFS_KEY,v=p.RELAY_RESOLVER_VALUE_KEY,b=(p.ROOT_ID,p.TYPENAME_KEY),C=t(22781),T=t(50238);function S(e,n){var t=e[n];return!t||"object"!=typeof t||(t.hasOwnProperty(_)||t.hasOwnProperty(y))&&T(!1),t}function k(e,n,t){var r=e[h];if(null!=t&&t.length>0)null==r?e[h]=(0,o.default)({},n,t):r[n]=t;else if(null!=r&&delete r[n]){for(var i in r)if(r.hasOwnProperty(i))return;delete e[h]}}t(30499),e.exports={clone:function(e){return(0,s.default)({},e)},copyFields:function(e,n){for(var t in e)e.hasOwnProperty(t)&&t!==f&&t!==b&&(n[t]=e[t])},create:function(e,n){var t={};return t[f]=e,t[b]=n,t},freeze:function(e){l(e)},fromObject:function(e){return e},getDataID:function(e){return e[f]},getErrors:function(e,n){var t;return null===(t=e[h])||void 0===t?void 0:t[n]},getFields:function(e){return h in e?Object.keys(e).filter(function(e){return e!==h}):Object.keys(e)},getInvalidationEpoch:function(e){if(null==e)return null;var n=e[g];return"number"!=typeof n?null:n},getLinkedRecordID:function(e,n){var t=e[n];return null==t?t:("object"==typeof t&&t&&"string"==typeof t[_]||T(!1),t[_])},getLinkedRecordIDs:function(e,n){var t=e[n];return null==t?t:("object"==typeof t&&Array.isArray(t[y])||T(!1),t[y])},getType:function(e){return e[b]},getValue:S,hasValue:function(e,n){return n in e},hasLinkedRecordID:function(e,n){var t=e[n];return null!=t&&"object"==typeof t&&t&&"string"==typeof t[_]},hasLinkedRecordIDs:function(e,n){var t=e[n];return null!=t&&"object"==typeof t&&Array.isArray(t[y])&&t[y].every(function(e){return"string"==typeof e})},merge:function(e,n){if(!(h in e)&&!(h in n))return(0,s.default)((0,s.default)({},e),n);var t=e[h],r=(0,i.default)(e,[h].map(a.default)),o=n[h],l=(0,i.default)(n,[h].map(a.default)),c=(0,s.default)((0,s.default)({},r),l);if(null==t&&null==o)return c;var u={};for(var d in t)l.hasOwnProperty(d)||(u[d]=t[d]);for(var p in o)u[p]=o[p];for(var m in u){c[h]=u;break}return c},setErrors:k,setValue:function(e,n,t){e[n]=t},setLinkedRecordID:function(e,n,t){var r={};r[_]=t,e[n]=r},setLinkedRecordIDs:function(e,n,t){var r={};r[y]=t,e[n]=r},update:function(e,n){var t,r,o=e[h],i=n[h],a=null;if(null==o&&null==i){for(var l in n)(a||!C(e[l],n[l]))&&((a=null!==a?a:(0,s.default)({},e))[l]=n[l]);return null!==(r=a)&&void 0!==r?r:e}for(var c in n)if(c!==h){var u=n[c],d=null==i?void 0:i[c];if(null==a){var p=e[c],m=null==o?void 0:o[c];if(C(p,u)&&C(m,d))continue;a=(0,s.default)({},e),null!=o&&(a[h]=(0,s.default)({},o))}a[c]=u,k(a,c,d)}return null!==(t=a)&&void 0!==t?t:e},getActorLinkedRecordID:function(e,n){var t=e[n];return null==t?t:("object"==typeof t&&"string"==typeof t[_]&&null!=t[m]||T(!1),[t[m],t[_]])},setActorLinkedRecordID:function(e,n,t,r){var o={};o[_]=r,o[m]=t,e[n]=o},getResolverLinkedRecordID:function(e,n){var t=S(e,v);return null==t||d(t)?null:("object"==typeof t&&(t=t.id),"string"!=typeof t&&T(!1),u(n,t))},getResolverLinkedRecordIDs:function(e,n){var t=S(e,v);return null==t||d(t)?null:(Array.isArray(t)||T(!1),t.map(function(e){return null==e?null:("object"==typeof e&&(e=e.id),"string"!=typeof e&&T(!1),u(n,e))}))},toJSON:function(e){return e}}},44421:function(e,n,t){"use strict";var r=t(32933).getFragmentVariables,o=t(91583),i=o.CLIENT_EDGE_TRAVERSAL_PATH,a=o.FRAGMENT_OWNER_KEY,s=o.FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,l=o.FRAGMENTS_KEY,c=o.ID_KEY,u=t(22781),d=t(50238);function p(e,n){("object"!=typeof n||null===n||Array.isArray(n))&&d(!1);var t=n[c],o=n[l],u=n[a],p=n[i];if("string"==typeof t&&"object"==typeof o&&null!==o&&"object"==typeof o[e.name]&&null!==o[e.name]&&"object"==typeof u&&null!==u&&(null==p||Array.isArray(p))){var m=o[e.name],h=r(e,u.variables,m);return C(e,t,h,u,!0===m[s],p)}return null}function m(e,n){var t=null;return(n.forEach(function(n,r){var o=null!=n?p(e,n):null;null!=o&&(t=t||[]).push(o)}),null==t)?null:{kind:"PluralReaderSelector",selectors:t}}function h(e,n){return null==n?n:e.metadata&&!0===e.metadata.plural?(Array.isArray(n)||d(!1),m(e,n)):(Array.isArray(n)&&d(!1),p(e,n))}function f(e,n){var t;return null==n?n:e.metadata&&!0===e.metadata.plural?(Array.isArray(n)||d(!1),t=null,n.forEach(function(n){var r=null!=n?g(e,n):null;null!=r&&(t=t||[]).push(r)}),t):(Array.isArray(n)&&d(!1),g(e,n))}function g(e,n){("object"!=typeof n||null===n||Array.isArray(n))&&d(!1);var t=n[c];return"string"==typeof t?t:null}function _(e,n){var t;return null==n?{}:(null===(t=e.metadata)||void 0===t?void 0:t.plural)===!0?(Array.isArray(n)||d(!1),v(e,n)):(Array.isArray(n)&&d(!1),y(e,n)||{})}function y(e,n){var t=p(e,n);return t?t.variables:null}function v(e,n){var t={};return n.forEach(function(n,r){if(null!=n){var o=y(e,n);null!=o&&Object.assign(t,o)}}),t}function b(e,n){var t,r;return e.dataID===n.dataID&&e.node===n.node&&u(e.variables,n.variables)&&((t=e.owner)===(r=n.owner)||t.identifier===r.identifier&&u(t.cacheConfig,r.cacheConfig))&&e.isWithinUnmatchedTypeRefinement===n.isWithinUnmatchedTypeRefinement&&function(e,n){if(e===n)return!0;if(null==e||null==n||e.length!==n.length)return!1;for(var t=e.length;t--;){var r=e[t],o=n[t];if(r!==o&&(null==r||null==o||r.clientEdgeDestinationID!==o.clientEdgeDestinationID||r.readerClientEdge!==o.readerClientEdge))return!1}return!0}(e.clientEdgeTraversalPath,n.clientEdgeTraversalPath)}function C(e,n,t,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5?arguments[5]:void 0;return{kind:"SingularReaderSelector",dataID:n,isWithinUnmatchedTypeRefinement:o,clientEdgeTraversalPath:null!=i?i:null,node:e,variables:t,owner:r}}t(30499),e.exports={areEqualSelectors:function(e,n){return e===n||(null==e?null==n:null==n?null==e:"SingularReaderSelector"===e.kind&&"SingularReaderSelector"===n.kind?b(e,n):"PluralReaderSelector"===e.kind&&"PluralReaderSelector"===n.kind&&e.selectors.length===n.selectors.length&&e.selectors.every(function(e,t){return b(e,n.selectors[t])}))},createReaderSelector:C,createNormalizationSelector:function(e,n,t){return{dataID:n,node:e,variables:t}},getDataIDsFromFragment:f,getDataIDsFromObject:function(e,n){var t={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r],i=n[r];t[r]=f(o,i)}return t},getSingularSelector:p,getPluralSelector:m,getSelector:h,getSelectorsFromObject:function(e,n){var t={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r],i=n[r];t[r]=h(o,i)}return t},getVariablesFromSingularFragment:y,getVariablesFromPluralFragment:v,getVariablesFromFragment:_,getVariablesFromObject:function(e,n){var t={};for(var r in e)e.hasOwnProperty(r)&&Object.assign(t,_(e[r],n[r]));return t}}},12071:function(e,n,t){"use strict";var r=t(11915).default,o=r(t(27969)),i=r(t(76481)),a=t(25399),s=a.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,l=a.assertInternalActorIdentifier;t(58723);var c=t(79097),u=t(55650),d=t(72713),p=t(3122),m=p.LiveResolverCache,h=p.RELAY_RESOLVER_LIVE_STATE_SUBSCRIPTION_KEY,f=p.getUpdatedDataIDs,g=t(8340),_=t(82182),y=t(3889),v=t(30490),b=t(25638),C=t(91583),T=t(91583),S=T.ROOT_ID,k=T.ROOT_TYPE,E=t(50238),R=function(){function e(e,n){var t,r,o,a,s,l,u,p=this;(0,i.default)(this,"_gcStep",function(){p._gcRun&&(p._gcRun.next().done?p._gcRun=null:p._gcScheduler(p._gcStep))}),this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=null!==(t=null==n?void 0:n.gcReleaseBufferSize)&&void 0!==t?t:10,this._gcRun=null,this._gcScheduler=null!==(r=null==n?void 0:n.gcScheduler)&&void 0!==r?r:c,this._getDataID=null!==(o=null==n?void 0:n.getDataID)&&void 0!==o?o:d,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=null!==(a=null==n?void 0:n.log)&&void 0!==a?a:null,this._queryCacheExpirationTime=null==n?void 0:n.queryCacheExpirationTime,this._operationLoader=null!==(s=null==n?void 0:n.operationLoader)&&void 0!==s?s:null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._resolverCache=new m(function(){return p._getMutableRecordSource()},this),this._storeSubscriptions=new b(null==n?void 0:n.log,this._resolverCache),this._updatedRecordIDs=new Set,this._shouldProcessClientComponents=null!==(l=null==n?void 0:n.shouldProcessClientComponents)&&void 0!==l&&l,this._resolverContext=null==n?void 0:n.resolverContext,this._treatMissingFieldsAsNull=null!==(u=null==n?void 0:n.treatMissingFieldsAsNull)&&void 0!==u&&u,this._actorIdentifier=null==n?void 0:n.actorIdentifier,function(e){if(!e.has(S)){var n=g.create(S,k);e.set(S,n)}}(this._recordSource)}var n=e.prototype;return n.getSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},n.getOperationLoader=function(){return this._operationLoader},n._getMutableRecordSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},n.getLiveResolverPromise=function(e){return this._resolverCache.getLiveResolverPromise(e)},n.batchLiveStateUpdates=function(e){null!=this.__log&&this.__log({name:"liveresolver.batch.start"});try{this._resolverCache.batchLiveStateUpdates(e)}finally{null!=this.__log&&this.__log({name:"liveresolver.batch.end"})}},n.check=function(e,n){var t,r,o,i,a,c,d,p,m,h=e.root,f=this._getMutableRecordSource(),g=this._globalInvalidationEpoch,_=this._roots.get(e.request.identifier),y=null!=_?_.epoch:null;if(null!=g&&(null==y||y<=g))return{status:"stale"};var v=null!==(c=null==n?void 0:n.handlers)&&void 0!==c?c:[],b=null!==(d=null==n?void 0:n.getSourceForActor)&&void 0!==d?d:function(e){return l(e),f},C=null!==(p=null==n?void 0:n.getTargetForActor)&&void 0!==p?p:function(e){return l(e),f};return t=u.check(b,C,null!==(m=null==n?void 0:n.defaultActorIdentifier)&&void 0!==m?m:s,h,v,this._operationLoader,this._getDataID,this._shouldProcessClientComponents,this.__log),r=null==_?void 0:_.fetchTime,o=this._queryCacheExpirationTime,i=t.mostRecentlyInvalidatedAt,a=t.status,"number"==typeof i&&(null==y||i>y)?{status:"stale"}:"missing"===a?{status:"missing"}:null!=r&&null!=o&&r<=Date.now()-o?{status:"stale"}:{status:"available",fetchTime:null!=r?r:null}},n.retain=function(e){var n=this,t=e.request.identifier,r=!1,o=this._roots.get(t);return null!=o?(0===o.refCount&&(this._releaseBuffer=this._releaseBuffer.filter(function(e){return e!==t})),o.refCount+=1):this._roots.set(t,{operation:e,refCount:1,epoch:null,fetchTime:null}),{dispose:function(){if(!r){r=!0;var e=n._roots.get(t);if(null!=e&&(e.refCount--,0===e.refCount)){var o=n._queryCacheExpirationTime;if(null!=e.fetchTime&&null!=o&&e.fetchTime<=Date.now()-o)n._roots.delete(t),n.scheduleGC();else if(n._releaseBuffer.push(t),n._releaseBuffer.length>n._gcReleaseBufferSize){var i=n._releaseBuffer.shift();n._roots.delete(i),n.scheduleGC()}}}}}},n.lookup=function(e){var n=this.__log;null!=n&&n({name:"store.lookup.start",selector:e});var t=this.getSource(),r=y.read(t,e,this._resolverCache,this._resolverContext);return null!=n&&n({name:"store.lookup.end",selector:e}),r},n.notify=function(e,n){var t=this,r=this.__log;null!=r&&r({name:"store.notify.start",sourceOperation:e}),this._currentWriteEpoch++,!0===n&&(this._globalInvalidationEpoch=this._currentWriteEpoch),this._resolverCache.invalidateDataIDs(this._updatedRecordIDs);var o=this.getSource(),i=[];if(this._storeSubscriptions.updateSubscriptions(o,this._updatedRecordIDs,i,e),this._invalidationSubscriptions.forEach(function(e){t._updateInvalidationSubscription(e,!0===n)}),null!=e){var a=e.request.identifier,s=this._roots.get(a);if(null!=s)s.epoch=this._currentWriteEpoch,s.fetchTime=Date.now();else if("query"===e.request.node.params.operationKind&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length0&&(e._gcHoldCounter--,0===e._gcHoldCounter&&e._shouldScheduleGC&&(e.scheduleGC(),e._shouldScheduleGC=!1))}}},n.toJSON=function(){return"RelayModernStore()"},n.getEpoch=function(){return this._currentWriteEpoch},n.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},n.lookupInvalidationState=function(e){var n=this,t=new Map;return e.forEach(function(e){var r,o=n.getSource().get(e);t.set(e,null!==(r=g.getInvalidationEpoch(o))&&void 0!==r?r:null)}),t.set("global",this._globalInvalidationEpoch),{dataIDs:e,invalidations:t}},n.checkInvalidationState=function(e){var n=this.lookupInvalidationState(e.dataIDs).invalidations,t=e.invalidations;if(n.get("global")!==t.get("global"))return!0;var r,i=(0,o.default)(e.dataIDs);try{for(i.s();!(r=i.n()).done;){var a=r.value;if(n.get(a)!==t.get(a))return!0}}catch(e){i.e(e)}finally{i.f()}return!1},n.subscribeToInvalidationState=function(e,n){var t=this,r={callback:n,invalidationState:e};return this._invalidationSubscriptions.add(r),{dispose:function(){t._invalidationSubscriptions.delete(r)}}},n._updateInvalidationSubscription=function(e,n){var t=this,r=e.callback,o=e.invalidationState.dataIDs;(n||o.some(function(e){return t._invalidatedRecordIDs.has(e)}))&&r()},n.snapshot=function(){null!=this._optimisticSource&&E(!1);var e=this.__log;null!=e&&e({name:"store.snapshot"}),this._storeSubscriptions.snapshotSubscriptions(this.getSource()),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=_.create(this.getSource())},n.restore=function(){var e=this._optimisticSource;e||E(!1);var n=this.__log;null!=n&&n({name:"store.restore"});var t=_.getOptimisticRecordIDs(e);this._resolverCache.unsubscribeFromLiveResolverRecords(t),this._optimisticSource=null,this._shouldScheduleGC&&this.scheduleGC(),this._storeSubscriptions.restoreSubscriptions(),this._resolverCache.invalidateResolverRecords(t)},n.scheduleGC=function(){if(this._gcHoldCounter>0){this._shouldScheduleGC=!0;return}this._gcRun||(this._gcRun=this._collect(),this._gcScheduler(this._gcStep))},n.__gc=function(){if(null==this._optimisticSource)for(var e=this._collect();!e.next().done;);},n._collect=function*(){var e=this.__log;n:for(;;){null!=e&&e({name:"store.gc.start"});var n,t=this._currentWriteEpoch,r=new Set,i=(0,o.default)(this._roots.values());try{for(i.s();!(n=i.n()).done;){var a=n.value.operation.root;if(v.mark(this._recordSource,a,r,this._operationLoader,this._shouldProcessClientComponents),yield,t!==this._currentWriteEpoch){null!=e&&e({name:"store.gc.interrupted"});continue n}}}catch(e){i.e(e)}finally{i.f()}if(0===r.size)this._recordSource.clear();else for(var s=this._recordSource.getRecordIDs(),l=0;l0?a.add(l):i.add(l))}}catch(e){s.e(e)}finally{s.f()}var u,d=(0,r.default)(i);try{for(d.s();!(u=d.n()).done;){var p=u.value;this._resolveOwnerResolvers(p),this._ownersToPendingOperations.delete(p)}}catch(e){d.e(e)}finally{d.f()}var m,h=(0,r.default)(a);try{for(h.s();!(m=h.n()).done;){var f=m.value;this._resolveOwnerResolvers(f)}}catch(e){h.e(e)}finally{h.f()}this._pendingOperationsToOwners.delete(n)}},n._resolveOwnerResolvers=function(e){var n=this._ownersToPendingPromise.get(e);null!=n&&n.resolve(),this._ownersToPendingPromise.delete(e)},n.getPendingOperationsAffectingOwner=function(e){var n,t=e.identifier,r=this._ownersToPendingOperations.get(t);if(null==r||0===r.size)return null;var i=this._ownersToPendingPromise.get(t);if(null!=i)return{promise:i.promise,pendingOperations:i.pendingOperations};var a=new Promise(function(e){n=e});null!=n||o(!1);var s=Array.from(r.values());return this._ownersToPendingPromise.set(t,{promise:a,resolve:n,pendingOperations:s}),{promise:a,pendingOperations:s}},e}();e.exports=i},82182:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(9278)),o=t(8340),i=t(59628),a=t(50238),s=o.fromObject(Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0})),l=function(){function e(e){this._base=e,this._sink=i.create()}var n=e.prototype;return n.has=function(e){return this._sink.has(e)?this._sink.get(e)!==s:this._base.has(e)},n.get=function(e){if(!this._sink.has(e))return this._base.get(e);var n=this._sink.get(e);if(n!==s)return n},n.getStatus=function(e){var n=this.get(e);return void 0===n?"UNKNOWN":null===n?"NONEXISTENT":"EXISTENT"},n.clear=function(){this._base=i.create(),this._sink.clear()},n.delete=function(e){this._sink.delete(e)},n.remove=function(e){this._sink.set(e,s)},n.set=function(e,n){this._sink.set(e,n)},n.getRecordIDs=function(){return Object.keys(this.toJSON())},n.size=function(){return Object.keys(this.toJSON()).length},n.toJSON=function(){var e=this,n=(0,r.default)({},this._base.toJSON());return this._sink.getRecordIDs().forEach(function(t){var r=e.get(t);void 0===r?delete n[t]:n[t]=o.toJSON(r)}),n},n.getOptimisticRecordIDs=function(){return new Set(this._sink.getRecordIDs())},e}();e.exports={create:function(e){return new l(e)},getOptimisticRecordIDs:function(e){return e instanceof l||a(!1),e.getOptimisticRecordIDs()}}},25011:function(e,n,t){"use strict";var r,o,i=t(92e3),a=t(999),s=t(80829),l=t(3889),c=t(59628),u=t(50238);t(30499);var d=void 0!==t.g?t.g:"undefined"!=typeof window?window:void 0,p=null!==(r=null==d?void 0:null===(o=d.ErrorUtils)||void 0===o?void 0:o.applyWithGuard)&&void 0!==r?r:function(e,n,t,r,o){return e.apply(n,t)},m=function(){function e(e,n,t,r){this._hasStoreSnapshot=!1,this._handlerProvider=n||null,this._pendingBackupRebase=!1,this._pendingData=new Set,this._pendingOptimisticUpdates=new Set,this._store=e,this._appliedOptimisticUpdates=new Set,this._gcHold=null,this._getDataID=t,this._missingFieldHandlers=r}var n=e.prototype;return n.applyUpdate=function(e){(this._appliedOptimisticUpdates.has(e)||this._pendingOptimisticUpdates.has(e))&&u(!1),this._pendingOptimisticUpdates.add(e)},n.revertUpdate=function(e){this._pendingOptimisticUpdates.has(e)?this._pendingOptimisticUpdates.delete(e):this._appliedOptimisticUpdates.has(e)&&(this._pendingBackupRebase=!0,this._appliedOptimisticUpdates.delete(e))},n.revertAll=function(){this._pendingBackupRebase=!0,this._pendingOptimisticUpdates.clear(),this._appliedOptimisticUpdates.clear()},n.commitPayload=function(e,n,t){this._pendingBackupRebase=!0,this._pendingData.add({kind:"payload",operation:e,payload:n,updater:t})},n.commitUpdate=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"updater",updater:e})},n.commitSource=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"source",source:e})},n.run=function(e){var n=0===this._appliedOptimisticUpdates&&!!this._gcHold;if(!this._pendingBackupRebase&&0===this._pendingOptimisticUpdates.size&&!n)return[];this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var t=this._commitData();return(this._pendingOptimisticUpdates.size||this._pendingBackupRebase&&this._appliedOptimisticUpdates.size)&&(this._hasStoreSnapshot||(this._store.snapshot(),this._hasStoreSnapshot=!0),this._applyUpdates()),this._pendingBackupRebase=!1,this._appliedOptimisticUpdates.size>0?this._gcHold||(this._gcHold=this._store.holdGC()):this._gcHold&&(this._gcHold.dispose(),this._gcHold=null),this._store.notify(e,t)},n._publishSourceFromPayload=function(e){var n=this,t=e.payload,r=e.operation,o=e.updater,l=t.source,c=t.fieldPayloads,d=new i(this._store.getSource(),l),p=new a(d,this._getDataID,this._handlerProvider,this._missingFieldHandlers);if(c&&c.length&&c.forEach(function(e){var t=n._handlerProvider&&n._handlerProvider(e.handle);t||u(!1),t.update(p,e)}),o){var m=r.fragment;null!=m||u(!1),o(new s(d,p,m,this._missingFieldHandlers),h(l,m))}var f=p.getIDsMarkedForInvalidation();return this._store.publish(l,f),p.isStoreMarkedForInvalidation()},n._commitData=function(){var e=this;if(!this._pendingData.size)return!1;var n=!1;return this._pendingData.forEach(function(t){if("payload"===t.kind){var r=e._publishSourceFromPayload(t);n=n||r}else if("source"===t.kind){var o=t.source;e._store.publish(o)}else{var s=t.updater,l=c.create(),u=new a(new i(e._store.getSource(),l),e._getDataID,e._handlerProvider,e._missingFieldHandlers);p(s,null,[u],null,"RelayPublishQueue:commitData"),n=n||u.isStoreMarkedForInvalidation();var d=u.getIDsMarkedForInvalidation();e._store.publish(l,d)}}),this._pendingData.clear(),n},n._applyUpdates=function(){var e=this,n=c.create(),t=new i(this._store.getSource(),n),r=new a(t,this._getDataID,this._handlerProvider,this._missingFieldHandlers),o=function(n){if(n.storeUpdater)p(n.storeUpdater,null,[r],null,"RelayPublishQueue:applyUpdates");else{var o,i=n.operation,a=n.payload,l=n.updater,c=a.source,u=a.fieldPayloads;c&&r.publishSource(c,u),l&&(c&&(o=h(c,i.fragment)),p(l,null,[new s(t,r,i.fragment,e._missingFieldHandlers),o],null,"RelayPublishQueue:applyUpdates"))}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(o),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach(function(n){o(n),e._appliedOptimisticUpdates.add(n)}),this._pendingOptimisticUpdates.clear()),this._store.publish(n)},e}();function h(e,n){return l.read(e,n).data}e.exports=m},3889:function(e,n,t){"use strict";var r=t(11915).default,o=r(t(9278)),i=r(t(76481)),a=r(t(7538)),s=r(t(27969)),l=r(t(98639)),c=["message"],u=t(95850).isSuspenseSentinel,d=t(32933),p=t(8340),m=t(91583),h=m.CLIENT_EDGE_TRAVERSAL_PATH,f=m.FRAGMENT_OWNER_KEY,g=m.FRAGMENT_PROP_NAME_KEY,_=m.FRAGMENTS_KEY,y=m.ID_KEY,v=m.MODULE_COMPONENT_KEY,b=m.ROOT_ID,C=m.getArgumentValues,T=m.getModuleComponentKey,S=m.getStorageKey,k=t(82381).NoopResolverCache,E=t(94819),R=E.RESOLVER_FRAGMENT_ERRORED_SENTINEL,I=E.withResolverContext,A=t(4859).generateTypeID,w=t(50238);function x(e,n,t,r){return new P(e,n,null!=t?t:new k,r).read()}var P=function(){function e(e,n,t,r){var o,i;this._clientEdgeTraversalPath=null!==(o=n.clientEdgeTraversalPath)&&void 0!==o&&o.length?(0,l.default)(n.clientEdgeTraversalPath):[],this._missingClientEdges=[],this._missingLiveResolverFields=[],this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._errorResponseFields=null,this._owner=n.owner,this._useExecTimeResolvers=null!==(i=this._owner.node.operation.use_exec_time_resolvers)&&void 0!==i&&i,this._recordSource=e,this._seenRecords=new Set,this._selector=n,this._variables=n.variables,this._resolverCache=t,this._fragmentName=n.node.name,this._updatedDataIDs=new Set,this._resolverContext=r}var n=e.prototype;return n.read=function(){var e,n=this._selector,t=n.node,r=n.dataID,o=n.isWithinUnmatchedTypeRefinement,i=t.abstractKey,a=this._recordSource.get(r),s=!o;s&&null==i&&null!=a&&!this._recordMatchesTypeCondition(a,t.type)&&(s=!1),s&&null!=i&&null!=a&&!1===this._implementsInterface(a,i)&&(s=!1),this._isWithinUnmatchedTypeRefinement=!s;var l=this._traverse(t,r,null),c=null===(e=this._selector.node.metadata)||void 0===e?void 0:e.catchTo;return null!=c&&(l=this._catchErrors(l,c,null)),this._updatedDataIDs.size>0&&(this._resolverCache.notifyUpdatedSubscribers(this._updatedDataIDs),this._updatedDataIDs.clear()),{data:l,isMissingData:this._isMissingData&&s,missingClientEdges:this._missingClientEdges.length?this._missingClientEdges:null,missingLiveResolverFields:this._missingLiveResolverFields,seenRecords:this._seenRecords,selector:this._selector,errorResponseFields:this._errorResponseFields}},n._maybeAddErrorResponseFields=function(e,n){var t=p.getErrors(e,n);if(null!=t){var r=this._fragmentName;null==this._errorResponseFields&&(this._errorResponseFields=[]);var o,i=(0,s.default)(t);try{for(i.s();!(o=i.n()).done;){var a,l,c,u=o.value;this._errorResponseFields.push({kind:"relay_field_payload.error",owner:r,fieldPath:(null!==(a=u.path)&&void 0!==a?a:[]).join("."),error:u,shouldThrow:null!==(l=null===(c=this._selector.node.metadata)||void 0===c?void 0:c.throwOnFieldError)&&void 0!==l&&l,handled:!1})}}catch(e){i.e(e)}finally{i.f()}}},n._markDataAsMissing=function(e){if(!this._isWithinUnmatchedTypeRefinement){null==this._errorResponseFields&&(this._errorResponseFields=[]);var n,t,r=this._fragmentName;if(this._errorResponseFields.push(null!==(n=null===(t=this._selector.node.metadata)||void 0===t?void 0:t.throwOnFieldError)&&void 0!==n&&n?{kind:"missing_expected_data.throw",owner:r,fieldPath:e,handled:!1}:{kind:"missing_expected_data.log",owner:r,fieldPath:e}),this._isMissingData=!0,this._clientEdgeTraversalPath.length){var o=this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1];null!==o&&this._missingClientEdges.push({request:o.readerClientEdge.operation,clientEdgeDestinationID:o.clientEdgeDestinationID})}}},n._traverse=function(e,n,t){var r=this._recordSource.get(n);if(this._seenRecords.add(n),null==r)return void 0===r&&this._markDataAsMissing(""),r;var o=t||{};return this._traverseSelections(e.selections,r,o)?o:null},n._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||w(!1),this._variables[e]},n._maybeReportUnexpectedNull=function(e){if("NONE"!==e.action){var n,t,r,o=this._fragmentName;switch(null==this._errorResponseFields&&(this._errorResponseFields=[]),n=null!=e.field.linkedField?null!==(t=e.field.linkedField.alias)&&void 0!==t?t:e.field.linkedField.name:null!==(r=e.field.alias)&&void 0!==r?r:e.field.name,e.action){case"THROW":this._errorResponseFields.push({kind:"missing_required_field.throw",fieldPath:n,owner:o,handled:!1});return;case"LOG":this._errorResponseFields.push({kind:"missing_required_field.log",fieldPath:n,owner:o});return;default:e.action}}},n._handleRequiredFieldValue=function(e,n){return null!=n||(this._maybeReportUnexpectedNull(e),!1)},n._catchErrors=function(e,n,t){var r=e;switch(n){case"RESULT":r=this._asResult(e);break;case"NULL":null!=this._errorResponseFields&&this._errorResponseFields.length>0&&(r=null)}var o=this._errorResponseFields;if(this._errorResponseFields=t,null!=o){null==this._errorResponseFields&&(this._errorResponseFields=[]);for(var i=0;ih||this._missingLiveResolverFields.length>0,this._clientEdgeTraversalPath.pop(),!f)return!1;break;case"Stream":if(!this._traverseSelections(o.selections,n,t))return!1;break;case"ActorChange":this._readActorChange(o,n,t);break;case"ClientEdgeToClientObject":case"ClientEdgeToServerObject":if(this._useExecTimeResolvers&&("RelayResolver"===o.backingField.kind||"RelayLiveResolver"===o.backingField.kind)){var g=o.linkedField;g.plural?this._readPluralLink(g,n,t):this._readLink(g,n,t)}else this._readClientEdge(o,n,t);break;default:w(!1)}}return!0},n._readClientSideDirectiveField=function(e,n,t){switch(e.field.kind){case"ScalarField":return this._readScalar(e.field,n,t);case"LinkedField":if(e.field.plural)return this._readPluralLink(e.field,n,t);return this._readLink(e.field,n,t);case"RelayResolver":case"RelayLiveResolver":return this._readResolverField(e.field,n,t);case"ClientEdgeToClientObject":case"ClientEdgeToServerObject":return this._readClientEdge(e.field,n,t);case"AliasedInlineFragmentSpread":return this._readAliasedInlineFragment(e.field,n,t);default:e.field.kind,w(!1)}},n._readResolverField=function(e,n,t){var r,o=p.getDataID(n),i=this._errorResponseFields;this._errorResponseFields=null;var a=this._readResolverFieldImpl(e,o),s=null!==(r=e.alias)&&void 0!==r?r:e.name;return this._prependPreviousErrors(i,s),t[s]=a,a},n._readResolverFieldImpl=function(e,n){var t,r=this,o=e.fragment,a=function(e){return null!=t?{data:t.data,isMissingData:t.isMissingData,errorResponseFields:t.errorResponseFields}:{data:(t=x(r._recordSource,e,r._resolverCache)).data,isMissingData:t.isMissingData,errorResponseFields:t.errorResponseFields}},s=this._resolverCache.readFromCacheOrEvaluate(n,e,this._variables,function(){if(null!=o){var s={__id:n,__fragmentOwner:r._owner,__fragments:(0,i.default)({},o.name,o.args?C(o.args,r._variables):{})};return I({getDataForResolverFragment:a},function(){var n=N(e,r._variables,s,r._resolverContext),o=n[0],i=n[1];return{resolverResult:o,snapshot:t,error:i}})}var l=N(e,r._variables,null,r._resolverContext);return{resolverResult:l[0],snapshot:void 0,error:l[1]}},a),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],m=s[5];return this._propagateResolverMetadata(e.path,d,u,c,p,m),l},n._propagateResolverMetadata=function(e,n,t,r,o,i){if(null!=n){if(null!=n.missingClientEdges){var a,l=(0,s.default)(n.missingClientEdges);try{for(l.s();!(a=l.n()).done;){var c=a.value;this._missingClientEdges.push(c)}}catch(e){l.e(e)}finally{l.f()}}if(null!=n.missingLiveResolverFields){this._isMissingData=this._isMissingData||n.missingLiveResolverFields.length>0;var u,d=(0,s.default)(n.missingLiveResolverFields);try{for(d.s();!(u=d.n()).done;){var p=u.value;this._missingLiveResolverFields.push(p)}}catch(e){d.e(e)}finally{d.f()}}if(null!=n.errorResponseFields){null==this._errorResponseFields&&(this._errorResponseFields=[]);var m,h=(0,s.default)(n.errorResponseFields);try{for(h.s();!(m=h.n()).done;){var f,g=m.value;(null===(f=this._selector.node.metadata)||void 0===f?void 0:f.throwOnFieldError)===!0?this._errorResponseFields.push(g):this._errorResponseFields.push(B(g))}}catch(e){h.e(e)}finally{h.f()}}this._isMissingData=this._isMissingData||n.isMissingData}if(t){var _,y,v={kind:"relay_resolver.error",fieldPath:e,owner:this._fragmentName,error:t,shouldThrow:null!==(_=null===(y=this._selector.node.metadata)||void 0===y?void 0:y.throwOnFieldError)&&void 0!==_&&_,handled:!1};null==this._errorResponseFields?this._errorResponseFields=[v]:this._errorResponseFields.push(v)}if(null!=r&&this._seenRecords.add(r),null!=o&&(this._isMissingData=!0,this._missingLiveResolverFields.push(o)),null!=i){var b,C=(0,s.default)(i);try{for(C.s();!(b=C.n()).done;){var T=b.value;this._updatedDataIDs.add(T)}}catch(e){C.e(e)}finally{C.f()}}},n._readClientEdge=function(e,n,t){var r=this,o=e.backingField;"ClientExtension"!==o.kind||w(!1);var i=null!==(l=o.alias)&&void 0!==l?l:o.name,a={};this._traverseSelections([o],n,a);var s=a[i];if(null==s||u(s))return t[i]=s,s;if(e.linkedField.plural){Array.isArray(s)||w(!1),"ClientEdgeToClientObject"!==e.kind&&w(!1),c=null==e.backingField.normalizationInfo?s.map(function(n){var t,i=null!==(t=e.concreteType)&&void 0!==t?t:n.__typename;"string"!=typeof i&&w(!1);var a=O(n,o.path,r._owner.identifier),s=r._resolverCache.ensureClientRecord(a,i),l=e.modelResolvers;if(null!=l){var c=l[i];return void 0!==c||w(!1),null!=r._readResolverFieldImpl(c,s)?s:null}return s}):s.map(function(e){return O(e,o.path,r._owner.identifier)}),this._clientEdgeTraversalPath.push(null);var l,c,d=this._readLinkedIds(e.linkedField,c,n,t);return this._clientEdgeTraversalPath.pop(),t[i]=d,d}var p,m,h,f=O(s,o.path,this._owner.identifier),g=null!==(p=e.concreteType)&&void 0!==p?p:s.__typename;"ClientEdgeToClientObject"===e.kind?(null==e.backingField.normalizationInfo?("string"!=typeof g&&w(!1),m=this._resolverCache.ensureClientRecord(f,g)):m=f,h=null):(m=f,h={readerClientEdge:e,clientEdgeDestinationID:f});var _=e.modelResolvers;if(null!=_){"string"!=typeof g&&w(!1);var y=_[g];if(void 0!==y||w(!1),null==this._readResolverFieldImpl(y,m))return t[i]=null,null}this._clientEdgeTraversalPath.push(h);var v=t[i];null==v||"object"==typeof v||w(!1);var b=this._errorResponseFields;this._errorResponseFields=null;var C=this._traverse(e.linkedField,m,v);return this._prependPreviousErrors(b,i),this._clientEdgeTraversalPath.pop(),t[i]=C,C},n._readScalar=function(e,n,t){var r,o=null!==(r=e.alias)&&void 0!==r?r:e.name,i=S(e,this._variables),a=p.getValue(n,i);return null===a?this._maybeAddErrorResponseFields(n,i):void 0===a&&this._markDataAsMissing(o),t[o]=a,a},n._readLink=function(e,n,t){var r,o=null!==(r=e.alias)&&void 0!==r?r:e.name,i=S(e,this._variables),a=p.getLinkedRecordID(n,i);if(null==a)return t[o]=a,null===a?this._maybeAddErrorResponseFields(n,i):void 0===a&&this._markDataAsMissing(o),a;var s=t[o];null==s||"object"==typeof s||w(!1);var l=this._errorResponseFields;this._errorResponseFields=null;var c=this._traverse(e,a,s);return this._prependPreviousErrors(l,o),t[o]=c,c},n._prependPreviousErrors=function(e,n){if(null!=this._errorResponseFields){for(var t=0;t=0;o--)e.push(this._errorResponseFields[o]);this._errorResponseFields=e}}else this._errorResponseFields=e},n._readActorChange=function(e,n,t){var r,o=null!==(r=e.alias)&&void 0!==r?r:e.name,i=S(e,this._variables),a=p.getActorLinkedRecordID(n,i);if(null==a)return t[o]=a,void 0===a?this._markDataAsMissing(o):null===a&&this._maybeAddErrorResponseFields(n,i),t[o];var s=a[0],l=a[1],c={};return this._createFragmentPointer(e.fragmentSpread,p.fromObject({__id:l}),c),t[o]={__fragmentRef:c,__viewer:s},t[o]},n._readPluralLink=function(e,n,t){var r=S(e,this._variables),o=p.getLinkedRecordIDs(n,r);return null===o&&this._maybeAddErrorResponseFields(n,r),this._readLinkedIds(e,o,n,t)},n._readLinkedIds=function(e,n,t,r){var o,i=this,a=null!==(o=e.alias)&&void 0!==o?o:e.name;if(null==n)return r[a]=n,void 0===n&&this._markDataAsMissing(a),n;var s=r[a];null==s||Array.isArray(s)||w(!1);var l=this._errorResponseFields;this._errorResponseFields=null;var c=s||[];return n.forEach(function(n,t){if(null==n){void 0===n&&i._markDataAsMissing(String(t)),c[t]=n;return}var r=c[t];null==r||"object"==typeof r||w(!1);var o=i._errorResponseFields;i._errorResponseFields=null,c[t]=i._traverse(e,n,r),i._prependPreviousErrors(o,t)}),this._prependPreviousErrors(l,a),r[a]=c,c},n._readModuleImport=function(e,n,t){var r,o=T(e.documentName),i=null!==(r=e.componentModuleProvider)&&void 0!==r?r:p.getValue(n,o);if(null==i){void 0===i&&this._markDataAsMissing("");return}this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:e.args},n,t),t[g]=e.fragmentPropName,t[v]=i},n._readAliasedInlineFragment=function(e,n,t){var r=this._errorResponseFields;this._errorResponseFields=null;var o=this._readInlineFragment(e.fragment,n,{},!0);this._prependPreviousErrors(r,e.name),!1===o&&(o=null),t[e.name]=o},n._readInlineFragment=function(e,n,t,r){if(null==e.type){var o=this._traverseSelections(e.selections,n,t);return!1!==o&&t}var i=e.abstractKey;if(null==i){if(!this._recordMatchesTypeCondition(n,e.type))return null;var o=this._traverseSelections(e.selections,n,t);if(!o)return!1}else{var a=this._implementsInterface(n,i);if(!1===a&&r)return null;var s=this._isMissingData,l=this._isWithinUnmatchedTypeRefinement;this._isWithinUnmatchedTypeRefinement=l||!1===a;var c=this._traverseSelections(e.selections,n,t);if(this._isWithinUnmatchedTypeRefinement=l,!1===a)return this._isMissingData=s,null;if(null==a)return;if(!1===c)return!1}return t},n._recordMatchesTypeCondition=function(e,n){var t=p.getType(e);return null!=t&&t===n||p.getDataID(e)===b},n._createFragmentPointer=function(e,n,t){var r=t[_];null==r&&(r=t[_]={}),"object"==typeof r&&null!=r||w(!1),null==t[y]&&(t[y]=p.getDataID(n)),r[e.name]=C(e.args,this._variables,this._isWithinUnmatchedTypeRefinement),t[f]=this._owner,this._clientEdgeTraversalPath.length>0&&null!==this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1]&&(t[h]=(0,l.default)(this._clientEdgeTraversalPath))},n._createInlineDataOrResolverFragmentPointer=function(e,n,t){var r=t[_];null==r&&(r=t[_]={}),"object"==typeof r&&null!=r||w(!1),null==t[y]&&(t[y]=p.getDataID(n));var o={},i=this._fragmentName;this._fragmentName=e.name;var a=this._variables,s=e.args?C(e.args,this._variables):{};this._variables=d.getFragmentVariables(e,this._owner.variables,s),this._traverseSelections(e.selections,n,o),this._variables=a,this._fragmentName=i,r[e.name]=o},n._implementsInterface=function(e,n){var t=p.getType(e),r=this._recordSource.get(A(t)),o=null!=r?p.getValue(r,n):null;return null==o&&this._markDataAsMissing(""),o},e}();function B(e){switch(e.kind){case"missing_expected_data.throw":case"missing_required_field.throw":case"relay_field_payload.error":case"relay_resolver.error":return(0,o.default)((0,o.default)({},e),{},{handled:!0});case"missing_expected_data.log":case"missing_required_field.log":return e;default:e.kind,w(!1)}}function N(e,n,t,r){var o="function"==typeof e.resolverModule?e.resolverModule:e.resolverModule.default,i=null,a=null;try{var s=[];null!=e.fragment&&s.push(t);var l=e.args?C(e.args,n):void 0;s.push(l),s.push(r),i=o.apply(null,s)}catch(e){i=null,e!==R&&(a=e)}return[i,a]}function O(e,n,t){return"string"==typeof e?e:"object"==typeof e&&null!=e&&"string"==typeof e.id?e.id:void w(!1)}e.exports={read:x}},59628:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(27969)),o=t(8340),i=t(72346),a=i.EXISTENT,s=i.NONEXISTENT,l=i.UNKNOWN,c=function(){function e(e){var n=this;this._records=new Map,null!=e&&Object.keys(e).forEach(function(t){var r=e[t],i=o.fromObject(r);n._records.set(t,i)})}e.create=function(n){return new e(n)};var n=e.prototype;return n.clear=function(){this._records=new Map},n.delete=function(e){this._records.set(e,null)},n.get=function(e){return this._records.get(e)},n.getRecordIDs=function(){return Array.from(this._records.keys())},n.getStatus=function(e){return this._records.has(e)?null==this._records.get(e)?s:a:l},n.has=function(e){return this._records.has(e)},n.remove=function(e){this._records.delete(e)},n.set=function(e,n){this._records.set(e,n)},n.size=function(){return this._records.size},n.toJSON=function(){var e,n={},t=(0,r.default)(this._records);try{for(t.s();!(e=t.n()).done;){var i=e.value,a=i[0],s=i[1];n[a]=o.toJSON(s)}}catch(e){t.e(e)}finally{t.f()}return n},e}();e.exports=c},72346:function(e){"use strict";e.exports={EXISTENT:"EXISTENT",NONEXISTENT:"NONEXISTENT",UNKNOWN:"UNKNOWN"}},30490:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(27969)),o=t(94111),i=t(6343),a=t(12041),s=t(32933).getLocalVariables,l=t(8340),c=t(91583),u=t(4859).generateTypeID,d=t(50238),p=c.getStorageKey,m=c.getModuleOperationKey,h=function(){function e(e,n,t,r,o){this._operationLoader=null!=r?r:null,this._operationName=null,this._recordSource=e,this._references=t,this._variables=n,this._shouldProcessClientComponents=o}var n=e.prototype;return n.mark=function(e,n){("Operation"===e.kind||"SplitOperation"===e.kind)&&(this._operationName=e.name),this._traverse(e,n)},n._traverse=function(e,n){this._references.add(n);var t=this._recordSource.get(n);null!=t&&this._traverseSelections(e.selections,t)},n._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||d(!1),this._variables[e]},n._traverseSelections=function(e,n){var t=this;e.forEach(function(r){switch(r.kind){case"ActorChange":t._traverseLink(r.linkedField,n);break;case"LinkedField":r.plural?t._traversePluralLink(r,n):t._traverseLink(r,n);break;case"Condition":!!t._getVariableValue(r.condition)===r.passingValue&&t._traverseSelections(r.selections,n);break;case"InlineFragment":if(null==r.abstractKey){var o=l.getType(n);(null!=o&&o===r.type||o===c.ROOT_TYPE)&&t._traverseSelections(r.selections,n)}else{var a=u(l.getType(n));t._references.add(a),t._traverseSelections(r.selections,n)}break;case"FragmentSpread":var p=t._variables;t._variables=s(t._variables,r.fragment.argumentDefinitions,r.args),t._traverseSelections(r.fragment.selections,n),t._variables=p;break;case"LinkedHandle":var m=i(r,e,t._variables);m.plural?t._traversePluralLink(m,n):t._traverseLink(m,n);break;case"Defer":case"Stream":case"ClientExtension":t._traverseSelections(r.selections,n);break;case"ScalarField":case"ScalarHandle":break;case"TypeDiscriminator":var h=u(l.getType(n));t._references.add(h);break;case"ModuleImport":t._traverseModuleImport(r,n);break;case"ClientComponent":if(!1===t._shouldProcessClientComponents)break;t._traverseSelections(r.fragment.selections,n);break;case"RelayResolver":case"RelayLiveResolver":t._traverseResolverField(r,n);break;case"ClientEdgeToClientObject":t._traverseClientEdgeToClientObject(r,n);break;default:d(!1)}})},n._traverseClientEdgeToClientObject=function(e,n){var t=this._traverseResolverField(e.backingField,n);if(null!=t){var o=this._recordSource.get(t);if(null!=o){if(e.backingField.isOutputType){var i=a(o);if(null!=i){var s,c=(0,r.default)(i);try{for(c.s();!(s=c.n()).done;){var u=s.value;this._references.add(u)}}catch(e){c.e(e)}finally{c.f()}}}else{var d=e.linkedField,p=d.concreteType;if(null==p)return;if(d.plural){var m=l.getResolverLinkedRecordIDs(o,p);if(null!=m){var h,f=(0,r.default)(m);try{for(f.s();!(h=f.n()).done;){var g=h.value;null!=g&&this._traverse(d,g)}}catch(e){f.e(e)}finally{f.f()}}}else{var _=l.getResolverLinkedRecordID(o,p);null!=_&&this._traverse(d,_)}}}}},n._traverseResolverField=function(e,n){var t=p(e,this._variables),r=l.getLinkedRecordID(n,t);null!=r&&this._references.add(r);var o=e.fragment;return null!=o&&this._traverseSelections([o],n),r},n._traverseModuleImport=function(e,n){var t=this._operationLoader;null!==t||d(!1);var r=m(e.documentName),i=l.getValue(n,r);if(null!=i){var a=t.get(i);if(null!=a){var c=o(a),u=this._variables;this._variables=s(this._variables,c.argumentDefinitions,e.args),this._traverseSelections(c.selections,n),this._variables=u}}},n._traverseLink=function(e,n){var t=p(e,this._variables),r=l.getLinkedRecordID(n,t);null!=r&&this._traverse(e,r)},n._traversePluralLink=function(e,n){var t=this,r=p(e,this._variables),o=l.getLinkedRecordIDs(n,r);null!=o&&o.forEach(function(n){null!=n&&t._traverse(e,n)})},e}();e.exports={mark:function(e,n,t,r,o){var i=n.dataID,a=n.node;new h(e,n.variables,t,r,o).mark(a,i)}}},73277:function(e,n,t){"use strict";var r=t(11915).default,o=r(t(27969)),i=r(t(98639)),a=t(43114),s=(a.ACTOR_IDENTIFIER_FIELD_NAME,a.getActorIdentifierFromPayload),l=t(92247),c=t(36882),u=c.generateClientID;c.isClientID;var d=t(32933).getLocalVariables,p=t(69e3),m=p.buildErrorTrie,h=p.getErrorsByKey,f=p.getNestedErrorTrieByKey,g=t(8340),_=t(44421).createNormalizationSelector,y=t(91583),v=(y.ROOT_ID,y.TYPENAME_KEY),b=y.getArgumentValues,C=y.getHandleStorageKey,T=y.getModuleComponentKey,S=y.getModuleOperationKey,k=y.getStorageKey,E=t(4859),R=E.TYPE_SCHEMA_TYPE,I=E.generateTypeID;t(22781);var A=t(50238);t(30499);var w=function(){function e(e,n,t){this._actorIdentifier=t.actorIdentifier,this._getDataId=t.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=t.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._followupPayloads=[],this._path=t.path?(0,i.default)(t.path):[],this._recordSource=e,this._variables=n,this._shouldProcessClientComponents=t.shouldProcessClientComponents}var n=e.prototype;return n.normalizeResponse=function(e,n,t,r){var o=this._recordSource.get(n);return o||A(!1),this._assignClientAbstractTypes(e),this._errorTrie=m(r),this._traverseSelections(e,o,t),{errors:r,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,followupPayloads:this._followupPayloads,source:this._recordSource,isFinal:!1}},n._assignClientAbstractTypes=function(e){var n=e.clientAbstractTypes;if(null!=n)for(var t=0,r=Object.keys(n);t-1})),t&&(d=null!=d?[t].concat((0,r.default)(d)):[t]),null===d)?u:h(u,m(d,n))},getStorageKey:function(e,n){if(e.storageKey)return e.storageKey;var t=function(e){if("RelayResolver"===e.kind||"RelayLiveResolver"===e.kind){var n,t;return null==e.args?null===(t=e.fragment)||void 0===t?void 0:t.args:(null===(n=e.fragment)||void 0===n?void 0:n.args)==null?e.args:e.args.concat(e.fragment.args)}return void 0===e.args?void 0:e.args}(e),r=e.name;return t&&0!==t.length?h(r,m(t,n)):r},getStableStorageKey:function(e,n){return h(e,a(n))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=f},82381:function(e,n,t){"use strict";var r=t(70279).RELAY_LIVE_RESOLVER,o=t(50238),i=function(){function e(){}var n=e.prototype;return n.readFromCacheOrEvaluate=function(e,n,t,i,a){n.kind!==r||o(!1);var s=i(),l=s.resolverResult,c=s.snapshot;return[l,void 0,s.error,c,void 0,void 0]},n.invalidateDataIDs=function(e){},n.ensureClientRecord=function(e,n){o(!1)},n.notifyUpdatedSubscribers=function(e){},e}();e.exports={NoopResolverCache:i}},94819:function(e,n,t){"use strict";var r=t(77674).getFragment,o=t(66561).eventShouldThrow,i=t(44421).getSelector,a=t(50238),s=[],l={};e.exports={readFragment:function(e,n){if(!s.length)throw Error("readFragment should be called only from within a Relay Resolver function.");var t=s[s.length-1],c=i(r(e),n);null!=c||a(!1),"SingularReaderSelector"!==c.kind&&a(!1);var u=t.getDataForResolverFragment(c,n),d=u.data,p=u.isMissingData,m=u.errorResponseFields;if(p||null!=m&&m.some(o))throw l;return d},withResolverContext:function(e,n){s.push(e);try{return n()}finally{s.pop()}},RESOLVER_FRAGMENT_ERRORED_SENTINEL:l}},4859:function(e){"use strict";var n="client:__type:";e.exports={generateTypeID:function(e){return n+e},isTypeID:function(e){return 0===e.indexOf(n)},TYPE_SCHEMA_TYPE:"__TypeSchema"}},28600:function(e,n,t){"use strict";var r=(0,t(36882).generateClientID)(t(91583).ROOT_ID,"viewer");e.exports={VIEWER_ID:r,VIEWER_TYPE:"Viewer"}},6343:function(e,n,t){"use strict";var r=t(70279).LINKED_FIELD,o=t(91583).getHandleStorageKey,i=t(22781),a=t(50238);e.exports=function(e,n,t){var s=n.find(function(n){return n.kind===r&&n.name===e.name&&n.alias===e.alias&&i(n.args,e.args)});s&&s.kind===r||a(!1);var l=o(e,t);return{kind:"LinkedField",alias:s.alias,name:l,storageKey:l,args:null,concreteType:s.concreteType,plural:s.plural,selections:s.selections}}},64781:function(e,n,t){"use strict";var r=t(70279).SCALAR_FIELD,o=t(91583).getHandleStorageKey,i=t(22781),a=t(50238);e.exports=function(e,n,t){var s=n.find(function(n){return n.kind===r&&n.name===e.name&&n.alias===e.alias&&i(n.args,e.args)});s&&s.kind===r||a(!1);var l=o(e,t);return{kind:"ScalarField",alias:s.alias,name:l,storageKey:l,args:null}}},44469:function(e,n,t){"use strict";var r=t(99358);t(30499),e.exports=function(e,n,t,o,i,a){return new r(e,t,o,a,i)}},72725:function(e,n,t){"use strict";var r,o,i=t(50238);e.exports=function(e){return r||(r=e.createContext(null),o=e),e!==o&&i(!1),r}},72713:function(e,n,t){"use strict";var r=t(28600),o=r.VIEWER_ID,i=r.VIEWER_TYPE;e.exports=function(e,n){return n===i&&null==e.id?o:e.id}},11408:function(e){"use strict";e.exports=function(e){}},30479:function(e){"use strict";var n=Symbol.iterator;e.exports=function(e,t){for(var r=e[n](),o=r.next();!o.done;){var i=o.value;if(t.has(i))return!0;o=r.next()}return!1}},7030:function(e,n,t){"use strict";var r=t(91583).ROOT_ID,o=t(28600).VIEWER_ID,i=Symbol.iterator;e.exports=function(e,n){for(var t=e[i](),a=t.next();!a.done;){var s=a.value;if(n.has(s)&&s!==r&&s!==o)return!0;a=t.next()}return!1}},18500:function(e){"use strict";e.exports=function(e){return!!(e&&e["@@RelayModernEnvironment"])}},3122:function(e,n,t){"use strict";var r=(0,t(11915).default)(t(27969)),o=t(1344),i=t(70279).RELAY_LIVE_RESOLVER,a=t(92247),s=t(69418),l=t(36882),c=l.generateClientID,u=l.generateClientObjectClientID,d=t(8340),p=t(44421).createNormalizationSelector,m=t(59628),h=t(73277).normalize,f=t(91583),g=f.RELAY_RESOLVER_ERROR_KEY,_=f.RELAY_RESOLVER_INVALIDATION_KEY,y=f.RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,v=f.RELAY_RESOLVER_SNAPSHOT_KEY,b=f.RELAY_RESOLVER_VALUE_KEY,C=f.getStorageKey,T=t(12041),S=t(341),k=t(95850).isSuspenseSentinel,E=t(50238);t(30499);var R="__resolverLiveStateSubscription",I="__resolverLiveStateValue",A="__resolverLiveStateDirty",w="__RELAY_RESOLVER__";function x(e,n,t){var r=e.get(n);r||(r=new Set,e.set(n,r)),r.add(t)}var P=function(){function e(e,n){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=e,this._store=n,this._handlingBatch=!1,this._liveResolverBatchRecordSource=null}var n=e.prototype;return n.readFromCacheOrEvaluate=function(e,n,t,o,a){var s,l=this._getRecordSource(),u=M(l,e),p=C(n,t),m=d.getLinkedRecordID(u,p),h=null==m?null:l.get(m);if(null==h||this._isInvalid(h,a)){null!=h&&L(h),m=null!==(B=m)&&void 0!==B?B:c(e,p),h=d.create(m,w);var f=o();if(d.setValue(h,v,f.snapshot),d.setValue(h,g,f.error),n.kind===i){if(null!=f.resolverResult){null!=f.error&&E(!1);var _=f.resolverResult;P=this._setLiveStateValue(h,m,_,n,t)}}else P=this._setResolverValue(h,f.resolverResult,n,t);l.set(m,h);var y=M(l,e),b=d.clone(y);if(d.setLinkedRecordID(b,p,m),l.set(e,b),null!=n.fragment){var T=c(e,C(n.fragment,t));x(this._resolverIDToRecordIDs,T,m),x(this._recordIDToResolverIDs,e,T);var R=null===(N=f.snapshot)||void 0===N?void 0:N.seenRecords;if(null!=R){var P,B,N,O,j=(0,r.default)(R);try{for(j.s();!(O=j.n()).done;){var D=O.value;x(this._recordIDToResolverIDs,D,T)}}catch(e){j.e(e)}finally{j.f()}}}}else if(n.kind===i&&d.getValue(h,A)){m=null!==(U=m)&&void 0!==U?U:c(e,p),h=d.clone(h);var U,q=d.getValue(h,I);S(q)||E(!1),P=this._setLiveResolverValue(h,q,n,t),d.setValue(h,A,!1),l.set(m,h)}var F=this._getResolverValue(h),H=d.getValue(h,v),G=d.getValue(h,g),V=null;return k(F)&&(V=null!==(s=m)&&void 0!==s?s:c(e,p)),[F,m,G,H,V,P]},n.getLiveResolverPromise=function(e){var n=this._getRecordSource().get(e);null!=n||E(!1);var t=d.getValue(n,I);return new Promise(function(e){var n=t.subscribe(function(){n(),e()})})},n._setLiveStateValue=function(e,n,t,r,o){var i=this._makeLiveStateHandler(n),a=t.subscribe(i);d.setValue(e,I,t);var s=this._setLiveResolverValue(e,t,r,o);return d.setValue(e,A,!1),d.setValue(e,R,a),s},n._makeLiveStateHandler=function(e){var n=this;return function(){var t=n._getRecordSource().get(e);if(t&&d.hasValue(t,I)){var r=d.clone(t);d.setValue(r,A,!0),n._setLiveResolverUpdate(e,r)}}},n._setLiveResolverUpdate=function(e,n){if(this._handlingBatch)null==this._liveResolverBatchRecordSource&&(this._liveResolverBatchRecordSource=m.create()),this._liveResolverBatchRecordSource.set(e,n);else{var t=m.create();t.set(e,n),this._store.publish(t),this._store.notify()}},n.batchLiveStateUpdates=function(e){this._handlingBatch&&E(!1),this._handlingBatch=!0;try{e()}finally{null!=this._liveResolverBatchRecordSource&&(this._store.publish(this._liveResolverBatchRecordSource),this._store.notify()),this._liveResolverBatchRecordSource=null,this._handlingBatch=!1}},n._setLiveResolverValue=function(e,n,t,r){var o=null,i=null;try{o=n.read()}catch(e){i=e}return d.setValue(e,g,i),this._setResolverValue(e,o,t,r)},n._setResolverValue=function(e,n,t,o){var i=t.normalizationInfo,a=null;if(null==n||null==i||k(n))s(n),d.setValue(e,b,n);else{var l=T(e),c=new Set,p=this._getRecordSource();if(i.plural){Array.isArray(n)||E(!1),_=[];for(var h=m.create(),f=0;f0,i=null!=r.missingClientEdges&&r.missingClientEdges.length>0;if(o||i||r.isMissingData&&null!=a(e,n,t))return{state:"loading"};try{s(e,r.errorResponseFields)}catch(e){return{error:e,state:"error"}}return null!=r.data||c(!1),{state:"ok",value:r.data}}e.exports={observeFragment:d,waitForFragmentData:function(e,n,t){return u.apply(this,arguments)}}},43125:function(e,n,t){"use strict";var r=t(77674).getInlineDataFragment,o=t(91583).FRAGMENTS_KEY,i=t(50238);e.exports=function(e,n){var t,a=r(e);if(null==n)return n;"object"!=typeof n&&i(!1);var s=null===(t=n[o])||void 0===t?void 0:t[a.name];return null!=s||i(!1),s}},63657:function(e,n,t){"use strict";var r=t(48212).default,o=t(13736).observeFragment;function i(){return(i=r(function*(e,n,t){try{var r,i,a,s=yield new Promise(function(r,a){i=o(e,n,t).subscribe({next:function(e){"ok"===e.state?r(e.value):"error"===e.state&&a(e.error)}})});return null===(a=i)||void 0===a||a.unsubscribe(),s}catch(e){throw null===(r=i)||void 0===r||r.unsubscribe(),e}})).apply(this,arguments)}e.exports={waitForFragmentData:function(e,n,t){return i.apply(this,arguments)}}},28266:function(e,n,t){"use strict";var r=t(72833),o=t(77674).getRequest,i=t(98210).createOperationDescriptor,a=t(44421).createReaderSelector;t(30499),e.exports=function(e,n){var t=o(n.subscription);if("subscription"!==t.params.operationKind)throw Error("requestSubscription: Must use Subscription operation");var s=n.configs,l=n.onCompleted,c=n.onError,u=n.onNext,d=i(t,n.variables,n.cacheConfig),p=(s?r.convert(s,t,null,n.updater):n).updater;return{dispose:e.executeSubscription({operation:d,updater:p}).subscribe({next:function(n){if(null!=u){var t,r,o,i,s=d.fragment;"string"==typeof(t=Array.isArray(n)?null===(r=n[0])||void 0===r?void 0:null===(o=r.extensions)||void 0===o?void 0:o.__relay_subscription_root_id:null===(i=n.extensions)||void 0===i?void 0:i.__relay_subscription_root_id)&&(s=a(s.node,t,s.variables,s.owner)),u(e.lookup(s).data)}},error:c,complete:l}).unsubscribe}}},70279:function(e){"use strict";e.exports={ACTOR_CHANGE:"ActorChange",CATCH_FIELD:"CatchField",CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",CLIENT_EDGE_TO_SERVER_OBJECT:"ClientEdgeToServerObject",CLIENT_EDGE_TO_CLIENT_OBJECT:"ClientEdgeToClientObject",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",FRAGMENT:"Fragment",FRAGMENT_SPREAD:"FragmentSpread",INLINE_DATA_FRAGMENT_SPREAD:"InlineDataFragmentSpread",INLINE_DATA_FRAGMENT:"InlineDataFragment",INLINE_FRAGMENT:"InlineFragment",LINKED_FIELD:"LinkedField",LINKED_HANDLE:"LinkedHandle",LITERAL:"Literal",LIST_VALUE:"ListValue",LOCAL_ARGUMENT:"LocalArgument",MODULE_IMPORT:"ModuleImport",ALIASED_FRAGMENT_SPREAD:"AliasedFragmentSpread",ALIASED_INLINE_FRAGMENT_SPREAD:"AliasedInlineFragmentSpread",RELAY_RESOLVER:"RelayResolver",RELAY_LIVE_RESOLVER:"RelayLiveResolver",REQUIRED_FIELD:"RequiredField",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",TYPE_DISCRIMINATOR:"TypeDiscriminator",UPDATABLE_QUERY:"UpdatableQuery",VARIABLE:"Variable"}},21633:function(e){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},53790:function(e){"use strict";function n(e,n,t){for(var r=arguments.length,o=Array(r>3?r-3:0),i=3;i2?r-2:0),i=2;i2?r-2:0),i=2;i0){for(var i=[],a=o.length-1;a>=0;a--){var s=o[a](e,r);i.unshift(s)}return{stop:function(e){i.forEach(function(n){return n(e)})}}}return t},attachProfileHandler:function(e,t){n.hasOwnProperty(e)||(n[e]=[]),n[e].push(t)},detachProfileHandler:function(e,t){var r,o;n.hasOwnProperty(e)&&-1!==(o=(r=n[e]).indexOf(t))&&r.splice(o,1)}}},59610:function(e,n,t){"use strict";var r=t(11915).default,o=r(t(27969)),i=r(t(76481)),a=t(58405),s=t(50238),l=function(){function e(){var e=this;(0,i.default)(this,"_complete",!1),(0,i.default)(this,"_events",[]),(0,i.default)(this,"_sinks",new Set),(0,i.default)(this,"_subscription",[]),this._observable=a.create(function(n){e._sinks.add(n);for(var t=e._events,r=0;r1&&void 0!==arguments[1]?arguments[1]:new Set;if(!n||"object"!=typeof n)return!1;if(t.has(n))return!0;var r=new Set(t);return r.add(n),(Array.isArray(n)?n:Object.values(n)).some(function(n){return e(n,r)})}}},75464:function(e,n,t){"use strict";t(22781),t(30499);var r="function"==typeof WeakMap?new WeakMap:new Map;function o(e,n){if(null==n)return e;var t={};return Object.assign(t,e),Object.keys(n).forEach(function(e){var o=n[e].get,i=o();if(r.has(o)){var a=r.get(o);t[e]=a}else r.set(o,i),t[e]=i}),t}o.tests_only_resetDebugCache=void 0,e.exports=o},40778:function(e){"use strict";var n,t,r="undefined"!=typeof window&&"function"==typeof(null===(n=window)||void 0===n?void 0:null===(t=n.performance)||void 0===t?void 0:t.now);function o(){return r?window.performance.now():Date.now()}e.exports=function(e){var n=o(),t=e();return[n,o()-n,t]}},91826:function(e,n,t){"use strict";var r=t(53622),o=t(68671),i=t(98587)(),a=t(96407),s=t(64617),l=r("%Math.floor%");e.exports=function(e,n){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof n||n<0||n>4294967295||l(n)!==n)throw new s("`length` must be a positive 32-bit integer");var t=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&a){var u=a(e,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(c=!1)}return(r||c||!t)&&(i?o(e,"length",n,!0,!0):o(e,"length",n)),e}},1074:function(e,n,t){"use strict";t.r(n),t.d(n,{parse:function(){return o}});var r="";function o(e){return e.split("\n").reduce(function(e,n){var t,o,p,m=function(e){var n=i.exec(e);if(!n)return null;var t=n[2]&&0===n[2].indexOf("native"),o=n[2]&&0===n[2].indexOf("eval"),s=a.exec(n[2]);return o&&null!=s&&(n[2]=s[1],n[3]=s[2],n[4]=s[3]),{file:t?null:n[2],methodName:n[1]||r,arguments:t?[n[2]]:[],lineNumber:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}(n)||((t=s.exec(n))?{file:t[2],methodName:t[1]||r,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null)||function(e){var n=l.exec(e);if(!n)return null;var t=n[3]&&n[3].indexOf(" > eval")>-1,o=c.exec(n[3]);return t&&null!=o&&(n[3]=o[1],n[4]=o[2],n[5]=null),{file:n[3],methodName:n[1]||r,arguments:n[2]?n[2].split(","):[],lineNumber:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}(n)||((o=d.exec(n))?{file:o[2],methodName:o[1]||r,arguments:[],lineNumber:+o[3],column:o[4]?+o[4]:null}:null)||((p=u.exec(n))?{file:p[3],methodName:p[1]||r,arguments:[],lineNumber:+p[4],column:p[5]?+p[5]:null}:null);return m&&e.push(m),e},[])}var i=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/,s=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,l=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,u=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i,d=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i},79852:function(e,n,t){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(t(91027)),o=t(61276);function i(e,n){var t={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(t[(0,o.camelCase)(e,n)]=r)}),t}i.default=i,e.exports=i},61276:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,n){return n.toUpperCase()},l=function(e,n){return"".concat(n,"-")};n.camelCase=function(e,n){var c;return(void 0===n&&(n={}),!(c=e)||o.test(c)||t.test(c))?e:(e=e.toLowerCase(),(e=n.reactCompat?e.replace(a,l):e.replace(i,l)).replace(r,s))}},91027:function(e,n,t){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,n){var t=null;if(!e||"string"!=typeof e)return t;var r=(0,o.default)(e),i="function"==typeof n;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?n(r,o,e):o&&((t=t||{})[r]=o)}}),t};var o=r(t(75561))},42178:function(e,n,t){"use strict";t.r(n),t.d(n,{focusable:function(){return A},getTabIndex:function(){return m},isFocusable:function(){return P},isTabbable:function(){return w},tabbable:function(){return I}});var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],o=r.join(","),i="undefined"==typeof Element,a=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!i&&Element.prototype.getRootNode?function(e){var n;return null==e?void 0:null===(n=e.getRootNode)||void 0===n?void 0:n.call(e)}:function(e){return null==e?void 0:e.ownerDocument},l=function e(n,t){void 0===t&&(t=!0);var r,o=null==n?void 0:null===(r=n.getAttribute)||void 0===r?void 0:r.call(n,"inert");return""===o||"true"===o||t&&n&&e(n.parentNode)},c=function(e){var n,t=null==e?void 0:null===(n=e.getAttribute)||void 0===n?void 0:n.call(e,"contenteditable");return""===t||"true"===t},u=function(e,n,t){if(l(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(o));return n&&a.call(e,o)&&r.unshift(e),r=r.filter(t)},d=function e(n,t,r){for(var i=[],s=Array.from(n);s.length;){var c=s.shift();if(!l(c,!1)){if("SLOT"===c.tagName){var u=c.assignedElements(),d=e(u.length?u:c.children,!0,r);r.flatten?i.push.apply(i,d):i.push({scopeParent:c,candidates:d})}else{a.call(c,o)&&r.filter(c)&&(t||!n.includes(c))&&i.push(c);var p=c.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(c),m=!l(p,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(c));if(p&&m){var h=e(!0===p?c.children:p.children,!0,r);r.flatten?i.push.apply(i,h):i.push({scopeParent:c,candidates:h})}else s.unshift.apply(s,c.children)}}}return i},p=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},m=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||c(e))&&!p(e)?0:e.tabIndex},h=function(e,n){var t=m(e);return t<0&&n&&!p(e)?0:t},f=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},g=function(e){return"INPUT"===e.tagName},_=function(e,n){for(var t=0;tsummary:first-of-type")?e.parentElement:e;if(a.call(o,"details:not([open]) *"))return!0;if(t&&"full"!==t&&"legacy-full"!==t){if("non-zero-area"===t)return b(e)}else{if("function"==typeof r){for(var i=e;e;){var l=e.parentElement,c=s(e);if(l&&!l.shadowRoot&&!0===r(l))return b(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=i}if(v(e))return!e.getClientRects().length;if("legacy-full"!==t)return!0}return!1},T=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if("FIELDSET"===n.tagName&&n.disabled){for(var t=0;tm(n))&&!!S(e,n)},E=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(n)||n>=0},R=function e(n){var t=[],r=[];return n.forEach(function(n,o){var i=!!n.scopeParent,a=i?n.scopeParent:n,s=h(a,i),l=i?e(n.candidates):a;0===s?i?t.push.apply(t,l):t.push(a):r.push({documentOrder:o,tabIndex:s,item:n,isScope:i,content:l})}),r.sort(f).reduce(function(e,n){return n.isScope?e.push.apply(e,n.content):e.push(n.content),e},[]).concat(t)},I=function(e,n){return R((n=n||{}).getShadowRoot?d([e],n.includeContainer,{filter:k.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:E}):u(e,n.includeContainer,k.bind(null,n)))},A=function(e,n){return(n=n||{}).getShadowRoot?d([e],n.includeContainer,{filter:S.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):u(e,n.includeContainer,S.bind(null,n))},w=function(e,n){if(n=n||{},!e)throw Error("No node provided");return!1!==a.call(e,o)&&k(n,e)},x=r.concat("iframe").join(","),P=function(e,n){if(n=n||{},!e)throw Error("No node provided");return!1!==a.call(e,x)&&S(n,e)}},25044:function(e,n,t){"use strict";var r=t(66123),o="function"==typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e==1/n)||e!=e&&n!=n},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!o(e,t)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,n){return n()}:function(e,n){var t=n(),r=i({inst:{value:t,getSnapshot:n}}),o=r[0].inst,u=r[1];return s(function(){o.value=t,o.getSnapshot=n,c(o)&&u({inst:o})},[e,t,n]),a(function(){return c(o)&&u({inst:o}),e(function(){c(o)&&u({inst:o})})},[e]),l(t),t};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},98499:function(e,n,t){"use strict";e.exports=t(25044)},7209:function(e,n,t){"use strict";t.d(n,{ST:function(){return a},el:function(){return s},z$:function(){return i}});var r=t(66123);let o=(0,r.createContext)(null),i=()=>{let e=(0,r.useContext)(o);return e?e.client:null},a=()=>{let e=(0,r.useContext)(o);return e?e.volume:null},s=()=>{let e=(0,r.useContext)(o);return e?e.subXTrackingEnabled:null};n.ZP=o},84994:function(e,n,t){"use strict";t.d(n,{$3:function(){return l},II:function(){return a},aC:function(){return i},jY:function(){return s}});var r=t(66123);let o=(0,r.createContext)({authMethod:null,userLoading:!0,setUser:()=>{}});function i(){return(0,r.useContext)(o)}function a(){var e,n;let t=(0,r.useContext)(o);return(t.user||t.viewer)&&((null===(e=t.user)||void 0===e?void 0:e.uid)||(null===(n=t.viewer)||void 0===n?void 0:n.id))||null}function s(){return(0,r.useContext)(o).user||null}function l(){var e;let[n,t]=(0,r.useState)(!1),i=(0,r.useContext)(o);return(0,r.useEffect)(()=>{var e;!i.userLoading&&(null===(e=i.user)||void 0===e?void 0:e.isEntitled)&&t(!0)},[null===(e=i.user)||void 0===e?void 0:e.isEntitled,i.userLoading]),n}n.ZP=o},19093:function(e,n,t){"use strict";t.d(n,{G:function(){return i}});var r=t(66123);let o=(0,r.createContext)(null),i=()=>{let e=(0,r.useContext)(o);if(!e)throw Error("Missing Campaign Context");return e};n.Z=o},47727:function(e,n,t){"use strict";t.d(n,{ly:function(){return s},uj:function(){return a},v1:function(){return i}});var r=t(66123);let o=(0,r.createContext)(null),i=()=>{let e=(0,r.useContext)(o);if(!e)throw Error("Missing Community Context");return e},a=()=>{var e,n,t,r;let{currentCycloneCommunityId:o,currentCommunity:a,communities:s}=i(),l=null!==(n=null===(e=a.cycloneCommunities)||void 0===e?void 0:e[o])&&void 0!==n?n:null===(r=null===(t=Object.values(s).find(e=>e.isPrimaryCommunity))||void 0===t?void 0:t.cycloneCommunities)||void 0===r?void 0:r[o];if(!l)throw Error(`Cyclone community not found for current cyclone community ID: ${o}`);return l},s=e=>{let{communities:n}=i();return Object.values(n).find(n=>n.wpSiteId===e)};n.ZP=o},84795:function(e,n,t){"use strict";t.d(n,{q:function(){return i}});var r=t(66123);let o=(0,r.createContext)(null),i=()=>{let e=(0,r.useContext)(o);if(!e)throw Error("Missing Config Context");return e};n.Z=o},60546:function(e,n,t){"use strict";t.d(n,{Yd:function(){return a},x1:function(){return o}});var r=t(66123);let o={essential:"C0001",performance:"C0002",functional:"C0003",targeting:"C0004",socialMediaAndEmbeds:"C0005"},i=(0,r.createContext)(null),a=(e="socialMediaAndEmbeds")=>{let n=(0,r.useContext)(i);if(!n)throw Error("useCookieConsent must be used within a CookieConsentProvider");let t=o[e];return Object.assign(Object.assign({},n),{isConsentAccepted:n.activeConsentGroups.includes(t)})};n.ZP=i},60998:function(e,n,t){"use strict";t.d(n,{o:function(){return i}});var r=t(66123);let o=(0,r.createContext)(null),i=()=>{let e=(0,r.useContext)(o);if(!e)throw Error("useCoralCommentsContext must be used within a CoralCountsProvider");return e};n.Z=o},75525:function(e,n,t){"use strict";t.d(n,{X:function(){return i}});var r=t(66123);let o=(0,r.createContext)({drawerId:"coral-drawer",isDrawerOpen:!1,isDrawerTransitionDisabled:!1,isDrawerPrerendered:!1,openDrawer:()=>{},closeDrawer:()=>{},prerenderDrawer:()=>{}}),i=()=>(0,r.useContext)(o);n.Z=o},97650:function(e,n,t){"use strict";t.d(n,{Q:function(){return i}});var r=t(66123);let o=(0,r.createContext)(null),i=()=>{let e=(0,r.useContext)(o);if(!e)throw Error("Missing Global Data Context");return e};n.Z=o},42103:function(e,n,t){"use strict";t.d(n,{D:function(){return i}});var r=t(66123);let o=(0,r.createContext)(null),i=()=>{let e=(0,r.useContext)(o);if(!e)throw Error("Missing Loop Nav Context");return e};n.Z=o},43131:function(e,n,t){"use strict";t.d(n,{n:function(){return i}});var r=t(66123);let o=(0,r.createContext)(null),i=()=>{let e=(0,r.useContext)(o);if(!e)throw Error("Missing Paywall Context");return e};n.Z=o},51323:function(e,n,t){"use strict";t.d(n,{J:function(){return i}});var r=t(66123);let o=(0,r.createContext)(null);function i(){return(0,r.useContext)(o)||null}n.Z=o},4274:function(e,n,t){"use strict";var r,o;t.d(n,{Dj:function(){return i},P_:function(){return a}});let i=((r={}).acfDisabled="acfDisabled",r.archived="archived",r.autoDraft="autoDraft",r.dpRewriteRepublish="dpRewriteRepublish",r.draft="draft",r.future="future",r.inherit="inherit",r.pending="pending",r.private="private",r.publish="publish",r.requestCompleted="requestCompleted",r.requestConfirmed="requestConfirmed",r.requestFailed="requestFailed",r.requestPending="requestPending",r.trash="trash",r),a=((o={}).authorProfile="authorProfile",o.campaign="campaign",o.category="category",o.clientError="clientError",o.customStory="customStory",o.diningReport="diningReport",o.embedStory="embedStory",o.homepage="homepage",o.image="image",o.internalCategory="internalCategory",o.internalSuperCat="internalSuperCat",o.linkPost="linkPost",o.loopNav="loopNav",o.map="map",o.mmaEvent="mmaEvent",o.mmaFight="mmaFight",o.mmaFighter="mmaFighter",o.mmaPromotion="mmaPromotion",o.mmaWeightClass="mmaWeightClass",o.neighborhood="neighborhood",o.package="package",o.page="page",o.post="post",o.product="product",o.productBrand="productBrand",o.quickPost="quickPost",o.redirect="redirect",o.series="series",o.stream="stream",o.superCat="superCat",o.tag="tag",o.vault="vault",o.venue="venue",o.videoGame="videoGame",o.videoGamePlatform="videoGamePlatform",o.videoPost="videoPost",o.volumeVideo="volumeVideo",o)},96109:function(e,n,t){"use strict";var r,o,i,a,s,l,c,u,d,p,m,h,f,g,_,y,v,b,C,T,S,k,E,R,I,A,w,x,P,B;t.r(n);let N=(i={alias:null,args:null,concreteType:"BannerType",kind:"LinkedField",name:"breakingNewsBanner",plural:!1,selections:o=[{alias:null,args:null,kind:"ScalarField",name:"buttonText",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"buttonUrl",storageKey:null},{alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"content",plural:!0,selections:r=[{alias:null,args:null,kind:"ScalarField",name:"html",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"heading",storageKey:null}],storageKey:null},a={alias:null,args:null,concreteType:"BannerType",kind:"LinkedField",name:"wikiBanner",plural:!1,selections:o,storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"siteDomain",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"siteSlug",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"siteTitle",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"siteTagline",storageKey:null},m={alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"horizontal",plural:!1,selections:p=[d={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"vertical",plural:!1,selections:p,storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"square",plural:!1,selections:p,storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"social",plural:!1,selections:p,storageKey:null}],storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"originalWidth",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"originalHeight",storageKey:null},_={alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"original",plural:!1,selections:g=[d,{alias:null,args:null,concreteType:"CoordinatesType",kind:"LinkedField",name:"cropCoordinates",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"social",plural:!1,selections:g,storageKey:null}],storageKey:null},y={alias:null,args:null,concreteType:"SocialMediaLink",kind:"LinkedField",name:"socialMediaLinks",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"platformName",storageKey:null},d],storageKey:null},b={alias:null,args:null,concreteType:"SEOSettingsType",kind:"LinkedField",name:"seo",plural:!1,selections:[{alias:null,args:null,concreteType:"DefaultSchemaType",kind:"LinkedField",name:"defaultSchema",plural:!1,selections:[v={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"facebookAppId",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"googleSiteVerification",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"NewsMediaOrganizationSchemaType",kind:"LinkedField",name:"newsMediaOrganizationSchema",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"foundingDate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"founders",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"knowsAbout",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"diversityPolicyUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"ethicsPolicyUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"mastheadUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"wikipediaUrl",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"linkedInUrl",storageKey:null}],storageKey:null}],storageKey:null},C={alias:null,args:null,kind:"ScalarField",name:"slug",storageKey:null},T={alias:null,args:null,kind:"ScalarField",name:"listId",storageKey:null},S={alias:null,args:null,kind:"ScalarField",name:"default",storageKey:null},k={alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"promoText",plural:!1,selections:r,storageKey:null},E={alias:null,args:null,kind:"ScalarField",name:"frequency",storageKey:null},R={alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"original",plural:!1,selections:p,storageKey:null}],storageKey:null},I=[{kind:"Literal",name:"location",value:"MAIN"}],w=[{alias:null,args:null,concreteType:"NavMenuToNavMenuItemsConnection",kind:"LinkedField",name:"menuItems",plural:!1,selections:[{alias:null,args:null,concreteType:"NavMenuItemType",kind:"LinkedField",name:"nodes",plural:!0,selections:[A={alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null},d,{alias:null,args:null,concreteType:"NavMenuItemType",kind:"LinkedField",name:"menuItems",plural:!0,selections:[A,d],storageKey:null}],storageKey:null}],storageKey:null}],x=[{kind:"Literal",name:"location",value:"FOOTER"}],B=[{alias:null,args:null,concreteType:"NavMenuToNavMenuItemsConnection",kind:"LinkedField",name:"menuItems",plural:!1,selections:[{alias:null,args:null,concreteType:"NavMenuItemType",kind:"LinkedField",name:"nodes",plural:!0,selections:[A,d,{alias:null,args:null,concreteType:"NavMenuItemType",kind:"LinkedField",name:"menuItems",plural:!0,selections:[A,d,P={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},P],storageKey:null}],storageKey:null}],{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"GlobalDataContainerQuery",selections:[i,a,{alias:null,args:null,concreteType:"SiteSettingsType",kind:"LinkedField",name:"siteSettings",plural:!1,selections:[s,l,c,u,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"placeholderImage",plural:!1,selections:[m],storageKey:null},{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"siteLogo",plural:!1,selections:[h,f,_],storageKey:null},y,b],storageKey:null},{alias:null,args:null,concreteType:"NewsletterType",kind:"LinkedField",name:"newsletters",plural:!0,selections:[v,C,T,S,k,E,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:[R],storageKey:null}],storageKey:null},{alias:"mainNav",args:I,concreteType:"NavMenuType",kind:"LinkedField",name:"navMenu",plural:!1,selections:w,storageKey:'navMenu(location:"MAIN")'},{alias:"footerNav",args:x,concreteType:"NavMenuType",kind:"LinkedField",name:"navMenu",plural:!1,selections:w,storageKey:'navMenu(location:"FOOTER")'}],type:"RootQuery",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"GlobalDataContainerQuery",selections:[i,a,{alias:null,args:null,concreteType:"SiteSettingsType",kind:"LinkedField",name:"siteSettings",plural:!1,selections:[s,l,c,u,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"placeholderImage",plural:!1,selections:[m,P],storageKey:null},{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"siteLogo",plural:!1,selections:[h,f,_,P],storageKey:null},y,b],storageKey:null},{alias:null,args:null,concreteType:"NewsletterType",kind:"LinkedField",name:"newsletters",plural:!0,selections:[v,C,T,S,k,E,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:[R,P],storageKey:null}],storageKey:null},{alias:"mainNav",args:I,concreteType:"NavMenuType",kind:"LinkedField",name:"navMenu",plural:!1,selections:B,storageKey:'navMenu(location:"MAIN")'},{alias:"footerNav",args:x,concreteType:"NavMenuType",kind:"LinkedField",name:"navMenu",plural:!1,selections:B,storageKey:'navMenu(location:"FOOTER")'}]},params:{id:"99b993a18d1b01b9db4e92495c68b78c",metadata:{},name:"GlobalDataContainerQuery",operationKind:"query",text:null}});N.hash="be2f2a24e6816b18f46667956cfa4c60",n.default=N},9274:function(e,n,t){"use strict";var r,o,i,a,s,l,c,u,d,p,m;t.r(n);let h={fragment:{argumentDefinitions:r=[{defaultValue:null,kind:"LocalArgument",name:"nodeId"}],kind:"Fragment",metadata:null,name:"LoopNavProviderContainerQuery",selections:[{kind:"RequiredField",field:{alias:null,args:o=[{kind:"Variable",name:"id",variableName:"nodeId"}],concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[i={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:d=[a={alias:null,args:null,kind:"ScalarField",name:"path",storageKey:null},{alias:null,args:null,concreteType:"LoopNavResourceType",kind:"LinkedField",name:"loopNav",plural:!1,selections:[s={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,concreteType:"LoopNavListItemType",kind:"LinkedField",name:"items",plural:!0,selections:[l={alias:null,args:null,kind:"ScalarField",name:"listItemResourceId",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"permalink",storageKey:null},{alias:null,args:null,concreteType:"LoopNavListItemType",kind:"LinkedField",name:"items",plural:!0,selections:[l,u,c],storageKey:null}],storageKey:null}],storageKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"},{kind:"InlineFragment",selections:d,type:"CategoryResourceType",abstractKey:null},{kind:"InlineFragment",selections:d,type:"VideoGameResourceType",abstractKey:null}],storageKey:null},action:"THROW"}],type:"RootQuery",abstractKey:null},kind:"Request",operation:{argumentDefinitions:r,kind:"Operation",name:"LoopNavProviderContainerQuery",selections:[{alias:null,args:o,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[i,{kind:"InlineFragment",selections:m=[a,{alias:null,args:null,concreteType:"LoopNavResourceType",kind:"LinkedField",name:"loopNav",plural:!1,selections:[s,{alias:null,args:null,concreteType:"LoopNavListItemType",kind:"LinkedField",name:"items",plural:!0,selections:[l,c,u,{alias:null,args:null,concreteType:"LoopNavListItemType",kind:"LinkedField",name:"items",plural:!0,selections:[l,u,c,p={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},p],storageKey:null},p],storageKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"},{kind:"InlineFragment",selections:m,type:"CategoryResourceType",abstractKey:null},{kind:"InlineFragment",selections:m,type:"VideoGameResourceType",abstractKey:null},p],storageKey:null}]},params:{id:"529cad23f4ba104eb71ed003fb84403b",metadata:{},name:"LoopNavProviderContainerQuery",operationKind:"query",text:null}};h.hash="4c3e8c249bd5b267f0ed4e22d21e8d9d",n.default=h},23882:function(e,n,t){"use strict";let r;t.d(n,{gT:function(){return m},dG:function(){return p},m3:function(){return c}});var o={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let i=new Uint8Array(16),a=[];for(let e=0;e<256;++e)a.push((e+256).toString(16).slice(1));var s=function(e,n,t){if(o.randomUUID&&!n&&!e)return o.randomUUID();let s=(e=e||{}).random??e.rng?.()??function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(i)}();if(s.length<16)throw Error("Random bytes length must be >= 16");if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,n){if((t=t||0)<0||t+16>n.length)throw RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let e=0;e<16;++e)n[t+e]=s[e];return n}return function(e,n=0){return(a[e[n+0]]+a[e[n+1]]+a[e[n+2]]+a[e[n+3]]+"-"+a[e[n+4]]+a[e[n+5]]+"-"+a[e[n+6]]+a[e[n+7]]+"-"+a[e[n+8]]+a[e[n+9]]+"-"+a[e[n+10]]+a[e[n+11]]+a[e[n+12]]+a[e[n+13]]+a[e[n+14]]+a[e[n+15]]).toLowerCase()}(s)},l=t(48889);let c=()=>"undefined"!=typeof window?(window.pageloadId||(window.pageloadId=s()),window.pageloadId):null,u={install:function(e){return e.disableRefresh={method:this.handleRefreshRequest.bind(this),context:this},e},handleRefreshRequest(e,n,t){let r=new CustomEvent(n.refreshImmediately?"refreshImmediately":"refreshEligibilityToggle",{bubbles:!0,detail:n});e.el.dispatchEvent(r),t()}},d={install:function(e){return e.reverbPlayer={method:this.handleReverbPlugin.bind(this),context:this},e},handleReverbPlugin(e,n,t){let r=e.el,o=document.createElement("div");o.id="reverb-main",r.parentNode?.insertBefore(o,r);let i=document.createElement("script");i.type="text/javascript",i.src=`https://cdn.concert.io/reverb-video/${n}.js`,r.parentNode?.insertBefore(i,r),r.style.display="none",t()}},p=e=>{if(!window.ConcertConcierge||Date.now(){let r=(0,s.createRef)();(0,p.Z)(r,{event:"memberships_wiki_banner",memberships_wiki_banner:{cta:e?.heading,action:"view",position:"wiki_banner"}});let o=(0,h.z$)();return e?(0,i.jsx)("div",{className:(0,a.Z)(u.I.WikiBanner,n&&f[n],t),ref:r,children:(0,i.jsxs)("div",{className:(0,a.Z)(m.F.layout.mainColumn,"_1juo5fm4 _1agbrixz"),children:[(0,i.jsx)("h2",{className:"_1juo5fm8",children:e.heading}),(0,i.jsxs)("div",{className:"_1juo5fm6",children:[(0,i.jsx)("div",{className:"_1juo5fm9",children:e.content.map((e,n)=>(0,i.jsx)(l.Z,{component:"p",html:e.html},n))}),(0,i.jsxs)("div",{className:"_1juo5fm7",children:[e.dek&&(0,i.jsx)(l.Z,{component:"p",html:e.dek,className:"_1juo5fma"}),(0,i.jsx)(c.Z,{className:"_1juo5fmb",href:e.buttonUrl,text:e.buttonText,onClick:()=>{o?.emit({event:"memberships_wiki_banner",memberships_wiki_banner:{cta:e.heading,action:`click_${e.buttonText}`,position:"wiki_banner"}})}})]})]})]})}):null},{context:"WikiBannerErrorBoundary"}),_=e=>{let{template:n,className:t}=e,{wikiBanner:a,breakingNewsBanner:s}=(0,o.Q)(),{campaign:l}=(0,r.G)();return l||s||!a?null:(0,i.jsx)(g,{className:t,template:n,wikiBanner:a})}},98416:function(e,n,t){"use strict";t.d(n,{$1:function(){return h},$Z:function(){return o},GH:function(){return s},GQ:function(){return f},J$:function(){return v},Jm:function(){return i},Ns:function(){return g},P3:function(){return p},WG:function(){return l},X5:function(){return c},Zp:function(){return a},eG:function(){return _},k5:function(){return d},lV:function(){return y},wb:function(){return r},y3:function(){return u},yN:function(){return m}});let r="DUET",o="DEV",i="?",a="production";Number.parseFloat("0.001");let s=15,l=10,c=40,u=15,d=25,p=15,m=10,h=15,f=15,g=7,_={deployEnv:a,defaultBrandedContentDisclaimer:"This advertising content was produced in collaboration between Vox Creative and our sponsor, without involvement from Vox Media editorial staff."},y="_chorus_ccpa_consent_donotsell",v="This video contains sensitive or violent content"},34993:function(e,n,t){var r=t(41650);let{normalize:o}=t(58949),i=e=>{let n=`${e}=`;return decodeURIComponent(document.cookie).split("; ").reduce((e,t)=>0===t.indexOf(n)?t.substring(n.length):e,"")},{SENTRY_SERVER_SAMPLE_RATE:a,SENTRY_CLIENT_SAMPLE_RATE:s}=t(78939),l="undefined"==typeof window,c=e=>{if(l)return!0;let n=e.exception?.values?.[0]?.stacktrace?.frames||[];return!!n[n.length-1].filename?.startsWith("app:///_next/")&&!(n.filter(e=>e.filename?.startsWith("app:///_next/")).length<2)};function u(e,n){let t=n;for(let r of(Array.isArray(n)||(t=[n]),t))if("string"==typeof r&&e===r||r instanceof RegExp&&e.match(r))return!0;return!1}e.exports={createSentryConfig:function(e){let{supportedBrowsersRegExp:n,allowDomains:d="www.vox.com"}=e;return{debug:!1,skipOpenTelemetrySetup:!0,integrations:function(e){let n=e;n=e.filter(function(e){return"RewriteFrames"!==e.name});let{rewriteFramesIntegration:r}=t(53541),o=r({iteratee:e=>{if(!l){try{let{hostname:n}=new URL(e.filename);u(n,d)&&(e.filename=e.filename.replace(origin,"app://"))}catch{}return e.filename&&e.filename.startsWith("app:///_next")&&(e.filename=decodeURI(e.filename)),e.filename&&e.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(e.in_app=!1),e}}});return n.push(o),n},dsn:"https://dda62d08b807fc79b0fff14e1d7dd23d@o4507017844228096.ingest.us.sentry.io/4507272654159872",environment:"production",tracePropagationTargets:[],sampleRate:l?a:s,sendClientReports:!1,normalizeDepth:10,normalizeMaxBreadth:1e3,beforeSend:(e,a)=>{e.contexts=e.contexts||{},e.tags=e.tags||{},e.tags["network.name"]="Vox",e.tags["network.id"]="5",e.tags["wordpress.target"]="production",e.tags["wordpress.origin"]="https://platform.vox.com",e.tags["deploy.environment"]="production",l||e.tags["runtime.name"]||(e.tags["runtime.name"]="browser");let s=e.request?.cookies?.OptanonConsent||!l&&i("OptanonConsent");if(s)try{let n={};new URLSearchParams(s).forEach((e,t)=>{"groups"===t||"hosts"===t?n[t]=e.split(","):n[t]=e}),e.contexts["Consent Cookie"]=n}catch(e){l&&console.error(e)}r.env.VERSION&&(e.tags.version=r.env.VERSION),a.originalException?.extra&&(e.extra=e.extra||{},Object.assign(e.extra,a.originalException.extra),e.extra=o(e.extra,10,1e3));let u=!c(e)||!l&&!n.test(t.g.navigator.userAgent);return(l?console.error(JSON.stringify({...function(e,n){let{[n]:t,...r}=e;return r}(e,"sdkProcessingMetadata"),msg:e?.extra?.message||`${a.originalException?.message}`,errorMessage:`${a.originalException?.message}`,errorType:`${a.originalException?.name}`},void 0,2)):u||console.error(`Error: ${a.event_id}`),u)?null:e}}},isValidHostname:u}},78939:function(e){e.exports={APP_NAME:"duet-network-vox",WP_ORIGIN:"https://platform.vox.com",SENTRY_CLIENT_SAMPLE_RATE:Number.parseFloat("0.001"),SENTRY_SERVER_SAMPLE_RATE:Number.parseFloat("0.10")}},46644:function(e,n,t){"use strict";t.d(n,{Cv:function(){return u},mD:function(){return d},lu:function(){return a},tp:function(){return s},xU:function(){return p},Sf:function(){return m}});let r="59d671b0-25d0-4d7a-8792-caef1f0de9ab",o={450:{name:"Eater",displayName:"Eater",subdomain:null,domain:"eater.com",wpSiteId:2,isPrimaryCommunity:!0,sailthruSlug:"eater",cycloneCommunities:{[r]:{displayName:"Eater",isPrimaryCommunity:!0,cycloneCommunityId:r,cycloneCommunityCacheId:3}}},454:{name:"Eater Maine",displayName:"Maine",subdomain:"maine",domain:"maine.eater.com",wpSiteId:3},456:{name:"Eater Boston",displayName:"Boston",subdomain:"boston",domain:"boston.eater.com",wpSiteId:4,sailthruSlug:"boston-eater"},458:{name:"Eater Montreal",displayName:"Montreal",subdomain:"montreal",domain:"montreal.eater.com",wpSiteId:5,sailthruSlug:"montreal-eater"},460:{name:"Eater NY",displayName:"New York",subdomain:"ny",domain:"ny.eater.com",wpSiteId:6,sailthruSlug:"ny-eater"},464:{name:"Eater Philly",displayName:"Philadelphia",subdomain:"philly",domain:"philly.eater.com",wpSiteId:8,sailthruSlug:"philly-eater"},466:{name:"Eater DC",displayName:"Washington DC",subdomain:"dc",domain:"dc.eater.com",wpSiteId:9,sailthruSlug:"dc-eater"},468:{name:"Eater Toronto",displayName:"Toronto",subdomain:"toronto",domain:"toronto.eater.com",wpSiteId:10},470:{name:"Eater Carolinas",displayName:"Carolinas",subdomain:"carolinas",domain:"carolinas.eater.com",wpSiteId:11,sailthruSlug:"carolinas-eater"},472:{name:"Eater Miami",displayName:"Miami",subdomain:"miami",domain:"miami.eater.com",wpSiteId:12,sailthruSlug:"miami-eater"},474:{name:"Eater Detroit",displayName:"Detroit",subdomain:"detroit",domain:"detroit.eater.com",wpSiteId:13,sailthruSlug:"detroit-eater"},476:{name:"Eater Atlanta",displayName:"Atlanta",subdomain:"atlanta",domain:"atlanta.eater.com",wpSiteId:14,sailthruSlug:"atlanta-eater"},478:{name:"Eater Louisville",displayName:"Louisville",subdomain:"louisville",domain:"louisville.eater.com",wpSiteId:15},480:{name:"Eater Nashville",displayName:"Nashville",subdomain:"nashville",domain:"nashville.eater.com",wpSiteId:16,sailthruSlug:"nashville-eater"},482:{name:"Eater Chicago",displayName:"Chicago",subdomain:"chicago",domain:"chicago.eater.com",wpSiteId:17,sailthruSlug:"chicago-eater"},484:{name:"Eater New Orleans",displayName:"New Orleans",subdomain:"nola",domain:"nola.eater.com",wpSiteId:18,sailthruSlug:"nola-eater"},486:{name:"Eater Twin Cities",displayName:"Twin Cities",subdomain:"twincities",domain:"twincities.eater.com",wpSiteId:19,sailthruSlug:"twincities-eater"},488:{name:"Eater Houston",displayName:"Houston",subdomain:"houston",domain:"houston.eater.com",wpSiteId:20,sailthruSlug:"houston-eater"},490:{name:"Eater Dallas",displayName:"Dallas",subdomain:"dallas",domain:"dallas.eater.com",wpSiteId:21,sailthruSlug:"dallas-eater"},492:{name:"Eater Austin",displayName:"Austin",subdomain:"austin",domain:"austin.eater.com",wpSiteId:22,sailthruSlug:"austin-eater"},494:{name:"Eater Denver",displayName:"Denver",subdomain:"denver",domain:"denver.eater.com",wpSiteId:23,sailthruSlug:"denver-eater"},496:{name:"Eater Vegas",displayName:"Las Vegas",subdomain:"vegas",domain:"vegas.eater.com",wpSiteId:24,sailthruSlug:"vegas-eater"},498:{name:"Eater San Diego",displayName:"San Diego",subdomain:"sandiego",domain:"sandiego.eater.com",wpSiteId:25,sailthruSlug:"sandiego-eater"},500:{name:"Eater LA",displayName:"Los Angeles",subdomain:"la",domain:"la.eater.com",wpSiteId:26,sailthruSlug:"la-eater"},502:{name:"Eater Seattle",displayName:"Seattle",subdomain:"seattle",domain:"seattle.eater.com",wpSiteId:27,sailthruSlug:"seattle-eater"},504:{name:"Eater SF",displayName:"San Francisco",subdomain:"sf",domain:"sf.eater.com",wpSiteId:28,sailthruSlug:"sf-eater"},506:{name:"Eater Portland",displayName:"Portland",subdomain:"pdx",domain:"pdx.eater.com",wpSiteId:29,sailthruSlug:"pdx-eater"},508:{name:"Eater Vancouver",displayName:"Vancouver",subdomain:"vancouver",domain:"vancouver.eater.com",wpSiteId:30},707:{name:"Eater London",displayName:"London",subdomain:"london",domain:"london.eater.com",wpSiteId:31,sailthruSlug:"eater-london"},782:{name:"Eater Phoenix",displayName:"Phoenix",subdomain:"phoenix",domain:"phoenix.eater.com",wpSiteId:32,sailthruSlug:"phoenix-eater"}};var i=t(70550);let a=441,s=641,l="815a6122-a71c-47a0-a311-32f264c80c8a",c="1cc08290-4858-4562-8f55-7f474d32bee8",u={372:"Verge",...Object.entries(o).reduce((e,n)=>{let[t]=n;return{...e,[t]:"Eater"}},{})},d={2:{domain:"theverge.com",communities:{372:{name:"The Verge",displayName:"The Verge",subdomain:null,domain:"theverge.com",wpSiteId:2,isPrimaryCommunity:!0,cycloneCommunities:{[l]:{displayName:"The Verge",isPrimaryCommunity:!0,cycloneCommunityId:l,cycloneCommunityCacheId:2}}}}},5:{domain:"vox.com",communities:{[a]:{name:"Vox",displayName:"Vox",subdomain:null,domain:"vox.com",wpSiteId:2,isPrimaryCommunity:!0,cycloneCommunities:{[c]:{displayName:"Vox",isPrimaryCommunity:!0,cycloneCommunityId:c,cycloneCommunityCacheId:1}}}}},6:{domain:"eater.com",isMultiCommunity:!0,isSubdomainFormatMultiCommunity:!0,communities:o},1:{domain:"sbnation.com",isMultiCommunity:!0,communities:i.IQ2}},p=e=>{let n=Object.values(d).find(n=>e in n.communities);if(!n)throw Error(`No network found for community ID: ${e}`);let t=Object.values(n.communities).find(e=>e.isPrimaryCommunity);if(!t)throw Error(`No primary community found for network: ${n.domain}`);let r=n.communities[e];if(!r)throw Error(`No community found for community ID: ${e}`);let o=t.cycloneCommunities?Object.values(t.cycloneCommunities).find(e=>e.isPrimaryCommunity):void 0;if(r.cycloneCommunities&&(o=Object.values(r.cycloneCommunities).find(e=>e.isPrimaryCommunity)),!o)throw Error(`No primary cyclone community found for community ${r.name} or for primary community ${t.name}`);return o.cycloneCommunityId},m=e=>{let n=d[e];if(!n)throw Error(`No network found for network ID: ${e}`);let t=Object.entries(n.communities).find(e=>{let[,n]=e;return n.isPrimaryCommunity});if(!t)throw Error(`No primary community found for network: ${n.domain}`);return parseInt(t[0])}},70550:function(e,n,t){"use strict";t.d(n,{Kw4:function(){return i},IQ2:function(){return tl},dq_:function(){return ts}});let r="b750955c-6e73-4300-8141-58b6f548cf3b",o="777e4080-b46a-48a6-a0c2-1615393728e3",i="11c1cafe-d8f7-41fc-b14e-e24c89119315",a="59e618dd-fe1c-4011-953b-daae822a10cc",s="a446ceb6-48ea-4849-82e1-95ee30d08b55",l="ce2d4fff-1c42-4422-b4cb-9ae485b5131f",c="a8047418-5d95-4bc6-b6b1-4b64d5a026dd",u="144c5e06-25a0-4020-b574-c08aa00feb71",d="561fdf8b-3a86-416f-8536-3d82b5e60f65",p="a297353d-5eb9-42f9-a6e3-204e7872729b",m="29b5663d-d287-442b-b43d-361117361a21",h="a9d0653a-9bfa-49d2-92a0-2f5d8dbaf44c",f="8e9f1e37-b646-4640-bfbe-18684e2b4dda",g="d8c6faa2-28dd-4dc5-9d63-dcb7d71b9f90",_="c5d0907b-aa85-4ed7-ac12-bbeaa023ac0e",y="6cc8f673-791e-45fe-ab58-1cc51bbf5830",v="6bf6bd90-4107-470c-a569-1431d9352a11",b="4af4632f-c70a-483c-911a-7f764397b35c",C="2ecf370f-8d9f-408f-9263-04436e846786",T="cabc0720-7c2d-4be2-8ac1-aa7fc7ef4868",S="45f9ce25-0f0b-4004-a265-e5824b7434af",k="615aae4e-58b2-416f-9b81-9666e3bd7474",E="1f186f61-7599-4add-a747-913be313106f",R="0c76a6d3-479d-4152-917b-dcb3c20c1de8",I="eed16011-2956-4edd-ba58-e237cc32632d",A="a6bf659d-4d7e-4ed5-915f-e6546d05a087",w="d77540dd-9660-4bbf-a3d6-1018ddb219a5",x="648532c3-3e95-4ba4-b6c2-e96d9a4d182f",P="15cd39d7-cf69-4d7f-9dfe-2fc2f6e098f3",B="bbda911d-949c-41c1-b91e-8a74af653af3",N="3d2be038-16d0-487a-9e66-b8d212f5e284",O="ca1fb546-3504-493e-8133-48e7d59cf1e5",L="aef1958e-d086-437a-bcab-d17fd20cc580",M="2a73fda7-bdf4-489b-b69e-066ea7141f63",j="2c667624-20bf-46e3-a4e3-58d4d2e92df3",D="ab487767-0787-4c0c-aeb5-4097580d800b",U="86747a8d-95f3-4356-a4d5-1715ef31bbf8",q="76f175c7-2585-47c1-9f11-335dcb8adc5f",F="7910057f-ecb6-4744-bb0c-75a992cb3f8e",H="24feadb9-6a8d-4203-af59-13ef6e300a9b",G="57b45c7d-bd22-4102-9f2e-7a17add7472d",V="c3666d7b-761b-4e69-8b23-36d924c5d788",z="e89546f3-1215-4e36-9b20-75763263b2bd",W="845ff58b-b9ae-4078-99db-e3e5213cf146",K="0c21f2cf-daf0-4285-b38c-6a1972b08e5c",$="d7fd8990-2a9a-4382-bfc2-f0846cd3d80f",Q="24f88981-4b57-4a61-bf0f-0aabff6f8f38",Y="bf94ef62-ce3c-49ba-9818-03dbee81dc97",Z="b27c5f7a-e02c-4785-b34e-650376e10212",J="c8cbcf3b-66ca-4b12-a3b6-441fbf7f962f",X="92e3c499-45b9-4456-8501-71311ccbce08",ee="0020fd3f-c4a0-4e2f-afd3-127f0a96938e",en="677b9e66-58a4-4a5c-aa83-45cbd3ab4a41",et="1bce5546-9fa4-447f-a903-a412982bd519",er="aa28cb96-e7ca-485f-b209-a3de52d56369",eo="87208962-c48b-4d6d-b41b-7c13cebbfb95",ei="88380134-386b-4227-aec3-7bd211a3a0ba",ea="ae469e4e-2e76-48aa-b806-7e56e248777a",es="9d32aea6-a7b3-466b-b413-1d6836b0af95",el="9a3d9ff5-6d73-4341-a524-8a120f02e981",ec="80cc8d78-8060-4115-ba64-6289d8f3b5bb",eu="e5ad5835-07a4-4ca3-99bd-41844e4a0807",ed="154c3f04-2187-4ad4-b66a-b43b0e8952b1",ep="38669b58-b5d0-4d75-ad75-0ec329540de9",em="4c3ec771-7761-4c52-aa77-24d331c89ab1",eh="793aac58-6441-4a46-ba50-1ee712e95378",ef="8afb5f79-b188-4e7e-af57-8ded27bc964d",eg="4ad14d7e-adc6-4c84-8864-1863b642edba",e_="da3f6132-d92b-4598-be80-3980368ee3d0",ey="d8ee1eda-cf2a-4907-8e69-44bf1c1e78dd",ev="c1ba5522-a35f-4e72-ae01-d4054d9c5b16",eb="93865050-e00d-48f2-bc77-d1ae9b0f75d9",eC="77945c81-1069-48fe-96cd-31a3b54e4df1",eT="b5aaba37-094b-441a-93c0-8ee65d85cb45",eS="635bbc4c-1e3c-4be4-806d-537cb36a2788",ek="75205b9a-8d37-4d99-acb1-9ae16c8ab3a4",eE="1c962d17-2b31-4604-af34-306d6b5e7c07",eR="3bd8d29b-5df5-4788-9291-b33bbf00ac7a",eI="0e7cd6ad-c100-4085-91ec-cc83c84ce44f",eA="15ff4555-6ad9-4c42-b00c-e333c911f007",ew="358a6099-7e34-4c74-b63f-dcbcd2e402c9",ex="3220c6b6-d773-439e-844c-bcccd89daaea",eP="d7e4aaa0-df19-4c55-bd77-84d5a97c5422",eB="a9e351f8-75a4-4418-bbcf-34d6b5492e8c",eN="bf4440fd-9734-44cf-9dc0-3a145802712b",eO="8dd330fa-87aa-4201-9719-58474140db63",eL="18b01bb8-3cde-490d-a681-99410da211c0",eM="5e7b1f54-e01a-49d0-be9f-e1c3f269c591",ej="49e2a356-1ded-406d-9f12-fd8df7b18c22",eD="a877e64b-a81d-499a-83a6-7c6bb07726ae",eU="379ad422-96c5-4fce-a4f2-2f902ddd8b27",eq="2f9fac5a-1b59-41d0-bf2e-f7b41e0063a2",eF="d7d9b6ce-0993-42ca-b785-d7f46377edec",eH="ba91bb68-c3a5-4abd-abaa-c9e1e64d6df8",eG="289c9acf-256c-413f-8ac4-d8e16f2d1655",eV="de429510-14a6-4d16-849f-4e392b0ab61a",ez="6f203ef9-4cc5-4910-8818-92b1f5992fba",eW="e22bf74e-4672-41e8-a9e8-97033adc78a9",eK="2206adec-1d3c-40db-8e36-b9df26fc118e",e$="5535ac2c-37de-41a6-9d8b-9e0c267d2dc0",eQ="5c58dbff-414d-4092-a87f-87ba4edcda17",eY="9825d761-6187-469a-b386-5c87d8c26ddc",eZ="22e45d4b-230f-401f-973e-e9b8e776896e",eJ="a33fd586-9e19-40bb-af8c-341e0cb96fae",eX="9d34dcea-2e44-4b82-8544-ef3ec52d17e5",e0="95c96cb7-1427-4570-922f-7238698bf854",e1="2eb780ee-aa64-456d-b829-b06e2a2dcd8f",e2="fe3c95db-3d67-49ee-95a7-12755463987a",e3="d1519754-f366-4c04-9571-1480bd323eaa",e4="2594eeb9-3042-4a12-8994-f11639411191",e5="b6ab48d6-76ca-46d5-ac88-55117d30385a",e9="ba68eef1-ce3a-4490-8f38-b84b3b55c488",e6="5cc2f6f0-a34f-4f13-8eaa-41ad7c2dac12",e8="d277bc55-c174-496d-8f7a-17548404c5f4",e7="a4840748-e542-4bb7-8e56-de320e43377a",ne="13354dec-1d3c-40db-8e36-b9df26fc257d",nn="7081e1de-888c-4153-bd5e-f538b99eb172",nt="8dfaea63-6bc1-4ac4-97b0-05ca3ffdb752",nr="77700d24-b5a0-4100-a887-97f201d34c96",no="6af98ed9-5ffd-4fb0-937e-80f86b049e7d",ni="b3979275-bcea-4dad-8957-192e46ab4171",na="250d3fc7-3451-45ac-b5c4-21d030fba0aa",ns="8e20227c-3fc7-48ee-b69c-acbb29f49f4d",nl="3d212a88-296a-43e2-bd09-f3306bfb69d9",nc="ee164b7d-9aac-4ac5-a8b1-d401cfa2d13e",nu="960f324f-afb7-47bc-9515-8704017810af",nd="839365f4-8538-4055-804e-6a453529641b",np="7dcf1336-87a8-4bf1-a4fb-753883afbdce",nm="a40f31b6-be94-4324-be58-aabeef0ef7ad",nh="865a77e8-1147-4173-9b37-d9edda444986",nf="c8fee18b-6ad7-4401-80d9-a526d34b342c",ng="72c92f24-b5c9-4774-99c2-8b5695d5e2f6",n_="10625d49-f40f-4938-adcc-fdb23235fc9a",ny="fe27429b-a98b-44f3-ac37-170a363dcb05",nv="81eb01ab-86e1-4ea1-861d-e2eefd404688",nb="2afed7c1-1b64-4647-b4ff-44298fa9a141",nC="88da4c00-dbef-46a4-91d7-7bc8b73f94bd",nT="c474cff6-6a04-489c-b6fd-695f6f34ed3b",nS="67e983f5-aa1e-4bbd-a8f5-94a6fb56edfb",nk="47a66bc8-383e-4943-9ea6-3bfb8636d222",nE="f8d37d27-8906-4cb1-a3cb-2472c5d14a92",nR="e1487206-55f3-497e-b0a0-45341add0589",nI="c4d2aa31-7945-4fea-98de-fc3b5484505f",nA="4418270e-c0db-4c49-94bb-e3ea4f431731",nw="b4cec2a3-f4ce-4a13-96cf-a175574e23cd",nx="20695974-50cc-417e-8188-c7b988162d0c",nP="2bd4e23d-8bc0-4ded-9783-a6912f85169d",nB="9efaad6b-375e-4b0e-b71c-41ca1dff30ed",nN="8833a13d-16a4-42eb-8e22-1951dc52e11d",nO="a5716f5b-b6e4-44ae-b585-8c37c197b8e1",nL="279adbe2-8f24-4840-b276-88b7fe5a0138",nM="d372ce6e-1509-4e21-b903-9a58aee1cef8",nj="028228ed-37a8-4bbd-8234-a8409990981b",nD="513a7499-f833-460c-84a6-1f3ba2cc871a",nU="bdf2cfee-20d2-4ba1-b24b-2c3aa8f2e415",nq="fbe18188-2aa8-45f1-8290-b16c417ef838",nF="d1febce7-8a79-40cf-8f5b-a78f1f7be03c",nH="40dac3c4-3c47-48b6-afc2-bd4e247784b5",nG="b4fdb6e6-9ed1-4030-a536-78d7c90c29d1",nV="e41ebb53-f77f-47b7-ad0e-3d6eeedfa4fe",nz="fbcbd64f-9adc-4c46-9950-f13763f170a0",nW="ac424697-1e30-4e89-bc87-b8b514c31cda",nK="2b56ce69-9b0c-43df-92e3-fe479cdb9782",n$="a2a9b964-54f5-4fdd-be59-61fd033b6fc9",nQ="e2a2c715-c2a1-4585-9e75-661072becc4a",nY="b8425b65-381b-4e08-b002-7da8d1e48d05",nZ="f93a42df-67f2-4850-aca5-5156a8689cee",nJ="a4ac6d13-d800-4ebe-bf9d-67a4a2e6cf7c",nX="c480b2fd-f9e7-435a-beb6-a31db23a4ae0",n0="3da058f1-4e82-408a-975f-6dea2445bb14",n1="8f71c916-2467-4acd-b1be-a5ffa5f1eefa",n2="2567764c-c928-408d-88c1-9af5ab9564a3",n3="760e1f98-9998-4a63-bb2c-aefb0564a2c5",n4="662e009e-8ab7-4544-8163-a772706e687a",n5="799deb7b-2a7e-4cb4-911f-710f4ad313f4",n9="941c7396-1115-4740-bf2c-e2fc90f98f2c",n6="ec475e14-226d-4d9a-8ec0-bb89c8f713a2",n8="1ded2d49-4aaf-4528-92f6-a1a3fe905a9a",n7="49a96fd7-ce63-4c3a-9528-20dc7ad7d418",te="ec7448fe-49b1-4a49-bb8f-e5d3756d02b7",tn="8fba2fbc-e11a-4131-8598-be867109267c",tt="81890cb2-2827-47e8-b33e-b23406e37b6d",tr="34ab39d7-cf69-4d7f-9dfe-2fc2f6e098e2",to="33f9e3fa-9eb3-412c-a861-aad7a8a32605",ti="07b4a012-fd21-47f9-bc0f-7a9b1ad8c95f",ta="463076da-9b20-4a6e-81cd-53c80e485022",ts=247,tl={247:{name:"SB Nation",displayName:"SB Nation",subdomain:null,domain:"sbnation.com",wpSiteId:2,isPrimaryCommunity:!0,cycloneCommunities:{[o]:{displayName:"SB Nation",isPrimaryCommunity:!0,cycloneCommunityId:o,cycloneCommunityCacheId:4},[r]:{displayName:"SBNation (Product)",cycloneCommunityId:r,cycloneCommunityCacheId:5,cycloneCommunityPrefix:"/product"},[i]:{displayName:"March Madness",cycloneCommunityId:i,cycloneCommunityCacheId:191,cycloneCommunityPrefix:"/march-madness"},[a]:{displayName:"NFL",cycloneCommunityId:a,cycloneCommunityCacheId:999,cycloneCommunityPrefix:"/nfl"}}},77:{name:"Acme Packing Company",displayName:"Acme Packing Company",subdomain:null,domain:"acmepackingcompany.com",wpSiteId:3,cycloneCommunities:{[s]:{displayName:"Acme Packing Company",isPrimaryCommunity:!0,cycloneCommunityId:s,cycloneCommunityCacheId:79}}},378:{name:"The AC Milan Offside",displayName:"The AC Milan Offside",subdomain:"acmilan",domain:"acmilan.theoffside.com",wpSiteId:4,cycloneCommunities:{[l]:{displayName:"The AC Milan Offside",isPrimaryCommunity:!0,cycloneCommunityId:l,cycloneCommunityCacheId:172}}},145:{name:"Addicted To Quack",displayName:"Addicted To Quack",subdomain:null,domain:"addictedtoquack.com",wpSiteId:5,cycloneCommunities:{[c]:{displayName:"Addicted To Quack",isPrimaryCommunity:!0,cycloneCommunityId:c,cycloneCommunityCacheId:102}}},176:{name:"All About The Jersey",displayName:"All About The Jersey",subdomain:null,domain:"allaboutthejersey.com",wpSiteId:6,cycloneCommunities:{[u]:{displayName:"All About The Jersey",isPrimaryCommunity:!0,cycloneCommunityId:u,cycloneCommunityCacheId:118}}},756:{name:"All For XI",displayName:"All For XI",subdomain:null,domain:"allforxi.com",wpSiteId:7,cycloneCommunities:{[d]:{displayName:"All For XI",isPrimaryCommunity:!0,cycloneCommunityId:d,cycloneCommunityCacheId:186}}},35:{name:"Amazin' Avenue",displayName:"Amazin' Avenue",subdomain:null,domain:"amazinavenue.com",wpSiteId:8,cycloneCommunities:{[m]:{displayName:"Amazin' Avenue",isPrimaryCommunity:!0,cycloneCommunityId:m,cycloneCommunityCacheId:52}}},259:{name:"Anchor Of Gold",displayName:"Anchor Of Gold",subdomain:null,domain:"anchorofgold.com",wpSiteId:9,cycloneCommunities:{[h]:{displayName:"Anchor Of Gold",isPrimaryCommunity:!0,cycloneCommunityId:h,cycloneCommunityCacheId:147}}},101:{name:"And The Valley Shook",displayName:"And The Valley Shook",subdomain:null,domain:"andthevalleyshook.com",wpSiteId:10,cycloneCommunities:{[f]:{displayName:"And The Valley Shook",isPrimaryCommunity:!0,cycloneCommunityId:f,cycloneCommunityCacheId:87}}},279:{name:"Anonymous Eagle",displayName:"Anonymous Eagle",subdomain:null,domain:"anonymouseagle.com",wpSiteId:11,cycloneCommunities:{[g]:{displayName:"Anonymous Eagle",isPrimaryCommunity:!0,cycloneCommunityId:g,cycloneCommunityCacheId:152}}},59:{name:"Arrowhead Pride",displayName:"Arrowhead Pride",subdomain:null,domain:"arrowheadpride.com",wpSiteId:12,cycloneCommunities:{[_]:{displayName:"Arrowhead Pride",isPrimaryCommunity:!0,cycloneCommunityId:_,cycloneCommunityCacheId:18}}},109:{name:"A Sea Of Blue",displayName:"A Sea Of Blue",subdomain:null,domain:"aseaofblue.com",wpSiteId:13,cycloneCommunities:{[y]:{displayName:"A Sea Of Blue",isPrimaryCommunity:!0,cycloneCommunityId:y,cycloneCommunityCacheId:24}}},1:{name:"Athletics Nation",displayName:"Athletics Nation",subdomain:null,domain:"athleticsnation.com",wpSiteId:14,cycloneCommunities:{[v]:{displayName:"Athletics Nation",isPrimaryCommunity:!0,cycloneCommunityId:v,cycloneCommunityCacheId:27}}},196:{name:"Arizona Desert Swarm",displayName:"Arizona Desert Swarm",subdomain:null,domain:"azdesertswarm.com",wpSiteId:15,cycloneCommunities:{[b]:{displayName:"Arizona Desert Swarm",isPrimaryCommunity:!0,cycloneCommunityId:b,cycloneCommunityCacheId:123}}},12:{name:"AZ Snake Pit",displayName:"AZ Snake Pit",subdomain:null,domain:"azsnakepit.com",wpSiteId:16,cycloneCommunities:{[C]:{displayName:"AZ Snake Pit",isPrimaryCommunity:!0,cycloneCommunityId:C,cycloneCommunityCacheId:32}}},232:{name:"Backing The Pack",displayName:"Backing The Pack",subdomain:null,domain:"backingthepack.com",wpSiteId:17,cycloneCommunities:{[T]:{displayName:"Backing The Pack",isPrimaryCommunity:!0,cycloneCommunityId:T,cycloneCommunityCacheId:139}}},105:{name:"Bad Left Hook",displayName:"Bad Left Hook",subdomain:null,domain:"badlefthook.com",wpSiteId:18,cycloneCommunities:{[S]:{displayName:"Bad Left Hook",isPrimaryCommunity:!0,cycloneCommunityId:S,cycloneCommunityCacheId:88}}},81:{name:"Baltimore Beatdown",displayName:"Baltimore Beatdown",subdomain:null,domain:"baltimorebeatdown.com",wpSiteId:19,cycloneCommunities:{[k]:{displayName:"Baltimore Beatdown",isPrimaryCommunity:!0,cycloneCommunityId:k,cycloneCommunityCacheId:82}}},361:{name:"Banners On The Parkway",displayName:"Banners On The Parkway",subdomain:null,domain:"bannersontheparkway.com",wpSiteId:20,cycloneCommunities:{[E]:{displayName:"Banners On The Parkway",isPrimaryCommunity:!0,cycloneCommunityId:E,cycloneCommunityCacheId:163}}},337:{name:"Barca Blaugranes",displayName:"Barca Blaugranes",subdomain:null,domain:"barcablaugranes.com",wpSiteId:21,cycloneCommunities:{[R]:{displayName:"Barca Blaugranes",isPrimaryCommunity:!0,cycloneCommunityId:R,cycloneCommunityCacheId:20}}},26:{name:"Battery Power",displayName:"Battery Power",subdomain:null,domain:"batterypower.com",wpSiteId:22,cycloneCommunities:{[I]:{displayName:"Battery Power",isPrimaryCommunity:!0,cycloneCommunityId:I,cycloneCommunityCacheId:7}}},74:{name:"Battle Red Blog",displayName:"Battle Red Blog",subdomain:null,domain:"battleredblog.com",wpSiteId:23,cycloneCommunities:{[A]:{displayName:"Battle Red Blog",isPrimaryCommunity:!0,cycloneCommunityId:A,cycloneCommunityCacheId:77}}},398:{name:"Bavarian Football Works",displayName:"Bavarian Football Works",subdomain:null,domain:"bavarianfootballworks.com",wpSiteId:24,cycloneCommunities:{[w]:{displayName:"Bavarian Football Works",isPrimaryCommunity:!0,cycloneCommunityId:w,cycloneCommunityCacheId:174}}},242:{name:"BC Interruption",displayName:"BC Interruption",subdomain:null,domain:"bcinterruption.com",wpSiteId:25,cycloneCommunities:{[x]:{displayName:"BC Interruption",isPrimaryCommunity:!0,cycloneCommunityId:x,cycloneCommunityCacheId:143}}},64:{name:"Behind the Steel Curtain",displayName:"Behind the Steel Curtain",subdomain:null,domain:"behindthesteelcurtain.com",wpSiteId:26,cycloneCommunities:{[P]:{displayName:"Behind the Steel Curtain",isPrimaryCommunity:!0,cycloneCommunityId:P,cycloneCommunityCacheId:25}}},76:{name:"Big Blue View",displayName:"Big Blue View",subdomain:null,domain:"bigblueview.com",wpSiteId:27,cycloneCommunities:{[B]:{displayName:"Big Blue View",isPrimaryCommunity:!0,cycloneCommunityId:B,cycloneCommunityCacheId:19}}},54:{name:"Big Cat Country",displayName:"Big Cat Country",subdomain:null,domain:"bigcatcountry.com",wpSiteId:28,cycloneCommunities:{[N]:{displayName:"Big Cat Country",isPrimaryCommunity:!0,cycloneCommunityId:N,cycloneCommunityCacheId:63}}},194:{name:"Bitter and Blue",displayName:"Bitter and Blue",subdomain:"bitterandblue",domain:"bitterandblue.sbnation.com",wpSiteId:29,cycloneCommunities:{[O]:{displayName:"Bitter and Blue",isPrimaryCommunity:!0,cycloneCommunityId:O,cycloneCommunityCacheId:122}}},749:{name:"Black & Gold Banneret",displayName:"Black & Gold Banneret",subdomain:null,domain:"blackandgoldbanneret.com",wpSiteId:30,cycloneCommunities:{[L]:{displayName:"Black & Gold Banneret",isPrimaryCommunity:!0,cycloneCommunityId:L,cycloneCommunityCacheId:185}}},134:{name:"Black Heart Gold Pants",displayName:"Black Heart Gold Pants",subdomain:null,domain:"blackheartgoldpants.com",wpSiteId:31,cycloneCommunities:{[M]:{displayName:"Black Heart Gold Pants",isPrimaryCommunity:!0,cycloneCommunityId:M,cycloneCommunityCacheId:95}}},111:{name:"Black Shoe Diaries",displayName:"Black Shoe Diaries",subdomain:null,domain:"blackshoediaries.com",wpSiteId:32,cycloneCommunities:{[j]:{displayName:"Black Shoe Diaries",isPrimaryCommunity:!0,cycloneCommunityId:j,cycloneCommunityCacheId:90}}},374:{name:"Black & White & Read All Over",displayName:"Black & White & Read All Over",subdomain:null,domain:"blackwhitereadallover.com",wpSiteId:33,cycloneCommunities:{[D]:{displayName:"Black & White & Read All Over",isPrimaryCommunity:!0,cycloneCommunityId:D,cycloneCommunityCacheId:168}}},37:{name:"Blazer's Edge",displayName:"Blazer's Edge",subdomain:null,domain:"blazersedge.com",wpSiteId:34,cycloneCommunities:{[U]:{displayName:"Blazer's Edge",isPrimaryCommunity:!0,cycloneCommunityId:U,cycloneCommunityCacheId:54}}},8:{name:"Bleed Cubbie Blue",displayName:"Bleed Cubbie Blue",subdomain:null,domain:"bleedcubbieblue.com",wpSiteId:35,cycloneCommunities:{[q]:{displayName:"Bleed Cubbie Blue",isPrimaryCommunity:!0,cycloneCommunityId:q,cycloneCommunityCacheId:30}}},68:{name:"Bleeding Green Nation",displayName:"Bleeding Green Nation",subdomain:null,domain:"bleedinggreennation.com",wpSiteId:36,cycloneCommunities:{[F]:{displayName:"Bleeding Green Nation",isPrimaryCommunity:!0,cycloneCommunityId:F,cycloneCommunityCacheId:16}}},23:{name:"Bless You Boys",displayName:"Bless You Boys",subdomain:null,domain:"blessyouboys.com",wpSiteId:37,cycloneCommunities:{[H]:{displayName:"Bless You Boys",isPrimaryCommunity:!0,cycloneCommunityId:H,cycloneCommunityCacheId:41}}},205:{name:"Blogger So Dear",displayName:"Blogger So Dear",subdomain:null,domain:"bloggersodear.com",wpSiteId:38,cycloneCommunities:{[G]:{displayName:"Blogger So Dear",isPrimaryCommunity:!0,cycloneCommunityId:G,cycloneCommunityCacheId:126}}},57:{name:"Blogging The Boys",displayName:"Blogging The Boys",subdomain:null,domain:"bloggingtheboys.com",wpSiteId:39,cycloneCommunities:{[V]:{displayName:"Blogging The Boys",isPrimaryCommunity:!0,cycloneCommunityId:V,cycloneCommunityCacheId:21}}},217:{name:"Blogging the Bracket",displayName:"Blogging the Bracket",subdomain:null,domain:"bloggingthebracket.com",wpSiteId:40,cycloneCommunities:{[z]:{displayName:"Blogging the Bracket",isPrimaryCommunity:!0,cycloneCommunityId:z,cycloneCommunityCacheId:131}}},28:{name:"Bluebird Banter",displayName:"Bluebird Banter",subdomain:null,domain:"bluebirdbanter.com",wpSiteId:41,cycloneCommunities:{[W]:{displayName:"Bluebird Banter",isPrimaryCommunity:!0,cycloneCommunityId:W,cycloneCommunityCacheId:45}}},167:{name:"Bolts From The Blue",displayName:"Bolts From The Blue",subdomain:null,domain:"boltsfromtheblue.com",wpSiteId:42,cycloneCommunities:{[K]:{displayName:"Bolts From The Blue",isPrimaryCommunity:!0,cycloneCommunityId:K,cycloneCommunityCacheId:112}}},13:{name:"Brew Crew Ball",displayName:"Brew Crew Ball",subdomain:null,domain:"brewcrewball.com",wpSiteId:43,cycloneCommunities:{[$]:{displayName:"Brew Crew Ball",isPrimaryCommunity:!0,cycloneCommunityId:$,cycloneCommunityCacheId:33}}},42:{name:"Brew Hoop",displayName:"Brew Hoop",subdomain:null,domain:"brewhoop.com",wpSiteId:44,cycloneCommunities:{[Q]:{displayName:"Brew Hoop",isPrimaryCommunity:!0,cycloneCommunityId:Q,cycloneCommunityCacheId:57}}},49:{name:"Bright Side Of The Sun",displayName:"Bright Side Of The Sun",subdomain:null,domain:"brightsideofthesun.com",wpSiteId:45,cycloneCommunities:{[Y]:{displayName:"Bright Side Of The Sun",isPrimaryCommunity:!0,cycloneCommunityId:Y,cycloneCommunityCacheId:60}}},127:{name:"Bring On The Cats",displayName:"Bring On The Cats",subdomain:null,domain:"bringonthecats.com",wpSiteId:46,cycloneCommunities:{[Z]:{displayName:"Bring On The Cats",isPrimaryCommunity:!0,cycloneCommunityId:Z,cycloneCommunityCacheId:94}}},342:{name:"BT Powerhouse",displayName:"BT Powerhouse",subdomain:null,domain:"btpowerhouse.com",wpSiteId:47,cycloneCommunities:{[X]:{displayName:"BT Powerhouse",isPrimaryCommunity:!0,cycloneCommunityId:X,cycloneCommunityCacheId:159}}},207:{name:"Bucky's 5th Quarter",displayName:"Bucky's 5th Quarter",subdomain:null,domain:"buckys5thquarter.com",wpSiteId:48,cycloneCommunities:{[ee]:{displayName:"Bucky's 5th Quarter",isPrimaryCommunity:!0,cycloneCommunityId:ee,cycloneCommunityCacheId:127}}},17:{name:"Bucs Dugout",displayName:"Bucs Dugout",subdomain:null,domain:"bucsdugout.com",wpSiteId:49,cycloneCommunities:{[en]:{displayName:"Bucs Dugout",isPrimaryCommunity:!0,cycloneCommunityId:en,cycloneCommunityCacheId:37}}},78:{name:"Bucs Nation",displayName:"Bucs Nation",subdomain:null,domain:"bucsnation.com",wpSiteId:50,cycloneCommunities:{[et]:{displayName:"Bucs Nation",isPrimaryCommunity:!0,cycloneCommunityId:et,cycloneCommunityCacheId:80}}},70:{name:"Buffalo Rumblings",displayName:"Buffalo Rumblings",subdomain:null,domain:"buffalorumblings.com",wpSiteId:51,cycloneCommunities:{[er]:{displayName:"Buffalo Rumblings",isPrimaryCommunity:!0,cycloneCommunityId:er,cycloneCommunityCacheId:73}}},48:{name:"Bullets Forever",displayName:"Bullets Forever",subdomain:null,domain:"bulletsforever.com",wpSiteId:52,cycloneCommunities:{[eo]:{displayName:"Bullets Forever",isPrimaryCommunity:!0,cycloneCommunityId:eo,cycloneCommunityCacheId:59}}},52:{name:"Burnt Orange Nation",displayName:"Burnt Orange Nation",subdomain:null,domain:"burntorangenation.com",wpSiteId:53,cycloneCommunities:{[ei]:{displayName:"Burnt Orange Nation",isPrimaryCommunity:!0,cycloneCommunityId:ei,cycloneCommunityCacheId:62}}},244:{name:"Cageside Seats",displayName:"Cageside Seats",subdomain:null,domain:"cagesideseats.com",wpSiteId:54,cycloneCommunities:{[ea]:{displayName:"Cageside Seats",isPrimaryCommunity:!0,cycloneCommunityId:ea,cycloneCommunityCacheId:13}}},14:{name:"Camden Chat",displayName:"Camden Chat",subdomain:null,domain:"camdenchat.com",wpSiteId:55,cycloneCommunities:{[es]:{displayName:"Camden Chat",isPrimaryCommunity:!0,cycloneCommunityId:es,cycloneCommunityCacheId:34}}},79:{name:"Canal Street Chronicles",displayName:"Canal Street Chronicles",subdomain:null,domain:"canalstreetchronicles.com",wpSiteId:56,cycloneCommunities:{[el]:{displayName:"Canal Street Chronicles",isPrimaryCommunity:!0,cycloneCommunityId:el,cycloneCommunityCacheId:81}}},200:{name:"Canes Country",displayName:"Canes Country",subdomain:null,domain:"canescountry.com",wpSiteId:57,cycloneCommunities:{[ec]:{displayName:"Canes Country",isPrimaryCommunity:!0,cycloneCommunityId:ec,cycloneCommunityCacheId:124}}},51:{name:"Canis Hoopus",displayName:"Canis Hoopus",subdomain:null,domain:"canishoopus.com",wpSiteId:58,cycloneCommunities:{[eu]:{displayName:"Canis Hoopus",isPrimaryCommunity:!0,cycloneCommunityId:eu,cycloneCommunityCacheId:61}}},144:{name:"Card Chronicle",displayName:"Card Chronicle",subdomain:null,domain:"cardchronicle.com",wpSiteId:59,cycloneCommunities:{[ed]:{displayName:"Card Chronicle",isPrimaryCommunity:!0,cycloneCommunityId:ed,cycloneCommunityCacheId:101}}},328:{name:"Cartilage Free Captain",displayName:"Cartilage Free Captain",subdomain:"cartilagefreecaptain",domain:"cartilagefreecaptain.sbnation.com",wpSiteId:60,cycloneCommunities:{[ep]:{displayName:"Cartilage Free Captain",isPrimaryCommunity:!0,cycloneCommunityId:ep,cycloneCommunityCacheId:157}}},218:{name:"Casual Hoya",displayName:"Casual Hoya",subdomain:null,domain:"casualhoya.com",wpSiteId:61,cycloneCommunities:{[em]:{displayName:"Casual Hoya",isPrimaryCommunity:!0,cycloneCommunityId:em,cycloneCommunityCacheId:132}}},80:{name:"Cat Scratch Reader",displayName:"Cat Scratch Reader",subdomain:null,domain:"catscratchreader.com",wpSiteId:62,cycloneCommunities:{[eh]:{displayName:"Cat Scratch Reader",isPrimaryCommunity:!0,cycloneCommunityId:eh,cycloneCommunityCacheId:8}}},175:{name:"CelticsBlog",displayName:"CelticsBlog",subdomain:null,domain:"celticsblog.com",wpSiteId:63,cycloneCommunities:{[ef]:{displayName:"CelticsBlog",isPrimaryCommunity:!0,cycloneCommunityId:ef,cycloneCommunityCacheId:117}}},376:{name:"Chiesa Di Totti",displayName:"Chiesa Di Totti",subdomain:null,domain:"chiesaditotti.com",wpSiteId:64,cycloneCommunities:{[eg]:{displayName:"Chiesa Di Totti",isPrimaryCommunity:!0,cycloneCommunityId:eg,cycloneCommunityCacheId:170}}},66:{name:"Cincy Jungle",displayName:"Cincy Jungle",subdomain:null,domain:"cincyjungle.com",wpSiteId:65,cycloneCommunities:{[e_]:{displayName:"Cincy Jungle",isPrimaryCommunity:!0,cycloneCommunityId:e_,cycloneCommunityCacheId:71}}},346:{name:"Coming Home Newcastle",displayName:"Coming Home Newcastle",subdomain:"cominghomenewcastle",domain:"cominghomenewcastle.sbnation.com",wpSiteId:66,cycloneCommunities:{[ev]:{displayName:"Coming Home Newcastle",isPrimaryCommunity:!0,cycloneCommunityId:ev,cycloneCommunityCacheId:160}}},141:{name:"Corn Nation",displayName:"Corn Nation",subdomain:null,domain:"cornnation.com",wpSiteId:67,cycloneCommunities:{[eb]:{displayName:"Corn Nation",isPrimaryCommunity:!0,cycloneCommunityId:eb,cycloneCommunityCacheId:98}}},157:{name:"CougCenter",displayName:"CougCenter",subdomain:null,domain:"cougcenter.com",wpSiteId:68,cycloneCommunities:{[eC]:{displayName:"CougCenter",isPrimaryCommunity:!0,cycloneCommunityId:eC,cycloneCommunityCacheId:107}}},15:{name:"Covering the Corner",displayName:"Covering the Corner",subdomain:null,domain:"coveringthecorner.com",wpSiteId:69,cycloneCommunities:{[eT]:{displayName:"Covering the Corner",isPrimaryCommunity:!0,cycloneCommunityId:eT,cycloneCommunityCacheId:35}}},21:{name:"The Crawfish Boxes",displayName:"The Crawfish Boxes",subdomain:null,domain:"crawfishboxes.com",wpSiteId:70,cycloneCommunities:{[eS]:{displayName:"The Crawfish Boxes",isPrimaryCommunity:!0,cycloneCommunityId:eS,cycloneCommunityCacheId:40}}},215:{name:"The Crimson Quarry",displayName:"The Crimson Quarry",subdomain:null,domain:"crimsonquarry.com",wpSiteId:71,cycloneCommunities:{[ek]:{displayName:"The Crimson Quarry",isPrimaryCommunity:!0,cycloneCommunityId:ek,cycloneCommunityCacheId:130}}},65:{name:"Daily Norseman",displayName:"Daily Norseman",subdomain:null,domain:"dailynorseman.com",wpSiteId:72,cycloneCommunities:{[eE]:{displayName:"Daily Norseman",isPrimaryCommunity:!0,cycloneCommunityId:eE,cycloneCommunityCacheId:70}}},62:{name:"Dawgs By Nature",displayName:"Dawgs By Nature",subdomain:null,domain:"dawgsbynature.com",wpSiteId:73,cycloneCommunities:{[eR]:{displayName:"Dawgs By Nature",isPrimaryCommunity:!0,cycloneCommunityId:eR,cycloneCommunityCacheId:69}}},114:{name:"Dawg Sports",displayName:"Dawg Sports",subdomain:null,domain:"dawgsports.com",wpSiteId:74,cycloneCommunities:{[eI]:{displayName:"Dawg Sports",isPrimaryCommunity:!0,cycloneCommunityId:eI,cycloneCommunityCacheId:92}}},222:{name:"Detroit Bad Boys",displayName:"Detroit Bad Boys",subdomain:null,domain:"detroitbadboys.com",wpSiteId:75,cycloneCommunities:{[eA]:{displayName:"Detroit Bad Boys",isPrimaryCommunity:!0,cycloneCommunityId:eA,cycloneCommunityCacheId:133}}},31:{name:"DRaysBay",displayName:"DRaysBay",subdomain:null,domain:"draysbay.com",wpSiteId:76,cycloneCommunities:{[ew]:{displayName:"DRaysBay",isPrimaryCommunity:!0,cycloneCommunityId:ew,cycloneCommunityCacheId:48}}},417:{name:"Duke Basketball Report",displayName:"Duke Basketball Report",subdomain:null,domain:"dukebasketballreport.com",wpSiteId:77,cycloneCommunities:{[ex]:{displayName:"Duke Basketball Report",isPrimaryCommunity:!0,cycloneCommunityId:ex,cycloneCommunityCacheId:180}}},158:{name:"Fear The Sword",displayName:"Fear The Sword",subdomain:null,domain:"fearthesword.com",wpSiteId:78,cycloneCommunities:{[eP]:{displayName:"Fear The Sword",isPrimaryCommunity:!0,cycloneCommunityId:eP,cycloneCommunityCacheId:108}}},621:{name:"Fear The Wall",displayName:"Fear The Wall",subdomain:null,domain:"fearthewall.com",wpSiteId:79,cycloneCommunities:{[eB]:{displayName:"Fear The Wall",isPrimaryCommunity:!0,cycloneCommunityId:eB,cycloneCommunityCacheId:183}}},27:{name:"Federal Baseball",displayName:"Federal Baseball",subdomain:null,domain:"federalbaseball.com",wpSiteId:80,cycloneCommunities:{[eN]:{displayName:"Federal Baseball",isPrimaryCommunity:!0,cycloneCommunityId:eN,cycloneCommunityCacheId:44}}},60:{name:"Field Gulls",displayName:"Field Gulls",subdomain:null,domain:"fieldgulls.com",wpSiteId:81,cycloneCommunities:{[eO]:{displayName:"Field Gulls",isPrimaryCommunity:!0,cycloneCommunityId:eO,cycloneCommunityCacheId:67}}},354:{name:"FMF State Of Mind",displayName:"FMF State Of Mind",subdomain:null,domain:"fmfstateofmind.com",wpSiteId:82,cycloneCommunities:{[eL]:{displayName:"FMF State Of Mind",isPrimaryCommunity:!0,cycloneCommunityId:eL,cycloneCommunityCacheId:162}}},635:{name:"Fosse Posse",displayName:"Fosse Posse",subdomain:"fosseposse",domain:"fosseposse.sbnation.com",wpSiteId:83,cycloneCommunities:{[eM]:{displayName:"Fosse Posse",isPrimaryCommunity:!0,cycloneCommunityId:eM,cycloneCommunityCacheId:184}}},366:{name:"Frogs O' War",displayName:"Frogs O' War",subdomain:null,domain:"frogsowar.com",wpSiteId:84,cycloneCommunities:{[ej]:{displayName:"Frogs O' War",isPrimaryCommunity:!0,cycloneCommunityId:ej,cycloneCommunityCacheId:165}}},234:{name:"From The Rumble Seat",displayName:"From The Rumble Seat",subdomain:null,domain:"fromtherumbleseat.com",wpSiteId:85,cycloneCommunities:{[eD]:{displayName:"From The Rumble Seat",isPrimaryCommunity:!0,cycloneCommunityId:eD,cycloneCommunityCacheId:140}}},166:{name:"Gang Green Nation",displayName:"Gang Green Nation",subdomain:null,domain:"ganggreennation.com",wpSiteId:86,cycloneCommunities:{[eU]:{displayName:"Gang Green Nation",isPrimaryCommunity:!0,cycloneCommunityId:eU,cycloneCommunityCacheId:9}}},33:{name:"Gaslamp Ball",displayName:"Gaslamp Ball",subdomain:null,domain:"gaslampball.com",wpSiteId:87,cycloneCommunities:{[eq]:{displayName:"Gaslamp Ball",isPrimaryCommunity:!0,cycloneCommunityId:eq,cycloneCommunityCacheId:50}}},226:{name:"Gobbler Country",displayName:"Gobbler Country",subdomain:null,domain:"gobblercountry.com",wpSiteId:88,cycloneCommunities:{[eF]:{displayName:"Gobbler Country",isPrimaryCommunity:!0,cycloneCommunityId:eF,cycloneCommunityCacheId:135}}},36:{name:"Golden State Of Mind",displayName:"Golden State Of Mind",subdomain:null,domain:"goldenstateofmind.com",wpSiteId:89,cycloneCommunities:{[eH]:{displayName:"Golden State Of Mind",isPrimaryCommunity:!0,cycloneCommunityId:eH,cycloneCommunityCacheId:53}}},402:{name:"Good Bull Hunting",displayName:"Good Bull Hunting",subdomain:null,domain:"goodbullhunting.com",wpSiteId:90,cycloneCommunities:{[eG]:{displayName:"Good Bull Hunting",isPrimaryCommunity:!0,cycloneCommunityId:eG,cycloneCommunityCacheId:176}}},213:{name:"Hammer and Rails",displayName:"Hammer and Rails",subdomain:null,domain:"hammerandrails.com",wpSiteId:91,cycloneCommunities:{[eV]:{displayName:"Hammer and Rails",isPrimaryCommunity:!0,cycloneCommunityId:eV,cycloneCommunityCacheId:129}}},61:{name:"Hogs Haven",displayName:"Hogs Haven",subdomain:null,domain:"hogshaven.com",wpSiteId:92,cycloneCommunities:{[ez]:{displayName:"Hogs Haven",isPrimaryCommunity:!0,cycloneCommunityId:ez,cycloneCommunityCacheId:68}}},318:{name:"Hustle Belt",displayName:"Hustle Belt",subdomain:null,domain:"hustlebelt.com",wpSiteId:93,cycloneCommunities:{[eK]:{displayName:"Hustle Belt",isPrimaryCommunity:!0,cycloneCommunityId:eK,cycloneCommunityCacheId:15}}},246:{name:"Inside NU",displayName:"Inside NU",subdomain:null,domain:"insidenu.com",wpSiteId:94,cycloneCommunities:{[e$]:{displayName:"Inside NU",isPrimaryCommunity:!0,cycloneCommunityId:e$,cycloneCommunityCacheId:144}}},562:{name:"Into the Calderon",displayName:"Into the Calderon",subdomain:null,domain:"intothecalderon.com",wpSiteId:95,cycloneCommunities:{[eQ]:{displayName:"Into the Calderon",isPrimaryCommunity:!0,cycloneCommunityId:eQ,cycloneCommunityCacheId:182}}},400:{name:"Land-Grant Holy Land",displayName:"Land-Grant Holy Land",subdomain:null,domain:"landgrantholyland.com",wpSiteId:96,cycloneCommunities:{[eY]:{displayName:"Land-Grant Holy Land",isPrimaryCommunity:!0,cycloneCommunityId:eY,cycloneCommunityCacheId:175}}},171:{name:"Liberty Ballers",displayName:"Liberty Ballers",subdomain:null,domain:"libertyballers.com",wpSiteId:97,cycloneCommunities:{[eZ]:{displayName:"Liberty Ballers",isPrimaryCommunity:!0,cycloneCommunityId:eZ,cycloneCommunityCacheId:115}}},170:{name:"Lighthouse Hockey",displayName:"Lighthouse Hockey",subdomain:null,domain:"lighthousehockey.com",wpSiteId:98,cycloneCommunities:{[eJ]:{displayName:"Lighthouse Hockey",isPrimaryCommunity:!0,cycloneCommunityId:eJ,cycloneCommunityCacheId:114}}},373:{name:"The Liverpool Offside",displayName:"The Liverpool Offside",subdomain:"liverpooloffside",domain:"liverpooloffside.sbnation.com",wpSiteId:99,cycloneCommunities:{[eX]:{displayName:"The Liverpool Offside",isPrimaryCommunity:!0,cycloneCommunityId:eX,cycloneCommunityCacheId:167}}},10:{name:"Lone Star Ball",displayName:"Lone Star Ball",subdomain:null,domain:"lonestarball.com",wpSiteId:100,cycloneCommunities:{[e0]:{displayName:"Lone Star Ball",isPrimaryCommunity:!0,cycloneCommunityId:e0,cycloneCommunityCacheId:31}}},29:{name:"Lookout Landing",displayName:"Lookout Landing",subdomain:null,domain:"lookoutlanding.com",wpSiteId:101,cycloneCommunities:{[e1]:{displayName:"Lookout Landing",isPrimaryCommunity:!0,cycloneCommunityId:e1,cycloneCommunityCacheId:46}}},84:{name:"Maize n Brew",displayName:"Maize n Brew",subdomain:null,domain:"maizenbrew.com",wpSiteId:102,cycloneCommunities:{[e2]:{displayName:"Maize n Brew",isPrimaryCommunity:!0,cycloneCommunityId:e2,cycloneCommunityCacheId:85}}},364:{name:"Managing Madrid",displayName:"Managing Madrid",subdomain:null,domain:"managingmadrid.com",wpSiteId:103,cycloneCommunities:{[e3]:{displayName:"Managing Madrid",isPrimaryCommunity:!0,cycloneCommunityId:e3,cycloneCommunityCacheId:164}}},38:{name:"Mavs Moneyball",displayName:"Mavs Moneyball",subdomain:null,domain:"mavsmoneyball.com",wpSiteId:104,cycloneCommunities:{[e4]:{displayName:"Mavs Moneyball",isPrimaryCommunity:!0,cycloneCommunityId:e4,cycloneCommunityCacheId:55}}},4:{name:"McCovey Chronicles",displayName:"McCovey Chronicles",subdomain:null,domain:"mccoveychronicles.com",wpSiteId:105,cycloneCommunities:{[e5]:{displayName:"McCovey Chronicles",isPrimaryCommunity:!0,cycloneCommunityId:e5,cycloneCommunityCacheId:28}}},231:{name:"Mid-Major Madness",displayName:"Mid-Major Madness",subdomain:null,domain:"midmajormadness.com",wpSiteId:106,cycloneCommunities:{[e9]:{displayName:"Mid-Major Madness",isPrimaryCommunity:!0,cycloneCommunityId:e9,cycloneCommunityCacheId:138}}},125:{name:"Mile High Hockey",displayName:"Mile High Hockey",subdomain:null,domain:"milehighhockey.com",wpSiteId:107,cycloneCommunities:{[e6]:{displayName:"Mile High Hockey",isPrimaryCommunity:!0,cycloneCommunityId:e6,cycloneCommunityCacheId:93}}},55:{name:"Mile High Report",displayName:"Mile High Report",subdomain:null,domain:"milehighreport.com",wpSiteId:108,cycloneCommunities:{[e8]:{displayName:"Mile High Report",isPrimaryCommunity:!0,cycloneCommunityId:e8,cycloneCommunityCacheId:64}}},395:{name:"MMA Fighting",displayName:"MMA Fighting",subdomain:null,domain:"mmafighting.com",wpSiteId:109,cycloneCommunities:{[e7]:{displayName:"MMA Fighting",isPrimaryCommunity:!0,cycloneCommunityId:e7,cycloneCommunityCacheId:12}}},258:{name:"MMA Mania",displayName:"MMA Mania",subdomain:null,domain:"mmamania.com",wpSiteId:110,cycloneCommunities:{[ne]:{displayName:"MMA Mania",isPrimaryCommunity:!0,cycloneCommunityId:ne,cycloneCommunityCacheId:14}}},72:{name:"Music City Miracles",displayName:"Music City Miracles",subdomain:null,domain:"musiccitymiracles.com",wpSiteId:111,cycloneCommunities:{[nn]:{displayName:"Music City Miracles",isPrimaryCommunity:!0,cycloneCommunityId:nn,cycloneCommunityCacheId:75}}},237:{name:"Mountain West Connection",displayName:"Mountain West Connection",subdomain:null,domain:"mwcconnection.com",wpSiteId:112,cycloneCommunities:{[nt]:{displayName:"Mountain West Connection",isPrimaryCommunity:!0,cycloneCommunityId:nt,cycloneCommunityCacheId:141}}},276:{name:"NetsDaily",displayName:"NetsDaily",subdomain:null,domain:"netsdaily.com",wpSiteId:113,cycloneCommunities:{[nr]:{displayName:"NetsDaily",isPrimaryCommunity:!0,cycloneCommunityId:nr,cycloneCommunityCacheId:150}}},375:{name:"Never Manage Alone",displayName:"Never Manage Alone",subdomain:null,domain:"nevermanagealone.com",wpSiteId:114,cycloneCommunities:{[no]:{displayName:"Never Manage Alone",isPrimaryCommunity:!0,cycloneCommunityId:no,cycloneCommunityCacheId:169}}},67:{name:"Niners Nation",displayName:"Niners Nation",subdomain:null,domain:"ninersnation.com",wpSiteId:115,cycloneCommunities:{[ni]:{displayName:"Niners Nation",isPrimaryCommunity:!0,cycloneCommunityId:ni,cycloneCommunityCacheId:22}}},168:{name:"Troy Nunes Is An Absolute Magician",displayName:"Troy Nunes Is An Absolute Magician",subdomain:null,domain:"nunesmagician.com",wpSiteId:116,cycloneCommunities:{[na]:{displayName:"Troy Nunes Is An Absolute Magician",isPrimaryCommunity:!0,cycloneCommunityId:na,cycloneCommunityCacheId:113}}},160:{name:"Off Tackle Empire",displayName:"Off Tackle Empire",subdomain:null,domain:"offtackleempire.com",wpSiteId:117,cycloneCommunities:{[ns]:{displayName:"Off Tackle Empire",isPrimaryCommunity:!0,cycloneCommunityId:ns,cycloneCommunityCacheId:110}}},368:{name:"One Foot Down",displayName:"One Foot Down",subdomain:null,domain:"onefootdown.com",wpSiteId:118,cycloneCommunities:{[nl]:{displayName:"One Foot Down",isPrimaryCommunity:!0,cycloneCommunityId:nl,cycloneCommunityCacheId:166}}},275:{name:"On the Banks",displayName:"On the Banks",subdomain:null,domain:"onthebanks.com",wpSiteId:119,cycloneCommunities:{[nc]:{displayName:"On the Banks",isPrimaryCommunity:!0,cycloneCommunityId:nc,cycloneCommunityCacheId:149}}},34:{name:"Over the Monster",displayName:"Over the Monster",subdomain:null,domain:"overthemonster.com",wpSiteId:120,cycloneCommunities:{[nu]:{displayName:"Over the Monster",isPrimaryCommunity:!0,cycloneCommunityId:nu,cycloneCommunityCacheId:51}}},82:{name:"Pats Pulpit",displayName:"Pats Pulpit",subdomain:null,domain:"patspulpit.com",wpSiteId:121,cycloneCommunities:{[nd]:{displayName:"Pats Pulpit",isPrimaryCommunity:!0,cycloneCommunityId:nd,cycloneCommunityCacheId:83}}},161:{name:"Peachtree Hoops",displayName:"Peachtree Hoops",subdomain:null,domain:"peachtreehoops.com",wpSiteId:122,cycloneCommunities:{[np]:{displayName:"Peachtree Hoops",isPrimaryCommunity:!0,cycloneCommunityId:np,cycloneCommunityCacheId:111}}},138:{name:"PensBurgh",displayName:"PensBurgh",subdomain:null,domain:"pensburgh.com",wpSiteId:123,cycloneCommunities:{[nm]:{displayName:"PensBurgh",isPrimaryCommunity:!0,cycloneCommunityId:nm,cycloneCommunityCacheId:97}}},11:{name:"Pinstripe Alley",displayName:"Pinstripe Alley",subdomain:null,domain:"pinstripealley.com",wpSiteId:124,cycloneCommunities:{[nh]:{displayName:"Pinstripe Alley",isPrimaryCommunity:!0,cycloneCommunityId:nh,cycloneCommunityCacheId:23}}},46:{name:"Posting and Toasting",displayName:"Posting and Toasting",subdomain:null,domain:"postingandtoasting.com",wpSiteId:125,cycloneCommunities:{[nf]:{displayName:"Posting and Toasting",isPrimaryCommunity:!0,cycloneCommunityId:nf,cycloneCommunityCacheId:58}}},39:{name:"Pounding The Rock",displayName:"Pounding The Rock",subdomain:null,domain:"poundingtherock.com",wpSiteId:126,cycloneCommunities:{[ng]:{displayName:"Pounding The Rock",isPrimaryCommunity:!0,cycloneCommunityId:ng,cycloneCommunityCacheId:56}}},63:{name:"Pride Of Detroit",displayName:"Pride Of Detroit",subdomain:null,domain:"prideofdetroit.com",wpSiteId:127,cycloneCommunities:{[n_]:{displayName:"Pride Of Detroit",isPrimaryCommunity:!0,cycloneCommunityId:n_,cycloneCommunityCacheId:17}}},19:{name:"Purple Row",displayName:"Purple Row",subdomain:null,domain:"purplerow.com",wpSiteId:128,cycloneCommunities:{[ny]:{displayName:"Purple Row",isPrimaryCommunity:!0,cycloneCommunityId:ny,cycloneCommunityCacheId:38}}},156:{name:"The Ralphie Report",displayName:"The Ralphie Report",subdomain:null,domain:"ralphiereport.com",wpSiteId:129,cycloneCommunities:{[nv]:{displayName:"The Ralphie Report",isPrimaryCommunity:!0,cycloneCommunityId:nv,cycloneCommunityCacheId:106}}},230:{name:"Raptors HQ",displayName:"Raptors HQ",subdomain:null,domain:"raptorshq.com",wpSiteId:130,cycloneCommunities:{[nb]:{displayName:"Raptors HQ",isPrimaryCommunity:!0,cycloneCommunityId:nb,cycloneCommunityCacheId:137}}},211:{name:"Red Cup Rebellion",displayName:"Red Cup Rebellion",subdomain:null,domain:"redcuprebellion.com",wpSiteId:131,cycloneCommunities:{[nC]:{displayName:"Red Cup Rebellion",isPrimaryCommunity:!0,cycloneCommunityId:nC,cycloneCommunityCacheId:128}}},25:{name:"Red Reporter",displayName:"Red Reporter",subdomain:null,domain:"redreporter.com",wpSiteId:132,cycloneCommunities:{[nT]:{displayName:"Red Reporter",isPrimaryCommunity:!0,cycloneCommunityId:nT,cycloneCommunityCacheId:43}}},83:{name:"Revenge of the Birds",displayName:"Revenge of the Birds",subdomain:null,domain:"revengeofthebirds.com",wpSiteId:133,cycloneCommunities:{[nS]:{displayName:"Revenge of the Birds",isPrimaryCommunity:!0,cycloneCommunityId:nS,cycloneCommunityCacheId:84}}},148:{name:"Rock Chalk Talk",displayName:"Rock Chalk Talk",subdomain:null,domain:"rockchalktalk.com",wpSiteId:134,cycloneCommunities:{[nk]:{displayName:"Rock Chalk Talk",isPrimaryCommunity:!0,cycloneCommunityId:nk,cycloneCommunityCacheId:103}}},137:{name:"Rock M Nation",displayName:"Rock M Nation",subdomain:null,domain:"rockmnation.com",wpSiteId:135,cycloneCommunities:{[nE]:{displayName:"Rock M Nation",isPrimaryCommunity:!0,cycloneCommunityId:nE,cycloneCommunityCacheId:96}}},143:{name:"Rocky Top Talk",displayName:"Rocky Top Talk",subdomain:null,domain:"rockytoptalk.com",wpSiteId:136,cycloneCommunities:{[nR]:{displayName:"Rocky Top Talk",isPrimaryCommunity:!0,cycloneCommunityId:nR,cycloneCommunityCacheId:100}}},350:{name:"Roker Report",displayName:"Roker Report",subdomain:"rokerreport",domain:"rokerreport.sbnation.com",wpSiteId:137,cycloneCommunities:{[nI]:{displayName:"Roker Report",isPrimaryCommunity:!0,cycloneCommunityId:nI,cycloneCommunityCacheId:161}}},107:{name:"Roll 'Bama Roll",displayName:"Roll 'Bama Roll",subdomain:null,domain:"rollbamaroll.com",wpSiteId:138,cycloneCommunities:{[nA]:{displayName:"Roll 'Bama Roll",isPrimaryCommunity:!0,cycloneCommunityId:nA,cycloneCommunityCacheId:89}}},289:{name:"Royal Blue Mersey",displayName:"Royal Blue Mersey",subdomain:"royalbluemersey",domain:"royalbluemersey.sbnation.com",wpSiteId:139,cycloneCommunities:{[nw]:{displayName:"Royal Blue Mersey",isPrimaryCommunity:!0,cycloneCommunityId:nw,cycloneCommunityCacheId:154}}},16:{name:"Royals Review",displayName:"Royals Review",subdomain:null,domain:"royalsreview.com",wpSiteId:140,cycloneCommunities:{[nx]:{displayName:"Royals Review",isPrimaryCommunity:!0,cycloneCommunityId:nx,cycloneCommunityCacheId:36}}},341:{name:"Rumble In The Garden",displayName:"Rumble In The Garden",subdomain:null,domain:"rumbleinthegarden.com",wpSiteId:141,cycloneCommunities:{[nP]:{displayName:"Rumble In The Garden",isPrimaryCommunity:!0,cycloneCommunityId:nP,cycloneCommunityCacheId:158}}},255:{name:"Shakin The Southland",displayName:"Shakin The Southland",subdomain:null,domain:"shakinthesouthland.com",wpSiteId:142,cycloneCommunities:{[nB]:{displayName:"Shakin The Southland",isPrimaryCommunity:!0,cycloneCommunityId:nB,cycloneCommunityCacheId:146}}},71:{name:"Silver And Black Pride",displayName:"Silver And Black Pride",subdomain:null,domain:"silverandblackpride.com",wpSiteId:143,cycloneCommunities:{[nN]:{displayName:"Silver And Black Pride",isPrimaryCommunity:!0,cycloneCommunityId:nN,cycloneCommunityCacheId:74}}},227:{name:"Silver Screen and Roll",displayName:"Silver Screen and Roll",subdomain:null,domain:"silverscreenandroll.com",wpSiteId:144,cycloneCommunities:{[nO]:{displayName:"Silver Screen and Roll",isPrimaryCommunity:!0,cycloneCommunityId:nO,cycloneCommunityCacheId:136}}},113:{name:"SLC Dunk",displayName:"SLC Dunk",subdomain:null,domain:"slcdunk.com",wpSiteId:145,cycloneCommunities:{[nL]:{displayName:"SLC Dunk",isPrimaryCommunity:!0,cycloneCommunityId:nL,cycloneCommunityCacheId:91}}},187:{name:"The Slipper Still Fits",displayName:"The Slipper Still Fits",subdomain:null,domain:"slipperstillfits.com",wpSiteId:146,cycloneCommunities:{[nM]:{displayName:"The Slipper Still Fits",isPrimaryCommunity:!0,cycloneCommunityId:nM,cycloneCommunityCacheId:119}}},193:{name:"The Smoking Musket",displayName:"The Smoking Musket",subdomain:null,domain:"smokingmusket.com",wpSiteId:147,cycloneCommunities:{[nj]:{displayName:"The Smoking Musket",isPrimaryCommunity:!0,cycloneCommunityId:nj,cycloneCommunityCacheId:121}}},20:{name:"South Side Sox",displayName:"South Side Sox",subdomain:null,domain:"southsidesox.com",wpSiteId:148,cycloneCommunities:{[nD]:{displayName:"South Side Sox",isPrimaryCommunity:!0,cycloneCommunityId:nD,cycloneCommunityCacheId:39}}},56:{name:"Stampede Blue",displayName:"Stampede Blue",subdomain:null,domain:"stampedeblue.com",wpSiteId:149,cycloneCommunities:{[nU]:{displayName:"Stampede Blue",isPrimaryCommunity:!0,cycloneCommunityId:nU,cycloneCommunityCacheId:65}}},188:{name:"Stanley Cup of Chowder",displayName:"Stanley Cup of Chowder",subdomain:null,domain:"stanleycupofchowder.com",wpSiteId:150,cycloneCommunities:{[nq]:{displayName:"Stanley Cup of Chowder",isPrimaryCommunity:!0,cycloneCommunityId:nq,cycloneCommunityCacheId:120}}},404:{name:"Stars and Stripes FC",displayName:"Stars and Stripes FC",subdomain:null,domain:"starsandstripesfc.com",wpSiteId:151,cycloneCommunities:{[nF]:{displayName:"Stars and Stripes FC",isPrimaryCommunity:!0,cycloneCommunityId:nF,cycloneCommunityCacheId:178}}},204:{name:"State of The U",displayName:"State of The U",subdomain:null,domain:"stateoftheu.com",wpSiteId:152,cycloneCommunities:{[nH]:{displayName:"State of The U",isPrimaryCommunity:!0,cycloneCommunityId:nH,cycloneCommunityCacheId:125}}},326:{name:"Streaking The Lawn",displayName:"Streaking The Lawn",subdomain:null,domain:"streakingthelawn.com",wpSiteId:153,cycloneCommunities:{[nG]:{displayName:"Streaking The Lawn",isPrimaryCommunity:!0,cycloneCommunityId:nG,cycloneCommunityCacheId:156}}},248:{name:"Swish Appeal",displayName:"Swish Appeal",subdomain:null,domain:"swishappeal.com",wpSiteId:154,cycloneCommunities:{[nV]:{displayName:"Swish Appeal",isPrimaryCommunity:!0,cycloneCommunityId:nV,cycloneCommunityCacheId:145}}},142:{name:"Tar Heel Blog",displayName:"Tar Heel Blog",subdomain:null,domain:"tarheelblog.com",wpSiteId:155,cycloneCommunities:{[nz]:{displayName:"Tar Heel Blog",isPrimaryCommunity:!0,cycloneCommunityId:nz,cycloneCommunityCacheId:99}}},151:{name:"Testudo Times",displayName:"Testudo Times",subdomain:null,domain:"testudotimes.com",wpSiteId:156,cycloneCommunities:{[nW]:{displayName:"Testudo Times",isPrimaryCommunity:!0,cycloneCommunityId:nW,cycloneCommunityCacheId:104}}},277:{name:"The Busby Babe",displayName:"The Busby Babe",subdomain:"thebusbybabe",domain:"thebusbybabe.sbnation.com",wpSiteId:157,cycloneCommunities:{[nK]:{displayName:"The Busby Babe",isPrimaryCommunity:!0,cycloneCommunityId:nK,cycloneCommunityCacheId:151}}},407:{name:"The Champaign Room",displayName:"The Champaign Room",subdomain:null,domain:"thechampaignroom.com",wpSiteId:158,cycloneCommunities:{[n$]:{displayName:"The Champaign Room",isPrimaryCommunity:!0,cycloneCommunityId:n$,cycloneCommunityCacheId:179}}},153:{name:"The Daily Gopher",displayName:"The Daily Gopher",subdomain:null,domain:"thedailygopher.com",wpSiteId:159,cycloneCommunities:{[nQ]:{displayName:"The Daily Gopher",isPrimaryCommunity:!0,cycloneCommunityId:nQ,cycloneCommunityCacheId:105}}},172:{name:"The Dream Shake",displayName:"The Dream Shake",subdomain:null,domain:"thedreamshake.com",wpSiteId:160,cycloneCommunities:{[nY]:{displayName:"The Dream Shake",isPrimaryCommunity:!0,cycloneCommunityId:nY,cycloneCommunityCacheId:116}}},73:{name:"The Falcoholic",displayName:"The Falcoholic",subdomain:null,domain:"thefalcoholic.com",wpSiteId:161,cycloneCommunities:{[nZ]:{displayName:"The Falcoholic",isPrimaryCommunity:!0,cycloneCommunityId:nZ,cycloneCommunityCacheId:76}}},24:{name:"The Good Phight",displayName:"The Good Phight",subdomain:null,domain:"thegoodphight.com",wpSiteId:162,cycloneCommunities:{[nJ]:{displayName:"The Good Phight",isPrimaryCommunity:!0,cycloneCommunityId:nJ,cycloneCommunityCacheId:42}}},224:{name:"The Only Colors",displayName:"The Only Colors",subdomain:null,domain:"theonlycolors.com",wpSiteId:163,cycloneCommunities:{[nX]:{displayName:"The Only Colors",isPrimaryCommunity:!0,cycloneCommunityId:nX,cycloneCommunityCacheId:134}}},69:{name:"The Phinsider",displayName:"The Phinsider",subdomain:null,domain:"thephinsider.com",wpSiteId:164,cycloneCommunities:{[n0]:{displayName:"The Phinsider",isPrimaryCommunity:!0,cycloneCommunityId:n0,cycloneCommunityCacheId:72}}},286:{name:"The Short Fuse",displayName:"The Short Fuse",subdomain:"theshortfuse",domain:"theshortfuse.sbnation.com",wpSiteId:165,cycloneCommunities:{[n1]:{displayName:"The Short Fuse",isPrimaryCommunity:!0,cycloneCommunityId:n1,cycloneCommunityCacheId:153}}},392:{name:"The Tilehurst End",displayName:"The Tilehurst End",subdomain:"thetilehurstend",domain:"thetilehurstend.sbnation.com",wpSiteId:166,cycloneCommunities:{[n2]:{displayName:"The Tilehurst End",isPrimaryCommunity:!0,cycloneCommunityId:n2,cycloneCommunityCacheId:173}}},270:{name:"The UConn Blog",displayName:"The UConn Blog",subdomain:null,domain:"theuconnblog.com",wpSiteId:167,cycloneCommunities:{[n3]:{displayName:"The UConn Blog",isPrimaryCommunity:!0,cycloneCommunityId:n3,cycloneCommunityCacheId:148}}},99:{name:"Tomahawk Nation",displayName:"Tomahawk Nation",subdomain:null,domain:"tomahawknation.com",wpSiteId:168,cycloneCommunities:{[n4]:{displayName:"Tomahawk Nation",isPrimaryCommunity:!0,cycloneCommunityId:n4,cycloneCommunityCacheId:86}}},32:{name:"True Blue LA",displayName:"True Blue LA",subdomain:null,domain:"truebluela.com",wpSiteId:169,cycloneCommunities:{[n5]:{displayName:"True Blue LA",isPrimaryCommunity:!0,cycloneCommunityId:n5,cycloneCommunityCacheId:49}}},75:{name:"Turf Show Times",displayName:"Turf Show Times",subdomain:null,domain:"turfshowtimes.com",wpSiteId:170,cycloneCommunities:{[n9]:{displayName:"Turf Show Times",isPrimaryCommunity:!0,cycloneCommunityId:n9,cycloneCommunityCacheId:78}}},30:{name:"Twinkie Town",displayName:"Twinkie Town",subdomain:null,domain:"twinkietown.com",wpSiteId:171,cycloneCommunities:{[n6]:{displayName:"Twinkie Town",isPrimaryCommunity:!0,cycloneCommunityId:n6,cycloneCommunityCacheId:47}}},448:{name:"Underdog Dynasty",displayName:"Underdog Dynasty",subdomain:null,domain:"underdogdynasty.com",wpSiteId:172,cycloneCommunities:{[n8]:{displayName:"Underdog Dynasty",isPrimaryCommunity:!0,cycloneCommunityId:n8,cycloneCommunityCacheId:181}}},159:{name:"UW Dawg Pound",displayName:"UW Dawg Pound",subdomain:null,domain:"uwdawgpound.com",wpSiteId:173,cycloneCommunities:{[n7]:{displayName:"UW Dawg Pound",isPrimaryCommunity:!0,cycloneCommunityId:n7,cycloneCommunityCacheId:109}}},238:{name:"Vanquish The Foe",displayName:"Vanquish The Foe",subdomain:null,domain:"vanquishthefoe.com",wpSiteId:174,cycloneCommunities:{[te]:{displayName:"Vanquish The Foe",isPrimaryCommunity:!0,cycloneCommunityId:te,cycloneCommunityCacheId:142}}},403:{name:"Viola Nation",displayName:"Viola Nation",subdomain:null,domain:"violanation.com",wpSiteId:175,cycloneCommunities:{[tn]:{displayName:"Viola Nation",isPrimaryCommunity:!0,cycloneCommunityId:tn,cycloneCommunityCacheId:177}}},5:{name:"Viva El Birdos",displayName:"Viva El Birdos",subdomain:null,domain:"vivaelbirdos.com",wpSiteId:176,cycloneCommunities:{[tt]:{displayName:"Viva El Birdos",isPrimaryCommunity:!0,cycloneCommunityId:tt,cycloneCommunityCacheId:29}}},285:{name:"VU Hoops",displayName:"VU Hoops",subdomain:null,domain:"vuhoops.com",wpSiteId:177,cycloneCommunities:{[tr]:{displayName:"VU Hoops",isPrimaryCommunity:!0,cycloneCommunityId:tr,cycloneCommunityCacheId:26}}},319:{name:"We Ain't Got No History",displayName:"We Ain't Got No History",subdomain:"weaintgotnohistory",domain:"weaintgotnohistory.sbnation.com",wpSiteId:178,cycloneCommunities:{[to]:{displayName:"We Ain't Got No History",isPrimaryCommunity:!0,cycloneCommunityId:to,cycloneCommunityCacheId:155}}},377:{name:"Wide Right & Natty Lite",displayName:"Wide Right & Natty Lite",subdomain:null,domain:"widerightnattylite.com",wpSiteId:179,cycloneCommunities:{[ti]:{displayName:"Wide Right & Natty Lite",isPrimaryCommunity:!0,cycloneCommunityId:ti,cycloneCommunityCacheId:171}}},58:{name:"Windy City Gridiron",displayName:"Windy City Gridiron",subdomain:null,domain:"windycitygridiron.com",wpSiteId:180,cycloneCommunities:{[ta]:{displayName:"Windy City Gridiron",isPrimaryCommunity:!0,cycloneCommunityId:ta,cycloneCommunityCacheId:66}}},85:{name:"Alligator Army",displayName:"Alligator Army",subdomain:null,domain:"alligatorarmy.com",wpSiteId:901,isFeedOnlyCommunity:!0,cycloneCommunities:{[p]:{displayName:"Alligator Army",isPrimaryCommunity:!0,cycloneCommunityId:p,cycloneCommunityCacheId:187}}},152:{name:"House of Sparky",displayName:"House of Sparky",subdomain:null,domain:"houseofsparky.com",wpSiteId:902,isFeedOnlyCommunity:!0,cycloneCommunities:{[eW]:{displayName:"House of Sparky",isPrimaryCommunity:!0,cycloneCommunityId:eW,cycloneCommunityCacheId:190}}},106:{name:"Bruins Nation",displayName:"Bruins Nation",subdomain:null,domain:"bruinsnation.com",wpSiteId:903,isFeedOnlyCommunity:!0,cycloneCommunities:{[J]:{displayName:"Bruins Nation",isPrimaryCommunity:!0,cycloneCommunityId:J,cycloneCommunityCacheId:188}}},47:{name:"Clips Nation",displayName:"Clips Nation",subdomain:null,domain:"clipsnation.com",wpSiteId:904,isFeedOnlyCommunity:!0,cycloneCommunities:{[ey]:{displayName:"Clips Nation",isPrimaryCommunity:!0,cycloneCommunityId:ey,cycloneCommunityCacheId:189}}}}},71042:function(e,n,t){"use strict";t.d(n,{Jx:function(){return l}});var r=t(46644),o=t(41650);let i=e=>`vx${e}:`,a=e=>{let n=Object.entries(r.mD).find(n=>{let[,t]=n;return e in t.communities});if(!n)throw Error(`No community config found for communityId: ${e}`);let[t,o]=n,i=parseInt(t),a=o.communities[e];if(!a)throw Error(`Invalid community: ${e}`);let{name:s,domain:l,sailthruSlug:c,subdomain:u,wpSiteId:d,isPrimaryCommunity:p=!1,cycloneCommunities:m,isFeedOnlyCommunity:h=!1}=a,f=r.Cv[e]||s;return{communityName:s,communitySailthruSlug:c,communityShortName:f,domain:u?l:`www.${l}`,vipDomain:l,isPrimaryCommunity:p,wpSiteId:d,cycloneCommunities:m,primaryCommunityId:(0,r.Sf)(i),isFeedOnlyCommunity:h}},s=e=>{let{targetEnv:n,vipDomain:t,fastlyProxySubdomain:r,isPrimaryCommunity:o}=e,i="production"===n,a=!o&&3===t.split(".").length,s=i?a?t:`www.${t}`:`${n}.${t}`,l=i?`platform.${t}`:`platform.${n}.${t}`;if("local"===n){let e=t.replace(".com","");l=`platform.${e}.voxmedia.wpenv.net`}if(r){if(a){if("www"===r)l=t;else{let[e,...n]=t.split(".");l=`${e}.${r}.${n.join(".")}`}}else l=`${r}.${t}`}return{vipCommunityDomain:s,vipCommunityApiDomain:l}},l=e=>{let{communityName:n,communitySailthruSlug:t,domain:c,vipDomain:u,wpSiteId:d,communityShortName:p,isPrimaryCommunity:m,cycloneCommunities:h,primaryCommunityId:f,isFeedOnlyCommunity:g}=a(e),_="true"===o.env.ENABLE_FASTLY_API_PROXY,y=_&&o.env.WP_API_PROXY_SUBDOMAIN?.length?o.env.WP_API_PROXY_SUBDOMAIN:null,{vipCommunityDomain:v,vipCommunityApiDomain:b}=s({targetEnv:"production",vipDomain:g&&f?a(f).vipDomain:u,fastlyProxySubdomain:y,isPrimaryCommunity:m}),C=`https://${v}`,T=o.env.NEXT_PUBLIC_IDENTITY_SSO_AUTH_DOMAIN||"",S=`https://${b}`,k=`${S}${_?"/wp-api":""}/graphql`,E=m?S:l(f).communityApiOrigin;return{communityApiOrigin:S,communityApiUrl:k,communityCanonicalDomain:c,communityDomain:v,communityOrigin:C,communityId:e,communityName:n,communitySailthruSlug:t,communityShortName:p,communityWpSiteId:d,isPrimaryCommunity:m,primaryCommunityId:f,primaryCommunityApiOrigin:E,siteOrigin:null,vmPrefix:i(d),voxCreativeCommunityId:r.tp,ssoAuthDomain:T,cycloneCommunities:h,isFeedOnlyCommunity:g}}},42498:function(e,n,t){"use strict";t.d(n,{dm:function(){return o},vG:function(){return i}});let r=t(41650).env.NEXT_PUBLIC_CORAL_CACHE_FINGERPRINT||"0",o="https://vox.coral.coralproject.net";o&&new URL("/api/graphql",o).toString(),o&&new URL("/api/story/counts/v2",o).toString();let i={commentRecThreshold:5,commentCalloutThreshold:75,enableLegacyID:!0,namePrefix:"vox_user",cacheFingerprint:r,origin:o,moderationEmail:"moderators@vox.com",embedLocation:"drawer",siteId:""}},65777:function(e,n,t){"use strict";t.d(n,{Ab:function(){return o.Ab},GH:function(){return i.GH},J$:function(){return i.J$},Jx:function(){return r.Jx},P3:function(){return i.P3},QE:function(){return o.QE},Zp:function(){return i.Zp},k5:function(){return i.k5},yN:function(){return i.yN}});var r=t(71042),o=t(25785),i=t(98416)},25785:function(e,n,t){"use strict";t.d(n,{$:function(){return u},Ab:function(){return c},QE:function(){return l},er:function(){return a}});var r=t(74960),o=t(78939),i=t(41650);let a=Number("5"),s=String("vx"),l=String(""),c=(0,r.N3)("www.vox.com");(i.env.ENTITLEMENTS?.split(",")||[]).filter(Boolean);let u={affiliateSubtagsSiteKey:s,affiliateNCAParticipant:!1,appName:o.APP_NAME,networkId:a,networkName:"Vox",organizationId:1,concertAds:{network:"vox",gam:"172968584"}}},64214:function(e,n,t){"use strict";async function r(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r={"Content-Type":"application/json"};t&&(r.Authorization=`Bearer ${t}`);let o={cache:"reload",...n,headers:{...r,...n?.headers}};return await fetch(e,o)}async function o(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=await r(e,{cache:"reload",method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:n,variables:t})},o);if(!i.ok&&403===i.status)try{let e=await i.json();if(e.errors&&Array.isArray(e.errors)&&e.errors.find(e=>"Token is invalid."===e.message))return{data:null}}catch(e){return console.error(e),{data:null}}if(!i.ok){let e=i.statusText,n=await i.text();return console.error(e,n),{data:null,errors:[n]}}let a=await i.json();return a.errors&&Array.isArray(a.errors)&&a.errors.find(e=>"Token is invalid."===e.message)||a.errors?{data:null,errors:a.errors}:{data:a.data}}t.d(n,{$f:function(){return o}})},17467:function(e,n,t){"use strict";var r,o,i;t.d(n,{DL:function(){return s},J0:function(){return l},uU:function(){return a}});let a=((r={}).ADMIN="ADMIN",r.MODERATOR="MODERATOR",r.USER="USER",r.UNKNOWN="UNKNOWN",r),s=((o={}).Approved="Approved",o.None="None",o.Pending="Pending",o.Rejected="Rejected",o),l=((i={}).None="None",i.Suspended="Suspended",i.Banned="Banned",i)},86638:function(e,n,t){"use strict";t.d(n,{Um:function(){return i},_7:function(){return a},bi:function(){return o}});let r={theverge:"I",vox:"H"},o=async e=>{await fetch("/SendEventData",{method:"POST",body:JSON.stringify(e)}).catch(()=>{})},i=async()=>{await fetch("/blaize/anonymous-session",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({})}).catch(()=>{})},a=async()=>{let e=await fetch("/blaize/datalayer",{signal:AbortSignal.timeout(1e3)});if(!e.ok)return{};{let{dataLayer:n}=await e.json(),t=n.tracking_id,o=Object.entries(r).find(e=>{let[n]=e;return location.hostname.includes(n)}),i=o&&o[1]||"";return{event:"zephrExperimentsReady",experiments:Object.entries(n).filter(e=>{let[n]=e;return n.startsWith(i)}).map(e=>{let[n,t]=e;return`${n}${t}`}).join(","),tracking_id:t}}}},97132:function(e,n,t){"use strict";t.d(n,{Q:function(){return r}});class r extends Error{constructor(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(e),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.name="DuetError",this.cause=n.cause,this.extra=n.extra,this.extraStringified=JSON.stringify(this.extra,null,2)}}},48889:function(e,n,t){"use strict";t.d(n,{W:function(){return i},Z:function(){return a}});var r=t(57815),o=t.n(r);async function i(e){try{let n=o()(e);if(!n)return"vh_err";if("undefined"==typeof window)return(await Promise.all([t.e(702),t.e(566)]).then(t.t.bind(t,52936,23))).default.createHash("sha1").update(n).digest("hex").slice(0,16);let r=5381;for(let e=0;ee.toString(16).padStart(2,"0")).join("")}catch(e){console.warn("Failed to create hash",e)}return""}},90967:function(e,n,t){"use strict";let r=(0,t(66123).createContext)(null);n.Z=r},74400:function(e,n,t){"use strict";var r=t(66123),o=t(90967);n.Z=function(){let e=(0,r.useContext)(o.Z);if(!e||!e.routeInfo)throw Error("Make sure to use ");return e.routeInfo}},75066:function(e,n,t){"use strict";var r=t(93853),o=t.n(r),i=t(35683);n.Z=e=>{let{schema:n}=e;return(0,i.jsx)(o(),{children:(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}})})}},78979:function(e,n,t){"use strict";t.d(n,{K$:function(){return d},OF:function(){return o},VS:function(){return u},nZ:function(){return c},vu:function(){return r},zE:function(){return l}}),t(98970),t(41650);let r="no-cache, no-store, must-revalidate",o="private, no-store",i=e=>{let{keys:n,vmPrefix:t,duetPrefix:r=!1}=e;return n.map(e=>`${r?"d:":""}${t||""}${e}`)},a=e=>{let{vmPrefix:n,pageKeys:t=[],queryResponseKeys:r=[]}=e,o=["all","duet"],a=i({keys:o,vmPrefix:n,duetPrefix:!1}),s=[...o,...a,...r];return t.length&&(s.push(...t),s.push(...i({keys:t,vmPrefix:n,duetPrefix:!1}))),s},s=e=>{let{vmPrefix:n,apiHandlerKeys:t=[],queryResponseKeys:r=[],apiPrefix:o,addVmPrefixToQueryResponseKeys:a=!0}=e,s=["all","api",...o?[o]:[]],l=i({keys:s,vmPrefix:n,duetPrefix:!1}),c=[...s,...l,...a?i({keys:r,vmPrefix:n,duetPrefix:!1}):r];if(t.length){if(o){let e=t.map(e=>`${o}:${e}`),r=t.map(e=>`${n}${o}:${e}`);c.push(...e,...r)}else c.push(...t),c.push(...i({keys:t,vmPrefix:n,duetPrefix:!1}))}return c},l=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"gql",t=e?.["gql"===n?"x-graphql-keys":"surrogate-key"];return"string"!=typeof t?[]:i({keys:t.split(" ").filter(e=>"gql"===n?!(e.includes(":graphql:")||"wp"===e||e.includes(":wp")):!("wp"===e||"rest"===e||e.endsWith(":wp")||e.endsWith(":rest"))),duetPrefix:!0})},c=e=>{let n,{res:t,vmPrefix:i,cacheControl:l,maxAge:c,stale:u,preview:d,pageKeys:p=[],apiHandlerKeys:m=[],apiPrefix:h,queryResponseKeys:f=[],addVmPrefixToQueryResponseKeys:g=!0,exactKeys:_=[],secondsToNextSponsorshipTransition:y}=e;if(d){t.setHeader("cache-control",r),t.setHeader("surrogate-control",o);return}(n=m.length>0?s({vmPrefix:i,apiHandlerKeys:m,queryResponseKeys:f,apiPrefix:h,addVmPrefixToQueryResponseKeys:g}):a({vmPrefix:i,pageKeys:p,queryResponseKeys:f})).push(..._);let v=t.getHeader("surrogate-key");v&&"string"==typeof v&&n.push(...v.split(" "));let b=(function(e,n){let t=`d:${n}`,r={default:{priority:100,priorityGroup:"default",sortLexicographically:!0},noPrefix:{priority:1,priorityGroup:"noPrefix",sortLexicographically:!0},vmPrefix:{priority:2,priorityGroup:"vmPrefix",sortLexicographically:!0},duetPageKey:{priority:3,priorityGroup:"duetPageKey",sortLexicographically:!0},queryId:{priority:4,priorityGroup:"queryId",sortLexicographically:!1},operation:{priority:5,priorityGroup:"operation",sortLexicographically:!1},operationLayout:{priority:6,priorityGroup:"operationLayout",sortLexicographically:!1},customKey:{priority:7,priorityGroup:"customKey",sortLexicographically:!0},resource:{priority:8,priorityGroup:"resource",sortLexicographically:!0},mediaResource:{priority:9,priorityGroup:"mediaResource",sortLexicographically:!0},list:{priority:10,priorityGroup:"list",sortLexicographically:!0}},o=e=>{if(e.startsWith(n))return r.vmPrefix;if(e.startsWith(t)){let n=e.replace(t,"");if(/^[0-9a-fA-F]+$/.test(n))return r.queryId;if(!n.includes(":"))return r.duetPageKey;if(n.startsWith("operation:"))return n.includes("LayoutQuery")?r.operationLayout:r.operation;if(n.startsWith("ck:"))return r.customKey;let[o,i]=n.split(":");return o&&i&&!isNaN(Number(i))?"image"===o||"volumeVideo"===o?r.mediaResource:r.resource:n.startsWith("list:")?r.list:r.default}return r.noPrefix};return e.sort((e,n)=>{let t=o(e),r=o(n);return t.priority===r.priority&&t.sortLexicographically?e.localeCompare(n):t.priority-r.priority})})([...new Set(n)],i).join(" "),C=Number((c||"max-age=3600").replace("max-age=","")),T=`max-age=${Math.min(C,y||1/0)}`;t.setHeader("cache-control",l||"no-store"),t.setHeader("surrogate-control",`${T}, ${u||"stale-while-revalidate=86400, stale-if-error=604800"}`),t.setHeader("surrogate-key",b)},u=e=>{e.setHeader("cache-control",r),e.setHeader("surrogate-control",o),e.removeHeader("Surrogate-Key")},d=e=>{if("headers"in e){let n;if("function"==typeof e.headers.get&&(n=e.headers.get("vm-cache-bypass-wp")),"vm-cache-bypass-wp"in e.headers&&(n=e.headers["vm-cache-bypass-wp"]),n)return!0}let n="headers"in e&&"host"in e.headers?`http://${e.headers.host}`:e.url;return!!(e.url&&new URL(e.url,n).searchParams.get("bypassWpCache"))}},46727:function(e,n,t){"use strict";t.d(n,{Tn:function(){return c},Vn:function(){return a},aW:function(){return s},lK:function(){return l},yD:function(){return i}});var r=t(98970);let o=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e[n];if(void 0===r){if(!t)return null;throw Error(`Header '${n}' is not defined.`)}if("string"!=typeof r)throw Error(`Header '${n}' is not a string.`);return r},i=(e,n)=>o(e,"vm-cyclone-community-id",!1)||(r.cM.warn(`Using fallback cyclone community ID (${n}) - likely due to middleware being skipped (e.g., crawlers hitting non-existent assets)`),n),a=e=>"true"===o(e,"vm-resource-is-paywall-eligible"),s=(e,n)=>{let t=Number(o(e,"vm-community-id",!0)),r=o(e,"vm-resource-primary-category",!0),i=o(e,"vm-resource-primary-super-cat"),s=o(e,"vm-resource-package"),l=o(e,"vm-resource-stream"),c="true"===o(e,"vm-resource-has-campaign"),u=a(e);if(n){for(let t in e)if(t.startsWith("vm-resource")){let r=o(e,t);r&&n.setHeader(t,r)}}return{communityId:t,primaryPackageNodeId:s,primaryStreamNodeId:l,primaryCategoryNodeId:r,primarySuperCatNodeId:i,hasCampaign:c,isPaywallEligible:u}},l=e=>o(e,"vm-resource-type")||void 0,c=e=>{let n=e;if(e.includes("Layout"))return"vm-duration-layout-query";e.includes("ProviderContainerQuery")&&(n=e.replace("ProviderContainer","")),e.includes("ContainerQuery")&&(n=e.replace("Container","")),e.includes("ArticleRecirc")&&(n=e.replace("Article",""));let t=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();return`vm-duration-${t}`}},28207:function(e,n,t){"use strict";t.d(n,{Z:function(){return X},W:function(){return r}});var r={};t.r(r),t.d(r,{Uh:function(){return l},rJ:function(){return c},KO:function(){return u},EO:function(){return d},Ps:function(){return p},Ym:function(){return m},X8:function(){return h},eu:function(){return f},Mq:function(){return g},He:function(){return _},oD:function(){return y},tE:function(){return v},l:function(){return b},Hh:function(){return C},b6:function(){return T},Rl:function(){return S},aX:function(){return k},F0:function(){return E},vD:function(){return R},DL:function(){return I},FO:function(){return A},cj:function(){return w},_E:function(){return x},Hb:function(){return P},Yq:function(){return B},zP:function(){return N},cg:function(){return O},I_:function(){return L},Y9:function(){return M},oy:function(){return j},L5:function(){return D},tO:function(){return U},Dj:function(){return q},rS:function(){return F},bq:function(){return H},P:function(){return G},yr:function(){return V},Zc:function(){return z},yO:function(){return W},Xx:function(){return K},_x:function(){return $},rN:function(){return Q},TR:function(){return Y},IK:function(){return Z}});var o=t(35683),i=t(4093),a=t(84994),s=t(84795);t(95843);var l="_1ugw7dw0",c={containerClassName:"_1ugw7dw8",slotClassName:"_1ugw7dw9"},u={containerClassName:"_1ugw7dw8",slotClassName:"_1ugw7dwd _1ugw7dw9"},d={containerClassName:"_1ugw7dw8",slotClassName:"_1ugw7dwf _1ugw7dw9"},p={containerClassName:"_1ugw7dwq _1ugw7dw1",slotClassName:"_1ugw7dwr"},m={containerClassName:"_1ugw7dwo _1ugw7dw1",slotClassName:"_1ugw7dwp"},h={containerClassName:"_1ugw7dw1y",slotClassName:"_1ugw7dw1z"},f={containerClassName:"_1ugw7dw1w",slotClassName:"_1ugw7dw1x"},g={containerClassName:"_1ugw7dw20",slotClassName:"_1ugw7dw21"},_={containerClassName:"_1ugw7dw26 _1ugw7dw1"},y="_1ugw7dw2e",v={containerClassName:"_1ugw7dwk _1ugw7dw1",slotClassName:"_1ugw7dwl"},b={containerClassName:"_1ugw7dwm _1ugw7dw1",slotClassName:"_1ugw7dwn"},C={containerClassName:"_1ugw7dw1",slotClassName:"_1ugw7dwj"},T={containerClassName:"_1ugw7dwg",slotClassName:"_1ugw7dwh"},S={containerClassName:"_1ugw7dw10 _1ugw7dw1",slotClassName:"_1ugw7dw11"},k={containerClassName:"_1ugw7dww _1ugw7dw1",slotClassName:"_1ugw7dwx"},E={containerClassName:"_1ugw7dwy _1ugw7dw1",slotClassName:"_1ugw7dwz"},R={containerClassName:"_1ugw7dws _1ugw7dw7",slotClassName:"_1ugw7dwt"},I={containerClassName:"_1ugw7dwu _1ugw7dw1",slotClassName:"_1ugw7dwv"},A={containerClassName:"_1ugw7dw1i _1ugw7dw2",slotClassName:"_1ugw7dw1j"},w={containerClassName:"_1ugw7dw1g _1ugw7dw1",slotClassName:"_1ugw7dw1h"},x="_1ugw7dw27",P={containerClassName:"_1ugw7dw1a _1ugw7dw1",slotClassName:"_1ugw7dw1b"},B={containerClassName:"_1ugw7dw18 _1ugw7dw1",slotClassName:"_1ugw7dw19"},N={containerClassName:"_1ugw7dw1e _1ugw7dw2",slotClassName:"_1ugw7dw1f"},O={containerClassName:"_1ugw7dw1c _1ugw7dw1",slotClassName:"_1ugw7dw1d"},L={containerClassName:"_1ugw7dw12 _1ugw7dw1",slotClassName:"_1ugw7dw13"},M={containerClassName:"_1ugw7dw1s",slotClassName:"_1ugw7dw1t"},j={containerClassName:"_1ugw7dw1o",slotClassName:"_1ugw7dw1p"},D={containerClassName:"_1ugw7dw1m",slotClassName:"_1ugw7dw1n"},U={containerClassName:"_1ugw7dw1k",slotClassName:"_1ugw7dw1l"},q="_1ugw7dw28",F="_1ugw7dw2c",H="_1ugw7dw29",G="_1ugw7dw2b",V="_1ugw7dw2a",z="_1ugw7dw2d",W={containerClassName:"_1ugw7dw24",slotClassName:"_1ugw7dw25"},K={containerClassName:"_1ugw7dw22 _1ugw7dw1",slotClassName:"_1ugw7dw23"},$={containerClassName:"_1ugw7dw16 _1ugw7dw1",slotClassName:"_1ugw7dw17"},Q={containerClassName:"_1ugw7dw14 _1ugw7dw1",slotClassName:"_1ugw7dw15"},Y={containerClassName:"_1ugw7dw1u",slotClassName:"_1ugw7dw1v"},Z={containerClassName:"_1ugw7dw1q",slotClassName:"_1ugw7dw1r"};let J={all:q,mobile:H,tablet:V,mobileAndTablet:G,desktop:F,tabletAndDesktop:z,flexTabletAndDesktop:y};var X=({adType:e})=>{let{adConfig:{staticAdConfig:n},networkConfig:t}=(0,s.q)(),r=t.concertAds.network,c=(0,a.$3)();return(0,o.jsx)(o.Fragment,{children:n[e]?.map(({containerClassName:n,slotClassName:t,style:a,slotName:s,viewport:u,hideSlot:d,hideIfSubscription:p},m)=>{let h=c&&p?.includes(r),f=Array.isArray(d)&&d.includes(r);if(!h&&!f)return o.jsx("div",{className:i.Z(n,l,J[u]),children:o.jsx("div",{style:a,className:i.Z(l,t,"networkRiverHome"===e&&x),"data-concert":s},s)},m)})})}},71415:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(35683),o=t(79829),i=({analyticsPayload:e,includeClickAnalytics:n,includeViewAnalytics:t,children:i,...a})=>{let s=(0,o.U)();if(!s||!s.linkComponent)return(0,r.jsx)("a",{...a,children:i});let l=s.linkComponent;return(0,r.jsx)(l,{analyticsPayload:e,includeClickAnalytics:n,includeViewAnalytics:t,...a,children:i})}},40495:function(e,n,t){"use strict";t.d(n,{Z:function(){return v}});var r=t(35683),o=t(4093),i=t(58872),a=i.default||i,s=t(32351),l=t.n(s),c=t(66123),u=t(71415),d=t(88764),p=t(79829),m=t(84795),h=t(60546);let f=["norkon.net","ceros.com","amuselabs.com","link.theverge.com","link.eater.com","link.sbnation.com","link.vox.com"];function g(e,n){let t=e,r=[],o=t.indexOf(" class=");for(;-1!==o;){let e=function(e){let n=e.indexOf(" class=");if(-1===n)return null;let t=n+7,r=e[t];if('"'!==r&&"'"!==r)return null;let o=t+1;for(;ot+1&&"\\"===e[o-1]){o++;continue}return{classValue:e.substring(t+1,o),fullMatch:e.substring(n+1,o+1),startIndex:n+1,endIndex:o+1}}o++}return null}(t.substring(o));if(e)e.classValue.trim()&&r.push(e.classValue.trim()),o=(t=t.substring(0,o+1)+t.substring(o+1+e.fullMatch.length)).indexOf(" class=",o);else break}let i=[...r,n].join(" "),a=t.replace(/\s+/g," ").trim();return{combinedClass:i,finalAttributes:a?` ${a}`:""}}var _=t(74960);let y=(e,n)=>{let t=RegExp(`(href\\s*=\\s*['"])(${l()(n)})`,"gi");return"string"==typeof e?e.replace(t,"$1"):e};var v=({html:e,component:n="p",className:t,filterForCookieConsent:s=!1,cookieConsentCategoryId:l=h.x1.socialMediaAndEmbeds,interactiveSpoilers:v=!1,onClick:b,...C})=>{let T=(0,p.U)(),{communityOrigin:S}=(0,m.q)().communityConfig,k=(0,c.useMemo)(()=>{let n=y(e,S);return s?function(e,n){if(!e||"string"!=typeof e||!n||function(e,n=f){return 0!==n.length&&n.some(n=>{let t=n.toLowerCase();return e.toLowerCase().includes(t)})}(e))return e;let t=`optanon-category-${n}`;return e.replace(/]*)\ssrc=/gi,"`}).replace(/]*)>/gi,(e,n)=>{let{combinedClass:r,finalAttributes:o}=g(n,t);if(!/\stype\s*=/i.test(n))return`