//!This code is part of the Services provided by FullStory, Inc. For license information, please refer to https://www.fullstory.com/legal/terms-and-conditions/ //!Portions of this code are licensed under the following license: //! For license information please see fs.js.LEGAL.txt "use strict";!function(){var t=function(n,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])})(n,i)};function n(n,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function r(){this.constructor=n}t(n,i),n.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}var i=function(){return i=Object.assign||function(t){for(var n,i=1,r=arguments.length;i0&&e[e.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!e||u[1]>e[0]&&u[1]0&&this.i(s)}},t.prototype.setCookie=function(t,n,i){this._setCookie(t,n,i)},Object.defineProperty(t.prototype,"cookies",{get:function(){return this._cookies},enumerable:!1,configurable:!0}),t.prototype.clearCookie=function(t,n){this._cookies[t]&&(this.t.cookie=u(this.v,t,"","Thu, 01 Jan 1970 00:00:01 GMT"),delete this._cookies[t]);try{delete localStorage[null!=n?n:t]}catch(t){}},t.prototype._setCookie=function(t,n,i){try{if(this.t.cookie=u(this.v,t,n,i),this.t.cookie&&this.t.cookie.indexOf(n)>-1)return;if(this.t.cookie=u(this.v,t,n,i,"None"),this.t.cookie&&this.t.cookie.indexOf(n)>-1)return}finally{this._cookies=Jt(this.t)}},t.prototype.k=function(t,n,i,r){this._setCookie(t,i,r),function(t,n){try{localStorage[t]=n}catch(t){}}(null!=n?n:t,i)},t.prototype.g=function(t,n){var i,r=this._cookies[t];try{i=localStorage[null!=n?n:t]}catch(t){}return{cookieValue:r,localStorageValue:i}},t.prototype.S=function(t,n,i,r,e,s){void 0===s&&(s=3),r();for(var o=!1,u=!1,a=1;a-1||c.indexOf("Trident/")>-1,f=(h&&c.indexOf("Trident/5"),h&&c.indexOf("Trident/6"),h&&c.indexOf("rv:11")>-1),v=c.indexOf("Edge/")>-1,l=c.indexOf("Opera/")>-1,d=(c.indexOf("CriOS"),c.indexOf("Snapchat")>-1),p=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),w=/^((?!chrome|android).)*(safari)/i.test(window.navigator.userAgent),g=p||w;function y(){var t=window.navigator.userAgent.match(/Version\/(\d+)/);return t&&t[1]?parseInt(t[1],10):-1}function m(t){if(!g)return!1;var n=y();return n>=0&&n===t}function b(t){if(!g)return!1;var n=y();return n>=0&&n0}function W(t,n){z(t.childNodes,n)}function F(t,n){z(t.childNodes,n,!0)}function z(t,n,i){void 0===i&&(i=!1);for(var r=i?t.length-1:0,e=i?-1:t.length;r!==e;){var s=t[r];if(s&&"frag"in s&&!Ot(s)&&Array.isArray(s.frag))s.frag.length&&z(s.childNodes,n,i);else if(n(s)===P.Exit)break;i?--r:++r}}function $(t){var n=t.nextSibling;return n&&t.parentNode&&n===t.parentNode.firstChild?null:n}function q(t){var n=t.previousSibling;return n&&t.parentNode&&n===t.parentNode.lastChild?null:n}function V(t){return t.parentNode}function G(t){return B(t)?t.childNodes[0]:null}function X(t){try{var n=function(t){var n,i=null!==(n=t.ownerDocument)&&void 0!==n?n:t;return 9===i.nodeType?i:document}(t);ne(9===n.nodeType,"unable to find document");var i=n.createTreeWalker(n,NodeFilter.SHOW_ALL,null,!1);return i.currentNode=t,i}catch(t){return}}function Q(t,n){var i=X(t);if(i)for(var r=i.firstChild();r;)n(r),r=i.nextSibling()}function Y(t,n){var i=X(t);if(i)for(var r=i.lastChild();r;)n(r),r=i.previousSibling()}function J(t){var n=X(t);return n?n.nextSibling():null}function Z(t){var n=X(t);return n?n.previousSibling():null}function tt(t){var n=X(t);return n?n.parentNode():null}function nt(t){var n=X(t);return n?n.firstChild():null}function it(t){return!!nt(t)}(N=P||(P={})).ContinueProcessing=0,N.Exit=1;var rt=!1;function et(t){return(rt?nt:G)(t)}function st(t,n){return(rt?Q:W)(t,n)}function ot(t,n){return(rt?Y:F)(t,n)}function ut(t){return(rt?it:B)(t)}function at(t){return(rt?J:$)(t)}function ct(t){return(rt?tt:V)(t)}function ht(t){return(rt?Z:q)(t)}function ft(t){return T.arrayIsArray(t)}function vt(t){var n=parseInt(null!=t?t:"",10);return isNaN(n)?void 0:n}function lt(t){return null!==t&&"object"==typeof t}function dt(t){return"string"==typeof t}var pt="function"==typeof T.objectKeys?function(t){return T.objectKeys(t)}:function(t){var n=[];for(var i in t)T.objectHasOwnProp(t,i)&&n.push(i);return n};function wt(t,n){return 0==t.lastIndexOf(n,0)}function gt(t,n){for(var i in t)T.objectHasOwnProp(t,i)&&n(t[i],i,t)}function yt(t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))return t[n]}function mt(t,n){var i=0;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&++i>n)return!1;return i==n}function bt(t,n){var i=0;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&++i>n)return!0;return!1}function St(t){var n,i;return"function"==typeof(null===(i=null===(n=t.Zone)||void 0===n?void 0:n.root)||void 0===i?void 0:i.run)}function kt(t){return function(){for(var n=this,i=[],r=0;r"}function Tt(t){return T.jsonParse(t)}var It=function(){function t(t,n,i){void 0===i&&(i=!1),this.T=t,this.I=n,this.K=i,this.j=L,this.M=L,this.R=L,this.O=!1}return t.prototype.before=function(t){return this.j=At(t),this},t.prototype.afterSync=function(t){return this.M=At(t),this},t.prototype.afterAsync=function(t){return this.R=At(function(n){T.setWindowTimeout(window,O(function(){t(n)}),0)}),this},t.prototype.disable=function(){if(this.O=!1,this.P){var t=this.P,n=t.override,i=t["native"];this.T[this.I]===n&&(this.T[this.I]=i,this.P=void 0)}},t.prototype.enable=function(){if(this.O=!0,this.P)return!0;this.P=this.N();try{this.T[this.I]=this.P.override}catch(t){return!1}return!0},t.prototype.getTarget=function(){return this.T},t.prototype.N=function(){var t=this,n=this,i=this.T[this.I],r=function(){for(var t=[],r=0;r=0){var s=e.split("/"),o=s[0],u=s[1];i[r]=o,n=u;break}}var a=function(t){var n=parseInt(null!=t?t:"",10),i=Xt(),r=Qt();return isNaN(n)?r:n<=i?void 0:n>r?r:n}(n);if(!a)return null;i[0];var c=i[1],h=i[2],f=i[3],v="";f&&(v=decodeURIComponent(f),(Vt.indexOf(v)>=0||Gt.indexOf(v)>=0)&&(v=""));var l=(null!=h?h:"").split(":"),d=l[0],p=l[1],w=l[2];return l[3],{appKeyHash:v,expirationAbsTimeSeconds:a,userId:d,orgId:c,pageCount:vt(l[4]),sessionId:null!=p?p:"",sessionStartTime:vt(w)}}function Jt(t){var n={};try{for(var i=t.cookie.split(";"),r=0;r1))return s}}(t);if(!i||!an(n))return n;var r="";return 0===n.indexOf("www.")&&(n=n.slice(4),r="www."),0===n.indexOf(i+".")&&(n=n.slice((i+".").length)),""+r+i+"."+n}}function An(t){return t?rn(function(t){var n=t,i=n.indexOf(":");return i>=0&&(n=n.slice(0,i)),n}(t))?t:0==t.indexOf("www.")?"app."+t.slice(4):"app."+t:t}function _n(t){var n=sn(t);if(n)return n+"/s/fs.js"}var En,Cn,Tn,In,xn,Kn,jn,Mn,Rn,On,Pn,Nn,Ln=function(t,n,i){this.name="ProtocolError",this.message=n,this.status=t,this.data=i};function Un(t){return t>=400&&502!==t||202==t||206==t}(Cn=En||(En={})).MUT_INSERT=2,Cn.MUT_REMOVE=3,Cn.MUT_ATTR=4,Cn.MUT_TEXT=6,Cn.MOUSEMOVE=8,Cn.MOUSEMOVE_CURVE=9,Cn.SCROLL_LAYOUT=10,Cn.SCROLL_LAYOUT_CURVE=11,Cn.MOUSEDOWN=12,Cn.MOUSEUP=13,Cn.CLICK=16,Cn.FOCUS=17,Cn.VALUECHANGE=18,Cn.RESIZE_LAYOUT=19,Cn.DOMLOADED=20,Cn.LOAD=21,Cn.PLACEHOLDER_SIZE=22,Cn.UNLOAD=23,Cn.BLUR=24,Cn.SET_FRAME_BASE=25,Cn.TOUCHSTART=32,Cn.TOUCHEND=33,Cn.TOUCHCANCEL=34,Cn.TOUCHMOVE=35,Cn.TOUCHMOVE_CURVE=36,Cn.NAVIGATE=37,Cn.PLAY=38,Cn.PAUSE=39,Cn.RESIZE_VISUAL=40,Cn.RESIZE_VISUAL_CURVE=41,Cn.RESIZE_DOCUMENT_CONTENT=42,Cn.RESIZE_SCROLLABLE_ELEMENT_CONTENT=43,Cn.LOG=48,Cn.ERROR=49,Cn.DBL_CLICK=50,Cn.FORM_SUBMIT=51,Cn.WINDOW_FOCUS=52,Cn.WINDOW_BLUR=53,Cn.HEARTBEAT=54,Cn.WATCHED_ELEM=56,Cn.PERF_ENTRY=57,Cn.REC_FEAT_SUPPORTED=58,Cn.SELECT=59,Cn.CSSRULE_INSERT=60,Cn.CSSRULE_DELETE=61,Cn.FAIL_THROTTLED=62,Cn.AJAX_REQUEST=63,Cn.SCROLL_VISUAL_OFFSET=64,Cn.SCROLL_VISUAL_OFFSET_CURVE=65,Cn.MEDIA_QUERY_CHANGE=66,Cn.RESOURCE_TIMING_BUFFER_FULL=67,Cn.MUT_SHADOW=68,Cn.DISABLE_STYLESHEET=69,Cn.FULLSCREEN=70,Cn.FULLSCREEN_ERROR=71,Cn.ADOPTED_STYLESHEETS=72,Cn.CUSTOM_ELEMENT_DEFINED=73,Cn.MODAL_OPEN=74,Cn.MODAL_CLOSE=75,Cn.SLOW_INTERACTION=76,Cn.LONG_FRAME=77,Cn.TIMING=78,Cn.STORAGE_WRITE_FAILURE=79,Cn.DOCUMENT_PROPERTIES=80,Cn.ENTRY_NAVIGATE=81,Cn.STATS=82,Cn.VIEWPORT_INTERSECTION=83,Cn.COPY=84,Cn.PASTE=85,Cn.URL_SALT=86,Cn.URL_ID=87,Cn.FRAME_STATUS=88,Cn.SCRIPT_COMPILED_VERSION=89,Cn.RESET_CSS_SHEET=90,Cn.ANIMATION_CREATED=91,Cn.ANIMATION_METHOD_CALLED=92,Cn.ANIMATION_PROPERTY_SET=93,Cn.DOCUMENT_TIMELINE_CREATED=94,Cn.KEYFRAME_EFFECT_CREATED=95,Cn.KEYFRAME_EFFECT_METHOD_CALLED=96,Cn.KEYFRAME_EFFECT_PROPERTY_SET=97,Cn.CAPTURE_SOURCE=98,Cn.PAGE_DATA=99,Cn.VISIBILITY_STATE=100,Cn.DIALOG=101,Cn.CSSRULE_UPDATE=102,Cn.CANVAS=103,Cn.CANVAS_DETACHED_DIMENSION=104,Cn.INIT_API=105,Cn.DEFERRED_RESOLVED=106,Cn.DEFERRED_MUT_INSERT=107,Cn.DEFERRED_MUT_SHADOW=108,Cn.ELEMENT_PROP=109,Cn.BFCACHE_STATE=110,Cn.SESSION_INFO=111,Cn.KEEP_ELEMENT=2e3,Cn.KEEP_URL=2001,Cn.KEEP_BOUNCE=2002,Cn.SYS_SETVAR=8193,Cn.SYS_RESOURCEHASH=8195,Cn.SYS_SETCONSENT=8196,Cn.SYS_CUSTOM=8197,Cn.SYS_REPORTCONSENT=8198,Cn.SYS_LETHE_MOBILE_BUNDLE_SEQ=8199,(In=Tn||(Tn={})).Animation=0,In.CSSAnimation=1,In.CSSTransition=2,(Kn=xn||(xn={})).Internal=0,Kn.Public=1,(Mn=jn||(jn={})).Unknown=0,Mn.Serialization=1,(On=Rn||(Rn={})).Unknown=0,On.DomSnapshot=1,On.NodeEncoding=2,On.LzEncoding=3,On.ApplyRules=4,On.ProcessMut=5,(Nn=Pn||(Pn={})).Unknown=0,Nn.Successful=1,Nn.BlocklistedFrame=2,Nn.PartiallyLoaded=3,Nn.MissingWindowOrDocument=4,Nn.MissingDocumentHead=5,Nn.MissingBodyOrChildren=6,Nn.AlreadyDefined=7,Nn.NoNonScriptElement=8,Nn.Exception=9;var Hn,Dn,Bn,Wn,Fn,zn,$n,qn,Vn,Gn,Xn,Qn,Yn,Jn,Zn,ti,ni,ii,ri,ei,si,oi,ui,ai,ci,hi,fi,vi,li,di,pi,wi,gi,yi,mi,bi,Si,ki,Ai,_i,Ei,Ci,Ti,Ii,xi,Ki,ji,Mi,Ri,Oi,Pi=["print","alert","confirm"];function Ni(t){switch(t){case En.MOUSEDOWN:case En.MOUSEMOVE:case En.MOUSEMOVE_CURVE:case En.MOUSEUP:case En.TOUCHSTART:case En.TOUCHEND:case En.TOUCHMOVE:case En.TOUCHMOVE_CURVE:case En.TOUCHCANCEL:case En.CLICK:case En.SCROLL_LAYOUT:case En.SCROLL_LAYOUT_CURVE:case En.SCROLL_VISUAL_OFFSET:case En.SCROLL_VISUAL_OFFSET_CURVE:case En.NAVIGATE:return!0}return!1}(Dn=Hn||(Hn={}))[Dn.Unset=0]="Unset",Dn[Dn.Entering=1]="Entering",Dn[Dn.Restored=2]="Restored",(Wn=Bn||(Bn={}))[Wn.Index=1]="Index",Wn[Wn.Cached=2]="Cached",(zn=Fn||(Fn={})).GrantConsent=!0,zn.RevokeConsent=!1,(qn=$n||($n={})).Page=0,qn.Document=1,(Gn=Vn||(Vn={})).Unknown=0,Gn.Api=1,Gn.FsShutdownFrame=2,Gn.Hibernation=3,Gn.Reidentify=4,Gn.SettingsBlocked=5,Gn.Size=6,Gn.Unload=7,Gn.Hidden=8,(Qn=Xn||(Xn={})).Unknown=0,Qn.NotEmpty=1,Qn.EmptyBody=2,(Jn=Yn||(Yn={}))[Jn.UNSET=0]="UNSET",Jn[Jn.OK=1]="OK",Jn[Jn.ABORTED=2]="ABORTED",Jn[Jn.OPAQUE=3]="OPAQUE",Jn[Jn.ERROR=4]="ERROR",(ti=Zn||(Zn={})).Timing=0,ti.Navigation=1,ti.Resource=2,ti.Paint=3,ti.Mark=4,ti.Measure=5,ti.Memory=6,ti.TimeOrigin=7,ti.LayoutShift=8,ti.FirstInput=9,ti.LargestContentfulPaint=10,ti.LongTask=11,ti.EventTiming=12,ti.EventTimingCount=13,(ii=ni||(ni={})).Timing=["navigationStart","unloadEventStart","unloadEventEnd","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","secureConnectionStart","requestStart","responseStart","responseEnd","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd"],ii.Navigation=["name","startTime","duration","initiatorType","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","secureConnectionStart","requestStart","responseStart","responseEnd","unloadEventStart","unloadEventEnd","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd","type","redirectCount","decodedBodySize","encodedBodySize","transferSize","activationStart"],ii.Resource=["name","startTime","duration","initiatorType","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","secureConnectionStart","requestStart","responseStart","responseEnd","decodedBodySize","encodedBodySize","transferSize"],ii.Measure=["name","startTime","duration"],ii.Memory=["jsHeapSizeLimit","totalJSHeapSize","usedJSHeapSize"],ii.TimeOrigin=["timeOrigin"],ii.LayoutShift=["startTime","value","hadRecentInput"],ii.FirstInput=["name","startTime","duration","processingStart"],ii.EventTiming=["name","startTime","duration","processingStart","processingEnd","interactionId"],ii.LargestContentfulPaint=["name","startTime","duration","renderTime","loadTime","size"],ii.EventTimingCount=["interactionCount"],(ei=ri||(ri={})).Performance=0,ei.PerformanceEntries=1,ei.PerformanceMemory=2,ei.Console=3,ei.Ajax=4,ei.PerformanceObserver=5,ei.PerformanceTimeOrigin=7,ei.WebAnimation=8,ei.LayoutShift=9,ei.FirstInput=10,ei.LargestContentfulPaint=11,ei.LongTask=12,ei.HTMLDialogElement=13,ei.CaptureOnStartupEnabled=14,ei.CanvasWatcherEnabled=15,ei.CanvasScreenShotMode=16,ei.ResizeObserver=17,(oi=si||(si={})).Node=1,oi.Sheet=2,(ai=ui||(ui={})).StyleSheetHooks=0,ai.SetPropertyHooks=1,(hi=ci||(ci={})).Document="document",hi.Event="evt",hi.Page="page",hi.User="user",(vi=fi||(fi={})).FsId="fsidentity",vi.NewUid="newuid",(di=li||(li={})).Elide=0,di.Record=1,di.Allowlist=2,(wi=pi||(pi={})).Any=0,wi.Exclude=1,wi.Mask=2,(yi=gi||(gi={})).Erase=0,yi.MaskText=1,yi.ScrubUrl=2,yi.ScrubCss=3,(bi=mi||(mi={})).Static=0,bi.Prefix=1,(ki=Si||(Si={})).SignalInvalid=0,ki.SignalDeadClick=1,ki.SignalRageClick=2,(_i=Ai||(Ai={})).ReasonNoSuchOrg=1,_i.ReasonOrgDisabled=2,_i.ReasonOrgOverQuota=3,_i.ReasonBlockedDomain=4,_i.ReasonBlockedIp=5,_i.ReasonBlockedUserAgent=6,_i.ReasonBlockedGeo=7,_i.ReasonBlockedTrafficRamping=8,_i.ReasonInvalidURL=9,_i.ReasonUserOptOut=10,_i.ReasonInvalidRecScript=11,_i.ReasonDeletingUser=12,_i.ReasonNativeHookFailure=13,(Ci=Ei||(Ei={})).Unset=0,Ci.Exclude=1,Ci.Mask=2,Ci.Unmask=3,Ci.Watch=4,Ci.Keep=5,Ci.Defer=6,(Ii=Ti||(Ti={})).Unset=0,Ii.Click=1,(Ki=xi||(xi={}))[Ki.Page=1]="Page",Ki[Ki.Bundle=2]="Bundle",(Mi=ji||(ji={}))[Mi.Error=3]="Error",Mi[Mi.Page=4]="Page",Mi[Mi.Bundle=5]="Bundle",Mi[Mi.Settings=6]="Settings",(Oi=Ri||(Ri={})).MaxPerfMarksPerPage=16384,Oi.MaxLogsPerPage=1024,Oi.MaxUrlLength=2048,Oi.MutationProcessingInterval=250,Oi.CurveSamplingInterval=142,Oi.DefaultBundleUploadInterval=5e3,Oi.HeartbeatInterval=256200,Oi.PageInactivityTimeout=18e5,Oi.BackoffMax=3e5,Oi.ScrollSampleInterval=Oi.MutationProcessingInterval/5,Oi.InactivityThreshold=4e3,Oi.MaxAjaxPayloadLength=16384,Oi.DefaultOrgSettings={MaxPerfMarksPerPage:Oi.MaxPerfMarksPerPage,MaxConsoleLogPerPage:Oi.MaxLogsPerPage,MaxAjaxPayloadLength:Oi.MaxAjaxPayloadLength,MaxUrlLength:Oi.MaxUrlLength,RecordPerformanceResourceImg:!0,RecordPerformanceResourceTiming:!0,HttpRequestHeadersAllowlist:[],HttpResponseHeadersAllowlist:[],UrlPrivacyConfig:[{Exclude:{Hash:[{Expression:"#.*"}],QueryParam:[{Expression:"(=)(.*)"}]}}],AttributeBlocklist:[{Target:pi.Any,Tag:"*",Name:"",Type:mi.Prefix,Action:gi.Erase}]},Oi.DefaultStatsSettings={MaxPayloadLength:8192,MaxEventTypeLength:1024},Oi.BlockedFieldValue="__fs__redacted",Oi.DefaultRecDisabledMessage="Capture disabled. Turn on debug mode for more information.",Oi.ShutdownMessage="Shutdown called.";var Li,Ui,Hi,Di,Bi,Wi,Fi,zi,$i="_fs_uid",qi="_fs_cid",Vi="_fs_lua";function Gi(t){return"function"==typeof t}(Ui=Li||(Li={}))[Ui.Shutdown=1]="Shutdown",Ui[Ui.Starting=2]="Starting",Ui[Ui.Started=3]="Started",Ui[Ui.Fatal=4]="Fatal",(Di=Hi||(Hi={})).Set=0,Di.Function=1,(Wi=Bi||(Bi={}))[Wi.Disabled=0]="Disabled",Wi[Wi.CaptureCanvasOps=1]="CaptureCanvasOps",Wi[Wi.ScreenshotCanvas=2]="ScreenshotCanvas",(zi=Fi||(Fi={})).EndPreviewMode="EndPreviewMode",zi.EvtBundle="EvtBundle",zi.GreetFrame="GreetFrame",zi.InitFrameMobile="InitFrameMobile",zi.RequestFrameId="RequestFrameId",zi.RestartFrame="RestartFrame",zi.SetConsent="SetConsent",zi.SetFrameId="SetFrameId",zi.ShutdownFrame="ShutdownFrame",zi.Unknown="Unknown";var Xi,Qi,Yi,Ji,Zi,tr=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},nr=0,ir=function(t,n){rr[nr]=t,rr[nr+1]=n,2===(nr+=2)&&Xi()},rr=new Array(1e3);function er(){for(var t=0;t2e6?[4,Kr()]:[3,3];case 2:e.sent(),e.label=3;case 3:return window,r=Nr(t.bundle.Seq,t),[4,Lr(this.rt.window,this.nt,null!==(n=t.recHost)&&void 0!==n?n:$r(this.rt),r,{type:"string",data:i})];case 4:return s=e.sent().text,o=Tt(s),window,[2,[this.tt,o]]}})})},t.prototype.bundleBeacon=function(t){var n;return Br(this.nt,null!==(n=t.recHost)&&void 0!==n?n:$r(this.rt),t)},t.prototype.exponentialBackoffMs=function(t,n){var i=T.mathMin(Ri.BackoffMax,5e3*T.mathPow(2,t));return n?i+.25*T.mathRandom()*i:i},t}(),Pr=function(){function t(t){this.nt=t.options.scheme,this.rt=t}return t.prototype.uploadResource=function(t){return r(this,void 0,Cr,function(){return e(this,function(n){switch(n.label){case 0:return[4,Lr(this.rt.window,this.nt,$r(this.rt),"/rec/uploadResource",t)];case 1:return[2,n.sent().text]}})})},t.prototype.queryResources=function(t){return r(this,void 0,Cr,function(){return e(this,function(n){switch(n.label){case 0:return[4,Lr(this.rt.window,this.nt,$r(this.rt),"/rec/queryResources",{type:"string",data:_t(t)})];case 1:return[2,Tt(n.sent().text)]}})})},t}();function Nr(t,n){var i="/rec/bundle"+("v2"===n.version?"/v2":"")+"?OrgId="+n.orgId+"&UserId="+n.userId+"&SessionId="+n.sessionId+"&PageId="+n.pageId+"&Seq="+t;return null!=n.serverPageStart&&(i+="&PageStart="+n.serverPageStart),null!=n.serverBundleTime&&(i+="&PrevBundleTime="+n.serverBundleTime),null!=n.lastUserActivity&&(i+="&LastActivity="+n.lastUserActivity),n.isNewSession&&(i+="&IsNewSession=true"),null!=n.deltaT&&(i+="&DeltaT="+n.deltaT),i}function Lr(t,n,i,s,o){return r(this,void 0,Cr,function(){return e(this,function(r){return[2,Hr(t,"POST",n,i,qr(s),!0,o)]})})}function Ur(t,n,i,s){return r(this,void 0,Cr,function(){return e(this,function(r){return[2,Hr(t,"GET",n,i,qr(s),!1)]})})}function Hr(t,n,i,s,o,u,a){return r(this,void 0,Cr,function(){var r,c,h,f,v,l,d;return e(this,function(e){switch(e.label){case 0:switch(r=function(t){return cn(t,"_fs_request","function")}(t)||Dr,c="//"+s+o,h={},null==a?void 0:a.type){case"string":case"ArrayBuffer":h["Content-Type"]="text/plain"}e.label=1;case 1:return e.trys.push([1,3,,4]),[4,r(i,n,c,u,h,a)];case 2:return f=e.sent(),[3,4];case 3:throw v=e.sent(),Jr.sendToBugsnag(v,"error"),v;case 4:if(l={text:f.responseText},200==f.status)return[2,l];try{d=Tt(l.text)}catch(t){}throw new Ln(f.status,l.text,d)}})})}function Dr(t,n,i,s,o,u){return r(this,void 0,Cr,function(){var r;return e(this,function(e){return r=function(t){switch(null==t?void 0:t.type){case"string":case"ArrayBuffer":return t.data;case"FormData":var n=new FormData;for(var i in t.data){var r=t.data[i];if(void 0!==r)if("string"==typeof r)n.append(i,r);else{var e=new Blob([r.data],{type:r.contentType});n.append(i,e,r.filename)}}return n;default:return}}(u),[2,new Cr(function(e){var u=!1,a=new XMLHttpRequest;for(var c in a.onreadystatechange=function(){4!==a.readyState||u||(u=!0,e({status:a.status,responseText:a.responseText}))},a.open(n,""+t+i,!0),a.withCredentials=s,o)a.setRequestHeader(c,o[c]);a.send(r)})]})})}function Br(t,n,i){return Wr(t+"//"+n+Nr(i.bundle.Seq,i)+"&SkipResponseBody=true",_t(i.bundle))}function Wr(t,n){return(cn(window,"_fs_beacon","function")||Fr)(t,n)}function Fr(t,n){if("function"==typeof navigator.sendBeacon)try{return navigator.sendBeacon.bind(navigator)(t,n)}catch(t){}return!1}function zr(t,n,i,s){var o;return r(this,void 0,Cr,function(){var r,u;return e(this,function(e){switch(e.label){case 0:return r=null!==(o=s.version)&&void 0!==o?o:"v1",u=s.previewMode?"?previewMode=true":"",[4,Ur(t,n,i,"/s/settings/"+s.orgId+"/"+r+"/web"+u)];case 1:return[2,Tt(e.sent().text)]}})})}function $r(t){var n,i=null===(n=t.recording.pageResponse())||void 0===n?void 0:n.GCLBSubdomain,r=t.options.recHost;return i&&an(r)?r.replace(/^rs\./,i+"."):r}function qr(t){if(!window.Zone)return t;var n="?";return t.indexOf(n)>-1&&(n="&"),""+t+n+"ngsw-bypass=true"}var Vr="[anonymous]",Gr=/function\s*([\w\-$]+)?\s*\(/i;function Xr(t){return t.stack||t.backtrace||t.stacktrace}function Qr(){var t,n;try{throw new Error("")}catch(i){t="\n",n=Xr(i)}if(!n){t="\n";var i=[];try{for(var r=arguments.callee.caller.caller;r&&i.length<10;){var e=Gr.test(r.toString())&&RegExp.$1||Vr;i.push(e),r=r.caller}}catch(t){t.toString()}n=i.join("\n")}return t+n}function Yr(){try{return window.self!==window.top}catch(t){return!0}}var Jr=function(){function t(){}return t.wrap=function(n,i){return void 0===i&&(i="error"),O(n,function(n){return t.sendToBugsnag(n,i)})},t.et=15,t.sendToBugsnag=function(n,i,r){if(!(t.et<=0)){t.et--;var e=n;"string"==typeof e&&(e=new Error(e));var s=Jt(document).fs_uid,o=s?Yt(s):void 0;o&&o.orgId!=dn(window)&&(o=void 0);var u=new Date(1702372764e3).toISOString(),a={projectRoot:window.location.origin,deviceTime:Dt(),inIframe:Yr(),CompiledVersion:"6490df64f8e944fc3c8fda3c5de322d5944a4f82",CompiledTimestamp:1702372764,CompiledTime:u,orgId:dn(window),"userId:sessionId":o?o.userId+":"+o.sessionId:"NA",context:document.location&&document.location.pathname,message:e.message,name:"Recording Error",releaseStage:"production "+u,severity:i,language:Rt(window),stacktrace:Xr(e)||Qr()},c=function(t,n,i){var r=encodeURIComponent(n)+"="+encodeURIComponent(i);t.push(r)},h=[];for(var f in a)c(h,f,a[f]||"");if(r)for(var f in r)c(h,"aux_"+f,Zr(r[f]));var v="https://"+vn(window)+"/rec/except?"+h.join("&");Wr(v,"")||(new Image().src=v)}},t}();function Zr(t){try{var n=typeof t+": "+_t(t);return"function"==typeof t.toString&&(n+=" (toString: "+t.toString()+")"),n}catch(t){return"failed to serialize \""+(null==t?void 0:t.message)+"\""}}var te={};function ne(t,n,i){if(void 0===i&&(i=1),t)return!0;if(te[n]=te[n]||0,te[n]++,te[n]>i)return!1;var r=new Error("Assertion failed: "+n);return Jr.sendToBugsnag(r,"error"),t}var ie={};function re(t,n,i){var r;ie[t]=null!==(r=ie[t])&&void 0!==r?r:0,ie[t]++,ie[t]>1||Jr.sendToBugsnag(n,"error",i)}function ee(t){var n=t.target,i=t.type,r=t.fn,e=t.options;void 0!==r&&null!=n&&("function"==typeof n.addEventListener?n.addEventListener(i,r,e):"function"==typeof n.addListener&&n.addListener(r))}function se(t){var n=t.target,i=t.type,r=t.fn,e=t.options;void 0!==r&&null!=n&&("function"==typeof n.removeEventListener?n.removeEventListener(i,r,e):"function"==typeof n.removeListener&&n.removeListener(r))}function oe(t){t.target&&(se(t),t.target=null,t.fn=void 0)}var ue=function(){function t(){var t=this;this.st=[],this.ot=[],this.ut=!0,this.ct=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t.ut={capture:!0,passive:!0},t.ct={capture:!1,passive:!0}}});window.addEventListener("test",L,n)}catch(t){}}return t.prototype.add=function(t,n,i,r,e){return void 0===e&&(e=!1),this.addCustom(t,n,i,r,e)},t.prototype.addCustom=function(t,n,i,r,e){void 0===e&&(e=!1);var s={target:t,type:n,fn:Jr.wrap(kt(function(t){(e||!1!==t.isTrusted||"message"==n||t._fs_trust_event)&&r(t)})),options:i?this.ut:this.ct,index:this.st.length};return this.st.push(s),ee(s),s},t.prototype.clear=function(){for(var t=0;t0&&c>0)return this.width=a,void(this.height=c)}if(void 0!==n&&this.clientWidth==n.clientWidth&&this.clientHeight==n.clientHeight&&n.width>0&&n.height>0)return this.width=n.width,void(this.height=n.height);r=this.ht(t),this.width=r[0],this.height=r[1]}}return t.prototype.ht=function(t){var n=Se(t,"width",this.clientWidth,this.clientWidth+128);void 0===n&&(n=_e(t,"innerWidth")),void 0===n&&(n=this.clientWidth);var i=Se(t,"height",this.clientHeight,this.clientHeight+128);return void 0===i&&(i=_e(t,"innerHeight")),void 0===i&&(i=this.clientHeight),[n,i]},t}();function Se(t,n,i,r){if(T.matchMedia){var e=i,s=r,o=T.matchMedia(t,"(min-"+n+": "+e+"px)");if(null!=o){if(o.matches&&T.matchMedia(t,"(max-"+n+": "+e+"px)").matches)return e;for(;e<=s;){var u=T.mathFloor((e+s)/2);if(T.matchMedia(t,"(min-"+n+": "+u+"px)").matches){if(T.matchMedia(t,"(max-"+n+": "+u+"px)").matches)return u;e=u+1}else s=u-1}}}}function ke(t,n){return new be(t,n)}var Ae=function(t,n){this.offsetLeft=0,this.offsetTop=0,this.pageLeft=0,this.pageTop=0,this.width=0,this.height=0,this.scale=0;var i=t.document;if(i.body){"pageXOffset"in t?(this.pageLeft=t.pageXOffset,this.pageTop=t.pageYOffset):i.scrollingElement?(this.pageLeft=i.scrollingElement.scrollLeft,this.pageTop=i.scrollingElement.scrollTop):ye(i)?(this.pageLeft=i.body.scrollLeft,this.pageTop=i.body.scrollTop):i.documentElement&&(i.documentElement.scrollLeft>0||i.documentElement.scrollTop>0)?(this.pageLeft=i.documentElement.scrollLeft,this.pageTop=i.documentElement.scrollTop):(this.pageLeft=i.body.scrollLeft||0,this.pageTop=i.body.scrollTop||0),this.offsetLeft=this.pageLeft-n.pageLeft,this.offsetTop=this.pageTop-n.pageTop;var r=0,e=0;try{r=t.innerWidth,e=t.innerHeight}catch(t){return}if(0!=r&&0!=e){this.scale=n.width/r,this.scale<1&&(this.scale=1);var s=n.width-n.clientWidth,o=n.height-n.clientHeight;this.width=r-s/this.scale,this.height=e-o/this.scale}}};function _e(t,n){try{return t[n]}catch(t){return}}function Ee(t){var n=t.tagName;return n?"object"==typeof n?"form":n.toLowerCase():null}var Ce,Te,Ie,xe,Ke=new RegExp("[^\\s]"),je=new RegExp("[\\s]*$");function Me(t){var n=Ke.exec(t);if(!n)return t;for(var i=n.index,r=(n=je.exec(t))?t.length-n.index:0,e="\uFFFF",s=t.slice(i,t.length-r).split(/\r\n?|\n/g),o=0;o0&&i.length<1e4;){var r=i.pop();n(r),delete Ne[r.id],r.node._fs==r.id&&(r.node._fs=0),r.id=0,r.next&&i.push(r.next),r.child&&i.push(r.child)}ne(i.length<1e4,"clearIds is fast")}function Ve(t,n){void 0===n&&(n=1024);try{var i={tokens:[],opath:[],cyclic:Ge(t,n/4)};return Qe(t,n,0,i),i.tokens.join("")}catch(t){return Et(t)}}function Ge(t,n){var i=0;try{T.jsonStringify(t,function(t,r){if(i++>n)throw"break";if("object"==typeof r)return r})}catch(t){return"break"!=t}return!1}var Xe=function(t,n,i){return void 0===i&&(i="..."),t.length<=n?t:t.length<=i.length||n<=i.length?t.substring(0,n):t.substring(0,n-i.length)+i};function Qe(t,n,i,r){if(n<1)return 0;var e=function(t){switch(!0){case function(t){return!(!t||t.constructor!=Date)}(t):return n=t,isNaN(n)?"Invalid Date":n.toUTCString();case function(t){return"object"==typeof Node?t instanceof Node:t&&"object"==typeof t&&t.nodeType>0&&"string"==typeof t.nodeName}(t):return function(t){return t.toString()}(t);case void 0===t:return"undefined";case"object"!=typeof t||null==t:return t;case t instanceof Error:return[t.toString(),t.stack].filter(Boolean).join(",")}var n}(t);if(void 0!==e){var s=function(t,n){var i=T.jsonStringify(t);return i&&"\""==i[0]?Xe(i,n,"...\""):i}(e,n);return"string"==typeof s&&s.length<=n?(r.tokens.push(s),s.length):0}if(r.cyclic){r.opath.splice(i);var o=r.opath.lastIndexOf(t);if(o>-1){var u="";return u="\""+Xe(u,n-2)+"\"",r.tokens.push(u),u.length}r.opath.push(t)}var a=n,c=function(t){return a>=t.length&&(a-=t.length,r.tokens.push(t),!0)},h=function(t){var n=r.tokens.length-1;","===r.tokens[n]?r.tokens[n]=t:c(t)};if(a<2)return 0;if(ft(t)){c("[");for(var f=0;f0;f++){var v=Qe(t[f],a-1,i+1,r);if(a-=v,0==v&&!c("null"))break;c(",")}h("]")}else{c("{");var l=pt(t);for(f=0;f0;f++){var d=l[f],p=t[d];if(!c("\""+d+"\":"))break;if(0==(v=Qe(p,a-1,i+1,r))){r.tokens.pop();break}a-=v,c(",")}h("}")}return n==1/0?1:n-a}var Ye,Je,Ze=function(){function t(){var n=this;this.ft=Jr.wrap(function(){n.vt(),n.lt&&n.lt()}),this.dt=0,this.wt=t.gt++}return t.checkForBrokenSchedulers=function(){return r(this,void 0,Cr,function(){var n,i;return e(this,function(r){switch(r.label){case 0:return!T.requestWindowAnimationFrame||t.yt||(n=Dt())-t.bt<100?[2,!1]:(t.bt=n,t.yt=!0,[4,new Cr(function(t){return T.requestWindowAnimationFrame(window,t)})]);case 1:return r.sent(),i=[],gt(t.St,function(t){var r=t.kt(n);r&&i.push(r)}),[4,Cr.all(i)];case 2:return r.sent(),T.requestWindowAnimationFrame(window,Jr.wrap(function(){t.yt=!1})),[2,!0]}})})},t.stopAll=function(){gt(this.St,function(t){return t.stop()})},t.prototype.At=function(t){this.lt=t},t.prototype.stop=function(){this._t(),delete t.St[this.wt]},t.prototype.Et=function(n){this.dt=Dt()+100+1.5*n,t.St[this.wt]=this},t.prototype.Ct=function(){return null!=t.St[this.wt]},t.prototype.vt=function(){delete t.St[this.wt]},t.prototype.kt=function(t){if(t>this.dt)return Cr.resolve().then(this.ft)["catch"](function(){})},t.St={},t.gt=0,t.yt=!1,t.bt=0,t}(),ts=function(t){function i(n){var i=t.call(this)||this;return i.Tt=n,i.It=-1,i}return n(i,t),i.prototype.start=function(t){var n=this;-1==this.It&&(this.At(function(){t(),n.Et(n.Tt)}),this.It=T.setWindowInterval(window,this.ft,this.Tt),this.Et(this.Tt))},i.prototype._t=function(){-1!=this.It&&(T.clearWindowInterval(window,this.It),this.It=-1,this.At(function(){}))},i}(Ze),ns=function(t){function i(n,i,r){void 0===i&&(i=0);for(var e=[],s=3;sn&&(this.Ot=t-n,this.Ot>1e3&&this.Nt("timekeeper set with future ts"))},t.prototype.Nt=function(t){Ve({msg:t,skew:this.Ot,startTime:this.Pt,wallTime:this.wallTime()},1024)},t}();(Je=Ye||(Ye={})).Indeterminate="indeterminate",Je.Checked="checked",Je.Value="value";var es=function(){function t(t,n){var i;this.rt=t,this.Lt=n,this.Ut=!1,this.Ht={},this.Dt=((i={})[Ye.Checked]={},i[Ye.Indeterminate]={},i[Ye.Value]={},i),this.Bt={},this.Wt=[],this.Ft={},this.zt=!1,this.$t=!1,this.qt={},this.Vt=null,this.t=t.window.document}return t.prototype.start=function(){this.Gt()||(this.Ut=!0)},t.prototype.hookInstance=function(t,n){if("input"===Ee(n))switch(n.type){case"checkbox":case"radio":this.Xt(t,n,"checked");break;default:this.Xt(t,n,"value")}},t.prototype.addInput=function(t){if(t){var n=ze(t);if(n){if("input"===Ee(t)){var i=t;this.Qt(n,i),i.indeterminate&&this.Yt(i,!0)}var r=!1;if(function(t){switch(t.type){case"checkbox":return t.checked!=t.hasAttribute("checked");case"radio":return t.checked||t.hasAttribute("checked");default:return(t.value||"")!=function(t){if("select"!=Ee(t))return t.getAttribute("value")||"";var n=t,i=n.querySelector("option[selected]")||n.querySelector("option");return i&&i.value||""}(t)}}(t)&&(this.Jt(t),r=!0),this.Ut&&(this.Ht[n]={elem:t}),!r)if(as(t)){var e=ss(t);t.checked&&(this.Bt[e]=n)}else this.Zt(n,Ye.Value,us(t))}}},t.prototype.Zt=function(t,n,i){this.Dt[n][t]=i},t.prototype.tn=function(t,n){return this.Dt[n][t]},t.prototype.nn=function(t){for(var n in this.Dt)delete this.Dt[n][t]},t.prototype.Qt=function(t,n){if(this.zt)this.$t&&this.hookInstance(t,n);else{var i="checkbox"===n.type||"radio"===n.type?"checked":"value",r=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,i),e=Object.getOwnPropertyDescriptor(n,i);r&&e&&r!==e&&(this.$t=!0,this.hookInstance(t,n)),this.zt=!0}},t.prototype.rn=function(t,n){void 0===n&&(n=us(t));var i=ze(t);if(!t||!i)return!1;if(as(t)){var r=ss(t);return this.Bt[r]===i!=("true"===n)}return this.tn(i,Ye.Value)!==n},t.prototype.onChange=function(t,n,i){void 0===i&&(i=us(t));var r=ze(t);t&&r&&(n||this.rn(t,i))&&this.Jt(t,n)},t.prototype.onKeyboardChange=function(t){var n,i=function(t){for(var n=t.activeElement;n&&n.shadowRoot;){var i=n.shadowRoot.activeElement;if(!i)return n;n=i}return n}(this.t);i&&("value"in(n=i)||"checked"in n)&&!He(i)&&this.rn(i)&&this.Jt(i,t)},t.prototype.tick=function(){for(var t in this.Ht){var n=this.Ht[t],i=n.elem;if(ze(i))try{delete this.Ht[t];var r=us(i);if(this.rn(i,r))this.Jt(i);else if(n.noFsIdInOption){var e=i;Array.prototype.slice.call(e.options).every(function(t){return ze(t)})&&(n.noFsIdInOption=!1,this.Jt(i))}}finally{this.Ut&&(this.Ht[t]=n)}else delete this.Ht[t],this.nn(t),as(i)&&delete this.Bt[ss(i)]}},t.prototype.stop=function(){for(var t,n=0,i=this.Wt;n0&&s.height>0,u=De(t)?Me(e):e;i.Lt.enqueue({Kind:En.VALUECHANGE,Args:[r,u,n,o]})})}},t.prototype.en=function(t,n){if(this.Ht[t])return!0;if("select"!==Ee(n))return!1;for(var i=n.options,r=0;r-1;var n}var ps,ws,gs,ys,ms="#polyfillshadow";function bs(t,n,i,r){var e;try{var s="invalid: no sanitizers";if(!ne(t.length>0,s))throw s;for(var o=0,u=t;o0&&this._n--,As(this.En.prev)},t.prototype.shift=function(){return this._n>0&&this._n--,As(this.En.next)},t}();function ks(t,n){var i=t.next;n.next=i,n.prev=t,t.next=i.prev=n}function As(t){var n=t.prev,i=t.next;return n.next=i,i.prev=n,t.value}var _s,Es,Cs={timeRemaining:function(){return 1},didTimeout:!1};(Es=_s||(_s={}))[Es.Idle=0]="Idle",Es[Es.Scheduled=1]="Scheduled",Es[Es.Processing=2]="Processing";var Ts=function(){function t(t){void 0===t&&(t=8),this.Cn=t,this.gt=1,this.Tn=_s.Idle,this.In=new Ss,this.xn={},this.Kn=1}return t.prototype.enqueue=function(t,n){var i=this;if(void 0===n&&(n=!1),!(this.Tn===_s.Processing&&this.Kn>16)){var r={id:this.gt++,isCompleted:!1,process:t,depth:this.Kn,store:n};return this.In.push(r),this.jn(),n?function(){return i.Mn(r)}:void 0}re("recursive","deep recursive task found")},t.prototype.Mn=function(t){try{var n=t.id,i=this.xn[n];return i?(delete this.xn[n],[i.result,i.err]):(Is(Cs,t),ne(t.isCompleted,"failed to complete task"),[t.result,t.err])}finally{t.result=void 0,t.err=void 0}},t.prototype.flush=function(){this.Rn(Cs)},t.prototype.jn=function(){this.Tn===_s.Idle&&(this.Tn=_s.Scheduled,this.On())},t.prototype.Rn=function(t){if(this.Tn===_s.Scheduled){var n=0;this.Tn=_s.Processing;for(var i=this.In.first();i&&xs(n,this.Cn,t);)this.Kn=i.depth+1,Is(t,i),i.isCompleted&&(this.In.shift(),!i.store||void 0===i.result&&void 0===i.err||(this.xn[i.id]=i)),i=this.In.first(),n++;this.Tn=_s.Idle,this.Kn=1,this.In.size()>0&&this.jn()}},t}();function Is(t,n){if(!n.isCompleted)try{var i=n.process(t)||{done:!0};i.done&&(n.isCompleted=!0,n.result=i.result)}catch(t){n.isCompleted=!0,n.err=t}}function xs(t,n,i){return t0}var Ks,js=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return n(i,t),i.prototype.On=function(){var t=this;Kr().then(function(){t.Rn(Mr(12))})},i}(Ts),Ms={INPUT:!0,TEXTAREA:!0,NOSCRIPT:!0},Rs=function(){function t(t,n,i,r){this.Pn=t,this.Nn=n,this.Ln=i,this.Un=r,this.Hn=!1,Ne={},Le=1,Ks=new WeakMap,this.In=new js}return t.prototype.setUseTreeWalker=function(t){this.Hn=t},t.prototype.tokenizeNode=function(t,n,i,r,e,s,o){var u=this,a=Be(n),c=Be(i),h=[];return function(n){var i=Le;try{return u.Dn(t,a,c,r,h,e,s,o),!0}catch(t){return Le=i,!1}}()||(h=[]),h},t.prototype.Dn=function(t,n,i,r,e,s,o,u){for(var a,c,h=[{parentMirror:n,nextMirror:i,node:r}],f=function(t,n){return function(i){i&&t.push({parentMirror:n,nextMirror:null,node:i})}};h.length;){var v=h.pop();if(v)if("string"!=typeof v){var l=v.node,d=this.Bn(t,v,e,s,o);if(null!=d&&!(null===(a=d.watchKind)||void 0===a?void 0:a.has(Ce.Exclude))){var p=1===d.type?l.shadowRoot:null,w=!this.Hn&&d.shadowRootType===ms&&window.HTMLSlotElement&&"slot"===d.tag&&l.assignedNodes();if(p||w||ut(l))if(null===(c=d.watchKind)||void 0===c?void 0:c.has(Ce.Defer))u(d.node,Ie.Deferred);else{if(h.push("]"),ot(l,f(h,d)),p)h.push({parentMirror:d,nextMirror:null,node:p});else if(w&&w.length>0){for(var g=[],y=!1,m=0,b=w;m=0;E--)h.push(g[E]);h.push("[","<#assigned-nodes")}}h.push("[")}}}else"<"===v[0]&&++Le,e.push(v)}},t.prototype.Bn=function(t,n,i,r,e){var s,o,u,a,c=n.node,h=n.parentMirror,f=n.nextMirror,l=Ee(c),d=c.nodeName,p=c.nodeType;if("script"===l||8===p)return null;var w=function(t){if(t.constructor===window.ShadowRoot)return ds(t)?"#shadow":ms}(c);if(this.Hn&&w===ms)return null;var g,y,m,b,S,k=function(t,n,i,r){void 0===n&&(n=t.nodeName),void 0===i&&(i=t.nodeType),void 0===r&&(r=Ee(t));var e={id:Le++,node:t,name:n,type:i,tag:r};return Ne[e.id]=e,t._fs=e.id,e}(c,d,p,l);k.shadowRootType=w||(null==h?void 0:h.shadowRootType),h&&(w?(h.shadow=k,k.parent=h):(g=h,m=f,$e(y=k,this.Un.bind(this)),y.parent=g,y.next=m,m&&(y.prev=m.prev,m.prev=y),null==y.next?(y.prev=g.lastChild,g.lastChild=y):y.next.prev=y,null==y.prev?g.child=y:y.prev.next=y)),k.mask=null===(s=k.parent)||void 0===s?void 0:s.mask;try{switch(p){case 3:if(void 0===k.mask&&(k.mask=!k.parent||k.parent.mask),k.mask){var A=ct(c);1===(null==A?void 0:A.nodeType)&&this.Nn.observe(A)}S=null!==(o=c.textContent)&&void 0!==o?o:"";break;case 1:var _=c,E=this.getWatchState(_,d,!!k.shadowRootType,t);if(null!=E){k.watchKind=E;var C=!1;E.has(Ce.Watch)&&(C=!0,null===(u=this.Ln)||void 0===u||u.observe(_)),E.has(Ce.Unmask)&&(k.mask=!1),E.has(Ce.Mask)&&(k.mask=!0),(E.has(Ce.Exclude)||E.has(Ce.Defer))&&(C=!0),C&&this.Nn.observe(_)}b=function(t,n){var i,r,e;if(!v||"output"!==n){var s={};try{if(t.hasAttributes())if(void 0!==t.getAttributeNames)for(var o=0,u=null!==(i=t.getAttributeNames())&&void 0!==i?i:[];o1e3)return null;if(!i||1!=i.nodeType)return null;var r=i;if(getComputedStyle(r).display.indexOf("inline")<0)return r;i=ct(i)}}(t);if(r&&r!==t){this.oi.set(t,i),this.ri(t);var e=this.si.get(r);e||(e=Object.create(null),this.si.set(r,e)),e[i]=i,T.setWindowTimeout(this.rt.window,O(function(){n.ai.unobserve(r),n.ai.observe(r)}),0)}}},i}(Js),to=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return n(i,t),i.prototype.observe=function(t){var n=this;if(t&&1==t.nodeType){var i=t;!function(t){if(t&&Ue(t.node))for(var n=t,i=t.parent;i;i=i.parent){if(no(i)||(i.watchedChildren={}),no(n))for(var r in no(n))delete no(i)[r];if(no(i)[n.id]=n,mt(no(i),2))n=i;else if(bt(no(i),2))break}}(Be(t)),this.rt.measurer.enqueue(function(){n.ri(i)})}},i.prototype.unobserveSubtree=function(t){var n=Be(t);n&&function(t){if(bt(no(t),0)||Ue(t.node))for(var n=no(t)&&bt(no(t),1)||Ue(t.node)?t.id:function(t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))return n}(no(t)),i=n?t.parent:null;i&&no(i)&&no(i)[n];){if(delete no(i)[n],mt(no(i),1)){var r=i.id,e=yt(no(i));for(i=i.parent;i&&no(i)&&no(i)[r];)delete no(i)[r],no(i)[e.id]=e,i=i.parent;break}i=i.parent}}(n)},i.prototype.nodeChanged=function(t){var n=this,i=function(t){var n=[],i=Be(t);if(i)for(var r=[i],e=0;r.length&&++e<1e3;){var s=r.pop();Ue(s.node)&&n.push(s.node),no(s)&>(no(s),function(t){r.push(t)})}else{for(var o=t;o&&!Fe(o);)o=ct(o);o&&Ue(o)&&n.push(o)}return n}(t);this.rt.measurer.enqueue(function(){for(var t=0,r=i;t-1)return h.substring(f)}return h;default:return Hs()}}var Co={},To=function(t,n){void 0===n&&(n=window);try{var i=n.location,r=""+i.origin+i.pathname+i.search,e=Co[r];return e?e.lastIndex=0:(e=new RegExp((s=r,(ge.test(s)?s.replace(we,"\\$&"):s)+"/?(#)"),"g"),Co[r]=e),t.replace(e,"https://fs-currenturl.invalid$1")}catch(n){return re("cleanCSS",n),t}var s},Io=/^data:/i;function xo(t,n){if(Io.test(t))return t;switch(n.source){case"dom":switch(n.type){case"frame":case"iframe":return No(t);default:return Ko(t)}case"event":switch(n.type){case En.AJAX_REQUEST:case En.NAVIGATE:return Ko(t);case En.SET_FRAME_BASE:return No(t);default:return Hs()}case"log":return No(t);case"page":switch(n.type){case"base":return No(t);case"referrer":case"url":return Ko(t);default:return Hs()}case"perfEntry":switch(n.type){case"frame":case"iframe":case"navigation":case"other":return No(t);default:return Ko(t)}default:return Hs()}}function Ko(t){return Lo(Ro,t)}var jo=Ri.DefaultOrgSettings.MaxUrlLength,Mo=io(Ri.DefaultOrgSettings.UrlPrivacyConfig),Ro=io(Ri.DefaultOrgSettings.UrlPrivacyConfig);function Oo(t,n){Mo=io(Ri.DefaultOrgSettings.UrlPrivacyConfig.concat(t)),Ro=io(t),jo=n||Ri.DefaultOrgSettings.MaxUrlLength}function Po(t,n){Jr.sendToBugsnag(t,"error",n)}function No(t){return Lo(Mo,t)}function Lo(t,n){return function(t,n,i,r){void 0===i&&(i=so);for(var e,s,o=lo("",n),u={Hash:[],Host:[],Path:[],QueryParam:[],Query:[]},a=0,c=t;a").replace(Ho,function(t){return xo(t,{source:"log",type:"debug"})})}var Bo,Wo="https://fs-excluded.invalid";function Fo(t){var n,i,r,e,s,o,u,a,c,h,f,v,l,d,p,w;try{for(var g=(Bo={blocklist:{},hasPrefix:!1}).blocklist,y=(null!==(r=null==t?void 0:t.length)&&void 0!==r?r:0)>0?t:Ri.DefaultOrgSettings.AttributeBlocklist,m={},b=0,S=y;bko?(Jr.sendToBugsnag("Ignoring huge text node","warning",{length:i}),""):t.parent&&"style"===t.parent.tag?n:t.mask?Me(n):n}(i,e);t[gs.Text]=f}}},Zo=function(){function t(t,n,i,r,e){var s=this;void 0===i&&(i=function(){}),void 0===e&&(e=function(){}),this.rt=t,this.Pn=n,this.Ln=r,this.fi=e,this.vi=!1,this.li=[],this.di=[],this.pi=[],this.wi=[],this.gi=[],this.yi=!1,this.mi=[],this.bi=[],this.Hn=!1,this.Si=this.rt.window,this.acceptSanitizer(Jo),this.acceptVisitor(this),this.Nn=Js.create(this.rt),this.Un=function(t){s.Nn.unobserveSubtree(t.node),i(t)},this.ki=new Rs(n,this.Nn,this.Ln,this.Un.bind(this)),ne(!this.Pn.onConsentChange,"This is the only consent change listener."),this.Pn.onConsentChange=function(){return s.updateConsent()}}return t.prototype.start=function(t){void 0===t&&(t=this.Si.document),this.En=t,this.vi=!1,this.Hn=!!this.rt.recording.flags().UseTreeWalker,this.ki.setUseTreeWalker(this.Hn);var n=!0;if(h)try{this.Ai()}catch(t){n=!1}if(n){var i=this.Hn?T.mutationObserver:MutationObserver;this._i=new i(this.Ei.bind(this))}},t.prototype.Ei=function(t){for(var n=0,i=t;n0||this.di.length>0){var u=this.Ki(t,i,o),a=u[0],c=u[1];for(var h in c)i.push({Kind:En.MUT_ATTR,Args:c[h],When:t});for(var h in a)i.push({Kind:En.MUT_TEXT,Args:a[h],When:t})}var f=this.li;this.li=[];for(var v=0;v0&&(i.push({Kind:En.DEFERRED_RESOLVED,Args:s([],this.wi),When:t}),this.wi=[]),this.pi.length>0){for(var d=0,p=this.pi;d0)for(var b=0;b0&&(h[m]=p.target,!l.Hn)){var S=!(null==(d=p.target)?void 0:d.shadowRoot)||ds(d.shadowRoot)?null:Be(d.shadowRoot);S&&(h[S.id]=S.node)}break;case"characterData":if((I=Be(p.target))&&!He(p.target,I)){var k=p.target.textContent;if(p.oldValue!==k){var A=[ps.Update,I,void 0,null!=k?k:void 0];bs(l.mi,l.bi,A,function(t){var n;u[m]=[m,null!==(n=t[gs.Text])&&void 0!==n?n:""]})}}break;case"attributes":var _=p.target;if("link"===Ee(_)&&"rel"===p.attributeName&&Ao.test(null!==(e=p.oldValue)&&void 0!==e?e:"")){f(_);break}var E=function(t,n){return void 0===n&&(n=Be(t)),null==n?void 0:n.watchKind}(_),C=l.Pn.isWatched(_);if(Vs(C)>Vs(E)){f(_);break}if(Us.needsToObserve(E,C)){l.Nn.observe(_),(null==C?void 0:C.has(Ce.Watch))&&(null===(s=l.Ln)||void 0===s||s.observe(_));var T=Be(_);T&&(T.watchKind=Us.combineKindsPreservePrivacy(E,C))}var I,x=(void 0===(v=p.attributeNamespace)&&(v=""),(null===v?"":{"http://www.w3.org/1999/xlink":"xlink:","http://www.w3.org/XML/1998/namespace":"xml:","http://www.w3.org/2000/xmlns/":"xmlns:"}[v]||"")+(p.attributeName||"")),K=p.target.getAttribute(x);(I=Be(p.target))&&p.oldValue!=K&&(A=[ps.Update,I,(o={},o[x]=K||"",o),void 0],bs(l.mi,l.bi,A,function(t){var n,i=null!==(n=t[gs.Attrs])&&void 0!==n?n:{};for(var r in i){var e=i[r];_.hasAttribute(r)||(e=null),a[m+" "+r]=[m,r,e]}}))}}catch(t){}},l=this,d=0;d0&&i.push({Kind:En.DEFERRED_MUT_SHADOW,Args:[s,u],When:n},{Kind:En.TIMING,Args:[[xn.Internal,jn.Serialization,Rn.NodeEncoding,n,a]],When:n})},t.prototype.Ri=function(t,n,i,r,e,s){var o=Fe(r)||-1,u=Fe(s)||-1,a=-1===o&&-1===u,c=Dt();window;var h=this.Hi(t,r,e,s);window;var f=Dt()-c;h.length>0&&(i.push({Kind:En.DEFERRED_MUT_INSERT,Args:[o,u,h],When:n},{Kind:En.TIMING,Args:[[xn.Internal,jn.Serialization,a?Rn.DomSnapshot:Rn.NodeEncoding,n,f]],When:n}),this.fi())},t.prototype.Hi=function(t,n,i,r){var e=this;return n&&He(n)?[]:this.ki.tokenizeNode(t,n,r,i,this.mi,this.bi,function(t,n){switch(n){case Ie.Immediate:e.refreshElement(t);break;case Ie.Deferred:e.pi.push(t)}})},t.prototype.Pi=function(t,n,i){var r=i.id;if($e(i,this.Un.bind(this)),n.length>0){var e=n[n.length-1];if(e.Kind==En.MUT_REMOVE)return void e.Args.push(r)}n.push({Kind:En.MUT_REMOVE,Args:[r],When:t})},t.prototype.Ai=function(){var n=this;if(f){var r=Object.getOwnPropertyDescriptor(Node.prototype,"textContent"),e=r&&r.set;if(!r||!e)throw new Error("Missing textContent setter -- not safe to record mutations.");Object.defineProperty(Element.prototype,"textContent",i(i({},r),{set:function(t){try{for(var n=void 0;n=et(this);)this.removeChild(n);if(null===t||""==t)return;var i=(this.ownerDocument||document).createTextNode(t);this.appendChild(i)}catch(n){e&&e.call(this,t)}}}))}this.Di=new is(t.ThrottleMax,t.ThrottleInterval,function(){return new ns(function(){n.yi=!0,n.Ci()}).start()});var s=this.Di.guard(function(t){var n=t.cssText;t.cssText=n});this.Di.open(),this.Bi=Kt(CSSStyleDeclaration.prototype,"setProperty"),this.Bi&&this.Bi.afterSync(function(t){s(t.that)}),this.Wi=Kt(CSSStyleDeclaration.prototype,"removeProperty"),this.Wi&&this.Wi.afterSync(function(t){s(t.that)})},t.prototype.Ci=function(){this.Di&&this.Di.close(),this.Bi&&this.Bi.disable(),this.Wi&&this.Wi.disable()},t.prototype.updateConsent=function(){var t=this;this.En&&st(this.En,function(n){return t.refreshElement(n)})},t.prototype.refreshElement=function(t){Fe(t)&&this.di.push(t)},t.prototype.acceptSanitizer=function(t){this.mi.push(t)},t.prototype.acceptVisitor=function(t){this.bi.push(t)},t.prototype.visit=function(t){},t.prototype.preVisit=function(t){var n=this,i=t.node,r=t.name;if(1===t.type&&!He(i,t)){var e=i;if(e.shadowRoot&&this.ji(e.shadowRoot),"SLOT"===r){var s=Be(i);(null==s?void 0:s.shadowRootType)===ms&&i.addEventListener("slotchange",Jr.wrap(function(t){var r;n.di.push(null!==(r=t.target)&&void 0!==r?r:i)}))}}},t.ThrottleMax=1024,t.ThrottleInterval=1e4,t}(),tu=function(t,n,r){try{if(-1!==PerformanceObserver.supportedEntryTypes.indexOf(t)){var e=new PerformanceObserver(function(t){Cr.resolve().then(function(){n(t.getEntries())})}),s=i({type:t,buffered:!0},r);return e.observe(s),e}}catch(t){}},nu=0,iu=1/0,ru=0;function eu(t){for(var n=0,i=t;n0&&i.addEventListener&&i.removeEventListener&&this.st&&this.st.add(i,"resourcetimingbufferfull",!0,function(){t.Lt.enqueue({Kind:En.RESOURCE_TIMING_BUFFER_FULL,Args:[]})}),this.nr(),this.ir())},t.prototype.onLoad=function(){if(!this.Xi){this.Xi=!0;var t=window.performance;t&&t.timing&&this.rr(Zn.Timing,t.timing,ni.Timing)}},t.prototype.tick=function(){this.nr()},t.prototype.stop=function(){this.st&&this.st.clear(),this.Ji=void 0;var t=[];if(this.Qi.length>0){for(var n=0,i=this.Qi;n300&&(t=t.slice(0,300),this.Lt.enqueue({Kind:En.RESOURCE_TIMING_BUFFER_FULL,Args:[]})),this.nr(),this.On(t),this.rt.taskQueue.flush()},t.prototype.On=function(t){for(var n=this,i=function(t){r.rt.taskQueue.enqueue(function(){return n.er(t)})},r=this,e=0,s=t;e.2)&&(this.rr(Zn.Memory,n,ni.Memory),this.Gi=n.usedJSHeapSize)}}},t.prototype.ir=function(){var t={timeOrigin:Ht.timeOrigin};this.rr(Zn.TimeOrigin,t,ni.TimeOrigin)},t.prototype.er=function(t){switch(t.entryType){case cu:this.sr(),this.rr(Zn.EventTiming,t,ni.EventTiming);break;case su:this.rr(Zn.FirstInput,t,ni.FirstInput);break;case ou:this.rr(Zn.LargestContentfulPaint,t,ni.LargestContentfulPaint);break;case uu:this.rr(Zn.LayoutShift,t,ni.LayoutShift);break;case au:this.rr(Zn.LongTask,t,ni.Measure);break;case hu:this.rr(Zn.Mark,t,ni.Measure);break;case fu:this.rr(Zn.Measure,t,ni.Measure);break;case vu:this.rr(Zn.Navigation,t,ni.Navigation,{name:vu});break;case lu:this.rr(Zn.Paint,t,ni.Measure);break;case du:this.ur(t)}},t.prototype.ur=function(t){if(this.$i){var n=t.initiatorType;(this.zi||"img"!==n&&"image"!==n)&&this.rr(Zn.Resource,t,ni.Resource,{name:n})}},t.prototype.rr=function(t,n,i,r){if(void 0===r&&(r={}),!this.atLimit(t)){for(var e=[t],s=0,o=i;s=this.qi)return!0;this.Vi++}return!1},t.prototype.tr=function(t){if(!this.rt.recording.inFrame){for(var n=window.performance,i=[ri.Performance,n&&!!n.timing,ri.PerformanceEntries,n&&"function"==typeof n.getEntries,ri.PerformanceMemory,n&&!!n.memory,ri.PerformanceObserver,!!window.PerformanceObserver,ri.PerformanceTimeOrigin,n&&!!n.timeOrigin],r=0,e=t;r=n&&(f?e=void 0:(e="_fs_trimmed_values",f=!0)),h[h.length-1]--,e&&e!==Ri.BlockedFieldValue&&s?h.push(T.objectKeys(e).length):a.pop();h[h.length-1]<=0;)h.pop(),a.pop();for(var o=0,u=r;o0&&v!==h.length-1)throw new Error("Property matcher depth out of sync")}return e})}catch(t){Jr.sendToBugsnag(t,"error")}return"[error serializing "+t.constructor.name+"]"}}var bu=function(){function t(t){this.cr=1;var n=[t];t.edges["**"]&&n.push(t.edges["**"]),this.hr=[n]}return t.prototype.vr=function(){if(this.hr.length<=0)return[];var t=this.hr.length-1,n=this.hr[t];return"number"==typeof n?this.hr[t-1]:n},t.prototype.depth=function(){return this.cr},t.prototype.isRedacted=function(t){var n=this.vr();return 0===n.length||t&&!n.some(function(t){return t.term})},t.prototype.push=function(t){var n;this.cr++;var i=this.vr(),r=[];function e(n){n.edges["**"]&&(r.push(n.edges["**"],Su(n)),e(n.edges["**"])),n.edges["*"]&&r.push(n.edges["*"]),n.edges[t]&&r.push(n.edges[t])}for(var s=0,o=i;s0&&this.cr--;var t=this.hr[this.hr.length-1];"number"==typeof t&&t>1?this.hr[this.hr.length-1]--:this.hr.pop()},t}();function Su(t){var n=t.edges["**"];if(!n)throw new Error("Node must have double-wildcard edge.");return bt(t.edges,1)?{id:-n.id,edges:{"**":n}}:t}var ku=function(){function t(t){this.lr=t,this.dr=null}return t.prototype.disable=function(){this.dr&&(this.dr.disable(),this.dr=null)},t.prototype.enable=function(t){var n,i=this,s=nn(t),o=null===(n=null==s?void 0:s._w)||void 0===n?void 0:n.fetch;(o||t.fetch)&&(this.dr=Kt(o?s._w:t,"fetch"),this.dr&&this.dr.afterSync(function(t){var n=t.result;t.result=r(i,void 0,void 0,function(){return e(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this.pr(n,t.args[0],t.args[1])];case 1:case 2:return i.sent(),[3,3];case 3:return[2,n]}})})}))},t.prototype.pr=function(t,n,i){return r(this,void 0,Cr,function(){var s,o,u,a,c,h;return e(this,function(f){switch(f.label){case 0:return s="GET",o="",c=!1,"string"==typeof n?o=n:"url"in n?(o=n.url,s=n.method,u=n.body,a=n.headers,c=!!n.signal):o=""+n,o?(i&&(s=i.method||s,a=Fu(i.headers),u=i.body||u,c=!!i.signal||c),h=function(t){return r(this,void 0,Cr,function(){var n,i,r,s,o,u;return e(this,function(e){switch(e.label){case 0:return e.trys.push([0,6,,7]),[4,t];case 1:switch(n=e.sent(),u=n.ok?Yn.OK:Yn.ERROR,n.type){case"opaque":case"opaqueredirect":u=Yn.OPAQUE;break;case"error":u=Yn.ERROR}if(i=n.headers,r=(i.get("content-type")||"default").split(";")[0],!(["default","text/plain","text/json","application/json"].indexOf(r)>-1))return[2,_u(u,n.status,{headers:i,body:null})];s=null,e.label=2;case 2:return e.trys.push([2,4,,5]),[4,n.clone().text()];case 3:return s=e.sent(),[3,5];case 4:return e.sent(),u=Yn.ABORTED,[3,5];case 5:return[2,_u(u,n.status,{headers:i,body:s})];case 6:return o=e.sent(),[2,_u(u=(a=o)&&"AbortError"===a.name?Yn.ABORTED:Yn.ERROR,0,{headers:{forEach:function(){}},body:void 0})];case 7:return[2]}var a})})}(t),c&&o.search(/\/(?:graph|graphql|gql)/i)>-1?[4,Cr.race([h,Ir(5e3)])]:[3,2]):[2];case 1:f.sent(),f.label=2;case 2:return this.lr.startRequest(s,o,{body:function(){return u},headers:a},h),[2]}})})},t}(),Au=function(){function t(t){this.lr=t,this.wr=new WeakMap}return t.prototype.disable=function(){this.gr&&(this.gr.disable(),this.gr=null),this.yr&&(this.yr.disable(),this.yr=null),this.mr&&(this.mr.disable(),this.mr=null)},t.prototype.br=function(t){var n=this.wr.get(t);if(n)return n;var i={};return this.wr.set(t,i),i},t.prototype.enable=function(t){var n,i,s,o,u=this,a=nn(t),c=(null===(n=null==a?void 0:a._w)||void 0===n?void 0:n.XMLHttpRequest)||t.XMLHttpRequest;if(c){var h=c.prototype;this.gr=null===(i=Kt(h,"open"))||void 0===i?void 0:i.before(function(t){var n=u.br(t.that);n.method=t.args[0],n.url=t.args[1]}),this.mr=null===(s=Kt(h,"setRequestHeader"))||void 0===s?void 0:s.before(function(t){var n=t.that,i=t.args[0],r=t.args[1],e=u.br(n);e.headers||(e.headers=[]),e.headers.push([i,r])}),this.yr=null===(o=Kt(h,"send"))||void 0===o?void 0:o.before(function(t){var n=t.that,i=t.args[0],s=u.br(n),o=s.url,a=s.method,c=s.headers;void 0!==o&&void 0!==a&&(u.wr["delete"](n),u.lr.startRequest(a,o,{headers:Fu(c),body:i},function(t){return r(this,void 0,Cr,function(){var n,i;return e(this,function(r){switch(r.label){case 0:return[4,new Cr(function(n){t.addEventListener("load",function(){return n(Yn.OK)}),t.addEventListener("abort",function(){return n(Yn.ABORTED)}),t.addEventListener("readystatechange",function(){t.readyState===XMLHttpRequest.DONE&&0!==t.status&&(t.status<400?n(Yn.OK):n(Yn.ERROR))}),t.addEventListener("error",function(){t.readyState===t.UNSENT?n(Yn.ABORTED):n(Yn.ERROR)})})];case 1:return n=r.sent(),i=function(t){if(t)return{forEach:function(n){for(var i,r=/([^:]*):\s+(.*)(?:\r\n|$)/g;i=r.exec(t);)n(i[2],i[1])}}}(t.getAllResponseHeaders()),[2,_u(n,t.status,{headers:i,body:function(){return"text"===t.responseType?t.responseText:t.response}})]}})})}(n)))})}},t}();function _u(t,n,i){return{state:t,status:n,data:i}}var Eu,Cu,Tu,Iu,xu,Ku=/^data:/i,ju=function(){function t(t,n){this.rt=t,this.Lt=n,this.hn=!1,this.Sr=new Mu(t,n),this.kr=new Au(this.Sr),this.Ar=new ku(this.Sr)}return t.prototype.isEnabled=function(){return this.hn},t.prototype.start=function(t){t.AjaxWatcher&&(this.hn||(this.hn=!0,this.Lt.enqueue({Kind:En.REC_FEAT_SUPPORTED,Args:[ri.Ajax,!0]}),this.kr.enable(this.rt.window),this.Ar.enable(this.rt.window)))},t.prototype.stop=function(){this.hn&&(this.hn=!1,this.kr.disable(),this.Ar.disable())},t.prototype.tick=function(){this.Sr.tick()},t.prototype.setWatches=function(t){this.Sr.setWatches(t)},t.prototype.initialize=function(t){this.Sr.initialize(t)},t}(),Mu=function(){function t(t,n){this.rt=t,this.Lt=n,this._r=[],this.Er={},this.Cr={},this.Tr=[],this.Ir=0;var i=Ri.DefaultOrgSettings;this.initialize({requests:i.HttpRequestHeadersAllowlist,responses:i.HttpResponseHeadersAllowlist,maxAjaxPayloadLength:i.MaxAjaxPayloadLength})}return t.prototype.Kr=function(t){for(var n=!1,i=!1,r=[],e=[],s=0,o=this._r;s-1}function Ou(t,n,i){return[t.length,Hu(t,n,i)]}function Pu(t,n,i){var r=void 0;return Ru(n)||(r=mu(t,i,n)),[Uu(t),r]}function Nu(t,n){var i=t.byteLength,r=void 0;return Ru(n)||(r="[ArrayBuffer]"),[i,r]}function Lu(t,n,i){return r(this,void 0,Cr,function(){var r,s,o,u,a;return e(this,function(e){switch(e.label){case 0:if(s=(r=t).size,Ru(n))return[2,[s,void 0]];switch(r.type){case"application/json":case"application/vnd.api+json":case"text/plain":return[3,1]}return[3,4];case 1:return e.trys.push([1,3,,4]),[4,r.text()["catch"](function(t){Jr.sendToBugsnag(t,"warning")})];case 2:return(o=e.sent())&&(u=Hu(o,n,i))?[2,[s,u]]:[3,4];case 3:return a=e.sent(),Jr.sendToBugsnag(a,"warning"),[3,4];case 4:return[2,[s,"[Blob]"]]}})})}function Uu(t){try{return T.jsonStringify(t).length}catch(t){}return 0}function Hu(t,n,i){if(!Ru(n))try{return mu(T.jsonParse(t),i,n)}catch(r){return n.length>0&&n.every(function(t){return!0===t})?t.slice(0,i):void 0}}function Du(t,n){switch(t){default:case li.Elide:return!1;case li.Record:return!0;case li.Allowlist:try{return gu(n)}catch(t){return!1}}}function Bu(t,n,i,s){var o;return r(this,void 0,Cr,function(){var r,u,a,c,h,f,v;return e(this,function(e){switch(e.label){case 0:return r="",null===(o=s.headers)||void 0===o||o.forEach(function(n,i){var e=i.toLowerCase(),s=t[e];r+=e+(s?": "+n:"")+"\r\n"}),"function"!=typeof(u=null==s?void 0:s.body)?[3,2]:[4,u()];case 1:return a=e.sent(),[3,3];case 2:a=u,e.label=3;case 3:return[4,Wu(n,a,i)];case 4:return c=e.sent(),h=c[0],f=c[1],v=0!==h||f?Xn.NotEmpty:Xn.Unknown,[2,{headers:r,text:f,size:h,legibility:v}]}})})}function Wu(t,n,i){return void 0===i&&(i=Ri.DefaultOrgSettings.MaxAjaxPayloadLength),r(this,void 0,Cr,function(){var r;return e(this,function(e){if(null==n)return[2,[0,void 0]];switch(typeof n){default:return[2,[-1,Ru(t)?void 0:"[unknown]"]];case"string":return[2,Ou(n,t,i)];case"object":switch(r=n.constructor){case Object:default:return[2,Pu(n,t,i)];case Blob:return[2,Lu(n,t,i)];case ArrayBuffer:return[2,Nu(n,t)];case Document:case FormData:case URLSearchParams:case ReadableStream:return[2,[-1,Ru(t)?void 0:""+r.name]]}}return[2]})})}function Fu(t){return t?ft(t)?{forEach:function(n){for(var i=0,r=t;i-1,!!qu.userAgent.match("CriOS")||"Google Inc."===Vu&&!Gu&&!Xu),Ju=/Firefox/.test(window.navigator.userAgent);function Zu(t){if(!Ju)return!1;var n=window.navigator.userAgent.match(/Firefox\/(\d+)/);return!(!n||!n[1])&&parseInt(n[1],10)0?[Bn.Index,o,s,e]:[Bn.Index,o,s]}}},t.prototype.stop=function(){this.Pr=!1,this.Br.close();for(var t=0,n=this.dn;t-1){if(n.unshift(e),r instanceof CSSStyleSheet)break;i=r}else Jr.sendToBugsnag("Could not find intermediate rule in parent","warning")}return n}var va=function(){function t(t,n,i){this.rt=t,this.ie=n,this.st=i.createChild()}return t.prototype.start=function(){var t=this,n=this.rt.window.document;this.st.addCustom(n,this.ee(),!0,function(n){t.onFullscreenChange(n)}),this.st.addCustom(n,this.se(),!0,function(n){t.onFullscreenError(n)})},t.prototype.stop=function(){this.st&&this.st.clear()},t.prototype.onFullscreenChange=function(t){var n=this.oe();if(n){var i=Fe(n);this.ue,this.ie.enqueue({Kind:En.FULLSCREEN,Args:[i,!0]}),this.ue=i}else this.ue,this.ie.enqueue({Kind:En.FULLSCREEN,Args:[this.ue,!1]}),this.ue=void 0},t.prototype.onFullscreenError=function(t){this.ie.enqueue({Kind:En.FULLSCREEN_ERROR,Args:[]})},t.prototype.oe=function(){var t=this.rt.window.document;return t[k(t,"fullscreenElement")]},t.prototype.ee=function(){return k(this.rt.window.document,"onfullscreenchange").slice(2)},t.prototype.se=function(){return k(this.rt.window.document,"onfullscreenerror").slice(2)},t}(),la=function(){function t(t,n){this.Lt=n,this.St=null,this.ae={};var i=t.window;"customElements"in i&&null!=i.customElements&&"get"in i.customElements&&"whenDefined"in i.customElements&&(this.St=i.customElements)}return t.prototype.start=function(){},t.prototype.stop=function(){},t.prototype.onCustomNodeVisited=function(t){return r(this,void 0,Cr,function(){var n,i;return e(this,function(r){switch(r.label){case 0:if(!this.St)return[2];if(n=t.nodeName.toLowerCase(),Object.prototype.hasOwnProperty.call(this.ae,n))return[2];r.label=1;case 1:return r.trys.push([1,3,,4]),i=!!this.St.get(n),this.ae[n]=i,[4,this.St.whenDefined(n)];case 2:return r.sent(),this.Lt.enqueue({Kind:En.CUSTOM_ELEMENT_DEFINED,Args:[n]}),[3,4];case 3:return r.sent(),[3,4];case 4:return[2]}})})},t}(),da=function(){function t(t,n){this.ce=!1,this.dn=[],this.yn=n,this.wn=t.window,this.ce=pa(this.wn)}return t.prototype.start=function(){this.yn.enqueue({Kind:En.REC_FEAT_SUPPORTED,Args:[ri.HTMLDialogElement,this.ce]}),this.ce&&(this.Sn("show"),this.Sn("showModal"),this.Sn("close"))},t.prototype.stop=function(){this.dn.forEach(function(t){return t.disable()}),this.dn=[]},t.prototype.Sn=function(t){var n=this,i=Kt(this.wn.HTMLDialogElement.prototype,t);null==i||i.afterSync(function(i){var r=Fe(i.that),e="close"!==t,s="showModal"===t;n.yn.enqueue({Kind:En.DIALOG,Args:[r,e,s]})}),i&&this.dn.push(i)},t}(),pa=function(t){return void 0!==t.HTMLDialogElement},wa=function(t){try{return T.elMatches(t,"dialog:modal")}catch(t){return!0}},ga=function(){function t(){}return t.prototype.now=function(){return Date.now()},t}(),ya=function(){function t(t,n,i,r){void 0===i&&(i=n),void 0===r&&(r=new ga),this.he=t,this.fe=n,this.ve=r,this.le=r.now(),this.de=i}return t.prototype.hasCapacityFor=function(t){var n=this.ve.now(),i=(n-this.le)*this.he;return this.de=Math.min(this.fe,this.de+i),this.le=n,this.de>=t?(this.de-=t,[!0,0]):[!1,(t-this.de)/this.he]},t}(),ma=new ya(2,2e5),ba=new Set(["measureText","getImageData","getError","getTransform","isContextLost","isEnabled","isFramebuffer","isProgram","isRenderbuffer","isShader","isTexture"]),Sa=new Set(["fillText"]),ka=function(){function t(t,n,i,r){this.Lt=n,this.Ji=i,this.Fi=r,this.pe=Bi.CaptureCanvasOps,this.we=[],this.ge=[],this.ye=new WeakMap,this.me=new WeakMap,this.be=new Set,this.Se=0,this.ke=new WeakMap,this.Ae=!1,this._e=new WeakMap,this.Ee=new Set,this.Ce=new WeakMap,this.Te=new WeakMap,this.Ie=1,this.xe=new WeakMap,this.Ke=1,this.je=new WeakMap,this.Me=0,this.Re=!1}return t.prototype.start=function(t){var n,i=this;if(t.CanvasWatcherMode&&(this.Lt.enqueue({Kind:En.REC_FEAT_SUPPORTED,Args:[ri.CanvasWatcherEnabled,!0,ri.CanvasScreenShotMode,t.CanvasWatcherMode===Bi.ScreenshotCanvas]}),this.Ae=!0,this.pe=null!==(n=t.CanvasWatcherMode)&&void 0!==n?n:Bi.CaptureCanvasOps,this.dr("2d",CanvasRenderingContext2D),this.dr("webgl",WebGLRenderingContext),this.pe===Bi.ScreenshotCanvas)){if(!HTMLCanvasElement.prototype.toDataURL)return;this.Se=setInterval(function(){return i.screenshotConnectedCanvases()},1e3)}},t.prototype.Oe=function(t,n){return"object"!=typeof n?[void 0,0]:(this.xe.has(n)||this.xe.set(n,[t,this.Ke++]),this.xe.get(n))},t.prototype.dr=function(t,n){var i=this;if(n)for(var r=n.prototype,e=function(e){if(ba.has(e))return"continue";var o=Object.getOwnPropertyDescriptor(r,e);if("function"==typeof(null==o?void 0:o.value)){var u=Kt(r,e);u&&(u.afterSync(function(n){return i.Pe(t,e,n.that,n.args,n.result)}),s.we.push(u))}else"function"==typeof(null==o?void 0:o.set)&&s.ge.push(jt(n,e,s.Ne(t,e)))},s=this,o=0,u=Object.keys(r);o0){var s=n;if(!s){var o=t instanceof HTMLCanvasElement?Be(t):void 0,u=t instanceof HTMLCanvasElement&&Ot(t);s=null!==(i=null==o?void 0:o.mask)&&void 0!==i?i:u}this.Be(t,r,e,s)}return this.je["delete"](t),r}},t.prototype.We=function(t,n,i,r,e,s,o){var u;switch(typeof r){case"string":return e?Me(r):r;case"number":case"boolean":case"bigint":return r;case"undefined":return{undef:!0};case"object":if(!r)return r;try{o.set(r,!0)}catch(t){}var a=null===(u=Object.getPrototypeOf(r))||void 0===u?void 0:u.constructor,c=(null==a?void 0:a.name)||function(t){var n;if(t){var i=t.toString(),r=_a.exec(i);return r||(r=Ea.exec(i)),null===(n=null==r?void 0:r[1])||void 0===n?void 0:n.trim()}}(a),h={ctor:c};if(r instanceof Node&&(l=Fe(r)))return h.id=l,h;switch(c){case"Array":return this.Me+=r.length,this.Fe(t,n,i,r,e,s,o);case"CanvasGradient":return h;case"HTMLImageElement":var f=xo(r.src,{source:"dom",type:"canvas"});return this.Fi.record(f),h.src=f,h;case"HTMLCanvasElement":var v=r,l=this.flush(v,e);return h.srcId=l,h}if(function(t){var n;return!!(null===(n=Object.prototype.toString.call(t))||void 0===n?void 0:n.match(Aa))}(r))return this.xe.has(r)?this.ze(r,h,e):(h.typedArray="["+r.toString()+"]",this.Me+=r.length,h);if("object"==typeof r&&this.xe.has(r))return this.ze(r,h,e);if(r instanceof WebGLBuffer||r instanceof WebGLTexture){var d=void 0;switch(s){case"bindTexture":d=this.$e(t,"createTexture",n,i,r);break;case"bindBuffer":d=this.$e(t,"createBuffer",n,i,r)}if(void 0!==d)return this.ze(r,h,e)}var p=r;for(var w in h.obj={},p){try{switch(typeof p[w]){case"function":continue;case"object":if(p[w]&&o.has(p[w]))continue}}catch(t){continue}++this.Me,h.obj[w]=this.We(t,n,i,p[w],e,s,o)}return h;default:return null}},t.prototype.ze=function(t,n,i){var r=this.xe.get(t),e=r[0],s=r[1];return this.flush(e,i),n.ref=s,delete n.ctor,n},t.prototype.$e=function(t,n,i,r,e){var s=this.Oe(i,e),o=(s[0],s[1]);return this.qe(r,[[t,Hi.Function,n,[],o]]),o},t.prototype.Fe=function(t,n,i,r,e,s,o){var u=this;return void 0===o&&(o=new WeakMap),this.Me+=r.length+1,r.map(function(r){return u.We(t,n,i,r,e,s,o)})},t.prototype.Be=function(t,n,i,r){var e=this;if(void 0===r&&(r=!1),!this.Re){var s=i.map(function(i){var s=i[0],o=i[1],u=i[2],a=i[3],c=i[4];return[s,o,u,e.Fe(s,t,n,a,r&&Sa.has(u),u),c]});if(!this.ye.has(t)&&(this.ye.set(t,!0),i.some(function(t){return"2d"===t[0]}))){var o=function(t){var n=t.getContext("2d");if(!n)return[];var i=[];if((n instanceof CanvasRenderingContext2D||window.OffscreenCanvasRenderingContext2D&&n instanceof OffscreenCanvasRenderingContext2D)&&"function"==typeof n.getTransform){var r=n.getTransform();if(!r.isIdentity){var e=r.a,s=r.b,o=r.c,u=r.d,a=r.e,c=r.f;i.push(["2d",Hi.Function,"transform",[e,s,o,u,a,c],-1])}}return i}(t);if(o.length>0)return o.push.apply(o,s),void this.qe(n,o)}this.qe(n,s)}},t.prototype.qe=function(t,n){if(!this.Re){var i=ma.hasCapacityFor(this.Me),r=i[0];i[1],this.Me=0,r?this.Lt.enqueue({Kind:En.CANVAS,Args:[t,n]}):this.Re=!0}},t.prototype.Ve=function(t,n){t instanceof HTMLCanvasElement&&(this.pe===Bi.ScreenshotCanvas?(this.me.set(t,!0),this.be.add(t)):this.Le(t,n))},t.prototype.Pe=function(t,n,i,r,e){for(var s=[],o=0;or&&t.Ue(n)})}catch(t){Jr.sendToBugsnag(t,"error")}},t.prototype.Qe=function(t){var n=Fe(t);if(n){var i=Be(t),r=this._e.get(t);r&&0!==r.length&&(this.Be(t,n,r,!!(null==i?void 0:i.mask)),this.Ue(t))}},t}(),Aa=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,_a=/^\[object ([^\]]+?)(?:Constructor)?\]/,Ea=/^function ([^(]+)/,Ca=/^\s*at .*(\S+:\d+|native|())/m,Ta=/^(eval@)?(\[native code\])?$/;function Ia(t,n,i,r,e){return[n||"",t(i||""),parseInt(r||"-1",10),parseInt(e||"-1",10)]}function xa(t){if(!t||-1===t.indexOf(":"))return["","",""];var n=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(t.replace(/[()]/g,""));return n?[n[1]||"",n[2]||"",n[3]||""]:["","",""]}var Ka=["_fs_debug","assert","debug","error","info","log","trace","warn"],ja=Ka.filter(function(t){return!/debug/.test(t)});function Ma(t,n){return Do(dt(t)?t.slice(0,n):Ve(t,n))}function Ra(t,n){return s([(n?n+" ":"")+Ma(function(t){if(lt(t)){try{if("function"==typeof t.toString)return t.toString()}catch(t){}return t.message}}(t.error)||t.message,1e3),Ma(t.filename,100),lt(t.lineno)?-1:t.lineno],function(t,n){if(!lt(n)||!dt(n.stack))return[];var i=n;return i.stack.match(Ca)?function(t,n){return n.split("\n").filter(function(t){return!!t.match(Ca)}).map(function(n){var i=n;i.indexOf("(eval ")>-1&&(i=i.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var r=i.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/\(native code\)/,"").split(/\s+/).slice(1),e=xa(r.pop()),s=r.join(" "),o=["eval",""].indexOf(e[0])>-1?"":e[0];return Ia(t,s,o,e[1],e[2])})}(t,i.stack):function(t,n){return n.split("\n").filter(function(t){return!t.match(Ta)}).map(function(n){var i=n;if(i.indexOf(" > eval")>-1&&(i=i.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===i.indexOf("@")&&-1===i.indexOf(":"))return[i,"",-1,-1];var r=i.split("@"),e=xa(r.pop()),s=r.join("@");return Ia(t,s,e[0],e[1],e[2])})}(t,i.stack)}(Do,t.error))}var Oa,Pa,Na,La,Ua=function(){function t(t,n,i){this.Lt=n,this.hn=!1,this.Ye=!1,this.Je=0,this.dn=[],this.Ze=Ri.DefaultOrgSettings.MaxConsoleLogPerPage,this.Si=t.window,this.st=i.createChild()}return t.prototype.initializeMaxLogsPerPage=function(t){this.Ze=t||Ri.DefaultOrgSettings.MaxConsoleLogPerPage},t.prototype.ts=function(){return"\"[received more than "+this.Ze+" messages]\""},t.prototype.start=function(t){var n=this;if(t.ConsoleWatcher&&(this.st.add(this.Si,"error",!0,function(t){return n.ns(t)}),this.st.add(this.Si,"unhandledrejection",!0,function(t){var i,r="";t.reason instanceof Error?i=t.reason:r=Ve(t.reason,1e3),n.ns({error:i,message:r,filename:"",lineno:0},"Uncaught (in promise)")},!0),!this.hn))if(this.hn=!0,this.Lt.enqueue({Kind:En.REC_FEAT_SUPPORTED,Args:[ri.Console,!0]}),this.Si.console)for(var i=function(t){var i=Kt(r.Si.console,t);if(!i)return"continue";"assert"===t?i.before(function(i){var r=i.args;r[0]||n.rs(t,Array.prototype.slice.apply(r,[1]))}):i.before(function(i){var r=i.args;return n.rs(t,r)}),r.dn.push(i)},r=this,e=0,s=ja;e0){var s=Dt()-r;e.push({Kind:En.TIMING,Args:[[xn.Internal,jn.Serialization,Rn.ProcessMut,n,s]],When:n})}for(var o=0,u=t.Ss;o5e5)return!1;var i=$u(zu(t));return!!i&&(!!("style"===Ee(t)&&i.length>0&&oa.test(n))||function(t){var n;try{if((null===(n=t.classList)||void 0===n?void 0:n.contains("fs-css-in-js"))||t.hasAttribute("data-fela-type")||t.hasAttribute("data-aphrodite"))return!0}catch(t){Jr.sendToBugsnag(t,"error")}return!1}(t))}(u)&&(c.snapshotEl(u),"link"===s&&this.st.add(u,"load",!1,function(){c.snapshotEl(u)}));break;case"BODY":this.Xs(),this.$s();break;case"FRAME":case"IFRAME":this.os(r)}},t.prototype.visit=function(t){var n=t[0],i=t[1],r=t[2];this.Ys(n,i),this.Js(n,i,r)},t.prototype.Ys=function(t,n){var i=this,r=n.node,e=n.name,s=n.type;if(t===ps.New&&10!==s){switch(e){case"VIDEO":case"AUDIO":r.paused||this.Lt.enqueue({Kind:En.PLAY,Args:[Fe(r)]});break;case"DIALOG":var o=r;o.open&&this.Lt.enqueue({Kind:En.DIALOG,Args:[Fe(o),!0,wa(o)]});break;case"CANVAS":this.Ss[Oa.Canvas].flush(r);break;default:e&&"#"!==e[0]&&e.indexOf("-")>-1&&this.Ss[Oa.CustomElement].onCustomNodeVisited(r)}"scrollLeft"in r&&"scrollTop"in r&&this.rt.measurer.enqueue(function(){var t=r;0==t.scrollLeft&&0==t.scrollTop||i.Hs(t)})}},t.prototype.Js=function(t,n,i){var r=this,e=n.node,s=n.tag;if(1===n.type&&i&&!function(t,n){return void 0===n&&(n=Be(t)),He(t,n)||De(t,n)}(e)){var o="unknown";"link"===s&&Ha.test(i.rel)?o="css":Da.test(null!=s?s:"")&&(o="img");var u=function(t,n,i){for(var r,e,s=[],o=0,u=za;o-1&&s.push(i.href),("img"===t||"source"===t)&&(e=i.srcset)&&null==e.match(/^\s*$/))for(var c=0,h=e.split(",");c0&&this.rt.taskQueue.enqueue(function(){return r.Zs(u,!1,o)})}else this.rt.taskQueue.enqueue(function(){return r.Zs(u,!0,o)})}},t.prototype.Un=function(t){var n,i=t.id,r=t.node;switch(t.name){case"#document":case"#document-fragment":delete this.ps[i];break;case"IFRAME":this.us(t.node);break;case"LINK":case"STYLE":var e=r.sheet;e&&this.Ss[Oa.StyleSheet].removeHook(e);break;case"INPUT":case"TEXTAREA":case"SELECT":var s=r;this.Ss[Oa.Input].removeInput(s)}if("function"==typeof r.getElementsByTagName)for(var o=null!==(n=r.getElementsByTagName("iframe"))&&void 0!==n?n:[],u=0;u0)return i[0]}}return t.target}function qa(t){var n;return!!(null!==(n=t._fs_trust_event)&&void 0!==n&&n||t.isTrusted)}function Va(t){var n=$a(t);return!!Fe(n)&&!He(n)}var Ga,Xa,Qa=function(){function t(t,n){this.ie=t,this.uo=n,this.ao=[],this.co=0}return t.prototype.add=function(t){this.ao.length>0&&this.ao[this.ao.length-1].When===t.When&&this.ao.pop(),0===this.ao.length?(this.ie.push(t),this.co=t.When):t.When>this.co&&(this.co=t.When),this.ao.push(t)},t.prototype.finish=function(t,n){void 0===n&&(n=[]);var i=this.ao.length;if(i<=1)return!1;for(var r=[],e=this.ao[0].When,o=this.ao[i-1].When,u=o-e!=0?o-e:1,a=0;a-1&&(s.push(a.Selector),s.push(a.Selector+" *"))}var c=s.join(", ");Ds(c)?this.po=[c]:this.po=s}return t.prototype.wo=function(t){var n=this["do"].get(t);if(void 0!==n)return n;for(var i=0,r=this.po;i=this.vo){var a=this.rt.recording.getCurrentSessionURL;!function(t,n){var i,r="fullstory/rageclick";try{i=new CustomEvent(r,{detail:n,bubbles:!0,cancelable:!0})}catch(t){(i=document.createEvent("customevent")).initCustomEvent(r,!0,!0,n)}T.setWindowTimeout(window,Jr.wrap(function(){t.dispatchEvent(i)}),0)}(r,{eventStartTimeStamp:this.fo.first(),eventEndTimeStamp:i,eventReplayUrlAtStart:a(),eventReplayUrlAtCurrentTime:a(!0)}),this.vo=Ga.defaultRageThreshold,this.fo=new Ss}}}}}},t}(),Ja=function(){function t(t){this.rt=t,this.yo=this.rt.time.wallTime(),this.mo=!1}return t.prototype.getLastUserActivityTS=function(){return this.yo},t.prototype.getMsSinceLastUserActivity=function(){return T.mathFloor(this.rt.time.wallTime()-this.yo)},t.prototype.resetUserActivity=function(){this.yo=this.rt.time.wallTime()},t.prototype.isHibernating=function(){return this.mo},t.prototype.setHibernating=function(){this.mo=!0},t}(),Za=function(){function t(t,n,i,r){void 0===r&&(r=ns),this.rt=t,this.bo=n,this.Lt=i,this.So=!1,this.ko=!1,this.Ao=new r(this._o.bind(this),Ri.HeartbeatInterval),this.Eo=new r(this.Co.bind(this),Ri.PageInactivityTimeout)}return t.prototype.getUserActivityModel=function(){return this.bo},t.prototype.manualHibernateCheck=function(){this.bo.isHibernating()||this.bo.getMsSinceLastUserActivity()>=Ri.PageInactivityTimeout+5e3&&this.Co()},t.prototype.scanEvents=function(t){if(!this.So){this.manualHibernateCheck();for(var n=!1,i=0,r=t;ithis.Lo?n:this.Lo}try{return this.No++,t(this.Lo)}finally{this.No--,this.No<0&&(this.No=0)}},t.prototype.enqueue=function(t){var n=this.No>0?this.Lo:this.rt.time.now();this.Fo(n,t),Ze.checkForBrokenSchedulers()},t.prototype.Fo=function(t,n){var i;if(!this.Po){var r=t;r0){var n=t;n.When=this.yn[0].When,this.yn.unshift(n)}else this.enqueue(t)},t.prototype.addUnload=function(t){this.Uo||(this.Uo=!0,this.enqueue({Kind:En.UNLOAD,Args:[t]}),this.singSwanSong(t))},t.prototype.shutdown=function(t){this.addUnload(t),this.zo(),this.Po=!0,this.$o()},t.prototype.zo=function(){this.processEvents(),this.xo.flush()},t.prototype.singSwanSong=function(t){this.Po||(window,this.zo(),t===Vn.Hidden&&this.Uo||this.xo.singSwanSong(),window)},t.prototype.rebaseIframe=function(t,n){for(var i=Math.max(0,n),r=this.rt.time.startTime(),e=function(n){var e=r+n-t;return e>=i?e:i},s=0,o=this.yn;s0){var f=h[h.length-1].Args[2];f&&(h[0].Args[9]=f)}}for(var v in s)s[l=parseInt(v,10)].finish(En.SCROLL_LAYOUT_CURVE,[l]);for(var v in o)o[l=parseInt(v,10)].finish(En.SCROLL_VISUAL_OFFSET_CURVE,[l]);for(var v in e){var l;e[l=parseInt(v,10)].finish(En.TOUCHMOVE_CURVE,[l])}return n&&n.finish(En.RESIZE_VISUAL_CURVE),i}(n);t||(i=i.concat(this.Ko())),this.qo(i),this.sendEvents(this.rt.recording.pageSignature(),i)}},t.prototype.sendEvents=function(t,n){var i;0!=n.length&&(null===(i=this.Bo)||void 0===i||i.scanEvents(n),this.xo.enqueueEvents(t,n))},t.prototype.onHibernate=function(t){t||this.zo(),this.xo.singSwanSong(),this.xo.stopPipeline()},t.prototype.qo=function(t){if(this.Mo)for(var n=this.Ro,i=n&&n.length>0,r=0;r>>0).toString(16)).slice(-8);return t},t}();function ic(t){var n=new nc(1);return n.writeAscii(t),n.sumAsHex()}function rc(t){var n=new Uint8Array(t);return ec(String.fromCharCode.apply(null,n))}function ec(t){var n;return(null!==(n=window.btoa)&&void 0!==n?n:sc)(t).replace(/\+/g,"-").replace(/\//g,"_")}function sc(t){for(var n=String(t),i=[],r=0,e=0,s=0,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.charAt(0|s)||(o="=",s%1);i.push(o.charAt(63&r>>8-s%1*8))){if((e=n.charCodeAt(s+=3/4))>255)throw new Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");r=r<<8|e}return i.join("")}function oc(t,n,i,s){return void 0===s&&(s=new nc),r(this,void 0,Cr,function(){var r,o,u,a;return e(this,function(e){switch(e.label){case 0:r=t.now(),o=i.byteLength,u=0,e.label=1;case 1:return u25?[4,n(100)]:[3,3]:[3,5];case 2:e.sent(),r=t.now(),e.label=3;case 3:a=new Uint8Array(i,u,Math.min(o-u,1e4)),s.write(a),e.label=4;case 4:return u+=1e4,[3,1];case 5:return[2,{hash:s.sum(),hasher:s}]}})})}var uc=6e6,ac="resource-uploader",cc=function(){function t(t,n,i,r,e){void 0===r&&(r=window.FormData),void 0===e&&(e=ns),this.rt=t,this.Lt=n,this.Vo=i,this.Go=r,this.Xo=e,this.Ae={},this.Qo={},this.Yo=!1,this.Jo=[]}return t.prototype.init=function(){this.Go&&this.Zo()["catch"](function(t){Jr.sendToBugsnag(t,"error")})},t.prototype.Zo=function(){return r(this,void 0,Cr,function(){var t,n,i,r,s,o,u,a,c,h,f,v,l,d,p,w,g,y,m,b,S,k,A,_;return e(this,function(e){switch(e.label){case 0:t=this.rt.options.orgId,e.label=1;case 1:return[4,this.tu()];case 2:for(n=e.sent(),i={fsnv:{},sha1:{}},r={},s=0,o=n;suc){var r=xo(t,{source:"log",type:"bugsnag"});return Jr.sendToBugsnag("Size of blob resource exceeds limit","warning",{url:r,MaxResourceSizeBytes:uc}),void i(null)}fc(n).then(function(t){i(t?{buffer:t,blob:n,contentType:n.type}:null)})},e.send(),r)}function fc(t){var n=Tr(),i=n.resolve,r=n.promise,e=new FileReader;return e.readAsArrayBuffer(t),e.onload=function(){i(e.result)},e.onerror=function(t){Jr.sendToBugsnag(t,"error"),i(null)},r}function vc(t,n){var i,s;return r(this,void 0,Cr,function(){var r;return e(this,function(e){switch(e.label){case 0:return r=t.window,(null===(s=null===(i=r.crypto)||void 0===i?void 0:i.subtle)||void 0===s?void 0:s.digest)?[4,r.crypto.subtle.digest({name:"sha-1"},n)]:[3,2];case 1:return[2,{hash:rc(e.sent()),algorithm:"sha1"}];case 2:return[4,oc(t.time,Ir,n)];case 3:return[2,{hash:e.sent().hash,algorithm:"fsnv"}]}})})}var lc=/^data:([^;,]*)(;?charset=[^;]+)?(?:;base64)?$/i,dc="Could not parse data url",pc=function(){function t(t,n,i){void 0===i&&(i=new wc),this.rt=t,this.ie=n,this.eu=i}return t.prototype.initialize=function(t){var n;if(t){this.su(t);var i=null===(n=this.rt.window.location)||void 0===n?void 0:n.href;this.onNavigate(i)}},t.prototype.onNavigate=function(t){return!!this.eu.matches(t)&&(this.ie.enqueue({Kind:En.KEEP_URL,Args:[xo(t,{source:"page",type:"base"})]}),!0)},t.prototype.onClick=function(t){var n;return!!(null===(n=null==t?void 0:t.watchKind)||void 0===n?void 0:n.has(Ce.Keep))&&(this.ie.enqueue({Kind:En.KEEP_ELEMENT,Args:[t.id]}),!0)},t.prototype.urlMatches=function(t){return this.eu.matches(t)},t.prototype.su=function(t){this.eu.setRules(t)},t}(),wc=function(){function t(){this.ou=null}return t.prototype.setRules=function(t){var n=t.map(function(t){return t.Regex}).filter(gc);n.length>0&&(this.ou=function(t){try{return new RegExp("("+t.join(")|(")+")","i")}catch(n){return Jr.sendToBugsnag("Browser rejected joining UrlKeep.Regexs","error",{exprs:t,error:n.toString()}),null}}(n))},t.prototype.matches=function(t){return!!this.ou&&this.ou.test(t)},t}();function gc(t){try{return new RegExp(t),!0}catch(n){return Jr.sendToBugsnag("Browser rejected UrlKeep.Regex","error",{expr:t,error:n.toString()}),!1}}Fi.RequestFrameId,Fi.EvtBundle;var yc=function(t){var n=(void 0===t?{}:t).wnd,i=void 0===n?window:n;!function(t,n,i,r,e,s,o,u){var a,c;function h(t){var n,i=[];function r(){n&&(i.forEach(function(t){var i;try{i=t[n[0]]&&t[n[0]](n[1])}catch(n){return void(t[3]&&t[3](n))}i&&i.then?i.then(t[2],t[3]):t[2]&&t[2](i)}),i.length=0)}function e(t){return function(i){n||(n=[t,i],r())}}return t(e(0),e(1)),{then:function(t,n){return h(function(e,s){i.push([t,n,e,s]),r()})}}}i in t&&(t.console&&t.console.log&&t.console.log("FullStory namespace conflict. Please set window[\"_fs_namespace\"]."),1)||(o=t[i]=function(){var t=function(t,i,r,e){function s(s,o){n(t,i,r,s,o,e)}e=e||2;var o,u=/Async$/;return u.test(t)?(t=t.replace(u,""),"function"==typeof Promise?new Promise(s):h(s)):n(t,i,r,o,o,e)};function n(n,i,r,e,s,o){return t._api?t._api(n,i,r,e,s,o):(t.q&&t.q.push([n,i,r,e,s,o]),null)}return t.q=[],t}(),function(){function t(){}function n(t,n,i){o(t,n,i,1)}function i(t,i,r){n("setProperties",{type:t,properties:i},r)}function r(t,n){i("user",t,n)}function e(t,n,i){r({uid:t},i),n&&r(n,i)}o.identify=e,o.setUserVars=r,o.identifyAccount=t,o.clearUserCookie=t,o.setVars=i,o.event=function(t,i,r){n("trackEvent",{name:t,properties:i},r)},o.anonymize=function(){e(!1)},o.shutdown=function(){n("shutdown")},o.restart=function(){n("restart")},o.log=function(t,i){n("log",{level:t,msg:i})},o.consent=function(t){n("setIdentity",{consent:!arguments.length||t})}}(),a="fetch",c="XMLHttpRequest",o._w={},o._w[c]=t[c],o._w[a]=t[a],t[a]&&(t[a]=function(){return o._w[a].apply(this,arguments)}),o._v="2.0.0")}(i,i.document,i._fs_namespace,0,i._fs_script)};function mc(t,n){if(t&&t.postMessage)try{t.postMessage(function(t){var n;return _t(((n={}).__fs=t,n))}(n),"*")}catch(t){re("postMessage",t)}}function bc(t){try{var n=Tt(t);if("__fs"in n)return n.__fs}catch(t){}return[Fi.Unknown]}function Sc(t,n,i,r){var e=gn(t);if(!e)return!1;try{e.send(n,i,r)}catch(t){e.send(n,i)}return!0}var kc=new RegExp(/^\s+$/),Ac=/^fb\d{18}$/,_c=function(t){var n=t.frame,i=t.orgId,r=t.scheme,e=t.script,s=t.recHost,o=t.cdnHost,u=t.appHost,a=t.namespace,c=(t.desc,t.snippetVersion);try{if(function(t){return t.id==t.name&&Ac.test(t.id)}(n))return Pn.BlocklistedFrame;if(function(t){return!(t.contentDocument&&t.contentWindow&&t.contentWindow.location)||function(t){return!!t.src&&"about:blank"!=t.src&&t.src.indexOf("javascript:")<0}(t)&&t.src!=t.contentWindow.location.href&&"loading"==t.contentDocument.readyState}(n))return Pn.PartiallyLoaded;var h=n.contentWindow,f=n.contentDocument;if(!h||!f)return Pn.MissingWindowOrDocument;if(!f.head)return Pn.MissingDocumentHead;if(!f.body||!ut(f.body))return Pn.MissingBodyOrChildren;for(var v=!1,l=et(f.body);l;l=at(l)){switch(l.nodeType){case 1:if("SCRIPT"===l.tagName)continue;break;case 3:var d=l.textContent;if(null===d||kc.test(d))continue;break;case Node.COMMENT_NODE:continue}v=!0;break}if(!v)return Pn.NoNonScriptElement;if(nn(h))return Pn.AlreadyDefined;var p=h;return p._fs_org=i,p._fs_script=e,p._fs_rec_host=s,p._fs_rec_settings_host=o,p._fs_app_host=u,p._fs_run_in_iframe=!0,p._fs_namespace=a,p._fs_transport=function(t){return{send:function(n,i,r){if(void 0!==t.parent){var e=nn(t.parent);void 0!==e&&"function"==typeof e._withRecorder&&e._withRecorder(r,function(e){try{e.onMessageReceived(t,[n,T.jsonParse(i),r])}catch(t){t instanceof SyntaxError&&Jr.sendToBugsnag(t,"error",{msg:"Received invalid JSON"})}})}}}}(p),function(t,n,i,r,e,s){/^2\./.test(s)?yc({wnd:t}):function(t){var n,i,r,e,s,o=(void 0===t?{}:t).wnd,u=void 0===o?window:o;n=u,u.document,i=u._fs_namespace,r="user",i in n?n.console&&n.console.log&&n.console.log("FullStory namespace conflict. Please set window[\"_fs_namespace\"]."):((e=n[i]=function(t,n,i){e.q?e.q.push([t,n,i]):e._api(t,n,i)}).q=[],e.identify=function(t,n,i){e(r,{uid:t},i),n&&e(r,n,i)},e.setUserVars=function(t,n){e(r,t,n)},e.event=function(t,n,i){e("event",{n:t,p:n},i)},e.anonymize=function(){e.identify(!1)},e.shutdown=function(){e("rec",!1)},e.restart=function(){e("rec",!0)},e.log=function(t,n){e("log",[t,n])},e.consent=function(t){e("consent",!arguments.length||t)},e.identifyAccount=function(t,n){(n=n||{}).acctId=t,e("account",n)},e.clearUserCookie=function(){},e.setVars=function(t,n){e("setVars",[t,n])},e._w={},s="XMLHttpRequest",e._w[s]=n[s],s="fetch",e._w[s]=n[s],n[s]&&(n[s]=function(){return e._w[s].apply(this,arguments)}),e._v="1.3.0")}({wnd:t});var o=n.createElement("script");o.async=!0,o.crossOrigin="anonymous",o.src=i+"//"+r,"testdrive"==e&&(o.src+="?allowMoo=true"),n.head.appendChild(o)}(p,f,r,e,i,c),Pn.Successful}catch(t){return Pn.Exception}};function Ec(t){var n=""+Fe(t);return t.id&&(n+="#"+t.id),n+"[src="+xo(t.src,{source:"log",type:"debug"})+"]"}var Cc,Tc,Ic=function(){function t(t,n){var i;this.Si=t,this.Lt=[],this.uu=!1,this.Tt=null!==(i=n.interval)&&void 0!==i?i:1e3,this.au=n.onFlush}return t.prototype.append=function(t){this.schedule(),this.Lt.push(t)},t.prototype.flush=function(){this.uu=!1,this.au(this.Lt),this.Lt=[]},t.prototype.schedule=function(){this.uu||(T.setWindowTimeout(this.Si,O(this.flush.bind(this)),this.Tt),this.uu=!0)},t}(),xc="https://fs-obfuscated.invalid",Kc=function(){function t(t,n){var i=this;this.Si=t,this.Lt=n,this.cu=0,this.hu={},this.fu=function(t){var n;try{if("function"==typeof(null===(n=t.crypto)||void 0===n?void 0:n.getRandomValues)){var i="",r=new Uint32Array(2);t.crypto.getRandomValues(r);for(var e=0;e0){for(var t=0;t0&&this.Lt.sendEvents(e,i);break;case Fi.RequestFrameId:if(!t)return;var s=this.Ju(t);void 0===s||(this.Cu[s]=!1,this.Zu(t,s));case Fi.Unknown:}},t.prototype.Ju=function(t){for(var n=0,i=this.bu;n0&&(null!==(s=null===(e=null===(r=t.OrgSettings)||void 0===r?void 0:r.UrlPrivacyConfig)||void 0===e?void 0:e.length)&&void 0!==s?s:0)>0&&(null!==(a=null===(u=null===(o=t.OrgSettings)||void 0===o?void 0:o.AttributeBlocklist)||void 0===u?void 0:u.length)&&void 0!==a?a:0)>0;return c||Jr.sendToBugsnag("Invalid page response","error",{rsp:t}),c}(Mc=jc||(jc={})).START="start",Mc.SHUTDOWN="shutdown",Mc.INTERNAL_BUNDLE="internal/bundle",Mc.INTERNAL_ERROR="internal/error",Mc.INTERNAL_FS_INIT="internal/fs-init";var Pc,Nc=[jc.START,jc.SHUTDOWN,jc.INTERNAL_BUNDLE,jc.INTERNAL_ERROR,jc.INTERNAL_FS_INIT],Lc=function(){function t(t,n,i){void 0===i&&(i=ns),this.rt=t,this.Vo=n,this.na=i,this.sing()}return t.prototype.store=function(t){t.bundles.length;var n=_t({Bundles:t.bundles,IsNewSession:t.isNewSession,LastBundleTime:t.lastBundleTime,OrgId:t.orgId,PageId:t.pageId,PageStartTime:this.rt.time.startTime(),RecHost:$r(this.rt),ServerBundleTime:t.serverBundleTime,ServerPageStart:t.serverPageStart,SessionId:t.sessionId,UserId:t.userId,Version:t.version});if(!(n.length>2e6))try{localStorage._fs_swan_song=n}catch(t){}},t.prototype.sing=function(){try{var t=function(){try{if("_fs_swan_song"in localStorage){var t=localStorage._fs_swan_song;return delete localStorage._fs_swan_song,Tt(t)}}catch(t){}}();if(void 0===t)return;if(!(t.Bundles&&t.UserId&&t.SessionId&&t.PageId))return;t.Bundles.length>0&&(t.Bundles.length,this.ia(t))}catch(t){}},t.prototype.ia=function(t,n){return void 0===n&&(n=0),r(this,void 0,Cr,function(){var r,s,o,u;return e(this,function(e){switch(e.label){case 0:if(r=null,!ft(t.Bundles)||0===t.Bundles.length||void 0===t.Bundles[0])return[2];1==t.Bundles.length&&(r=this.rt.time.wallTime()-(t.LastBundleTime||0)),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,this.Vo.bundle({bundle:t.Bundles[0],deltaT:r,isNewSession:t.IsNewSession,orgId:t.OrgId,pageId:t.PageId,recHost:t.RecHost,serverBundleTime:t.ServerBundleTime,serverPageStart:t.ServerPageStart,sessionId:t.SessionId,userId:t.UserId,version:t.Version})];case 2:return s=e.sent(),o=s[1],t.Bundles[0].Evts.length,t.Bundles[0].Seq,t.Bundles.shift(),t.Bundles.length>0&&this.ia(i(i({},t),{ServerBundleTime:o.BundleTime})),[3,4];case 3:return(u=e.sent())instanceof Ln&&Un(u.status)?[2]:(this.ra=new this.na(this.ia,this.Vo.exponentialBackoffMs(n,!0),this,t,n+1).start(),[3,4]);case 4:return[2]}})})},t}(),Uc=function(){function t(){}return t.prototype.encode=function(t){return t},t}(),Hc=function(){function t(){this.dict={idx:-1,map:{}},this.nodeCount=1,this.startIdx=0}return t.prototype.encode=function(n){if(0==n.length)return[];var i,r,e=n[0],s=Object.prototype.hasOwnProperty.call(this.dict.map,e)?this.dict.map[e]:void 0,o=[],u=1;function a(){s?u>1?o.push([s.idx,u]):o.push(s.idx):o.push(e)}for(i=1;ithis.rt.recording.bundleUploadInterval()?[4,this.ka()]:[3,4]):[2];case 3:e.sent(),e.label=4;case 4:return[3,6];case 5:if((r=e.sent())instanceof Ln){if(Un(r.status))return 206==r.status?Jr.sendToBugsnag("Failed to send bundle, probably because of its large size","error"):r.status>=500&&Jr.sendToBugsnag("Failed to send bundle, recording outage likely","error"),this.ya&&this.ya(),[2]}else Jr.sendToBugsnag("Failed to send bundle, unknown err","error",{err:r});return this.sa=!0,this.ua=this.aa+this.Vo.exponentialBackoffMs(this.oa++,!1),[3,6];case 6:return[2]}})})},t.prototype.Ca=function(t){var n;return r(this,void 0,Cr,function(){var i,r,s,o;return e(this,function(e){switch(e.label){case 0:return this.ju&&this.Uu&&this.Hu&&this.Du?(window,i=this.bo.getMsSinceLastUserActivity(),[4,this.Vo.bundle({bundle:t,deltaT:null,isNewSession:this.ca,lastUserActivity:i,orgId:this.ju,pageId:this.Du,serverBundleTime:this.va,serverPageStart:this.Fu,sessionId:this.Hu,userId:this.Uu,version:this.rt.recording.bundleApiVersion()})]):(this.ju,this.Uu,this.Hu,this.Du,[2]);case 1:return r=e.sent(),s=r[0],o=r[1],null===(n=this.rt.recording.observer)||void 0===n||n.addEvent({type:jc.INTERNAL_BUNDLE,data:{size:s}}),s>this.fa&&this.la.bundle.Seq>16&&this.rt.recording.splitPage(Vn.Size),window,[2,o]}})})},t.prototype.Ea=function(t){if(0===t.Evts.length)return t;for(var n=[],r=0,e=t.Evts;r0},t.prototype.hasActiveEvents=function(){return this.Ia},t.prototype.pushEvent=function(n){!t.forceActive&&Wc[n.Kind]||(this.Ia=!0),this.xa.When<0&&(this.xa.When=n.When),this.xa.Evts.push(n)},t.forceActive=!1,t}();function $c(t,n){void 0===t&&(t=[]),void 0===n&&(n=0);for(var i="",r=0,e=t;r-1},t.prototype.Oa=function(){return this.Si.document.location.search.indexOf("_fs_preview=false")>-1},t.prototype.Ra=function(){var t=this.Ka.getValue(this.ja),n=t.cookieValue,i=t.localStorageValue;return!(!n&&!i)},t}();function Gc(t){var n,i,r;return{Kind:En.CAPTURE_SOURCE,Args:[t.type,t.entrypoint,"dom",null===(i=null===(n=t.source)||void 0===n?void 0:n.integration)||void 0===i?void 0:i.slice(0,1024),!!(null===(r=t.source)||void 0===r?void 0:r.userInitiated)]}}function Xc(t){return r(this,void 0,Cr,function(){var n,i,r,s;return e(this,function(e){if(n=function(t){return"msCrypto"in t?t.msCrypto:t.crypto}(t),"function"==typeof(null==n?void 0:n.randomUUID))return[2,n.randomUUID()];for(i=new Uint8Array(16),n.getRandomValues(i),i[6]=15&i[6]|64,i[8]=63&i[8]|128,r=[],s=0;s=864e5)return[Jc,"exp sid: "+o+"ms "+u+"ms"];var a=null!==(n=this.Na.getLastUserActivityTimeMS())&&void 0!==n?n:o,c=T.mathMax(a,o),h=T.mathAbs(s-c);if(h>=Zc)return[Jc,"exp lua: "+a+"ms "+h+"ms"];var f=null!==(i=this.Na.getPageCount())&&void 0!==i?i:0;return f>=250?[Jc,"pages: "+f]:[e]},t.prototype.start=function(){this.Ua.start(3e5)},t.prototype.stop=function(){this.Ua.stop()},t.prototype.Ba=function(){return r(this,void 0,Cr,function(){var t;return e(this,function(n){return(t=this.Na.getUserId())&&Yc(t)?[2,t]:[2,Xc(this.rt.window)]})})},t.prototype.Ha=function(){var t=this.bo.getLastUserActivityTS();t!==this.La&&(this.La=t,this.Na.setLastUserActivityTimeMS(t)),this.start()},t}(),nh=function(t){function s(n,i,r,e,s,o,u){void 0===r&&(r=!0),void 0===e&&(e=new Ja(n)),void 0===s&&(s=new Fc(n,i,e,r)),void 0===o&&(o=ts),void 0===u&&(u=_c);var a,c=t.call(this,n,o,e,s,u)||this;c.Vo=i,c.xo=s,c.Wa=!1,c.Po=!1,c.Fa=!1,s.onShutdown(function(){return c.shutdown(Vn.SettingsBlocked)}),c.t=c.Si.document,c.Mo=0,c.za=n.recording.identity,c.$a=new Vc(c.ju,c.Si,c.za.getClientStore()),c.Au=Cc.NoInfoYet,c.qa=new th(n,e,c.za),a=function(t){if(c.Tu.stop(Vn.Api),t){var n=c.t.getElementById(t);n&&c.Va&&n.setAttribute("_fs_embed_token",c.Va)}},c.Si._fs_shutdown=a;var h=c.$a.isPreviewMode();return c.Ga=c.Vo.settings({orgId:c.ju,previewMode:h})["catch"](function(){}),c}return n(s,t),s.prototype.onDomLoad=function(){var n=this;t.prototype.onDomLoad.call(this),this.Wa=!0,this.Xa(function(){n.Bu(n.Po)})},s.prototype.Qa=function(){var t=cn(this.Si,"_fs_replay_flags");if(/[?&]_fs_force_session=true(&|#|$)/.test(location.search)&&(t+=",forceSession",this.Si.history)){var n=location.search.replace(/(^\?|&)_fs_force_session=true(&|$)/,function(t,n,i){return i?n:""});this.Si.history.replaceState({},"",this.Si.location.href.replace(location.search,n))}return t},s.prototype.start=function(n,i,s){var o,u,a,c,h;return r(this,void 0,Cr,function(){var r,f,v,l,d,p,w,g,y,m,b,S,k,A,_,E,C,T,I,x,K,j;return e(this,function(e){switch(e.label){case 0:return t.prototype.start.call(this,n,i,s),[4,this.Ga];case 1:if(!(r=e.sent()))return this.Ya(),[2];Oo(null!==(o=r.OrgSettings.UrlPrivacyConfig)&&void 0!==o?o:Ri.DefaultOrgSettings.UrlPrivacyConfig,r.OrgSettings.MaxUrlLength),f=this.Qa(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,Cr.race([Rr(this.Si),Ir(250)])];case 3:case 4:return e.sent(),[3,5];case 5:v=me(this.t),l=v[0],d=v[1],M=this.Si,R=0,O=0,p=null==M.screen?[R,O]:(R=parseInt(String(M.screen.width),10),O=parseInt(String(M.screen.height),10),[R=isNaN(R)?0:R,O=isNaN(O)?0:O]),w=p[0],g=p[1],y="",n||(y=this.za.getUserId()),m=this.$a.isPreviewMode(),b=null!==(c=null===(a=null===(u=this.rt)||void 0===u?void 0:u.recording)||void 0===a?void 0:a.preroll)&&void 0!==c?c:-1,S=xo(po(this.Si),{source:"page",type:"base"}),k=xo(this.Si.location.href,{source:"page",type:"url"}),A=""===this.t.referrer?"":xo(this.t.referrer,{source:"page",type:"referrer"}),_=Ct(this.t),E=function(t){var n,i="_fs_tab_id";try{var r=t.sessionStorage.getItem(i);if(r)return r;var e=Math.floor(1e17*Math.random()).toString(16);return t.sessionStorage.setItem(i,e),null!==(n=t.sessionStorage.getItem(i))&&void 0!==n?n:void 0}catch(t){return}}(this.Si),C={OrgId:this.ju,UserId:y,Url:k,Base:S,Width:l,Height:d,ScreenWidth:w,ScreenHeight:g,SnippetVersion:Sn(this.Si),Referrer:A,Preroll:b,Doctype:_,CompiledVersion:"6490df64f8e944fc3c8fda3c5de322d5944a4f82",CompiledTimestamp:1702372764,AppId:this.za.getAppId(),TabId:E,PreviewMode:m||void 0},f&&(C.ReplayFlags=f),e.label=6;case 6:return e.trys.push([6,12,,13]),[4,this.Vo.page(C)];case 7:return T=e.sent(),m||!T.PreviewMode?[3,9]:[4,this.Vo.settings({orgId:this.ju,previewMode:!0})["catch"](function(){})];case 8:if(!(r=e.sent()))return this.Ya(),[2];Oo(null!==(h=r.OrgSettings.UrlPrivacyConfig)&&void 0!==h?h:Ri.DefaultOrgSettings.UrlPrivacyConfig,r.OrgSettings.MaxUrlLength),e.label=9;case 9:return[4,this.Ja(T,r)];case 10:return Oc(j=e.sent())?this.Eu?[2]:(window,I=this.za.getConsentStore().getConsentState(),this.Wu(j,I),window,this.Za(j.CookieDomain,j.UserIntId,j.SessionIntId,j.PageIntId,j.EmbedToken),this.tc(),j.PreviewMode&&this.nc(),x=function(t){return cn(t,"_fs_pagestart","function")}(this.Si),x&&x(),this.Lt.enqueueFirst(Gc({type:"default"})),this.Lt.enqueueFirst(this.Tu.getNavigateEvent(this.Si.location.href,En.ENTRY_NAVIGATE)),this.Lt.enqueueFirst({Kind:En.SYS_REPORTCONSENT,Args:[I,$n.Document]}),this.Lt.enqueueFirst({Kind:En.SET_FRAME_BASE,Args:[xo(po(this.Si),{source:"event",type:En.SET_FRAME_BASE}),_,k,A]}),this.xo.setPageData({Kind:En.PAGE_DATA,Args:[k,S,l,d,w,g,Sn(this.Si),A,_,b,y,j.PageStart,Rt(this.Si),this.Si.navigator.userAgent,E,!!j.IsNewSession,!!j.PreviewMode]}),j.Flags.DisableInertBundles&&(zc.forceActive=!0),this.Lt.enqueue({Kind:En.SCRIPT_COMPILED_VERSION,Args:["6490df64f8e944fc3c8fda3c5de322d5944a4f82"]}),this.Tu.addVisibilityChangeEvent(),this.Xu(),[4,this.Lt.startPipeline({isNewSession:!!j.IsNewSession,orgId:this.ju,pageId:j.PageIntId,serverPageStart:j.PageStart,sessionId:j.SessionIntId,userId:j.UserIntId})]):[2,this.Ya()];case 11:return e.sent(),this.ta(this.t),this.$u(),[3,13];case 12:return(K=e.sent())instanceof Ln&&(j=K.data)&&j.user_id&&j.cookie_domain&&j.reason_code===Ai.ReasonBlockedTrafficRamping&&y!==j.user_id&&this.Za(j.cookie_domain,j.user_id,"","",""),this.Ya(),[3,13];case 13:return[2]}var M,R,O})})},s.prototype.tc=function(){var t=this;this.Fa=!0,this.Xa(function(){t.Bu(t.Po)})},s.prototype.Za=function(t,n,i,r,e){var s=this.za;s.setIds(this.Si,t,n,i),this.Va=e,this.$a.write(),s.getUserId(),s.getSessionId()},s.prototype.Xa=function(t){var n,i,r;if(this.Wa&&this.Fa)if(null===(i=null===(n=this.Mu)||void 0===n?void 0:n.Flags)||void 0===i?void 0:i.FetchIntegrations){"string"!=typeof cn(r=this.rt.window,"_fs_rec_settings_host")&&(r._fs_rec_settings_host=sn(kn(r)));var e=this.t.createElement("script");e.addEventListener("load",t),e.addEventListener("error",t),e.async=!0,e.src=this.nt+"//"+this.xu+"/rec/integrations?OrgId="+this.ju,this.t.head.appendChild(e)}else t()},s.prototype.nc=function(){var t="FullStory-preview-script";if(!this.t.getElementById(t)){var n=this.t.createElement("script");n.id=t,n.async=!0,n.src=this.nt+"//"+this.Ku+"/s/fspreview.js",this.t.head.appendChild(n)}},s.prototype.Ya=function(){this.qu(),this.shutdown(Vn.SettingsBlocked),this.Po=!0,this.Bu(this.Po)},s.prototype.Ja=function(t,n){var s;return r(this,void 0,Cr,function(){var r,o,u;return e(this,function(e){switch(e.label){case 0:return(r=i(i({},t),n)).Flags.UseClientSideId?(this.za.setCookieDomain(this.Si,r.CookieDomain),Yc(o=null!==(s=r.UserUUID)&&void 0!==s?s:"")&&this.za.setUserId(o),[4,this.qa.createUserSessionPage()]):[3,2];case 1:u=e.sent(),this.qa.start(),r=i(i({},r),{UserIntId:u.userId,SessionIntId:u.sessionId,PageIntId:u.pageId,IsNewSession:u.isNewSession,PageStart:Dt()}),u.reason&&this.Lt.enqueue({Kind:En.SESSION_INFO,Args:[u.reason]}),e.label=2;case 2:return[2,r]}})})},s.prototype.onMessageReceived=function(n,i){t.prototype.onMessageReceived.call(this,n,i),(null==n?void 0:n.parent)==this.Si&&i[0]===Fi.EndPreviewMode&&this.$a.clear()},s}(Rc),ih=function(){function t(t,n){void 0===n&&(n=new rh(t)),this.Si=t,this.ic=n}return t.prototype.enqueueEvents=function(t,n){var i=null!=t?t:void 0;this.ic.postMessage(this.Si.parent,[Fi.EvtBundle,Dc(n),i],i)},t.prototype.startPipeline=function(){},t.prototype.stopPipeline=function(){},t.prototype.flush=function(){return r(this,void 0,Cr,function(){return e(this,function(t){return[2]})})},t.prototype.singSwanSong=function(){},t.prototype.onShutdown=function(t){},t.prototype.setPageData=function(t){},t}(),rh=function(){function t(t){this.Si=t}return t.prototype.postMessage=function(t,n,i){switch(n[0]){case Fi.EvtBundle:Sc(this.Si,n[0],_t(n[1]),i)||mc(t,n);break;case Fi.RequestFrameId:Sc(this.Si,n[0],"[]",i)||mc(t,n);break;default:n[0]}},t}(),eh=function(t){function i(n,i,r,e,s){void 0===i&&(i=new rh(n.window)),void 0===r&&(r=new ih(n.window,i)),void 0===e&&(e=ts),void 0===s&&(s=_c);var o=t.call(this,n,e,void 0,r,s)||this;return o.ic=i,o}return n(i,t),i.prototype.start=function(n,i,r){var e=this;t.prototype.start.call(this,n,i,r),this.rc(),this.st.add(this.Si,"load",!1,function(){e.Tu.recordingIsDetached()&&e.rt.recording.splitPage(Vn.FsShutdownFrame)}),this.Tu.addVisibilityChangeEvent()},i.prototype.onMessageReceived=function(n,i){var r;if(t.prototype.onMessageReceived.call(this,n,i),n===this.Si.parent||n===this.Si)switch(i[0]){case Fi.GreetFrame:this.rc(i[1]);break;case Fi.SetFrameId:try{var e=i[1];if(!e)return void xo(location.href,{source:"log",type:"debug"});this.ec({frameId:e,parentIds:i[2],outerStartTime:i[3],scheme:i[4],script:i[5],appHost:i[6],orgId:i[7],initConfig:i[8],pageRsp:i[9],consented:i[10],minimumWhen:i[11]})}catch(t){_t(i)}break;case Fi.SetConsent:this.setConsent(i[1]);break;case Fi.InitFrameMobile:try{var s=JSON.parse(i[1]),o=s.StartTime,u=void 0;if(i.length>2&&i[2]){var a=i[2];Object.prototype.hasOwnProperty.call(a,"ProtocolVersion")&&a.ProtocolVersion>=20180723&&Object.prototype.hasOwnProperty.call(a,"OuterStartTime")&&(o=a.OuterStartTime),Object.prototype.hasOwnProperty.call(a,"MobileScriptPath")&&(u=a.MobileScriptPath)}var c=s.Host;this.ec({frameId:0,parentIds:[],outerStartTime:o,scheme:"https:",script:null!=u?u:_n(c),appHost:An(c),orgId:s.OrgId,initConfig:void 0,pageRsp:s.PageResponse,consented:null!==(r=this.Pn.getConsent())&&void 0!==r?r:Fn.RevokeConsent})}catch(t){_t(i)}}},i.prototype.rc=function(t){this.Mo&&this.Mo===t||0!=this.Mo&&this.Si.parent&&this.ic.postMessage(this.Si.parent,[Fi.RequestFrameId])},i.prototype.ec=function(t){var n,i=this;if(this.Mo)this.Mo!==t.frameId?(this.Mo,t.frameId,this.rt.recording.splitPage(Vn.FsShutdownFrame)):this.Mo;else if(xo(location.href,{source:"log",type:"debug"}),t.frameId,this.nt=t.scheme,this.Iu=t.script,this.Ku=t.appHost,this.ju=t.orgId,this.Ru=t.initConfig,this.Mo=t.frameId,this.Ro=t.parentIds,t.pageRsp&&Oc(t.pageRsp)){if(!this.Eu){var r=t.consented;this.Wu(t.pageRsp,r),this.Bu(),this.Lt.enqueueFirst(Gc({type:"default"})),this.Lt.enqueueFirst({Kind:En.SYS_REPORTCONSENT,Args:[r,$n.Document]}),this.Lt.enqueueFirst({Kind:En.SET_FRAME_BASE,Args:[xo(po(this.Si),{source:"event",type:En.SET_FRAME_BASE}),Ct(this.Si.document)]}),this.Lt.enqueue({Kind:En.SCRIPT_COMPILED_VERSION,Args:["6490df64f8e944fc3c8fda3c5de322d5944a4f82"]}),this.Xu(),this.Lt.rebaseIframe(t.outerStartTime,null!==(n=t.minimumWhen)&&void 0!==n?n:0),this.rt.time.setStartTime(t.outerStartTime),this.Uu&&this.Hu&&this.Du?this.Lt.startPipeline({frameId:t.frameId,isNewSession:!!t.pageRsp.IsNewSession,orgId:this.ju,pageId:t.pageRsp.PageIntId,parentIds:t.parentIds,serverPageStart:t.pageRsp.PageStart,sessionId:t.pageRsp.SessionIntId,userId:t.pageRsp.UserIntId}).then(function(){i.Vu(),i.ta(i.Si.document),i.$u()}):(this.Uu,this.Hu,this.Du)}}else this.shutdown(Vn.FsShutdownFrame)},i}(Rc),sh="fs_cid",oh=1,uh=function(){function t(t){this.Na=t;var n=this.Na.getValue(sh,qi),i=n.cookieValue,r=n.localStorageValue,e=i||r;this.sc=function(t){var n={consent:Fn.RevokeConsent};if(!t)return n;var i=t.split(".");return i.length<1?n:(i[0],"1"===i[1]?{consent:Fn.GrantConsent}:n)}(e)}return t.prototype.getConsentState=function(){return this.sc.consent},t.prototype.setConsentState=function(t){var n;this.sc.consent=t,t!==Fn.RevokeConsent?this.Na.setValue(sh,(n=this.sc.consent,[oh,n===Fn.GrantConsent?1:0].join(".")),new Date(1e3*Qt()).toUTCString(),qi):this.Na.clearCookie(sh,qi)},t}(),ah="fs_lua",ch=1,hh=function(){function t(t){this.Na=t;var n=this.Na.getValue(ah,Vi),i=n.cookieValue,r=n.localStorageValue;this.sc=function(t,n){var i;return null!==(i=a(t,n,fh,function(t,n){return(n.lastUserActivityTime||0)>(t.lastUserActivityTime||0)?n:t}))&&void 0!==i?i:{lastUserActivityTime:void 0}}(i,r)}return t.prototype.getLastUserActivityTimeMS=function(){return this.sc.lastUserActivityTime},t.prototype.setLastUserActivityTimeMS=function(t){this.sc.lastUserActivityTime=t,this.Na.setValue(ah,function(t){return[ch,t].join(".")}(t),new Date(Dt()+Zc).toUTCString(),Vi)},t}();function fh(t){var n={lastUserActivityTime:void 0};if(!t)return n;var i=t.split(".");return i.length<1?n:(i[0],{lastUserActivityTime:vt(i[1])})}var vh,lh,dh,ph="fs_uid",wh=function(){function t(t,n,i,r){void 0===n&&(n=window),void 0===i&&(i=function(){}),void 0===r&&(r=!1),this.oc=void 0;var e=cn(n,"_fs_clientstore","object");this.Ka=null!=e?e:new o(n.document,i,r),this.uc=new uh(this.Ka),this.ac=new hh(this.Ka),this.sc=this.cc(t)}return t.prototype.cc=function(t){var n=this.Ka.getValue(ph,$i),i=function(t,n,i){return a(t,n,Yt,function(t,n){return t.orgId!==i&&n.orgId!==i?null:t.orgId!==i?n:n.orgId!==i?t:n.expirationAbsTimeSeconds>t.expirationAbsTimeSeconds?n:t})}(n.cookieValue,n.localStorageValue,t);return i||{expirationAbsTimeSeconds:Qt(),orgId:t,userId:"",sessionId:"",appKeyHash:""}},t.prototype.getConsentStore=function(){return this.uc},t.prototype.clear=function(){this.ac.setLastUserActivityTimeMS(void 0),this.sc.sessionStartTime=this.sc.pageCount=void 0,this.sc.userId=this.sc.sessionId=this.sc.appKeyHash=this.oc="",this.sc.expirationAbsTimeSeconds=Qt(),this.hc()},t.prototype.create=function(t){this.ac.setLastUserActivityTimeMS(t.lastUserActivityTime),this.sc=i(i({},this.sc),t),this.hc()},t.prototype.getOrgId=function(){return this.sc.orgId},t.prototype.getUserId=function(){return this.sc.userId},t.prototype.setUserId=function(t){this.sc.userId=t,this.hc()},t.prototype.getSessionId=function(){return this.sc.sessionId},t.prototype.getAppKeyHash=function(){return this.sc.appKeyHash},t.prototype.getCookies=function(){return this.Ka.cookies},t.prototype.setAppId=function(t){this.oc=t,this.sc.appKeyHash=ic(t),this.hc()},t.prototype.getAppId=function(){return this.oc},t.prototype.setSessionStartTimeMS=function(t){this.sc.sessionStartTime=t,this.hc()},t.prototype.getSessionStartTimeMS=function(){return this.sc.sessionStartTime},t.prototype.setLastUserActivityTimeMS=function(t){this.ac.setLastUserActivityTimeMS(t)},t.prototype.getLastUserActivityTimeMS=function(){return this.ac.getLastUserActivityTimeMS()},t.prototype.setPageCount=function(t){this.sc.pageCount=t,this.hc()},t.prototype.getPageCount=function(){return this.sc.pageCount},t.prototype.getClientStore=function(){return this.Ka},t.prototype.setCookie=function(t,n,i){void 0===i&&(i=new Date(Dt()+6048e5).toUTCString()),this.Ka.setCookie(t,n,i)},t.prototype.setCookieDomain=function(t,n){var i=n;(rn(i)||i.match(/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/g))&&(i="");var r=function(t){return cn(t,"_fs_cookie_domain")}(t);"string"==typeof r&&(i=r),this.Ka.setDomain(i)},t.prototype.setIds=function(t,n,i,r){this.setCookieDomain(t,n),this.sc.userId=i,this.sc.sessionId=r,this.hc()},t.prototype.clearAppId=function(){return!!this.sc.appKeyHash&&(this.oc="",this.sc.appKeyHash="",this.hc(),!0)},t.prototype.encode=function(){var t,n,i,r=[this.sc.userId,null!==(t=this.sc.sessionId)&&void 0!==t?t:"",""+(null!==(n=this.sc.sessionStartTime)&&void 0!==n?n:""),"",""+(null!==(i=this.sc.pageCount)&&void 0!==i?i:"")].join(":"),e=["",this.sc.orgId,r];return this.sc.appKeyHash&&e.push(encodeURIComponent(this.sc.appKeyHash)),e.push("/"+this.sc.expirationAbsTimeSeconds),e.join("#")},t.prototype.hc=function(){var t=this.encode(),n=new Date(1e3*this.sc.expirationAbsTimeSeconds).toUTCString();this.Ka.setValue(ph,t,n,$i)},t}();function gh(t,n,i,r,e){if(t&&"object"==typeof t){var s=0,o={};for(var u in t)if(!(u in e)){var a=t[u];e[u]={value:a,apiSource:n,apiVersion:i,schema:r},o[u]=a,s++}if(0!==s)return o}}(lh=vh||(vh={})).TrackEvent="trackEvent",lh.GetSession="getSession",lh.Init="init",lh.Log="log",lh.Source="source",lh.Observe="observe",lh.Restart="restart",lh.SetIdentity="setIdentity",lh.SetConfig="setConfig",lh.SetPage="setPage",lh.SetProperties="setProperties",lh.Shutdown="shutdown",lh.Start="start",lh.Stat="stat";var yh=((dh={})[ci.Document]={assetMapId:"str",releaseDatetime:"date",releaseVersion:"str"},dh[ci.Event]={},dh[ci.Page]={pageName:"str",releaseVersion:"str",releaseDatetime:"str"},dh[ci.User]={uid:"str",displayName:"str",email:"str"},dh),mh={str:dt,bool:bh,real:Sh,"int":kh,date:Ah,strs:_h(dt),bools:_h(bh),reals:_h(Sh),ints:_h(kh),dates:_h(Ah),objs:_h(lt),obj:lt};function bh(t){return"boolean"==typeof t}function Sh(t){return"number"==typeof t}function kh(t){return"number"==typeof t&&t-T.mathFloor(t)==0}function Ah(t){return!(!t||(t.constructor===Date?isNaN(t):"number"!=typeof t&&"string"!=typeof t||isNaN(new Date(t))))}function _h(t){return function(n){if(!(n instanceof Array))return!1;for(var i=0;i0&&(s[h]=f)}}else{var l=o(c.value);s[(e="_obj").length>(r=u).length||r.substring(r.length-e.length)!=e?h.substring(0,h.length-"_obj".length):h]=l}}else s[u]=Ih("str",a)}return s}function Ih(t,n){var i=n;return"str"==t&&"string"==typeof i&&(i=i.trim()),null==i||"date"!=t&&i.constructor!=Date||(i=function(t){var n=t.constructor===Date?t:new Date(t);try{return n.toISOString()}catch(t){return null}}(i)),i}function xh(t,n,i){var r=n,e=typeof i;if("undefined"===e)return null;var s=yh[t];if(T.objectHasOwnProp(s,r))return{name:r,type:s[r],value:i};var o=r.lastIndexOf("_");if(-1==o||!Kh(r.substring(o+1))){var u=function(t){for(var n in mh)if(mh[n](t))return n;return null}(i);if(null==u)return null;o=r.length,r=r+"_"+u}var a=r.substring(0,o),c=r.substring(o+1);if("object"===e&&!i)return null;if(!Ch.test(a)){a=a.replace(/[^a-zA-Z0-9_]/g,"").replace(/^[0-9]+/,""),/[0-9]/.test(a[0])&&(a=a.substring(1));var h=a+"_"+c;if(Ch.source,""==a)return null;r=h}return Kh(c)?function(t,n){return mh[t](n)}(c,i)?{name:r,type:c,value:i}:(_t(i),"number"===e?e=i%1==0?"integer":"real":"object"==e&&null!=i&&i.constructor==Date&&(e=isNaN(i)?"invalid date":"date"),null):null}function Kh(t){return!!mh[t]}function jh(t,n,i,r,e,s){var o,u,a=1500,c=function(){return--a};if(i){var h=Mh(c,n,i);o=h.properties,u=h.schema}else o=Th(c,t,n);return t===ci.Document?{properties:gh(o,r,e,u,s),schema:u}:{properties:o,schema:u}}function Mh(t,n,i){var r,e={},s={};for(var o in n)if(T.objectHasOwnProp(n,o)){if(t()<=0)break;var u=n[o],a=i[o];if(lt(r=u)&&!ft(r)&&r.constructor!==Date){var c=Mh(t,u,a||{});e[o]=c.properties,a&&(s[o]=c.schema)}else e[o]=u,a&&(s[o]=a)}return{properties:e,schema:s}}function Rh(t,n,i,r,e,s){var o=_t(n),u=r?_t(r):void 0,a="fs"!==i?i:void 0;switch(t){case ci.Event:return{Kind:En.SYS_CUSTOM,Args:[s,o,a,e,u]};case ci.Document:case ci.Page:case ci.User:return{Kind:En.SYS_SETVAR,Args:[t,o,a,e,u]};default:Hs(0,"Unsupported")}}var Oh=function(){function t(){this.fc={}}return t.prototype.unloadCrossPageVars=function(t){switch(t){case Vn.Hibernation:case Vn.Size:break;default:this.vc=void 0}},t.prototype.getCrossPageVars=function(){return this.vc},t.prototype.getDocumentVars=function(){var t,n={};for(var r in this.fc){var e=this.fc[r],s=e.value,o=e.apiSource,u=e.schema,a=e.apiVersion;(l=null!==(t=n[h=(null!=o?o:"")+"$$$"+(null!=a?a:"")])&&void 0!==t?t:{properties:{}}).properties[r]=s,u&&(l.schema=i(i({},l.schema),u)),n[h]=l}var c=[];for(var h in n){var f=h.split("$$$"),v=(o=f[0],f[1]),l=n[h];Ph(c,Rh(ci.Document,l.properties,""===o?void 0:o,l.schema,vt(v)))}return c},t.prototype.api=function(t,n){var i,r={events:[],reidentify:!1},e=[];try{var s=function(t){switch(t.operation){case vh.TrackEvent:return ci.Event;case vh.SetPage:return ci.Page;case vh.SetProperties:var n=t.option.type;switch(n){case ci.Document:case ci.Page:case ci.User:return n;default:return Hs(0,"Invalid scope: "+n)}default:Hs(0,"Unsupported")}}(t),o=null===(i=t.source)||void 0===i?void 0:i.integration;if(!function(t,n){switch(t){case ci.Event:return"string"==typeof n.option.name||!1;case ci.Document:case ci.Page:return!0;case ci.User:var i=n.option.properties;return"object"==typeof i||(_t(i),!1);default:Hs(0,"Unsupported")}}(s,t))return r;var u=function(t,n,i){var r=n.option.properties,e=function(t,n){var i=n.option.schema;if(2===n.apiVersion){var r=lt(i)&&"properties"in i?i.properties:{};return lt(r)?r:{}}}(0,n);if(t===ci.Event)return{rawProps:r,eventName:n.option.name,rawSchema:e};if(t!==ci.User||!("uid"in r))return{rawProps:r,rawSchema:e};var s=r.uid;if(!1===s)return delete r.uid,{rawProps:r,rawSchema:e,reidentify:!!i,nextAppId:""};var o=function(t,n){var i=t;if("number"==typeof i&&T.mathFloor(i)==i&&(i=""+i),"string"!=typeof i)return[void 0,fi.FsId];var r=i.trim();if(Vt.indexOf(r.toLowerCase())>=0)return[void 0,fi.FsId];var e=ic(r),s=void 0;return n&&n!==e&&n!==r&&(s=fi.NewUid),[r,s]}(s,i),u=o[0],a=o[1];if(u)return r.uid=u,{rawProps:r,rawSchema:e,nextAppId:u,reidentify:a===fi.NewUid};fi.FsId}(s,t,n);if(!u)return r;var a=u.rawProps,c=u.rawSchema,h=u.reidentify,f=u.nextAppId,v=u.eventName,l=jh(s,null!=a?a:{},c,o,t.apiVersion,this.fc),d=l.properties,p=l.schema;if(!d&&s===ci.Document)return r;var w=Rh(s,null!=d?d:{},o,p,t.apiVersion,v);return Ph(e,function(t,n){var i=Nh[t];if(i)return Gc({source:n,type:"api",entrypoint:i})}(s,t.source)),Ph(e,w),s===ci.Page&&(this.vc=w),{events:e,reidentify:!!h,appId:f}}catch(n){return t.operation,n.message,r}},t}();function Ph(t,n){n&&t.push(n)}var Nh=((Eh={})[ci.User]="setVars",Eh[ci.Event]="event",Eh),Lh=Yu||Ju;function Uh(t,n){return r(this,void 0,Cr,function(){var r,s,o,u,a,c;return e(this,function(e){switch(e.label){case 0:if(e.trys.push([0,2,,3]),function(t){return!!cn(t,"_fs_use_polyfilled_apis","boolean")}(t))return[2,i(i({},n),{status:_.Clean})];if(!t.document||n.status!==_.Unknown)return[2,n];if(r=function(t,n){var r,e,s=n.functions,o={},u=i({},n.helpers);if(u.functionToString=function(t,n){var i,r,e=null===(i=t["__core-js_shared__"])||void 0===i?void 0:i.inspectSource;if(e){var s=function(){return e(this)};if(Dh(s,2))return s}var o=null===(r=t["__core-js_shared__"])||void 0===r?void 0:r["native-function-to-string"];if(Dh(o))return o;var u=n.__zone_symbol__OriginalDelegate;return Dh(u)?u:Dh(n)?n:void 0}(t,u.functionToString),!u.functionToString)return n;var a=!1;for(var c in s)if(s[c]){if(o[c]=Fh(u.functionToString,null===(r=C[c])||void 0===r?void 0:r.call(C,t),s[c]),o[c]||(o[c]=zh(u.functionToString,null===(e=C[c])||void 0===e?void 0:e.call(C,t),u,c)),!o[c])return n;o[c]!==s[c]&&(a=!0)}else o[c]=void 0;return{status:_.Clean,functions:a?o:s,helpers:u,errors:[]}}(t,n),r.status===_.Clean)return[2,r];(s=t.document.createElement("iframe")).id="FullStory-iframe",s.className="fs-hide",s.style.display="none",o=t.document.body||t.document.head||t.document.documentElement||t.document;try{o.appendChild(s)}catch(t){return[2,i(i({},n),{status:_.Clean})]}return s.contentWindow?(u=I(s.contentWindow,_.Clean),a=ct(s),Lh&&a&&a.removeChild(s),u.status===_.UnrecoverableFailure?[2,i(i({},n),{status:_.Clean})]:[4,Hh(u,n)]):[2,i(i({},n),{status:_.Clean})];case 1:return[2,e.sent()];case 2:return c=e.sent(),Jr.sendToBugsnag(c,"error"),[2,i(i({},n),{status:_.Clean})];case 3:return[2]}})})}function Hh(t,n){var r,e=new Cr(function(t){return r=t});return setTimeout(function(){try{t.functions.jsonParse("[]").push(0)}catch(t){r(i(i({},n),{status:_.Clean}))}r(t)}),e}function Dh(t,n){var i;if(void 0===n&&(n=0),!t)return!1;try{t.call(function(){})}catch(t){return!1}var r=function(t){try{return void t.call(null)}catch(t){return(t.stack||"").replace(/__fs_nomangle_check_stack(.|\n)*$/,"")}},e=void 0;0!==n&&"number"==typeof Error.stackTraceLimit&&(e=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY);var s=[function(){throw new Error("")},t],o=function __fs_nomangle_check_stack(){return s.map(r)}(),u=o[0],a=o[1];if(void 0!==e&&(Error.stackTraceLimit=e),!u||!a)return!1;for(var c="\n".charCodeAt(0),h=u.length>a.length?a.length:u.length,f=1,v=f;v=0}catch(n){if(i)return t.call(i).indexOf(r)>=0;throw n}}var Wh=["__zone_symbol__OriginalDelegate","nr@original"];function Fh(t,n,i){if(i){for(var r=0,e=Wh;r0&&this.Ec[t].some(function(t){return!t.disconnected})},t.prototype.takeRecords=function(t){var n,i=null!==(n=this.Ec[t.type])&&void 0!==n?n:[];if(0!==i.length)for(var r=0,e=i;r0||null===R){n="Init config rejected: "+M.unrecoverable.join(",\n"),E(t,n);break}M.recoverable.length>0&&(n="Init config partially rejected: "+M.recoverable.join(",\n")),c=R,_(t);break;default:Hs(0,"invalid operation")}}catch(i){Jr.sendToBugsnag(i,"error"),E(t,n="unknown error evaluating API")}var O},T=0,I=g;T