vendor: 20,144 bytes, line 1
1var wi={},I;if(typeof window>"u"){var Es={hostname:""};I={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:Es,referrer:""},screen:{width:0,height:0},location:Es,addEventListener:function(){},removeEventListener:function(){}}}else I=window;function ks(e,i){(i==null||i>e.length)&&(i=e.length);for(var n=0,t=new Array(i);n<i;n++)t[n]=e[n];return t}function xs(e,i,n,t,r,o,s){try{var a=e[o](s),u=a.value}catch(c){n(c);return}a.done?i(u):Promise.resolve(u).then(t,r)}function Mo(e){return function(){var i=this,n=arguments;return new Promise(function(t,r){var o=e.apply(i,n);function s(u){xs(o,t,r,s,a,"next",u)}function a(u){xs(o,t,r,s,a,"throw",u)}s(void 0)})}}function di(e,i,n){return Ka()?di=Reflect.construct:di=function(r,o,s){var a=[null];a.push.apply(a,o);var u=Function.bind.apply(r,a),c=new u;return s&&_r(c,s.prototype),c},di.apply(null,arguments)}function Pl(e,i){for(var n=0;n<i.length;n++){var t=i[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function ge(e,i,n){return i&&Pl(e.prototype,i),e}function H(){return H=Object.assign||function(e){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},H.apply(this,arguments)}function $n(e){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(e)}function _e(e,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(i&&i.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),i&&_r(e,i)}function L(e,i){return i!=null&&typeof Symbol<"u"&&i[Symbol.hasInstance]?!!i[Symbol.hasInstance](e):e instanceof i}function Dl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function yr(e,i){if(e==null)return{};var n={},t=Object.keys(e),r,o;for(o=0;o<t.length;o++)r=t[o],!(i.indexOf(r)>=0)&&(n[r]=e[r]);return n}function _r(e,i){return _r=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},_r(e,i)}function z(e){"@swc/helpers - typeof";return e&&typeof Symbol<"u"&&e.constructor===Symbol?"symbol":typeof e}function Nl(e,i){if(e){if(typeof e=="string")return ks(e,i);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ks(e,i)}}function Si(e){var i=typeof Map=="function"?new Map:void 0;return Si=function(t){if(t===null||!Dl(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof i<"u"){if(i.has(t))return i.get(t);i.set(t,r)}function r(){return di(t,arguments,$n(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_r(r,t)},Si(e)}function Ka(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ka=function(){return!!e})()}function k(e,i){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Nl(e))||i){n&&(e=n);var t=0;return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function br(e,i){var n,t,r,o,s={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(c){return function(l){return u([c,l])}}function u(c){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,t&&(r=c[0]&2?t.return:c[0]?t.throw||((r=t.return)&&r.call(t),0):t.next)&&!(r=r.call(t,c[1])).done)return r;switch(t=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return s.label++,{value:c[1],done:!1};case 5:s.label++,t=c[1],c=[0];continue;case 7:c=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){s=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){s.label=c[1];break}if(c[0]===6&&s.label<r[1]){s.label=r[1],r=c;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(c);break}r[2]&&s.ops.pop(),s.trys.pop();continue}c=i.call(e,s)}catch(l){c=[6,l],t=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Xa(e){var i=typeof Symbol=="function"&&Symbol.iterator,n=i&&e[i],t=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&t>=e.length&&(e=void 0),{value:e&&e[t++],done:!e}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}var Ll=Object.defineProperty,$l=function(e,i,n){return i in e?Ll(e,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[i]=n},E=function(e,i,n){return $l(e,(typeof i>"u"?"undefined":z(i))!=="symbol"?i+"":i,n)},Os,Fl=Object.defineProperty,Ul=function(e,i,n){return i in e?Fl(e,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[i]=n},Rs=function(e,i,n){return Ul(e,(typeof i>"u"?"undefined":z(i))!=="symbol"?i+"":i,n)},pe=function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e}(pe||{}),As={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Ms={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Gr={},Bl=function(){return!!globalThis.Zone};function To(e){if(Gr[e])return Gr[e];var i=globalThis[e],n=i.prototype,t=e in As?As[e]:void 0,r=!!(t&&t.every(function(l){var f,p;return!!((p=(f=Object.getOwnPropertyDescriptor(n,l))==null?void 0:f.get)!=null&&p.toString().includes("[native code]"))})),o=e in Ms?Ms[e]:void 0,s=!!(o&&o.every(function(l){var f;return typeof n[l]=="function"&&((f=n[l])==null?void 0:f.toString().includes("[native code]"))}));if(r&&s&&!Bl())return Gr[e]=i.prototype,i.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return i.prototype;var c=u[e].prototype;return document.body.removeChild(a),c?Gr[e]=c:n}catch{return n}}var vn={};function ut(e,i,n){var t,r=e+"."+String(n);if(vn[r])return vn[r].call(i);var o=To(e),s=(t=Object.getOwnPropertyDescriptor(o,n))==null?void 0:t.get;return s?(vn[r]=s,s.call(i)):i[n]}var gn={};function Ja(e,i,n){var t=e+"."+String(n);if(gn[t])return gn[t].bind(i);var r=To(e),o=r[n];return typeof o!="function"?i[n]:(gn[t]=o,o.bind(i))}function zl(e){return ut("Node",e,"childNodes")}function Wl(e){return ut("Node",e,"parentNode")}function Gl(e){return ut("Node",e,"parentElement")}function ql(e){return ut("Node",e,"textContent")}function Vl(e,i){return Ja("Node",e,"contains")(i)}function jl(e){return Ja("Node",e,"getRootNode")()}function Hl(e){return!e||!("host"in e)?null:ut("ShadowRoot",e,"host")}function Yl(e){return e.styleSheets}function Kl(e){return!e||!("shadowRoot"in e)?null:ut("Element",e,"shadowRoot")}function Xl(e,i){return ut("Element",e,"querySelector")(i)}function Jl(e,i){return ut("Element",e,"querySelectorAll")(i)}function Zl(){return To("MutationObserver").constructor}function Ql(e,i,n){try{if(!(i in e))return function(){};var t=e[i],r=n(t);return typeof r=="function"&&(r.prototype=r.prototype||{},Object.defineProperties(r,{__rrweb_original__:{enumerable:!1,value:t}})),e[i]=r,function(){e[i]=t}}catch{return function(){}}}var ye={childNodes:zl,parentNode:Wl,parentElement:Gl,textContent:ql,contains:Vl,getRootNode:jl,host:Hl,styleSheets:Yl,shadowRoot:Kl,querySelector:Xl,querySelectorAll:Jl,mutationObserver:Zl,patch:Ql};function Za(e){return e.nodeType===e.ELEMENT_NODE}function fr(e){var i=e&&"host"in e&&"mode"in e&&ye.host(e)||null;return!!(i&&"shadowRoot"in i&&ye.shadowRoot(i)===e)}function hr(e){return Object.prototype.toString.call(e)==="[object ShadowRoot]"}function ef(e){return e.includes(" background-clip: text;")&&!e.includes(" -webkit-background-clip: text;")&&(e=e.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),e}function tf(e){var i=e.cssText;if(i.split('"').length<3)return i;var n=["@import","url("+JSON.stringify(e.href)+")"];return e.layerName===""?n.push("layer"):e.layerName&&n.push("layer("+e.layerName+")"),e.supportsText&&n.push("supports("+e.supportsText+")"),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}function Fn(e){try{var i=e.rules||e.cssRules;if(!i)return null;var n=e.href;!n&&e.ownerNode&&e.ownerNode.ownerDocument&&(n=e.ownerNode.ownerDocument.location.href);var t=Array.from(i,function(r){return Qa(r,n)}).join("");return ef(t)}catch{return null}}function Qa(e,i){if(nf(e)){var n;try{n=Fn(e.styleSheet)||tf(e)}catch{n=e.cssText}return e.styleSheet.href?Ei(n,e.styleSheet.href):n}else{var t=e.cssText;return of(e)&&e.selectorText.includes(":")&&(t=rf(t)),i?Ei(t,i):t}}function rf(e){var i=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(i,"$1\\$2")}function nf(e){return"styleSheet"in e}function of(e){return"selectorText"in e}var eu=function(){function e(){Rs(this,"idNodeMap",new Map),Rs(this,"nodeMetaMap",new WeakMap)}var i=e.prototype;return i.getId=function(t){var r;if(!t)return-1;var o=(r=this.getMeta(t))==null?void 0:r.id;return o??-1},i.getNode=function(t){return this.idNodeMap.get(t)||null},i.getIds=function(){return Array.from(this.idNodeMap.keys())},i.getMeta=function(t){return this.nodeMetaMap.get(t)||null},i.removeNodeFromMap=function(t){var r=this,o=this.getId(t);this.idNodeMap.delete(o),t.childNodes&&t.childNodes.forEach(function(s){return r.removeNodeFromMap(s)})},i.has=function(t){return this.idNodeMap.has(t)},i.hasNode=function(t){return this.nodeMetaMap.has(t)},i.add=function(t,r){var o=r.id;this.idNodeMap.set(o,t),this.nodeMetaMap.set(t,r)},i.replace=function(t,r){var o=this.getNode(t);if(o){var s=this.nodeMetaMap.get(o);s&&this.nodeMetaMap.set(r,s)}this.idNodeMap.set(t,r)},i.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function sf(){return new eu}function Ci(e){var i=e.element,n=e.maskInputOptions,t=e.tagName,r=e.type,o=e.value,s=e.maskInputFn,a=o||"",u=r&&Et(r);return(n[t.toLowerCase()]||u&&n[u])&&(s?a=s(a,i):a="*".repeat(a.length)),a}function Et(e){return e.toLowerCase()}var Ts="__rrweb_original__";function af(e){var i=e.getContext("2d");if(!i)return!0;for(var n=50,t=0;t<e.width;t+=n)for(var r=0;r<e.height;r+=n){var o=i.getImageData,s=Ts in o?o[Ts]:o,a=new Uint32Array(s.call(i,t,r,Math.min(n,e.width-t),Math.min(n,e.height-r)).data.buffer);if(a.some(function(u){return u!==0}))return!1}return!0}function Ii(e){var i=e.type;return e.hasAttribute("data-rr-is-password")?"password":i?Et(i):null}function tu(e,i){var n;try{n=new URL(e,window.location.href)}catch{return null}var t=/\.([0-9a-z]+)(?:$)/i,r=n.pathname.match(t),o;return(o=r?.[1])!=null?o:null}function uf(e){var i="";return e.indexOf("//")>-1?i=e.split("/").slice(0,3).join("/"):i=e.split("/")[0],i=i.split("?")[0],i}var cf=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,lf=/^(?:[a-z+]+:)?\/\//i,ff=/^www\..*/i,hf=/^(data:)([^,]*),(.*)/i;function Ei(e,i){return(e||"").replace(cf,function(n,t,r,o,s,a){var u=r||s||a,c=t||o||"";if(!u)return n;if(lf.test(u)||ff.test(u)||hf.test(u))return"url("+c+u+c+")";if(u[0]==="/")return"url("+c+(uf(i)+u)+c+")";var l=i.split("/"),f=u.split("/");l.pop();for(var p=k(f),g;!(g=p()).done;){var d=g.value;d!=="."&&(d===".."?l.pop():l.push(d))}return"url("+c+l.join("/")+c+")"})}function qr(e,i){return i===void 0&&(i=!1),i?e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function pf(e,i,n){n===void 0&&(n=!1);var t=Array.from(i.childNodes),r=[],o=0;if(t.length>1&&e&&typeof e=="string"){for(var s=qr(e,n),a=s.length/e.length,u=1;u<t.length;u++)if(t[u].textContent&&typeof t[u].textContent=="string"){for(var c=qr(t[u].textContent,n),l=100,f=3;f<c.length&&(c[f].match(/[a-zA-Z0-9]/)||c.indexOf(c.substring(0,f),1)!==-1);f++);for(;f<c.length;f++){var p=c.substring(0,f),g=s.split(p),d=-1;if(g.length===2)d=g[0].length;else if(g.length>2&&g[0]===""&&t[u-1].textContent!=="")d=s.indexOf(p,1);else if(g.length===1){if(p=p.substring(0,p.length-1),g=s.split(p),g.length<=1)return r.push(e),r;f=l+1}else f===c.length-1&&(d=s.indexOf(p));if(g.length>=2&&f>l){var y=t[u-1].textContent;if(y&&typeof y=="string"){var v=qr(y).length;d=s.indexOf(p,v)}d===-1&&(d=g[0].length)}if(d!==-1){for(var m=Math.floor(d/a);m>0&&m<e.length;){if(o+=1,o>50*t.length)return r.push(e),r;var _=qr(e.substring(0,m),n);if(_.length===d){r.push(e.substring(0,m)),e=e.substring(m),s=s.substring(d);break}else _.length<d?m+=Math.max(1,Math.floor((d-_.length)/a)):m-=Math.max(1,Math.floor((_.length-d)*a))}break}}}}return r.push(e),r}function df(e,i){return pf(e,i).join("/* rr_split */")}var vf=1,gf=new RegExp("[^a-z0-9-_:]"),wr=-2;function ru(){return vf++}function mf(e){if(L(e,HTMLFormElement))return"form";var i=Et(e.tagName);return gf.test(i)?"div":i}var $t,Ps,yf=/^[^ \t\n\r\u000c]+/,_f=/^[, \t\n\r\u000c]+/;function bf(e,i){if(i.trim()==="")return i;var n=0;function t(c){var l,f=c.exec(i.substring(n));return f?(l=f[0],n+=l.length,l):""}for(var r=[];t(_f),!(n>=i.length);){var o=t(yf);if(o.slice(-1)===",")o=Ut(e,o.substring(0,o.length-1)),r.push(o);else{var s="";o=Ut(e,o);for(var a=!1;;){var u=i.charAt(n);if(u===""){r.push((o+s).trim());break}else if(a)u===")"&&(a=!1);else if(u===","){n+=1,r.push((o+s).trim());break}else u==="("&&(a=!0);s+=u,n+=1}}}return r.join(", ")}var Ds=new WeakMap;function Ut(e,i){return!i||i.trim()===""?i:Po(e,i)}function wf(e){return!!(e.tagName==="svg"||e.ownerSVGElement)}function Po(e,i){var n=Ds.get(e);if(n||(n=e.createElement("a"),Ds.set(e,n)),!i)i="";else if(i.startsWith("blob:")||i.startsWith("data:"))return i;return n.setAttribute("href",i),n.href}function iu(e,i,n,t){return t&&(n==="src"||n==="href"&&!(i==="use"&&t[0]==="#")||n==="xlink:href"&&t[0]!=="#"||n==="background"&&(i==="table"||i==="td"||i==="th")?Ut(e,t):n==="srcset"?bf(e,t):n==="style"?Ei(t,Po(e)):i==="object"&&n==="data"?Ut(e,t):t)}function nu(e,i,n){return(e==="video"||e==="audio")&&i==="autoplay"}function Sf(e,i,n){try{if(typeof i=="string"){if(e.classList.contains(i))return!0}else for(var t=e.classList.length;t--;){var r=e.classList[t];if(i.test(r))return!0}if(n)return e.matches(n)}catch{}return!1}function ki(e,i,n){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return n?ki(ye.parentNode(e),i,n):!1;for(var t=e.classList.length;t--;){var r=e.classList[t];if(i.test(r))return!0}return n?ki(ye.parentNode(e),i,n):!1}function ou(e,i,n,t){var r;if(Za(e)){if(r=e,!ye.childNodes(r).length)return!1}else{if(ye.parentElement(e)===null)return!1;r=ye.parentElement(e)}try{if(typeof i=="string"){if(t){if(r.closest("."+i))return!0}else if(r.classList.contains(i))return!0}else if(ki(r,i,t))return!0;if(n){if(t){if(r.closest(n))return!0}else if(r.matches(n))return!0}}catch{}return!1}function Cf(e,i,n){var t=e.contentWindow;if(t){var r=!1,o;try{o=t.document.readyState}catch{return}if(o!=="complete"){var s=setTimeout(function(){r||(i(),r=!0)},n);e.addEventListener("load",function(){clearTimeout(s),r=!0,i()});return}var a="about:blank";if(t.location.href!==a||e.src===a||e.src==="")return setTimeout(i,0),e.addEventListener("load",i);e.addEventListener("load",i)}}function If(e,i,n){var t=!1,r;try{r=e.sheet}catch{return}if(!r){var o=setTimeout(function(){t||(i(),t=!0)},n);e.addEventListener("load",function(){clearTimeout(o),t=!0,i()})}}function Ef(e,i){var n=i.doc,t=i.mirror,r=i.blockClass,o=i.blockSelector,s=i.needsMask,a=i.inlineStylesheet,u=i.maskInputOptions,c=u===void 0?{}:u,l=i.maskTextFn,f=i.maskInputFn,p=i.dataURLOptions,g=p===void 0?{}:p,d=i.inlineImages,y=i.recordCanvas,v=i.keepIframeSrcFn,m=i.newlyAddedElement,_=m===void 0?!1:m,w=i.cssCaptured,S=w===void 0?!1:w,C=kf(n,t);switch(e.nodeType){case e.DOCUMENT_NODE:return e.compatMode!=="CSS1Compat"?{type:pe.Document,childNodes:[],compatMode:e.compatMode}:{type:pe.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:pe.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:C};case e.ELEMENT_NODE:return Of(e,{doc:n,blockClass:r,blockSelector:o,inlineStylesheet:a,maskInputOptions:c,maskInputFn:f,dataURLOptions:g,inlineImages:d,recordCanvas:y,keepIframeSrcFn:v,newlyAddedElement:_,rootId:C});case e.TEXT_NODE:return xf(e,{doc:n,needsMask:s,maskTextFn:l,rootId:C,cssCaptured:S});case e.CDATA_SECTION_NODE:return{type:pe.CDATA,textContent:"",rootId:C};case e.COMMENT_NODE:return{type:pe.Comment,textContent:ye.textContent(e)||"",rootId:C};default:return!1}}function kf(e,i){if(i.hasNode(e)){var n=i.getId(e);return n===1?void 0:n}}function xf(e,i){var n=i.needsMask,t=i.maskTextFn,r=i.rootId,o=i.cssCaptured,s=ye.parentNode(e),a=s&&s.tagName,u="",c=a==="STYLE"?!0:void 0,l=a==="SCRIPT"?!0:void 0;return l?u="SCRIPT_PLACEHOLDER":o||(u=ye.textContent(e),c&&u&&(u=Ei(u,Po(i.doc)))),!c&&!l&&u&&n&&(u=t?t(u,ye.parentElement(e)):u.replace(/[\S]/g,"*")),{type:pe.Text,textContent:u||"",rootId:r}}function Of(e,i){for(var n=i.doc,t=i.blockClass,r=i.blockSelector,o=i.inlineStylesheet,s=i.maskInputOptions,a=s===void 0?{}:s,u=i.maskInputFn,c=i.dataURLOptions,l=c===void 0?{}:c,f=i.inlineImages,p=i.recordCanvas,g=i.keepIframeSrcFn,d=i.newlyAddedElement,y=d===void 0?!1:d,v=i.rootId,m=Sf(e,t,r),_=mf(e),w={},S=e.attributes.length,C=0;C<S;C++){var x=e.attributes[C];nu(_,x.name)||(w[x.name]=iu(n,_,Et(x.name),x.value))}if(_==="link"&&o){var A=Array.from(n.styleSheets).find(function(Re){return Re.href===e.href}),O=null;A&&(O=Fn(A)),O&&(delete w.rel,delete w.href,w._cssText=O)}if(_==="style"&&e.sheet){var T=Fn(e.sheet);T&&(e.childNodes.length>1&&(T=df(T,e)),w._cssText=T)}if(_==="input"||_==="textarea"||_==="select"){var j=e.value,M=e.checked;w.type!=="radio"&&w.type!=="checkbox"&&w.type!=="submit"&&w.type!=="button"&&j?w.value=Ci({element:e,type:Ii(e),tagName:_,value:j,maskInputOptions:a,maskInputFn:u}):M&&(w.checked=M)}if(_==="option"&&(e.selected&&!a.select?w.selected=!0:delete w.selected),_==="dialog"&&e.open&&(w.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal"),_==="canvas"&&p){if(e.__context==="2d")af(e)||(w.rr_dataURL=e.toDataURL(l.type,l.quality));else if(!("__context"in e)){var F=e.toDataURL(l.type,l.quality),K=n.createElement("canvas");K.width=e.width,K.height=e.height;var Ie=K.toDataURL(l.type,l.quality);F!==Ie&&(w.rr_dataURL=F)}}if(_==="img"&&f){$t||($t=n.createElement("canvas"),Ps=$t.getContext("2d"));var X=e,Oe=X.currentSrc||X.getAttribute("src")||"<unknown-src>",be=X.crossOrigin,oe=function(){X.removeEventListener("load",oe);try{$t.width=X.naturalWidth,$t.height=X.naturalHeight,Ps.drawImage(X,0,0),w.rr_dataURL=$t.toDataURL(l.type,l.quality)}catch{if(X.crossOrigin!=="anonymous"){X.crossOrigin="anonymous",X.complete&&X.naturalWidth!==0?oe():X.addEventListener("load",oe);return}}X.crossOrigin==="anonymous"&&(be?w.crossOrigin=be:X.removeAttribute("crossorigin"))};X.complete&&X.naturalWidth!==0?oe():X.addEventListener("load",oe)}if(_==="audio"||_==="video"){var de=w;de.rr_mediaState=e.paused?"paused":"played",de.rr_mediaCurrentTime=e.currentTime,de.rr_mediaPlaybackRate=e.playbackRate,de.rr_mediaMuted=e.muted,de.rr_mediaLoop=e.loop,de.rr_mediaVolume=e.volume}if(y||(e.scrollLeft&&(w.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(w.rr_scrollTop=e.scrollTop)),m){var ke=e.getBoundingClientRect(),vt=ke.width,$e=ke.height;w={class:w.class,rr_width:""+vt+"px",rr_height:""+$e+"px"}}_==="iframe"&&!g(w.src)&&(e.contentDocument||(w.rr_src=w.src),delete w.src);var Pt;try{customElements.get(_)&&(Pt=!0)}catch{}return{type:pe.Element,tagName:_,attributes:w,childNodes:[],isSVG:wf(e)||void 0,needBlock:m,rootId:v,isCustom:Pt}}function ee(e){return e==null?"":e.toLowerCase()}function Rf(e,i){if(i.comment&&e.type===pe.Comment)return!0;
vendor: 6,389 bytes, line 1
1if(e.type===pe.Element){if(i.script&&(e.tagName==="script"||e.tagName==="link"&&(e.attributes.rel==="preload"&&e.attributes.as==="script"||e.attributes.rel==="modulepreload")||e.tagName==="link"&&e.attributes.rel==="prefetch"&&typeof e.attributes.href=="string"&&tu(e.attributes.href)==="js"))return!0;if(i.headFavicon&&(e.tagName==="link"&&e.attributes.rel==="shortcut icon"||e.tagName==="meta"&&(ee(e.attributes.name).match(/^msapplication-tile(image|color)$/)||ee(e.attributes.name)==="application-name"||ee(e.attributes.rel)==="icon"||ee(e.attributes.rel)==="apple-touch-icon"||ee(e.attributes.rel)==="shortcut icon")))return!0;if(e.tagName==="meta"){if(i.headMetaDescKeywords&&ee(e.attributes.name).match(/^description|keywords$/))return!0;if(i.headMetaSocial&&(ee(e.attributes.property).match(/^(og|twitter|fb):/)||ee(e.attributes.name).match(/^(og|twitter):/)||ee(e.attributes.name)==="pinterest"))return!0;if(i.headMetaRobots&&(ee(e.attributes.name)==="robots"||ee(e.attributes.name)==="googlebot"||ee(e.attributes.name)==="bingbot"))return!0;if(i.headMetaHttpEquiv&&e.attributes["http-equiv"]!==void 0)return!0;if(i.headMetaAuthorship&&(ee(e.attributes.name)==="author"||ee(e.attributes.name)==="generator"||ee(e.attributes.name)==="framework"||ee(e.attributes.name)==="publisher"||ee(e.attributes.name)==="progid"||ee(e.attributes.property).match(/^article:/)||ee(e.attributes.property).match(/^product:/)))return!0;if(i.headMetaVerification&&(ee(e.attributes.name)==="google-site-verification"||ee(e.attributes.name)==="yandex-verification"||ee(e.attributes.name)==="csrf-token"||ee(e.attributes.name)==="p:domain_verify"||ee(e.attributes.name)==="verify-v1"||ee(e.attributes.name)==="verification"||ee(e.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function Bt(e,i){var n=i.doc,t=i.mirror,r=i.blockClass,o=i.blockSelector,s=i.maskTextClass,a=i.maskTextSelector,u=i.skipChild,c=u===void 0?!1:u,l=i.inlineStylesheet,f=l===void 0?!0:l,p=i.maskInputOptions,g=p===void 0?{}:p,d=i.maskTextFn,y=i.maskInputFn,v=i.slimDOMOptions,m=i.dataURLOptions,_=m===void 0?{}:m,w=i.inlineImages,S=w===void 0?!1:w,C=i.recordCanvas,x=C===void 0?!1:C,A=i.onSerialize,O=i.onIframeLoad,T=i.iframeLoadTimeout,j=T===void 0?5e3:T,M=i.onStylesheetLoad,F=i.stylesheetLoadTimeout,K=F===void 0?5e3:F,Ie=i.keepIframeSrcFn,X=Ie===void 0?function(){return!1}:Ie,Oe=i.newlyAddedElement,be=Oe===void 0?!1:Oe,oe=i.cssCaptured,de=oe===void 0?!1:oe,ke=i.needsMask,vt=i.preserveWhiteSpace,$e=vt===void 0?!0:vt;if(!ke){var Pt=ke===void 0;ke=ou(e,s,a,Pt)}var Re=Ef(e,{doc:n,mirror:t,blockClass:r,blockSelector:o,needsMask:ke,inlineStylesheet:f,maskInputOptions:g,maskTextFn:d,maskInputFn:y,dataURLOptions:_,inlineImages:S,recordCanvas:x,keepIframeSrcFn:X,newlyAddedElement:be,cssCaptured:de});if(!Re)return null;var gt;t.hasNode(e)?gt=t.getId(e):Rf(Re,v)||!$e&&Re.type===pe.Text&&!Re.textContent.replace(/^\s+|\s+$/gm,"").length?gt=wr:gt=ru();var Y=Object.assign(Re,{id:gt});if(t.add(e,Y),gt===wr)return null;A&&A(e);var mt=!c;if(Y.type===pe.Element){mt=mt&&!Y.needBlock,delete Y.needBlock;var yt=ye.shadowRoot(e);yt&&hr(yt)&&(Y.isShadowHost=!0)}if((Y.type===pe.Document||Y.type===pe.Element)&&mt){v.headWhitespace&&Y.type===pe.Element&&Y.tagName==="head"&&($e=!1);var Dt={doc:n,mirror:t,blockClass:r,blockSelector:o,needsMask:ke,maskTextClass:s,maskTextSelector:a,skipChild:c,inlineStylesheet:f,maskInputOptions:g,maskTextFn:d,maskInputFn:y,slimDOMOptions:v,dataURLOptions:_,inlineImages:S,recordCanvas:x,preserveWhiteSpace:$e,onSerialize:A,onIframeLoad:O,iframeLoadTimeout:j,onStylesheetLoad:M,stylesheetLoadTimeout:K,keepIframeSrcFn:X,cssCaptured:!1};if(!(Y.type===pe.Element&&Y.tagName==="textarea"&&Y.attributes.value!==void 0)){Y.type===pe.Element&&Y.attributes._cssText!==void 0&&typeof Y.attributes._cssText=="string"&&(Dt.cssCaptured=!0);for(var ir=k(Array.from(ye.childNodes(e))),nr;!(nr=ir()).done;){var hn=nr.value,zr=Bt(hn,Dt);zr&&Y.childNodes.push(zr)}}var Qe=null;if(Za(e)&&(Qe=ye.shadowRoot(e)))for(var _t=k(Array.from(ye.childNodes(Qe))),Nt;!(Nt=_t()).done;){var or=Nt.value,Lt=Bt(or,Dt);Lt&&(hr(Qe)&&(Lt.isShadow=!0),Y.childNodes.push(Lt))}}var bt=ye.parentNode(e);return bt&&fr(bt)&&hr(bt)&&(Y.isShadow=!0),Y.type===pe.Element&&Y.tagName==="iframe"&&Cf(e,function(){var qe=e.contentDocument;if(qe&&O){var wt=Bt(qe,{doc:qe,mirror:t,blockClass:r,blockSelector:o,needsMask:ke,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:f,maskInputOptions:g,maskTextFn:d,maskInputFn:y,slimDOMOptions:v,dataURLOptions:_,inlineImages:S,recordCanvas:x,preserveWhiteSpace:$e,onSerialize:A,onIframeLoad:O,iframeLoadTimeout:j,onStylesheetLoad:M,stylesheetLoadTimeout:K,keepIframeSrcFn:X});wt&&O(e,wt)}},j),Y.type===pe.Element&&Y.tagName==="link"&&typeof Y.attributes.rel=="string"&&(Y.attributes.rel==="stylesheet"||Y.attributes.rel==="preload"&&typeof Y.attributes.href=="string"&&tu(Y.attributes.href)==="css")&&If(e,function(){if(M){var qe=Bt(e,{doc:n,mirror:t,blockClass:r,blockSelector:o,needsMask:ke,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:f,maskInputOptions:g,maskTextFn:d,maskInputFn:y,slimDOMOptions:v,dataURLOptions:_,inlineImages:S,recordCanvas:x,preserveWhiteSpace:$e,onSerialize:A,onIframeLoad:O,iframeLoadTimeout:j,onStylesheetLoad:M,stylesheetLoadTimeout:K,keepIframeSrcFn:X});qe&&M(e,qe)}},K),Y}function Af(e,i){var n=i||{},t=n.mirror,r=t===void 0?new eu:t,o=n.blockClass,s=o===void 0?"rr-block":o,a=n.blockSelector,u=a===void 0?null:a,c=n.maskTextClass,l=c===void 0?"rr-mask":c,f=n.maskTextSelector,p=f===void 0?null:f,g=n.inlineStylesheet,d=g===void 0?!0:g,y=n.inlineImages,v=y===void 0?!1:y,m=n.recordCanvas,_=m===void 0?!1:m,w=n.maskAllInputs,S=w===void 0?!1:w,C=n.maskTextFn,x=n.maskInputFn,A=n.slimDOM,O=A===void 0?!1:A,T=n.dataURLOptions,j=n.preserveWhiteSpace,M=n.onSerialize,F=n.onIframeLoad,K=n.iframeLoadTimeout,Ie=n.onStylesheetLoad,X=n.stylesheetLoadTimeout,Oe=n.keepIframeSrcFn,be=Oe===void 0?function(){return!1}:Oe,oe=S===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:S===!1?{password:!0}:S,de=O===!0||O==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:O==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}
vendor: 14,083 bytes, lines 1-18
1:O===!1?{}:O;return Bt(e,{doc:e,mirror:r,blockClass:s,blockSelector:u,maskTextClass:l,maskTextSelector:p,skipChild:!1,inlineStylesheet:d,maskInputOptions:oe,maskTextFn:C,maskInputFn:x,slimDOMOptions:de,dataURLOptions:T,inlineImages:v,recordCanvas:_,preserveWhiteSpace:j,onSerialize:M,onIframeLoad:F,iframeLoadTimeout:K,onStylesheetLoad:Ie,stylesheetLoadTimeout:X,keepIframeSrcFn:be,newlyAddedElement:!1})}function Mf(e){if(e.__esModule)return e;var i=e.default;if(typeof i=="function"){var n=function t(){return L(this,t)?Reflect.construct(i,arguments,this.constructor):i.apply(this,arguments)};n.prototype=i.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var Do={exports:{}},re=String,su=function(){return{isColorSupported:!1,reset:re,bold:re,dim:re,italic:re,underline:re,inverse:re,hidden:re,strikethrough:re,black:re,red:re,green:re,yellow:re,blue:re,magenta:re,cyan:re,white:re,gray:re,bgBlack:re,bgRed:re,bgGreen:re,bgYellow:re,bgBlue:re,bgMagenta:re,bgCyan:re,bgWhite:re}};Do.exports=su();Do.exports.createColors=su;var Tf=Do.exports,Pf={},Df=Object.freeze(Object.defineProperty({__proto__:null,default:Pf},Symbol.toStringTag,{value:"Module"})),ue=Mf(Df),Ns=Tf,Ls=ue,Un=function(e){_e(i,e);function i(t,r,o,s,a,u){var c;return c=e.call(this,t)||this,c.name="CssSyntaxError",c.reason=t,a&&(c.file=a),s&&(c.source=s),u&&(c.plugin=u),typeof r<"u"&&typeof o<"u"&&(typeof r=="number"?(c.line=r,c.column=o):(c.line=r.line,c.column=r.column,c.endLine=o.line,c.endColumn=o.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,i),c}var n=i.prototype;return n.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},n.showSourceCode=function(r){var o=this;if(!this.source)return"";var s=this.source;r==null&&(r=Ns.isColorSupported),Ls&&r&&(s=Ls(s));var a=s.split(/\r?\n/),u=Math.max(this.line-3,0),c=Math.min(this.line+2,a.length),l=String(c).length,f,p;if(r){var g=Ns.createColors(!0),d=g.bold,y=g.gray,v=g.red;f=function(m){return d(v(m))},p=function(m){return y(m)}}else f=p=function(m){return m};return a.slice(u,c).map(function(m,_){var w=u+1+_,S=" "+(" "+w).slice(-l)+" | ";if(w===o.line){var C=p(S.replace(/\d/g," "))+m.slice(0,o.column-1).replace(/[^\t]/g," ");return f(">")+p(S)+m+` 2 `+C+f("^")}return" "+p(S)+m}).join(` 3`)},n.toString=function(){var r=this.showSourceCode();return r&&(r=` 4 5`+r+` 6`),this.name+": "+this.message+r},i}(Si(Error)),No=Un;Un.default=Un;var ct={};ct.isClean=Symbol("isClean");ct.my=Symbol("my");var $s={after:` 7`,beforeClose:` 8`,beforeComment:` 9`,beforeDecl:` 10`,beforeOpen:" ",beforeRule:` 11`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function Nf(e){return e[0].toUpperCase()+e.slice(1)}var Bn=function(){function e(n){this.builder=n}var i=e.prototype;return i.atrule=function(t,r){var o="@"+t.name,s=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?o+=t.raws.afterName:s&&(o+=" "),t.nodes)this.block(t,o+s);else{var a=(t.raws.between||"")+(r?";":"");this.builder(o+s+a,t)}},i.beforeAfter=function(t,r){var o;t.type==="decl"?o=this.raw(t,null,"beforeDecl"):t.type==="comment"?o=this.raw(t,null,"beforeComment"):r==="before"?o=this.raw(t,null,"beforeRule"):o=this.raw(t,null,"beforeClose");for(var s=t.parent,a=0;s&&s.type!=="root";)a+=1,s=s.parent;if(o.includes(` 12`)){var u=this.raw(t,null,"indent");if(u.length)for(var c=0;c<a;c++)o+=u}return o},i.block=function(t,r){var o=this.raw(t,"between","beforeOpen");this.builder(r+o+"{",t,"start");var s;t.nodes&&t.nodes.length?(this.body(t),s=this.raw(t,"after")):s=this.raw(t,"after","emptyBody"),s&&this.builder(s),this.builder("}",t,"end")},i.body=function(t){for(var r=t.nodes.length-1;r>0&&t.nodes[r].type==="comment";)r-=1;for(var o=this.raw(t,"semicolon"),s=0;s<t.nodes.length;s++){var a=t.nodes[s],u=this.raw(a,"before");u&&this.builder(u),this.stringify(a,r!==s||o)}},i.comment=function(t){var r=this.raw(t,"left","commentLeft"),o=this.raw(t,"right","commentRight");this.builder("/*"+r+t.text+o+"*/",t)},i.decl=function(t,r){var o=this.raw(t,"between","colon"),s=t.prop+o+this.rawValue(t,"value");t.important&&(s+=t.raws.important||" !important"),r&&(s+=";"),this.builder(s,t)},i.document=function(t){this.body(t)},i.raw=function(t,r,o){var s;if(o||(o=r),r&&(s=t.raws[r],typeof s<"u"))return s;var a=t.parent;if(o==="before"&&(!a||a.type==="root"&&a.first===t||a&&a.type==="document"))return"";if(!a)return $s[o];var u=t.root();if(u.rawCache||(u.rawCache={}),typeof u.rawCache[o]<"u")return u.rawCache[o];if(o==="before"||o==="after")return this.beforeAfter(t,o);var c="raw"+Nf(o);return this[c]?s=this[c](u,t):u.walk(function(l){if(s=l.raws[r],typeof s<"u")return!1}),typeof s>"u"&&(s=$s[o]),u.rawCache[o]=s,s},i.rawBeforeClose=function(t){var r;return t.walk(function(o){if(o.nodes&&o.nodes.length>0&&typeof o.raws.after<"u")return r=o.raws.after,r.includes(` 13`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r},i.rawBeforeComment=function(t,r){var o;return t.walkComments(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 14`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(r,null,"beforeDecl"):o&&(o=o.replace(/\S/g,"")),o},i.rawBeforeDecl=function(t,r){var o;return t.walkDecls(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 15`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(r,null,"beforeRule"):o&&(o=o.replace(/\S/g,"")),o},i.rawBeforeOpen=function(t){var r;return t.walk(function(o){if(o.type!=="decl"&&(r=o.raws.between,typeof r<"u"))return!1}),r},i.rawBeforeRule=function(t){var r;return t.walk(function(o){if(o.nodes&&(o.parent!==t||t.first!==o)&&typeof o.raws.before<"u")return r=o.raws.before,r.includes(` 16`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r},i.rawColon=function(t){var r;return t.walkDecls(function(o){if(typeof o.raws.between<"u")return r=o.raws.between.replace(/[^\s:]/g,""),!1}),r},i.rawEmptyBody=function(t){var r;return t.walk(function(o){if(o.nodes&&o.nodes.length===0&&(r=o.raws.after,typeof r<"u"))return!1}),r},i.rawIndent=function(t){if(t.raws.indent)return t.raws.indent;var r;return t.walk(function(o){var s=o.parent;if(s&&s!==t&&s.parent&&s.parent===t&&typeof o.raws.before<"u"){var a=o.raws.before.split(` 17`);return r=a[a.length-1],r=r.replace(/\S/g,""),!1}}),r},i.rawSemicolon=function(t){var r;return t.walk(function(o){if(o.nodes&&o.nodes.length&&o.last.type==="decl"&&(r=o.raws.semicolon,typeof r<"u"))return!1}),r},i.rawValue=function(t,r){var o=t[r],s=t.raws[r];return s&&s.value===o?s.raw:o},i.root=function(t){this.body(t),t.raws.after&&this.builder(t.raws.after)},i.rule=function(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")},i.stringify=function(t,r){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,r)},e}(),au=Bn;Bn.default=Bn;var Lf=au;function zn(e,i){var n=new Lf(i);n.stringify(e)}var Ki=zn;zn.default=zn;var Vr=ct.isClean,$f=ct.my,Ff=No,Uf=au,Bf=Ki;function Wn(e,i){var n=new e.constructor;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t!=="proxyCache"){var r=e[t],o=typeof r>"u"?"undefined":z(r);t==="parent"&&o==="object"?i&&(n[t]=i):t==="source"?n[t]=r:Array.isArray(r)?n[t]=r.map(function(s){return Wn(s,n)}):(o==="object"&&r!==null&&(r=Wn(r)),n[t]=r)}return n}var Gn=function(){function e(n){n===void 0&&(n={}),this.raws={},this[Vr]=!1,this[$f]=!0;for(var t in n)if(t==="nodes"){this.nodes=[];for(var r=k(n[t]),o;!(o=r()).done;){var s=o.value;typeof s.clone=="function"?this.append(s.clone()):this.append(s)}}else this[t]=n[t]}var i=e.prototype;return i.addToError=function(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){var r=this.source;t.stack=t.stack.replace(/\n\s{4}at /,"$&"+r.input.from+":"+r.start.line+":"+r.start.column+"$&")}return t},i.after=function(t){return this.parent.insertAfter(this,t),this},i.assign=function(t){t===void 0&&(t={});for(var r in t)this[r]=t[r];return this},i.before=function(t){return this.parent.insertBefore(this,t),this},i.cleanRaws=function(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between},i.clone=function(t){t===void 0&&(t={});var r=Wn(this);for(var o in t)r[o]=t[o];return r},i.cloneAfter=function(t){t===void 0&&(t={});var r=this.clone(t);return this.parent.insertAfter(this,r),r},i.cloneBefore=function(t){t===void 0&&(t={});var r=this.clone(t);return this.parent.insertBefore(this,r),r},i.error=function(t,r){if(r===void 0&&(r={}),this.source){var o=this.rangeBy(r),s=o.end,a=o.start;return this.source.input.error(t,{column:a.column,line:a.line},{column:s.column,line:s.line},r)}return new Ff(t)},i.getProxyProcessor=function(){return{get:function(r,o){return o==="proxyOf"?r:o==="root"?function(){return r.root().toProxy()}:r[o]},set:function(r,o,s){return r[o]===s||(r[o]=s,(o==="prop"||o==="value"||o==="name"||o==="params"||o==="important"||o==="text")&&r.markDirty()),!0}}},i.markDirty=function(){if(this[Vr]){this[Vr]=!1;for(var t=this;t=t.parent;)t[Vr]=!1}},i.next=function(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t+1]}},i.positionBy=function(t,r){var o=this.source.start;if(t.index)o=this.positionInside(t.index,r);else if(t.word){r=this.toString();var s=r.indexOf(t.word);s!==-1&&(o=this.positionInside(s,r))}return o},i.positionInside=function(t,r){for(var o=r||this.toString(),s=this.source.start.column,a=this.source.start.line,u=0;u<t;u++)o[u]===` 18`?(s=1,a+=1):s+=1;return{column:s,line:a}},i.prev=function(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t-1]}},i.rangeBy=function(t){var r={column:this.source.start.column,line:this.source.start.line},o=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:r.column+1,line:r.line};if(t.word){var s=this.toString(),a=s.indexOf(t.word);a!==-1&&(r=this.positionInside(a,s),o=this.positionInside(a+t.word.length,s))}else t.start?r={column:t.start.column,line:t.start.line}:t.index&&(r=this.positionInside(t.index)),t.end?o={column:t.end.column,line:t.end.line}:typeof t.endIndex=="number"?o=this.positionInside(t.endIndex):t.index&&(o=this.positionInside(t.index+1));return(o.line<r.line||o.line===r.line&&o.column<=r.column)&&(o={column:r.column+1,line:r.line}),{end:o,start:r}},i.raw=function(t,r){var o=new Uf;return o.raw(this,t,r)},i.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},i.replaceWith=function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];if(this.parent){for(var s=this,a=!1,u=k(r),c;!(c=u()).done;){var l=c.value;l===this?a=!0:a?(this.parent.insertAfter(s,l),s=l):this.parent.insertBefore(s,l)}a||this.remove()}return this},i.root=function(){for(var t=this;t.parent&&t.parent.type!=="document";)t=t.parent;return t},i.toJSON=function(t,r){var o={},s=r==null;r=r||new Map;var a=0;for(var u in this)if(Object.prototype.hasOwnProperty.call(this,u)&&!(u==="parent"||u==="proxyCache")){var c=this[u];if(Array.isArray(c))o[u]=c.map(function(f){return(typeof f>"u"?"undefined":z(f))==="object"&&f.toJSON?f.toJSON(null,r):f});else if((typeof c>"u"?"undefined":z(c))==="object"&&c.toJSON)o[u]=c.toJSON(null,r);else if(u==="source"){var l=r.get(c.input);l==null&&(l=a,r.set(c.input,a),a++),o[u]={end:c.end,inputId:l,start:c.start}}else o[u]=c}return s&&(o.inputs=[].concat(r.keys()).map(function(f){return f.toJSON()})),o},i.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},i.toString=function(t){t===void 0&&(t=Bf),t.stringify&&(t=t.stringify);var r="";return t(this,function(o){r+=o}),r},i.warn=function(t,r,o){var s={node:this};for(var a in o)s[a]=o[a];return t.warn(r,s)},ge(e,[{key:"proxyOf",get:function(){return this}}]),e}(),Xi=Gn;Gn.default=Gn;var zf=Xi,qn=function(e){_e(i,e);function i(n){var t;return n&&typeof n.value<"u"&&typeof n.value!="string"&&(n=H({},n,{value:String(n.value)})),t=e.call(this,n)||this,t.type="decl",t}return ge(i,[{key:"variable",get:function(){return this.prop.startsWith("--")||this.prop[0]==="$"}}]),i}(zf),Ji=qn;qn.default=qn;var Wf="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Gf=function(e){e===void 0&&(e=21);for(var i="",n=e;n--;)i+=Wf[Math.random()*64|0];return i},qf={nanoid:Gf},Fs=ue.SourceMapConsumer,Us=ue.SourceMapGenerator,Vf=ue.existsSync,jf=ue.readFileSync,mn=ue.dirname,Hf=ue.join;function Yf(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}var Vn=function(){function e(n,t){if(t.map!==!1){this.loadAnnotation(n),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,o=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=mn(this.mapFile)),o&&(this.text=o)}}var i=e.prototype;return i.consumer=function(){return this.consumerCache||(this.consumerCache=new Fs(this.text)),this.consumerCache},i.decodeInline=function(t){var r=/^data:application\/json;charset=utf-?8;base64,/,o=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,a=/^data:application\/json,/;if(s.test(t)||a.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(r.test(t)||o.test(t))return Yf(t.substr(RegExp.lastMatch.length));var u=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+u)},i.getAnnotationURL=function(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},i.isMap=function(t){return(typeof t>"u"?"undefined":z(t))!=="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)},i.loadAnnotation=function(t){var r=t.match(/\/\*\s*# sourceMappingURL=/gm);
vendor: 1,187 bytes, line 18
18if(r){var o=t.lastIndexOf(r.pop()),s=t.indexOf("*/",o);o>-1&&s>-1&&(this.annotation=this.getAnnotationURL(t.substring(o,s)))}},i.loadFile=function(t){if(this.root=mn(t),Vf(t))return this.mapFile=t,jf(t,"utf-8").toString().trim()},i.loadMap=function(t,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){var o=r(t);if(o){var s=this.loadFile(o);if(!s)throw new Error("Unable to load previous source map: "+o.toString());return s}}else{if(L(r,Fs))return Us.fromSourceMap(r).toString();if(L(r,Us))return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var a=this.annotation;return t&&(a=Hf(mn(t),a)),this.loadFile(a)}}},i.startWith=function(t,r){return t?t.substr(0,r.length)===r:!1},i.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),uu=Vn;Vn.default=Vn;var Kf=ue.SourceMapConsumer,Xf=ue.SourceMapGenerator,Bs=ue.fileURLToPath,jr=ue.pathToFileURL,jn=ue.isAbsolute,Hn=ue.resolve,Jf=qf.nanoid,yn=ue,zs=No,Zf=uu,_n=Symbol("fromOffsetCac
18he"),Qf=!!(Kf&&Xf),Ws=!!(Hn&&jn),xi=function(){function e(n,t){if(t===void 0&&(t={}),n===null||typeof n>"u"||(typeof n>"u"?"undefined":z(n))==="object"&&!n.toString)throw new Error("PostCSS received "+n+" instead of CSS string");if(this.css=n.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Ws||/^\w+:\/\//.test(t.from)||jn(t.from)?this.file=t.from:this.file=Hn(t.from)),Ws&&Qf){var r=new Zf(this.css,t);if(r.text){this.map=r;var o=r.consumer().file;!this.file&&o&&(this.file=this.mapResolve(o))}}this.file||(this.id="<input css "+Jf(6)+">"),this.map&&(this.map.file=this.from)}var i=e.prototype;return i.error=function(t,r,o,s){s===void 0&&(s={});var a,u,c;if(r&&(typeof r>"u"?"undefined":z(r))==="object"){var l=r,f=o;if(typeof l.offset=="number"){var p=this.fromOffset(l.offset);r=p.line,o=p.col}else r=l.line,o=l.column;if(typeof f.offset=="number"){var g=this.fromOffset(f.offset);u=g.line,c=g.col}else u=f.line,c=f.column}else if(!o){var d=this.fromOffset(r);r=d.line,o=d.col}var y=this.origin(r,o,u,c);return y?a=new zs(t,y.endLine===void 0?y.line:{column:y.column,line:y.line},y.endLine===void 0?y.column:{column:y.endColumn,line:y.endLine},y.source,y.file,s.plugin):a=new zs(t,u===void 0?r:{column:o,line:r},u===void 0?o:{column:c,line:u},this.css,this.file,s.plugin),a.input={column:o,endColumn:c,endLine:u,line:r,source:this.css},this.file&&(jr&&(a.input.url=jr(this.file).toString()),a.input.file=this.file),a},i.fromOffset=function(t){var r,o;if(this[_n])o=this[_n];else{var s=this.css.split(` 19`);o=new Array(s.length);for(var a=0,u=0,c=s.length;u<c;u++)o[u]=a,a+=s[u].length+1;this[_n]=o}r=o[o.length-1];var l=0;if(t>=r)l=o.length-1;else for(var f=o.length-2,p;l<f;)if(p=l+(f-l>>1),t<o[p])f=p-1;else if(t>=o[p+1])l=p+1;else{l=p;break}return{col:t-o[l]+1,line:l+1}},i.mapResolve=function(t){return/^\w+:\/\//.test(t)?t:Hn(this.map.consumer().sourceRoot||this.map.root||".",t)},i.origin=function(t,r,o,s){if(!this.map)return!1;var a=this.map.consumer(),u=a.originalPositionFor({column:r,line:t});if(!u.source)return!1;var c;typeof o=="number"&&(c=a.originalPositionFor({column:s,line:o}));var l;jn(u.source)?l=jr(u.source):l=new URL(u.source,this.map.consumer().sourceRoot||jr(this.map.mapFile));var f={column:u.column,endColumn:c&&c.column,endLine:c&&c.line,line:u.line,url:l.toString()};if(l.protocol==="file:")if(Bs)f.file=Bs(l);else throw new Error("file: protocol is not available in this PostCSS build");var p=a.sourceContentFor(u.source);return p&&(f.source=p),f},i.toJSON=function(){for(var t={},r=0,o=["hasBOM","css","file","id"];r<o.length;r++){var s=o[r];this[s]!=null&&(t[s]=this[s])}return this.map&&(t.map=H({},this.map),t.map.consumerCache&&(t.map.consumerCache=void 0)),t},ge(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),Zi=xi;xi.default=xi;yn&&yn.registerInput&&yn.registerInput(xi);var cu=ue.SourceMapConsumer,vi=ue.SourceMapGenerator,gi=ue.dirname,lu=ue.relative,fu=ue.resolve,hu=ue.sep,Gs=ue.pathToFileURL,eh=Zi,th=!!(cu&&vi),rh=!!(gi&&fu&&lu&&hu),ih=function(){function e(n,t,r,o){this.stringify=n,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=o,this.originalCSS=o,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var i=e.prototype;return i.addAnnotation=function(){var t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";var r=` 20`;this.css.includes(`\r 21`)&&(r=`\r 22`),this.css+=r+"/*# sourceMappingURL="+t+" */"},i.applyPrevMaps=function(){for(var t=k(this.previous()),r;!(r=t()).done;){var o=r.value,s=this.toUrl(this.path(o.file)),a=o.root||gi(o.file),u=void 0;this.mapOpts.sourcesContent===!1?(u=new cu(o.text),u.sourcesContent&&(u.sourcesContent=null)):u=o.consumer(),this.map.applySourceMap(u,s,this.toUrl(this.path(a)))}},i.clearAnnotation=function(){if(this.mapOpts.annotation!==!1)if(this.root)for(var t,r=this.root.nodes.length-1;r>=0;r--)t=this.root.nodes[r],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(r);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},i.generate=function(){if(this.clearAnnotation(),rh&&th&&this.isMap())return this.generateMap();var t="";return this.stringify(this.root,function(r){t+=r}),[t]},i.generateMap=function(){if(this.root)this.generateString();else if(this.previous().length===1){var t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=vi.fromSourceMap(t,{ignoreInvalidMapping:!0})}
vendor: 4,462 bytes, lines 22-23
22else this.map=new vi({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},i.generateString=function(){var t=this;this.css="",this.map=new vi({file:this.outputFile(),ignoreInvalidMapping:!0});var r=1,o=1,s="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""},u,c;this.stringify(this.root,function(l,f,p){if(t.css+=l,f&&p!=="end"&&(a.generated.line=r,a.generated.column=o-1,f.source&&f.source.start?(a.source=t.sourcePath(f),a.original.line=f.source.start.line,a.original.column=f.source.start.column-1,t.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,t.map.addMapping(a))),u=l.match(/\n/g),u?(r+=u.length,c=l.lastIndexOf(` 23`),o=l.length-c):o+=l.length,f&&p!=="start"){var g=f.parent||{raws:{}},d=f.type==="decl"||f.type==="atrule"&&!f.nodes;(!d||f!==g.last||g.raws.semicolon)&&(f.source&&f.source.end?(a.source=t.sourcePath(f),a.original.line=f.source.end.line,a.original.column=f.source.end.column-1,a.generated.line=r,a.generated.column=o-2,t.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,a.generated.line=r,a.generated.column=o-1,t.map.addMapping(a)))}})},i.isAnnotation=function(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(function(t){return t.annotation}):!0},i.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(function(r){return r.inline}):!0},i.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},i.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(function(t){return t.withContent()}):!0},i.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},i.path=function(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;var r=this.memoizedPaths.get(t);if(r)return r;var o=this.opts.to?gi(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(o=gi(fu(o,this.mapOpts.annotation)));var s=lu(o,t);return this.memoizedPaths.set(t,s),s},i.previous=function(){var t=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(o){if(o.source&&o.source.input.map){var s=o.source.input.map;t.previousMaps.includes(s)||t.previousMaps.push(s)}});else{var r=new eh(this.originalCSS,this.opts);r.map&&this.previousMaps.push(r.map)}return this.previousMaps},i.setSourcesContent=function(){var t=this,r={};if(this.root)this.root.walk(function(s){if(s.source){var a=s.source.input.from;if(a&&!r[a]){r[a]=!0;var u=t.usesFileUrls?t.toFileUrl(a):t.toUrl(t.path(a));t.map.setSourceContent(u,s.source.input.css)}}});else if(this.css){var o=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(o,this.css)}},i.sourcePath=function(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))},i.toBase64=function(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))},i.toFileUrl=function(t){var r=this.memoizedFileURLs.get(t);if(r)return r;if(Gs){var o=Gs(t).toString();return this.memoizedFileURLs.set(t,o),o}else throw new Error("`map.absolute` option is not available in this PostCSS build")},i.toUrl=function(t){var r=this.memoizedURLs.get(t);if(r)return r;hu==="\\"&&(t=t.replace(/\\/g,"/"));var o=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,o),o},e}(),pu=ih,nh=Xi,Yn=function(e){_e(i,e);function i(n){var t;return t=e.call(this,n)||this,t.type="comment",t}return i}(nh),Qi=Yn;Yn.default=Yn;var du=ct.isClean,vu=ct.my,gu=Ji,mu=Qi,oh=Xi,yu,Lo,$o,_u;function bu(e){return e.map(function(i){return i.nodes&&(i.nodes=bu(i.nodes)),delete i.source,i})}function wu(e){if(e[du]=!1,e.proxyOf.nodes)for(var i=k(e.proxyOf.nodes),n;!(n=i()).done;){var t=n.value;wu(t)}}
vendor: 2,240 bytes, line 23
23var He=function(e){_e(i,e);function i(){return e.apply(this,arguments)||this}var n=i.prototype;return n.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];for(var a=k(o),u;!(u=a()).done;)for(var c=u.value,l=this.normalize(c,this.last),f=k(l),p;!(p=f()).done;){var g=p.value;this.proxyOf.nodes.push(g)}return this.markDirty(),this},n.cleanRaws=function(r){if(e.prototype.cleanRaws.call(this,r),this.nodes)for(var o=k(this.nodes),s;!(s=o()).done;){var a=s.value;a.cleanRaws(r)}},n.each=function(r){if(this.proxyOf.nodes){for(var o=this.getIterator(),s,a;this.indexes[o]<this.proxyOf.nodes.length&&(s=this.indexes[o],a=r(this.proxyOf.nodes[s],s),a!==!1);)this.indexes[o]+=1;return delete this.indexes[o],a}},n.every=function(r){return this.nodes.every(r)},n.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var r=this.lastEach;return this.indexes[r]=0,r},n.getProxyProcessor=function(){return{get:function(o,s){return s==="proxyOf"?o:o[s]?s==="each"||typeof s=="string"&&s.startsWith("walk")?function(){for(var a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];var l;return(l=o)[s].apply(l,[].concat(u.map(function(f){return typeof f=="function"?function(p,g){return f(p.toProxy(),g)}:f})))}:s==="every"||s==="some"?function(a){return o[s](function(u){for(var c=arguments.length,l=new Array(c>1?c-1:0),f=1;f<c;f++)l[f-1]=arguments[f];return a.apply(void 0,[].concat([u.toProxy()],l))})}:s==="root"?function(){return o.root().toProxy()}:s==="nodes"?o.nodes.map(function(a){return a.toProxy()}):s==="first"||s==="last"?o[s].toProxy():o[s]:o[s]},set:function(o,s,a){return o[s]===a||(o[s]=a,(s==="name"||s==="params"||s==="selector")&&o.markDirty()),!0}}},n.index=function(r){return typeof r=="number"?r:(r.proxyOf&&(r=r.proxyOf),this.proxyOf.nodes.indexOf(r))},n.insertAfter=function(r,o){var s=this.index(r),a=this.normalize(o,this.proxyOf.nodes[s]).reverse();s=this.index(r);for(var u=k(a),c;!(c=u()).done;){var l=c.value;this.proxyOf.nodes.splice(s+1,0,l)}var f;for(var p in this.indexes)f=this.indexes[p],s<f&&(this.indexes[p]=f+a.length);return this.markDirty(),this},n.insertBefore=function(r,o){var s=this.index(r),a=s===0?"prepe
23nd":!1,u=this.normalize(o,this.proxyOf.nodes[s],a).reverse();s=this.index(r);for(var c=k(u),l;!(l=c()).done;){var f=l.value;this.proxyOf.nodes.splice(s,0,f)}var p;for(var g in this.indexes)p=this.indexes[g],s<=p&&(this.indexes[g]=p+u.length);return this.markDirty(),this},n.normalize=function(r,o){var s=this;if(typeof r=="string")r=bu(yu(r).nodes);else if(typeof r>"u")r=[];else if(Array.isArray(r)){r=r.slice(0);for(var a=k(r),u;!(u=a()).done;){var c=u.value;c.parent&&c.parent.removeChild(c,"ignore")}}else if(r.type==="root"&&this.type!=="document"){r=r.nodes.slice(0);for(var l=k(r),f;!(f=l()).done;){var p=f.value;p.parent&&p.parent.removeChild(p,"ignore")}}else if(r.type)r=[r];else if(r.prop){if(typeof r.value>"u")throw new Error("Value field is missed in node creation");typeof r.value!="string"&&(r.value=String(r.value)),r=[new gu(r)]}else if(r.selector)r=[new Lo(r)];else if(r.name)r=[new $o(r)];else if(r.text)r=[new mu(r)];else throw new Error("Unknown node type in node creation");var g=r.map(function(d){return d[vu]||i.rebuild(d),d=d.proxyOf,d.parent&&d.parent.removeChild(d),d[du]&&wu(d),typeof d.raws.before>"u"&&o&&typeof o.raws.before<"u"&&(d.raws.before=o.raws.before.replace(/\S/g,"")),d.parent=s.proxyOf,d});return g},n.prepend=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];o=o.reverse();for(var a=k(o),u;!(u=a()).done;){for(var c=u.value,l=this.normalize(c,this.first,"prepend").reverse(),f=k(l),p;!(p=f()).done;){var g=p.value;this.proxyOf.nodes.unshift(g)}for(var d in this.indexes)this.indexes[d]=this.indexes[d]+l.length}return this.markDirty(),this},n.push=function(r){return r.parent=this,this.proxyOf.nodes.push(r),this},n.removeAll=function(){for(var r=k(this.proxyOf.nodes),o;!(o=r()).done;){var s=o.value;s.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},n.removeChild=function(r){r=this.index(r),this.proxyOf.nodes[r].parent=void 0,this.proxyOf.nodes.splice(r,1);var o;for(var s in this.indexes)o=this.indexes[s],o>=r&&(this.indexes[s]=o-1);return this.markDirty(),this},n.replaceValues=function(r,o,s){return s||(s=o,o={}),this.walkDecls(function(a){o.props&&!o.props.includes(a.prop)||o.fast&&!a.value.includes(o.fast)||(a.value=a.value.replace(r,s))}),this.markDirty(),this},n.some=function(r){return this.nodes.some(r)},n.walk=function(r){return this.each(function(o,s){var a;try{a=r(o,s)}catch(u){throw o.addToError(u)}return a!==!1&&o.walk&&(a=o.walk(r)),a})},n.walkAtRules=function(r,o){return o?L(r,RegExp)?this.walk(function(s,a){if(s.type==="atrule"&&r.test(s.name))return o(s,a)}):this.walk(function(s,a){if(s.type==="atrule"&&s.name===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="atrule")return o(s,a)}))},n.walkComments=function(r){return this.walk(function(o,s){if(o.type==="comment")return r(o,s)})},n.walkDecls=function(r,o){return o?L(r,RegExp)?this.walk(function(s,a){if(s.type==="decl"&&r.test(s.prop))return o(s,a)}):this.walk(function(s,a){if(s.type==="decl"&&s.prop===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="decl")return o(s,a)}))},n.walkRules=function(r,o){return o?L(r,RegExp)?this.walk(function(s,a){if(s.type==="rule"&&r.test(s.selector))return o(s,a)}):this.walk(function(s,a){if(s.type==="rule"&&s.selector===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="rule")return o(s,a)}))},ge(i,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),i}(oh);He.registerParse=function(e){yu=e};He.registerRule=function(e){Lo=e};He.registerAtRule=function(e){$o=e};He.registerRoot=function(e){_u=e};var Ot=He;He.default=He;He.rebuild=function(e){e.type==="atrule"?Object.setPrototypeOf(e,$o.prototype):e.type==="rule"?Object.setPrototypeOf(e,Lo.prototype):e.type==="decl"?Object.setPrototypeOf(e,gu.prototype):e.type==="comment"?Object.setPrototypeOf(e,mu.prototype):e.type==="root"&&Object.setPrototypeOf(e,_u.prototype),e[vu]=!0,e.nodes&&e.nodes.forEach(function(i){He.rebuild(i)})};var sh=Ot,Su,Cu,Sr=function(e){_e(i,e);function i(t){var r;return r=e.call(this,H({type:"document"},t))||this,r.nodes||(r.nodes=[]),r}var n=i.prototype;return n.toResult=function(r){r===void 0&&(r={});var o=new Su(new Cu,this,r);return o.stringify()},i}(sh);
vendor: 39,478 bytes, lines 23-41
23Sr.registerLazyResult=function(e){Su=e};Sr.registerProcessor=function(e){Cu=e};var Fo=Sr;Sr.default=Sr;var Kn=function(){function e(n,t){if(t===void 0&&(t={}),this.type="warning",this.text=n,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var o in t)this[o]=t[o]}var i=e.prototype;return i.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),Iu=Kn;Kn.default=Kn;var ah=Iu,Xn=function(){function e(n,t,r){this.processor=n,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var i=e.prototype;return i.toString=function(){return this.css},i.warn=function(t,r){r===void 0&&(r={}),r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);var o=new ah(t,r);return this.messages.push(o),o},i.warnings=function(){return this.messages.filter(function(t){return t.type==="warning"})},ge(e,[{key:"content",get:function(){return this.css}}]),e}(),Uo=Xn;Xn.default=Xn;var bn=39,qs=34,Hr=92,Vs=47,Yr=10,ar=32,Kr=12,Xr=9,Jr=13,uh=91,ch=93,lh=40,fh=41,hh=123,ph=125,dh=59,vh=42,gh=58,mh=64,Zr=/[\t\n\f\r "#'()/;[\\\]{}]/g,Qr=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,yh=/.[\r\n"'(/\\]/,js=/[\da-f]/i,_h=function(i,n){n===void 0&&(n={});var t=i.css.valueOf(),r=n.ignoreErrors,o,s,a,u,c,l,f,p,g,d,y=t.length,v=0,m=[],_=[];function w(){return v}function S(O){throw i.error("Unclosed "+O,v)}function C(){return _.length===0&&v>=y}function x(O){if(_.length)return _.pop();if(!(v>=y)){var T=O?O.ignoreUnclosed:!1;switch(o=t.charCodeAt(v),o){case Yr:case ar:case Xr:case Jr:case Kr:{s=v;do s+=1,o=t.charCodeAt(s);while(o===ar||o===Yr||o===Xr||o===Jr||o===Kr);d=["space",t.slice(v,s)],v=s-1;break}case uh:case ch:case hh:case ph:case gh:case dh:case fh:{var j=String.fromCharCode(o);d=[j,j,v];break}case lh:{if(p=m.length?m.pop()[1]:"",g=t.charCodeAt(v+1),p==="url"&&g!==bn&&g!==qs&&g!==ar&&g!==Yr&&g!==Xr&&g!==Kr&&g!==Jr){s=v;do{if(l=!1,s=t.indexOf(")",s+1),s===-1)if(r||T){s=v;break}else S("bracket");for(f=s;t.charCodeAt(f-1)===Hr;)f-=1,l=!l}while(l);d=["brackets",t.slice(v,s+1),v,s],v=s}else s=t.indexOf(")",v+1),u=t.slice(v,s+1),s===-1||yh.test(u)?d=["(","(",v]:(d=["brackets",u,v,s],v=s);break}case bn:case qs:{a=o===bn?"'":'"',s=v;do{if(l=!1,s=t.indexOf(a,s+1),s===-1)if(r||T){s=v+1;break}else S("string");for(f=s;t.charCodeAt(f-1)===Hr;)f-=1,l=!l}while(l);d=["string",t.slice(v,s+1),v,s],v=s;break}case mh:{Zr.lastIndex=v+1,Zr.test(t),Zr.lastIndex===0?s=t.length-1:s=Zr.lastIndex-2,d=["at-word",t.slice(v,s+1),v,s],v=s;break}case Hr:{for(s=v,c=!0;t.charCodeAt(s+1)===Hr;)s+=1,c=!c;if(o=t.charCodeAt(s+1),c&&o!==Vs&&o!==ar&&o!==Yr&&o!==Xr&&o!==Jr&&o!==Kr&&(s+=1,js.test(t.charAt(s)))){for(;js.test(t.charAt(s+1));)s+=1;t.charCodeAt(s+1)===ar&&(s+=1)}d=["word",t.slice(v,s+1),v,s],v=s;break}default:{o===Vs&&t.charCodeAt(v+1)===vh?(s=t.indexOf("*/",v+2)+1,s===0&&(r||T?s=t.length:S("comment")),d=["comment",t.slice(v,s+1),v,s],v=s):(Qr.lastIndex=v+1,Qr.test(t),Qr.lastIndex===0?s=t.length-1:s=Qr.lastIndex-2,d=["word",t.slice(v,s+1),v,s],m.push(d),v=s);break}}return v++,d}}function A(O){_.push(O)}return{back:A,endOfFile:C,nextToken:x,position:w}},Eu=Ot,Oi=function(e){_e(i,e);function i(t){var r;return r=e.call(this,t)||this,r.type="atrule",r}var n=i.prototype;return n.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=e.prototype.append).call.apply(a,[].concat([this],o))},n.prepend=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=e.prototype.prepend).call.apply(a,[].concat([this],o))},i}(Eu),Bo=Oi;Oi.default=Oi;Eu.registerAtRule(Oi);var ku=Ot,xu,Ou,Vt=function(e){_e(i,e);function i(t){var r;return r=e.call(this,t)||this,r.type="root",r.nodes||(r.nodes=[]),r}var n=i.prototype;return n.normalize=function(r,o,s){var a=e.prototype.normalize.call(this,r);if(o){if(s==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(var u=k(a),c;!(c=u()).done;){var l=c.value;l.raws.before=o.raws.before}}return a},n.removeChild=function(r,o){var s=this.index(r);return!o&&s===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),e.prototype.removeChild.call(this,r)},n.toResult=function(r){r===void 0&&(r={});var o=new xu(new Ou,this,r);return o.stringify()},i}(ku);Vt.registerLazyResult=function(e){xu=e};Vt.registerProcessor=function(e){Ou=e};var Lr=Vt;Vt.default=Vt;ku.registerRoot(Vt);var Cr={comma:function(i){return Cr.split(i,[","],!0)},space:function(i){var n=[" ",` 24`," "];return Cr.split(i,n)},split:function(i,n,t){for(var r=[],o="",s=!1,a=0,u=!1,c="",l=!1,f=k(i),p;!(p=f()).done;){var g=p.value;l?l=!1:g==="\\"?l=!0:u?g===c&&(u=!1):g==='"'||g==="'"?(u=!0,c=g):g==="("?a+=1:g===")"?a>0&&(a-=1):a===0&&n.includes(g)&&(s=!0),s?(o!==""&&r.push(o.trim()),o="",s=!1):o+=g}return(t||o!=="")&&r.push(o.trim()),r}},Ru=Cr;Cr.default=Cr;var Au=Ot,bh=Ru,Ri=function(e){_e(i,e);function i(n){var t;return t=e.call(this,n)||this,t.type="rule",t.nodes||(t.nodes=[]),t}return ge(i,[{key:"selectors",get:function(){return bh.comma(this.selector)},set:function(t){var r=this.selector?this.selector.match(/,\s*/):null,o=r?r[0]:","+this.raw("between","beforeOpen");this.selector=t.join(o)}}]),i}(Au),zo=Ri;Ri.default=Ri;Au.registerRule(Ri);var wh=Ji,Sh=_h,Ch=Qi,Ih=Bo,Eh=Lr,Hs=zo,Ys={empty:!0,space:!0};function kh(e){for(var i=e.length-1;i>=0;i--){var n=e[i],t=n[3]||n[2];if(t)return t}}var xh=function(){function e(n){this.input=n,this.root=new Eh,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:n,start:{column:1,line:1,offset:0}}}var i=e.prototype;return i.atrule=function(t){var r=new Ih;r.name=t[1].slice(1),r.name===""&&this.unnamedAtrule(r,t),this.init(r,t[2]);for(var o,s,a,u=!1,c=!1,l=[],f=[];!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),o=t[0],o==="("||o==="["?f.push(o==="("?")":"]"):o==="{"&&f.length>0?f.push("}"):o===f[f.length-1]&&f.pop(),f.length===0)if(o===";"){r.source.end=this.getPosition(t[2]),r.source.end.offset++,this.semicolon=!0;break}else if(o==="{"){c=!0;break}else if(o==="}"){if(l.length>0){for(a=l.length-1,s=l[a];s&&s[0]==="space";)s=l[--a];s&&(r.source.end=this.getPosition(s[3]||s[2]),r.source.end.offset++)}this.end(t);break}else l.push(t);else l.push(t);if(this.tokenizer.endOfFile()){u=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(r.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(r,"params",l),u&&(t=l[l.length-1],r.source.end=this.getPosition(t[3]||t[2]),r.source.end.offset++,this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),c&&(r.nodes=[],this.current=r)},i.checkMissedSemicolon=function(t){var r=this.colon(t);if(r!==!1){for(var o=0,s,a=r-1;a>=0&&(s=t[a],!(s[0]!=="space"&&(o+=1,o===2)));a--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}},i.colon=function(t){for(var r=0,o,s,a,u=k(t.entries()),c;!(c=u()).done;){var l=c.value,f=l[0],p=l[1];if(o=p,s=o[0],s==="("&&(r+=1),s===")"&&(r-=1),r===0&&s===":")if(!a)this.doubleColon(o);else{if(a[0]==="word"&&a[1]==="progid")continue;return f}a=o}return!1},i.comment=function(t){var r=new Ch;this.init(r,t[2]),r.source.end=this.getPosition(t[3]||t[2]),r.source.end.offset++;var o=t[1].slice(2,-2);if(/^\s*$/.test(o))r.text="",r.raws.left=o,r.raws.right="";else{var s=o.match(/^(\s*)([^]*\S)(\s*)$/);r.text=s[2],r.raws.left=s[1],r.raws.right=s[3]}},i.createTokenizer=function(){this.tokenizer=Sh(this.input)},i.decl=function(t,r){var o=new wh;this.init(o,t[0][2]);var s=t[t.length-1];for(s[0]===";"&&(this.semicolon=!0,t.pop()),o.source.end=this.getPosition(s[3]||s[2]||kh(t)),o.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),o.raws.before+=t.shift()[1];for(o.source.start=this.getPosition(t[0][2]),o.prop="";t.length;){var a=t[0][0];if(a===":"||a==="space"||a==="comment")break;o.prop+=t.shift()[1]}o.raws.between="";for(var u;t.length;)if(u=t.shift(),u[0]===":"){o.raws.between+=u[1];break}else u[0]==="word"&&/\w/.test(u[1])&&this.unknownWord([u]),o.raws.between+=u[1];(o.prop[0]==="_"||o.prop[0]==="*")&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));for(var c=[],l;t.length&&(l=t[0][0],!(l!=="space"&&l!=="comment"));)c.push(t.shift());this.precheckMissedSemicolon(t);for(var f=t.length-1;f>=0;f--){if(u=t[f],u[1].toLowerCase()==="!important"){o.important=!0;var p=this.stringFrom(t,f);p=this.spacesFromEnd(t)+p,p!==" !important"&&(o.raws.important=p);break}else if(u[1].toLowerCase()==="important"){for(var g=t.slice(0),d="",y=f;y>0;y--){var v=g[y][0];if(d.trim().indexOf("!")===0&&v!=="space")break;d=g.pop()[1]+d}d.trim().indexOf("!")===0&&(o.important=!0,o.raws.important=d,t=g)}if(u[0]!=="space"&&u[0]!=="comment")break}var m=t.some(function(_){return _[0]!=="space"&&_[0]!=="comment"});m&&(o.raws.between+=c.map(function(_){return _[1]}).join(""),c=[]),this.raw(o,"value",c.concat(t),r),o.value.includes(":")&&!r&&this.checkMissedSemicolon(t)},i.doubleColon=function(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})},i.emptyRule=function(t){var r=new Hs;this.init(r,t[2]),r.selector="",r.raws.between="",this.current=r},i.end=function(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)},i.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},i.freeSemicolon=function(t){if(this.spaces+=t[1],this.current.nodes){var r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}},i.getPosition=function(t){var r=this.input.fromOffset(t);return{column:r.col,line:r.line,offset:t}},i.init=function(t,r){this.current.push(t),t.source={input:this.input,start:this.getPosition(r)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)},i.other=function(t){for(var r=!1,o=null,s=!1,a=null,u=[],c=t[1].startsWith("--"),l=[],f=t;f;){if(o=f[0],l.push(f),o==="("||o==="[")a||(a=f),u.push(o==="("?")":"]");else if(c&&s&&o==="{")a||(a=f),u.push("}");else if(u.length===0)if(o===";")if(s){this.decl(l,c);return}else break;else if(o==="{"){this.rule(l);return}else if(o==="}"){this.tokenizer.back(l.pop()),r=!0;break}else o===":"&&(s=!0);else o===u[u.length-1]&&(u.pop(),u.length===0&&(a=null));f=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(r=!0),u.length>0&&this.unclosedBracket(a),r&&s){if(!c)for(;l.length&&(f=l[l.length-1][0],!(f!=="space"&&f!=="comment"));)this.tokenizer.back(l.pop());this.decl(l,c)}else this.unknownWord(l)},i.parse=function(){for(var t;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()},i.precheckMissedSemicolon=function(){},i.raw=function(t,r,o,s){for(var a,u,c=o.length,l="",f=!0,p,g,d=0;d<c;d+=1)a=o[d],u=a[0],u==="space"&&d===c-1&&!s?f=!1:u==="comment"?(g=o[d-1]?o[d-1][0]:"empty",p=o[d+1]?o[d+1][0]:"empty",!Ys[g]&&!Ys[p]?l.slice(-1)===","?f=!1:l+=a[1]:f=!1):l+=a[1];if(!f){var y=o.reduce(function(v,m){return v+m[1]},"");t.raws[r]={raw:y,value:l}}t[r]=l},i.rule=function(t){t.pop();var r=new Hs;this.init(r,t[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(r,"selector",t),this.current=r},i.spacesAndCommentsFromEnd=function(t){for(var r,o="";t.length&&(r=t[t.length-1][0],!(r!=="space"&&r!=="comment"));)o=t.pop()[1]+o;return o},i.spacesAndCommentsFromStart=function(t){for(var r,o="";t.length&&(r=t[0][0],!(r!=="space"&&r!=="comment"));)o+=t.shift()[1];return o},i.spacesFromEnd=function(t){for(var r,o="";t.length&&(r=t[t.length-1][0],r==="space");)o=t.pop()[1]+o;return o},i.stringFrom=function(t,r){for(var o="",s=r;s<t.length;s++)o+=t[s][1];return t.splice(r,t.length-r),o},i.unclosedBlock=function(){var t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)},i.unclosedBracket=function(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})},i.unexpectedClose=function(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})},i.unknownWord=function(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})},i.unnamedAtrule=function(t,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})},e}(),Oh=xh,Rh=Ot,Ah=Oh,Mh=Zi;function Ai(e,i){var n=new Mh(e,i),t=new Ah(n);try{t.parse()}catch(r){throw r}return t.root}var Wo=Ai;Ai.default=Ai;Rh.registerParse(Ai);var Fe=ct.isClean,Th=ct.my,Ph=pu,Dh=Ki,Nh=Ot,Lh=Fo,Ks=Uo,$h=Wo,Fh=Lr,Uh={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Bh={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},zh={Once:!0,postcssPlugin:!0,prepare:!0},jt=0;function ur(e){return(typeof e>"u"?"undefined":z(e))==="object"&&typeof e.then=="function"}function Mu(e){var i=!1,n=Uh[e.type];return e.type==="decl"?i=e.prop.toLowerCase():e.type==="atrule"&&(i=e.name.toLowerCase()),i&&e.append?[n,n+"-"+i,jt,n+"Exit",n+"Exit-"+i]:i?[n,n+"-"+i,n+"Exit",n+"Exit-"+i]:e.append?[n,jt,n+"Exit"]:[n,n+"Exit"]}function Xs(e){var i;return e.type==="document"?i=["Document",jt,"DocumentExit"]:e.type==="root"?i=["Root",jt,"RootExit"]:i=Mu(e),{eventIndex:0,events:i,iterator:0,node:e,visitorIndex:0,visitors:[]}}function Jn(e){return e[Fe]=!1,e.nodes&&e.nodes.forEach(function(i){return Jn(i)}),e}var Zn={},Ht=function(){function e(n,t,r){var o=this;this.stringified=!1,this.processed=!1;var s;if((typeof t>"u"?"undefined":z(t))==="object"&&t!==null&&(t.type==="root"||t.type==="document"))s=Jn(t);else if(L(t,e)||L(t,Ks))s=Jn(t.root),t.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{var a=$h;r.syntax&&(a=r.syntax.parse),r.parser&&(a=r.parser),a.parse&&(a=a.parse);try{s=a(t,r)}catch(u){this.processed=!0,this.error=u}s&&!s[Th]&&Nh.rebuild(s)}this.result=new Ks(n,s,r),this.helpers=H({},Zn,{postcss:Zn,result:this.result}),this.plugins=this.processor.plugins.map(function(u){return(typeof u>"u"?"undefined":z(u))==="object"&&u.prepare?H({},u,u.prepare(o.result)):u})}var i=e.prototype;return i.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},i.catch=function(t){return this.async().catch(t)},i.finally=function(t){return this.async().then(t,t)},i.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},i.handleError=function(t,r){var o=this.result.lastPlugin;try{r&&r.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin&&(t.plugin=o.postcssPlugin,t.setMessage())}catch{}return t},i.prepareVisitors=function(){var t=this;this.listeners={};for(var r=function(l,f,p){t.listeners[f]||(t.listeners[f]=[]),t.listeners[f].push([l,p])},o=k(this.plugins),s;!(s=o()).done;){var a=s.value;if((typeof a>"u"?"undefined":z(a))==="object")for(var u in a){if(!Bh[u]&&/^[A-Z]/.test(u))throw new Error("Unknown event "+u+" in "+a.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!zh[u])if(z(a[u])==="object")for(var c in a[u])c==="*"?r(a,u,a[u][c]):r(a,u+"-"+c.toLowerCase(),a[u][c]);else typeof a[u]=="function"&&r(a,u,a[u])}}this.hasListener=Object.keys(this.listeners).length>0},i.runAsync=function(){var t=this;return Mo(function(){var r,o,s,a,u,c,l,f,p,g,d,y;return br(this,function(v){switch(v.label){case 0:t.plugin=0,r=0,v.label=1;case 1:if(!(r<t.plugins.length))return[3,6];if(o=t.plugins[r],s=t.runOnRoot(o),!ur(s))return[3,5];v.label=2;case 2:return v.trys.push([2,4,,5]),[4,s];case 3:return v.sent(),[3,5];case 4:throw a=v.sent(),t.handleError(a);case 5:return r++,[3,1];case 6:if(t.prepareVisitors(),!t.hasListener)return[3,18];u=t.result.root,v.label=7;case 7:if(u[Fe])return[3,14];u[Fe]=!0,c=[Xs(u)],v.label=8;case 8:if(!(c.length>0))return[3,13];if(l=t.visitTick(c),!ur(l))return[3,12];v.label=9;case 9:return v.trys.push([9,11,,12]),[4,l];case 10:return v.sent(),[3,12];case 11:throw f=v.sent(),p=c[c.length-1].node,t.handleError(f,p);case 12:return[3,8];case 13:return[3,7];case 14:if(!t.listeners.OnceExit)return[3,18];g=function(){var m,_,w,S,C;return br(this,function(x){switch(x.label){case 0:m=y.value,_=m[0],w=m[1],t.result.lastPlugin=_,x.label=1;case 1:return x.trys.push([1,6,,7]),u.type!=="document"?[3,3]:(S=u.nodes.map(function(A){return w(A,t.helpers)}),[4,Promise.all(S)]);case 2:return x.sent(),[3,5];case 3:return[4,w(u,t.helpers)];case 4:x.sent(),x.label=5;case 5:return[3,7];case 6:throw C=x.sent(),t.handleError(C);case 7:return[2]}})},d=k(t.listeners.OnceExit),v.label=15;case 15:return(y=d()).done?[3,18]:[5,Xa(g())];case 16:v.sent(),v.label=17;case 17:return[3,15];case 18:return t.processed=!0,[2,t.stringify()]}})})()},i.runOnRoot=function(t){var r=this;this.result.lastPlugin=t;try{if((typeof t>"u"?"undefined":z(t))==="object"&&t.Once){if(this.result.root.type==="document"){var o=this.result.root.nodes.map(function(s){return t.Once(s,r.helpers)});return ur(o[0])?Promise.all(o):o}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(s){throw this.handleError(s)}},i.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var t=this.result.opts,r=Dh;t.syntax&&(r=t.syntax.stringify),t.stringifier&&(r=t.stringifier),r.stringify&&(r=r.stringify);var o=new Ph(r,this.result.root,this.result.opts),s=o.generate();return this.result.css=s[0],this.result.map=s[1],this.result},i.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var t=k(this.plugins),r;!(r=t()).done;){var o=r.value,s=this.runOnRoot(o);if(ur(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var a=this.result.root;!a[Fe];)a[Fe]=!0,this.walkSync(a);if(this.listeners.OnceExit)if(a.type==="document")for(var u=k(a.nodes),c;!(c=u()).done;){var l=c.value;this.visitSync(this.listeners.OnceExit,l)}else this.visitSync(this.listeners.OnceExit,a)}return this.result},i.then=function(t,r){return this.async().then(t,r)},i.toString=function(){return this.css},i.visitSync=function(t,r){for(var o=k(t),s;!(s=o()).done;){var a=s.value,u=a[0],c=a[1];this.result.lastPlugin=u;var l=void 0;try{l=c(r,this.helpers)}catch(f){throw this.handleError(f,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(ur(l))throw this.getAsyncError()}},i.visitTick=function(t){var r=t[t.length-1],o=r.node,s=r.visitors;if(o.type!=="root"&&o.type!=="document"&&!o.parent){t.pop();return}if(s.length>0&&r.visitorIndex<s.length){var a=s[r.visitorIndex],u=a[0],c=a[1];r.visitorIndex+=1,r.visitorIndex===s.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=u;try{return c(o.toProxy(),this.helpers)}catch(d){throw this.handleError(d,o)}}if(r.iterator!==0){for(var l=r.iterator,f;f=o.nodes[o.indexes[l]];)if(o.indexes[l]+=1,!f[Fe]){f[Fe]=!0,t.push(Xs(f));return}r.iterator=0,delete o.indexes[l]}for(var p=r.events;r.eventIndex<p.length;){var g=p[r.eventIndex];if(r.eventIndex+=1,g===jt){o.nodes&&o.nodes.length&&(o[Fe]=!0,r.iterator=o.getIterator());return}else if(this.listeners[g]){r.visitors=this.listeners[g];return}}t.pop()},i.walkSync=function(t){var r=this;t[Fe]=!0;for(var o=Mu(t),s=k(o),a;!(a=s()).done;){var u=a.value;if(u===jt)t.nodes&&t.each(function(l){l[Fe]||r.walkSync(l)});else{var c=this.listeners[u];if(c&&this.visitSync(c,t.toProxy()))return}}},i.warnings=function(){return this.sync().warnings()},ge(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();Ht.registerPostcss=function(e){Zn=e};var Tu=Ht;Ht.default=Ht;Fh.registerLazyResult(Ht);Lh.registerLazyResult(Ht);var Wh=pu,Gh=Ki,qh=Wo,Vh=Uo,Qn=function(){function e(n,t,r){t=t.toString(),this.stringified=!1,this._processor=n,this._css=t,this._opts=r,this._map=void 0;var o,s=Gh;this.result=new Vh(this._processor,o,this._opts),this.result.css=t;var a=this;Object.defineProperty(this.result,"root",{get:function(){return a.root}});var u=new Wh(s,o,this._opts,t);if(u.isMap()){var c=u.generate(),l=c[0],f=c[1];l&&(this.result.css=l),f&&(this.result.map=f)}else u.clearAnnotation(),this.result.css=u.css}var i=e.prototype;return i.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},i.catch=function(t){return this.async().catch(t)},i.finally=function(t){return this.async().then(t,t)},i.sync=function(){if(this.error)throw this.error;return this.result},i.then=function(t,r){return this.async().then(t,r)},i.toString=function(){return this._css},i.warnings=function(){return[]},ge(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var t,r=qh;try{t=r(this._css,this._opts)}catch(o){this.error=o}if(this.error)throw this.error;return this._root=t,t}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),jh=Qn;Qn.default=Qn;var Hh=jh,Yh=Tu,Kh=Fo,Xh=Lr,Ir=function(){function e(n){n===void 0&&(n=[]),this.version="8.4.38",this.plugins=this.normalize(n)}var i=e.prototype;return i.normalize=function(t){for(var r=[],o=k(t),s;!(s=o()).done;){var a=s.value;if(a.postcss===!0?a=a():a.postcss&&(a=a.postcss),(typeof a>"u"?"undefined":z(a))==="object"&&Array.isArray(a.plugins))r=r.concat(a.plugins);else if((typeof a>"u"?"undefined":z(a))==="object"&&a.postcssPlugin)r.push(a);else if(typeof a=="function")r.push(a);else if(!((typeof a>"u"?"undefined":z(a))==="object"&&(a.parse||a.stringify)))throw new Error(a+" is not a PostCSS plugin")}return r},i.process=function(t,r){return r===void 0&&(r={}),!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new Hh(this,t,r):new Yh(this,t,r)},i.use=function(t){return this.plugins=this.plugins.concat(this.normalize([t])),this},e}(),Jh=Ir;Ir.default=Ir;Xh.registerProcessor(Ir);Kh.registerProcessor(Ir);var Zh=Ji,Qh=uu,ep=Qi,tp=Bo,rp=Zi,ip=Lr,np=zo;function Er(e,i){if(Array.isArray(e))return e.map(function(f){return Er(f)});var n=e.inputs,t=yr(e,["inputs"]);if(n){i=[];for(var r=k(n),o;!(o=r()).done;){var s=o.value,a=H({},s,{__proto__:rp.prototype});a.map&&(a.map=H({},a.map,{__proto__:Qh.prototype})),i.push(a)}}if(t.nodes&&(t.nodes=e.nodes.map(function(f){return Er(f,i)})),t.source){var u=t.source,c=u.inputId,l=yr(u,["inputId"]);t.source=l,c!=null&&(t.source.input=i[c])}if(t.type==="root")return new ip(t);if(t.type==="decl")return new Zh(t);if(t.type==="rule")return new np(t);if(t.type==="comment")return new ep(t);if(t.type==="atrule")return new tp(t);throw new Error("Unknown node type: "+e.type)}var op=Er;Er.default=Er;var sp=No,Pu=Ji,ap=Tu,up=Ot,Go=Jh,cp=Ki,lp=op,Du=Fo,fp=Iu,Nu=Qi,Lu=Bo,hp=Uo,pp=Zi,dp=Wo,vp=Ru,$u=zo,Fu=Lr,gp=Xi;function Z(){for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];return i.length===1&&Array.isArray(i[0])&&(i=i[0]),new Go(i)}Z.plugin=function(i,n){var t=!1;function r(){for(var s=arguments.length,a=new Array(s),u=0;u<s;u++)a[u]=arguments[u];console&&console.warn&&!t&&(t=!0,wi.LANG&&wi.LANG.startsWith("cn"));var c=n.apply(void 0,[].concat(a));return c.postcssPlugin=i,c.postcssVersion=new Go().version,c}var o;return Object.defineProperty(r,"postcss",{get:function(){return o||(o=r()),o}}),r.process=function(s,a,u){return Z([r(u)]).process(s,a)},r};Z.stringify=cp;Z.parse=dp;Z.fromJSON=lp;Z.list=vp;Z.comment=function(e){return new Nu(e)};Z.atRule=function(e){return new Lu(e)};Z.decl=function(e){return new Pu(e)};Z.rule=function(e){return new $u(e)};Z.root=function(e){return new Fu(e)};Z.document=function(e){return new Du(e)};Z.CssSyntaxError=sp;Z.Declaration=Pu;Z.Container=up;Z.Processor=Go;Z.Document=Du;Z.Comment=Nu;Z.Warning=fp;Z.AtRule=Lu;Z.Result=hp;Z.Input=pp;Z.Rule=$u;Z.Root=Fu;Z.Node=gp;ap.registerPostcss(Z);Z.default=Z;var mp=Object.defineProperty,yp=function(e,i,n){return i in e?mp(e,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[i]=n},Ae=function(e,i,n){return yp(e,(typeof i>"u"?"undefined":z(i))!=="symbol"?i+"":i,n)};function _p(e){if(e.__esModule)return e;var i=e.default;if(typeof i=="function"){var n=function t(){return L(this,t)?Reflect.construct(i,arguments,this.constructor):i.apply(this,arguments)};n.prototype=i.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var qo={exports:{}},ie=String,Uu=function(){return{isColorSupported:!1,reset:ie,bold:ie,dim:ie,italic:ie,underline:ie,inverse:ie,hidden:ie,strikethrough:ie,black:ie,red:ie,green:ie,yellow:ie,blue:ie,magenta:ie,cyan:ie,white:ie,gray:ie,bgBlack:ie,bgRed:ie,bgGreen:ie,bgYellow:ie,bgBlue:ie,bgMagenta:ie,bgCyan:ie,bgWhite:ie}};qo.exports=Uu();qo.exports.createColors=Uu;var bp=qo.exports,wp={},Sp=Object.freeze(Object.defineProperty({__proto__:null,default:wp},Symbol.toStringTag,{value:"Module"})),ce=_p(Sp),Js=bp,Zs=ce,eo=function(e){_e(i,e);function i(t,r,o,s,a,u){var c;return c=e.call(this,t)||this,c.name="CssSyntaxError",c.reason=t,a&&(c.file=a),s&&(c.source=s),u&&(c.plugin=u),typeof r<"u"&&typeof o<"u"&&(typeof r=="number"?(c.line=r,c.column=o):(c.line=r.line,c.column=r.column,c.endLine=o.line,c.endColumn=o.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,i),c}var n=i.prototype;return n.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},n.showSourceCode=function(r){var o=this;if(!this.source)return"";var s=this.source;r==null&&(r=Js.isColorSupported),Zs&&r&&(s=Zs(s));var a=s.split(/\r?\n/),u=Math.max(this.line-3,0),c=Math.min(this.line+2,a.length),l=String(c).length,f,p;if(r){var g=Js.createColors(!0),d=g.bold,y=g.gray,v=g.red;f=function(m){return d(v(m))},p=function(m){return y(m)}}else f=p=function(m){return m};return a.slice(u,c).map(function(m,_){var w=u+1+_,S=" "+(" "+w).slice(-l)+" | ";if(w===o.line){var C=p(S.replace(/\d/g," "))+m.slice(0,o.column-1).replace(/[^\t]/g," ");return f(">")+p(S)+m+` 25 `+C+f("^")}return" "+p(S)+m}).join(` 26`)},n.toString=function(){var r=this.showSourceCode();return r&&(r=` 27 28`+r+` 29`),this.name+": "+this.message+r},i}(Si(Error)),Vo=eo;eo.default=eo;var lt={};lt.isClean=Symbol("isClean");lt.my=Symbol("my");var Qs={after:` 30`,beforeClose:` 31`,beforeComment:` 32`,beforeDecl:` 33`,beforeOpen:" ",beforeRule:` 34`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function Cp(e){return e[0].toUpperCase()+e.slice(1)}var to=function(){function e(n){this.builder=n}var i=e.prototype;return i.atrule=function(t,r){var o="@"+t.name,s=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?o+=t.raws.afterName:s&&(o+=" "),t.nodes)this.block(t,o+s);else{var a=(t.raws.between||"")+(r?";":"");this.builder(o+s+a,t)}},i.beforeAfter=function(t,r){var o;t.type==="decl"?o=this.raw(t,null,"beforeDecl"):t.type==="comment"?o=this.raw(t,null,"beforeComment"):r==="before"?o=this.raw(t,null,"beforeRule"):o=this.raw(t,null,"beforeClose");for(var s=t.parent,a=0;s&&s.type!=="root";)a+=1,s=s.parent;if(o.includes(` 35`)){var u=this.raw(t,null,"indent");if(u.length)for(var c=0;c<a;c++)o+=u}return o},i.block=function(t,r){var o=this.raw(t,"between","beforeOpen");this.builder(r+o+"{",t,"start");var s;t.nodes&&t.nodes.length?(this.body(t),s=this.raw(t,"after")):s=this.raw(t,"after","emptyBody"),s&&this.builder(s),this.builder("}",t,"end")},i.body=function(t){for(var r=t.nodes.length-1;r>0&&t.nodes[r].type==="comment";)r-=1;for(var o=this.raw(t,"semicolon"),s=0;s<t.nodes.length;s++){var a=t.nodes[s],u=this.raw(a,"before");u&&this.builder(u),this.stringify(a,r!==s||o)}},i.comment=function(t){var r=this.raw(t,"left","commentLeft"),o=this.raw(t,"right","commentRight");this.builder("/*"+r+t.text+o+"*/",t)},i.decl=function(t,r){var o=this.raw(t,"between","colon"),s=t.prop+o+this.rawValue(t,"value");t.important&&(s+=t.raws.important||" !important"),r&&(s+=";"),this.builder(s,t)},i.document=function(t){this.body(t)},i.raw=function(t,r,o){var s;if(o||(o=r),r&&(s=t.raws[r],typeof s<"u"))return s;var a=t.parent;if(o==="before"&&(!a||a.type==="root"&&a.first===t||a&&a.type==="document"))return"";if(!a)return Qs[o];var u=t.root();if(u.rawCache||(u.rawCache={}),typeof u.rawCache[o]<"u")return u.rawCache[o];if(o==="before"||o==="after")return this.beforeAfter(t,o);var c="raw"+Cp(o);return this[c]?s=this[c](u,t):u.walk(function(l){if(s=l.raws[r],typeof s<"u")return!1}),typeof s>"u"&&(s=Qs[o]),u.rawCache[o]=s,s},i.rawBeforeClose=function(t){var r;return t.walk(function(o){if(o.nodes&&o.nodes.length>0&&typeof o.raws.after<"u")return r=o.raws.after,r.includes(` 36`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r},i.rawBeforeComment=function(t,r){var o;return t.walkComments(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 37`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(r,null,"beforeDecl"):o&&(o=o.replace(/\S/g,"")),o},i.rawBeforeDecl=function(t,r){var o;return t.walkDecls(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 38`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(r,null,"beforeRule"):o&&(o=o.replace(/\S/g,"")),o},i.rawBeforeOpen=function(t){var r;return t.walk(function(o){if(o.type!=="decl"&&(r=o.raws.between,typeof r<"u"))return!1}),r},i.rawBeforeRule=function(t){var r;return t.walk(function(o){if(o.nodes&&(o.parent!==t||t.first!==o)&&typeof o.raws.before<"u")return r=o.raws.before,r.includes(` 39`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r},i.rawColon=function(t){var r;return t.walkDecls(function(o){if(typeof o.raws.between<"u")return r=o.raws.between.replace(/[^\s:]/g,""),!1}),r},i.rawEmptyBody=function(t){var r;return t.walk(function(o){if(o.nodes&&o.nodes.length===0&&(r=o.raws.after,typeof r<"u"))return!1}),r},i.rawIndent=function(t){if(t.raws.indent)return t.raws.indent;var r;return t.walk(function(o){var s=o.parent;if(s&&s!==t&&s.parent&&s.parent===t&&typeof o.raws.before<"u"){var a=o.raws.before.split(` 40`);return r=a[a.length-1],r=r.replace(/\S/g,""),!1}}),r},i.rawSemicolon=function(t){var r;return t.walk(function(o){if(o.nodes&&o.nodes.length&&o.last.type==="decl"&&(r=o.raws.semicolon,typeof r<"u"))return!1}),r},i.rawValue=function(t,r){var o=t[r],s=t.raws[r];return s&&s.value===o?s.raw:o},i.root=function(t){this.body(t),t.raws.after&&this.builder(t.raws.after)},i.rule=function(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")},i.stringify=function(t,r){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,r)},e}(),Bu=to;to.default=to;var Ip=Bu;function ro(e,i){var n=new Ip(i);n.stringify(e)}var en=ro;ro.default=ro;var ei=lt.isClean,Ep=lt.my,kp=Vo,xp=Bu,Op=en;function io(e,i){var n=new e.constructor;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t!=="proxyCache"){var r=e[t],o=typeof r>"u"?"undefined":z(r);t==="parent"&&o==="object"?i&&(n[t]=i):t==="source"?n[t]=r:Array.isArray(r)?n[t]=r.map(function(s){return io(s,n)}):(o==="object"&&r!==null&&(r=io(r)),n[t]=r)}return n}var no=function(){function e(n){n===void 0&&(n={}),this.raws={},this[ei]=!1,this[Ep]=!0;for(var t in n)if(t==="nodes"){this.nodes=[];for(var r=k(n[t]),o;!(o=r()).done;){var s=o.value;typeof s.clone=="function"?this.append(s.clone()):this.append(s)}}else this[t]=n[t]}var i=e.prototype;return i.addToError=function(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){var r=this.source;t.stack=t.stack.replace(/\n\s{4}at /,"$&"+r.input.from+":"+r.start.line+":"+r.start.column+"$&")}return t},i.after=function(t){return this.parent.insertAfter(this,t),this},i.assign=function(t){t===void 0&&(t={});for(var r in t)this[r]=t[r];return this},i.before=function(t){return this.parent.insertBefore(this,t),this},i.cleanRaws=function(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between},i.clone=function(t){t===void 0&&(t={});var r=io(this);for(var o in t)r[o]=t[o];return r},i.cloneAfter=function(t){t===void 0&&(t={});var r=this.clone(t);return this.parent.insertAfter(this,r),r},i.cloneBefore=function(t){t===void 0&&(t={});var r=this.clone(t);return this.parent.insertBefore(this,r),r},i.error=function(t,r){if(r===void 0&&(r={}),this.source){var o=this.rangeBy(r),s=o.end,a=o.start;return this.source.input.error(t,{column:a.column,line:a.line},{column:s.column,line:s.line},r)}return new kp(t)},i.getProxyProcessor=function(){return{get:function(r,o){return o==="proxyOf"?r:o==="root"?function(){return r.root().toProxy()}:r[o]},set:function(r,o,s){return r[o]===s||(r[o]=s,(o==="prop"||o==="value"||o==="name"||o==="params"||o==="important"||o==="text")&&r.markDirty()),!0}}},i.markDirty=function(){if(this[ei]){this[ei]=!1;for(var t=this;t=t.parent;)t[ei]=!1}},i.next=function(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t+1]}},i.positionBy=function(t,r){var o=this.source.start;if(t.index)o=this.positionInside(t.index,r);else if(t.word){r=this.toString();var s=r.indexOf(t.word);s!==-1&&(o=this.positionInside(s,r))}return o},i.positionInside=function(t,r){for(var o=r||this.toString(),s=this.source.start.column,a=this.source.start.line,u=0;u<t;u++)o[u]===` 41`?(s=1,a+=1):s+=1;return{column:s,line:a}},i.prev=function(){if(this.parent){var t=this.parent.index(this);return this.parent.nodes[t-1]}},i.rangeBy=function(t){var r={column:this.source.start.column,line:this.source.start.line},o=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:r.column+1,line:r.line};if(t.word){var s=this.toString(),a=s.indexOf(t.word);a!==-1&&(r=this.positionInside(a,s),o=this.positionInside(a+t.word.length,s))}else t.start?r={column:t.start.column,line:t.start.line}:t.index&&(r=this.positionInside(t.index)),t.end?o={column:t.end.column,line:t.end.line}:typeof t.endIndex=="number"?o=this.positionInside(t.endIndex):t.index&&(o=this.positionInside(t.index+1));return(o.line<r.line||o.line===r.line&&o.column<=r.column)&&(o={column:r.column+1,line:r.line}),{end:o,start:r}},i.raw=function(t,r){var o=new xp;return o.raw(this,t,r)},i.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},i.replaceWith=function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];if(this.parent){for(var s=this,a=!1,u=k(r),c;!(c=u()).done;){var l=c.value;l===this?a=!0:a?(this.parent.insertAfter(s,l),s=l):this.parent.insertBefore(s,l)}a||this.remove()}return this},i.root=function(){for(var t=this;t.parent&&t.parent.type!=="document";)t=t.parent;return t},i.toJSON=function(t,r){var o={},s=r==null;r=r||new Map;var a=0;for(var u in this)if(Object.prototype.hasOwnProperty.call(this,u)&&!(u==="parent"||u==="proxyCache")){var c=this[u];if(Array.isArray(c))o[u]=c.map(function(f){return(typeof f>"u"?"undefined":z(f))==="object"&&f.toJSON?f.toJSON(null,r):f});else if((typeof c>"u"?"undefined":z(c))==="object"&&c.toJSON)o[u]=c.toJSON(null,r);else if(u==="source"){var l=r.get(c.input);l==null&&(l=a,r.set(c.input,a),a++),o[u]={end:c.end,inputId:l,start:c.start}}else o[u]=c}return s&&(o.inputs=[].concat(r.keys()).map(function(f){return f.toJSON()})),o},i.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},i.toString=function(t){t===void 0&&(t=Op),t.stringify&&(t=t.stringify);var r="";return t(this,function(o){r+=o}),r},i.warn=function(t,r,o){var s={node:this};for(var a in o)s[a]=o[a];return t.warn(r,s)},ge(e,[{key:"proxyOf",get:function(){return this}}]),e}(),tn=no;no.default=no;var Rp=tn,oo=function(e){_e(i,e);function i(n){var t;return n&&typeof n.value<"u"&&typeof n.value!="string"&&(n=H({},n,{value:String(n.value)})),t=e.call(this,n)||this,t.type="decl",t}return ge(i,[{key:"variable",get:function(){return this.prop.startsWith("--")||this.prop[0]==="$"}}]),i}(Rp),rn=oo;oo.default=oo;var Ap="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Mp=function(e){e===void 0&&(e=21);for(var i="",n=e;n--;)i+=Ap[Math.random()*64|0];return i},Tp={nanoid:Mp},ea=ce.SourceMapConsumer,ta=ce.SourceMapGenerator,Pp=ce.existsSync,Dp=ce.readFileSync,wn=ce.dirname,Np=ce.join;function Lp(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}var so=function(){function e(n,t){if(t.map!==!1){this.loadAnnotation(n),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,o=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=wn(this.mapFile)),o&&(this.text=o)}}var i=e.prototype;return i.consumer=function(){return this.consumerCache||(this.consumerCache=new ea(this.text)),this.consumerCache},i.decodeInline=function(t){var r=/^data:application\/json;charset=utf-?8;base64,/,o=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,a=/^data:application\/json,/;if(s.test(t)||a.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(r.test(t)||o.test(t))return Lp(t.substr(RegExp.lastMatch.length));var u=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+u)},i.getAnnotationURL=function(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},i.isMap=function(t){return(typeof t>"u"?"undefined":z(t))!=="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)},i.loadAnnotation=function(t){var r=t.match(/\/\*\s*# sourceMappingURL=/gm);
vendor: 1,187 bytes, line 41
41if(r){var o=t.lastIndexOf(r.pop()),s=t.indexOf("*/",o);o>-1&&s>-1&&(this.annotation=this.getAnnotationURL(t.substring(o,s)))}},i.loadFile=function(t){if(this.root=wn(t),Pp(t))return this.mapFile=t,Dp(t,"utf-8").toString().trim()},i.loadMap=function(t,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){var o=r(t);if(o){var s=this.loadFile(o);if(!s)throw new Error("Unable to load previous source map: "+o.toString());return s}}else{if(L(r,ea))return ta.fromSourceMap(r).toString();if(L(r,ta))return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var a=this.annotation;return t&&(a=Np(wn(t),a)),this.loadFile(a)}}},i.startWith=function(t,r){return t?t.substr(0,r.length)===r:!1},i.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),zu=so;so.default=so;var $p=ce.SourceMapConsumer,Fp=ce.SourceMapGenerator,ra=ce.fileURLToPath,ti=ce.pathToFileURL,ao=ce.isAbsolute,uo=ce.resolve,Up=Tp.nanoid,Sn=ce,ia=Vo,Bp=zu,Cn=Symbol("fromOffsetCac
41he"),zp=!!($p&&Fp),na=!!(uo&&ao),Mi=function(){function e(n,t){if(t===void 0&&(t={}),n===null||typeof n>"u"||(typeof n>"u"?"undefined":z(n))==="object"&&!n.toString)throw new Error("PostCSS received "+n+" instead of CSS string");if(this.css=n.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!na||/^\w+:\/\//.test(t.from)||ao(t.from)?this.file=t.from:this.file=uo(t.from)),na&&zp){var r=new Bp(this.css,t);if(r.text){this.map=r;var o=r.consumer().file;!this.file&&o&&(this.file=this.mapResolve(o))}}this.file||(this.id="<input css "+Up(6)+">"),this.map&&(this.map.file=this.from)}var i=e.prototype;return i.error=function(t,r,o,s){s===void 0&&(s={});var a,u,c;if(r&&(typeof r>"u"?"undefined":z(r))==="object"){var l=r,f=o;if(typeof l.offset=="number"){var p=this.fromOffset(l.offset);r=p.line,o=p.col}else r=l.line,o=l.column;if(typeof f.offset=="number"){var g=this.fromOffset(f.offset);u=g.line,c=g.col}else u=f.line,c=f.column}else if(!o){var d=this.fromOffset(r);r=d.line,o=d.col}var y=this.origin(r,o,u,c);return y?a=new ia(t,y.endLine===void 0?y.line:{column:y.column,line:y.line},y.endLine===void 0?y.column:{column:y.endColumn,line:y.endLine},y.source,y.file,s.plugin):a=new ia(t,u===void 0?r:{column:o,line:r},u===void 0?o:{column:c,line:u},this.css,this.file,s.plugin),a.input={column:o,endColumn:c,endLine:u,line:r,source:this.css},this.file&&(ti&&(a.input.url=ti(this.file).toString()),a.input.file=this.file),a},i.fromOffset=function(t){var r,o;if(this[Cn])o=this[Cn];else{var s=this.css.split(` 42`);o=new Array(s.length);for(var a=0,u=0,c=s.length;u<c;u++)o[u]=a,a+=s[u].length+1;this[Cn]=o}r=o[o.length-1];var l=0;if(t>=r)l=o.length-1;else for(var f=o.length-2,p;l<f;)if(p=l+(f-l>>1),t<o[p])f=p-1;else if(t>=o[p+1])l=p+1;else{l=p;break}return{col:t-o[l]+1,line:l+1}},i.mapResolve=function(t){return/^\w+:\/\//.test(t)?t:uo(this.map.consumer().sourceRoot||this.map.root||".",t)},i.origin=function(t,r,o,s){if(!this.map)return!1;var a=this.map.consumer(),u=a.originalPositionFor({column:r,line:t});if(!u.source)return!1;var c;typeof o=="number"&&(c=a.originalPositionFor({column:s,line:o}));var l;ao(u.source)?l=ti(u.source):l=new URL(u.source,this.map.consumer().sourceRoot||ti(this.map.mapFile));var f={column:u.column,endColumn:c&&c.column,endLine:c&&c.line,line:u.line,url:l.toString()};if(l.protocol==="file:")if(ra)f.file=ra(l);else throw new Error("file: protocol is not available in this PostCSS build");var p=a.sourceContentFor(u.source);return p&&(f.source=p),f},i.toJSON=function(){for(var t={},r=0,o=["hasBOM","css","file","id"];r<o.length;r++){var s=o[r];this[s]!=null&&(t[s]=this[s])}return this.map&&(t.map=H({},this.map),t.map.consumerCache&&(t.map.consumerCache=void 0)),t},ge(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),nn=Mi;Mi.default=Mi;Sn&&Sn.registerInput&&Sn.registerInput(Mi);var Wu=ce.SourceMapConsumer,mi=ce.SourceMapGenerator,yi=ce.dirname,Gu=ce.relative,qu=ce.resolve,Vu=ce.sep,oa=ce.pathToFileURL,Wp=nn,Gp=!!(Wu&&mi),qp=!!(yi&&qu&&Gu&&Vu),Vp=function(){function e(n,t,r,o){this.stringify=n,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=o,this.originalCSS=o,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var i=e.prototype;return i.addAnnotation=function(){var t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";var r=` 43`;this.css.includes(`\r 44`)&&(r=`\r 45`),this.css+=r+"/*# sourceMappingURL="+t+" */"},i.applyPrevMaps=function(){for(var t=k(this.previous()),r;!(r=t()).done;){var o=r.value,s=this.toUrl(this.path(o.file)),a=o.root||yi(o.file),u=void 0;this.mapOpts.sourcesContent===!1?(u=new Wu(o.text),u.sourcesContent&&(u.sourcesContent=null)):u=o.consumer(),this.map.applySourceMap(u,s,this.toUrl(this.path(a)))}},i.clearAnnotation=function(){if(this.mapOpts.annotation!==!1)if(this.root)for(var t,r=this.root.nodes.length-1;r>=0;r--)t=this.root.nodes[r],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(r);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},i.generate=function(){if(this.clearAnnotation(),qp&&Gp&&this.isMap())return this.generateMap();var t="";return this.stringify(this.root,function(r){t+=r}),[t]},i.generateMap=function(){if(this.root)this.generateString();else if(this.previous().length===1){var t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=mi.fromSourceMap(t,{ignoreInvalidMapping:!0})}else this.map=new mi({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},i.generateString=function(){var t=this;this.css="",this.map=new mi({file:this.outputFile(),ignoreInvalidMapping:!0});var r=1,o=1,s="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""},u,c;this.stringify(this.root,function(l,f,p){if(t.css+=l,f&&p!=="end"&&(a.generated.line=r,a.generated.column=o-1,f.source&&f.source.start?(a.source=t.sourcePath(f),a.original.line=f.source.start.line,a.original.column=f.source.start.column-1,t.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,t.map.addMapping(a))),u=l.match(/\n/g),u?(r+=u.length,c=l.lastIndexOf(` 46`),o=l.length-c):o+=l.length,f&&p!=="start"){var g=f.parent||{raws:{}},d=f.type==="decl"||f.type==="atrule"&&!f.nodes;(!d||f!==g.last||g.raws.semicolon)&&(f.source&&f.source.end?(a.source=t.sourcePath(f),a.original.line=f.source.end.line,a.original.column=f.source.end.column-1,a.generated.line=r,a.generated.column=o-2,t.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,a.generated.line=r,a.generated.column=o-1,t.map.addMapping(a)))}})},i.isAnnotation=function(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(function(t){return t.annotation}):!0},i.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(function(r){return r.inline}):!0},i.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},i.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(function(t){return t.withContent()}):!0},i.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},i.path=function(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;var r=this.memoizedPaths.get(t);if(r)return r;var o=this.opts.to?yi(this.opts.to):".";
vendor: 4,217 bytes, line 46
46typeof this.mapOpts.annotation=="string"&&(o=yi(qu(o,this.mapOpts.annotation)));var s=Gu(o,t);return this.memoizedPaths.set(t,s),s},i.previous=function(){var t=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(o){if(o.source&&o.source.input.map){var s=o.source.input.map;t.previousMaps.includes(s)||t.previousMaps.push(s)}});else{var r=new Wp(this.originalCSS,this.opts);r.map&&this.previousMaps.push(r.map)}return this.previousMaps},i.setSourcesContent=function(){var t=this,r={};if(this.root)this.root.walk(function(s){if(s.source){var a=s.source.input.from;if(a&&!r[a]){r[a]=!0;var u=t.usesFileUrls?t.toFileUrl(a):t.toUrl(t.path(a));t.map.setSourceContent(u,s.source.input.css)}}});else if(this.css){var o=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(o,this.css)}},i.sourcePath=function(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))},i.toBase64=function(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))},i.toFileUrl=function(t){var r=this.memoizedFileURLs.get(t);if(r)return r;if(oa){var o=oa(t).toString();return this.memoizedFileURLs.set(t,o),o}else throw new Error("`map.absolute` option is not available in this PostCSS build")},i.toUrl=function(t){var r=this.memoizedURLs.get(t);if(r)return r;Vu==="\\"&&(t=t.replace(/\\/g,"/"));var o=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,o),o},e}(),ju=Vp,jp=tn,co=function(e){_e(i,e);function i(n){var t;return t=e.call(this,n)||this,t.type="comment",t}return i}(jp),on=co;co.default=co;var Hu=lt.isClean,Yu=lt.my,Ku=rn,Xu=on,Hp=tn,Ju,jo,Ho,Zu;function Qu(e){return e.map(function(i){return i.nodes&&(i.nodes=Qu(i.nodes)),delete i.source,i})}function ec(e){if(e[Hu]=!1,e.proxyOf.nodes)for(var i=k(e.proxyOf.nodes),n;!(n=i()).done;){var t=n.value;ec(t)}}var Ye=function(e){_e(i,e);function i(){return e.apply(this,arguments)||this}var n=i.prototype;return n.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];for(var a=k(o),u;!(u=a()).done;)for(var c=u.value,l=this.normalize(c,this.last),f=k(l),p;!(p=f()).done;){var g=p.value;this.proxyOf.nodes.push(g)}return this.markDirty(),this},n.cleanRaws=function(r){if(e.prototype.cleanRaws.call(this,r),this.nodes)for(var o=k(this.nodes),s;!(s=o()).done;){var a=s.value;a.cleanRaws(r)}},n.each=function(r){if(this.proxyOf.nodes){for(var o=this.getIterator(),s,a;this.indexes[o]<this.proxyOf.nodes.length&&(s=this.indexes[o],a=r(this.proxyOf.nodes[s],s),a!==!1);)this.indexes[o]+=1;return delete this.indexes[o],a}},n.every=function(r){return this.nodes.every(r)},n.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var r=this.lastEach;return this.indexes[r]=0,r},n.getProxyProcessor=function(){return{get:function(o,s){return s==="proxyOf"?o:o[s]?s==="each"||typeof s=="string"&&s.startsWith("walk")?function(){for(var a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];var l;return(l=o)[s].apply(l,[].concat(u.map(function(f){return typeof f=="function"?function(p,g){return f(p.toProxy(),g)}:f})))}:s==="every"||s==="some"?function(a){return o[s](function(u){for(var c=arguments.length,l=new Array(c>1?c-1:0),f=1;f<c;f++)l[f-1]=arguments[f];return a.apply(void 0,[].concat([u.toProxy()],l))})}:s==="root"?function(){return o.root().toProxy()}:s==="nodes"?o.nodes.map(function(a){return a.toProxy()}):s==="first"||s==="last"?o[s].toProxy():o[s]:o[s]},set:function(o,s,a){return o[s]===a||(o[s]=a,(s==="name"||s==="params"||s==="selector")&&o.markDirty()),!0}}},n.index=function(r){return typeof r=="number"?r:(r.proxyOf&&(r=r.proxyOf),this.proxyOf.nodes.indexOf(r))},n.insertAfter=function(r,o){var s=this.index(r),a=this.normalize(o,this.proxyOf.nodes[s]).reverse();s=this.index(r);for(var u=k(a),c;!(c=u()).done;){var l=c.value;this.proxyOf.nodes.splice(s+1,0,l)}var f;for(var p in this.indexes)f=this.indexes[p],s<f&&(this.indexes[p]=f+a.length);return this.markDirty(),this},n.insertBefore=function(r,o){var s=this.index(r),a=s===0?"prepe
46nd":!1,u=this.normalize(o,this.proxyOf.nodes[s],a).reverse();s=this.index(r);for(var c=k(u),l;!(l=c()).done;){var f=l.value;this.proxyOf.nodes.splice(s,0,f)}var p;for(var g in this.indexes)p=this.indexes[g],s<=p&&(this.indexes[g]=p+u.length);return this.markDirty(),this},n.normalize=function(r,o){var s=this;if(typeof r=="string")r=Qu(Ju(r).nodes);else if(typeof r>"u")r=[];else if(Array.isArray(r)){r=r.slice(0);for(var a=k(r),u;!(u=a()).done;){var c=u.value;c.parent&&c.parent.removeChild(c,"ignore")}}else if(r.type==="root"&&this.type!=="document"){r=r.nodes.slice(0);for(var l=k(r),f;!(f=l()).done;){var p=f.value;p.parent&&p.parent.removeChild(p,"ignore")}}else if(r.type)r=[r];else if(r.prop){if(typeof r.value>"u")throw new Error("Value field is missed in node creation");typeof r.value!="string"&&(r.value=String(r.value)),r=[new Ku(r)]}else if(r.selector)r=[new jo(r)];else if(r.name)r=[new Ho(r)];else if(r.text)r=[new Xu(r)];else throw new Error("Unknown node type in node creation");var g=r.map(function(d){return d[Yu]||i.rebuild(d),d=d.proxyOf,d.parent&&d.parent.removeChild(d),d[Hu]&&ec(d),typeof d.raws.before>"u"&&o&&typeof o.raws.before<"u"&&(d.raws.before=o.raws.before.replace(/\S/g,"")),d.parent=s.proxyOf,d});return g},n.prepend=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];o=o.reverse();for(var a=k(o),u;!(u=a()).done;){for(var c=u.value,l=this.normalize(c,this.first,"prepend").reverse(),f=k(l),p;!(p=f()).done;){var g=p.value;this.proxyOf.nodes.unshift(g)}for(var d in this.indexes)this.indexes[d]=this.indexes[d]+l.length}return this.markDirty(),this},n.push=function(r){return r.parent=this,this.proxyOf.nodes.push(r),this},n.removeAll=function(){for(var r=k(this.proxyOf.nodes),o;!(o=r()).done;){var s=o.value;s.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},n.removeChild=function(r){r=this.index(r),this.proxyOf.nodes[r].parent=void 0,this.proxyOf.nodes.splice(r,1);var o;for(var s in this.indexes)o=this.indexes[s],o>=r&&(this.indexes[s]=o-1);return this.markDirty(),this},n.replaceValues=function(r,o,s){return s||(s=o,o={}),this.walkDecls(function(a){o.props&&!o.props.includes(a.prop)||o.fast&&!a.value.includes(o.fast)||(a.value=a.value.replace(r,s))}),this.markDirty(),this},n.some=function(r){return this.nodes.some(r)},n.walk=function(r){return this.each(function(o,s){var a;try{a=r(o,s)}catch(u){throw o.addToError(u)}return a!==!1&&o.walk&&(a=o.walk(r)),a})},n.walkAtRules=function(r,o){return o?L(r,RegExp)?this.walk(function(s,a){if(s.type==="atrule"&&r.test(s.name))return o(s,a)}):this.walk(function(s,a){if(s.type==="atrule"&&s.name===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="atrule")return o(s,a)}))},n.walkComments=function(r){return this.walk(function(o,s){if(o.type==="comment")return r(o,s)})},n.walkDecls=function(r,o){return o?L(r,RegExp)?this.walk(function(s,a){if(s.type==="decl"&&r.test(s.prop))return o(s,a)}):this.walk(function(s,a){if(s.type==="decl"&&s.prop===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="decl")return o(s,a)}))},n.walkRules=function(r,o){return o?L(r,RegExp)?this.walk(function(s,a){if(s.type==="rule"&&r.test(s.selector))return o(s,a)}):this.walk(function(s,a){if(s.type==="rule"&&s.selector===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="rule")return o(s,a)}))},ge(i,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),i}(Hp);Ye.registerParse=function(e){Ju=e};Ye.registerRule=function(e){jo=e};Ye.registerAtRule=function(e){Ho=e};Ye.registerRoot=function(e){Zu=e};var Rt=Ye;Ye.default=Ye;Ye.rebuild=function(e){e.type==="atrule"?Object.setPrototypeOf(e,Ho.prototype):e.type==="rule"?Object.setPrototypeOf(e,jo.prototype):e.type==="decl"?Object.setPrototypeOf(e,Ku.prototype):e.type==="comment"?Object.setPrototypeOf(e,Xu.prototype):e.type==="root"&&Object.setPrototypeOf(e,Zu.prototype),e[Yu]=!0,e.nodes&&e.nodes.forEach(function(i){Ye.rebuild(i)})};var Yp=Rt,tc,rc,kr=function(e){_e(i,e);function i(t){var r;return r=e.call(this,H({type:"document"},t))||this,r.nodes||(r.nodes=[]),r}var n=i.prototype;return n.toResult=function(r){r===void 0&&(r={});var o=new tc(new rc,this,r);return o.stringify()},i}(Yp);kr.registerLazyResult=function(e){tc=e};kr.registerProcessor=function(e){rc=e};var Yo=kr;kr.default=kr;var lo=function(){function e(n,t){if(t===void 0&&(t={}),this.type="warning",this.text=n,t.node&&t.node.source){var r=t.no
vendor: 47,292 bytes, lines 46-47
46de.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var o in t)this[o]=t[o]}var i=e.prototype;return i.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),ic=lo;lo.default=lo;var Kp=ic,fo=function(){function e(n,t,r){this.processor=n,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var i=e.prototype;return i.toString=function(){return this.css},i.warn=function(t,r){r===void 0&&(r={}),r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);var o=new Kp(t,r);return this.messages.push(o),o},i.warnings=function(){return this.messages.filter(function(t){return t.type==="warning"})},ge(e,[{key:"content",get:function(){return this.css}}]),e}(),Ko=fo;fo.default=fo;var In=39,sa=34,ri=92,aa=47,ii=10,cr=32,ni=12,oi=9,si=13,Xp=91,Jp=93,Zp=40,Qp=41,ed=123,td=125,rd=59,id=42,nd=58,od=64,ai=/[\t\n\f\r "#'()/;[\\\]{}]/g,ui=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,sd=/.[\r\n"'(/\\]/,ua=/[\da-f]/i,ad=function(i,n){n===void 0&&(n={});var t=i.css.valueOf(),r=n.ignoreErrors,o,s,a,u,c,l,f,p,g,d,y=t.length,v=0,m=[],_=[];function w(){return v}function S(O){throw i.error("Unclosed "+O,v)}function C(){return _.length===0&&v>=y}function x(O){if(_.length)return _.pop();if(!(v>=y)){var T=O?O.ignoreUnclosed:!1;switch(o=t.charCodeAt(v),o){case ii:case cr:case oi:case si:case ni:{s=v;do s+=1,o=t.charCodeAt(s);while(o===cr||o===ii||o===oi||o===si||o===ni);d=["space",t.slice(v,s)],v=s-1;break}case Xp:case Jp:case ed:case td:case nd:case rd:case Qp:{var j=String.fromCharCode(o);d=[j,j,v];break}case Zp:{if(p=m.length?m.pop()[1]:"",g=t.charCodeAt(v+1),p==="url"&&g!==In&&g!==sa&&g!==cr&&g!==ii&&g!==oi&&g!==ni&&g!==si){s=v;do{if(l=!1,s=t.indexOf(")",s+1),s===-1)if(r||T){s=v;break}else S("bracket");for(f=s;t.charCodeAt(f-1)===ri;)f-=1,l=!l}while(l);d=["brackets",t.slice(v,s+1),v,s],v=s}else s=t.indexOf(")",v+1),u=t.slice(v,s+1),s===-1||sd.test(u)?d=["(","(",v]:(d=["brackets",u,v,s],v=s);break}case In:case sa:{a=o===In?"'":'"',s=v;do{if(l=!1,s=t.indexOf(a,s+1),s===-1)if(r||T){s=v+1;break}else S("string");for(f=s;t.charCodeAt(f-1)===ri;)f-=1,l=!l}while(l);d=["string",t.slice(v,s+1),v,s],v=s;break}case od:{ai.lastIndex=v+1,ai.test(t),ai.lastIndex===0?s=t.length-1:s=ai.lastIndex-2,d=["at-word",t.slice(v,s+1),v,s],v=s;break}case ri:{for(s=v,c=!0;t.charCodeAt(s+1)===ri;)s+=1,c=!c;if(o=t.charCodeAt(s+1),c&&o!==aa&&o!==cr&&o!==ii&&o!==oi&&o!==si&&o!==ni&&(s+=1,ua.test(t.charAt(s)))){for(;ua.test(t.charAt(s+1));)s+=1;t.charCodeAt(s+1)===cr&&(s+=1)}d=["word",t.slice(v,s+1),v,s],v=s;break}default:{o===aa&&t.charCodeAt(v+1)===id?(s=t.indexOf("*/",v+2)+1,s===0&&(r||T?s=t.length:S("comment")),d=["comment",t.slice(v,s+1),v,s],v=s):(ui.lastIndex=v+1,ui.test(t),ui.lastIndex===0?s=t.length-1:s=ui.lastIndex-2,d=["word",t.slice(v,s+1),v,s],m.push(d),v=s);break}}return v++,d}}function A(O){_.push(O)}return{back:A,endOfFile:C,nextToken:x,position:w}},nc=Rt,Ti=function(e){_e(i,e);function i(t){var r;return r=e.call(this,t)||this,r.type="atrule",r}var n=i.prototype;return n.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=e.prototype.append).call.apply(a,[].concat([this],o))},n.prepend=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=e.prototype.prepend).call.apply(a,[].concat([this],o))},i}(nc),Xo=Ti;Ti.default=Ti;nc.registerAtRule(Ti);var oc=Rt,sc,ac,Yt=function(e){_e(i,e);function i(t){var r;return r=e.call(this,t)||this,r.type="root",r.nodes||(r.nodes=[]),r}var n=i.prototype;return n.normalize=function(r,o,s){var a=e.prototype.normalize.call(this,r);if(o){if(s==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(var u=k(a),c;!(c=u()).done;){var l=c.value;l.raws.before=o.raws.before}}return a},n.removeChild=function(r,o){var s=this.index(r);return!o&&s===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),e.prototype.removeChild.call(this,r)},n.toResult=function(r){r===void 0&&(r={});var o=new sc(new ac,this,r);return o.stringify()},i}(oc);Yt.registerLazyResult=function(e){sc=e};Yt.registerProcessor=function(e){ac=e};var $r=Yt;Yt.default=Yt;oc.registerRoot(Yt);var xr={comma:function(i){return xr.split(i,[","],!0)},space:function(i){var n=[" ",` 47`," "];return xr.split(i,n)},split:function(i,n,t){for(var r=[],o="",s=!1,a=0,u=!1,c="",l=!1,f=k(i),p;!(p=f()).done;){var g=p.value;l?l=!1:g==="\\"?l=!0:u?g===c&&(u=!1):g==='"'||g==="'"?(u=!0,c=g):g==="("?a+=1:g===")"?a>0&&(a-=1):a===0&&n.includes(g)&&(s=!0),s?(o!==""&&r.push(o.trim()),o="",s=!1):o+=g}return(t||o!=="")&&r.push(o.trim()),r}},uc=xr;xr.default=xr;var cc=Rt,ud=uc,Pi=function(e){_e(i,e);function i(n){var t;return t=e.call(this,n)||this,t.type="rule",t.nodes||(t.nodes=[]),t}return ge(i,[{key:"selectors",get:function(){return ud.comma(this.selector)},set:function(t){var r=this.selector?this.selector.match(/,\s*/):null,o=r?r[0]:","+this.raw("between","beforeOpen");this.selector=t.join(o)}}]),i}(cc),Jo=Pi;Pi.default=Pi;cc.registerRule(Pi);var cd=rn,ld=ad,fd=on,hd=Xo,pd=$r,ca=Jo,la={empty:!0,space:!0};function dd(e){for(var i=e.length-1;i>=0;i--){var n=e[i],t=n[3]||n[2];if(t)return t}}var vd=function(){function e(n){this.input=n,this.root=new pd,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:n,start:{column:1,line:1,offset:0}}}var i=e.prototype;return i.atrule=function(t){var r=new hd;r.name=t[1].slice(1),r.name===""&&this.unnamedAtrule(r,t),this.init(r,t[2]);for(var o,s,a,u=!1,c=!1,l=[],f=[];!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),o=t[0],o==="("||o==="["?f.push(o==="("?")":"]"):o==="{"&&f.length>0?f.push("}"):o===f[f.length-1]&&f.pop(),f.length===0)if(o===";"){r.source.end=this.getPosition(t[2]),r.source.end.offset++,this.semicolon=!0;break}else if(o==="{"){c=!0;break}else if(o==="}"){if(l.length>0){for(a=l.length-1,s=l[a];s&&s[0]==="space";)s=l[--a];s&&(r.source.end=this.getPosition(s[3]||s[2]),r.source.end.offset++)}this.end(t);break}else l.push(t);else l.push(t);if(this.tokenizer.endOfFile()){u=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(r.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(r,"params",l),u&&(t=l[l.length-1],r.source.end=this.getPosition(t[3]||t[2]),r.source.end.offset++,this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),c&&(r.nodes=[],this.current=r)},i.checkMissedSemicolon=function(t){var r=this.colon(t);if(r!==!1){for(var o=0,s,a=r-1;a>=0&&(s=t[a],!(s[0]!=="space"&&(o+=1,o===2)));a--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}},i.colon=function(t){for(var r=0,o,s,a,u=k(t.entries()),c;!(c=u()).done;){var l=c.value,f=l[0],p=l[1];if(o=p,s=o[0],s==="("&&(r+=1),s===")"&&(r-=1),r===0&&s===":")if(!a)this.doubleColon(o);else{if(a[0]==="word"&&a[1]==="progid")continue;return f}a=o}return!1},i.comment=function(t){var r=new fd;this.init(r,t[2]),r.source.end=this.getPosition(t[3]||t[2]),r.source.end.offset++;var o=t[1].slice(2,-2);if(/^\s*$/.test(o))r.text="",r.raws.left=o,r.raws.right="";else{var s=o.match(/^(\s*)([^]*\S)(\s*)$/);r.text=s[2],r.raws.left=s[1],r.raws.right=s[3]}},i.createTokenizer=function(){this.tokenizer=ld(this.input)},i.decl=function(t,r){var o=new cd;this.init(o,t[0][2]);var s=t[t.length-1];for(s[0]===";"&&(this.semicolon=!0,t.pop()),o.source.end=this.getPosition(s[3]||s[2]||dd(t)),o.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),o.raws.before+=t.shift()[1];for(o.source.start=this.getPosition(t[0][2]),o.prop="";t.length;){var a=t[0][0];if(a===":"||a==="space"||a==="comment")break;o.prop+=t.shift()[1]}o.raws.between="";for(var u;t.length;)if(u=t.shift(),u[0]===":"){o.raws.between+=u[1];break}else u[0]==="word"&&/\w/.test(u[1])&&this.unknownWord([u]),o.raws.between+=u[1];(o.prop[0]==="_"||o.prop[0]==="*")&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));for(var c=[],l;t.length&&(l=t[0][0],!(l!=="space"&&l!=="comment"));)c.push(t.shift());this.precheckMissedSemicolon(t);for(var f=t.length-1;f>=0;f--){if(u=t[f],u[1].toLowerCase()==="!important"){o.important=!0;var p=this.stringFrom(t,f);p=this.spacesFromEnd(t)+p,p!==" !important"&&(o.raws.important=p);break}else if(u[1].toLowerCase()==="important"){for(var g=t.slice(0),d="",y=f;y>0;y--){var v=g[y][0];if(d.trim().indexOf("!")===0&&v!=="space")break;d=g.pop()[1]+d}d.trim().indexOf("!")===0&&(o.important=!0,o.raws.important=d,t=g)}if(u[0]!=="space"&&u[0]!=="comment")break}var m=t.some(function(_){return _[0]!=="space"&&_[0]!=="comment"});m&&(o.raws.between+=c.map(function(_){return _[1]}).join(""),c=[]),this.raw(o,"value",c.concat(t),r),o.value.includes(":")&&!r&&this.checkMissedSemicolon(t)},i.doubleColon=function(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})},i.emptyRule=function(t){var r=new ca;this.init(r,t[2]),r.selector="",r.raws.between="",this.current=r},i.end=function(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)},i.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},i.freeSemicolon=function(t){if(this.spaces+=t[1],this.current.nodes){var r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}},i.getPosition=function(t){var r=this.input.fromOffset(t);return{column:r.col,line:r.line,offset:t}},i.init=function(t,r){this.current.push(t),t.source={input:this.input,start:this.getPosition(r)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)},i.other=function(t){for(var r=!1,o=null,s=!1,a=null,u=[],c=t[1].startsWith("--"),l=[],f=t;f;){if(o=f[0],l.push(f),o==="("||o==="[")a||(a=f),u.push(o==="("?")":"]");else if(c&&s&&o==="{")a||(a=f),u.push("}");else if(u.length===0)if(o===";")if(s){this.decl(l,c);return}else break;else if(o==="{"){this.rule(l);return}else if(o==="}"){this.tokenizer.back(l.pop()),r=!0;break}else o===":"&&(s=!0);else o===u[u.length-1]&&(u.pop(),u.length===0&&(a=null));f=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(r=!0),u.length>0&&this.unclosedBracket(a),r&&s){if(!c)for(;l.length&&(f=l[l.length-1][0],!(f!=="space"&&f!=="comment"));)this.tokenizer.back(l.pop());this.decl(l,c)}else this.unknownWord(l)},i.parse=function(){for(var t;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()},i.precheckMissedSemicolon=function(){},i.raw=function(t,r,o,s){for(var a,u,c=o.length,l="",f=!0,p,g,d=0;d<c;d+=1)a=o[d],u=a[0],u==="space"&&d===c-1&&!s?f=!1:u==="comment"?(g=o[d-1]?o[d-1][0]:"empty",p=o[d+1]?o[d+1][0]:"empty",!la[g]&&!la[p]?l.slice(-1)===","?f=!1:l+=a[1]:f=!1):l+=a[1];if(!f){var y=o.reduce(function(v,m){return v+m[1]},"");t.raws[r]={raw:y,value:l}}t[r]=l},i.rule=function(t){t.pop();var r=new ca;this.init(r,t[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(r,"selector",t),this.current=r},i.spacesAndCommentsFromEnd=function(t){for(var r,o="";t.length&&(r=t[t.length-1][0],!(r!=="space"&&r!=="comment"));)o=t.pop()[1]+o;return o},i.spacesAndCommentsFromStart=function(t){for(var r,o="";t.length&&(r=t[0][0],!(r!=="space"&&r!=="comment"));)o+=t.shift()[1];return o},i.spacesFromEnd=function(t){for(var r,o="";t.length&&(r=t[t.length-1][0],r==="space");)o=t.pop()[1]+o;return o},i.stringFrom=function(t,r){for(var o="",s=r;s<t.length;s++)o+=t[s][1];return t.splice(r,t.length-r),o},i.unclosedBlock=function(){var t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)},i.unclosedBracket=function(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})},i.unexpectedClose=function(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})},i.unknownWord=function(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})},i.unnamedAtrule=function(t,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})},e}(),gd=vd,md=Rt,yd=gd,_d=nn;function Di(e,i){var n=new _d(e,i),t=new yd(n);try{t.parse()}catch(r){throw r}return t.root}var Zo=Di;Di.default=Di;md.registerParse(Di);var Ue=lt.isClean,bd=lt.my,wd=ju,Sd=en,Cd=Rt,Id=Yo,fa=Ko,Ed=Zo,kd=$r,xd={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Od={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},Rd={Once:!0,postcssPlugin:!0,prepare:!0},Kt=0;function lr(e){return(typeof e>"u"?"undefined":z(e))==="object"&&typeof e.then=="function"}function lc(e){var i=!1,n=xd[e.type];return e.type==="decl"?i=e.prop.toLowerCase():e.type==="atrule"&&(i=e.name.toLowerCase()),i&&e.append?[n,n+"-"+i,Kt,n+"Exit",n+"Exit-"+i]:i?[n,n+"-"+i,n+"Exit",n+"Exit-"+i]:e.append?[n,Kt,n+"Exit"]:[n,n+"Exit"]}function ha(e){var i;return e.type==="document"?i=["Document",Kt,"DocumentExit"]:e.type==="root"?i=["Root",Kt,"RootExit"]:i=lc(e),{eventIndex:0,events:i,iterator:0,node:e,visitorIndex:0,visitors:[]}}function ho(e){return e[Ue]=!1,e.nodes&&e.nodes.forEach(function(i){return ho(i)}),e}var po={},Xt=function(){function e(n,t,r){var o=this;this.stringified=!1,this.processed=!1;var s;if((typeof t>"u"?"undefined":z(t))==="object"&&t!==null&&(t.type==="root"||t.type==="document"))s=ho(t);else if(L(t,e)||L(t,fa))s=ho(t.root),t.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{var a=Ed;r.syntax&&(a=r.syntax.parse),r.parser&&(a=r.parser),a.parse&&(a=a.parse);try{s=a(t,r)}catch(u){this.processed=!0,this.error=u}s&&!s[bd]&&Cd.rebuild(s)}this.result=new fa(n,s,r),this.helpers=H({},po,{postcss:po,result:this.result}),this.plugins=this.processor.plugins.map(function(u){return(typeof u>"u"?"undefined":z(u))==="object"&&u.prepare?H({},u,u.prepare(o.result)):u})}var i=e.prototype;return i.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},i.catch=function(t){return this.async().catch(t)},i.finally=function(t){return this.async().then(t,t)},i.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},i.handleError=function(t,r){var o=this.result.lastPlugin;try{r&&r.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin&&(t.plugin=o.postcssPlugin,t.setMessage())}catch{}return t},i.prepareVisitors=function(){var t=this;this.listeners={};for(var r=function(l,f,p){t.listeners[f]||(t.listeners[f]=[]),t.listeners[f].push([l,p])},o=k(this.plugins),s;!(s=o()).done;){var a=s.value;if((typeof a>"u"?"undefined":z(a))==="object")for(var u in a){if(!Od[u]&&/^[A-Z]/.test(u))throw new Error("Unknown event "+u+" in "+a.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!Rd[u])if(z(a[u])==="object")for(var c in a[u])c==="*"?r(a,u,a[u][c]):r(a,u+"-"+c.toLowerCase(),a[u][c]);else typeof a[u]=="function"&&r(a,u,a[u])}}this.hasListener=Object.keys(this.listeners).length>0},i.runAsync=function(){var t=this;return Mo(function(){var r,o,s,a,u,c,l,f,p,g,d,y;return br(this,function(v){switch(v.label){case 0:t.plugin=0,r=0,v.label=1;case 1:if(!(r<t.plugins.length))return[3,6];if(o=t.plugins[r],s=t.runOnRoot(o),!lr(s))return[3,5];v.label=2;case 2:return v.trys.push([2,4,,5]),[4,s];case 3:return v.sent(),[3,5];case 4:throw a=v.sent(),t.handleError(a);case 5:return r++,[3,1];case 6:if(t.prepareVisitors(),!t.hasListener)return[3,18];u=t.result.root,v.label=7;case 7:if(u[Ue])return[3,14];u[Ue]=!0,c=[ha(u)],v.label=8;case 8:if(!(c.length>0))return[3,13];if(l=t.visitTick(c),!lr(l))return[3,12];v.label=9;case 9:return v.trys.push([9,11,,12]),[4,l];case 10:return v.sent(),[3,12];case 11:throw f=v.sent(),p=c[c.length-1].node,t.handleError(f,p);case 12:return[3,8];case 13:return[3,7];case 14:if(!t.listeners.OnceExit)return[3,18];g=function(){var m,_,w,S,C;return br(this,function(x){switch(x.label){case 0:m=y.value,_=m[0],w=m[1],t.result.lastPlugin=_,x.label=1;case 1:return x.trys.push([1,6,,7]),u.type!=="document"?[3,3]:(S=u.nodes.map(function(A){return w(A,t.helpers)}),[4,Promise.all(S)]);case 2:return x.sent(),[3,5];case 3:return[4,w(u,t.helpers)];case 4:x.sent(),x.label=5;case 5:return[3,7];case 6:throw C=x.sent(),t.handleError(C);case 7:return[2]}})},d=k(t.listeners.OnceExit),v.label=15;case 15:return(y=d()).done?[3,18]:[5,Xa(g())];case 16:v.sent(),v.label=17;case 17:return[3,15];case 18:return t.processed=!0,[2,t.stringify()]}})})()},i.runOnRoot=function(t){var r=this;this.result.lastPlugin=t;try{if((typeof t>"u"?"undefined":z(t))==="object"&&t.Once){if(this.result.root.type==="document"){var o=this.result.root.nodes.map(function(s){return t.Once(s,r.helpers)});return lr(o[0])?Promise.all(o):o}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(s){throw this.handleError(s)}},i.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var t=this.result.opts,r=Sd;t.syntax&&(r=t.syntax.stringify),t.stringifier&&(r=t.stringifier),r.stringify&&(r=r.stringify);var o=new wd(r,this.result.root,this.result.opts),s=o.generate();return this.result.css=s[0],this.result.map=s[1],this.result},i.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var t=k(this.plugins),r;!(r=t()).done;){var o=r.value,s=this.runOnRoot(o);if(lr(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var a=this.result.root;!a[Ue];)a[Ue]=!0,this.walkSync(a);if(this.listeners.OnceExit)if(a.type==="document")for(var u=k(a.nodes),c;!(c=u()).done;){var l=c.value;this.visitSync(this.listeners.OnceExit,l)}else this.visitSync(this.listeners.OnceExit,a)}return this.result},i.then=function(t,r){return this.async().then(t,r)},i.toString=function(){return this.css},i.visitSync=function(t,r){for(var o=k(t),s;!(s=o()).done;){var a=s.value,u=a[0],c=a[1];this.result.lastPlugin=u;var l=void 0;try{l=c(r,this.helpers)}catch(f){throw this.handleError(f,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(lr(l))throw this.getAsyncError()}},i.visitTick=function(t){var r=t[t.length-1],o=r.node,s=r.visitors;if(o.type!=="root"&&o.type!=="document"&&!o.parent){t.pop();return}if(s.length>0&&r.visitorIndex<s.length){var a=s[r.visitorIndex],u=a[0],c=a[1];r.visitorIndex+=1,r.visitorIndex===s.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=u;try{return c(o.toProxy(),this.helpers)}catch(d){throw this.handleError(d,o)}}if(r.iterator!==0){for(var l=r.iterator,f;f=o.nodes[o.indexes[l]];)if(o.indexes[l]+=1,!f[Ue]){f[Ue]=!0,t.push(ha(f));return}r.iterator=0,delete o.indexes[l]}for(var p=r.events;r.eventIndex<p.length;){var g=p[r.eventIndex];if(r.eventIndex+=1,g===Kt){o.nodes&&o.nodes.length&&(o[Ue]=!0,r.iterator=o.getIterator());return}else if(this.listeners[g]){r.visitors=this.listeners[g];return}}t.pop()},i.walkSync=function(t){var r=this;t[Ue]=!0;for(var o=lc(t),s=k(o),a;!(a=s()).done;){var u=a.value;if(u===Kt)t.nodes&&t.each(function(l){l[Ue]||r.walkSync(l)});else{var c=this.listeners[u];if(c&&this.visitSync(c,t.toProxy()))return}}},i.warnings=function(){return this.sync().warnings()},ge(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();Xt.registerPostcss=function(e){po=e};var fc=Xt;Xt.default=Xt;kd.registerLazyResult(Xt);Id.registerLazyResult(Xt);var Ad=ju,Md=en,Td=Zo,Pd=Ko,vo=function(){function e(n,t,r){t=t.toString(),this.stringified=!1,this._processor=n,this._css=t,this._opts=r,this._map=void 0;var o,s=Md;this.result=new Pd(this._processor,o,this._opts),this.result.css=t;var a=this;Object.defineProperty(this.result,"root",{get:function(){return a.root}});var u=new Ad(s,o,this._opts,t);if(u.isMap()){var c=u.generate(),l=c[0],f=c[1];l&&(this.result.css=l),f&&(this.result.map=f)}else u.clearAnnotation(),this.result.css=u.css}var i=e.prototype;return i.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},i.catch=function(t){return this.async().catch(t)},i.finally=function(t){return this.async().then(t,t)},i.sync=function(){if(this.error)throw this.error;return this.result},i.then=function(t,r){return this.async().then(t,r)},i.toString=function(){return this._css},i.warnings=function(){return[]},ge(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var t,r=Td;try{t=r(this._css,this._opts)}catch(o){this.error=o}if(this.error)throw this.error;return this._root=t,t}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),Dd=vo;vo.default=vo;var Nd=Dd,Ld=fc,$d=Yo,Fd=$r,Or=function(){function e(n){n===void 0&&(n=[]),this.version="8.4.38",this.plugins=this.normalize(n)}var i=e.prototype;return i.normalize=function(t){for(var r=[],o=k(t),s;!(s=o()).done;){var a=s.value;if(a.postcss===!0?a=a():a.postcss&&(a=a.postcss),(typeof a>"u"?"undefined":z(a))==="object"&&Array.isArray(a.plugins))r=r.concat(a.plugins);else if((typeof a>"u"?"undefined":z(a))==="object"&&a.postcssPlugin)r.push(a);else if(typeof a=="function")r.push(a);else if(!((typeof a>"u"?"undefined":z(a))==="object"&&(a.parse||a.stringify)))throw new Error(a+" is not a PostCSS plugin")}return r},i.process=function(t,r){return r===void 0&&(r={}),!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new Nd(this,t,r):new Ld(this,t,r)},i.use=function(t){return this.plugins=this.plugins.concat(this.normalize([t])),this},e}(),Ud=Or;Or.default=Or;Fd.registerProcessor(Or);$d.registerProcessor(Or);var Bd=rn,zd=zu,Wd=on,Gd=Xo,qd=nn,Vd=$r,jd=Jo;function Rr(e,i){if(Array.isArray(e))return e.map(function(f){return Rr(f)});var n=e.inputs,t=yr(e,["inputs"]);if(n){i=[];for(var r=k(n),o;!(o=r()).done;){var s=o.value,a=H({},s,{__proto__:qd.prototype});a.map&&(a.map=H({},a.map,{__proto__:zd.prototype})),i.push(a)}}if(t.nodes&&(t.nodes=e.nodes.map(function(f){return Rr(f,i)})),t.source){var u=t.source,c=u.inputId,l=yr(u,["inputId"]);t.source=l,c!=null&&(t.source.input=i[c])}if(t.type==="root")return new Vd(t);if(t.type==="decl")return new Bd(t);if(t.type==="rule")return new jd(t);if(t.type==="comment")return new Wd(t);if(t.type==="atrule")return new Gd(t);throw new Error("Unknown node type: "+e.type)}var Hd=Rr;Rr.default=Rr;var Yd=Vo,hc=rn,Kd=fc,Xd=Rt,Qo=Ud,Jd=en,Zd=Hd,pc=Yo,Qd=ic,dc=on,vc=Xo,ev=Ko,tv=nn,rv=Zo,iv=uc,gc=Jo,mc=$r,nv=tn;function Q(){for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];return i.length===1&&Array.isArray(i[0])&&(i=i[0]),new Qo(i)}Q.plugin=function(i,n){var t=!1;function r(){for(var s=arguments.length,a=new Array(s),u=0;u<s;u++)a[u]=arguments[u];console&&console.warn&&!t&&(t=!0,wi.LANG&&wi.LANG.startsWith("cn"));var c=n.apply(void 0,[].concat(a));return c.postcssPlugin=i,c.postcssVersion=new Qo().version,c}var o;return Object.defineProperty(r,"postcss",{get:function(){return o||(o=r()),o}}),r.process=function(s,a,u){return Q([r(u)]).process(s,a)},r};Q.stringify=Jd;Q.parse=rv;Q.fromJSON=Zd;Q.list=iv;Q.comment=function(e){return new dc(e)};Q.atRule=function(e){return new vc(e)};Q.decl=function(e){return new hc(e)};Q.rule=function(e){return new gc(e)};Q.root=function(e){return new mc(e)};Q.document=function(e){return new pc(e)};Q.CssSyntaxError=Yd;Q.Declaration=hc;Q.Container=Xd;Q.Processor=Qo;Q.Document=pc;Q.Comment=dc;Q.Warning=Qd;Q.AtRule=vc;Q.Result=ev;Q.Input=tv;Q.Rule=gc;Q.Root=mc;Q.Node=nv;Kd.registerPostcss(Q);Q.default=Q;var ov=function(){function e(){for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];Ae(this,"parentElement",null),Ae(this,"parentNode",null),Ae(this,"ownerDocument"),Ae(this,"firstChild",null),Ae(this,"lastChild",null),Ae(this,"previousSibling",null),Ae(this,"nextSibling",null),Ae(this,"ELEMENT_NODE",1),Ae(this,"TEXT_NODE",3),Ae(this,"nodeType"),Ae(this,"nodeName"),Ae(this,"RRNodeType")}var i=e.prototype;return i.contains=function(t){if(L(t,e)){if(t.ownerDocument!==this.ownerDocument)return!1;if(t===this)return!0}else return!1;for(;t.parentNode;){if(t.parentNode===this)return!0;t=t.parentNode}return!1},i.appendChild=function(t){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")},i.insertBefore=function(t,r){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")},i.removeChild=function(t){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")},i.toString=function(){return"RRNode"},ge(e,[{key:"childNodes",get:function(){for(var t=[],r=this.firstChild;r;)t.push(r),r=r.nextSibling;return t}}]),e}(),pa={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},da={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},ci={},sv=function(){return!!globalThis.Zone};function es(e){if(ci[e])return ci[e];var i=globalThis[e],n=i.prototype,t=e in pa?pa[e]:void 0,r=!!(t&&t.every(function(l){var f,p;return!!((p=(f=Object.getOwnPropertyDescriptor(n,l))==null?void 0:f.get)!=null&&p.toString().includes("[native code]"))})),o=e in da?da[e]:void 0,s=!!(o&&o.every(function(l){var f;return typeof n[l]=="function"&&((f=n[l])==null?void 0:f.toString().includes("[native code]"))}));if(r&&s&&!sv())return ci[e]=i.prototype,i.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return i.prototype;var c=u[e].prototype;return document.body.removeChild(a),c?ci[e]=c:n}catch{return n}}var En={};function ft(e,i,n){var t,r=e+"."+String(n);if(En[r])return En[r].call(i);var o=es(e),s=(t=Object.getOwnPropertyDescriptor(o,n))==null?void 0:t.get;return s?(En[r]=s,s.call(i)):i[n]}var kn={};function yc(e,i,n){var t=e+"."+String(n);if(kn[t])return kn[t].bind(i);var r=es(e),o=r[n];return typeof o!="function"?i[n]:(kn[t]=o,o.bind(i))}function av(e){return ft("Node",e,"childNodes")}function uv(e){return ft("Node",e,"parentNode")}function cv(e){return ft("Node",e,"parentElement")}function lv(e){return ft("Node",e,"textContent")}function fv(e,i){return yc("Node",e,"contains")(i)}function hv(e){return yc("Node",e,"getRootNode")()}function pv(e){return!e||!("host"in e)?null:ft("ShadowRoot",e,"host")}function dv(e){return e.styleSheets}function vv(e){return!e||!("shadowRoot"in e)?null:ft("Element",e,"shadowRoot")}function gv(e,i){return ft("Element",e,"querySelector")(i)}function mv(e,i){return ft("Element",e,"querySelectorAll")(i)}function _c(){return es("MutationObserver").constructor}function At(e,i,n){try{if(!(i in e))return function(){};var t=e[i],r=n(t);return typeof r=="function"&&(r.prototype=r.prototype||{},Object.defineProperties(r,{__rrweb_original__:{enumerable:!1,value:t}})),e[i]=r,function(){e[i]=t}}catch{return function(){}}}var B={childNodes:av,parentNode:uv,parentElement:cv,textContent:lv,contains:fv,getRootNode:hv,host:pv,styleSheets:dv,shadowRoot:vv,querySelector:gv,querySelectorAll:mv,mutationObserver:_c,patch:At};function we(e,i,n){n===void 0&&(n=document);var t={capture:!0,passive:!0};return n.addEventListener(e,i,t),function(){return n.removeEventListener(e,i,t)}}var va={map:{},getId:function(){return-1},getNode:function(){return null},removeNodeFromMap:function(){},has:function(){return!1},reset:function(){}};typeof window<"u"&&window.Proxy&&window.Reflect&&(va=new Proxy(va,{get:function(i,n,t){return Reflect.get(i,n,t)}}));function Ar(e,i,n){n===void 0&&(n={});var t=null,r=0;return function(){for(var o=arguments.length,s=new Array(o),a=0;a<o;a++)s[a]=arguments[a];var u=Date.now();!r&&n.leading===!1&&(r=u);var c=i-(u-r),l=this;c<=0||c>i?(t&&(clearTimeout(t),t=null),r=u,e.apply(l,s)):!t&&n.trailing!==!1&&(t=setTimeout(function(){r=n.leading===!1?0:Date.now(),t=null,e.apply(l,s)},c))}}function sn(e,i,n,t,r){r===void 0&&(r=window);var o=r.Object.getOwnPropertyDescriptor(e,i);return r.Object.defineProperty(e,i,t?n:{set:function(a){var u=this;setTimeout(function(){n.set.call(u,a)},0),o&&o.set&&o.set.call(this,a)}}),function(){return sn(e,i,o||{},!0)}}var Ni=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(Ni=function(){return new Date().getTime()});function bc(e){var i,n,t,r,o=e.document;return{left:o.scrollingElement?o.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:o.documentElement.scrollLeft||o?.body&&((i=B.parentElement(o.body))==null?void 0:i.scrollLeft)||((n=o?.body)==null?void 0:n.scrollLeft)||0,top:o.scrollingElement?o.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:o?.documentElement.scrollTop||o?.body&&((t=B.parentElement(o.body))==null?void 0:t.scrollTop)||((r=o?.body)==null?void 0:r.scrollTop)||0}}function wc(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Sc(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Cc(e){if(!e)return null;var i=e.nodeType===e.ELEMENT_NODE?e:B.parentElement(e);return i}function Se(e,i,n,t){if(!e)return!1;var r=Cc(e);if(!r)return!1;try{if(typeof i=="string"){if(r.classList.contains(i)||t&&r.closest("."+i)!==null)return!0}else if(ki(r,i,t))return!0}catch{}return!!(n&&(r.matches(n)||t&&r.closest(n)!==null))}function yv(e,i){return i.getId(e)!==-1}function xn(e,i,n){return e.tagName==="TITLE"&&n.headTitleMutations?!0:i.getId(e)===wr}function Ic(e,i){if(fr(e))return!1;var n=i.getId(e);if(!i.has(n))return!0;var t=B.parentNode(e);return t&&t.nodeType===e.DOCUMENT_NODE?!1:t?Ic(t,i):!0}function go(e){return!!e.changedTouches}function _v(e){e===void 0&&(e=window),"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}function Ec(e,i){return!!(e.nodeName==="IFRAME"&&i.getMeta(e))}function kc(e,i){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&i.getMeta(e))}function mo(e){return e?L(e,ov)&&"shadowRoot"in e?!!e.shadowRoot:!!B.shadowRoot(e):!1}var bv=function(){function e(){E(this,"id",1),E(this,"styleIDMap",new WeakMap),E(this,"idStyleMap",new Map)}var i=e.prototype;return i.getId=function(t){var r;return(r=this.styleIDMap.get(t))!=null?r:-1},i.has=function(t){return this.styleIDMap.has(t)},i.add=function(t,r){if(this.has(t))return this.getId(t);var o;return r===void 0?o=this.id++:o=r,this.styleIDMap.set(t,o),this.idStyleMap.set(o,t),o},i.getStyle=function(t){return this.idStyleMap.get(t)||null},i.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},i.generateId=function(){return this.id++},e}();function xc(e){var i,n=null;return"getRootNode"in e&&((i=B.getRootNode(e))==null?void 0:i.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&B.host(B.getRootNode(e))&&(n=B.host(B.getRootNode(e))),n}function wv(e){for(var i=e,n;n=xc(i);)i=n;return i}function Sv(e){var i=e.ownerDocument;if(!i)return!1;var n=wv(e);return B.contains(i,n)}function Oc(e){var i=e.ownerDocument;return i?B.contains(i,e)||Sv(e):!1}var W=function(e){return e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e}(W||{}),P=function(e){return e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e}(P||{}),Ee=function(e){return e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e}(Ee||{}),et=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}(et||{}),Jt=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}(Jt||{}),Ft=function(e){return e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e}(Ft||{}),Rc=function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e}(Rc||{});function ga(e){return"__ln"in e}var Cv=function(){function e(){E(this,"length",0),E(this,"head",null),E(this,"tail",null)}var i=e.prototype;return i.get=function(t){if(t>=this.length)throw new Error("Position outside of list range");for(var r=this.head,o=0;o<t;o++)r=r?.next||null;return r},i.addNode=function(t){var r={value:t,previous:null,next:null};if(t.__ln=r,t.previousSibling&&ga(t.previousSibling)){var o=t.previousSibling.__ln.next;r.next=o,r.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=r,o&&(o.previous=r)}else if(t.nextSibling&&ga(t.nextSibling)&&t.nextSibling.__ln.previous){var s=t.nextSibling.__ln.previous;r.previous=s,r.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=r,s&&(s.next=r)}else this.head&&(this.head.previous=r),r.next=this.head,this.head=r;r.next===null&&(this.tail=r),this.length++},i.removeNode=function(t){var r=t.__ln;this.head&&(r.previous?(r.previous.next=r.next,r.next?r.next.previous=r.previous:this.tail=r.previous):(this.head=r.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)},e}(),ma=function(e,i){return e+"@"+i},Iv=function(){function e(){var n=this;E(this,"frozen",!1),E(this,"locked",!1),E(this,"texts",[]),E(this,"attributes",[]),E(this,"attributeMap",new WeakMap),E(this,"removes",[]),E(this,"mapRemoves",[]),E(this,"movedMap",{}),E(this,"addedSet",new Set),E(this,"movedSet",new Set),E(this,"droppedSet",new Set),E(this,"removesSubTreeCache",new Set),E(this,"mutationCb"),E(this,"blockClass"),E(this,"blockSelector"),E(this,"maskTextClass"),E(this,"maskTextSelector"),E(this,"inlineStylesheet"),E(this,"maskInputOptions"),E(this,"maskTextFn"),E(this,"maskInputFn"),E(this,"keepIframeSrcFn"),E(this,"recordCanvas"),E(this,"inlineImages"),E(this,"slimDOMOptions"),E(this,"dataURLOptions"),E(this,"doc"),E(this,"mirror"),E(this,"iframeManager"),E(this,"stylesheetManager"),E(this,"shadowDomManager"),E(this,"canvasManager"),E(this,"processedNodeManager"),E(this,"unattachedDoc"),E(this,"processMutations",function(t){t.forEach(n.processMutation),n.emit()}),E(this,"emit",function(){if(!(n.frozen||n.locked)){for(var t=[],r=new Set,o=new Cv,s=function(M){for(var F=M,K=wr;K===wr;)F=F&&F.nextSibling,K=F&&n.mirror.getId(F);return K},a=function(M){var F=B.parentNode(M);if(!(!F||!Oc(M))){var K=!1;if(M.nodeType===Node.TEXT_NODE){var Ie=F.tagName;if(Ie==="TEXTAREA")return;Ie==="STYLE"&&n.addedSet.has(F)&&(K=!0)}var X=fr(F)?n.mirror.getId(xc(M)):n.mirror.getId(F),Oe=s(M);if(X===-1||Oe===-1)return o.addNode(M);var be=Bt(M,{doc:n.doc,mirror:n.mirror,blockClass:n.blockClass,blockSelector:n.blockSelector,maskTextClass:n.maskTextClass,maskTextSelector:n.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:n.inlineStylesheet,maskInputOptions:n.maskInputOptions,maskTextFn:n.maskTextFn,maskInputFn:n.maskInputFn,slimDOMOptions:n.slimDOMOptions,dataURLOptions:n.dataURLOptions,recordCanvas:n.recordCanvas,inlineImages:n.inlineImages,onSerialize:function(oe){Ec(oe,n.mirror)&&n.iframeManager.addIframe(oe),kc(oe,n.mirror)&&n.stylesheetManager.trackLinkElement(oe),mo(M)&&n.shadowDomManager.addShadowRoot(B.shadowRoot(M),n.doc)},onIframeLoad:function(oe,de){n.iframeManager.attachIframe(oe,de),n.shadowDomManager.observeAttachShadow(oe)},onStylesheetLoad:function(oe,de){n.stylesheetManager.attachLinkElement(oe,de)},cssCaptured:K});be&&(t.push({parentId:X,nextId:Oe,node:be}),r.add(be.id))}};n.mapRemoves.length;)n.mirror.removeNodeFromMap(n.mapRemoves.shift());for(var u=k(n.movedSet),c;!(c=u()).done;){var l=c.value;ya(n.removesSubTreeCache,l)&&!n.movedSet.has(B.parentNode(l))||a(l)}for(var f=k(n.addedSet),p;!(p=f()).done;){var g=p.value;!_a(n.droppedSet,g)&&!ya(n.removesSubTreeCache,g)||_a(n.movedSet,g)?a(g):n.droppedSet.add(g)}for(var d=null;o.length;){var y=null;if(d){var v=n.mirror.getId(B.parentNode(d.value)),m=s(d.value);v!==-1&&m!==-1&&(y=d)}if(!y)for(var _=o.tail;_;){var w=_;if(_=_.previous,w){var S=n.mirror.getId(B.parentNode(w.value)),C=s(w.value);if(C===-1)continue;if(S!==-1){y=w;break}else{var x=w.value,A=B.parentNode(x);if(A&&A.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var O=B.host(A),T=n.mirror.getId(O);if(T!==-1){y=w;break}}}}}if(!y){for(;o.head;)o.removeNode(o.head.value);break}d=y.previous,o.removeNode(y.value),a(y.value)}var j={texts:n.texts.map(function(M){var F=M.node,K=B.parentNode(F);return K&&K.tagName==="TEXTAREA"&&n.genTextAreaValueMutation(K),{id:n.mirror.getId(F),value:M.value}}).filter(function(M){return!r.has(M.id)}).filter(function(M){return n.mirror.has(M.id)}),attributes:n.attributes.map(function(M){var F=M.attributes;if(typeof F.style=="string"){var K=JSON.stringify(M.styleDiff),Ie=JSON.stringify(M._unchangedStyles);K.length<F.style.length&&(K+Ie).split("var(").length===F.style.split("var(").length&&(F.style=M.styleDiff)}return{id:n.mirror.getId(M.node),attributes:F}}).filter(function(M){return!r.has(M.id)}).filter(function(M){return n.mirror.has(M.id)}),removes:n.removes,adds:t};!j.texts.length&&!j.attributes.length&&!j.removes.length&&!j.adds.length||(n.texts=[],n.attributes=[],n.attributeMap=new WeakMap,n.removes=[],n.addedSet=new Set,n.movedSet=new Set,n.droppedSet=new Set,n.removesSubTreeCache=new Set,n.movedMap={},n.mutationCb(j))}}),E(this,"genTextAreaValueMutation",function(t){var r=n.attributeMap.get(t);r||(r={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},n.attributes.push(r),n.attributeMap.set(t,r));var o=Array.from(B.childNodes(t),function(s){return B.textContent(s)||""}).join("");r.attributes.value=Ci({element:t,maskInputOptions:n.maskInputOptions,tagName:t.tagName,type:Ii(t),value:o,maskInputFn:n.maskInputFn})}),E(this,"processMutation",function(t){if(!xn(t.target,n.mirror,n.slimDOMOptions))switch(t.type){case"characterData":{var r=B.textContent(t.target);!Se(t.target,n.blockClass,n.blockSelector,!1)&&r!==t.oldValue&&n.texts.push({value:ou(t.target,n.maskTextClass,n.maskTextSelector,!0)&&r?n.maskTextFn?n.maskTextFn(r,Cc(t.target)):r.replace(/[\S]/g,"*"):r,node:t.target});break}case"attributes":{var o=t.target,s=t.attributeName,a=t.target.getAttribute(s);if(s==="value"){var u=Ii(o);a=Ci({element:o,maskInputOptions:n.maskInputOptions,tagName:o.tagName,type:u,value:a,maskInputFn:n.maskInputFn})}if(Se(t.target,n.blockClass,n.blockSelector,!1)||a===t.oldValue)return;var c=n.attributeMap.get(t.target);if(o.tagName==="IFRAME"&&s==="src"&&!n.keepIframeSrcFn(a))if(!o.contentDocument)s="rr_src";else return;if(c||(c={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},n.attributes.push(c),n.attributeMap.set(t.target,c)),s==="type"&&o.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&o.setAttribute("data-rr-is-password","true"),!nu(o.tagName,s))if(c.attributes[s]=iu(n.doc,Et(o.tagName),Et(s),a),s==="style"){if(!n.unattachedDoc)try{n.unattachedDoc=document.implementation.createHTMLDocument()}catch{n.unattachedDoc=n.doc}var l=n.unattachedDoc.createElement("span");t.oldValue&&l.setAttribute("style",t.oldValue);for(var f=k(Array.from(o.style)),p;!(p=f()).done;){var g=p.value,d=o.style.getPropertyValue(g),y=o.style.getPropertyPriority(g);d!==l.style.getPropertyValue(g)||y!==l.style.getPropertyPriority(g)?y===""?c.styleDiff[g]=d:c.styleDiff[g]=[d,y]:c._unchangedStyles[g]=[d,y]}for(var v=k(Array.from(l.style)),m;!(m=v()).done;){var _=m.value;o.style.getPropertyValue(_)===""&&(c.styleDiff[_]=!1)}}else s==="open"&&o.tagName==="DIALOG"&&(o.matches("dialog:modal")?c.attributes.rr_open_mode="modal":c.attributes.rr_open_mode="non-modal");break}case"childList":{if(Se(t.target,n.blockClass,n.blockSelector,!0))return;if(t.target.tagName==="TEXTAREA"){n.genTextAreaValueMutation(t.target);return}t.addedNodes.forEach(function(w){return n.genAdds(w,t.target)}),t.removedNodes.forEach(function(w){var S=n.mirror.getId(w),C=fr(t.target)?n.mirror.getId(B.host(t.target)):n.mirror.getId(t.target);Se(t.target,n.blockClass,n.blockSelector,!1)||xn(w,n.mirror,n.slimDOMOptions)||!yv(w,n.mirror)||(n.addedSet.has(w)?(yo(n.addedSet,w),n.droppedSet.add(w)):n.addedSet.has(t.target)&&S===-1||Ic(t.target,n.mirror)||(n.movedSet.has(w)&&n.movedMap[ma(S,C)]?yo(n.movedSet,w):(n.removes.push({parentId:C,id:S,isShadow:fr(t.target)&&hr(t.target)?!0:void 0}),Ev(w,n.removesSubTreeCache))),n.mapRemoves.push(w))});break}}}),E(this,"genAdds",function(t,r){if(!n.processedNodeManager.inOtherBuffer(t,n)&&!(n.addedSet.has(t)||n.movedSet.has(t))){if(n.mirror.hasNode(t)){if(xn(t,n.mirror,n.slimDOMOptions))return;n.movedSet.add(t);var o=null;r&&n.mirror.hasNode(r)&&(o=n.mirror.getId(r)),o&&o!==-1&&(n.movedMap[ma(n.mirror.getId(t),o)]=!0)}else n.addedSet.add(t),n.droppedSet.delete(t);Se(t,n.blockClass,n.blockSelector,!1)||(B.childNodes(t).forEach(function(s){return n.genAdds(s)}),mo(t)&&B.childNodes(B.shadowRoot(t)).forEach(function(s){n.processedNodeManager.add(s,n),n.genAdds(s,t)}))}})}var i=e.prototype;return i.init=function(t){var r=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(function(o){r[o]=t[o]})},i.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},i.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},i.isFrozen=function(){return this.frozen},i.lock=function(){this.locked=!0,this.canvasManager.lock()},i.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},i.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},e}();function yo(e,i){e.delete(i),B.childNodes(i).forEach(function(n){return yo(e,n)})}function Ev(e,i){for(var n=[e];n.length;){var t=n.pop();i.has(t)||(i.add(t),B.childNodes(t).forEach(function(r){return n.push(r)}))}}function ya(e,i,n){return e.size===0?!1:kv(e,i)}function kv(e,i,n){var t=B.parentNode(i);return t?e.has(t):!1}function _a(e,i){return e.size===0?!1:Ac(e,i)}function Ac(e,i){var n=B.parentNode(i);return n?e.has(n)?!0:Ac(e,n):!1}var pr;function xv(e){pr=e}function Ov(){pr=void 0}var q=function(e){if(!pr)return e;var i=function(){for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];try{return e.apply(void 0,[].concat(t))}catch(o){if(pr&&pr(o)===!0)return;throw o}};return i},It=[];function Fr(e){try{if("composedPath"in e){var i=e.composedPath();if(i.length)return i[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function Mc(e,i){var n=new Iv;It.push(n),n.init(e);var t=new(_c())(q(n.processMutations.bind(n)));return t.observe(i,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),t}function Rv(e){var i=e.mousemoveCb,n=e.sampling,t=e.doc,r=e.mirror;if(n.mousemove===!1)return function(){};var o=typeof n.mousemove=="number"?n.mousemove:50,s=typeof n.mousemoveCallback=="number"?n.mousemoveCallback:500,a=[],u,c=Ar(q(function(p){var g=Date.now()-u;i(a.map(function(d){return d.timeOffset-=g,d}),p),a=[],u=null}),s),l=q(Ar(q(function(p){var g=Fr(p),d=go(p)?p.changedTouches[0]:p,y=d.clientX,v=d.clientY;u||(u=Ni()),a.push({x:y,y:v,id:r.getId(g),timeOffset:Ni()-u}),c(typeof DragEvent<"u"&&L(p,DragEvent)?P.Drag:L(p,MouseEvent)?P.MouseMove:P.TouchMove)}),o,{trailing:!1})),f=[we("mousemove",l,t),we("touchmove",l,t),we("drag",l,t)];return q(function(){f.forEach(function(p){return p()})})}function Av(e){var i=e.mouseInteractionCb,n=e.doc,t=e.mirror,r=e.blockClass,o=e.blockSelector,s=e.sampling;if(s.mouseInteraction===!1)return function(){};var a=s.mouseInteraction===!0||s.mouseInteraction===void 0?{}:s.mouseInteraction,u=[],c=null,l=function(f){return function(p){var g=Fr(p);if(!Se(g,r,o,!0)){var d=null,y=f;if("pointerType"in p){switch(p.pointerType){case"mouse":d=et.Mouse;break;case"touch":d=et.Touch;break;case"pen":d=et.Pen;break}d===et.Touch&&(Ee[f]===Ee.MouseDown?y="TouchStart":Ee[f]===Ee.MouseUp&&(y="TouchEnd"))}else go(p)&&(d=et.Touch);d!==null?(c=d,(y.startsWith("Touch")&&d===et.Touch||y.startsWith("Mouse")&&d===et.Mouse)&&(d=null)):Ee[f]===Ee.Click&&(d=c,c=null);var v=go(p)?p.changedTouches[0]:p;if(v){var m=t.getId(g),_=v.clientX,w=v.clientY;q(i)(H({type:Ee[y],id:m,x:_,y:w},d!==null&&{pointerType:d}))}}}};return Object.keys(Ee).filter(function(f){return Number.isNaN(Number(f))&&
vendor: 1,836 bytes, line 47
47!f.endsWith("_Departed")&&a[f]!==!1}).forEach(function(f){var p=Et(f),g=l(f);if(window.PointerEvent)switch(Ee[f]){case Ee.MouseDown:case Ee.MouseUp:p=p.replace("mouse","pointer");break;case Ee.TouchStart:case Ee.TouchEnd:return}u.push(we(p,g,n))}),q(function(){u.forEach(function(f){return f()})})}function Tc(e){var i=e.scrollCb,n=e.doc,t=e.mirror,r=e.blockClass,o=e.blockSelector,s=e.sampling,a=q(Ar(q(function(u){var c=Fr(u);if(!(!c||Se(c,r,o,!0))){var l=t.getId(c);if(c===n&&n.defaultView){var f=bc(n.defaultView);i({id:l,x:f.left,y:f.top})}else i({id:l,x:c.scrollLeft,y:c.scrollTop})}}),s.scroll||100));return we("scroll",a,n)}function Mv(e,i){var n=e.viewportResizeCb,t=i.win,r=-1,o=-1,s=q(Ar(q(function(){var a=wc(),u=Sc();(r!==a||o!==u)&&(n({width:Number(u),height:Number(a)}),r=a,o=u)}),200));return we("resize",s,t)}var Tv=["INPUT","TEXTAREA","SELECT"],ba=new WeakMap;function Pv(e){var i=e.inputCb,n=e.doc,t=e.mirror,r=e.blockClass,o=e.blockSelector,s=e.ignoreClass,a=e.ignoreSelector,u=e.maskInputOptions,c=e.maskInputFn,l=e.sampling,f=e.userTriggeredOnInput;function p(S){var C=Fr(S),x=S.isTrusted,A=C&&C.tagName;if(C&&A==="OPTION"&&(C=B.parentElement(C)),!(!C||!A||Tv.indexOf(A)<0||Se(C,r,o,!0))&&!(C.classList.contains(s)||a&&C.matches(a))){var O=C.value,T=!1,j=Ii(C)||"";j==="radio"||j==="checkbox"?T=C.checked:(u[A.toLowerCase()]||u[j])&&(O=Ci({element:C,maskInputOptions:u,tagName:A,type:j,value:O,maskInputFn:c})),g(C,f?{text:O,isChecked:T,userTriggered:x}:{text:O,isChecked:T});var M=C.name;j==="radio"&&M&&T&&n.querySelectorAll('input[type="radio"][name="'+M+'"]').forEach(function(F){if(F!==C){var K=F.value;g(F,f?{text:K,isChecked:!T,userTriggered:!1}:{text:K,isChecked:!T})}})}}function g(S,C){var x=ba.get(S);if(!x||x.text!==C.text||x.isChecked!==C.isChecked){ba.set(S,C);var A=t.getId(S);q(i)(H({},C,{id:A}))}}
vendor: 13,060 bytes, line 47
47var d=l.input==="last"?["change"]:["input","change"],y=d.map(function(S){return we(S,q(p),n)}),v=n.defaultView;if(!v)return function(){y.forEach(function(S){return S()})};var m=v.Object.getOwnPropertyDescriptor(v.HTMLInputElement.prototype,"value"),_=[[v.HTMLInputElement.prototype,"value"],[v.HTMLInputElement.prototype,"checked"],[v.HTMLSelectElement.prototype,"value"],[v.HTMLTextAreaElement.prototype,"value"],[v.HTMLSelectElement.prototype,"selectedIndex"],[v.HTMLOptionElement.prototype,"selected"]];if(m&&m.set){var w;(w=y).push.apply(w,[].concat(_.map(function(S){return sn(S[0],S[1],{set:function(){q(p)({target:this,isTrusted:!1})}},!1,v)})))}return q(function(){y.forEach(function(S){return S()})})}function Li(e){var i=[];function n(t,r){if(li("CSSGroupingRule")&&L(t.parentRule,CSSGroupingRule)||li("CSSMediaRule")&&L(t.parentRule,CSSMediaRule)||li("CSSSupportsRule")&&L(t.parentRule,CSSSupportsRule)||li("CSSConditionRule")&&L(t.parentRule,CSSConditionRule)){var o=Array.from(t.parentRule.cssRules),s=o.indexOf(t);r.unshift(s)}else if(t.parentStyleSheet){var a=Array.from(t.parentStyleSheet.cssRules),u=a.indexOf(t);r.unshift(u)}return r}return n(e,i)}function tt(e,i,n){var t,r;return e?(e.ownerNode?t=i.getId(e.ownerNode):r=n.getId(e),{styleId:r,id:t}):{}}function Dv(e,i){var n=e.styleSheetRuleCb,t=e.mirror,r=e.stylesheetManager,o=i.win;if(!o.CSSStyleSheet||!o.CSSStyleSheet.prototype)return function(){};var s=o.CSSStyleSheet.prototype.insertRule;o.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:q(function(p,g,d){var y=d[0],v=d[1],m=tt(g,t,r.styleMirror),_=m.id,w=m.styleId;return(_&&_!==-1||w&&w!==-1)&&n({id:_,styleId:w,adds:[{rule:y,index:v}]}),p.apply(g,d)})}),o.CSSStyleSheet.prototype.addRule=function(p,g,d){d===void 0&&(d=this.cssRules.length);var y=p+" { "+g+" }";return o.CSSStyleSheet.prototype.insertRule.apply(this,[y,d])};var a=o.CSSStyleSheet.prototype.deleteRule;o.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:q(function(p,g,d){var y=d[0],v=tt(g,t,r.styleMirror),m=v.id,_=v.styleId;return(m&&m!==-1||_&&_!==-1)&&n({id:m,styleId:_,removes:[{index:y}]}),p.apply(g,d)})}),o.CSSStyleSheet.prototype.removeRule=function(p){return o.CSSStyleSheet.prototype.deleteRule.apply(this,[p])};var u;o.CSSStyleSheet.prototype.replace&&(u=o.CSSStyleSheet.prototype.replace,o.CSSStyleSheet.prototype.replace=new Proxy(u,{apply:q(function(p,g,d){var y=d[0],v=tt(g,t,r.styleMirror),m=v.id,_=v.styleId;return(m&&m!==-1||_&&_!==-1)&&n({id:m,styleId:_,replace:y}),p.apply(g,d)})}));var c;o.CSSStyleSheet.prototype.replaceSync&&(c=o.CSSStyleSheet.prototype.replaceSync,o.CSSStyleSheet.prototype.replaceSync=new Proxy(c,{apply:q(function(p,g,d){var y=d[0],v=tt(g,t,r.styleMirror),m=v.id,_=v.styleId;return(m&&m!==-1||_&&_!==-1)&&n({id:m,styleId:_,replaceSync:y}),p.apply(g,d)})}));var l={};fi("CSSGroupingRule")?l.CSSGroupingRule=o.CSSGroupingRule:(fi("CSSMediaRule")&&(l.CSSMediaRule=o.CSSMediaRule),fi("CSSConditionRule")&&(l.CSSConditionRule=o.CSSConditionRule),fi("CSSSupportsRule")&&(l.CSSSupportsRule=o.CSSSupportsRule));var f={};return Object.entries(l).forEach(function(p){var g=p[0],d=p[1];f[g]={insertRule:d.prototype.insertRule,deleteRule:d.prototype.deleteRule},d.prototype.insertRule=new Proxy(f[g].insertRule,{apply:q(function(y,v,m){var _=m[0],w=m[1],S=tt(v.parentStyleSheet,t,r.styleMirror),C=S.id,x=S.styleId;return(C&&C!==-1||x&&x!==-1)&&n({id:C,styleId:x,adds:[{rule:_,index:[].concat(Li(v),[w||0])}]}),y.apply(v,m)})}),d.prototype.deleteRule=new Proxy(f[g].deleteRule,{apply:q(function(y,v,m){var _=m[0],w=tt(v.parentStyleSheet,t,r.styleMirror),S=w.id,C=w.styleId;return(S&&S!==-1||C&&C!==-1)&&n({id:S,styleId:C,removes:[{index:[].concat(Li(v),[_])}]}),y.apply(v,m)})})}),q(function(){o.CSSStyleSheet.prototype.insertRule=s,o.CSSStyleSheet.prototype.deleteRule=a,u&&(o.CSSStyleSheet.prototype.replace=u),c&&(o.CSSStyleSheet.prototype.replaceSync=c),Object.entries(l).forEach(function(p){var g=p[0],d=p[1];d.prototype.insertRule=f[g].insertRule,d.prototype.deleteRule=f[g].deleteRule})})}function Pc(e,i){var n=e.mirror,t=e.stylesheetManager,r,o,s,a=null;i.nodeName==="#document"?a=n.getId(i):a=n.getId(B.host(i));var u=i.nodeName==="#document"?(r=i.defaultView)==null?void 0:r.Document:(s=(o=i.ownerDocument)==null?void 0:o.defaultView)==null?void 0:s.ShadowRoot,c=u?.prototype?Object.getOwnPropertyDescriptor(u?.prototype,"adoptedStyleSheets"):void 0;return a===null||a===-1||!u||!c?function(){}:(Object.defineProperty(i,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:function(){var f;return(f=c.get)==null?void 0:f.call(this)},set:function(f){var p,g=(p=c.set)==null?void 0:p.call(this,f);if(a!==null&&a!==-1)try{t.adoptStyleSheets(f,a)}catch{}return g}}),q(function(){Object.defineProperty(i,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})}))}function Nv(e,i){var n=e.styleDeclarationCb,t=e.mirror,r=e.ignoreCSSAttributes,o=e.stylesheetManager,s=i.win,a=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:q(function(c,l,f){var p,g=f[0],d=f[1],y=f[2];if(r.has(g))return a.apply(l,[g,d,y]);var v=tt((p=l.parentRule)==null?void 0:p.parentStyleSheet,t,o.styleMirror),m=v.id,_=v.styleId;return(m&&m!==-1||_&&_!==-1)&&n({id:m,styleId:_,set:{property:g,value:d,priority:y},index:Li(l.parentRule)}),c.apply(l,f)})});var u=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(u,{apply:q(function(c,l,f){var p,g=f[0];if(r.has(g))return u.apply(l,[g]);var d=tt((p=l.parentRule)==null?void 0:p.parentStyleSheet,t,o.styleMirror),y=d.id,v=d.styleId;return(y&&y!==-1||v&&v!==-1)&&n({id:y,styleId:v,remove:{property:g},index:Li(l.parentRule)}),c.apply(l,f)})}),q(function(){s.CSSStyleDeclaration.prototype.setProperty=a,s.CSSStyleDeclaration.prototype.removeProperty=u})}function Lv(e){var i=e.mediaInteractionCb,n=e.blockClass,t=e.blockSelector,r=e.mirror,o=e.sampling,s=e.doc,a=q(function(c){return Ar(q(function(l){var f=Fr(l);if(!(!f||Se(f,n,t,!0))){var p=f.currentTime,g=f.volume,d=f.muted,y=f.playbackRate,v=f.loop;i({type:c,id:r.getId(f),currentTime:p,volume:g,muted:d,playbackRate:y,loop:v})}}),o.media||500)}),u=[we("play",a(Ft.Play),s),we("pause",a(Ft.Pause),s),we("seeked",a(Ft.Seeked),s),we("volumechange",a(Ft.VolumeChange),s),we("ratechange",a(Ft.RateChange),s)];return q(function(){u.forEach(function(c){return c()})})}function $v(e){var i=e.fontCb,n=e.doc,t=n.defaultView;if(!t)return function(){};var r=[],o=new WeakMap,s=t.FontFace;t.FontFace=function(c,l,f){var p=new s(c,l,f);return o.set(p,{family:c,buffer:typeof l!="string",descriptors:f,fontSource:typeof l=="string"?l:JSON.stringify(Array.from(new Uint8Array(l)))}),p};var a=At(n.fonts,"add",function(u){return function(c){return setTimeout(q(function(){var l=o.get(c);l&&(i(l),o.delete(c))}),0),u.apply(this,[c])}});return r.push(function(){t.FontFace=s}),r.push(a),q(function(){r.forEach(function(u){return u()})})}function Fv(e){var i=e.doc,n=e.mirror,t=e.blockClass,r=e.blockSelector,o=e.selectionCb,s=!0,a=q(function(){var u=i.getSelection();if(!(!u||s&&u?.isCollapsed)){s=u.isCollapsed||!1;for(var c=[],l=u.rangeCount||0,f=0;f<l;f++){var p=u.getRangeAt(f),g=p.startContainer,d=p.startOffset,y=p.endContainer,v=p.endOffset,m=Se(g,t,r,!0)||Se(y,t,r,!0);m||c.push({start:n.getId(g),startOffset:d,end:n.getId(y),endOffset:v})}o({ranges:c})}});return a(),we("selectionchange",a)}function Uv(e){var i=e.doc,n=e.customElementCb,t=i.defaultView;if(!t||!t.customElements)return function(){};var r=At(t.customElements,"define",function(o){return function(s,a,u){try{n({define:{name:s}})}catch{}return o.apply(this,[s,a,u])}});return r}function Bv(e,i){var n=e.mutationCb,t=e.mousemoveCb,r=e.mouseInteractionCb,o=e.scrollCb,s=e.viewportResizeCb,a=e.inputCb,u=e.mediaInteractionCb,c=e.styleSheetRuleCb,l=e.styleDeclarationCb,f=e.canvasMutationCb,p=e.fontCb,g=e.selectionCb,d=e.customElementCb;e.mutationCb=function(){for(var y=arguments.length,v=new Array(y),m=0;m<y;m++)v[m]=arguments[m];if(i.mutation){var _;(_=i).mutation.apply(_,[].concat(v))}n.apply(void 0,[].concat(v))},e.mousemoveCb=function(){for(var y=arguments.length,v=new Array(y),m=0;m<y;m++)v[m]=arguments[m];if(i.mousemove){var _;(_=i).mousemove.apply(_,[].concat(v))}t.apply(void 0,[].concat(v))},e.mouseInteractionCb=function(){for(var y=arguments.length,v=new Array(y),m=0;m<y;m++)v[m]=arguments[m];if(i.mouseInteraction){var _;(_=i).mouseInteraction.apply(_,[].concat(v))}r.apply(void 0,[].concat(v))},e.scrollCb=function(){for(var y=arguments.length,v=new Array(y),m=0;m<y;m++)v[m]=arguments[m];if(i.scroll){var _;(_=i).scroll.apply(_,[].concat(v))}o.apply(void 0,[].concat(v))},e.viewportResizeCb=function(){for(var y=arguments.length,v=new Array(y),m=0;m<y;m++)v[m]=arguments[m];if(i.viewportResize){var _;(_=i).viewportResize.apply(_,[].concat(v))}s.apply(void 0,[].concat(v))},e.inputCb=function(){for(var y=arguments.length,v=new Array(y),m=0;m<y;m++)v[m]=arguments[m];if(i.input){var _;(_=i).input.apply(_,[].concat(v))}a.apply(void 0,[].concat(v))},e.mediaInteractionCb=function(){for(var y=arguments.length,v=new Array(y),m=0;m<y;m++)v[m]=arguments[m];if(i.mediaInteaction){var _;(_=i).mediaInteaction.apply(_,[].concat(v))}u.apply(void 0,[].concat(v))},e.styleSheetRuleCb=function(){for(var y=arguments.length,v=new Array(y),m=0;m<y;m++)v[m]=arguments[m];if(i.styleSheetRule){var _;(_=i).styleSheetRule.apply(_,[].concat(v))}c.apply(void 0,[].concat(v))},e.styleDeclarationCb=function(){for(var y=arguments.length,v=new Array(y),m=0;m<y;m++)v[m]=arguments[m];if(i.styleDeclaration){var _;(_=i).styleDeclaration.apply(_,[].concat(v))}l.apply(void 0,[].concat(v))},e.canvasMutationCb=function(){for(var y=arguments.length,v=new Array(y),m=0;m<y;m++)v[m]=arguments[m];if(i.canvasMutation){var _;(_=i).canvasMutation.apply(_,[].concat(v))}f.apply(void 0,[].concat(v))},e.fontCb=function(){for(var y=arguments.length,v=new Array(y),m=0;m<y;m++)v[m]=arguments[m];if(i.font){var _;(_=i).font.apply(_,[].concat(v))}p.apply(void 0,[].concat(v))},e.selectionCb=function(){for(var y=arguments.length,v=new Array(y),m=0;m<y;m++)v[m]=arguments[m];if(i.selection){var _;(_=i).selection.apply(_,[].concat(v))}g.apply(void 0,[].concat(v))},e.customElementCb=function(){for(var y=arguments.length,v=new Array(y),m=0;m<y;m++)v[m]=arguments[m];if(i.customElement){var _;(_=i).customElement.apply(_,[].concat(v))}d.apply(void 0,[].concat(v))}}function zv(e,i){i===void 0&&(i={});var n=e.doc.defaultView;if(!n)return function(){};Bv(e,i);var t;e.recordDOM&&(t=Mc(e,e.doc));var r=Rv(e),o=Av(e),s=Tc(e),a=Mv(e,{win:n}),u=Pv(e),c=Lv(e),l=function(){},f=function(){},p=function(){},g=function(){};e.recordDOM&&(l=Dv(e,{win:n}),f=Pc(e,e.doc),p=Nv(e,{win:n}),e.collectFonts&&(g=$v(e)));for(var d=Fv(e),y=Uv(e),v=[],m=k(e.plugins),_;!(_=m()).done;){var w=_.value;v.push(w.observer(w.callback,n,w.options))}return q(function(){It.forEach(function(S){return S.reset()}),t?.disconnect(),r(),o(),s(),a(),u(),c(),l(),f(),p(),g(),d(),y(),v.forEach(function(S){return S()})})}function li(e){return typeof window[e]<"u"}function fi(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}var wa=function(){function e(n){E(this,"iframeIdToRemoteIdMap",new WeakMap),E(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=n}var i=e.prototype;return i.getId=function(t,r,o,s){var a=o||this.getIdToRemoteIdMap(t),u=s||this.getRemoteIdToIdMap(t),c=a.get(r);return c||(c=this.generateIdFn(),a.set(r,c),u.set(c,r)),c},i.getIds=function(t,r){var o=this,s=this.getIdToRemoteIdMap(t),a=this.getRemoteIdToIdMap(t);return r.map(function(u){return o.getId(t,u,s,a)})},i.getRemoteId=function(t,r,o){var s=o||this.getRemoteIdToIdMap(t);if(typeof r!="number")return r;var a=s.get(r);return a||-1},i.getRemoteIds=function(t,r){var o=this,s=this.getRemoteIdToIdMap(t);return r.map(function(a){return o.getRemoteId(t,a,s)})},i.reset=function(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)},i.getIdToRemoteIdMap=function(t){var r=this.iframeIdToRemoteIdMap.get(t);return r||(r=new Map,this.iframeIdToRemoteIdMap.set(t,r)),r},i.getRemoteIdToIdMap=function(t){var r=this.iframeRemoteIdToIdMap.get(t);return r||(r=new Map,this.iframeRemoteIdToIdMap.set(t,r)),r},e}(),Wv=function(){function e(n){E(this,"iframes",new WeakMap),E(this,"crossOriginIframeMap",new WeakMap),E(this,"crossOriginIframeMirror",new wa(ru)),E(this,"crossOriginIframeStyleMirror"),E(this,"crossOriginIframeRootIdMap",new WeakMap),E(this,"mirror"),E(this,"mutationCb"),E(this,"wrappedEmit"),E(this,"loadListener"),E(this,"stylesheetManager"),E(this,"recordCrossOriginIframes"),this.mutationCb=n.mutationCb,this.wrappedEmit=n.wrappedEmit,this.stylesheetManager=n.stylesheetManager,this.recordCrossOriginIframes=n.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=ne
vendor: 5,224 bytes, line 47
47w wa(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=n.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var i=e.prototype;return i.addIframe=function(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)},i.addLoadListener=function(t){this.loadListener=t},i.attachIframe=function(t,r){var o,s;this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:r}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&((o=t.contentWindow)==null||o.addEventListener("message",this.handleMessage.bind(this))),(s=this.loadListener)==null||s.call(this,t),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))},i.handleMessage=function(t){var r=t;if(!(r.data.type!=="rrweb"||r.origin!==r.data.origin)){var o=t.source;if(o){var s=this.crossOriginIframeMap.get(t.source);if(s){var a=this.transformCrossOriginEvent(s,r.data.event);a&&this.wrappedEmit(a,r.data.isCheckout)}}}},i.transformCrossOriginEvent=function(t,r){var o=this,s;switch(r.type){case W.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(r.data.node,t);var a=r.data.node.id;return this.crossOriginIframeRootIdMap.set(t,a),this.patchRootIdOnNode(r.data.node,a),{timestamp:r.timestamp,type:W.IncrementalSnapshot,data:{source:P.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:r.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case W.Meta:case W.Load:case W.DomContentLoaded:return!1;case W.Plugin:return r;case W.Custom:return this.replaceIds(r.data.payload,t,["id","parentId","previousId","nextId"]),r;case W.IncrementalSnapshot:switch(r.data.source){case P.Mutation:return r.data.adds.forEach(function(u){o.replaceIds(u,t,["parentId","nextId","previousId"]),o.replaceIdOnNode(u.node,t);var c=o.crossOriginIframeRootIdMap.get(t);c&&o.patchRootIdOnNode(u.node,c)}),r.data.removes.forEach(function(u){o.replaceIds(u,t,["parentId","id"])}),r.data.attributes.forEach(function(u){o.replaceIds(u,t,["id"])}),r.data.texts.forEach(function(u){o.replaceIds(u,t,["id"])}),r;case P.Drag:case P.TouchMove:case P.MouseMove:return r.data.positions.forEach(function(u){o.replaceIds(u,t,["id"])}),r;case P.ViewportResize:return!1;case P.MediaInteraction:case P.MouseInteraction:case P.Scroll:case P.CanvasMutation:case P.Input:return this.replaceIds(r.data,t,["id"]),r;case P.StyleSheetRule:case P.StyleDeclaration:return this.replaceIds(r.data,t,["id"]),this.replaceStyleIds(r.data,t,["styleId"]),r;case P.Font:return r;case P.Selection:return r.data.ranges.forEach(function(u){o.replaceIds(u,t,["start","end"])}),r;case P.AdoptedStyleSheet:return this.replaceIds(r.data,t,["id"]),this.replaceStyleIds(r.data,t,["styleIds"]),(s=r.data.styles)==null||s.forEach(function(u){o.replaceStyleIds(u,t,["styleId"])}),r}}return!1},i.replace=function(t,r,o,s){for(var a=k(s),u;!(u=a()).done;){var c=u.value;!Array.isArray(r[c])&&typeof r[c]!="number"||(Array.isArray(r[c])?r[c]=t.getIds(o,r[c]):r[c]=t.getId(o,r[c]))}return r},i.replaceIds=function(t,r,o){return this.replace(this.crossOriginIframeMirror,t,r,o)},i.replaceStyleIds=function(t,r,o){return this.replace(this.crossOriginIframeStyleMirror,t,r,o)},i.replaceIdOnNode=function(t,r){var o=this;this.replaceIds(t,r,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(function(s){o.replaceIdOnNode(s,r)})},i.patchRootIdOnNode=function(t,r){var o=this;t.type!==Rc.Document&&!t.rootId&&(t.rootId=r),"childNodes"in t&&t.childNodes.forEach(function(s){o.patchRootIdOnNode(s,r)})},e}(),Gv=function(){function e(n){E(this,"shadowDoms",new WeakSet),E(this,"mutationCb"),E(this,"scrollCb"),E(this,"bypassOptions"),E(this,"mirror"),E(this,"restoreHandlers",[]),this.mutationCb=n.mutationCb,this.scrollCb=n.scrollCb,this.bypassOptions=n.bypassOptions,this.mirror=n.mirror,this.init()}var i=e.prototype;return i.init=function(){this.reset(),this.patchAttachShadow(Element,document)},i.addShadowRoot=function(t,r){var o=this;if(hr(t)&&!this.shadowDoms.has(t)){this.shadowDoms.add(t);var s=Mc(H({},this.bypassOptions,{doc:r,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),t);this.restoreHandlers.push(function(){return s.disconnect()}),this.restoreHandlers.push(Tc(H({},this.bypassOptions,{scrollCb:this.scrollCb,doc:t,mirror:this.mirror}))),setTimeout(function(){t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&o.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,o.mirror.getId(B.host(t))),o.restoreHandlers.push(Pc({mirror:o.mirror,stylesheetManager:o.bypassOptions.stylesheetManager},t))},0)}},i.observeAttachShadow=function(t){!t.contentWindow||!t.contentDocument||this.patchAttachShadow(t.contentWindow.Element,t.contentDocument)},i.patchAttachShadow=function(t,r){var o=this;this.restoreHandlers.push(At(t.prototype,"attachShadow",function(s){return function(a){var u=s.call(this,a),c=B.shadowRoot(this);return c&&Oc(this)&&o.addShadowRoot(c,r),u}}))}
vendor: 5,499 bytes, line 47
47,i.reset=function(){this.restoreHandlers.forEach(function(t){try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},e}(),zt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qv=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var hi=0;hi<zt.length;hi++)qv[zt.charCodeAt(hi)]=hi;var Vv=function(i){var n=new Uint8Array(i),t,r=n.length,o="";for(t=0;t<r;t+=3)o+=zt[n[t]>>2],o+=zt[(n[t]&3)<<4|n[t+1]>>4],o+=zt[(n[t+1]&15)<<2|n[t+2]>>6],o+=zt[n[t+2]&63];return r%3===2?o=o.substring(0,o.length-1)+"=":r%3===1&&(o=o.substring(0,o.length-2)+"=="),o},Sa=new Map;function jv(e,i){var n=Sa.get(e);return n||(n=new Map,Sa.set(e,n)),n.has(i)||n.set(i,[]),n.get(i)}var Dc=function(e,i,n){if(!(!e||!(Lc(e,i)||(typeof e>"u"?"undefined":z(e))==="object"))){var t=e.constructor.name,r=jv(n,t),o=r.indexOf(e);return o===-1&&(o=r.length,r.push(e)),o}};function _i(e,i,n){if(L(e,Array))return e.map(function(d){return _i(d,i,n)});if(e===null)return e;if(L(e,Float32Array)||L(e,Float64Array)||L(e,Int32Array)||L(e,Uint32Array)||L(e,Uint8Array)||L(e,Uint16Array)||L(e,Int16Array)||L(e,Int8Array)||L(e,Uint8ClampedArray)){var t=e.constructor.name;return{rr_type:t,args:[Object.values(e)]}}else if(L(e,ArrayBuffer)){var r=e.constructor.name,o=Vv(e);return{rr_type:r,base64:o}}else if(L(e,DataView)){var s=e.constructor.name;return{rr_type:s,args:[_i(e.buffer,i,n),e.byteOffset,e.byteLength]}}else if(L(e,HTMLImageElement)){var a=e.constructor.name,u=e.src;return{rr_type:a,src:u}}else if(L(e,HTMLCanvasElement)){var c="HTMLImageElement",l=e.toDataURL();return{rr_type:c,src:l}}else if(L(e,ImageData)){var f=e.constructor.name;return{rr_type:f,args:[_i(e.data,i,n),e.width,e.height]}}else if(Lc(e,i)||(typeof e>"u"?"undefined":z(e))==="object"){var p=e.constructor.name,g=Dc(e,i,n);return{rr_type:p,index:g}}return e}var Nc=function(e,i,n){return e.map(function(t){return _i(t,i,n)})},Lc=function(e,i){var n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"],t=n.filter(function(r){return typeof i[r]=="function"});return!!t.find(function(r){return L(e,i[r])})};function Hv(e,i,n,t){for(var r=function(){var c=u.value;try{if(typeof i.CanvasRenderingContext2D.prototype[c]!="function")return"continue";var l=At(i.CanvasRenderingContext2D.prototype,c,function(p){return function(){for(var g=this,d=arguments.length,y=new Array(d),v=0;v<d;v++)y[v]=arguments[v];return Se(this.canvas,n,t,!0)||setTimeout(function(){var m=Nc(y,i,g);e(g.canvas,{type:Jt["2D"],property:c,args:m})},0),p.apply(this,y)}});o.push(l)}catch{var f=sn(i.CanvasRenderingContext2D.prototype,c,{set:function(d){e(this.canvas,{type:Jt["2D"],property:c,args:[d],setter:!0})}});o.push(f)}},o=[],s=Object.getOwnPropertyNames(i.CanvasRenderingContext2D.prototype),a=k(s),u;!(u=a()).done;)r();return function(){o.forEach(function(c){return c()})}}function Yv(e){return e==="experimental-webgl"?"webgl":e}function Ca(e,i,n,t){var r=[];try{var o=At(e.HTMLCanvasElement.prototype,"getContext",function(s){return function(a){for(var u=arguments.length,c=new Array(u>1?u-1:0),l=1;l<u;l++)c[l-1]=arguments[l];if(!Se(this,i,n,!0)){var f=Yv(a);if("__context"in this||(this.__context=f),t&&["webgl","webgl2"].includes(f))if(c[0]&&z(c[0])==="object"){var p=c[0];p.preserveDrawingBuffer||(p.preserveDrawingBuffer=!0)}else c.splice(0,1,{preserveDrawingBuffer:!0})}return s.apply(this,[].concat([a],c))}});r.push(o)}catch{}return function(){r.forEach(function(s){return s()})}}function Ia(e,i,n,t,r,o){for(var s=function(){var f=l.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(f))return"continue";try{if(typeof e[f]!="function")return"continue";var p=At(e,f,function(d){return function(){for(var y=arguments.length,v=new Array(y),m=0;m<y;m++)v[m]=arguments[m];var _=d.apply(this,v);if(Dc(_,o,this),"tagName"in this.canvas&&!Se(this.canvas,t,r,!0)){var w=Nc(v,o,this),S={type:i,property:f,args:w};n(this.canvas,S)}return _}});a.push(p)}catch{var g=sn(e,f,{set:function(v){n(this.canvas,{type:i,property:f,args:[v],setter:!0})}});a.push(g)}},a=[],u=Object.getOwnPropertyNames(e),c=k(u),l;!(l=c()).done;)s();return a}function Kv(e,i,n,t){var r,o=[];if((r=o).push.apply(r,[].concat(Ia(i.WebGLRenderingContext.prototype,Jt.WebGL,e,n,t,i))),typeof i.WebGL2RenderingContext<"u"){var s;(s=o).push.apply(s,[].concat(Ia(i.WebGL2RenderingContext.prototype,Jt.WebGL2,e,n,t,i)))}return function(){o.forEach(function(a){return a()})}}var $c="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSA
47yKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",Xv=function(e){return Uint8Array.from(atob(e),function(i){return i.charCodeAt(0)})},Ea=typeof window<"u"&&window.Blob&&new Blob([Xv($c)],{type:"text/javascript;charset=utf-8"});function Jv(e){var i;try{if(i=Ea&&(window.URL||window.webkitURL).createObjectURL(Ea),!i)throw"";var n=new Worker(i,{name:e?.name});return n.addEventListener("error",function(){(window.URL||window.webkitURL).revokeObjectURL(i)}),n}catch{return new Worker("data:text/javascript;base64,"+$c,{name:e?.name})}finally{i&&(window.URL||window.webkitURL).revokeObjectURL(i)}}var Zv=function(){function e(n){var t=this;E(this,"pendingCanvasMutations",new Map),E(this,"rafStamps",{latestId:0,invokeId:null}),E(this,"mirror"),E(this,"mutationCb"),E(this,"resetObservers"),E(this,"frozen",!1),E(this,"locked",!1),E(this,"processMutation",function(f,p){var g=t.rafStamps.invokeId&&t.rafStamps.latestId!==t.rafStamps.invokeId;(g||!t.rafStamps.invokeId)&&(t.rafStamps.invokeId=t.rafStamps.latestId),t.pendingCanvasMutations.has(f)||t.pendingCanvasMutations.set(f,[]),t.pendingCanvasMutations.get(f).push(p)});var r=n.sampling,o=r===void 0?"all":r,s=n.win,a=n.blockClass,u=n.blockSelector,c=n.recordCanvas,l=n.dataURLOptions;this.mutationCb=n.mutationCb,this.mirror=n.mirror,c&&o==="all"&&this.initCanvasMutationObserver(s,a,u),c&&typeof o=="number"&&this.initCanvasFPSObserver(o,s,a,u,{dataURLOptions:l})}var i=e.prototype;return i.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},i.freeze=function(){this.frozen=!0},i.unfreeze=function(){this.frozen=!1},i.lock=function(){this.locked=!0},i.unlock=function(){this.locked=!1},i.initCanvasFPSObserver=function(t,r,o,s,a){var u=this,c=Ca(r,o,s,!0),l=new Map,f=new Jv;f.onmessage=function(m){var _=m.data.id;if(l.set(_,!1),"base64"in m.data){var w=m.data,S=w.base64,C=w.type,x=w.width,A=w.height;u.mutationCb({id:_,type:Jt["2D"],commands:[{property:"clearRect",args:[0,0,x,A]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:S}],type:C}]},0,0]}]})}};var p=1e3/t,g=0,d,y=function(){var m=[];return r.document.querySelectorAll("canvas").forEach(function(_){Se(_,o,s,!0)||m.push(_)}),m},v=function(m){if(g&&m-g<p){d=requestAnimationFrame(v);return}g=m;var _=u;
vendor: 4,224 bytes, line 47
47y().forEach(Mo(function(w){var S,C,x,A;return br(this,function(O){switch(O.label){case 0:return C=_.mirror.getId(w),l.get(C)?[2]:w.width===0||w.height===0?[2]:(l.set(C,!0),["webgl","webgl2"].includes(w.__context)&&(x=w.getContext(w.__context),((S=x?.getContextAttributes())==null?void 0:S.preserveDrawingBuffer)===!1&&x.clear(x.COLOR_BUFFER_BIT)),[4,createImageBitmap(w)]);case 1:return A=O.sent(),f.postMessage({id:C,bitmap:A,width:w.width,height:w.height,dataURLOptions:a.dataURLOptions},[A]),[2]}})})),d=requestAnimationFrame(v)};d=requestAnimationFrame(v),this.resetObservers=function(){c(),cancelAnimationFrame(d)}},i.initCanvasMutationObserver=function(t,r,o){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var s=Ca(t,r,o,!1),a=Hv(this.processMutation.bind(this),t,r,o),u=Kv(this.processMutation.bind(this),t,r,o);this.resetObservers=function(){s(),a(),u()}},i.startPendingCanvasMutationFlusher=function(){var t=this;requestAnimationFrame(function(){return t.flushPendingCanvasMutations()})},i.startRAFTimestamping=function(){var t=this,r=function(o){t.rafStamps.latestId=o,requestAnimationFrame(r)};requestAnimationFrame(r)},i.flushPendingCanvasMutations=function(){var t=this;this.pendingCanvasMutations.forEach(function(r,o){var s=t.mirror.getId(o);t.flushPendingCanvasMutationFor(o,s)}),requestAnimationFrame(function(){return t.flushPendingCanvasMutations()})},i.flushPendingCanvasMutationFor=function(t,r){if(!(this.frozen||this.locked)){var o=this.pendingCanvasMutations.get(t);if(!(!o||r===-1)){var s=o.map(function(u){var c=yr(u,["type"]);return c}),a=o[0].type;this.mutationCb({id:r,type:a,commands:s}),this.pendingCanvasMutations.delete(t)}}},e}(),Qv=function(){function e(n){E(this,"trackedLinkElements",new WeakSet),E(this,"mutationCb"),E(this,"adoptedStyleSheetCb"),E(this,"styleMirror",new bv),this.mutationCb=n.mutationCb,this.adoptedStyleSheetCb=n.adoptedStyleSheetCb}var i=e.prototype;return i.attachLinkElement=function(t,r){"_cssText"in r.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:r.id,attributes:r.attributes}]}),this.trackLinkElement(t)},i.trackLinkElement=function(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))},i.adoptStyleSheets=function(t,r){var o,s=function(){var f=l.value,p=void 0;o.styleMirror.has(f)?p=o.styleMirror.getId(f):(p=o.styleMirror.add(f),u.push({styleId:p,rules:Array.from(f.rules||CSSRule,function(g,d){return{rule:Qa(g,f.href),index:d}})})),a.styleIds.push(p)};if(t.length!==0){for(var a={id:r,styleIds:[]},u=[],c=k(t),l;!(l=c()).done;)o=this,s();u.length>0&&(a.styles=u),this.adoptedStyleSheetCb(a)}},i.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},i.trackStylesheetInLinkElement=function(t){},e}(),eg=function(){function e(){E(this,"nodeMap",new WeakMap),E(this,"active",!1)}var i=e.prototype;return i.inOtherBuffer=function(t,r){var o=this.nodeMap.get(t);return o&&Array.from(o).some(function(s){return s!==r})},i.add=function(t,r){var o=this;this.active||(this.active=!0,requestAnimationFrame(function(){o.nodeMap=new WeakMap,o.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(r))},i.destroy=function(){},e}(),ae,bi,On,$i=!1;try{if(Array.from([1],function(e){return e*2})[0]!==2){var Rn=document.createElement("iframe");document.body.appendChild(Rn),Array.from=((Os=Rn.contentWindow)==null?void 0:Os.Array.from)||Array.from,document.body.removeChild(Rn)}}catch{}var De=sf();function Ur(e){e===void 0&&(e={});var i=e.emit,n=e.checkoutEveryNms,t=e.checkoutEveryNth,r=e.blockClass,o=r===void 0?"rr-block":r,s=e.blockSelector,a=s===void 0?null:s,u=e.ignoreClass,c=u===void 0?"rr-ignore":u,l=e.ignoreSelector,f=l===void 0?null:l,p=e.maskTextClass,g=p===void 0?"rr-mask":p,d=e.maskTextSelector,y=d===void 0?null:d,v=e.inlineStylesheet,m=v===void 0?!0:v,_=e.maskAllInputs,w=e.maskInputOptions,S=e.slimDOMOptions,C=e.maskInputFn,x=e.maskTextFn,A=e.hooks,O=e.packFn,T=e.sampling,j=T===void 0?{}:T,M=e.dataURLOptions,F=M===void 0?{}:M,K=e.mousemoveWait,Ie=e.recordDOM,X=Ie===void 0?!0:Ie,Oe=e.recordCanvas,be=Oe===void 0?!1:Oe,oe=e.recordCrossOriginIframes,de=oe===void 0?!1:oe,ke=e.recordAfter,vt=ke===void 0?e.re
vendor: 82,683 bytes, lines 47-53
47cordAfter==="DOMContentLoaded"?e.recordAfter:"load":ke,$e=e.userTriggeredOnInput,Pt=$e===void 0?!1:$e,Re=e.collectFonts,gt=Re===void 0?!1:Re,Y=e.inlineImages,mt=Y===void 0?!1:Y,yt=e.plugins,Dt=e.keepIframeSrcFn,ir=Dt===void 0?function(){return!1}:Dt,nr=e.ignoreCSSAttributes,hn=nr===void 0?new Set([]):nr,zr=e.errorHandler;xv(zr);var Qe=de?window.parent===window:!0,_t=!1;if(!Qe)try{window.parent.document&&(_t=!1)}catch{_t=!0}if(Qe&&!i)throw new Error("emit function is required");if(!Qe&&!_t)return function(){};K!==void 0&&j.mousemove===void 0&&(j.mousemove=K),De.reset();var Nt=_===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:w!==void 0?w:{password:!0},or=S===!0||S==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:S==="all",headMetaDescKeywords:S==="all",headTitleMutations:S==="all"}:S||{};_v();var Lt,bt=0,qe=function(J){for(var xe=k(yt||[]),R;!(R=xe()).done;){var se=R.value;se.eventProcessor&&(J=se.eventProcessor(J))}return O&&!_t&&(J=O(J)),J};ae=function(J,xe){var R,se=J;if(se.timestamp=Ni(),(R=It[0])!=null&&R.isFrozen()&&se.type!==W.FullSnapshot&&!(se.type===W.IncrementalSnapshot&&se.data.source===P.Mutation)&&It.forEach(function(Tl){return Tl.unfreeze()}),Qe)i?.(qe(se),xe);else if(_t){var Rl={type:"rrweb",event:qe(se),origin:window.location.origin,isCheckout:xe};window.parent.postMessage(Rl,"*")}if(se.type===W.FullSnapshot)Lt=se,bt=0;else if(se.type===W.IncrementalSnapshot){if(se.data.source===P.Mutation&&se.data.isAttachIframe)return;bt++;var Al=t&&bt>=t,Ml=n&&se.timestamp-Lt.timestamp>n;(Al||Ml)&&bi(!0)}};for(var wt=function(J){ae({type:W.IncrementalSnapshot,data:H({source:P.Mutation},J)})},bs=function(J){return ae({type:W.IncrementalSnapshot,data:H({source:P.Scroll},J)})},ws=function(J){return ae({type:W.IncrementalSnapshot,data:H({source:P.CanvasMutation},J)})},xl=function(J){return ae({type:W.IncrementalSnapshot,data:H({source:P.AdoptedStyleSheet},J)})},St=new Qv({mutationCb:wt,adoptedStyleSheetCb:xl}),Ct=new Wv({mirror:De,mutationCb:wt,stylesheetManager:St,recordCrossOriginIframes:de,wrappedEmit:ae}),Ol=k(yt||[]),Ss;!(Ss=Ol()).done;){var Cs=Ss.value;Cs.getMirror&&Cs.getMirror({nodeMirror:De,crossOriginIframeMirror:Ct.crossOriginIframeMirror,crossOriginIframeStyleMirror:Ct.crossOriginIframeStyleMirror})}var pn=new eg;On=new Zv({recordCanvas:be,mutationCb:ws,win:window,blockClass:o,blockSelector:a,mirror:De,sampling:j.canvas,dataURLOptions:F});var Wr=new Gv({mutationCb:wt,scrollCb:bs,bypassOptions:{blockClass:o,blockSelector:a,maskTextClass:g,maskTextSelector:y,inlineStylesheet:m,maskInputOptions:Nt,dataURLOptions:F,maskTextFn:x,maskInputFn:C,recordCanvas:be,inlineImages:mt,sampling:j,slimDOMOptions:or,iframeManager:Ct,stylesheetManager:St,canvasManager:On,keepIframeSrcFn:ir,processedNodeManager:pn},mirror:De});bi=function(J){if(J===void 0&&(J=!1),!!X){ae({type:W.Meta,data:{href:window.location.href,width:Sc(),height:wc()}},J),St.reset(),Wr.init(),It.forEach(function(R){return R.lock()});var xe=Af(document,{mirror:De,blockClass:o,blockSelector:a,maskTextClass:g,maskTextSelector:y,inlineStylesheet:m,maskAllInputs:Nt,maskTextFn:x,maskInputFn:C,slimDOM:or,dataURLOptions:F,recordCanvas:be,inlineImages:mt,onSerialize:function(R){Ec(R,De)&&Ct.addIframe(R),kc(R,De)&&St.trackLinkElement(R),mo(R)&&Wr.addShadowRoot(B.shadowRoot(R),document)},onIframeLoad:function(R,se){Ct.attachIframe(R,se),Wr.observeAttachShadow(R)},onStylesheetLoad:function(R,se){St.attachLinkElement(R,se)},keepIframeSrcFn:ir});xe&&(ae({type:W.FullSnapshot,data:{node:xe,initialOffset:bc(window)}},J),It.forEach(function(R){return R.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&St.adoptStyleSheets(document.adoptedStyleSheets,De.getId(document)))}};try{var sr=[],Is=function(J){var xe;return q(zv)({mutationCb:wt,mousemoveCb:function(R,se){return ae({type:W.IncrementalSnapshot,data:{source:se,positions:R}})},mouseInteractionCb:function(R){return ae({type:W.IncrementalSnapshot,data:H({source:P.MouseInteraction},R)})},scrollCb:bs,viewportResizeCb:function(R){return ae({type:W.IncrementalSnapshot,data:H({source:P.ViewportResize},R)})},inputCb:function(R){return ae({type:W.IncrementalSnapshot,data:H({source:P.Input},R)})},mediaInteractionCb:function(R){return ae({type:W.IncrementalSnapshot,data:H({source:P.MediaInteraction},R)})},styleSheetRuleCb:function(R){return ae({type:W.IncrementalSnapshot,data:H({source:P.StyleSheetRule},R)})},styleDeclarationCb:function(R){return ae({type:W.IncrementalSnapshot,data:H({source:P.StyleDeclaration},R)})},canvasMutationCb:ws,fontCb:function(R){return ae({type:W.IncrementalSnapshot,data:H({source:P.Font},R)})},selectionCb:function(R){ae({type:W.IncrementalSnapshot,data:H({source:P.Selection},R)})},customElementCb:function(R){ae({type:W.IncrementalSnapshot,data:H({source:P.CustomElement},R)})},blockClass:o,ignoreClass:c,ignoreSelector:f,maskTextClass:g,maskTextSelector:y,maskInputOptions:Nt,inlineStylesheet:m,sampling:j,recordDOM:X,recordCanvas:be,inlineImages:mt,userTriggeredOnInput:Pt,collectFonts:gt,doc:J,maskInputFn:C,maskTextFn:x,keepIframeSrcFn:ir,blockSelector:a,slimDOMOptions:or,dataURLOptions:F,mirror:De,iframeManager:Ct,stylesheetManager:St,shadowDomManager:Wr,processedNodeManager:pn,canvasManager:On,ignoreCSSAttributes:hn,plugins:((xe=yt?.filter(function(R){return R.observer}))==null?void 0:xe.map(function(R){return{observer:R.observer,options:R.options,callback:function(se){return ae({type:W.Plugin,data:{plugin:R.name,payload:se}})}}}))||[]},A)};Ct.addLoadListener(function(J){try{sr.push(Is(J.contentDocument))}catch{}});var dn=function(){bi(),sr.push(Is(document)),$i=!0};return document.readyState==="interactive"||document.readyState==="complete"?dn():(sr.push(we("DOMContentLoaded",function(){ae({type:W.DomContentLoaded,data:{}}),vt==="DOMContentLoaded"&&dn()})),sr.push(we("load",function(){ae({type:W.Load,data:{}}),vt==="load"&&dn()},window))),function(){sr.forEach(function(J){try{J()}catch(R){var xe=String(R).toLowerCase();xe.includes("cross-origin")}}),pn.destroy(),$i=!1,Ov()}}catch{}}Ur.addCustomEvent=function(e,i){if(!$i)throw new Error("please add custom event after start recording");ae({type:W.Custom,data:{tag:e,payload:i}})};Ur.freezePage=function(){It.forEach(function(e){return e.freeze()})};Ur.takeFullSnapshot=function(e){if(!$i)throw new Error("please take full snapshot after start recording");bi(e)};Ur.mirror=De;var ka;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(ka||(ka={}));var xa=I.setImmediate,st,_o,bo,Fc=Object.prototype.toString,tg=typeof xa<"u"?function(i){return xa(i)}:setTimeout;try{st=function(i,n,t,r){return Object.defineProperty(i,n,{value:t,writable:!0,configurable:r!==!1})}}catch{st=function(n,t,r){return n[t]=r,n}}bo=function(){var i,n,t;function r(o,s){this.fn=o,this.self=s,this.next=void 0}return{add:function(s,a){t=new r(s,a),n?n.next=t:i=t,n=t,t=void 0},drain:function(){var s=i;for(i=n=_o=void 0;s;)s.fn.call(s.self),s=s.next}}}();function Fi(e,i){bo.add(e,i),_o||(_o=tg(bo.drain))}function Uc(e){var i,n=typeof e;return e!==null&&(n==="object"||n==="function")&&(i=e.then),typeof i=="function"?i:!1}function ts(){for(var e=0;e<this.chain.length;e++)rg(this,this.state===1?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function rg(e,i,n){var t,r;try{i===!1?n.reject(e.msg):(i===!0?t=e.msg:t=i.call(void 0,e.msg),t===n.promise?n.reject(TypeError("Promise-chain cycle")):(r=Uc(t))?r.call(t,n.resolve,n.reject):n.resolve(t))}catch(o){n.reject(o)}}function Bc(e){var i,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(i=Uc(e))?Fi(function(){var t=new Oa(n);try{i.call(e,function(){Bc.apply(t,arguments)},function(){dr.apply(t,arguments)})}catch(r){dr.call(t,r)}}):(n.msg=e,n.state=1,n.chain.length>0&&Fi(ts,n))}catch(t){dr.call(new Oa(n),t)}}}function dr(e){var i=this;i.triggered||(i.triggered=!0,i.def&&(i=i.def),i.msg=e,i.state=2,i.chain.length>0&&Fi(ts,i))}function zc(e,i,n,t){for(var r=0;r<i.length;r++)(function(s){e.resolve(i[s]).then(function(u){n(s,u)},t)})(r)}function Oa(e){this.def=e,this.triggered=!1}function ig(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function ht(e){if(typeof e!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var i=new ig(this);this.then=function(t,r){var o={success:typeof t=="function"?t:!0,failure:typeof r=="function"?r:!1};return o.promise=new this.constructor(function(a,u){if(typeof a!="function"||typeof u!="function")throw TypeError("Not a function");o.resolve=a,o.reject=u}),i.chain.push(o),i.state!==0&&Fi(ts,i),o.promise},this.catch=function(t){return this.then(void 0,t)};try{e.call(void 0,function(t){Bc.call(i,t)},function(t){dr.call(i,t)})}catch(n){dr.call(i,n)}}var Wc=st({},"constructor",ht,!1);ht.prototype=Wc;st(Wc,"__NPO__",0,!1);st(ht,"resolve",function(i){var n=this;return i&&typeof i=="object"&&i.__NPO__===1?i:new n(function(r,o){if(typeof r!="function"||typeof o!="function")throw TypeError("Not a function");r(i)})});st(ht,"reject",function(i){return new this(function(t,r){if(typeof t!="function"||typeof r!="function")throw TypeError("Not a function");r(i)})});st(ht,"all",function(i){var n=this;return Fc.call(i)!=="[object Array]"?n.reject(TypeError("Not an array")):i.length===0?n.resolve([]):new n(function(r,o){if(typeof r!="function"||typeof o!="function")throw TypeError("Not a function");var s=i.length,a=Array(s),u=0;zc(n,i,function(l,f){a[l]=f,++u===s&&r(a)},o)})});st(ht,"race",function(i){var n=this;return Fc.call(i)!=="[object Array]"?n.reject(TypeError("Not an array")):new n(function(r,o){if(typeof r!="function"||typeof o!="function")throw TypeError("Not a function");zc(n,i,function(a,u){r(u)},o)})});var G;typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1?G=Promise:G=ht;var Te={DEBUG:!1,LIB_VERSION:"2.71.0"},vr=24*60*60*1e3,An=8*1e3,an=Array.prototype,ng=Function.prototype,Gc=Object.prototype,rt=an.slice,Br=Gc.toString,un=Gc.hasOwnProperty,fe=I.console,it=I.navigator,D=I.document,pi=I.opera,Ra=I.screen,Ve=it.userAgent,Mn=ng.bind,Aa=an.forEach,Ma=an.indexOf,Ta=an.map,og=Array.isArray,wo={},h={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},V={log:function(){if(Te.DEBUG&&!h.isUndefined(fe)&&fe)try{fe.log.apply(fe,arguments)}catch{h.each(arguments,function(i){fe.log(i)})}},warn:function(){if(Te.DEBUG&&!h.isUndefined(fe)&&fe){var e=["Mixpanel warning:"].concat(h.toArray(arguments));try{fe.warn.apply(fe,e)}catch{h.each(e,function(n){fe.warn(n)})}}},error:function(){if(Te.DEBUG&&!h.isUndefined(fe)&&fe){var e=["Mixpanel error:"].concat(h.toArray(arguments));try{fe.error.apply(fe,e)}catch{h.each(e,function(n){fe.error(n)})}}},critical:function(){if(!h.isUndefined(fe)&&fe){var e=["Mixpanel error:"].concat(h.toArray(arguments));try{fe.error.apply(fe,e)}catch{h.each(e,function(n){fe.error(n)})}}}},Tn=function(e,i){return function(){return arguments[0]="["+i+"] "+arguments[0],e.apply(V,arguments)}},Mt=function(e){return{log:Tn(V.log,e),error:Tn(V.error,e),critical:Tn(V.critical,e)}},Mr=function(e){return function(){try{return e.apply(this,arguments)}catch(i){V.critical("Implementation error. Please turn on debug and contact [email protected]."),Te.DEBUG&&V.critical(i)}}},qc=function(e){var i=e.prototype;for(var n in i)typeof i[n]=="function"&&(i[n]=Mr(i[n]))};h.bind=function(e,i){var n,t;if(Mn&&e.bind===Mn)return Mn.apply(e,rt.call(arguments,1));if(!h.isFunction(e))throw new TypeError;return n=rt.call(arguments,2),t=function(){if(!(this instanceof t))return e.apply(i,n.concat(rt.call(arguments)));var r={};r.prototype=e.prototype;var o=new r;r.prototype=null;var s=e.apply(o,n.concat(rt.call(arguments)));return Object(s)===s?s:o},t};h.each=function(e,i,n){if(e!=null){if(Aa&&e.forEach===Aa)e.forEach(i,n);else if(e.length===+e.length){for(var t=0,r=e.length;t<r;t++)if(t in e&&i.call(n,e[t],t,e)===wo)return}else for(var o in e)if(un.call(e,o)&&i.call(n,e[o],o,e)===wo)return}};h.extend=function(e){return h.each(rt.call(arguments,1),function(i){for(var n in i)i[n]!==void 0&&(e[n]=i[n])}),e};h.isArray=og||function(e){return Br.call(e)==="[object Array]"};h.isFunction=function(e){try{return/^\s*\bfunction\b/.test(e)}catch{return!1}};h.isArguments=function(e){return!!(e&&un.call(e,"callee"))};h.toArray=function(e){return e?e.toArray?e.toArray():h.isArray(e)||h.isArguments(e)?rt.call(e):h.values(e):[]};h.map=function(e,i,n){if(Ta&&e.map===Ta)return e.map(i,n);var t=[];return h.each(e,function(r){t.push(i.call(n,r))}),t};h.keys=function(e){var i=[];return e===null||h.each(e,function(n,t){i[i.length]=t}),i};h.values=function(e){var i=[];return e===null||h.each(e,function(n){i[i.length]=n}),i};h.include=function(e,i){var n=!1;return e===null?n:Ma&&e.indexOf===Ma?e.indexOf(i)!=-1:(h.each(e,function(t){if(n||(n=t===i))return wo}),n)};h.includes=function(e,i){return e.indexOf(i)!==-1};h.inherit=function(e,i){return e.prototype=new i,e.prototype.constructor=e,e.superclass=i.prototype,e};h.isObject=function(e){return e===Object(e)&&!h.isArray(e)};h.isEmptyObject=function(e){if(h.isObject(e)){for(var i in e)if(un.call(e,i))return!1;return!0}return!1};h.isUndefined=function(e){return e===void 0};h.isString=function(e){return Br.call(e)=="[object String]"};h.isDate=function(e){return Br.call(e)=="[object Date]"};h.isNumber=function(e){return Br.call(e)=="[object Number]"};h.isElement=function(e){return!!(e&&e.nodeType===1)};h.encodeDates=function(e){return h.each(e,function(i,n){h.isDate(i)?e[n]=h.formatDate(i):h.isObject(i)&&(e[n]=h.encodeDates(i))}),e};h.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()};h.formatDate=function(e){function i(n){return n<10?"0"+n:n}return e.getUTCFullYear()+"-"+i(e.getUTCMonth()+1)+"-"+i(e.getUTCDate())+"T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())+":"+i(e.getUTCSeconds())};h.strip_empty_properties=function(e){var i={};return h.each(e,function(n,t){h.isString(n)&&n.length>0&&(i[t]=n)}),i};h.truncate=function(e,i){var n;return typeof e=="string"?n=e.slice(0,i):h.isArray(e)?(n=[],h.each(e,function(t){n.push(h.truncate(t,i))})):h.isObject(e)?(n={},h.each(e,function(t,r){n[r]=h.truncate(t,i)})):n=e,n};h.JSONEncode=function(){return function(e){var i=e,n=function(r){var o=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,s={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return o.lastIndex=0,o.test(r)?'"'+r.replace(o,function(a){var u=s[a];return typeof u=="string"?u:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+r+'"'},t=function(r,o){var s="",a=" ",u=0,c="",l="",f=0,p=s,g=[],d=o[r];switch(d&&typeof d=="object"&&typeof d.toJSON=="function"&&(d=d.toJSON(r)),typeof d){case"string":return n(d);case"number":return isFinite(d)?String(d):"null";case"boolean":case"null":return String(d);case"object":if(!d)return"null";if(s+=a,g=[],Br.apply(d)==="[object Array]"){for(f=d.length,u=0;u<f;u+=1)g[u]=t(u,d)||"null";return l=g.length===0?"[]":s?`[ 48`+s+g.join(`, 49`+s)+` 50`+p+"]":"["+g.join(",")+"]",s=p,l}for(c in d)un.call(d,c)&&(l=t(c,d),l&&g.push(n(c)+(s?": ":":")+l));return l=g.length===0?"{}":s?"{"+g.join(",")+p+"}":"{"+g.join(",")+"}",s=p,l}};return t("",{"":i})}}();h.JSONDecode=function(){var e,i,n={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:` 51`,r:"\r",t:" "},t,r=function(g){var d=new SyntaxError(g);throw d.at=e,d.text=t,d},o=function(g){return g&&g!==i&&r("Expected '"+g+"' instead of '"+i+"'"),i=t.charAt(e),e+=1,i},s=function(){var g,d="";for(i==="-"&&(d="-",o("-"));i>="0"&&i<="9";)d+=i,o();if(i===".")for(d+=".";o()&&i>="0"&&i<="9";)d+=i;if(i==="e"||i==="E")for(d+=i,o(),(i==="-"||i==="+")&&(d+=i,o());i>="0"&&i<="9";)d+=i,o();if(g=+d,!isFinite(g))r("Bad number");else return g},a=function(){var g,d,y="",v;if(i==='"')for(;o();){if(i==='"')return o(),y;if(i==="\\")if(o(),i==="u"){for(v=0,d=0;d<4&&(g=parseInt(o(),16),!!isFinite(g));d+=1)v=v*16+g;y+=String.fromCharCode(v)}else if(typeof n[i]=="string")y+=n[i];else break;else y+=i}r("Bad string")},u=function(){for(;i&&i<=" ";)o()},c=function(){switch(i){case"t":return o("t"),o("r"),o("u"),o("e"),!0;case"f":return o("f"),o("a"),o("l"),o("s"),o("e"),!1;case"n":return o("n"),o("u"),o("l"),o("l"),null}r('Unexpected "'+i+'"')},l,f=function(){var g=[];if(i==="["){if(o("["),u(),i==="]")return o("]"),g;for(;i;){if(g.push(l()),u(),i==="]")return o("]"),g;o(","),u()}}r("Bad array")},p=function(){var g,d={};if(i==="{"){if(o("{"),u(),i==="}")return o("}"),d;for(;i;){if(g=a(),u(),o(":"),Object.hasOwnProperty.call(d,g)&&r('Duplicate key "'+g+'"'),d[g]=l(),u(),i==="}")return o("}"),d;o(","),u()}}r("Bad object")};return l=function(){switch(u(),i){case"{":return p();case"[":return f();case'"':return a();case"-":return s();default:return i>="0"&&i<="9"?s():c()}},function(g){var d;return t=g,e=0,i=" ",d=l(),u(),i&&r("Syntax error"),d}}();h.base64Encode=function(e){var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n,t,r,o,s,a,u,c,l=0,f=0,p="",g=[];if(!e)return e;e=h.utf8Encode(e);do n=e.charCodeAt(l++),t=e.charCodeAt(l++),r=e.charCodeAt(l++),c=n<<16|t<<8|r,o=c>>18&63,s=c>>12&63,a=c>>6&63,u=c&63,g[f++]=i.charAt(o)+i.charAt(s)+i.charAt(a)+i.charAt(u);while(l<e.length);switch(p=g.join(""),e.length%3){case 1:p=p.slice(0,-2)+"==";break;case 2:p=p.slice(0,-1)+"=";break}return p};h.utf8Encode=function(e){e=(e+"").replace(/\r\n/g,` 52`).replace(/\r/g,` 53`);var i="",n,t,r=0,o;for(n=t=0,r=e.length,o=0;o<r;o++){var s=e.charCodeAt(o),a=null;s<128?t++:s>127&&s<2048?a=String.fromCharCode(s>>6|192,s&63|128):a=String.fromCharCode(s>>12|224,s>>6&63|128,s&63|128),a!==null&&(t>n&&(i+=e.substring(n,t)),i+=a,n=t=o+1)}return t>n&&(i+=e.substring(n,e.length)),i};h.UUID=function(){try{return I.crypto.randomUUID()}catch{for(var e=new Array(36),i=0;i<36;i++)e[i]=Math.floor(Math.random()*16);return e[14]=4,e[19]=e[19]&=-5,e[19]=e[19]|=8,e[8]=e[13]=e[18]=e[23]="-",h.map(e,function(t){return t.toString(16)}).join("")}};var Pa=["ahrefsbot","ahrefssiteaudit","amazonbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandex","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];h.isBlockedUA=function(e){var i;for(e=e.toLowerCase(),i=0;i<Pa.length;i++)if(e.indexOf(Pa[i])!==-1)return!0;return!1};h.HTTPBuildQuery=function(e,i){var n,t,r=[];return h.isUndefined(i)&&(i="&"),h.each(e,function(o,s){n=encodeURIComponent(o.toString()),t=encodeURIComponent(s),r[r.length]=t+"="+n}),r.join(i)};h.getQueryParam=function(e,i){i=i.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var n="[\\?&]"+i+"=([^&#]*)",t=new RegExp(n),r=t.exec(e);if(r===null||r&&typeof r[1]!="string"&&r[1].length)return"";var o=r[1];try{o=decodeURIComponent(o)}catch{V.error("Skipping decoding for malformed query param: "+o)}return o.replace(/\+/g," ")};h.cookie={get:function(e){for(var i=e+"=",n=D.cookie.split(";"),t=0;t<n.length;t++){for(var r=n[t];r.charAt(0)==" ";)r=r.substring(1,r.length);if(r.indexOf(i)===0)return decodeURIComponent(r.substring(i.length,r.length))}return null},parse:function(e){var i;try{i=h.JSONDecode(h.cookie.get(e))||{}}catch{}return i},set_seconds:function(e,i,n,t,r,o,s){var a="",u="",c="";if(s)a="; domain="+s;else if(t){var l=Da(D.location.hostname);a=l?"; domain=."+l:""}if(n){var f=new Date;f.setTime(f.getTime()+n*1e3),u="; expires="+f.toGMTString()}o&&(r=!0,c="; SameSite=None"),r&&(c+="; secure"),D.cookie=e+"="+encodeURIComponent(i)+u+"; path=/"+a+c},set:function(e,i,n,t,r,o,s){var a="",u="",c="";if(s)a="; domain="+s;else if(t){var l=Da(D.location.hostname);a=l?"; domain=."+l:""}if(n){var f=new Date;f.setTime(f.getTime()+n*24*60*60*1e3),u="; expires="+f.toGMTString()}o&&(r=!0,c="; SameSite=None"),r&&(c+="; secure");var p=e+"="+encodeURIComponent(i)+u+"; path=/"+a+c;return D.cookie=p,p},remove:function(e,i,n){h.cookie.set(e,"",-1,i,!1,!1,n)}};var Vc=function(e){var i=!0;try{var n="__mplss_"+rs(8),t="xyz";e.setItem(n,t),e.getItem(n)!==t&&(i=!1),e.removeItem(n)}catch{i=!1}return i},Pn=null,Tr=function(e,i){return Pn!==null&&!i?Pn:Pn=Vc(e||I.localStorage)},Dn=null,sg=function(e,i){return Dn!==null&&!i?Dn:Dn=Vc(e||I.sessionStorage)};function jc(e,i,n){var t=function(r){V.error(i+" error: "+r)};return{is_supported:function(r){var o=n(e,r);return o||V.error(i+" unsupported"),o},error:t,get:function(r){try{return e.getItem(r)}catch(o){t(o)}return null},parse:function(r){try{return h.JSONDecode(e.getItem(r))||{}}catch{}return null},set:function(r,o){try{e.setItem(r,o)}catch(s){t(s)}},remove:function(r){try{e.removeItem(r)}catch(o){t(o)}}}}h.localStorage=jc(I.localStorage,"localStorage",Tr);h.sessionStorage=jc(I.sessionStorage,"sessionStorage",sg);h.register_event=function(){var e=function(t,r,o,s,a){if(!t){V.error("No valid element provided to register_event");return}if(t.addEventListener&&!s)t.addEventListener(r,o,!!a);else{var u="on"+r,c=t[u];t[u]=i(t,o,c)}};function i(t,r,o){var s=function(a){if(a=a||n(I.event),!!a){var u=!0,c,l;return h.isFunction(o)&&(c=o(a)),l=r.call(t,a),(c===!1||l===!1)&&(u=!1),u}};return s}function n(t){return t&&(t.preventDefault=n.preventDefault,t.stopPropagation=n.stopPropagation),t}return n.preventDefault=function(){this.returnValue=!1},n.stopPropagation=function(){this.cancelBubble=!0},e}();var ag=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');h.dom_query=function(){function e(r){return r.all?r.all:r.getElementsByTagName("*")}var i=/[\t\r\n]/g;function n(r,o){var s=" "+o+" ";return(" "+r.className+" ").replace(i," ").indexOf(s)>=0}function t(r){if(!D.getElementsByTagName)return[];var o=r.split(" "),s,a,u,c,l,f,p,g,d,y,v=[D];for(f=0;f<o.length;f++){if(s=o[f].replace(/^\s+/,"").replace(/\s+$/,""),s.indexOf("#")>-1){a=s.split("#"),u=a[0];var m=a[1],_=D.getElementById(m);if(!_||u&&_.nodeName.toLowerCase()!=u)return[];v=[_];continue}if(s.indexOf(".")>-1){a=s.split("."),u=a[0];var w=a[1];for(u||(u="*"),c=[],l=0,p=0;p<v.length;p++)for(u=="*"?d=e(v[p]):d=v[p].getElementsByTagName(u),g=0;g<d.length;g++)c[l++]=d[g];for(v=[],y=0,p=0;p<c.length;p++)c[p].className&&h.isString(c[p].className)&&n(c[p],w)&&(v[y++]=c[p]);continue}var S=s.match(ag);if(S){u=S[1];var C=S[2],x=S[3],A=S[4];for(u||(u="*"),c=[],l=0,p=0;p<v.length;p++)for(u=="*"?d=e(v[p]):d=v[p].getElementsByTagName(u),g=0;g<d.length;g++)c[l++]=d[g];v=[],y=0;var O;switch(x){case"=":O=function(T){return T.getAttribute(C)==A};break;case"~":O=function(T){return T.getAttribute(C).match(new RegExp("\\b"+A+"\\b"))};break;case"|":O=function(T){return T.getAttribute(C).match(new RegExp("^"+A+"-?"))};break;case"^":O=function(T){return T.getAttribute(C).indexOf(A)===0};break;case"$":O=function(T){return T.getAttribute(C).lastIndexOf(A)==T.getAttribute(C).length-A.length};break;case"*":O=function(T){return T.getAttribute(C).indexOf(A)>-1};break;default:O=function(T){return T.getAttribute(C)}}for(v=[],y=0,p=0;p<c.length;p++)O(c[p])&&(v[y++]=c[p]);continue}for(u=s,c=[],l=0,p=0;p<v.length;p++)for(d=v[p].getElementsByTagName(u),g=0;g<d.length;g++)c[l++]=d[g];v=c}return v}return function(r){return h.isElement(r)?[r]:h.isObject(r)&&!h.isUndefined(r.length)?r:t.call(this,r)}}();var ug=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],cg=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];h.info={campaignParams:function(e){var i="",n={};return h.each(ug,function(t){i=h.getQueryParam(D.URL,t),i.length?n[t]=i:e!==void 0&&(n[t]=e)}),n},clickParams:function(){var e="",i={};return h.each(cg,function(n){e=h.getQueryParam(D.URL,n),e.length&&(i[n]=e)}),i},marketingParams:function(){return h.extend(h.info.campaignParams(),h.info.clickParams())},searchEngine:function(e){return e.search("https?://(.*)google.([^/?]*)")===0?"google":e.search("https?://(.*)bing.com")===0?"bing":e.search("https?://(.*)yahoo.com")===0?"yahoo":e.search("https?://(.*)duckduckgo.com")===0?"duckduckgo":null},searchInfo:function(e){var i=h.info.searchEngine(e),n=i!="yahoo"?"q":"p",t={};if(i!==null){t.$search_engine=i;var r=h.getQueryParam(e,n);r.length&&(t.mp_keyword=r)}return t},browser:function(e,i,n){return i=i||"",n||h.includes(e," OPR/")?h.includes(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":h.includes(e,"IEMobile")||h.includes(e,"WPDesktop")?"Internet Explorer Mobile":h.includes(e,"SamsungBrowser/")?"Samsung Internet":h.includes(e,"Edge")||h.includes(e,"Edg/")?"Microsoft Edge":h.includes(e,"FBIOS")?"Facebook Mobile":h.includes(e,"Whale/")?"Whale Browser":h.includes(e,"Chrome")?"Chrome":h.includes(e,"CriOS")?"Chrome iOS":h.includes(e,"UCWEB")||h.includes(e,"UCBrowser")?"UC Browser":h.includes(e,"FxiOS")?"Firefox iOS":h.includes(i,"Apple")?h.includes(e,"Mobile")?"Mobile Safari":"Safari":h.includes(e,"Android")?"Android Mobile":h.includes(e,"Konqueror")?"Konqueror":h.includes(e,"Firefox")?"Firefox":h.includes(e,"MSIE")||h.includes(e,"Trident/")?"Internet Explorer":h.includes(e,"Gecko")?"Mozilla":""},browserVersion:function(e,i,n){var t=h.info.browser(e,i,n),r={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/,"Whale Browser":/Whale\/(\d+(\.\d+)?)/},o=r[t];if(o===void 0)return null;var s=e.match(o);return s?parseFloat(s[s.length-2]):null},os:function(){var e=Ve;return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(e)?"iOS":/Android/.test(e)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Mac/i.test(e)?"Mac OS X":/Linux/.test(e)?"Linux":/CrOS/.test(e)?"Chrome OS":""},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""},referringDomain:function(e){var i=e.split("/");return i.length>=3?i[2]:""},currentUrl:function(){return I.location.href},properties:function(e){return typeof e!="object"&&(e={}),h.extend(h.strip_empty_properties({$os:h.info.os(),$browser:h.info.browser(Ve,it.vendor,pi),$referrer:D.referrer,$referring_domain:h.info.referringDomain(D.referrer),$device:h.info.device(Ve)}),{$current_url:h.info.currentUrl(),$browser_version:h.info.browserVersion(Ve,it.vendor,pi),$screen_height:Ra.height,$screen_width:Ra.width,mp_lib:"web",$lib_version:Te.LIB_VERSION,$insert_id:rs(),time:h.timestamp()/1e3},h.strip_empty_properties(e))},people_properties:function(){return h.extend(h.strip_empty_properties({$os:h.info.os(),$browser:h.info.browser(Ve,it.vendor,pi)}),{$browser_version:h.info.browserVersion(Ve,it.vendor,pi)})},mpPageViewProperties:function(){return h.strip_empty_properties({current_page_title:D.title,current_domain:I.location.hostname,current_url_path:I.location.pathname,current_url_protocol:I.location.protocol,current_url_search:I.location.search})}};var lg=function(e,i){var n=null,t=[];return function(r){var o=this;return t.push(r),n||(n=new G(function(s){setTimeout(function(){var a=e.apply(o,[t]);n=null,t=[],s(a)},i)})),n}},rs=function(e){var i=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return e?i.substring(0,e):i},fg=function(){var e=h.UUID().replace(/-/g,""),i=h.UUID().replace(/-/g,"").substring(0,16),n="01";return"00-"+e+"-"+i+"-"+n},hg=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,pg=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,Da=function(e){var i=pg,n=e.split("."),t=n[n.length-1];(t.length>4||t==="com"||t==="org")&&(i=hg);var r=e.match(i);return r?r[0]:""},dg=function(){var e=I.navigator.onLine;return h.isUndefined(e)||e},ot=function(){},Zt=null,Ui=null;typeof JSON<"u"&&(Zt=JSON.stringify,Ui=JSON.parse);Zt=Zt||h.JSONEncode;Ui=Ui||h.JSONDecode;h.info=h.info;h.info.browser=h.info.browser;h.info.browserVersion=h.info.browserVersion;h.info.device=h.info.device;h.info.properties=h.info.properties;h.isBlockedUA=h.isBlockedUA;h.isEmptyObject=h.isEmptyObject;h.isObject=h.isObject;h.JSONDecode=h.JSONDecode;h.JSONEncode=h.JSONEncode;h.toArray=h.toArray;h.NPO=ht;var vg="mixpanelBrowserDb",Hc="mixpanelRecordingEvents",is="mixpanelRecordingRegistry",gg=1,mg=[Hc,is],Le=function(e){this.dbPromise=null,this.storeName=e};Le.prototype._openDb=function(){return new G(function(e,i){var n=I.indexedDB.open(vg,gg);n.onerror=function(){i(n.error)},n.onsuccess=function(){e(n.result)},n.onupgradeneeded=function(t){var r=t.target.result;mg.forEach(function(o){r.createObjectStore(o)})}})};Le.prototype.init=function(){return I.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(e){return e instanceof I.IDBDatabase?G.resolve():G.reject(e)})):G.reject("indexedDB is not supported in this browser")};Le.prototype.isInitialized=function(){return!!this.dbPromise};Le.prototype.makeTransaction=function(e,i){var n=this.storeName,t=function(r){return new G(function(o,s){var a=r.transaction(n,e);a.oncomplete=function(){o(a)},a.onabort=a.onerror=function(){s(a.error)},i(a.objectStore(n))})};return this.dbPromise.then(t).catch(function(r){return r&&r.name==="InvalidStateError"?(this.dbPromise=this._openDb(),this.dbPromise.then(t)):G.reject(r)}.bind(this))};Le.prototype.setItem=function(e,i){return this.makeTransaction("readwrite",function(n){n.put(i,e)})};Le.prototype.getItem=function(e){var i;return this.makeTransaction("readonly",function(n){i=n.get(e)}).then(function(){return i.result})};Le.prototype.removeItem=function(e){return this.makeTransaction("readwrite",function(i){i.delete(e)})};Le.prototype.getAll=function(){var e;return this.makeTransaction("readonly",function(i){e=i.getAll()}).then(function(){return e.result})};var yg="__mp_opt_in_out_";function _g(e,i){Xc(!0,e,i)}function bg(e,i){Xc(!1,e,i)}function wg(e,i){return Kc(e,i)==="1"}function Yc(e,i){if(Cg(i))return V.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var n=Kc(e,i)==="0";return n&&V.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),n}function pt(e){return ss(e,function(i){return this.get_config(i)})}function dt(e){return ss(e,function(i){return this._get_config(i)})}function tr(e){return ss(e,function(i){return this._get_config(i)})}function Sg(e,i){i=i||{},ns(i).remove(os(e,i),!!i.crossSubdomainCookie,i.cookieDomain)}function ns(e){return e=e||{},e.persistenceType==="localStorage"?h.localStorage:h.cookie}function os(e,i){return i=i||{},(i.persistencePrefix||yg)+e}function Kc(e,i){return ns(i).get(os(e,i))}function Cg(e){if(e&&e.ignoreDnt)return!1;var i=e&&e.window||I,n=i.navigator||{},t=!1;return h.each([n.doNotTrack,n.msDoNotTrack,i.doNotTrack],function(r){h.includes([!0,1,"1","yes"],r)&&(t=!0)}),t}function Xc(e,i,n){if(!h.isString(i)||!i.length){V.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token");return}n=n||{},ns(n).set(os(i,n),e?1:0,h.isNumber(n.cookieExpiration)?n.cookieExpiration:null,!!n.crossSubdomainCookie,!!n.secureCookie,!!n.crossSiteCookie,n.cookieDomain),n.track&&e&&n.track(n.trackEventName||"$opt_in",n.trackProperties,{send_immediately:!0})}function ss(e,i){return function(){var n=!1;try{var t=i.call(this,"token"),r=i.call(this,"ignore_dnt"),o=i.call(this,"opt_out_tracking_persistence_type"),s=i.call(this,"opt_out_tracking_cookie_prefix"),a=i.call(this,"window");t&&(n=Yc(t,{ignoreDnt:r,persistenceType:o,persistencePrefix:s,window:a}))}catch(c){V.error("Unexpected error when checking tracking opt-out status: "+c)}if(!n)return e.apply(this,arguments);var u=arguments[arguments.length-1];typeof u=="function"&&u(0)}}var Ig=Mt("lock"),Jc=function(e,i){i=i||{},this.storageKey=e,this.storage=i.storage||I.localStorage,this.pollIntervalMS=i.pollIntervalMS||100,this.timeoutMS=i.timeoutMS||2e3,this.promiseImpl=i.promiseImpl||G};Jc.prototype.withLock=function(e,i){var n=this.promiseImpl;return new n(h.bind(function(t,r){var o=i||new Date().getTime()+"|"+Math.random(),s=new Date().getTime(),a=this.storageKey,u=this.pollIntervalMS,c=this.timeoutMS,l=this.storage,f=a+":X",p=a+":Y",g=a+":Z",d=function(w){if(new Date().getTime()-s>c){Ig.error("Timeout waiting for mutex on "+a+"; clearing lock. ["+o+"]"),l.removeItem(g),l.removeItem(p),m();return}setTimeout(function(){try{w()}catch(S){r(S)}},u*(Math.random()+.1))},y=function(w,S){w()?S():d(function(){y(w,S)})},v=function(){var w=l.getItem(p);return w&&w!==o?!1:(l.setItem(p,o),l.getItem(p)===o?!0:(Tr(l,!0)||r(new Error("localStorage support dropped while acquiring lock")),!1))},m=function(){l.setItem(f,o),y(v,function(){if(l.getItem(f)===o){_();return}d(function(){if(l.getItem(p)!==o){m();return}y(function(){return!l.getItem(g)},_)})})},_=function(){l.setItem(g,"1");var w=function(){l.removeItem(g),l.getItem(p)===o&&l.removeItem(p),l.getItem(f)===o&&l.removeItem(f)};e().then(function(S){w(),t(S)}).catch(function(S){w(),r(S)})};try{if(Tr(l,!0))m();else throw new Error("localStorage support check failed")}catch(w){r(w)}},this))};var rr=function(e){this.storage=e||I.localStorage};rr.prototype.init=function(){return G.resolve()};rr.prototype.isInitialized=function(){return!0};rr.prototype.setItem=function(e,i){return new G(h.bind(function(n,t){try{this.storage.setItem(e,Zt(i))}catch(r){t(r)}n()},this))};rr.prototype.getItem=function(e){return new G(h.bind(function(i,n){var t;try{t=Ui(this.storage.getItem(e))}catch(r){n(r)}i(t)},this))};rr.prototype.removeItem=function(e){return new G(h.bind(function(i,n){try{this.storage.removeItem(e)}catch(t){n(t)}i()},this))};var Na=Mt("batch"),We=function(e,i){i=i||{},this.storageKey=e,this.usePersistence=i.usePersistence,this.usePersistence&&(this.queueStorage=i.queueStorage||new rr,this.lock=new Jc(e,{storage:i.sharedLockStorage||I.localStorage,timeoutMS:i.sharedLockTimeoutMS})),this.reportError=i.errorReporter||h.bind(Na.error,Na),this.pid=i.pid||null,this.memQueue=[],this.initialized=!1,i.enqueueThrottleMs?this.enqueuePersisted=lg(h.bind(this._enqueuePersisted,this),i.enqueueThrottleMs):this.enqueuePersisted=h.bind(function(n){return this._enqueuePersisted([n])},this)};We.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?G.resolve():this.queueStorage.init().then(h.bind(function(){this.initialized=!0},this)).catch(h.bind(function(e){this.reportError("Error initializing queue persistence. Disabling persistence",e),this.initialized=!0,this.usePersistence=!1},this))};We.prototype.enqueue=function(e,i){var n={id:rs(),flushAfter:new Date().getTime()+i*2,payload:e};return this.usePersistence?this.enqueuePersisted(n):(this.memQueue.push(n),G.resolve(!0))};We.prototype._enqueuePersisted=function(e){var i=h.bind(function(){return this.ensureInit().then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(n){return this.saveToStorage(n.concat(e))},this)).then(h.bind(function(n){return n&&(this.memQueue=this.memQueue.concat(e)),n},this)).catch(h.bind(function(n){return this.reportError("Error enqueueing items",n,e),!1},this))},this);return this.lock.withLock(i,this.pid).catch(h.bind(function(n){return this.reportError("Error acquiring storage lock",n),!1},this))};We.prototype.fillBatch=function(e){var i=this.memQueue.slice(0,e);return this.usePersistence&&i.length<e?this.ensureInit().then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(n){if(n.length){var t={};h.each(i,function(s){t[s.id]=!0});for(var r=0;r<n.length;r++){var o=n[r];if(new Date().getTime()>o.flushAfter&&!t[o.id]&&(o.orphaned=!0,i.push(o),i.length>=e))break}}return i},this)):G.resolve(i)};var La=function(e,i){var n=[];return h.each(e,function(t){t.id&&!i[t.id]&&n.push(t)}),n};We.prototype.removeItemsByID=function(e){var i={};if(h.each(e,function(t){i[t]=!0}),this.memQueue=La(this.memQueue,i),this.usePersistence){var n=h.bind(function(){return this.ensureInit().then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(t){return t=La(t,i),this.saveToStorage(t)},this)).then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(t){for(var r=0;r<t.length;r++){var o=t[r];if(o.id&&i[o.id])throw new Error("Item not removed from storage")}return!0},this)).catch(h.bind(function(t){return this.reportError("Error removing items",t,e),!1},this))},this);return this.lock.withLock(n,this.pid).catch(h.bind(function(t){return this.reportError("Error acquiring storage lock",t),Tr(this.lock.storage,!0)?!1:n().then(h.bind(function(r){return r||this.queueStorage.removeItem(this.storageKey).then(function(){return r})},this)).catch(h.bind(function(r){return this.reportError("Error clearing queue",r),!1},this))},this))}else return G.resolve(!0)};var $a=function(e,i){var n=[];return h.each(e,function(t){var r=t.id;if(r in i){var o=i[r];o!==null&&(t.payload=o,n.push(t))}else n.push(t)}),n};We.prototype.updatePayloads=function(e){return this.memQueue=$a(this.memQueue,e),this.usePersistence?this.lock.withLock(h.bind(function(){return this.ensureInit().then(h.bind(function(){return this.readFromStorage()},this)).then(h.bind(function(n){return n=$a(n,e),this.saveToStorage(n)},this)).catch(h.bind(function(n){return this.reportError("Error updating items",e,n),!1},this))},this),this.pid).catch(h.bind(function(i){return this.reportError("Error acquiring storage lock",i),!1},this)):G.resolve(!0)};We.prototype.readFromStorage=function(){return this.ensureInit().then(h.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(h.bind(function(e){return e&&(h.isArray(e)||(this.reportError("Invalid storage entry:",e),e=null)),e||[]},this)).catch(h.bind(function(e){return this.reportError("Error retrieving queue",e),[]},this))};We.prototype.saveToStorage=function(e){return this.ensureInit().then(h.bind(function(){return this.queueStorage.setItem(this.storageKey,e)},this)).then(function(){return!0}).catch(h.bind(function(i){return this.reportError("Error saving queue",i),!1},this))};We.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(h.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):G.resolve()};var Eg=10*60*1e3,gr=Mt("batch"),Pe=function(e,i){this.errorReporter=i.errorReporter,this.queue=new We(e,{errorReporter:h.bind(this.reportError,this),queueStorage:i.queueStorage,sharedLockStorage:i.sharedLockStorage,sharedLockTimeoutMS:i.sharedLockTimeoutMS,usePersistence:i.usePersistence,enqueueThrottleMs:i.enqueueThrottleMs}),this.libConfig=i.libConfig,this.sendRequest=i.sendRequestFunc,this.beforeSendHook=i.beforeSendHook,this.stopAllBatching=i.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={},this.flushOnlyOnInterval=i.flushOnlyOnInterval||!1,this._flushPromise=null};Pe.prototype.enqueue=function(e){return this.queue.enqueue(e,this.flushInterval)};Pe.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()};Pe.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)};Pe.prototype.clear=function(){return this.queue.clear()};Pe.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size};Pe.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)};Pe.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(h.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))};Pe.prototype.sendRequestPromise=function(e,i){return new G(h.bind(function(n){this.sendRequest(e,i,n)},this))};Pe.prototype.flush=function(e){if(this.requestInProgress)return gr.log("Flush: Request already in progress"),G.resolve();this.requestInProgress=!0,e=e||{};var i=this.libConfig.batch_request_timeout_ms,n=new Date().getTime(),t=this.batchSize;return this.queue.fillBatch(t).then(h.bind(function(r){var o=r.length===t,s=[],a={};if(h.each(r,function(f){var p=f.payload;if(this.beforeSendHook&&!f.orphaned&&(p=this.beforeSendHook(p)),p){p.event&&p.properties&&(p.properties=h.extend({},p.properties,{mp_sent_by_lib_version:Te.LIB_VERSION}));var g=!0,d=f.id;d?(this.itemIdsSentSuccessfully[d]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:f,batchSize:r.length,timesSent:this.itemIdsSentSuccessfully[d]}),g=!1):this.reportError("[dupe] found item with no ID",{item:f}),g&&s.push(p)}a[f.id]=p},this),s.length<1)return this.requestInProgress=!1,this.resetFlush(),G.resolve();var u=h.bind(function(){return this.queue.removeItemsByID(h.map(r,function(f){return f.id})).then(h.bind(function(f){return h.each(r,h.bind(function(p){var g=p.id;g?(this.itemIdsSentSuccessfully[g]=this.itemIdsSentSuccessfully[g]||0,this.itemIdsSentSuccessfully[g]++,this.itemIdsSentSuccessfully[g]>5&&this.reportError("[dupe] item ID sent too many times",{item:p,batchSize:r.length,timesSent:this.itemIdsSentSuccessfully[g]})):this.reportError("[dupe] found item with no ID while removing",{item:p})},this)),f?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!o?(this.resetFlush(),G.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),G.resolve())},this))},this),c=h.bind(function(f){this.requestInProgress=!1;try{if(e.unloading)return this.queue.updatePayloads(a);if(h.isObject(f)&&f.error==="timeout"&&new Date().getTime()-n>=i)return this.reportError("Network timeout; retrying"),this.flush();if(h.isObject(f)&&(f.httpStatusCode>=500||f.httpStatusCode===429||f.httpStatusCode<=0&&!dg()||f.error==="timeout")){var p=this.flushInterval*2;return f.retryAfter&&(p=parseInt(f.retryAfter,10)*1e3||p),p=Math.min(Eg,p),this.reportError("Error; retry in "+p+" ms"),this.scheduleFlush(p),G.resolve()}else if(h.isObject(f)&&f.httpStatusCode===413)if(r.length>1){var g=Math.max(1,Math.floor(t/2));return this.batchSize=Math.min(this.batchSize,g,r.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),G.resolve()}else return this.reportError("Single-event request too large; dropping",r),this.resetBatchSize(),u();else return u()}catch(d){this.reportError("Error handling API response",d),this.resetFlush()}},this),l={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:i};return e.unloading&&(l.transport="sendBeacon"),gr.log("MIXPANEL REQUEST:",s),this.sendRequestPromise(s,l).then(c)},this)).catch(h.bind(function(r){this.reportError("Error flushing request queue",r),this.resetFlush()},this))};Pe.prototype.reportError=function(e,i){if(gr.error.apply(gr.error,arguments),this.errorReporter)try{i instanceof Error||(i=new Error(e)),this.errorReporter(e,i)}catch(n){gr.error(n)}};var as=function(e){var i=Date.now();return!e||i>e.maxExpires||i>e.idleExpires},kg=250,Gt=Mt("recorder"),Fa=I.CompressionStream,xg={batch_size:1e3,batch_flush_interval_ms:10*1e3,batch_request_timeout_ms:90*1e3,batch_autostart:!0},Og=new Set([P.MouseMove,P.MouseInteraction,P.Scroll,P.ViewportResize,P.Input,P.TouchMove,P.MediaInteraction,P.Drag,P.Selection]);function Rg(e){return e.type===W.IncrementalSnapshot&&Og.has(e.data.source)}var ve=function(e){this._mixpanel=e.mixpanelInstance,this._onIdleTimeout=e.onIdleTimeout||ot,this._onMaxLengthReached=e.onMaxLengthReached||ot,this._onBatchSent=e.onBatchSent||ot,this._rrwebRecord=e.rrwebRecord||null,this._stopRecording=null,this.replayId=e.replayId,this.batchStartUrl=e.batchStartUrl||null,this.replayStartUrl=e.replayStartUrl||null,this.idleExpires=e.idleExpires||null,this.maxExpires=e.maxExpires||null,this.replayStartTime=e.replayStartTime||null,this.seqNo=e.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=vr,this.recordMinMs=0;var i=Tr(e.sharedLockStorage,!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new Le(Hc),this.batcher=new Pe(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:xg,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:e.sharedLockStorage,usePersistence:i,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:kg,sharedLockTimeoutMS:10*1e3})};ve.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var e={distinct_id:String(this._mixpanel.get_distinct_id())},i=this._mixpanel.get_property("$device_id");i&&(e.$device_id=i);var n=this._mixpanel.get_property("$user_id");return n&&(e.$user_id=n),e};ve.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))};ve.prototype.getConfig=function(e){return this._mixpanel.get_config(e)};ve.prototype.get_config=function(e){return this.getConfig(e)};ve.prototype.startRecording=function(e){if(this._rrwebRecord===null){this.reportError("rrweb record function not provided. ");return}if(this._stopRecording!==null){Gt.log("Recording already in progress, skipping startRecording.");return}this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>vr&&(this.recordMaxMs=vr,Gt.critical("record_max_ms cannot be greater than "+vr+"ms. Capping value.")),this.maxExpires||(this.maxExpires=new Date().getTime()+this.recordMaxMs),this.recordMinMs=this.getConfig("record_min_ms"),this.recordMinMs>An&&(this.recordMinMs=An,Gt.critical("record_min_ms cannot be greater than "+An+"ms. Capping value.")),this.replayStartTime||(this.replayStartTime=new Date().getTime(),this.batchStartUrl=h.info.currentUrl(),this.replayStartUrl=h.info.currentUrl()),e||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var i=function(){clearTimeout(this.idleTimeoutId);var r=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,r),this.idleExpires=new Date().getTime()+r}.bind(this);i();var n=this.getConfig("record_block_selector");(n===""||n===null)&&(n=void 0);try{this._stopRecording=this._rrwebRecord({emit:function(r){if(this.idleExpires&&this.idleExpires<r.timestamp){this._onIdleTimeout();return}Rg(r)&&(this.batcher.stopped&&new Date().getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),i()),this.__enqueuePromise=this.batcher.enqueue(r)}.bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:n,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextClass:this.getConfig("record_mask_text_class"),maskTextSelector:this.getConfig("record_mask_text_selector"),recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15}})}catch(r){this.reportError("Unexpected error when starting rrweb recording.",r)}if(typeof this._stopRecording!="function"){this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,this.stopRecording();return}var t=this.maxExpires-new Date().getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),t)};ve.prototype.stopRecording=function(e){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(n){this.reportError("Error with rrweb stopRecording",n)}this._stopRecording=null}var i;return this.batcher.stopped?i=this.batcher.clear():e||(i=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),i};ve.prototype.isRrwebStopped=function(){return this._stopRecording===null};ve.prototype.flushEventsWithOptOut=function(e,i,n){var t=function(r){r===0&&(this.stopRecording(),n({error:"Tracking has been opted out, stopping recording."}))}.bind(this);this._flushEvents(e,i,n,t)};ve.prototype.serialize=function(){var e;try{e=this._mixpanel.get_tab_id()}catch(i){this.reportError("Error getting tab ID for serialization ",i),e=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:e}};ve.deserialize=function(e,i){var n=new ve(h.extend({},i,{replayId:e.replayId,batchStartUrl:e.batchStartUrl,replayStartUrl:e.replayStartUrl,idleExpires:e.idleExpires,maxExpires:e.maxExpires,replayStartTime:e.replayStartTime,seqNo:e.seqNo,sharedLockStorage:i.sharedLockStorage}));return n};ve.prototype._sendRequest=function(e,i,n,t){var r=function(s,a){s.status===200&&this.replayId===e&&(this.seqNo++,this.batchStartUrl=h.info.currentUrl()),this._onBatchSent(),t({status:0,httpStatusCode:s.status,responseBody:a,retryAfter:s.headers.get("Retry-After")})}.bind(this),o=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");I.fetch(o+"/"+this.getConfig("api_routes").record+"?"+new URLSearchParams(i),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:n}).then(function(s){s.json().then(function(a){r(s,a)}).catch(function(a){t({error:a})})}).catch(function(s){t({error:s,httpStatusCode:0})})};ve.prototype._flushEvents=pt(function(e,i,n){var t=e.length;if(t>0){for(var r=this.replayId,o=1/0,s=-1/0,a=!1,u=0;u<t;u++)o=Math.min(o,e[u].timestamp),s=Math.max(s,e[u].timestamp),e[u].type===W.FullSnapshot&&(a=!0);if(this.seqNo===0){if(!a){n({error:"First batch does not contain a full snapshot. Aborting recording."}),this.stopRecording(!0);return}this.replayStartTime=o}else this.replayStartTime||(this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=o);var c=s-this.replayStartTime,l={$current_url:this.batchStartUrl,$lib_version:Te.LIB_VERSION,batch_start_time:o/1e3,mp_lib:"web",replay_id:r,replay_length_ms:c,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},f=JSON.stringify(e);if(Object.assign(l,this.getUserIdInfo()),Fa){var p=new Blob([f],{type:"application/json"}).stream(),g=p.pipeThrough(new Fa("gzip"));new Response(g).blob().then(function(d){l.format="gzip",this._sendRequest(r,l,d,n)}.bind(this))}else l.format="body",this._sendRequest(r,l,f,n)}});ve.prototype.reportError=function(e,i){Gt.error.apply(Gt.error,arguments);try{!i&&!(e instanceof Error)&&(e=new Error(e)),this.getConfig("error_reporter")(e,i)}catch(n){Gt.error(n)}};var Xe=function(e){this.idb=new Le(is),this.errorReporter=e.errorReporter,this.mixpanelInstance=e.mixpanelInstance,this.sharedLockStorage=e.sharedLockStorage};Xe.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")};Xe.prototype.handleError=function(e){this.errorReporter("IndexedDB error: ",e)};Xe.prototype.setActiveRecording=function(e){if(!this.isPersistenceEnabled())return G.resolve();var i=e.tabId;return i?this.idb.init().then(function(){return this.idb.setItem(i,e)}.bind(this)).catch(this.handleError.bind(this)):G.resolve()};Xe.prototype.getActiveRecording=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}.bind(this)).then(function(e){return as(e)?null:e}.bind(this)).catch(this.handleError.bind(this)):G.resolve(null)};Xe.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()};Xe.prototype.markActiveRecordingExpired=function(){return this.getActiveRecording().then(function(e){if(e)return e.maxExpires=0,this.setActiveRecording(e)}.bind(this)).catch(this.handleError.bind(this))};Xe.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):G.resolve()};Xe.prototype.flushInactiveRecordings=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getAll()}.bind(this)).then(function(e){var i=e.filter(function(n){return as(n)}).map(function(n){var t=ve.deserialize(n,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage});return t.unloadPersistedData().then(function(){return this.idb.removeItem(n.tabId)}.bind(this)).catch(this.handleError.bind(this))}.bind(this));return G.all(i)}.bind(this)).catch(this.handleError.bind(this)):G.resolve([])};var mr=Mt("recorder"),Je=function(e,i,n){this.mixpanelInstance=e,this.rrwebRecord=i||Ur,this.sharedLockStorage=n,this.recordingRegistry=new Xe({mixpanelInstance:this.mixpanelInstance,errorReporter:mr.error,sharedLockStorage:n}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};Je.prototype.startRecording=function(e){if(e=e||{},this.activeRecording&&!this.activeRecording.isRrwebStopped()){mr.log("Recording already in progress, skipping startRecording.");return}var i=function(){mr.log("Idle timeout reached, restarting recording."),this.resetRecording()}.bind(this),n=function(){mr.log("Max recording length reached, stopping recording."),this.resetRecording()}.bind(this),t=function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}.bind(this),r={mixpanelInstance:this.mixpanelInstance,onBatchSent:t,onIdleTimeout:i,onMaxLengthReached:n,replayId:h.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return e.activeSerializedRecording?this.activeRecording=ve.deserialize(e.activeSerializedRecording,r):this.activeRecording=new ve(r),this.activeRecording.startRecording(e.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())};Je.prototype.stopRecording=function(){return this.stopRecordingInProgress=!0,this._stopCurrentRecording(!1,!0).then(function(){return this.recordingRegistry.clearActiveRecording()}.bind(this)).then(function(){this.stopRecordingInProgress=!1}.bind(this))};Je.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)};Je.prototype._stopCurrentRecording=function(e,i){if(this.activeRecording){var n=this.activeRecording.stopRecording(e);return i&&(this.activeRecording=null),n}return G.resolve()};Je.prototype.resumeRecording=function(e){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),G.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(i){return i&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:i}):e?this.startRecording({shouldStopBatcher:!1}):(mr.log("No resumable recording found."),null)}.bind(this))};Je.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})};Je.prototype.getActiveReplayId=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()?this.activeRecording.replayId:null};Object.defineProperty(Je.prototype,"replayId",{get:function(){return this.getActiveReplayId()}});I.__mp_recorder=Je;var Pr="change",Ke="click",So="hashchange",Ag="input",Ua="load",nt="mp_locationchange",Ba="popstate",cn="scrollend",us="scroll",Mg="select",Bi="submit",Tg="toggle",za="visibilitychange",Pg=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],Wa=["mp-include"],Co=["mp-no-track"],Ga=Co.concat(["mp-sensitive"]),Dg=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],Ng={button:!0,checkbox:!0,combobox:!0,grid:!0,link:!0,listbox:!0,menu:!0,menubar:!0,menuitem:!0,menuitemcheckbox:!0,menuitemradio:!0,navigation:!0,option:!0,radio:!0,radiogroup:!0,searchbox:!0,slider:!0,spinbutton:!0,switch:!0,tab:!0,tablist:!0,textbox:!0,tree:!0,treegrid:!0,treeitem:!0},Lg={base:!0,head:!0,html:!0,link:!0,meta:!0,script:!0,style:!0,title:!0,br:!0,hr:!0,wbr:!0,noscript:!0,picture:!0,source:!0,template:!0,track:!0},$g={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},qa=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],Fg=5,te=Mt("autocapture");function Io(e){for(var i={},n=Zc(e).split(" "),t=0;t<n.length;t++){var r=n[t];r&&(i[r]=!0)}return i}function Zc(e){switch(typeof e.className){case"string":return e.className;case"object":return e.className.baseVal||e.getAttribute("class")||"";default:return""}}function Ug(e){if(e.previousElementSibling)return e.previousElementSibling;do e=e.previousSibling;while(e&&!Qc(e));return e}function Va(e,i,n,t,r,o){var s={$classes:Zc(e).split(" "),$tag_name:e.tagName.toLowerCase()},a=e.id;a&&(s.$id=a),cs(e,i,r,o)&&h.each(Dg.concat(t),function(f){if(e.hasAttribute(f)&&!n[f]){var p=e.getAttribute(f);zi(p)&&(s["$attr-"+f]=p)}});for(var u=1,c=1,l=e;l=Ug(l);)u++,l.tagName===e.tagName&&c++;return s.$nth_child=u,s.$nth_of_type=c,s}function Bg(e,i){var n=i.allowElementCallback,t=i.allowSelectors||[],r=i.blockAttrs||[],o=i.blockElementCallback,s=i.blockSelectors||[],a=i.captureTextContent||!1,u=i.captureExtraAttrs||[],c=i.capturedForHeatMap||!1,l={};h.each(r,function(C){l[C]=!0});var f=null,p=typeof e.target>"u"?e.srcElement:e.target;if(el(p)&&(p=p.parentNode),qg(p,e)&&Eo(p,e,n,t)&&!Nn(p,e,o,s)){for(var g=[p],d=p;d.parentNode&&!Be(d,"body");)g.push(d.parentNode),d=d.parentNode;var y=[],v,m=!1;if(h.each(g,function(C){var x=cs(C,e,n,t);!l.href&&C.tagName.toLowerCase()==="a"&&(v=C.getAttribute("href"),v=x&&zi(v)&&v),Nn(C,e,o,s)&&(m=!0),y.push(Va(C,e,l,u,n,t))},this),!m){var _=D.documentElement;if(f={$event_type:e.type,$host:I.location.host,$pathname:I.location.pathname,$elements:y,$el_attr__href:v,$viewportHeight:Math.max(_.clientHeight,I.innerHeight||0),$viewportWidth:Math.max(_.clientWidth,I.innerWidth||0),$pageHeight:D.body.offsetHeight||0,$pageWidth:D.body.offsetWidth||0},h.each(u,function(C){if(!l[C]&&p.hasAttribute(C)){var x=p.getAttribute(C);zi(x)&&(f["$el_attr__"+C]=x)}}),a&&(w=ja(p,e,n,t),w&&w.length&&(f.$el_text=w)),e.type===Ke&&(h.each(Pg,function(C){C in e&&(f["$"+C]=e[C])}),c&&(f.$captured_for_heatmap=!0),p=zg(e)),a){var w=ja(p,e,n,t);w&&w.length&&(f.$el_text=w)}if(p){if(!Eo(p,e,n,t)||Nn(p,e,o,s))return null;var S=Va(p,e,l,u,n,t);f.$target=S,f.$el_classes=S.$classes,h.extend(f,h.strip_empty_properties({$el_id:S.$id,$el_tag_name:S.$tag_name}))}}}return f}function ja(e,i,n,t){var r="";return cs(e,i,n,t)&&e.childNodes&&e.childNodes.length&&h.each(e.childNodes,function(o){el(o)&&o.textContent&&(r+=h.trim(o.textContent).split(/(\s+)/).filter(zi).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),h.trim(r)}function zg(e){for(var i=e.target,n=e.composedPath(),t=0;t<n.length;t++){var r=n[t];if(Be(r,"a")||Be(r,"button")||Be(r,"input")||Be(r,"select")||r.getAttribute&&r.getAttribute("role")==="button"){i=r;break}if(r===i)break}return i}function Eo(e,i,n,t){if(n)try{if(!n(e,i))return!1}catch(s){return te.critical("Error while checking element in allowElementCallback",s),!1}if(!t.length)return!0;for(var r=0;r<t.length;r++){var o=t[r];try{if(e.matches(o))return!0}catch(s){te.critical("Error while checking selector: "+o,s)}}return!1}function Nn(e,i,n,t){var r;if(n)try{if(n(e,i))return!0}catch(a){return te.critical("Error while checking element in blockElementCallback",a),!0}if(t&&t.length)for(r=0;r<t.length;r++){var o=t[r];try{if(e.matches(o))return!0}catch(a){te.critical("Error while checking selector: "+o,a)}}var s=Io(e);for(r=0;r<Co.length;r++)if(s[Co[r]])return!0;return!1}function Qc(e){return e&&e.nodeType===1}function Be(e,i){return e&&e.tagName&&e.tagName.toLowerCase()===i.toLowerCase()}function el(e){return e&&e.nodeType===3}function Wg(){try{var e=D.createElement("div");return!!e.matches}catch{return!1}}function Gg(){return typeof WeakSet<"u"}function qg(e,i){if(!e||Be(e,"html")||!Qc(e))return!1;var n=e.tagName.toLowerCase();switch(n){case"form":return i.type===Bi;case"input":return["button","submit"].indexOf(e.getAttribute("type"))===-1?i.type===Pr:i.type===Ke;case"select":case"textarea":return i.type===Pr;default:return i.type===Ke}}function cs(e,i,n,t){var r;if(!Eo(e,i,n,t))return!1;for(var o=e;o.parentNode&&!Be(o,"body");o=o.parentNode){var s=Io(o);for(r=0;r<Ga.length;r++)if(s[Ga[r]])return!1}var a=Io(e);for(r=0;r<Wa.length;r++)if(a[Wa[r]])return!0;if(Be(e,"input")||Be(e,"select")||Be(e,"textarea")||e.getAttribute("contenteditable")==="true")return!1;var u=e.type||"";if(typeof u=="string")switch(u.toLowerCase()){case"hidden":return!1;case"password":return!1}var c=e.name||e.id||"";if(typeof c=="string"){var l=/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i;if(l.test(c.replace(/[^a-zA-Z0-9]/g,"")))return!1}return!0}function zi(e){if(e===null||h.isUndefined(e))return!1;if(typeof e=="string"){e=h.trim(e);var i=/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/;if(i.test((e||"").replace(/[- ]/g,"")))return!1;var n=/(^\d{3}-?\d{2}-?\d{4}$)/;if(n.test(e))return!1}return!0}function tl(e){var i="onscrollend"in I,n=Mr(e),t=cn;if(!i){var r=null,o=100;n=Mr(function(){clearTimeout(r),r=setTimeout(e,o)}),t=us}return{listener:n,eventType:t}}function Vg(e){for(var i=0;i<qa.length;i++)if(e.hasAttribute(qa[i]))return!0;return!1}function jg(e){var i=e.getAttribute("role");if(!i)return!1;var n=i.trim().split(/\s+/)[0].toLowerCase();return Ng[n]}function Ln(e){var i=e.tagName.toLowerCase();return!!(i==="button"||i==="input"||i==="select"||i==="textarea"||i==="details"||i==="dialog"||e.isContentEditable||e.onclick||e.onmousedown||e.onmouseup||e.ontouchstart||e.ontouchend||Vg(e)||jg(e)||i==="a"&&e.hasAttribute("href")||e.hasAttribute("tabindex"))}function Hg(e){if(!e||!e.tagName)return!0;var i=e.tagName.toLowerCase();if(Lg[i])return!0;if(Ln(e))return!1;for(var n=e.parentElement,t=0;n&&t<Fg;){if(Ln(n))return!1;if(n.getRootNode&&n.getRootNode()!==D){var r=n.getRootNode();if(r.host&&Ln(r.host))return!1}n=n.parentElement,t++}return!!$g[i]}var Yg=30,Kg=1e3,Xg=4;function rl(){this.clicks=[]}rl.prototype.isRageClick=function(e,i,n){n=n||{};var t=n.threshold_px||Yg,r=n.timeout_ms||Kg,o=n.click_count||Xg,s=Date.now(),a=this.clicks[this.clicks.length-1];if(a&&s-a.timestamp<r&&Math.sqrt(Math.pow(e-a.x,2)+Math.pow(i-a.y,2))<t){if(this.clicks.push({x:e,y:i,timestamp:s}),this.clicks.length>=o)return this.clicks=[],!0}else this.clicks=[{x:e,y:i,timestamp:s}];return!1};function Tt(e,i){this.changeCallback=e||function(){},this.observerConfig=i,this.observedShadowRoots=null,this.shadowObservers=[]}Tt.prototype.getEventTarget=function(e){if(this.observedShadowRoots){var i=this.getComposedPath(e);return i&&i.length?i[0]:e.target||e.srcElement}};Tt.prototype.getComposedPath=function(e){return"composedPath"in e?e.composedPath():[]};Tt.prototype.observeFromEvent=function(e){if(this.observedShadowRoots)for(var i=this.getComposedPath(e),n=0;n<i.length;n++){var t=i[n];t&&t.shadowRoot&&this.observeShadowRoot(t.shadowRoot)}};Tt.prototype.observeShadowRoot=function(e){if(!(!this.observedShadowRoots||this.observedShadowRoots.has(e))){var i=this;try{this.observedShadowRoots.add(e);var n=new window.MutationObserver(function(){i.changeCallback()});n.observe(e,this.observerConfig),this.shadowObservers.push(n)}catch(t){te.critical("Error while observing shadow root",t)}}};Tt.prototype.start=function(){if(!this.observedShadowRoots){if(!Gg()){te.critical("Shadow DOM observation unavailable: WeakSet not supported");return}this.observedShadowRoots=new WeakSet}};Tt.prototype.stop=function(){if(this.observedShadowRoots){for(var e=0;e<this.shadowObservers.length;e++)try{this.shadowObservers[e].disconnect()}catch(i){te.critical("Error while disconnecting shadow DOM observer",i)}this.shadowObservers=[],this.observedShadowRoots=null}};var Jg=500,Zg=[Pr,Ag,Bi,Mg,Tg],Qg=[cn],em=[So],Ha={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function Ge(e){this.eventListeners=[],this.mutationObserver=null,this.shadowDOMObserver=null,this.isTracking=!1,this.lastChangeEventTimestamp=0,this.pendingClicks=[],this.onDeadClickCallback=e,this.processingActive=!1,this.processingTimeout=null}Ge.prototype.addClick=function(e){var i=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(e);return i||(i=e.target||e.srcElement),!i||Hg(i)?!1:(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(e),this.pendingClicks.push({element:i,event:e,timestamp:Date.now()}),!0)};Ge.prototype.trackClick=function(e,i){if(!this.isTracking)return!1;var n=this.addClick(e);return n&&this.triggerProcessing(i),n};Ge.prototype.getDeadClicks=function(e){if(this.pendingClicks.length===0)return[];var i=e.timeout_ms,n=Date.now(),t=this.pendingClicks.slice();this.pendingClicks=[];for(var r=[],o=0;o<t.length;o++){var s=t[o];n-s.timestamp>=i?this.hasChangesAfter(s.timestamp)||r.push(s):this.pendingClicks.push(s)}return r};Ge.prototype.hasChangesAfter=function(e){return this.lastChangeEventTimestamp>=e-100};Ge.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()};Ge.prototype.triggerProcessing=function(e){this.processingActive||(this.processingActive=!0,this.processRecursively(e))};Ge.prototype.processRecursively=function(e){if(!this.isTracking||!this.onDeadClickCallback){this.processingActive=!1;return}var i=e.timeout_ms,n=this;this.processingTimeout=setTimeout(function(){if(n.processingActive){for(var t=n.getDeadClicks(e),r=0;r<t.length;r++)n.onDeadClickCallback(t[r].event);n.pendingClicks.length>0?n.processRecursively(e):n.processingActive=!1}},i)};Ge.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var e=this;Zg.forEach(function(n){var t=function(){e.recordChangeEvent()};document.addEventListener(n,t,{capture:!0,passive:!0}),e.eventListeners.push({target:document,event:n,handler:t,options:{capture:!0,passive:!0}})}),em.forEach(function(n){var t=function(){e.recordChangeEvent()};window.addEventListener(n,t),e.eventListeners.push({target:window,event:n,handler:t})}),Qg.forEach(function(n){var t=function(){e.recordChangeEvent()};window.addEventListener(n,t,{passive:!0}),e.eventListeners.push({target:window,event:n,handler:t,options:{passive:!0}})});var i=function(){e.recordChangeEvent()};if(document.addEventListener("selectionchange",i),e.eventListeners.push({target:document,event:"selectionchange",handler:i}),window.MutationObserver)try{this.mutationObserver=new window.MutationObserver(function(){e.recordChangeEvent()}),this.mutationObserver.observe(document.body||document.documentElement,Ha)}catch(n){te.critical("Error while setting up mutation observer",n)}if(window.customElements)try{this.shadowDOMObserver=new Tt(function(){e.recordChangeEvent()},Ha),this.shadowDOMObserver.start()}catch(n){te.critical("Error while setting up shadow DOM observer",n),this.shadowDOMObserver=null}}};Ge.prototype.stopTracking=function(){if(this.isTracking){this.isTracking=!1,this.pendingClicks=[],this.lastChangeEventTimestamp=0,this.processingActive=!1,this.processingTimeout&&(clearTimeout(this.processingTimeout),this.processingTimeout=null);for(var e=0;e<this.eventListeners.length;e++){var i=this.eventListeners[e];try{i.target.removeEventListener(i.event,i.handler,i.options)}catch(n){te.critical("Error while removing event listener",n)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(n){te.critical("Error while disconnecting mutation observer",n)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(n){te.critical("Error while stopping shadow DOM observer",n)}this.shadowDOMObserver=null}}};var il="autocapture",tm="track_pageview",nl="full-url",rm="url-with-path-and-query-string",im="url-with-path",nm="allow_element_callback",ol="allow_selectors",sl="allow_url_regexes",al="block_attrs",ul="block_element_callback",cl="block_selectors",ll="block_url_regexes",fl="capture_extra_attrs",hl="capture_text_content",pl="scroll_capture_all",dl="scroll_depth_percent_checkpoints",Wi="click",Gi="dead_click",ko="input",vl="pageview",qi="rage_click",xo="scroll",ln="page_leave",Oo="submit",he={};he[ol]=[];he[sl]=[];he[al]=[];he[ul]=null;he[cl]=[];he[ll]=[];he[fl]=[];he[hl]=!1;he[pl]=!1;he[dl]=[25,50,75,100];he[Wi]=!0;he[Gi]=!0;he[ko]=!0;he[vl]=nl;he[qi]=!0;he[xo]=!0;he[ln]=!1;he[Oo]=!0;var Dr={$mp_autocapture:!0},gl="$mp_click",ml="$mp_dead_click",om="$mp_input_change",yl="$mp_rage_click",sm="$mp_scroll",am="$mp_submit",um="$mp_page_leave",le=function(e){this.mp=e,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};le.prototype.init=function(){if(!Wg()){te.critical("Autocapture unavailable: missing required DOM APIs");return}this.initPageListeners(),this.initPageviewTracking(),this.initClickTracking(),this.initDeadClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking(),this.initRageClickTracking(),this.initPageLeaveTracking()};le.prototype.getFullConfig=function(){var e=this.mp.get_config(il);return e?h.isObject(e)?h.extend({},he,e):he:{}};le.prototype.getConfig=function(e){return this.getFullConfig()[e]};le.prototype.currentUrlBlocked=function(){var e,i=h.info.currentUrl(),n=this.getConfig(sl)||[];if(n.length){var t=!1;for(e=0;e<n.length;e++){var r=n[e];try{if(i.match(r)){t=!0;break}}catch(s){return te.critical("Error while checking block URL regex: "+r,s),!0}}if(!t)return!0}var o=this.getConfig(ll)||[];if(!o||!o.length)return!1;for(e=0;e<o.length;e++)try{if(i.match(o[e]))return!0}catch(s){return te.critical("Error while checking block URL regex: "+o[e],s),!0}return!1};le.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(il)?this.getConfig(vl):this.mp.get_config(tm)};le.prototype.trackDomEvent=function(e,i){if(!this.currentUrlBlocked()){var n=this.mp.is_recording_heatmap_data()&&(i===gl&&!this.getConfig(Wi)||i===yl&&!this._getClickTrackingConfig(qi)||i===ml&&!this._getClickTrackingConfig(Gi)),t=Bg(e,{allowElementCallback:this.getConfig(nm),allowSelectors:this.getConfig(ol),blockAttrs:this.getConfig(al),blockElementCallback:this.getConfig(ul),blockSelectors:this.getConfig(cl),captureExtraAttrs:this.getConfig(fl),captureTextContent:this.getConfig(hl),capturedForHeatMap:n});t&&(h.extend(t,Dr),this.mp.track(i,t))}};le.prototype.initPageListeners=function(){if(I.removeEventListener(Ba,this.listenerPopstate),I.removeEventListener(So,this.listenerHashchange),!(!this.pageviewTrackingConfig()&&!this.getConfig(ln)&&!this.mp.get_config("record_heatmap_data"))){this.listenerPopstate=function(){I.dispatchEvent(new Event(nt))},this.listenerHashchange=function(){I.dispatchEvent(new Event(nt))},I.addEventListener(Ba,this.listenerPopstate),I.addEventListener(So,this.listenerHashchange);var e=I.history.pushState;typeof e=="function"&&(I.history.pushState=function(n,t,r){e.call(I.history,n,t,r),I.dispatchEvent(new Event(nt))});var i=I.history.replaceState;typeof i=="function"&&(I.history.replaceState=function(n,t,r){i.call(I.history,n,t,r),I.dispatchEvent(new Event(nt))})}};le.prototype._getClickTrackingConfig=function(e){var i=this.getConfig(e);return i?i===!0?{}:typeof i=="object"?i:{}:null};le.prototype._trackPageLeave=function(e,i,n){if(!this.hasTrackedScrollSession){this.hasTrackedScrollSession=!0;var t=Math.max(D.documentElement.clientHeight,I.innerHeight||0),r=Math.round(Math.max(this.maxScrollViewDepth-t,0)/(n-t)*100),o=Math.round(t/n*100);n<=t&&(r=100,o=100);var s=h.extend({$max_scroll_view_depth:this.maxScrollViewDepth,$max_scroll_percentage:r,$fold_line_percentage:o,$scroll_height:n,$event_type:e.type,$current_url:i||h.info.currentUrl(),$viewportHeight:t,$viewportWidth:Math.max(D.documentElement.clientWidth,I.innerWidth||0)},Dr);this.mp.is_recording_heatmap_data()&&!this.getConfig(ln)&&(s.$captured_for_heatmap=!0),this.mp.track(um,s,{transport:"sendBeacon"})}};le.prototype._initScrollDepthTracking=function(){if(I.removeEventListener(us,this.listenerScrollDepth),I.removeEventListener(cn,this.listenerScrollDepth),!!this.mp.get_config("record_heatmap_data")){te.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(D.documentElement.clientHeight,I.innerHeight||0);var e=function(){if(!this.currentUrlBlocked()){var n=Math.max(D.documentElement.clientHeight,I.innerHeight||0)+I.scrollY;n>this.maxScrollViewDepth&&(this.maxScrollViewDepth=n),this.previousScrollHeight=D.body.scrollHeight}}.bind(this),i=tl(e);this.listenerScrollDepth=i.listener,I.addEventListener(i.eventType,this.listenerScrollDepth)}};le.prototype.initClickTracking=function(){I.removeEventListener(Ke,this.listenerClick),!(!this.getConfig(Wi)&&!this.mp.get_config("record_heatmap_data"))&&(te.log("Initializing click tracking"),this.listenerClick=function(e){!this.getConfig(Wi)&&!this.mp.is_recording_heatmap_data()||this.trackDomEvent(e,gl)}.bind(this),I.addEventListener(Ke,this.listenerClick))};le.prototype.initDeadClickTracking=function(){var e=this._getClickTrackingConfig(Gi);if(!e&&!this.mp.get_config("record_heatmap_data")){this.stopDeadClickTracking();return}te.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new Ge(function(i){this.trackDomEvent(i,ml)}.bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=function(i){var n=this._getClickTrackingConfig(Gi);if(!(!n&&!this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var t=n||{};t.timeout_ms||(t.timeout_ms=Jg),this._deadClickTracker.trackClick(i,t)}}.bind(this),I.addEventListener(Ke,this.listenerDeadClick))};le.prototype.initInputTracking=function(){I.removeEventListener(Pr,this.listenerChange),this.getConfig(ko)&&(te.log("Initializing input tracking"),this.listenerChange=function(e){this.getConfig(ko)&&this.trackDomEvent(e,om)}.bind(this),I.addEventListener(Pr,this.listenerChange))};le.prototype.initPageviewTracking=function(){if(I.removeEventListener(nt,this.listenerLocationchange),!!this.pageviewTrackingConfig()){te.log("Initializing pageview tracking");var e="",i=!1;this.currentUrlBlocked()||(i=this.mp.track_pageview(Dr)),i&&(e=h.info.currentUrl()),this.listenerLocationchange=Mr(function(){if(!this.currentUrlBlocked()){var n=h.info.currentUrl(),t=!1,r=n.split("#")[0].split("?")[0]!==e.split("#")[0].split("?")[0],o=this.pageviewTrackingConfig();if(o===nl?t=n!==e:o===rm?t=n.split("#")[0]!==e.split("#")[0]:o===im&&(t=r),t){var s=this.mp.track_pageview(Dr);s&&(e=n),r&&(this.lastScrollCheckpoint=0,te.log("Path change: re-initializing scroll depth checkpoints"))}}}.bind(this)),I.addEventListener(nt,this.listenerLocationchange)}};le.prototype.initRageClickTracking=function(){I.removeEventListener(Ke,this.listenerRageClick);var e=this._getClickTrackingConfig(qi);!e&&!this.mp.get_config("record_heatmap_data")||(te.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new rl),this.listenerRageClick=function(i){var n=this._getClickTrackingConfig(qi);!n&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked()||this._rageClickTracker.isRageClick(i.pageX,i.pageY,n)&&this.trackDomEvent(i,yl)}.bind(this),I.addEventListener(Ke,this.listenerRageClick))};le.prototype.initScrollTracking=function(){if(I.removeEventListener(cn,this.listenerScroll),I.removeEventListener(us,this.listenerScroll),!!this.getConfig(xo)){te.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var e=function(){if(this.getConfig(xo)&&!this.currentUrlBlocked()){var n=this.getConfig(pl),t=(this.getConfig(dl)||[]).slice().sort(function(l,f){return l-f}),r=I.scrollY,o=h.extend({$scroll_top:r},Dr);try{var s=D.body.scrollHeight,a=Math.round(r/(s-I.innerHeight)*100);if(o.$scroll_height=s,o.$scroll_percentage=a,a>this.lastScrollCheckpoint)for(var u=0;u<t.length;u++){var c=t[u];a>=c&&this.lastScrollCheckpoint<c&&(o.$scroll_checkpoint=c,this.lastScrollCheckpoint=c,n=!0)}}catch(l){te.critical("Error while calculating scroll percentage",l)}n&&this.mp.track(sm,o)}}.bind(this),i=tl(e);this.listenerScroll=i.listener,I.addEventListener(i.eventType,this.listenerScroll)}};le.prototype.initSubmitTracking=function(){I.removeEventListener(Bi,this.listenerSubmit),this.getConfig(Oo)&&(te.log("Initializing submit tracking"),this.listenerSubmit=function(e){this.getConfig(Oo)&&this.trackDomEvent(e,am)}.bind(this),I.addEventListener(Bi,this.listenerSubmit))};le.prototype.initPageLeaveTracking=function(){if(D.removeEventListener(za,this.listenerPageLeaveVisibilitychange),I.removeEventListener(nt,this.listenerPageLeaveLocationchange),I.removeEventListener(Ua,this.listenerPageLoad),!(!this.getConfig(ln)&&!this.mp.get_config("record_heatmap_data"))){te.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var e=h.info.currentUrl();this.listenerPageLoad=function(){this.previousScrollHeight=D.body.scrollHeight}.bind(this),I.addEventListener(Ua,this.listenerPageLoad),this.listenerPageLeaveLocationchange=Mr(function(i){if(!this.currentUrlBlocked()){var n=h.info.currentUrl(),t=n!==e;t&&(this._trackPageLeave(i,e,this.previousScrollHeight),e=n,this.maxScrollViewDepth=Math.max(D.documentElement.clientHeight,I.innerHeight||0),this.previousScrollHeight=D.body.scrollHeight,this.hasTrackedScrollSession=!1)}}.bind(this)),I.addEventListener(nt,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=function(i){D.hidden&&this._trackPageLeave(i,e,this.previousScrollHeight)}.bind(this),D.addEventListener(za,this.listenerPageLeaveVisibilitychange)}};le.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(I.removeEventListener(Ke,this.listenerDeadClick),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)};qc(le);var Ce=Mt("flags"),Vi="flags",ji="context",Ro={};Ro[ji]={};var U=function(e){this.fetch=I.fetch,this.getFullApiRoute=e.getFullApiRoute,this.getMpConfig=e.getConfigFunc,this.setMpConfig=e.setConfigFunc,this.getMpProperty=e.getPropertyFunc,this.track=e.trackingFunc};U.prototype.init=function(){if(!this.minApisSupported()){Ce.critical("Feature Flags unavailable: missing minimum required APIs");return}this.flags=null,this.fetchFlags(),this.trackedFeatures=new Set};U.prototype.getFullConfig=function(){var e=this.getMpConfig(Vi);return e?h.isObject(e)?h.extend({},Ro,e):Ro:{}};U.prototype.getConfig=function(e){return this.getFullConfig()[e]};U.prototype.isSystemEnabled=function(){return!!this.getMpConfig(Vi)};U.prototype.updateContext=function(e,i){if(!this.isSystemEnabled())return Ce.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var n=this.getMpConfig(Vi);h.isObject(n)||(n={});var t=i&&i.replace?{}:this.getConfig(ji);return n[ji]=h.extend({},t,e),this.setMpConfig(Vi,n),this.fetchFlags()};U.prototype.areFlagsReady=function(){return this.isSystemEnabled()||Ce.error("Feature Flags not enabled"),!!this.flags};U.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var e=this.getMpProperty("distinct_id"),i=this.getMpProperty("$device_id"),n=fg();Ce.log("Fetching flags for distinct ID: "+e);var t=h.extend({distinct_id:e,device_id:i},this.getConfig(ji)),r=new URLSearchParams;r.set("context",JSON.stringify(t)),r.set("token",this.getMpConfig("token")),r.set("mp_lib","web"),r.set("$lib_version",Te.LIB_VERSION);var o=this.getFullApiRoute()+"?"+r.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(I,o,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:n}}).then(function(s){return this.markFetchComplete(),s.json().then(function(a){var u=a.flags;if(!u)throw new Error("No flags in API response");var c=new Map;h.each(u,function(l,f){c.set(f,{key:l.variant_key,value:l.variant_value,experiment_id:l.experiment_id,is_experiment_active:l.is_experiment_active,is_qa_tester:l.is_qa_tester})}),this.flags=c,this._traceparent=n}.bind(this)).catch(function(a){this.markFetchComplete(),Ce.error(a)}.bind(this))}.bind(this)).catch(function(s){this.markFetchComplete(),Ce.error(s)}.bind(this)),this.fetchPromise};U.prototype.markFetchComplete=function(){if(!this._fetchInProgressStartTime){Ce.error("Fetch in progress started time not set, cannot mark fetch complete");return}this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null};U.prototype.getVariant=function(e,i){return this.fetchPromise?this.fetchPromise.then(function(){return this.getVariantSync(e,i)}.bind(this)).catch(function(n){return Ce.error(n),i}):new Promise(function(n){Ce.critical("Feature Flags not initialized"),n(i)})};U.prototype.getVariantSync=function(e,i){if(!this.areFlagsReady())return Ce.log("Flags not loaded yet"),i;var n=this.flags.get(e);return n?(this.trackFeatureCheck(e,n),n):(Ce.log('No flag found: "'+e+'"'),i)};U.prototype.getVariantValue=function(e,i){return this.getVariant(e,{value:i}).then(function(n){return n.value}).catch(function(n){return Ce.error(n),i})};U.prototype.getFeatureData=function(e,i){return Ce.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value(
53) instead."),this.getVariantValue(e,i)};U.prototype.getVariantValueSync=function(e,i){return this.getVariantSync(e,{value:i}).value};U.prototype.isEnabled=function(e,i){return this.getVariantValue(e).then(function(){return this.isEnabledSync(e,i)}.bind(this)).catch(function(n){return Ce.error(n),i})};U.prototype.isEnabledSync=function(e,i){i=i||!1;var n=this.getVariantValueSync(e,i);return n!==!0&&n!==!1&&(Ce.error('Feature flag "'+e+'" value: '+n+" is not a boolean; returning fallback value: "+i),n=i),n};U.prototype.trackFeatureCheck=function(e,i){if(!this.trackedFeatures.has(e)){this.trackedFeatures.add(e);var n={"Experiment name":e,"Variant name":i.key,$experiment_type:"feature_flag","Variant fetch start time":new Date(this._fetchStartTime).toISOString(),"Variant fetch complete time":new Date(this._fetchCompleteTime).toISOString(),"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};i.experiment_id!=="undefined"&&(n.$experiment_id=i.experiment_id),i.is_experiment_active!=="undefined"&&(n.$is_experiment_active=i.is_experiment_active),i.is_qa_tester!=="undefined"&&(n.$is_qa_tester=i.is_qa_tester),this.track("$experiment_started",n)}};U.prototype.minApisSupported=function(){return!!this.fetch&&typeof Promise<"u"&&typeof Map<"u"&&typeof Set<"u"};qc(U);U.prototype.are_flags_ready=U.prototype.areFlagsReady;U.prototype.get_variant=U.prototype.getVariant;U.prototype.get_variant_sync=U.prototype.getVariantSync;U.prototype.get_variant_value=U.prototype.getVariantValue;U.prototype.get_variant_value_sync=U.prototype.getVariantValueSync;U.prototype.is_enabled=U.prototype.isEnabled;U.prototype.is_enabled_sync=U.prototype.isEnabledSync;U.prototype.update_context=U.prototype.updateContext;U.prototype.get_feature_data=U.prototype.getFeatureData;var Ze=function(){};Ze.prototype.create_properties=function(){};Ze.prototype.event_handler=function(){};Ze.prototype.after_track_handler=function(){};Ze.prototype.init=function(e){return this.mp=e,this};Ze.prototype.track=function(e,i,n,t){var r=this,o=h.dom_query(e);if(o.length===0){V.error("The DOM query ("+e+") returned 0 elements");return}return h.each(o,function(s){h.register_event(s,this.override_event,function(a){var u={},c=r.create_properties(n,this),l=r.mp.get_config("track_links_timeout");r.event_handler(a,this,u),window.setTimeout(r.track_callback(t,c,u,!0),l),r.mp.track(i,c,r.track_callback(t,c,u))})},this),!0};Ze.prototype.track_callback=function(e,i,n,t){t=t||!1;var r=this;return function(){n.callback_fired||(n.callback_fired=!0,!(e&&e(t,i)===!1)&&r.after_track_handler(i,n,t))}};Ze.prototype.create_properties=function(e,i){var n;return typeof e=="function"?n=e(i):n=h.extend({},e),n};var Qt=function(){this.override_event="click"};h.inherit(Qt,Ze);Qt.prototype.create_properties=function(e,i){var n=Qt.superclass.create_properties.apply(this,arguments);return i.href&&(n.url=i.href),n};Qt.prototype.event_handler=function(e,i,n){n.new_tab=e.which===2||e.metaKey||e.ctrlKey||i.target==="_blank",n.href=i.href,n.new_tab||e.preventDefault()};Qt.prototype.after_track_handler=function(e,i){i.new_tab||setTimeout(function(){window.location=i.href},0)};var fn=function(){this.override_event="submit"};h.inherit(fn,Ze);fn.prototype.event_handler=function(e,i,n){n.element=i,e.preventDefault()};fn.prototype.after_track_handler=function(e,i){setTimeout(function(){i.element.submit()},0)};var at="$set",er="$set_once",Ne="$unset",kt="$add",ze="$append",xt="$union",je="$remove",cm="$delete",_l={set_action:function(e,i){var n={},t={};return h.isObject(e)?h.each(e,function(r,o){this._is_reserved_property(o)||(t[o]=r)},this):t[e]=i,n[at]=t,n},unset_action:function(e){var i={},n=[];return h.isArray(e)||(e=[e]),h.each(e,function(t){this._is_reserved_property(t)||n.push(t)},this),i[Ne]=n,i},set_once_action:function(e,i){var n={},t={};return h.isObject(e)?h.each(e,function(r,o){this._is_reserved_property(o)||(t[o]=r)},this):t[e]=i,n[er]=t,n},union_action:function(e,i){var n={},t={};return h.isObject(e)?h.each(e,function(r,o){this._is_reserved_property(o)||(t[o]=h.isArray(r)?r:[r])},this):t[e]=h.isArray(i)?i:[i],n[xt]=t,n},append_action:function(e,i){var n={},t={};return h.isObject(e)?h.each(e,function(r,o){this._is_reserved_property(o)||(t[o]=r)}
vendor: 38,841 bytes, line 53
53,this):t[e]=i,n[ze]=t,n},remove_action:function(e,i){var n={},t={};return h.isObject(e)?h.each(e,function(r,o){this._is_reserved_property(o)||(t[o]=r)},this):t[e]=i,n[je]=t,n},delete_action:function(){var e={};return e[cm]="",e}},ne=function(){};h.extend(ne.prototype,_l);ne.prototype._init=function(e,i,n){this._mixpanel=e,this._group_key=i,this._group_id=n};ne.prototype.set=tr(function(e,i,n){var t=this.set_action(e,i);return h.isObject(e)&&(n=i),this._send_request(t,n)});ne.prototype.set_once=tr(function(e,i,n){var t=this.set_once_action(e,i);return h.isObject(e)&&(n=i),this._send_request(t,n)});ne.prototype.unset=tr(function(e,i){var n=this.unset_action(e);return this._send_request(n,i)});ne.prototype.union=tr(function(e,i,n){h.isObject(e)&&(n=i);var t=this.union_action(e,i);return this._send_request(t,n)});ne.prototype.delete=tr(function(e){var i=this.delete_action();return this._send_request(i,e)});ne.prototype.remove=tr(function(e,i,n){var t=this.remove_action(e,i);return this._send_request(t,n)});ne.prototype._send_request=function(e,i){e.$group_key=this._group_key,e.$group_id=this._group_id,e.$token=this._get_config("token");var n=h.encodeDates(e);return this._mixpanel._track_or_batch({type:"groups",data:n,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},i)};ne.prototype._is_reserved_property=function(e){return e==="$group_key"||e==="$group_id"};ne.prototype._get_config=function(e){return this._mixpanel.get_config(e)};ne.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id};ne.prototype.remove=ne.prototype.remove;ne.prototype.set=ne.prototype.set;ne.prototype.set_once=ne.prototype.set_once;ne.prototype.union=ne.prototype.union;ne.prototype.unset=ne.prototype.unset;ne.prototype.toString=ne.prototype.toString;var N=function(){};h.extend(N.prototype,_l);N.prototype._init=function(e){this._mixpanel=e};N.prototype.set=dt(function(e,i,n){var t=this.set_action(e,i);return h.isObject(e)&&(n=i),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),t[at]=h.extend({},h.info.people_properties(),t[at]),this._send_request(t,n)});N.prototype.set_once=dt(function(e,i,n){var t=this.set_once_action(e,i);return h.isObject(e)&&(n=i),this._send_request(t,n)});N.prototype.unset=dt(function(e,i){var n=this.unset_action(e);return this._send_request(n,i)});N.prototype.increment=dt(function(e,i,n){var t={},r={};return h.isObject(e)?(h.each(e,function(o,s){if(!this._is_reserved_property(s))if(isNaN(parseFloat(o))){V.error("Invalid increment value passed to mixpanel.people.increment - must be a number");return}else r[s]=o},this),n=i):(h.isUndefined(i)&&(i=1),r[e]=i),t[kt]=r,this._send_request(t,n)});N.prototype.append=dt(function(e,i,n){h.isObject(e)&&(n=i);var t=this.append_action(e,i);return this._send_request(t,n)});N.prototype.remove=dt(function(e,i,n){h.isObject(e)&&(n=i);var t=this.remove_action(e,i);return this._send_request(t,n)});N.prototype.union=dt(function(e,i,n){h.isObject(e)&&(n=i);var t=this.union_action(e,i);return this._send_request(t,n)});N.prototype.track_charge=dt(function(){V.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")});N.prototype.clear_charges=function(e){return this.set("$transactions",[],e)};N.prototype.delete_user=function(){if(!this._identify_called()){V.error("mixpanel.people.delete_user() requires you to call identify() first");return}var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)};N.prototype.toString=function(){return this._mixpanel.toString()+".people"};N.prototype._send_request=function(e,i){e.$token=this._get_config("token"),e.$distinct_id=this._mixpanel.get_distinct_id();var n=this._mixpanel.get_property("$device_id"),t=this._mixpanel.get_property("$user_id"),r=this._mixpanel.get_property("$had_persisted_distinct_id");n&&(e.$device_id=n),t&&(e.$user_id=t),r&&(e.$had_persisted_distinct_id=r);var o=h.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:o,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},i):(this._enqueue(e),h.isUndefined(i)||(this._get_config("verbose")?i({status:-1,error:null}):i(-1)),h.truncate(o,255))};N.prototype._get_config=function(e){return this._mixpanel.get_config(e)};N.prototype._identify_called=function(){return this._mixpanel._flags.identify_called===!0};N.prototype._enqueue=function(e){at in e?this._mixpanel.persistence._add_to_people_queue(at,e):er in e?this._mixpanel.persistence._add_to_people_queue(er,e):Ne in e?this._mixpanel.persistence._add_to_people_queue(Ne,e):kt in e?this._mixpanel.persistence._add_to_people_queue(kt,e):ze in e?this._mixpanel.persistence._add_to_people_queue(ze,e):je in e?this._mixpanel.persistence._add_to_people_queue(je,e):xt in e?this._mixpanel.persistence._add_to_people_queue(xt,e):V.error("Invalid call to _enqueue():",e)};N.prototype._flush_one_queue=function(e,i,n,t){var r=this,o=h.extend({},this._mixpanel.persistence.load_queue(e)),s=o;!h.isUndefined(o)&&h.isObject(o)&&!h.isEmptyObject(o)&&(r._mixpanel.persistence._pop_from_people_queue(e,o),r._mixpanel.persistence.save(),t&&(s=t(o)),i.call(r,s,function(a,u){a===0&&r._mixpanel.persistence._add_to_people_queue(e,o),h.isUndefined(n)||n(a,u)}))};N.prototype._flush=function(e,i,n,t,r,o,s){var a=this;this._flush_one_queue(at,this.set,e),this._flush_one_queue(er,this.set_once,t),this._flush_one_queue(Ne,this.unset,o,function(v){return h.keys(v)}),this._flush_one_queue(kt,this.increment,i),this._flush_one_queue(xt,this.union,r);var u=this._mixpanel.persistence.load_queue(ze);if(!h.isUndefined(u)&&h.isArray(u)&&u.length)for(var c,l=function(v,m){v===0&&a._mixpanel.persistence._add_to_people_queue(ze,c),h.isUndefined(n)||n(v,m)},f=u.length-1;f>=0;f--)u=this._mixpanel.persistence.load_queue(ze),c=u.pop(),a._mixpanel.persistence.save(),h.isEmptyObject(c)||a.append(c,l);var p=this._mixpanel.persistence.load_queue(je);if(!h.isUndefined(p)&&h.isArray(p)&&p.length)for(var g,d=function(v,m){v===0&&a._mixpanel.persistence._add_to_people_queue(je,g),h.isUndefined(s)||s(v,m)},y=p.length-1;y>=0;y--)p=this._mixpanel.persistence.load_queue(je),g=p.pop(),a._mixpanel.persistence.save(),h.isEmptyObject(g)||a.remove(g,d)};N.prototype._is_reserved_property=function(e){return e==="$distinct_id"||e==="$token"||e==="$device_id"||e==="$user_id"||e==="$had_persisted_distinct_id"};N.prototype.set=N.prototype.set;N.prototype.set_once=N.prototype.set_once;N.prototype.unset=N.prototype.unset;N.prototype.increment=N.prototype.increment;N.prototype.append=N.prototype.append;N.prototype.remove=N.prototype.remove;N.prototype.union=N.prototype.union;N.prototype.track_charge=N.prototype.track_charge;N.prototype.clear_charges=N.prototype.clear_charges;N.prototype.delete_user=N.prototype.delete_user;N.prototype.toString=N.prototype.toString;var ls="__mps",fs="__mpso",hs="__mpus",ps="__mpa",ds="__mpap",vs="__mpr",gs="__mpu",bl="$people_distinct_id",Hi="__alias",Nr="__timers",lm=[ls,fs,hs,ps,ds,vs,gs,bl,Hi,Nr],$=function(e){this.props={},this.campaign_params_saved=!1,e.persistence_name?this.name="mp_"+e.persistence_name:this.name="mp_"+e.token+"_mixpanel";var i=e.persistence;i!=="cookie"&&i!=="localStorage"&&(V.critical("Unknown persistence type "+i+"; falling back to cookie"),i=e.persistence="cookie"),i==="localStorage"&&h.localStorage.is_supported()?this.storage=h.localStorage:this.storage=h.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};$.prototype.properties=function(){var e={};return this.load(),h.each(this.props,function(i,n){h.include(lm,n)||(e[n]=i)}),e};$.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=h.extend({},e))}};$.prototype.upgrade=function(){var e,i;this.storage===h.localStorage?(e=h.cookie.parse(this.name),h.cookie.remove(this.name),h.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===h.cookie&&(i=h.localStorage.parse(this.name),h.localStorage.remove(this.name),i&&this.register_once(i))};$.prototype.save=function(){this.disabled||this.storage.set(this.name,Zt(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)};$.prototype.load_prop=function(e){return this.load(),this.props[e]};$.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)};$.prototype.clear=function(){this.remove(),this.props={}};$.prototype.register_once=function(e,i,n){return h.isObject(e)?(typeof i>"u"&&(i="None"),this.expire_days=typeof n>"u"?this.default_expiry:n,this.load(),h.each(e,function(t,r){(!this.props.hasOwnProperty(r)||this.props[r]===i)&&(this.props[r]=t)},this),this.save(),!0):!1};$.prototype.register=function(e,i){return h.isObject(e)?(this.expire_days=typeof i>"u"?this.default_expiry:i,this.load(),h.extend(this.props,e),this.save(),!0):!1};$.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())};$.prototype.update_search_keyword=function(e){this.register(h.info.searchInfo(e))};$.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:h.info.referringDomain(e)||"$direct"},"")};$.prototype.get_referrer_info=function(){return h.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})};$.prototype.update_config=function(e){this.default_expiry=this.expire_days=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cookie_domain(e.cookie_domain),this.set_cross_site(e.cross_site_cookie),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie)};$.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()};$.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())};$.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())};$.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())};$.prototype.get_cross_subdomain=function(){return this.cross_subdomain};$.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())};$.prototype._add_to_people_queue=function(e,i){var n=this._get_queue_key(e),t=i[e],r=this._get_or_create_queue(at),o=this._get_or_create_queue(er),s=this._get_or_create_queue(Ne),a=this._get_or_create_queue(kt),u=this._get_or_create_queue(xt),c=this._get_or_create_queue(je,[]),l=this._get_or_create_queue(ze,[]);n===ls?(h.extend(r,t),this._pop_from_people_queue(kt,t),this._pop_from_people_queue(xt,t),this._pop_from_people_queue(Ne,t)):n===fs?(h.each(t,function(f,p){p in o||(o[p]=f)}),this._pop_from_people_queue(Ne,t)):n===hs?h.each(t,function(f){h.each([r,o,a,u],function(p){f in p&&delete p[f]}),h.each(l,function(p){f in p&&delete p[f]}),s[f]=!0}):n===ps?(h.each(t,function(f,p){p in r?r[p]+=f:(p in a||(a[p]=0),a[p]+=f)},this),this._pop_from_people_queue(Ne,t)):n===gs?(h.each(t,function(f,p){h.isArray(f)&&(p in u||(u[p]=[]),h.each(f,function(g){h.include(u[p],g)||u[p].push(g)}))}),this._pop_from_people_queue(Ne,t)):n===vs?(c.push(t),this._pop_from_people_queue(ze,t)):n===ds&&(l.push(t),this._pop_from_people_queue(Ne,t)),V.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),V.log(i),this.save()};$.prototype._pop_from_people_queue=function(e,i){var n=this.props[this._get_queue_key(e)];h.isUndefined(n)||h.each(i,function(t,r){e===ze||e===je?h.each(n,function(o){o[r]===t&&delete o[r]}):delete n[r]},this)};$.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))};$.prototype._get_queue_key=function(e){if(e===at)return ls;if(e===er)return fs;if(e===Ne)return hs;if(e===kt)return ps;if(e===ze)return ds;if(e===je)return vs;if(e===xt)return gs;V.error("Invalid queue:",e)};$.prototype._get_or_create_queue=function(e,i){var n=this._get_queue_key(e);return i=h.isUndefined(i)?{}:i,this.props[n]||(this.props[n]=i)};$.prototype.set_event_timer=function(e,i){var n=this.load_prop(Nr)||{};n[e]=i,this.props[Nr]=n,this.save()};$.prototype.remove_event_timer=function(e){var i=this.load_prop(Nr)||{},n=i[e];return h.isUndefined(n)||(delete this.props[Nr][e],this.save()),n};var ms,wl=function(e,i){throw new Error(e+" not available in this build.")},me,Sl=0,fm=1,hm=function(e){return e},Me="mixpanel",Cl="base64",pm="json",ys="$device:",qt=I.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,Il=!qt&&Ve.indexOf("MSIE")===-1&&Ve.indexOf("Mozilla")===-1,Yi=null;it.sendBeacon&&(Yi=function(){return it.sendBeacon.apply(it,arguments)});var El={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/"},Ya={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:El,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:Cl,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:ot,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:ot,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video, audio",record_canvas:!1,record_collect_fonts:!1,record_heatmap_data:!1,record_idle_timeout_ms:30*60*1e3,record_mask_text_class:new RegExp("^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$"),record_mask_text_selector:"*",record_max_ms:vr,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},kl=!1,b=function(){},Ao=function(e,i,n){var t,r=n===Me?me:me[n];if(r&&ms===Sl)t=r;else{if(r&&!h.isArray(r)){V.error("You have already initialized "+n);return}t=new b}if(t._cached_groups={},t._init(e,i,n),t.people=new N,t.people._init(t),!t.get_config("skip_first_touch_marketing")){var o=h.info.campaignParams(null),s={},a=!1;h.each(o,function(u,c){s["initial_"+c]=u,u&&(a=!0)}),a&&t.people.set_once(s)}return Te.DEBUG=Te.DEBUG||t.get_config("debug"),!h.isUndefined(r)&&h.isArray(r)&&(t._execute_array.call(t.people,r.people),t._execute_array(r)),t};b.prototype.init=function(e,i,n){if(h.isUndefined(n)){this.report_error("You must name your new library: init(token, config, name)");return}if(n===Me){this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");return}var t=Ao(e,i,n);return me[n]=t,t._loaded(),t};b.prototype._init=function(e,i,n){i=i||{},this.__loaded=!0,this.config={};var t={};if(!("api_payload_format"in i)){var r=i.api_host||Ya.api_host;r.match(/\.mixpanel\.com/)&&(t.api_payload_format=pm)}if(this.set_config(h.extend({},Ya,t,i,{name:n,token:e,callback_fn:(n===Me?n:Me+"."+n)+"._jsc"})),this._jsc=ot,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests){if(!h.localStorage.is_supported(!0)||!qt)this._batch_requests=!1,V.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),h.each(this.get_batcher_configs(),function(a){V.log("Clearing batch queue "+a.queue_key),h.localStorage.remove(a.queue_key)});else if(this.init_batchers(),Yi&&I.addEventListener){var o=h.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);I.addEventListener("pagehide",function(a){a.persisted&&o()}),I.addEventListener("visibilitychange",function(){D.visibilityState==="hidden"&&o()})}}this.persistence=this.cookie=new $(this.config),this.unpersisted_superprops={},this._gdpr_init();var s=h.UUID();this.get_distinct_id()||this.register_once({distinct_id:ys+s,$device_id:s},""),this.flags=new U({getFullApiRoute:h.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:h.bind(this.get_config,this),setConfigFunc:h.bind(this.set_config,this),getPropertyFunc:h.bind(this.get_property,this),trackingFunc:h.bind(this.track,this)}),this.flags.init(),this.flags=this.flags,this.autocapture=new le(this),this.autocapture.init(),this._init_tab_id(),this._check_and_start_session_recording()};b.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))V.log("Tab ID initialization skipped due to disable_persistence config");else if(h.sessionStorage.is_supported())try{var e=this.get_config("name")+"_"+this.get_config("token"),i="mp_tab_id_"+e,n="mp_gen_new_tab_id_"+e;(h.sessionStorage.get(n)||!h.sessionStorage.get(i))&&h.sessionStorage.set(i,"$tab-"+h.UUID()),h.sessionStorage.set(n,"1"),this.tab_id=h.sessionStorage.get(i),I.addEventListener("beforeunload",function(){h.sessionStorage.remove(n)})}catch(t){this.report_error("Error initializing tab id",t)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")};b.prototype.get_tab_id=function(){return this.tab_id||null};b.prototype._should_load_recorder=function(){if(this.get_config("disable_persistence"))return V.log("Load recorder check skipped due to disable_persistence config"),Promise.resolve(!1);var e=new Le(is),i=this.get_tab_id();return e.init().then(function(){return e.getAll()}).then(function(n){for(var t=0;t<n.length;t++)if(as(n[t])||n[t].tabId===i)return!0;return!1}).catch(h.bind(function(n){this.report_error("Error checking recording registry",n)},this))};b.prototype._check_and_start_session_recording=pt(function(e){if(!I.MutationObserver){V.critical("Browser does not support MutationObserver; skipping session recording");return}var i=h.bind(function(t){var r=h.bind(function(){this._recorder=this._recorder||new I.__mp_recorder(this),this._recorder.resumeRecording(t)},this);h.isUndefined(I.__mp_recorder)?wl(this.get_config("recorder_src"),r):r()},this),n=this.get_config("record_sessions_percent")>0&&Math.random()*100<=this.get_config("record_sessions_percent");e||n?i(!0):this._should_load_recorder().then(function(t){t&&i(!1)})});b.prototype.start_session_recording=function(){this._check_and_start_session_recording(!0)};b.prototype.stop_session_recording=function(){return this._recorder?this._recorder.stopRecording():Promise.resolve()};b.prototype.pause_session_recording=function(){return this._recorder?this._recorder.pauseRecording():Promise.resolve()};b.prototype.resume_session_recording=function(){return this._recorder?this._recorder.resumeRecording():Promise.resolve()};b.prototype.is_recording_heatmap_data=function(){return this._get_session_replay_id()&&this.get_config("record_heatmap_data")};b.prototype.get_session_recording_properties=function(){var e={},i=this._get_session_replay_id();return i&&(e.$mp_replay_id=i),e};b.prototype.get_session_replay_url=function(){var e=null,i=this._get_session_replay_id();if(i){var n=h.HTTPBuildQuery({replay_id:i,distinct_id:this.get_distinct_id(),token:this.get_config("token")});e="https://mixpanel.com/projects/replay-redirect?"+n}return e};b.prototype._get_session_replay_id=function(){var e=null;return this._recorder&&(e=this._recorder.replayId),e||null};b.prototype.__get_recorder=function(){return this._recorder};b.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var e=h.info.campaignParams(null);h.each(e,function(i,n){this.unregister(n)}.bind(this))}};b.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(D.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(h.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(D.referrer)};b.prototype._dom_loaded=function(){h.each(this.__dom_loaded_queue,function(e){this._track_dom.apply(this,e)},this),this.has_opted_out_tracking()||h.each(this.__request_queue,function(e){this._send_request.apply(this,e)},this),delete this.__dom_loaded_queue,delete this.__request_queue};b.prototype._track_dom=function(e,i){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!kl)return this.__dom_loaded_queue.push([e,i]),!1;var n=new e().init(this);return n.track.apply(n,i)};b.prototype._prepare_callback=function(e,i){if(h.isUndefined(e))return null;if(qt){var n=function(s){e(s,i)};return n}else{var t=this._jsc,r=""+Math.floor(Math.random()*1e8),o=this.get_config("callback_fn")+"["+r+"]";return t[r]=function(s){delete t[r],e(s,i)},o}};b.prototype._send_request=function(e,i,n,t){var r=!0;if(Il)return this.__request_queue.push(arguments),r;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},s=null;!t&&(h.isFunction(n)||typeof n=="string")&&(t=n,n=null),n=h.extend(o,n||{}),qt||(n.method="GET");var a=n.method==="POST",u=Yi&&a&&n.transport.toLowerCase()==="sendbeacon",c=n.verbose;i.verbose&&(c=!0),this.get_config("test")&&(i.test=1),c&&(i.verbose=1),this.get_config("img")&&(i.img=1),qt||(t?i.callback=t:(c||this.get_config("test"))&&(i.callback="(function(){})")),i.ip=this.get_config("ip")?1:0,i._=new Date().getTime().toString(),a&&(s="data="+encodeURIComponent(i.data),delete i.data),h.extend(i,this.get_config("api_extra_query_params")),e+="?"+h.HTTPBuildQuery(i);var l=this;if("img"in i){var f=D.createElement("img");f.src=e,D.body.appendChild(f)}else if(u){try{r=Yi(e,s)}catch(m){l.report_error(m),r=!1}try{t&&t(r?1:0)}catch(m){l.report_error(m)}}else if(qt)try{var p=new XMLHttpRequest;p.open(n.method,e,!0);var g=this.get_config("xhr_headers");if(a&&(g["Content-Type"]="application/x-www-form-urlencoded"),h.each(g,function(m,_){p.setRequestHeader(_,m)}),n.timeout_ms&&typeof p.timeout<"u"){p.timeout=n.timeout_ms;var d=new Date().getTime()}p.withCredentials=!0,p.onreadystatechange=function(){if(p.readyState===4)if(p.status===200){if(t)if(c){var m;try{m=h.JSONDecode(p.responseText)}catch(S){if(l.report_error(S),n.ignore_json_errors)m=p.responseText;else return}t(m)}else t(Number(p.responseText))}else{var _;if(p.timeout&&!p.status&&new Date().getTime()-d>=p.timeout?_="timeout":_="Bad HTTP status: "+p.status+" "+p.statusText,l.report_error(_),t)if(c){var w=p.responseHeaders||{};t({status:0,httpStatusCode:p.status,error:_,retryAfter:w["Retry-After"]})}else t(0)}},p.send(s)}catch(m){l.report_error(m),r=!1}else{var y=D.createElement("script");y.type="text/javascript",y.async=!0,y.defer=!0,y.src=e;var v=D.getElementsByTagName("script")[0];v.parentNode.insertBefore(y,v)}return r};b.prototype._execute_array=function(e){var i,n=[],t=[],r=[];h.each(e,function(s){s&&(i=s[0],h.isArray(i)?r.push(s):typeof s=="function"?s.call(this):h.isArray(s)&&i==="alias"?n.push(s):h.isArray(s)&&i.indexOf("track")!==-1&&typeof this[i]=="function"?r.push(s):t.push(s))},this);var o=function(s,a){h.each(s,function(u){if(h.isArray(u[0])){var c=a;h.each(u,function(l){c=c[l[0]].apply(c,l.slice(1))})}else this[u[0]].apply(this,u.slice(1))},a)};o(n,this),o(t,this),o(r,this)};b.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events};b.prototype.get_batcher_configs=function(){var e="__mpq_"+this.get_config("token");return this._batcher_configs=this._batcher_configs||{events:{type:"events",api_name:"track",queue_key:e+"_ev"},people:{type:"people",api_name:"engage",queue_key:e+"_pp"},groups:{type:"groups",api_name:"groups",queue_key:e+"_gr"}},this._batcher_configs};b.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=h.bind(function(n){return new Pe(n.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:h.bind(function(t,r,o){var s=this.get_config("api_routes");this._send_request(this.get_api_host(n.api_name)+"/"+s[n.api_name],this._encode_data_for_request(t),r,this._prepare_callback(o,t))},this),beforeSendHook:h.bind(function(t){return this._run_hook("before_send_"+n.type,t)},this),stopAllBatchingFunc:h.bind(this.stop_batch_senders,this),usePersistence:!0})},this),i=this.get_batcher_configs();this.request_batchers={events:e(i.events),people:e(i.people),groups:e(i.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()};b.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,h.each(this.request_batchers,function(e){e.start()}))};b.prototype.stop_batch_senders=function(){this._batch_requests=!1,h.each(this.request_batchers,function(e){e.stop(),e.clear()})};b.prototype.push=function(e){this._execute_array([e])};b.prototype.disable=function(e){typeof e>"u"?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)};b.prototype._encode_data_for_request=function(e){var i=Zt(e);return this.get_config("api_payload_format")===Cl&&(i=h.base64Encode(i)),{data:i}};b.prototype._track_or_batch=function(e,i){var n=h.truncate(e.data,255),t=e.endpoint,r=e.batcher,o=e.should_send_immediately,s=e.send_request_options||{};i=i||ot;var a=!0,u=h.bind(function(){return s.skip_hooks||(n=this._run_hook("before_send_"+e.type,n)),n?(V.log("MIXPANEL REQUEST:"),V.log(n),this._send_request(t,this._encode_data_for_request(n),s,this._prepare_callback(i,n))):null},this);return this._batch_requests&&!o?r.enqueue(n).then(function(c){c?i(1,n):u()}):a=u(),a&&n};b.prototype.track=pt(function(e,i,n,t){!t&&typeof n=="function"&&(t=n,n=null),n=n||{};var r=n.transport;r&&(n.transport=r);var o=n.send_immediately;if(typeof t!="function"&&(t=ot),h.isUndefined(e)){this.report_error("No event name provided to mixpanel.track");return}if(this._event_is_disabled(e)){t(0);return}i=h.extend({},i),i.token=this.get_config("token");var s=this.persistence.remove_event_timer(e);if(!h.isUndefined(s)){var a=new Date().getTime()-s;i.$duration=parseFloat((a/1e3).toFixed(3))}this._set_default_superprops();var u=this.get_config("track_marketing")?h.info.marketingParams():{};i=h.extend({},h.info.properties({mp_loader:this.get_config("mp_loader")}),u,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),i);var c=this.get_config("property_blacklist");h.isArray(c)?h.each(c,function(p){delete i[p]}):this.report_error("Invalid value for property_blacklist config: "+c);var l={event:e,properties:i},f=this._track_or_batch({type:"events",data:l,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:o,send_request_options:n},t);return f});b.prototype.set_group=pt(function(e,i,n){h.isArray(i)||(i=[i]);var t={};return t[e]=i,this.register(t),this.people.set(e,i,n)});b.prototype.add_group=pt(function(e,i,n){var t=this.get_property(e),r={};return t===void 0?(r[e]=[i],this.register(r)):t.indexOf(i)===-1&&(t.push(i),r[e]=t,this.register(r)),this.people.union(e,i,n)});b.prototype.remove_group=pt(function(e,i,n){var t=this.get_property(e);if(t!==void 0){var r=t.indexOf(i);r>-1&&(t.splice(r,1),this.register({group_key:t})),t.length===0&&this.unregister(e)}return this.people.remove(e,i,n)});b.prototype.track_with_groups=pt(function(e,i,n,t){var r=h.extend({},i||{});return h.each(n,function(o,s){o!=null&&(r[s]=o)}),this.track(e,r,t)});b.prototype._create_map_key=function(e,i){return e+"_"+JSON.stringify(i)};b.prototype._remove_group_from_cache=function(e,i){delete this._cached_groups[this._create_map_key(e,i)]};b.prototype.get_group=function(e,i){var n=this._create_map_key(e,i),t=this._cached_groups[n];return(t===void 0||t._group_key!==e||t._group_id!==i)&&(t=new ne,t._init(this,e,i),this._cached_groups[n]=t),t};b.prototype.track_pageview=pt(function(e,i){typeof e!="object"&&(e={}),i=i||{};var n=i.event_name||"$mp_web_page_view",t=h.extend(h.info.mpPageViewProperties(),h.info.campaignParams(),h.info.clickParams()),r=h.extend({},t,e);return this.track(n,r)});b.prototype.track_links=function(){return this._track_dom.call(this,Qt,arguments)};b.prototype.track_forms=function(){return this._track_dom.call(this,fn,arguments)};b.prototype.time_event=function(e){if(h.isUndefined(e)){this.report_error("No event name provided to mixpanel.time_event");return}this._event_is_disabled(e)||this.persistence.set_event_timer(e,new Date().getTime())};var dm={persistent:!0},_s=function(e){var i;return h.isObject(e)?i=e:h.isUndefined(e)?i={}:i={days:e},h.extend({},dm,i)};b.prototype.register=function(e,i){var n=_s(i);n.persistent?this.persistence.register(e,n.days):h.extend(this.unpersisted_superprops,e)};b.prototype.register_once=function(e,i,n){var t=_s(n);t.persistent?this.persistence.register_once(e,i,t.days):(typeof i>"u"&&(i="None"),h.each(e,function(r,o){(!this.unpersisted_superprops.hasOwnProperty(o)||this.unpersisted_superprops[o]===i)&&(this.unpersisted_superprops[o]=r)},this))};b.prototype.unregister=function(e,i){i=_s(i),i.persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e]};b.prototype._register_single=function(e,i){var n={};n[e]=i,this.register(n)};b.prototype.identify=function(e,i,n,t,r,o,s,a){var u=this.get_distinct_id();if(e&&u!==e){if(typeof e=="string"&&e.indexOf(ys)===0)return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:e})}if(!this.get_property("$device_id")){var c=u;this.register_once({$had_persisted_distinct_id:!0,$device_id:c},"")}e!==u&&e!==this.get_property(Hi)&&(this.unregister(Hi),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(i,n,t,r,o,s,a),e!==u&&this.track("$identify",{distinct_id:e,$anon_distinct_id:u},{skip_hooks:!0}),e!==u&&this.flags.fetchFlags()};b.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var e=h.UUID();this.register_once({distinct_id:ys+e,$device_id:e},""),this._check_and_start_session_recording()};b.prototype.get_distinct_id=function(){return this.get_property("distinct_id")};b.prototype.alias=function(e,i){if(e===this.get_property(bl))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var n=this;return h.isUndefined(i)&&(i=this.get_distinct_id()),e!==i?(this._register_single(Hi,e),this.track("$create_alias",{alias:e,distinct_id:i},{skip_hooks:!0},function(){n.identify(e)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(e),-1)};b.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)};b.prototype.set_config=function(e){if(h.isObject(e)){h.extend(this.config,e);var i=e.batch_size;i&&h.each(this.request_batchers,function(n){n.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),Te.DEBUG=Te.DEBUG||this.get_config("debug"),("autocapture"in e||"record_heatmap_data"in e)&&this.autocapture&&this.autocapture.init()}};b.prototype.get_config=function(e){return this.config[e]};b.prototype._run_hook=function(e){var i=(this.config.hooks[e]||hm).apply(this,rt.call(arguments,1));return typeof i>"u"&&(this.report_error(e+" hook did not return a value"),i=null),i};b.prototype.get_property=function(e){return this.persistence.load_prop([e])};b.prototype.get_api_host=function(e){return this.get_config("api_hosts")[e]||this.get_config("api_host")};b.prototype.toString=function(){var e=this.get_config("name");return e!==Me&&(e=Me+"."+e),e};b.prototype._event_is_disabled=function(e){return h.isBlockedUA(Ve)||this._flags.disable_all_events||h.include(this.__disabled_events,e)};b.prototype._gdpr_init=function(){var e=this.get_config("opt_out_tracking_persistence_type")==="localStorage";e&&h.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):!this.has_opted_in_tracking()&&(this.get_config("opt_out_tracking_by_default")||h.cookie.get("mp_optout"))&&(h.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))};b.prototype._gdpr_update_persistence=function(e){var i;if(e&&e.clear_persistence)i=!0;else if(e&&e.enable_persistence)i=!1;else return;!this.get_config("disable_persistence")&&this.persistence.disabled!==i&&this.persistence.set_disabled(i),i?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()};b.prototype._gdpr_call_func=function(e,i){return i=h.extend({track:h.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},i),h.localStorage.is_supported()||(i.persistence_type="cookie"),e(this.get_config("token"),{track:i.track,trackEventName:i.track_event_name,trackProperties:i.track_properties,persistenceType:i.persistence_type,persistencePrefix:i.cookie_prefix,cookieDomain:i.cookie_domain,cookieExpiration:i.cookie_expiration,crossSiteCookie:i.cross_site_cookie,crossSubdomainCookie:i.cross_subdomain_cookie,secureCookie:i.secure_cookie,ignoreDnt:i.ignore_dnt})};b.prototype.opt_in_tracking=function(e){e=h.extend({enable_persistence:!0},e),this._gdpr_call_func(_g,e),this._gdpr_update_persistence(e)};b.prototype.opt_out_tracking=function(e){e=h.extend({clear_persistence:!0,delete_user:!0},e),e.delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(bg,e),this._gdpr_update_persistence(e)};b.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(wg,e)};b.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(Yc,e)};b.prototype.clear_opt_in_out_tracking=function(e){e=h.extend({enable_persistence:!0},e),this._gdpr_call_func(Sg,e),this._gdpr_update_persistence(e)};b.prototype.report_error=function(e,i){V.error.apply(V.error,arguments);try{!i&&!(e instanceof Error)&&(e=new Error(e)),this.get_config("error_reporter")(e,i)}catch(n){V.error(n)}};b.prototype.init=b.prototype.init;b.prototype.reset=b.prototype.reset;b.prototype.disable=b.prototype.disable;b.prototype.time_event=b.prototype.time_event;b.prototype.track=b.prototype.track;b.prototype.track_links=b.prototype.track_links;b.prototype.track_forms=b.prototype.track_forms;b.prototype.track_pageview=b.prototype.track_pageview;b.prototype.register=b.prototype.register;b.prototype.register_once=b.prototype.register_once;b.prototype.unregister=b.prototype.unregister;b.prototype.identify=b.prototype.identify;b.prototype.alias=b.prototype.alias;b.prototype.name_tag=b.prototype.name_tag;b.prototype.set_config=b.prototype.set_config;b.prototype.get_config=b.prototype.get_config;b.prototype.get_api_host=b.prototype.get_api_host;b.prototype.get_property=b.prototype.get_property;b.prototype.get_distinct_id=b.prototype.get_distinct_id;b.prototype.toString=b.prototype.toString;b.prototype.opt_out_tracking=b.prototype.opt_out_tracking;b.prototype.opt_in_tracking=b.prototype.opt_in_tracking;b.prototype.has_opted_out_tracking=b.prototype.has_opted_out_tracking;b.prototype.has_opted_in_tracking=b.prototype.has_opted_in_tracking;b.prototype.clear_opt_in_out_tracking=b.prototype.clear_opt_in_out_tracking;b.prototype.get_group=b.prototype.get_group;b.prototype.set_group=b.prototype.set_group;b.prototype.add_group=b.prototype.add_group;b.prototype.remove_group=b.prototype.remove_group;b.prototype.track_with_groups=b.prototype.track_with_groups;b.prototype.start_batch_senders=b.prototype.start_batch_senders;b.prototype.stop_batch_senders=b.prototype.stop_batch_senders;b.prototype.start_session_recording=b.prototype.start_session_recording;b.prototype.stop_session_recording=b.prototype.stop_session_recording;b.prototype.pause_session_recording=b.prototype.pause_session_recording;b.prototype.resume_session_recording=b.prototype.resume_session_recording;b.prototype.get_session_recording_properties=b.prototype.get_session_recording_properties;b.prototype.get_session_replay_url=b.prototype.get_session_replay_url;b.prototype.get_tab_id=b.prototype.get_tab_id;b.prototype.DEFAULT_API_ROUTES=El;b.prototype.__get_recorder=b.prototype.__get_recorder;$.prototype.properties=$.prototype.properties;$.prototype.update_search_keyword=$.prototype.update_search_keyword;$.prototype.update_referrer_info=$.prototype.update_referrer_info;$.prototype.get_cross_subdomain=$.prototype.get_cross_subdomain;$.prototype.clear=$.prototype.clear;var Wt={},vm=function(){h.each(Wt,function(e,i){i!==Me&&(me[i]=e)}),me._=h},gm=function(){me.init=function(e,i,n){if(n)return me[n]||(me[n]=Wt[n]=Ao(e,i,n),me[n]._loaded()),me[n];var t=me;Wt[Me]?t=Wt[Me]:e&&(t=Ao(e,i,Me),t._loaded(),Wt[Me]=t),me=t,ms===fm&&(I[Me]=me),vm()}},mm=function(){function e(){e.done||(e.done=!0,kl=!0,Il=!1,h.each(Wt,function(t){t._dom_loaded()}))}function i(){try{D.documentElement.doScroll("left")}catch{setTimeout(i,1);return}e()}if(D.addEventListener)D.readyState==="complete"?e():D.addEventListener("DOMContentLoaded",e,!1);else if(D.attachEvent){D.attachEvent("onreadystatechange",e);var n=!1;try{n=I.frameElement===null}catch{}D.documentElement.doScroll&&n&&i()}h.register_event(I,"load",e,!0)};
53function ym(e){return wl=e,ms=Sl,me=new b,gm(),me.init(),mm(),me}function _m(e,i){i()}var bm=ym(_m);export{bm as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.