forked from bombastictranz/demo-editor
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fs.js.download
4 lines (4 loc) · 270 KB
/
fs.js.download
1
2
3
4
//!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;i<r;i++)for(var e in n=arguments[i])Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t},i.apply(this,arguments)};function r(t,n,i,r){return new(i||(i=Promise))(function(e,s){function o(t){try{a(r.next(t))}catch(t){s(t)}}function u(t){try{a(r["throw"](t))}catch(t){s(t)}}function a(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i(function(t){t(n)})).then(o,u)}a((r=r.apply(t,n||[])).next())})}function e(t,n){var i,r,e,s,o={label:0,sent:function(){if(1&e[0])throw e[1];return e[1]},trys:[],ops:[]};return s={next:u(0),"throw":u(1),"return":u(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function u(u){return function(a){return function(u){if(i)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(o=0)),o;)try{if(i=1,r&&(e=2&u[0]?r["return"]:u[0]?r["throw"]||((e=r["return"])&&e.call(r),0):r.next)&&!(e=e.call(r,u[1])).done)return e;switch(r=0,e&&(u=[2&u[0],e.value]),u[0]){case 0:case 1:e=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!((e=(e=o.trys).length>0&&e[e.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!e||u[1]>e[0]&&u[1]<e[3])){o.label=u[1];break}if(6===u[0]&&o.label<e[1]){o.label=e[1],e=u;break}if(e&&o.label<e[2]){o.label=e[2],o.ops.push(u);break}e[2]&&o.ops.pop(),o.trys.pop();continue}u=n.call(t,o)}catch(t){u=[6,t],r=0}finally{i=e=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}}function s(t,n,i){if(i||2===arguments.length)for(var r,e=0,s=n.length;e<s;e++)!r&&e in n||(r||(r=Array.prototype.slice.call(n,0,e)),r[e]=n[e]);return t.concat(r||Array.prototype.slice.call(n))}var o=function(){function t(t,n,i){void 0===n&&(n=function(){}),void 0===i&&(i=!1),this.t=t,this.i=n,this.o=i,this._cookies={},this._cookies=nn(this.t)}return t.prototype.setDomain=function(t){this.v=t},t.prototype.getValue=function(t,n){return this.S(t,n)},t.prototype.setValue=function(t,n,i,r){var e=this;if(null!=this.v&&!this.o){var s=[];this.k(t,r,n,function(){return e.A(t,r,n,i)},s),s.length>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;this.t.cookie=u(this.v,t,n,i,"None")}finally{this._cookies=nn(this.t)}},t.prototype.A=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.S=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.k=function(t,n,i,r,e,s){void 0===s&&(s=3),r();for(var o=!1,u=!1,a=1;a<s;a++){var c=this.S(t,n),h=c.cookieValue;if(u=c.localStorageValue===i,(o=h===i)&&u)return!0;if(o)break;r()}return o||e.push([t,"cookie",i]),u||e.push([null!=n?n:t,"localStorage",i]),!1},t}();function u(t,n,i,r,e){void 0===e&&(e="Strict");var s="".concat(n,"=").concat(i),o=function(t){if(t)return".".concat(encodeURIComponent(t))}(t);return o&&(s+="; domain=".concat(o)),r&&(s+="; Expires=".concat(r)),s+="; path=/; SameSite=".concat(e),"https:"===location.protocol&&(s+="; Secure"),s}function a(t,n,i,r){var e=i(t),s=i(n);return e?s?r(e,s):e:s}var c=navigator.userAgent,h=c.indexOf("MSIE ")>-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 m(){var t=window.navigator.userAgent.match(/Version\/(\d+)/);return t&&t[1]?parseInt(t[1],10):-1}function y(t){if(!g)return!1;var n=m();return n>=0&&n===t}function b(t){if(!g)return!1;var n=m();return n>=0&&n<t}y(9),y(10);var S=b(8);function k(t,n){for(var i=0===n.indexOf("on")?function(t){return"on".concat(t).concat(n.slice(2))}:function(t){return"".concat(t).concat(n.charAt(0).toUpperCase()).concat(n.slice(1))},r=0,e=[function(){return n},function(){return i("webkit")},function(){return i("moz")},function(){return i("ms")}];r<e.length;r++){var s=(0,e[r])();if(s in t)return s}return n}function A(t){}b(10),b(12);var _,I,E={mutationObserver:function(t){var n;return null===(n=t.MutationObserver)||void 0===n?void 0:n.prototype.observe}};(I=_||(_={}))[I.Unknown=0]="Unknown",I[I.Clean=1]="Clean",I[I.Mixed=2]="Mixed",I[I.UnrecoverableFailure=3]="UnrecoverableFailure";var C=function(){function t(t){this.rebuildFromSnapshot(t)}return Object.defineProperty(t.prototype,"mutationObserver",{get:function(){var t;return(null===(t=this.snapshot.dirty)||void 0===t?void 0:t.has("mutationObserver"))?this._:MutationObserver},enumerable:!1,configurable:!0}),t.prototype.rebuildFromSnapshot=function(t){var n=this.snapshot;if(this.snapshot=t,!n||n.functions!==t.functions){var i=t.functions;this.arrayIsArray=i.arrayIsArray,this.clearWindowInterval=K(i.clearWindowInterval),this.clearWindowTimeout=K(i.clearWindowTimeout),this.dateGetTime=K(i.dateGetTime),this.dateNow=i.dateNow,this.docFragQuerySelectorAll=K(i.docFragQuerySelectorAll),this.docQuerySelectorAll=K(i.docQuerySelectorAll),this.elMatches=K(i.elMatches),this.elQuerySelectorAll=K(i.elQuerySelectorAll),this.jsonParse=i.jsonParse,this.jsonStringify=i.jsonStringify,this.matchMedia=j(i.matchMedia),this.mathAbs=i.mathAbs,this.mathFloor=i.mathFloor,this.mathMax=i.mathMax,this.mathMin=i.mathMin,this.mathPow=i.mathPow,this.mathRandom=i.mathRandom,this.mathRound=i.mathRound,this.objectHasOwnProp=K(i.objectHasOwnProp),this.objectKeys=i.objectKeys,this.objectValues=i.objectValues||null,this.requestWindowAnimationFrame=j(i.requestWindowAnimationFrame),this.requestWindowIdleCallback=j(i.requestWindowIdleCallback),this.setWindowInterval=K(i.setWindowInterval),this.setWindowTimeout=K(i.setWindowTimeout),this._=i.mutationObserver||null,this.snapshot.dirty=t.dirty}},t}(),T=new C(x(window));function x(t,n){void 0===n&&(n=_.Unknown);var i=n,r=[],e=function(t){return i=_.UnrecoverableFailure,r.push("Snapshot failed: ".concat(t)),function(){throw new Error("Invoked failed snapshot")}},s=function(t){try{return t()}catch(t){return e(t.message)}},o=function(t){try{return t()||e("snapshot not found")}catch(t){return e(t.message)}},u={arrayIsArray:s(function(){return t.Array.isArray}),clearWindowInterval:s(function(){return t.clearInterval}),clearWindowTimeout:s(function(){return t.clearTimeout}),dateGetTime:s(function(){return t.Date.prototype.getTime}),dateNow:s(function(){return t.Date.now}),docFragQuerySelectorAll:o(function(){var n;return null===(n=t.DocumentFragment)||void 0===n?void 0:n.prototype.querySelectorAll}),docQuerySelectorAll:o(function(){var n;return null!==(n=t.Document.prototype.querySelectorAll)&&void 0!==n?n:t.document.querySelectorAll}),elMatches:o(function(){return R(t,M)}),elQuerySelectorAll:o(function(){return R(t,O)}),jsonParse:s(function(){return t.JSON.parse}),jsonStringify:s(function(){return t.JSON.stringify}),matchMedia:s(function(){return t.matchMedia}),mathAbs:s(function(){return t.Math.abs}),mathFloor:s(function(){return t.Math.floor}),mathMax:s(function(){return t.Math.max}),mathMin:s(function(){return t.Math.min}),mathPow:s(function(){return t.Math.pow}),mathRandom:s(function(){return t.Math.random}),mathRound:s(function(){return t.Math.round}),objectHasOwnProp:s(function(){return t.Object.prototype.hasOwnProperty}),objectKeys:s(function(){return t.Object.keys}),objectValues:s(function(){return t.Object.values}),requestWindowAnimationFrame:s(function(){return t.requestAnimationFrame}),requestWindowIdleCallback:s(function(){return t.requestIdleCallback}),setWindowInterval:s(function(){return t.setInterval}),setWindowTimeout:s(function(){return t.setTimeout}),mutationObserver:s(function(){return t.MutationObserver})},a={functionToString:s(function(){return t.Function.prototype.toString}),objectToString:s(function(){return t.Object.prototype.toString})};return{status:i,functions:u,helpers:a,errors:r}}function K(t){return function(n){for(var i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];return t.apply(n,i)}}function j(t){return t?K(t):null}function M(t){return t.matches||t.webkitMatchesSelector||t.msMatchesSelector||t.mozMatchesSelector}function O(t){return t.querySelectorAll}function R(t,n){var i,r,e=(null===(i=t.Element)||void 0===i?void 0:i.prototype)?n(null===(r=t.Element)||void 0===r?void 0:r.prototype):void 0,s=t.document?t.document.documentElement:void 0;if(!s||e&&s instanceof t.Element||(e=n(s)),!e)throw new Error("Unabled to find Element proto function");return e}function P(t,n){return function(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];try{return t.apply(this,i)}catch(t){try{n&&n(t)}catch(t){}}}}var U,L,N=function(){},D="_fs_weak_map_key",B=function(){function t(t,n){void 0===n&&(n=!1),this.I=n,this.C=new WeakMap(t)}return t.prototype.get=function(t){return this.I||!this.C.has(t)?this.C.get(F(t)):this.C.get(t)},t.prototype.set=function(t,n){if(!this.I)try{return this.C.set(t,n),this}catch(t){}return this.T(t,n)},t.prototype.T=function(t,n){return t[D]=F(t),this.C.set(t[D],n),this},t.prototype["delete"]=function(t){return this.C["delete"](t)||this.C["delete"](F(t))},t.prototype.has=function(t){return this.C.has(t)||this.C.has(F(t))},t}();function F(t){return Object.prototype.hasOwnProperty.call(t,D)?t[D]:{}}function H(t){var n;return(null===(n=t.childNodes)||void 0===n?void 0:n.length)>0}function W(t,n){q(t.childNodes,n)}function z(t,n){q(t.childNodes,n,!0)}function q(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&&!Ht(s)&&Array.isArray(s.frag))s.frag.length&&q(s.childNodes,n,i);else if(n(s)===U.Exit)break;i?--r:++r}}function $(t){var n=t.nextSibling;return n&&t.parentNode&&n===t.parentNode.firstChild?null:n}function V(t){var n=t.previousSibling;return n&&t.parentNode&&n===t.parentNode.lastChild?null:n}function G(t){return t.parentNode}function X(t){return H(t)?t.childNodes[0]:null}(L=U||(U={})).ContinueProcessing=0,L.Exit=1;var Q=1,Y=9,J=4;function Z(t){try{var n=function(t){var n,i=null!==(n=t.ownerDocument)&&void 0!==n?n:t;return i.nodeType===Y?i:document}(t);Hs(n.nodeType===Y,"unable to find document");var i=n.createTreeWalker(n,NodeFilter.SHOW_ALL,null,!1);return i.currentNode=t,i}catch(t){return}}function tt(t,n){var i=Z(t);if(i)for(var r=i.firstChild();r;)n(r),r=i.nextSibling()}function nt(t,n){var i=Z(t);if(i)for(var r=i.lastChild();r;)n(r),r=i.previousSibling()}function it(t){var n=Z(t);return n?n.nextSibling():null}function rt(t){var n=Z(t);return n?n.previousSibling():null}function et(t){var n=Z(t);return n?n.parentNode():null}function st(t){var n=Z(t);return n?n.firstChild():null}function ot(t){return!!st(t)}var ut=!1;function at(t){return(ut?st:X)(t)}function ct(t,n){return(ut?tt:W)(t,n)}function ht(t,n){return(ut?nt:z)(t,n)}function ft(t){return(ut?ot:H)(t)}function vt(t){return(ut?it:$)(t)}function lt(t){return(ut?et:G)(t)}function dt(t){return(ut?rt:V)(t)}function pt(t){var n="Internal error: unable to determine what JSON error was";try{n=(n="".concat(t)).replace(/[^a-zA-Z0-9.:!, ]/g,"_")}catch(t){}return"\"".concat(n,"\"")}function wt(t){return T.arrayIsArray(t)}function gt(t,n){for(var i=0,r=t;i<r.length;i++)if(n(r[i]))return!0;return!1}function mt(t){return"function"==typeof t}function yt(t){var n=parseInt(null!=t?t:"",10);return isNaN(n)?void 0:n}function bt(t){return null!==t&&"object"==typeof t}function St(t){return bt(t)&&!wt(t)&&t.constructor!==Date}function kt(t){if(null!=t){var n=At(t)?t:new Date(t);try{return n.toISOString()}catch(n){if("string"==typeof t)return t}}return null}function At(t){return null!=t&&t.constructor===Date}function _t(t){return"string"==typeof t}var It="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 Et(t,n){return 0==t.lastIndexOf(n,0)}function Ct(t,n){for(var i in t)T.objectHasOwnProp(t,i)&&n(t[i],i,t)}function Tt(t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))return t[n]}function xt(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 Kt(t,n){var i=0;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&++i>n)return!0;return!1}function jt(t){return function(){for(var n,i,r=this,e=[],s=0;s<arguments.length;s++)e[s]=arguments[s];return"function"==typeof(null===(i=null===(n=window.Zone)||void 0===n?void 0:n.root)||void 0===i?void 0:i.run)?window.Zone.root.run(function(){return t.apply(r,e)}):t.apply(this,e)}}function Mt(t,n,i){if(void 0===i&&(i=jt),!t)return N;var r=i(t);return P(n?r.bind(n):r,function(t){"Unexpected error: ".concat(t)})}function Ot(t){var n,i=Object.getOwnPropertyDescriptor(Array.prototype,"toJSON"),r=Object.getOwnPropertyDescriptor(String.prototype,"toJSON");try{i&&i.value&&i.configurable&&delete Array.prototype.toJSON,r&&r.value&&r.configurable&&delete String.prototype.toJSON,n=T.jsonStringify(t)}catch(t){n=pt(t)}finally{(null==i?void 0:i.value)&&P(function(){return Object.defineProperty(Array.prototype,"toJSON",i)})(),(null==r?void 0:r.value)&&P(function(){return Object.defineProperty(String.prototype,"toJSON",r)})()}return n}function Rt(t){var n=t.doctype;if(!n)return"";var i="<!DOCTYPE ";return i+=n.name,n.publicId&&(i+=" PUBLIC \"".concat(n.publicId,"\"")),n.systemId&&(i+=" \"".concat(n.systemId,"\"")),"".concat(i,">")}function Pt(t){return T.jsonParse(t)}var Ut=function(){function t(t,n,i){void 0===i&&(i=!1),this.K=t,this.j=n,this.M=i,this.O=N,this.R=N,this.P=N,this.U=!1}return t.prototype.before=function(t){return this.O=Mt(t),this},t.prototype.afterSync=function(t){return this.R=Mt(t),this},t.prototype.afterAsync=function(t){return this.P=Mt(function(n){T.setWindowTimeout(window,P(function(){t(n)}),0)}),this},t.prototype.disable=function(){if(this.U=!1,this.L){var t=this.L,n=t.override,i=t["native"];this.K[this.j]===n&&(this.K[this.j]=i,this.L=void 0)}},t.prototype.enable=function(){if(this.U=!0,this.L)return!0;this.L=this.N();try{this.K[this.j]=this.L.override}catch(t){return!1}return!0},t.prototype.getTarget=function(){return this.K},t.prototype.N=function(){var t=this,n=this,i=this.K[this.j],r=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e={that:this,args:t,result:null};n.U&&n.O(e);var s=i.apply(this,t);return e.result=s,n.U&&(n.R(e),n.P(e)),e.result};return this.M&&(r.toString=function(){var n;return"function ".concat(null!==(n=t.j)&&void 0!==n?n:"","() { [native code] }")}),{"native":i,override:r}},t}(),Lt={};function Nt(t,n,i){var r;if(void 0===i&&(i=!1),!t||"function"!=typeof t[n])return null;Lt[n]=null!==(r=Lt[n])&&void 0!==r?r:new B;var e=Lt[n].get(t);return e||(e=new Ut(t,n,i),Lt[n].set(t,e)),e.enable()?e:null}function Dt(t,n,i){return Bt(null==t?void 0:t.prototype,n,i)}function Bt(t,n,r){if(!t)return function(){};var e=Object.getOwnPropertyDescriptor(t,n);if(!e||!e.set)return function(){};var s=e.set,o=Mt(r),u=!0;function a(t){s.call(this,t),u&&o(this,t)}return Object.defineProperty(t,n,i(i({},e),{set:a})),function(){u=!1;var r=Object.getOwnPropertyDescriptor(t,n);r&&a===r.set&&Object.defineProperty(t,n,i(i({},r),{set:s}))}}function Ft(t){var n=t.navigator.languages;return n&&wt(n)?n.join(","):t.navigator.userLanguage||t.navigator.language}function Ht(t){if(!t)return!1;var n=t.isConnected;return"boolean"==typeof n?n:function(t){for(var n=t,i=void 0;n;n=i)if(!(i=lt(n)))return n;return t}(t).nodeType===Y}function Wt(){var t=function(){return T.dateNow()};return"number"!=typeof t()&&(t=function(){return T.dateGetTime(new Date)}),t}var zt,qt,$t,Vt=(qt=Wt(),$t=null!==(zt=function(){var t;if(function(){var t=window.performance;return!(!t||!t.now)}()){var n=window.performance,i=n.now();if("number"==typeof i&&isFinite(i)&&!(i<=0)){var r=n.timeOrigin;if("number"!=typeof r){var e=Wt()()-n.now(),s=null===(t=n.timing)||void 0===t?void 0:t.navigationStart;r=s?Math.min(e,s):e}var o=Math.round(r);if("number"==typeof o&&isFinite(o)&&!(o<=0))return o}}}())&&void 0!==zt?zt:qt(),{now:qt,timeOrigin:$t,msSinceDocumentStart:function(){return qt()-$t}});function Gt(){return Vt.now()}function Xt(){return Vt.msSinceDocumentStart()}var Qt=["","0","1","-1","true","false","n/a","nan","undefined","null","nil","the_id_that_you_use_in_your_app_for_this_user"],Yt=["811c9dc5","350ca8af","340ca71c","14cd0a2b","4db211e5","0b069958","3613e041","2f8f13ba","9b61ad43","77074ba4","0da3f8ec","1c750511"],Jt=function(){return T.mathFloor(Gt()/1e3)},Zt=function(){return Jt()+31536e3};function tn(t){if(!t)return null;var n,i=t.split("#");if(i.length<3)return null;for(var r=2;r<i.length;r++){var e=i[r];if(e.indexOf("/")>=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=Jt(),r=Zt()+86400;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),(Qt.indexOf(v)>=0||Yt.indexOf(v)>=0)&&("Ignoring invalid app key \"".concat(v,"\" from cookie."),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:yt(l[4]),sessionId:null!=p?p:"",sessionStartTime:yt(w)}}function nn(t){var n={};try{for(var i=t.cookie.split(";"),r=0;r<i.length;r++){var e=i[r].replace(/^\s+|\s+$/g,"").split("=");n[e[0]]||(n[e[0]]=e[1])}}catch(t){"Exception trying to parse cookies: ".concat(t)}return n}var rn,en,sn,on,un,an="_fs_loaded",cn="_fs_namespace",hn="FS";function fn(t){if(rn)return rn;var n=vn(t);return n||(n=t[cn])?(rn=n,n):rn=hn}function vn(t){return t[an]}function ln(t){return t[fn(t)]}function dn(t){return"localhost"==t||"127.0.0.1"==t}(sn=en||(en={})).Consent="consent",sn.Log="log",sn.Record="rec",(un=on||(on={})).Event="event",un.Page="page",un.Vars="setVars",un.User="user";var pn=/^([^.]+\.)*(fullstory|onfire).[^.]+(\/|$)/;function wn(t){return mn(t,"edge")}var gn=["rs","rs-2","edge","www","app"];function mn(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];if(!t)return t;if(!pn.test(t))return t;if(n.some(function(n){return 0===t.lastIndexOf("".concat(n,"."),0)}))return t;for(var r=n[0],e=0,s=gn;e<s.length;e++){var o=s[e];if(0===t.lastIndexOf("".concat(o,"."),0))return"".concat(r,".").concat(t.slice("".concat(o,".").length))}return"".concat(r,".").concat(t)}function yn(t){return pn.test(t)}function bn(t,n,i){void 0===i&&(i="string");var r=t[n];if(typeof r===i)return r}function Sn(t){return bn(t,"_fs_script")||Un(Rn(t))}function kn(t){var n;return null!==(n=bn(t,"_fs_rec_settings_host"))&&void 0!==n?n:wn(Rn(t))}function An(t){return bn(t,"_fs_rec_host")||mn(Rn(t),"rs","rs-2")}function _n(t){return bn(t,"_fs_app_host")||Pn(Rn(t))}function In(t){return bn(t,"_fs_ext_org")||bn(t,"_fs_org")}function En(t){var n=bn(t,"_fs_capture_on_startup","boolean"),i=bn(t,"_fs_capture_on_start","boolean");return void 0===n?void 0===i||!i:n}function Cn(t){return!!bn(t,"_fs_is_outer_script","boolean")}function Tn(t){return bn(t,"_fs_transport","object")}function xn(t){return!!bn(t,"_fs_use_mock_protocol","boolean")}function Kn(t){return bn(t,"_fs_settings","object")}function jn(t){var n=ln(t);if(!n)return[];var i=n.q;return i?(delete n.q,i):[]}function Mn(t,n){var i=ln(t);if(i){var r=i.q;r||(r=i.q=[]),r.push(n)}}function On(t){var n=ln(t);return(null==n?void 0:n._v)||"unknown"}function Rn(t){var n=bn(t,"_fs_ext_host")||bn(t,"_fs_host");if(n){var i=function(t){var n,i,r=null!==(i=null===(n=In(t))||void 0===n?void 0:n.split("-"))&&void 0!==i?i:[];if(!(r.length<3)){var e=r[0],s=r[r.length-1];if(!("na1"===s||e.length>1))return s}}(t);if(!i||!yn(n))return n;var r="";return 0===n.indexOf("www.")&&(n=n.slice(4),r="www."),0===n.indexOf("".concat(i,"."))&&(n=n.slice("".concat(i,".").length)),"".concat(r).concat(i,".").concat(n)}}function Pn(t){return t?dn(function(t){var n=t,i=n.indexOf(":");return i>=0&&(n=n.slice(0,i)),n}(t))?t:0==t.indexOf("www.")?"app.".concat(t.slice(4)):"app.".concat(t):t}function Un(t){var n=wn(t);if(n)return"".concat(n,"/s/fs.js")}var Ln,Nn,Dn,Bn,Fn,Hn,Wn,zn,qn,$n,Vn,Gn,Xn=function(t,n,i){this.name="ProtocolError",this.message=n,this.status=t,this.data=i};function Qn(t){return t>=400&&502!==t||202==t||206==t}(Nn=Ln||(Ln={})).MUT_INSERT=2,Nn.MUT_REMOVE=3,Nn.MUT_ATTR=4,Nn.MUT_TEXT=6,Nn.MOUSEMOVE=8,Nn.MOUSEMOVE_CURVE=9,Nn.SCROLL_LAYOUT=10,Nn.SCROLL_LAYOUT_CURVE=11,Nn.MOUSEDOWN=12,Nn.MOUSEUP=13,Nn.CLICK=16,Nn.FOCUS=17,Nn.VALUECHANGE=18,Nn.RESIZE_LAYOUT=19,Nn.DOMLOADED=20,Nn.LOAD=21,Nn.PLACEHOLDER_SIZE=22,Nn.UNLOAD=23,Nn.BLUR=24,Nn.SET_FRAME_BASE=25,Nn.TOUCHSTART=32,Nn.TOUCHEND=33,Nn.TOUCHCANCEL=34,Nn.TOUCHMOVE=35,Nn.TOUCHMOVE_CURVE=36,Nn.NAVIGATE=37,Nn.PLAY=38,Nn.PAUSE=39,Nn.RESIZE_VISUAL=40,Nn.RESIZE_VISUAL_CURVE=41,Nn.RESIZE_DOCUMENT_CONTENT=42,Nn.RESIZE_SCROLLABLE_ELEMENT_CONTENT=43,Nn.LOG=48,Nn.ERROR=49,Nn.DBL_CLICK=50,Nn.FORM_SUBMIT=51,Nn.WINDOW_FOCUS=52,Nn.WINDOW_BLUR=53,Nn.HEARTBEAT=54,Nn.WATCHED_ELEM=56,Nn.PERF_ENTRY=57,Nn.REC_FEAT_SUPPORTED=58,Nn.SELECT=59,Nn.CSSRULE_INSERT=60,Nn.CSSRULE_DELETE=61,Nn.FAIL_THROTTLED=62,Nn.AJAX_REQUEST=63,Nn.SCROLL_VISUAL_OFFSET=64,Nn.SCROLL_VISUAL_OFFSET_CURVE=65,Nn.MEDIA_QUERY_CHANGE=66,Nn.RESOURCE_TIMING_BUFFER_FULL=67,Nn.MUT_SHADOW=68,Nn.DISABLE_STYLESHEET=69,Nn.FULLSCREEN=70,Nn.FULLSCREEN_ERROR=71,Nn.ADOPTED_STYLESHEETS=72,Nn.CUSTOM_ELEMENT_DEFINED=73,Nn.MODAL_OPEN=74,Nn.MODAL_CLOSE=75,Nn.LONG_FRAME=77,Nn.TIMING=78,Nn.STORAGE_WRITE_FAILURE=79,Nn.DOCUMENT_PROPERTIES=80,Nn.ENTRY_NAVIGATE=81,Nn.STATS=82,Nn.VIEWPORT_INTERSECTION=83,Nn.COPY=84,Nn.PASTE=85,Nn.URL_SALT=86,Nn.URL_ID=87,Nn.FRAME_STATUS=88,Nn.SCRIPT_COMPILED_VERSION=89,Nn.RESET_CSS_SHEET=90,Nn.ANIMATION_CREATED=91,Nn.ANIMATION_METHOD_CALLED=92,Nn.ANIMATION_PROPERTY_SET=93,Nn.DOCUMENT_TIMELINE_CREATED=94,Nn.KEYFRAME_EFFECT_CREATED=95,Nn.KEYFRAME_EFFECT_METHOD_CALLED=96,Nn.KEYFRAME_EFFECT_PROPERTY_SET=97,Nn.CAPTURE_SOURCE=98,Nn.PAGE_DATA=99,Nn.VISIBILITY_STATE=100,Nn.DIALOG=101,Nn.CSSRULE_UPDATE=102,Nn.CANVAS=103,Nn.CANVAS_DETACHED_DIMENSION=104,Nn.INIT_API=105,Nn.DEFERRED_RESOLVED=106,Nn.DEFERRED_MUT_INSERT=107,Nn.DEFERRED_MUT_SHADOW=108,Nn.ELEMENT_PROP=109,Nn.BFCACHE_STATE=110,Nn.SESSION_INFO=111,Nn.KEEP_ELEMENT=2e3,Nn.KEEP_URL=2001,Nn.KEEP_BOUNCE=2002,Nn.KEEP_CRASH=2003,Nn.SYS_SETVAR=8193,Nn.SYS_RESOURCEHASH=8195,Nn.SYS_SETCONSENT=8196,Nn.SYS_CUSTOM=8197,Nn.SYS_REPORTCONSENT=8198,Nn.SYS_LETHE_MOBILE_BUNDLE_SEQ=8199,(Bn=Dn||(Dn={})).Animation=0,Bn.CSSAnimation=1,Bn.CSSTransition=2,(Hn=Fn||(Fn={})).Internal=0,Hn.Public=1,(zn=Wn||(Wn={})).Unknown=0,zn.Serialization=1,($n=qn||(qn={})).Unknown=0,$n.DomSnapshot=1,$n.NodeEncoding=2,$n.LzEncoding=3,$n.ApplyRules=4,$n.ProcessMut=5,(Gn=Vn||(Vn={})).Unknown=0,Gn.Successful=1,Gn.BlocklistedFrame=2,Gn.PartiallyLoaded=3,Gn.MissingWindowOrDocument=4,Gn.MissingDocumentHead=5,Gn.MissingBodyOrChildren=6,Gn.AlreadyDefined=7,Gn.NoNonScriptElement=8,Gn.Exception=9;var Yn,Jn,Zn,ti,ni,ii,ri,ei,si,oi,ui,ai,ci,hi,fi,vi,li,di,pi,wi,gi,mi,yi,bi,Si,ki,Ai,_i,Ii,Ei,Ci,Ti,xi,Ki,ji,Mi,Oi,Ri,Pi,Ui,Li,Ni,Di,Bi,Fi,Hi,Wi,zi,qi,$i,Vi=["print","alert","confirm"];function Gi(t){switch(t){case Ln.MOUSEDOWN:case Ln.MOUSEMOVE:case Ln.MOUSEMOVE_CURVE:case Ln.MOUSEUP:case Ln.TOUCHSTART:case Ln.TOUCHEND:case Ln.TOUCHMOVE:case Ln.TOUCHMOVE_CURVE:case Ln.TOUCHCANCEL:case Ln.CLICK:case Ln.SCROLL_LAYOUT:case Ln.SCROLL_LAYOUT_CURVE:case Ln.SCROLL_VISUAL_OFFSET:case Ln.SCROLL_VISUAL_OFFSET_CURVE:case Ln.NAVIGATE:return!0}return!1}(Jn=Yn||(Yn={}))[Jn.Unset=0]="Unset",Jn[Jn.Entering=1]="Entering",Jn[Jn.Restored=2]="Restored",(ti=Zn||(Zn={}))[ti.Index=1]="Index",ti[ti.Cached=2]="Cached",(ii=ni||(ni={})).GrantConsent=!0,ii.RevokeConsent=!1,(ei=ri||(ri={})).Page=0,ei.Document=1,(oi=si||(si={})).Unknown=0,oi.Api=1,oi.FsShutdownFrame=2,oi.Hibernation=3,oi.Reidentify=4,oi.SettingsBlocked=5,oi.Size=6,oi.Unload=7,oi.Hidden=8,(ai=ui||(ui={})).Unknown=0,ai.NotEmpty=1,ai.EmptyBody=2,(hi=ci||(ci={}))[hi.UNSET=0]="UNSET",hi[hi.OK=1]="OK",hi[hi.ABORTED=2]="ABORTED",hi[hi.OPAQUE=3]="OPAQUE",hi[hi.ERROR=4]="ERROR",(vi=fi||(fi={})).Timing=0,vi.Navigation=1,vi.Resource=2,vi.Paint=3,vi.Mark=4,vi.Measure=5,vi.Memory=6,vi.TimeOrigin=7,vi.LayoutShift=8,vi.FirstInput=9,vi.LargestContentfulPaint=10,vi.LongTask=11,vi.EventTiming=12,vi.EventTimingCount=13,(di=li||(li={})).Timing=["navigationStart","unloadEventStart","unloadEventEnd","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","secureConnectionStart","requestStart","responseStart","responseEnd","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd"],di.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"],di.Resource=["name","startTime","duration","initiatorType","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","secureConnectionStart","requestStart","responseStart","responseEnd","decodedBodySize","encodedBodySize","transferSize"],di.Measure=["name","startTime","duration"],di.Memory=["jsHeapSizeLimit","totalJSHeapSize","usedJSHeapSize"],di.TimeOrigin=["timeOrigin"],di.LayoutShift=["startTime","value","hadRecentInput"],di.FirstInput=["name","startTime","duration","processingStart"],di.EventTiming=["name","startTime","duration","processingStart","processingEnd","interactionId"],di.LargestContentfulPaint=["name","startTime","duration","renderTime","loadTime","size"],di.EventTimingCount=["interactionCount"],(wi=pi||(pi={})).Performance=0,wi.PerformanceEntries=1,wi.PerformanceMemory=2,wi.Console=3,wi.Ajax=4,wi.PerformanceObserver=5,wi.PerformanceTimeOrigin=7,wi.WebAnimation=8,wi.LayoutShift=9,wi.FirstInput=10,wi.LargestContentfulPaint=11,wi.LongTask=12,wi.HTMLDialogElement=13,wi.CaptureOnStartupEnabled=14,wi.CanvasWatcherEnabled=15,wi.CanvasScreenShotMode=16,wi.ResizeObserver=17,(mi=gi||(gi={})).Node=1,mi.Sheet=2,(bi=yi||(yi={})).StyleSheetHooks=0,bi.SetPropertyHooks=1,(ki=Si||(Si={})).Document="document",ki.Event="evt",ki.Page="page",ki.User="user",(_i=Ai||(Ai={})).FsId="fsidentity",_i.NewUid="newuid",(Ei=Ii||(Ii={})).Elide=0,Ei.Record=1,Ei.Allowlist=2,(Ti=Ci||(Ci={})).Any=0,Ti.Exclude=1,Ti.Mask=2,(Ki=xi||(xi={})).Erase=0,Ki.MaskText=1,Ki.ScrubUrl=2,Ki.ScrubCss=3,(Mi=ji||(ji={})).Static=0,Mi.Prefix=1,(Ri=Oi||(Oi={})).SignalInvalid=0,Ri.SignalDeadClick=1,Ri.SignalRageClick=2,(Ui=Pi||(Pi={})).ReasonNoSuchOrg=1,Ui.ReasonOrgDisabled=2,Ui.ReasonOrgOverQuota=3,Ui.ReasonBlockedDomain=4,Ui.ReasonBlockedIp=5,Ui.ReasonBlockedUserAgent=6,Ui.ReasonBlockedGeo=7,Ui.ReasonBlockedTrafficRamping=8,Ui.ReasonInvalidURL=9,Ui.ReasonUserOptOut=10,Ui.ReasonInvalidRecScript=11,Ui.ReasonDeletingUser=12,Ui.ReasonNativeHookFailure=13,(Ni=Li||(Li={})).Unset=0,Ni.Exclude=1,Ni.Mask=2,Ni.Unmask=3,Ni.Watch=4,Ni.Keep=5,Ni.Defer=6,(Bi=Di||(Di={})).Unset=0,Bi.Click=1,(Hi=Fi||(Fi={}))[Hi.Page=1]="Page",Hi[Hi.Bundle=2]="Bundle",(zi=Wi||(Wi={}))[zi.Error=3]="Error",zi[zi.Page=4]="Page",zi[zi.Bundle=5]="Bundle",zi[zi.Settings=6]="Settings",($i=qi||(qi={})).MaxPerfMarksPerPage=16384,$i.MaxLogsPerPage=1024,$i.MaxUrlLength=2048,$i.MutationProcessingInterval=250,$i.CurveSamplingInterval=142,$i.DefaultBundleUploadInterval=5e3,$i.HeartbeatInterval=256200,$i.PageInactivityTimeout=18e5,$i.BackoffMax=3e5,$i.ScrollSampleInterval=$i.MutationProcessingInterval/5,$i.InactivityThreshold=4e3,$i.MaxAjaxPayloadLength=16384,$i.DefaultOrgSettings={MaxPerfMarksPerPage:$i.MaxPerfMarksPerPage,MaxConsoleLogPerPage:$i.MaxLogsPerPage,MaxAjaxPayloadLength:$i.MaxAjaxPayloadLength,MaxUrlLength:$i.MaxUrlLength,RecordPerformanceResourceImg:!0,RecordPerformanceResourceTiming:!0,HttpRequestHeadersAllowlist:[],HttpResponseHeadersAllowlist:[],UrlPrivacyConfig:[{Exclude:{Hash:[{Expression:"#.*"}],QueryParam:[{Expression:"(=)(.*)"}]}}],AttributeBlocklist:[{Target:Ci.Any,Tag:"*",Name:"",Type:ji.Prefix,Action:xi.Erase}]},$i.DefaultStatsSettings={MaxPayloadLength:8192,MaxEventTypeLength:1024},$i.BlockedFieldValue="__fs__redacted",$i.DefaultRecDisabledMessage="Capture disabled. Turn on debug mode for more information.",$i.ShutdownMessage="Shutdown called.";var Xi,Qi,Yi,Ji,Zi,tr,nr,ir,rr,er,sr="_fs_song",or="_fs_uid",ur="_fs_cid",ar="_fs_lua",cr="_fs_trust_event",hr="_fs",fr="__fs",vr="gzip",lr="identity";(Qi=Xi||(Xi={}))[Qi.Inactive=1]="Inactive",Qi[Qi.Pending=2]="Pending",Qi[Qi.ShouldFlush=3]="ShouldFlush",(Ji=Yi||(Yi={}))[Ji.Shutdown=1]="Shutdown",Ji[Ji.Starting=2]="Starting",Ji[Ji.Started=3]="Started",Ji[Ji.Fatal=4]="Fatal",(tr=Zi||(Zi={})).Set=0,tr.Function=1,(ir=nr||(nr={}))[ir.Disabled=0]="Disabled",ir[ir.CaptureCanvasOps=1]="CaptureCanvasOps",ir[ir.ScreenshotCanvas=2]="ScreenshotCanvas",(er=rr||(rr={})).EndPreviewMode="EndPreviewMode",er.EvtBundle="EvtBundle",er.GreetFrame="GreetFrame",er.InitFrameMobile="InitFrameMobile",er.RequestFrameId="RequestFrameId",er.RestartFrame="RestartFrame",er.SetConsent="SetConsent",er.SetFrameId="SetFrameId",er.ShutdownFrame="ShutdownFrame",er.Unknown="Unknown";var dr="_fs_dwell_passed";function pr(t){return"function"==typeof t}var wr,gr,mr,yr,br,Sr=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},kr=0,Ar=function(t,n){_r[kr]=t,_r[kr+1]=n,2===(kr+=2)&&wr()},_r=new Array(1e3);function Ir(){for(var t=0;t<kr;t+=2)(0,_r[t])(_r[t+1]),_r[t]=void 0,_r[t+1]=void 0;kr=0}function Er(t,n){var i=arguments,r=this,e=new this.constructor(xr);void 0===e[Tr]&&$r(e);var s,o=r.D;return o?(s=i[o-1],Ar(function(){return zr(o,e,s,r.B)})):Br(r,e,t,n),e}function Cr(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var n=new this(xr);return Ur(n,t),n}window.MutationObserver?(mr=0,yr=new MutationObserver(Ir),br=document.createTextNode(""),yr.observe(br,{characterData:!0}),wr=function(){var t=mr=++mr%2;br.data="".concat(t)}):(gr=setTimeout,wr=function(){return gr(Ir,1)});var Tr=Math.random().toString(36).substring(16);function xr(){}var Kr=void 0,jr=1,Mr=2,Or=new Hr;function Rr(t){try{return t.then}catch(t){return Or.error=t,Or}}function Pr(t,n,i){n.constructor===t.constructor&&i===Er&&n.constructor.resolve===Cr?function(t,n){n.D===jr?Nr(t,n.B):n.D===Mr?Dr(t,n.B):Br(n,void 0,function(n){return Ur(t,n)},function(n){return Dr(t,n)})}(t,n):i===Or?(Dr(t,Or.error),Or.error=null):void 0===i?Nr(t,n):pr(i)?function(t,n,i){Ar(function(t){var r=!1,e=function(i,e,s,o,u){try{i.call(e,function(i){r||(r=!0,n!==i?Ur(t,i):Nr(t,i))},function(n){r||(r=!0,Dr(t,n))})}catch(t){return t}}(i,n,0,0,"Settle: ".concat(t.F||" unknown promise"));!r&&e&&(r=!0,Dr(t,e))},t)}(t,n,i):Nr(t,n)}function Ur(t,n){var i;t===n?Dr(t,new TypeError("You cannot resolve a promise with itself")):"function"==typeof(i=n)||"object"==typeof i&&null!==i?Pr(t,n,Rr(n)):Nr(t,n)}function Lr(t){t.H&&t.H(t.B),Fr(t)}function Nr(t,n){t.D===Kr&&(t.B=n,t.D=jr,0!==t.W.length&&Ar(Fr,t))}function Dr(t,n){t.D===Kr&&(t.D=Mr,t.B=n,Ar(Lr,t))}function Br(t,n,i,r){var e=t.W,s=e.length;t.H=null,e[s]=n,e[s+jr]=i,e[s+Mr]=r,0===s&&t.D&&Ar(Fr,t)}function Fr(t){var n=t.W,i=t.D;if(0!==n.length){for(var r,e,s=t.B,o=0;o<n.length;o+=3)r=n[o],e=n[o+i],r?zr(i,r,e,s):e(s);t.W.length=0}}function Hr(){this.error=null}var Wr=new Hr;function zr(t,n,i,r){var e,s,o=pr(i),u=!1,a=!1;if(o){if(e=function(t,n){try{return t(n)}catch(t){return Wr.error=t,Wr}}(i,r),e===Wr?(a=!0,s=e.error,e.error=null):u=!0,n===e)return void Dr(n,new TypeError("A promises callback cannot return that same promise."))}else e=r,u=!0;n.D!==Kr||(o&&u?Ur(n,e):a?Dr(n,s):t===jr?Nr(n,e):t===Mr&&Dr(n,e))}var qr=0;function $r(t){t[Tr]=qr++,t.D=void 0,t.B=void 0,t.W=[]}function Vr(t,n){this.$=t,this.promise=new t(xr),this.promise[Tr]||$r(this.promise),Sr(n)?(this.V=n,this.length=n.length,this.G=n.length,this.B=new Array(this.length),0===this.length?Nr(this.promise,this.B):(this.length=this.length||0,this.X(),0===this.G&&Nr(this.promise,this.B))):Dr(this.promise,new Error("Array Methods must be provided an Array"))}Vr.prototype.X=function(){for(var t=this.length,n=this.V,i=0;this.D===Kr&&i<t;i++)this.Y(n[i],i)},Vr.prototype.Y=function(t,n){var i=this.$,r=i.resolve;if(r===Cr){var e=Rr(t);if(e===Er&&t.D!==Kr)this.J(t.D,n,t.B);else if("function"!=typeof e)this.G--,this.B[n]=t;else if(i===Gr){var s=new i(xr);Pr(s,t,e),this.Z(s,n)}else this.Z(new i(function(n){return n(t)}),n)}else this.Z(r(t),n)},Vr.prototype.J=function(t,n,i){var r=this.promise;r.D===Kr&&(this.G--,t===Mr?Dr(r,i):this.B[n]=i),0===this.G&&Nr(r,this.B)},Vr.prototype.Z=function(t,n){var i=this;Br(t,void 0,function(t){return i.J(jr,n,t)},function(t){return i.J(Mr,n,t)})};var Gr=function(t){this[Tr]=qr++,this.B=this.D=void 0,this.W=[],xr!==t&&("function"!=typeof t&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof Gr?function(t,n){try{n(function(n){Ur(t,n)},function(n){Dr(t,n)})}catch(n){Dr(t,n)}}(this,t):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())};Gr.all=function(t){return new Vr(this,t).promise},Gr.race=function(t){var n=this;return Sr(t)?new n(function(i,r){for(var e=t.length,s=0;s<e;s++)n.resolve(t[s]).then(i,r)}):new n(function(t,n){return n(new TypeError("You must pass an array to race."))})},Gr.resolve=Cr,Gr.reject=function(t){var n=new this(xr);return Dr(n,t),n},Gr.tt=function(t){Ar=t},Gr.nt=Ar,Gr.prototype={constructor:Gr,then:Er,"catch":function(t){return this.then(null,t)}};var Xr="function"==typeof window.Promise?window.Promise:Gr;function Qr(){var t,n;return{promise:new Xr(function(i,r){t=i,n=r}),resolve:t,reject:n}}function Yr(t){return new Xr(function(n){T.setWindowTimeout(window,P(n),t)})}function Jr(t){for(var n=t.reduce(function(t,n){return t+n.byteLength},0),i=new ArrayBuffer(n),r=new Uint8Array(i),e=0,s=0,o=t;s<o.length;s++){var u=o[s];r.set(u,e),e+=u.byteLength}return i}function Zr(t){if(mt(t.arrayBuffer))return t.arrayBuffer();var n=Qr(),i=n.resolve,r=n.promise,e=new FileReader;return e.readAsArrayBuffer(t),e.onload=function(){i(e.result)},e.onerror=function(t){var n="blob to AB";zs(n,n,{err:t}),i(null)},r}function te(t){return r(this,void 0,void 0,function(){var n,i,r;return e(this,function(e){switch(e.label){case 0:n=[],e.label=1;case 1:return[4,t.read()];case 2:return i=e.sent(),r=i.value,i.done?[2,n]:(void 0!==r&&n.push(r),[3,1]);case 3:return[2]}})})}var ne=function(t){return r(void 0,void 0,Xr,function(){return e(this,function(n){switch(n.label){case 0:return[4,te(t)];case 1:return[2,Jr(n.sent())]}})})};function ie(){return r(this,void 0,Xr,function(){var t,n,i,r;return e(this,function(e){return t=new TextEncoderStream,n=new CompressionStream("gzip"),t.readable.pipeThrough(n),i=t.writable.getWriter(),r=n.readable.getReader(),[2,[{write:function(t){return i.ready.then(function(){return i.write(t)})},finalize:function(){return i.ready.then(function(){return i.close()})},onError:function(){i.abort()["catch"](function(t){}),r.cancel()["catch"](function(t){})}},ne(r)]]})})}function re(t){return r(this,void 0,Xr,function(){var n,i,r;return e(this,function(e){switch(e.label){case 0:return e.trys.push([0,5,,6]),[4,ie()];case 1:return r=e.sent(),n=r[0],i=r[1],[4,n.write(t)];case 2:return e.sent(),[4,n.finalize()];case 3:return e.sent(),[4,i];case 4:return[2,e.sent()];case 5:return e.sent(),null==n||n.onError(),[2,null];case 6:return[2]}})})}function ee(){return r(this,void 0,Xr,function(){return e(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,re("fullstory")];case 1:return[2,null!=t.sent()];case 2:return t.sent(),[3,3];case 3:return[2,!1]}})})}var se=new Xr(function(t){r(void 0,void 0,Xr,function(){var n;return e(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,Xr.race([ee(),Yr(500).then(function(){return!1})])];case 1:return n=i.sent(),t(n),[3,3];case 2:return i.sent(),t(!1),[3,3];case 3:return[2]}})})}),oe=function(){var t=function(){try{var t=new MessageChannel;return t.port1.start(),t}catch(t){return null}}();return t?new Xr(function(n){var i=t.port1,r=t.port2,e=function(){n(),i.removeEventListener("message",e),i.close()};i.addEventListener("message",e),r.postMessage(void 0),r.close()}):Yr(0)},ue=function(){return r(void 0,void 0,Xr,function(){var t;return e(this,function(n){switch(n.label){case 0:return(t=T.requestWindowAnimationFrame)?[4,new Xr(function(n){return t(window,n)})]:[3,2];case 1:n.sent(),n.label=2;case 2:return[4,oe()];case 3:return n.sent(),[2]}})})};function ae(t){void 0===t&&(t=16);var n=Gt()+t;return{timeRemaining:function(){return Math.max(0,n-Gt())},didTimeout:!1}}function ce(t,n){return r(this,void 0,Xr,function(){var i,r,s,o;return e(this,function(e){switch(e.label){case 0:return(i=t.ResizeObserver)?(r=t.document,s=r.documentElement||r.body||r.head,o=null!=n?n:s,[2,new Xr(function(t){var n=new i(function(){ue().then(function(){n.unobserve(o),t()})});n.observe(o)})]):[4,ue()];case 1:return e.sent(),[2]}})})}function he(t,n){throw void 0===n&&(n="Reached unexpected case in exhaustive switch"),new Error(n)}var fe=function(t){for(var n=[],i=0,r=t;i<r.length;i++){var e=r[i],s={Exclude:ve(e.Exclude)};if(e.If){s.If=[];for(var o=0,u=e.If;o<u.length;o++){var a=u[o];s.If.push(ve(a,!0))}}n.push(s)}return n};function ve(t,n){return void 0===n&&(n=!1),{Hash:de(t.Hash,n),Host:de(t.Host,n),Path:de(t.Path,n),QueryParam:de(t.QueryParam,n),Query:de(t.Query,n)}}var le="ig";function de(t,n){return t?n?[new RegExp(t.map(function(t){return t.Expression}).join("|"),le)]:t.map(function(t){return new RegExp(t.Expression,le)}):[]}var pe="--blocked--",we=function(t,n,i,r){if(void 0===i&&(i=pe),!n||0===t.length)return n;for(var e=[],s=0,o=t;s<o.length;s++)for(var u=o[s],a=0,c=ge(u,n,r);a<c.length;a++){var h=c[a];e.push(h)}if(0===e.length)return n;for(var f="",v=0,l=0,d=e=me(e);l<d.length;l++){var p=d[l],w=p[0],g=p[1];f+="".concat(n.substring(v,w)).concat(i),v=g}return f+n.slice(v)},ge=function(t,n,i){var r,e=[];for(t.lastIndex=0;null!==(r=t.exec(n));)if(r){if(""===r[0])return".*"!==t.source&&i&&i("detected possible infinite loop when matching zero-length characters",{re:t.source}),[[0,n.length]];if(1!==r.length)for(var s=r.index,o=0,u=1;u<r.length;u++){var a=r[u];if(a&&0!==a.length)if(u%2!=1){var c=s+o,h=c+a.length;e.push([c,h]),o+=a.length}else o+=a.length}else e.push([r.index,t.lastIndex])}return e},me=function(t){if(t.length<=1)return t;t.sort(function(t,n){return t[0]-n[0]});for(var n=[],i=t[0],r=1;r<t.length;r++){var e=t[r];i[1]<=e[0]?(n.push(i),i=e):i[1]<e[1]&&(i[1]=e[1])}return n.push(i),n},ye={},be="__default";function Se(t){void 0===t&&(t=be);var n=ye[t];return n||(n=function(){var t=document.implementation.createHTMLDocument("");return t.head||t.documentElement.appendChild(t.createElement("head")),t.body||t.documentElement.appendChild(t.createElement("body")),t}(),t!==be&&(n.open(),n.write(t),n.close()),ye[t]=n),n}var ke=new(function(){function t(){var t=Se(),n=t.getElementById("urlresolver-base");n||((n=t.createElement("base")).id="urlresolver-base",t.head.appendChild(n));var i=t.getElementById("urlresolver-parser");i||((i=t.createElement("a")).id="urlresolver-parser",t.head.appendChild(i)),this.base=n,this.parser=i}return t.prototype.parseUrl=function(t,n){var i=t;if("undefined"!=typeof URL)try{i||(i=document.baseURI);var r=i?new URL(n,i):new URL(n);if(r.href)return r}catch(t){}return this.parseUrlUsingBaseAndAnchor(i,n)},t.prototype.parseUrlUsingBaseAndAnchor=function(t,n){this.base.setAttribute("href",t),this.parser.setAttribute("href",n);var i=document.createElement("a");return i.href=this.parser.href,i},t.prototype.resolveUrl=function(t,n){return this.parseUrl(t,n).href},t.prototype.resolveToDocument=function(t,n){var i=_e(t);return null==i?n:this.resolveUrl(i,n)},t}());function Ae(t,n){return ke.parseUrl(t,n)}function _e(t){var n=t.document,i=t.location.href;if("string"==typeof n.baseURI)i=n.baseURI;else{var r=n.getElementsByTagName("base")[0];r&&r.href&&(i=r.href)}return"about:blank"==i&&t.parent!=t?_e(t.parent):i}var Ie=function(t,n,i,r){void 0===i&&(i=pe);for(var e,s,o=Ae("",n),u={Hash:[],Host:[],Path:[],QueryParam:[],Query:[]},a=0,c=t;a<c.length;a++){var h=c[a];Te(h.If,o)&&Ke(u,h.Exclude)}if(o.host){var f=we(u.Host,o.host,i,r);o.host=f,o.port&&(e=f,s=o.port,e.substring(e.length-s.length)!==s)&&(o.port="")}if(o.pathname=we(u.Path,je(o.pathname,o.host),i),o.hash&&(o.hash=we(u.Hash,o.hash,i)),o.search){var v=Ce(u.QueryParam,o.search,i);o.search=we(u.Query,v,i)}return o.href},Ee=function(t,n){if(0===t.length||!n)return!0;for(var i=0,r=n.split("?");i<r.length;i++)for(var e=0,s=r[i].replace("?","").split("&");e<s.length;e++){var o=s[e];if(xe(t,o))return!0}return!1},Ce=function(t,n,i){return void 0===i&&(i=pe),n.split("?").map(function(n){return n.replace("?","").split("&").map(function(n){return we(t,n,i)}).join("&")}).join("?")},Te=function(t,n){if(!t)return!0;for(var i=je(n.pathname,n.host),r=0,e=t;r<e.length;r++){var s=e[r];if(xe(s.Hash,n.hash)&&xe(s.Host,n.host)&&xe(s.Path,i)&&Ee(s.QueryParam,n.search)&&xe(s.Query,n.search))return!0}return!1},xe=function(t,n){return 0===t.length||!n||t.every(function(t){return t.lastIndex=0,t.test(n)})},Ke=function(t,n){var i,r,e,s,o;(i=t.Hash).push.apply(i,n.Hash),(r=t.Host).push.apply(r,n.Host),(e=t.Path).push.apply(e,n.Path),(s=t.QueryParam).push.apply(s,n.QueryParam),(o=t.Query).push.apply(o,n.Query)};function je(t,n){return n&&"/"!==t.charAt(0)?"/".concat(t):t}var Me=new RegExp("[^\\s]"),Oe=new RegExp("[\\s]*$");function Re(t){var n=Me.exec(t);if(!n)return t;for(var i=n.index,r=(n=Oe.exec(t))?t.length-n.index:0,e="\uFFFF",s=t.slice(i,t.length-r).split(/\r\n?|\n/g),o=0;o<s.length;o++)e+="".concat(s[o].length),o!=s.length-1&&(e+=":");return(i||r)&&(e+=" ".concat(i," ").concat(r)),e}String.prototype;var Pe,Ue,Le,Ne,De=[["@import\\s+\"","\""],["@import\\s+'","'"]].concat([["url\\(\\s*\"","\"\\s*\\)"],["url\\(\\s*'","'\\s*\\)"],["url\\(\\s*","\\s*\\)"]]),Be=".*?".concat(/(?:[^\\](?:\\\\)*)/.source),Fe=new RegExp(De.map(function(t){var n=t[0],i=t[1];return"(".concat(n,")(").concat(Be,")(").concat(i,")")}).join("|"),"g"),He=/url\(["']?(.+?)["']?\)/g,We=/^\s*\/\//,ze=/[-\\^$*+?.()|[\]{}]/g,qe=new RegExp(ze.source);(Ue=Pe||(Pe={}))[Ue.Exclude=2]="Exclude",Ue[Ue.Mask=4]="Mask",Ue[Ue.Unmask=8]="Unmask",Ue[Ue.Watch=16]="Watch",Ue[Ue.Keep=32]="Keep",Ue[Ue.Defer=64]="Defer",(Ne=Le||(Le={}))[Ne.Immediate=1]="Immediate",Ne[Ne.Deferred=2]="Deferred";var $e=[Pe.Exclude,Pe.Mask,Pe.Unmask],Ve=[Pe.Watch,Pe.Keep,Pe.Defer],Ge=$e.concat(Ve),Xe=["allowReorder","attributeName","attributeType","autoReverse","baseFrequency","baseProfile","calcMode","clipPathUnits","contentScriptType","contentStyleType","diffuseConstant","edgeMode","externalResourcesRequired","filterRes","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","referrerPolicy","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].reduce(function(t,n){return t[n]=n,t[n.toUpperCase()]=n,t},{}),Qe=16e6,Ye=/^\s*((prefetch|preload|prerender)\s*)+$/i,Je=/^\s*.*((worklet|script|worker|font|fetch)\s*)+$/i;function Ze(t,n,i){var r,e,s=t.node,o=t.tag;if(null===o||""===n)return null;if("link"===o&&Ye.test(null!==(r=s.getAttribute("rel"))&&void 0!==r?r:"")&&!Je.test(null!==(e=s.getAttribute("as"))&&void 0!==e?e:""))return null;var u,a="style"===n?ns(i):i,c=function(t,n,i){var r,e,s,o,u,a,c,h,f,v,l,d,p,w=void 0;(null===(r=null==n?void 0:n.watchKind)||void 0===r?void 0:r.has(Pe.Exclude))?w=Ci.Exclude:(null==n?void 0:n.mask)&&(w=Ci.Mask);var g=[],m=null===(o=null===(s=null===(e=ps.blocklist[Ci.Any])||void 0===e?void 0:e[t])||void 0===s?void 0:s["static"])||void 0===o?void 0:o[i],y=null===(c=null===(a=null===(u=ps.blocklist[Ci.Any])||void 0===u?void 0:u["*"])||void 0===a?void 0:a["static"])||void 0===c?void 0:c[i];if(void 0!==m&&g.push(m),void 0!==y&&g.push(y),w){var b=null===(v=null===(f=null===(h=ps.blocklist[w])||void 0===h?void 0:h[t])||void 0===f?void 0:f["static"])||void 0===v?void 0:v[i],S=null===(p=null===(d=null===(l=ps.blocklist[w])||void 0===l?void 0:l["*"])||void 0===d?void 0:d["static"])||void 0===p?void 0:p[i];void 0!==b&&g.push(b),void 0!==S&&g.push(S)}if(ps.hasPrefix){var k=ms(Ci.Any,t,i),A=ms(Ci.Any,"*",i);if(void 0!==k&&g.push(k),void 0!==A&&g.push(A),w){var _=ms(w,t,i),I=ms(w,"*",i);void 0!==_&&g.push(_),void 0!==I&&g.push(I)}}return function(t){if(0!==t.length)return T.mathMin.apply(T,t)}(g)}(o,t,n);if(void 0===c&&!t)return null;switch(c){case void 0:return a;case xi.Erase:return null;case xi.MaskText:return Re(a);case xi.ScrubCss:return u=function(t,n,i){return"".concat(t).concat(ws).concat(i)},a.replace(Fe,function(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r=n[0]||n[3]||n[6]||n[9]||n[12],e=(n[1]||n[4]||n[7]||n[10]||n[13],n[2]||n[5]||n[8]||n[11]||n[14]);return n[15],u(r,0,e)});case xi.ScrubUrl:var h=rs(a,{source:"dom",type:o});if("#"===a[0]){var f=h.indexOf("#");if(f>-1)return h.substring(f)}return h;default:return he()}}var ts={},ns=function(t,n){void 0===n&&(n=window);try{var i=n.location,r=i.origin,e=i.pathname,s=i.search,o="".concat(r).concat(e).concat(s),u=ts[o];return u?u.lastIndex=0:(u=new RegExp("".concat((c=o,qe.test(c)?c.replace(ze,"\\$&"):c),"/?(#)"),"g"),ts[o]=u),t.replace(u,"".concat("https://fs-currenturl.invalid","$1"))}catch(n){var a="cleanCSS";return zs(a,a,{err:n}),t}var c},is=/^data:/i;function rs(t,n){if(is.test(t))return t;switch(n.source){case"dom":switch(n.type){case"frame":case"iframe":return hs(t);default:return es(t)}case"event":switch(n.type){case Ln.AJAX_REQUEST:case Ln.NAVIGATE:return es(t);case Ln.SET_FRAME_BASE:return hs(t);default:return he()}case"log":return hs(t);case"page":switch(n.type){case"base":return hs(t);case"referrer":case"url":return es(t);default:return he()}case"perfEntry":switch(n.type){case"frame":case"iframe":case"navigation":case"other":return hs(t);default:return es(t)}default:return he()}}function es(t){return fs(us,t)}var ss=qi.DefaultOrgSettings.MaxUrlLength,os=fe(qi.DefaultOrgSettings.UrlPrivacyConfig),us=fe(qi.DefaultOrgSettings.UrlPrivacyConfig);function as(t,n){os=fe(qi.DefaultOrgSettings.UrlPrivacyConfig.concat(t)),us=fe(t),ss=n||qi.DefaultOrgSettings.MaxUrlLength}function cs(t,n){Ds.send(t,"error",n)}function hs(t){return fs(os,t)}function fs(t,n){return Ie(t,n,pe,cs).substring(0,ss)}var vs=/([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)/gi,ls=/(?:(http)|(ftp)|(ws)|(blob)|(file))[s]?:\/\/(?:[a-zA-Z]|[0-9]|[$-_@.&+#]|[!*(),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+/gi;function ds(t){return t.replace(vs,"<email>").replace(ls,function(t){return rs(t,{source:"log",type:"debug"})})}var ps,ws="https://fs-excluded.invalid";function gs(t){var n,i,r,e,s,o,u,a,c,h,f,v,l,d,p,w;try{for(var g=(ps={blocklist:{},hasPrefix:!1}).blocklist,m=(null!==(r=null==t?void 0:t.length)&&void 0!==r?r:0)>0?t:qi.DefaultOrgSettings.AttributeBlocklist,y={},b=0,S=m;b<S.length;b++){var k=S[b],A=k.Action;switch(A){case xi.Erase:case xi.MaskText:case xi.ScrubCss:case xi.ScrubUrl:break;default:Ds.send("Detected unexpected attribute block action ".concat(A),"warning"),A=xi.Erase}if(null!==(e=g[h=k.Target])&&void 0!==e||(g[h]={}),null!==(s=(f=g[k.Target])[v=k.Tag])&&void 0!==s||(f[v]={"static":{},regex:{}}),k.Type===ji.Prefix)null!==(o=y[l=k.Target])&&void 0!==o||(y[l]={}),null!==(u=(d=y[k.Target])[p=k.Tag])&&void 0!==u||(d[p]={}),null!==(a=(w=y[k.Target][k.Tag])[A])&&void 0!==a||(w[A]=[]),y[k.Target][k.Tag][A].push(null!==(c=k.Name)&&void 0!==c?c:"");else{if(!k.Name){Ds.send("Detected an empty named static attribute ".concat(JSON.stringify(k)),"warning");continue}g[k.Target][k.Tag]["static"][k.Name]=A}}for(var _ in y)for(var I in y[_])for(var E in y[_][I]){var C=y[_][I][E];g[_][I].regex[E]=new RegExp("^(?:".concat(C.join("|"),")"),"i"),ps.hasPrefix=!0}}catch(t){Ds.send(t,"warning"),ps={blocklist:(n={},n[Ci.Any]={"*":{"static":{},regex:(i={},i[xi.Erase]=/.*/,i)}},n),hasPrefix:!0}}}function ms(t,n,i){var r,e,s=null===(e=null===(r=ps.blocklist[t])||void 0===r?void 0:r[n])||void 0===e?void 0:e.regex;if(s)for(var o in s)if(s[o].test(i))return Number(o)}gs();var ys={target:{any:Ci.Any,exclude:Ci.Exclude,mask:Ci.Mask},action:{erase:xi.Erase,maskText:xi.MaskText,scrubUrl:xi.ScrubUrl,scrubCss:xi.ScrubCss},type:{"static":ji.Static,prefix:ji.Prefix}};function bs(t){var n;return{Tag:t.tag,Name:t.name,Target:ys.target[t.target],Action:ys.action[t.action],Type:ys.type[null!==(n=t.type)&&void 0!==n?n:"static"]}}var Ss=function(){function t(t){var n=this;this.it=0,this.rt=!1,this.et=t.options.scheme,this.st=t.options.cdnHost,this.ot=t,se.then(function(t){n.rt=t})}return t.prototype.page=function(t){return r(this,void 0,Xr,function(){return e(this,function(n){switch(n.label){case 0:return[4,_s(this.ot.window,this.et,Os(this.ot),"/rec/page",{type:"string",data:Ot(t)})];case 1:return[2,Pt(n.sent().text)]}})})},t.prototype.settings=function(t){return r(this,void 0,Xr,function(){var n,i,r;return e(this,function(e){switch(e.label){case 0:if(n=Kn(this.ot.window))return[2,n];e.label=1;case 1:return e.trys.push([1,3,,4]),i=t.previewMode?Os(this.ot):this.st,[4,Ms(this.ot.window,this.et,i,t)];case 2:return[2,e.sent()];case 3:if(r=e.sent(),t.previewMode)throw r;return[3,4];case 4:return[2,Ms(this.ot.window,this.et,Os(this.ot),t)]}})})},t.prototype.bundle=function(t){var n;return r(this,void 0,Xr,function(){var r,s,o,u,a,c,h,f;return e(this,function(e){switch(e.label){case 0:return[4,oe()];case 1:return e.sent(),r=i({},t),s=r,[4,this.ut(t.bundle)];case 2:return s.bundle=e.sent(),o=r.bundle,u=o[1],a=o[2],this.it+=a,a>2e6?[4,oe()]:[3,4];case 3:e.sent(),e.label=4;case 4:return window,c=As(r),[4,_s(this.ot.window,this.et,null!==(n=r.recHost)&&void 0!==n?n:Os(this.ot),c,u)];case 5:return h=e.sent().text,f=Pt(h),window,[2,[this.it,f]]}})})},t.prototype.ut=function(t){return r(this,void 0,Xr,function(){var n,i,r;return e(this,function(e){switch(e.label){case 0:return n=t[0],i=t[1],this.ot.recording.flags().UseCompression&&"string"===i.type&&this.rt?[4,re(i.data)]:[3,2];case 1:if(null!=(r=e.sent()))return[2,[n,{type:"ArrayBuffer",data:r,encoding:vr},r.byteLength]];this.rt=!1,zs("compression failed","compression failed"),e.label=2;case 2:return[2,t]}})})},t.prototype.bundleBeacon=function(t){var n;return Ts(this.et,null!==(n=t.recHost)&&void 0!==n?n:Os(this.ot),t)},t.prototype.startBeacon=function(t){return r(this,void 0,Xr,function(){return e(this,function(n){return[2,xs(this.ot.window,this.et,Os(this.ot),t)]})})},t.prototype.exponentialBackoffMs=function(t,n){var i=T.mathMin(qi.BackoffMax,5e3*T.mathPow(2,t));return n?i+.25*T.mathRandom()*i:i},t}(),ks=function(){function t(t){this.et=t.options.scheme,this.ot=t}return t.prototype.uploadResource=function(t){return r(this,void 0,Xr,function(){return e(this,function(n){switch(n.label){case 0:return[4,_s(this.ot.window,this.et,Os(this.ot),"/rec/uploadResource",t)];case 1:return[2,n.sent().text]}})})},t.prototype.queryResources=function(t){return r(this,void 0,Xr,function(){return e(this,function(n){switch(n.label){case 0:return[4,_s(this.ot.window,this.et,Os(this.ot),"/rec/queryResources",{type:"string",data:Ot(t)})];case 1:return[2,Pt(n.sent().text)]}})})},t}();function As(t,n){void 0===n&&(n=Gt());var i=t.bundle,r=i[0],e=i[1],s="encoding"in e?e.encoding:lr,o="/rec/bundle".concat("v2"===t.version?"/v2":""),u="".concat(o,"?OrgId=").concat(t.orgId,"&UserId=").concat(t.userId,"&SessionId=").concat(t.sessionId,"&PageId=").concat(t.pageId,"&Seq=").concat(r,"&ClientTime=").concat(n);return null!=t.serverPageStart&&(u+="&PageStart=".concat(t.serverPageStart)),null!=t.serverBundleTime&&(u+="&PrevBundleTime=".concat(t.serverBundleTime)),null!=t.lastUserActivity&&(u+="&LastActivity=".concat(t.lastUserActivity)),t.isNewSession&&(u+="&IsNewSession=true"),null!=t.deltaT&&(u+="&DeltaT=".concat(t.deltaT)),s===vr&&(u+="&ContentEncoding=".concat(vr)),u}function _s(t,n,i,s,o){return r(this,void 0,Xr,function(){return e(this,function(r){return[2,Es(t,"POST",n,i,Rs(s),!0,o)]})})}function Is(t,n,i,s){return r(this,void 0,Xr,function(){return e(this,function(r){return[2,Es(t,"GET",n,i,Rs(s),!1)]})})}function Es(t,n,i,s,o,u,a){return r(this,void 0,Xr,function(){var r,c,h,f,v,l,d;return e(this,function(e){switch(e.label){case 0:switch(r=function(t){return bn(t,"_fs_request","function")}(t)||Cs,c="//".concat(s).concat(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(),Ds.send(v,"error"),v;case 4:if(l={text:f.responseText},200==f.status)return[2,l];try{d=Pt(l.text)}catch(t){}throw new Xn(f.status,l.text,d)}})})}function Cs(t,n,i,s,o,u){return r(this,void 0,Xr,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 Xr(function(e){var u=!1,a=new XMLHttpRequest;for(var c in a.onreadystatechange=function(){a.readyState!==J||u||(u=!0,e({status:a.status,responseText:a.responseText}))},a.open(n,"".concat(t).concat(i),!0),a.withCredentials=s,o)a.setRequestHeader(c,o[c]);a.send(r)})]})})}function Ts(t,n,i){return Ks("".concat(t,"//").concat(n).concat(As(i),"&SkipResponseBody=true"),i.bundle[1])}function xs(t,n,i,s){return r(this,void 0,Xr,function(){var r,o,u,a,c;return e(this,function(e){switch(e.label){case 0:r=t.document.referrer,o=r?rs(r,{source:"page",type:"referrer"}):"",u="orgId=".concat(s.orgId,"&userId=").concat(s.userId,"&sessionId=").concat(s.sessionId),a={referrer:o},e.label=1;case 1:return e.trys.push([1,3,,4]),[4,_s(t,n,i,"/rec/beacon?".concat(u),{type:"string",data:Ot(a)})];case 2:return e.sent(),[3,4];case 3:return c=e.sent(),"failed to send session start beacon ".concat(c),[3,4];case 4:return[2]}})})}function Ks(t,n){return(bn(window,"_fs_beacon","function")||js)(t,n)}function js(t,n){if("function"==typeof navigator.sendBeacon)try{return navigator.sendBeacon.bind(navigator)(t,n.data)}catch(t){}return!1}function Ms(t,n,i,s){var o;return r(this,void 0,Xr,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,Is(t,n,i,"/s/settings/".concat(s.orgId,"/").concat(r,"/web").concat(u))];case 1:return[2,Pt(e.sent().text)]}})})}function Os(t){var n,i=null===(n=t.recording.pageResponse())||void 0===n?void 0:n.GCLBSubdomain,r=t.options.recHost;return i&&yn(r)?r.replace(/^rs\./,"".concat(i,".")):r}function Rs(t){if(!window.Zone)return t;var n="?";return t.indexOf(n)>-1&&(n="&"),"".concat(t).concat(n,"ngsw-bypass=true")}var Ps=/function\s*([\w\-$]+)?\s*\(/i;function Us(t){return t.stack||t.backtrace||t.stacktrace}function Ls(){var t,n;try{throw new Error("")}catch(i){t="<generated>\n",n=Us(i)}if(!n){t="<generated-ie>\n";var i=[];try{for(var r=arguments.callee.caller.caller;r&&i.length<10;){var e=Ps.test(r.toString())&&RegExp.$1||"[anonymous]";i.push(e),r=r.caller}}catch(t){t.toString()}n=i.join("\n")}return t+n}function Ns(){try{return window.self!==window.top}catch(t){return!0}}var Ds=function(){function t(){}return t.wrap=function(n,i){return void 0===i&&(i="error"),P(n,function(n){return t.send(n,i)})},t.ct=15,t.send=function(n,i,r){if(!(t.ct<=0)){t.ct--;var e=n;"string"==typeof e&&(e=new Error(e));var s=nn(document).fs_uid,o=s?tn(s):void 0;o&&o.orgId!=In(window)&&(o=void 0);var u=new Date(1713852872e3).toISOString(),a={projectRoot:window.location.origin,deviceTime:Gt(),inIframe:Ns(),CompiledVersion:"8f0997a03aeaf4f9ad2804f98a28e84048db3174",CompiledTimestamp:1713852872,CompiledTime:u,orgId:In(window),"userId:sessionId":o?"".concat(o.userId,":").concat(o.sessionId):"NA",context:document.location&&document.location.pathname,message:e.message,name:"Recording Error",releaseStage:"production ".concat(u),severity:i,language:Ft(window),stacktrace:Us(e)||Ls()},c=function(t,n,i){var r="".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(i));t.push(r)},h=[];for(var f in a)c(h,f,a[f]||"");if(r)for(var f in r){var v=Bs(r[f]);c(h,"aux_".concat(f),v)}if(!xn(window)){var l="https://".concat(An(window),"/rec/except?").concat(h.join("&"));Ks(l,{data:"",type:"string"})||(new Image().src=l)}}},t}();function Bs(t){try{var n="".concat(typeof t,": ").concat(Ot(t));return"function"==typeof t.toString&&(n+=" (toString: ".concat(t.toString(),")")),n}catch(t){return"failed to serialize \"".concat(null==t?void 0:t.message,"\"")}}var Fs={};function Hs(t,n,i){if(void 0===i&&(i=1),t)return!0;if(Fs[n]=Fs[n]||0,Fs[n]++,Fs[n]>i)return!1;var r=new Error("Assertion failed: ".concat(n));return Ds.send(r,"error"),t}var Ws={};function zs(t,n,i){var r;Ws[t]=null!==(r=Ws[t])&&void 0!==r?r:0,Ws[t]++,Ws[t]>1||Ds.send(n,"error",i)}function qs(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):"Target of ".concat(i," doesn't seem to support listeners"))}function $s(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):"Target of ".concat(i," doesn't seem to support listeners"))}function Vs(t){t.target&&($s(t),t.target=null,t.fn=void 0)}var Gs=function(){function t(){var t=this;this.ht=[],this.ft=[],this.vt=!0,this.lt=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t.vt={capture:!0,passive:!0},t.lt={capture:!1,passive:!0}}});window.addEventListener("test",N,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:Ds.wrap(jt(function(t){(e||!1!==t.isTrusted||"message"==n||t[cr])&&r(t)})),options:i?this.vt:this.lt,index:this.ht.length};return this.ht.push(s),qs(s),s},t.prototype.clear=function(){for(var t=0;t<this.ht.length;t++)this.ht[t].target&&Vs(this.ht[t]);this.ht=[]},t.prototype.createChild=function(){var n=new t;return this.ft.push(n),n},t.prototype.refresh=function(){for(var t=0,n=this.ht;t<n.length;t++){var i=n[t];i.target&&($s(i),qs(i))}for(var r=0,e=this.ft;r<e.length;r++)e[r].refresh()},t}();function Xs(t,n){return n&&t.pageLeft==n.pageLeft&&t.pageTop==n.pageTop}function Qs(t,n){return n&&t.width==n.width&&t.height==n.height}function Ys(t){return{pageLeft:t.pageLeft,pageTop:t.pageTop,width:t.width,height:t.height}}function Js(t){return"BackCompat"==t.compatMode}function Zs(t){return t&&t.body&&t.documentElement?Js(t)?[t.body.clientWidth,t.body.clientHeight]:[t.documentElement.clientWidth,t.documentElement.clientHeight]:[0,0]}var to=function(){function t(t,n){var i,r,e,s;this.hasKnownPosition=!1,this.pageLeft=0,this.pageTop=0,this.width=0,this.height=0,this.clientWidth=0,this.clientHeight=0;var o=t.document;if(o&&o.documentElement&&o.body){i=Zs(o),this.clientWidth=i[0],this.clientHeight=i[1];var u=t.visualViewport;if(u){this.hasKnownPosition=!0,this.pageTop=u.pageTop-u.offsetTop,this.pageLeft=u.pageLeft-u.offsetLeft,0==this.pageTop&&(this.pageTop=0),0==this.pageLeft&&(this.pageLeft=0);var a=null!==(e=eo(t,"innerWidth"))&&void 0!==e?e:0,c=null!==(s=eo(t,"innerHeight"))&&void 0!==s?s:0;if(a>0&&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.dt(t),this.width=r[0],this.height=r[1]}}return t.prototype.dt=function(t){var n=no(t,"width",this.clientWidth,this.clientWidth+128);void 0===n&&(n=eo(t,"innerWidth")),void 0===n&&(n=this.clientWidth);var i=no(t,"height",this.clientHeight,this.clientHeight+128);return void 0===i&&(i=eo(t,"innerHeight")),void 0===i&&(i=this.clientHeight),[n,i]},t}();function no(t,n,i,r){if(T.matchMedia){var e=i,s=r,o=T.matchMedia(t,"(min-".concat(n,": ").concat(e,"px)"));if(null!=o){if(o.matches&&T.matchMedia(t,"(max-".concat(n,": ").concat(e,"px)")).matches)return e;for(;e<=s;){var u=T.mathFloor((e+s)/2);if(T.matchMedia(t,"(min-".concat(n,": ").concat(u,"px)")).matches){if(T.matchMedia(t,"(max-".concat(n,": ").concat(u,"px)")).matches)return u;e=u+1}else s=u-1}}}}function io(t,n){return new to(t,n)}var ro=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):Js(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 eo(t,n){try{return t[n]}catch(t){return}}function so(t){var n=[t.clientWidth,t.clientHeight];return t.width===t.clientWidth&&t.height===t.clientHeight||n.push(t.width,t.height),n}function oo(t){var n=t.tagName;return n?"object"==typeof n?"form":n.toLowerCase():null}var uo=/(\s*(\S+)(\s+(?:\d+w|[\d.]+x)){0,1}\s*[,])/gm,ao=/((\s*(\S+)(\s+(?:\d+w|[\d.]+x)){0,1}\s*(\s*\d+\S){0,1}(\s*\d+(.\d*){0,1}\S){0,1}\s*)[,])/gm,co={},ho=1;function fo(t,n){var i,r;return void 0===n&&(n=po(t)),null!==(r=null===(i=null==n?void 0:n.watchKind)||void 0===i?void 0:i.hasKinds())&&void 0!==r&&r}function vo(t,n){var i,r;return void 0===n&&(n=po(t)),null!==(r=null===(i=null==n?void 0:n.watchKind)||void 0===i?void 0:i.has(Pe.Exclude))&&void 0!==r&&r}function lo(t,n){return void 0===n&&(n=po(t)),!!n&&!!n.mask}function po(t){var n=t?t[hr]:null;return n?co[n]:null}function wo(t){return co[t]}function go(t){try{return t&&t[hr]||0}catch(t){return 0}}function mo(t){return t&&!vo(t)?go(t):0}function yo(t,n){t.parent&&(n(t),t.parent.child==t&&(t.parent.child=t.next),t.parent.lastChild==t&&(t.parent.lastChild=t.prev),t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent=t.prev=t.next=null,delete co[t.id],t.node[hr]==t.id&&(t.node[hr]=0),t.id=0,t.child&&bo(t.child,n))}function bo(t,n){for(var i=[t];i.length>0&&i.length<1e4;){var r=i.pop();n(r),delete co[r.id],r.node[hr]==r.id&&(r.node[hr]=0),r.id=0,r.next&&i.push(r.next),r.child&&i.push(r.child)}Hs(i.length<1e4,"clearIds is fast")}var So,ko,Ao=function(t,n,i){function r(n,i){var r=0;try{t(n,function(t,n){if(r++>i)throw"break";if("object"==typeof n)return n})}catch(t){return"break"!=t}return!1}var e=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 s(r,o,u,a){if(o<1)return 0;var c=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}(r);if(void 0!==c){var h=function(n,i){var r=t(n);return r&&"\""==r[0]?e(r,i,"...\""):r}(c,o);return"string"==typeof h&&h.length<=o?(a.tokens.push(h),h.length):0}if(a.cyclic){a.opath.splice(u);var f=a.opath.lastIndexOf(r);if(f>-1){var v="<Cycle to ancestor #".concat(u-f-1,">");return v="\"".concat(e(v,o-2),"\""),a.tokens.push(v),v.length}a.opath.push(r)}var l=o,d=function(t){return l>=t.length&&(l-=t.length,a.tokens.push(t),!0)},p=function(t){var n=a.tokens.length-1;","===a.tokens[n]?a.tokens[n]=t:d(t)};if(l<2)return 0;if(n(r)){d("[");for(var w=0;w<r.length&&l>0;w++){var g=s(r[w],l-1,u+1,a);if(l-=g,0==g&&!d("null"))break;d(",")}p("]")}else{d("{");var m=i(r);for(w=0;w<m.length&&l>0;w++){var y=m[w],b=r[y];if(!d("\"".concat(y,"\":")))break;if(0==(g=s(b,l-1,u+1,a))){a.tokens.pop();break}l-=g,d(",")}p("}")}return o==1/0?1:o-l}return function(t,n){void 0===n&&(n=1024);try{var i={tokens:[],opath:[],cyclic:r(t,n/4)};return s(t,n,0,i),i.tokens.join("")}catch(t){return pt(t)}}}(T.jsonStringify,wt,It),_o=function(){function t(){var n=this;this.wt=Ds.wrap(function(){n.gt(),n.yt&&n.yt()}),this.bt=0,this.St=t.kt++}return t.checkForBrokenSchedulers=function(){return r(this,void 0,Xr,function(){var n,i;return e(this,function(r){switch(r.label){case 0:return!T.requestWindowAnimationFrame||t.At||(n=Gt())-t._t<100?[2,!1]:(t._t=n,t.At=!0,[4,new Xr(function(t){return T.requestWindowAnimationFrame(window,t)})]);case 1:return r.sent(),i=[],Ct(t.It,function(t){var r=t.Et(n);r&&i.push(r)}),[4,Xr.all(i)];case 2:return r.sent(),T.requestWindowAnimationFrame(window,Ds.wrap(function(){t.At=!1})),[2,!0]}})})},t.stopAll=function(){Ct(this.It,function(t){return t.stop()})},t.prototype.Ct=function(t){this.yt=t},t.prototype.stop=function(){this.Tt(),delete t.It[this.St]},t.prototype.xt=function(n){this.bt=Gt()+100+1.5*n,t.It[this.St]=this},t.prototype.Kt=function(){return null!=t.It[this.St]},t.prototype.gt=function(){delete t.It[this.St]},t.prototype.Et=function(t){if(t>this.bt)return Xr.resolve().then(this.wt)["catch"](function(){})},t.It={},t.kt=0,t.At=!1,t._t=0,t}(),Io=function(t){function i(n){var i=t.call(this)||this;return i.jt=n,i.Mt=-1,i}return n(i,t),i.prototype.start=function(t){var n=this;-1==this.Mt&&(this.Ct(function(){t(),n.xt(n.jt)}),this.Mt=T.setWindowInterval(window,this.wt,this.jt),this.xt(this.jt))},i.prototype.Tt=function(){-1!=this.Mt&&(T.clearWindowInterval(window,this.Mt),this.Mt=-1,this.Ct(function(){}))},i}(_o),Eo=function(t){function i(n,i,r){void 0===i&&(i=0);for(var e=[],s=3;s<arguments.length;s++)e[s-3]=arguments[s];var o=t.call(this)||this;return o.Ot=i,o.Rt=-1,o.Ct(function(){o.stop(),n.apply(void 0===r?window:r,e)}),o}return n(i,t),i.prototype.start=function(t){return void 0===t&&(t=this.Ot),this.Ot=t,T.clearWindowTimeout(window,this.Rt),this.Rt=T.setWindowTimeout(window,this.wt,this.Ot),this.xt(t),this},i.prototype.isRunning=function(){return this.Kt()},i.prototype.Tt=function(){-1!=this.Rt&&(T.clearWindowTimeout(window,this.Rt),this.Rt=-1)},i}(_o),Co=function(){function t(t,n,i){this.Pt=t,this.Ut=i,this.G=0,this.Lt=new Io(n),this.open()}return t.prototype.guard=function(t){var n=this;return function(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];return 0==n.G?(n.Ut(),void n.G--):n.G<0?void 0:(n.G--,t.apply(this,i))}},t.prototype.close=function(){return this.Lt.stop(),this},t.prototype.open=function(){var t=this;return this.G=this.Pt,this.Lt.start(function(){t.G=t.Pt}),this},t}(),To=function(){function t(){this.Nt=0,this.Dt=Gt()}return t.prototype.wallTime=function(){return Gt()},t.prototype.now=function(){var t=this.wallTime()-this.Dt;return t<0&&this.Bt("timekeeper now() is negative"),t},t.prototype.startTime=function(){return this.Dt},t.prototype.setStartTime=function(t){var n=this.wallTime();this.Dt=t,t>n&&(this.Nt=t-n,this.Nt>1e3&&this.Bt("timekeeper set with future ts"))},t.prototype.Bt=function(t){Ao({msg:t,skew:this.Nt,startTime:this.Dt,wallTime:this.wallTime()},1024)},t}();(ko=So||(So={})).Indeterminate="indeterminate",ko.Checked="checked",ko.Value="value";var xo=function(){function t(t,n){var i;this.ot=t,this.Ft=n,this.Ht=!1,this.Wt={},this.zt=((i={})[So.Checked]={},i[So.Indeterminate]={},i[So.Value]={},i),this.qt={},this.$t=[],this.Vt={},this.Gt=!1,this.Xt=!1,this.Qt={},this.Yt=null,this.t=t.window.document}return t.prototype.start=function(){this.Jt()||(this.Ht=!0)},t.prototype.hookInstance=function(t,n){if("input"===oo(n))switch(n.type){case"checkbox":case"radio":this.Zt(t,n,"checked");break;default:this.Zt(t,n,"value")}},t.prototype.addInput=function(t){if(t){var n=mo(t);if(n){if("input"===oo(t)){var i=t;this.tn(n,i),i.indeterminate&&this.nn(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"!=oo(t))return t.getAttribute("value")||"";var n=t,i=n.querySelector("option[selected]")||n.querySelector("option");return i&&i.value||""}(t)}}(t)&&(this.rn(t),r=!0),this.Ht&&(this.Wt[n]={elem:t}),!r)if(Oo(t)){var e=Ko(t);t.checked&&(this.qt[e]=n)}else this.en(n,So.Value,Mo(t))}}},t.prototype.en=function(t,n,i){this.zt[n][t]=i},t.prototype.sn=function(t,n){return this.zt[n][t]},t.prototype.on=function(t){for(var n in this.zt)delete this.zt[n][t]},t.prototype.tn=function(t,n){if(this.Gt)this.Xt&&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.Xt=!0,this.hookInstance(t,n)),this.Gt=!0}},t.prototype.un=function(t,n){void 0===n&&(n=Mo(t));var i=mo(t);if(!t||!i)return!1;if(Oo(t)){var r=Ko(t);return this.qt[r]===i!=("true"===n)}return this.sn(i,So.Value)!==n},t.prototype.onChange=function(t,n,i){void 0===i&&(i=Mo(t));var r=mo(t);t&&r&&(n||this.un(t,i))&&this.rn(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)&&!vo(i)&&this.un(i)&&this.rn(i,t)},t.prototype.tick=function(){for(var t in this.Wt){var n=this.Wt[t],i=n.elem;if(mo(i))try{delete this.Wt[t];var r=Mo(i);if(this.un(i,r))this.rn(i);else if(n.noFsIdInOption){var e=i;Array.prototype.slice.call(e.options).every(function(t){return mo(t)})&&(n.noFsIdInOption=!1,this.rn(i))}}finally{this.Ht&&(this.Wt[t]=n)}else delete this.Wt[t],this.on(t),Oo(i)&&delete this.qt[Ko(i)]}},t.prototype.stop=function(){for(var t,n=0,i=this.$t;n<i.length;n++)(e=i[n])();for(var r in this.Vt){var e;(e=this.Vt[r])&&"function"==typeof e&&e()}this.zt=((t={})[So.Checked]={},t[So.Indeterminate]={},t[So.Value]={},t),this.$t=[],this.Vt={},this.Gt=!1,this.Xt=!1},t.prototype.removeInput=function(t){var n=mo(t);n&&(this.Vt[n]&&(this.Vt[n](),delete this.Vt[n]),this.on(n))},t.prototype.rn=function(t,n){var i=this;void 0===n&&(n=!1);var r=mo(t);if(t&&r&&!this.an(r,t)){var e=Mo(t);if(Oo(t)){var s=Ko(t);"false"===e&&this.qt[s]===r?delete this.qt[s]:"true"===e&&(this.qt[s]=r)}else this.en(r,So.Value,e);this.ot.measurer.enqueue(function(){var s=t.getBoundingClientRect(),o=s.width>0&&s.height>0,u=lo(t)?Re(e):e;i.Ft.enqueue({Kind:Ln.VALUECHANGE,Args:[r,u,n,o]})})}},t.prototype.an=function(t,n){if(this.Wt[t])return!0;if("select"!==oo(n))return!1;for(var i=n.options,r=0;r<i.length;r++)if(!mo(i[r]))return this.Wt[t]={elem:n,noFsIdInOption:!0},!0;return!1},t.prototype.nn=function(t,n){var i=mo(t);i&&this.cn(i,So.Indeterminate,n)},t.prototype.cn=function(t,n,i){this.sn(t,n)!==i&&(this.en(t,n,i),this.Ft.enqueue({Kind:Ln.ELEMENT_PROP,Args:[t,n,i]}))},t.prototype.Jt=function(){var t=this,n=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value");return!(!n||!n.set||(this.hn(HTMLInputElement,"value"),this.hn(HTMLInputElement,"checked"),this.hn(HTMLSelectElement,"value"),this.hn(HTMLTextAreaElement,"value"),this.hn(HTMLSelectElement,"selectedIndex"),this.hn(HTMLOptionElement,"selected"),this.$t.push(Dt(HTMLInputElement,So.Indeterminate,function(n,i){return t.nn(n,!!i)})),0))},t.prototype.vn=function(){try{for(var t in this.Qt){var n=this.Qt[t],i=n[0],r=n[1];this.onChange(i,!1,r)}}finally{this.Yt=null,this.Qt={}}},t.prototype.ln=function(t){var n=this;return function(i,r){var e=jo(i),s=mo(e);if(s){t===So.Checked&&n.cn(s,So.Checked,r);var o=e!==i?Mo(e):r;n.un(e,"".concat(o))&&(n.Qt[s]=[e,"".concat(o)],n.Yt||(n.Yt=new Eo(n.vn.bind(n)),n.Yt.start()))}}},t.prototype.hn=function(t,n){this.$t.push(Dt(t,n,this.ln(n)))},t.prototype.Zt=function(t,n,i){this.Vt[t]=Bt(n,i,this.ln(i))},t}();function Ko(t){if(!t)return"";for(var n=t;n&&"form"!==oo(n);)n=lt(n);var i=n&&"form"==oo(n)?go(n):0,r=t.name||"_fs_".concat(go(t));return"".concat(i,":").concat(r)}function jo(t,n){if(void 0===n&&(n=2),n<=0)return t;var i=oo(t),r=lt(t);return"option"!==i&&"optgroup"!==i||(null==r?void 0:r.nodeType)!==Q?t:jo(r,n-1)}function Mo(t){if(!t)return"";switch(t.type){case"checkbox":case"radio":return"".concat(t.checked);default:var n=t.value;return n||(n=""),"".concat(n)}}function Oo(t){return t&&"radio"==t.type}var Ro,Po,Uo,Lo,No=(Po=(Ro=window.navigator).vendor,Uo=void 0!==window.opr,Lo=Ro.userAgent.indexOf("Edge")>-1,!!Ro.userAgent.match("CriOS")||"Google Inc."===Po&&!Uo&&!Lo),Do=/Firefox/.test(window.navigator.userAgent);function Bo(t){if(!Do)return!1;var n=window.navigator.userAgent.match(/Firefox\/(\d+)/);return!(!n||!n[1])&&parseInt(n[1],10)<t}function Fo(t){if(!No)return!1;var n=window.navigator.userAgent.match(/Chrome\/(\d+)/);return!(!n||!n[1])&&parseInt(n[1],10)<t}Bo(28),Bo(27),Fo(23),Fo(38),Fo(57),Fo(60);var Ho=function(){function t(t,n,i){var r=this;this.dn=new B(void 0,g),this.pn=!1,this.wn=!1,this.kt=1,this.gn=[],this.mn=[],this.yn=Ds.wrap(function(t){var n=function(t,n){void 0===n&&(n=window);var i=n.KeyframeEffect,r=t.effect;return r&&(void 0===i||r instanceof i)?r:null}(t,r.bn),i=function(t,n){void 0===n&&(n=window);var i=n.DocumentTimeline,r=t.timeline;return r&&(void 0===i||r instanceof i)?r:null}(t,r.bn),e=$o(t);if((null==n?void 0:n.target)&&0!==mo(null==n?void 0:n.target)&&i===r.bn.document.timeline&&e===Dn.Animation){var o=go(n.target);if(r.dn.has(n)){var u=r.dn.get(n)||[],a=(c=u[0],u.slice(1));-1===a.indexOf(o)&&(r.Sn(n,o),r.dn.set(n,s(s([c],a,!0),[o],!1)))}else{var c=r.kt++;r.dn.set(n,[c,o]),r.kn.enqueue({Kind:Ln.KEYFRAME_EFFECT_CREATED,Args:[c,o,qo(n),zo(n)]})}if(!r.dn.has(t)){var h=r.kt++,f=(c=r.An(n),r.An(i));switch(r.dn.set(t,[h]),r.kn.enqueue({Kind:Ln.ANIMATION_CREATED,Args:[h,$o(t),c,f]}),t.playState){case"finished":r.kn.enqueue({Kind:Ln.ANIMATION_METHOD_CALLED,Args:[h,["finish",[]]]});break;case"paused":case"running":r.kn.enqueue({Kind:Ln.ANIMATION_PROPERTY_SET,Args:[h,["currentTime",t.currentTime]]});var v="paused"===t.playState?"pause":"play";r.kn.enqueue({Kind:Ln.ANIMATION_METHOD_CALLED,Args:[h,[v,[]]]})}r.ht.add(t,"cancel",!0,function(){r.kn.enqueue({Kind:Ln.ANIMATION_METHOD_CALLED,Args:[h,["cancel",[]]]})}),r.ht.add(t,"finish",!0,function(){r.kn.enqueue({Kind:Ln.ANIMATION_METHOD_CALLED,Args:[h,["finish",[]]]})})}}}),this.kn=n,this.bn=t.window,this.ht=i.createChild(),this.wn=function(t){void 0===t&&(t=window);var n=t.Animation,i=t.Document,r=t.Element;return void 0!==n&&void 0!==n.prototype&&"effect"in n.prototype&&"getAnimations"in i.prototype&&"animate"in r.prototype}(this.bn)}return Object.defineProperty(t.prototype,"nextId",{get:function(){return this.kt},enumerable:!1,configurable:!0}),t.prototype.snapshot=function(t){var n;if(this._n(t))for(var i=0,r=null!==(n=t.getAnimations())&&void 0!==n?n:[];i<r.length;i++){var e=r[i];this.yn(e)}},t.prototype._n=function(t){return this.pn&&this.wn&&"getAnimations"in t},t.prototype.start=function(t){var n,i=this;t.CaptureAnimations&&(this.kn.enqueue({Kind:Ln.REC_FEAT_SUPPORTED,Args:[pi.WebAnimation,this.wn]}),this.wn&&(this.pn=!0,this.In(null===(n=Nt(this.bn.Element.prototype,"animate"))||void 0===n?void 0:n.afterSync(function(t){i.yn(t.result)})),this.En("play"),this.En("pause"),this.En("cancel"),this.En("finish"),this.Cn("updateTiming"),this.Cn("setKeyframes"),this.gn.push(Dt(KeyframeEffect,"target",function(t,n){i.Sn(t,go(n))}))))},t.prototype.stop=function(){this.ht.clear(),this.pn=!1,this.mn.forEach(function(t){return t&&t.disable()}),this.mn=[],this.gn.forEach(function(t){return t()}),this.gn=[]},t.prototype.Sn=function(t,n){var i=this.An(t);i&&this.kn.enqueue({Kind:Ln.KEYFRAME_EFFECT_PROPERTY_SET,Args:[i,["target",n]]})},t.prototype.An=function(t){return(this.dn.get(t)||[])[0]},t.prototype.In=function(t){t&&this.mn.push(t)},t.prototype.En=function(t){var n,i=this;this.In(null===(n=Nt(Animation.prototype,t))||void 0===n?void 0:n.afterSync(function(n){var r=i.An(n.that);r&&i.kn.enqueue({Kind:Ln.ANIMATION_METHOD_CALLED,Args:[r,[t,[]]]})}))},t.prototype.Cn=function(t){var n,i=this;this.In(null===(n=Nt(KeyframeEffect.prototype,t))||void 0===n?void 0:n.afterSync(function(n){var r,e=i.An(n.that);if(e)switch(t){case"updateTiming":var s=n.args[0];i.kn.enqueue({Kind:Ln.KEYFRAME_EFFECT_METHOD_CALLED,Args:[e,["updateTiming",[Wo(s)]]]});break;case"setKeyframes":var o=n.args[0];i.kn.enqueue({Kind:Ln.KEYFRAME_EFFECT_METHOD_CALLED,Args:[e,["setKeyframes",[(r=o,(T.arrayIsArray(r)?r:[r]).map(function(t){var n=[];return Ct(t,function(t,i){n.push([i,t])}),[n,null,null,null]}))]]]})}}))},t}();function Wo(t){return[t.delay,t.direction,t.duration,t.easing,t.endDelay,t.fill,t.iterationStart,"".concat(t.iterations)]}function zo(t){var n=t.getTiming(),i=t.composite,r=void 0===i?"replace":i,e=t.iterationComposite,o=void 0===e?"replace":e;return s(s([],Wo(n),!0),[r,o],!1)}function qo(t){return t.getKeyframes().map(function(t){var n=t.composite,i=t.easing,r=t.offset,e=[];return Ct(t,function(t,n){"composite"!==n&&"computedOffset"!==n&&"easing"!==n&&"offset"!==n&&e.push([n,t])}),[e,n,i,r]})}function $o(t){return"animationName"in t?Dn.CSSAnimation:"transitionProperty"in t?Dn.CSSTransition:Dn.Animation}function Vo(t){return"function"==typeof(n=t.constructor)&&Function.prototype.toString.call(n).indexOf("[native code]")>-1;var n}var Go,Xo,Qo,Yo,Jo="#polyfillshadow";function Zo(t,n,i,r){var e;try{var s="invalid: no sanitizers";if(!Hs(t.length>0,s))throw s;for(var o=0,u=t;o<u.length;o++)u[o].sanitize(i)}catch(t){i[Qo.Attrs]=void 0,i[Qo.Text]=void 0,"sanitizer failed: ".concat(t),Ds.send("sanitizer failed: ".concat(t),"error",{err:t})}var a=i;if(r)try{r(a)}catch(t){"visitorPipeline action failed: ".concat(t),Ds.send("visitorPipeline action failed: ".concat(t),"error",{err:t})}if(!(null===(e=i[Qo.Mirror].watchKind)||void 0===e?void 0:e.has(Pe.Exclude)))for(var c=0,h=n;c<h.length;c++){var f=h[c];try{f.visit(a)}catch(t){"visitor failed: ".concat(t),Ds.send("visitor failed: ".concat(t),"error",{err:t})}}}(Xo=Go||(Go={}))[Xo.New=0]="New",Xo[Xo.Update=1]="Update",(Yo=Qo||(Qo={}))[Yo.Context=0]="Context",Yo[Yo.Mirror=1]="Mirror",Yo[Yo.Attrs=2]="Attrs",Yo[Yo.Text=3]="Text";var tu=function(){function t(){this.Tn=0,this.xn={},this.xn.next=this.xn.prev=this.xn}return t.prototype.first=function(){return this.xn.next.value},t.prototype.last=function(){return this.xn.prev.value},t.prototype.size=function(){return this.Tn},t.prototype.push=function(t){this.Tn++,nu(this.xn.prev,{value:t})},t.prototype.unshift=function(t){this.Tn++,nu(this.xn,{value:t})},t.prototype.pop=function(){return this.Tn>0&&this.Tn--,iu(this.xn.prev)},t.prototype.shift=function(){return this.Tn>0&&this.Tn--,iu(this.xn.next)},t}();function nu(t,n){var i=t.next;n.next=i,n.prev=t,t.next=i.prev=n}function iu(t){var n=t.prev,i=t.next;return n.next=i,i.prev=n,t.value}var ru,eu,su={timeRemaining:function(){return 1},didTimeout:!1};(eu=ru||(ru={}))[eu.Idle=0]="Idle",eu[eu.Scheduled=1]="Scheduled",eu[eu.Processing=2]="Processing";var ou=function(){function t(t){void 0===t&&(t=1),this.Kn=t,this.kt=1,this.jn=ru.Idle,this.Mn=new tu,this.On={},this.Rn=1}return t.prototype.enqueue=function(t,n){var i=this;if(void 0===n&&(n=!1),!(this.jn===ru.Processing&&this.Rn>16)){var r={id:this.kt++,isCompleted:!1,process:t,depth:this.Rn,store:n};return this.Mn.push(r),this.Pn(),n?function(){return i.Un(r)}:void 0}zs("recursive","deep recursive task found")},t.prototype.Un=function(t){try{var n=t.id,i=this.On[n];return i?(delete this.On[n],[i.result,i.err]):(uu(su,t),Hs(t.isCompleted,"failed to complete task"),[t.result,t.err])}finally{t.result=void 0,t.err=void 0}},t.prototype.flush=function(){this.Ln(su)},t.prototype.Pn=function(){this.jn===ru.Idle&&(this.jn=ru.Scheduled,this.Nn())},t.prototype.Ln=function(t){if(this.jn===ru.Scheduled){var n=0;this.jn=ru.Processing;for(var i=this.Mn.first();i&&au(n,this.Kn,t);)this.Rn=i.depth+1,uu(t,i),i.isCompleted&&(this.Mn.shift(),!i.store||void 0===i.result&&void 0===i.err||(this.On[i.id]=i)),i=this.Mn.first(),n++;this.jn=ru.Idle,this.Rn=1,this.Mn.size()>0&&this.Pn()}},t}();function uu(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 au(t,n,i){return t<n||i.timeRemaining()>0}var cu,hu=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return n(i,t),i.prototype.Nn=function(){var t=this;oe().then(function(){t.Ln(ae(36))})},i}(ou),fu={INPUT:!0,TEXTAREA:!0,NOSCRIPT:!0},vu=function(){function t(t,n,i,r){this.Dn=t,this.Bn=n,this.Fn=i,this.Hn=r,this.Wn=!1,co={},ho=1,cu=new WeakMap,this.Mn=new hu}return t.prototype.setUseTreeWalker=function(t){this.Wn=t},t.prototype.tokenizeNode=function(t,n,i,r,e,s,o){var u=this,a=po(n),c=po(i),h=[];return function(n){var i=ho;try{return u.zn(t,a,c,r,h,e,s,o),!0}catch(t){return ho=i,!1}}()||(h=[]),h},t.prototype.zn=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.qn(t,v,e,s,o);if(null!=d&&!(null===(a=d.watchKind)||void 0===a?void 0:a.has(Pe.Exclude))){var p=d.type===Q?l.shadowRoot:null,w=!this.Wn&&d.shadowRootType===Jo&&window.HTMLSlotElement&&"slot"===d.tag&&l.assignedNodes();if(p||w||ft(l))if(null===(c=d.watchKind)||void 0===c?void 0:c.has(Pe.Defer))u(d.node,Le.Deferred);else{if(h.push("]"),ht(l,f(h,d)),p)h.push({parentMirror:d,nextMirror:null,node:p});else if(w&&w.length>0){for(var g=[],m=!1,y=0,b=w;y<b.length;y++){var S=b[y],k=go(S);if(!k){var A=lt(S);if(A&&!function(t,n){var i=!1;return q(t.childNodes,function(t){return t===n?(i=!0,U.Exit):U.ContinueProcessing}),i}(A,S)){g.push({parentMirror:d,nextMirror:null,node:S});continue}m=!0;break}var _="<$".concat(k);g.push(_)}if(m)cu.get(l)||(cu.set(l,!0),u(l,Le.Immediate));else{h.push("]");for(var I=g.length-1;I>=0;I--)h.push(g[I]);h.push("[","<".concat("#assigned-nodes"))}}h.push("[")}}}else"<"===v[0]&&++ho,e.push(v)}},t.prototype.qn=function(t,n,i,r,e){var s,o,u,a,c=n.node,h=n.parentMirror,f=n.nextMirror,l=oo(c),d=c.nodeName,p=c.nodeType;if("script"===l||8===p)return null;var w=function(t){if(t.constructor===window.ShadowRoot)return Vo(t)?"#shadow":Jo}(c);if(this.Wn&&w===Jo)return null;var g,m,y,b,S,k=function(t,n,i,r){void 0===n&&(n=t.nodeName),void 0===i&&(i=t.nodeType),void 0===r&&(r=oo(t));var e={id:ho++,node:t,name:n,type:i,tag:r};return co[e.id]=e,t[hr]=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,y=f,yo(m=k,this.Hn.bind(this)),m.parent=g,m.next=y,y&&(m.prev=y.prev,y.prev=m),null==m.next?(m.prev=g.lastChild,g.lastChild=m):m.next.prev=m,null==m.prev?g.child=m:m.prev.next=m)),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=lt(c);(null==A?void 0:A.nodeType)===Q&&this.Bn.observe(A)}S=null!==(o=c.textContent)&&void 0!==o?o:"";break;case Q:var _=c,I=this.getWatchState(_,d,!!k.shadowRootType,t);if(null!=I){k.watchKind=I;var E=!1;I.has(Pe.Watch)&&(E=!0,null===(u=this.Fn)||void 0===u||u.observe(_)),I.has(Pe.Unmask)&&(k.mask=!1),I.has(Pe.Mask)&&(k.mask=!0),(I.has(Pe.Exclude)||I.has(Pe.Defer))&&(E=!0),E&&this.Bn.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:[];o<u.length;o++){var a=u[o];null!=a&&null!=(f=t.getAttribute(a))&&(s[a]="".concat(f))}else for(var c=null!==(e=null===(r=t.attributes)||void 0===r?void 0:r.length)&&void 0!==e?e:0,h=0;h<c;h++){var f,l=t.attributes[h];null!=l&&null!=(f=l.value)&&(s[l.name]="".concat(f))}}catch(t){"get attrs failed: ".concat(t),Ds.send("get attrs failed: ".concat(t),"error",{err:t})}return s}}(_,l)}}catch(t){Ds.send(t,"error")}if(!(null===(a=k.watchKind)||void 0===a?void 0:a.has(Pe.Exclude)))for(var C=0,T=e;C<T.length;C++){var x=T[C];try{x.preVisit&&x.preVisit(k)}catch(t){"pre-visitor failed: ".concat(t),Ds.send("per-visitor failed: ".concat(t),"error",{err:t})}}var K=[Go.New,k,b,S],j=this.Mn.enqueue(function(t){var n=[];return Zo(r,e,K,function(t){!function(t,n){var i=n[1],r=n[2],e=n[3],s=i.shadowRootType,o=i.node,u=i.watchKind,a=i.name;switch(i.type){default:t.push("<".concat(a));break;case 10:var c=o;t.push("<!DOCTYPE",":name",c.name,":publicId",c.publicId||"",":systemId",c.systemId||"");break;case 11:case Y:var h=void 0;h=s||a,t.push("<".concat(h));break;case 3:t.push("<".concat(a),null!=e?e:"");break;case Q:if(h=a,"http://www.w3.org/2000/svg"===o.namespaceURI&&(h="svg:".concat(h)),t.push("<".concat(h)),u&&(u.has(Pe.Exclude)&&t.push(":".concat("_fs_excluded"),"true"),u.has(Pe.Defer)&&t.push(":".concat("_fs_deferred"),"true")),i.mask&&t.push(":".concat("_fs_masked"),"true"),r)for(var f in r)t.push(":".concat(f)),t.push(r[f])}}(n,t)}),{done:!0,result:n}},!0);return Hs("function"==typeof j,"failed to queue visitor"),j&&i.push(function(){var t=j();return t&&t[0]||[]}),k},t.prototype.getWatchState=function(t,n,i,r){return i||null==r||fu[n]?this.Dn.isWatched(t):r.get(t)},t}(),lu=[{Selector:"input[type=password]",Consent:!1,Type:1},{Selector:"input[type=hidden]",Consent:!1,Type:1},{Selector:"[autocomplete^=cc-]",Consent:!1,Type:1},{Selector:"object:not([type^=\"image/\"])",Consent:!1,Type:1},{Selector:"embed:not([type^=\"image/\"])",Consent:!1,Type:1},{Selector:"noscript",Consent:!1,Type:1},{Selector:".fs-hide",Consent:!1,Type:1},{Selector:".fs-exclude",Consent:!1,Type:1},{Selector:".fs-exclude-without-consent",Consent:!0,Type:1},{Selector:".fs-mask",Consent:!1,Type:2},{Selector:".fs-mask-without-consent",Consent:!0,Type:2},{Selector:".fs-unmask",Consent:!1,Type:3},{Selector:".fs-unmask-with-consent",Consent:!0,Type:3},{Selector:".fs-block",Consent:!1,Type:1},{Selector:".fs-record-with-consent",Consent:!0,Type:1}],du=function(t,n){return t|n},pu=Ve.reduce(du,0),wu=$e.reduce(du,0),gu=function(){function t(t){void 0===t&&(t=0),this.$n=t}return t.prototype.has=function(t){return!!(this.$n&t)},t.prototype.set=function(n){if(this.$n&wu&&n&wu){var i=this.$n|n,r=t.Vn(i);this.$n=t.Gn(r,this.$n)}else this.$n|=n},t.prototype.hasKinds=function(){return 0!==this.$n},t.areEqual=function(t,n){return null==t&&null==n||null!=t&&null!=n&&t.equals(n)},t.prototype.getStrictestPrivacyKind=function(){return t.Vn(this.$n)},t.Vn=function(t){for(var n=0,i=$e;n<i.length;n++){var r=i[n];if(t&r)return r}return null},t.needsToObserve=function(t,n){var i,r,e=null!==(i=null==t?void 0:t.$n)&&void 0!==i?i:0;return!!((null!==(r=null==n?void 0:n.$n)&&void 0!==r?r:0)&~e&pu)},t.combineKindsPreservePrivacy=function(n,i){var r,e,s=t.Gn(null!==(r=null==n?void 0:n.$n)&&void 0!==r?r:0,null!==(e=null==i?void 0:i.$n)&&void 0!==e?e:0);return new t(s)},t.Gn=function(t,n){return t&wu|n&pu},t.prototype.equals=function(t){return!!t&&this.$n===t.$n},t}();function mu(t){var n=document.documentElement||document.createElement("div");try{return T.elMatches(n,t),!0}catch(n){return Ds.send("Browser rejected rule","warning",{selector:t,error:n.toString()}),!1}}var yu={1:"exclude",2:"mask",3:"unmask",4:"watch",5:"keep",6:"defer"},bu=function(){function t(){this.Xn=ku(),this.Qn=ku()}return t.prototype.forConsentState=function(t){return t?this.Xn:this.Qn},t.prototype.addElementBlockRules=function(t){var n=this,i=ku(),r=ku();t.map(_u).filter(function(t){return Au(t.selector)}).forEach(function(t){if(t.consent)return t.kind===Pe.Unmask?void i[t.kind].push(t):void r[t.kind].push(t);i[t.kind].push(t),r[t.kind].push(t)});for(var e=document.documentElement||document.createElement("div"),s=function(t,i){try{if(0===t.length)return;var r=t.map(function(t){return t.selector}).join(", ");T.elMatches(e,r),i.push(r)}catch(i){Ds.send("Browser rejected optimistic merge rule","warning"),n.Ht(t)}},o=0,u=Ge;o<u.length;o++){var a=u[o];s(i[a],this.Xn[a]),s(r[a],this.Qn[a])}},t.prototype.addRule=function(t,n,i){if(this.Yn(t,n,i))return!0;switch(t){case Pe.Watch:case Pe.Unmask:case Pe.Keep:case Pe.Defer:break;case Pe.Mask:case Pe.Exclude:default:this.Xn[t].length=0,this.Xn[t].push("*"),this.Qn[t].length=0,this.Qn[t].push("*")}return!1},t.prototype.Yn=function(t,n,i){try{return!Au(i)||(n?Iu(t,this.Jn(t),i):Iu(t,this.Qn,i)&&Iu(t,this.Xn,i))}catch(t){return Ds.send("Error adding block rule","error",{selector:i,error:t.toString()}),!1}},t.prototype.addElementBlock=function(t){var n=_u(t),i=n.kind,r=n.consent,e=n.selector;return this.addRule(i,r,e)},t.prototype.Ht=function(t){for(var n=0,i=t;n<i.length;n++){var r=i[n],e=r.kind,s=r.consent,o=r.selector;this.addRule(e,s,o)}},t.prototype.Jn=function(t){var n=t===Pe.Unmask;return this.forConsentState(n)},t}(),Su=function(){return Object.create?Object.create(null):{}};function ku(){for(var t=Su(),n=0,i=Ge;n<i.length;n++)t[i[n]]=[];return t}function Au(t){return!t.match(We)&&""!=t.trim()}function _u(t){var n=Pe.Exclude;switch(t.Type){case Li.Unset:case Li.Exclude:n=Pe.Exclude;break;case Li.Mask:n=Pe.Mask;break;case Li.Unmask:n=Pe.Unmask;break;case Li.Watch:n=Pe.Watch;break;case Li.Keep:n=Pe.Keep;break;case Li.Defer:n=Pe.Defer;break;default:he(t.Type,"Unexpected block type: ".concat(t.Type))}return{kind:n,consent:t.Consent,selector:t.Selector}}function Iu(t,n,i){var r=document.documentElement||document.createElement("div"),e=t;switch(e){case Pe.Exclude:case Pe.Mask:case Pe.Unmask:case Pe.Watch:case Pe.Keep:case Pe.Defer:break;default:e=Pe.Exclude}if(0==n[e].length)return!!mu(i)&&(n[e].push(i),!0);var s=n[e].length-1,o=n[e][s].concat(", ",i);try{T.elMatches(r,o)}catch(t){return!!mu(i)&&(n[e].push(i),Ds.send("Browser rejected merged rule","warning",{kind:yu[e],selector:i,error:t.toString()}),!0)}return n[e][s]=o,!0}function Eu(t){if(!(null==t?void 0:t.hasKinds()))return 0;var n=t.getStrictestPrivacyKind();return null===n?0:$e.length-$e.indexOf(n)}var Cu=function(){function t(){this.Zn=new bu,this.ti=!d}return t.prototype.initialize=function(t){var n=t.blocks,i=t.deferreds,r=t.keeps,e=t.watches,o=t.canvasWatcherMode,u=s([],lu,!0);if(n)for(var a=0,c=n;a<c.length;a++){var h=c[a];u.push(h)}if((null!=o?o:nr.Disabled)===nr.Disabled&&u.push({Consent:!1,Selector:"canvas",Type:Li.Exclude}),e)for(var f=0,v=e;f<v.length;f++){var l=v[f];u.push({Type:Li.Watch,Consent:ni.RevokeConsent,Selector:l.Selector})}if(i)for(var d=0,p=i;d<p.length;d++){var w=p[d];u.push({Type:Li.Defer,Consent:ni.RevokeConsent,Selector:w.Selector})}if(this.Zn.addElementBlockRules(u),r)for(var g=0,m=r;g<m.length;g++){var y=m[g];this.addElementKeep(y)}},t.prototype.isWatched=function(t){var n,i=new gu,r=this.Zn.forConsentState(null!==(n=this.ni)&&void 0!==n?n:ni.RevokeConsent),e=function(t,n,i){return Tu(t,n,i,!0)}(t,$e,r),s=e|Tu(t,Ve,r);return i.set(s),i.hasKinds()?i:null},t.prototype.addElementBlock=function(t){return this.Zn.addElementBlock(t)},t.prototype.addElementKeep=function(t){var n=Pe.Keep;return t.Type===Di.Click&&this.ii(n,t.Consent,t.Selector)},t.prototype.ii=function(t,n,i){return this.Zn.addRule(t,n,i)},t.prototype.getConsent=function(){return this.ni},t.prototype.initializeConsent=function(t){void 0===this.ni&&this.ri(t,!1)},t.prototype.setConsent=function(t){this.ri(t,!0)},t.prototype.ri=function(t,n){void 0===n&&(n=!0),this.ni!==t&&(this.ni=t,n&&this.onConsentChange&&this.onConsentChange())},t.prototype.allWatchedElements=function(t){var n;if(!this.ti)return null;for(var i=new WeakMap,r=!1,e=function(t,n){var e,s=null!==(e=i.get(t))&&void 0!==e?e:new gu;s.set(n),i.set(t,s),r=!0},s=this.Zn.forConsentState(null!==(n=this.ni)&&void 0!==n&&n),o=0,u=Ge;o<u.length;o++)for(var a=u[o],c=0,h=s[a];c<h.length;c++){var f=h[c];Ku(t)&&T.elMatches(t,f)&&e(t,a);for(var v=xu(t,f),l=0;l<v.length;l++)e(v[l],a)}return r?i:null},t}();function Tu(t,n,i,r){void 0===r&&(r=!1);for(var e=0,s=0,o=n;s<o.length;s++){for(var u=o[s],a=!1,c=0,h=i[u];c<h.length;c++){var f=h[c];if(T.elMatches(t,f)){e|=u,a=!0;break}}if(a&&r)break}return e}function xu(t,n){return Ku(t)?T.elQuerySelectorAll(t,n):function(t){return t.nodeType===Y}(t)?T.docQuerySelectorAll(t,n):function(t){return 11===t.nodeType}(t)?T.docFragQuerySelectorAll(t,n):t.querySelectorAll(n)}function Ku(t){return t.nodeType===Q}var ju=function(){function t(t){this.ot=t,this.ei={},this.si={}}return t.create=function(t){var n,i=Mu.isSupported(t.window);return null===(n=t.queue())||void 0===n||n.enqueue({Kind:Ln.REC_FEAT_SUPPORTED,Args:[pi.ResizeObserver,i]}),i?new Mu(t):new Ou(t)},t.prototype.collect=function(t){var n=[];for(var i in this.si)this.oi(t,n,parseInt(i,10));return this.si={},n},t.prototype.isObserved=function(t){return!!this.ei[t]},t.prototype.ui=function(t,n){try{var i=go(t);if(!i)return;if(t.nodeType!=Q)return;var r=function(t,n){if((null==t?void 0:t.nodeType)!==Q)return{width:0,height:0};if(!n||T.arrayIsArray(n)&&0===n.length)return t.getBoundingClientRect();var i=Array.isArray(n)?n[0]:n;switch(getComputedStyle(t).writingMode){case"horizontal-tb":return{width:i.inlineSize,height:i.blockSize};case"vertical-lr":case"vertical-rl":return{width:i.blockSize,height:i.inlineSize};default:return t.getBoundingClientRect()}}(t,n);this.si[i]=r;var e=this.ot.queue();if(!this.ei[i]&&void 0!==e)for(var s=this.ai(i),o=0,u=s;o<u.length;o++){var a=u[o];e.enqueue(a)}}catch(t){}},t.prototype.oi=function(t,n,r){for(var e=0,s=this.ai(r);e<s.length;e++){var o=s[e];n.push(i(i({},o),{When:t}))}},t.prototype.ai=function(t){var n=this.si[t];if(!n)return[];var i=wo(t);if(!i)return[];var r=i.watchKind,e=n.width,s=n.height,o=this.ei[t];if(o&&o.w==e&&o.h==s)return[];this.ei[t]={w:e,h:s};var u=[];if(null==r?void 0:r.has(Pe.Watch)){var a=0!=e&&0!=s;(!!o&&0!=o.w&&0!=o.h)!=a&&u.push({Kind:Ln.WATCHED_ELEM,Args:[t,a]})}var c=i.node,h=("scrollLeft"in c);return((null==r?void 0:r.has(Pe.Exclude))||(null==r?void 0:r.has(Pe.Defer))||i.mask||h)&&(u.push({Kind:Ln.PLACEHOLDER_SIZE,Args:[t,e,s]}),h&&u.push({Kind:Ln.RESIZE_SCROLLABLE_ELEMENT_CONTENT,Args:[t,c.scrollWidth,c.scrollHeight]})),u},t}(),Mu=function(t){function i(n){var i=t.call(this,n)||this;return i.ci=new WeakMap,i.hi=new WeakMap,i.fi=new n.window.ResizeObserver(function(t){ue().then(function(){for(var n=0,r=t;n<r.length;n++){var e=r[n],s=e.target,o=e.borderBoxSize;i.ui(s,o)}})}),i.vi=new n.window.ResizeObserver(function(t){ue().then(function(){for(var n=0,r=t;n<r.length;n++){var e=r[n].target;i.li(e)}})}),i}return n(i,t),i.isSupported=function(t){return"function"==typeof t.ResizeObserver},i.prototype.observe=function(t){var n=this;if(t&&t.nodeType==Q)try{var i=t;this.fi.unobserve(i),this.fi.observe(i),this.ot.measurer.enqueue(function(){n.di(i)})}catch(t){"ResizeWatcher.observe: caught exception ".concat(t);var r="resize.observe";zs(r,r,{err:t})}},i.prototype.unobserveSubtree=function(t){try{t&&t.nodeType===Q&&(this.fi.unobserve(t),this.vi.unobserve(t))}catch(t){}},i.prototype.nodeChanged=function(t){var n=this,i=this.hi.get(t);"number"==typeof i&&go(t)===i&&this.ot.measurer.enqueue(function(){n.ui(t)})},i.prototype.li=function(t){var n=this.ci.get(t);if(n)for(var i in n){var r=wo(n[i]);r?this.ui(r.node):delete n[i]}},i.prototype.di=function(t){var n=this,i=go(t);if(i){var r=function(t){for(var n=0,i=t;;){if(n++>1e3)return null;if(!i||i.nodeType!=Q)return null;var r=i;if(getComputedStyle(r).display.indexOf("inline")<0)return r;i=lt(i)}}(t);if(r&&r!==t){this.hi.set(t,i),this.ui(t);var e=this.ci.get(r);e||(e=Object.create(null),this.ci.set(r,e)),e[i]=i,T.setWindowTimeout(this.ot.window,P(function(){n.vi.unobserve(r),n.vi.observe(r)}),0)}}},i}(ju),Ou=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&&t.nodeType==Q){var i=t;!function(t){if(t&&fo(t.node))for(var n=t,i=t.parent;i;i=i.parent){if(Ru(i)||(i.watchedChildren={}),Ru(n))for(var r in Ru(n))delete Ru(i)[r];if(Ru(i)[n.id]=n,xt(Ru(i),2))n=i;else if(Kt(Ru(i),2))break}}(po(t)),this.ot.measurer.enqueue(function(){n.ui(i)})}},i.prototype.unobserveSubtree=function(t){var n=po(t);n&&function(t){if(Kt(Ru(t),0)||fo(t.node))for(var n=Ru(t)&&Kt(Ru(t),1)||fo(t.node)?t.id:function(t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))return n}(Ru(t)),i=n?t.parent:null;i&&Ru(i)&&Ru(i)[n];){if(delete Ru(i)[n],xt(Ru(i),1)){var r=i.id,e=Tt(Ru(i));for(i=i.parent;i&&Ru(i)&&Ru(i)[r];)delete Ru(i)[r],Ru(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=po(t);if(i)for(var r=[i],e=0;r.length&&++e<1e3;){var s=r.pop();fo(s.node)&&n.push(s.node),Ru(s)&&Ct(Ru(s),function(t){r.push(t)})}else{for(var o=t;o&&!go(o);)o=lt(o);o&&fo(o)&&n.push(o)}return n}(t);this.ot.measurer.enqueue(function(){for(var t=0,r=i;t<r.length;t++){var e=r[t];n.ui(e)}})},i}(ju);function Ru(t){return t.watchedChildren}var Pu={attributeName:null,attributeNamespace:null,addedNodes:[],removedNodes:[],nextSibling:null,previousSibling:null,oldValue:null};function Uu(t){return i(i(i({},Pu),t),{type:"childList"})}function Lu(t,n){return 0===n.length?Uu({target:t}):Uu({addedNodes:n,nextSibling:vt(n[n.length-1]),previousSibling:dt(n[0]),target:t})}function Nu(t){var n=[];return ct(t,function(t){n.push(t)}),Lu(t,n)}var Du={sanitize:function(t){var n,i=t[1],r=t[2],e=t[3];if(r){var s={},o=i.tag;for(var u in r)if("dialog"!==o||"open"!==u){var a=r[u],c=Xe[n=u]||n.toLowerCase(),h=Ze(i,c,a);null!==h&&(s[c]=h)}t[Qo.Attrs]=s}if(e){var f=function(t,n){if(!n)return"";var i=n.length;return i>Qe?(Ds.send("Ignoring huge text node","warning",{length:i}),""):t.parent&&"style"===t.parent.tag?n:t.mask?Re(n):n}(i,e);t[Qo.Text]=f}}},Bu=function(){function t(t,n,i,r,e){void 0===i&&(i=function(){}),void 0===e&&(e=function(){});var s=this;this.ot=t,this.Dn=n,this.Fn=r,this.pi=e,this.wi=!1,this.gi=[],this.mi=[],this.yi=[],this.bi=[],this.Si=[],this.ki=!1,this.Ai=[],this._i=[],this.Wn=!1,this.Ii=this.ot.window,this.acceptSanitizer(Du),this.acceptVisitor(this),this.Bn=ju.create(this.ot),this.Hn=function(t){s.Bn.unobserveSubtree(t.node),i(t)},this.Ei=new vu(n,this.Bn,this.Fn,this.Hn.bind(this)),Hs(!this.Dn.onConsentChange,"This is the only consent change listener."),this.Dn.onConsentChange=function(){return s.updateConsent()}}return t.prototype.start=function(t){void 0===t&&(t=this.Ii.document),this.xn=t,this.wi=!1,this.Wn=!!this.ot.recording.flags().UseTreeWalker,this.Ei.setUseTreeWalker(this.Wn);var n=!0;if(h)try{this.Ci()}catch(t){"Error setting up IE workarounds for mutation watcher: ".concat(t),n=!1}if(n){var i=this.Wn?T.mutationObserver:MutationObserver;this.Ti=new i(this.xi.bind(this))}},t.prototype.xi=function(t){for(var n=0,i=t;n<i.length;n++){var r=i[n];this.Si.push(r)}},t.prototype.resizer=function(){return this.Bn},t.prototype.stop=function(){this.Ti&&this.Ti.disconnect();var t=po(this.xn);t&&bo(t,this.Hn.bind(this)),this.Si=[],h&&this.Ki(),this.Dn.onConsentChange=null,this.ji&&(this.ji.disable(),this.ji=null)},t.prototype.processMutations=function(t){var n=this;if(!this.xn)return[];var i=[],r=!1,e=null,o=function(s){return s||r?(r||(e=n.Mi(t,i,n.xn),r=!0),e):null};if(this.Oi(t,i,o),this.ki&&(i.push({Kind:Ln.FAIL_THROTTLED,Args:[yi.SetPropertyHooks],When:t}),this.ki=!1),this.Si.length>0||this.mi.length>0){var u=this.Ri(t,i,o),a=u[0],c=u[1];for(var h in c)i.push({Kind:Ln.MUT_ATTR,Args:c[h],When:t});for(var h in a)i.push({Kind:Ln.MUT_TEXT,Args:a[h],When:t})}var f=this.gi;this.gi=[];for(var v=0;v<f.length;v++){var l=f[v].shadowRoot;l&&0!=go(f[v])&&0==go(l)&&(this.Pi(l),this.Ui(null,t,i,f[v],l))}if(i.push.apply(i,this.Bn.collect(t)),this.Si=[],this.bi.length>0&&(i.push({Kind:Ln.DEFERRED_RESOLVED,Args:s([],this.bi,!0),When:t}),this.bi=[]),this.yi.length>0){for(var d=0,p=this.yi;d<p.length;d++){var w=p[d];this.bi.push(go(w)),ft(w)&&this.Si.push(Nu(w))}this.yi=[]}return i},t.prototype.recordingIsDetached=function(){return!!this.xn&&this.xn!=this.Ii.document},t.prototype.Oi=function(t,n,i){if(!this.wi&&this.xn){window;var r=i(!0);this.Li(r,t,n,null,this.xn,null),this.Bn.nodeChanged(this.xn),this.Ti&&this.Pi(this.xn),this.Ni(),this.wi=!0,window}},t.prototype.Mi=function(t,n,i){if(!i)return null;var r=Gt(),e=this.Dn.allWatchedElements(i),s=Gt()-r;return n.push({Kind:Ln.TIMING,Args:[[Fn.Internal,Wn.Serialization,qn.ApplyRules,t,s]],When:t}),e},t.prototype.Ni=function(){var t=this;this.ji=Nt(Element.prototype,"attachShadow",!0),this.ji&&this.ji.before(function(n){n.that.shadowRoot||t.gi.push(n.that)})},t.prototype.Pi=function(t){var n;try{null===(n=this.Ti)||void 0===n||n.observe(t,{childList:!0,attributes:!0,characterData:!0,subtree:!0,attributeOldValue:!0,characterDataOldValue:!0})}catch(t){}},t.prototype.Ri=function(t,n,i){for(var r,e,s,o=this,u={},a={},c={},h={},f=function(i){if(po(i)){o.Di(t,n,po(i));var r=po(lt(i));r&&(h[r.id]=r.node)}},v=function(i){var o,v,d;try{var p=l.Si[i];if(!l.Wn&&"childList"===p.type&&(null===(r=p.target)||void 0===r?void 0:r.nodeType)===Q&&"SLOT"===p.target.tagName){var w=function(t){for(var n=new WeakMap,i=t;i=lt(i);){if(n.has(i))return null;if(n.set(i,!0),11===i.nodeType)break}if(!i)return null;var r=po(i);return(null==r?void 0:r.shadowRootType)===Jo&&(null==r?void 0:r.parent)?[r.parent.id,r.parent.node]:null}(p.target);if(w){var g=w[0],m=w[1];h[g]=m}}var y=go(p.target);if(!y)return"continue";switch(c[y]=p.target,p.type){case"childList":if(p.removedNodes.length>0)for(var b=0;b<p.removedNodes.length;++b)(T=po(p.removedNodes[b]))&&T.id&&l.Di(t,n,T);if(p.addedNodes.length>0&&(h[y]=p.target,!l.Wn)){var S=!(null==(d=p.target)?void 0:d.shadowRoot)||Vo(d.shadowRoot)?null:po(d.shadowRoot);S&&(h[S.id]=S.node)}break;case"characterData":if((T=po(p.target))&&!vo(p.target,T)){var k=p.target.textContent;if(p.oldValue!==k){var A=[Go.Update,T,void 0,null!=k?k:void 0];Zo(l.Ai,l._i,A,function(t){var n;u[y]=[y,null!==(n=t[Qo.Text])&&void 0!==n?n:""]})}}break;case"attributes":var _=p.target;if("link"===oo(_)&&"rel"===p.attributeName&&Ye.test(null!==(e=p.oldValue)&&void 0!==e?e:"")){f(_);break}var I=function(t,n){return void 0===n&&(n=po(t)),null==n?void 0:n.watchKind}(_),E=l.Dn.isWatched(_);if(Eu(E)>Eu(I)){f(_);break}if(gu.needsToObserve(I,E)){l.Bn.observe(_),(null==E?void 0:E.has(Pe.Watch))&&(null===(s=l.Fn)||void 0===s||s.observe(_));var C=po(_);C&&(C.watchKind=gu.combineKindsPreservePrivacy(I,E))}var T,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);(T=po(p.target))&&p.oldValue!=K&&(A=[Go.Update,T,(o={},o[x]=K||"",o),void 0],Zo(l.Ai,l._i,A,function(t){var n,i=null!==(n=t[Qo.Attrs])&&void 0!==n?n:{};for(var r in i){var e=i[r];_.hasAttribute(r)||(e=null),a["".concat(y," ").concat(r)]=[y,r,e]}}))}}catch(t){}},l=this,d=0;d<this.Si.length;++d)v(d);for(var p=0,w=this.mi;p<w.length;p++){var g=w[p];try{f(g)}catch(t){Ds.send(t,"error")}}for(var m in this.mi=[],h){var y=po(b=h[m]);y&&y.id&&this.Bi(i,t,n,b,y)}for(var m in c){var b=c[m];this.Bn.nodeChanged(b)}return[u,a]},t.prototype.Fi=function(t){return this.wi&&t&&this.xn?(this.Hi(this.xn),[]):[]},t.prototype.Hi=function(t){var n=this,i=lt(t);go(t)||!i?ct(t,function(t){n.Hi(t)}):this.Si.push(Lu(i,[t]))},t.prototype.Bi=function(t,n,i,r,e){var s=[],o=e.child;for(ct(r,function(t){if(o)for(var n=po(t);o;){if(!go(t)){s.push({insert:[r,t,o.node]});break}if(n&&o.id==n.id){o=o.next;break}s.push({remove:o}),o=o.next}else s.push({insert:[r,t,null]})});o;o=o.next)s.push({remove:o});var u=!1,a=t(u);if(null===a&&this.ot.recording.flags().UseRuleOptimization){try{for(var c=0,h=0;h<s.length&&!u;h++)(l=s[h]).insert&&(c+=Fu(l.insert[1]))>=1e3&&(u=!0)}catch(t){var f="ruleOpt";zs(f,f,{err:t})}u&&(a=t(u))}var v=!1;for(h=0;h<s.length;h++){var l;(l=s[h]).insert?this.Li(a,n,i,l.insert[0],l.insert[1],l.insert[2]):l.remove&&(v=!0,this.Di(n,i,l.remove))}Hs(!v,"All remove events should have been generated earlier, in MutationWatcher.processMutations")},t.prototype.Ui=function(t,n,i,r,e){var s=go(r),o=Gt(),u=this.Wi(t,r,e,null),a=Gt()-o;u.length>0&&i.push({Kind:Ln.DEFERRED_MUT_SHADOW,Args:[s,u],When:n},{Kind:Ln.TIMING,Args:[[Fn.Internal,Wn.Serialization,qn.NodeEncoding,n,a]],When:n})},t.prototype.Li=function(t,n,i,r,e,s){var o=go(r)||-1,u=go(s)||-1,a=-1===o&&-1===u,c=Gt();window;var h=this.Wi(t,r,e,s);window;var f=Gt()-c;h.length>0&&(i.push({Kind:Ln.DEFERRED_MUT_INSERT,Args:[o,u,h],When:n},{Kind:Ln.TIMING,Args:[[Fn.Internal,Wn.Serialization,a?qn.DomSnapshot:qn.NodeEncoding,n,f]],When:n}),this.pi())},t.prototype.Wi=function(t,n,i,r){var e=this;return n&&vo(n)?[]:this.Ei.tokenizeNode(t,n,r,i,this.Ai,this._i,function(t,n){switch(n){case Le.Immediate:e.refreshElement(t);break;case Le.Deferred:e.yi.push(t)}})},t.prototype.Di=function(t,n,i){var r=i.id;if(yo(i,this.Hn.bind(this)),n.length>0){var e=n[n.length-1];if(e.Kind==Ln.MUT_REMOVE)return void e.Args.push(r)}n.push({Kind:Ln.MUT_REMOVE,Args:[r],When:t})},t.prototype.Ci=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=at(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.zi=new Co(t.ThrottleMax,t.ThrottleInterval,function(){return new Eo(function(){n.ki=!0,n.Ki()}).start()});var s=this.zi.guard(function(t){var n=t.cssText;t.cssText=n});this.zi.open(),this.qi=Nt(CSSStyleDeclaration.prototype,"setProperty"),this.qi&&this.qi.afterSync(function(t){s(t.that)}),this.$i=Nt(CSSStyleDeclaration.prototype,"removeProperty"),this.$i&&this.$i.afterSync(function(t){s(t.that)})},t.prototype.Ki=function(){this.zi&&this.zi.close(),this.qi&&this.qi.disable(),this.$i&&this.$i.disable()},t.prototype.updateConsent=function(){var t=this;this.xn&&ct(this.xn,function(n){return t.refreshElement(n)})},t.prototype.refreshElement=function(t){go(t)&&this.mi.push(t)},t.prototype.acceptSanitizer=function(t){this.Ai.push(t)},t.prototype.acceptVisitor=function(t){this._i.push(t)},t.prototype.visit=function(t){},t.prototype.preVisit=function(t){var n=this,i=t.node,r=t.name;if(t.type===Q&&!vo(i,t)){var e=i;if(e.shadowRoot&&this.Pi(e.shadowRoot),"SLOT"===r){var s=po(i);(null==s?void 0:s.shadowRootType)===Jo&&i.addEventListener("slotchange",Ds.wrap(function(t){var r;n.mi.push(null!==(r=t.target)&&void 0!==r?r:i)}))}}},t.ThrottleMax=1024,t.ThrottleInterval=1e4,t}();function Fu(t,n){void 0===n&&(n=!1);var i=1;if(!t||t.nodeType!==Q)return i;var r=t;if(i+=T.elQuerySelectorAll(r,"*").length,n){var e=r.shadowRoot;e&&11===e.nodeType&&(i+=T.docFragQuerySelectorAll(e,"*").length)}return i}var Hu,Wu=function(t,n,r){try{if(-1!==PerformanceObserver.supportedEntryTypes.indexOf(t)){var e=new PerformanceObserver(function(t){Xr.resolve().then(function(){n(t.getEntries())})}),s=i({type:t,buffered:!0},r);return e.observe(s),e}}catch(t){}},zu=0,qu=1/0,$u=0;function Vu(t){for(var n=0,i=t;n<i.length;n++){var r=i[n];r.interactionId&&(qu=T.mathMin(qu,r.interactionId),$u=T.mathMax($u,r.interactionId),zu=$u?($u-qu)/7+1:0)}}var Gu="first-input",Xu="largest-contentful-paint",Qu="layout-shift",Yu="longtask",Ju="event",Zu="mark",ta="measure",na="navigation",ia="paint",ra="resource",ea=function(){function t(t,n,i,r){this.ot=t,this.Ft=n,this.Vi=r,this.Gi=!1,this.Xi=!1,this.Qi=qi.DefaultOrgSettings.MaxPerfMarksPerPage,this.Yi=0,this.Ji=0,this.Zi=!1,this.tr=[],this.nr=!1,window.performance&&(this.ht=i.createChild())}return t.prototype.initialize=function(t){var n=t.resourceUploader,i=t.recTimings,r=t.recImgs,e=t.maxPerfMarksPerPage;this.ir=n,this.Xi=i,this.Gi=r,this.Qi=e||qi.DefaultOrgSettings.MaxPerfMarksPerPage},t.prototype.start=function(){var t=this;this.Yi=0;var n=this.rr();this.er(n);var i=window.performance;i&&("interactionCount"in performance||Hu||(Hu=Wu("event",Vu,{type:"event",buffered:!0,durationThreshold:0})),this.tr.length>0&&i.addEventListener&&i.removeEventListener&&this.ht&&this.ht.add(i,"resourcetimingbufferfull",!0,function(){t.Ft.enqueue({Kind:Ln.RESOURCE_TIMING_BUFFER_FULL,Args:[]})}),this.sr(),this.ur())},t.prototype.onLoad=function(){if(!this.Zi){this.Zi=!0;var t=window.performance;t&&t.timing&&this.ar(fi.Timing,t.timing,li.Timing)}},t.prototype.tick=function(){this.sr()},t.prototype.stop=function(){this.ht&&this.ht.clear(),this.ir=void 0;var t=[];if(this.tr.length>0){for(var n=0,i=this.tr;n<i.length;n++){var r=i[n];t.push.apply(t,sa(r))}this.tr=[]}else window.performance&&"function"==typeof window.performance.getEntries&&(t=window.performance.getEntries());t.length>300&&(t=t.slice(0,300),this.Ft.enqueue({Kind:Ln.RESOURCE_TIMING_BUFFER_FULL,Args:[]})),this.sr(),this.Nn(t),this.ot.taskQueue.flush()},t.prototype.Nn=function(t){for(var n=this,i=function(t){r.ot.taskQueue.enqueue(function(){return n.cr(t)})},r=this,e=0,s=t;e<s.length;e++)i(s[e])},t.prototype.rr=function(){var t=this;if(!window.PerformanceObserver||!window.performance)return[];"function"==typeof window.performance.getEntries&&this.Nn(performance.getEntries());var n=[];return[Ju,Gu,Xu,Qu,Yu,Zu,ta,na,ia,ra].forEach(function(i){var r={buffered:!!t.ot.recording.flags().UseBufferedPO};switch(i){case Ju:r.durationThreshold=40,r.buffered=!0;break;case Xu:case Qu:r.buffered=!0}var e=Wu(i,t.Nn.bind(t),r);e&&t.tr.push(e),n.push([i,!!e])}),n},t.prototype.sr=function(){var t=window.performance;if(!this.ot.recording.inFrame&&t){var n=t.memory;if(n){var i=n.usedJSHeapSize-this.Ji;(0==this.Ji||T.mathAbs(i/this.Ji)>.2)&&(this.ar(fi.Memory,n,li.Memory),this.Ji=n.usedJSHeapSize)}}},t.prototype.ur=function(){var t={timeOrigin:Vt.timeOrigin};this.ar(fi.TimeOrigin,t,li.TimeOrigin)},t.prototype.cr=function(t){switch(t.entryType){case Ju:this.hr(),this.ar(fi.EventTiming,t,li.EventTiming);break;case Gu:this.ar(fi.FirstInput,t,li.FirstInput);break;case Xu:this.ar(fi.LargestContentfulPaint,t,li.LargestContentfulPaint);break;case Qu:this.ar(fi.LayoutShift,t,li.LayoutShift);break;case Yu:this.ar(fi.LongTask,t,li.Measure);break;case Zu:this.ar(fi.Mark,t,li.Measure);break;case ta:this.ar(fi.Measure,t,li.Measure);break;case na:this.ar(fi.Navigation,t,li.Navigation,{name:na});break;case ia:this.ar(fi.Paint,t,li.Measure);break;case ra:this.vr(t)}},t.prototype.vr=function(t){if(this.Xi){var n=t.initiatorType;(this.Gi||"img"!==n&&"image"!==n)&&this.ar(fi.Resource,t,li.Resource,{name:n})}},t.prototype.ar=function(t,n,i,r){if(void 0===r&&(r={}),!this.atLimit(t)){for(var e=[t],s=0,o=i;s<o.length;s++){var u=o[s],a=n[u];if(void 0===a&&(a=-1),u in r){var c=rs(a,{source:"perfEntry",type:r[u]}),h=a!==c;a=this.lr(t,n,c,h)}e.push(a)}this.Ft.enqueue({Kind:Ln.PERF_ENTRY,Args:e})}},t.prototype.lr=function(t,n,i,r){if(t!==fi.Resource)return i;switch(n.initiatorType){case"":case"xmlhttprequest":case"fetch":case"script":case"beacon":return i;case"css":if(this.ir&&!r){var e=Ae("",i);this.ir.uploadIfNeeded(this.ot.window,e,"css")}return this.Vi.obfuscateUrl(i,"css");default:return this.Vi.obfuscateUrl(i)}},t.prototype.atLimit=function(t){switch(t){case fi.Mark:case fi.Measure:if(this.Yi>=this.Qi)return!0;this.Yi++}return!1},t.prototype.er=function(t){if(!this.ot.recording.inFrame){for(var n=window.performance,i=[pi.Performance,n&&!!n.timing,pi.PerformanceEntries,n&&"function"==typeof n.getEntries,pi.PerformanceMemory,n&&!!n.memory,pi.PerformanceObserver,!!window.PerformanceObserver,pi.PerformanceTimeOrigin,n&&!!n.timeOrigin],r=0,e=t;r<e.length;r++){var s=e[r],o=s[0],u=s[1];switch(o){case Qu:i.push(pi.LayoutShift,u);break;case Gu:i.push(pi.FirstInput,u);break;case Xu:i.push(pi.LargestContentfulPaint,u);break;case Yu:i.push(pi.LongTask,u)}}this.Ft.enqueue({Kind:Ln.REC_FEAT_SUPPORTED,Args:i})}},t.prototype.hr=function(){var t=this;this.nr||(this.nr=!0,this.ot.taskQueue.enqueue(function(){var n=Hu?zu:performance.interactionCount||0;t.Ft.enqueue({Kind:Ln.PERF_ENTRY,Args:[fi.EventTimingCount,n]}),t.nr=!1}))},t}();function sa(t){var n=[];return t.takeRecords&&(n=t.takeRecords()),t.disconnect(),n}function oa(t){var n=0,i={id:n++,edges:{}};return t.split("\n").forEach(function(t){var r=t.trim();if(""!=r){if(0==r.indexOf("/")||r.lastIndexOf("/")==r.length-1)throw new Error("Leading and trailing slashes are not supported");var e=i,s=r.split("/");s.forEach(function(t,i){var r=t.trim();if(""===r)throw new Error("Empty elements are not allowed");if("**"!=r&&"*"!=r&&-1!=r.indexOf("*"))throw new Error("Embedded wildcards are not supported");var o=null;r in e.edges&&(o=e.edges[r]),o||(o={id:n++,edges:{}},e.edges[r]=o),i==s.length-1&&(o.term=!0),e=o})}}),i}var ua=oa("**"),aa="_fs_trimmed_values";function ca(t,n,i){if(!Aa(i)){try{for(var r=[],e=0,s=i;e<s.length;e++){var o=s[e];if(!o)return;var u=new ha(!0===o?ua:o);r.push(u)}var a=function(t,n){for(var i={},r=function(n){i[n]=function(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];for(var e=0,s=t;e<s.length;e++){var o=s[e];o[n].apply(o,i)}}},e=0,s=["push","pop"];e<s.length;e++)r(s[e]);return i}(r),c=0,h=[1],f=!1;return T.jsonStringify(t,function(t,i){var e=i,s=typeof e,o=e&&"object"===s;if(""===t&&1===h.length)return h[0]--,o&&h.push(T.objectKeys(e).length),e;if(a.push(t),r.some(function(t){return t.isRedacted(!o)})&&(e=qi.BlockedFieldValue,o=!1),c+=t.length+2,o)c+=2;else if(function(t,n){return null!=t&&"symbol"!==n&&"function"!==n}(e,s))try{c+=e.toString().length}catch(t){}else c+=4;for(c>=n&&(f?e=void 0:(e=aa,f=!0)),h[h.length-1]--,o&&e&&e!==qi.BlockedFieldValue?h.push(T.objectKeys(e).length):a.pop();h[h.length-1]<=0;)h.pop(),a.pop();for(var u=0,v=r;u<v.length;u++){var l=v[u].depth();if(void 0!==l&&h.length>0&&l!==h.length-1)throw new Error("Property matcher depth out of sync")}return e})}catch(t){Ds.send(t,"error")}return"[error serializing ".concat(t.constructor.name,"]")}}var ha=function(){function t(t){this.dr=1;var n=[t];t.edges["**"]&&n.push(t.edges["**"]),this.pr=[n]}return t.prototype.wr=function(){if(this.pr.length<=0)return[];var t=this.pr.length-1,n=this.pr[t];return"number"==typeof n?this.pr[t-1]:n},t.prototype.depth=function(){return this.dr},t.prototype.isRedacted=function(t){var n=this.wr();return 0===n.length||t&&!n.some(function(t){return t.term})},t.prototype.push=function(t){var n;this.dr++;var i=this.wr(),r=[];function e(n){n.edges["**"]&&(r.push(n.edges["**"],fa(n)),e(n.edges["**"])),n.edges["*"]&&r.push(n.edges["*"]),n.edges[t]&&r.push(n.edges[t])}for(var s=0,o=i;s<o.length;s++){var u=o[s];if(null===(n=u.edges["**"])||void 0===n?void 0:n.term){r=[fa(u),u.edges["**"]];break}e(u)}var a=!1;if(r.length!==i.length)a=!0;else for(var c=0;c<r.length;c++)if(r[c].id!==i[c].id){a=!0;break}a?this.pr.push(r):("number"!=typeof this.pr[this.pr.length-1]&&this.pr.push(0),this.pr[this.pr.length-1]++)},t.prototype.pop=function(){this.dr>0&&this.dr--;var t=this.pr[this.pr.length-1];"number"==typeof t&&t>1?this.pr[this.pr.length-1]--:this.pr.pop()},t}();function fa(t){var n=t.edges["**"];if(!n)throw new Error("Node must have double-wildcard edge.");return Kt(t.edges,1)?{id:-n.id,edges:{"**":n}}:t}var va=function(){function t(t){this.gr=t,this.mr=null}return t.prototype.disable=function(){this.mr&&(this.mr.disable(),this.mr=null)},t.prototype.enable=function(t){var n,i=this,s=ln(t),o=null===(n=null==s?void 0:s._w)||void 0===n?void 0:n.fetch;(o||t.fetch)&&(this.mr=Nt(o?s._w:t,"fetch"),this.mr&&this.mr.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.yr(n,t.args[0],t.args[1])];case 1:case 2:return i.sent(),[3,3];case 3:return[2,n]}})})}))},t.prototype.yr=function(t,n,i){return r(this,void 0,Xr,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="".concat(n),o?(i&&(s=i.method||s,a=Oa(i.headers),u=i.body||u,c=!!i.signal||c),h=function(t){return r(this,void 0,Xr,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?ci.OK:ci.ERROR,n.type){case"opaque":case"opaqueredirect":u=ci.OPAQUE;break;case"error":u=ci.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,da(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=ci.ABORTED,[3,5];case 5:return[2,da(u,n.status,{headers:i,body:s})];case 6:return o=e.sent(),[2,da(u=(a=o)&&"AbortError"===a.name?ci.ABORTED:ci.ERROR,0,{headers:{forEach:function(){}},body:void 0})];case 7:return[2]}var a})})}(t),c&&o.search(/\/(?:graph|graphql|gql)/i)>-1?[4,Xr.race([h,Yr(5e3)])]:[3,2]):[2];case 1:f.sent(),f.label=2;case 2:return this.gr.startRequest(s,o,{body:function(){return u},headers:a},h),[2]}})})},t}(),la=function(){function t(t){this.gr=t,this.br=new WeakMap}return t.prototype.disable=function(){this.Sr&&(this.Sr.disable(),this.Sr=null),this.kr&&(this.kr.disable(),this.kr=null),this.Ar&&(this.Ar.disable(),this.Ar=null)},t.prototype._r=function(t){var n=this.br.get(t);if(n)return n;var i={};return this.br.set(t,i),i},t.prototype.enable=function(t){var n,i,s,o,u=this,a=ln(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.Sr=null===(i=Nt(h,"open"))||void 0===i?void 0:i.before(function(t){var n=u._r(t.that);n.method=t.args[0],n.url=t.args[1]}),this.Ar=null===(s=Nt(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._r(n);e.headers||(e.headers=[]),e.headers.push([i,r])}),this.kr=null===(o=Nt(h,"send"))||void 0===o?void 0:o.before(function(t){var n=t.that,i=t.args[0],s=u._r(n),o=s.url,a=s.method,c=s.headers;void 0!==o&&void 0!==a&&(u.br["delete"](n),u.gr.startRequest(a,o,{headers:Oa(c),body:i},function(t){return r(this,void 0,Xr,function(){var n,i;return e(this,function(r){switch(r.label){case 0:return[4,new Xr(function(n){t.addEventListener("load",function(){return n(ci.OK)}),t.addEventListener("abort",function(){return n(ci.ABORTED)}),t.addEventListener("readystatechange",function(){t.readyState===XMLHttpRequest.DONE&&0!==t.status&&(t.status<400?n(ci.OK):n(ci.ERROR))}),t.addEventListener("error",function(){t.readyState===t.UNSENT?n(ci.ABORTED):n(ci.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,da(n,t.status,{headers:i,body:function(){return"text"===t.responseType?t.responseText:t.response}})]}})})}(n)))})}},t}();function da(t,n,i){return{state:t,status:n,data:i}}var pa,wa,ga,ma,ya,ba=/^data:/i,Sa=function(){function t(t,n){this.ot=t,this.Ft=n,this.pn=!1,this.Ir=new ka(t,n),this.Er=new la(this.Ir),this.Cr=new va(this.Ir)}return t.prototype.isEnabled=function(){return this.pn},t.prototype.start=function(t){t.AjaxWatcher&&(this.pn||(this.pn=!0,this.Ft.enqueue({Kind:Ln.REC_FEAT_SUPPORTED,Args:[pi.Ajax,!0]}),this.Er.enable(this.ot.window),this.Cr.enable(this.ot.window)))},t.prototype.stop=function(){this.pn&&(this.pn=!1,this.Er.disable(),this.Cr.disable())},t.prototype.tick=function(){this.Ir.tick()},t.prototype.setWatches=function(t){this.Ir.setWatches(t)},t.prototype.initialize=function(t){this.Ir.initialize(t)},t}(),ka=function(){function t(t,n){this.ot=t,this.Ft=n,this.Tr=[],this.Kr={},this.jr={},this.Mr=[],this.Or=0;var i=qi.DefaultOrgSettings;this.initialize({requests:i.HttpRequestHeadersAllowlist,responses:i.HttpResponseHeadersAllowlist,maxAjaxPayloadLength:i.MaxAjaxPayloadLength})}return t.prototype.Rr=function(t){for(var n=!1,i=!1,r=[],e=[],s=0,o=this.Tr;s<o.length;s++){var u=o[s],a=u.urlPattern,c=u.reqFields,h=u.rspFields;if(n&&i)break;a.test(t)&&(!1===c&&(r=[!1],n=!0),n||r.push(c),!1===h&&(e=[!1],i=!0),i||e.push(h))}return[r,e]},t.prototype.Pr=function(t){this.Mr.push(t)},t.prototype.setWatches=function(t){this.Tr=t.map(function(t){return{urlPattern:new RegExp(t.URLRegex),reqFields:Ka(t.RecordReq,t.ReqAllowlist),rspFields:Ka(t.RecordRsp,t.RspAllowlist)}})},t.prototype.initialize=function(t){var n=this,i=t.requests,r=t.responses,e=t.maxAjaxPayloadLength;this.Kr={},this.jr={},null==i||i.forEach(function(t){return n.Kr[t]=!0}),null==r||r.forEach(function(t){return n.jr[t]=!0}),this.Or=e||qi.DefaultOrgSettings.MaxAjaxPayloadLength},t.prototype.addHeaderAllowlist=function(t,n){var i=this;null==t||t.forEach(function(t){return i.Kr[t]=!0}),null==n||n.forEach(function(t){return i.jr[t]=!0})},t.prototype.tick=function(){for(var t=0;t<this.Mr.length;t++)this.Ft.enqueue({Kind:Ln.AJAX_REQUEST,Args:this.Mr[t]});this.Mr=[]},t.prototype.startRequest=function(t,n,i,s){var o,u;return r(this,void 0,Xr,function(){var r,a,c,h,f,v,l,d,p,w,g,m,y;return e(this,function(e){switch(e.label){case 0:return ba.test(n)?[2]:(r=Gt(),a=function(t,n){return ke.resolveToDocument(t,n)}(this.ot.window,n),c=this.Rr(a),h=c[0],f=c[1],[4,this.Ur(h,i)]);case 1:return v=e.sent(),[4,s["catch"](function(){return da(ci.ERROR,0,{headers:{forEach:function(){}},body:void 0})})];case 2:return l=e.sent(),d=l.state,p=l.status,w=l.data,g=Gt()-r,[4,this.Lr(f,w)];case 3:return m=e.sent(),y=[t,rs(a,{source:"event",type:Ln.AJAX_REQUEST}),g,p,v.headers,m.headers,r,v.size,m.size,null!==(o=v.text)&&void 0!==o?o:null,null!==(u=m.text)&&void 0!==u?u:null,v.legibility,m.legibility,d],this.Pr(y),[2]}})})},t.prototype.Ur=function(t,n){return ja(this.Kr,t,this.Or,n)},t.prototype.Lr=function(t,n){return ja(this.jr,t,this.Or,n)},t}();function Aa(t){return 0===t.length||t.indexOf(!1)>-1}function _a(t,n,i){return[t.length,xa(t,n,i)]}function Ia(t,n,i){var r=void 0;return Aa(n)||(r=ca(t,i,n)),[Ta(t),r]}function Ea(t,n){var i=t.byteLength,r=void 0;return Aa(n)||(r="[ArrayBuffer]"),[i,r]}function Ca(t,n,i){return r(this,void 0,Xr,function(){var r,s,o,u,a;return e(this,function(e){switch(e.label){case 0:if(s=(r=t).size,Aa(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){Ds.send(t,"warning")})];case 2:return(o=e.sent())&&(u=xa(o,n,i))?[2,[s,u]]:[3,4];case 3:return a=e.sent(),Ds.send(a,"warning"),[3,4];case 4:return[2,[s,"[Blob]"]]}})})}function Ta(t){try{return T.jsonStringify(t).length}catch(t){}return 0}function xa(t,n,i){if(!Aa(n))try{return ca(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 Ka(t,n){switch(t){default:case Ii.Elide:return!1;case Ii.Record:return!0;case Ii.Allowlist:try{return oa(n)}catch(t){return"error parsing field allowlist (".concat(n,": ").concat(t),!1}}}function ja(t,n,i,s){var o;return r(this,void 0,Xr,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+="".concat(e).concat(s?": ".concat(n):"").concat("\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,Ma(n,a,i)];case 4:return c=e.sent(),h=c[0],f=c[1],v=0!==h||f?ui.NotEmpty:ui.Unknown,[2,{headers:r,text:f,size:h,legibility:v}]}})})}function Ma(t,n,i){return void 0===i&&(i=qi.DefaultOrgSettings.MaxAjaxPayloadLength),r(this,void 0,Xr,function(){var r;return e(this,function(e){if(null==n)return[2,[0,void 0]];switch(typeof n){default:return[2,[-1,Aa(t)?void 0:"[unknown]"]];case"string":return[2,_a(n,t,i)];case"object":switch(r=n.constructor){case Object:default:return[2,Ia(n,t,i)];case Blob:return[2,Ca(n,t,i)];case ArrayBuffer:return[2,Ea(n,t)];case Document:case FormData:case URLSearchParams:case ReadableStream:return[2,[-1,Aa(t)?void 0:"".concat(r.name)]]}}return[2]})})}function Oa(t){return t?wt(t)?{forEach:function(n){for(var i=0,r=t;i<r.length;i++){var e=r[i],s=e[0];n(e[1],s)}}}:"function"==typeof t.forEach?t:{forEach:function(n){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n(t[i],i)}}:t}function Ra(t){return t?t.sheet:void 0}function Pa(t){try{return t?t.cssRules||t.rules:void 0}catch(t){return}}(wa=pa||(pa={}))[wa.CSS_INHERIT=0]="CSS_INHERIT",wa[wa.CSS_PRIMITIVE_VALUE=1]="CSS_PRIMITIVE_VALUE",wa[wa.CSS_VALUE_LIST=2]="CSS_VALUE_LIST",wa[wa.CSS_CUSTOM=3]="CSS_CUSTOM",(ma=ga||(ga={}))[ma.CSS_UNKNOWN=0]="CSS_UNKNOWN",ma[ma.CSS_NUMBER=1]="CSS_NUMBER",ma[ma.CSS_PERCENTAGE=2]="CSS_PERCENTAGE",ma[ma.CSS_EMS=3]="CSS_EMS",ma[ma.CSS_EXS=4]="CSS_EXS",ma[ma.CSS_PX=5]="CSS_PX",ma[ma.CSS_CM=6]="CSS_CM",ma[ma.CSS_MM=7]="CSS_MM",ma[ma.CSS_IN=8]="CSS_IN",ma[ma.CSS_PT=9]="CSS_PT",ma[ma.CSS_PC=10]="CSS_PC",ma[ma.CSS_DEG=11]="CSS_DEG",ma[ma.CSS_RAD=12]="CSS_RAD",ma[ma.CSS_GRAD=13]="CSS_GRAD",ma[ma.CSS_MS=14]="CSS_MS",ma[ma.CSS_S=15]="CSS_S",ma[ma.CSS_HZ=16]="CSS_HZ",ma[ma.CSS_KHZ=17]="CSS_KHZ",ma[ma.CSS_DIMENSION=18]="CSS_DIMENSION",ma[ma.CSS_STRING=19]="CSS_STRING",ma[ma.CSS_URI=20]="CSS_URI",ma[ma.CSS_IDENT=21]="CSS_IDENT",ma[ma.CSS_ATTR=22]="CSS_ATTR",ma[ma.CSS_COUNTER=23]="CSS_COUNTER",ma[ma.CSS_RECT=24]="CSS_RECT",ma[ma.CSS_RGBCOLOR=25]="CSS_RGBCOLOR",ma[ma.CSS_VW=26]="CSS_VW",ma[ma.CSS_VH=27]="CSS_VH",ma[ma.CSS_VMIN=28]="CSS_VMIN",ma[ma.CSS_VMAX=29]="CSS_VMAX";var Ua="EventQueue not defined for 'withEventQueueFor', likely caused by holding ref to callback",La="_fs_stylesheet_hooked",Na=["CSSMediaRule","CSSSupportsRule"],Da=function(){function t(t,n,i){void 0===i&&(i=Eo);var r=this;this.ot=t,this.Ft=n,this.mn=[],this.$t=[],this.Nr=1,this.Dr=!1,this.Br=new Map,this.Fr=new B,this.Hr=new B,this.Wr=0,this.zr=new B(void 0,g),this.qr=new Co(1e4,1e4,function(){return setTimeout(function(){r.Ft.enqueue({Kind:Ln.FAIL_THROTTLED,Args:[yi.StyleSheetHooks]}),r.stop()})}),this.addInsert=this.qr.guard(this.addInsert),this.addDelete=this.qr.guard(this.addDelete),this.$r=new i(function(){r.Vr()},50),this.Gr=Mt(function(t,n){var i,e;if(!(null===(i=t.parentRule)||void 0===i?void 0:i.parentStyleSheet)||!r.Dr)return!0;var s=t.parentRule;return r.Br.has(s)||r.Br.set(s,new Set),null===(e=r.Br.get(s))||void 0===e||e.add(n),r.$r.isRunning()||r.$r.start(),!0})}return t.prototype.start=function(){var t=this;this.qr.open();var n=this.ot.window;if(n.CSSStyleSheet&&n.StyleSheet){var i=n.CSSStyleSheet.prototype;this.mr(i),this.Xr(n),this.Qr(),this.$t.push(Dt(n.StyleSheet,"disabled",function(n,i){return t.onDisableSheet(n,i)}),Dt(n.Document,"adoptedStyleSheets",function(n){return t.onSetAdoptedStyleSheets(n)}),Dt(n.ShadowRoot,"adoptedStyleSheets",function(n){return t.onSetAdoptedStyleSheets(n)})),this.Dr=!0}},t.prototype.Xr=function(t){var n,i,r=this,e=function(t){var n=Nt(t,"insertRule");n&&(n.afterSync(function(t){r.Yr(t.that,t.args[0],t.args[1])}),r.mn.push(n)),(n=Nt(t,"deleteRule"))&&(n.afterSync(function(t){r.Jr(t.that,t.args[0])}),r.mn.push(n))};if("function"==typeof(null===(n=t.CSSGroupingRule)||void 0===n?void 0:n.prototype.insertRule))e(t.CSSGroupingRule.prototype);else for(var s=0,o=Na;s<o.length;s++){var u=null===(i=t[o[s]])||void 0===i?void 0:i.prototype;u&&e(u)}},t.prototype.Qr=function(){var t=this;if(!this.Dr){var n=Nt(CSSStyleDeclaration.prototype,"setProperty");n&&(n.afterSync(function(n){t.Gr(n.that,n.args[0])}),this.mn.push(n));var r=CSSStyleRule.prototype,e=Object.getOwnPropertyDescriptor(r,"style");this.Zr||(this.Zr=null==e?void 0:e.get);var s=this;this.te=function(){var t,n=null===(t=null==e?void 0:e.get)||void 0===t?void 0:t.apply(this);return Mt(function(){n=s.ne(n)})(),n};try{Object.defineProperty(r,"style",i(i({},e),{get:s.te}))}catch(t){}}},t.prototype.ne=function(t){var n=this.Fr.get(t);if(n)return n;var i=function(t,n,i){if("function"!=typeof t.Proxy)return n;var r=new t.Proxy(n,{get:function(t,n){var i=t[n];return"function"!=typeof i?i:function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var s=this;return s===r&&(s=t),i.apply(s,n)}},set:function(t,n,r){var e=t[n];return t[n]=r,"function"==typeof e||"symbol"==typeof n||i(t,n),!0}});return r}(this.ot.window,t,P(this.Gr));return this.Fr.set(t,i),i},t.prototype.Vr=function(){var t=this,n=this.Br;this.Br=new Map,n.forEach(function(n,i){var r=i.parentStyleSheet;if(r){var e=t.ie(r,i);if(void 0!==e){var s={};n.forEach(function(t){s[t]=i.style[t]}),t.ee(r,function(t){t.enqueue({Kind:Ln.CSSRULE_UPDATE,Args:[e,s]})})}}})},t.prototype.Yr=function(t,n,i){var r=Ga(t);this.addInsert(t.parentStyleSheet,n,i,r)},t.prototype.Jr=function(t,n){var i=Ga(t);this.addDelete(t.parentStyleSheet,n,i)},t.prototype.mr=function(t){var n,i=this;(n=Nt(t,"insertRule"))&&(n.afterSync(function(t){i.addInsert(t.that,t.args[0],t.args[1])}),this.mn.push(n)),(n=Nt(t,"addRule"))&&(n.afterSync(function(t){i.addInsert(t.that,"".concat(t.args[0]," {").concat(t.args[1],"}"),t.args[2])}),this.mn.push(n)),(n=Nt(t,"deleteRule"))&&(n.afterSync(function(t){i.addDelete(t.that,t.args[0])}),this.mn.push(n)),(n=Nt(t,"removeRule"))&&(n.afterSync(function(t){i.addDelete(t.that,t.args[0])}),this.mn.push(n)),(n=Nt(t,"replaceSync"))&&(n.afterSync(function(t){i.snapshotConstructedStylesheet(t.that,!0)}),this.mn.push(n)),(n=Nt(t,"replace"))&&(n.afterSync(function(t){return r(i,void 0,Xr,function(){return e(this,function(n){switch(n.label){case 0:return"object"!=typeof t.result||"function"!=typeof t.result.then?[2]:[4,t.result];case 1:return n.sent(),this.snapshotConstructedStylesheet(t.that,!0),[2]}})})}),this.mn.push(n)),Object.defineProperty(t,La,{value:!0,configurable:!0})},t.prototype.onSetAdoptedStyleSheets=function(t){if(go(t)){var n=t.adoptedStyleSheets;if(n){for(var i=[],r=0,e=n;r<e.length;r++){var s=e[r],o=this.snapshotConstructedStylesheet(s);i.push(o),!0===s.disabled&&this.onDisableSheet(s,!0)}this.Ft.enqueue({Kind:Ln.ADOPTED_STYLESHEETS,Args:[go(t),i]})}}},t.prototype.snapshotEl=function(t,n){void 0===n&&(n=0);var i=go(t);if(i){var r=Ra(t);r&&this.se([gi.Node,i],r,n)}},t.prototype.snapshotConstructedStylesheet=function(t,n){void 0===n&&(n=!1);var i=za(this.zr,t);return n||void 0===i?(void 0===i&&(i=this.Nr++,function(t,n,i){t.set(n,i)}(this.zr,t,i)),this.se([gi.Sheet,i],t),i):i},t.prototype.se=function(t,n,i){void 0===i&&(i=0),this.Ft.enqueue({Kind:Ln.RESET_CSS_SHEET,Args:[t]});var r=Pa(n);if(r){for(var e=[],s=i;s<r.length;s++)try{var o=qa(Fa(r[s]));e.push(o)}catch(t){e.push("html {}")}this.Ft.enqueue({Kind:Ln.CSSRULE_INSERT,Args:[t,e,i]})}},t.prototype.addInsert=function(t,n,i,r){var e=Wa(this.zr,t,gi.Node);if(e&&"string"==typeof n){var s=[e,[qa(n)]];void 0!==i&&(s[2]=i),void 0!==r&&(s[3]=r),this.ee(t,function(t){return t.enqueue({Kind:Ln.CSSRULE_INSERT,Args:s})})}},t.prototype.addDelete=function(t,n,i){var r=Wa(this.zr,t,gi.Node);r&&this.ee(t,function(t){return t.enqueue({Kind:Ln.CSSRULE_DELETE,Args:i?[r,n,i]:[r,n]})})},t.prototype.onDisableSheet=function(t,n){var i=Wa(this.zr,t,gi.Node);i&&this.ee(t,function(t){return t.enqueue({Kind:Ln.DISABLE_STYLESHEET,Args:[i,!!n]})})},t.prototype.ee=function(t,n){if(t.ownerNode)return i=this.ot,r=t.ownerNode,e=n,void((s=ln(function(t){var n=t.ownerDocument;return n&&n.defaultView}(r)||i.window))&&"function"==typeof s._withEventQueue&&s._withEventQueue(i.recording.pageSignature(),function(t){var n=t;e({enqueue:function(t){Hs(null!=n,Ua)&&n.enqueue(t)},enqueueFirst:function(t){Hs(null!=n,Ua)&&n.enqueueFirst(t)}}),n=null}));var i,r,e,s;n(this.Ft)},t.prototype.ie=function(t,n){var i;if(this.Hr.has(n))return[Zn.Cached,this.Hr.get(n)];var r,e=void 0;window.CSSGroupingRule&&n.parentRule&&n.parentRule instanceof CSSGroupingRule?(e=Ga(n.parentRule),r=n.parentRule.cssRules):r=t.cssRules;var s=Array.prototype.indexOf.call(r,n);if(-1!==s){var o=Wa(this.zr,t,gi.Node);if(o){var u=this.Wr++;return this.Hr.set(n,u),(null!==(i=null==e?void 0:e.length)&&void 0!==i?i:0)>0?[Zn.Index,o,s,e]:[Zn.Index,o,s]}}},t.prototype.stop=function(){this.Dr=!1,this.qr.close();for(var t=0,n=this.mn;t<n.length;t++){var r=n[t];r.disable(),Object.defineProperty(r.getTarget(),La,{value:!1,configurable:!0})}this.mn=[];for(var e=0,s=this.$t;e<s.length;e++)(0,s[e])();if(this.$t=[],this.Zr){this.$r.stop();try{var o=CSSStyleRule.prototype,u=Object.getOwnPropertyDescriptor(o,"style");if((null==u?void 0:u.get)!==this.te)return;Object.defineProperty(o,"style",i(i({},u),{get:this.Zr}))}catch(t){}}},t.prototype.ensureHook=function(t){this.oe(t)||t[La]||this.mr(t)},t.prototype.removeHook=function(t){if(!this.oe(t))for(var n=0;n<this.mn.length;n++){var i=this.mn[n],r=i.getTarget();if(t===r){i.disable(),this.mn.splice(n,1),Object.defineProperty(r,La,{value:!1,configurable:!0});break}}},t.prototype.oe=function(t){return Object.getPrototypeOf(t)===this.ot.window.CSSStyleSheet},t}(),Ba=document.createElement("div");Ba.style.width="initial";var Fa=""!=Ba.style.cssText?function(t){return t.cssText}:function t(n,i){if(void 0===i&&(i=0),!Hs(i<=20,"No deep recursion for CSS rules"))return"html { /* Depth limit exceeded! */ }";var r=function(t){switch(t.type){case CSSRule.PAGE_RULE:var n=t.selectorText||"";return n&&Et(n,"@page")?n:"@page ".concat(n);case CSSRule.KEYFRAME_RULE:return t.keyText;case CSSRule.STYLE_RULE:return t.selectorText;case CSSRule.MEDIA_RULE:return"@media ".concat(t.media.mediaText);case CSSRule.KEYFRAMES_RULE:return"@keyframes ".concat(t.name);case CSSRule.SUPPORTS_RULE:return"@supports ".concat(t.conditionText);default:return null}}(n);if(null==r)return n.cssText;var e=function(n,i){var r,e,s,o,u=n,a=u.style;if(a){for(var c="",h=0;h<a.length;h++){var f=a[h],v=void 0!==(o=function(t,n){var i=t;if("function"==typeof i.getPropertyCSSValue){var r=i.getPropertyCSSValue(n);if(null!=r){var e;switch(r.cssValueType){case pa.CSS_PRIMITIVE_VALUE:e=r;break;case pa.CSS_VALUE_LIST:if(1!==r.length)return;var s=r.item(0);if(null==s)return;if(s.cssValueType!==pa.CSS_PRIMITIVE_VALUE)return;e=s;break;default:return}if(e.primitiveType===ga.CSS_STRING){var o=Se();ya||(ya=o.createElement("div"));var u=e.cssText;try{ya.style.cssText="".concat(n,": \"").concat(u,"\";");var a=ya.style.getPropertyCSSValue(n);if(null==a)return;if(u!==a.cssText)return}catch(t){return}finally{ya.style.cssText=""}return"\"".concat(u,"\"")}}}}(e=a,s=f))?o:e.getPropertyValue(s);("initial"===v||("\""===(r=v)[0]||"'"===r[0])&&r[r.length-1]===r[0])&&(c+="".concat(f,": ").concat(v),"important"===a.getPropertyPriority(f)&&(c+=" !important"),c+="; ")}return[a.cssText,c].filter(Boolean).join("\n")}var l=u.cssRules;if(!l)return null;var d="";for(h=0;h<l.length;h++)d+=t(l[h],i+1);return d}(n,i);return null==e?n.cssText:"".concat(r," { ").concat(e,"} ")},Ha=/^\s*$/;function Wa(t,n,i){var r=function(t,n){var i=za(t,n);if(i)return[gi.Sheet,i];var r=go(n.ownerNode);return r?[gi.Node,r]:void 0}(t,n);if(r){var e=r[0],s=r[1];return e===i?s:r}}function za(t,n){return t.get(n)}function qa(t){return t.length<=Qe?t:("CSSRule too large, inserting dummy instead: ".concat(t.length),":root { --fs-dropped-large-rule: 0 }")}function $a(t,n){var i,r;return null!==(r=null===(i=t.classList)||void 0===i?void 0:i.contains(n))&&void 0!==r&&r}function Va(t,n){for(var i=0;i<t.length;i++)if(t[i]===n)return i;return-1}function Ga(t){for(var n=[],i=t;i.parentRule||i.parentStyleSheet;){var r;if(!(null==(r=i.parentRule?i.parentRule:i.parentStyleSheet)?void 0:r.cssRules))return Ds.send("Could not find a path to target rule","warning"),n;var e=Va(r.cssRules,i);if(e>-1){if(n.unshift(e),r instanceof CSSStyleSheet)break;i=r}else Ds.send("Could not find intermediate rule in parent","warning")}return n}var Xa=function(){function t(t,n,i){this.ot=t,this.ue=n,this.ht=i.createChild()}return t.prototype.start=function(){var t=this,n=this.ot.window.document;this.ht.addCustom(n,this.ae(),!0,function(n){t.onFullscreenChange(n)}),this.ht.addCustom(n,this.ce(),!0,function(n){t.onFullscreenError(n)})},t.prototype.stop=function(){this.ht&&this.ht.clear()},t.prototype.onFullscreenChange=function(t){var n=this.he();if(n){var i=go(n);this.fe,this.ue.enqueue({Kind:Ln.FULLSCREEN,Args:[i,!0]}),this.fe=i}else this.fe,this.ue.enqueue({Kind:Ln.FULLSCREEN,Args:[this.fe,!1]}),this.fe=void 0},t.prototype.onFullscreenError=function(t){this.ue.enqueue({Kind:Ln.FULLSCREEN_ERROR,Args:[]})},t.prototype.he=function(){var t=this.ot.window.document;return t[k(t,"fullscreenElement")]},t.prototype.ae=function(){return k(this.ot.window.document,"onfullscreenchange").slice(2)},t.prototype.ce=function(){return k(this.ot.window.document,"onfullscreenerror").slice(2)},t}(),Qa=function(){function t(t,n){this.Ft=n,this.It=null,this.ve={};var i=t.window;"customElements"in i&&null!=i.customElements&&"get"in i.customElements&&"whenDefined"in i.customElements&&(this.It=i.customElements)}return t.prototype.start=function(){},t.prototype.stop=function(){},t.prototype.onCustomNodeVisited=function(t){return r(this,void 0,Xr,function(){var n,i;return e(this,function(r){switch(r.label){case 0:if(!this.It)return[2];if(n=t.nodeName.toLowerCase(),Object.prototype.hasOwnProperty.call(this.ve,n))return[2];r.label=1;case 1:return r.trys.push([1,3,,4]),i=!!this.It.get(n),this.ve[n]=i,[4,this.It.whenDefined(n)];case 2:return r.sent(),this.Ft.enqueue({Kind:Ln.CUSTOM_ELEMENT_DEFINED,Args:[n]}),[3,4];case 3:return r.sent(),[3,4];case 4:return[2]}})})},t}(),Ya=function(){function t(t,n){this.le=!1,this.mn=[],this.kn=n,this.bn=t.window,this.le=Ja(this.bn)}return t.prototype.start=function(){this.kn.enqueue({Kind:Ln.REC_FEAT_SUPPORTED,Args:[pi.HTMLDialogElement,this.le]}),this.le&&(this.In("show"),this.In("showModal"),this.In("close"))},t.prototype.stop=function(){this.mn.forEach(function(t){return t.disable()}),this.mn=[]},t.prototype.In=function(t){var n=this,i=Nt(this.bn.HTMLDialogElement.prototype,t);null==i||i.afterSync(function(i){var r=go(i.that),e="close"!==t,s="showModal"===t;n.kn.enqueue({Kind:Ln.DIALOG,Args:[r,e,s]})}),i&&this.mn.push(i)},t}(),Ja=function(t){return void 0!==t.HTMLDialogElement},Za=function(t){try{return T.elMatches(t,"dialog:modal")}catch(t){return!0}},tc=function(){function t(){}return t.prototype.now=function(){return Date.now()},t}(),nc=function(){function t(t,n,i,r){void 0===i&&(i=n),void 0===r&&(r=new tc),this.de=t,this.pe=n,this.we=r,this.ge=r.now(),this.me=i}return t.prototype.hasCapacityFor=function(t){var n=this.we.now(),i=(n-this.ge)*this.de;return this.me=Math.min(this.pe,this.me+i),this.ge=n,this.me>=t?(this.me-=t,[!0,0]):[!1,(t-this.me)/this.de]},t}(),ic=new nc(2,2e5),rc=new Set(["measureText","getImageData","getError","getTransform","isContextLost","isEnabled","isFramebuffer","isProgram","isRenderbuffer","isShader","isTexture"]),ec=new Set(["fillText"]),sc=function(){function t(t,n,i,r){this.Ft=n,this.ir=i,this.Vi=r,this.ye=nr.CaptureCanvasOps,this.be=[],this.Se=[],this.ke=new WeakMap,this.Ae=new WeakMap,this._e=new Set,this.Ie=0,this.Ee=new WeakMap,this.Ce=!1,this.Te=new WeakMap,this.xe=new Set,this.Ke=new WeakMap,this.je=new WeakMap,this.Me=1,this.Oe=new WeakMap,this.Re=1,this.Pe=new WeakMap,this.Ue=0,this.Le=!1}return t.prototype.start=function(t){var n,i=this;if(t.CanvasWatcherMode&&(this.Ft.enqueue({Kind:Ln.REC_FEAT_SUPPORTED,Args:[pi.CanvasWatcherEnabled,!0,pi.CanvasScreenShotMode,t.CanvasWatcherMode===nr.ScreenshotCanvas]}),this.Ce=!0,this.ye=null!==(n=t.CanvasWatcherMode)&&void 0!==n?n:nr.CaptureCanvasOps,this.mr("2d",CanvasRenderingContext2D),this.mr("webgl",WebGLRenderingContext),this.ye===nr.ScreenshotCanvas)){if(!HTMLCanvasElement.prototype.toDataURL)return;this.Ie=setInterval(function(){return i.screenshotConnectedCanvases()},1e3)}},t.prototype.Ne=function(t,n){return"object"!=typeof n?[void 0,0]:(this.Oe.has(n)||this.Oe.set(n,[t,this.Re++]),this.Oe.get(n))},t.prototype.mr=function(t,n){var i=this;if(n)for(var r=n.prototype,e=function(e){if(rc.has(e))return"continue";var o=Object.getOwnPropertyDescriptor(r,e);if("function"==typeof(null==o?void 0:o.value)){var u=Nt(r,e);u&&(u.afterSync(function(n){return i.De(t,e,n.that,n.args,n.result)}),s.be.push(u))}else"function"==typeof(null==o?void 0:o.set)&&s.Se.push(Dt(n,e,s.Be(t,e)))},s=this,o=0,u=Object.keys(r);o<u.length;o++)e(u[o])},t.prototype.Fe=function(t,n){var i;this.xe.add(t),this.Ke.has(t)||this.Ke.set(t,Gt()+5e3),this.Te.has(t)||this.Te.set(t,[]),null===(i=this.Te.get(t))||void 0===i||i.push.apply(i,n)},t.prototype.He=function(t){var n,i=null!==(n=this.Te.get(t))&&void 0!==n?n:[];return this.xe["delete"](t),this.Ke["delete"](t),i},t.prototype.We=function(t){var n=t instanceof HTMLCanvasElement?go(t):0;if(n)return n;if(this.je.has(t))return{id:this.je.get(t)};var i={id:this.Me};return this.ze(t,i),this.je.set(t,this.Me),++this.Me,i},t.prototype.ze=function(t,n){this.Ft.enqueue({Kind:Ln.CANVAS_DETACHED_DIMENSION,Args:[n,t.width,t.height]})},t.prototype.flush=function(t,n){var i;if(this.Ce){if(this.Pe.has(t))return this.Pe.get(t);this.ye===nr.ScreenshotCanvas&&t instanceof HTMLCanvasElement&&(this._e.add(t),this.Ae.set(t,!0));var r=this.We(t);this.Pe.set(t,r);var e=this.He(t);if(e.length>0){var s=n;if(!s){var o=t instanceof HTMLCanvasElement?po(t):void 0,u=t instanceof HTMLCanvasElement&&Ht(t);s=null!==(i=null==o?void 0:o.mask)&&void 0!==i?i:u}this.qe(t,r,e,s)}return this.Pe["delete"](t),r}},t.prototype.$e=function(t,n,i,r,e,s,o){var u;switch(typeof r){case"string":return e?Re(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=uc.exec(i);return r||(r=ac.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=go(r)))return h.id=l,h;switch(c){case"Array":return this.Ue+=r.length,this.Ve(t,n,i,r,e,s,o);case"CanvasGradient":return h;case"HTMLImageElement":var f=rs(r.src,{source:"dom",type:"canvas"});return this.Vi.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(oc))}(r))return this.Oe.has(r)?this.Ge(r,h,e):(h.typedArray="[".concat(r.toString(),"]"),this.Ue+=r.length,h);if("object"==typeof r&&this.Oe.has(r))return this.Ge(r,h,e);if(r instanceof WebGLBuffer||r instanceof WebGLTexture){var d=void 0;switch(s){case"bindTexture":d=this.Xe(t,"createTexture",n,i,r);break;case"bindBuffer":d=this.Xe(t,"createBuffer",n,i,r)}if(void 0!==d)return this.Ge(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.Ue,h.obj[w]=this.$e(t,n,i,p[w],e,s,o)}return h;default:return null}},t.prototype.Ge=function(t,n,i){var r=this.Oe.get(t),e=r[0],s=r[1];return this.flush(e,i),n.ref=s,delete n.ctor,n},t.prototype.Xe=function(t,n,i,r,e){var s=this.Ne(i,e),o=(s[0],s[1]);return this.Qe(r,[[t,Zi.Function,n,[],o]]),o},t.prototype.Ve=function(t,n,i,r,e,s,o){var u=this;return void 0===o&&(o=new WeakMap),this.Ue+=r.length+1,r.map(function(r){return u.$e(t,n,i,r,e,s,o)})},t.prototype.qe=function(t,n,i,r){var e=this;if(void 0===r&&(r=!1),!this.Le){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.Ve(s,t,n,a,r&&ec.has(u),u),c]});if(!this.ke.has(t)&&(this.ke.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",Zi.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.Le){var i=ic.hasCapacityFor(this.Ue),r=i[0];i[1],this.Ue=0,r?this.Ft.enqueue({Kind:Ln.CANVAS,Args:[t,n]}):this.Le=!0}},t.prototype.Ye=function(t,n){t instanceof HTMLCanvasElement&&(this.ye===nr.ScreenshotCanvas?(this.Ae.set(t,!0),this._e.add(t)):this.Fe(t,n))},t.prototype.De=function(t,n,i,r,e){for(var s=[],o=0;o<r.length;o++)s.push(r[o]);var u=this.Ne(i.canvas,e),a=(u[0],u[1]);this.Ye(i.canvas,[[t,Zi.Function,n,s,a]])},t.prototype.Be=function(t,n){var i=this;return function(r,e){i.Ye(r.canvas,[[t,Zi.Set,n,[e],0]])}},t.prototype.stop=function(){this.Ce=!1,this.be.forEach(function(t){return t.disable()}),this.Se.forEach(function(t){return t()}),this.be=[],this.Se=[],this.Ie&&(clearInterval(this.Ie),this.Ie=0)},t.prototype.screenshotConnectedCanvases=function(){var t=this,n=[],i=[];return this._e.forEach(function(r){var e=go(r);Ht(r)&&e?t.Ae.has(r)&&i.push(oe().then(function(){return t.Je(r,e)})):n.push(r)}),n.forEach(function(n){return t._e["delete"](n)}),this.Ae=new WeakMap,Xr.all(i)},t.prototype.Je=function(t,n){return r(this,void 0,Xr,function(){var i,r,s,o;return e(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),i=t.toDataURL(),r=this.Ee.get(t),[4,this.ir.uploadDataUrlIfNeeded(i,function(t){var n;return t.url!==r&&!!(null===(n=t.contentType)||void 0===n?void 0:n.match(/^image/i))})];case 1:return(s=e.sent())?(o=s.url,this.Ee.set(t,o),s.url===r?[2]:(this.Qe(n,[["2d",Zi.Function,"drawImage",[{ctor:"HTMLImageElement",src:o},0,0],0]]),[3,3])):[2];case 2:return zs("Canvas screenshot","Canvas screenshot",{err:e.sent()}),[3,3];case 3:return[2]}})})},t.prototype.Ze=function(){var t=this,n=[];this.xe.forEach(function(i){i instanceof HTMLCanvasElement&&(go(i)||!Ht(i))||(t.Te["delete"](i),n.push(i))});for(var i=0,r=n;i<r.length;i++){var e=r[i];this.He(e)}},t.prototype.tick=function(){var t=this;if(this.Ce)try{if(this.Ze(),this.ye===nr.ScreenshotCanvas)return;this.xe.forEach(function(n){var i;n instanceof HTMLCanvasElement&&t.ts(n);var r=null!==(i=t.Ke.get(n))&&void 0!==i?i:Number.POSITIVE_INFINITY;Gt()>r&&t.He(n)})}catch(t){Ds.send(t,"error")}},t.prototype.ts=function(t){var n=go(t);if(n){var i=po(t),r=this.Te.get(t);r&&0!==r.length&&(this.qe(t,n,r,!!(null==i?void 0:i.mask)),this.He(t))}},t}(),oc=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,uc=/^\[object ([^\]]+?)(?:Constructor)?\]/,ac=/^function ([^(]+)/,cc=/^\s*at .*(\S+:\d+|native|(<anonymous>))/m,hc=/^(eval@)?(\[native code\])?$/;function fc(t,n,i,r,e){return[n||"",t(i||""),parseInt(r||"-1",10),parseInt(e||"-1",10)]}function vc(t){if(!t||-1===t.indexOf(":"))return["","",""];var n=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(t.replace(/[()]/g,""));return n?[n[1]||"",n[2]||"",n[3]||""]:["","",""]}var lc=["_fs_debug","assert","debug","error","info","log","trace","warn"],dc=lc.filter(function(t){return!/debug/.test(t)});function pc(t,n){return ds(_t(t)?t.slice(0,n):Ao(t,n))}function wc(t,n){var i=n?"".concat(n," "):"";return s(["".concat(i).concat(pc(function(t){if(bt(t)){try{if(mt(t.toString))return t.toString()}catch(t){}return t.message}}(t.error)||t.message,1e3)),pc(t.filename,100),bt(t.lineno)?-1:t.lineno],function(t,n){if(!bt(n)||!_t(n.stack))return[];var i=n;return i.stack.match(cc)?function(t,n){return n.split("\n").filter(function(t){return!!t.match(cc)}).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=vc(r.pop()),s=r.join(" "),o=["eval","<anonymous>"].indexOf(e[0])>-1?"":e[0];return fc(t,s,o,e[1],e[2])})}(t,i.stack):function(t,n){return n.split("\n").filter(function(t){return!t.match(hc)}).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=vc(r.pop()),s=r.join("@");return fc(t,s,e[0],e[1],e[2])})}(t,i.stack)}(ds,t.error),!0)}var gc,mc,yc,bc,Sc=function(){function t(t,n,i){this.Ft=n,this.pn=!1,this.ns=!1,this.rs=0,this.mn=[],this.es=qi.DefaultOrgSettings.MaxConsoleLogPerPage,this.Ii=t.window,this.ht=i.createChild()}return t.prototype.initializeMaxLogsPerPage=function(t){this.es=t||qi.DefaultOrgSettings.MaxConsoleLogPerPage},t.prototype.ss=function(){return"\"[received more than ".concat(this.es," messages]\"")},t.prototype.start=function(t){var n=this;if(t.ConsoleWatcher&&(this.ht.add(this.Ii,"error",!0,function(t){return n.os(t)}),this.ht.add(this.Ii,"unhandledrejection",!0,function(t){var i,r="";t.reason instanceof Error?i=t.reason:r=Ao(t.reason,1e3),n.os({error:i,message:r,filename:"",lineno:0},"Uncaught (in promise)")},!0),!this.pn))if(this.pn=!0,this.Ft.enqueue({Kind:Ln.REC_FEAT_SUPPORTED,Args:[pi.Console,!0]}),this.Ii.console)for(var i=function(t){var i=Nt(r.Ii.console,t);if(!i)return"continue";"assert"===t?i.before(function(i){var r=i.args;r[0]||n.us(t,Array.prototype.slice.apply(r,[1]))}):i.before(function(i){var r=i.args;return n.us(t,r)}),r.mn.push(i)},r=this,e=0,s=dc;e<s.length;e++)i(s[e]);else this.us("log",["NOTE: Log messages cannot be captured on IE9"])},t.prototype.isEnabled=function(){return this.pn},t.prototype.stop=function(){var t;if(this.ht&&this.ht.clear(),this.pn)for(this.pn=!1;t=this.mn.pop();)t.disable()},t.prototype.logEvent=function(t,n,i){if(void 0===i&&(i="console"),!this.cs())return null;for(var r=-1===lc.indexOf(t)?[i,"log",pc(t,1e3)]:[i,t],e=0;e<n.length;++e)r.push(pc(n[e],1e3));return{Kind:Ln.LOG,Args:r}},t.prototype.us=function(t,n){if(0!==n.length){var i=this.logEvent(t,n);i&&this.Ft.enqueue(i)}},t.prototype.os=function(t,n){void 0===n&&(n="Uncaught"),(void 0!==t.error||void 0!==t.message||t.filename||t.lineno)&&this.cs()&&this.Ft.enqueue({Kind:Ln.ERROR,Args:wc(t,n)})},t.prototype.cs=function(){return!this.ns&&(this.rs==this.es?(this.Ft.enqueue({Kind:Ln.LOG,Args:["console","warn",this.ss()]}),this.ns=!0,!1):(this.rs++,!0))},t}();(mc=gc||(gc={}))[mc.Ajax=0]="Ajax",mc[mc.Animation=1]="Animation",mc[mc.Canvas=2]="Canvas",mc[mc.Console=3]="Console",mc[mc.CustomElement=4]="CustomElement",mc[mc.Dialog=5]="Dialog",mc[mc.Fullscreen=6]="Fullscreen",mc[mc.Input=7]="Input",mc[mc.Perf=8]="Perf",mc[mc.StyleSheet=9]="StyleSheet",(bc=yc||(yc={}))[bc.Scroll=1]="Scroll",bc[bc.Resize=2]="Resize";var kc=/^\s*((stylesheet)\s*)+$/i,Ac=/^\s*((img|picture)\s*)+$/i,_c=function(){function t(t,n,i,r,e,s,o,u,a){this.ot=t,this.Ft=n,this.hs=i,this.vs=s,this.ls=o,this.ir=u,this.Vi=a,this.ds=[],this.ps={},this.ws=!1,this.gs=[],this.ys=!1,this.bs={},this.Ss=!1,this.Ii=t.window,this.t=this.Ii.document,this.ks=this.Ii.location,this.As=this.Ii.history,this.ht=e.createChild(),this._s=this.ks.href,this.Is=[new Sa(t,n),new Ho(t,n,this.ht),new sc(t,n,u,this.Vi),new Sc(t,this.Ft,this.ht),new Qa(t,n),new Ya(t,n),new Xa(t,n,this.ht),new xo(t,n),new ea(t,n,this.ht,this.Vi),new Da(t,n)],this.Es=function(t,n){void 0===n&&(n=.25);var i=t.window.IntersectionObserver;if(i)return new i(function(n){for(var i,r=0,e=n;r<e.length;r++){var s=e[r],o=s.target,u=s.intersectionRatio,a=go(o);a&&(null===(i=t.queue())||void 0===i||i.enqueue({Kind:Ln.VIEWPORT_INTERSECTION,Args:[a,u]}))}},{threshold:[n,1]})}(t),this.Cs=new Bu(t,r,this.Hn.bind(this),this.Es,this.pi.bind(this)),this.Cs.acceptVisitor(this)}return t.prototype.getResourceUploader=function(){return this.ir},t.prototype.start=function(t){this.Cs.start();for(var n=0,i=this.Is;n<i.length;n++)i[n].start(t);this.Ts(t)},t.prototype.Ts=function(t){var n=this;t.DisableCopyPasteListener||(this.ht.add(this.Ii,"copy",!1,this.xs.bind(this)),this.ht.add(this.Ii,"paste",!1,this.Ks.bind(this))),this.ht.add(this.Ii,"mousemove",!0,function(t){Kc(t)&&n.js(t)}),this.ht.add(this.Ii,"mousedown",!0,function(t){Kc(t)&&n.Ms(t)}),this.ht.add(this.Ii,"mouseup",!0,function(t){Kc(t)&&n.Os(t)}),this.ht.add(this.Ii,"keydown",!0,function(t){n.Is[gc.Input].onKeyboardChange(xc(t))}),this.ht.add(this.Ii,"keyup",!0,function(t){n.Is[gc.Input].onKeyboardChange(xc(t))}),this.ht.add(this.Ii,"click",!0,function(t){Kc(t)&&n.Rs(t)}),this.ht.add(this.Ii,"dblclick",!0,function(t){n.Ps(t)}),this.ht.add(this.Ii,"focus",!0,function(t){n.Us(t,xc(t))},!0),this.ht.add(this.Ii,"blur",!0,function(t){n.Ls(t,xc(t))},!0),this.ht.add(this.Ii,"change",!0,function(t){n.Ns(t,xc(t))},!0),this.ht.add(this.Ii,"touchstart",!0,function(t){Kc(t)&&(n.Ds(t,Ln.TOUCHSTART),n.Bs())}),this.ht.add(this.Ii,"touchend",!0,function(t){Kc(t)&&(n.Ds(t,Ln.TOUCHEND),n.Bs())}),this.ht.add(this.Ii,"touchmove",!0,function(t){Kc(t)&&(n.Ds(t,Ln.TOUCHMOVE),n.Bs())}),this.ht.add(this.Ii,"touchcancel",!0,function(t){Kc(t)&&n.Ds(t,Ln.TOUCHCANCEL)}),this.ht.add(this.Ii,"play",!0,function(t){n.Fs(t)}),this.ht.add(this.Ii,"pause",!0,function(t){n.Hs(t)}),this.ht.add(this.Ii,"scroll",!0,function(t){t.bubbles?n.Bs():n.Ws(Tc(t))}),this.ht.add(this.Ii,"resize",!1,function(){n.zs()}),this.ht.add(this.Ii,"submit",!1,function(t){n.qs(t)}),this.ht.add(this.Ii,"focus",!1,function(){n.$s()}),this.ht.add(this.Ii,"blur",!1,function(){n.Vs()}),this.ht.add(this.Ii,"popstate",!1,function(){n.Gs()}),this.ht.add(this.Ii,"selectstart",!0,function(){n.Xs()}),this.ht.add(this.t,"selectionchange",!0,function(){n.Xs()}),this.ht.add(this.Ii,"visibilitychange",!1,function(t){n.addVisibilityChangeEvent()});var i=this.Ii.visualViewport;i?(this.ht.add(i,"scroll",!0,function(){return n.Bs()}),this.ht.add(i,"resize",!0,function(){return n.zs()})):this.ht.add(this.Ii,"mousewheel",!0,function(){n.Bs()}),this.Qs=Nt(this.As,"pushState",!0),this.Qs&&this.Qs.afterSync(function(){return n.Gs()}),this.Ys=Nt(this.As,"replaceState",!0),this.Ys&&this.Ys.afterSync(function(){return n.Gs()});for(var r=function(t){var i=Nt(e.Ii,t);if(!i)return"continue";e.gs.push(i),i.before(function(){n.Ft.enqueue({Kind:Ln.MODAL_OPEN,Args:[t]})}).afterSync(function(){n.Ft.enqueue({Kind:Ln.MODAL_CLOSE,Args:[t]})})},e=this,s=0,o=Vi;s<o.length;s++)r(o[s]);if("function"==typeof this.Ii.document.hasFocus&&this.Ft.enqueue({Kind:this.Ii.document.hasFocus()?Ln.WINDOW_FOCUS:Ln.WINDOW_BLUR,Args:[]}),T.matchMedia)for(var u=function(t,i,r){var e=T.matchMedia(a.Ii,r);if(!e)return"continue";var s=function(){e.matches&&n.Ft.enqueue({Kind:Ln.MEDIA_QUERY_CHANGE,Args:[t,i]})};a.ht.add(e,"change",!0,s),s()},a=this,c=0,h=[["any-pointer","coarse","not screen and (any-pointer: fine)"],["any-pointer","fine","only screen and (any-pointer: fine)"],["any-hover","none","not screen and (any-hover: hover)"],["any-hover","hover","only screen and (any-hover: hover)"],["pointer","none","(pointer: none)"],["pointer","coarse","(pointer: coarse)"],["pointer","fine","(pointer: fine)"],["prefers-color-scheme","no-preference","(prefers-color-scheme: no-preference)"],["prefers-color-scheme","light","(prefers-color-scheme: light)"],["prefers-color-scheme","dark","(prefers-color-scheme: dark)"]];c<h.length;c++){var f=h[c];u(f[0],f[1],f[2])}this.ys=!0},t.prototype.initResourceUploading=function(){this.ir.init(),this.ws=!0},t.prototype.onDomLoad=function(){this.Js(),this.Zs(!0),this.Cs.Fi(h)},t.prototype.onLoad=function(){var t=this,n=!1,i=Ds.wrap(function(){n||(n=!0,t.Is[gc.Perf].onLoad(),t.no(),t.Zs())},"error");new Eo(i,0).start(),ue().then(i)},t.prototype.ajaxWatcher=function(){return this.Is[gc.Ajax]},t.prototype.consoleWatcher=function(){return this.Is[gc.Console]},t.prototype.perfWatcher=function(){return this.Is[gc.Perf]},t.prototype.bundleEvents=function(){var t=this;return this.Ft.enqueueSimultaneousEventsIn(function(n){var i,r=Gt(),e=t.Cs.processMutations(n);if(e.length>0){var s=Gt()-r;e.push({Kind:Ln.TIMING,Args:[[Fn.Internal,Wn.Serialization,qn.ProcessMut,n,s]],When:n})}for(var o=0,u=t.Is;o<u.length;o++){var a=u[o];null===(i=a.tick)||void 0===i||i.call(a)}return t.Zs(),e})},t.prototype.stop=function(t){var n;if(this.ys){this.ys=!1,this.ht&&this.ht.clear(),this.Qs&&this.Qs.disable(),this.Ys&&this.Ys.disable();for(var i=0,r=this.gs;i<r.length;i++)r[i].disable();this.gs=[],this.Is[gc.Perf].onLoad(),this.ot.measurer.flush(),this.Ft.processEvents(),this.ot.taskQueue.flush(),this.Vi.flush(),this.Cs.stop();for(var e=0,s=this.Is;e<s.length;e++)s[e].stop(t);null===(n=this.Es)||void 0===n||n.disconnect(),this.Ft.shutdown(t)}},t.prototype.recordingIsDetached=function(){return this.Cs.recordingIsDetached()},t.prototype.preVisit=function(t){var n=this,i=t.id,r=t.node,e=t.name,s=t.tag;switch(e){case"#document":case"#document-fragment":this.bs[i]=i,"#document-fragment"===e&&(this.ht.add(r,"scroll",!0,function(t){return n.Ws(Tc(t))}),this.ht.add(r,"change",!0,function(t){t.composed||n.Ns(t,xc(t))},!0));var o=r;try{if(!o.adoptedStyleSheets||0===o.adoptedStyleSheets.length)break}catch(t){break}this.Is[gc.StyleSheet].onSetAdoptedStyleSheets(r);break;case"INPUT":case"TEXTAREA":case"SELECT":this.Is[gc.Input].addInput(r);break;case"LINK":case"STYLE":var u=r,a=u.sheet;if(!a)break;var c=this.Is[gc.StyleSheet];c.ensureHook(a),!0===a.disabled&&c.onDisableSheet(a,!0),function(t){var n=t.textContent||"";if(n.length>5e5)return!1;var i=Pa(Ra(t));return!!i&&(!!("style"===oo(t)&&i.length>0&&Ha.test(n))||function(t){try{if($a(t,"fs-css-in-js")||$a(t,"_styletron_hydrate_")||t.hasAttribute("data-fela-type")||t.hasAttribute("data-aphrodite"))return!0}catch(t){Ds.send(t,"error")}return!1}(t))}(u)&&(c.snapshotEl(u),"link"===s&&this.ht.add(u,"load",!1,function(){c.snapshotEl(u)}));break;case"BODY":this.Zs(),this.Xs();break;case"FRAME":case"IFRAME":this.vs(r)}},t.prototype.visit=function(t){var n=t[0],i=t[1],r=t[2];this.io(n,i),this.ro(n,i,r)},t.prototype.io=function(t,n){var i=this,r=n.node,e=n.name,s=n.type;if(t===Go.New&&10!==s){switch(e){case"VIDEO":case"AUDIO":r.paused||this.Ft.enqueue({Kind:Ln.PLAY,Args:[go(r)]});break;case"DIALOG":var o=r;o.open&&this.Ft.enqueue({Kind:Ln.DIALOG,Args:[go(o),!0,Za(o)]});break;case"CANVAS":this.Is[gc.Canvas].flush(r);break;default:e&&"#"!==e[0]&&e.indexOf("-")>-1&&this.Is[gc.CustomElement].onCustomNodeVisited(r)}"scrollLeft"in r&&"scrollTop"in r&&this.ot.measurer.enqueue(function(){var t=r;0==t.scrollLeft&&0==t.scrollTop||i.Ws(t)})}},t.prototype.ro=function(t,n,i){var r=this,e=this.ot.recording.flags().DisableImgUrlPrivacy;if(!e||this.ws){var s=n.node,o=n.tag;if(n.type===Q&&i&&!function(t,n){return void 0===n&&(n=po(t)),vo(t,n)||lo(t,n)}(s)){var u="unknown";"link"===o&&kc.test(i.rel)?u="css":Ac.test(null!=o?o:"")&&(u="img");var a=function(t,n,i){for(var r,e,s=[],o=0,u=Cc;o<u.length;o++){var a=u[o];i[a]&&Ec[a][t]&&s.push(i[a])}if("link"===t&&i.href&&(r=i.rel)&&r.indexOf("stylesheet")>-1&&s.push(i.href),("img"===t||"source"===t)&&(e=i.srcset)&&null==e.match(/^\s*$/))for(var c=0,h=function(t,n){void 0===n&&(n=!0);var i="".concat(t.replace(/\s+/g," "),",").match(n?ao:uo);if(!i)return[];for(var r=[],e=0,s=i;e<s.length;e++){var o=s[e];r.push(o.replace(/^[, ]+|[, ]+$/g,""))}return r}(e,!0);c<h.length;c++){var f=h[c];s.push(rs(f.trim().split(/\s+/)[0],{source:"dom",type:"srcset"}))}var v=n;if(i.style&&v.style){var l=v.style.backgroundImage;if(l&&l.length<=300){var d=void 0;for(He.lastIndex=0;d=He.exec(l);){var p=d[1];p&&s.push(rs(p.trim(),{source:"dom",type:"css"}))}}}return s}(o,s,i);if(0===a.length){if(e)return;for(var c=0,h=Cc;c<h.length;c++){var f=i[h[c]];f&&a.push(f)}a.length>0&&this.ot.taskQueue.enqueue(function(){return r.eo(a,!1,u)})}else this.ot.taskQueue.enqueue(function(){return r.eo(a,!0,u)})}}},t.prototype.Hn=function(t){var n,i=t.id,r=t.node;switch(t.name){case"#document":case"#document-fragment":delete this.bs[i];break;case"IFRAME":this.ls(t.node);break;case"LINK":case"STYLE":var e=r.sheet;e&&this.Is[gc.StyleSheet].removeHook(e);break;case"INPUT":case"TEXTAREA":case"SELECT":var s=r;this.Is[gc.Input].removeInput(s)}if("function"==typeof r.getElementsByTagName)for(var o=null!==(n=r.getElementsByTagName("iframe"))&&void 0!==n?n:[],u=0;u<o.length;u++){var a=o[u];this.ls(a)}},t.prototype.pi=function(){var t=this;this.Ss||(this.Ss=!0,this.ot.measurer.enqueue(function(){for(var n in t.Ss=!1,t.bs){var i=wo(t.bs[n]);i&&t.Is[gc.Animation].snapshot(i.node)}}))},t.prototype.eo=function(t,n,i){var r;void 0===n&&(n=!1),window;for(var e=0,s=t;e<s.length;e++){var o=s[e];/^(([a-z\-_]+):|\/\/)/i.test(o)&&(this.ws&&n&&(void 0===r&&(r=rs(_e(this.Ii),{source:"page",type:"base"})),this.ir.uploadIfNeeded(this.Ii,Ae(r,o),i)),this.Vi.record(o))}window},t.prototype.js=function(t){var n=go(Tc(t));this.Ft.enqueue({Kind:Ln.MOUSEMOVE,Args:n?[t.clientX,t.clientY,n]:[t.clientX,t.clientY]})},t.prototype.Ms=function(t){this.Ft.enqueue({Kind:Ln.MOUSEDOWN,Args:[t.clientX,t.clientY]})},t.prototype.Os=function(t){this.Ft.enqueue({Kind:Ln.MOUSEUP,Args:[t.clientX,t.clientY]})},t.prototype.Ds=function(t,n){if(void 0!==t.changedTouches)for(var i=0;i<t.changedTouches.length;++i){var r=t.changedTouches[i];isNaN(parseInt(r.identifier,10))&&(r.identifier=0);var e=[r.identifier,r.clientX,r.clientY];this.Ft.enqueue({Kind:n,Args:e})}},t.prototype.Fs=function(t){var n=go(Tc(t));n&&this.Ft.enqueue({Kind:Ln.PLAY,Args:[n]})},t.prototype.Hs=function(t){var n=go(Tc(t));n&&this.Ft.enqueue({Kind:Ln.PAUSE,Args:[n]})},t.prototype.$s=function(){this.Ft.enqueue({Kind:Ln.WINDOW_FOCUS,Args:[]})},t.prototype.Vs=function(){this.Ft.enqueue({Kind:Ln.WINDOW_BLUR,Args:[]})},t.prototype.Zs=function(t){var n=this;void 0===t&&(t=!1),this.ot.measurer.enqueue(function(){return n.so(t)})},t.prototype.so=function(t){void 0===t&&(t=!1);var n,i=(n=this.Ii.document).scrollingElement||n.body||n.documentElement,r=go(i);if(r){var e=function(t,n){var i,r=t.documentElement.getBoundingClientRect(),e=null!==(i=t.body)&&void 0!==i?i:{scrollHeight:0,scrollWidth:0};return{width:Math.max(r.width,n.scrollWidth,e.scrollWidth),height:Math.max(r.height,n.scrollHeight,e.scrollHeight)}}(this.Ii.document,i);Qs(e,this.oo)||(this.oo=e,this.Ft.enqueue({Kind:Ln.RESIZE_DOCUMENT_CONTENT,Args:[e.width,e.height]}));var s,o,u,a,c=io(this.Ii,t?void 0:this.uo),h=function(t,n){var i=t.visualViewport;if(i)return i;var r=n;return void 0===r&&(r=io(t)),new ro(t,r)}(this.Ii,c);c.hasKnownPosition?(Xs(c,this.uo)||this.Ft.enqueue({Kind:Ln.SCROLL_LAYOUT,Args:[r,c.pageLeft,c.pageTop]}),s=h,(o=this.ao)&&s.offsetLeft==o.offsetLeft&&s.offsetTop==o.offsetTop||this.Ft.enqueue({Kind:Ln.SCROLL_VISUAL_OFFSET,Args:[r,h.offsetLeft,h.offsetTop]})):Xs(h,this.ao)||this.Ft.enqueue({Kind:Ln.SCROLL_LAYOUT,Args:[r,h.pageLeft,h.pageTop]}),function(t,n){return n&&t.width==n.width&&t.height==n.height&&t.clientWidth==n.clientWidth&&t.clientHeight==n.clientHeight}(c,this.uo)||this.Ft.enqueue({Kind:Ln.RESIZE_LAYOUT,Args:so(c)}),Qs(h,this.ao)||this.Ft.enqueue({Kind:Ln.RESIZE_VISUAL,Args:[h.width,h.height]}),this.uo=((a=Ys(u=c)).clientWidth=u.clientWidth,a.clientHeight=u.clientHeight,a),this.ao=function(t){var n=Ys(t);return n.offsetLeft=t.offsetLeft,n.offsetTop=t.offsetTop,n}(h)}},t.prototype.co=function(t,n){var i=this;t in this.ps||(this.ps[t]=n,new Eo(function(){i.ot.measurer.enqueue(function(){if(t in i.ps){var n=i.ps[t];delete i.ps[t],n()}})},qi.ScrollSampleInterval).start())},t.prototype.Bs=function(){var t=this;this.co(yc.Scroll,function(){return t.so(!1)})},t.prototype.zs=function(){var t=this;this.co(yc.Resize,function(){return t.so(!0)})},t.prototype.Ws=function(t){var n=this,i=go(t);i&&this.co(i,function(){if(go(t)===i){var r=t;i&&"number"==typeof r.scrollLeft&&(n.Ft.enqueue({Kind:Ln.RESIZE_SCROLLABLE_ELEMENT_CONTENT,Args:[i,r.scrollWidth,r.scrollHeight]}),n.Ft.enqueue({Kind:Ln.SCROLL_LAYOUT,Args:[i,r.scrollLeft,r.scrollTop]}),oe().then(function(){n.Cs.resizer().isObserved(i)||n.Cs.resizer().observe(t)}))}})},t.prototype.Js=function(){this.Ft.enqueue({Kind:Ln.DOMLOADED,Args:[]})},t.prototype.no=function(){this.Ft.enqueue({Kind:Ln.LOAD,Args:[]})},t.prototype.getNavigateEvent=function(t,n){void 0===n&&(n=Ln.NAVIGATE);var i={Kind:n,Args:[rs(t,{source:"event",type:Ln.NAVIGATE})]};return n===Ln.ENTRY_NAVIGATE?(i.Args.push(this.ho()),i):i},t.prototype.Gs=function(){var t=this.ks.href;this._s!=t&&(this._s=t,this.hs.onNavigate(t),this.Ft.enqueue(this.getNavigateEvent(t)))},t.prototype.ho=function(){try{var t=this.Ii.performance;if(!t||!t.navigation)return"unknown";switch(t.navigation.type){case PerformanceNavigation.TYPE_NAVIGATE:return"navigate";case PerformanceNavigation.TYPE_RELOAD:return"reload";case PerformanceNavigation.TYPE_BACK_FORWARD:return"back_forward";default:return"unknown"}}catch(t){return"unknown"}},t.prototype.Rs=function(t){var n=Tc(t),i=go(n);if(i){var r=0,e=0,s=0,o=0;if(n&&n.getBoundingClientRect){var u=n.getBoundingClientRect();r=u.left,e=u.top,s=u.width,o=u.height}var a=po(n);this.hs.onClick(a),this.Ft.enqueue({Kind:Ln.CLICK,Args:[i,t.clientX,t.clientY,r,e,s,o]})}},t.prototype.Ps=function(t){var n=go(Tc(t));n&&this.Ft.enqueue({Kind:Ln.DBL_CLICK,Args:[n]})},t.prototype.qs=function(t){var n=go(Tc(t));n&&this.Ft.enqueue({Kind:Ln.FORM_SUBMIT,Args:[n]})},t.prototype.Us=function(t,n){var i=go(Tc(t));i&&this.Ft.enqueue({Kind:Ln.FOCUS,Args:[i,n]})},t.prototype.Ls=function(t,n){var i=go(Tc(t));i&&this.Ft.enqueue({Kind:Ln.BLUR,Args:[i,n]})},t.prototype.Ns=function(t,n){this.Is[gc.Input].onChange(Tc(t),n)},t.prototype.Xs=function(){var t=this;this.ot.measurer.enqueue(function(){var n;try{n=t.selectionArgs()}catch(t){return}for(var i=!1,r=0;r<4;r++)if(t.ds[r]!==n[r]){i=!0;break}i&&(t.ds=n,t.Ft.enqueue({Kind:Ln.SELECT,Args:n}))})},t.prototype.selectionArgs=function(){if(!this.Ii.getSelection)return[];var t=this.Ii.getSelection();if(!t)return[];if("None"==t.type)return[];if("Caret"==t.type){var n=go(t.anchorNode);return n?[n,t.anchorOffset]:[]}if(!t.anchorNode||!t.focusNode)return[];var i=Ic(t.anchorNode,t.anchorOffset),r=i[0],e=i[1],s=Ic(t.focusNode,t.focusOffset),o=s[0],u=s[1],a=Boolean(r.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING),c=a?[r,o]:[o,r],h=c[0],f=c[1],v=a?[e,u]:[u,e],l=v[0],d=v[1];for(go(h)||(l=0);h&&!go(h)&&h!=f;)h=vt(h)||lt(h);for(go(f)||(d=0);f&&!go(f)&&f!=h;)f=dt(f)||lt(f);if(h==f&&l==d)return[];var p=go(h),w=go(f);return h&&f&&p&&w?[p,l,w,d,a]:[]},t.prototype.xs=function(){this.Ft.enqueue({Kind:Ln.COPY,Args:[]})},t.prototype.Ks=function(){this.Ft.enqueue({Kind:Ln.PASTE,Args:[]})},t.prototype.addVisibilityChangeEvent=function(){this.Ft.enqueue({Kind:Ln.VISIBILITY_STATE,Args:[document.visibilityState]}),"hidden"===document.visibilityState&&this.Ft.singSwanSong(si.Hidden)},t}();function Ic(t,n){var i=t,r=at(i);if(!r)return[i,n];i=r;for(var e=0;e<n-1;e++){var s=vt(i);if(!s)return[i,0];i=s}return[i,0]}var Ec={src:{img:!0,embed:!0,source:!0},href:{use:!0,image:!0},data:{object:!0}},Cc=T.objectKeys(Ec);function Tc(t){if(t.composed&&t.target){var n=t.target;if(n.nodeType==Q&&n.shadowRoot){var i=t.composedPath();if(i.length>0)return i[0]}}return t.target}function xc(t){var n;return!!(null!==(n=t[cr])&&void 0!==n&&n||t.isTrusted)}function Kc(t){var n=Tc(t);return!!go(n)&&!vo(n)}var jc,Mc,Oc=function(){function t(t,n){this.ue=t,this.fo=n,this.vo=[],this.lo=0}return t.prototype.add=function(t){this.vo.length>0&&this.vo[this.vo.length-1].When===t.When&&this.vo.pop(),0===this.vo.length?(this.ue.push(t),this.lo=t.When):t.When>this.lo&&(this.lo=t.When),this.vo.push(t)},t.prototype.finish=function(t,n){void 0===n&&(n=[]);var i=this.vo.length;if(i<=1)return!1;for(var r=[],e=this.vo[0].When,o=this.vo[i-1].When,u=o-e!=0?o-e:1,a=0;a<this.fo.length;++a){var c=this.fo[a],h=this.vo[0].Args[c],f=(this.vo[1].When-e)/u,v=(this.vo[1].Args[c]-h)/f,l=this.vo[i-2].Args[c],d=(o-this.vo[i-2].When)/u,p=this.vo[i-1].Args[c],w=(p-l)/d;r.push(h,p,v,w)}return this.vo[0].Kind=t,this.vo[0].Args=s(s([this.lo],n,!0),r,!0),!0},t.prototype.evts=function(){return this.vo},t}();(Mc=jc||(jc={}))[Mc.rageWindowMillis=2e3]="rageWindowMillis",Mc[Mc.defaultRageThreshold=5]="defaultRageThreshold",Mc[Mc.rageThresholdIfPageChanges=8]="rageThresholdIfPageChanges",Mc[Mc.thresholdChangeQuiescenceMillis=2e3]="thresholdChangeQuiescenceMillis";var Rc=function(){function t(t,n){var i,r;void 0===n&&(n=Xt),this.ot=t,this["do"]=n,this.po=new tu,this.wo=jc.defaultRageThreshold,this.mo=-1,this.yo=new WeakMap;var e=t.recording.pageResponse();if(!e)throw new Error("Attempt to construct EasyBake before rec/page response is set.");for(var s=[".fs-ignore-rage-clicks",".fs-ignore-rage-clicks *"],o=0,u=null!==(r=null===(i=e.BehaviorSignalSettings)||void 0===i?void 0:i.ElementBlocks)&&void 0!==r?r:[];o<u.length;o++){var a=u[o];a.Signals.indexOf(Oi.SignalRageClick)>-1&&(s.push(a.Selector),s.push("".concat(a.Selector," *")))}var c=s.join(", ");mu(c)?this.bo=[c]:this.bo=s}return t.prototype.So=function(t){var n=this.yo.get(t);if(void 0!==n)return n;for(var i=0,r=this.bo;i<r.length;i++){var e=r[i];if(T.elMatches(t,e))return this.yo.set(t,!0),!0}return this.yo.set(t,!1),!1},t.prototype.onEvent=function(t){var n;if(function(t){switch(t){case Ln.VALUECHANGE:case Ln.SCROLL_LAYOUT:case Ln.SCROLL_LAYOUT_CURVE:case Ln.SCROLL_VISUAL_OFFSET:case Ln.SCROLL_VISUAL_OFFSET_CURVE:case Ln.MUT_INSERT:case Ln.MUT_REMOVE:case Ln.MUT_ATTR:case Ln.MUT_SHADOW:case Ln.MUT_TEXT:case Ln.NAVIGATE:case Ln.LOAD:case Ln.FOCUS:case Ln.BLUR:case Ln.SELECT:case Ln.FORM_SUBMIT:case Ln.PLAY:case Ln.PAUSE:case Ln.MODAL_OPEN:case Ln.MODAL_CLOSE:return!0}return!1}(t.Kind)&&this.wo!==jc.rageThresholdIfPageChanges)return this.wo=jc.rageThresholdIfPageChanges,void(this.mo=this["do"]());if(t.Kind===Ln.CLICK){var i=this["do"](),r=null===(n=wo(t.Args[0]))||void 0===n?void 0:n.node;if(r){var e=r.nodeType===Q?r:lt(r);if(e&&!this.So(e)){var s=oo(r);if(!s||"textarea"!==s&&"select"!==s&&("input"!==s||"submit"===r.type)){this.po.push(i);for(var o=i-jc.rageWindowMillis;;){var u=this.po.first();if(!(void 0!==u&&u<o))break;this.po.shift()}if(this.mo<i-jc.thresholdChangeQuiescenceMillis&&(this.wo=jc.defaultRageThreshold),this.po.size()>=this.wo){var a=this.ot.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,Ds.wrap(function(){t.dispatchEvent(i)}),0)}(r,{eventStartTimeStamp:this.po.first(),eventEndTimeStamp:i,eventReplayUrlAtStart:a(),eventReplayUrlAtCurrentTime:a(!0)}),this.wo=jc.defaultRageThreshold,this.po=new tu}}}}}},t}(),Pc=function(){function t(t){this.ot=t,this.ko=this.ot.time.wallTime(),this.Ao=!1}return t.prototype.getLastUserActivityTS=function(){return this.ko},t.prototype.getMsSinceLastUserActivity=function(){return T.mathFloor(this.ot.time.wallTime()-this.ko)},t.prototype.resetUserActivity=function(){this.ko=this.ot.time.wallTime()},t.prototype.isHibernating=function(){return this.Ao},t.prototype.setHibernating=function(){this.Ao=!0},t}(),Uc=function(){function t(t,n,i,r){void 0===r&&(r=Eo),this.ot=t,this._o=n,this.Ft=i,this.Io=!1,this.Eo=!1,this.Co=new r(this.To.bind(this),qi.HeartbeatInterval),this.xo=new r(this.Ko.bind(this),qi.PageInactivityTimeout)}return t.prototype.getUserActivityModel=function(){return this._o},t.prototype.manualHibernateCheck=function(){this._o.isHibernating()||this._o.getMsSinceLastUserActivity()>=qi.PageInactivityTimeout+5e3&&this.Ko()},t.prototype.scanEvents=function(t){if(!this.Io){this.manualHibernateCheck();for(var n=!1,i=0,r=t;i<r.length;i++)if(Gi(r[i].Kind)){n=!0;break}n&&(this._o.isHibernating()?this.jo():this.Mo())}},t.prototype.shutdown=function(){this.Co.stop(),this.xo.stop()},t.prototype.Mo=function(){this._o.resetUserActivity(),this.Co.start(),this.xo.start()},t.prototype.start=function(){var t=this.ot.recording.heartbeatInterval();this.Oo(t),this.Mo()},t.prototype.Oo=function(t){var n=this.Co.isRunning();this.Co.start(t),n||this.Co.stop()},t.prototype.To=function(){var t=this._o.getMsSinceLastUserActivity();t<=qi.PageInactivityTimeout&&this.Ft.enqueue({Kind:Ln.HEARTBEAT,Args:[t]}),this.Co.start()},t.prototype.Ko=function(){if(!this._o.isHibernating()){var t=!1;this._o.getMsSinceLastUserActivity()<=2*qi.PageInactivityTimeout?this.Ft.enqueue({Kind:Ln.UNLOAD,Args:[si.Hibernation]}):t=!0;try{this.Io=!0,this._o.setHibernating(),this.shutdown(),this.Ft.onHibernate(t)}finally{this.Io=!1}}},t.prototype.jo=function(){this.Eo||(this.Eo=!0,this.ot.recording.splitPage(si.Hibernation))},t}(),Lc=function(){function t(t,n,i,r,e,s){void 0===r&&(r=function(){return[]}),void 0===e&&(e=Io),void 0===s&&(s=Eo),this.ot=t,this.Ro=n,this.Po=r,this.Uo=e,this.Lo=0,this.No=[],this.Do=!1,this.Bo=!1,this.Fo=0,this.Ho=-1,this.Wo=!1,this.kn=[],this.zo=new this.Uo(qi.CurveSamplingInterval),this.qo=new this.Uo(qi.MutationProcessingInterval),i&&(this.$o=new Uc(this.ot,i,this,s))}return t.prototype.startPipeline=function(t){var n;return r(this,void 0,Xr,function(){var i,r=this;return e(this,function(e){switch(e.label){case 0:return this.Bo||this.Do?[2]:(this.Do=!0,t.frameId&&(this.Lo=t.frameId),t.parentIds&&(this.No=t.parentIds),i=!0,[4,oe()]);case 1:return e.sent(),this.processEvents(),[4,oe()];case 2:return e.sent(),window,this.qo.start(function(){window,r.processEvents(),window}),this.zo.start(function(){window,r.processEvents(i),window}),null===(n=this.$o)||void 0===n||n.start(),this.Ro.startPipeline(t),window,[2]}})})},t.prototype.enableEasyBake=function(){this.Vo=new Rc(this.ot)},t.prototype.enqueueSimultaneousEventsIn=function(t){if(0===this.Fo){var n=this.ot.time.now();this.Ho=n>this.Ho?n:this.Ho}try{return this.Fo++,t(this.Ho)}finally{this.Fo--,this.Fo<0&&(this.Fo=0)}},t.prototype.enqueue=function(t){var n=this.Fo>0?this.Ho:this.ot.time.now();this.Go(n,t),_o.checkForBrokenSchedulers()},t.prototype.Go=function(t,n){var i;if(!this.Bo){var r=t;r<this.Ho&&(r=this.Ho),this.Ho=r;var e=n;e.When=r,this.kn.push(e);try{null===(i=this.Vo)||void 0===i||i.onEvent(e)}catch(t){Ds.send(t,"error")}}},t.prototype.enqueueFirst=function(t){if(this.kn.length>0){var n=t;n.When=this.kn[0].When,this.kn.unshift(n)}else this.enqueue(t)},t.prototype.addUnload=function(t){this.Wo||(this.Wo=!0,this.enqueue({Kind:Ln.UNLOAD,Args:[t]}),this.singSwanSong(t))},t.prototype.shutdown=function(t){this.addUnload(t),this.Xo(),this.Bo=!0,this.Qo()},t.prototype.Xo=function(){this.processEvents(),this.Ro.flush()},t.prototype.singSwanSong=function(t){this.Bo||(window,this.Xo(),t===si.Hidden&&this.Wo||this.Ro.singSwanSong(),window)},t.prototype.rebaseIframe=function(t,n){for(var i=Math.max(0,n),r=this.ot.time.startTime(),e=function(n){var e=r+n-t;return e>=i?e:i},s=0,o=this.kn;s<o.length;s++){var u=o[s];u.When=e(u.When)}-1===this.Ho?this.Ho=i:this.Ho=e(this.Ho)},t.prototype.processEvents=function(t){if(this.Do){var n=this.kn;this.kn=[];var i=function(t){if(0==t.length)return t;for(var n,i=[],r=new Oc(i,[0,1]),e={},s={},o={},u=0,a=t;u<a.length;u++){var c=a[u];switch(c.Kind){case Ln.MOUSEMOVE:r.add(c);break;case Ln.TOUCHMOVE:(v=c.Args[0])in e||(e[v]=new Oc(i,[1,2])),e[v].add(c);break;case Ln.SCROLL_LAYOUT:(v=c.Args[0])in s||(s[v]=new Oc(i,[1,2])),s[v].add(c);break;case Ln.SCROLL_VISUAL_OFFSET:(v=c.Args[0])in o||(o[v]=new Oc(i,[1,2])),o[v].add(c);break;case Ln.RESIZE_VISUAL:n||(n=new Oc(i,[0,1])),n.add(c);break;default:i.push(c)}}if(r.finish(Ln.MOUSEMOVE_CURVE)){var h=r.evts();if(h.length>0){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(Ln.SCROLL_LAYOUT_CURVE,[l]);for(var v in o)o[l=parseInt(v,10)].finish(Ln.SCROLL_VISUAL_OFFSET_CURVE,[l]);for(var v in e){var l;e[l=parseInt(v,10)].finish(Ln.TOUCHMOVE_CURVE,[l])}return n&&n.finish(Ln.RESIZE_VISUAL_CURVE),i}(n);t||(i=i.concat(this.Po())),this.Yo(i),this.sendEvents(this.ot.recording.pageSignature(),i)}},t.prototype.sendEvents=function(t,n){var i;if(0!=n.length){null===(i=this.$o)||void 0===i||i.scanEvents(n);try{this.Ro.enqueueEvents(t,n)}catch(t){"transport.enqueueEvents: caught exception ".concat(t)}}},t.prototype.onHibernate=function(t){t||this.Xo(),this.Ro.singSwanSong(),this.Ro.stopPipeline()},t.prototype.Yo=function(t){if(this.Lo)for(var n=this.No,i=n&&n.length>0,r=0;r<t.length;++r){var e=t[r];e.FId||(e.FId=this.Lo),i&&!e.PIds&&(e.PIds=n)}},t.prototype.Qo=function(){var t;this.Do&&(this.zo.stop(),this.qo.stop(),this.kn=[],null===(t=this.$o)||void 0===t||t.shutdown(),this.Ro.stopPipeline())},t.prototype.manualHibernateCheck=function(){var t;null===(t=this.$o)||void 0===t||t.manualHibernateCheck()},t}(),Nc=function(){function t(t){void 0===t&&(t=4),this.hashCount=t,this.idx=0,this.hashMask=t-1,this.reset()}return t.prototype.reset=function(){this.idx=0,this.hash=[];for(var t=0;t<this.hashCount;++t)this.hash.push(2166136261)},t.prototype.write=function(t){for(var n=this.hashMask,i=this.idx,r=0;r<t.length;r++)this.hash[i]=this.hash[i]^t[r],this.hash[i]+=(this.hash[i]<<1)+(this.hash[i]<<4)+(this.hash[i]<<7)+(this.hash[i]<<8)+(this.hash[i]<<24),i=i+1&n;this.idx=i},t.prototype.writeAscii=function(t){for(var n=this.hashMask,i=this.idx,r=0;r<t.length;r++)this.hash[i]=this.hash[i]^t.charCodeAt(r),this.hash[i]+=(this.hash[i]<<1)+(this.hash[i]<<4)+(this.hash[i]<<7)+(this.hash[i]<<8)+(this.hash[i]<<24),i=i+1&n;this.idx=i},t.prototype.sum=function(){var t;return t=this.sumAsHex().replace(/\r|\n/g,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ").map(Number),Hc(String.fromCharCode.apply(window,t))},t.prototype.sumAsHex=function(){for(var t="",n=0;n<this.hashCount;++n)t+="00000000".concat((this.hash[n]>>>0).toString(16)).slice(-8);return t},t}();function Dc(t){var n=new Nc(1);return n.writeAscii(t),n.sumAsHex()}function Bc(t){var n=new Uint8Array(t);return Hc(String.fromCharCode.apply(null,n))}var Fc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Hc(t){var n;return(null!==(n=window.btoa)&&void 0!==n?n:Wc)(t).replace(/\+/g,"-").replace(/\//g,"_")}function Wc(t){for(var n=String(t),i=[],r=0,e=0,s=0,o=Fc;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("")}var zc=1e4,qc=25,$c=100;function Vc(t,n,i,s){return void 0===s&&(s=new Nc),r(this,void 0,Xr,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 u<o?t.now()-r>qc?[4,n($c)]:[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,zc)),s.write(a),e.label=4;case 4:return u+=zc,[3,1];case 5:return[2,{hash:s.sum(),hasher:s}]}})})}function Gc(t,n,i){var s,o;return r(this,void 0,Xr,function(){return e(this,function(r){switch(r.label){case 0:return(null===(o=null===(s=t.crypto)||void 0===s?void 0:s.subtle)||void 0===o?void 0:o.digest)?[4,t.crypto.subtle.digest({name:"sha-1"},i)]:[3,2];case 1:return[2,{hash:Bc(r.sent()),algorithm:"sha1"}];case 2:return[4,Vc(n,Xc,i)];case 3:return[2,{hash:r.sent().hash,algorithm:"fsnv"}]}})})}function Xc(t){return new Xr(function(n){return setTimeout(function(){try{n()}catch(t){}},t)})}var Qc=6e6,Yc="resource-uploader",Jc=function(){function t(t,n,i,r,e){void 0===r&&(r=window.FormData),void 0===e&&(e=Eo),this.ot=t,this.Ft=n,this.Jo=i,this.Zo=r,this.tu=e,this.Ce={},this.nu={},this.iu=!1,this.ru=[]}return t.prototype.init=function(){this.Zo&&this.eu()["catch"](function(t){Ds.send(t,"error")})},t.prototype.eu=function(){return r(this,void 0,Xr,function(){var t,n,i,r,s,o,u,a,c,h,f,v,l,d,p,w,g,m,y,b,S,k,A,_,I;return e(this,function(e){switch(e.label){case 0:t=this.ot.options.orgId,e.label=1;case 1:return[4,this.su()];case 2:for(n=e.sent(),i={fsnv:{},sha1:{}},r={},s=0,o=n;s<o.length;s++)y=o[s],i[y.hashAlgorithm][y.hash]=!0,(l=r[y.hash])?l.push(y):r[y.hash]=[y];u={fsnv:Object.keys(i.fsnv),sha1:Object.keys(i.sha1)},a=void 0,e.label=3;case 3:return e.trys.push([3,5,,6]),[4,this.Jo.queryResources({OrgId:t,HashesByAlgorithm:u})];case 4:return a=e.sent(),[3,6];case 5:return c=e.sent(),"/rec/queryResources failed with status ".concat(c),[3,1];case 6:h=0,f=a,e.label=7;case 7:if(!(h<f.length))return[3,18];if(v=f[h],!(null==(l=r[v.QueryHash])?void 0:l.length))return zs(Yc,"No resource found for hash"),[3,17];if(!v.Found||!v.CanonicalHash)return[3,8];for(d=0,p=l;d<p.length;d++)(y=p[d]).blob=y.stringData=null,"fsnv"===(w=v.CanonicalHash.Algorithm)?this.Ft.enqueue({Kind:Ln.SYS_RESOURCEHASH,Args:["url",y.url,v.CanonicalHash.Hash]}):zs(Yc,"Unrecognized canonical hash type",{hashAlgorithm:w});return[3,17];case 8:g=0,m=l,e.label=9;case 9:if(!(g<m.length))return[3,17];if(y=m[g],b=y.url,S=y.contentType,(k={}).orgId=t,k.baseUrl=b,"fsnv"===v.QueryAlgorithm)k.fsnvHash=v.QueryHash;else{if("sha1"!==v.QueryAlgorithm)return zs(Yc,"Unrecognized hash type from resource query",{hashAlgorithm:v.QueryAlgorithm}),[3,16];k.sha1Hash=v.QueryHash}return y.blob?[4,Zr(y.blob)]:[3,11];case 10:return(A=e.sent())?(k.contents={data:A,contentType:S,filename:"blob"},[3,12]):[3,17];case 11:y.stringData&&(k.contents={data:y.stringData,contentType:S,filename:"blob"}),e.label=12;case 12:if(!k.contents)return zs(Yc,"Missing resource contents"),[3,16];y.blob=y.stringData=null,e.label=13;case 13:return e.trys.push([13,15,,16]),[4,this.Jo.uploadResource({type:"FormData",data:k})];case 14:return _=e.sent(),"fsnv"!=(I=JSON.parse(_)).Algorithm&&zs(Yc,"Unexpected hash type from resource upload",{hashAlgorithm:I.Algorithm}),this.Ft.enqueue({Kind:Ln.SYS_RESOURCEHASH,Args:["url",b,I.Hash]}),[3,16];case 15:return e.sent(),[3,16];case 16:return g++,[3,9];case 17:return h++,[3,7];case 18:return[3,1];case 19:return[2]}})})},t.prototype.su=function(){var t=this,n=Qr(),i=n.resolve,r=n.promise,e=function(){t.ou=null,t.iu=!1;var n=t.ru;t.ru=[],i(n)};return this.iu?e():this.ou=e,r},t.prototype.uploadIfNeeded=function(t,n,i){return void 0===i&&(i="unknown"),r(this,void 0,Xr,function(){var r,s,o;return e(this,function(e){switch(e.label){case 0:return this.Zo?(r=n.href,this.Ce[r]?[2]:(s="css"===i&&function(t){return!!bn(t,"_fs_force_local_resources","boolean")}(this.ot.window),s||function(t,n){switch(n.protocol){case"blob:":return!0;case"http:":case"https:":switch(n.hostname){case"localhost":case"127.0.0.1":case"[::1]":return t.location.protocol===n.protocol&&t.location.host===n.host;case"::1":var i=n.port?"[::1]:".concat(n.port):"[::1]";return t.location.protocol===n.protocol&&t.location.host===i;default:return!1}default:return!1}}(t,n)?(this.Ce[r]=!0,[4,this.uu(r)]):[2])):[2];case 1:return(o=e.sent())?(this.au(o),[2]):[2]}})})},t.prototype.au=function(t){var n=this,i=0==this.ru.length;this.ru.push(t),i&&new this.tu(function(){n.iu=!0,n.ou&&n.ou()},50).start()},t.prototype.uu=function(t){return r(this,void 0,Xr,function(){var n,i,r,s,o;return e(this,function(e){switch(e.label){case 0:return this.nu[t]?[2,this.nu[t]]:[4,Zc(t)];case 1:return(n=e.sent())?[4,Gc(this.ot.window,this.ot.time,n.buffer)]:[2,null];case 2:return i=e.sent(),r=i.hash,s=i.algorithm,o={hash:r,hashAlgorithm:s,url:t,blob:n.blob,contentType:n.contentType},this.nu[o.url]=o,[2,o]}})})},t.prototype.uploadDataUrlIfNeeded=function(t,n){return void 0===n&&(n=function(){return!0}),r(this,void 0,Xr,function(){var i,r,s,o,u,a;return e(this,function(e){switch(e.label){case 0:return i=function(t){var n,i=t.indexOf(",");if(-1!==i)try{var r=t.substring(0,i).match(th),e=void 0,s=void 0;r&&(e=r[1],s=null===(n=r[2])||void 0===n?void 0:n.substring(1));for(var o=atob(t.substring(i+1)),u=new ArrayBuffer(o.length),a=new Uint8Array(u),c=0;c<o.length;++c)a[c]=o.charCodeAt(c);return{blob:new Blob([u],{type:e}),buffer:u,contentType:e,charset:s}}catch(n){return void Ds.send(nh,"warning",{input:t.substring(0,100),err:n})}else Ds.send(nh,"warning",{input:t.substring(0,100)})}(t),i?[4,Gc(this.ot.window,this.ot.time,i.buffer)]:[2,void 0];case 1:return r=e.sent(),s=r.hash,o=r.algorithm,u="https://".concat("data-url.fs.invalid","/").concat(o,"/").concat(s),a={hash:s,hashAlgorithm:o,url:u,blob:i.blob,contentType:i.blob.type||"application/octet-stream"},n(a)?(this.nu[a.url]=a,this.au(a),[2,a]):[2,a]}})})},t}();function Zc(t){var n=Qr(),i=n.resolve,r=n.promise,e=new XMLHttpRequest;return"string"!=typeof e.responseType?(i(null),r):(e.open("GET",t,!0),e.responseType="blob",e.onerror=function(){i(null)},e.onload=function(){if(200!=e.status&&0!==e.status)return"Error loading blob resource ".concat(rs(t,{source:"log",type:"debug"})),void i(null);var n=e.response;if((n.size||n.length)>Qc){var r=rs(t,{source:"log",type:"fsbugs"});return zs(Yc,"Size of blob resource exceeds limit",{url:r,MaxResourceSizeBytes:Qc}),void i(null)}Zr(n).then(function(t){i(t?{buffer:t,blob:n,contentType:n.type}:null)})},e.send(),r)}var th=/^data:([^;,]*)(;?charset=[^;]+)?(?:;base64)?$/i,nh="Could not parse data url",ih=function(){function t(t,n,i){void 0===i&&(i=new rh),this.ot=t,this.ue=n,this.cu=i}return t.prototype.initialize=function(t){var n;if(t){this.hu(t);var i=null===(n=this.ot.window.location)||void 0===n?void 0:n.href;this.onNavigate(i)}},t.prototype.onNavigate=function(t){return!!this.cu.matches(t)&&(this.ue.enqueue({Kind:Ln.KEEP_URL,Args:[rs(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(Pe.Keep))&&(this.ue.enqueue({Kind:Ln.KEEP_ELEMENT,Args:[t.id]}),!0)},t.prototype.urlMatches=function(t){return this.cu.matches(t)},t.prototype.hu=function(t){this.cu.setRules(t)},t}(),rh=function(){function t(){this.fu=null}return t.prototype.setRules=function(t){var n=t.map(function(t){return t.Regex}).filter(eh);n.length>0&&(this.fu=function(t){try{return new RegExp("(".concat(t.join(")|("),")"),"i")}catch(n){return Ds.send("Browser rejected joining UrlKeep.Regexs","error",{exprs:t,error:n.toString()}),null}}(n))},t.prototype.matches=function(t){return!!this.fu&&this.fu.test(t)},t}();function eh(t){try{return new RegExp(t),!0}catch(n){return Ds.send("Browser rejected UrlKeep.Regex","error",{expr:t,error:n.toString()}),!1}}rr.RequestFrameId,rr.EvtBundle;var sh=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 oh(t,n){if(t&&t.postMessage)try{t.postMessage(function(t){var n;return Ot(((n={})[fr]=t,n))}(n),"*")}catch(t){var i="postMessageTo";zs(i,i,{err:t})}}function uh(t){try{var n=Pt(t);if(fr in n)return n[fr]}catch(t){}return[rr.Unknown]}function ah(t,n,i,r){var e=Tn(t);if(!e)return!1;try{e.send(n,i,r)}catch(t){e.send(n,i)}return!0}function ch(t,n,i){var r=Tn(t);if(!r||!r.sendToChild)return!1;var e=i[0],s=Ot(i.slice(1));return r.sendToChild(n,e,s),!0}var hh=new RegExp(/^\s+$/),fh=/^fb\d{18}$/,vh=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,h=t.snippetVersion;"Injecting into Frame ".concat(c);try{if(function(t){return t.id==t.name&&fh.test(t.id)}(n))return"Blocklisted iframe: ".concat(c),Vn.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"Frame not yet loaded: ".concat(c),Vn.PartiallyLoaded;var f=n.contentWindow,v=n.contentDocument;if(!f||!v)return"Missing contentWindow or contentDocument: ".concat(c),Vn.MissingWindowOrDocument;if(!v.head)return"Missing contentDocument.head: ".concat(c),Vn.MissingDocumentHead;if(!v.body||!ft(v.body))return Vn.MissingBodyOrChildren;for(var l=!1,d=at(v.body);d;d=vt(d)){switch(d.nodeType){case Q:if("SCRIPT"===d.tagName)continue;break;case 3:var p=d.textContent;if(null===p||hh.test(p))continue;break;case Node.COMMENT_NODE:continue}l=!0;break}if(!l)return Vn.NoNonScriptElement;if(ln(f))return"FS already defined in Frame contentWindow: ".concat(c," Ignoring."),Vn.AlreadyDefined;var w=f;return w._fs_org=i,w._fs_script=e,w._fs_rec_host=s,w._fs_rec_settings_host=o,w._fs_app_host=u,w._fs_run_in_iframe=!0,w._fs_namespace=a,w._fs_transport=function(t){return{send:function(n,i,r){if(void 0!==t.parent){var e=ln(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&&Ds.send(t,"error",{msg:"Received invalid JSON"})}})}}}}(w),function(t,n,i,r,e,s){/^2\./.test(s)?sh({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="".concat(i,"//").concat(r),"testdrive"==e&&(o.src+="?allowMoo=true"),n.head.appendChild(o)}(w,v,r,e,i,h),Vn.Successful}catch(t){return Vn.Exception}};function lh(t){var n="".concat(go(t));t.id&&(n+="#".concat(t.id));var i=rs(t.src,{source:"log",type:"debug"});return n+"[src=".concat(i,"]")}var dh,ph,wh=function(){function t(t,n){var i;this.Ii=t,this.Ft=[],this.vu=!1,this.jt=null!==(i=n.interval)&&void 0!==i?i:1e3,this.lu=n.onFlush}return t.prototype.append=function(t){this.schedule(),this.Ft.push(t)},t.prototype.flush=function(){this.vu=!1,this.lu(this.Ft),this.Ft=[]},t.prototype.schedule=function(){this.vu||(T.setWindowTimeout(this.Ii,P(this.flush.bind(this)),this.jt),this.vu=!0)},t}(),gh="https://fs-obfuscated.invalid",mh=function(){function t(t,n){this.Ii=t,this.Ft=n,this.du=0,this.pu={},this.pn=!1}return t.prototype.enable=function(){var t=this;this.pn=!0,this.wu=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;e<r.length;e++)i+=r[e].toString(16);return i}}catch(t){}return T.mathFloor(1e20*(T.mathRandom()+.1)).toString(16)}(this.Ii),this.Ft.enqueue({Kind:Ln.URL_SALT,Args:[this.wu]}),this.gu=new wh(this.Ii,{interval:500,onFlush:function(n){return t.lu(n)}})},t.prototype.flush=function(){var t;null===(t=this.gu)||void 0===t||t.flush()},t.prototype.lu=function(t){0!==t.length&&this.Ft.enqueue({Kind:Ln.URL_ID,Args:t})},t.prototype.record=function(t){var n;if(this.pn&&/^(file|http)/i.test(t)){var i=this.mu(t,!0),r=i[0];i[1]&&(null===(n=this.gu)||void 0===n||n.append([t,r]))}},t.prototype.yu=function(t){return this.mu(t,!1)[0]},t.prototype.mu=function(t,n){var i=t.substring(0,5e3);if(void 0===this.pu[i]){var r=this.du++;return this.pu[i]={id:r,record:n},[r,n]}var e=!1;return n&&(e=!1===this.pu[i].record,this.pu[i].record=!0),[this.pu[i].id,e]},t.prototype.obfuscateUrl=function(t,n){return this.pn?"css"===n?this.bu(t):this.Su(t):t},t.prototype.bu=function(t){Hs(void 0!==this.wu,"imgurl: salt not defined");var n=Dc(t.substring(0,5e3)+this.wu);return"".concat(gh,"?hash=").concat(n,"&algorithm=fnv32")},t.prototype.Su=function(t){var n=this.yu(t);return"".concat(gh,"?url-id=").concat(n)},t}(),yh=function(){function t(t){this.ot=t}return t.prototype.page=function(t){return r(this,void 0,Xr,function(){return e(this,function(t){switch(t.label){case 0:return[4,oe()];case 1:return t.sent(),[2,i(i({},Ah()),{UserIntId:"0",SessionIntId:"0",PageIntId:"0",EmbedToken:"",PageStart:Gt(),IsNewSession:!0,Flags:{AjaxWatcher:!0,ConsoleWatcher:!0,DisableImgUrlPrivacy:!0,GetCurrentSession:!0,UseClientSideId:!0,UseCompression:!0,UseTreeWalker:!0}})]}})})},t.prototype.settings=function(t){return r(this,void 0,Xr,function(){return e(this,function(t){switch(t.label){case 0:return[4,oe()];case 1:return t.sent(),[2,Ah()]}})})},t.prototype.bundle=function(t){var n;return r(this,void 0,Xr,function(){var i,r,s,o,u,a;return e(this,function(e){switch(e.label){case 0:i=Gt(),r=0,e.label=1;case 1:return e.trys.push([1,9,,10]),[4,oe()];case 2:return e.sent(),(s=t.bundle)[0],o=s[1],u=s[2],r=u,"string"===o.type?[3,3]:[3,6];case 3:return this.ot.recording.flags().UseCompression?[4,re(o.data)]:[3,5];case 4:a=e.sent(),r=null!==(n=null==a?void 0:a.byteLength)&&void 0!==n?n:0,e.label=5;case 5:return[3,6];case 6:return r>2e6?[4,oe()]:[3,8];case 7:e.sent(),e.label=8;case 8:return[3,10];case 9:return e.sent(),[3,10];case 10:return[2,[r,{BundleTime:i}]]}})})},t.prototype.bundleBeacon=function(t){return!0},t.prototype.exponentialBackoffMs=function(t,n){return 0},t.prototype.startBeacon=function(t){return r(this,void 0,Xr,function(){return e(this,function(t){return[2,Xr.resolve()]})})},t}(),bh=function(){function t(){}return t.prototype.uploadResource=function(t){return r(this,void 0,Xr,function(){return e(this,function(t){switch(t.label){case 0:return[4,oe()];case 1:return t.sent(),[2,Ot({Algorithm:"fsnv",Hash:""})]}})})},t.prototype.queryResources=function(t){return r(this,void 0,Xr,function(){return e(this,function(t){switch(t.label){case 0:return[4,oe()];case 1:return t.sent(),[2,[]]}})})},t}(),Sh=function(){function t(){this._cookies={}}return t.prototype.setDomain=function(t){},t.prototype.getValue=function(t,n){return{cookieValue:this._cookies[t],localStorageValue:void 0}},t.prototype.setValue=function(t,n,i,r){this.setCookie(t,n,i)},t.prototype.setCookie=function(t,n,i){this._cookies[t]=n},t.prototype.clearCookie=function(t,n){delete this._cookies[t]},Object.defineProperty(t.prototype,"cookies",{get:function(){return this._cookies},enumerable:!1,configurable:!0}),t}();function kh(){try{return document.domain}catch(t){}return""}function Ah(){return{AjaxWatches:[],CookieDomain:kh(),ElementBlocks:s(s([],[{Selector:"input",Consent:!1,Type:Li.Mask},{Selector:"textarea",Consent:!1,Type:Li.Mask},{Selector:"select",Consent:!1,Type:Li.Mask},{Selector:"[contenteditable]",Consent:!1,Type:Li.Mask},{Selector:"input[type=radio]",Consent:!1,Type:Li.Exclude},{Selector:"input[type=checkbox]",Consent:!1,Type:Li.Exclude}],!0),lu,!0),ElementDeferreds:[],ElementKeeps:[],ElementWatches:[],OrgSettings:qi.DefaultOrgSettings,UrlKeeps:[],DwellTime:0}}(ph=dh||(dh={}))[ph.NoInfoYet=1]="NoInfoYet",ph[ph.Enabled=2]="Enabled",ph[ph.Disabled=3]="Disabled";var _h,Ih,Eh=function(){function t(t,n,i,r,e){var s,o=this;this.ot=t,this.ku=e,this.Au=qi.DefaultOrgSettings,this._u=!1,this.Lo=null,this.No=[],this.Iu=qi.DefaultBundleUploadInterval,this.Eu=qi.HeartbeatInterval,this.Cu=[],this.Tu=new WeakMap,this.xu=[],this.ht=new Gs,this.Ku=dh.NoInfoYet,this.ju=!1,this.Mu=!1,this.Ou=!1,this.Ru={},this.Ft=new Lc(t,r,i,function(){return o.Pu.bundleEvents()},n);var u,a=new Jc(t,this.Ft,xn((u=t).window)?new bh:new ks(u));this.Vi=new mh(t.window,this.Ft),this.Dn=new Cu,this.hs=new ih(t,this.Ft),this.Pu=new _c(t,this.Ft,this.hs,this.Dn,this.ht,function(t){return o.vs(t)},function(t){return o.ls(t)},a,this.Vi),this.et=t.options.scheme,this.Uu=t.options.script,this.Lu=t.options.recHost,this.st=t.options.cdnHost,this.Nu=t.options.appHost,this.Du=t.options.orgId,this.Ii=t.window,this.Mu=null!==(s=!!bn(t.window,"_fs_skip_iframe_injection","boolean"))&&void 0!==s&&s}return t.prototype.getPageResponse=function(){return this.Bu},t.prototype.bundleUploadInterval=function(){return this.Iu},t.prototype.heartbeatInterval=function(){return this.Eu},t.prototype.setInitConfig=function(t){this.Fu=t},t.prototype.start=function(t,n,i){var r=this;this.Hu=n,this.Wu=i,this.Ts();var e=this.Ii.Document?this.Ii.Document.prototype:this.Ii.document;this.zu=Nt(e,"close"),this.zu&&this.zu.afterAsync(function(){r.ht.refresh()})},t.prototype.Ts=function(){var t=this;"onpageshow"in this.Ii&&this.ht.add(this.Ii,"pageshow",!1,function(n){t.Ft.manualHibernateCheck(),(null==n?void 0:n.persisted)&&t.Ft.enqueue({Kind:Ln.BFCACHE_STATE,Args:[Yn.Restored]})}),"onpagehide"in this.Ii?this.ht.add(this.Ii,"pagehide",!1,function(n){(null==n?void 0:n.persisted)?(t.Ft.enqueue({Kind:Ln.BFCACHE_STATE,Args:[Yn.Entering]}),t.Ft.singSwanSong(si.Unload)):t.qu()}):this.ht.add(this.Ii,"unload",!1,function(){t.qu()}),this.ht.add(this.Ii,"message",!1,function(n){var i=n.data;if("string"==typeof i){var r=n.source;t.onMessageReceived(r,uh(i))}})},t.prototype.tellAllFramesTo=function(t){for(var n=0,i=this.Cu;n<i.length;n++){var r=i[n];r.contentWindow&&oh(r.contentWindow,t)}},t.prototype.queue=function(){return this.Ft},t.prototype.eventWatcher=function(){return this.Pu},t.prototype.console=function(){return this.Pu.consoleWatcher()},t.prototype.orgSettings=function(){return this.Au},t.prototype.onDomLoad=function(){this.Pu.onDomLoad()},t.prototype.onLoad=function(){this.Pu.onLoad()},t.prototype.shutdown=function(t){this.Ou=!0,this.tellAllFramesTo([rr.ShutdownFrame]),this.Pu.stop(t),this.ht&&this.ht.clear(),this.zu&&this.zu.disable()},t.prototype.getCurrentSessionURL=function(t){var n=this.Ku;if(n==dh.NoInfoYet)return null;if(n==dh.Disabled)return"".concat(this.et,"//").concat(this.Nu,"/opt/upgrade");var i=this.getCurrentSession();return i?(t&&(i+=":".concat(this.ot.time.wallTime())),"".concat(this.et,"//").concat(this.Nu,"/ui/").concat(this.ot.options.orgId,"/").concat(this._u?"client-":"","session/").concat(encodeURIComponent(i))):null},t.prototype.getCurrentSession=function(){return this.getIsSessionReady()?"".concat(this.$u,":").concat(this.Vu):null},t.prototype.getIsSessionReady=function(){var t=this.Ku;return!(t==dh.NoInfoYet||t==dh.Disabled||!this.$u||!this.Vu)},t.prototype.setConsent=function(t){var n,i=this;null===(n=this.ot.recording.identity)||void 0===n||n.getConsentStore().setConsentState(t);var r=function(){i.Dn.setConsent(t),i.Ft.processEvents()},e=function(){i.Ft.enqueue({Kind:Ln.SYS_SETCONSENT,Args:[t,ri.Document]})};switch(t){case ni.GrantConsent:e(),r();break;case ni.RevokeConsent:r(),e()}this.tellAllFramesTo([rr.SetConsent,t])},t.prototype.pageSignature=function(){return"".concat(this.$u,":").concat(this.Vu,":").concat(this.Gu)},t.prototype.getBundleApiVersion=function(){return this._u?"v2":"v1"},t.prototype.Xu=function(t){void 0===t&&(t=!1);var n=bn(this.Ii,"_fs_ready","function");if(n)try{t?n(!0):n()}catch(t){"exception in _fs_ready(): ".concat(t)}},t.prototype.qu=function(){this.Ft.addUnload(si.Unload),_o.stopAll()},t.prototype.Qu=function(t,n){var i,r,e,s,o=t.Flags,u=o.AjaxWatcher,a=o.ClientSideRageClick,c=o.DisableImgUrlPrivacy,h=o.GetCurrentSession,f=o.ResourceUploading,v=o.UseClientSideId,l=o.UseTreeWalker;this.Bu=t,this.$u=t.UserIntId,this.Vu=t.SessionIntId,this.Gu=t.PageIntId,this.Yu=t.PageStart,this.Ku=h?dh.Enabled:dh.Disabled,this.Au=t.OrgSettings,as(null!==(i=this.Au.UrlPrivacyConfig)&&void 0!==i?i:qi.DefaultOrgSettings.UrlPrivacyConfig,this.Au.MaxUrlLength);var d=null!==(r=this.Au.AttributeBlocklist)&&void 0!==r?r:[];(null===(s=null===(e=this.Fu)||void 0===e?void 0:e.privacy)||void 0===s?void 0:s.attributeBlocklist)&&("adding ".concat(this.Fu.privacy.attributeBlocklist.length," client defined attribute block rules."),d.push.apply(d,this.Fu.privacy.attributeBlocklist.map(bs))),gs(d),l&&(ut=!0),c||this.Vi.enable(),this.Pu.consoleWatcher().initializeMaxLogsPerPage(this.Au.MaxConsoleLogPerPage),this.Pu.ajaxWatcher().initialize({requests:this.Au.HttpRequestHeadersAllowlist,responses:this.Au.HttpResponseHeadersAllowlist,maxAjaxPayloadLength:this.Au.MaxAjaxPayloadLength}),this.Pu.perfWatcher().initialize({resourceUploader:this.Pu.getResourceUploader(),recTimings:!!this.Au.RecordPerformanceResourceTiming,recImgs:!!this.Au.RecordPerformanceResourceImg,maxPerfMarksPerPage:this.Au.MaxPerfMarksPerPage}),this.Dn.initialize({canvasWatcherMode:t.Flags.CanvasWatcherMode,blocks:t.ElementBlocks,deferreds:t.ElementDeferreds,keeps:t.ElementKeeps,watches:t.ElementWatches}),this.hs.initialize(t.UrlKeeps),this.Dn.initializeConsent(n),"number"==typeof t.BundleUploadInterval&&(this.Iu=t.BundleUploadInterval),"number"==typeof t.HeartbeatInterval&&(this.Eu=t.HeartbeatInterval),f&&this.Ju(),u&&t.AjaxWatches&&this.Pu.ajaxWatcher().setWatches(t.AjaxWatches),a&&this.Ft.enableEasyBake(),v&&(this._u=!0),this.Pu.start(t.Flags)},t.prototype.Zu=function(){var t;this.Hu&&this.Hu({sessionUrl:null!==(t=this.getCurrentSessionURL())&&void 0!==t?t:"",settings:this.Au})},t.prototype.ta=function(){this.Wu&&this.Wu()},t.prototype.Ju=function(){this.ju=!0,this.Pu.initResourceUploading()},t.prototype.na=function(){if(this.xu.length>0){for(var t=0;t<this.xu.length;t++)this.xu[t]();this.xu=[]}},t.prototype.ia=function(t){var n=this;this.ot.measurer.enqueue(function(){var i=lh(t),r=n.ku({frame:t,orgId:n.Du,scheme:n.et,script:n.Uu,recHost:n.Lu,cdnHost:n.st,appHost:n.Nu,namespace:fn(n.Ii),desc:i,snippetVersion:On(n.Ii)});r!==Vn.MissingDocumentHead&&r!==Vn.MissingBodyOrChildren&&r!==Vn.NoNonScriptElement||!t.contentDocument||new MutationObserver(function(i,r){n.ia(t),r.disconnect()}).observe(t.contentDocument,{childList:!0,subtree:!0}),n.Ft.enqueue({Kind:Ln.FRAME_STATUS,Args:[go(t),i,r]})})},t.prototype.ra=function(){var t,n;(null===(t=this.Fu)||void 0===t?void 0:t.privacy)&&this.Ft.enqueue({Kind:Ln.INIT_API,Args:["privacy",["attributeBlocklist",(null!==(n=this.Fu.privacy.attributeBlocklist)&&void 0!==n?n:[]).map(function(t){return[t.target,t.tag,t.name,t.action,t.type]})]]})},t.prototype.vs=function(t){var n=go(t);if(n){this.Cu.push(t);var i=!1;if(t.contentWindow)try{i=!!ln(t.contentWindow)}catch(t){i=!0}var r=function(t){var n=t.src,i="".concat(location.protocol,"//").concat(location.host);return!n||"about:blank"==n||Et(n,"javascript:")||Et(n,i)}(t),e=t.contentWindow&&t.contentWindow.postMessage;r&&!i||!e?r?this.ea(t):"Frame Doesn't need injecting. Probably cross domain ".concat(lh(t)):this.sa(t,n)}else"fsid missing or invalid for iFrame ".concat(lh(t))},t.prototype.sa=function(t,n){var i=[rr.GreetFrame,n];t.contentWindow&&t.contentWindow.postMessage?("Cross-origin iframe ".concat(lh(t)),ch(this.Ii,t,i)||oh(t.contentWindow,i)):"No content window on init of cross-origin iframe ".concat(lh(t))},t.prototype.ea=function(t){var n=this;if(this.Mu)"skipped same-origin iframe injection for ".concat(lh(t)," because _fs_skip_iframe_injection is set to true");else{"Attempting to setup Frame ".concat(lh(t)),this.ia(t);var i=this.ht.add(t,"load",!1,Ds.wrap(function(){"onload for frame ".concat(lh(t)),n.ia(t)}));this.Tu.set(t,i)}},t.prototype.ls=function(t){if(go(t)){var n=this.Tu.get(t);void 0!==n&&(Vs(n),this.Tu["delete"](t)),this.Cu=this.Cu.filter(function(n){return n!==t})}},t.prototype.onMessageReceived=function(t,n){if(!t||t.parent==this.Ii)switch(n[0]){case rr.EvtBundle:var i=n[1],r=n[2],e=this.pageSignature();if(e!==r)return Ao({msg:"Page signature mismatch",pageSignature:e,messageSignature:r},1024),void(t&&oh(t,[rr.ShutdownFrame]));i.length>0&&this.Ft.sendEvents(e,i);break;case rr.RequestFrameId:if(!t)return;var s=this.oa(t);if(void 0===s);else{var o=go(s);"Responding to FID request for frame ".concat(o),this.Ru[o]=!1,this.ua(s,o)}case rr.Unknown:}},t.prototype.oa=function(t){for(var n=0,i=this.Cu;n<i.length;n++){var r=i[n];if(r.contentWindow===t)return r}},t.prototype.ua=function(t,n){var i=this,r=function(){var r,e=[];0!=i.Lo&&null!==i.Lo&&(e=i.No?i.No.concat(i.Lo):[i.Lo]);var s=i.ot.time.startTime(),o=[rr.SetFrameId,n,e,s,i.et,i.Uu,i.Nu,i.Du,i.Fu,i.Bu,null!==(r=i.Dn.getConsent())&&void 0!==r?r:ni.RevokeConsent,i.ot.time.now()];ch(i.Ii,t,o)||oh(t.contentWindow,o)};null==this.Lo?this.xu.push(r):r()},t.prototype.aa=function(t){var n=this;this.ot.measurer.enqueue(function(){n.Ft.enqueue({Kind:Ln.DOCUMENT_PROPERTIES,Args:[go(t.scrollingElement),t.compatMode]})})},t}();function Ch(t){var n,i,r,e,s,o,u,a,c=(null!==(i=null===(n=t.ElementBlocks)||void 0===n?void 0:n.length)&&void 0!==i?i:0)>0&&(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||Ds.send("Invalid page response","error",{rsp:t}),c}(Ih=_h||(_h={})).START="start",Ih.SHUTDOWN="shutdown",Ih.INTERNAL_BUNDLE="internal/bundle",Ih.INTERNAL_ERROR="internal/error",Ih.INTERNAL_FS_INIT="internal/fs-init";var Th=[_h.START,_h.SHUTDOWN,_h.INTERNAL_BUNDLE,_h.INTERNAL_ERROR,_h.INTERNAL_FS_INIT];function xh(t){var n=t.Seq,i=Ot(t);return[n,{data:i,type:"string"},i.length]}function Kh(t,n,i,s,o,u,a,c,h){return void 0===o&&(o=new To),void 0===u&&(u=0),void 0===a&&(a=Eo),r(this,void 0,Xr,function(){var r,f,v,l,d,p;return e(this,function(e){switch(e.label){case 0:if(r=null,!wt(n)||0===n.length||void 0===n[0])return[2];1==n.length&&(r=o.wallTime()-(i||0)),e.label=1;case 1:return e.trys.push([1,5,,6]),(f=s(n[0])).deltaT=r,void 0!==h&&(f.serverBundleTime=h),[4,t.bundle(f)];case 2:return v=e.sent(),l=v[1],n.shift(),n.length>0?[4,Kh(t,n,i,s,o,0,a,c,l.BundleTime)]:[3,4];case 3:e.sent(),e.label=4;case 4:return[3,6];case 5:return(d=e.sent())instanceof Xn&&Qn(d.status)?[2]:(p=new a(Kh,t.exponentialBackoffMs(u,!0),null,t,n,i,s,o,u+1,a).start(),null==c||c(p),[3,6]);case 6:return[2]}})})}var jh=function(){function t(t,n,i){void 0===i&&(i=Eo),this.ot=t,this.Jo=n,this.ca=i,this.sing()}return t.prototype.store=function(t){if(!xn(this.ot.window)){"Saving ".concat(t.bundles.length," bundles in swan-song.");for(var n=0,i=t.bundles;n<i.length;n++)if("string"!==i[n][1].type){var r="song arraybuffer not supported";return void zs(r,r)}var e={Bundles:t.bundles,IsNewSession:t.isNewSession,LastBundleTime:t.lastBundleTime,OrgId:t.orgId,PageId:t.pageId,PageStartTime:this.ot.time.startTime(),RecHost:Os(this.ot),ServerBundleTime:t.serverBundleTime,ServerPageStart:t.serverPageStart,SessionId:t.sessionId,UserId:t.userId,Version:t.version};try{var s=Ot(e);if(s.length>2e6)return;localStorage[sr]=s}catch(t){}}},t.prototype.sing=function(){var t=this;xn(this.ot.window)||this.ha(Mh(sr)).then(function(){t.ha(Mh("_fs_swan_song"))})},t.prototype.ha=function(t){return r(this,void 0,Xr,function(){var n;return e(this,function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),void 0===t?[2]:t.Bundles&&t.UserId&&t.SessionId&&t.PageId?t.Bundles.length>0?("Sending ".concat(t.Bundles.length," bundles as prior page swan song"),[4,this.fa(t)]):[3,2]:[2];case 1:i.sent(),i.label=2;case 2:return[3,4];case 3:return n=i.sent(),"Error recovering swan-song: ".concat(n),[3,4];case 4:return[2]}})})},t.prototype.fa=function(t){return r(this,void 0,Xr,function(){var n=this;return e(this,function(i){switch(i.label){case 0:return[4,Kh(this.Jo,t.Bundles,t.LastBundleTime,function(n){var i=n[0],r=n[2];return"Sending ".concat(r," trailing bytes from last session as Seq ").concat(i),{bundle:n,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}},void 0,void 0,this.ca,function(t){return n.va=t})];case 1:return i.sent(),[2]}})})},t}();function Mh(t){try{if(t in localStorage){var n=localStorage[t];delete localStorage[t];var i=Pt(n);return i.Bundles=function(t){for(var n=[],i=0,r=t.Bundles;i<r.length;i++){var e=r[i];wt(e)?n.push(e):n.push(xh(e))}return n}(i),i}}catch(t){"Error purging swan-song: ".concat(t)}}var Oh=function(){function t(){}return t.prototype.encode=function(t){return t},t}(),Rh=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;i<n.length;i++)if(r=n[i],s&&Object.prototype.hasOwnProperty.call(s.map,r))u++,e=r,s=s.map[r];else{a();var c=this.startIdx+i-u;null==s&&this.nodeCount<t.MAX_NODES&&(s={idx:c,map:{}},this.dict.map[e]=s,this.nodeCount++),s&&this.nodeCount<t.MAX_NODES&&(s.map[r]={idx:c,map:{}},this.nodeCount++),u=1,e=r,s=Object.prototype.hasOwnProperty.call(this.dict.map,r)?this.dict.map[r]:void 0}return a(),this.startIdx+=n.length,o},t.MAX_NODES=1e4,t}();function Ph(t){for(var n=0;n<t.length;n++){var i=t[n];switch(i.Kind){case Ln.DEFERRED_MUT_SHADOW:t[n].Args[1]=Uh(i.Args[1]),t[n].Kind=Ln.MUT_SHADOW;break;case Ln.DEFERRED_MUT_INSERT:t[n].Args[2]=Uh(i.Args[2]),t[n].Kind=Ln.MUT_INSERT}Hs(i.Kind!==Ln.DEFERRED_MUT_SHADOW&&i.Kind!==Ln.DEFERRED_MUT_INSERT,"client only event escaped")}return t}function Uh(t){for(var n=[],i=0,r=t;i<r.length;i++){var e=r[i];if("function"==typeof e)for(var s=0,o=e();s<o.length;s++){var u=o[s];n.push(u)}else n.push(e)}return n}var Lh,Nh=function(){function t(t){this.la=t,this.da=0}return t.newBudget=function(n){return void 0===n&&(n=256e3),new t(n)},t.prototype.add=function(t){this.da+=t},t.prototype.isOver=function(){return this.da>this.la},t.prototype.reset=function(){this.da=0},t}(),Dh=((Lh={})[Ln.AJAX_REQUEST]=!0,Lh[Ln.PERF_ENTRY]=!0,Lh[Ln.RESOURCE_TIMING_BUFFER_FULL]=!0,Lh),Bh=function(){function t(t,n){void 0===n&&(n=Nh.newBudget()),this.ot=t,this.pa=n,this.Ft=new tu,this.wa=1,this.ga={},this.ma=!1,this.ya=[],this.ba=!0,this.init()}return t.prototype.init=function(){if(1===this.wa){var t,n=this.ot.recording.flags().UseCompression&&"CompressionStream"in(t=this.ot.window)&&"TextEncoderStream"in t;this.ba=!!this.ot.recording.flags().UseLZEncoding||!n}},t.prototype.add=function(t){var n=!0;switch(t.Kind){case Ln.SET_FRAME_BASE:case Ln.MUT_INSERT:case Ln.MUT_SHADOW:case Ln.DEFERRED_MUT_INSERT:case Ln.DEFERRED_MUT_SHADOW:n=!1}Dh[t.Kind]||(this.ma=!0),this.Ft.push([t,n?Ot(t):void 0])},t.prototype.nextBundle=function(n){if(0!==this.Ft.size())return n.flush||t.forceFlush||this.ma?this.Sa(n):void 0},t.prototype.addEndMarkerEvent=function(t){this.ya.push(t)},t.prototype.persistEndMarkerEventsTo=function(t){for(var n=0,i=this.ya;n<i.length;n++){var r=i[n];t.addEndMarkerEvent(r)}},t.prototype.Sa=function(t){var n=this.ka(t);if(n){0===this.Ft.size()&&(this.ma=!1);var i=n[0],r=n[1];return function(t,n,i){var r="{\"Seq\":".concat(t,",\"When\":").concat(n,",\"Evts\":[").concat(i,"]}");return[t,{type:"string",data:r},r.length]}(this.wa++,i,r)}},t.prototype.ka=function(t){Hs(this.Ft.size()>0,"queue should never be empty"),this.pa.reset();var n=this.Ft.first()[0],i=n.When,r=this.Aa(t),e=r[0],s=r[1];if(!this._a(t))return this.Ia(e,s),[i,Hh(e)];this.Ft.unshift([n,Hh(e)])},t.prototype.Aa=function(t){for(var n,r=[],e=[],o=this.Ft.shift();o;o=this.Ft.shift()){var u=o[0],a=o[1];if(n=u,void 0===a){var c=Ph([u])[0];if(this.ba){var h=this.Ea(c),f=h[0],v=h[1];a=Ot(f),e.push.apply(e,v)}else{var l=Gt();a=Ot(c),e.push(Gt()-l)}}if(r.push(a),this.pa.add(a.length),!t.flush&&this.pa.isOver())break}return n&&function(t,n,r){n.length<=0||t.push(function(t,n){var r=n[0],e=n.slice(1);return Ot(i(i({},t),{Kind:Ln.TIMING,Args:[s([Fn.Internal,Wn.Serialization,qn.LzEncoding,t.When,r],e.map(function(t){return[qn.LzEncoding,t]}),!0)]}))}(r,n))}(r,e,n),[r,n]},t.prototype._a=function(t){return!(!this.ot.recording.flags().UseMinNetworkBudget||t.bypassMinBudget||t.flush||this.pa.isOver())},t.prototype.Ia=function(t,n){Hs(!!n,"builder: missing last event"),n&&function(t,n,r){Hs(n.length>0,"builder: missing marker events");for(var e=0,s=n;e<s.length;e++){var o=s[e];t.push(Ot(i(i({},r),o)))}}(t,this.ya,n)},t.prototype.Ea=function(t){var n=[];switch(t.Kind){case Ln.SET_FRAME_BASE:var i=Fh(t.PIds,t.FId);delete this.ga[i];break;case Ln.MUT_INSERT:var r=Gt();t.Args[2]=this.Ca(t.PIds,t.FId,t.Args[2]),n.push(Gt()-r);break;case Ln.MUT_SHADOW:r=Gt(),t.Args[1]=this.Ca(t.PIds,t.FId,t.Args[1]),n.push(Gt()-r)}return[t,n]},t.prototype.Ca=function(t,n,i){void 0===t&&(t=[]),void 0===n&&(n=0);var r=Fh(t,n);return this.ga[r]||(this.ga[r]=this.ba?new Rh:new Oh),this.ga[r].encode(i)},t.forceFlush=!1,t}();function Fh(t,n){void 0===t&&(t=[]),void 0===n&&(n=0);for(var i="",r=0,e=t;r<e.length;r++){var s=e[r];i+="/".concat(s)}return"".concat(i,"/").concat(n)}function Hh(t){return t.join(",")}var Wh=function(t,n){var i=qi.DefaultStatsSettings,r=i.MaxEventTypeLength,e=i.MaxPayloadLength,s="string"==typeof t?t.trim().slice(0,r):"";return{Kind:Ln.STATS,Args:[s,ds(Ao(n,e))]}},zh=function(){function t(t,n){var i;this.ot=t,this.Jo=n,this.wa=0,this.Ta=0,this.xa=0,this.Ka=!1,this.ja=!1,this.Ma=t.time.now(),Hs(!!this.ot.recording.identity,"unexpected undefined identity"),this.Oa=null===(i=this.ot.recording.identity)||void 0===i?void 0:i.getClientStore()}return t.prototype.init=function(t){var n,i,r,e,s;this.Ra=t;var o=null!==(n=t.minDwellTime)&&void 0!==n?n:0;if(this.xa=1e3*T.mathMin(o,10),this.Ma=this.ot.time.now(),this.xa&&this.Jo.startBeacon({orgId:(null===(i=this.Ra)||void 0===i?void 0:i.orgId)||"",userId:(null===(r=this.Ra)||void 0===r?void 0:r.userId)||"",sessionId:(null===(e=this.Ra)||void 0===e?void 0:e.sessionId)||""}),t.isNewSession||0===this.xa)return[];var u=this.retrieve(t,!0);return null===(s=this.Oa)||void 0===s||s.setValue(dr,t.sessionId,""),u},t.prototype.store=function(t){return this.Pa(t)},t.prototype.Pa=function(t){var n,i="";try{return i=Ot(t),localStorage.setItem($h(t,++this.wa),i),this.Ta+=i.length,!0}catch(t){return this.Ka=!0,null===(n=this.ot.queue())||void 0===n||n.enqueue(Wh("dwellStorageError",this.Ua(i.length,t))),!1}},t.prototype.retrieve=function(t,n){void 0===n&&(n=!1);for(var i=0,r=[];;){var e=qh($h(t,++i)),s=this.La(e,n);if(s&&r.push(s),!e)break}return this.wa=0,r},t.prototype.La=function(t,n){void 0===n&&(n=!1);try{if(t&&this.Ra&&this.Ra.orgId===t.orgId&&this.Ra.userId===t.userId&&this.Ra.sessionId===t.sessionId&&(n||this.Ra.pageId===t.pageId))return t}catch(t){}},t.prototype.getState=function(){return this.Na()?this.wa>0?Xi.ShouldFlush:Xi.Inactive:Xi.Pending},t.prototype.Na=function(){var t,n;if(this.ja||!(null===(t=this.Ra)||void 0===t?void 0:t.isNewSession)||0===this.xa||this.Ka)return!0;if(this.ot.time.now()-this.Ma>this.xa)return!0;var i=null===(n=this.Oa)||void 0===n?void 0:n.getValue(dr);return((null==i?void 0:i.cookieValue)||(null==i?void 0:i.localStorageValue))===this.Ra.sessionId&&(this.ja=!0,!0)},t.prototype.Ua=function(t,n){return{elapsed:this.ot.time.now()-this.Ma,stored:this.wa,currentSize:t,totalSize:this.Ta,message:null==n?void 0:n.message}},t}();function qh(t){try{var n=localStorage.getItem(t);if(n)return localStorage.removeItem(t),Pt(n)}catch(t){}}function $h(t,n){return"".concat("_fs_bundle",":").concat(t.orgId,":").concat(n)}var Vh=function(){function t(t,n,i,r,e,s){void 0===r&&(r=Io),void 0===e&&(e=Eo),void 0===s&&(s=new zh(t,n)),this.ot=t,this.Jo=n,this._o=i,this.Uo=r,this.Da=s,this.Ba=!1,this.Fa=0,this.Ha=0,this.Wa=0,this.za=!1,this.qa=0,this.$a=[],this.Va=Gt(),this.et=t.options.scheme,this.Ga=t.time.wallTime(),this.Xa=new jh(t,this.Jo,e),this.Qa=new Bh(this.ot)}return t.prototype.setPageData=function(t){this.Qa.addEndMarkerEvent(t)},t.prototype.onShutdown=function(t){this.Ya=t},t.prototype.scheme=function(){return this.et},t.prototype.enqueueEvents=function(t,n){for(var i=0,r=n;i<r.length;i++){var e=r[i];this.Qa.add(e)}},t.prototype.Ja=function(){return this.ot.recording.bundleUploadInterval()},t.prototype.initUploadTicker=function(){this.Va=Gt(),this.Za=new this.Uo(this.Ja())},t.prototype.startPipeline=function(t){var n,i=this;this.Du=t.orgId,this.$u=t.userId,this.Vu=t.sessionId,this.Gu=t.pageId,this.Yu=t.serverPageStart,this.za=t.isNewSession,this.Qa.init();var r=this.Da.init(t);r.length>0&&this.tc(r),Yr(this.Ja()/2).then(function(){return i.nc()}),this.Za||this.initUploadTicker(),null===(n=this.Za)||void 0===n||n.start(function(){i.ot.recording.flags().UseMinNetworkBudget&&Gt()-i.Va>=2e4&&(i.Va=Gt(),i.ic({bypassMinBudget:!0})),i.nc()})},t.prototype.stopPipeline=function(){this.Za&&this.Za.stop();var t=this.Qa;this.Qa=new Bh(this.ot),t.persistEndMarkerEventsTo(this.Qa),this.$a=[],this.Du=void 0,this.$u=void 0,this.Vu=void 0,this.Gu=void 0,this.Yu=void 0,this.za=!1},t.prototype.flush=function(){return r(this,void 0,Xr,function(){return e(this,function(t){switch(t.label){case 0:return this.ic({flush:!0}),[4,this.rc()];case 1:return t.sent(),[2]}})})},t.prototype.singSwanSong=function(){if(this.ic({flush:!0}),this.ec(this.sc))this.sc&&Hs(!this.sc,"_pendingBundle in dwell period");else{var t=[];this.sc&&t.push(this.sc);for(var n=0,r=this.$a;n<r.length;n++){var e=r[n];t.push(e)}var s=this.oc(t);if(s){this.Xa.store(s);for(var o=0,u=t;o<u.length&&(e=u[o],this.Jo.bundleBeacon(i(i({},s),{bundle:e,deltaT:null})));o++);}}},t.prototype.oc=function(t){if(t.length){if(this.Du&&this.$u&&this.Vu&&this.Gu&&void 0!==this.Yu)return{bundles:t,isNewSession:this.za,lastBundleTime:this.Ga,orgId:this.Du,pageId:this.Gu,serverBundleTime:this.qa,serverPageStart:this.Yu,sessionId:this.Vu,userId:this.$u,version:this.ot.recording.bundleApiVersion()};"unable to build stored bundle. one or more of orgId:".concat(this.Du," | userId:").concat(this.$u," | sessionId:").concat(this.Vu," | pageId:").concat(this.Gu," | serverPageStart:").concat(this.Yu," are undefined")}},t.prototype.uc=function(){var t;if(this.Du&&this.$u&&this.Vu){for(var n=[],i=0,r=this.Da.retrieve({orgId:this.Du});i<r.length;i++){var e=r[i];n.push.apply(n,e.bundles)}(t=this.$a).unshift.apply(t,n)}},t.prototype.ec=function(t){switch(this.Da.getState()){case Xi.Pending:var n=t?s([t],this.$a,!0):this.$a,i=this.oc(n);if(!i)return!1;var r=this.Da.store(i);return r?this.$a=[]:this.uc(),r;case Xi.ShouldFlush:return this.uc(),!1;case Xi.Inactive:default:return!1}},t.prototype.nc=function(){return r(this,void 0,Xr,function(){return e(this,function(t){switch(t.label){case 0:return this.sc?(this.Ba&&this.ac(),[2]):(this.ic(),[4,this.rc()]);case 1:return t.sent(),[2]}})})},t.prototype.ic=function(t){void 0===t&&(t={});var n=this.Qa.nextBundle(t);n&&this.$a.push(n)},t.prototype.rc=function(){return r(this,void 0,Xr,function(){return e(this,function(t){switch(t.label){case 0:return this.Gu&&this.Yu&&!this.sc&&0!=this.$a.length?this.ec()?[2]:(this.sc=this.$a.shift(),[4,this.ac()]):[2];case 1:return t.sent(),[2]}})})},t.prototype.ac=function(){return r(this,void 0,Xr,function(){var t,n,i,r;return e(this,function(e){switch(e.label){case 0:if((t=this.ot.time.wallTime())<this.Ha)return[2];if(!(n=this.sc))return[2];this.Ba=!1,this.Wa=this.Ga=t,e.label=1;case 1:return e.trys.push([1,5,,6]),[4,this.cc(n)];case 2:return(i=e.sent())?(this.qa=i.BundleTime,this.sc=void 0,this.Ha=0,this.Fa=0,this.ot.time.wallTime()-this.Wa>this.Ja()?[4,this.rc()]:[3,4]):[2];case 3:e.sent(),e.label=4;case 4:return[3,6];case 5:if((r=e.sent())instanceof Xn){if(Qn(r.status))return 206===r.status||r.status>=500&&Ds.send("Failed to send bundle, recording outage likely","error"),this.Ya&&this.Ya(),[2]}else Ds.send("Failed to send bundle, unknown err","error",{err:r});return this.Ba=!0,this.Ha=this.Wa+this.Jo.exponentialBackoffMs(this.Fa++,!1),[3,6];case 6:return[2]}})})},t.prototype.cc=function(t){var n;return r(this,void 0,Xr,function(){var i,r,s,o,u;return e(this,function(e){switch(e.label){case 0:return this.Du&&this.$u&&this.Vu&&this.Gu?(window,i=this._o.getMsSinceLastUserActivity(),[4,this.Jo.bundle({bundle:t,deltaT:null,isNewSession:this.za,lastUserActivity:i,orgId:this.Du,pageId:this.Gu,serverBundleTime:this.qa,serverPageStart:this.Yu,sessionId:this.Vu,userId:this.$u,version:this.ot.recording.bundleApiVersion()})]):("unable to send bundle. one or more of orgId:".concat(this.Du," | userId:").concat(this.$u," | sessionId:").concat(this.Vu," | pageId:").concat(this.Gu," are undefined"),[2]);case 1:return r=e.sent(),s=r[0],o=r[1],null===(n=this.ot.recording.observer)||void 0===n||n.addEvent({type:_h.INTERNAL_BUNDLE,data:{size:s}}),u=t[0],s>16e6&&u>=16&&("splitting large page: ".concat(s),this.ot.recording.splitPage(si.Size)),window,[2,o]}})})},t.prototype.tc=function(t){var n=this,i=t.reduce(function(t,i){return t.push.apply(t,i.bundles.map(function(t){return{bundle:t,isNewSession:i.isNewSession,orgId:n.Du,userId:n.$u,sessionId:n.Vu,pageId:i.pageId,version:i.version,serverBundleTime:i.serverBundleTime,serverPageStart:i.serverPageStart,deltaT:null}})),t},[]);return Kh(this.Jo,i,t[0].serverPageStart,function(t){return t})},t}(),Gh="_fs_preview",Xh=new RegExp("(^\\?|&)".concat(Gh,"=(?:true|false)(&|$)")),Qh=function(){function t(t,n,i){this.Ii=n,this.Oa=i,this.hc="fs_preview_".concat(t)}return t.prototype.isPreviewMode=function(){return this.fc()||this.vc()},t.prototype.clear=function(){this.Oa.setValue(this.hc,"",new Date(1970,1,1).toUTCString())},t.prototype.write=function(){var t=this.fc(),n=this.lc();(t||n)&&(t?this.Oa.setValue(this.hc,"true",new Date(Gt()+432e5).toUTCString()):this.clear(),this.dc())},t.prototype.dc=function(){if(this.Ii.history){var t=location.search.replace(Xh,function(t,n,i){return i?n:""});this.Ii.history.replaceState({},"",this.Ii.location.href.replace(location.search,t))}},t.prototype.fc=function(){return this.Ii.document.location.search.indexOf("".concat(Gh,"=true"))>-1},t.prototype.lc=function(){return this.Ii.document.location.search.indexOf("".concat(Gh,"=false"))>-1},t.prototype.vc=function(){var t=this.Oa.getValue(this.hc),n=t.cookieValue,i=t.localStorageValue;return!(!n&&!i)},t}();function Yh(t){var n,i,r;return{Kind:Ln.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 Jh(t){return r(this,void 0,Xr,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<i.length;s++)r.push(function(t,n,i){for(var r=t;r.length<2;)r="".concat("0").concat(r);return r}(i[s].toString(16)));return[2,["".concat(r[0]).concat(r[1]).concat(r[2]).concat(r[3]),"".concat(r[4]).concat(r[5]),"".concat(r[6]).concat(r[7]),"".concat(r[8]).concat(r[9]),"".concat(r[10]).concat(r[11]).concat(r[12]).concat(r[13]).concat(r[14]).concat(r[15])].join("-")]})})}var Zh=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function tf(t){return 36===t.length&&Zh.test(t)}var nf=void 0,rf=18e5,ef=function(){function t(t,n,i,r){void 0===r&&(r=Eo),this.ot=t,this._o=n,this.wc=i,this.gc=0,this.mc=new r(this.yc.bind(this))}return t.prototype.createUserSessionPage=function(){var t;return r(this,void 0,Xr,function(){var n,i,r,s,o,u,a,c;return e(this,function(e){switch(e.label){case 0:return n=this.bc(),i=n[0],r=n[1],s=i===nf,o=this.ot.time.wallTime(),s?[4,this.Sc()]:[3,3];case 1:return u=e.sent(),[4,Jh(this.ot.window)];case 2:return a=e.sent(),this.wc.create({userId:u,sessionId:a,sessionStartTime:o,lastUserActivityTime:o,pageCount:1}),[3,4];case 3:this.wc.setLastUserActivityTimeMS(o),this.wc.setPageCount((null!==(t=this.wc.getPageCount())&&void 0!==t?t:0)+1),e.label=4;case 4:return[4,Jh(this.ot.window)];case 5:return c=e.sent(),[2,{userId:this.wc.getUserId(),sessionId:this.wc.getSessionId(),pageId:c,isNewSession:s,reason:r}]}})})},t.prototype.bc=function(){var t,n,i,r=this.wc.getUserId();if(!r||!tf(r))return[nf,"uid ".concat(r)];var e=this.wc.getSessionId();if(!e||!tf(e))return[nf,"sid ".concat(e)];var s=this.ot.time.wallTime(),o=null!==(t=this.wc.getSessionStartTimeMS())&&void 0!==t?t:0,u=T.mathAbs(s-o);if(0===o||u>=864e5)return[nf,"exp sid: ".concat(o,"ms ").concat(u,"ms")];var a=null!==(n=this.wc.getLastUserActivityTimeMS())&&void 0!==n?n:o,c=T.mathMax(a,o),h=T.mathAbs(s-c);if(h>=rf)return[nf,"exp lua: ".concat(a,"ms ").concat(h,"ms")];var f=null!==(i=this.wc.getPageCount())&&void 0!==i?i:0;return f>=250?[nf,"pages: ".concat(f)]:[e]},t.prototype.start=function(){this.mc.start(3e5)},t.prototype.stop=function(){this.mc.stop()},t.prototype.Sc=function(){return r(this,void 0,Xr,function(){var t;return e(this,function(n){return(t=this.wc.getUserId())&&tf(t)?[2,t]:[2,Jh(this.ot.window)]})})},t.prototype.yc=function(){var t=this._o.getLastUserActivityTS();t!==this.gc&&(this.gc=t,this.wc.setLastUserActivityTimeMS(t)),this.start()},t}(),sf=function(t){function s(n,i,r,e,s,o){void 0===r&&(r=new Pc(n)),void 0===e&&(e=new Vh(n,i,r)),void 0===s&&(s=Io),void 0===o&&(o=vh);var u,a=t.call(this,n,s,r,e,o)||this;a.Jo=i,a.Ro=e,a.kc=!1,a.Bo=!1,a.Ac=!1,e.onShutdown(function(){return a.shutdown(si.SettingsBlocked)}),a.t=a.Ii.document,a.Lo=0,a._c=n.recording.identity,a.Ic=new Qh(a.Du,a.Ii,a._c.getClientStore()),a.Ku=dh.NoInfoYet,a.Ec=new ef(n,r,a._c),u=function(t){if(a.Pu.stop(si.Api),t){var n=a.t.getElementById(t);n&&a.Cc&&n.setAttribute("_fs_embed_token",a.Cc)}},a.Ii._fs_shutdown=u;var c=a.Ic.isPreviewMode();return a.Tc=a.Jo.settings({orgId:a.Du,previewMode:c})["catch"](function(){}),a}return n(s,t),s.prototype.onDomLoad=function(){var n=this;t.prototype.onDomLoad.call(this),this.kc=!0,this.xc(function(){n.Xu(n.Bo)})},s.prototype.Kc=function(){var t=bn(this.Ii,"_fs_replay_flags");if(/[?&]_fs_force_session=true(&|#|$)/.test(location.search)&&(t="".concat(t,",forceSession"),this.Ii.history)){var n=location.search.replace(/(^\?|&)_fs_force_session=true(&|$)/,function(t,n,i){return i?n:""});this.Ii.history.replaceState({},"",this.Ii.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,Xr,function(){var r,f,v,l,d,p,w,g,m,y,b,S,k,A,_,I,E,C,T,x,K,j,M,O;return e(this,function(e){switch(e.label){case 0:return t.prototype.start.call(this,n,i,s),[4,this.Tc];case 1:if(!(r=e.sent()))return this.jc(),[2];as(null!==(o=r.OrgSettings.UrlPrivacyConfig)&&void 0!==o?o:qi.DefaultOrgSettings.UrlPrivacyConfig,r.OrgSettings.MaxUrlLength),f=this.Kc(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,Xr.race([ce(this.Ii),Yr(250)])];case 3:case 4:return e.sent(),[3,5];case 5:v=Zs(this.t),l=v[0],d=v[1],R=this.Ii,P=0,U=0,p=null==R.screen?[P,U]:(P=parseInt(String(R.screen.width),10),U=parseInt(String(R.screen.height),10),[P=isNaN(P)?0:P,U=isNaN(U)?0:U]),w=p[0],g=p[1],m="",n||(m=this._c.getUserId()),y=this._c.getAppId(),b=this._c.getAppKeyHash(),S=this.Ic.isPreviewMode(),k=null!==(c=null===(a=null===(u=this.ot)||void 0===u?void 0:u.recording)||void 0===a?void 0:a.preroll)&&void 0!==c?c:-1,A=rs(_e(this.Ii),{source:"page",type:"base"}),_=rs(this.Ii.location.href,{source:"page",type:"url"}),I=""===this.t.referrer?"":rs(this.t.referrer,{source:"page",type:"referrer"}),E=Rt(this.t),C=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.Ii),T={OrgId:this.Du,UserId:m,Url:_,Base:A,Width:l,Height:d,ScreenWidth:w,ScreenHeight:g,SnippetVersion:On(this.Ii),Referrer:I,Preroll:k,Doctype:E,CompiledVersion:"8f0997a03aeaf4f9ad2804f98a28e84048db3174",CompiledTimestamp:1713852872,AppId:y,TabId:C,PreviewMode:S||void 0},f&&(T.ReplayFlags=f),e.label=6;case 6:return e.trys.push([6,12,,13]),[4,this.Jo.page(T)];case 7:return x=e.sent(),S||!x.PreviewMode?[3,9]:[4,this.Jo.settings({orgId:this.Du,previewMode:!0})["catch"](function(){})];case 8:if(!(r=e.sent()))return this.jc(),[2];as(null!==(h=r.OrgSettings.UrlPrivacyConfig)&&void 0!==h?h:qi.DefaultOrgSettings.UrlPrivacyConfig,r.OrgSettings.MaxUrlLength),e.label=9;case 9:return[4,this.Mc(x,r)];case 10:return Ch(O=e.sent())?this.Ou?[2]:(window,K=this._c.getConsentStore().getConsentState(),this.Qu(O,K),window,this.Oc(O.CookieDomain,O.UserIntId,O.SessionIntId,O.PageIntId,O.EmbedToken),this.Rc(),O.PreviewMode&&this.Pc(),j=function(t){return bn(t,"_fs_pagestart","function")}(this.Ii),j&&j(),this.Ft.enqueueFirst(Yh({type:"default"})),this.Ft.enqueueFirst(this.Pu.getNavigateEvent(this.Ii.location.href,Ln.ENTRY_NAVIGATE)),this.Ft.enqueueFirst({Kind:Ln.SYS_REPORTCONSENT,Args:[K,ri.Document]}),this.Ft.enqueueFirst({Kind:Ln.SET_FRAME_BASE,Args:[rs(_e(this.Ii),{source:"event",type:Ln.SET_FRAME_BASE}),E,_,I]}),this.Ro.setPageData({Kind:Ln.PAGE_DATA,Args:[_,A,l,d,w,g,On(this.Ii),I,E,k,m,O.PageStart,Ft(this.Ii),this.Ii.navigator.userAgent,C,!!O.IsNewSession,!!O.PreviewMode,y,b,1713852872,"8f0997a03aeaf4f9ad2804f98a28e84048db3174"]}),O.Flags.DisableInertBundles&&(Bh.forceFlush=!0),this.Ft.enqueue({Kind:Ln.SCRIPT_COMPILED_VERSION,Args:["8f0997a03aeaf4f9ad2804f98a28e84048db3174"]}),this.Ft.enqueue({Kind:Ln.RESIZE_LAYOUT,Args:[l,d]}),this.Pu.addVisibilityChangeEvent(),this.ra(),[4,this.Ft.startPipeline({isNewSession:!!O.IsNewSession,orgId:this.Du,pageId:O.PageIntId,serverPageStart:O.PageStart,sessionId:O.SessionIntId,userId:O.UserIntId,minDwellTime:O.Flags.UseDwellTime&&O.DwellTime||0})]):[2,this.jc()];case 11:return e.sent(),this.aa(this.t),this.Zu(),[3,13];case 12:return(M=e.sent())instanceof Xn&&(O=M.data)&&O.user_id&&O.cookie_domain&&O.reason_code===Pi.ReasonBlockedTrafficRamping&&m!==O.user_id&&this.Oc(O.cookie_domain,O.user_id,"","",""),this.jc(),[3,13];case 13:return[2]}var R,P,U})})},s.prototype.Rc=function(){var t=this;this.Ac=!0,this.xc(function(){t.Xu(t.Bo)})},s.prototype.Oc=function(t,n,i,r,e){var s=this._c;s.setIds(this.Ii,t,n,i),this.Cc=e,this.Ic.write(),"/User,".concat(s.getUserId(),"/Session,").concat(s.getSessionId(),"/Page,").concat(r)},s.prototype.xc=function(t){var n,i,r;if(this.kc&&this.Ac)if(null===(i=null===(n=this.Bu)||void 0===n?void 0:n.Flags)||void 0===i?void 0:i.FetchIntegrations){"string"!=typeof bn(r=this.ot.window,"_fs_rec_settings_host")&&(r._fs_rec_settings_host=wn(Rn(r)));var e=this.t.createElement("script");e.addEventListener("load",t),e.addEventListener("error",t),e.async=!0,e.src="".concat(this.et,"//").concat(this.Lu,"/rec/integrations?OrgId=").concat(this.Du),this.t.head.appendChild(e)}else t()},s.prototype.Pc=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="".concat(this.et,"//").concat(this.Nu,"/s/fspreview.js"),this.t.head.appendChild(n)}},s.prototype.jc=function(){this.ta(),this.shutdown(si.SettingsBlocked),this.Bo=!0,this.Xu(this.Bo)},s.prototype.Mc=function(t,n){var s;return r(this,void 0,Xr,function(){var r,o,u;return e(this,function(e){switch(e.label){case 0:return(r=i(i({},t),n)).Flags.UseClientSideId?(this._c.setCookieDomain(this.Ii,r.CookieDomain),tf(o=null!==(s=r.UserUUID)&&void 0!==s?s:"")&&this._c.setUserId(o),[4,this.Ec.createUserSessionPage()]):[3,2];case 1:u=e.sent(),this.Ec.start(),r=i(i({},r),{UserIntId:u.userId,SessionIntId:u.sessionId,PageIntId:u.pageId,IsNewSession:u.isNewSession,PageStart:Gt()}),u.reason&&this.Ft.enqueue({Kind:Ln.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.Ii&&i[0]===rr.EndPreviewMode&&this.Ic.clear()},s}(Eh),of=function(){function t(t,n){void 0===n&&(n=new uf(t)),this.Ii=t,this.Uc=n}return t.prototype.enqueueEvents=function(t,n){var i=null!=t?t:void 0;this.Uc.postMessage(this.Ii.parent,[rr.EvtBundle,Ph(n),i],i)},t.prototype.startPipeline=function(){},t.prototype.stopPipeline=function(){},t.prototype.flush=function(){return r(this,void 0,Xr,function(){return e(this,function(t){return[2]})})},t.prototype.singSwanSong=function(){},t.prototype.onShutdown=function(t){},t.prototype.setPageData=function(t){},t}(),uf=function(){function t(t){this.Ii=t}return t.prototype.postMessage=function(t,n,i){switch(n[0]){case rr.EvtBundle:ah(this.Ii,n[0],Ot(n[1]),i)||oh(t,n);break;case rr.RequestFrameId:ah(this.Ii,n[0],"[]",i)||oh(t,n);break;default:"Unknown message type: ".concat(n[0])}},t}(),af=function(t){function i(n,i,r,e,s){void 0===i&&(i=new uf(n.window)),void 0===r&&(r=new of(n.window,i)),void 0===e&&(e=Io),void 0===s&&(s=vh);var o=t.call(this,n,e,void 0,r,s)||this;return o.Uc=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.Lc(),this.ht.add(this.Ii,"load",!1,function(){e.Pu.recordingIsDetached()&&e.ot.recording.splitPage(si.FsShutdownFrame)}),this.Pu.addVisibilityChangeEvent()},i.prototype.onMessageReceived=function(n,i){var s;return r(this,void 0,Xr,function(){var r,o,u,a,c,h,f;return e(this,function(e){switch(e.label){case 0:if(t.prototype.onMessageReceived.call(this,n,i),n!==this.Ii.parent&&n!==this.Ii)return[2];switch(i[0]){case rr.GreetFrame:return[3,1];case rr.SetFrameId:return[3,2];case rr.SetConsent:return[3,3];case rr.InitFrameMobile:return[3,4]}return[3,7];case 1:return this.Lc(i[1]),[3,7];case 2:try{if(!(r=i[1]))return o=rs(location.href,{source:"log",type:"debug"}),"Outer page gave us a bogus frame Id! Iframe: ".concat(o),[2];this.Nc({frameId:r,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){"Failed to parse frameId from message: ".concat(Ot(i))}return[3,7];case 3:return this.setConsent(i[1]),[3,7];case 4:return e.trys.push([4,6,,7]),u=JSON.parse(i[1]),a=u.StartTime,c=void 0,i.length>2&&i[2]&&(h=i[2],Object.prototype.hasOwnProperty.call(h,"ProtocolVersion")&&h.ProtocolVersion>=20180723&&Object.prototype.hasOwnProperty.call(h,"OuterStartTime")&&(a=h.OuterStartTime),Object.prototype.hasOwnProperty.call(h,"MobileScriptPath")&&(c=h.MobileScriptPath)),f=u.Host,[4,this.Nc({frameId:0,parentIds:[],outerStartTime:a,scheme:"https:",script:null!=c?c:Un(f),appHost:Pn(f),orgId:u.OrgId,initConfig:void 0,pageRsp:u.PageResponse,consented:null!==(s=this.Dn.getConsent())&&void 0!==s?s:ni.RevokeConsent})];case 5:return e.sent(),[3,7];case 6:return e.sent(),"Failed to initialize mobile web recording from message: ".concat(Ot(i)),[3,7];case 7:return[2]}})})},i.prototype.Lc=function(t){this.Lo&&this.Lo===t||0!=this.Lo&&this.Ii.parent&&this.Uc.postMessage(this.Ii.parent,[rr.RequestFrameId])},i.prototype.Nc=function(t){var n;return r(this,void 0,Xr,function(){var i,r,s=this;return e(this,function(e){switch(e.label){case 0:if(this.Lo)return this.Lo!==t.frameId?("Updating frame id from ".concat(this.Lo," to ").concat(t.frameId),this.ot.recording.splitPage(si.FsShutdownFrame)):"frame Id is already set to ".concat(this.Lo),[2];if(i=rs(location.href,{source:"log",type:"debug"}),"FrameId received within frame ".concat(i,":").concat(t.frameId),this.et=t.scheme,this.Uu=t.script,this.Nu=t.appHost,this.Du=t.orgId,this.Fu=t.initConfig,this.Lo=t.frameId,this.No=t.parentIds,!t.pageRsp||!Ch(t.pageRsp))return this.shutdown(si.FsShutdownFrame),[2];if(this.Ou)return[2];r=t.consented,this.Qu(t.pageRsp,r),this.Xu(),this.Ft.enqueueFirst(Yh({type:"default"})),this.Ft.enqueueFirst({Kind:Ln.SYS_REPORTCONSENT,Args:[r,ri.Document]}),this.Ft.enqueueFirst({Kind:Ln.SET_FRAME_BASE,Args:[rs(_e(this.Ii),{source:"event",type:Ln.SET_FRAME_BASE}),Rt(this.Ii.document)]}),this.Ft.enqueue({Kind:Ln.SCRIPT_COMPILED_VERSION,Args:["8f0997a03aeaf4f9ad2804f98a28e84048db3174"]}),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,Xr.race([ce(this.Ii),Yr(250)])];case 2:case 3:return e.sent(),[3,4];case 4:return this.Ft.enqueue({Kind:Ln.RESIZE_LAYOUT,Args:Zs(this.Ii.document)}),this.ra(),this.Ft.rebaseIframe(t.outerStartTime,null!==(n=t.minimumWhen)&&void 0!==n?n:0),this.ot.time.setStartTime(t.outerStartTime),this.$u&&this.Vu&&this.Gu?(this.Ft.startPipeline({frameId:t.frameId,isNewSession:!!t.pageRsp.IsNewSession,orgId:this.Du,pageId:t.pageRsp.PageIntId,parentIds:t.parentIds,serverPageStart:t.pageRsp.PageStart,sessionId:t.pageRsp.SessionIntId,userId:t.pageRsp.UserIntId,minDwellTime:0}).then(function(){s.na(),s.aa(s.Ii.document),s.Zu()}),[2]):("one or more of userId:".concat(this.$u," | sessionId:").concat(this.Vu," | pageId:").concat(this.Gu," are undefined"),[2])}})})},i}(Eh),cf="fs_cid",hf=1,ff=function(){function t(t){this.wc=t;var n=this.wc.getValue(cf,ur),i=n.cookieValue,r=n.localStorageValue,e=i||r;this.Dc=function(t){var n={consent:ni.RevokeConsent};if(!t)return n;var i=t.split(".");return i.length<1?n:(i[0],"1"===i[1]?{consent:ni.GrantConsent}:n)}(e)}return t.prototype.getConsentState=function(){return this.Dc.consent},t.prototype.setConsentState=function(t){var n;this.Dc.consent=t,t!==ni.RevokeConsent?this.wc.setValue(cf,(n=this.Dc.consent,[hf,n===ni.GrantConsent?1:0].join(".")),new Date(1e3*Zt()).toUTCString(),ur):this.wc.clearCookie(cf,ur)},t}(),vf="fs_lua",lf=1,df=function(){function t(t){this.wc=t;var n=this.wc.getValue(vf,ar),i=n.cookieValue,r=n.localStorageValue;this.Dc=function(t,n){var i;return null!==(i=a(t,n,pf,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.Dc.lastUserActivityTime},t.prototype.setLastUserActivityTimeMS=function(t){this.Dc.lastUserActivityTime=t,this.wc.setValue(vf,function(t){return[lf,t].join(".")}(t),new Date(Gt()+rf).toUTCString(),ar)},t}();function pf(t){var n={lastUserActivityTime:void 0};if(!t)return n;var i=t.split(".");return i.length<1?n:(i[0],{lastUserActivityTime:yt(i[1])})}var wf,gf,mf="fs_uid",yf=function(){function t(t,n,i,r){if(void 0===n&&(n=window),void 0===i&&(i=function(){}),void 0===r&&(r=!1),this.Bc=void 0,xn(n))this.Oa=new Sh;else{var e=bn(n,"_fs_clientstore","object");this.Oa=null!=e?e:new o(n.document,i,r)}this.Fc=new ff(this.Oa),this.Hc=new df(this.Oa),this.Dc=this.Wc(t)}return t.prototype.Wc=function(t){var n=this.Oa.getValue(mf,or),i=function(t,n,i){return a(t,n,tn,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:Zt(),orgId:t,userId:"",sessionId:"",appKeyHash:""}},t.prototype.getConsentStore=function(){return this.Fc},t.prototype.clear=function(){this.Hc.setLastUserActivityTimeMS(void 0),this.Dc.sessionStartTime=this.Dc.pageCount=void 0,this.Dc.userId=this.Dc.sessionId=this.Dc.appKeyHash=this.Bc="",this.Dc.expirationAbsTimeSeconds=Zt(),this.zc()},t.prototype.create=function(t){this.Hc.setLastUserActivityTimeMS(t.lastUserActivityTime),this.Dc=i(i({},this.Dc),t),this.zc()},t.prototype.getOrgId=function(){return this.Dc.orgId},t.prototype.getUserId=function(){return this.Dc.userId},t.prototype.setUserId=function(t){this.Dc.userId=t,this.zc()},t.prototype.getSessionId=function(){return this.Dc.sessionId},t.prototype.getAppKeyHash=function(){return this.Dc.appKeyHash},t.prototype.getCookies=function(){return this.Oa.cookies},t.prototype.setAppId=function(t){this.Bc=t,this.Dc.appKeyHash=Dc(t),this.zc()},t.prototype.getAppId=function(){return this.Bc},t.prototype.setSessionStartTimeMS=function(t){this.Dc.sessionStartTime=t,this.zc()},t.prototype.getSessionStartTimeMS=function(){return this.Dc.sessionStartTime},t.prototype.setLastUserActivityTimeMS=function(t){this.Hc.setLastUserActivityTimeMS(t)},t.prototype.getLastUserActivityTimeMS=function(){return this.Hc.getLastUserActivityTimeMS()},t.prototype.setPageCount=function(t){this.Dc.pageCount=t,this.zc()},t.prototype.getPageCount=function(){return this.Dc.pageCount},t.prototype.getClientStore=function(){return this.Oa},t.prototype.setCookie=function(t,n,i){void 0===i&&(i=new Date(Gt()+6048e5).toUTCString()),this.Oa.setCookie(t,n,i)},t.prototype.setCookieDomain=function(t,n){var i=n;(dn(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 bn(t,"_fs_cookie_domain")}(t);"string"==typeof r&&(i=r),this.Oa.setDomain(i)},t.prototype.setIds=function(t,n,i,r){this.setCookieDomain(t,n),this.Dc.userId=i,this.Dc.sessionId=r,this.zc()},t.prototype.clearAppId=function(){return!!this.Dc.appKeyHash&&(this.Bc="",this.Dc.appKeyHash="",this.zc(),!0)},t.prototype.encode=function(){var t,n,i,r=[this.Dc.userId,null!==(t=this.Dc.sessionId)&&void 0!==t?t:"","".concat(null!==(n=this.Dc.sessionStartTime)&&void 0!==n?n:""),"","".concat(null!==(i=this.Dc.pageCount)&&void 0!==i?i:"")].join(":"),e=["",this.Dc.orgId,r];return this.Dc.appKeyHash&&e.push(encodeURIComponent(this.Dc.appKeyHash)),e.push("/".concat(this.Dc.expirationAbsTimeSeconds)),e.join("#")},t.prototype.zc=function(){this.Dc.expirationAbsTimeSeconds++;var t=this.encode(),n=new Date(1e3*this.Dc.expirationAbsTimeSeconds).toUTCString();this.Oa.setValue(mf,t,n,or)},t}();function bf(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}}function Sf(t,n){var i,r,e={},s={};for(var o in n)if(T.objectHasOwnProp(n,o)){if(t()<=0)break;var u=n[o];if(void 0!==u){var a=kf(o),c=a[0],h=a[1],f=u,v=h;if(St(u))f=(i=Sf(t,u))[0],v=i[1];else if(wt(r=u)&&r.length>0&&r.every(St)){f=[],v=[];for(var l=0,d=u;l<d.length;l++){var p=Sf(t,d[l]),w=p[0],g=p[1];f.push(w),v.push(g)}}else"date"===h||Ef(u)?f=If(u):wt(u)&&("dates"===h||u.every(Ef))&&(f=u.map(If));e[c]=f,v&&(s[c]=v)}}return[e,s]}function kf(t){var n=function(t){return /^[a-zA-Z][a-zA-Z0-9_]*$/.test(t)?t:t.replace(/^[^a-zA-Z_]+|[^a-zA-Z0-9_]/g,"")||t}(t),i=n.lastIndexOf("_");if(-1===i)return[n,null];var r,e=n.substring(0,i),s=n.substring(i+1);return r=s,_f.test(r)?[e,s]:[n,null]}(gf=wf||(wf={})).TrackEvent="trackEvent",gf.GetSession="getSession",gf.Init="init",gf.Log="log",gf.Source="source",gf.Observe="observe",gf.Restart="restart",gf.SetIdentity="setIdentity",gf.SetConfig="setConfig",gf.SetPage="setPage",gf.SetProperties="setProperties",gf.Shutdown="shutdown",gf.Start="start",gf.Stat="stat";var Af,_f=/^(?:bool|date|int|obj|real|str)s?$/;function If(t){if(null!=t){var n=Ef(t)?t:new Date(t);try{return n.toISOString()}catch(n){if("string"==typeof t)return t}}return null}function Ef(t){return null!=t&&t.constructor===Date}function Cf(t,n,i,r,e,s){var o,u,a,c,h=1500,f=function(){return--h};return i?(a=(o=Tf(f,n,i))[0],c=o[1]):(a=(u=Sf(f,n))[0],c=u[1]),h<0&&"Too many properties for [".concat(t,"] API call"),t===Si.Document?{properties:bf(a,r,e,c,s),schema:c}:{properties:a,schema:c}}function Tf(t,n,i){var r={},e={};function s(t,n,i){r[t]=n,i&&(e[t]=i)}for(var o in n)if(T.objectHasOwnProp(n,o)){if(t()<=0)break;var u=n[o],a=i[o];if(St(u)){var c=Tf(t,u,a||{}),h=c[0],f=c[1];r[o]=h,a&&(e[o]=f)}else At(u)?s(o,kt(u),a):wt(u)&>(u,At)?s(o,u.map(kt),a):s(o,u,a)}return[r,e]}function xf(t,n,i,r,e,s){var o=Ot(n),u=r?Ot(r):void 0,a="fs"!==i?i:void 0;switch(t){case Si.Event:return{Kind:Ln.SYS_CUSTOM,Args:[s,o,a,e,u]};case Si.Document:case Si.Page:case Si.User:return{Kind:Ln.SYS_SETVAR,Args:[t,o,a,e,u]};default:he(0,"Unsupported")}}var Kf=function(){function t(){this.qc={}}return t.prototype.unloadCrossPageVars=function(t){switch(t){case si.Hibernation:case si.Size:break;default:this.$c=void 0}},t.prototype.getCrossPageVars=function(){return this.$c},t.prototype.getDocumentVars=function(){var t,n={};for(var r in this.qc){var e=this.qc[r],s=e.value,o=e.apiSource,u=e.schema,a=e.apiVersion;(l=null!==(t=n[h="".concat(null!=o?o:"").concat("$$$").concat(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];jf(c,xf(Si.Document,l.properties,""===o?void 0:o,l.schema,yt(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 wf.TrackEvent:return Si.Event;case wf.SetPage:return Si.Page;case wf.SetProperties:var n=t.option.type;switch(n){case Si.Document:case Si.Page:case Si.User:return n;default:return he(0,"Invalid scope: ".concat(n))}default:he(0,"Unsupported")}}(t),o=null===(i=t.source)||void 0===i?void 0:i.integration;if(!function(t,n){switch(t){case Si.Event:var i=n.option.name;return"string"==typeof i||("Custom event name invalid: ".concat(i),!1);case Si.Document:case Si.Page:return!0;case Si.User:var r=n.option.properties;return"object"==typeof r||("Expected argument of type 'object' instead got type: '".concat(typeof r,"', value: ").concat(Ot(r)),!1);default:he(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=bt(i)&&"properties"in i?i.properties:{};return bt(r)?r:{}}}(0,n);if(t===Si.Event)return{rawProps:r,eventName:n.option.name,rawSchema:e};if(t!==Si.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&&("Expected appId of type 'string' instead got value: ".concat(i," of type: ").concat(typeof i),i="".concat(i)),"string"!=typeof i)return"blocking FS.identify API call; uid value (".concat(i,") must be a string"),[void 0,Ai.FsId];var r=i.trim();if(Qt.indexOf(r.toLowerCase())>=0)return"blocking FS.identify API call; uid value (".concat(r,") is illegal"),[void 0,Ai.FsId];var e=Dc(r),s=void 0;return n&&n!==e&&n!==r&&("user re-identified; existing uid hash (".concat(n,") does not match provided uid (").concat(r,")"),s=Ai.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===Ai.NewUid};switch(a){case Ai.FsId:case void 0:break;default:"unexpected failReason returned from setAppId: ".concat(a)}}(s,t,n);if(!u)return r;var a=u.rawProps,c=u.rawSchema,h=u.reidentify,f=u.nextAppId,v=u.eventName,l=Cf(s,null!=a?a:{},c,o,t.apiVersion,this.qc),d=l.properties,p=l.schema;if(!d&&s===Si.Document)return r;var w=xf(s,null!=d?d:{},o,p,t.apiVersion,v);return jf(e,function(t,n){var i=Mf[t];if(i)return Yh({source:n,type:"api",entrypoint:i})}(s,t.source)),jf(e,w),s===Si.Page&&(this.$c=w),{events:e,reidentify:!!h,appId:f}}catch(n){return"unexpected exception handling ".concat(t.operation," API call: ").concat(n.message),r}},t}();function jf(t,n){n&&t.push(n)}var Mf=((Af={})[Si.User]="setVars",Af[Si.Event]="event",Af);function Of(t,n){return r(this,void 0,Xr,function(){var s,o,u,a,c,h=this;return e(this,function(f){try{if(function(t){return!!bn(t,"_fs_use_polyfilled_apis","boolean")}(t))return[2,i(i({},n),{status:_.Clean})];if(!t.document||n.status!==_.Unknown)return[2,n];if(s=function(t,n){var r,e,s=n.functions,o=new Set,u={},a=i({},n.helpers);if(a.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(Rf(s,2))return s}var o=null===(r=t["__core-js_shared__"])||void 0===r?void 0:r["native-function-to-string"];if(Rf(o))return o;var u=n.__zone_symbol__OriginalDelegate;return Rf(u)?u:Rf(n)?n:void 0}(t,a.functionToString),!a.functionToString)return n;var c=!1;for(var h in s)s[h]?(u[h]=Lf(a.functionToString,null===(r=E[h])||void 0===r?void 0:r.call(E,t),s[h]),u[h]||(u[h]=Nf(a.functionToString,null===(e=E[h])||void 0===e?void 0:e.call(E,t),a,h)),u[h]?u[h]!==s[h]&&(c=!0):(c=!0,o.add(h))):u[h]=void 0;return{status:o.size>0?_.Mixed:_.Clean,functions:c?u:s,helpers:a,errors:[],dirty:o}}(t,n),s.status===_.Clean)return[2,s];(o=t.document.createElement("iframe")).id="FullStory-iframe",o.className="fs-hide",o.style.display="none",function(t){var n;return!!(null===(n=t.dirty)||void 0===n?void 0:n.has("mutationObserver"))}(s)&&(o.onload=function(){var t;try{null===(t=o.contentWindow)||void 0===t||t.addEventListener("pagehide",function(t){return r(h,void 0,Xr,function(){return e(this,function(n){switch(n.label){case 0:return(null==t?void 0:t.persisted)?[2]:[4,Yr(5e3)];case 1:return n.sent(),zs("windex iframe being unloaded before page","windex iframe being unloaded before page"),[2]}})})})}catch(t){}}),u=t.document.documentElement,a=function(t){return!!bn(t,"_fs_windex_iframe","boolean")}(t)&&u?u:t.document.body||t.document.head||u||t.document;try{a.appendChild(o)}catch(t){return[2,i(i({},n),{status:_.Clean})]}return o.contentWindow?((c=x(o.contentWindow,_.Clean)).dirty=s.dirty,c.status===_.UnrecoverableFailure?[2,i(i({},n),{status:_.Clean})]:[2,c]):[2,i(i({},n),{status:_.Clean})]}catch(t){return Ds.send(t,"error"),[2,i(i({},n),{status:_.Clean})]}return[2]})})}function Rf(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<h;v++){var l=u.charCodeAt(u.length-v),d=a.charCodeAt(a.length-v);if(l!=d)break;d!=c&&v!=h-1||(f=v)}return(null!==(i=a.slice(0,a.length-f+1).match(/\.js:\d+([:)]|$)/gm))&&void 0!==i?i:[]).length<=n}function Pf(t,n,i){var r="[native code]";try{return t.call(n).indexOf(r)>=0}catch(n){if(i)return t.call(i).indexOf(r)>=0;throw n}}var Uf=["__zone_symbol__OriginalDelegate","nr@original"];function Lf(t,n,i){if(i){for(var r=0,e=Uf;r<e.length;r++){var s=i[e[r]];if("function"==typeof s&&Pf(t,s,n))return s}return Pf(t,i,n)?i:void 0}}function Nf(t,n,i,r){if("arrayIsArray"===r){var e=Lf(t,n,i.objectToString);if(!e)return;return i.objectToString=e,function(t){return"[object Array]"==e.call(t)}}}var Df=function(){function t(t,n){void 0===n&&(n=function(t){return new WebSocket(t)}),this.Vc=n,this.Gc=!1,this.Xc=!1,this.Ft={},this.wa=1,this.ot=t,this.et=t.options.scheme,this.st=t.options.cdnHost}return t.isSupported=function(){return"WebSocket"in window},t.prototype.page=function(t){var n=this;return new Xr(function(i,r){n.Qc({Cmd:Fi.Page,Page:t},Os(n.ot),function(t){t.Cmd===Wi.Page?i(t.Page):("socket: unexpected page response: ".concat(t.Cmd),r(t.Cmd))},r)})},t.prototype.settings=function(t){var n=Kn(this.ot.window);if(n)return Xr.resolve(n);var i=t.previewMode?Os(this.ot):this.st;return Ms(this.ot.window,this.et,i,t)},t.prototype.bundle=function(t){return r(this,void 0,Xr,function(){var n,i,r,s=this;return e(this,function(e){switch(e.label){case 0:return[4,oe()];case 1:return e.sent(),n=t.deltaT,i=t.serverPageStart,r=t.serverBundleTime,[2,new Xr(function(e,o){var u=Os(s.ot);Bf(t.recHost,u);var a=t.bundle,c=a[0],h=a[1],f=s.Qc({Cmd:Fi.Bundle,Bundle:{Bundle:Ff(h),DeltaT:null===n?void 0:n,OrgId:t.orgId,PageId:t.pageId,PageStart:null==i?void 0:i,PrevBundleTime:null==r?void 0:r,Seq:c,SessionId:t.sessionId,UserId:t.userId}},u,function(t){t.Cmd===Wi.Bundle?e([null!=f?f:0,t.Bundle]):"socket: unexpected bundle response: ".concat(t.Cmd)},o)})]}})})},t.prototype.bundleBeacon=function(t){var n=Os(this.ot);return Bf(t.recHost,n),Ts(this.et,n,t)},t.prototype.startBeacon=function(t){return r(this,void 0,Xr,function(){return e(this,function(n){return[2,xs(this.ot.window,this.et,Os(this.ot),t)]})})},t.prototype.exponentialBackoffMs=function(t,n){var i=T.mathMin(qi.BackoffMax,5e3*T.mathPow(2,t));return n?i+.25*T.mathRandom()*i:i},t.prototype.Qc=function(t,n,i,r){var e=t;e.Seq=this.wa++;var s=Ot(e);return this.Ft[e.Seq]={payload:s,win:i,lose:r},this.Yc(n),s.length},t.prototype.Jc=function(t){var n;try{n=Pt(t)}catch(t){return void"socket: error parsing frame: ".concat(t)}var i=this.Ft[n.Seq];delete this.Ft[n.Seq],i?n.Cmd===Wi.Error?(n.Fail.Error,i.lose(new Xn(n.Fail.Status,n.Fail.Error))):i.win(n):"socket: mismatched request seq ".concat(n.Seq,"; ignoring")},t.prototype.Zc=function(){if(this.Xc&&this.th)for(var t in this.Ft){var n=this.Ft[t];n.sent||(this.th.send(n.payload),n.sent=!0)}},t.prototype.nh=function(){for(var t in this.Ft){var n=this.Ft[t];n.sent&&(delete this.Ft[t],n.lose(new Xn(0,"Pending request")))}},t.prototype.Yc=function(t){var n=this;if(this.Xc)this.Zc();else if(!this.Gc){this.Gc=!0;var i="".concat("https:"==this.et?"wss:":"ws:","//").concat(t,"/rec/sock");this.th=this.Vc(i),this.th.onopen=function(t){n.Gc=!1,n.Xc=!0,n.Zc()},this.th.onmessage=function(t){n.Jc(t.data),n.Zc()},this.th.onclose=function(t){n.Gc=n.Xc=!1,n.nh()},this.th.onerror=function(t){n.Gc=n.Xc=!1,n.nh()}}},t}();function Bf(t,n){t&&Hs(n===t,"sock recHost mismatch")}function Ff(t){if("string"===t.type)return JSON.parse(t.data);throw new Error("Unexpected bundle type: ".concat(t.type))}var Hf=function(){function t(t){this.ih=!1,this.lu=t}return t.prototype.flush=function(){this.lu(),this.ih=!1},t.prototype.schedule=function(){var t=this;this.ih||(this.ih=!0,Xr.resolve().then(function(){t.flush()})["catch"](function(t){return Ds.send(t,"error")}))},t}(),Wf=function(){function t(){this.rh={start:[],shutdown:[],"internal/bundle":[],"internal/error":[],"internal/fs-init":[]}}return t.prototype.registerListener=function(t,n){var i;if(-1===Th.indexOf(t)||!n)throw new Error("Invalid event type or missing callback.");var r={disconnected:!1,callback:n,count:0},e=(null!==(i=this.rh[t])&&void 0!==i?i:[]).filter(function(t){return!t.disconnected});return e.push(r),this.rh[t]=e,{disconnect:function(){r.disconnected=!0}}},t.prototype.hasListeners=function(t){var n;return(null!==(n=this.rh[t])&&void 0!==n?n:[]).length>0&&this.rh[t].some(function(t){return!t.disconnected})},t.prototype.takeRecords=function(t){var n,i=null!==(n=this.rh[t.type])&&void 0!==n?n:[];if(0!==i.length)for(var r=0,e=i;r<e.length;r++){var s=e[r];if(!(s.disconnected||s.count>0&&t.once)){s.count+=1;try{s.callback(t.data)}catch(t){"Recording observer callback error: ".concat(Ao(t))}}}},t}(),zf=function(){function t(t){var n=this;this.Ti=t,this.Ft=[],this.gu=new Hf(function(){n.lu()})}return t.prototype.addEvent=function(t){this.Ti.hasListeners(t.type)&&(this.Ft.push(t),this.gu.schedule())},t.prototype.lu=function(){for(var t=0,n=this.Ft;t<n.length;t++){var i=n[t];this.Ti.takeRecords(i)}this.Ft=[]},t}();function qf(t){if(t===top||Cn(t)||function(t){return!!bn(t,"_fs_run_in_iframe","boolean")}(t)||Tn(t))return!0;try{return t.parent.document,qf(t.parent)}catch(t){}return!1}function $f(t){return!S&&t.postMessage&&t.MutationObserver&&T.mutationObserver&&Vf(t.Map)&&Vf(t.Set)&&Vf(t.WeakMap)&&T.snapshot.status!==_.UnrecoverableFailure?!!qf(t)||!1:(function(t){try{t.snapshot.status===_.UnrecoverableFailure&&(l||Ds.send(t.snapshot.errors[0],"error"),t.snapshot.errors.forEach(A))}catch(t){}}(T),!1)}function Vf(t){try{if(t)return new t,!0}catch(t){}return!1}var Gf=function(t,n){var i,r,e;switch(n){case"url.now":return null!==(i=t.getCurrentSessionURL(!0))&&void 0!==i?i:null;case"id":return null!==(r=t.getCurrentSession())&&void 0!==r?r:null;default:return null!==(e=t.getCurrentSessionURL())&&void 0!==e?e:null}};function Xf(t,n){switch(t){case"getSession":case"init":case"observe":case"restart":case"setConfig":case"setIdentity":case"shutdown":case"source":case"start":case"trackEvent":return{operation:t,option:n};case"setPage":return{operation:t,option:{properties:e=(i=n).properties||i}};case"stat":return{operation:t,option:{event_type:(i=n).eventType||i.event_type,properties:i.payload||i.properties}};case"log":var i=n;return T.arrayIsArray(n)&&(i={level:n[0],msg:n[1]}),{operation:t,option:i};case"setVars":case"setProperties":var r=wf.SetProperties;return i=n,T.arrayIsArray(n)&&(i={type:n[0],properties:e=n[1]}),{operation:r,option:i};case"event":return i=n,n&&"object"==typeof n&&"n"in n&&(i={name:n.n,properties:n.p}),{operation:r=wf.TrackEvent,option:i};case"user":var e=n;return{operation:r=wf.SetProperties,option:{type:"user",properties:e}};case"consent":var s=n;return{operation:r=wf.SetIdentity,option:{consent:s}};case"rec":return n?{operation:wf.Restart}:{operation:r=wf.Shutdown};default:"Unrecognized api: ".concat(t)}}var Qf="must be an object";function Yf(t){return!!t&&"object"==typeof t}function Jf(t,n){return n in t}function Zf(t,n){return"Init Api - invalid ".concat(t," config, ").concat(n)}function tv(t){var n;if(!t||"object"!=typeof t)return!1;var i=t;return nv(i.target,["any","exclude","mask"])&&nv(i.tag)&&nv(i.action,["erase","maskText","scrubUrl","scrubCss"])&&nv(null!==(n=i.type)&&void 0!==n?n:"static",["static","prefix"])}function nv(t,n){return void 0===n&&(n=[]),"string"==typeof t&&(0===n.length||-1!==n.indexOf(t))}function iv(t,n){return t("function"==typeof n?n():n)}function rv(t,n,i,r){return void 0===r&&(r=qi.DefaultRecDisabledMessage),{commit:function(n){if(t)return iv(P(t),null!=n?n:i)},discard:function(t){if(n)return ev(P(n),null!=t?t:r)}}}function ev(t,n){if(void 0===n&&(n=qi.DefaultRecDisabledMessage),t){var i=n;try{i=new Error(n)}catch(t){}iv(P(t),i)}}function sv(t,n,i){void 0===n&&(n=!1);for(var r=0,e=t.commit;r<e.length;r++){var s=e[r];n?s.discard(i):s.commit()}for(var o=0,u=t.discard;o<u.length;o++)(s=u[o]).discard(i);t.commit=[],t.discard=[]}var ov=[wf.GetSession,wf.Observe,wf.SetProperties,wf.Source,wf.TrackEvent],uv=[wf.Observe];function av(t,n){try{var i=t[1],r=t[3],e=void 0===r?N:r,s=i,o=s.type,u=s.callback;e(n.registerListener(o,u))}catch(t){}}var cv=function(t){function i(n){void 0===n&&(n=250);var i=t.call(this)||this;return i.eh=T.mathMax(0,n),i}return n(i,t),i.prototype.Nn=function(){var t=this;(function(t){return r(this,void 0,Xr,function(){var n;return e(this,function(i){switch(i.label){case 0:return(n=T.requestWindowIdleCallback)?[2,new Xr(function(i){n(window,i,{timeout:t})})]:[4,Yr(t)];case 1:return i.sent(),[2,ae(42)]}})})})(this.eh).then(function(n){n.didTimeout?oe().then(function(){return t.Ln(ae(36))}):t.Ln(n)})},i}(ou),hv=function(t){function i(n){var i=t.call(this)||this;return i.Ii=n,i}return n(i,t),i.prototype.Nn=function(){var t=this;ue().then(function(){ce(t.Ii).then(function(){return t.Ln(ae(36))})})},i}(ou),fv=function(){function t(){}return t.prototype.createTopRecorder=function(t){var n;return n=xn(t.window)?new yh(t):bn(t.window,"_fs_use_socket","boolean")&&Df.isSupported()?new Df(t):new Ss(t),new sf(t,n)},t.prototype.createInnerRecorder=function(t){return new af(t)},t}(),vv=function(){function t(t,n){void 0===t&&(t=window),void 0===n&&(n=new fv),this.Ii=t,this.sh=n,this.et="https:",this.oh=!1,this.uh=!1,this.ah=!0,this.hh=new Kf,this.fh=Yi.Shutdown,this.lh={commit:[],discard:[]},this.dh=new Wf,this.ph=new zf(this.dh)}return t.prototype.init=function(){var t,n;vn(this.Ii)||(this.Ii,t=this.Ii,n=fn(this.Ii),t[an]=n,n in t||(t[n]={}),function(t){r(this,void 0,Xr,function(){var n;return e(this,function(i){switch(i.label){case 0:return[4,Of(t,T.snapshot)];case 1:return n=i.sent(),T.rebuildFromSnapshot(n),[2]}})})}(this.Ii),this.wh(),this.gh(),this.Ii,this.ph.addEvent({type:_h.INTERNAL_FS_INIT,data:{}}))},t.prototype.mh=function(){var t=function(t){var n={orgId:In(t)||"",script:Sn(t)||"",recHost:An(t)||"",cdnHost:kn(t)||"",appHost:_n(t)||"",captureOnStartup:En(t)};return n.orgId&&-1===n.orgId.indexOf("FULLSTORY_KEY")&&n.script&&n.recHost&&n.cdnHost&&n.appHost?("\n script: ".concat(n.script,"\n recording host: ").concat(n.recHost,"\n cdn host: ").concat(n.cdnHost,"\n orgid: ").concat(n.orgId,"\n captureOnStartup: ").concat(n.captureOnStartup,"\n "),n):null}(this.Ii);if(null===t)return!1;var n=t.appHost,i=t.cdnHost,r=t.orgId,e=t.recHost,s=t.script,o=t.captureOnStartup;return this.Nu=n,this.st=i,this.Du=r,this.Lu=e,this.Uu=s,this.yh=o,"localhost:8080"==this.Lu&&(this.et="http:"),this.bh=function(t,n){var i,r=Tn(n);return Cn(n)?i=!1:n!==top?i=!0:r?t&&r.init&&r.init(t)&&(i=!0):i=!1,i}(r,this.Ii),this.uh=function(t){var n,i=ln(t);return null!==(n=null==i?void 0:i._native)&&void 0!==n&&n}(this.Ii),void 0!==this.bh&&$f(this.Ii)},t.prototype.getCurrentSessionURL=function(t){return this.Sh(t?"url.now":"url")},t.prototype.getCurrentSession=function(){return this.Sh("id")},t.prototype.Sh=function(t){return this.kh?Gf(this.kh,t):null},t.prototype.enableConsole=function(){this._api(wf.SetConfig,{console:!0})},t.prototype.disableConsole=function(){this._api(wf.SetConfig,{console:!1})},t.prototype.restart=function(){this._api(wf.Restart)},t.prototype.shutdown=function(){this._api(wf.Shutdown)},t.prototype.log=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._api(wf.Log,t)},t.prototype.Ah=function(t){void 0===t&&(t=si.Api),this.fh=Yi.Shutdown,this.kh&&!this._h&&(this.kh.shutdown(t),this.kh=null,this.bh||this.hh.unloadCrossPageVars(t),this.ph.addEvent({type:_h.SHUTDOWN,data:{reason:t}}))},t.prototype.Ih=function(t){if(void 0===t&&(t=!1),this.ah){if(this._h)return this._h(),void(this._h=null);if(this.kh){if(!t)return;this.Ah(si.FsShutdownFrame)}this.Eh(!0)}},t.prototype.jo=function(t,n){return r(this,void 0,Xr,function(){return e(this,function(i){switch(i.label){case 0:return n&&null==this._c?[2]:this.fh===Yi.Starting?(this.Ch=[t,n],[2]):(this.Ah(t),[4,Yr(0)]);case 1:return i.sent(),[4,Yr(0)];case 2:return i.sent(),n&&this._c&&dv(this._c),this.Ih(),[2]}})})},t.prototype._api=function(t,n,i,r,e,s){if(this.ah&&this.fh!==Yi.Fatal){var o,u="start"===t||"restart"===t,a=[t,n,i,r||function(t){o=t},e,s];if(!e||this.fh!==Yi.Shutdown||u)return!this.kh||this.Ch?(Mn(this.Ii,a),void(u&&this.Ih())):(this.Th(a),o);ev(e,qi.ShutdownMessage)}else ev(e)},t.prototype.Th=function(t){var n;if(this.kh){var i=null!==(n=this.xh(this.kh,[t]))&&void 0!==n?n:{reidentified:!1,applyApi:function(){}},r=i.applyApi,e=i.sideEffects,s=i.initConfig,o=i.observingStart,u=i.recordingShouldBeEnabled,a=i.reidentified,c=i.nextAppId;lv(this._c,a,c),a?(Mn(this.Ii,t),this.jo(si.Reidentify,!0)):this.Kh(this.kh,{applyApi:r,sideEffects:e,initConfig:s,observingStart:o,recordingShouldBeEnabled:u}),void 0!==u&&(u?this.Ih():this.Ah(si.Api))}},t.prototype.xh=function(t,n){var i;return function(t,n){for(var i,r,e,s,o,u,a,c,h,f=n.appHashKey,v=n.inFrame,l=n.initConfig,d=n.inWebView,p=n.recorder,w=n.recordingObserver,g=n.state,m=n.vars,y=function(t){for(var n=[],i=0,r=t;i<r.length;i++){var e=r[i],s=e[0],o=e[1],u=e[2],a=e[3],c=e[4],h=e[5],f=Xf(s,o);f&&(f.source="string"==typeof u?{integration:u}:u,f.resolve=a,f.reject=c,f.apiVersion=2===h?2:1,n.push(f))}return n}(t),b=[],S=!1,k=!1,A=[],_=[],I=function(t){if(m){var n=function(t,n){switch(n){case"":return"";case void 0:return t;default:return Dc(n)}}(f,c),i=m.api(t,n),r=i.events,e=i.reidentify,s=i.appId;e&&(b=[],S=!0,_.push.apply(_,A),A=[]),void 0!==s&&(c=s),b.push.apply(b,r)}},E=function(t,n){!1!==s||-1!==uv.indexOf(t.operation)?A.push(rv(t.resolve,t.reject,n)):_.push(rv(t.resolve,t.reject,n))},C=function(t,n){_.push(rv(t.resolve,t.reject,void 0,n))},T=function(t){try{if("Processing api: ".concat(t.operation),v&&!function(t,n){if(-1===ov.indexOf(t.operation))return!1;if(t.operation===wf.SetProperties)switch(t.option.type){case Si.Document:return!0;case Si.User:return n&&!function(t){try{var n=t.option.properties;if(bt(n)&&("uid"in n))return!0}catch(t){}return!1}(t);case Si.Page:return n;default:return!0}return!0}(t,d)){var n="FS.".concat(t.operation,"() is not available in an inner frame");return k||(k=!0),C(t,n),"continue"}switch(t.operation){case wf.Restart:case wf.Start:s=!0,E(t);break;case wf.Shutdown:E(t),s=!1;break;case wf.Log:var c=t.option,f=c.level,m=(n=c.msg,p.console().logEvent(null!=f?f:"log",n?[n]:[],"fs"));m&&b.push(m),E(t);break;case wf.SetIdentity:var y=function(n){I({operation:wf.SetProperties,option:n,source:t.source,resolve:t.resolve,reject:t.reject,apiVersion:t.apiVersion})};t.option&&"object"==typeof t.option?(Object.prototype.hasOwnProperty.call(t.option,"consent")&&(a=null!==(i=t.option.consent)&&void 0!==i&&i),Object.prototype.hasOwnProperty.call(t.option,"uid")&&y({type:"user",properties:{uid:t.option.uid}}),Object.prototype.hasOwnProperty.call(t.option,"properties")&&y({type:"user",properties:null!==(r=t.option.properties)&&void 0!==r?r:{}}),(null===(e=t.option)||void 0===e?void 0:e.anonymous)&&y({type:"user",properties:{uid:!1}})):y({type:"user",properties:{uid:t.option}}),E(t);break;case wf.TrackEvent:case wf.SetPage:case wf.SetProperties:I(t),E(t);break;case wf.GetSession:E(t,function(){var n;return Gf(p,null===(n=t.option)||void 0===n?void 0:n.format)});break;case wf.SetConfig:var S=t.option.console;o=S,E(t);break;case wf.Stat:var A=t.option,_=A.event_type,T=A.properties;b.push(Wh(_,T)),E(t);break;case wf.Observe:var x=t.option,K=x.type,j=x.callback;K===_h.START&&(u=!0),E(t,null==w?void 0:w.registerListener(K,j));break;case wf.Source:var M=Yh({source:t.option.source,type:"default",entrypoint:"source"});b.push(M),E(t);break;case wf.Init:if(g!==Yi.Shutdown){C(t,n="Capture already started - init rejected.");break}if(void 0!==h||void 0!==l){C(t,n="Multiple calls to init - init rejected.");break}var O=function(t){var n,i={recoverable:[],unrecoverable:[]};if(!Yf(t))return i.unrecoverable.push(Zf("options",Qf)),[i,null];var r={};if(Jf(t,"privacy")){var e=function(t){var n="privacy.attributeBlocklist",i=[];if(!Yf(t))return i.push(Zf("privacy",Qf)),[i,void 0];if(!Jf(t,"attributeBlocklist"))return[i,void 0];if(!wt(t.attributeBlocklist))return i.push(Zf(n,"must be an array")),[i,void 0];for(var r={attributeBlocklist:[]},e=0,s=t.attributeBlocklist;e<s.length;e++){var o=s[e];tv(o)?r.attributeBlocklist.push(o):i.push(Zf(n,"invalid rule: ".concat(Ao(o))))}return[i,r]}(t.privacy),s=e[0],o=e[1];(n=i.recoverable).push.apply(n,s),r.privacy=o}return[i,r]}(t.option),R=O[0],P=O[1];if(R.unrecoverable.length>0||null===P){n="Init config rejected: ".concat(R.unrecoverable.join(",\n")),C(t,n);break}R.recoverable.length>0&&(n="Init config partially rejected: ".concat(R.recoverable.join(",\n"))),h=P,E(t);break;default:he(0,"invalid operation")}}catch(i){Ds.send(i,"error"),"".concat(n="unknown error evaluating API"," ").concat(i),C(t,n)}},x=0,K=y;x<K.length;x++)T(K[x]);return{applyApi:function(){for(var t=p.queue(),n=0,i=b;n<i.length;n++){var r=i[n];t.enqueue(r)}void 0!==a&&p.setConsent(a),void 0!==h&&p.setInitConfig(h),"boolean"==typeof o&&(o?p.console().start({ConsoleWatcher:!0}):p.console().stop())},initConfig:h,recordingShouldBeEnabled:s,reidentified:S,nextAppId:c,observingStart:u,sideEffects:{commit:A,discard:_}}}(n,{appHashKey:null===(i=this._c)||void 0===i?void 0:i.getAppKeyHash(),inFrame:this.bh,inWebView:this.uh,initConfig:this.Fu,recorder:t,recordingObserver:this.dh,state:this.fh,vars:this.hh})},t.prototype.Kh=function(t,n){var i,r,e=n.applyApi,s=n.sideEffects,o=n.initConfig,u=n.observingStart,a=n.recordingShouldBeEnabled;e();var c=!1===a,h=t.getIsSessionReady();if(c)sv(s,!1,qi.ShutdownMessage);else if(h){sv(s);var f=t.getCurrentSessionURL();if(u&&f){var v=t.orgSettings();this.ph.addEvent({type:_h.START,data:{sessionUrl:f,settings:v},once:!0})}}else(i=this.lh.commit).push.apply(i,s.commit),(r=this.lh.discard).push.apply(r,s.discard);void 0!==o&&(this.Fu=o)},t.prototype._cookies=function(){return this._c?this._c.getCookies():null},t.prototype._setCookie=function(t,n){this._c&&this._c.setCookie(t,n)},t.prototype._withEventQueue=function(t,n){if(this.kh){var i=this.kh.queue(),r=this.kh.pageSignature();null!=i&&null!=r&&(t===r?n(i):Ao({msg:"Error in _withEventQueue: Page Signature mismatch",pageSignature:r,callerSignature:t},1024))}},t.prototype._withRecorder=function(t,n){if(this.kh){var i=this.kh.pageSignature();null!==i&&(void 0===t||t===i?n(this.kh):Ao({msg:"Error in _withRecorder: Page Signature mismatch",pageSignature:i,callerSignature:t},1024))}},t.prototype.wh=function(){var t=ln(this.Ii);if(t)for(var n=0,i=["disableConsole","enableConsole","getCurrentSession","getCurrentSessionURL","log","restart","shutdown","_api","_withEventQueue","_withRecorder","_cookies","_setCookie"];n<i.length;n++){var r=i[n];t[r]=Mt(this[r],this,jt)}},t.prototype.gh=function(){var t=this;"script version ".concat("8f0997a03aeaf4f9ad2804f98a28e84048db3174"," (compiled at ").concat(1713852872,")"),this.ah=this.mh(),this.ah?(this.Eh(!1),this.jh(),this.Ii.addEventListener("message",Ds.wrap(function(n){return t.Mh(n)}))):function(t,n,i){for(var r=0,e=jn(t);r<e.length;r++){var s=e[r],o=s[0],u=s[4];-1!==uv.indexOf(o)?o===wf.Observe&&av(s,n):ev(u)}i.addEvent({type:_h.SHUTDOWN,data:{reason:si.SettingsBlocked}})}(this.Ii,this.dh,this.ph)},t.prototype.Oh=function(){var t=this;this.Du&&(this._c=new yf(this.Du,this.Ii,function(n){for(var i,r=0,e=n;r<e.length;r++){var s=e[r];null===(i=t.kh)||void 0===i||i.queue().enqueue({Kind:Ln.STORAGE_WRITE_FAILURE,Args:s})}},this.bh))},t.prototype.Mh=function(t){if("string"==typeof t.data&&(t.source==this.Ii.parent||t.source==this.Ii)){var n=uh(t.data);switch(n[0]){case rr.ShutdownFrame:this.Ah(si.FsShutdownFrame);break;case rr.RestartFrame:this.Ih(n[1])}}},t.prototype.Rh=function(t,n){var i,r=this,e=T.mathRound(null!==(i=P(function(){var t;return null===(t=window.performance)||void 0===t?void 0:t.now()})())&&void 0!==i?i:-1);return{window:this.Ii,time:new To,measurer:new hv(this.Ii),taskQueue:new cv(2e3),options:{appHost:this.Nu,orgId:this.Du,recHost:this.Lu,cdnHost:this.st,scheme:this.et,script:this.Uu},recording:{bundleApiVersion:function(){var n,i;return null!==(i=null===(n=t())||void 0===n?void 0:n.getBundleApiVersion())&&void 0!==i?i:"v1"},bundleUploadInterval:function(){var n,i;return null!==(i=null===(n=t())||void 0===n?void 0:n.bundleUploadInterval())&&void 0!==i?i:qi.DefaultBundleUploadInterval},heartbeatInterval:function(){var n,i;return null!==(i=null===(n=t())||void 0===n?void 0:n.heartbeatInterval())&&void 0!==i?i:qi.HeartbeatInterval},flags:function(){var n,i;return(null===(i=null===(n=t())||void 0===n?void 0:n.getPageResponse())||void 0===i?void 0:i.Flags)||{}},getCurrentSessionURL:function(n){var i,r;return null!==(r=null===(i=t())||void 0===i?void 0:i.getCurrentSessionURL(n))&&void 0!==r?r:null},identity:this._c,inFrame:n,observer:this.ph,pageResponse:function(){var n;return null===(n=t())||void 0===n?void 0:n.getPageResponse()},pageSignature:function(){var n,i;return null!==(i=null===(n=t())||void 0===n?void 0:n.pageSignature())&&void 0!==i?i:null},preroll:e,splitPage:function(t){return r.jo(t,!1)},vars:this.hh},queue:function(){var n;return null===(n=t())||void 0===n?void 0:n.queue()}}},t.prototype.Ph=function(t,n){if(n){for(var i=0,r=this.hh.getDocumentVars();i<r.length;i++){var e=r[i];t.enqueue(e)}var s=this.hh.getCrossPageVars();void 0!==s&&t.enqueue(s)}},t.prototype.Hu=function(t,n){var i=this;return function(r){var e=r.sessionUrl,s=r.settings;i.fh=Yi.Started,n&&t.tellAllFramesTo([rr.RestartFrame]),i.Ch&&(i.jo(i.Ch[0],i.Ch[1]),i.Ch=null),i.ph.addEvent({type:_h.START,data:{sessionUrl:e,settings:s}}),sv(i.lh)}},t.prototype.Wu=function(){var t=this;return function(){t.fh=Yi.Fatal,t.ph.addEvent({type:_h.SHUTDOWN,data:{reason:si.SettingsBlocked}}),sv(t.lh,!0)}},t.prototype.Uh=function(t,n,i){void 0===i&&(i=!1),this.fh=Yi.Starting,t.start(i,this.Hu(t,n),this.Wu())},t.prototype.Eh=function(t){var n;this.Oh();var i=this.bh,r=this.Rh(function(){return n},!!i);n=i?this.sh.createInnerRecorder(r):this.sh.createTopRecorder(r),this.Lh(n,t),this.kh=n},t.prototype.Lh=function(t,n){var i,r=this;void 0===n&&(n=!1);var e,s=!1,o=[],u=bn(this.Ii,"_fs_asset_map_id");u&&o.push([on.Vars,[Si.Document,{assetMapId:u}]]),this.bh||(this.Ph(t.queue(),n),t.queue().enqueue({Kind:Ln.REC_FEAT_SUPPORTED,Args:[pi.CaptureOnStartupEnabled,!1===this.yh]})),o.push.apply(o,jn(this.Ii));var a=null!==(i=this.xh(t,o))&&void 0!==i?i:{applyApi:function(){}},c=a.applyApi,h=a.sideEffects,f=a.initConfig,v=a.recordingShouldBeEnabled,l=a.reidentified,d=a.nextAppId,p=a.observingStart;this.bh?(s=!1,e=!1):(void 0!==v?s=!v:!1===this.yh&&(s=!0),this.yh=!0,e=!!l),lv(this._c,e,d),this.Kh(t,{applyApi:c,sideEffects:h,initConfig:f,observingStart:p,recordingShouldBeEnabled:v}),s?this._h=function(){return r.Uh(t,n,e)}:this.Uh(t,n,e)},t.prototype.jh=function(){var t=this,n=function(){t.oh||(t.oh=!0,t.kh&&t.kh.onDomLoad())},i=!1,r=function(){i||(i=!0,t.kh&&t.kh.onLoad())};switch(document.readyState){case"interactive":n();break;case"complete":n(),r()}this.oh||document.addEventListener("DOMContentLoaded",Ds.wrap(n)),i||this.Ii.addEventListener("load",Ds.wrap(function(t){n(),r()}))},t}();function lv(t,n,i){t&&(n?dv(t,i):""===i?t.clearAppId():void 0!==i&&t.setAppId(i))}function dv(t,n){t.clear(),n&&t.setAppId(n)}!function(){try{new vv().init()}catch(t){Ds.send(t,"error"),"Failed to initialize FullStory. ".concat(t)}}()}();