vendor: 4,161 bytes, lines 1-7
1/** 2 * Bundled by jsDelivr using Rollup v4.62.2 and esbuild v0.28.1. 3 * Original file: /npm/[email protected]/dist/mixpanel.module.js 4 * 5 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files 6 */ 7var Qr=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},Xe=[],ze=[],Jd=typeof Uint8Array<"u"?Uint8Array:Array,Qo=!1;function oc(){Qo=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,i=t.length;r<i;++r)Xe[r]=t[r],ze[t.charCodeAt(r)]=r;ze[45]=62,ze[95]=63}function Xd(t){Qo||oc();var r,i,e,n,o,s,a=t.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o=t[a-2]==="="?2:t[a-1]==="="?1:0,s=new Jd(a*3/4-o),e=o>0?a-4:a;var u=0;for(r=0,i=0;r<e;r+=4,i+=3)n=ze[t.charCodeAt(r)]<<18|ze[t.charCodeAt(r+1)]<<12|ze[t.charCodeAt(r+2)]<<6|ze[t.charCodeAt(r+3)],s[u++]=n>>16&255,s[u++]=n>>8&255,s[u++]=n&255;return o===2?(n=ze[t.charCodeAt(r)]<<2|ze[t.charCodeAt(r+1)]>>4,s[u++]=n&255):o===1&&(n=ze[t.charCodeAt(r)]<<10|ze[t.charCodeAt(r+1)]<<4|ze[t.charCodeAt(r+2)]>>2,s[u++]=n>>8&255,s[u++]=n&255),s}function Zd(t){return Xe[t>>18&63]+Xe[t>>12&63]+Xe[t>>6&63]+Xe[t&63]}function Qd(t,r,i){for(var e,n=[],o=r;o<i;o+=3)e=(t[o]<<16)+(t[o+1]<<8)+t[o+2],n.push(Zd(e));return n.join("")}function sc(t){Qo||oc();for(var r,i=t.length,e=i%3,n="",o=[],s=16383,a=0,u=i-e;a<u;a+=s)o.push(Qd(t,a,a+s>u?u:a+s));return e===1?(r=t[i-1],n+=Xe[r>>2],n+=Xe[r<<4&63],n+="=="):e===2&&(r=(t[i-2]<<8)+t[i-1],n+=Xe[r>>10],n+=Xe[r>>4&63],n+=Xe[r<<2&63],n+="="),o.push(n),o.join("")}function Vn(t,r,i,e,n){var o,s,a=n*8-e-1,u=(1<<a)-1,c=u>>1,f=-7,l=i?n-1:0,h=i?-1:1,g=t[r+l];for(l+=h,o=g&(1<<-f)-1,g>>=-f,f+=a;f>0;o=o*256+t[r+l],l+=h,f-=8);for(s=o&(1<<-f)-1,o>>=-f,f+=e;f>0;s=s*256+t[r+l],l+=h,f-=8);if(o===0)o=1-c;else{if(o===u)return s?NaN:(g?-1:1)*(1/0);s=s+Math.pow(2,e),o=o-c}return(g?-1:1)*s*Math.pow(2,o-e)}function ac(t,r,i,e,n,o){var s,a,u,c=o*8-n-1,f=(1<<c)-1,l=f>>1,h=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=e?0:o-1,v=e?1:-1,m=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(a=isNaN(r)?1:0,s=f):(s=Math.floor(Math.log(r)/Math.LN2),r*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+l>=1?r+=h/u:r+=h*Math.pow(2,1-l),r*u>=2&&(s++,u/=2),s+l>=f?(a=0,s=f):s+l>=1?(a=(r*u-1)*Math.pow(2,n),s=s+l):(a=r*Math.pow(2,l-1)*Math.pow(2,n),s=0));n>=8;t[i+g]=a&255,g+=v,a/=256,n-=8);for(s=s<<n|a,c+=n;c>0;t[i+g]=s&255,g+=v,s/=256,c-=8);t[i+g-v]|=m*128}var ev={}.toString,uc=Array.isArray||function(t){return ev.call(t)=="[object Array]"};var tv=50;E.TYPED_ARRAY_SUPPORT=Qr.TYPED_ARRAY_SUPPORT!==void 0?Qr.TYPED_ARRAY_SUPPORT:!0,jn();function jn(){return E.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ht(t,r){if(jn()<r)throw new RangeError("Invalid typed array length");return E.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(r),t.__proto__=E.prototype):(t===null&&(t=new E(r)),t.length=r),t}function E(t,r,i){if(!E.TYPED_ARRAY_SUPPORT&&!(this instanceof E))return new E(t,r,i);if(typeof t=="number"){if(typeof r=="string")throw new Error("If encoding is specified then the first argument must be a string");return es(this,t)}return cc(this,t,r,i)}E.poolSize=8192,E._augment=function(t){return t.__proto__=E.prototype,t};function cc(t,r,i,e){if(typeof r=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&r instanceof ArrayBuffer?iv(t,r,i,e):typeof r=="string"?nv(t,r,i):ov(t,r)}E.from=function(t,r,i){return cc(null,t,r,i)},E.TYPED_ARRAY_SUPPORT&&(E.prototype.__proto__=Uint8Array.prototype,E.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&E[Symbol.species]);function fc(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function rv(t,r,i,e){return fc(r),r<=0?ht(t,r):i!==void 0?typeof e=="string"?ht(t,r).fill(i,e):ht(t,r).fill(i):ht(t,r)}E.alloc=function(t,r,i){return rv(null,t,r,i)};function es(t,r){if(fc(r),t=ht(t,r<0?0:rs(r)|0),!E.TYPED_ARRAY_SUPPORT)for(var i=0;i<r;++i)t[i]=0;return t}E.allocUnsafe=function(t){return es(null,t)},E.allocUnsafeSlow=function(t){return es(null,t)};
vendor: 15,926 bytes, line 7
7function nv(t,r,i){if((typeof i!="string"||i==="")&&(i="utf8"),!E.isEncoding(i))throw new TypeError('"encoding" must be a valid string encoding');var e=lc(r,i)|0;t=ht(t,e);var n=t.write(r,i);return n!==e&&(t=t.slice(0,n)),t}function ts(t,r){var i=r.length<0?0:rs(r.length)|0;t=ht(t,i);for(var e=0;e<i;e+=1)t[e]=r[e]&255;return t}function iv(t,r,i,e){if(r.byteLength,i<0||r.byteLength<i)throw new RangeError("'offset' is out of bounds");if(r.byteLength<i+(e||0))throw new RangeError("'length' is out of bounds");return i===void 0&&e===void 0?r=new Uint8Array(r):e===void 0?r=new Uint8Array(r,i):r=new Uint8Array(r,i,e),E.TYPED_ARRAY_SUPPORT?(t=r,t.__proto__=E.prototype):t=ts(t,r),t}function ov(t,r){if(Ze(r)){var i=rs(r.length)|0;return t=ht(t,i),t.length===0||r.copy(t,0,0,i),t}if(r){if(typeof ArrayBuffer<"u"&&r.buffer instanceof ArrayBuffer||"length"in r)return typeof r.length!="number"||Ev(r.length)?ht(t,0):ts(t,r);if(r.type==="Buffer"&&uc(r.data))return ts(t,r.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function rs(t){if(t>=jn())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+jn().toString(16)+" bytes");return t|0}E.isBuffer=Iv;function Ze(t){return!!(t!=null&&t._isBuffer)}E.compare=function(r,i){if(!Ze(r)||!Ze(i))throw new TypeError("Arguments must be Buffers");if(r===i)return 0;for(var e=r.length,n=i.length,o=0,s=Math.min(e,n);o<s;++o)if(r[o]!==i[o]){e=r[o],n=i[o];break}return e<n?-1:n<e?1:0},E.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},E.concat=function(r,i){if(!uc(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return E.alloc(0);var e;if(i===void 0)for(i=0,e=0;e<r.length;++e)i+=r[e].length;var n=E.allocUnsafe(i),o=0;for(e=0;e<r.length;++e){var s=r[e];if(!Ze(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(n,o),o+=s.length}return n};function lc(t,r){if(Ze(t))return t.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var i=t.length;if(i===0)return 0;for(var e=!1;;)switch(r){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return Kn(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i*2;case"hex":return i>>>1;case"base64":return wc(t).length;default:if(e)return Kn(t).length;r=(""+r).toLowerCase(),e=!0}}E.byteLength=lc;function sv(t,r,i){var e=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((i===void 0||i>this.length)&&(i=this.length),i<=0)||(i>>>=0,r>>>=0,i<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return gv(this,r,i);case"utf8":case"utf-8":return vc(this,r,i);case"ascii":return dv(this,r,i);case"latin1":case"binary":return vv(this,r,i);case"base64":return hv(this,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mv(this,r,i);default:if(e)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),e=!0}}E.prototype._isBuffer=!0;function tr(t,r,i){var e=t[r];t[r]=t[i],t[i]=e}E.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<r;i+=2)tr(this,i,i+1);return this},E.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<r;i+=4)tr(this,i,i+3),tr(this,i+1,i+2);return this},E.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<r;i+=8)tr(this,i,i+7),tr(this,i+1,i+6),tr(this,i+2,i+5),tr(this,i+3,i+4);return this},E.prototype.toString=function(){var r=this.length|0;return r===0?"":arguments.length===0?vc(this,0,r):sv.apply(this,arguments)},E.prototype.equals=function(r){if(!Ze(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:E.compare(this,r)===0},E.prototype.inspect=function(){var r="",i=tv;return this.length>0&&(r=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(r+=" ... ")),"<Buffer "+r+">"},E.prototype.compare=function(r,i,e,n,o){if(!Ze(r))throw new TypeError("Argument must be a Buffer");if(i===void 0&&(i=0),e===void 0&&(e=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),i<0||e>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&i>=e)return 0;if(n>=o)return-1;if(i>=e)return 1;if(i>>>=0,e>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var s=o-n,a=e-i,u=Math.min(s,a),c=this.slice(n,o),f=r.slice(i,e),l=0;l<u;++l)if(c[l]!==f[l]){s=c[l],a=f[l];break}return s<a?-1:a<s?1:0};function hc(t,r,i,e,n){if(t.length===0)return-1;if(typeof i=="string"?(e=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=n?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(n)return-1;i=t.length-1}else if(i<0)if(n)i=0;else return-1;if(typeof r=="string"&&(r=E.from(r,e)),Ze(r))return r.length===0?-1:pc(t,r,i,e,n);if(typeof r=="number")return r=r&255,E.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(t,r,i):Uint8Array.prototype.lastIndexOf.call(t,r,i):pc(t,[r],i,e,n);throw new TypeError("val must be string, number or Buffer")}function pc(t,r,i,e,n){var o=1,s=t.length,a=r.length;if(e!==void 0&&(e=String(e).toLowerCase(),e==="ucs2"||e==="ucs-2"||e==="utf16le"||e==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,s/=2,a/=2,i/=2}function u(g,v){return o===1?g[v]:g.readUInt16BE(v*o)}var c;if(n){var f=-1;for(c=i;c<s;c++)if(u(t,c)===u(r,f===-1?0:c-f)){if(f===-1&&(f=c),c-f+1===a)return f*o}else f!==-1&&(c-=c-f),f=-1}else for(i+a>s&&(i=s-a),c=i;c>=0;c--){for(var l=!0,h=0;h<a;h++)if(u(t,c+h)!==u(r,h)){l=!1;break}if(l)return c}return-1}E.prototype.includes=function(r,i,e){return this.indexOf(r,i,e)!==-1},E.prototype.indexOf=function(r,i,e){return hc(this,r,i,e,!0)},E.prototype.lastIndexOf=function(r,i,e){return hc(this,r,i,e,!1)};function av(t,r,i,e){i=Number(i)||0;var n=t.length-i;e?(e=Number(e),e>n&&(e=n)):e=n;var o=r.length;if(o%2!==0)throw new TypeError("Invalid hex string");e>o/2&&(e=o/2);for(var s=0;s<e;++s){var a=parseInt(r.substr(s*2,2),16);if(isNaN(a))return s;t[i+s]=a}return s}function uv(t,r,i,e){return Jn(Kn(r,t.length-i),t,i,e)}function dc(t,r,i,e){return Jn(Sv(r),t,i,e)}function cv(t,r,i,e){return dc(t,r,i,e)}function fv(t,r,i,e){return Jn(wc(r),t,i,e)}function lv(t,r,i,e){return Jn(Cv(r,t.length-i),t,i,e)}E.prototype.write=function(r,i,e,n){if(i===void 0)n="utf8",e=this.length,i=0;else if(e===void 0&&typeof i=="string")n=i,e=this.length,i=0;else if(isFinite(i))i=i|0,isFinite(e)?(e=e|0,n===void 0&&(n="utf8")):(n=e,e=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-i;if((e===void 0||e>o)&&(e=o),r.length>0&&(e<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return av(this,r,i,e);case"utf8":case"utf-8":return uv(this,r,i,e);case"ascii":return dc(this,r,i,e);case"latin1":case"binary":return cv(this,r,i,e);case"base64":return fv(this,r,i,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return lv(this,r,i,e);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},E.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function hv(t,r,i){return r===0&&i===t.length?sc(t):sc(t.slice(r,i))}function vc(t,r,i){i=Math.min(t.length,i);for(var e=[],n=r;n<i;){var o=t[n],s=null,a=o>239?4:o>223?3:o>191?2:1;if(n+a<=i){var u,c,f,l;switch(a){case 1:o<128&&(s=o);break;case 2:u=t[n+1],(u&192)===128&&(l=(o&31)<<6|u&63,l>127&&(s=l));break;case 3:u=t[n+1],c=t[n+2],(u&192)===128&&(c&192)===128&&(l=(o&15)<<12|(u&63)<<6|c&63,l>2047&&(l<55296||l>57343)&&(s=l));break;case 4:u=t[n+1],c=t[n+2],f=t[n+3],(u&192)===128&&(c&192)===128&&(f&192)===128&&(l=(o&15)<<18|(u&63)<<12|(c&63)<<6|f&63,l>65535&&l<1114112&&(s=l))}}s===null?(s=65533,a=1):s>65535&&(s-=65536,e.push(s>>>10&1023|55296),s=56320|s&1023),e.push(s),n+=a}return pv(e)}var gc=4096;function pv(t){var r=t.length;if(r<=gc)return String.fromCharCode.apply(String,t);for(var i="",e=0;e<r;)i+=String.fromCharCode.apply(String,t.slice(e,e+=gc));return i}function dv(t,r,i){var e="";i=Math.min(t.length,i);for(var n=r;n<i;++n)e+=String.fromCharCode(t[n]&127);return e}function vv(t,r,i){var e="";i=Math.min(t.length,i);for(var n=r;n<i;++n)e+=String.fromCharCode(t[n]);return e}function gv(t,r,i){var e=t.length;(!r||r<0)&&(r=0),(!i||i<0||i>e)&&(i=e);for(var n="",o=r;o<i;++o)n+=bv(t[o]);return n}function mv(t,r,i){for(var e=t.slice(r,i),n="",o=0;o<e.length;o+=2)n+=String.fromCharCode(e[o]+e[o+1]*256);return n}E.prototype.slice=function(r,i){var e=this.length;r=~~r,i=i===void 0?e:~~i,r<0?(r+=e,r<0&&(r=0)):r>e&&(r=e),i<0?(i+=e,i<0&&(i=0)):i>e&&(i=e),i<r&&(i=r);var n;if(E.TYPED_ARRAY_SUPPORT)n=this.subarray(r,i),n.__proto__=E.prototype;else{var o=i-r;n=new E(o,void 0);for(var s=0;s<o;++s)n[s]=this[s+r]}return n};function Re(t,r,i){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>i)throw new RangeError("Trying to access beyond buffer length")}E.prototype.readUIntLE=function(r,i,e){r=r|0,i=i|0,e||Re(r,i,this.length);for(var n=this[r],o=1,s=0;++s<i&&(o*=256);)n+=this[r+s]*o;return n},E.prototype.readUIntBE=function(r,i,e){r=r|0,i=i|0,e||Re(r,i,this.length);for(var n=this[r+--i],o=1;i>0&&(o*=256);)n+=this[r+--i]*o;return n},E.prototype.readUInt8=function(r,i){return i||Re(r,1,this.length),this[r]},E.prototype.readUInt16LE=function(r,i){return i||Re(r,2,this.length),this[r]|this[r+1]<<8},E.prototype.readUInt16BE=function(r,i){return i||Re(r,2,this.length),this[r]<<8|this[r+1]},E.prototype.readUInt32LE=function(r,i){return i||Re(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},E.prototype.readUInt32BE=function(r,i){return i||Re(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},E.prototype.readIntLE=function(r,i,e){r=r|0,i=i|0,e||Re(r,i,this.length);for(var n=this[r],o=1,s=0;++s<i&&(o*=256);)n+=this[r+s]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*i)),n},E.prototype.readIntBE=function(r,i,e){r=r|0,i=i|0,e||Re(r,i,this.length);for(var n=i,o=1,s=this[r+--n];n>0&&(o*=256);)s+=this[r+--n]*o;return o*=128,s>=o&&(s-=Math.pow(2,8*i)),s},E.prototype.readInt8=function(r,i){return i||Re(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},E.prototype.readInt16LE=function(r,i){i||Re(r,2,this.length);var e=this[r]|this[r+1]<<8;return e&32768?e|4294901760:e},E.prototype.readInt16BE=function(r,i){i||Re(r,2,this.length);var e=this[r+1]|this[r]<<8;return e&32768?e|4294901760:e},E.prototype.readInt32LE=function(r,i){return i||Re(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},E.prototype.readInt32BE=function(r,i){return i||Re(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},E.prototype.readFloatLE=function(r,i){return i||Re(r,4,this.length),Vn(this,r,!0,23,4)},E.prototype.readFloatBE=function(r,i){return i||Re(r,4,this.length),Vn(this,r,!1,23,4)},E.prototype.readDoubleLE=function(r,i){return i||Re(r,8,this.length),Vn(this,r,!0,52,8)},E.prototype.readDoubleBE=function(r,i){return i||Re(r,8,this.length),Vn(this,r,!1,52,8)};function Ne(t,r,i,e,n,o){if(!Ze(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(i+e>t.length)throw new RangeError("Index out of range")}E.prototype.writeUIntLE=function(r,i,e,n){if(r=+r,i=i|0,e=e|0,!n){var o=Math.pow(2,8*e)-1;Ne(this,r,i,e,o,0)}var s=1,a=0;for(this[i]=r&255;++a<e&&(s*=256);)this[i+a]=r/s&255;return i+e},E.prototype.writeUIntBE=function(r,i,e,n){if(r=+r,i=i|0,e=e|0,!n){var o=Math.pow(2,8*e)-1;Ne(this,r,i,e,o,0)}var s=e-1,a=1;for(this[i+s]=r&255;--s>=0&&(a*=256);)this[i+s]=r/a&255;return i+e},E.prototype.writeUInt8=function(r,i,e){return r=+r,i=i|0,e||Ne(this,r,i,1,255,0),E.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),this[i]=r&255,i+1};function Hn(t,r,i,e){r<0&&(r=65535+r+1);for(var n=0,o=Math.min(t.length-i,2);n<o;++n)t[i+n]=(r&255<<8*(e?n:1-n))>>>(e?n:1-n)*8}E.prototype.writeUInt16LE=function(r,i,e){return r=+r,i=i|0,e||Ne(this,r,i,2,65535,0),E.TYPED_ARRAY_SUPPORT?(this[i]=r&255,this[i+1]=r>>>8):Hn(this,r,i,!0),i+2},E.prototype.writeUInt16BE=function(r,i,e){return r=+r,i=i|0,e||Ne(this,r,i,2,65535,0),E.TYPED_ARRAY_SUPPORT?(this[i]=r>>>8,this[i+1]=r&255):Hn(this,r,i,!1),i+2};function Yn(t,r,i,e){r<0&&(r=4294967295+r+1);for(var n=0,o=Math.min(t.length-i,4);n<o;++n)t[i+n]=r>>>(e?n:3-n)*8&255}E.prototype.writeUInt32LE=function(r,i,e){return r=+r,i=i|0,e||Ne(this,r,i,4,4294967295,0),E.TYPED_ARRAY_SUPPORT?(this[i+3]=r>>>24,this[i+2]=r>>>16,this[i+1]=r>>>8,this[i]=r&255):Yn(this,r,i,!0),i+4},E.prototype.writeUInt32BE=function(r,i,e){return r=+r,i=i|0,e||Ne(this,r,i,4,4294967295,0),E.TYPED_ARRAY_SUPPORT?(this[i]=r>>>24,this[i+1]=r>>>16,this[i+2]=r>>>8,this[i+3]=r&255):Yn(this,r,i,!1),i+4},E.prototype.writeIntLE=function(r,i,e,n){if(r=+r,i=i|0,!n){var o=Math.pow(2,8*e-1);Ne(this,r,i,e,o-1,-o)}var s=0,a=1,u=0;for(this[i]=r&255;++s<e&&(a*=256);)r<0&&u===0&&this[i+s-1]!==0&&(u=1),this[i+s]=(r/a>>0)-u&255;return i+e},E.prototype.writeIntBE=function(r,i,e,n){if(r=+r,i=i|0,!n){var o=Math.pow(2,8*e-1);Ne(this,r,i,e,o-1,-o)}var s=e-1,a=1,u=0;for(this[i+s]=r&255;--s>=0&&(a*=256);)r<0&&u===0&&this[i+s+1]!==0&&(u=1),this[i+s]=(r/a>>0)-u&255;return i+e},E.prototype.writeInt8=function(r,i,e){return r=+r,i=i|0,e||Ne(this,r,i,1,127,-128),E.TYPED_ARRAY_SUPPORT||(r=Math.floor(r)),r<0&&(r=255+r+1),this[i]=r&255,i+1},E.prototype.writeInt16LE=function(r,i,e){return r=+r,i=i|0,e||Ne(this,r,i,2,32767,-32768),E.TYPED_ARRAY_SUPPORT?(this[i]=r&255,this[i+1]=r>>>8):Hn(this,r,i,!0),i+2},E.prototype.writeInt16BE=function(r,i,e){return r=+r,i=i|0,e||Ne(this,r,i,2,32767,-32768),E.TYPED_ARRAY_SUPPORT?(this[i]=r>>>8,this[i+1]=r&255):Hn(this,r,i,!1),i+2},E.prototype.writeInt32LE=function(r,i,e){return r=+r,i=i|0,e||Ne(this,r,i,4,2147483647,-2147483648),E.TYPED_ARRAY_SUPPORT?(this[i]=r&255,this[i+1]=r>>>8,this[i+2]=r>>>16,this[i+3]=r>>>24):Yn(this,r,i,!0),i+4},E.prototype.writeInt32BE=function(r,i,e){return r=+r,i=i|0,e||Ne(this,r,i,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),E.TYPED_ARRAY_SUPPORT?(this[i]=r>>>24,this[i+1]=r>>>16,this[i+2]=r>>>8,this[i+3]=r&255):Yn(this,r,i,!1),i+4};function mc(t,r,i,e,n,o){if(i+e>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function yc(t,r,i,e,n){return n||mc(t,r,i,4),ac(t,r,i,e,23,4),i+4}E.prototype.writeFloatLE=function(r,i,e){return yc(this,r,i,!0,e)},E.prototype.writeFloatBE=function(r,i,e){return yc(this,r,i,!1,e)};function _c(t,r,i,e,n){return n||mc(t,r,i,8),ac(t,r,i,e,52,8),i+8}E.prototype.writeDoubleLE=function(r,i,e){return _c(this,r,i,!0,e)},E.prototype.writeDoubleBE=function(r,i,e){return _c(this,r,i,!1,e)},E.prototype.copy=function(r,i,e,n){if(e||(e=0),!n&&n!==0&&(n=this.length),i>=r.length&&(i=r.length),i||(i=0),n>0&&n<e&&(n=e),n===e||r.length===0||this.length===0)return 0;if(i<0)throw new RangeError("targetStart out of bounds");if(e<0||e>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-i<n-e&&(n=r.length-i+e);var o=n-e,s;if(this===r&&e<i&&i<n)for(s=o-1;s>=0;--s)r[s+i]=this[s+e];else if(o<1e3||!E.TYPED_ARRAY_SUPPORT)for(s=0;s<o;++s)r[s+i]=this[s+e];else Uint8Array.prototype.set.call(r,this.subarray(e,e+o),i);return o},E.prototype.fill=function(r,i,e,n){if(typeof r=="string"){if(typeof i=="string"?(n=i,i=0,e=this.length):typeof e=="string"&&(n=e,e=this.length),r.length===1){var o=r.charCodeAt(0);o<256&&(r=o)}
vendor: 3,622 bytes, line 7
7if(n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!E.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else typeof r=="number"&&(r=r&255);if(i<0||this.length<i||this.length<e)throw new RangeError("Out of range index");if(e<=i)return this;i=i>>>0,e=e===void 0?this.length:e>>>0,r||(r=0);var s;if(typeof r=="number")for(s=i;s<e;++s)this[s]=r;else{var a=Ze(r)?r:Kn(new E(r,n).toString()),u=a.length;for(s=0;s<e-i;++s)this[s+i]=a[s%u]}return this};var yv=/[^+\/0-9A-Za-z-_]/g;function _v(t){if(t=wv(t).replace(yv,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function wv(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function bv(t){return t<16?"0"+t.toString(16):t.toString(16)}function Kn(t,r){r=r||1/0;for(var i,e=t.length,n=null,o=[],s=0;s<e;++s){if(i=t.charCodeAt(s),i>55295&&i<57344){if(!n){if(i>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(s+1===e){(r-=3)>-1&&o.push(239,191,189);continue}n=i;continue}if(i<56320){(r-=3)>-1&&o.push(239,191,189),n=i;continue}i=(n-55296<<10|i-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,i<128){if((r-=1)<0)break;o.push(i)}else if(i<2048){if((r-=2)<0)break;o.push(i>>6|192,i&63|128)}else if(i<65536){if((r-=3)<0)break;o.push(i>>12|224,i>>6&63|128,i&63|128)}else if(i<1114112){if((r-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,i&63|128)}else throw new Error("Invalid code point")}return o}function Sv(t){for(var r=[],i=0;i<t.length;++i)r.push(t.charCodeAt(i)&255);return r}function Cv(t,r){for(var i,e,n,o=[],s=0;s<t.length&&!((r-=2)<0);++s)i=t.charCodeAt(s),e=i>>8,n=i%256,o.push(n),o.push(e);return o}function wc(t){return Xd(_v(t))}function Jn(t,r,i,e){for(var n=0;n<e&&!(n+i>=r.length||n>=t.length);++n)r[n+i]=t[n];return n}function Ev(t){return t!==t}function Iv(t){return t!=null&&(!!t._isBuffer||bc(t)||xv(t))}function bc(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function xv(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&bc(t.slice(0,0))}function Sc(){throw new Error("setTimeout has not been defined")}function Cc(){throw new Error("clearTimeout has not been defined")}var It=Sc,xt=Cc;typeof Qr.setTimeout=="function"&&(It=setTimeout),typeof Qr.clearTimeout=="function"&&(xt=clearTimeout);function Ec(t){if(It===setTimeout)return setTimeout(t,0);if((It===Sc||!It)&&setTimeout)return It=setTimeout,setTimeout(t,0);try{return It(t,0)}catch{try{return It.call(null,t,0)}catch{return It.call(this,t,0)}}}function Rv(t){if(xt===clearTimeout)return clearTimeout(t);if((xt===Cc||!xt)&&clearTimeout)return xt=clearTimeout,clearTimeout(t);try{return xt(t)}catch{try{return xt.call(null,t)}catch{return xt.call(this,t)}}}var pt=[],Cr=!1,rr,Xn=-1;function Av(){!Cr||!rr||(Cr=!1,rr.length?pt=rr.concat(pt):Xn=-1,pt.length&&Ic())}function Ic(){if(!Cr){var t=Ec(Av);Cr=!0;for(var r=pt.length;r;){for(rr=pt,pt=[];++Xn<r;)rr&&rr[Xn].run();Xn=-1,r=pt.length}rr=null,Cr=!1,Rv(t)}}function Ov(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)r[i-1]=arguments[i];pt.push(new xc(t,r)),pt.length===1&&!Cr&&Ec(Ic)}function xc(t,r){this.fun=t,this.array=r}xc.prototype.run=function(){this.fun.apply(null,this.array)};var kv="browser",Tv="browser",Mv=!0,Pv={},$v=[],Fv="",Nv={},Lv={},Dv={};function nr(){}var Uv=nr,Bv=nr,zv=nr,qv=nr,Wv=nr,Gv=nr,Vv=nr;function jv(t){throw new Error("process.binding is not supported")}function Hv(){return"/"}function Yv(t){throw new Error("process.chdir is not supported")}function Kv(){return 0}var Er=Qr.performance||{}
vendor: 24,009 bytes, line 7
7,Jv=Er.now||Er.mozNow||Er.msNow||Er.oNow||Er.webkitNow||function(){return new Date().getTime()};function Xv(t){var r=Jv.call(Er)*.001,i=Math.floor(r),e=Math.floor(r%1*1e9);return t&&(i=i-t[0],e=e-t[1],e<0&&(i--,e+=1e9)),[i,e]}var Zv=new Date;function Qv(){var t=new Date,r=t-Zv;return r/1e3}var ir={nextTick:Ov,title:kv,browser:Mv,env:Pv,argv:$v,version:Fv,versions:Nv,on:Uv,addListener:Bv,once:zv,off:qv,removeListener:Wv,removeAllListeners:Gv,emit:Vv,binding:jv,cwd:Hv,chdir:Yv,umask:Kv,hrtime:Xv,platform:Tv,release:Lv,config:Dv,uptime:Qv};typeof Symbol=="function"&&Symbol.toStringTag&&Object.defineProperty(ir,Symbol.toStringTag,{value:"process",enumerable:!1,writable:!0,configurable:!1});var I;if(typeof window>"u"){var Rc={hostname:""};I={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:Rc,referrer:""},screen:{width:0,height:0},location:Rc,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else I=window;var Le={DEBUG:!1,LIB_VERSION:"2.80.0"},je="__mp_targeting",ns="__mp_recorder",eg="__MP_RECORDER_FILENAME__",Ac="__MP_TARGETING_FILENAME__";function Oc(t,r){(r==null||r>t.length)&&(r=t.length);for(var i=0,e=new Array(r);i<r;i++)e[i]=t[i];return e}function kc(t,r,i,e,n,o,s){try{var a=t[o](s),u=a.value}catch(c){i(c);return}a.done?r(u):Promise.resolve(u).then(e,n)}function Zn(t){return function(){var r=this,i=arguments;return new Promise(function(e,n){var o=t.apply(r,i);function s(u){kc(o,e,n,s,a,"next",u)}function a(u){kc(o,e,n,s,a,"throw",u)}s(void 0)})}}function Qn(t,r,i){return Tc()?Qn=Reflect.construct:Qn=function(n,o,s){var a=[null];a.push.apply(a,o);var u=Function.bind.apply(n,a),c=new u;return s&&en(c,s.prototype),c},Qn.apply(null,arguments)}function tg(t,r){for(var i=0;i<r.length;i++){var e=r[i];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function oe(t,r,i){return r&&tg(t.prototype,r),t}function q(){return q=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e])}return t},q.apply(this,arguments)}function is(t){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},is(t)}function le(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&en(t,r)}function P(t,r){return r!=null&&typeof Symbol<"u"&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](t):t instanceof r}function rg(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function or(t,r){if(t==null)return{};var i={},e=Object.keys(t),n,o;for(o=0;o<e.length;o++)n=e[o],!(r.indexOf(n)>=0)&&(i[n]=t[n]);return i}function en(t,r){return en=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},en(t,r)}function $(t){"@swc/helpers - typeof";return t&&typeof Symbol<"u"&&t.constructor===Symbol?"symbol":typeof t}function ng(t,r){if(t){if(typeof t=="string")return Oc(t,r);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Oc(t,r)}}function tn(t){var r=typeof Map=="function"?new Map:void 0;return tn=function(e){if(e===null||!rg(e))return e;if(typeof e!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(e))return r.get(e);r.set(e,n)}function n(){return Qn(e,arguments,is(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),en(n,e)},tn(t)}function Tc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Tc=function(){return!!t})()}function x(t,r){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=ng(t))||r){i&&(t=i);var e=0;return function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}}}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 sr(t,r){var i,e,n,o,s={label:0,sent:function(){if(n[0]&1)throw n[1];return n[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(f){return u([c,f])}}function u(c){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,e&&(n=c[0]&2?e.return:c[0]?e.throw||((n=e.return)&&n.call(e),0):e.next)&&!(n=n.call(e,c[1])).done)return n;switch(e=0,n&&(c=[c[0]&2,n.value]),c[0]){case 0:case 1:n=c;break;case 4:return s.label++,{value:c[1],done:!1};case 5:s.label++,e=c[1],c=[0];continue;case 7:c=s.ops.pop(),s.trys.pop();continue;default:if(n=s.trys,!(n=n.length>0&&n[n.length-1])&&(c[0]===6||c[0]===2)){s=0;continue}if(c[0]===3&&(!n||c[1]>n[0]&&c[1]<n[3])){s.label=c[1];break}if(c[0]===6&&s.label<n[1]){s.label=n[1],n=c;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(c);break}n[2]&&s.ops.pop(),s.trys.pop();continue}c=r.call(t,s)}catch(f){c=[6,f],e=0}finally{i=n=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function os(t){var r=typeof Symbol=="function"&&Symbol.iterator,i=r&&t[r],e=0;if(i)return i.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}var ig=Object.defineProperty,og=function(t,r,i){return r in t?ig(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i},A=function(t,r,i){return og(t,(typeof r>"u"?"undefined":$(r))!=="symbol"?r+"":r,i)},Mc,sg=Object.defineProperty,ag=function(t,r,i){return r in t?sg(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i},Pc=function(t,r,i){return ag(t,(typeof r>"u"?"undefined":$(r))!=="symbol"?r+"":r,i)},Ie=(function(t){return t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment",t})(Ie||{}),$c={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Fc={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},ei={},ug=function(){return!!globalThis.Zone};function ss(t){if(ei[t])return ei[t];var r=globalThis[t],i=r.prototype,e=t in $c?$c[t]:void 0,n=!!(e&&e.every(function(f){var l,h;return!!((h=(l=Object.getOwnPropertyDescriptor(i,f))==null?void 0:l.get)!=null&&h.toString().includes("[native code]"))})),o=t in Fc?Fc[t]:void 0,s=!!(o&&o.every(function(f){var l;return typeof i[f]=="function"&&((l=i[f])==null?void 0:l.toString().includes("[native code]"))}));if(n&&s&&!ug())return ei[t]=r.prototype,r.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return r.prototype;var c=u[t].prototype;return document.body.removeChild(a),c?ei[t]=c:i}catch{return i}}var as={};function Rt(t,r,i){var e,n=t+"."+String(i);if(as[n])return as[n].call(r);var o=ss(t),s=(e=Object.getOwnPropertyDescriptor(o,i))==null?void 0:e.get;return s?(as[n]=s,s.call(r)):r[i]}var us={};function Nc(t,r,i){var e=t+"."+String(i);if(us[e])return us[e].bind(r);var n=ss(t),o=n[i];return typeof o!="function"?r[i]:(us[e]=o,o.bind(r))}function cg(t){return Rt("Node",t,"childNodes")}function fg(t){return Rt("Node",t,"parentNode")}function lg(t){return Rt("Node",t,"parentElement")}function hg(t){return Rt("Node",t,"textContent")}function pg(t,r){return Nc("Node",t,"contains")(r)}function dg(t){return Nc("Node",t,"getRootNode")()}function vg(t){return!t||!("host"in t)?null:Rt("ShadowRoot",t,"host")}function gg(t){return t.styleSheets}function mg(t){return!t||!("shadowRoot"in t)?null:Rt("Element",t,"shadowRoot")}function yg(t,r){return Rt("Element",t,"querySelector")(r)}function _g(t,r){return Rt("Element",t,"querySelectorAll")(r)}function wg(){return ss("MutationObserver").constructor}function bg(t,r,i){try{if(!(r in t))return function(){};var e=t[r],n=i(e);return typeof n=="function"&&(n.prototype=n.prototype||{},Object.defineProperties(n,{__rrweb_original__:{enumerable:!1,value:e}})),t[r]=n,function(){t[r]=e}}catch{return function(){}}}var ke={childNodes:cg,parentNode:fg,parentElement:lg,textContent:hg,contains:pg,getRootNode:dg,host:vg,styleSheets:gg,shadowRoot:mg,querySelector:yg,querySelectorAll:_g,mutationObserver:wg,patch:bg};function Lc(t){return t.nodeType===t.ELEMENT_NODE}function rn(t){var r=t&&"host"in t&&"mode"in t&&ke.host(t)||null;return!!(r&&"shadowRoot"in r&&ke.shadowRoot(r)===t)}function nn(t){return Object.prototype.toString.call(t)==="[object ShadowRoot]"}function Sg(t){return t.includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t}function Cg(t){var r=t.cssText;if(r.split('"').length<3)return r;var i=["@import","url("+JSON.stringify(t.href)+")"];return t.layerName===""?i.push("layer"):t.layerName&&i.push("layer("+t.layerName+")"),t.supportsText&&i.push("supports("+t.supportsText+")"),t.media.length&&i.push(t.media.mediaText),i.join(" ")+";"}function cs(t){try{var r=t.rules||t.cssRules;if(!r)return null;var i=t.href;!i&&t.ownerNode&&t.ownerNode.ownerDocument&&(i=t.ownerNode.ownerDocument.location.href);var e=Array.from(r,function(n){return Dc(n,i)}).join("");return Sg(e)}catch{return null}}function Dc(t,r){if(Ig(t)){var i;try{i=cs(t.styleSheet)||Cg(t)}catch{i=t.cssText}return t.styleSheet.href?ni(i,t.styleSheet.href):i}else{var e=t.cssText;return xg(t)&&t.selectorText.includes(":")&&(e=Eg(e)),r?ni(e,r):e}}function Eg(t){var r=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return t.replace(r,"$1\\$2")}function Ig(t){return"styleSheet"in t}function xg(t){return"selectorText"in t}var Uc=(function(){function t(){Pc(this,"idNodeMap",new Map),Pc(this,"nodeMetaMap",new WeakMap)}var r=t.prototype;return r.getId=function(e){var n;if(!e)return-1;var o=(n=this.getMeta(e))==null?void 0:n.id;return o??-1},r.getNode=function(e){return this.idNodeMap.get(e)||null},r.getIds=function(){return Array.from(this.idNodeMap.keys())},r.getMeta=function(e){return this.nodeMetaMap.get(e)||null},r.removeNodeFromMap=function(e,n){var o=this;n===void 0&&(n=!1);var s=this.getId(e);this.idNodeMap.delete(s),n&&this.nodeMetaMap.delete(e),e.childNodes&&e.childNodes.forEach(function(a){return o.removeNodeFromMap(a,n)})},r.has=function(e){return this.idNodeMap.has(e)},r.hasNode=function(e){return this.nodeMetaMap.has(e)},r.add=function(e,n){var o=n.id;this.idNodeMap.set(o,e),this.nodeMetaMap.set(e,n)},r.replace=function(e,n){var o=this.getNode(e);if(o){var s=this.nodeMetaMap.get(o);s&&this.nodeMetaMap.set(n,s)}this.idNodeMap.set(e,n)},r.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},t})();function Rg(){return new Uc}function ti(t){var r=t.element,i=t.maskInputOptions,e=t.tagName,n=t.type,o=t.value,s=t.maskInputFn,a=o||"",u=n&&ar(n);return(i[e.toLowerCase()]||u&&i[u])&&(s?a=s(a,r):a="*".repeat(a.length)),a}function ar(t){return t.toLowerCase()}var Bc="__rrweb_original__";function Ag(t){var r=t.getContext("2d");if(!r)return!0;for(var i=50,e=0;e<t.width;e+=i)for(var n=0;n<t.height;n+=i){var o=r.getImageData,s=Bc in o?o[Bc]:o,a=new Uint32Array(s.call(r,e,n,Math.min(i,t.width-e),Math.min(i,t.height-n)).data.buffer);if(a.some(function(u){return u!==0}))return!1}return!0}function ri(t){var r=t.type;return t.hasAttribute("data-rr-is-password")?"password":r?ar(r):null}function zc(t,r){var i;try{i=new URL(t,r??window.location.href)}catch{return null}var e=/\.([0-9a-z]+)(?:$)/i,n=i.pathname.match(e),o;return(o=n?.[1])!=null?o:null}function Og(t){var r="";return t.indexOf("//")>-1?r=t.split("/").slice(0,3).join("/"):r=t.split("/")[0],r=r.split("?")[0],r}var kg=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Tg=/^(?:[a-z+]+:)?\/\//i,Mg=/^www\..*/i,Pg=/^(data:)([^,]*),(.*)/i;function ni(t,r){return(t||"").replace(kg,function(i,e,n,o,s,a){var u=n||s||a,c=e||o||"";if(!u)return i;if(Tg.test(u)||Mg.test(u)||Pg.test(u))return"url("+c+u+c+")";if(u[0]==="/")return"url("+c+(Og(r)+u)+c+")";var f=r.split("/"),l=u.split("/");f.pop();for(var h=x(l),g;!(g=h()).done;){var v=g.value;v!=="."&&(v===".."?f.pop():f.push(v))}return"url("+c+f.join("/")+c+")"})}function ii(t,r){return r===void 0&&(r=!1),r?t.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):t.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function $g(t,r,i){i===void 0&&(i=!1);var e=Array.from(r.childNodes),n=[],o=0;if(e.length>1&&t&&typeof t=="string"){for(var s=ii(t,i),a=s.length/t.length,u=1;u<e.length;u++)if(e[u].textContent&&typeof e[u].textContent=="string"){for(var c=ii(e[u].textContent,i),f=100,l=3;l<c.length&&(c[l].match(/[a-zA-Z0-9]/)||c.indexOf(c.substring(0,l),1)!==-1);l++);for(;l<c.length;l++){var h=c.substring(0,l),g=s.split(h),v=-1;if(g.length===2)v=g[0].length;else if(g.length>2&&g[0]===""&&e[u-1].textContent!=="")v=s.indexOf(h,1);else if(g.length===1){if(h=h.substring(0,h.length-1),g=s.split(h),g.length<=1)return n.push(t),n;l=f+1}else l===c.length-1&&(v=s.indexOf(h));if(g.length>=2&&l>f){var m=e[u-1].textContent;if(m&&typeof m=="string"){var d=ii(m).length;v=s.indexOf(h,d)}v===-1&&(v=g[0].length)}if(v!==-1){for(var y=Math.floor(v/a);y>0&&y<t.length;){if(o+=1,o>50*e.length)return n.push(t),n;var _=ii(t.substring(0,y),i);if(_.length===v){n.push(t.substring(0,y)),t=t.substring(y),s=s.substring(v);break}else _.length<v?y+=Math.max(1,Math.floor((v-_.length)/a)):y-=Math.max(1,Math.floor((_.length-v)*a))}break}}}}return n.push(t),n}function Fg(t,r){return $g(t,r).join("/* rr_split */")}var Ng=1,Lg=new RegExp("[^a-z0-9-_:]"),on=-2;function qc(){return Ng++}function Dg(t){if(P(t,HTMLFormElement))return"form";var r=ar(t.tagName);return Lg.test(r)?"div":r}var Ir,Wc,Ug=/^[^ \t\n\r\u000c]+/,Bg=/^[, \t\n\r\u000c]+/;function zg(t,r){if(r.trim()==="")return r;var i=0;function e(c){var f,l=c.exec(r.substring(i));return l?(f=l[0],i+=f.length,f):""}for(var n=[];e(Bg),!(i>=r.length);){var o=e(Ug);if(o.slice(-1)===",")o=xr(t,o.substring(0,o.length-1)),n.push(o);else{var s="";o=xr(t,o);for(var a=!1;;){var u=r.charAt(i);if(u===""){n.push((o+s).trim());break}else if(a)u===")"&&(a=!1);else if(u===","){i+=1,n.push((o+s).trim());break}else u==="("&&(a=!0);s+=u,i+=1}}}return n.join(", ")}var Gc=new WeakMap;function xr(t,r){return!r||r.trim()===""?r:fs(t,r)}function qg(t){return!!(t.tagName==="svg"||t.ownerSVGElement)}function fs(t,r){var i=Gc.get(t);if(i||(i=t.createElement("a"),Gc.set(t,i)),!r)r="";else if(r.startsWith("blob:")||r.startsWith("data:"))return r;return i.setAttribute("href",r),i.href}function Vc(t,r,i,e){return e&&(i==="src"||i==="href"&&!(r==="use"&&e[0]==="#")||i==="xlink:href"&&e[0]!=="#"||i==="background"&&(r==="table"||r==="td"||r==="th")?xr(t,e):i==="srcset"?zg(t,e):i==="style"?ni(e,fs(t)):r==="object"&&i==="data"?xr(t,e):e)}function jc(t,r,i){return(t==="video"||t==="audio")&&r==="autoplay"}function Wg(t,r,i){try{if(typeof r=="string"){if(t.classList.contains(r))return!0}else for(var e=t.classList.length;e--;){var n=t.classList[e];if(r.test(n))return!0}if(i)return t.matches(i)}catch{}return!1}function oi(t,r,i){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return i?oi(ke.parentNode(t),r,i):!1;for(var e=t.classList.length;e--;){var n=t.classList[e];if(r.test(n))return!0}return i?oi(ke.parentNode(t),r,i):!1}function Hc(t,r,i,e){var n;if(Lc(t)){if(n=t,!ke.childNodes(n).length)return!1}else{if(ke.parentElement(t)===null)return!1;n=ke.parentElement(t)}try{if(typeof r=="string"){if(e){if(n.closest("."+r))return!0}else if(n.classList.contains(r))return!0}else if(oi(n,r,e))return!0;if(i){if(e){if(n.closest(i))return!0}else if(n.matches(i))return!0}}catch{}return!1}function Gg(t,r,i){var e=t.contentWindow;if(e){var n=!1,o;try{o=e.document.readyState}catch{return}if(o!=="complete"){var s=setTimeout(function(){n||(r(),n=!0)},i);t.addEventListener("load",function(){clearTimeout(s),n=!0,r()});return}var a="about:blank";if(e.location.href!==a||t.src===a||t.src==="")return setTimeout(r,0),t.addEventListener("load",r);t.addEventListener("load",r)}}function Vg(t,r,i){var e=!1,n;try{n=t.sheet}catch{return}if(!n){var o=setTimeout(function(){e||(r(),e=!0)},i);t.addEventListener("load",function(){clearTimeout(o),e=!0,r()})}}function jg(t,r){var i=r.doc,e=r.mirror,n=r.blockClass,o=r.blockSelector,s=r.needsMask,a=r.inlineStylesheet,u=r.maskInputOptions,c=u===void 0?{}:u,f=r.maskTextFn,l=r.maskInputFn,h=r.dataURLOptions,g=h===void 0?{}:h,v=r.inlineImages,m=r.recordCanvas,d=r.keepIframeSrcFn,y=r.newlyAddedElement,_=y===void 0?!1:y,b=r.cssCaptured,C=b===void 0?!1:b,S=Hg(i,e);switch(t.nodeType){case t.DOCUMENT_NODE:return t.compatMode!=="CSS1Compat"?{type:Ie.Document,childNodes:[],compatMode:t.compatMode}:{type:Ie.Document,childNodes:[]};case t.DOCUMENT_TYPE_NODE:return{type:Ie.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:S};case t.ELEMENT_NODE:return Kg(t,{doc:i,blockClass:n,blockSelector:o,inlineStylesheet:a,maskInputOptions:c,maskInputFn:l,dataURLOptions:g,inlineImages:v,recordCanvas:m,keepIframeSrcFn:d,newlyAddedElement:_,rootId:S});case t.TEXT_NODE:return Yg(t,{doc:i,needsMask:s,maskTextFn:f,rootId:S,cssCaptured:C});case t.CDATA_SECTION_NODE:return{type:Ie.CDATA,textContent:"",rootId:S};case t.COMMENT_NODE:return{type:Ie.Comment,textContent:ke.textContent(t)||"",rootId:S};default:return!1}}function Hg(t,r){if(r.hasNode(t)){var i=r.getId(t);return i===1?void 0:i}}function Yg(t,r){var i=r.needsMask,e=r.maskTextFn,n=r.rootId,o=r.cssCaptured,s=ke.parentNode(t),a=s&&s.tagName,u="",c=a==="STYLE"?!0:void 0,f=a==="SCRIPT"?!0:void 0;return f?u="SCRIPT_PLACEHOLDER":o||(u=ke.textContent(t),c&&u&&(u=ni(u,fs(r.doc)))),!c&&!f&&u&&i&&(u=e?e(u,ke.parentElement(t)):u.replace(/[\S]/g,"*")),{type:Ie.Text,textContent:u||"",rootId:n}}function Kg(t,r){for(var i=r.doc,e=r.blockClass,n=r.blockSelector,o=r.inlineStylesheet,s=r.maskInputOptions,a=s===void 0?{}:s,u=r.maskInputFn,c=r.dataURLOptions,f=c===void 0?{}:c,l=r.inlineImages,h=r.recordCanvas,g=r.keepIframeSrcFn,v=r.newlyAddedElement,m=v===void 0?!1:v,d=r.rootId,y=Wg(t,e,n),_=Dg(t),b={},C=t.attributes.length,S=0;S<C;S++){var R=t.attributes[S];jc(_,R.name,R.value)||(b[R.name]=Vc(i,_,ar(R.name),R.value))}if(_==="link"&&o){var T=Array.from(i.styleSheets).find(function(Be){return Be.href===t.href}),O=null;T&&(O=cs(T)),O&&(delete b.rel,delete b.href,b._cssText=O)}if(_==="style"&&t.sheet){var F=cs(t.sheet);F&&(t.childNodes.length>1&&(F=Fg(F,t)),b._cssText=F)}if(_==="input"||_==="textarea"||_==="select"){var W=t.value,ge=t.checked;b.type!=="radio"&&b.type!=="checkbox"&&b.type!=="submit"&&b.type!=="button"&&W?b.value=ti({element:t,type:ri(t),tagName:_,value:W,maskInputOptions:a,maskInputFn:u}):ge&&(b.checked=ge)}if(_==="option"&&(t.selected&&!a.select?b.selected=!0:delete b.selected),_==="dialog"&&t.open&&(b.rr_open_mode=t.matches("dialog:modal")?"modal":"non-modal"),_==="canvas"&&h){if(t.__context==="2d")Ag(t)||(b.rr_dataURL=t.toDataURL(f.type,f.quality));else if(!("__context"in t)){var N=t.toDataURL(f.type,f.quality),V=i.createElement("canvas");V.width=t.width,V.height=t.height;var ve=V.toDataURL(f.type,f.quality);N!==ve&&(b.rr_dataURL=N)}}if(_==="img"&&l){Ir||(Ir=i.createElement("canvas"),Wc=Ir.getContext("2d"));var K=t,Ue=K.currentSrc||K.getAttribute("src")||"<unknown-src>",Fe=K.crossOrigin,Oe=function(){K.removeEventListener("load",Oe);try{Ir.width=K.naturalWidth,Ir.height=K.naturalHeight,Wc.drawImage(K,0,0),b.rr_dataURL=Ir.toDataURL(f.type,f.quality)}catch(Be){if(K.crossOrigin!=="anonymous"){K.crossOrigin="anonymous",K.complete&&K.naturalWidth!==0?Oe():K.addEventListener("load",Oe);return}else console.warn("Cannot inline img src="+Ue+"! Error: "+Be)}K.crossOrigin==="anonymous"&&(Fe?b.crossOrigin=Fe:K.removeAttribute("crossorigin"))};K.complete&&K.naturalWidth!==0?Oe():K.addEventListener("load",Oe)}if(_==="audio"||_==="video"){var fe=b;fe.rr_mediaState=t.paused?"paused":"played",fe.rr_mediaCurrentTime=t.currentTime,fe.rr_mediaPlaybackRate=t.playbackRate,fe.rr_mediaMuted=t.muted,fe.rr_mediaLoop=t.loop,fe.rr_mediaVolume=t.volume}if(m||(t.scrollLeft&&(b.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(b.rr_scrollTop=t.scrollTop)),y){var xe=t.getBoundingClientRect(),Vt=xe.width,Je=xe.height;b={class:b.class,rr_width:""+Vt+"px",rr_height:""+Je+"px"}}_==="iframe"&&!g(b.src)&&(t.contentDocument||(b.rr_src=b.src),delete b.src);var jt;try{customElements.get(_)&&(jt=!0)}catch{}return{type:Ie.Element,tagName:_,attributes:b,childNodes:[],isSVG:qg(t)||void 0,needBlock:y,rootId:d,isCustom:jt}}function ne(t){return t==null?"":t.toLowerCase()}function Jg(t,r){if(r.comment&&t.type===Ie.Comment)return!0;if(t.type===Ie.Element){if(r.script&&(t.tagName==="script"||t.tagName==="link"&&(t.attributes.rel==="preload"&&t.attributes.as==="script"||t.attributes.rel==="modulepreload")||t.tagName==="link"&&t.attributes.rel==="prefetch"&&typeof t.attributes.href=="string"&&zc(t.attributes.href)==="js"))return!0;if(r.headFavicon&&(t.tagName==="link"&&t.attributes.rel==="shortcut icon"||t.tagName==="meta"&&(ne(t.attributes.name).match(/^msapplication-tile(image|color)$/)||ne(t.attributes.name)==="application-name"||ne(t.attributes.rel)==="icon"||ne(t.attributes.rel)==="apple-touch-icon"||ne(t.attributes.rel)==="shortcut icon")))return!0;if(t.tagName==="meta"){if(r.headMetaDescKeywords&&ne(t.attributes.name).match(/^description|keywords$/))return!0;if(r.headMetaSocial&&(ne(t.attributes.property).match(/^(og|twitter|fb):/)||ne(t.attributes.name).match(/^(og|twitter):/)||ne(t.attributes.name)==="pinterest"))return!0;if(r.headMetaRobots&&(ne(t.attributes.name)==="robots"||ne(t.attributes.name)==="googlebot"||ne(t.attributes.name)==="bingbot"))return!0;if(r.headMetaHttpEquiv&&t.attributes["http-equiv"]!==void 0)return!0;if(r.headMetaAuthorship&&(ne(t.attributes.name)==="author"||ne(t.attributes.name)==="generator"||ne(t.attributes.name)==="framework"||ne(t.attributes.name)==="publisher"||ne(t.attributes.name)==="progid"||ne(t.attributes.property).match(/^article:/)||ne(t.attributes.property).match(/^product:/)))return!0;if(r.headMetaVerification&&(ne(t.attributes.name)==="google-site-verification"||ne(t.attributes.name)==="yandex-verification"||ne(t.attributes.name)==="csrf-token"||ne(t.attributes.name)==="p:domain_verify"||ne(t.attributes.name)==="verify-v1"||ne(t.attributes.name)==="verification"||ne(t.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function Rr(t,r){var i=r.doc,e=r.mirror,n=r.blockClass,o=r.blockSelector,s=r.maskTextClass,a=r.maskTextSelector,u=r.skipChild,c=u===void 0?!1:u,f=r.inlineStylesheet,l=f===void 0?!0:f,h=r.maskInputOptions,g=h===void 0?{}:h,v=r.maskTextFn,m=r.maskInputFn,d=r.slimDOMOptions,y=r.dataURLOptions,_=y===void 0?{}:y,b=r.inlineImages,C=b===void 0?!1:b,S=r.recordCanvas,R=S===void 0?!1:S,T=r.onSerialize,O=r.onIframeLoad,F=r.iframeLoadTimeout,W=F===void 0?5e3:F,ge=r.onStylesheetLoad,N=r.stylesheetLoadTimeout,V=N===void 0?5e3:N,ve=r.keepIframeSrcFn,K=ve===void 0?function(){return!1}:ve,Ue=r.newlyAddedElement,Fe=Ue===void 0?!1:Ue,Oe=r.cssCaptured,fe=Oe===void 0?!1:Oe,xe=r.needsMask,Vt=r.preserveWhiteSpace,Je=Vt===void 0?!0:Vt;if(!xe){var jt=xe===void 0;xe=Hc(t,s,a,jt)}var Be=jg(t,{doc:i,mirror:e,blockClass:n,blockSelector:o,needsMask:xe,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:m,dataURLOptions:_,inlineImages:C,recordCanvas:R,keepIframeSrcFn:K,newlyAddedElement:Fe,cssCaptured:fe});if(!Be)return console.warn(t,"not serialized"),null;var Ct;
vendor: 4,091 bytes, line 7
7e.hasNode(t)?Ct=e.getId(t):Jg(Be,d)||!Je&&Be.type===Ie.Text&&!Be.textContent.replace(/^\s+|\s+$/gm,"").length?Ct=on:Ct=qc();var X=Object.assign(Be,{id:Ct});if(e.add(t,X),Ct===on)return null;T&&T(t);var _r=!c;if(X.type===Ie.Element){_r=_r&&!X.needBlock,delete X.needBlock;var wr=ke.shadowRoot(t);wr&&nn(wr)&&(X.isShadowHost=!0)}if((X.type===Ie.Document||X.type===Ie.Element)&&_r){d.headWhitespace&&X.type===Ie.Element&&X.tagName==="head"&&(Je=!1);var Et={doc:i,mirror:e,blockClass:n,blockSelector:o,needsMask:xe,maskTextClass:s,maskTextSelector:a,skipChild:c,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:m,slimDOMOptions:d,dataURLOptions:_,inlineImages:C,recordCanvas:R,preserveWhiteSpace:Je,onSerialize:T,onIframeLoad:O,iframeLoadTimeout:W,onStylesheetLoad:ge,stylesheetLoadTimeout:V,keepIframeSrcFn:K,cssCaptured:!1};if(!(X.type===Ie.Element&&X.tagName==="textarea"&&X.attributes.value!==void 0)){X.type===Ie.Element&&X.attributes._cssText!==void 0&&typeof X.attributes._cssText=="string"&&(Et.cssCaptured=!0);for(var Bn=x(Array.from(ke.childNodes(t))),br;!(br=Bn()).done;){var zn=br.value,qn=Rr(zn,Et);qn&&X.childNodes.push(qn)}}var Zr=null;if(Lc(t)&&(Zr=ke.shadowRoot(t)))for(var Ht=x(Array.from(ke.childNodes(Zr))),Yt;!(Yt=Ht()).done;){var Kt=Yt.value,Jt=Rr(Kt,Et);Jt&&(nn(Zr)&&(Jt.isShadow=!0),X.childNodes.push(Jt))}}var Xt=ke.parentNode(t);return Xt&&rn(Xt)&&nn(Xt)&&(X.isShadow=!0),X.type===Ie.Element&&X.tagName==="iframe"&&Gg(t,function(){var ft=t.contentDocument;if(ft&&O){var Sr=Rr(ft,{doc:ft,mirror:e,blockClass:n,blockSelector:o,needsMask:xe,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:m,slimDOMOptions:d,dataURLOptions:_,inlineImages:C,recordCanvas:R,preserveWhiteSpace:Je,onSerialize:T,onIframeLoad:O,iframeLoadTimeout:W,onStylesheetLoad:ge,stylesheetLoadTimeout:V,keepIframeSrcFn:K});Sr&&O(t,Sr)}},W),X.type===Ie.Element&&X.tagName==="link"&&typeof X.attributes.rel=="string"&&(X.attributes.rel==="stylesheet"||X.attributes.rel==="preload"&&typeof X.attributes.href=="string"&&zc(X.attributes.href)==="css")&&Vg(t,function(){if(ge){var ft=Rr(t,{doc:i,mirror:e,blockClass:n,blockSelector:o,needsMask:xe,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:m,slimDOMOptions:d,dataURLOptions:_,inlineImages:C,recordCanvas:R,preserveWhiteSpace:Je,onSerialize:T,onIframeLoad:O,iframeLoadTimeout:W,onStylesheetLoad:ge,stylesheetLoadTimeout:V,keepIframeSrcFn:K});ft&&ge(t,ft)}},V),X}function Xg(t,r){var i=r||{},e=i.mirror,n=e===void 0?new Uc:e,o=i.blockClass,s=o===void 0?"rr-block":o,a=i.blockSelector,u=a===void 0?null:a,c=i.maskTextClass,f=c===void 0?"rr-mask":c,l=i.maskTextSelector,h=l===void 0?null:l,g=i.inlineStylesheet,v=g===void 0?!0:g,m=i.inlineImages,d=m===void 0?!1:m,y=i.recordCanvas,_=y===void 0?!1:y,b=i.maskAllInputs,C=b===void 0?!1:b,S=i.maskTextFn,R=i.maskInputFn,T=i.slimDOM,O=T===void 0?!1:T,F=i.dataURLOptions,W=i.preserveWhiteSpace,ge=i.onSerialize,N=i.onIframeLoad,V=i.iframeLoadTimeout,ve=i.onStylesheetLoad,K=i.stylesheetLoadTimeout,Ue=i.keepIframeSrcFn,Fe=Ue===void 0?function(){return!1}:Ue,Oe=C===!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}:C===!1?{password:!0}:C,fe=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}:O===!1?{}:O;return Rr(t,{doc:t,mirror:n,blockClass:s,blockSelector:u,maskTextClass:f,maskTextSelector:h,skipChild:!1,inlineStylesheet:v,maskInputOptions:Oe,maskTextFn:S,maskInputFn:R,slimDOMOptions:fe,dataURLOptions:F,inlineImages:d,recordCanvas:_,preserveWhiteSpace:W,onSerialize:ge,onIframeLoad:N,iframeLoadTimeout:V,onStylesheetLoad:ve,stylesheetLoadTimeout:K,keepIframeSrcFn:Fe,newlyAddedElement:!1})}function Zg(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}
vendor: 13,677 bytes, lines 7-24
7function Qg(t){if(t.__esModule)return t;var r=t.default;if(typeof r=="function"){var i=function e(){return P(this,e)?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};i.prototype=r.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(i,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})}),i}var ls={exports:{}},se=String,Yc=function(){return{isColorSupported:!1,reset:se,bold:se,dim:se,italic:se,underline:se,inverse:se,hidden:se,strikethrough:se,black:se,red:se,green:se,yellow:se,blue:se,magenta:se,cyan:se,white:se,gray:se,bgBlack:se,bgRed:se,bgGreen:se,bgYellow:se,bgBlue:se,bgMagenta:se,bgCyan:se,bgWhite:se}};ls.exports=Yc(),ls.exports.createColors=Yc;var em=ls.exports,tm={},rm=Object.freeze(Object.defineProperty({__proto__:null,default:tm},Symbol.toStringTag,{value:"Module"})),ye=Qg(rm),Kc=em,Jc=ye,hs=(function(t){le(r,t);function r(e,n,o,s,a,u){var c;return c=t.call(this,e)||this,c.name="CssSyntaxError",c.reason=e,a&&(c.file=a),s&&(c.source=s),u&&(c.plugin=u),typeof n<"u"&&typeof o<"u"&&(typeof n=="number"?(c.line=n,c.column=o):(c.line=n.line,c.column=n.column,c.endLine=o.line,c.endColumn=o.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,r),c}var i=r.prototype;return i.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},i.showSourceCode=function(n){var o=this;if(!this.source)return"";var s=this.source;n==null&&(n=Kc.isColorSupported),Jc&&n&&(s=Jc(s));var a=s.split(/\r?\n/),u=Math.max(this.line-3,0),c=Math.min(this.line+2,a.length),f=String(c).length,l,h;if(n){var g=Kc.createColors(!0),v=g.bold,m=g.gray,d=g.red;l=function(y){return v(d(y))},h=function(y){return m(y)}}else l=h=function(y){return y};return a.slice(u,c).map(function(y,_){var b=u+1+_,C=" "+(" "+b).slice(-f)+" | ";if(b===o.line){var S=h(C.replace(/\d/g," "))+y.slice(0,o.column-1).replace(/[^\t]/g," ");return l(">")+h(C)+y+` 8 `+S+l("^")}return" "+h(C)+y}).join(` 9`)},i.toString=function(){var n=this.showSourceCode();return n&&(n=` 10 11`+n+` 12`),this.name+": "+this.message+n},r})(tn(Error)),ps=hs;hs.default=hs;var At={};At.isClean=Symbol("isClean"),At.my=Symbol("my");var Xc={after:` 13`,beforeClose:` 14`,beforeComment:` 15`,beforeDecl:` 16`,beforeOpen:" ",beforeRule:` 17`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function nm(t){return t[0].toUpperCase()+t.slice(1)}var ds=(function(){function t(i){this.builder=i}var r=t.prototype;return r.atrule=function(e,n){var o="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?o+=e.raws.afterName:s&&(o+=" "),e.nodes)this.block(e,o+s);else{var a=(e.raws.between||"")+(n?";":"");this.builder(o+s+a,e)}},r.beforeAfter=function(e,n){var o;e.type==="decl"?o=this.raw(e,null,"beforeDecl"):e.type==="comment"?o=this.raw(e,null,"beforeComment"):n==="before"?o=this.raw(e,null,"beforeRule"):o=this.raw(e,null,"beforeClose");for(var s=e.parent,a=0;s&&s.type!=="root";)a+=1,s=s.parent;if(o.includes(` 18`)){var u=this.raw(e,null,"indent");if(u.length)for(var c=0;c<a;c++)o+=u}return o},r.block=function(e,n){var o=this.raw(e,"between","beforeOpen");this.builder(n+o+"{",e,"start");var s;e.nodes&&e.nodes.length?(this.body(e),s=this.raw(e,"after")):s=this.raw(e,"after","emptyBody"),s&&this.builder(s),this.builder("}",e,"end")},r.body=function(e){for(var n=e.nodes.length-1;n>0&&e.nodes[n].type==="comment";)n-=1;for(var o=this.raw(e,"semicolon"),s=0;s<e.nodes.length;s++){var a=e.nodes[s],u=this.raw(a,"before");u&&this.builder(u),this.stringify(a,n!==s||o)}},r.comment=function(e){var n=this.raw(e,"left","commentLeft"),o=this.raw(e,"right","commentRight");this.builder("/*"+n+e.text+o+"*/",e)},r.decl=function(e,n){var o=this.raw(e,"between","colon"),s=e.prop+o+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),n&&(s+=";"),this.builder(s,e)},r.document=function(e){this.body(e)},r.raw=function(e,n,o){var s;if(o||(o=n),n&&(s=e.raws[n],typeof s<"u"))return s;var a=e.parent;if(o==="before"&&(!a||a.type==="root"&&a.first===e||a&&a.type==="document"))return"";if(!a)return Xc[o];var u=e.root();if(u.rawCache||(u.rawCache={}),typeof u.rawCache[o]<"u")return u.rawCache[o];if(o==="before"||o==="after")return this.beforeAfter(e,o);var c="raw"+nm(o);return this[c]?s=this[c](u,e):u.walk(function(f){if(s=f.raws[n],typeof s<"u")return!1}),typeof s>"u"&&(s=Xc[o]),u.rawCache[o]=s,s},r.rawBeforeClose=function(e){var n;return e.walk(function(o){if(o.nodes&&o.nodes.length>0&&typeof o.raws.after<"u")return n=o.raws.after,n.includes(` 19`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n},r.rawBeforeComment=function(e,n){var o;return e.walkComments(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 20`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(n,null,"beforeDecl"):o&&(o=o.replace(/\S/g,"")),o},r.rawBeforeDecl=function(e,n){var o;return e.walkDecls(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 21`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(n,null,"beforeRule"):o&&(o=o.replace(/\S/g,"")),o},r.rawBeforeOpen=function(e){var n;return e.walk(function(o){if(o.type!=="decl"&&(n=o.raws.between,typeof n<"u"))return!1}),n},r.rawBeforeRule=function(e){var n;return e.walk(function(o){if(o.nodes&&(o.parent!==e||e.first!==o)&&typeof o.raws.before<"u")return n=o.raws.before,n.includes(` 22`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n},r.rawColon=function(e){var n;return e.walkDecls(function(o){if(typeof o.raws.between<"u")return n=o.raws.between.replace(/[^\s:]/g,""),!1}),n},r.rawEmptyBody=function(e){var n;return e.walk(function(o){if(o.nodes&&o.nodes.length===0&&(n=o.raws.after,typeof n<"u"))return!1}),n},r.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var n;return e.walk(function(o){var s=o.parent;if(s&&s!==e&&s.parent&&s.parent===e&&typeof o.raws.before<"u"){var a=o.raws.before.split(` 23`);return n=a[a.length-1],n=n.replace(/\S/g,""),!1}}),n},r.rawSemicolon=function(e){var n;return e.walk(function(o){if(o.nodes&&o.nodes.length&&o.last.type==="decl"&&(n=o.raws.semicolon,typeof n<"u"))return!1}),n},r.rawValue=function(e,n){var o=e[n],s=e.raws[n];return s&&s.value===o?s.raw:o},r.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},r.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},r.stringify=function(e,n){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,n)},t})(),Zc=ds;ds.default=ds;var im=Zc;function vs(t,r){var i=new im(r);i.stringify(t)}var si=vs;vs.default=vs;var ai=At.isClean,om=At.my,sm=ps,am=Zc,um=si;function gs(t,r){var i=new t.constructor;for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&e!=="proxyCache"){var n=t[e],o=typeof n>"u"?"undefined":$(n);e==="parent"&&o==="object"?r&&(i[e]=r):e==="source"?i[e]=n:Array.isArray(n)?i[e]=n.map(function(s){return gs(s,i)}):(o==="object"&&n!==null&&(n=gs(n)),i[e]=n)}return i}var ms=(function(){function t(i){i===void 0&&(i={}),this.raws={},this[ai]=!1,this[om]=!0;for(var e in i)if(e==="nodes"){this.nodes=[];for(var n=x(i[e]),o;!(o=n()).done;){var s=o.value;typeof s.clone=="function"?this.append(s.clone()):this.append(s)}}else this[e]=i[e]}var r=t.prototype;return r.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var n=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+n.input.from+":"+n.start.line+":"+n.start.column+"$&")}return e},r.after=function(e){return this.parent.insertAfter(this,e),this},r.assign=function(e){e===void 0&&(e={});for(var n in e)this[n]=e[n];return this},r.before=function(e){return this.parent.insertBefore(this,e),this},r.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},r.clone=function(e){e===void 0&&(e={});var n=gs(this);for(var o in e)n[o]=e[o];return n},r.cloneAfter=function(e){e===void 0&&(e={});var n=this.clone(e);return this.parent.insertAfter(this,n),n},r.cloneBefore=function(e){e===void 0&&(e={});var n=this.clone(e);return this.parent.insertBefore(this,n),n},r.error=function(e,n){if(n===void 0&&(n={}),this.source){var o=this.rangeBy(n),s=o.end,a=o.start;return this.source.input.error(e,{column:a.column,line:a.line},{column:s.column,line:s.line},n)}return new sm(e)},r.getProxyProcessor=function(){return{get:function(n,o){return o==="proxyOf"?n:o==="root"?function(){return n.root().toProxy()}:n[o]},set:function(n,o,s){return n[o]===s||(n[o]=s,(o==="prop"||o==="value"||o==="name"||o==="params"||o==="important"||o==="text")&&n.markDirty()),!0}}},r.markDirty=function(){if(this[ai]){this[ai]=!1;for(var e=this;e=e.parent;)e[ai]=!1}},r.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},r.positionBy=function(e,n){var o=this.source.start;if(e.index)o=this.positionInside(e.index,n);else if(e.word){n=this.toString();var s=n.indexOf(e.word);s!==-1&&(o=this.positionInside(s,n))}return o},r.positionInside=function(e,n){for(var o=n||this.toString(),s=this.source.start.column,a=this.source.start.line,u=0;u<e;u++)o[u]===` 24`?(s=1,a+=1):s+=1;return{column:s,line:a}},r.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},r.rangeBy=function(e){var n={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:n.column+1,line:n.line};if(e.word){var s=this.toString(),a=s.indexOf(e.word);a!==-1&&(n=this.positionInside(a,s),o=this.positionInside(a+e.word.length,s))}else e.start?n={column:e.start.column,line:e.start.line}:e.index&&(n=this.positionInside(e.index)),e.end?o={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?o=this.positionInside(e.endIndex):e.index&&(o=this.positionInside(e.index+1));return(o.line<n.line||o.line===n.line&&o.column<=n.column)&&(o={column:n.column+1,line:n.line}),{end:o,start:n}},r.raw=function(e,n){var o=new am;return o.raw(this,e,n)},r.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},r.replaceWith=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];if(this.parent){for(var s=this,a=!1,u=x(n),c;!(c=u()).done;){var f=c.value;f===this?a=!0:a?(this.parent.insertAfter(s,f),s=f):this.parent.insertBefore(s,f)}a||this.remove()}return this},r.root=function(){for(var e=this;e.parent&&e.parent.type!=="document";)e=e.parent;return e},r.toJSON=function(e,n){var o={},s=n==null;n=n||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(l){return(typeof l>"u"?"undefined":$(l))==="object"&&l.toJSON?l.toJSON(null,n):l});else if((typeof c>"u"?"undefined":$(c))==="object"&&c.toJSON)o[u]=c.toJSON(null,n);else if(u==="source"){var f=n.get(c.input);f==null&&(f=a,n.set(c.input,a),a++),o[u]={end:c.end,inputId:f,start:c.start}}else o[u]=c}return s&&(o.inputs=[].concat(n.keys()).map(function(l){return l.toJSON()})),o},r.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},r.toString=function(e){e===void 0&&(e=um),e.stringify&&(e=e.stringify);var n="";return e(this,function(o){n+=o}),n},r.warn=function(e,n,o){var s={node:this};for(var a in o)s[a]=o[a];return e.warn(n,s)},oe(t,[{key:"proxyOf",get:function(){return this}}]),t})(),ui=ms;ms.default=ms;var cm=ui,ys=(function(t){le(r,t);function r(i){var e;return i&&typeof i.value<"u"&&typeof i.value!="string"&&(i=q({},i,{value:String(i.value)})),e=t.call(this,i)||this,e.type="decl",e}return oe(r,[{key:"variable",get:function(){return this.prop.startsWith("--")||this.prop[0]==="$"}}]),r})(cm),ci=ys;ys.default=ys;var fm="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",lm=function(t){t===void 0&&(t=21);for(var r="",i=t;i--;)r+=fm[Math.random()*64|0];return r},hm={nanoid:lm},Qc=ye.SourceMapConsumer,ef=ye.SourceMapGenerator,pm=ye.existsSync,dm=ye.readFileSync,_s=ye.dirname,vm=ye.join;function gm(t){return E?E.from(t,"base64").toString():window.atob(t)}var ws=(function(){function t(i,e){if(e.map!==!1){this.loadAnnotation(i),this.inline=this.startWith(this.annotation,"data:");var n=e.map?e.map.prev:void 0,o=this.loadMap(e.from,n);!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=_s(this.mapFile)),o&&(this.text=o)}}var r=t.prototype;return r.consumer=function(){return this.consumerCache||(this.consumerCache=new Qc(this.text)),this.consumerCache},r.decodeInline=function(e){var n=/^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(e)||a.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(n.test(e)||o.test(e))return gm(e.substr(RegExp.lastMatch.length));var u=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+u)},r.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},r.isMap=function(e){return(typeof e>"u"?"undefined":$(e))!=="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)},r.loadAnnotation=function(e){var n=e.match(/\/\*\s*# sourceMappingURL=/gm);
vendor: 1,188 bytes, line 24
24if(n){var o=e.lastIndexOf(n.pop()),s=e.indexOf("*/",o);o>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(o,s)))}},r.loadFile=function(e){if(this.root=_s(e),pm(e))return this.mapFile=e,dm(e,"utf-8").toString().trim()},r.loadMap=function(e,n){if(n===!1)return!1;if(n){if(typeof n=="string")return n;if(typeof n=="function"){var o=n(e);if(o){var s=this.loadFile(o);if(!s)throw new Error("Unable to load previous source map: "+o.toString());return s}}else{if(P(n,Qc))return ef.fromSourceMap(n).toString();if(P(n,ef))return n.toString();if(this.isMap(n))return JSON.stringify(n);throw new Error("Unsupported previous source map format: "+n.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var a=this.annotation;return e&&(a=vm(_s(e),a)),this.loadFile(a)}}},r.startWith=function(e,n){return e?e.substr(0,n.length)===n:!1},r.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},t})(),tf=ws;ws.default=ws;var mm=ye.SourceMapConsumer,ym=ye.SourceMapGenerator,rf=ye.fileURLToPath,fi=ye.pathToFileURL,bs=ye.isAbsolute,Ss=ye.resolve,_m=hm.nanoid,Cs=ye,nf=ps,wm=tf,Es=Symbol("fromOffsetCac
24he"),bm=!!(mm&&ym),of=!!(Ss&&bs),li=(function(){function t(i,e){if(e===void 0&&(e={}),i===null||typeof i>"u"||(typeof i>"u"?"undefined":$(i))==="object"&&!i.toString)throw new Error("PostCSS received "+i+" instead of CSS string");if(this.css=i.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,e.from&&(!of||/^\w+:\/\//.test(e.from)||bs(e.from)?this.file=e.from:this.file=Ss(e.from)),of&&bm){var n=new wm(this.css,e);if(n.text){this.map=n;var o=n.consumer().file;!this.file&&o&&(this.file=this.mapResolve(o))}}this.file||(this.id="<input css "+_m(6)+">"),this.map&&(this.map.file=this.from)}var r=t.prototype;return r.error=function(e,n,o,s){s===void 0&&(s={});var a,u,c;if(n&&(typeof n>"u"?"undefined":$(n))==="object"){var f=n,l=o;if(typeof f.offset=="number"){var h=this.fromOffset(f.offset);n=h.line,o=h.col}else n=f.line,o=f.column;if(typeof l.offset=="number"){var g=this.fromOffset(l.offset);u=g.line,c=g.col}else u=l.line,c=l.column}else if(!o){var v=this.fromOffset(n);n=v.line,o=v.col}var m=this.origin(n,o,u,c);return m?a=new nf(e,m.endLine===void 0?m.line:{column:m.column,line:m.line},m.endLine===void 0?m.column:{column:m.endColumn,line:m.endLine},m.source,m.file,s.plugin):a=new nf(e,u===void 0?n:{column:o,line:n},u===void 0?o:{column:c,line:u},this.css,this.file,s.plugin),a.input={column:o,endColumn:c,endLine:u,line:n,source:this.css},this.file&&(fi&&(a.input.url=fi(this.file).toString()),a.input.file=this.file),a},r.fromOffset=function(e){var n,o;if(this[Es])o=this[Es];else{var s=this.css.split(` 25`);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[Es]=o}n=o[o.length-1];var f=0;if(e>=n)f=o.length-1;else for(var l=o.length-2,h;f<l;)if(h=f+(l-f>>1),e<o[h])l=h-1;else if(e>=o[h+1])f=h+1;else{f=h;break}return{col:e-o[f]+1,line:f+1}},r.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:Ss(this.map.consumer().sourceRoot||this.map.root||".",e)},r.origin=function(e,n,o,s){if(!this.map)return!1;var a=this.map.consumer(),u=a.originalPositionFor({column:n,line:e});if(!u.source)return!1;var c;typeof o=="number"&&(c=a.originalPositionFor({column:s,line:o}));var f;bs(u.source)?f=fi(u.source):f=new URL(u.source,this.map.consumer().sourceRoot||fi(this.map.mapFile));var l={column:u.column,endColumn:c&&c.column,endLine:c&&c.line,line:u.line,url:f.toString()};if(f.protocol==="file:")if(rf)l.file=rf(f);else throw new Error("file: protocol is not available in this PostCSS build");var h=a.sourceContentFor(u.source);return h&&(l.source=h),l},r.toJSON=function(){for(var e={},n=0,o=["hasBOM","css","file","id"];n<o.length;n++){var s=o[n];this[s]!=null&&(e[s]=this[s])}return this.map&&(e.map=q({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},oe(t,[{key:"from",get:function(){return this.file||this.id}}]),t})(),hi=li;li.default=li,Cs&&Cs.registerInput&&Cs.registerInput(li);var sf=ye.SourceMapConsumer,pi=ye.SourceMapGenerator,di=ye.dirname,af=ye.relative,uf=ye.resolve,cf=ye.sep,ff=ye.pathToFileURL,Sm=hi,Cm=!!(sf&&pi),Em=!!(di&&uf&&af&&cf),Im=(function(){function t(i,e,n,o){this.stringify=i,this.mapOpts=n.map||{},this.root=e,this.opts=n,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 r=t.prototype;return r.addAnnotation=function(){var e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";var n=` 26`;this.css.includes(`\r 27`)&&(n=`\r 28`),this.css+=n+"/*# sourceMappingURL="+e+" */"},r.applyPrevMaps=function(){for(var e=x(this.previous()),n;!(n=e()).done;){var o=n.value,s=this.toUrl(this.path(o.file)),a=o.root||di(o.file),u=void 0;this.mapOpts.sourcesContent===!1?(u=new sf(o.text),u.sourcesContent&&(u.sourcesContent=null)):u=o.consumer(),this.map.applySourceMap(u,s,this.toUrl(this.path(a)))}},r.clearAnnotation=function(){if(this.mapOpts.annotation!==!1)if(this.root)for(var e,n=this.root.nodes.length-1;n>=0;n--)e=this.root.nodes[n],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(n);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},r.generate=function(){if(this.clearAnnotation(),Em&&Cm&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(n){e+=n}),[e]},r.generateMap=function(){if(this.root)this.generateString();else if(this.previous().length===1){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=pi.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new pi({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]},r.generateString=function(){var e=this;this.css="",this.map=new pi({file:this.outputFile(),ignoreInvalidMapping:!0});var n=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(f,l,h){if(e.css+=f,l&&h!=="end"&&(a.generated.line=n,a.generated.column=o-1,l.source&&l.source.start?(a.source=e.sourcePath(l),a.original.line=l.source.start.line,a.original.column=l.source.start.column-1,e.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,e.map.addMapping(a))),u=f.match(/\n/g),u?(n+=u.length,c=f.lastIndexOf(` 29`),o=f.length-c):o+=f.length,l&&h!=="start"){var g=l.parent||{raws:{}},v=l.type==="decl"||l.type==="atrule"&&!l.nodes;(!v||l!==g.last||g.raws.semicolon)&&(l.source&&l.source.end?(a.source=e.sourcePath(l),a.original.line=l.source.end.line,a.original.column=l.source.end.column-1,a.generated.line=n,a.generated.column=o-2,e.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=o-1,e.map.addMapping(a)))}})},r.isAnnotation=function(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(function(e){return e.annotation}):!0},r.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(function(n){return n.inline}):!0},r.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},r.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(function(e){return e.withContent()}):!0},r.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},r.path=function(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;var n=this.memoizedPaths.get(e);if(n)return n;var o=this.opts.to?di(this.opts.to):".";
vendor: 4,104 bytes, line 29
29typeof this.mapOpts.annotation=="string"&&(o=di(uf(o,this.mapOpts.annotation)));var s=af(o,e);return this.memoizedPaths.set(e,s),s},r.previous=function(){var e=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;e.previousMaps.includes(s)||e.previousMaps.push(s)}});else{var n=new Sm(this.originalCSS,this.opts);n.map&&this.previousMaps.push(n.map)}return this.previousMaps},r.setSourcesContent=function(){var e=this,n={};if(this.root)this.root.walk(function(s){if(s.source){var a=s.source.input.from;if(a&&!n[a]){n[a]=!0;var u=e.usesFileUrls?e.toFileUrl(a):e.toUrl(e.path(a));e.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)}},r.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},r.toBase64=function(e){return E?E.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},r.toFileUrl=function(e){var n=this.memoizedFileURLs.get(e);if(n)return n;if(ff){var o=ff(e).toString();return this.memoizedFileURLs.set(e,o),o}else throw new Error("`map.absolute` option is not available in this PostCSS build")},r.toUrl=function(e){var n=this.memoizedURLs.get(e);if(n)return n;cf==="\\"&&(e=e.replace(/\\/g,"/"));var o=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,o),o},t})(),lf=Im,xm=ui,Is=(function(t){le(r,t);function r(i){var e;return e=t.call(this,i)||this,e.type="comment",e}return r})(xm),vi=Is;Is.default=Is;var hf=At.isClean,pf=At.my,df=ci,vf=vi,Rm=ui,gf,xs,Rs,mf;function yf(t){return t.map(function(r){return r.nodes&&(r.nodes=yf(r.nodes)),delete r.source,r})}function _f(t){if(t[hf]=!1,t.proxyOf.nodes)for(var r=x(t.proxyOf.nodes),i;!(i=r()).done;){var e=i.value;_f(e)}}var dt=(function(t){le(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.append=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];for(var a=x(o),u;!(u=a()).done;)for(var c=u.value,f=this.normalize(c,this.last),l=x(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.push(g)}return this.markDirty(),this},i.cleanRaws=function(n){if(t.prototype.cleanRaws.call(this,n),this.nodes)for(var o=x(this.nodes),s;!(s=o()).done;){var a=s.value;a.cleanRaws(n)}},i.each=function(n){if(this.proxyOf.nodes){for(var o=this.getIterator(),s,a;this.indexes[o]<this.proxyOf.nodes.length&&(s=this.indexes[o],a=n(this.proxyOf.nodes[s],s),a!==!1);)this.indexes[o]+=1;return delete this.indexes[o],a}},i.every=function(n){return this.nodes.every(n)},i.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var n=this.lastEach;return this.indexes[n]=0,n},i.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 f;return(f=o)[s].apply(f,[].concat(u.map(function(l){return typeof l=="function"?function(h,g){return l(h.toProxy(),g)}:l})))}:s==="every"||s==="some"?function(a){return o[s](function(u){for(var c=arguments.length,f=new Array(c>1?c-1:0),l=1;l<c;l++)f[l-1]=arguments[l];return a.apply(void 0,[].concat([u.toProxy()],f))})}: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}}},i.index=function(n){return typeof n=="number"?n:(n.proxyOf&&(n=n.proxyOf),this.proxyOf.nodes.indexOf(n))},i.insertAfter=function(n,o){var s=this.index(n),a=this.normalize(o,this.proxyOf.nodes[s]).reverse();s=this.index(n);for(var u=x(a),c;!(c=u()).done;){var f=c.value;this.proxyOf.nodes.splice(s+1,0,f)}var l;for(var h in this.indexes)l=this.indexes[h],s<l&&(this.indexes[h
vendor: 5,236 bytes, line 29
29]=l+a.length);return this.markDirty(),this},i.insertBefore=function(n,o){var s=this.index(n),a=s===0?"prepend":!1,u=this.normalize(o,this.proxyOf.nodes[s],a).reverse();s=this.index(n);for(var c=x(u),f;!(f=c()).done;){var l=f.value;this.proxyOf.nodes.splice(s,0,l)}var h;for(var g in this.indexes)h=this.indexes[g],s<=h&&(this.indexes[g]=h+u.length);return this.markDirty(),this},i.normalize=function(n,o){var s=this;if(typeof n=="string")n=yf(gf(n).nodes);else if(typeof n>"u")n=[];else if(Array.isArray(n)){n=n.slice(0);for(var a=x(n),u;!(u=a()).done;){var c=u.value;c.parent&&c.parent.removeChild(c,"ignore")}}else if(n.type==="root"&&this.type!=="document"){n=n.nodes.slice(0);for(var f=x(n),l;!(l=f()).done;){var h=l.value;h.parent&&h.parent.removeChild(h,"ignore")}}else if(n.type)n=[n];else if(n.prop){if(typeof n.value>"u")throw new Error("Value field is missed in node creation");typeof n.value!="string"&&(n.value=String(n.value)),n=[new df(n)]}else if(n.selector)n=[new xs(n)];else if(n.name)n=[new Rs(n)];else if(n.text)n=[new vf(n)];else throw new Error("Unknown node type in node creation");var g=n.map(function(v){return v[pf]||r.rebuild(v),v=v.proxyOf,v.parent&&v.parent.removeChild(v),v[hf]&&_f(v),typeof v.raws.before>"u"&&o&&typeof o.raws.before<"u"&&(v.raws.before=o.raws.before.replace(/\S/g,"")),v.parent=s.proxyOf,v});return g},i.prepend=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];o=o.reverse();for(var a=x(o),u;!(u=a()).done;){for(var c=u.value,f=this.normalize(c,this.first,"prepend").reverse(),l=x(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.unshift(g)}for(var v in this.indexes)this.indexes[v]=this.indexes[v]+f.length}return this.markDirty(),this},i.push=function(n){return n.parent=this,this.proxyOf.nodes.push(n),this},i.removeAll=function(){for(var n=x(this.proxyOf.nodes),o;!(o=n()).done;){var s=o.value;s.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},i.removeChild=function(n){n=this.index(n),this.proxyOf.nodes[n].parent=void 0,this.proxyOf.nodes.splice(n,1);var o;for(var s in this.indexes)o=this.indexes[s],o>=n&&(this.indexes[s]=o-1);return this.markDirty(),this},i.replaceValues=function(n,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(n,s))}),this.markDirty(),this},i.some=function(n){return this.nodes.some(n)},i.walk=function(n){return this.each(function(o,s){var a;try{a=n(o,s)}catch(u){throw o.addToError(u)}return a!==!1&&o.walk&&(a=o.walk(n)),a})},i.walkAtRules=function(n,o){return o?P(n,RegExp)?this.walk(function(s,a){if(s.type==="atrule"&&n.test(s.name))return o(s,a)}):this.walk(function(s,a){if(s.type==="atrule"&&s.name===n)return o(s,a)}):(o=n,this.walk(function(s,a){if(s.type==="atrule")return o(s,a)}))},i.walkComments=function(n){return this.walk(function(o,s){if(o.type==="comment")return n(o,s)})},i.walkDecls=function(n,o){return o?P(n,RegExp)?this.walk(function(s,a){if(s.type==="decl"&&n.test(s.prop))return o(s,a)}):this.walk(function(s,a){if(s.type==="decl"&&s.prop===n)return o(s,a)}):(o=n,this.walk(function(s,a){if(s.type==="decl")return o(s,a)}))},i.walkRules=function(n,o){return o?P(n,RegExp)?this.walk(function(s,a){if(s.type==="rule"&&n.test(s.selector))return o(s,a)}):this.walk(function(s,a){if(s.type==="rule"&&s.selector===n)return o(s,a)}):(o=n,this.walk(function(s,a){if(s.type==="rule")return o(s,a)}))},oe(r,[{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]}}]),r})(Rm);dt.registerParse=function(t){gf=t},dt.registerRule=function(t){xs=t},dt.registerAtRule=function(t){Rs=t},dt.registerRoot=function(t){mf=t};var ur=dt;dt.default=dt,dt.rebuild=function(t){t.type==="atrule"?Object.setPrototypeOf(t,Rs.prototype):t.type==="rule"?Object.setPrototypeOf(t,xs.prototype):t.type==="decl"?Object.setPrototypeOf(t,df.prototype):t.type==="comment"?Object.setPrototypeOf(t,vf.prototype):t.type==="root"&&Object.setPrototypeOf(t,mf.prototype),t[pf]=!0,t.nodes&&t.nodes.forEach(function(r){dt.rebuild(r)})};var Am=ur,wf,bf,sn=(function(t){le(r,t);function r(e){var n;return n=t.call(this,q({type:"document"},e))||this,n.nodes||(n.nodes=[]),n}var i=r.prototype;return i.toResult=function(n){n===void 0&&(n={});var o=new wf(new bf,this,n);return o.stringify()},r})(Am);sn.registerLazyResult=function(t){wf=t},sn.registerProcessor=function(t){bf=t};var As=sn;sn.default=sn;var Os=(function(){function t(i,e){if(e===void 0&&(e={}),this.type="warning",this.text=i,e.node&&e.node.source){var n=e.node.rangeBy(e);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(var o in e)this[o]=e[o]}var r=t.prototype;return r.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},t})(),Sf=Os;Os.default=Os;var Om=Sf,ks=(function(){function t(i,e,n){this.processor=i,this.messages=[],this.root=e,this.opts=n,this.css=void 0,this.map=void 0}var r=t.prototype;return r.toString=function(){return this.css}
vendor: 10,320 bytes, lines 29-30
29,r.warn=function(e,n){n===void 0&&(n={}),n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);var o=new Om(e,n);return this.messages.push(o),o},r.warnings=function(){return this.messages.filter(function(e){return e.type==="warning"})},oe(t,[{key:"content",get:function(){return this.css}}]),t})(),Ts=ks;ks.default=ks;var Ms=39,Cf=34,gi=92,Ef=47,mi=10,an=32,yi=12,_i=9,wi=13,km=91,Tm=93,Mm=40,Pm=41,$m=123,Fm=125,Nm=59,Lm=42,Dm=58,Um=64,bi=/[\t\n\f\r "#'()/;[\\\]{}]/g,Si=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Bm=/.[\r\n"'(/\\]/,If=/[\da-f]/i,zm=function(r,i){i===void 0&&(i={});var e=r.css.valueOf(),n=i.ignoreErrors,o,s,a,u,c,f,l,h,g,v,m=e.length,d=0,y=[],_=[];function b(){return d}function C(O){throw r.error("Unclosed "+O,d)}function S(){return _.length===0&&d>=m}function R(O){if(_.length)return _.pop();if(!(d>=m)){var F=O?O.ignoreUnclosed:!1;switch(o=e.charCodeAt(d),o){case mi:case an:case _i:case wi:case yi:{s=d;do s+=1,o=e.charCodeAt(s);while(o===an||o===mi||o===_i||o===wi||o===yi);v=["space",e.slice(d,s)],d=s-1;break}case km:case Tm:case $m:case Fm:case Dm:case Nm:case Pm:{var W=String.fromCharCode(o);v=[W,W,d];break}case Mm:{if(h=y.length?y.pop()[1]:"",g=e.charCodeAt(d+1),h==="url"&&g!==Ms&&g!==Cf&&g!==an&&g!==mi&&g!==_i&&g!==yi&&g!==wi){s=d;do{if(f=!1,s=e.indexOf(")",s+1),s===-1)if(n||F){s=d;break}else C("bracket");for(l=s;e.charCodeAt(l-1)===gi;)l-=1,f=!f}while(f);v=["brackets",e.slice(d,s+1),d,s],d=s}else s=e.indexOf(")",d+1),u=e.slice(d,s+1),s===-1||Bm.test(u)?v=["(","(",d]:(v=["brackets",u,d,s],d=s);break}case Ms:case Cf:{a=o===Ms?"'":'"',s=d;do{if(f=!1,s=e.indexOf(a,s+1),s===-1)if(n||F){s=d+1;break}else C("string");for(l=s;e.charCodeAt(l-1)===gi;)l-=1,f=!f}while(f);v=["string",e.slice(d,s+1),d,s],d=s;break}case Um:{bi.lastIndex=d+1,bi.test(e),bi.lastIndex===0?s=e.length-1:s=bi.lastIndex-2,v=["at-word",e.slice(d,s+1),d,s],d=s;break}case gi:{for(s=d,c=!0;e.charCodeAt(s+1)===gi;)s+=1,c=!c;if(o=e.charCodeAt(s+1),c&&o!==Ef&&o!==an&&o!==mi&&o!==_i&&o!==wi&&o!==yi&&(s+=1,If.test(e.charAt(s)))){for(;If.test(e.charAt(s+1));)s+=1;e.charCodeAt(s+1)===an&&(s+=1)}v=["word",e.slice(d,s+1),d,s],d=s;break}default:{o===Ef&&e.charCodeAt(d+1)===Lm?(s=e.indexOf("*/",d+2)+1,s===0&&(n||F?s=e.length:C("comment")),v=["comment",e.slice(d,s+1),d,s],d=s):(Si.lastIndex=d+1,Si.test(e),Si.lastIndex===0?s=e.length-1:s=Si.lastIndex-2,v=["word",e.slice(d,s+1),d,s],y.push(v),d=s);break}}return d++,v}}function T(O){_.push(O)}return{back:T,endOfFile:S,nextToken:R,position:b}},xf=ur,Ci=(function(t){le(r,t);function r(e){var n;return n=t.call(this,e)||this,n.type="atrule",n}var i=r.prototype;return i.append=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.append).call.apply(a,[].concat([this],o))},i.prepend=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.prepend).call.apply(a,[].concat([this],o))},r})(xf),Ps=Ci;Ci.default=Ci,xf.registerAtRule(Ci);var Rf=ur,Af,Of,Ar=(function(t){le(r,t);function r(e){var n;return n=t.call(this,e)||this,n.type="root",n.nodes||(n.nodes=[]),n}var i=r.prototype;return i.normalize=function(n,o,s){var a=t.prototype.normalize.call(this,n);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=x(a),c;!(c=u()).done;){var f=c.value;f.raws.before=o.raws.before}}return a},i.removeChild=function(n,o){var s=this.index(n);return!o&&s===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),t.prototype.removeChild.call(this,n)},i.toResult=function(n){n===void 0&&(n={});var o=new Af(new Of,this,n);return o.stringify()},r})(Rf);Ar.registerLazyResult=function(t){Af=t},Ar.registerProcessor=function(t){Of=t};var un=Ar;Ar.default=Ar,Rf.registerRoot(Ar);var cn={comma:function(r){return cn.split(r,[","],!0)},space:function(r){var i=[" ",` 30`," "];return cn.split(r,i)},split:function(r,i,e){for(var n=[],o="",s=!1,a=0,u=!1,c="",f=!1,l=x(r),h;!(h=l()).done;){var g=h.value;f?f=!1:g==="\\"?f=!0:u?g===c&&(u=!1):g==='"'||g==="'"?(u=!0,c=g):g==="("?a+=1:g===")"?a>0&&(a-=1):a===0&&i.includes(g)&&(s=!0),s?(o!==""&&n.push(o.trim()),o="",s=!1):o+=g}return(e||o!=="")&&n.push(o.trim()),n}},kf=cn;cn.default=cn;var Tf=ur,qm=kf,Ei=(function(t){le(r,t);function r(i){var e;return e=t.call(this,i)||this,e.type="rule",e.nodes||(e.nodes=[]),e}return oe(r,[{key:"selectors",get:function(){return qm.comma(this.selector)},set:function(e){var n=this.selector?this.selector.match(/,\s*/):null,o=n?n[0]:","+this.raw("between","beforeOpen");this.selector=e.join(o)}}]),r})(Tf),$s=Ei;Ei.default=Ei,Tf.registerRule(Ei);var Wm=ci,Gm=zm,Vm=vi,jm=Ps,Hm=un,Mf=$s,Pf={empty:!0,space:!0};function Ym(t){for(var r=t.length-1;r>=0;r--){var i=t[r],e=i[3]||i[2];if(e)return e}}var Km=(function(){function t(i){this.input=i,this.root=new Hm,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:i,start:{column:1,line:1,offset:0}}}var r=t.prototype;return r.atrule=function(e){var n=new jm;n.name=e[1].slice(1),n.name===""&&this.unnamedAtrule(n,e),this.init(n,e[2]);for(var o,s,a,u=!1,c=!1,f=[],l=[];!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),o=e[0],o==="("||o==="["?l.push(o==="("?")":"]"):o==="{"&&l.length>0?l.push("}"):o===l[l.length-1]&&l.pop(),l.length===0)if(o===";"){n.source.end=this.getPosition(e[2]),n.source.end.offset++,this.semicolon=!0;break}else if(o==="{"){c=!0;break}else if(o==="}"){if(f.length>0){for(a=f.length-1,s=f[a];s&&s[0]==="space";)s=f[--a];s&&(n.source.end=this.getPosition(s[3]||s[2]),n.source.end.offset++)}this.end(e);break}else f.push(e);else f.push(e);if(this.tokenizer.endOfFile()){u=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(n.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(n,"params",f),u&&(e=f[f.length-1],n.source.end=this.getPosition(e[3]||e[2]),n.source.end.offset++,this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),c&&(n.nodes=[],this.current=n)},r.checkMissedSemicolon=function(e){var n=this.colon(e);if(n!==!1){for(var o=0,s,a=n-1;a>=0&&(s=e[a],!(s[0]!=="space"&&(o+=1,o===2)));a--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}},r.colon=function(e){for(var n=0,o,s,a,u=x(e.entries()),c;!(c=u()).done;){var f=c.value,l=f[0],h=f[1];if(o=h,s=o[0],s==="("&&(n+=1),s===")"&&(n-=1),n===0&&s===":")if(!a)this.doubleColon(o);else{if(a[0]==="word"&&a[1]==="progid")continue;return l}a=o}return!1},r.comment=function(e){var n=new Vm;this.init(n,e[2]),n.source.end=this.getPosition(e[3]||e[2]),n.source.end.offset++;var o=e[1].slice(2,-2);if(/^\s*$/.test(o))n.text="",n.raws.left=o,n.raws.right="";else{var s=o.match(/^(\s*)([^]*\S)(\s*)$/);n.text=s[2],n.raws.left=s[1],n.raws.right=s[3]}},r.createTokenizer=function(){this.tokenizer=Gm(this.input)},r.decl=function(e,n){var o=new Wm;this.init(o,e[0][2]);var s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),o.source.end=this.getPosition(s[3]||s[2]||Ym(e)),o.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),o.raws.before+=e.shift()[1];for(o.source.start=this.getPosition(e[0][2]),o.prop="";e.length;){var a=e[0][0];if(a===":"||a==="space"||a==="comment")break;o.prop+=e.shift()[1]}o.raws.between="";for(var u;e.length;)if(u=e.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=[],f;e.length&&(f=e[0][0],!(f!=="space"&&f!=="comment"));)c.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if(u=e[l],u[1].toLowerCase()==="!important"){o.important=!0;var h=this.stringFrom(e,l);h=this.spacesFromEnd(e)+h,h!==" !important"&&(o.raws.important=h);break}else if(u[1].toLowerCase()==="important"){for(var g=e.slice(0),v="",m=l;m>0;m--){var d=g[m][0];if(v.trim().indexOf("!")===0&&d!=="space")break;v=g.pop()[1]+v}v.trim().indexOf("!")===0&&(o.important=!0,o.raws.important=v,e=g)}if(u[0]!=="space"&&u[0]!=="comment")break}var y=e.some(function(_){return _[0]!=="space"&&_[0]!=="comment"});y&&(o.raws.between+=c.map(function(_){return _[1]}).join(""),c=[]),this.raw(o,"value",c.concat(e),n),o.value.includes(":")&&!n&&this.checkMissedSemicolon(e)},r.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},r.emptyRule=function(e){var n=new Mf;this.init(n,e[2]),n.selector="",n.raws.between="",this.current=n},r.end=function(e){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(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},r.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())},r.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var n=this.current.nodes[this.current.nodes.length-1];n&&n.type==="rule"&&!n.raws.ownSemicolon&&(n.raws.ownSemicolon=this.spaces,this.spaces="")}},r.getPosition=function(e){var n=this.input.fromOffset(e);return{column:n.col,line:n.line,offset:e}},r.init=function(e,n){this.current.push(e),e.source={input:this.input,start:this.getPosition(n)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)},r.other=function(e){for(var n=!1,o=null,s=!1,a=null,u=[],c=e[1].startsWith("--"),f=[],l=e;l;){if(o=l[0],f.push(l),o==="("||o==="[")a||(a=l),u.push(o==="("?")":"]");else if(c&&s&&o==="{")a||(a=l),u.push("}");else if(u.length===0)if(o===";")if(s){this.decl(f,c);return}else break;else if(o==="{"){this.rule(f);return}else if(o==="}"){this.tokenizer.back(f.pop()),n=!0;break}else o===":"&&(s=!0);else o===u[u.length-1]&&(u.pop(),u.length===0&&(a=null));l=this.tokenizer.nextToken()}
vendor: 29,112 bytes, lines 30-49
30if(this.tokenizer.endOfFile()&&(n=!0),u.length>0&&this.unclosedBracket(a),n&&s){if(!c)for(;f.length&&(l=f[f.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,c)}else this.unknownWord(f)},r.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()},r.precheckMissedSemicolon=function(){},r.raw=function(e,n,o,s){for(var a,u,c=o.length,f="",l=!0,h,g,v=0;v<c;v+=1)a=o[v],u=a[0],u==="space"&&v===c-1&&!s?l=!1:u==="comment"?(g=o[v-1]?o[v-1][0]:"empty",h=o[v+1]?o[v+1][0]:"empty",!Pf[g]&&!Pf[h]?f.slice(-1)===","?l=!1:f+=a[1]:l=!1):f+=a[1];if(!l){var m=o.reduce(function(d,y){return d+y[1]},"");e.raws[n]={raw:m,value:f}}e[n]=f},r.rule=function(e){e.pop();var n=new Mf;this.init(n,e[0][2]),n.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(n,"selector",e),this.current=n},r.spacesAndCommentsFromEnd=function(e){for(var n,o="";e.length&&(n=e[e.length-1][0],!(n!=="space"&&n!=="comment"));)o=e.pop()[1]+o;return o},r.spacesAndCommentsFromStart=function(e){for(var n,o="";e.length&&(n=e[0][0],!(n!=="space"&&n!=="comment"));)o+=e.shift()[1];return o},r.spacesFromEnd=function(e){for(var n,o="";e.length&&(n=e[e.length-1][0],n==="space");)o=e.pop()[1]+o;return o},r.stringFrom=function(e,n){for(var o="",s=n;s<e.length;s++)o+=e[s][1];return e.splice(n,e.length-n),o},r.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},r.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},r.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},r.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},r.unnamedAtrule=function(e,n){throw this.input.error("At-rule without name",{offset:n[2]},{offset:n[2]+n[1].length})},t})(),Jm=Km,Xm=ur,Zm=Jm,Qm=hi;function Ii(t,r){var i=new Qm(t,r),e=new Zm(i);try{e.parse()}catch(n){throw n}return e.root}var Fs=Ii;Ii.default=Ii,Xm.registerParse(Ii);var Qe=At.isClean,ey=At.my,ty=lf,ry=si,ny=ur,iy=As,$f=Ts,oy=Fs,sy=un,ay={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},uy={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},cy={Once:!0,postcssPlugin:!0,prepare:!0},Or=0;function fn(t){return(typeof t>"u"?"undefined":$(t))==="object"&&typeof t.then=="function"}function Ff(t){var r=!1,i=ay[t.type];return t.type==="decl"?r=t.prop.toLowerCase():t.type==="atrule"&&(r=t.name.toLowerCase()),r&&t.append?[i,i+"-"+r,Or,i+"Exit",i+"Exit-"+r]:r?[i,i+"-"+r,i+"Exit",i+"Exit-"+r]:t.append?[i,Or,i+"Exit"]:[i,i+"Exit"]}function Nf(t){var r;return t.type==="document"?r=["Document",Or,"DocumentExit"]:t.type==="root"?r=["Root",Or,"RootExit"]:r=Ff(t),{eventIndex:0,events:r,iterator:0,node:t,visitorIndex:0,visitors:[]}}function Ns(t){return t[Qe]=!1,t.nodes&&t.nodes.forEach(function(r){return Ns(r)}),t}var Ls={},kr=(function(){function t(i,e,n){var o=this;this.stringified=!1,this.processed=!1;var s;if((typeof e>"u"?"undefined":$(e))==="object"&&e!==null&&(e.type==="root"||e.type==="document"))s=Ns(e);else if(P(e,t)||P(e,$f))s=Ns(e.root),e.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=e.map);else{var a=oy;n.syntax&&(a=n.syntax.parse),n.parser&&(a=n.parser),a.parse&&(a=a.parse);try{s=a(e,n)}catch(u){this.processed=!0,this.error=u}s&&!s[ey]&&ny.rebuild(s)}this.result=new $f(i,s,n),this.helpers=q({},Ls,{postcss:Ls,result:this.result}),this.plugins=this.processor.plugins.map(function(u){return(typeof u>"u"?"undefined":$(u))==="object"&&u.prepare?q({},u,u.prepare(o.result)):u})}var r=t.prototype;return r.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},r.catch=function(e){return this.async().catch(e)},r.finally=function(e){return this.async().then(e,e)},r.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},r.handleError=function(e,n){var o=this.result.lastPlugin;try{if(n&&n.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=o.postcssPlugin,e.setMessage();else if(o.postcssVersion)var s,a,u,c,f}catch(l){console&&console.error&&console.error(l)}return e},r.prepareVisitors=function(){var e=this;this.listeners={};for(var n=function(f,l,h){e.listeners[l]||(e.listeners[l]=[]),e.listeners[l].push([f,h])},o=x(this.plugins),s;!(s=o()).done;){var a=s.value;if((typeof a>"u"?"undefined":$(a))==="object")for(var u in a){if(!uy[u]&&/^[A-Z]/.test(u))throw new Error("Unknown event "+u+" in "+a.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!cy[u])if($(a[u])==="object")for(var c in a[u])c==="*"?n(a,u,a[u][c]):n(a,u+"-"+c.toLowerCase(),a[u][c]);else typeof a[u]=="function"&&n(a,u,a[u])}}this.hasListener=Object.keys(this.listeners).length>0},r.runAsync=function(){var e=this;return Zn(function(){var n,o,s,a,u,c,f,l,h,g,v,m;return sr(this,function(d){switch(d.label){case 0:e.plugin=0,n=0,d.label=1;case 1:if(!(n<e.plugins.length))return[3,6];if(o=e.plugins[n],s=e.runOnRoot(o),!fn(s))return[3,5];d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s];case 3:return d.sent(),[3,5];case 4:throw a=d.sent(),e.handleError(a);case 5:return n++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];u=e.result.root,d.label=7;case 7:if(u[Qe])return[3,14];u[Qe]=!0,c=[Nf(u)],d.label=8;case 8:if(!(c.length>0))return[3,13];if(f=e.visitTick(c),!fn(f))return[3,12];d.label=9;case 9:return d.trys.push([9,11,,12]),[4,f];case 10:return d.sent(),[3,12];case 11:throw l=d.sent(),h=c[c.length-1].node,e.handleError(l,h);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];g=function(){var y,_,b,C,S;return sr(this,function(R){switch(R.label){case 0:y=m.value,_=y[0],b=y[1],e.result.lastPlugin=_,R.label=1;case 1:return R.trys.push([1,6,,7]),u.type!=="document"?[3,3]:(C=u.nodes.map(function(T){return b(T,e.helpers)}),[4,Promise.all(C)]);case 2:return R.sent(),[3,5];case 3:return[4,b(u,e.helpers)];case 4:R.sent(),R.label=5;case 5:return[3,7];case 6:throw S=R.sent(),e.handleError(S);case 7:return[2]}})},v=x(e.listeners.OnceExit),d.label=15;case 15:return(m=v()).done?[3,18]:[5,os(g())];case 16:d.sent(),d.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},r.runOnRoot=function(e){var n=this;this.result.lastPlugin=e;try{if((typeof e>"u"?"undefined":$(e))==="object"&&e.Once){if(this.result.root.type==="document"){var o=this.result.root.nodes.map(function(s){return e.Once(s,n.helpers)});return fn(o[0])?Promise.all(o):o}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(s){throw this.handleError(s)}},r.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,n=ry;e.syntax&&(n=e.syntax.stringify),e.stringifier&&(n=e.stringifier),n.stringify&&(n=n.stringify);var o=new ty(n,this.result.root,this.result.opts),s=o.generate();return this.result.css=s[0],this.result.map=s[1],this.result},r.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 e=x(this.plugins),n;!(n=e()).done;){var o=n.value,s=this.runOnRoot(o);if(fn(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var a=this.result.root;!a[Qe];)a[Qe]=!0,this.walkSync(a);if(this.listeners.OnceExit)if(a.type==="document")for(var u=x(a.nodes),c;!(c=u()).done;){var f=c.value;this.visitSync(this.listeners.OnceExit,f)}else this.visitSync(this.listeners.OnceExit,a)}return this.result},r.then=function(e,n){return this.async().then(e,n)},r.toString=function(){return this.css},r.visitSync=function(e,n){for(var o=x(e),s;!(s=o()).done;){var a=s.value,u=a[0],c=a[1];this.result.lastPlugin=u;var f=void 0;try{f=c(n,this.helpers)}catch(l){throw this.handleError(l,n.proxyOf)}if(n.type!=="root"&&n.type!=="document"&&!n.parent)return!0;if(fn(f))throw this.getAsyncError()}},r.visitTick=function(e){var n=e[e.length-1],o=n.node,s=n.visitors;if(o.type!=="root"&&o.type!=="document"&&!o.parent){e.pop();return}if(s.length>0&&n.visitorIndex<s.length){var a=s[n.visitorIndex],u=a[0],c=a[1];n.visitorIndex+=1,n.visitorIndex===s.length&&(n.visitors=[],n.visitorIndex=0),this.result.lastPlugin=u;try{return c(o.toProxy(),this.helpers)}catch(v){throw this.handleError(v,o)}}if(n.iterator!==0){for(var f=n.iterator,l;l=o.nodes[o.indexes[f]];)if(o.indexes[f]+=1,!l[Qe]){l[Qe]=!0,e.push(Nf(l));return}n.iterator=0,delete o.indexes[f]}for(var h=n.events;n.eventIndex<h.length;){var g=h[n.eventIndex];if(n.eventIndex+=1,g===Or){o.nodes&&o.nodes.length&&(o[Qe]=!0,n.iterator=o.getIterator());return}else if(this.listeners[g]){n.visitors=this.listeners[g];return}}e.pop()},r.walkSync=function(e){var n=this;e[Qe]=!0;for(var o=Ff(e),s=x(o),a;!(a=s()).done;){var u=a.value;if(u===Or)e.nodes&&e.each(function(f){f[Qe]||n.walkSync(f)});else{var c=this.listeners[u];if(c&&this.visitSync(c,e.toProxy()))return}}},r.warnings=function(){return this.sync().warnings()},oe(t,[{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"}}]),t})();kr.registerPostcss=function(t){Ls=t};var Lf=kr;kr.default=kr,sy.registerLazyResult(kr),iy.registerLazyResult(kr);var fy=lf,ly=si,hy=Fs,py=Ts,Ds=(function(){function t(i,e,n){e=e.toString(),this.stringified=!1,this._processor=i,this._css=e,this._opts=n,this._map=void 0;var o,s=ly;this.result=new py(this._processor,o,this._opts),this.result.css=e;var a=this;Object.defineProperty(this.result,"root",{get:function(){return a.root}});var u=new fy(s,o,this._opts,e);if(u.isMap()){var c=u.generate(),f=c[0],l=c[1];f&&(this.result.css=f),l&&(this.result.map=l)}else u.clearAnnotation(),this.result.css=u.css}var r=t.prototype;return r.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},r.catch=function(e){return this.async().catch(e)},r.finally=function(e){return this.async().then(e,e)},r.sync=function(){if(this.error)throw this.error;return this.result},r.then=function(e,n){return this.async().then(e,n)},r.toString=function(){return this._css},r.warnings=function(){return[]},oe(t,[{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 e,n=hy;try{e=n(this._css,this._opts)}catch(o){this.error=o}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),t})(),dy=Ds;Ds.default=Ds;var vy=dy,gy=Lf,my=As,yy=un,ln=(function(){function t(i){i===void 0&&(i=[]),this.version="8.4.38",this.plugins=this.normalize(i)}var r=t.prototype;return r.normalize=function(e){for(var n=[],o=x(e),s;!(s=o()).done;){var a=s.value;if(a.postcss===!0?a=a():a.postcss&&(a=a.postcss),(typeof a>"u"?"undefined":$(a))==="object"&&Array.isArray(a.plugins))n=n.concat(a.plugins);else if((typeof a>"u"?"undefined":$(a))==="object"&&a.postcssPlugin)n.push(a);else if(typeof a=="function")n.push(a);else if(!((typeof a>"u"?"undefined":$(a))==="object"&&(a.parse||a.stringify)))throw new Error(a+" is not a PostCSS plugin")}return n},r.process=function(e,n){return n===void 0&&(n={}),!this.plugins.length&&!n.parser&&!n.stringifier&&!n.syntax?new vy(this,e,n):new gy(this,e,n)},r.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},t})(),_y=ln;ln.default=ln,yy.registerProcessor(ln),my.registerProcessor(ln);var wy=ci,by=tf,Sy=vi,Cy=Ps,Ey=hi,Iy=un,xy=$s;function hn(t,r){if(Array.isArray(t))return t.map(function(l){return hn(l)});var i=t.inputs,e=or(t,["inputs"]);if(i){r=[];for(var n=x(i),o;!(o=n()).done;){var s=o.value,a=q({},s,{__proto__:Ey.prototype});a.map&&(a.map=q({},a.map,{__proto__:by.prototype})),r.push(a)}}if(e.nodes&&(e.nodes=t.nodes.map(function(l){return hn(l,r)})),e.source){var u=e.source,c=u.inputId,f=or(u,["inputId"]);e.source=f,c!=null&&(e.source.input=r[c])}if(e.type==="root")return new Iy(e);if(e.type==="decl")return new wy(e);if(e.type==="rule")return new xy(e);if(e.type==="comment")return new Sy(e);if(e.type==="atrule")return new Cy(e);throw new Error("Unknown node type: "+t.type)}var Ry=hn;hn.default=hn;var Ay=ps,Df=ci,Oy=Lf,ky=ur,Us=_y,Ty=si,My=Ry,Uf=As,Py=Sf,Bf=vi,zf=Ps,$y=Ts,Fy=hi,Ny=Fs,Ly=kf,qf=$s,Wf=un,Dy=ui;function Z(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new Us(r)}Z.plugin=function(r,i){var e=!1;function n(){for(var s=arguments.length,a=new Array(s),u=0;u<s;u++)a[u]=arguments[u];console&&console.warn&&!e&&(e=!0,console.warn(r+`: postcss.plugin was deprecated. Migration guide: 31https://evilmartians.com/chronicles/postcss-8-plugin-migration`),ir.env.LANG&&ir.env.LANG.startsWith("cn")&&console.warn(r+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357: 32https://www.w3ctech.com/topic/2226`));var c=i.apply(void 0,[].concat(a));return c.postcssPlugin=r,c.postcssVersion=new Us().version,c}var o;return Object.defineProperty(n,"postcss",{get:function(){return o||(o=n()),o}}),n.process=function(s,a,u){return Z([n(u)]).process(s,a)},n},Z.stringify=Ty,Z.parse=Ny,Z.fromJSON=My,Z.list=Ly,Z.comment=function(t){return new Bf(t)},Z.atRule=function(t){return new zf(t)},Z.decl=function(t){return new Df(t)},Z.rule=function(t){return new qf(t)},Z.root=function(t){return new Wf(t)},Z.document=function(t){return new Uf(t)},Z.CssSyntaxError=Ay,Z.Declaration=Df,Z.Container=ky,Z.Processor=Us,Z.Document=Uf,Z.Comment=Bf,Z.Warning=Py,Z.AtRule=zf,Z.Result=$y,Z.Input=Fy,Z.Rule=qf,Z.Root=Wf,Z.Node=Dy,Oy.registerPostcss(Z);var Uy=Z;Z.default=Z;var he=Zg(Uy);he.stringify,he.fromJSON,he.plugin,he.parse,he.list,he.document,he.comment,he.atRule,he.rule,he.decl,he.root,he.CssSyntaxError,he.Declaration,he.Container,he.Processor,he.Document,he.Comment,he.Warning,he.AtRule,he.Result,he.Input,he.Rule,he.Root,he.Node;var By=Object.defineProperty,zy=function(t,r,i){return r in t?By(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i},qe=function(t,r,i){return zy(t,(typeof r>"u"?"undefined":$(r))!=="symbol"?r+"":r,i)};function qy(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Wy(t){if(t.__esModule)return t;var r=t.default;if(typeof r=="function"){var i=function e(){return P(this,e)?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};i.prototype=r.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(i,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})}),i}var Bs={exports:{}},ae=String,Gf=function(){return{isColorSupported:!1,reset:ae,bold:ae,dim:ae,italic:ae,underline:ae,inverse:ae,hidden:ae,strikethrough:ae,black:ae,red:ae,green:ae,yellow:ae,blue:ae,magenta:ae,cyan:ae,white:ae,gray:ae,bgBlack:ae,bgRed:ae,bgGreen:ae,bgYellow:ae,bgBlue:ae,bgMagenta:ae,bgCyan:ae,bgWhite:ae}};Bs.exports=Gf(),Bs.exports.createColors=Gf;var Gy=Bs.exports,Vy={},jy=Object.freeze(Object.defineProperty({__proto__:null,default:Vy},Symbol.toStringTag,{value:"Module"})),_e=Wy(jy),Vf=Gy,jf=_e,zs=(function(t){le(r,t);function r(e,n,o,s,a,u){var c;return c=t.call(this,e)||this,c.name="CssSyntaxError",c.reason=e,a&&(c.file=a),s&&(c.source=s),u&&(c.plugin=u),typeof n<"u"&&typeof o<"u"&&(typeof n=="number"?(c.line=n,c.column=o):(c.line=n.line,c.column=n.column,c.endLine=o.line,c.endColumn=o.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,r),c}var i=r.prototype;return i.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},i.showSourceCode=function(n){var o=this;if(!this.source)return"";var s=this.source;n==null&&(n=Vf.isColorSupported),jf&&n&&(s=jf(s));var a=s.split(/\r?\n/),u=Math.max(this.line-3,0),c=Math.min(this.line+2,a.length),f=String(c).length,l,h;if(n){var g=Vf.createColors(!0),v=g.bold,m=g.gray,d=g.red;l=function(y){return v(d(y))},h=function(y){return m(y)}}else l=h=function(y){return y};return a.slice(u,c).map(function(y,_){var b=u+1+_,C=" "+(" "+b).slice(-f)+" | ";if(b===o.line){var S=h(C.replace(/\d/g," "))+y.slice(0,o.column-1).replace(/[^\t]/g," ");return l(">")+h(C)+y+` 33 `+S+l("^")}return" "+h(C)+y}).join(` 34`)},i.toString=function(){var n=this.showSourceCode();return n&&(n=` 35 36`+n+` 37`),this.name+": "+this.message+n},r})(tn(Error)),qs=zs;zs.default=zs;var Ot={};Ot.isClean=Symbol("isClean"),Ot.my=Symbol("my");var Hf={after:` 38`,beforeClose:` 39`,beforeComment:` 40`,beforeDecl:` 41`,beforeOpen:" ",beforeRule:` 42`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function Hy(t){return t[0].toUpperCase()+t.slice(1)}var Ws=(function(){function t(i){this.builder=i}var r=t.prototype;return r.atrule=function(e,n){var o="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?o+=e.raws.afterName:s&&(o+=" "),e.nodes)this.block(e,o+s);else{var a=(e.raws.between||"")+(n?";":"");this.builder(o+s+a,e)}},r.beforeAfter=function(e,n){var o;e.type==="decl"?o=this.raw(e,null,"beforeDecl"):e.type==="comment"?o=this.raw(e,null,"beforeComment"):n==="before"?o=this.raw(e,null,"beforeRule"):o=this.raw(e,null,"beforeClose");for(var s=e.parent,a=0;s&&s.type!=="root";)a+=1,s=s.parent;if(o.includes(` 43`)){var u=this.raw(e,null,"indent");if(u.length)for(var c=0;c<a;c++)o+=u}return o},r.block=function(e,n){var o=this.raw(e,"between","beforeOpen");this.builder(n+o+"{",e,"start");var s;e.nodes&&e.nodes.length?(this.body(e),s=this.raw(e,"after")):s=this.raw(e,"after","emptyBody"),s&&this.builder(s),this.builder("}",e,"end")},r.body=function(e){for(var n=e.nodes.length-1;n>0&&e.nodes[n].type==="comment";)n-=1;for(var o=this.raw(e,"semicolon"),s=0;s<e.nodes.length;s++){var a=e.nodes[s],u=this.raw(a,"before");u&&this.builder(u),this.stringify(a,n!==s||o)}},r.comment=function(e){var n=this.raw(e,"left","commentLeft"),o=this.raw(e,"right","commentRight");this.builder("/*"+n+e.text+o+"*/",e)},r.decl=function(e,n){var o=this.raw(e,"between","colon"),s=e.prop+o+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),n&&(s+=";"),this.builder(s,e)},r.document=function(e){this.body(e)},r.raw=function(e,n,o){var s;if(o||(o=n),n&&(s=e.raws[n],typeof s<"u"))return s;var a=e.parent;if(o==="before"&&(!a||a.type==="root"&&a.first===e||a&&a.type==="document"))return"";if(!a)return Hf[o];var u=e.root();if(u.rawCache||(u.rawCache={}),typeof u.rawCache[o]<"u")return u.rawCache[o];if(o==="before"||o==="after")return this.beforeAfter(e,o);var c="raw"+Hy(o);return this[c]?s=this[c](u,e):u.walk(function(f){if(s=f.raws[n],typeof s<"u")return!1}),typeof s>"u"&&(s=Hf[o]),u.rawCache[o]=s,s},r.rawBeforeClose=function(e){var n;return e.walk(function(o){if(o.nodes&&o.nodes.length>0&&typeof o.raws.after<"u")return n=o.raws.after,n.includes(` 44`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n},r.rawBeforeComment=function(e,n){var o;return e.walkComments(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 45`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(n,null,"beforeDecl"):o&&(o=o.replace(/\S/g,"")),o},r.rawBeforeDecl=function(e,n){var o;return e.walkDecls(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 46`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(n,null,"beforeRule"):o&&(o=o.replace(/\S/g,"")),o},r.rawBeforeOpen=function(e){var n;return e.walk(function(o){if(o.type!=="decl"&&(n=o.raws.between,typeof n<"u"))return!1}),n},r.rawBeforeRule=function(e){var n;return e.walk(function(o){if(o.nodes&&(o.parent!==e||e.first!==o)&&typeof o.raws.before<"u")return n=o.raws.before,n.includes(` 47`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n},r.rawColon=function(e){var n;return e.walkDecls(function(o){if(typeof o.raws.between<"u")return n=o.raws.between.replace(/[^\s:]/g,""),!1}),n},r.rawEmptyBody=function(e){var n;return e.walk(function(o){if(o.nodes&&o.nodes.length===0&&(n=o.raws.after,typeof n<"u"))return!1}),n},r.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var n;return e.walk(function(o){var s=o.parent;if(s&&s!==e&&s.parent&&s.parent===e&&typeof o.raws.before<"u"){var a=o.raws.before.split(` 48`);return n=a[a.length-1],n=n.replace(/\S/g,""),!1}}),n},r.rawSemicolon=function(e){var n;return e.walk(function(o){if(o.nodes&&o.nodes.length&&o.last.type==="decl"&&(n=o.raws.semicolon,typeof n<"u"))return!1}),n},r.rawValue=function(e,n){var o=e[n],s=e.raws[n];return s&&s.value===o?s.raw:o},r.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},r.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},r.stringify=function(e,n){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,n)},t})(),Yf=Ws;Ws.default=Ws;var Yy=Yf;function Gs(t,r){var i=new Yy(r);i.stringify(t)}var xi=Gs;Gs.default=Gs;var Ri=Ot.isClean,Ky=Ot.my,Jy=qs,Xy=Yf,Zy=xi;function Vs(t,r){var i=new t.constructor;for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&e!=="proxyCache"){var n=t[e],o=typeof n>"u"?"undefined":$(n);e==="parent"&&o==="object"?r&&(i[e]=r):e==="source"?i[e]=n:Array.isArray(n)?i[e]=n.map(function(s){return Vs(s,i)}):(o==="object"&&n!==null&&(n=Vs(n)),i[e]=n)}return i}var js=(function(){function t(i){i===void 0&&(i={}),this.raws={},this[Ri]=!1,this[Ky]=!0;for(var e in i)if(e==="nodes"){this.nodes=[];for(var n=x(i[e]),o;!(o=n()).done;){var s=o.value;typeof s.clone=="function"?this.append(s.clone()):this.append(s)}}else this[e]=i[e]}var r=t.prototype;return r.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var n=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+n.input.from+":"+n.start.line+":"+n.start.column+"$&")}return e},r.after=function(e){return this.parent.insertAfter(this,e),this},r.assign=function(e){e===void 0&&(e={});for(var n in e)this[n]=e[n];return this},r.before=function(e){return this.parent.insertBefore(this,e),this},r.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},r.clone=function(e){e===void 0&&(e={});var n=Vs(this);for(var o in e)n[o]=e[o];return n},r.cloneAfter=function(e){e===void 0&&(e={});var n=this.clone(e);return this.parent.insertAfter(this,n),n},r.cloneBefore=function(e){e===void 0&&(e={});var n=this.clone(e);return this.parent.insertBefore(this,n),n},r.error=function(e,n){if(n===void 0&&(n={}),this.source){var o=this.rangeBy(n),s=o.end,a=o.start;return this.source.input.error(e,{column:a.column,line:a.line},{column:s.column,line:s.line},n)}return new Jy(e)},r.getProxyProcessor=function(){return{get:function(n,o){return o==="proxyOf"?n:o==="root"?function(){return n.root().toProxy()}:n[o]},set:function(n,o,s){return n[o]===s||(n[o]=s,(o==="prop"||o==="value"||o==="name"||o==="params"||o==="important"||o==="text")&&n.markDirty()),!0}}},r.markDirty=function(){if(this[Ri]){this[Ri]=!1;for(var e=this;e=e.parent;)e[Ri]=!1}},r.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},r.positionBy=function(e,n){var o=this.source.start;if(e.index)o=this.positionInside(e.index,n);else if(e.word){n=this.toString();var s=n.indexOf(e.word);s!==-1&&(o=this.positionInside(s,n))}return o},r.positionInside=function(e,n){for(var o=n||this.toString(),s=this.source.start.column,a=this.source.start.line,u=0;u<e;u++)o[u]===` 49`?(s=1,a+=1):s+=1;return{column:s,line:a}},r.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},r.rangeBy=function(e){var n={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:n.column+1,line:n.line};if(e.word){var s=this.toString(),a=s.indexOf(e.word);a!==-1&&(n=this.positionInside(a,s),o=this.positionInside(a+e.word.length,s))}else e.start?n={column:e.start.column,line:e.start.line}:e.index&&(n=this.positionInside(e.index)),e.end?o={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?o=this.positionInside(e.endIndex):e.index&&(o=this.positionInside(e.index+1));return(o.line<n.line||o.line===n.line&&o.column<=n.column)&&(o={column:n.column+1,line:n.line}),{end:o,start:n}},r.raw=function(e,n){var o=new Xy;return o.raw(this,e,n)},r.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},r.replaceWith=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];if(this.parent){for(var s=this,a=!1,u=x(n),c;!(c=u()).done;){var f=c.value;f===this?a=!0:a?(this.parent.insertAfter(s,f),s=f):this.parent.insertBefore(s,f)}a||this.remove()}return this},r.root=function(){for(var e=this;e.parent&&e.parent.type!=="document";)e=e.parent;return e},r.toJSON=function(e,n){var o={},s=n==null;n=n||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(l){return(typeof l>"u"?"undefined":$(l))==="object"&&l.toJSON?l.toJSON(null,n):l});else if((typeof c>"u"?"undefined":$(c))==="object"&&c.toJSON)o[u]=c.toJSON(null,n);else if(u==="source"){var f=n.get(c.input);f==null&&(f=a,n.set(c.input,a),a++),o[u]={end:c.end,inputId:f,start:c.start}}else o[u]=c}return s&&(o.inputs=[].concat(n.keys()).map(function(l){return l.toJSON()})),o},r.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},r.toString=function(e){e===void 0&&(e=Zy),e.stringify&&(e=e.stringify);var n="";return e(this,function(o){n+=o}),n},r.warn=function(e,n,o){var s={node:this};for(var a in o)s[a]=o[a];return e.warn(n,s)},oe(t,[{key:"proxyOf",get:function(){return this}}]),t})(),Ai=js;js.default=js;var Qy=Ai,Hs=(function(t){le(r,t);function r(i){var e;return i&&typeof i.value<"u"&&typeof i.value!="string"&&(i=q({},i,{value:String(i.value)})),e=t.call(this,i)||this,e.type="decl",e}return oe(r,[{key:"variable",get:function(){return this.prop.startsWith("--")||this.prop[0]==="$"}}]),r})(Qy),Oi=Hs;Hs.default=Hs;var e_="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",t_=function(t){t===void 0&&(t=21);for(var r="",i=t;i--;)r+=e_[Math.random()*64|0];return r},r_={nanoid:t_},Kf=_e.SourceMapConsumer,Jf=_e.SourceMapGenerator,n_=_e.existsSync,i_=_e.readFileSync,Ys=_e.dirname,o_=_e.join;function s_(t){return E?E.from(t,"base64").toString():window.atob(t)}var Ks=(function(){function t(i,e){if(e.map!==!1){this.loadAnnotation(i),this.inline=this.startWith(this.annotation,"data:");var n=e.map?e.map.prev:void 0,o=this.loadMap(e.from,n);!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=Ys(this.mapFile)),o&&(this.text=o)}}var r=t.prototype;return r.consumer=function(){return this.consumerCache||(this.consumerCache=new Kf(this.text)),this.consumerCache},r.decodeInline=function(e){var n=/^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(e)||a.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(n.test(e)||o.test(e))return s_(e.substr(RegExp.lastMatch.length));var u=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+u)},r.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},r.isMap=function(e){return(typeof e>"u"?"undefined":$(e))!=="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)},r.loadAnnotation=function(e){var n=e.match(/\/\*\s*# sourceMappingURL=/gm);
vendor: 1,188 bytes, line 49
49if(n){var o=e.lastIndexOf(n.pop()),s=e.indexOf("*/",o);o>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(o,s)))}},r.loadFile=function(e){if(this.root=Ys(e),n_(e))return this.mapFile=e,i_(e,"utf-8").toString().trim()},r.loadMap=function(e,n){if(n===!1)return!1;if(n){if(typeof n=="string")return n;if(typeof n=="function"){var o=n(e);if(o){var s=this.loadFile(o);if(!s)throw new Error("Unable to load previous source map: "+o.toString());return s}}else{if(P(n,Kf))return Jf.fromSourceMap(n).toString();if(P(n,Jf))return n.toString();if(this.isMap(n))return JSON.stringify(n);throw new Error("Unsupported previous source map format: "+n.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var a=this.annotation;return e&&(a=o_(Ys(e),a)),this.loadFile(a)}}},r.startWith=function(e,n){return e?e.substr(0,n.length)===n:!1},r.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},t})(),Xf=Ks;Ks.default=Ks;var a_=_e.SourceMapConsumer,u_=_e.SourceMapGenerator,Zf=_e.fileURLToPath,ki=_e.pathToFileURL,Js=_e.isAbsolute,Xs=_e.resolve,c_=r_.nanoid,Zs=_e,Qf=qs,f_=Xf,Qs=Symbol("fromOffsetCac
49he"),l_=!!(a_&&u_),el=!!(Xs&&Js),Ti=(function(){function t(i,e){if(e===void 0&&(e={}),i===null||typeof i>"u"||(typeof i>"u"?"undefined":$(i))==="object"&&!i.toString)throw new Error("PostCSS received "+i+" instead of CSS string");if(this.css=i.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,e.from&&(!el||/^\w+:\/\//.test(e.from)||Js(e.from)?this.file=e.from:this.file=Xs(e.from)),el&&l_){var n=new f_(this.css,e);if(n.text){this.map=n;var o=n.consumer().file;!this.file&&o&&(this.file=this.mapResolve(o))}}this.file||(this.id="<input css "+c_(6)+">"),this.map&&(this.map.file=this.from)}var r=t.prototype;return r.error=function(e,n,o,s){s===void 0&&(s={});var a,u,c;if(n&&(typeof n>"u"?"undefined":$(n))==="object"){var f=n,l=o;if(typeof f.offset=="number"){var h=this.fromOffset(f.offset);n=h.line,o=h.col}else n=f.line,o=f.column;if(typeof l.offset=="number"){var g=this.fromOffset(l.offset);u=g.line,c=g.col}else u=l.line,c=l.column}else if(!o){var v=this.fromOffset(n);n=v.line,o=v.col}var m=this.origin(n,o,u,c);return m?a=new Qf(e,m.endLine===void 0?m.line:{column:m.column,line:m.line},m.endLine===void 0?m.column:{column:m.endColumn,line:m.endLine},m.source,m.file,s.plugin):a=new Qf(e,u===void 0?n:{column:o,line:n},u===void 0?o:{column:c,line:u},this.css,this.file,s.plugin),a.input={column:o,endColumn:c,endLine:u,line:n,source:this.css},this.file&&(ki&&(a.input.url=ki(this.file).toString()),a.input.file=this.file),a},r.fromOffset=function(e){var n,o;if(this[Qs])o=this[Qs];else{var s=this.css.split(` 50`);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[Qs]=o}n=o[o.length-1];var f=0;if(e>=n)f=o.length-1;else for(var l=o.length-2,h;f<l;)if(h=f+(l-f>>1),e<o[h])l=h-1;else if(e>=o[h+1])f=h+1;else{f=h;break}return{col:e-o[f]+1,line:f+1}},r.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:Xs(this.map.consumer().sourceRoot||this.map.root||".",e)},r.origin=function(e,n,o,s){if(!this.map)return!1;var a=this.map.consumer(),u=a.originalPositionFor({column:n,line:e});if(!u.source)return!1;var c;typeof o=="number"&&(c=a.originalPositionFor({column:s,line:o}));var f;Js(u.source)?f=ki(u.source):f=new URL(u.source,this.map.consumer().sourceRoot||ki(this.map.mapFile));var l={column:u.column,endColumn:c&&c.column,endLine:c&&c.line,line:u.line,url:f.toString()};if(f.protocol==="file:")if(Zf)l.file=Zf(f);else throw new Error("file: protocol is not available in this PostCSS build");var h=a.sourceContentFor(u.source);return h&&(l.source=h),l},r.toJSON=function(){for(var e={},n=0,o=["hasBOM","css","file","id"];n<o.length;n++){var s=o[n];this[s]!=null&&(e[s]=this[s])}return this.map&&(e.map=q({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},oe(t,[{key:"from",get:function(){return this.file||this.id}}]),t})(),Mi=Ti;Ti.default=Ti,Zs&&Zs.registerInput&&Zs.registerInput(Ti);var tl=_e.SourceMapConsumer,Pi=_e.SourceMapGenerator,$i=_e.dirname,rl=_e.relative,nl=_e.resolve,il=_e.sep,ol=_e.pathToFileURL,h_=Mi,p_=!!(tl&&Pi),d_=!!($i&&nl&&rl&&il),v_=(function(){function t(i,e,n,o){this.stringify=i,this.mapOpts=n.map||{},this.root=e,this.opts=n,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 r=t.prototype;return r.addAnnotation=function(){var e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";var n=` 51`;this.css.includes(`\r 52`)&&(n=`\r 53`),this.css+=n+"/*# sourceMappingURL="+e+" */"},r.applyPrevMaps=function(){for(var e=x(this.previous()),n;!(n=e()).done;){var o=n.value,s=this.toUrl(this.path(o.file)),a=o.root||$i(o.file),u=void 0;this.mapOpts.sourcesContent===!1?(u=new tl(o.text),u.sourcesContent&&(u.sourcesContent=null)):u=o.consumer(),this.map.applySourceMap(u,s,this.toUrl(this.path(a)))}},r.clearAnnotation=function(){if(this.mapOpts.annotation!==!1)if(this.root)for(var e,n=this.root.nodes.length-1;n>=0;n--)e=this.root.nodes[n],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(n);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},r.generate=function(){if(this.clearAnnotation(),d_&&p_&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(n){e+=n}),[e]},r.generateMap=function(){if(this.root)this.generateString();else if(this.previous().length===1){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Pi.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Pi({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]},r.generateString=function(){var e=this;this.css="",this.map=new Pi({file:this.outputFile(),ignoreInvalidMapping:!0});var n=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(f,l,h){if(e.css+=f,l&&h!=="end"&&(a.generated.line=n,a.generated.column=o-1,l.source&&l.source.start?(a.source=e.sourcePath(l),a.original.line=l.source.start.line,a.original.column=l.source.start.column-1,e.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,e.map.addMapping(a))),u=f.match(/\n/g),u?(n+=u.length,c=f.lastIndexOf(` 54`),o=f.length-c):o+=f.length,l&&h!=="start"){var g=l.parent||{raws:{}},v=l.type==="decl"||l.type==="atrule"&&!l.nodes;(!v||l!==g.last||g.raws.semicolon)&&(l.source&&l.source.end?(a.source=e.sourcePath(l),a.original.line=l.source.end.line,a.original.column=l.source.end.column-1,a.generated.line=n,a.generated.column=o-2,e.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=o-1,e.map.addMapping(a)))}})},r.isAnnotation=function(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(function(e){return e.annotation}):!0},r.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(function(n){return n.inline}):!0},r.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},r.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(function(e){return e.withContent()}):!0},r.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},r.path=function(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;var n=this.memoizedPaths.get(e);if(n)return n;var o=this.opts.to?$i(this.opts.to):".";
vendor: 4,104 bytes, line 54
54typeof this.mapOpts.annotation=="string"&&(o=$i(nl(o,this.mapOpts.annotation)));var s=rl(o,e);return this.memoizedPaths.set(e,s),s},r.previous=function(){var e=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;e.previousMaps.includes(s)||e.previousMaps.push(s)}});else{var n=new h_(this.originalCSS,this.opts);n.map&&this.previousMaps.push(n.map)}return this.previousMaps},r.setSourcesContent=function(){var e=this,n={};if(this.root)this.root.walk(function(s){if(s.source){var a=s.source.input.from;if(a&&!n[a]){n[a]=!0;var u=e.usesFileUrls?e.toFileUrl(a):e.toUrl(e.path(a));e.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)}},r.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},r.toBase64=function(e){return E?E.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},r.toFileUrl=function(e){var n=this.memoizedFileURLs.get(e);if(n)return n;if(ol){var o=ol(e).toString();return this.memoizedFileURLs.set(e,o),o}else throw new Error("`map.absolute` option is not available in this PostCSS build")},r.toUrl=function(e){var n=this.memoizedURLs.get(e);if(n)return n;il==="\\"&&(e=e.replace(/\\/g,"/"));var o=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,o),o},t})(),sl=v_,g_=Ai,ea=(function(t){le(r,t);function r(i){var e;return e=t.call(this,i)||this,e.type="comment",e}return r})(g_),Fi=ea;ea.default=ea;var al=Ot.isClean,ul=Ot.my,cl=Oi,fl=Fi,m_=Ai,ll,ta,ra,hl;function pl(t){return t.map(function(r){return r.nodes&&(r.nodes=pl(r.nodes)),delete r.source,r})}function dl(t){if(t[al]=!1,t.proxyOf.nodes)for(var r=x(t.proxyOf.nodes),i;!(i=r()).done;){var e=i.value;dl(e)}}var vt=(function(t){le(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.append=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];for(var a=x(o),u;!(u=a()).done;)for(var c=u.value,f=this.normalize(c,this.last),l=x(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.push(g)}return this.markDirty(),this},i.cleanRaws=function(n){if(t.prototype.cleanRaws.call(this,n),this.nodes)for(var o=x(this.nodes),s;!(s=o()).done;){var a=s.value;a.cleanRaws(n)}},i.each=function(n){if(this.proxyOf.nodes){for(var o=this.getIterator(),s,a;this.indexes[o]<this.proxyOf.nodes.length&&(s=this.indexes[o],a=n(this.proxyOf.nodes[s],s),a!==!1);)this.indexes[o]+=1;return delete this.indexes[o],a}},i.every=function(n){return this.nodes.every(n)},i.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var n=this.lastEach;return this.indexes[n]=0,n},i.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 f;return(f=o)[s].apply(f,[].concat(u.map(function(l){return typeof l=="function"?function(h,g){return l(h.toProxy(),g)}:l})))}:s==="every"||s==="some"?function(a){return o[s](function(u){for(var c=arguments.length,f=new Array(c>1?c-1:0),l=1;l<c;l++)f[l-1]=arguments[l];return a.apply(void 0,[].concat([u.toProxy()],f))})}: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}}},i.index=function(n){return typeof n=="number"?n:(n.proxyOf&&(n=n.proxyOf),this.proxyOf.nodes.indexOf(n))},i.insertAfter=function(n,o){var s=this.index(n),a=this.normalize(o,this.proxyOf.nodes[s]).reverse();s=this.index(n);for(var u=x(a),c;!(c=u()).done;){var f=c.value;this.proxyOf.nodes.splice(s+1,0,f)}var l;for(var h in this.indexes)l=this.indexes[h],s<l&&(this.indexes[h
vendor: 5,236 bytes, line 54
54]=l+a.length);return this.markDirty(),this},i.insertBefore=function(n,o){var s=this.index(n),a=s===0?"prepend":!1,u=this.normalize(o,this.proxyOf.nodes[s],a).reverse();s=this.index(n);for(var c=x(u),f;!(f=c()).done;){var l=f.value;this.proxyOf.nodes.splice(s,0,l)}var h;for(var g in this.indexes)h=this.indexes[g],s<=h&&(this.indexes[g]=h+u.length);return this.markDirty(),this},i.normalize=function(n,o){var s=this;if(typeof n=="string")n=pl(ll(n).nodes);else if(typeof n>"u")n=[];else if(Array.isArray(n)){n=n.slice(0);for(var a=x(n),u;!(u=a()).done;){var c=u.value;c.parent&&c.parent.removeChild(c,"ignore")}}else if(n.type==="root"&&this.type!=="document"){n=n.nodes.slice(0);for(var f=x(n),l;!(l=f()).done;){var h=l.value;h.parent&&h.parent.removeChild(h,"ignore")}}else if(n.type)n=[n];else if(n.prop){if(typeof n.value>"u")throw new Error("Value field is missed in node creation");typeof n.value!="string"&&(n.value=String(n.value)),n=[new cl(n)]}else if(n.selector)n=[new ta(n)];else if(n.name)n=[new ra(n)];else if(n.text)n=[new fl(n)];else throw new Error("Unknown node type in node creation");var g=n.map(function(v){return v[ul]||r.rebuild(v),v=v.proxyOf,v.parent&&v.parent.removeChild(v),v[al]&&dl(v),typeof v.raws.before>"u"&&o&&typeof o.raws.before<"u"&&(v.raws.before=o.raws.before.replace(/\S/g,"")),v.parent=s.proxyOf,v});return g},i.prepend=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];o=o.reverse();for(var a=x(o),u;!(u=a()).done;){for(var c=u.value,f=this.normalize(c,this.first,"prepend").reverse(),l=x(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.unshift(g)}for(var v in this.indexes)this.indexes[v]=this.indexes[v]+f.length}return this.markDirty(),this},i.push=function(n){return n.parent=this,this.proxyOf.nodes.push(n),this},i.removeAll=function(){for(var n=x(this.proxyOf.nodes),o;!(o=n()).done;){var s=o.value;s.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},i.removeChild=function(n){n=this.index(n),this.proxyOf.nodes[n].parent=void 0,this.proxyOf.nodes.splice(n,1);var o;for(var s in this.indexes)o=this.indexes[s],o>=n&&(this.indexes[s]=o-1);return this.markDirty(),this},i.replaceValues=function(n,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(n,s))}),this.markDirty(),this},i.some=function(n){return this.nodes.some(n)},i.walk=function(n){return this.each(function(o,s){var a;try{a=n(o,s)}catch(u){throw o.addToError(u)}return a!==!1&&o.walk&&(a=o.walk(n)),a})},i.walkAtRules=function(n,o){return o?P(n,RegExp)?this.walk(function(s,a){if(s.type==="atrule"&&n.test(s.name))return o(s,a)}):this.walk(function(s,a){if(s.type==="atrule"&&s.name===n)return o(s,a)}):(o=n,this.walk(function(s,a){if(s.type==="atrule")return o(s,a)}))},i.walkComments=function(n){return this.walk(function(o,s){if(o.type==="comment")return n(o,s)})},i.walkDecls=function(n,o){return o?P(n,RegExp)?this.walk(function(s,a){if(s.type==="decl"&&n.test(s.prop))return o(s,a)}):this.walk(function(s,a){if(s.type==="decl"&&s.prop===n)return o(s,a)}):(o=n,this.walk(function(s,a){if(s.type==="decl")return o(s,a)}))},i.walkRules=function(n,o){return o?P(n,RegExp)?this.walk(function(s,a){if(s.type==="rule"&&n.test(s.selector))return o(s,a)}):this.walk(function(s,a){if(s.type==="rule"&&s.selector===n)return o(s,a)}):(o=n,this.walk(function(s,a){if(s.type==="rule")return o(s,a)}))},oe(r,[{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]}}]),r})(m_);vt.registerParse=function(t){ll=t},vt.registerRule=function(t){ta=t},vt.registerAtRule=function(t){ra=t},vt.registerRoot=function(t){hl=t};var cr=vt;vt.default=vt,vt.rebuild=function(t){t.type==="atrule"?Object.setPrototypeOf(t,ra.prototype):t.type==="rule"?Object.setPrototypeOf(t,ta.prototype):t.type==="decl"?Object.setPrototypeOf(t,cl.prototype):t.type==="comment"?Object.setPrototypeOf(t,fl.prototype):t.type==="root"&&Object.setPrototypeOf(t,hl.prototype),t[ul]=!0,t.nodes&&t.nodes.forEach(function(r){vt.rebuild(r)})};var y_=cr,vl,gl,pn=(function(t){le(r,t);function r(e){var n;return n=t.call(this,q({type:"document"},e))||this,n.nodes||(n.nodes=[]),n}var i=r.prototype;return i.toResult=function(n){n===void 0&&(n={});var o=new vl(new gl,this,n);return o.stringify()},r})(y_);pn.registerLazyResult=function(t){vl=t},pn.registerProcessor=function(t){gl=t};var na=pn;pn.default=pn;var ia=(function(){function t(i,e){if(e===void 0&&(e={}),this.type="warning",this.text=i,e.node&&e.node.source){var n=e.node.rangeBy(e);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(var o in e)this[o]=e[o]}var r=t.prototype;return r.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},t})(),ml=ia;ia.default=ia;var __=ml,oa=(function(){function t(i,e,n){this.processor=i,this.messages=[],this.root=e,this.opts=n,this.css=void 0,this.map=void 0}var r=t.prototype;return r.toString=function(){return this.css}
vendor: 10,320 bytes, lines 54-55
54,r.warn=function(e,n){n===void 0&&(n={}),n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);var o=new __(e,n);return this.messages.push(o),o},r.warnings=function(){return this.messages.filter(function(e){return e.type==="warning"})},oe(t,[{key:"content",get:function(){return this.css}}]),t})(),sa=oa;oa.default=oa;var aa=39,yl=34,Ni=92,_l=47,Li=10,dn=32,Di=12,Ui=9,Bi=13,w_=91,b_=93,S_=40,C_=41,E_=123,I_=125,x_=59,R_=42,A_=58,O_=64,zi=/[\t\n\f\r "#'()/;[\\\]{}]/g,qi=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,k_=/.[\r\n"'(/\\]/,wl=/[\da-f]/i,T_=function(r,i){i===void 0&&(i={});var e=r.css.valueOf(),n=i.ignoreErrors,o,s,a,u,c,f,l,h,g,v,m=e.length,d=0,y=[],_=[];function b(){return d}function C(O){throw r.error("Unclosed "+O,d)}function S(){return _.length===0&&d>=m}function R(O){if(_.length)return _.pop();if(!(d>=m)){var F=O?O.ignoreUnclosed:!1;switch(o=e.charCodeAt(d),o){case Li:case dn:case Ui:case Bi:case Di:{s=d;do s+=1,o=e.charCodeAt(s);while(o===dn||o===Li||o===Ui||o===Bi||o===Di);v=["space",e.slice(d,s)],d=s-1;break}case w_:case b_:case E_:case I_:case A_:case x_:case C_:{var W=String.fromCharCode(o);v=[W,W,d];break}case S_:{if(h=y.length?y.pop()[1]:"",g=e.charCodeAt(d+1),h==="url"&&g!==aa&&g!==yl&&g!==dn&&g!==Li&&g!==Ui&&g!==Di&&g!==Bi){s=d;do{if(f=!1,s=e.indexOf(")",s+1),s===-1)if(n||F){s=d;break}else C("bracket");for(l=s;e.charCodeAt(l-1)===Ni;)l-=1,f=!f}while(f);v=["brackets",e.slice(d,s+1),d,s],d=s}else s=e.indexOf(")",d+1),u=e.slice(d,s+1),s===-1||k_.test(u)?v=["(","(",d]:(v=["brackets",u,d,s],d=s);break}case aa:case yl:{a=o===aa?"'":'"',s=d;do{if(f=!1,s=e.indexOf(a,s+1),s===-1)if(n||F){s=d+1;break}else C("string");for(l=s;e.charCodeAt(l-1)===Ni;)l-=1,f=!f}while(f);v=["string",e.slice(d,s+1),d,s],d=s;break}case O_:{zi.lastIndex=d+1,zi.test(e),zi.lastIndex===0?s=e.length-1:s=zi.lastIndex-2,v=["at-word",e.slice(d,s+1),d,s],d=s;break}case Ni:{for(s=d,c=!0;e.charCodeAt(s+1)===Ni;)s+=1,c=!c;if(o=e.charCodeAt(s+1),c&&o!==_l&&o!==dn&&o!==Li&&o!==Ui&&o!==Bi&&o!==Di&&(s+=1,wl.test(e.charAt(s)))){for(;wl.test(e.charAt(s+1));)s+=1;e.charCodeAt(s+1)===dn&&(s+=1)}v=["word",e.slice(d,s+1),d,s],d=s;break}default:{o===_l&&e.charCodeAt(d+1)===R_?(s=e.indexOf("*/",d+2)+1,s===0&&(n||F?s=e.length:C("comment")),v=["comment",e.slice(d,s+1),d,s],d=s):(qi.lastIndex=d+1,qi.test(e),qi.lastIndex===0?s=e.length-1:s=qi.lastIndex-2,v=["word",e.slice(d,s+1),d,s],y.push(v),d=s);break}}return d++,v}}function T(O){_.push(O)}return{back:T,endOfFile:S,nextToken:R,position:b}},bl=cr,Wi=(function(t){le(r,t);function r(e){var n;return n=t.call(this,e)||this,n.type="atrule",n}var i=r.prototype;return i.append=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.append).call.apply(a,[].concat([this],o))},i.prepend=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.prepend).call.apply(a,[].concat([this],o))},r})(bl),ua=Wi;Wi.default=Wi,bl.registerAtRule(Wi);var Sl=cr,Cl,El,Tr=(function(t){le(r,t);function r(e){var n;return n=t.call(this,e)||this,n.type="root",n.nodes||(n.nodes=[]),n}var i=r.prototype;return i.normalize=function(n,o,s){var a=t.prototype.normalize.call(this,n);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=x(a),c;!(c=u()).done;){var f=c.value;f.raws.before=o.raws.before}}return a},i.removeChild=function(n,o){var s=this.index(n);return!o&&s===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),t.prototype.removeChild.call(this,n)},i.toResult=function(n){n===void 0&&(n={});var o=new Cl(new El,this,n);return o.stringify()},r})(Sl);Tr.registerLazyResult=function(t){Cl=t},Tr.registerProcessor=function(t){El=t};var vn=Tr;Tr.default=Tr,Sl.registerRoot(Tr);var gn={comma:function(r){return gn.split(r,[","],!0)},space:function(r){var i=[" ",` 55`," "];return gn.split(r,i)},split:function(r,i,e){for(var n=[],o="",s=!1,a=0,u=!1,c="",f=!1,l=x(r),h;!(h=l()).done;){var g=h.value;f?f=!1:g==="\\"?f=!0:u?g===c&&(u=!1):g==='"'||g==="'"?(u=!0,c=g):g==="("?a+=1:g===")"?a>0&&(a-=1):a===0&&i.includes(g)&&(s=!0),s?(o!==""&&n.push(o.trim()),o="",s=!1):o+=g}return(e||o!=="")&&n.push(o.trim()),n}},Il=gn;gn.default=gn;var xl=cr,M_=Il,Gi=(function(t){le(r,t);function r(i){var e;return e=t.call(this,i)||this,e.type="rule",e.nodes||(e.nodes=[]),e}return oe(r,[{key:"selectors",get:function(){return M_.comma(this.selector)},set:function(e){var n=this.selector?this.selector.match(/,\s*/):null,o=n?n[0]:","+this.raw("between","beforeOpen");this.selector=e.join(o)}}]),r})(xl),ca=Gi;Gi.default=Gi,xl.registerRule(Gi);var P_=Oi,$_=T_,F_=Fi,N_=ua,L_=vn,Rl=ca,Al={empty:!0,space:!0};function D_(t){for(var r=t.length-1;r>=0;r--){var i=t[r],e=i[3]||i[2];if(e)return e}}var U_=(function(){function t(i){this.input=i,this.root=new L_,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:i,start:{column:1,line:1,offset:0}}}var r=t.prototype;return r.atrule=function(e){var n=new N_;n.name=e[1].slice(1),n.name===""&&this.unnamedAtrule(n,e),this.init(n,e[2]);for(var o,s,a,u=!1,c=!1,f=[],l=[];!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),o=e[0],o==="("||o==="["?l.push(o==="("?")":"]"):o==="{"&&l.length>0?l.push("}"):o===l[l.length-1]&&l.pop(),l.length===0)if(o===";"){n.source.end=this.getPosition(e[2]),n.source.end.offset++,this.semicolon=!0;break}else if(o==="{"){c=!0;break}else if(o==="}"){if(f.length>0){for(a=f.length-1,s=f[a];s&&s[0]==="space";)s=f[--a];s&&(n.source.end=this.getPosition(s[3]||s[2]),n.source.end.offset++)}this.end(e);break}else f.push(e);else f.push(e);if(this.tokenizer.endOfFile()){u=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(n.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(n,"params",f),u&&(e=f[f.length-1],n.source.end=this.getPosition(e[3]||e[2]),n.source.end.offset++,this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),c&&(n.nodes=[],this.current=n)},r.checkMissedSemicolon=function(e){var n=this.colon(e);if(n!==!1){for(var o=0,s,a=n-1;a>=0&&(s=e[a],!(s[0]!=="space"&&(o+=1,o===2)));a--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}},r.colon=function(e){for(var n=0,o,s,a,u=x(e.entries()),c;!(c=u()).done;){var f=c.value,l=f[0],h=f[1];if(o=h,s=o[0],s==="("&&(n+=1),s===")"&&(n-=1),n===0&&s===":")if(!a)this.doubleColon(o);else{if(a[0]==="word"&&a[1]==="progid")continue;return l}a=o}return!1},r.comment=function(e){var n=new F_;this.init(n,e[2]),n.source.end=this.getPosition(e[3]||e[2]),n.source.end.offset++;var o=e[1].slice(2,-2);if(/^\s*$/.test(o))n.text="",n.raws.left=o,n.raws.right="";else{var s=o.match(/^(\s*)([^]*\S)(\s*)$/);n.text=s[2],n.raws.left=s[1],n.raws.right=s[3]}},r.createTokenizer=function(){this.tokenizer=$_(this.input)},r.decl=function(e,n){var o=new P_;this.init(o,e[0][2]);var s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),o.source.end=this.getPosition(s[3]||s[2]||D_(e)),o.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),o.raws.before+=e.shift()[1];for(o.source.start=this.getPosition(e[0][2]),o.prop="";e.length;){var a=e[0][0];if(a===":"||a==="space"||a==="comment")break;o.prop+=e.shift()[1]}o.raws.between="";for(var u;e.length;)if(u=e.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=[],f;e.length&&(f=e[0][0],!(f!=="space"&&f!=="comment"));)c.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if(u=e[l],u[1].toLowerCase()==="!important"){o.important=!0;var h=this.stringFrom(e,l);h=this.spacesFromEnd(e)+h,h!==" !important"&&(o.raws.important=h);break}else if(u[1].toLowerCase()==="important"){for(var g=e.slice(0),v="",m=l;m>0;m--){var d=g[m][0];if(v.trim().indexOf("!")===0&&d!=="space")break;v=g.pop()[1]+v}v.trim().indexOf("!")===0&&(o.important=!0,o.raws.important=v,e=g)}if(u[0]!=="space"&&u[0]!=="comment")break}var y=e.some(function(_){return _[0]!=="space"&&_[0]!=="comment"});y&&(o.raws.between+=c.map(function(_){return _[1]}).join(""),c=[]),this.raw(o,"value",c.concat(e),n),o.value.includes(":")&&!n&&this.checkMissedSemicolon(e)},r.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},r.emptyRule=function(e){var n=new Rl;this.init(n,e[2]),n.selector="",n.raws.between="",this.current=n},r.end=function(e){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(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},r.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())},r.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var n=this.current.nodes[this.current.nodes.length-1];n&&n.type==="rule"&&!n.raws.ownSemicolon&&(n.raws.ownSemicolon=this.spaces,this.spaces="")}},r.getPosition=function(e){var n=this.input.fromOffset(e);return{column:n.col,line:n.line,offset:e}},r.init=function(e,n){this.current.push(e),e.source={input:this.input,start:this.getPosition(n)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)},r.other=function(e){for(var n=!1,o=null,s=!1,a=null,u=[],c=e[1].startsWith("--"),f=[],l=e;l;){if(o=l[0],f.push(l),o==="("||o==="[")a||(a=l),u.push(o==="("?")":"]");else if(c&&s&&o==="{")a||(a=l),u.push("}");else if(u.length===0)if(o===";")if(s){this.decl(f,c);return}else break;else if(o==="{"){this.rule(f);return}else if(o==="}"){this.tokenizer.back(f.pop()),n=!0;break}else o===":"&&(s=!0);else o===u[u.length-1]&&(u.pop(),u.length===0&&(a=null));l=this.tokenizer.nextToken()}
vendor: 38,060 bytes, lines 55-59
55if(this.tokenizer.endOfFile()&&(n=!0),u.length>0&&this.unclosedBracket(a),n&&s){if(!c)for(;f.length&&(l=f[f.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,c)}else this.unknownWord(f)},r.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()},r.precheckMissedSemicolon=function(){},r.raw=function(e,n,o,s){for(var a,u,c=o.length,f="",l=!0,h,g,v=0;v<c;v+=1)a=o[v],u=a[0],u==="space"&&v===c-1&&!s?l=!1:u==="comment"?(g=o[v-1]?o[v-1][0]:"empty",h=o[v+1]?o[v+1][0]:"empty",!Al[g]&&!Al[h]?f.slice(-1)===","?l=!1:f+=a[1]:l=!1):f+=a[1];if(!l){var m=o.reduce(function(d,y){return d+y[1]},"");e.raws[n]={raw:m,value:f}}e[n]=f},r.rule=function(e){e.pop();var n=new Rl;this.init(n,e[0][2]),n.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(n,"selector",e),this.current=n},r.spacesAndCommentsFromEnd=function(e){for(var n,o="";e.length&&(n=e[e.length-1][0],!(n!=="space"&&n!=="comment"));)o=e.pop()[1]+o;return o},r.spacesAndCommentsFromStart=function(e){for(var n,o="";e.length&&(n=e[0][0],!(n!=="space"&&n!=="comment"));)o+=e.shift()[1];return o},r.spacesFromEnd=function(e){for(var n,o="";e.length&&(n=e[e.length-1][0],n==="space");)o=e.pop()[1]+o;return o},r.stringFrom=function(e,n){for(var o="",s=n;s<e.length;s++)o+=e[s][1];return e.splice(n,e.length-n),o},r.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},r.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},r.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},r.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},r.unnamedAtrule=function(e,n){throw this.input.error("At-rule without name",{offset:n[2]},{offset:n[2]+n[1].length})},t})(),B_=U_,z_=cr,q_=B_,W_=Mi;function Vi(t,r){var i=new W_(t,r),e=new q_(i);try{e.parse()}catch(n){throw n}return e.root}var fa=Vi;Vi.default=Vi,z_.registerParse(Vi);var et=Ot.isClean,G_=Ot.my,V_=sl,j_=xi,H_=cr,Y_=na,Ol=sa,K_=fa,J_=vn,X_={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Z_={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},Q_={Once:!0,postcssPlugin:!0,prepare:!0},Mr=0;function mn(t){return(typeof t>"u"?"undefined":$(t))==="object"&&typeof t.then=="function"}function kl(t){var r=!1,i=X_[t.type];return t.type==="decl"?r=t.prop.toLowerCase():t.type==="atrule"&&(r=t.name.toLowerCase()),r&&t.append?[i,i+"-"+r,Mr,i+"Exit",i+"Exit-"+r]:r?[i,i+"-"+r,i+"Exit",i+"Exit-"+r]:t.append?[i,Mr,i+"Exit"]:[i,i+"Exit"]}function Tl(t){var r;return t.type==="document"?r=["Document",Mr,"DocumentExit"]:t.type==="root"?r=["Root",Mr,"RootExit"]:r=kl(t),{eventIndex:0,events:r,iterator:0,node:t,visitorIndex:0,visitors:[]}}function la(t){return t[et]=!1,t.nodes&&t.nodes.forEach(function(r){return la(r)}),t}var ha={},Pr=(function(){function t(i,e,n){var o=this;this.stringified=!1,this.processed=!1;var s;if((typeof e>"u"?"undefined":$(e))==="object"&&e!==null&&(e.type==="root"||e.type==="document"))s=la(e);else if(P(e,t)||P(e,Ol))s=la(e.root),e.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=e.map);else{var a=K_;n.syntax&&(a=n.syntax.parse),n.parser&&(a=n.parser),a.parse&&(a=a.parse);try{s=a(e,n)}catch(u){this.processed=!0,this.error=u}s&&!s[G_]&&H_.rebuild(s)}this.result=new Ol(i,s,n),this.helpers=q({},ha,{postcss:ha,result:this.result}),this.plugins=this.processor.plugins.map(function(u){return(typeof u>"u"?"undefined":$(u))==="object"&&u.prepare?q({},u,u.prepare(o.result)):u})}var r=t.prototype;return r.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},r.catch=function(e){return this.async().catch(e)},r.finally=function(e){return this.async().then(e,e)},r.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},r.handleError=function(e,n){var o=this.result.lastPlugin;try{if(n&&n.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=o.postcssPlugin,e.setMessage();else if(o.postcssVersion)var s,a,u,c,f}catch(l){console&&console.error&&console.error(l)}return e},r.prepareVisitors=function(){var e=this;this.listeners={};for(var n=function(f,l,h){e.listeners[l]||(e.listeners[l]=[]),e.listeners[l].push([f,h])},o=x(this.plugins),s;!(s=o()).done;){var a=s.value;if((typeof a>"u"?"undefined":$(a))==="object")for(var u in a){if(!Z_[u]&&/^[A-Z]/.test(u))throw new Error("Unknown event "+u+" in "+a.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!Q_[u])if($(a[u])==="object")for(var c in a[u])c==="*"?n(a,u,a[u][c]):n(a,u+"-"+c.toLowerCase(),a[u][c]);else typeof a[u]=="function"&&n(a,u,a[u])}}this.hasListener=Object.keys(this.listeners).length>0},r.runAsync=function(){var e=this;return Zn(function(){var n,o,s,a,u,c,f,l,h,g,v,m;return sr(this,function(d){switch(d.label){case 0:e.plugin=0,n=0,d.label=1;case 1:if(!(n<e.plugins.length))return[3,6];if(o=e.plugins[n],s=e.runOnRoot(o),!mn(s))return[3,5];d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s];case 3:return d.sent(),[3,5];case 4:throw a=d.sent(),e.handleError(a);case 5:return n++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];u=e.result.root,d.label=7;case 7:if(u[et])return[3,14];u[et]=!0,c=[Tl(u)],d.label=8;case 8:if(!(c.length>0))return[3,13];if(f=e.visitTick(c),!mn(f))return[3,12];d.label=9;case 9:return d.trys.push([9,11,,12]),[4,f];case 10:return d.sent(),[3,12];case 11:throw l=d.sent(),h=c[c.length-1].node,e.handleError(l,h);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];g=function(){var y,_,b,C,S;return sr(this,function(R){switch(R.label){case 0:y=m.value,_=y[0],b=y[1],e.result.lastPlugin=_,R.label=1;case 1:return R.trys.push([1,6,,7]),u.type!=="document"?[3,3]:(C=u.nodes.map(function(T){return b(T,e.helpers)}),[4,Promise.all(C)]);case 2:return R.sent(),[3,5];case 3:return[4,b(u,e.helpers)];case 4:R.sent(),R.label=5;case 5:return[3,7];case 6:throw S=R.sent(),e.handleError(S);case 7:return[2]}})},v=x(e.listeners.OnceExit),d.label=15;case 15:return(m=v()).done?[3,18]:[5,os(g())];case 16:d.sent(),d.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},r.runOnRoot=function(e){var n=this;this.result.lastPlugin=e;try{if((typeof e>"u"?"undefined":$(e))==="object"&&e.Once){if(this.result.root.type==="document"){var o=this.result.root.nodes.map(function(s){return e.Once(s,n.helpers)});return mn(o[0])?Promise.all(o):o}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(s){throw this.handleError(s)}},r.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,n=j_;e.syntax&&(n=e.syntax.stringify),e.stringifier&&(n=e.stringifier),n.stringify&&(n=n.stringify);var o=new V_(n,this.result.root,this.result.opts),s=o.generate();return this.result.css=s[0],this.result.map=s[1],this.result},r.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 e=x(this.plugins),n;!(n=e()).done;){var o=n.value,s=this.runOnRoot(o);if(mn(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var a=this.result.root;!a[et];)a[et]=!0,this.walkSync(a);if(this.listeners.OnceExit)if(a.type==="document")for(var u=x(a.nodes),c;!(c=u()).done;){var f=c.value;this.visitSync(this.listeners.OnceExit,f)}else this.visitSync(this.listeners.OnceExit,a)}return this.result},r.then=function(e,n){return this.async().then(e,n)},r.toString=function(){return this.css},r.visitSync=function(e,n){for(var o=x(e),s;!(s=o()).done;){var a=s.value,u=a[0],c=a[1];this.result.lastPlugin=u;var f=void 0;try{f=c(n,this.helpers)}catch(l){throw this.handleError(l,n.proxyOf)}if(n.type!=="root"&&n.type!=="document"&&!n.parent)return!0;if(mn(f))throw this.getAsyncError()}},r.visitTick=function(e){var n=e[e.length-1],o=n.node,s=n.visitors;if(o.type!=="root"&&o.type!=="document"&&!o.parent){e.pop();return}if(s.length>0&&n.visitorIndex<s.length){var a=s[n.visitorIndex],u=a[0],c=a[1];n.visitorIndex+=1,n.visitorIndex===s.length&&(n.visitors=[],n.visitorIndex=0),this.result.lastPlugin=u;try{return c(o.toProxy(),this.helpers)}catch(v){throw this.handleError(v,o)}}if(n.iterator!==0){for(var f=n.iterator,l;l=o.nodes[o.indexes[f]];)if(o.indexes[f]+=1,!l[et]){l[et]=!0,e.push(Tl(l));return}n.iterator=0,delete o.indexes[f]}for(var h=n.events;n.eventIndex<h.length;){var g=h[n.eventIndex];if(n.eventIndex+=1,g===Mr){o.nodes&&o.nodes.length&&(o[et]=!0,n.iterator=o.getIterator());return}else if(this.listeners[g]){n.visitors=this.listeners[g];return}}e.pop()},r.walkSync=function(e){var n=this;e[et]=!0;for(var o=kl(e),s=x(o),a;!(a=s()).done;){var u=a.value;if(u===Mr)e.nodes&&e.each(function(f){f[et]||n.walkSync(f)});else{var c=this.listeners[u];if(c&&this.visitSync(c,e.toProxy()))return}}},r.warnings=function(){return this.sync().warnings()},oe(t,[{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"}}]),t})();Pr.registerPostcss=function(t){ha=t};var Ml=Pr;Pr.default=Pr,J_.registerLazyResult(Pr),Y_.registerLazyResult(Pr);var ew=sl,tw=xi,rw=fa,nw=sa,pa=(function(){function t(i,e,n){e=e.toString(),this.stringified=!1,this._processor=i,this._css=e,this._opts=n,this._map=void 0;var o,s=tw;this.result=new nw(this._processor,o,this._opts),this.result.css=e;var a=this;Object.defineProperty(this.result,"root",{get:function(){return a.root}});var u=new ew(s,o,this._opts,e);if(u.isMap()){var c=u.generate(),f=c[0],l=c[1];f&&(this.result.css=f),l&&(this.result.map=l)}else u.clearAnnotation(),this.result.css=u.css}var r=t.prototype;return r.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},r.catch=function(e){return this.async().catch(e)},r.finally=function(e){return this.async().then(e,e)},r.sync=function(){if(this.error)throw this.error;return this.result},r.then=function(e,n){return this.async().then(e,n)},r.toString=function(){return this._css},r.warnings=function(){return[]},oe(t,[{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 e,n=rw;try{e=n(this._css,this._opts)}catch(o){this.error=o}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),t})(),iw=pa;pa.default=pa;var ow=iw,sw=Ml,aw=na,uw=vn,yn=(function(){function t(i){i===void 0&&(i=[]),this.version="8.4.38",this.plugins=this.normalize(i)}var r=t.prototype;return r.normalize=function(e){for(var n=[],o=x(e),s;!(s=o()).done;){var a=s.value;if(a.postcss===!0?a=a():a.postcss&&(a=a.postcss),(typeof a>"u"?"undefined":$(a))==="object"&&Array.isArray(a.plugins))n=n.concat(a.plugins);else if((typeof a>"u"?"undefined":$(a))==="object"&&a.postcssPlugin)n.push(a);else if(typeof a=="function")n.push(a);else if(!((typeof a>"u"?"undefined":$(a))==="object"&&(a.parse||a.stringify)))throw new Error(a+" is not a PostCSS plugin")}return n},r.process=function(e,n){return n===void 0&&(n={}),!this.plugins.length&&!n.parser&&!n.stringifier&&!n.syntax?new ow(this,e,n):new sw(this,e,n)},r.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},t})(),cw=yn;yn.default=yn,uw.registerProcessor(yn),aw.registerProcessor(yn);var fw=Oi,lw=Xf,hw=Fi,pw=ua,dw=Mi,vw=vn,gw=ca;function _n(t,r){if(Array.isArray(t))return t.map(function(l){return _n(l)});var i=t.inputs,e=or(t,["inputs"]);if(i){r=[];for(var n=x(i),o;!(o=n()).done;){var s=o.value,a=q({},s,{__proto__:dw.prototype});a.map&&(a.map=q({},a.map,{__proto__:lw.prototype})),r.push(a)}}if(e.nodes&&(e.nodes=t.nodes.map(function(l){return _n(l,r)})),e.source){var u=e.source,c=u.inputId,f=or(u,["inputId"]);e.source=f,c!=null&&(e.source.input=r[c])}if(e.type==="root")return new vw(e);if(e.type==="decl")return new fw(e);if(e.type==="rule")return new gw(e);if(e.type==="comment")return new hw(e);if(e.type==="atrule")return new pw(e);throw new Error("Unknown node type: "+t.type)}var mw=_n;_n.default=_n;var yw=qs,Pl=Oi,_w=Ml,ww=cr,da=cw,bw=xi,Sw=mw,$l=na,Cw=ml,Fl=Fi,Nl=ua,Ew=sa,Iw=Mi,xw=fa,Rw=Il,Ll=ca,Dl=vn,Aw=Ai;function Q(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new da(r)}Q.plugin=function(r,i){var e=!1;function n(){for(var s=arguments.length,a=new Array(s),u=0;u<s;u++)a[u]=arguments[u];console&&console.warn&&!e&&(e=!0,console.warn(r+`: postcss.plugin was deprecated. Migration guide: 56https://evilmartians.com/chronicles/postcss-8-plugin-migration`),ir.env.LANG&&ir.env.LANG.startsWith("cn")&&console.warn(r+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357: 57https://www.w3ctech.com/topic/2226`));var c=i.apply(void 0,[].concat(a));return c.postcssPlugin=r,c.postcssVersion=new da().version,c}var o;return Object.defineProperty(n,"postcss",{get:function(){return o||(o=n()),o}}),n.process=function(s,a,u){return Q([n(u)]).process(s,a)},n},Q.stringify=bw,Q.parse=xw,Q.fromJSON=Sw,Q.list=Rw,Q.comment=function(t){return new Fl(t)},Q.atRule=function(t){return new Nl(t)},Q.decl=function(t){return new Pl(t)},Q.rule=function(t){return new Ll(t)},Q.root=function(t){return new Dl(t)},Q.document=function(t){return new $l(t)},Q.CssSyntaxError=yw,Q.Declaration=Pl,Q.Container=ww,Q.Processor=da,Q.Document=$l,Q.Comment=Fl,Q.Warning=Cw,Q.AtRule=Nl,Q.Result=Ew,Q.Input=Iw,Q.Rule=Ll,Q.Root=Dl,Q.Node=Aw,_w.registerPostcss(Q);var Ow=Q;Q.default=Q;var pe=qy(Ow);pe.stringify,pe.fromJSON,pe.plugin,pe.parse,pe.list,pe.document,pe.comment,pe.atRule,pe.rule,pe.decl,pe.root,pe.CssSyntaxError,pe.Declaration,pe.Container,pe.Processor,pe.Document,pe.Comment,pe.Warning,pe.AtRule,pe.Result,pe.Input,pe.Rule,pe.Root,pe.Node;var kw=(function(){function t(){for(var i=arguments.length,e=new Array(i),n=0;n<i;n++)e[n]=arguments[n];qe(this,"parentElement",null),qe(this,"parentNode",null),qe(this,"ownerDocument"),qe(this,"firstChild",null),qe(this,"lastChild",null),qe(this,"previousSibling",null),qe(this,"nextSibling",null),qe(this,"ELEMENT_NODE",1),qe(this,"TEXT_NODE",3),qe(this,"nodeType"),qe(this,"nodeName"),qe(this,"RRNodeType")}var r=t.prototype;return r.contains=function(e){if(P(e,t)){if(e.ownerDocument!==this.ownerDocument)return!1;if(e===this)return!0}else return!1;for(;e.parentNode;){if(e.parentNode===this)return!0;e=e.parentNode}return!1},r.appendChild=function(e){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")},r.insertBefore=function(e,n){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")},r.removeChild=function(e){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")},r.toString=function(){return"RRNode"},oe(t,[{key:"childNodes",get:function(){for(var e=[],n=this.firstChild;n;)e.push(n),n=n.nextSibling;return e}}]),t})(),Ul={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Bl={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},ji={},Tw=function(){return!!globalThis.Zone};function va(t){if(ji[t])return ji[t];var r=globalThis[t],i=r.prototype,e=t in Ul?Ul[t]:void 0,n=!!(e&&e.every(function(f){var l,h;return!!((h=(l=Object.getOwnPropertyDescriptor(i,f))==null?void 0:l.get)!=null&&h.toString().includes("[native code]"))})),o=t in Bl?Bl[t]:void 0,s=!!(o&&o.every(function(f){var l;return typeof i[f]=="function"&&((l=i[f])==null?void 0:l.toString().includes("[native code]"))}));if(n&&s&&!Tw())return ji[t]=r.prototype,r.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return r.prototype;var c=u[t].prototype;return document.body.removeChild(a),c?ji[t]=c:i}catch{return i}}var ga={};function kt(t,r,i){var e,n=t+"."+String(i);if(ga[n])return ga[n].call(r);var o=va(t),s=(e=Object.getOwnPropertyDescriptor(o,i))==null?void 0:e.get;return s?(ga[n]=s,s.call(r)):r[i]}var ma={};function zl(t,r,i){var e=t+"."+String(i);if(ma[e])return ma[e].bind(r);var n=va(t),o=n[i];return typeof o!="function"?r[i]:(ma[e]=o,o.bind(r))}function Mw(t){return kt("Node",t,"childNodes")}function Pw(t){return kt("Node",t,"parentNode")}function $w(t){return kt("Node",t,"parentElement")}function Fw(t){return kt("Node",t,"textContent")}function Nw(t,r){return zl("Node",t,"contains")(r)}function Lw(t){return zl("Node",t,"getRootNode")()}function Dw(t){return!t||!("host"in t)?null:kt("ShadowRoot",t,"host")}function Uw(t){return t.styleSheets}function Bw(t){return!t||!("shadowRoot"in t)?null:kt("Element",t,"shadowRoot")}function zw(t,r){return kt("Element",t,"querySelector")(r)}function qw(t,r){return kt("Element",t,"querySelectorAll")(r)}function ql(){return va("MutationObserver").constructor}function fr(t,r,i){try{if(!(r in t))return function(){};var e=t[r],n=i(e);return typeof n=="function"&&(n.prototype=n.prototype||{},Object.defineProperties(n,{__rrweb_original__:{enumerable:!1,value:e}})),t[r]=n,function(){t[r]=e}}catch{return function(){}}}var j={childNodes:Mw,parentNode:Pw,parentElement:$w,textContent:Fw,contains:Nw,getRootNode:Lw,host:Dw,styleSheets:Uw,shadowRoot:Bw,querySelector:zw,querySelectorAll:qw,mutationObserver:ql,patch:fr};function Pe(t,r,i){i===void 0&&(i=document);var e={capture:!0,passive:!0};return i.addEventListener(t,r,e),function(){return i.removeEventListener(t,r,e)}}var $r=`Please stop import mirror directly. Instead of that,\r 58now you can use replayer.getMirror() to access the mirror instance of a replayer,\r 59or you can use record.mirror to access the mirror instance during recording.`,Wl={map:{},getId:function(){return console.error($r),-1},getNode:function(){return console.error($r),null},removeNodeFromMap:function(){console.error($r)},has:function(){return console.error($r),!1},reset:function(){console.error($r)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Wl=new Proxy(Wl,{get:function(r,i,e){return i==="map"&&console.error($r),Reflect.get(r,i,e)}}));function wn(t,r,i){i===void 0&&(i={});var e=null,n=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();!n&&i.leading===!1&&(n=u);var c=r-(u-n),f=this;c<=0||c>r?(e&&(clearTimeout(e),e=null),n=u,t.apply(f,s)):!e&&i.trailing!==!1&&(e=setTimeout(function(){n=i.leading===!1?0:Date.now(),e=null,t.apply(f,s)},c))}}function Hi(t,r,i,e,n){n===void 0&&(n=window);var o=n.Object.getOwnPropertyDescriptor(t,r);return n.Object.defineProperty(t,r,e?i:{set:function(a){var u=this;setTimeout(function(){i.set.call(u,a)},0),o&&o.set&&o.set.call(this,a)}}),function(){return Hi(t,r,o||{},!0)}}var Yi=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(Yi=function(){return new Date().getTime()});function Gl(t){var r,i,e,n,o=t.document;return{left:o.scrollingElement?o.scrollingElement.scrollLeft:t.pageXOffset!==void 0?t.pageXOffset:o.documentElement.scrollLeft||o?.body&&((r=j.parentElement(o.body))==null?void 0:r.scrollLeft)||((i=o?.body)==null?void 0:i.scrollLeft)||0,top:o.scrollingElement?o.scrollingElement.scrollTop:t.pageYOffset!==void 0?t.pageYOffset:o?.documentElement.scrollTop||o?.body&&((e=j.parentElement(o.body))==null?void 0:e.scrollTop)||((n=o?.body)==null?void 0:n.scrollTop)||0}}function Vl(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function jl(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Hl(t){if(!t)return null;var r=t.nodeType===t.ELEMENT_NODE?t:j.parentElement(t);return r}function $e(t,r,i,e){if(!t)return!1;var n=Hl(t);if(!n)return!1;try{if(typeof r=="string"){if(n.classList.contains(r)||e&&n.closest("."+r)!==null)return!0}else if(oi(n,r,e))return!0}catch{}return!!(i&&(n.matches(i)||e&&n.closest(i)!==null))}function Ww(t,r){return r.getId(t)!==-1}function ya(t,r,i){return t.tagName==="TITLE"&&i.headTitleMutations?!0:r.getId(t)===on}function Yl(t,r){if(rn(t))return!1;var i=r.getId(t);if(!r.has(i))return!0;var e=j.parentNode(t);return e&&e.nodeType===t.DOCUMENT_NODE?!1:e?Yl(e,r):!0}function _a(t){return!!t.changedTouches}function Gw(t){t===void 0&&(t=window),"NodeList"in t&&!t.NodeList.prototype.forEach&&(t.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in t&&!t.DOMTokenList.prototype.forEach&&(t.DOMTokenList.prototype.forEach=Array.prototype.forEach)}function Kl(t,r){return!!(t.nodeName==="IFRAME"&&r.getMeta(t))}function Jl(t,r){return!!(t.nodeName==="LINK"&&t.nodeType===t.ELEMENT_NODE&&t.getAttribute&&t.getAttribute("rel")==="stylesheet"&&r.getMeta(t))}function wa(t){return t?P(t,kw)&&"shadowRoot"in t?!!t.shadowRoot:!!j.shadowRoot(t):!1}var Vw=(function(){function t(){A(this,"id",1),A(this,"styleIDMap",new WeakMap),A(this,"idStyleMap",new Map)}var r=t.prototype;return r.getId=function(e){var n;return(n=this.styleIDMap.get(e))!=null?n:-1},r.has=function(e){return this.styleIDMap.has(e)},r.add=function(e,n){if(this.has(e))return this.getId(e);var o;return n===void 0?o=this.id++:o=n,this.styleIDMap.set(e,o),this.idStyleMap.set(o,e),o},r.getStyle=function(e){return this.idStyleMap.get(e)||null},r.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},r.generateId=function(){return this.id++},r.remove=function(e){var n=this.styleIDMap.get(e);return n!==void 0?(this.styleIDMap.delete(e),this.idStyleMap.delete(n),!0):!1},t})();function Xl(t){var r,i=null;return"getRootNode"in t&&((r=j.getRootNode(t))==null?void 0:r.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&j.host(j.getRootNode(t))&&(i=j.host(j.getRootNode(t))),i}function jw(t){for(var r=t,i;i=Xl(r);)r=i;return r}function Hw(t){var r=t.ownerDocument;if(!r)return!1;var i=jw(t);return j.contains(r,i)}function Zl(t){var r=t.ownerDocument;return r?j.contains(r,t)||Hw(t):!1}var H=(function(t){return t[t.DomContentLoaded=0]="DomContentLoaded",t[t.Load=1]="Load",t[t.FullSnapshot=2]="FullSnapshot",t[t.IncrementalSnapshot=3]="IncrementalSnapshot",t[t.Meta=4]="Meta",t[t.Custom=5]="Custom",t[t.Plugin=6]="Plugin",t})(H||{}),D=(function(t){return t[t.Mutation=0]="Mutation",t[t.MouseMove=1]="MouseMove",t[t.MouseInteraction=2]="MouseInteraction",t[t.Scroll=3]="Scroll",t[t.ViewportResize=4]="ViewportResize",t[t.Input=5]="Input",t[t.TouchMove=6]="TouchMove",t[t.MediaInteraction=7]="MediaInteraction",t[t.StyleSheetRule=8]="StyleSheetRule",t[t.CanvasMutation=9]="CanvasMutation",t[t.Font=10]="Font",t[t.Log=11]="Log",t[t.Drag=12]="Drag",t[t.StyleDeclaration=13]="StyleDeclaration",t[t.Selection=14]="Selection",t[t.AdoptedStyleSheet=15]="AdoptedStyleSheet",t[t.CustomElement=16]="CustomElement",t})(D||{}),De=(function(t){return t[t.MouseUp=0]="MouseUp",t[t.MouseDown=1]="MouseDown",t[t.Click=2]="Click",t[t.ContextMenu=3]="ContextMenu",t[t.DblClick=4]="DblClick",t[t.Focus=5]="Focus",t[t.Blur=6]="Blur",t[t.TouchStart=7]="TouchStart",t[t.TouchMove_Departed=8]="TouchMove_Departed",t[t.TouchEnd=9]="TouchEnd",t[t.TouchCancel=10]="TouchCancel",t})(De||{}),gt=(function(t){return t[t.Mouse=0]="Mouse",t[t.Pen=1]="Pen",t[t.Touch=2]="Touch",t})(gt||{}),Fr=(function(t){return t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2",t})(Fr||{}),Nr=(function(t){return t[t.Play=0]="Play",t[t.Pause=1]="Pause",t[t.Seeked=2]="Seeked",t[t.VolumeChange=3]="VolumeChange",t[t.RateChange=4]="RateChange",t})(Nr||{}),Ql=(function(t){return t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment",t})(Ql||{});function eh(t){return"__ln"in t}var Yw=(function(){function t(){A(this,"length",0),A(this,"head",null),A(this,"tail",null)}var r=t.prototype;return r.get=function(e){if(e>=this.length)throw new Error("Position outside of list range");for(var n=this.head,o=0;o<e;o++)n=n?.next||null;return n},r.addNode=function(e){var n={value:e,previous:null,next:null};if(e.__ln=n,e.previousSibling&&eh(e.previousSibling)){var o=e.previousSibling.__ln.next;n.next=o,n.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=n,o&&(o.previous=n)}else if(e.nextSibling&&eh(e.nextSibling)&&e.nextSibling.__ln.previous){var s=e.nextSibling.__ln.previous;n.previous=s,n.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=n,s&&(s.next=n)}else this.head&&(this.head.previous=n),n.next=this.head,this.head=n;n.next===null&&(this.tail=n),this.length++},r.removeNode=function(e){var n=e.__ln;this.head&&(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)},t})(),th=function(t,r){return t+"@"+r},Kw=(function(){function t(){var i=this;A(this,"frozen",!1),A(this,"locked",!1),A(this,"texts",[]),A(this,"attributes",[]),A(this,"attributeMap",new WeakMap),A(this,"removes",[]),A(this,"mapRemoves",[]),A(this,"movedMap",{}),A(this,"addedSet",new Set),A(this,"movedSet",new Set),A(this,"droppedSet",new Set),A(this,"removesSubTreeCache",new Set),A(this,"mutationCb"),A(this,"blockClass"),A(this,"blockSelector"),A(this,"maskTextClass"),A(this,"maskTextSelector"),A(this,"inlineStylesheet"),A(this,"maskInputOptions"),A(this,"maskTextFn"),A(this,"maskInputFn"),A(this,"keepIframeSrcFn"),A(this,"recordCanvas"),A(this,"inlineImages"),A(this,"slimDOMOptions"),A(this,"dataURLOptions"),A(this,"doc"),A(this,"mirror"),A(this,"iframeManager"),A(this,"stylesheetManager"),A(this,"shadowDomManager"),A(this,"canvasManager"),A(this,"processedNodeManager"),A(this,"unattachedDoc"),A(this,"processMutations",function(e){e.forEach(i.processMutation),i.emit()}),A(this,"emit",function(){if(!(i.frozen||i.locked)){for(var e=[],n=new Set,o=new Yw,s=function(N){for(var V=N,ve=on;ve===on;)V=V&&V.nextSibling,ve=V&&i.mirror.getId(V);return ve},a=function(N){var V=j.parentNode(N);if(!(!V||!Zl(N))){var ve=!1;if(N.nodeType===Node.TEXT_NODE){var K=V.tagName;if(K==="TEXTAREA")return;K==="STYLE"&&i.addedSet.has(V)&&(ve=!0)}var Ue=rn(V)?i.mirror.getId(Xl(N)):i.mirror.getId(V),Fe=s(N);if(Ue===-1||Fe===-1)return o.addNode(N);var Oe=Rr(N,{doc:i.doc,mirror:i.mirror,blockClass:i.blockClass,blockSelector:i.blockSelector,maskTextClass:i.maskTextClass,maskTextSelector:i.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:i.inlineStylesheet,maskInputOptions:i.maskInputOptions,maskTextFn:i.maskTextFn,maskInputFn:i.maskInputFn,slimDOMOptions:i.slimDOMOptions,dataURLOptions:i.dataURLOptions,recordCanvas:i.recordCanvas,inlineImages:i.inlineImages,onSerialize:function(fe){Kl(fe,i.mirror)&&i.iframeManager.addIframe(fe),Jl(fe,i.mirror)&&i.stylesheetManager.trackLinkElement(fe),wa(N)&&i.shadowDomManager.addShadowRoot(j.shadowRoot(N),i.doc)},onIframeLoad:function(fe,xe){i.iframeManager.attachIframe(fe,xe),i.shadowDomManager.observeAttachShadow(fe)},onStylesheetLoad:function(fe,xe){i.stylesheetManager.attachLinkElement(fe,xe)},cssCaptured:ve});Oe&&(e.push({parentId:Ue,nextId:Fe,node:Oe}),n.add(Oe.id))}};i.mapRemoves.length;){var u=i.mapRemoves.shift();i.cleanupRemovedNode(u),i.mirror.removeNodeFromMap(u)}for(var c=x(i.movedSet),f;!(f=c()).done;){var l=f.value;rh(i.removesSubTreeCache,l,i.mirror)&&!i.movedSet.has(j.parentNode(l))||a(l)}for(var h=x(i.addedSet),g;!(g=h()).done;){var v=g.value;!nh(i.droppedSet,v)&&!rh(i.removesSubTreeCache,v,i.mirror)||nh(i.movedSet,v)?a(v):i.droppedSet.add(v)}for(var m=null;o.length;){var d=null;if(m){var y=i.mirror.getId(j.parentNode(m.value)),_=s(m.value);y!==-1&&_!==-1&&(d=m)}if(!d)for(var b=o.tail;b;){var C=b;if(b=b.previous,C){var S=i.mirror.getId(j.parentNode(C.value)),R=s(C.value);if(R===-1)continue;if(S!==-1){d=C;break}else{var T=C.value,O=j.parentNode(T);if(O&&O.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var F=j.host(O),W=i.mirror.getId(F);if(W!==-1){d=C;break}}}}}if(!d){for(;o.head;)o.removeNode(o.head.value);break}m=d.previous,o.removeNode(d.value),a(d.value)}var ge={texts:i.texts.map(function(N){var V=N.node,ve=j.parentNode(V);return ve&&ve.tagName==="TEXTAREA"&&i.genTextAreaValueMutation(ve),{id:i.mirror.getId(V),value:N.value}}).filter(function(N){return!n.has(N.id)}).filter(function(N){return i.mirror.has(N.id)}),attributes:i.attributes.map(function(N){var V=N.attributes;if(typeof V.style=="string"){var ve=JSON.stringify(N.styleDiff),K=JSON.stringify(N._unchangedStyles);ve.length<V.style.length&&(ve+K).split("var(").length===V.style.split("var(").length&&(V.style=N.styleDiff)}return{id:i.mirror.getId(N.node),attributes:V}}).filter(function(N){return!n.has(N.id)}).filter(function(N){return i.mirror.has(N.id)}),removes:i.removes,adds:e};!ge.texts.length&&!ge.attributes.length&&!ge.removes.length&&!ge.adds.length||(i.texts=[],i.attributes=[],i.attributeMap=new WeakMap,i.removes=[],i.addedSet=new Set,i.movedSet=new Set,i.droppedSet=new Set,i.removesSubTreeCache=new Set,i.movedMap={},i.mutationCb(ge))}}),A(this,"genTextAreaValueMutation",function(e){var n=i.attributeMap.get(e);n||(n={node:e,attributes:{},styleDiff:{},_unchangedStyles:{}},i.attributes.push(n),i.attributeMap.set(e,n));var o=Array.from(j.childNodes(e),function(s){return j.textContent(s)||""}).join("");n.attributes.value=ti({element:e,maskInputOptions:i.maskInputOptions,tagName:e.tagName,type:ri(e),value:o,maskInputFn:i.maskInputFn})}),A(this,"processMutation",function(e){if(!ya(e.target,i.mirror,i.slimDOMOptions))switch(e.type){case"characterData":{var n=j.textContent(e.target);!$e(e.target,i.blockClass,i.blockSelector,!1)&&n!==e.oldValue&&i.texts.push({value:Hc(e.target,i.maskTextClass,i.maskTextSelector,!0)&&n?i.maskTextFn?i.maskTextFn(n,Hl(e.target)):n.replace(/[\S]/g,"*"):n,node:e.target});break}case"attributes":{var o=e.target,s=e.attributeName,a=e.target.getAttribute(s);if(s==="value"){var u=ri(o);a=ti({element:o,maskInputOptions:i.maskInputOptions,tagName:o.tagName,type:u,value:a,maskInputFn:i.maskInputFn})}if($e(e.target,i.blockClass,i.blockSelector,!1)||a===e.oldValue)return;var c=i.attributeMap.get(e.target);if(o.tagName==="IFRAME"&&s==="src"&&!i.keepIframeSrcFn(a))if(!o.contentDocument)s="rr_src";else return;if(c||(c={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},i.attributes.push(c),i.attributeMap.set(e.target,c)),s==="type"&&o.tagName==="INPUT"&&(e.oldValue||"").toLowerCase()==="password"&&o.setAttribute("data-rr-is-password","true"),!jc(o.tagName,s))if(c.attributes[s]=Vc(i.doc,ar(o.tagName),ar(s),a),s==="style"){if(!i.unattachedDoc)try{i.unattachedDoc=document.implementation.createHTMLDocument()}catch{i.unattachedDoc=i.doc}var f=i.unattachedDoc.createElement("span");e.oldValue&&f.setAttribute("style",e.oldValue);for(var l=x(Array.from(o.style)),h;!(h=l()).done;){var g=h.value,v=o.style.getPropertyValue(g),m=o.style.getPropertyPriority(g);v!==f.style.getPropertyValue(g)||m!==f.style.getPropertyPriority(g)?m===""?c.styleDiff[g]=v:c.styleDiff[g]=[v,m]:c._unchangedStyles[g]=[v,m]}for(var d=x(Array.from(f.style)),y;!(y=d()).done;){var _=y.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($e(e.target,i.blockClass,i.blockSelector,!0))return;if(e.target.tagName==="TEXTAREA"){i.genTextAreaValueMutation(e.target);return}e.addedNodes.forEach(function(b){return i.genAdds(b,e.target)}),e.removedNodes.forEach(function(b){var C=i.mirror.getId(b),S=rn(e.target)?i.mirror.getId(j.host(e.target)):i.mirror.getId(e.target);$e(e.target,i.blockClass,i.blockSelector,!1)||ya(b,i.mirror,i.slimDOMOptions)||!Ww(b,i.mirror)||(i.addedSet.has(b)?(ba(i.addedSet,b),i.droppedSet.add(b)):i.addedSet.has(e.target)&&C===-1||Yl(e.target,i.mirror)||(i.movedSet.has(b)&&i.movedMap[th(C,S)]?ba(i.movedSet,b):(i.removes.push({parentId:S,id:C,isShadow:rn(e.target)&&nn(e.target)?!0:void 0}),Jw(b,i.removesSubTreeCache))),i.mapRemoves.push(b))});break}}}),A(this,"genAdds",function(e,n){if(!i.processedNodeManager.inOtherBuffer(e,i)&&!(i.addedSet.has(e)||i.movedSet.has(e))){if(i.mirror.hasNode(e)){if(ya(e,i.mirror,i.slimDOMOptions))return;i.movedSet.add(e);var o=null;n&&i.mirror.hasNode(n)&&(o=i.mirror.getId(n)),o&&o!==-1&&(i.movedMap[th(i.mirror.getId(e),o)]=!0)}else i.addedSet.add(e),i.droppedSet.delete(e);$e(e,i.blockClass,i.blockSelector,!1)||(j.childNodes(e).forEach(function(s){return i.genAdds(s)}),wa(e)&&j.childNodes(j.shadowRoot(e)).forEach(function(s){i.processedNodeManager.add(s,i),i.genAdds(s,e)}))}}),A(this,"cleanupRemovedNode",function(e){if(e.nodeName==="IFRAME")try{i.iframeManager.removeIframe(e)}catch{}else try{i.stylesheetManager.cleanupStylesheetsForRemovedNode(e)}catch{}e.childNodes.forEach(function(n){i.cleanupRemovedNode(n)})})}var r=t.prototype;return r.init=function(e){var n=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){n[o]=e[o]})},r.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},r.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},r.isFrozen=function(){return this.frozen},r.lock=function(){this.locked=!0,this.canvasManager.lock()},r.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},r.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},r.getDoc=function(){return this.doc},t})();function ba(t,r){t.delete(r),j.childNodes(r).forEach(function(i){return ba(t,i)})}function Jw(t,r){for(var i=[t];i.length;){var e=i.pop();r.has(e)||(r.add(e),j.childNodes(e).forEach(function(n){return i.push(n)}))}}function rh(t,r,i){return t.size===0?!1:Xw(t,r)}function Xw(t,r,i){var e=j.parentNode(r);return e?t.has(e):!1}function nh(t,r){return t.size===0?!1:ih(t,r)}function ih(t,r){var i=j.parentNode(r);return i?t.has(i)?!0:ih(t,i):!1}var bn;function Zw(t){bn=t}function Qw(){bn=void 0}var Y=function(t){if(!bn)return t;var r=function(){for(var i=arguments.length,e=new Array(i),n=0;n<i;n++)e[n]=arguments[n];try{return t.apply(void 0,[].concat(e))}catch(o){if(bn&&bn(o)===!0)return;throw o}};return r},tt=[];function Sn(t){try{if("composedPath"in t){var r=t.composedPath();if(r.length)return r[0]}else if("path"in t&&t.path.length)return t.path[0]}catch{}return t&&t.target}function oh(t,r){var i=new Kw;tt.push(i),i.init(t);var e=new(ql())(Y(i.processMutations.bind(i)));return e.observe(r,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),e}function eb(t){for(var r=tt.length-1;r>=0;r--){var i=tt[r];i.getDoc()===t&&tt.splice(r,1)}}function tb(t){var r=t.mousemoveCb,i=t.sampling,e=t.doc,n=t.mirror;if(i.mousemove===!1)return function(){};var o=typeof i.mousemove=="number"?i.mousemove:50,s=typeof i.mousemoveCallback=="number"?i.mousemoveCallback:500,a=[],u,c=wn(Y(function(h){var g=Date.now()-u;r(a.map(function(v){return v.timeOffset-=g,v}),h),a=[],u=null}),s),f=Y(wn(Y(function(h){var g=Sn(h),v=_a(h)?h.changedTouches[0]:h,m=v.clientX,d=v.clientY;u||(u=Yi()),a.push({x:m,y:d,id:n.getId(g),timeOffset:Yi()-u}),c(typeof DragEvent<"u"&&P(h,DragEvent)?D.Drag:P(h,MouseEvent)?D.MouseMove:D.TouchMove)}),o,{trailing:!1})),l=[Pe("mousemove",f,e),Pe("touchmove",f,e),Pe("drag",f,e)];return Y(function(){l.forEach(function(h){return h()})})}function rb(t){var r=t.mouseInteractionCb,i=t.doc,e=t.mirror,n=t.blockClass,o=t.blockSelector,s=t.sampling;if(s.mouseInteraction===!1)return function(){};var a=s.mouseInteraction===!0||s.mouseInteraction===void 0?{}:s.mouseInteraction,u=[],c=null,f=function(l){return function(h){var g=Sn(h);if(!$e(g,n,o,!0)){var v=null,m=l;if("pointerType"in h){switch(h.pointerType){case"mouse":v=gt.Mouse;break;case"touch":v=gt.Touch;break;case"pen":v=gt.Pen;break}v===gt.Touch?De[l]===De.MouseDown?m="TouchStart":De[l]===De.MouseUp&&(m="TouchEnd"):gt.Pen}else _a(h)&&(v=gt.Touch);v!==null?(c=v,(m.startsWith("Touch")&&v===gt.Touch||m.startsWith("Mouse")&&v===gt.Mouse)&&(v=null)):De[l]===De.Click&&(v=c,c=null);var d=_a(h)?h.changedTouches[0]:h;if(d){var y=e.getId(g),_=d.clientX,b=d.clientY;Y(r)(q({type:De[m],id:y,x:_,y:b},v!==null&&{pointerType:v}))}}}};return Object.keys(De).filter(function(l){return Number.isNaN(Number(l))&&!l.endsWith("_Departed")&&a[l]!==!1}).forEach(function(l){var h=ar(l),g=f(l);
vendor: 5,617 bytes, line 59
59if(window.PointerEvent)switch(De[l]){case De.MouseDown:case De.MouseUp:h=h.replace("mouse","pointer");break;case De.TouchStart:case De.TouchEnd:return}u.push(Pe(h,g,i))}),Y(function(){u.forEach(function(l){return l()})})}function sh(t){var r=t.scrollCb,i=t.doc,e=t.mirror,n=t.blockClass,o=t.blockSelector,s=t.sampling,a=Y(wn(Y(function(u){var c=Sn(u);if(!(!c||$e(c,n,o,!0))){var f=e.getId(c);if(c===i&&i.defaultView){var l=Gl(i.defaultView);r({id:f,x:l.left,y:l.top})}else r({id:f,x:c.scrollLeft,y:c.scrollTop})}}),s.scroll||100));return Pe("scroll",a,i)}function nb(t,r){var i=t.viewportResizeCb,e=r.win,n=-1,o=-1,s=Y(wn(Y(function(){var a=Vl(),u=jl();(n!==a||o!==u)&&(i({width:Number(u),height:Number(a)}),n=a,o=u)}),200));return Pe("resize",s,e)}var ib=["INPUT","TEXTAREA","SELECT"],ah=new WeakMap;function ob(t){var r=t.inputCb,i=t.doc,e=t.mirror,n=t.blockClass,o=t.blockSelector,s=t.ignoreClass,a=t.ignoreSelector,u=t.maskInputOptions,c=t.maskInputFn,f=t.sampling,l=t.userTriggeredOnInput;function h(C){var S=Sn(C),R=C.isTrusted,T=S&&S.tagName;if(S&&T==="OPTION"&&(S=j.parentElement(S)),!(!S||!T||ib.indexOf(T)<0||$e(S,n,o,!0))&&!(S.classList.contains(s)||a&&S.matches(a))){var O=S.value,F=!1,W=ri(S)||"";W==="radio"||W==="checkbox"?F=S.checked:(u[T.toLowerCase()]||u[W])&&(O=ti({element:S,maskInputOptions:u,tagName:T,type:W,value:O,maskInputFn:c})),g(S,l?{text:O,isChecked:F,userTriggered:R}:{text:O,isChecked:F});var ge=S.name;W==="radio"&&ge&&F&&i.querySelectorAll('input[type="radio"][name="'+ge+'"]').forEach(function(N){if(N!==S){var V=N.value;g(N,l?{text:V,isChecked:!F,userTriggered:!1}:{text:V,isChecked:!F})}})}}function g(C,S){var R=ah.get(C);if(!R||R.text!==S.text||R.isChecked!==S.isChecked){ah.set(C,S);var T=e.getId(C);Y(r)(q({},S,{id:T}))}}var v=f.input==="last"?["change"]:["input","change"],m=v.map(function(C){return Pe(C,Y(h),i)}),d=i.defaultView;if(!d)return function(){m.forEach(function(C){return C()})};var y=d.Object.getOwnPropertyDescriptor(d.HTMLInputElement.prototype,"value"),_=[[d.HTMLInputElement.prototype,"value"],[d.HTMLInputElement.prototype,"checked"],[d.HTMLSelectElement.prototype,"value"],[d.HTMLTextAreaElement.prototype,"value"],[d.HTMLSelectElement.prototype,"selectedIndex"],[d.HTMLOptionElement.prototype,"selected"]];if(y&&y.set){var b;(b=m).push.apply(b,[].concat(_.map(function(C){return Hi(C[0],C[1],{set:function(){Y(h)({target:this,isTrusted:!1})}},!1,d)})))}return Y(function(){m.forEach(function(C){return C()})})}function Ki(t){var r=[];function i(e,n){if(Ji("CSSGroupingRule")&&P(e.parentRule,CSSGroupingRule)||Ji("CSSMediaRule")&&P(e.parentRule,CSSMediaRule)||Ji("CSSSupportsRule")&&P(e.parentRule,CSSSupportsRule)||Ji("CSSConditionRule")&&P(e.parentRule,CSSConditionRule)){var o=Array.from(e.parentRule.cssRules),s=o.indexOf(e);n.unshift(s)}else if(e.parentStyleSheet){var a=Array.from(e.parentStyleSheet.cssRules),u=a.indexOf(e);n.unshift(u)}return n}return i(t,r)}function Tt(t,r,i){var e,n;return t?(t.ownerNode?e=r.getId(t.ownerNode):n=i.getId(t),{styleId:n,id:e}):{}}function sb(t,r){var i=t.styleSheetRuleCb,e=t.mirror,n=t.stylesheetManager,o=r.win;if(!o.CSSStyleSheet||!o.CSSStyleSheet.prototype)return function(){};var s=o.CSSStyleSheet.prototype.insertRule;o.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:Y(function(h,g,v){var m=v[0],d=v[1],y=Tt(g,e,n.styleMirror),_=y.id,b=y.styleId;return(_&&_!==-1||b&&b!==-1)&&i({id:_,styleId:b,adds:[{rule:m,index:d}]}),h.apply(g,v)})}),o.CSSStyleSheet.prototype.addRule=function(h,g,v){v===void 0&&(v=this.cssRules.length);var m=h+" { "+g+" }";return o.CSSStyleSheet.prototype.insertRule.apply(this,[m,v])};var a=o.CSSStyleSheet.prototype.deleteRule;o.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:Y(function(h,g,v){var m=v[0],d=Tt(g,e,n.styleMirror),y=d.id,_=d.styleId;return(y&&y!==-1||_&&_!==-1)&&i({id:y,styleId:_,removes:[{index:m}]}),h.apply(g,v)})}),o.CSSStyleSheet.prototype.removeRule=function(h){return o.CSSStyleSheet.prototype.deleteRule.apply(this,[h])};var u;o.CSSStyleSheet.prototype.replace&&(u=o.CSSStyleSheet.prototype.replace,o.CSSStyleSheet.prototype.replace=new Proxy(u,{apply:Y(function(h,g,v){var m=v[0],d=Tt(g,e,n.styleMirror),y=d.id,_=d.styleId;return(y&&y!==-1||_&&_!==-1)&&i({id:y,styleId:_,replace:m}),h.apply(g,v)})}));var c;o.CSSStyleSheet.prototype.replaceSync&&(c=o.CSSStyleSheet.prototype.replaceSync,o.CSSStyleSheet.prototype.replaceSync=new Proxy(c,{apply:Y(function(h,g,v){var m=v[0],d=Tt(g,e,n.styleMirror),y=d.id,_=d.styleId;return(y&&y!==-1||_&&_!==-1)&&i({id:y,styleId:_,replaceSync:m}),h.apply(g,v)})}));var f={};Xi("CSSGroupingRule")?f.CSSGroupingRule=o.CSSGroupingRule:(Xi("CSSMediaRule")&&(f.CSSMediaRule=o.CSSMediaRule),Xi("CSSConditionRule")&&(f.CSSConditionRule=o.CSSConditionRule),Xi("CSSSupportsRule")&&(f.CSSSupportsRule=o.CSSSupportsRule));var l={};return Object.entries(f).forEach(function(h){var g=h[0],v=h[1];l[g]={insertRule:v.prototype.insertRule,deleteRule:v.prototype.deleteRule},v.prototype.insertRule=new Proxy(l[g].insertRule,{apply:Y(function(m,d,y){var _=y[0],b=y[1],C=Tt(d.parentStyleSheet,e,n.styleMirror),S=C.id,R=C.styleId;return(S&&S!==-1||R&&R!==-1)&&i({id:S,styleId:R,adds:[{rule:_,index:[].concat(Ki(d),[b||0])}]}),m.apply(d,y)})}),v.prototype.deleteRule=new Proxy(l[g].deleteRule,{apply:Y(function(m,d,y){var _=y[0],b=Tt(d.parentStyleSheet,e,n.styleMirror),C=b.id,S=b.styleId;return(C&&C!==-1||S&&S!==-1)&&i({id:C,styleId:S,removes:[{index:[].concat(Ki(d),[_])}]}),m.apply(d,y)})})}),Y(function(){o.CSSStyleSheet.prototype.insertRule=s,o.CSSStyleSheet.prototype.deleteRule=a,u&&(o.CSSStyleSheet.prototype.replace=u),c&&
vendor: 10,499 bytes, line 59
59(o.CSSStyleSheet.prototype.replaceSync=c),Object.entries(f).forEach(function(h){var g=h[0],v=h[1];v.prototype.insertRule=l[g].insertRule,v.prototype.deleteRule=l[g].deleteRule})})}function uh(t,r){var i=t.mirror,e=t.stylesheetManager,n,o,s,a=null;r.nodeName==="#document"?a=i.getId(r):a=i.getId(j.host(r));var u=r.nodeName==="#document"?(n=r.defaultView)==null?void 0:n.Document:(s=(o=r.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(r,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:function(){var l;return(l=c.get)==null?void 0:l.call(this)},set:function(l){var h,g=(h=c.set)==null?void 0:h.call(this,l);if(a!==null&&a!==-1)try{e.adoptStyleSheets(l,a)}catch{}return g}}),Y(function(){Object.defineProperty(r,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})}))}function ab(t,r){var i=t.styleDeclarationCb,e=t.mirror,n=t.ignoreCSSAttributes,o=t.stylesheetManager,s=r.win,a=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:Y(function(c,f,l){var h,g=l[0],v=l[1],m=l[2];if(n.has(g))return a.apply(f,[g,v,m]);var d=Tt((h=f.parentRule)==null?void 0:h.parentStyleSheet,e,o.styleMirror),y=d.id,_=d.styleId;return(y&&y!==-1||_&&_!==-1)&&i({id:y,styleId:_,set:{property:g,value:v,priority:m},index:Ki(f.parentRule)}),c.apply(f,l)})});var u=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(u,{apply:Y(function(c,f,l){var h,g=l[0];if(n.has(g))return u.apply(f,[g]);var v=Tt((h=f.parentRule)==null?void 0:h.parentStyleSheet,e,o.styleMirror),m=v.id,d=v.styleId;return(m&&m!==-1||d&&d!==-1)&&i({id:m,styleId:d,remove:{property:g},index:Ki(f.parentRule)}),c.apply(f,l)})}),Y(function(){s.CSSStyleDeclaration.prototype.setProperty=a,s.CSSStyleDeclaration.prototype.removeProperty=u})}function ub(t){var r=t.mediaInteractionCb,i=t.blockClass,e=t.blockSelector,n=t.mirror,o=t.sampling,s=t.doc,a=Y(function(c){return wn(Y(function(f){var l=Sn(f);if(!(!l||$e(l,i,e,!0))){var h=l.currentTime,g=l.volume,v=l.muted,m=l.playbackRate,d=l.loop;r({type:c,id:n.getId(l),currentTime:h,volume:g,muted:v,playbackRate:m,loop:d})}}),o.media||500)}),u=[Pe("play",a(Nr.Play),s),Pe("pause",a(Nr.Pause),s),Pe("seeked",a(Nr.Seeked),s),Pe("volumechange",a(Nr.VolumeChange),s),Pe("ratechange",a(Nr.RateChange),s)];return Y(function(){u.forEach(function(c){return c()})})}function cb(t){var r=t.fontCb,i=t.doc,e=i.defaultView;if(!e)return function(){};var n=[],o=new WeakMap,s=e.FontFace;e.FontFace=function(c,f,l){var h=new s(c,f,l);return o.set(h,{family:c,buffer:typeof f!="string",descriptors:l,fontSource:typeof f=="string"?f:JSON.stringify(Array.from(new Uint8Array(f)))}),h};var a=fr(i.fonts,"add",function(u){return function(c){return setTimeout(Y(function(){var f=o.get(c);f&&(r(f),o.delete(c))}),0),u.apply(this,[c])}});return n.push(function(){e.FontFace=s}),n.push(a),Y(function(){n.forEach(function(u){return u()})})}function fb(t){var r=t.doc,i=t.mirror,e=t.blockClass,n=t.blockSelector,o=t.selectionCb,s=!0,a=Y(function(){var u=r.getSelection();if(!(!u||s&&u?.isCollapsed)){s=u.isCollapsed||!1;for(var c=[],f=u.rangeCount||0,l=0;l<f;l++){var h=u.getRangeAt(l),g=h.startContainer,v=h.startOffset,m=h.endContainer,d=h.endOffset,y=$e(g,e,n,!0)||$e(m,e,n,!0);y||c.push({start:i.getId(g),startOffset:v,end:i.getId(m),endOffset:d})}o({ranges:c})}});return a(),Pe("selectionchange",a)}function lb(t){var r=t.doc,i=t.customElementCb,e=r.defaultView;if(!e||!e.customElements)return function(){};var n=fr(e.customElements,"define",function(o){return function(s,a,u){try{i({define:{name:s}})}catch{console.warn("Custom element callback failed for "+s)}return o.apply(this,[s,a,u])}});return n}function hb(t,r){var i=t.mutationCb,e=t.mousemoveCb,n=t.mouseInteractionCb,o=t.scrollCb,s=t.viewportResizeCb,a=t.inputCb,u=t.mediaInteractionCb,c=t.styleSheetRuleCb,f=t.styleDeclarationCb,l=t.canvasMutationCb,h=t.fontCb,g=t.selectionCb,v=t.customElementCb;t.mutationCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(r.mutation){var _;(_=r).mutation.apply(_,[].concat(d))}i.apply(void 0,[].concat(d))},t.mousemoveCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(r.mousemove){var _;(_=r).mousemove.apply(_,[].concat(d))}e.apply(void 0,[].concat(d))},t.mouseInteractionCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(r.mouseInteraction){var _;(_=r).mouseInteraction.apply(_,[].concat(d))}n.apply(void 0,[].concat(d))},t.scrollCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(r.scroll){var _;(_=r).scroll.apply(_,[].concat(d))}o.apply(void 0,[].concat(d))},t.viewportResizeCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(r.viewportResize){var _;(_=r).viewportResize.apply(_,[].concat(d))}s.apply(void 0,[].concat(d))},t.inputCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(r.input){var _;(_=r).input.apply(_,[].concat(d))}a.apply(void 0,[].concat(d))},t.mediaInteractionCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(r.mediaInteaction){var _;(_=r).mediaInteaction.apply(_,[].concat(d))}u.apply(void 0,[].concat(d))},t.styleSheetRuleCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(r.styleSheetRule){var _;(_=r).styleSheetRule.apply(_,[].concat(d))}c.apply(void 0,[].concat(d))},t.styleDeclarationCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(r.styleDeclaration){var _;(_=r).styleDeclaration.apply(_,[].concat(d))}f.apply(void 0,[].concat(d))},t.canvasMutationCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(r.canvasMutation){var _;(_=r).canvasMutation.apply(_,[].concat(d))}l.apply(void 0,[].concat(d))},t.fontCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(r.font){var _;(_=r).font.apply(_,[].concat(d))}h.apply(void 0,[].concat(d))},t.selectionCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(r.selection){var _;(_=r).selection.apply(_,[].concat(d))}g.apply(void 0,[].concat(d))},t.customElementCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(r.customElement){var _;(_=r).customElement.apply(_,[].concat(d))}v.apply(void 0,[].concat(d))}}function pb(t,r){r===void 0&&(r={});var i=t.doc.defaultView;if(!i)return function(){};hb(t,r);var e;t.recordDOM&&(e=oh(t,t.doc));var n=tb(t),o=rb(t),s=sh(t),a=nb(t,{win:i}),u=ob(t),c=ub(t),f=function(){},l=function(){},h=function(){},g=function(){};t.recordDOM&&(f=sb(t,{win:i}),l=uh(t,t.doc),h=ab(t,{win:i}),t.collectFonts&&(g=cb(t)));for(var v=fb(t),m=lb(t),d=[],y=x(t.plugins),_;!(_=y()).done;){var b=_.value;d.push(b.observer(b.callback,i,b.options))}return Y(function(){tt.forEach(function(C){return C.reset()}),e?.disconnect(),n(),o(),s(),a(),u(),c(),f(),l(),h(),g(),v(),m(),d.forEach(function(C){return C()})})}function Ji(t){return typeof window[t]<"u"}function Xi(t){return!!(typeof window[t]<"u"&&window[t].prototype&&"insertRule"in window[t].prototype&&"deleteRule"in window[t].prototype)}for(var ch=(function(){function t(i){A(this,"iframeIdToRemoteIdMap",new WeakMap),A(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=i}var r=t.prototype;return r.getId=function(e,n,o,s){var a=o||this.getIdToRemoteIdMap(e),u=s||this.getRemoteIdToIdMap(e),c=a.get(n);return c||(c=this.generateIdFn(),a.set(n,c),u.set(c,n)),c},r.getIds=function(e,n){var o=this,s=this.getIdToRemoteIdMap(e),a=this.getRemoteIdToIdMap(e);return n.map(function(u){return o.getId(e,u,s,a)})},r.getRemoteId=function(e,n,o){var s=o||this.getRemoteIdToIdMap(e);if(typeof n!="number")return n;var a=s.get(n);return a||-1},r.getRemoteIds=function(e,n){var o=this,s=this.getRemoteIdToIdMap(e);return n.map(function(a){return o.getRemoteId(e,a,s)})},r.reset=function(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)},r.getIdToRemoteIdMap=function(e){var n=this.iframeIdToRemoteIdMap.get(e);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(e,n)),n},r.getRemoteIdToIdMap=function(e){var n=this.iframeRemoteIdToIdMap.get(e);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(e,n)),n},t})(),db=(function(){function t(i){A(this,"iframes",new WeakMap),A(this,"crossOriginIframeMap",new WeakMap),A(this,"crossOriginIframeMirror",new ch(qc)),A(this,"crossOriginIframeStyleMirror"),A(this,"crossOriginIframeRootIdMap",new WeakMap),A(this,"iframeContentDocumentMap",new WeakMap),A(this,"iframeObserverCleanupMap",new WeakMap),A(this,"mirror"),A(this,"mutationCb"),A(this,"wrappedEmit"),A(this,"loadListener"),A(this,"stylesheetManager"),A(this,"recordCrossOriginIframes"),this.mutationCb=i.mutationCb,this.wrappedEmit=i.wrappedEmit,this.stylesheetManager=i.stylesheetManager,this.recordCrossOriginIframes=i.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new ch(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=i.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var r=t.prototype;return r.addIframe=function(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)},r.getIframeContentDocument=function(e){return this.iframeContentDocumentMap.get(e)},r.setObserverCleanup=function(e,n){this.iframeObserverCleanupMap.set(e,n)},r.getObserverCleanup=function(e){return this.iframeObserverCleanupMap.get(e)},r.removeIframe=function(e){var n=this.iframeContentDocumentMap.get(e);n&&(this.stylesheetManager.cleanupStylesheetsForRemovedNode(n),this.mirror.removeNodeFromMap(n,!0)),this.iframes.delete(e),this.iframeContentDocumentMap.delete(e);var o=this.iframeObserverCleanupMap.get(e);if(o){try{o()}catch{}this.iframeObserverCleanupMap.delete(e)}},r.addLoadListener=function(e){this.loadListener=e},r.attachIframe=function(e,n){var o,s;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}
vendor: 4,736 bytes, line 59
59),e.contentDocument&&this.iframeContentDocumentMap.set(e,e.contentDocument),this.recordCrossOriginIframes&&((o=e.contentWindow)==null||o.addEventListener("message",this.handleMessage.bind(this))),(s=this.loadListener)==null||s.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))},r.handleMessage=function(e){var n=e;if(!(n.data.type!=="rrweb"||n.origin!==n.data.origin)){var o=e.source;if(o){var s=this.crossOriginIframeMap.get(e.source);if(s){var a=this.transformCrossOriginEvent(s,n.data.event);a&&this.wrappedEmit(a,n.data.isCheckout)}}}},r.transformCrossOriginEvent=function(e,n){var o=this,s;switch(n.type){case H.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(n.data.node,e);var a=n.data.node.id;return this.crossOriginIframeRootIdMap.set(e,a),this.patchRootIdOnNode(n.data.node,a),{timestamp:n.timestamp,type:H.IncrementalSnapshot,data:{source:D.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case H.Meta:case H.Load:case H.DomContentLoaded:return!1;case H.Plugin:return n;case H.Custom:return this.replaceIds(n.data.payload,e,["id","parentId","previousId","nextId"]),n;case H.IncrementalSnapshot:switch(n.data.source){case D.Mutation:return n.data.adds.forEach(function(u){o.replaceIds(u,e,["parentId","nextId","previousId"]),o.replaceIdOnNode(u.node,e);var c=o.crossOriginIframeRootIdMap.get(e);c&&o.patchRootIdOnNode(u.node,c)}),n.data.removes.forEach(function(u){o.replaceIds(u,e,["parentId","id"])}),n.data.attributes.forEach(function(u){o.replaceIds(u,e,["id"])}),n.data.texts.forEach(function(u){o.replaceIds(u,e,["id"])}),n;case D.Drag:case D.TouchMove:case D.MouseMove:return n.data.positions.forEach(function(u){o.replaceIds(u,e,["id"])}),n;case D.ViewportResize:return!1;case D.MediaInteraction:case D.MouseInteraction:case D.Scroll:case D.CanvasMutation:case D.Input:return this.replaceIds(n.data,e,["id"]),n;case D.StyleSheetRule:case D.StyleDeclaration:return this.replaceIds(n.data,e,["id"]),this.replaceStyleIds(n.data,e,["styleId"]),n;case D.Font:return n;case D.Selection:return n.data.ranges.forEach(function(u){o.replaceIds(u,e,["start","end"])}),n;case D.AdoptedStyleSheet:return this.replaceIds(n.data,e,["id"]),this.replaceStyleIds(n.data,e,["styleIds"]),(s=n.data.styles)==null||s.forEach(function(u){o.replaceStyleIds(u,e,["styleId"])}),n}}return!1},r.replace=function(e,n,o,s){for(var a=x(s),u;!(u=a()).done;){var c=u.value;!Array.isArray(n[c])&&typeof n[c]!="number"||(Array.isArray(n[c])?n[c]=e.getIds(o,n[c]):n[c]=e.getId(o,n[c]))}return n},r.replaceIds=function(e,n,o){return this.replace(this.crossOriginIframeMirror,e,n,o)},r.replaceStyleIds=function(e,n,o){return this.replace(this.crossOriginIframeStyleMirror,e,n,o)},r.replaceIdOnNode=function(e,n){var o=this;this.replaceIds(e,n,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(function(s){o.replaceIdOnNode(s,n)})},r.patchRootIdOnNode=function(e,n){var o=this;e.type!==Ql.Document&&!e.rootId&&(e.rootId=n),"childNodes"in e&&e.childNodes.forEach(function(s){o.patchRootIdOnNode(s,n)})},t})(),vb=(function(){function t(i){A(this,"shadowDoms",new WeakSet),A(this,"mutationCb"),A(this,"scrollCb"),A(this,"bypassOptions"),A(this,"mirror"),A(this,"restoreHandlers",[]),this.mutationCb=i.mutationCb,this.scrollCb=i.scrollCb,this.bypassOptions=i.bypassOptions,this.mirror=i.mirror,this.init()}var r=t.prototype;return r.init=function(){this.reset(),this.patchAttachShadow(Element,document)},r.addShadowRoot=function(e,n){var o=this;if(nn(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var s=oh(q({},this.bypassOptions,{doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push(function(){return s.disconnect()}),this.restoreHandlers.push(sh(q({},this.bypassOptions,{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))),setTimeout(function(){e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&o.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,o.mirror.getId(j.host(e))),o.restoreHandlers.push(uh({mirror:o.mirror,stylesheetManager:o.bypassOptions.stylesheetManager},e))},0)}},r.observeAttachShadow=function(e){!e.contentWindow||!e.contentDocument||this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)},r.patchAttachShadow=function(e,n){var o=this;this.restoreHandlers.push(fr(e.prototype,"attachShadow",function(s){return function(a){var u=s.call(this,a),c=j.shadowRoot(this);return c&&Zl(this)&&o.addShadowRoot(c,n),u}}))}
vendor: 5,563 bytes, line 59
59,r.reset=function(){this.restoreHandlers.forEach(function(e){try{e()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},t})(),Lr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",gb=typeof Uint8Array>"u"?[]:new Uint8Array(256),Zi=0;Zi<Lr.length;Zi++)gb[Lr.charCodeAt(Zi)]=Zi;var mb=function(r){var i=new Uint8Array(r),e,n=i.length,o="";for(e=0;e<n;e+=3)o+=Lr[i[e]>>2],o+=Lr[(i[e]&3)<<4|i[e+1]>>4],o+=Lr[(i[e+1]&15)<<2|i[e+2]>>6],o+=Lr[i[e+2]&63];return n%3===2?o=o.substring(0,o.length-1)+"=":n%3===1&&(o=o.substring(0,o.length-2)+"=="),o},fh=new Map;function yb(t,r){var i=fh.get(t);return i||(i=new Map,fh.set(t,i)),i.has(r)||i.set(r,[]),i.get(r)}var lh=function(t,r,i){if(!(!t||!(ph(t,r)||(typeof t>"u"?"undefined":$(t))==="object"))){var e=t.constructor.name,n=yb(i,e),o=n.indexOf(t);return o===-1&&(o=n.length,n.push(t)),o}};function Qi(t,r,i){if(P(t,Array))return t.map(function(v){return Qi(v,r,i)});if(t===null)return t;if(P(t,Float32Array)||P(t,Float64Array)||P(t,Int32Array)||P(t,Uint32Array)||P(t,Uint8Array)||P(t,Uint16Array)||P(t,Int16Array)||P(t,Int8Array)||P(t,Uint8ClampedArray)){var e=t.constructor.name;return{rr_type:e,args:[Object.values(t)]}}else if(P(t,ArrayBuffer)){var n=t.constructor.name,o=mb(t);return{rr_type:n,base64:o}}else if(P(t,DataView)){var s=t.constructor.name;return{rr_type:s,args:[Qi(t.buffer,r,i),t.byteOffset,t.byteLength]}}else if(P(t,HTMLImageElement)){var a=t.constructor.name,u=t.src;return{rr_type:a,src:u}}else if(P(t,HTMLCanvasElement)){var c="HTMLImageElement",f=t.toDataURL();return{rr_type:c,src:f}}else if(P(t,ImageData)){var l=t.constructor.name;return{rr_type:l,args:[Qi(t.data,r,i),t.width,t.height]}}else if(ph(t,r)||(typeof t>"u"?"undefined":$(t))==="object"){var h=t.constructor.name,g=lh(t,r,i);return{rr_type:h,index:g}}return t}var hh=function(t,r,i){return t.map(function(e){return Qi(e,r,i)})},ph=function(t,r){var i=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"],e=i.filter(function(n){return typeof r[n]=="function"});return!!e.find(function(n){return P(t,r[n])})};function _b(t,r,i,e){for(var n=function(){var c=u.value;try{if(typeof r.CanvasRenderingContext2D.prototype[c]!="function")return"continue";var f=fr(r.CanvasRenderingContext2D.prototype,c,function(h){return function(){for(var g=this,v=arguments.length,m=new Array(v),d=0;d<v;d++)m[d]=arguments[d];return $e(this.canvas,i,e,!0)||setTimeout(function(){var y=hh(m,r,g);t(g.canvas,{type:Fr["2D"],property:c,args:y})},0),h.apply(this,m)}});o.push(f)}catch{var l=Hi(r.CanvasRenderingContext2D.prototype,c,{set:function(v){t(this.canvas,{type:Fr["2D"],property:c,args:[v],setter:!0})}});o.push(l)}},o=[],s=Object.getOwnPropertyNames(r.CanvasRenderingContext2D.prototype),a=x(s),u;!(u=a()).done;)n();return function(){o.forEach(function(c){return c()})}}function wb(t){return t==="experimental-webgl"?"webgl":t}function dh(t,r,i,e){var n=[];try{var o=fr(t.HTMLCanvasElement.prototype,"getContext",function(s){return function(a){for(var u=arguments.length,c=new Array(u>1?u-1:0),f=1;f<u;f++)c[f-1]=arguments[f];if(!$e(this,r,i,!0)){var l=wb(a);if("__context"in this||(this.__context=l),e&&["webgl","webgl2"].includes(l))if(c[0]&&$(c[0])==="object"){var h=c[0];h.preserveDrawingBuffer||(h.preserveDrawingBuffer=!0)}else c.splice(0,1,{preserveDrawingBuffer:!0})}return s.apply(this,[].concat([a],c))}});n.push(o)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){n.forEach(function(s){return s()})}}function vh(t,r,i,e,n,o){for(var s=function(){var l=f.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(l))return"continue";try{if(typeof t[l]!="function")return"continue";var h=fr(t,l,function(v){return function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];var _=v.apply(this,d);if(lh(_,o,this),"tagName"in this.canvas&&!$e(this.canvas,e,n,!0)){var b=hh(d,o,this),C={type:r,property:l,args:b};i(this.canvas,C)}return _}});a.push(h)}catch{var g=Hi(t,l,{set:function(d){i(this.canvas,{type:r,property:l,args:[d],setter:!0})}});a.push(g)}},a=[],u=Object.getOwnPropertyNames(t),c=x(u),f;!(f=c()).done;)s();return a}function bb(t,r,i,e){var n,o=[];if((n=o).push.apply(n,[].concat(vh(r.WebGLRenderingContext.prototype,Fr.WebGL,t,i,e,r))),typeof r.WebGL2RenderingContext<"u"){var s;(s=o).push.apply(s,[].concat(vh(r.WebGL2RenderingContext.prototype,Fr.WebGL2,t,i,e,r)))}return function(){o.forEach(function(a){return a()})}}var gh="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSA
59yKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",Sb=function(t){return Uint8Array.from(atob(t),function(r){return r.charCodeAt(0)})},mh=typeof window<"u"&&window.Blob&&new Blob([Sb(gh)],{type:"text/javascript;charset=utf-8"});function Cb(t){var r;try{if(r=mh&&(window.URL||window.webkitURL).createObjectURL(mh),!r)throw"";var i=new Worker(r,{name:t?.name});return i.addEventListener("error",function(){(window.URL||window.webkitURL).revokeObjectURL(r)}),i}catch{return new Worker("data:text/javascript;base64,"+gh,{name:t?.name})}finally{r&&(window.URL||window.webkitURL).revokeObjectURL(r)}}var Eb=(function(){function t(i){var e=this;A(this,"pendingCanvasMutations",new Map),A(this,"rafStamps",{latestId:0,invokeId:null}),A(this,"mirror"),A(this,"mutationCb"),A(this,"resetObservers"),A(this,"frozen",!1),A(this,"locked",!1),A(this,"processMutation",function(l,h){var g=e.rafStamps.invokeId&&e.rafStamps.latestId!==e.rafStamps.invokeId;(g||!e.rafStamps.invokeId)&&(e.rafStamps.invokeId=e.rafStamps.latestId),e.pendingCanvasMutations.has(l)||e.pendingCanvasMutations.set(l,[]),e.pendingCanvasMutations.get(l).push(h)});var n=i.sampling,o=n===void 0?"all":n,s=i.win,a=i.blockClass,u=i.blockSelector,c=i.recordCanvas,f=i.dataURLOptions;this.mutationCb=i.mutationCb,this.mirror=i.mirror,c&&o==="all"&&this.initCanvasMutationObserver(s,a,u),c&&typeof o=="number"&&this.initCanvasFPSObserver(o,s,a,u,{dataURLOptions:f})}
vendor: 29,858 bytes, lines 59-76
59var r=t.prototype;return r.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},r.freeze=function(){this.frozen=!0},r.unfreeze=function(){this.frozen=!1},r.lock=function(){this.locked=!0},r.unlock=function(){this.locked=!1},r.initCanvasFPSObserver=function(e,n,o,s,a){var u=this,c=dh(n,o,s,!0),f=new Map,l=new Cb;l.onmessage=function(y){var _=y.data.id;if(f.set(_,!1),"base64"in y.data){var b=y.data,C=b.base64,S=b.type,R=b.width,T=b.height;u.mutationCb({id:_,type:Fr["2D"],commands:[{property:"clearRect",args:[0,0,R,T]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:C}],type:S}]},0,0]}]})}};var h=1e3/e,g=0,v,m=function(){var y=[];return n.document.querySelectorAll("canvas").forEach(function(_){$e(_,o,s,!0)||y.push(_)}),y},d=function(y){if(g&&y-g<h){v=requestAnimationFrame(d);return}g=y;var _=u;m().forEach(Zn(function(b){var C,S,R,T;return sr(this,function(O){switch(O.label){case 0:return S=_.mirror.getId(b),f.get(S)?[2]:b.width===0||b.height===0?[2]:(f.set(S,!0),["webgl","webgl2"].includes(b.__context)&&(R=b.getContext(b.__context),((C=R?.getContextAttributes())==null?void 0:C.preserveDrawingBuffer)===!1&&R.clear(R.COLOR_BUFFER_BIT)),[4,createImageBitmap(b)]);case 1:return T=O.sent(),l.postMessage({id:S,bitmap:T,width:b.width,height:b.height,dataURLOptions:a.dataURLOptions},[T]),[2]}})})),v=requestAnimationFrame(d)};v=requestAnimationFrame(d),this.resetObservers=function(){c(),cancelAnimationFrame(v)}},r.initCanvasMutationObserver=function(e,n,o){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var s=dh(e,n,o,!1),a=_b(this.processMutation.bind(this),e,n,o),u=bb(this.processMutation.bind(this),e,n,o);this.resetObservers=function(){s(),a(),u()}},r.startPendingCanvasMutationFlusher=function(){var e=this;requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},r.startRAFTimestamping=function(){var e=this,n=function(o){e.rafStamps.latestId=o,requestAnimationFrame(n)};requestAnimationFrame(n)},r.flushPendingCanvasMutations=function(){var e=this;this.pendingCanvasMutations.forEach(function(n,o){var s=e.mirror.getId(o);e.flushPendingCanvasMutationFor(o,s)}),requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},r.flushPendingCanvasMutationFor=function(e,n){if(!(this.frozen||this.locked)){var o=this.pendingCanvasMutations.get(e);if(!(!o||n===-1)){var s=o.map(function(u){u.type;var c=or(u,["type"]);return c}),a=o[0].type;this.mutationCb({id:n,type:a,commands:s}),this.pendingCanvasMutations.delete(e)}}},t})(),Ib=(function(){function t(i){A(this,"trackedLinkElements",new WeakSet),A(this,"mutationCb"),A(this,"adoptedStyleSheetCb"),A(this,"styleMirror",new Vw),this.mutationCb=i.mutationCb,this.adoptedStyleSheetCb=i.adoptedStyleSheetCb}var r=t.prototype;return r.attachLinkElement=function(e,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(e)},r.trackLinkElement=function(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))},r.adoptStyleSheets=function(e,n){var o,s=function(){var l=f.value,h=void 0;o.styleMirror.has(l)?h=o.styleMirror.getId(l):(h=o.styleMirror.add(l),u.push({styleId:h,rules:Array.from(l.rules||CSSRule,function(g,v){return{rule:Dc(g,l.href),index:v}})})),a.styleIds.push(h)};if(e.length!==0){for(var a={id:n,styleIds:[]},u=[],c=x(e),f;!(f=c()).done;)o=this,s();u.length>0&&(a.styles=u),this.adoptedStyleSheetCb(a)}},r.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},r.cleanupStylesheetsForRemovedNode=function(e){var n=this;try{if(e.nodeType===Node.DOCUMENT_NODE){var o=e;if(o.adoptedStyleSheets)for(var s=x(o.adoptedStyleSheets),a;!(a=s()).done;){var u=a.value;this.styleMirror.remove(u)}}if(e.nodeName==="STYLE"){var c=e;c.sheet&&this.styleMirror.remove(c.sheet)}if(e.nodeName==="LINK"&&e.rel==="stylesheet"){var f=e;f.sheet&&this.styleMirror.remove(f.sheet)}e.childNodes&&e.childNodes.forEach(function(l){n.cleanupStylesheetsForRemovedNode(l)})}catch{}},r.trackStylesheetInLinkElement=function(e){},t})(),xb=(function(){function t(){A(this,"nodeMap",new WeakMap),A(this,"active",!1)}var r=t.prototype;return r.inOtherBuffer=function(e,n){var o=this.nodeMap.get(e);return o&&Array.from(o).some(function(s){return s!==n})},r.add=function(e,n){var o=this;this.active||(this.active=!0,requestAnimationFrame(function(){o.nodeMap=new WeakMap,o.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(n))},r.destroy=function(){},t})();function Rb(t){try{var r=new URL(t).origin;return r!=="null"?r:null}catch{return null}}function Ab(t){if(!Array.isArray(t)||t.length===0)throw new Error("[rrweb] allowedIframeOrigins must be a non-empty array of origin strings.");for(var r=new Set,i=0;i<t.length;i++){var e=t[i];if(typeof e!="string")throw new Error("[rrweb] allowedIframeOrigins["+i+"] must be a string, got "+(typeof e>"u"?"undefined":$(e))+".");var n=Rb(e);n&&r.add(n)}return Object.freeze(r)}var me,eo,Sa,to=!1;try{if(Array.from([1],function(t){return t*2})[0]!==2){var Ca=document.createElement("iframe");document.body.appendChild(Ca),Array.from=((Mc=Ca.contentWindow)==null?void 0:Mc.Array.from)||Array.from,document.body.removeChild(Ca)}}catch(t){console.debug("Unable to override Array.from",t)}var He=Rg();function Mt(t){t===void 0&&(t={});var r=t.emit,i=t.checkoutEveryNms,e=t.checkoutEveryNth,n=t.blockClass,o=n===void 0?"rr-block":n,s=t.blockSelector,a=s===void 0?null:s,u=t.ignoreClass,c=u===void 0?"rr-ignore":u,f=t.ignoreSelector,l=f===void 0?null:f,h=t.maskTextClass,g=h===void 0?"rr-mask":h,v=t.maskTextSelector,m=v===void 0?null:v,d=t.inlineStylesheet,y=d===void 0?!0:d,_=t.maskAllInputs,b=t.maskInputOptions,C=t.slimDOMOptions,S=t.maskInputFn,R=t.maskTextFn,T=t.hooks,O=t.packFn,F=t.sampling,W=F===void 0?{}:F,ge=t.dataURLOptions,N=ge===void 0?{}:ge,V=t.mousemoveWait,ve=t.recordDOM,K=ve===void 0?!0:ve,Ue=t.recordCanvas,Fe=Ue===void 0?!1:Ue,Oe=t.recordCrossOriginIframes,fe=Oe===void 0?!1:Oe,xe=t.allowedIframeOrigins,Vt=t.recordAfter,Je=Vt===void 0?t.recordAfter==="DOMContentLoaded"?t.recordAfter:"load":Vt,jt=t.userTriggeredOnInput,Be=jt===void 0?!1:jt,Ct=t.collectFonts,X=Ct===void 0?!1:Ct,_r=t.inlineImages,wr=_r===void 0?!1:_r,Et=t.plugins,Bn=t.keepIframeSrcFn,br=Bn===void 0?function(){return!1}:Bn,zn=t.ignoreCSSAttributes,qn=zn===void 0?new Set([]):zn,Zr=t.errorHandler;Zw(Zr);var Ht;fe&&xe&&xe.length>0&&(Ht=Ab(xe),Ht.size===0&&(Ht=void 0));var Yt=fe?window.parent===window:!0,Kt=!1;if(!Yt)try{window.parent.document&&(Kt=!1)}catch{Kt=!0}if(Yt&&!r)throw new Error("emit function is required");if(!Yt&&!Kt)return function(){};V!==void 0&&W.mousemove===void 0&&(W.mousemove=V),He.reset();var Jt=_===!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}:b!==void 0?b:{password:!0},Xt=C===!0||C==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:C==="all",headMetaDescKeywords:C==="all",headTitleMutations:C==="all"}:C||{};Gw();var ft,Sr=0,Zu=function(J){for(var Me=x(Et||[]),M;!(M=Me()).done;){var re=M.value;re.eventProcessor&&(J=re.eventProcessor(J))}return O&&!Kt&&(J=O(J)),J};me=function(J,Me){var M,re=J;if(re.timestamp=Yi(),(M=tt[0])!=null&&M.isFrozen()&&re.type!==H.FullSnapshot&&!(re.type===H.IncrementalSnapshot&&re.data.source===D.Mutation)&&tt.forEach(function(Kd){return Kd.unfreeze()}),Yt)r?.(Zu(re),Me);else if(Kt){var er={type:"rrweb",event:Zu(re),origin:window.location.origin,isCheckout:Me};if(Ht)for(var Zo=x(Ht),ic;!(ic=Zo()).done;){var jd=ic.value;window.parent.postMessage(er,jd)}else window.parent.postMessage(er,"*")}if(re.type===H.FullSnapshot)ft=re,Sr=0;else if(re.type===H.IncrementalSnapshot){if(re.data.source===D.Mutation&&re.data.isAttachIframe)return;Sr++;var Hd=e&&Sr>=e,Yd=i&&re.timestamp-ft.timestamp>i;(Hd||Yd)&&eo(!0)}};for(var Wn=function(J){me({type:H.IncrementalSnapshot,data:q({source:D.Mutation},J)})},Qu=function(J){return me({type:H.IncrementalSnapshot,data:q({source:D.Scroll},J)})},ec=function(J){return me({type:H.IncrementalSnapshot,data:q({source:D.CanvasMutation},J)})},Gd=function(J){return me({type:H.IncrementalSnapshot,data:q({source:D.AdoptedStyleSheet},J)})},Zt=new Ib({mutationCb:Wn,adoptedStyleSheetCb:Gd}),lt=new db({mirror:He,mutationCb:Wn,stylesheetManager:Zt,recordCrossOriginIframes:fe,wrappedEmit:me}),Vd=x(Et||[]),tc;!(tc=Vd()).done;){var rc=tc.value;rc.getMirror&&rc.getMirror({nodeMirror:He,crossOriginIframeMirror:lt.crossOriginIframeMirror,crossOriginIframeStyleMirror:lt.crossOriginIframeStyleMirror})}var Jo=new xb;Sa=new Eb({recordCanvas:Fe,mutationCb:ec,win:window,blockClass:o,blockSelector:a,mirror:He,sampling:W.canvas,dataURLOptions:N});var Gn=new vb({mutationCb:Wn,scrollCb:Qu,bypassOptions:{blockClass:o,blockSelector:a,maskTextClass:g,maskTextSelector:m,inlineStylesheet:y,maskInputOptions:Jt,dataURLOptions:N,maskTextFn:R,maskInputFn:S,recordCanvas:Fe,inlineImages:wr,sampling:W,slimDOMOptions:Xt,iframeManager:lt,stylesheetManager:Zt,canvasManager:Sa,keepIframeSrcFn:br,processedNodeManager:Jo},mirror:He});eo=function(J){if(J===void 0&&(J=!1),!!K){me({type:H.Meta,data:{href:window.location.href,width:jl(),height:Vl()}},J),Zt.reset(),Gn.init(),tt.forEach(function(M){return M.lock()});var Me=Xg(document,{mirror:He,blockClass:o,blockSelector:a,maskTextClass:g,maskTextSelector:m,inlineStylesheet:y,maskAllInputs:Jt,maskTextFn:R,maskInputFn:S,slimDOM:Xt,dataURLOptions:N,recordCanvas:Fe,inlineImages:wr,onSerialize:function(M){Kl(M,He)&<.addIframe(M),Jl(M,He)&&Zt.trackLinkElement(M),wa(M)&&Gn.addShadowRoot(j.shadowRoot(M),document)},onIframeLoad:function(M,re){lt.attachIframe(M,re),Gn.observeAttachShadow(M)},onStylesheetLoad:function(M,re){Zt.attachLinkElement(M,re)},keepIframeSrcFn:br});if(!Me)return console.warn("Failed to snapshot the document");me({type:H.FullSnapshot,data:{node:Me,initialOffset:Gl(window)}},J),tt.forEach(function(M){return M.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Zt.adoptStyleSheets(document.adoptedStyleSheets,He.getId(document))}};try{var Qt=[],nc=function(J){var Me;return Y(pb)({mutationCb:Wn,mousemoveCb:function(M,re){return me({type:H.IncrementalSnapshot,data:{source:re,positions:M}})},mouseInteractionCb:function(M){return me({type:H.IncrementalSnapshot,data:q({source:D.MouseInteraction},M)})},scrollCb:Qu,viewportResizeCb:function(M){return me({type:H.IncrementalSnapshot,data:q({source:D.ViewportResize},M)})},inputCb:function(M){return me({type:H.IncrementalSnapshot,data:q({source:D.Input},M)})},mediaInteractionCb:function(M){return me({type:H.IncrementalSnapshot,data:q({source:D.MediaInteraction},M)})},styleSheetRuleCb:function(M){return me({type:H.IncrementalSnapshot,data:q({source:D.StyleSheetRule},M)})},styleDeclarationCb:function(M){return me({type:H.IncrementalSnapshot,data:q({source:D.StyleDeclaration},M)})},canvasMutationCb:ec,fontCb:function(M){return me({type:H.IncrementalSnapshot,data:q({source:D.Font},M)})},selectionCb:function(M){me({type:H.IncrementalSnapshot,data:q({source:D.Selection},M)})},customElementCb:function(M){me({type:H.IncrementalSnapshot,data:q({source:D.CustomElement},M)})},blockClass:o,ignoreClass:c,ignoreSelector:l,maskTextClass:g,maskTextSelector:m,maskInputOptions:Jt,inlineStylesheet:y,sampling:W,recordDOM:K,recordCanvas:Fe,inlineImages:wr,userTriggeredOnInput:Be,collectFonts:X,doc:J,maskInputFn:S,maskTextFn:R,keepIframeSrcFn:br,blockSelector:a,slimDOMOptions:Xt,dataURLOptions:N,mirror:He,iframeManager:lt,stylesheetManager:Zt,shadowDomManager:Gn,processedNodeManager:Jo,canvasManager:Sa,ignoreCSSAttributes:qn,plugins:((Me=Et?.filter(function(M){return M.observer}))==null?void 0:Me.map(function(M){return{observer:M.observer,options:M.options,callback:function(re){return me({type:H.Plugin,data:{plugin:M.name,payload:re}})}}}))||[]},T)};lt.addLoadListener(function(J){try{var Me=J.contentDocument,M=nc(Me);Qt.push(M);var re=lt.getObserverCleanup(J);lt.setObserverCleanup(J,function(){if(re)try{re()}catch{}try{M();var er=Qt.indexOf(M);er!==-1&&Qt.splice(er,1),eb(Me)}catch{}})}catch(er){console.warn(er)}});var Xo=function(){eo(),Qt.push(nc(document)),to=!0};return document.readyState==="interactive"||document.readyState==="complete"?Xo():(Qt.push(Pe("DOMContentLoaded",function(){me({type:H.DomContentLoaded,data:{}}),Je==="DOMContentLoaded"&&Xo()})),Qt.push(Pe("load",function(){me({type:H.Load,data:{}}),Je==="load"&&Xo()},window))),function(){Qt.forEach(function(J){try{J()}catch(M){var Me=String(M).toLowerCase();Me.includes("cross-origin")||console.warn(M)}}),Jo.destroy(),to=!1,Qw()}}catch(J){console.warn(J)}}Mt.addCustomEvent=function(t,r){if(!to)throw new Error("please add custom event after start recording");me({type:H.Custom,data:{tag:t,payload:r}})},Mt.freezePage=function(){tt.forEach(function(t){return t.freeze()})},Mt.takeFullSnapshot=function(t){if(!to)throw new Error("please take full snapshot after start recording");eo(t)},Mt.mirror=He;var yh;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(yh||(yh={})),Mt.addCustomEvent,Mt.freezePage,Mt.takeFullSnapshot;var _h={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},wh={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},ro={},Ob=function(){return!!globalThis.Zone};function Ea(t){if(ro[t])return ro[t];var r=globalThis[t],i=r.prototype,e=t in _h?_h[t]:void 0,n=!!(e&&e.every(function(f){var l,h;return!!((h=(l=Object.getOwnPropertyDescriptor(i,f))==null?void 0:l.get)!=null&&h.toString().includes("[native code]"))})),o=t in wh?wh[t]:void 0,s=!!(o&&o.every(function(f){var l;return typeof i[f]=="function"&&((l=i[f])==null?void 0:l.toString().includes("[native code]"))}));if(n&&s&&!Ob())return ro[t]=r.prototype,r.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return r.prototype;var c=u[t].prototype;return document.body.removeChild(a),c?ro[t]=c:i}catch{return i}}var Ia={};function Pt(t,r,i){var e,n=t+"."+String(i);if(Ia[n])return Ia[n].call(r);var o=Ea(t),s=(e=Object.getOwnPropertyDescriptor(o,i))==null?void 0:e.get;return s?(Ia[n]=s,s.call(r)):r[i]}var xa={};function bh(t,r,i){var e=t+"."+String(i);if(xa[e])return xa[e].bind(r);var n=Ea(t),o=n[i];return typeof o!="function"?r[i]:(xa[e]=o,o.bind(r))}function kb(t){return Pt("Node",t,"childNodes")}function Tb(t){return Pt("Node",t,"parentNode")}function Mb(t){return Pt("Node",t,"parentElement")}function Pb(t){return Pt("Node",t,"textContent")}function $b(t,r){return bh("Node",t,"contains")(r)}function Fb(t){return bh("Node",t,"getRootNode")()}function Nb(t){return!t||!("host"in t)?null:Pt("ShadowRoot",t,"host")}function Lb(t){return t.styleSheets}function Db(t){return!t||!("shadowRoot"in t)?null:Pt("Element",t,"shadowRoot")}function Ub(t,r){return Pt("Element",t,"querySelector")(r)}function Bb(t,r){return Pt("Element",t,"querySelectorAll")(r)}function zb(){return Ea("MutationObserver").constructor}function qb(t,r,i){try{if(!(r in t))return function(){};var e=t[r],n=i(e);return typeof n=="function"&&(n.prototype=n.prototype||{},Object.defineProperties(n,{__rrweb_original__:{enumerable:!1,value:e}})),t[r]=n,function(){t[r]=e}}catch{return function(){}}}var Sh={childNodes:kb,parentNode:Tb,parentElement:Mb,textContent:Pb,contains:$b,getRootNode:Fb,host:Nb,styleSheets:Lb,shadowRoot:Db,querySelector:Ub,querySelectorAll:Bb,mutationObserver:zb,patch:qb};function Ra(t,r,i){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return Ra(Sh.parentNode(t),r);for(var e=t.classList.length;e--;){var n=t.classList[e];if(r.test(n))return!0}return Ra(Sh.parentNode(t),r)}function Wb(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Gb(t){if(t.__esModule)return t;var r=t.default;if(typeof r=="function"){var i=function e(){return P(this,e)?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};i.prototype=r.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(i,e,n.get?n:{enumerable:!0,get:function(){return t[e]}})}),i}var Aa={exports:{}},ue=String,Ch=function(){return{isColorSupported:!1,reset:ue,bold:ue,dim:ue,italic:ue,underline:ue,inverse:ue,hidden:ue,strikethrough:ue,black:ue,red:ue,green:ue,yellow:ue,blue:ue,magenta:ue,cyan:ue,white:ue,gray:ue,bgBlack:ue,bgRed:ue,bgGreen:ue,bgYellow:ue,bgBlue:ue,bgMagenta:ue,bgCyan:ue,bgWhite:ue}};Aa.exports=Ch(),Aa.exports.createColors=Ch;var Vb=Aa.exports,jb={},Hb=Object.freeze(Object.defineProperty({__proto__:null,default:jb},Symbol.toStringTag,{value:"Module"})),we=Gb(Hb),Eh=Vb,Ih=we,Oa=(function(t){le(r,t);function r(e,n,o,s,a,u){var c;return c=t.call(this,e)||this,c.name="CssSyntaxError",c.reason=e,a&&(c.file=a),s&&(c.source=s),u&&(c.plugin=u),typeof n<"u"&&typeof o<"u"&&(typeof n=="number"?(c.line=n,c.column=o):(c.line=n.line,c.column=n.column,c.endLine=o.line,c.endColumn=o.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,r),c}var i=r.prototype;return i.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},i.showSourceCode=function(n){var o=this;if(!this.source)return"";var s=this.source;n==null&&(n=Eh.isColorSupported),Ih&&n&&(s=Ih(s));var a=s.split(/\r?\n/),u=Math.max(this.line-3,0),c=Math.min(this.line+2,a.length),f=String(c).length,l,h;if(n){var g=Eh.createColors(!0),v=g.bold,m=g.gray,d=g.red;l=function(y){return v(d(y))},h=function(y){return m(y)}}else l=h=function(y){return y};return a.slice(u,c).map(function(y,_){var b=u+1+_,C=" "+(" "+b).slice(-f)+" | ";if(b===o.line){var S=h(C.replace(/\d/g," "))+y.slice(0,o.column-1).replace(/[^\t]/g," ");return l(">")+h(C)+y+` 60 `+S+l("^")}return" "+h(C)+y}).join(` 61`)},i.toString=function(){var n=this.showSourceCode();return n&&(n=` 62 63`+n+` 64`),this.name+": "+this.message+n},r})(tn(Error)),ka=Oa;Oa.default=Oa;var $t={};$t.isClean=Symbol("isClean"),$t.my=Symbol("my");var xh={after:` 65`,beforeClose:` 66`,beforeComment:` 67`,beforeDecl:` 68`,beforeOpen:" ",beforeRule:` 69`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function Yb(t){return t[0].toUpperCase()+t.slice(1)}var Ta=(function(){function t(i){this.builder=i}var r=t.prototype;return r.atrule=function(e,n){var o="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?o+=e.raws.afterName:s&&(o+=" "),e.nodes)this.block(e,o+s);else{var a=(e.raws.between||"")+(n?";":"");this.builder(o+s+a,e)}},r.beforeAfter=function(e,n){var o;e.type==="decl"?o=this.raw(e,null,"beforeDecl"):e.type==="comment"?o=this.raw(e,null,"beforeComment"):n==="before"?o=this.raw(e,null,"beforeRule"):o=this.raw(e,null,"beforeClose");for(var s=e.parent,a=0;s&&s.type!=="root";)a+=1,s=s.parent;if(o.includes(` 70`)){var u=this.raw(e,null,"indent");if(u.length)for(var c=0;c<a;c++)o+=u}return o},r.block=function(e,n){var o=this.raw(e,"between","beforeOpen");this.builder(n+o+"{",e,"start");var s;e.nodes&&e.nodes.length?(this.body(e),s=this.raw(e,"after")):s=this.raw(e,"after","emptyBody"),s&&this.builder(s),this.builder("}",e,"end")},r.body=function(e){for(var n=e.nodes.length-1;n>0&&e.nodes[n].type==="comment";)n-=1;for(var o=this.raw(e,"semicolon"),s=0;s<e.nodes.length;s++){var a=e.nodes[s],u=this.raw(a,"before");u&&this.builder(u),this.stringify(a,n!==s||o)}},r.comment=function(e){var n=this.raw(e,"left","commentLeft"),o=this.raw(e,"right","commentRight");this.builder("/*"+n+e.text+o+"*/",e)},r.decl=function(e,n){var o=this.raw(e,"between","colon"),s=e.prop+o+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),n&&(s+=";"),this.builder(s,e)},r.document=function(e){this.body(e)},r.raw=function(e,n,o){var s;if(o||(o=n),n&&(s=e.raws[n],typeof s<"u"))return s;var a=e.parent;if(o==="before"&&(!a||a.type==="root"&&a.first===e||a&&a.type==="document"))return"";if(!a)return xh[o];var u=e.root();if(u.rawCache||(u.rawCache={}),typeof u.rawCache[o]<"u")return u.rawCache[o];if(o==="before"||o==="after")return this.beforeAfter(e,o);var c="raw"+Yb(o);return this[c]?s=this[c](u,e):u.walk(function(f){if(s=f.raws[n],typeof s<"u")return!1}),typeof s>"u"&&(s=xh[o]),u.rawCache[o]=s,s},r.rawBeforeClose=function(e){var n;return e.walk(function(o){if(o.nodes&&o.nodes.length>0&&typeof o.raws.after<"u")return n=o.raws.after,n.includes(` 71`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n},r.rawBeforeComment=function(e,n){var o;return e.walkComments(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 72`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(n,null,"beforeDecl"):o&&(o=o.replace(/\S/g,"")),o},r.rawBeforeDecl=function(e,n){var o;return e.walkDecls(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 73`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(n,null,"beforeRule"):o&&(o=o.replace(/\S/g,"")),o},r.rawBeforeOpen=function(e){var n;return e.walk(function(o){if(o.type!=="decl"&&(n=o.raws.between,typeof n<"u"))return!1}),n},r.rawBeforeRule=function(e){var n;return e.walk(function(o){if(o.nodes&&(o.parent!==e||e.first!==o)&&typeof o.raws.before<"u")return n=o.raws.before,n.includes(` 74`)&&(n=n.replace(/[^\n]+$/,"")),!1}),n&&(n=n.replace(/\S/g,"")),n},r.rawColon=function(e){var n;return e.walkDecls(function(o){if(typeof o.raws.between<"u")return n=o.raws.between.replace(/[^\s:]/g,""),!1}),n},r.rawEmptyBody=function(e){var n;return e.walk(function(o){if(o.nodes&&o.nodes.length===0&&(n=o.raws.after,typeof n<"u"))return!1}),n},r.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var n;return e.walk(function(o){var s=o.parent;if(s&&s!==e&&s.parent&&s.parent===e&&typeof o.raws.before<"u"){var a=o.raws.before.split(` 75`);return n=a[a.length-1],n=n.replace(/\S/g,""),!1}}),n},r.rawSemicolon=function(e){var n;return e.walk(function(o){if(o.nodes&&o.nodes.length&&o.last.type==="decl"&&(n=o.raws.semicolon,typeof n<"u"))return!1}),n},r.rawValue=function(e,n){var o=e[n],s=e.raws[n];return s&&s.value===o?s.raw:o},r.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},r.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},r.stringify=function(e,n){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,n)},t})(),Rh=Ta;Ta.default=Ta;var Kb=Rh;function Ma(t,r){var i=new Kb(r);i.stringify(t)}var no=Ma;Ma.default=Ma;var io=$t.isClean,Jb=$t.my,Xb=ka,Zb=Rh,Qb=no;function Pa(t,r){var i=new t.constructor;for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&e!=="proxyCache"){var n=t[e],o=typeof n>"u"?"undefined":$(n);e==="parent"&&o==="object"?r&&(i[e]=r):e==="source"?i[e]=n:Array.isArray(n)?i[e]=n.map(function(s){return Pa(s,i)}):(o==="object"&&n!==null&&(n=Pa(n)),i[e]=n)}return i}var $a=(function(){function t(i){i===void 0&&(i={}),this.raws={},this[io]=!1,this[Jb]=!0;for(var e in i)if(e==="nodes"){this.nodes=[];for(var n=x(i[e]),o;!(o=n()).done;){var s=o.value;typeof s.clone=="function"?this.append(s.clone()):this.append(s)}}else this[e]=i[e]}var r=t.prototype;return r.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var n=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+n.input.from+":"+n.start.line+":"+n.start.column+"$&")}return e},r.after=function(e){return this.parent.insertAfter(this,e),this},r.assign=function(e){e===void 0&&(e={});for(var n in e)this[n]=e[n];return this},r.before=function(e){return this.parent.insertBefore(this,e),this},r.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},r.clone=function(e){e===void 0&&(e={});var n=Pa(this);for(var o in e)n[o]=e[o];return n},r.cloneAfter=function(e){e===void 0&&(e={});var n=this.clone(e);return this.parent.insertAfter(this,n),n},r.cloneBefore=function(e){e===void 0&&(e={});var n=this.clone(e);return this.parent.insertBefore(this,n),n},r.error=function(e,n){if(n===void 0&&(n={}),this.source){var o=this.rangeBy(n),s=o.end,a=o.start;return this.source.input.error(e,{column:a.column,line:a.line},{column:s.column,line:s.line},n)}return new Xb(e)},r.getProxyProcessor=function(){return{get:function(n,o){return o==="proxyOf"?n:o==="root"?function(){return n.root().toProxy()}:n[o]},set:function(n,o,s){return n[o]===s||(n[o]=s,(o==="prop"||o==="value"||o==="name"||o==="params"||o==="important"||o==="text")&&n.markDirty()),!0}}},r.markDirty=function(){if(this[io]){this[io]=!1;for(var e=this;e=e.parent;)e[io]=!1}},r.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},r.positionBy=function(e,n){var o=this.source.start;if(e.index)o=this.positionInside(e.index,n);else if(e.word){n=this.toString();var s=n.indexOf(e.word);s!==-1&&(o=this.positionInside(s,n))}return o},r.positionInside=function(e,n){for(var o=n||this.toString(),s=this.source.start.column,a=this.source.start.line,u=0;u<e;u++)o[u]===` 76`?(s=1,a+=1):s+=1;return{column:s,line:a}},r.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},r.rangeBy=function(e){var n={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:n.column+1,line:n.line};if(e.word){var s=this.toString(),a=s.indexOf(e.word);a!==-1&&(n=this.positionInside(a,s),o=this.positionInside(a+e.word.length,s))}else e.start?n={column:e.start.column,line:e.start.line}:e.index&&(n=this.positionInside(e.index)),e.end?o={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?o=this.positionInside(e.endIndex):e.index&&(o=this.positionInside(e.index+1));return(o.line<n.line||o.line===n.line&&o.column<=n.column)&&(o={column:n.column+1,line:n.line}),{end:o,start:n}},r.raw=function(e,n){var o=new Zb;return o.raw(this,e,n)},r.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},r.replaceWith=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];if(this.parent){for(var s=this,a=!1,u=x(n),c;!(c=u()).done;){var f=c.value;f===this?a=!0:a?(this.parent.insertAfter(s,f),s=f):this.parent.insertBefore(s,f)}a||this.remove()}return this},r.root=function(){for(var e=this;e.parent&&e.parent.type!=="document";)e=e.parent;return e},r.toJSON=function(e,n){var o={},s=n==null;n=n||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(l){return(typeof l>"u"?"undefined":$(l))==="object"&&l.toJSON?l.toJSON(null,n):l});else if((typeof c>"u"?"undefined":$(c))==="object"&&c.toJSON)o[u]=c.toJSON(null,n);else if(u==="source"){var f=n.get(c.input);f==null&&(f=a,n.set(c.input,a),a++),o[u]={end:c.end,inputId:f,start:c.start}}else o[u]=c}return s&&(o.inputs=[].concat(n.keys()).map(function(l){return l.toJSON()})),o},r.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},r.toString=function(e){e===void 0&&(e=Qb),e.stringify&&(e=e.stringify);var n="";return e(this,function(o){n+=o}),n},r.warn=function(e,n,o){var s={node:this};for(var a in o)s[a]=o[a];return e.warn(n,s)},oe(t,[{key:"proxyOf",get:function(){return this}}]),t})(),oo=$a;$a.default=$a;var eS=oo,Fa=(function(t){le(r,t);function r(i){var e;return i&&typeof i.value<"u"&&typeof i.value!="string"&&(i=q({},i,{value:String(i.value)})),e=t.call(this,i)||this,e.type="decl",e}return oe(r,[{key:"variable",get:function(){return this.prop.startsWith("--")||this.prop[0]==="$"}}]),r})(eS),so=Fa;Fa.default=Fa;var tS="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",rS=function(t){t===void 0&&(t=21);for(var r="",i=t;i--;)r+=tS[Math.random()*64|0];return r},nS={nanoid:rS},Ah=we.SourceMapConsumer,Oh=we.SourceMapGenerator,iS=we.existsSync,oS=we.readFileSync,Na=we.dirname,sS=we.join;function aS(t){return E?E.from(t,"base64").toString():window.atob(t)}var La=(function(){function t(i,e){if(e.map!==!1){this.loadAnnotation(i),this.inline=this.startWith(this.annotation,"data:");var n=e.map?e.map.prev:void 0,o=this.loadMap(e.from,n);!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=Na(this.mapFile)),o&&(this.text=o)}}var r=t.prototype;return r.consumer=function(){return this.consumerCache||(this.consumerCache=new Ah(this.text)),this.consumerCache},r.decodeInline=function(e){var n=/^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(e)||a.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(n.test(e)||o.test(e))return aS(e.substr(RegExp.lastMatch.length));var u=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+u)},r.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},r.isMap=function(e){return(typeof e>"u"?"undefined":$(e))!=="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)},r.loadAnnotation=function(e){var n=e.match(/\/\*\s*# sourceMappingURL=/gm);
vendor: 1,188 bytes, line 76
76if(n){var o=e.lastIndexOf(n.pop()),s=e.indexOf("*/",o);o>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(o,s)))}},r.loadFile=function(e){if(this.root=Na(e),iS(e))return this.mapFile=e,oS(e,"utf-8").toString().trim()},r.loadMap=function(e,n){if(n===!1)return!1;if(n){if(typeof n=="string")return n;if(typeof n=="function"){var o=n(e);if(o){var s=this.loadFile(o);if(!s)throw new Error("Unable to load previous source map: "+o.toString());return s}}else{if(P(n,Ah))return Oh.fromSourceMap(n).toString();if(P(n,Oh))return n.toString();if(this.isMap(n))return JSON.stringify(n);throw new Error("Unsupported previous source map format: "+n.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var a=this.annotation;return e&&(a=sS(Na(e),a)),this.loadFile(a)}}},r.startWith=function(e,n){return e?e.substr(0,n.length)===n:!1},r.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},t})(),kh=La;La.default=La;var uS=we.SourceMapConsumer,cS=we.SourceMapGenerator,Th=we.fileURLToPath,ao=we.pathToFileURL,Da=we.isAbsolute,Ua=we.resolve,fS=nS.nanoid,Ba=we,Mh=ka,lS=kh,za=Symbol("fromOffsetCac
76he"),hS=!!(uS&&cS),Ph=!!(Ua&&Da),uo=(function(){function t(i,e){if(e===void 0&&(e={}),i===null||typeof i>"u"||(typeof i>"u"?"undefined":$(i))==="object"&&!i.toString)throw new Error("PostCSS received "+i+" instead of CSS string");if(this.css=i.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,e.from&&(!Ph||/^\w+:\/\//.test(e.from)||Da(e.from)?this.file=e.from:this.file=Ua(e.from)),Ph&&hS){var n=new lS(this.css,e);if(n.text){this.map=n;var o=n.consumer().file;!this.file&&o&&(this.file=this.mapResolve(o))}}this.file||(this.id="<input css "+fS(6)+">"),this.map&&(this.map.file=this.from)}var r=t.prototype;return r.error=function(e,n,o,s){s===void 0&&(s={});var a,u,c;if(n&&(typeof n>"u"?"undefined":$(n))==="object"){var f=n,l=o;if(typeof f.offset=="number"){var h=this.fromOffset(f.offset);n=h.line,o=h.col}else n=f.line,o=f.column;if(typeof l.offset=="number"){var g=this.fromOffset(l.offset);u=g.line,c=g.col}else u=l.line,c=l.column}else if(!o){var v=this.fromOffset(n);n=v.line,o=v.col}var m=this.origin(n,o,u,c);return m?a=new Mh(e,m.endLine===void 0?m.line:{column:m.column,line:m.line},m.endLine===void 0?m.column:{column:m.endColumn,line:m.endLine},m.source,m.file,s.plugin):a=new Mh(e,u===void 0?n:{column:o,line:n},u===void 0?o:{column:c,line:u},this.css,this.file,s.plugin),a.input={column:o,endColumn:c,endLine:u,line:n,source:this.css},this.file&&(ao&&(a.input.url=ao(this.file).toString()),a.input.file=this.file),a},r.fromOffset=function(e){var n,o;if(this[za])o=this[za];else{var s=this.css.split(` 77`);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[za]=o}n=o[o.length-1];var f=0;if(e>=n)f=o.length-1;else for(var l=o.length-2,h;f<l;)if(h=f+(l-f>>1),e<o[h])l=h-1;else if(e>=o[h+1])f=h+1;else{f=h;break}return{col:e-o[f]+1,line:f+1}},r.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:Ua(this.map.consumer().sourceRoot||this.map.root||".",e)},r.origin=function(e,n,o,s){if(!this.map)return!1;var a=this.map.consumer(),u=a.originalPositionFor({column:n,line:e});if(!u.source)return!1;var c;typeof o=="number"&&(c=a.originalPositionFor({column:s,line:o}));var f;Da(u.source)?f=ao(u.source):f=new URL(u.source,this.map.consumer().sourceRoot||ao(this.map.mapFile));var l={column:u.column,endColumn:c&&c.column,endLine:c&&c.line,line:u.line,url:f.toString()};if(f.protocol==="file:")if(Th)l.file=Th(f);else throw new Error("file: protocol is not available in this PostCSS build");var h=a.sourceContentFor(u.source);return h&&(l.source=h),l},r.toJSON=function(){for(var e={},n=0,o=["hasBOM","css","file","id"];n<o.length;n++){var s=o[n];this[s]!=null&&(e[s]=this[s])}return this.map&&(e.map=q({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},oe(t,[{key:"from",get:function(){return this.file||this.id}}]),t})(),co=uo;uo.default=uo,Ba&&Ba.registerInput&&Ba.registerInput(uo);var $h=we.SourceMapConsumer,fo=we.SourceMapGenerator,lo=we.dirname,Fh=we.relative,Nh=we.resolve,Lh=we.sep,Dh=we.pathToFileURL,pS=co,dS=!!($h&&fo),vS=!!(lo&&Nh&&Fh&&Lh),gS=(function(){function t(i,e,n,o){this.stringify=i,this.mapOpts=n.map||{},this.root=e,this.opts=n,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 r=t.prototype;return r.addAnnotation=function(){var e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";var n=` 78`;this.css.includes(`\r 79`)&&(n=`\r 80`),this.css+=n+"/*# sourceMappingURL="+e+" */"},r.applyPrevMaps=function(){for(var e=x(this.previous()),n;!(n=e()).done;){var o=n.value,s=this.toUrl(this.path(o.file)),a=o.root||lo(o.file),u=void 0;this.mapOpts.sourcesContent===!1?(u=new $h(o.text),u.sourcesContent&&(u.sourcesContent=null)):u=o.consumer(),this.map.applySourceMap(u,s,this.toUrl(this.path(a)))}},r.clearAnnotation=function(){if(this.mapOpts.annotation!==!1)if(this.root)for(var e,n=this.root.nodes.length-1;n>=0;n--)e=this.root.nodes[n],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(n);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},r.generate=function(){if(this.clearAnnotation(),vS&&dS&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(n){e+=n}),[e]},r.generateMap=function(){if(this.root)this.generateString();else if(this.previous().length===1){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=fo.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new fo({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]},r.generateString=function(){var e=this;this.css="",this.map=new fo({file:this.outputFile(),ignoreInvalidMapping:!0});var n=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(f,l,h){if(e.css+=f,l&&h!=="end"&&(a.generated.line=n,a.generated.column=o-1,l.source&&l.source.start?(a.source=e.sourcePath(l),a.original.line=l.source.start.line,a.original.column=l.source.start.column-1,e.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,e.map.addMapping(a))),u=f.match(/\n/g),u?(n+=u.length,c=f.lastIndexOf(` 81`),o=f.length-c):o+=f.length,l&&h!=="start"){var g=l.parent||{raws:{}},v=l.type==="decl"||l.type==="atrule"&&!l.nodes;(!v||l!==g.last||g.raws.semicolon)&&(l.source&&l.source.end?(a.source=e.sourcePath(l),a.original.line=l.source.end.line,a.original.column=l.source.end.column-1,a.generated.line=n,a.generated.column=o-2,e.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=o-1,e.map.addMapping(a)))}})},r.isAnnotation=function(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(function(e){return e.annotation}):!0},r.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(function(n){return n.inline}):!0},r.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},r.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(function(e){return e.withContent()}):!0},r.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},r.path=function(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;var n=this.memoizedPaths.get(e);if(n)return n;var o=this.opts.to?lo(this.opts.to):".";
vendor: 4,104 bytes, line 81
81typeof this.mapOpts.annotation=="string"&&(o=lo(Nh(o,this.mapOpts.annotation)));var s=Fh(o,e);return this.memoizedPaths.set(e,s),s},r.previous=function(){var e=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;e.previousMaps.includes(s)||e.previousMaps.push(s)}});else{var n=new pS(this.originalCSS,this.opts);n.map&&this.previousMaps.push(n.map)}return this.previousMaps},r.setSourcesContent=function(){var e=this,n={};if(this.root)this.root.walk(function(s){if(s.source){var a=s.source.input.from;if(a&&!n[a]){n[a]=!0;var u=e.usesFileUrls?e.toFileUrl(a):e.toUrl(e.path(a));e.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)}},r.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},r.toBase64=function(e){return E?E.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},r.toFileUrl=function(e){var n=this.memoizedFileURLs.get(e);if(n)return n;if(Dh){var o=Dh(e).toString();return this.memoizedFileURLs.set(e,o),o}else throw new Error("`map.absolute` option is not available in this PostCSS build")},r.toUrl=function(e){var n=this.memoizedURLs.get(e);if(n)return n;Lh==="\\"&&(e=e.replace(/\\/g,"/"));var o=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,o),o},t})(),Uh=gS,mS=oo,qa=(function(t){le(r,t);function r(i){var e;return e=t.call(this,i)||this,e.type="comment",e}return r})(mS),ho=qa;qa.default=qa;var Bh=$t.isClean,zh=$t.my,qh=so,Wh=ho,yS=oo,Gh,Wa,Ga,Vh;function jh(t){return t.map(function(r){return r.nodes&&(r.nodes=jh(r.nodes)),delete r.source,r})}function Hh(t){if(t[Bh]=!1,t.proxyOf.nodes)for(var r=x(t.proxyOf.nodes),i;!(i=r()).done;){var e=i.value;Hh(e)}}var mt=(function(t){le(r,t);function r(){return t.apply(this,arguments)||this}var i=r.prototype;return i.append=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];for(var a=x(o),u;!(u=a()).done;)for(var c=u.value,f=this.normalize(c,this.last),l=x(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.push(g)}return this.markDirty(),this},i.cleanRaws=function(n){if(t.prototype.cleanRaws.call(this,n),this.nodes)for(var o=x(this.nodes),s;!(s=o()).done;){var a=s.value;a.cleanRaws(n)}},i.each=function(n){if(this.proxyOf.nodes){for(var o=this.getIterator(),s,a;this.indexes[o]<this.proxyOf.nodes.length&&(s=this.indexes[o],a=n(this.proxyOf.nodes[s],s),a!==!1);)this.indexes[o]+=1;return delete this.indexes[o],a}},i.every=function(n){return this.nodes.every(n)},i.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var n=this.lastEach;return this.indexes[n]=0,n},i.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 f;return(f=o)[s].apply(f,[].concat(u.map(function(l){return typeof l=="function"?function(h,g){return l(h.toProxy(),g)}:l})))}:s==="every"||s==="some"?function(a){return o[s](function(u){for(var c=arguments.length,f=new Array(c>1?c-1:0),l=1;l<c;l++)f[l-1]=arguments[l];return a.apply(void 0,[].concat([u.toProxy()],f))})}: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}}},i.index=function(n){return typeof n=="number"?n:(n.proxyOf&&(n=n.proxyOf),this.proxyOf.nodes.indexOf(n))},i.insertAfter=function(n,o){var s=this.index(n),a=this.normalize(o,this.proxyOf.nodes[s]).reverse();s=this.index(n);for(var u=x(a),c;!(c=u()).done;){var f=c.value;this.proxyOf.nodes.splice(s+1,0,f)}var l;for(var h in this.indexes)l=this.indexes[h],s<l&&(this.indexes[h
vendor: 5,236 bytes, line 81
81]=l+a.length);return this.markDirty(),this},i.insertBefore=function(n,o){var s=this.index(n),a=s===0?"prepend":!1,u=this.normalize(o,this.proxyOf.nodes[s],a).reverse();s=this.index(n);for(var c=x(u),f;!(f=c()).done;){var l=f.value;this.proxyOf.nodes.splice(s,0,l)}var h;for(var g in this.indexes)h=this.indexes[g],s<=h&&(this.indexes[g]=h+u.length);return this.markDirty(),this},i.normalize=function(n,o){var s=this;if(typeof n=="string")n=jh(Gh(n).nodes);else if(typeof n>"u")n=[];else if(Array.isArray(n)){n=n.slice(0);for(var a=x(n),u;!(u=a()).done;){var c=u.value;c.parent&&c.parent.removeChild(c,"ignore")}}else if(n.type==="root"&&this.type!=="document"){n=n.nodes.slice(0);for(var f=x(n),l;!(l=f()).done;){var h=l.value;h.parent&&h.parent.removeChild(h,"ignore")}}else if(n.type)n=[n];else if(n.prop){if(typeof n.value>"u")throw new Error("Value field is missed in node creation");typeof n.value!="string"&&(n.value=String(n.value)),n=[new qh(n)]}else if(n.selector)n=[new Wa(n)];else if(n.name)n=[new Ga(n)];else if(n.text)n=[new Wh(n)];else throw new Error("Unknown node type in node creation");var g=n.map(function(v){return v[zh]||r.rebuild(v),v=v.proxyOf,v.parent&&v.parent.removeChild(v),v[Bh]&&Hh(v),typeof v.raws.before>"u"&&o&&typeof o.raws.before<"u"&&(v.raws.before=o.raws.before.replace(/\S/g,"")),v.parent=s.proxyOf,v});return g},i.prepend=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];o=o.reverse();for(var a=x(o),u;!(u=a()).done;){for(var c=u.value,f=this.normalize(c,this.first,"prepend").reverse(),l=x(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.unshift(g)}for(var v in this.indexes)this.indexes[v]=this.indexes[v]+f.length}return this.markDirty(),this},i.push=function(n){return n.parent=this,this.proxyOf.nodes.push(n),this},i.removeAll=function(){for(var n=x(this.proxyOf.nodes),o;!(o=n()).done;){var s=o.value;s.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},i.removeChild=function(n){n=this.index(n),this.proxyOf.nodes[n].parent=void 0,this.proxyOf.nodes.splice(n,1);var o;for(var s in this.indexes)o=this.indexes[s],o>=n&&(this.indexes[s]=o-1);return this.markDirty(),this},i.replaceValues=function(n,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(n,s))}),this.markDirty(),this},i.some=function(n){return this.nodes.some(n)},i.walk=function(n){return this.each(function(o,s){var a;try{a=n(o,s)}catch(u){throw o.addToError(u)}return a!==!1&&o.walk&&(a=o.walk(n)),a})},i.walkAtRules=function(n,o){return o?P(n,RegExp)?this.walk(function(s,a){if(s.type==="atrule"&&n.test(s.name))return o(s,a)}):this.walk(function(s,a){if(s.type==="atrule"&&s.name===n)return o(s,a)}):(o=n,this.walk(function(s,a){if(s.type==="atrule")return o(s,a)}))},i.walkComments=function(n){return this.walk(function(o,s){if(o.type==="comment")return n(o,s)})},i.walkDecls=function(n,o){return o?P(n,RegExp)?this.walk(function(s,a){if(s.type==="decl"&&n.test(s.prop))return o(s,a)}):this.walk(function(s,a){if(s.type==="decl"&&s.prop===n)return o(s,a)}):(o=n,this.walk(function(s,a){if(s.type==="decl")return o(s,a)}))},i.walkRules=function(n,o){return o?P(n,RegExp)?this.walk(function(s,a){if(s.type==="rule"&&n.test(s.selector))return o(s,a)}):this.walk(function(s,a){if(s.type==="rule"&&s.selector===n)return o(s,a)}):(o=n,this.walk(function(s,a){if(s.type==="rule")return o(s,a)}))},oe(r,[{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]}}]),r})(yS);mt.registerParse=function(t){Gh=t},mt.registerRule=function(t){Wa=t},mt.registerAtRule=function(t){Ga=t},mt.registerRoot=function(t){Vh=t};var lr=mt;mt.default=mt,mt.rebuild=function(t){t.type==="atrule"?Object.setPrototypeOf(t,Ga.prototype):t.type==="rule"?Object.setPrototypeOf(t,Wa.prototype):t.type==="decl"?Object.setPrototypeOf(t,qh.prototype):t.type==="comment"?Object.setPrototypeOf(t,Wh.prototype):t.type==="root"&&Object.setPrototypeOf(t,Vh.prototype),t[zh]=!0,t.nodes&&t.nodes.forEach(function(r){mt.rebuild(r)})};var _S=lr,Yh,Kh,Cn=(function(t){le(r,t);function r(e){var n;return n=t.call(this,q({type:"document"},e))||this,n.nodes||(n.nodes=[]),n}var i=r.prototype;return i.toResult=function(n){n===void 0&&(n={});var o=new Yh(new Kh,this,n);return o.stringify()},r})(_S);Cn.registerLazyResult=function(t){Yh=t},Cn.registerProcessor=function(t){Kh=t};var Va=Cn;Cn.default=Cn;var ja=(function(){function t(i,e){if(e===void 0&&(e={}),this.type="warning",this.text=i,e.node&&e.node.source){var n=e.node.rangeBy(e);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(var o in e)this[o]=e[o]}var r=t.prototype;return r.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},t})(),Jh=ja;ja.default=ja;var wS=Jh,Ha=(function(){function t(i,e,n){this.processor=i,this.messages=[],this.root=e,this.opts=n,this.css=void 0,this.map=void 0}var r=t.prototype;return r.toString=function(){return this.css}
vendor: 10,320 bytes, lines 81-82
81,r.warn=function(e,n){n===void 0&&(n={}),n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);var o=new wS(e,n);return this.messages.push(o),o},r.warnings=function(){return this.messages.filter(function(e){return e.type==="warning"})},oe(t,[{key:"content",get:function(){return this.css}}]),t})(),Ya=Ha;Ha.default=Ha;var Ka=39,Xh=34,po=92,Zh=47,vo=10,En=32,go=12,mo=9,yo=13,bS=91,SS=93,CS=40,ES=41,IS=123,xS=125,RS=59,AS=42,OS=58,kS=64,_o=/[\t\n\f\r "#'()/;[\\\]{}]/g,wo=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,TS=/.[\r\n"'(/\\]/,Qh=/[\da-f]/i,MS=function(r,i){i===void 0&&(i={});var e=r.css.valueOf(),n=i.ignoreErrors,o,s,a,u,c,f,l,h,g,v,m=e.length,d=0,y=[],_=[];function b(){return d}function C(O){throw r.error("Unclosed "+O,d)}function S(){return _.length===0&&d>=m}function R(O){if(_.length)return _.pop();if(!(d>=m)){var F=O?O.ignoreUnclosed:!1;switch(o=e.charCodeAt(d),o){case vo:case En:case mo:case yo:case go:{s=d;do s+=1,o=e.charCodeAt(s);while(o===En||o===vo||o===mo||o===yo||o===go);v=["space",e.slice(d,s)],d=s-1;break}case bS:case SS:case IS:case xS:case OS:case RS:case ES:{var W=String.fromCharCode(o);v=[W,W,d];break}case CS:{if(h=y.length?y.pop()[1]:"",g=e.charCodeAt(d+1),h==="url"&&g!==Ka&&g!==Xh&&g!==En&&g!==vo&&g!==mo&&g!==go&&g!==yo){s=d;do{if(f=!1,s=e.indexOf(")",s+1),s===-1)if(n||F){s=d;break}else C("bracket");for(l=s;e.charCodeAt(l-1)===po;)l-=1,f=!f}while(f);v=["brackets",e.slice(d,s+1),d,s],d=s}else s=e.indexOf(")",d+1),u=e.slice(d,s+1),s===-1||TS.test(u)?v=["(","(",d]:(v=["brackets",u,d,s],d=s);break}case Ka:case Xh:{a=o===Ka?"'":'"',s=d;do{if(f=!1,s=e.indexOf(a,s+1),s===-1)if(n||F){s=d+1;break}else C("string");for(l=s;e.charCodeAt(l-1)===po;)l-=1,f=!f}while(f);v=["string",e.slice(d,s+1),d,s],d=s;break}case kS:{_o.lastIndex=d+1,_o.test(e),_o.lastIndex===0?s=e.length-1:s=_o.lastIndex-2,v=["at-word",e.slice(d,s+1),d,s],d=s;break}case po:{for(s=d,c=!0;e.charCodeAt(s+1)===po;)s+=1,c=!c;if(o=e.charCodeAt(s+1),c&&o!==Zh&&o!==En&&o!==vo&&o!==mo&&o!==yo&&o!==go&&(s+=1,Qh.test(e.charAt(s)))){for(;Qh.test(e.charAt(s+1));)s+=1;e.charCodeAt(s+1)===En&&(s+=1)}v=["word",e.slice(d,s+1),d,s],d=s;break}default:{o===Zh&&e.charCodeAt(d+1)===AS?(s=e.indexOf("*/",d+2)+1,s===0&&(n||F?s=e.length:C("comment")),v=["comment",e.slice(d,s+1),d,s],d=s):(wo.lastIndex=d+1,wo.test(e),wo.lastIndex===0?s=e.length-1:s=wo.lastIndex-2,v=["word",e.slice(d,s+1),d,s],y.push(v),d=s);break}}return d++,v}}function T(O){_.push(O)}return{back:T,endOfFile:S,nextToken:R,position:b}},ep=lr,bo=(function(t){le(r,t);function r(e){var n;return n=t.call(this,e)||this,n.type="atrule",n}var i=r.prototype;return i.append=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.append).call.apply(a,[].concat([this],o))},i.prepend=function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.prepend).call.apply(a,[].concat([this],o))},r})(ep),Ja=bo;bo.default=bo,ep.registerAtRule(bo);var tp=lr,rp,np,Dr=(function(t){le(r,t);function r(e){var n;return n=t.call(this,e)||this,n.type="root",n.nodes||(n.nodes=[]),n}var i=r.prototype;return i.normalize=function(n,o,s){var a=t.prototype.normalize.call(this,n);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=x(a),c;!(c=u()).done;){var f=c.value;f.raws.before=o.raws.before}}return a},i.removeChild=function(n,o){var s=this.index(n);return!o&&s===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),t.prototype.removeChild.call(this,n)},i.toResult=function(n){n===void 0&&(n={});var o=new rp(new np,this,n);return o.stringify()},r})(tp);Dr.registerLazyResult=function(t){rp=t},Dr.registerProcessor=function(t){np=t};var In=Dr;Dr.default=Dr,tp.registerRoot(Dr);var xn={comma:function(r){return xn.split(r,[","],!0)},space:function(r){var i=[" ",` 82`," "];return xn.split(r,i)},split:function(r,i,e){for(var n=[],o="",s=!1,a=0,u=!1,c="",f=!1,l=x(r),h;!(h=l()).done;){var g=h.value;f?f=!1:g==="\\"?f=!0:u?g===c&&(u=!1):g==='"'||g==="'"?(u=!0,c=g):g==="("?a+=1:g===")"?a>0&&(a-=1):a===0&&i.includes(g)&&(s=!0),s?(o!==""&&n.push(o.trim()),o="",s=!1):o+=g}return(e||o!=="")&&n.push(o.trim()),n}},ip=xn;xn.default=xn;var op=lr,PS=ip,So=(function(t){le(r,t);function r(i){var e;return e=t.call(this,i)||this,e.type="rule",e.nodes||(e.nodes=[]),e}return oe(r,[{key:"selectors",get:function(){return PS.comma(this.selector)},set:function(e){var n=this.selector?this.selector.match(/,\s*/):null,o=n?n[0]:","+this.raw("between","beforeOpen");this.selector=e.join(o)}}]),r})(op),Xa=So;So.default=So,op.registerRule(So);var $S=so,FS=MS,NS=ho,LS=Ja,DS=In,sp=Xa,ap={empty:!0,space:!0};function US(t){for(var r=t.length-1;r>=0;r--){var i=t[r],e=i[3]||i[2];if(e)return e}}var BS=(function(){function t(i){this.input=i,this.root=new DS,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:i,start:{column:1,line:1,offset:0}}}var r=t.prototype;return r.atrule=function(e){var n=new LS;n.name=e[1].slice(1),n.name===""&&this.unnamedAtrule(n,e),this.init(n,e[2]);for(var o,s,a,u=!1,c=!1,f=[],l=[];!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),o=e[0],o==="("||o==="["?l.push(o==="("?")":"]"):o==="{"&&l.length>0?l.push("}"):o===l[l.length-1]&&l.pop(),l.length===0)if(o===";"){n.source.end=this.getPosition(e[2]),n.source.end.offset++,this.semicolon=!0;break}else if(o==="{"){c=!0;break}else if(o==="}"){if(f.length>0){for(a=f.length-1,s=f[a];s&&s[0]==="space";)s=f[--a];s&&(n.source.end=this.getPosition(s[3]||s[2]),n.source.end.offset++)}this.end(e);break}else f.push(e);else f.push(e);if(this.tokenizer.endOfFile()){u=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(n.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(n,"params",f),u&&(e=f[f.length-1],n.source.end=this.getPosition(e[3]||e[2]),n.source.end.offset++,this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),c&&(n.nodes=[],this.current=n)},r.checkMissedSemicolon=function(e){var n=this.colon(e);if(n!==!1){for(var o=0,s,a=n-1;a>=0&&(s=e[a],!(s[0]!=="space"&&(o+=1,o===2)));a--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}},r.colon=function(e){for(var n=0,o,s,a,u=x(e.entries()),c;!(c=u()).done;){var f=c.value,l=f[0],h=f[1];if(o=h,s=o[0],s==="("&&(n+=1),s===")"&&(n-=1),n===0&&s===":")if(!a)this.doubleColon(o);else{if(a[0]==="word"&&a[1]==="progid")continue;return l}a=o}return!1},r.comment=function(e){var n=new NS;this.init(n,e[2]),n.source.end=this.getPosition(e[3]||e[2]),n.source.end.offset++;var o=e[1].slice(2,-2);if(/^\s*$/.test(o))n.text="",n.raws.left=o,n.raws.right="";else{var s=o.match(/^(\s*)([^]*\S)(\s*)$/);n.text=s[2],n.raws.left=s[1],n.raws.right=s[3]}},r.createTokenizer=function(){this.tokenizer=FS(this.input)},r.decl=function(e,n){var o=new $S;this.init(o,e[0][2]);var s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),o.source.end=this.getPosition(s[3]||s[2]||US(e)),o.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),o.raws.before+=e.shift()[1];for(o.source.start=this.getPosition(e[0][2]),o.prop="";e.length;){var a=e[0][0];if(a===":"||a==="space"||a==="comment")break;o.prop+=e.shift()[1]}o.raws.between="";for(var u;e.length;)if(u=e.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=[],f;e.length&&(f=e[0][0],!(f!=="space"&&f!=="comment"));)c.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if(u=e[l],u[1].toLowerCase()==="!important"){o.important=!0;var h=this.stringFrom(e,l);h=this.spacesFromEnd(e)+h,h!==" !important"&&(o.raws.important=h);break}else if(u[1].toLowerCase()==="important"){for(var g=e.slice(0),v="",m=l;m>0;m--){var d=g[m][0];if(v.trim().indexOf("!")===0&&d!=="space")break;v=g.pop()[1]+v}v.trim().indexOf("!")===0&&(o.important=!0,o.raws.important=v,e=g)}if(u[0]!=="space"&&u[0]!=="comment")break}var y=e.some(function(_){return _[0]!=="space"&&_[0]!=="comment"});y&&(o.raws.between+=c.map(function(_){return _[1]}).join(""),c=[]),this.raw(o,"value",c.concat(e),n),o.value.includes(":")&&!n&&this.checkMissedSemicolon(e)},r.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},r.emptyRule=function(e){var n=new sp;this.init(n,e[2]),n.selector="",n.raws.between="",this.current=n},r.end=function(e){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(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},r.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())},r.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var n=this.current.nodes[this.current.nodes.length-1];n&&n.type==="rule"&&!n.raws.ownSemicolon&&(n.raws.ownSemicolon=this.spaces,this.spaces="")}},r.getPosition=function(e){var n=this.input.fromOffset(e);return{column:n.col,line:n.line,offset:e}},r.init=function(e,n){this.current.push(e),e.source={input:this.input,start:this.getPosition(n)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)},r.other=function(e){for(var n=!1,o=null,s=!1,a=null,u=[],c=e[1].startsWith("--"),f=[],l=e;l;){if(o=l[0],f.push(l),o==="("||o==="[")a||(a=l),u.push(o==="("?")":"]");else if(c&&s&&o==="{")a||(a=l),u.push("}");else if(u.length===0)if(o===";")if(s){this.decl(f,c);return}else break;else if(o==="{"){this.rule(f);return}else if(o==="}"){this.tokenizer.back(f.pop()),n=!0;break}else o===":"&&(s=!0);else o===u[u.length-1]&&(u.pop(),u.length===0&&(a=null));l=this.tokenizer.nextToken()}
vendor: 20,581 bytes, lines 82-93
82if(this.tokenizer.endOfFile()&&(n=!0),u.length>0&&this.unclosedBracket(a),n&&s){if(!c)for(;f.length&&(l=f[f.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,c)}else this.unknownWord(f)},r.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()},r.precheckMissedSemicolon=function(){},r.raw=function(e,n,o,s){for(var a,u,c=o.length,f="",l=!0,h,g,v=0;v<c;v+=1)a=o[v],u=a[0],u==="space"&&v===c-1&&!s?l=!1:u==="comment"?(g=o[v-1]?o[v-1][0]:"empty",h=o[v+1]?o[v+1][0]:"empty",!ap[g]&&!ap[h]?f.slice(-1)===","?l=!1:f+=a[1]:l=!1):f+=a[1];if(!l){var m=o.reduce(function(d,y){return d+y[1]},"");e.raws[n]={raw:m,value:f}}e[n]=f},r.rule=function(e){e.pop();var n=new sp;this.init(n,e[0][2]),n.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(n,"selector",e),this.current=n},r.spacesAndCommentsFromEnd=function(e){for(var n,o="";e.length&&(n=e[e.length-1][0],!(n!=="space"&&n!=="comment"));)o=e.pop()[1]+o;return o},r.spacesAndCommentsFromStart=function(e){for(var n,o="";e.length&&(n=e[0][0],!(n!=="space"&&n!=="comment"));)o+=e.shift()[1];return o},r.spacesFromEnd=function(e){for(var n,o="";e.length&&(n=e[e.length-1][0],n==="space");)o=e.pop()[1]+o;return o},r.stringFrom=function(e,n){for(var o="",s=n;s<e.length;s++)o+=e[s][1];return e.splice(n,e.length-n),o},r.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},r.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},r.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},r.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},r.unnamedAtrule=function(e,n){throw this.input.error("At-rule without name",{offset:n[2]},{offset:n[2]+n[1].length})},t})(),zS=BS,qS=lr,WS=zS,GS=co;function Co(t,r){var i=new GS(t,r),e=new WS(i);try{e.parse()}catch(n){throw n}return e.root}var Za=Co;Co.default=Co,qS.registerParse(Co);var rt=$t.isClean,VS=$t.my,jS=Uh,HS=no,YS=lr,KS=Va,up=Ya,JS=Za,XS=In,ZS={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},QS={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},e0={Once:!0,postcssPlugin:!0,prepare:!0},Ur=0;function Rn(t){return(typeof t>"u"?"undefined":$(t))==="object"&&typeof t.then=="function"}function cp(t){var r=!1,i=ZS[t.type];return t.type==="decl"?r=t.prop.toLowerCase():t.type==="atrule"&&(r=t.name.toLowerCase()),r&&t.append?[i,i+"-"+r,Ur,i+"Exit",i+"Exit-"+r]:r?[i,i+"-"+r,i+"Exit",i+"Exit-"+r]:t.append?[i,Ur,i+"Exit"]:[i,i+"Exit"]}function fp(t){var r;return t.type==="document"?r=["Document",Ur,"DocumentExit"]:t.type==="root"?r=["Root",Ur,"RootExit"]:r=cp(t),{eventIndex:0,events:r,iterator:0,node:t,visitorIndex:0,visitors:[]}}function Qa(t){return t[rt]=!1,t.nodes&&t.nodes.forEach(function(r){return Qa(r)}),t}var eu={},Br=(function(){function t(i,e,n){var o=this;this.stringified=!1,this.processed=!1;var s;if((typeof e>"u"?"undefined":$(e))==="object"&&e!==null&&(e.type==="root"||e.type==="document"))s=Qa(e);else if(P(e,t)||P(e,up))s=Qa(e.root),e.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=e.map);else{var a=JS;n.syntax&&(a=n.syntax.parse),n.parser&&(a=n.parser),a.parse&&(a=a.parse);try{s=a(e,n)}catch(u){this.processed=!0,this.error=u}s&&!s[VS]&&YS.rebuild(s)}this.result=new up(i,s,n),this.helpers=q({},eu,{postcss:eu,result:this.result}),this.plugins=this.processor.plugins.map(function(u){return(typeof u>"u"?"undefined":$(u))==="object"&&u.prepare?q({},u,u.prepare(o.result)):u})}var r=t.prototype;return r.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},r.catch=function(e){return this.async().catch(e)},r.finally=function(e){return this.async().then(e,e)},r.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},r.handleError=function(e,n){var o=this.result.lastPlugin;try{if(n&&n.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=o.postcssPlugin,e.setMessage();else if(o.postcssVersion)var s,a,u,c,f}catch(l){console&&console.error&&console.error(l)}return e},r.prepareVisitors=function(){var e=this;this.listeners={};for(var n=function(f,l,h){e.listeners[l]||(e.listeners[l]=[]),e.listeners[l].push([f,h])},o=x(this.plugins),s;!(s=o()).done;){var a=s.value;if((typeof a>"u"?"undefined":$(a))==="object")for(var u in a){if(!QS[u]&&/^[A-Z]/.test(u))throw new Error("Unknown event "+u+" in "+a.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!e0[u])if($(a[u])==="object")for(var c in a[u])c==="*"?n(a,u,a[u][c]):n(a,u+"-"+c.toLowerCase(),a[u][c]);else typeof a[u]=="function"&&n(a,u,a[u])}}this.hasListener=Object.keys(this.listeners).length>0},r.runAsync=function(){var e=this;return Zn(function(){var n,o,s,a,u,c,f,l,h,g,v,m;return sr(this,function(d){switch(d.label){case 0:e.plugin=0,n=0,d.label=1;case 1:if(!(n<e.plugins.length))return[3,6];if(o=e.plugins[n],s=e.runOnRoot(o),!Rn(s))return[3,5];d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s];case 3:return d.sent(),[3,5];case 4:throw a=d.sent(),e.handleError(a);case 5:return n++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];u=e.result.root,d.label=7;case 7:if(u[rt])return[3,14];u[rt]=!0,c=[fp(u)],d.label=8;case 8:if(!(c.length>0))return[3,13];if(f=e.visitTick(c),!Rn(f))return[3,12];d.label=9;case 9:return d.trys.push([9,11,,12]),[4,f];case 10:return d.sent(),[3,12];case 11:throw l=d.sent(),h=c[c.length-1].node,e.handleError(l,h);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];g=function(){var y,_,b,C,S;return sr(this,function(R){switch(R.label){case 0:y=m.value,_=y[0],b=y[1],e.result.lastPlugin=_,R.label=1;case 1:return R.trys.push([1,6,,7]),u.type!=="document"?[3,3]:(C=u.nodes.map(function(T){return b(T,e.helpers)}),[4,Promise.all(C)]);case 2:return R.sent(),[3,5];case 3:return[4,b(u,e.helpers)];case 4:R.sent(),R.label=5;case 5:return[3,7];case 6:throw S=R.sent(),e.handleError(S);case 7:return[2]}})},v=x(e.listeners.OnceExit),d.label=15;case 15:return(m=v()).done?[3,18]:[5,os(g())];case 16:d.sent(),d.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},r.runOnRoot=function(e){var n=this;this.result.lastPlugin=e;try{if((typeof e>"u"?"undefined":$(e))==="object"&&e.Once){if(this.result.root.type==="document"){var o=this.result.root.nodes.map(function(s){return e.Once(s,n.helpers)});return Rn(o[0])?Promise.all(o):o}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(s){throw this.handleError(s)}},r.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,n=HS;e.syntax&&(n=e.syntax.stringify),e.stringifier&&(n=e.stringifier),n.stringify&&(n=n.stringify);var o=new jS(n,this.result.root,this.result.opts),s=o.generate();return this.result.css=s[0],this.result.map=s[1],this.result},r.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 e=x(this.plugins),n;!(n=e()).done;){var o=n.value,s=this.runOnRoot(o);if(Rn(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var a=this.result.root;!a[rt];)a[rt]=!0,this.walkSync(a);if(this.listeners.OnceExit)if(a.type==="document")for(var u=x(a.nodes),c;!(c=u()).done;){var f=c.value;this.visitSync(this.listeners.OnceExit,f)}else this.visitSync(this.listeners.OnceExit,a)}return this.result},r.then=function(e,n){return this.async().then(e,n)},r.toString=function(){return this.css},r.visitSync=function(e,n){for(var o=x(e),s;!(s=o()).done;){var a=s.value,u=a[0],c=a[1];this.result.lastPlugin=u;var f=void 0;try{f=c(n,this.helpers)}catch(l){throw this.handleError(l,n.proxyOf)}if(n.type!=="root"&&n.type!=="document"&&!n.parent)return!0;if(Rn(f))throw this.getAsyncError()}},r.visitTick=function(e){var n=e[e.length-1],o=n.node,s=n.visitors;if(o.type!=="root"&&o.type!=="document"&&!o.parent){e.pop();return}if(s.length>0&&n.visitorIndex<s.length){var a=s[n.visitorIndex],u=a[0],c=a[1];n.visitorIndex+=1,n.visitorIndex===s.length&&(n.visitors=[],n.visitorIndex=0),this.result.lastPlugin=u;try{return c(o.toProxy(),this.helpers)}catch(v){throw this.handleError(v,o)}}if(n.iterator!==0){for(var f=n.iterator,l;l=o.nodes[o.indexes[f]];)if(o.indexes[f]+=1,!l[rt]){l[rt]=!0,e.push(fp(l));return}n.iterator=0,delete o.indexes[f]}for(var h=n.events;n.eventIndex<h.length;){var g=h[n.eventIndex];if(n.eventIndex+=1,g===Ur){o.nodes&&o.nodes.length&&(o[rt]=!0,n.iterator=o.getIterator());return}else if(this.listeners[g]){n.visitors=this.listeners[g];return}}e.pop()},r.walkSync=function(e){var n=this;e[rt]=!0;for(var o=cp(e),s=x(o),a;!(a=s()).done;){var u=a.value;if(u===Ur)e.nodes&&e.each(function(f){f[rt]||n.walkSync(f)});else{var c=this.listeners[u];if(c&&this.visitSync(c,e.toProxy()))return}}},r.warnings=function(){return this.sync().warnings()},oe(t,[{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"}}]),t})();Br.registerPostcss=function(t){eu=t};var lp=Br;Br.default=Br,XS.registerLazyResult(Br),KS.registerLazyResult(Br);var t0=Uh,r0=no,n0=Za,i0=Ya,tu=(function(){function t(i,e,n){e=e.toString(),this.stringified=!1,this._processor=i,this._css=e,this._opts=n,this._map=void 0;var o,s=r0;this.result=new i0(this._processor,o,this._opts),this.result.css=e;var a=this;Object.defineProperty(this.result,"root",{get:function(){return a.root}});var u=new t0(s,o,this._opts,e);if(u.isMap()){var c=u.generate(),f=c[0],l=c[1];f&&(this.result.css=f),l&&(this.result.map=l)}else u.clearAnnotation(),this.result.css=u.css}var r=t.prototype;return r.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},r.catch=function(e){return this.async().catch(e)},r.finally=function(e){return this.async().then(e,e)},r.sync=function(){if(this.error)throw this.error;return this.result},r.then=function(e,n){return this.async().then(e,n)},r.toString=function(){return this._css},r.warnings=function(){return[]},oe(t,[{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 e,n=n0;try{e=n(this._css,this._opts)}catch(o){this.error=o}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),t})(),o0=tu;tu.default=tu;var s0=o0,a0=lp,u0=Va,c0=In,An=(function(){function t(i){i===void 0&&(i=[]),this.version="8.4.38",this.plugins=this.normalize(i)}var r=t.prototype;return r.normalize=function(e){for(var n=[],o=x(e),s;!(s=o()).done;){var a=s.value;if(a.postcss===!0?a=a():a.postcss&&(a=a.postcss),(typeof a>"u"?"undefined":$(a))==="object"&&Array.isArray(a.plugins))n=n.concat(a.plugins);else if((typeof a>"u"?"undefined":$(a))==="object"&&a.postcssPlugin)n.push(a);else if(typeof a=="function")n.push(a);else if(!((typeof a>"u"?"undefined":$(a))==="object"&&(a.parse||a.stringify)))throw new Error(a+" is not a PostCSS plugin")}return n},r.process=function(e,n){return n===void 0&&(n={}),!this.plugins.length&&!n.parser&&!n.stringifier&&!n.syntax?new s0(this,e,n):new a0(this,e,n)},r.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},t})(),f0=An;An.default=An,c0.registerProcessor(An),u0.registerProcessor(An);var l0=so,h0=kh,p0=ho,d0=Ja,v0=co,g0=In,m0=Xa;function On(t,r){if(Array.isArray(t))return t.map(function(l){return On(l)});var i=t.inputs,e=or(t,["inputs"]);if(i){r=[];for(var n=x(i),o;!(o=n()).done;){var s=o.value,a=q({},s,{__proto__:v0.prototype});a.map&&(a.map=q({},a.map,{__proto__:h0.prototype})),r.push(a)}}if(e.nodes&&(e.nodes=t.nodes.map(function(l){return On(l,r)})),e.source){var u=e.source,c=u.inputId,f=or(u,["inputId"]);e.source=f,c!=null&&(e.source.input=r[c])}if(e.type==="root")return new g0(e);if(e.type==="decl")return new l0(e);if(e.type==="rule")return new m0(e);if(e.type==="comment")return new p0(e);if(e.type==="atrule")return new d0(e);throw new Error("Unknown node type: "+t.type)}var y0=On;On.default=On;var _0=ka,hp=so,w0=lp,b0=lr,ru=f0,S0=no,C0=y0,pp=Va,E0=Jh,dp=ho,vp=Ja,I0=Ya,x0=co,R0=Za,A0=ip,gp=Xa,mp=In,O0=oo;function ee(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new ru(r)}ee.plugin=function(r,i){var e=!1;function n(){for(var s=arguments.length,a=new Array(s),u=0;u<s;u++)a[u]=arguments[u];console&&console.warn&&!e&&(e=!0,console.warn(r+`: postcss.plugin was deprecated. Migration guide: 83https://evilmartians.com/chronicles/postcss-8-plugin-migration`),ir.env.LANG&&ir.env.LANG.startsWith("cn")&&console.warn(r+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357: 84https://www.w3ctech.com/topic/2226`));var c=i.apply(void 0,[].concat(a));return c.postcssPlugin=r,c.postcssVersion=new ru().version,c}var o;return Object.defineProperty(n,"postcss",{get:function(){return o||(o=n()),o}}),n.process=function(s,a,u){return ee([n(u)]).process(s,a)},n},ee.stringify=S0,ee.parse=R0,ee.fromJSON=C0,ee.list=A0,ee.comment=function(t){return new dp(t)},ee.atRule=function(t){return new vp(t)},ee.decl=function(t){return new hp(t)},ee.rule=function(t){return new gp(t)},ee.root=function(t){return new mp(t)},ee.document=function(t){return new pp(t)},ee.CssSyntaxError=_0,ee.Declaration=hp,ee.Container=b0,ee.Processor=ru,ee.Document=pp,ee.Comment=dp,ee.Warning=E0,ee.AtRule=vp,ee.Result=I0,ee.Input=x0,ee.Rule=gp,ee.Root=mp,ee.Node=O0,w0.registerPostcss(ee);var k0=ee;ee.default=ee;var de=Wb(k0);de.stringify,de.fromJSON,de.plugin,de.parse,de.list,de.document,de.comment,de.atRule,de.rule,de.decl,de.root,de.CssSyntaxError,de.Declaration,de.Container,de.Processor,de.Document,de.Comment,de.Warning,de.AtRule,de.Result,de.Input,de.Rule,de.Root,de.Node;var T0=Object.defineProperty,M0=function(t,r,i){return r in t?T0(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i},Eo=function(t,r,i){return M0(t,(typeof r>"u"?"undefined":$(r))!=="symbol"?r+"":r,i)};function P0(t,r,i){try{if(!(r in t))return function(){};var e=t[r],n=i(e);return typeof n=="function"&&(n.prototype=n.prototype||{},Object.defineProperties(n,{__rrweb_original__:{enumerable:!1,value:e}})),t[r]=n,function(){t[r]=e}}catch{return function(){}}}var zr=(function(){function t(i){Eo(this,"fileName"),Eo(this,"functionName"),Eo(this,"lineNumber"),Eo(this,"columnNumber"),this.fileName=i.fileName||"",this.functionName=i.functionName||"",this.lineNumber=i.lineNumber,this.columnNumber=i.columnNumber}var r=t.prototype;return r.toString=function(){var e=this.lineNumber||"",n=this.columnNumber||"";return this.functionName?this.functionName+" ("+this.fileName+":"+e+":"+n+")":this.fileName+":"+e+":"+n},t})(),$0=/(^|@)\S+:\d+/,yp=/^\s*at .*(\S+:\d+|\(native\))/m,F0=/^(eval@)?(\[native code])?$/,nu={parse:function(r){return r?typeof r.stacktrace<"u"||typeof r["opera#sourceloc"]<"u"?this.parseOpera(r):r.stack&&r.stack.match(yp)?this.parseV8OrIE(r):r.stack?this.parseFFOrSafari(r):(console.warn("[console-record-plugin]: Failed to parse error object:",r),[]):[]},extractLocation:function(r){if(r.indexOf(":")===-1)return[r];var i=/(.+?)(?::(\d+))?(?::(\d+))?$/,e=i.exec(r.replace(/[()]/g,""));if(!e)throw new Error("Cannot parse given url: "+r);return[e[1],e[2]||void 0,e[3]||void 0]},parseV8OrIE:function(r){var i=r.stack.split(` 85`).filter(function(e){return!!e.match(yp)},this);return i.map(function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var n=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),o=n.match(/ (\((.+):(\d+):(\d+)\)$)/);n=o?n.replace(o[0],""):n;var s=n.split(/\s+/).slice(1),a=this.extractLocation(o?o[1]:s.pop()),u=s.join(" ")||void 0,c=["eval","<anonymous>"].indexOf(a[0])>-1?void 0:a[0];return new zr({functionName:u,fileName:c,lineNumber:a[1],columnNumber:a[2]})},this)},parseFFOrSafari:function(r){var i=r.stack.split(` 86`).filter(function(e){return!e.match(F0)},this);return i.map(function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),e.indexOf("@")===-1&&e.indexOf(":")===-1)return new zr({functionName:e});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,o=e.match(n),s=o&&o[1]?o[1]:void 0,a=this.extractLocation(e.replace(n,""));return new zr({functionName:s,fileName:a[0],lineNumber:a[1],columnNumber:a[2]})},this)},parseOpera:function(r){return!r.stacktrace||r.message.indexOf(` 87`)>-1&&r.message.split(` 88`).length>r.stacktrace.split(` 89`).length?this.parseOpera9(r):r.stack?this.parseOpera11(r):this.parseOpera10(r)},parseOpera9:function(r){for(var i=/Line (\d+).*script (?:in )?(\S+)/i,e=r.message.split(` 90`),n=[],o=2,s=e.length;o<s;o+=2){var a=i.exec(e[o]);a&&n.push(new zr({fileName:a[2],lineNumber:parseFloat(a[1])}))}return n},parseOpera10:function(r){for(var i=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,e=r.stacktrace.split(` 91`),n=[],o=0,s=e.length;o<s;o+=2){var a=i.exec(e[o]);a&&n.push(new zr({functionName:a[3]||void 0,fileName:a[2],lineNumber:parseFloat(a[1])}))}return n},parseOpera11:function(r){var i=r.stack.split(` 92`).filter(function(e){return!!e.match($0)&&!e.match(/^Error created at/)},this);return i.map(function(e){var n=e.split("@"),o=this.extractLocation(n.pop()),s=n.shift()||"",a=s.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;return new zr({functionName:a,fileName:o[0],lineNumber:o[1],columnNumber:o[2]})},this)}};function N0(t){if(!t||!t.outerHTML)return"";for(var r="";t.parentElement;){var i=t.localName;if(!i)break;i=i.toLowerCase();var e=t.parentElement,n=[];if(e.children&&e.children.length>0)for(var o=0;o<e.children.length;o++){var s=e.children[o];s.localName&&s.localName.toLowerCase&&s.localName.toLowerCase()===i&&n.push(s)}n.length>1&&(i+=":eq("+n.indexOf(t)+")"),r=i+(r?">"+r:""),t=e}return r}function iu(t){return Object.prototype.toString.call(t)==="[object Object]"}function _p(t,r){if(r===0)return!0;for(var i=Object.keys(t),e=x(i),n;!(n=e()).done;){var o=n.value;if(iu(t[o])&&_p(t[o],r-1))return!0}return!1}function qr(t,r){var i={numOfKeysLimit:50,depthOfLimit:4};Object.assign(i,r);var e=[],n=[];return JSON.stringify(t,function(a,u){if(e.length>0){var c=e.indexOf(this);~c?e.splice(c+1):e.push(this),~c?n.splice(c,1/0,a):n.push(a),~e.indexOf(u)&&(e[0]===u?u="[Circular ~]":u="[Circular ~."+n.slice(0,e.indexOf(u)).join(".")+"]")}else e.push(u);if(u===null)return u;if(u===void 0)return"undefined";if(o(u))return s(u);if((typeof u>"u"?"undefined":$(u))==="bigint")return u.toString()+"n";if(P(u,Event)){var f={};for(var l in u){var h=u[l];Array.isArray(h)?f[l]=N0(h.length?h[0]:null):f[l]=h}return f}else{if(P(u,Node))return P(u,HTMLElement)?u?u.outerHTML:"":u.nodeName;if(P(u,Error))return u.stack?u.stack+` 93End of stack for Error object`:u.name+": "+u.message}return u});function o(a){return!!(iu(a)&&Object.keys(a).length>i.numOfKeysLimit||typeof a=="function"||iu(a)&&_p(a,i.depthOfLimit))}function s(a){var u=a.toString();return i.stringLengthLimit&&u.length>i.stringLengthLimit&&(u=""+u.slice(0,i.stringLengthLimit)+"..."),u}}var wp={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","t
93ime","timeEnd","timeLog","trace","warn"],lengthThreshold:1e3,logger:"console"};function L0(t,r,i){var e=i?Object.assign({},wp,i):wp,n=e.logger;if(!n)return function(){};var o;typeof n=="string"?o=r[n]:o=n;var s=0,a=!1,u=[];if(e.level.includes("error")){var c=function(m){var d=m.message,y=m.error,_=nu.parse(y).map(function(C){return C.toString()}),b=[qr(d,e.stringifyOptions)];t({level:"error",trace:_,payload:b})};r.addEventListener("error",c),u.push(function(){r.removeEventListener("error",c)});var f=function(m){var d,y;P(m.reason,Error)?(d=m.reason,y=[qr("Uncaught (in promise) "+d.name+": "+d.message,e.stringifyOptions)]):(d=new Error,y=[qr("Uncaught (in promise)",e.stringifyOptions),qr(m.reason,e.stringifyOptions)]);var _=nu.parse(d).map(function(b){return b.toString()});t({level:"error",trace:_,payload:y})};r.addEventListener("unhandledrejection",f),u.push(function(){r.removeEventListener("unhandledrejection",f)})}for(var l=x(e.level),h;!(h=l()).done;){var g=h.value;u.push(v(o,g))}return function(){u.forEach(function(m){return m()})};function v(m,d){var y=this;return m[d]?P0(m,d,function(_){var b=y;return function(){for(var C=arguments.length,S=new Array(C),R=0;R<C;R++)S[R]=arguments[R];if(_.apply(b,S),!(d==="assert"&&S[0])&&!a){a=!0;try{var T=nu.parse(new Error).map(function(W){return W.toString()}).splice(1),O=d==="assert"?S.slice(1):S,F=O.map(function(W){return qr(W,e.stringifyOptions)});s++,s<e.lengthThreshold?t({level:d,trace:T,payload:F}):s===e.lengthThreshold&&t({level:"warn",trace:[],payload:[qr("The number of log records reached the threshold.")]})}catch(W){_.apply(void 0,[].concat(["rrweb logger error:",W],S))}finally{a=!1}
vendor: 5,048 bytes, line 93
93}}}):function(){}}}var D0="rrweb/console@1",U0=function(t){return{name:D0,observer:L0,options:t}},bp=I.setImmediate,Ft,ou,su,Sp=Object.prototype.toString,B0=typeof bp<"u"?function(r){return bp(r)}:setTimeout;try{Object.defineProperty({},"x",{}),Ft=function(r,i,e,n){return Object.defineProperty(r,i,{value:e,writable:!0,configurable:n!==!1})}}catch{Ft=function(i,e,n){return i[e]=n,i}}su=(function(){var r,i,e;function n(o,s){this.fn=o,this.self=s,this.next=void 0}return{add:function(s,a){e=new n(s,a),i?i.next=e:r=e,i=e,e=void 0},drain:function(){var s=r;for(r=i=ou=void 0;s;)s.fn.call(s.self),s=s.next}}})();function Io(t,r){su.add(t,r),ou||(ou=B0(su.drain))}function Cp(t){var r,i=typeof t;return t!==null&&(i==="object"||i==="function")&&(r=t.then),typeof r=="function"?r:!1}function au(){for(var t=0;t<this.chain.length;t++)z0(this,this.state===1?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function z0(t,r,i){var e,n;try{r===!1?i.reject(t.msg):(r===!0?e=t.msg:e=r.call(void 0,t.msg),e===i.promise?i.reject(TypeError("Promise-chain cycle")):(n=Cp(e))?n.call(e,i.resolve,i.reject):i.resolve(e))}catch(o){i.reject(o)}}function Ep(t){var r,i=this;if(!i.triggered){i.triggered=!0,i.def&&(i=i.def);try{(r=Cp(t))?Io(function(){var e=new xp(i);try{r.call(t,function(){Ep.apply(e,arguments)},function(){kn.apply(e,arguments)})}catch(n){kn.call(e,n)}}):(i.msg=t,i.state=1,i.chain.length>0&&Io(au,i))}catch(e){kn.call(new xp(i),e)}}}function kn(t){var r=this;r.triggered||(r.triggered=!0,r.def&&(r=r.def),r.msg=t,r.state=2,r.chain.length>0&&Io(au,r))}function Ip(t,r,i,e){for(var n=0;n<r.length;n++)(function(s){t.resolve(r[s]).then(function(u){i(s,u)},e)})(n)}function xp(t){this.def=t,this.triggered=!1}function q0(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function Nt(t){if(typeof t!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var r=new q0(this);this.then=function(e,n){var o={success:typeof e=="function"?e:!0,failure:typeof n=="function"?n:!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}),r.chain.push(o),r.state!==0&&Io(au,r),o.promise},this.catch=function(e){return this.then(void 0,e)};try{t.call(void 0,function(e){Ep.call(r,e)},function(e){kn.call(r,e)})}catch(i){kn.call(r,i)}}var Rp=Ft({},"constructor",Nt,!1);Nt.prototype=Rp,Ft(Rp,"__NPO__",0,!1),Ft(Nt,"resolve",function(r){var i=this;return r&&typeof r=="object"&&r.__NPO__===1?r:new i(function(n,o){if(typeof n!="function"||typeof o!="function")throw TypeError("Not a function");n(r)})}),Ft(Nt,"reject",function(r){return new this(function(e,n){if(typeof e!="function"||typeof n!="function")throw TypeError("Not a function");n(r)})}),Ft(Nt,"all",function(r){var i=this;return Sp.call(r)!=="[object Array]"?i.reject(TypeError("Not an array")):r.length===0?i.resolve([]):new i(function(n,o){if(typeof n!="function"||typeof o!="function")throw TypeError("Not a function");var s=r.length,a=Array(s),u=0;Ip(i,r,function(f,l){a[f]=l,++u===s&&n(a)},o)})}),Ft(Nt,"race",function(r){var i=this;return Sp.call(r)!=="[object Array]"?i.reject(TypeError("Not an array")):new i(function(n,o){if(typeof n!="function"||typeof o!="function")throw TypeError("Not a function");Ip(i,r,function(a,u){n(u)},o)})});var U;typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1?U=Promise:U=Nt;var Tn=1440*60*1e3,uu=8*1e3,xo=Array.prototype,W0=Function.prototype,Ap=Object.prototype,Lt=xo.slice,Mn=Ap.toString,Ro=Ap.hasOwnProperty,Ce=I.console,yt=I.navigator,B=I.document,Pn=I.opera,Op=I.screen,nt=yt.userAgent,cu=W0.bind,kp=xo.forEach,Tp=xo.indexOf,Mp=xo.map,G0=Array.isArray,fu={},p={trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},L={log:function(){if(Le.DEBUG&&!p.isUndefined(Ce)&&Ce)try{Ce.log.apply(Ce,arguments)}catch{p.each(arguments,function(r){Ce.log(r)})}},warn:function(){if(Le.DEBUG&&!p.isUndefined(Ce)&&Ce){var t=["Mixpanel warning:"].concat(p.toArray(arguments));try{Ce.warn.apply(Ce,t)}catch{p.each(t,function(i){Ce.warn(i)})}}},error:function(){if(Le.DEBUG&&!p.isUndefined(Ce)&&Ce){var t=["Mixpanel error:"].concat(p.toArray(arguments));try{Ce.error.apply(Ce,t)}catch{p.each(t,function(i){Ce.error(i)})}}},critical:function(){if(!p.isUndefined(Ce)&&Ce){var t=["Mixpanel error:"].concat(p.toArray(arguments));try{Ce.error.apply(Ce,t)}catch{p.each(t,function(i){Ce.error(i)})}}}},Ao=function(t,r){return function(){return arguments[0]="["+r+"] "+arguments[0],t.apply(L,arguments)}},it=function(t){return{log:Ao(L.log,t),warn:Ao(L.warn,t),error:Ao(L.error,t),critical:Ao(L.critical,t)}},hr=function(t){return function(){try{return t.apply(this,arguments)}catch(r){L.critical("Implementation error. Please turn on debug and contact [email protected]."),Le.DEBUG&&L.critical(r)}}},lu=function(t){var r=t.prototype;for(var i in r)typeof r[i]=="function"&&(r[i]=hr(r[i]))};p.bind=function(t,r){var i,e;
vendor: 12,402 bytes, lines 93-99
93if(cu&&t.bind===cu)return cu.apply(t,Lt.call(arguments,1));if(!p.isFunction(t))throw new TypeError;return i=Lt.call(arguments,2),e=function(){if(!(this instanceof e))return t.apply(r,i.concat(Lt.call(arguments)));var n={};n.prototype=t.prototype;var o=new n;n.prototype=null;var s=t.apply(o,i.concat(Lt.call(arguments)));return Object(s)===s?s:o},e},p.each=function(t,r,i){if(t!=null){if(kp&&t.forEach===kp)t.forEach(r,i);else if(t.length===+t.length){for(var e=0,n=t.length;e<n;e++)if(e in t&&r.call(i,t[e],e,t)===fu)return}else for(var o in t)if(Ro.call(t,o)&&r.call(i,t[o],o,t)===fu)return}},p.extend=function(t){return p.each(Lt.call(arguments,1),function(r){for(var i in r)r[i]!==void 0&&(t[i]=r[i])}),t},p.isArray=G0||function(t){return Mn.call(t)==="[object Array]"},p.isFunction=function(t){return typeof t=="function"},p.isArguments=function(t){return!!(t&&Ro.call(t,"callee"))},p.toArray=function(t){return t?t.toArray?t.toArray():p.isArray(t)||p.isArguments(t)?Lt.call(t):p.values(t):[]},p.map=function(t,r,i){if(Mp&&t.map===Mp)return t.map(r,i);var e=[];return p.each(t,function(n){e.push(r.call(i,n))}),e},p.keys=function(t){var r=[];return t===null||p.each(t,function(i,e){r[r.length]=e}),r},p.values=function(t){var r=[];return t===null||p.each(t,function(i){r[r.length]=i}),r},p.include=function(t,r){var i=!1;return t===null?i:Tp&&t.indexOf===Tp?t.indexOf(r)!=-1:(p.each(t,function(e){if(i||(i=e===r))return fu}),i)},p.includes=function(t,r){return t.indexOf(r)!==-1},p.inherit=function(t,r){return t.prototype=new r,t.prototype.constructor=t,t.superclass=r.prototype,t},p.isObject=function(t){return t===Object(t)&&!p.isArray(t)},p.isEmptyObject=function(t){if(p.isObject(t)){for(var r in t)if(Ro.call(t,r))return!1;return!0}return!1},p.isUndefined=function(t){return t===void 0},p.isString=function(t){return Mn.call(t)=="[object String]"},p.isDate=function(t){return Mn.call(t)=="[object Date]"},p.isNumber=function(t){return Mn.call(t)=="[object Number]"},p.isElement=function(t){return!!(t&&t.nodeType===1)},p.encodeDates=function(t){return p.each(t,function(r,i){p.isDate(r)?t[i]=p.formatDate(r):p.isObject(r)&&(t[i]=p.encodeDates(r))}),t},p.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},p.formatDate=function(t){function r(i){return i<10?"0"+i:i}return t.getUTCFullYear()+"-"+r(t.getUTCMonth()+1)+"-"+r(t.getUTCDate())+"T"+r(t.getUTCHours())+":"+r(t.getUTCMinutes())+":"+r(t.getUTCSeconds())},p.strip_empty_properties=function(t){var r={};return p.each(t,function(i,e){p.isString(i)&&i.length>0&&(r[e]=i)}),r},p.truncate=function(t,r){var i;return typeof t=="string"?i=t.slice(0,r):p.isArray(t)?(i=[],p.each(t,function(e){i.push(p.truncate(e,r))})):p.isObject(t)?(i={},p.each(t,function(e,n){i[n]=p.truncate(e,r)})):i=t,i},p.JSONEncode=(function(){return function(t){var r=t,i=function(n){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(n)?'"'+n.replace(o,function(a){var u=s[a];return typeof u=="string"?u:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+n+'"'},e=function(n,o){var s="",a=" ",u=0,c="",f="",l=0,h=s,g=[],v=o[n];switch(v&&typeof v=="object"&&typeof v.toJSON=="function"&&(v=v.toJSON(n)),typeof v){case"string":return i(v);case"number":return isFinite(v)?String(v):"null";case"boolean":case"null":return String(v);case"object":if(!v)return"null";if(s+=a,g=[],Mn.apply(v)==="[object Array]"){for(l=v.length,u=0;u<l;u+=1)g[u]=e(u,v)||"null";return f=g.length===0?"[]":s?`[ 94`+s+g.join(`, 95`+s)+` 96`+h+"]":"["+g.join(",")+"]",s=h,f}for(c in v)Ro.call(v,c)&&(f=e(c,v),f&&g.push(i(c)+(s?": ":":")+f));return f=g.length===0?"{}":s?"{"+g.join(",")+h+"}":"{"+g.join(",")+"}",s=h,f}};return e("",{"":r})}})(),p.JSONDecode=(function(){var t,r,i={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:` 97`,r:"\r",t:" "},e,n=function(g){var v=new SyntaxError(g);throw v.at=t,v.text=e,v},o=function(g){return g&&g!==r&&n("Expected '"+g+"' instead of '"+r+"'"),r=e.charAt(t),t+=1,r},s=function(){var g,v="";for(r==="-"&&(v="-",o("-"));r>="0"&&r<="9";)v+=r,o();if(r===".")for(v+=".";o()&&r>="0"&&r<="9";)v+=r;if(r==="e"||r==="E")for(v+=r,o(),(r==="-"||r==="+")&&(v+=r,o());r>="0"&&r<="9";)v+=r,o();if(g=+v,!isFinite(g))n("Bad number");else return g},a=function(){var g,v,m="",d;if(r==='"')for(;o();){if(r==='"')return o(),m;if(r==="\\")if(o(),r==="u"){for(d=0,v=0;v<4&&(g=parseInt(o(),16),!!isFinite(g));v+=1)d=d*16+g;m+=String.fromCharCode(d)}else if(typeof i[r]=="string")m+=i[r];else break;else m+=r}n("Bad string")},u=function(){for(;r&&r<=" ";)o()},c=function(){switch(r){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}n('Unexpected "'+r+'"')},f,l=function(){var g=[];if(r==="["){if(o("["),u(),r==="]")return o("]"),g;for(;r;){if(g.push(f()),u(),r==="]")return o("]"),g;o(","),u()}}n("Bad array")},h=function(){var g,v={};if(r==="{"){if(o("{"),u(),r==="}")return o("}"),v;for(;r;){if(g=a(),u(),o(":"),Object.hasOwnProperty.call(v,g)&&n('Duplicate key "'+g+'"'),v[g]=f(),u(),r==="}")return o("}"),v;o(","),u()}}n("Bad object")};return f=function(){switch(u(),r){case"{":return h();case"[":return l();case'"':return a();case"-":return s();default:return r>="0"&&r<="9"?s():c()}},function(g){var v;return e=g,t=0,r=" ",v=f(),u(),r&&n("Syntax error"),v}})(),p.base64Encode=function(t){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i,e,n,o,s,a,u,c,f=0,l=0,h="",g=[];if(!t)return t;t=p.utf8Encode(t);do i=t.charCodeAt(f++),e=t.charCodeAt(f++),n=t.charCodeAt(f++),c=i<<16|e<<8|n,o=c>>18&63,s=c>>12&63,a=c>>6&63,u=c&63,g[l++]=r.charAt(o)+r.charAt(s)+r.charAt(a)+r.charAt(u);while(f<t.length);switch(h=g.join(""),t.length%3){case 1:h=h.slice(0,-2)+"==";break;case 2:h=h.slice(0,-1)+"=";break}return h},p.utf8Encode=function(t){t=(t+"").replace(/\r\n/g,` 98`).replace(/\r/g,` 99`);var r="",i,e,n=0,o;for(i=e=0,n=t.length,o=0;o<n;o++){var s=t.charCodeAt(o),a=null;s<128?e++: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&&(e>i&&(r+=t.substring(i,e)),r+=a,i=e=o+1)}return e>i&&(r+=t.substring(i,t.length)),r},p.UUID=function(){try{return I.crypto.randomUUID()}catch{for(var t=new Array(36),r=0;r<36;r++)t[r]=Math.floor(Math.random()*16);return t[14]=4,t[19]=t[19]&=-5,t[19]=t[19]|=8,t[8]=t[13]=t[18]=t[23]="-",p.map(t,function(e){return e.toString(16)}).join("")}};var Pp=["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"];p.isBlockedUA=function(t){var r;for(t=t.toLowerCase(),r=0;r<Pp.length;r++)if(t.indexOf(Pp[r])!==-1)return!0;return!1},p.HTTPBuildQuery=function(t,r){var i,e,n=[];return p.isUndefined(r)&&(r="&"),p.each(t,function(o,s){i=encodeURIComponent(o.toString()),e=encodeURIComponent(s),n[n.length]=e+"="+i}),n.join(r)},p.getQueryParam=function(t,r){r=r.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var i="[\\?&]"+r+"=([^&#]*)",e=new RegExp(i),n=e.exec(t);if(n===null||n&&typeof n[1]!="string"&&n[1].length)return"";var o=n[1];try{o=decodeURIComponent(o)}catch{L.error("Skipping decoding for malformed query param: "+o)}return o.replace(/\+/g," ")},p.cookie={get:function(t){for(var r=t+"=",i=B.cookie.split(";"),e=0;e<i.length;e++){for(var n=i[e];n.charAt(0)==" ";)n=n.substring(1,n.length);if(n.indexOf(r)===0)return decodeURIComponent(n.substring(r.length,n.length))}return null},parse:function(t){var r;try{r=p.JSONDecode(p.cookie.get(t))||{}}catch{}return r},set_seconds:function(t,r,i,e,n,o,s){var a="",u="",c="";if(s)a="; domain="+s;else if(e){var f=Lp(B.location.hostname);a=f?"; domain=."+f:""}if(i){var l=new Date;l.setTime(l.getTime()+i*1e3),u="; expires="+l.toGMTString()}o&&(n=!0,c="; SameSite=None"),n&&(c+="; secure"),B.cookie=t+"="+encodeURIComponent(r)+u+"; path=/"+a+c},set:function(t,r,i,e,n,o,s){var a="",u="",c="";if(s)a="; domain="+s;else if(e){var f=Lp(B.location.hostname);a=f?"; domain=."+f:""}if(i){var l=new Date;l.setTime(l.getTime()+i*24*60*60*1e3),u="; expires="+l.toGMTString()}o&&(n=!0,c="; SameSite=None"),n&&(c+="; secure");var h=t+"="+encodeURIComponent(r)+u+"; path=/"+a+c;return B.cookie=h,h},remove:function(t,r,i){p.cookie.set(t,"",-1,r,!1,!1,i)}};var $p=function(t){var r=!0;try{var i="__mplss_"+du(8),e="xyz";t.setItem(i,e),t.getItem(i)!==e&&(r=!1),t.removeItem(i)}catch{r=!1}return r},hu=null,$n=function(t,r){return hu!==null&&!r?hu:hu=$p(t)},pu=null,V0=function(t,r){return pu!==null&&!r?pu:pu=$p(t)};function Fp(t,r,i){var e=function(n){L.error(r+" error: "+n)};return{is_supported:function(n){var o=i(t,n);return o||L.error(r+" unsupported"),o},error:e,get:function(n){try{return t.getItem(n)}catch(o){e(o)}return null},parse:function(n){try{return p.JSONDecode(t.getItem(n))||{}}catch{}return null},set:function(n,o){try{t.setItem(n,o)}catch(s){e(s)}},remove:function(n){try{t.removeItem(n)}catch(o){e(o)}}}}var Oo=function(){try{return I.localStorage}catch{return null}},j0=function(){try{return I.sessionStorage}catch{return null}};p.localStorage=Fp(Oo(),"localStorage",$n),p.sessionStorage=Fp(j0(),"sessionStorage",V0),p.register_event=(function(){var t=function(e,n,o,s,a){if(!e){L.error("No valid element provided to register_event");return}if(e.addEventListener&&!s)e.addEventListener(n,o,!!a);else{var u="on"+n,c=e[u];e[u]=r(e,o,c)}};function r(e,n,o){var s=function(a){if(a=a||i(I.event),!!a){var u=!0,c,f;return p.isFunction(o)&&(c=o(a)),f=n.call(e,a),(c===!1||f===!1)&&(u=!1),u}};return s}function i(e){return e&&(e.preventDefault=i.preventDefault,e.stopPropagation=i.stopPropagation),e}return i.preventDefault=function(){this.returnValue=!1},i.stopPropagation=function(){this.cancelBubble=!0},t})();var H0=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');p.dom_query=(function(){function t(n){return n.all?n.all:n.getElementsByTagName("*")}var r=/[\t\r\n]/g;function i(n,o){var s=" "+o+" ";return(" "+n.className+" ").replace(r," ").indexOf(s)>=0}function e(n){if(!B.getElementsByTagName)return[];var o=n.split(" "),s,a,u,c,f,l,h,g,v,m,d=[B];for(l=0;l<o.length;l++){if(s=o[l].replace(/^\s+/,"").replace(/\s+$/,""),s.indexOf("#")>-1){a=s.split("#"),u=a[0];var y=a[1],_=B.getElementById(y);if(!_||u&&_.nodeName.toLowerCase()!=u)return[];d=[_];continue}if(s.indexOf(".")>-1){a=s.split("."),u=a[0];var b=a[1];for(u||(u="*"),c=[],f=0,h=0;h<d.length;h++)for(u=="*"?v=t(d[h]):v=d[h].getElementsByTagName(u),g=0;g<v.length;g++)c[f++]=v[g];for(d=[],m=0,h=0;h<c.length;h++)c[h].className&&p.isString(c[h].className)&&i(c[h],b)&&(d[m++]=c[h]);continue}var C=s.match(H0);if(C){u=C[1];var S=C[2],R=C[3],T=C[4];for(u||(u="*"),c=[],f=0,h=0;h<d.length;h++)for(u=="*"?v=t(d[h]):v=d[h].getElementsByTagName(u),g=0;g<v.length;g++)c[f++]=v[g];d=[],m=0;var O;switch(R){case"=":O=function(F){return F.getAttribute(S)==T};break;case"~":O=function(F){return F.getAttribute(S).match(new RegExp("\\b"+T+"\\b"))};break;case"|":O=function(F){return F.getAttribute(S).match(new RegExp("^"+T+"-?"))};break;case"^":O=function(F){return F.getAttribute(S).indexOf(T)===0};break;case"$":O=function(F){return F.getAttribute(S).lastIndexOf(T)==F.getAttribute(S).length-T.length};break;case"*":O=function(F){return F.getAttribute(S).indexOf(T)>-1};break;default:O=function(F){return F.getAttribute(S)}}for(d=[],m=0,h=0;h<c.length;h++)O(c[h])&&(d[m++]=c[h]);continue}for(u=s,c=[],f=0,h=0;h<d.length;h++)for(v=d[h].getElementsByTagName(u),g=0;g<v.length;g++)c[f++]=v[g];d=c}return d}return function(n){return p.isElement(n)?[n]:p.isObject(n)&&!p.isUndefined(n.length)?n:e.call(this,n)}})();var Y0=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],K0=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];p.info={campaignParams:function(t){var r="",i={};return p.each(Y0,function(e){r=p.getQueryParam(B.URL,e),r.length?
vendor: 22,997 bytes, line 99
99i[e]=r:t!==void 0&&(i[e]=t)}),i},clickParams:function(){var t="",r={};return p.each(K0,function(i){t=p.getQueryParam(B.URL,i),t.length&&(r[i]=t)}),r},marketingParams:function(){return p.extend(p.info.campaignParams(),p.info.clickParams())},searchEngine:function(t){return t.search("https?://(.*)google.([^/?]*)")===0?"google":t.search("https?://(.*)bing.com")===0?"bing":t.search("https?://(.*)yahoo.com")===0?"yahoo":t.search("https?://(.*)duckduckgo.com")===0?"duckduckgo":null},searchInfo:function(t){var r=p.info.searchEngine(t),i=r!="yahoo"?"q":"p",e={};if(r!==null){e.$search_engine=r;var n=p.getQueryParam(t,i);n.length&&(e.mp_keyword=n)}return e},browser:function(t,r,i){return r=r||"",i||p.includes(t," OPR/")?p.includes(t,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":p.includes(t,"IEMobile")||p.includes(t,"WPDesktop")?"Internet Explorer Mobile":p.includes(t,"SamsungBrowser/")?"Samsung Internet":p.includes(t,"Edge")||p.includes(t,"Edg/")?"Microsoft Edge":p.includes(t,"FBIOS")?"Facebook Mobile":p.includes(t,"Whale/")?"Whale Browser":p.includes(t,"Chrome")?"Chrome":p.includes(t,"CriOS")?"Chrome iOS":p.includes(t,"UCWEB")||p.includes(t,"UCBrowser")?"UC Browser":p.includes(t,"FxiOS")?"Firefox iOS":p.includes(r,"Apple")?p.includes(t,"Mobile")?"Mobile Safari":"Safari":p.includes(t,"Android")?"Android Mobile":p.includes(t,"Konqueror")?"Konqueror":p.includes(t,"Firefox")?"Firefox":p.includes(t,"MSIE")||p.includes(t,"Trident/")?"Internet Explorer":p.includes(t,"Gecko")?"Mozilla":""},browserVersion:function(t,r,i){var e=p.info.browser(t,r,i),n={"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=n[e];if(o===void 0)return null;var s=t.match(o);return s?parseFloat(s[s.length-2]):null},os:function(){var t=nt;return/Windows/i.test(t)?/Phone/.test(t)||/WPDesktop/.test(t)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(t)?"iOS":/Android/.test(t)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Mac/i.test(t)?"Mac OS X":/Linux/.test(t)?"Linux":/CrOS/.test(t)?"Chrome OS":""},device:function(t){return/Windows Phone/i.test(t)||/WPDesktop/.test(t)?"Windows Phone":/iPad/.test(t)?"iPad":/iPod/.test(t)?"iPod Touch":/iPhone/.test(t)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Android/.test(t)?"Android":""},referringDomain:function(t){var r=t.split("/");return r.length>=3?r[2]:""},currentUrl:function(){return I.location.href},properties:function(t){return typeof t!="object"&&(t={}),p.extend(p.strip_empty_properties({$os:p.info.os(),$browser:p.info.browser(nt,yt.vendor,Pn),$referrer:B.referrer,$referring_domain:p.info.referringDomain(B.referrer),$device:p.info.device(nt)}),{$current_url:p.info.currentUrl(),$browser_version:p.info.browserVersion(nt,yt.vendor,Pn),$screen_height:Op.height,$screen_width:Op.width,mp_lib:"web",$lib_version:Le.LIB_VERSION,$insert_id:du(),time:p.timestamp()/1e3},p.strip_empty_properties(t))},people_properties:function(){return p.extend(p.strip_empty_properties({$os:p.info.os(),$browser:p.info.browser(nt,yt.vendor,Pn)}),{$browser_version:p.info.browserVersion(nt,yt.vendor,Pn)})},mpPageViewProperties:function(){return p.strip_empty_properties({current_page_title:B.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 J0=function(t,r){var i=null,e=[];return function(n){var o=this;return e.push(n),i||(i=new U(function(s){setTimeout(function(){var a=t.apply(o,[e]);i=null,e=[],s(a)},r)})),i}},du=function(t){var r=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return t?r.substring(0,t):r},Np=function(){var t=p.UUID().replace(/-/g,""),r=p.UUID().replace(/-/g,"").substring(0,16),i="01";return"00-"+t+"-"+r+"-"+i},X0=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,Z0=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,Lp=function(t){var r=Z0,i=t.split("."),e=i[i.length-1];(e.length>4||e==="com"||e==="org")&&(r=X0);var n=t.match(r);return n?n[0]:""},Q0=function(){var t=I.navigator.onLine;return p.isUndefined(t)||t},Dt=function(){},ko=function(t,r){for(var i=!1,e=0;e<r.length;e++)if(t.match(r[e])){i=!0;break}return i},Wr=null,To=null;typeof JSON<"u"&&(Wr=JSON.stringify,To=JSON.parse),Wr=Wr||p.JSONEncode,To=To||p.JSONDecode;var eC=function(t,r,i){if(!I.CompressionStream)return!1;var e=p.info.browser(t,r,i),n=p.info.browserVersion(t,r,i);return!((e==="Safari"||e==="Mobile Safari")&&n>=16.4&&n<16.6)};p.info=p.info,p.info.browser=p.info.browser,p.info.browserVersion=p.info.browserVersion,p.info.device=p.info.device,p.info.properties=p.info.properties,p.isBlockedUA=p.isBlockedUA,p.isEmptyObject=p.isEmptyObject,p.isObject=p.isObject,p.JSONDecode=p.JSONDecode,p.JSONEncode=p.JSONEncode,p.toArray=p.toArray,p.NPO=Nt;var We=function(t,r,i){this.dbName=t,this.storeName=r,this.version=i.version,this.storeNamesInDb=i.storeNames,this.dbPromise=null};We.prototype._openDb=function(){var t=this.dbName,r=this.version,i=this.storeNamesInDb;return new U(function(e,n){var o=I.indexedDB.open(t,r);o.onerror=function(){n(o.error)},o.onsuccess=function(){e(o.result)},o.onupgradeneeded=function(s){var a=s.target.result;i.forEach(function(u){a.objectStoreNames.contains(u)||a.createObjectStore(u)})}})},We.prototype.init=function(){return I.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(t){return t instanceof I.IDBDatabase?U.resolve():U.reject(t)})):U.reject("indexedDB is not supported in this browser")},We.prototype.isInitialized=function(){return!!this.dbPromise},We.prototype.makeTransaction=function(t,r){var i=this.storeName,e=function(n){return new U(function(o,s){var a=n.transaction(i,t);a.oncomplete=function(){o(a)},a.onabort=a.onerror=function(){s(a.error)},r(a.objectStore(i))})};return this.dbPromise.then(e).catch(function(n){return n&&n.name==="InvalidStateError"?(this.dbPromise=this._openDb(),this.dbPromise.then(e)):U.reject(n)}.bind(this))},We.prototype.setItem=function(t,r){return this.makeTransaction("readwrite",function(i){i.put(r,t)})},We.prototype.getItem=function(t){var r;return this.makeTransaction("readonly",function(i){r=i.get(t)}).then(function(){return r.result})},We.prototype.removeItem=function(t){return this.makeTransaction("readwrite",function(r){r.delete(t)})},We.prototype.getAll=function(){var t;return this.makeTransaction("readonly",function(r){t=r.getAll()}).then(function(){return t.result})};var vu="mixpanelBrowserDb",Dp="mixpanelRecordingEvents",gu="mixpanelRecordingRegistry",mu={version:1,storeNames:[Dp,gu]},tC="__mp_opt_in_out_";function rC(t,r){zp(!0,t,r)}function nC(t,r){zp(!1,t,r)}function iC(t,r){return Bp(t,r)==="1"}function Up(t,r){if(sC(r))return L.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 i=Bp(t,r)==="0";return i&&L.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),i}function Ut(t){return wu(t,function(r){return this.get_config(r)})}function Bt(t){return wu(t,function(r){return this._get_config(r)})}function Gr(t){return wu(t,function(r){return this._get_config(r)})}function oC(t,r){r=r||{},yu(r).remove(_u(t,r),!!r.crossSubdomainCookie,r.cookieDomain)}function yu(t){return t=t||{},t.persistenceType==="localStorage"?p.localStorage:p.cookie}function _u(t,r){return r=r||{},(r.persistencePrefix||tC)+t}function Bp(t,r){return yu(r).get(_u(t,r))}function sC(t){if(t&&t.ignoreDnt)return!1;var r=t&&t.window||I,i=r.navigator||{},e=!1;return p.each([i.doNotTrack,i.msDoNotTrack,r.doNotTrack],function(n){p.includes([!0,1,"1","yes"],n)&&(e=!0)}),e}function zp(t,r,i){if(!p.isString(r)||!r.length){L.error("gdpr."+(t?"optIn":"optOut")+" called with an invalid token");return}i=i||{},yu(i).set(_u(r,i),t?1:0,p.isNumber(i.cookieExpiration)?i.cookieExpiration:null,!!i.crossSubdomainCookie,!!i.secureCookie,!!i.crossSiteCookie,i.cookieDomain),i.track&&t&&i.track(i.trackEventName||"$opt_in",i.trackProperties,{send_immediately:!0})}function wu(t,r){return function(){var i=!1;try{var e=r.call(this,"token"),n=r.call(this,"ignore_dnt"),o=r.call(this,"opt_out_tracking_persistence_type"),s=r.call(this,"opt_out_tracking_cookie_prefix"),a=r.call(this,"window");e&&(i=Up(e,{ignoreDnt:n,persistenceType:o,persistencePrefix:s,window:a}))}catch(c){L.error("Unexpected error when checking tracking opt-out status: "+c)}if(!i)return t.apply(this,arguments);var u=arguments[arguments.length-1];typeof u=="function"&&u(0)}}var aC=it("lock"),qp=function(t,r){r=r||{},this.storageKey=t,this.storage=r.storage||Oo(),this.pollIntervalMS=r.pollIntervalMS||100,this.timeoutMS=r.timeoutMS||2e3,this.promiseImpl=r.promiseImpl||U};qp.prototype.withLock=function(t,r){var i=this.promiseImpl;return new i(p.bind(function(e,n){var o=r||new Date().getTime()+"|"+Math.random(),s=new Date().getTime(),a=this.storageKey,u=this.pollIntervalMS,c=this.timeoutMS,f=this.storage,l=a+":X",h=a+":Y",g=a+":Z",v=function(b){if(new Date().getTime()-s>c){aC.error("Timeout waiting for mutex on "+a+"; clearing lock. ["+o+"]"),f.removeItem(g),f.removeItem(h),y();return}setTimeout(function(){try{b()}catch(C){n(C)}},u*(Math.random()+.1))},m=function(b,C){b()?C():v(function(){m(b,C)})},d=function(){var b=f.getItem(h);return b&&b!==o?!1:(f.setItem(h,o),f.getItem(h)===o?!0:($n(f,!0)||n(new Error("localStorage support dropped while acquiring lock")),!1))},y=function(){f.setItem(l,o),m(d,function(){if(f.getItem(l)===o){_();return}v(function(){if(f.getItem(h)!==o){y();return}m(function(){return!f.getItem(g)},_)})})},_=function(){f.setItem(g,"1");var b=function(){f.removeItem(g),f.getItem(h)===o&&f.removeItem(h),f.getItem(l)===o&&f.removeItem(l)};t().then(function(C){b(),e(C)}).catch(function(C){b(),n(C)})};try{if($n(f,!0))y();else throw new Error("localStorage support check failed")}catch(b){n(b)}},this))};var Vr=function(t){this.storage=t||Oo()};Vr.prototype.init=function(){return this.storage?U.resolve():U.reject(new Error("localStorage is not available"))},Vr.prototype.isInitialized=function(){return!0},Vr.prototype.setItem=function(t,r){return new U(p.bind(function(i,e){try{this.storage.setItem(t,Wr(r))}catch(n){e(n)}i()},this))},Vr.prototype.getItem=function(t){return new U(p.bind(function(r,i){var e;try{e=To(this.storage.getItem(t))}catch(n){i(n)}r(e)},this))},Vr.prototype.removeItem=function(t){return new U(p.bind(function(r,i){try{this.storage.removeItem(t)}catch(e){i(e)}r()},this))};var Wp=it("batch"),ot=function(t,r){r=r||{},this.storageKey=t,this.usePersistence=r.usePersistence,this.usePersistence&&(this.queueStorage=r.queueStorage||new Vr,this.lock=new qp(t,{storage:r.sharedLockStorage,timeoutMS:r.sharedLockTimeoutMS})),this.reportError=r.errorReporter||p.bind(Wp.error,Wp),this.pid=r.pid||null,this.memQueue=[],this.initialized=!1,r.enqueueThrottleMs?this.enqueuePersisted=J0(p.bind(this._enqueuePersisted,this),r.enqueueThrottleMs):this.enqueuePersisted=p.bind(function(i){return this._enqueuePersisted([i])},this)};ot.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?U.resolve():this.queueStorage.init().then(p.bind(function(){this.initialized=!0},this)).catch(p.bind(function(t){this.reportError("Error initializing queue persistence. Disabling persistence",t),this.initialized=!0,this.usePersistence=!1},this))},ot.prototype.enqueue=function(t,r){var i={id:du(),flushAfter:new Date().getTime()+r*2,payload:t};return this.usePersistence?this.enqueuePersisted(i):(this.memQueue.push(i),U.resolve(!0))},ot.prototype._enqueuePersisted=function(t){var r=p.bind(function(){return this.ensureInit().then(p.bind(function(){return this.readFromStorage()},this)).then(p.bind(function(i){return this.saveToStorage(i.concat(t))},this)).then(p.bind(function(i){return i&&(this.memQueue=this.memQueue.concat(t)),i},this)).catch(p.bind(function(i){return this.reportError("Error enqueueing items",i,t),!1},this))},this);return this.lock.withLock(r,this.pid).catch(p.bind(function(i){return this.reportError("Error acquiring storage lock",i),!1},this))},ot.prototype.fillBatch=function(t){var r=this.memQueue.slice(0,t);return this.usePersistence&&r.length<t?this.ensureInit().then(p.bind(function(){return this.readFromStorage()},this)).then(p.bind(function(i){if(i.length){var e={};p.each(r,function(s){e[s.id]=!0});for(var n=0;n<i.length;n++){var o=i[n];if(new Date().getTime()>o.flushAfter&&!e[o.id]&&(o.orphaned=!0,r.push(o),r.length>=t))break}}return r},this)):U.resolve(r)};var Gp=function(t,r){var i=[];return p.each(t,function(e){e.id&&!r[e.id]&&i.push(e)}),i};ot.prototype.removeItemsByID=function(t){var r={};if(p.each(t,function(e){r[e]=!0}),this.memQueue=Gp(this.memQueue,r),this.usePersistence){var i=p.bind(function(){return this.ensureInit().then(p.bind(function(){return this.readFromStorage()},this)).then(p.bind(function(e){return e=Gp(e,r),this.saveToStorage(e)},this)).then(p.bind(function(){return this.readFromStorage()},this)).then(p.bind(function(e){for(var n=0;n<e.length;n++){var o=e[n];if(o.id&&r[o.id])throw new Error("Item not removed from storage")}return!0},this)).catch(p.bind(function(e){return this.reportError("Error removing items",e,t),!1},this))},this);return this.lock.withLock(i,this.pid).catch(p.bind(function(e){return this.reportError("Error acquiring storage lock",e),$n(this.lock.storage,!0)?!1:i().then(p.bind(function(n){return n||this.queueStorage.removeItem(this.storageKey).then(function(){return n})},this)).catch(p.bind(function(n){return this.reportError("Error clearing queue",n),!1},this))},this))}else return U.resolve(!0)};var Vp=function(t,r){var i=[];return p.each(t,function(e){var n=e.id;if(n in r){var o=r[n];o!==null&&(e.payload=o,i.push(e))}else i.push(e)}),i};ot.prototype.updatePayloads=function(t){return this.memQueue=Vp(this.memQueue,t),this.usePersistence?this.lock.withLock(p.bind(function(){return this.ensureInit().then(p.bind(function(){return this.readFromStorage()},this)).then(p.bind(function(i){return i=Vp(i,t),this.saveToStorage(i)},this)).catch(p.bind(function(i){return this.reportError("Error updating items",t,i),!1},this))},this),this.pid).catch(p.bind(function(r){return this.reportError("Error acquiring storage lock",r),!1},this)):U.resolve(!0)},ot.prototype.readFromStorage=function(){return this.ensureInit().then(p.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(p.bind(function(t){return t&&(p.isArray(t)||(this.reportError("Invalid storage entry:",t),t=null)),t||[]},this)).catch(p.bind(function(t){return this.reportError("Error retrieving queue",t),[]},this))},ot.prototype.saveToStorage=function(t){return this.ensureInit().then(p.bind(function(){return this.queueStorage.setItem(this.storageKey,t)},this)).then(function(){return!0}).catch(p.bind(function(r){return this.reportError("Error saving queue",r),!1},this))},ot.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(p.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):U.resolve()};var uC=600*1e3,Fn=it("batch"),Ge=function(t,r){this.errorReporter=r.errorReporter,this.queue=new ot(t,{errorReporter:p.bind(this.reportError,this),queueStorage:r.queueStorage,sharedLockStorage:r.sharedLockStorage,sharedLockTimeoutMS:r.sharedLockTimeoutMS,usePersistence:r.usePersistence,enqueueThrottleMs:r.enqueueThrottleMs}),this.libConfig=r.libConfig,this.sendRequest=r.sendRequestFunc,this.beforeSendHook=r.beforeSendHook,this.stopAllBatching=r.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=r.flushOnlyOnInterval||!1,this._flushPromise=null};Ge.prototype.enqueue=function(t){return this.queue.enqueue(t,this.flushInterval)},Ge.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},Ge.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},Ge.prototype.clear=function(){return this.queue.clear()},Ge.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},Ge.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},Ge.prototype.scheduleFlush=function(t){this.flushInterval=t,this.stopped||(this.timeoutID=setTimeout(p.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))},Ge.prototype.sendRequestPromise=function(t,r){return new U(p.bind(function(i){this.sendRequest(t,r,i)},this))},Ge.prototype.flush=function(t){if(this.requestInProgress)return Fn.log("Flush: Request already in progress"),U.resolve();this.requestInProgress=!0,t=t||{};var r=this.libConfig.batch_request_timeout_ms,i=new Date().getTime(),e=this.batchSize;return this.queue.fillBatch(e).then(p.bind(function(n){var o=n.length===e,s=[],a={};if(p.each(n,function(l){var h=l.payload;if(this.beforeSendHook&&!l.orphaned&&(h=this.beforeSendHook(h)),h){h.event&&h.properties&&(h.properties=p.extend({},h.properties,{mp_sent_by_lib_version:Le.LIB_VERSION}));var g=!0,v=l.id;v?(this.itemIdsSentSuccessfully[v]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:l,batchSize:n.length,timesSent:this.itemIdsSentSuccessfully[v]}),g=!1):this.reportError("[dupe] found item with no ID",{item:l}),g&&s.push(h)}a[l.id]=h},this),s.length<1)return this.requestInProgress=!1,this.resetFlush(),U.resolve();var u=p.bind(function(){return this.queue.removeItemsByID(p.map(n,function(l){return l.id})).then(p.bind(function(l){return p.each(n,p.bind(function(h){var g=h.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:h,batchSize:n.length,timesSent:this.itemIdsSentSuccessfully[g]})):this.reportError("[dupe] found item with no ID while removing",{item:h})},this)),l?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!o?(this.resetFlush(),U.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),U.resolve())},this))},this),c=p.bind(function(l){this.requestInProgress=!1;try{if(t.unloading)return this.queue.updatePayloads(a);if(p.isObject(l)&&l.error==="timeout"&&new Date().getTime()-i>=r)return this.reportError("Network timeout; retrying"),this.flush();if(p.isObject(l)&&(l.httpStatusCode>=500||l.httpStatusCode===429||l.httpStatusCode<=0&&!Q0()||l.error==="timeout")){var h=this.flushInterval*2;return l.retryAfter&&(h=parseInt(l.retryAfter,10)*1e3||h),h=Math.min(uC,h),this.reportError("Error; retry in "+h+" ms"),this.scheduleFlush(h),U.resolve()}else if(p.isObject(l)&&l.httpStatusCode===413)if(n.length>1){var g=Math.max(1,Math.floor(e/2));return this.batchSize=Math.min(this.batchSize,g,n.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),U.resolve()}else return this.reportError("Single-event request too large; dropping",n),this.resetBatchSize(),u();else return u()}catch(v){this.reportError("Error handling API response",v),this.resetFlush()}},this),f={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:r};return t.unloading&&(f.transport="sendBeacon"),Fn.log("MIXPANEL REQUEST:",s),this.sendRequestPromise(s,f).then(c)},this)).catch(p.bind(function(n){this.reportError("Error flushing request queue",n),this.resetFlush()},this))},Ge.prototype.reportError=function(t,r){if(Fn.error.apply(Fn.error,arguments),this.errorReporter)try{r instanceof Error||(r=new Error(t)),this.errorReporter(t,r)}catch(i){Fn.error(i)}};var bu=function(t){var r=Date.now();return!t||r>t.maxExpires||r>t.idleExpires},cC=250,jp=function(t,r){if(!p.isArray(t))return t&&r.critical("record_allowed_iframe_origins must be an array of origin strings, cross-origin recording will be disabled."),[];for(var i=[],e=0;e<t.length;e++)try{var n=new URL(t[e]).origin;if(n==="null"){r.critical(t[e]+" has an opaque origin. Skipping this entry.");continue}i.push(n)}catch{r.critical(t[e]+" is not a valid origin URL. Skipping this entry.")}return i},Nn="change",_t="click",Su="hashchange",fC="input",Hp="load",zt="mp_locationchange",Yp="popstate",Mo="scrollend",Cu="scroll",lC="select",Po="submit",hC="toggle",Kp="visibilitychange",pC=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],Jp=["mp-include"],Eu=["mp-no-track"],Xp=Eu.concat(["mp-sensitive"]),dC=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],vC={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},gC={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},mC={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},Zp=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],yC=5,ie=it("autocapture");function Iu(t){for(var r={},i=Qp(t).split(" "),e=0;e<i.length;e++){var n=i[e];n&&(r[n]=!0)}return r}function Qp(t){switch(typeof t.className){case"string":return t.className;case"object":return t.className.baseVal||t.getAttribute("class")||"";default:return""}}function _C(t){if(t.previousElementSibling)return t.previousElementSibling;do t=t.previousSibling;while(t&&!rd(t));return t}function ed(t,r,i,e,n,o){var s={$classes:Qp(t).split(" "),$tag_name:t.tagName.toLowerCase()},a=t.id;a&&(s.$id=a),Au(t,r,n,o)&&p.each(dC.concat(e),function(l){if(t.hasAttribute(l)&&!i[l]){var h=t.getAttribute(l);$o(h)&&(s["$attr-"+l]=h)}});for(var u=1,c=1,f=t;f=_C(f);)u++,f.tagName===t.tagName&&c++;return s.$nth_child=u,s.$nth_of_type=c,s}function wC(t,r){var i=r.allowElementCallback,e=r.allowSelectors||[],n=r.blockAttrs||[],o=r.blockElementCallback,s=r.blockSelectors||[],a=r.captureTextContent||!1,u=r.captureExtraAttrs||[],c=r.captured
vendor: 15,234 bytes, line 99
99ForHeatMap||!1,f={};p.each(n,function(S){f[S]=!0});var l=null,h=typeof t.target>"u"?t.srcElement:t.target;if(nd(h)&&(h=h.parentNode),EC(h,t)&&xu(h,t,i,e)&&!Ru(h,t,o,s)){for(var g=[h],v=h;v.parentNode&&!st(v,"body");)g.push(v.parentNode),v=v.parentNode;var m=[],d,y=!1;if(p.each(g,function(S){var R=Au(S,t,i,e);!f.href&&S.tagName.toLowerCase()==="a"&&(d=S.getAttribute("href"),d=R&&$o(d)&&d),Ru(S,t,o,s)&&(y=!0),m.push(ed(S,t,f,u,i,e))},this),!y){var _=B.documentElement;if(l={$event_type:t.type,$host:I.location.host,$pathname:I.location.pathname,$elements:m,$el_attr__href:d,$viewportHeight:Math.max(_.clientHeight,I.innerHeight||0),$viewportWidth:Math.max(_.clientWidth,I.innerWidth||0),$pageHeight:B.body.offsetHeight||0,$pageWidth:B.body.offsetWidth||0},p.each(u,function(S){if(!f[S]&&h.hasAttribute(S)){var R=h.getAttribute(S);$o(R)&&(l["$el_attr__"+S]=R)}}),a&&(b=td(h,t,i,e),b&&b.length&&(l.$el_text=b)),t.type===_t&&(p.each(pC,function(S){S in t&&(l["$"+S]=t[S])}),c&&(l.$captured_for_heatmap=!0),h=bC(t)),a){var b=td(h,t,i,e);b&&b.length&&(l.$el_text=b)}if(h){if(!xu(h,t,i,e)||Ru(h,t,o,s))return null;var C=ed(h,t,f,u,i,e);l.$target=C,l.$el_classes=C.$classes,p.extend(l,p.strip_empty_properties({$el_id:C.$id,$el_tag_name:C.$tag_name}))}}}return l}function td(t,r,i,e){var n="";return Au(t,r,i,e)&&t.childNodes&&t.childNodes.length&&p.each(t.childNodes,function(o){nd(o)&&o.textContent&&(n+=p.trim(o.textContent).split(/(\s+)/).filter($o).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),p.trim(n)}function bC(t){for(var r=t.target,i=t.composedPath(),e=0;e<i.length;e++){var n=i[e];if(st(n,"a")||st(n,"button")||st(n,"input")||st(n,"select")||n.getAttribute&&n.getAttribute("role")==="button"){r=n;break}if(n===r)break}return r}function xu(t,r,i,e){if(i)try{if(!i(t,r))return!1}catch(s){return ie.critical("Error while checking element in allowElementCallback",s),!1}if(!e.length)return!0;for(var n=0;n<e.length;n++){var o=e[n];try{if(t.matches(o))return!0}catch(s){ie.critical("Error while checking selector: "+o,s)}}return!1}function Ru(t,r,i,e){var n;if(i)try{if(i(t,r))return!0}catch(a){return ie.critical("Error while checking element in blockElementCallback",a),!0}if(e&&e.length)for(n=0;n<e.length;n++){var o=e[n];try{if(t.matches(o))return!0}catch(a){ie.critical("Error while checking selector: "+o,a)}}var s=Iu(t);for(n=0;n<Eu.length;n++)if(s[Eu[n]])return!0;return!1}function rd(t){return t&&t.nodeType===1}function st(t,r){return t&&t.tagName&&t.tagName.toLowerCase()===r.toLowerCase()}function nd(t){return t&&t.nodeType===3}function SC(){try{var t=B.createElement("div");return!!t.matches}catch{return!1}}function CC(){return typeof WeakSet<"u"}function EC(t,r){if(!t||st(t,"html")||!rd(t))return!1;var i=t.tagName.toLowerCase();switch(i){case"form":return r.type===Po;case"input":return["button","submit"].indexOf(t.getAttribute("type"))===-1?r.type===Nn:r.type===_t;case"select":case"textarea":return r.type===Nn;default:return r.type===_t}}function id(t){var r=(t.name||t.id||"").toString().toLowerCase();if(typeof r=="string"){var i=/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i;if(i.test(r.replace(/[^a-zA-Z0-9]/g,"")))return!0}return!1}function Au(t,r,i,e){var n;if(!xu(t,r,i,e))return!1;for(var o=t;o.parentNode&&!st(o,"body");o=o.parentNode){var s=Iu(o);for(n=0;n<Xp.length;n++)if(s[Xp[n]])return!1}var a=Iu(t);for(n=0;n<Jp.length;n++)if(a[Jp[n]])return!0;if(st(t,"input")||st(t,"select")||st(t,"textarea")||t.getAttribute("contenteditable")==="true")return!1;var u=t.type||"";if(typeof u=="string")switch(u.toLowerCase()){case"hidden":return!1;case"password":return!1}return!id(t)}function $o(t){if(t===null||p.isUndefined(t))return!1;if(typeof t=="string"){t=p.trim(t);var r=/^(?:(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(r.test((t||"").replace(/[- ]/g,"")))return!1;var i=/(^\d{3}-?\d{2}-?\d{4}$)/;if(i.test(t))return!1}return!0}function od(t){var r="onscrollend"in I,i=hr(t),e=Mo;if(!r){var n=null,o=100;i=hr(function(){clearTimeout(n),n=setTimeout(t,o)}),e=Cu}return{listener:i,eventType:e}}function IC(t){for(var r=0;r<Zp.length;r++)if(t.hasAttribute(Zp[r]))return!0;return!1}function xC(t){var r=t.getAttribute("role");if(!r)return!1;var i=r.trim().split(/\s+/)[0].toLowerCase();return vC[i]}function Ou(t){var r=t.tagName.toLowerCase();return!!(r==="button"||r==="input"||r==="select"||r==="textarea"||r==="details"||r==="dialog"||t.isContentEditable||t.onclick||t.onmousedown||t.onmouseup||t.ontouchstart||t.ontouchend||IC(t)||xC(t)||r==="a"&&t.hasAttribute("href")||t.hasAttribute("tabindex"))}function sd(t){if(!t||!t.tagName)return!0;var r=t.tagName.toLowerCase();if(gC[r])return!0;if(Ou(t))return!1;for(var i=t.parentElement,e=0;i&&e<yC;){if(Ou(i))return!1;if(i.getRootNode&&i.getRootNode()!==B){var n=i.getRootNode();if(n.host&&Ou(n.host))return!1}i=i.parentElement,e++}return!!mC[r]}function ad(t){return"composedPath"in t?t.composedPath():[]}function ud(t){var r=ad(t);return r&&r.length>0?r[0]:t.target||t.srcElement}var cd=".mp-mask, .fs-mask, .amp-mask, .rr-mask, .ph-mask",RC="data-rr-is-password",AC=["password","email","tel","hidden"];function Fo(t){return t?Array.isArray(t)?t:[t]:[]}function OC(t){var r={input:{maskingSelector:"",unmaskingSelector:"",maskAll:!0},text:{maskingSelector:"",unmaskingSelector:"",maskAll:!0}},i=t.get_config("record_mask_input_selector"),e=t.get_config("record_unmask_input_selector"),n=t.get_config("record_mask_all_inputs");r.input.maskingSelector=Fo(i).join(","),r.input.unmaskingSelector=Fo(e).join(","),n!==void 0&&(r.input.maskAll=n);var o=t.get_config("record_mask_text_selector"),s=t.get_config("record_unmask_text_selector"),a=t.get_config("record_mask_all_text"),u=t.get_config("record_mask_text_class"),c=Fo(o);if(u)if(u instanceof RegExp)r.text._legacyClassRegex=u;else{var f="."+u;c.indexOf(f)===-1&&c.push(f)}return r.text.maskingSelector=c.join(","),r.text.unmaskingSelector=Fo(s).join(","),a===void 0&&o!==void 0?r.text.maskAll=!1:a!==void 0&&(r.text.maskAll=a),r}function jr(t,r){return r?!!t.closest(r):!1}function kC(t,r){var i=(t.getAttribute("type")||"").toLowerCase();if(AC.indexOf(i)!==-1)return!0;var e=(t.getAttribute("autocomplete")||"").toLowerCase();return e&&e!==""&&e!=="off"||t.hasAttribute(RC)||id(t)?!0:r.input.maskAll?!jr(t,r.input.unmaskingSelector):!!(jr(t,r.input.maskingSelector)||jr(t,cd))}function TC(t,r){return t?r.text._legacyClassRegex&&Ra(t,r.text._legacyClassRegex)?!0:r.text.maskAll?!jr(t,r.text.unmaskingSelector):!!(jr(t,r.text.maskingSelector)||jr(t,cd)):!1}var pr=it("network-plugin");function No(t){return Math.round(Date.now()-t.performance.now())}var ku={initiatorTypes:["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],ignoreRequestFn:function(){return!1},recordHeaders:{request:[],response:[]},recordBodyUrls:{request:[],response:[]},recordInitialRequests:!1};function MC(t){return t.entryType==="navigation"}function Tu(t){return t.entryType==="resource"}function PC(t,r){for(var i=t.length,e=i-1;e>=0;e-=1)if(r(t[e]))return t[e]}function fd(t,r,i){if(!(r in t)||typeof t[r]!="function")return function(){};var e=t[r],n=i(e);return t[r]=n,function(){t[r]=e}}var Mu=1024*1024;function ld(t){return!t||typeof t!="string"?t:t.length>Mu?(pr.error("Body truncated from "+t.length+" to "+Mu+" characters"),t.substring(0,Mu)+"... [truncated]"):t}function $C(t,r,i){if(!r.PerformanceObserver)return pr.error("PerformanceObserver not supported"),function(){};if(i.recordInitialRequests){var e=r.performance.getEntries().filter(function(o){return MC(o)||Tu(o)&&i.initiatorTypes.includes(o.initiatorType)});t({requests:e.map(function(o){return{url:o.name,initiatorType:o.initiatorType,status:"responseStatus"in o?o.responseStatus:void 0,startTime:Math.round(o.startTime),endTime:Math.round(o.responseEnd),timeOrigin:No(r)}}),isInitial:!0})}var n=new r.PerformanceObserver(function(o){var s=o.getEntries().filter(function(a){return Tu(a)&&i.initiatorTypes.includes(a.initiatorType)&&a.initiatorType!=="xmlhttprequest"&&a.initiatorType!=="fetch"});t({requests:s.map(function(a){return{url:a.name,initiatorType:a.initiatorType,status:"responseStatus"in a?a.responseStatus:void 0,startTime:Math.round(a.startTime),endTime:Math.round(a.responseEnd),timeOrigin:No(r)}})})});return n.observe({entryTypes:["navigation","resource"]}),function(){n.disconnect()}}function Lo(t,r,i){return!r[t]||r[t].length===0?!1:r[t].includes(i.toLowerCase())}function Do(t,r,i){return!r[t]||r[t].length===0?!1:ko(i,r[t])}function hd(t){if(t==null)return null;var r;if(typeof t=="string")r=t;else if(t instanceof Document)r=t.textContent;else if(t instanceof FormData)r=p.HTTPBuildQuery(t);else if(p.isObject(t))try{r=JSON.stringify(t)}catch{return"Failed to stringify response object"}else return"Cannot read body of type "+typeof t;return ld(r)}function pd(t){return new Promise(function(r){var i=setTimeout(function(){r("Timeout while trying to read body")},500);try{t.clone().text().then(function(e){clearTimeout(i),r(ld(e))},function(e){clearTimeout(i),r("Failed to read body: "+String(e))})}catch(e){clearTimeout(i),r("Failed to read body: "+String(e))}})}function Pu(t,r,i,e,n,o){if(o===void 0&&(o=0),o>10)return pr.error("Cannot find performance entry"),Promise.resolve(null);var s=t.performance.getEntriesByName(i),a=PC(s,function(u){return Tu(u)&&u.initiatorType===r&&(!e||u.startTime>=e)&&(!n||u.startTime<=n)});return a?Promise.resolve(a):new Promise(function(u){setTimeout(u,50*o)}).then(function(){return Pu(t,r,i,e,n,o+1)})}function FC(t,r,i){if(!i.initiatorTypes.includes("xmlhttprequest"))return function(){};var e=fd(r.XMLHttpRequest.prototype,"open",function(n){return function(o,s,a,u,c){a===void 0&&(a=!0);var f=this,l=new Request(s,{method:o}),h={},g,v,m={},d=f.setRequestHeader.bind(f);f.setRequestHeader=function(_,b){return Lo("request",i.recordHeaders,_)&&(m[_]=b),d(_,b)},h.requestHeaders=m;var y=f.send.bind(f);f.send=function(_){return Do("request",i.recordBodyUrls,l.url)&&(h.requestBody=hd(_)),g=r.performance.now(),y(_)},f.addEventListener("readystatechange",function(){if(f.readyState===f.DONE){v=r.performance.now();var _={},b=f.getAllResponseHeaders();if(b){var C=b.trim().split(/[\r\n]+/);C.forEach(function(S){if(S){var R=S.indexOf(": ");if(R!==-1){var T=S.substring(0,R),O=S.substring(R+2);T&&Lo("response",i.recordHeaders,T)&&(_[T]=O)}}})}h.responseHeaders=_,Do("response",i.recordBodyUrls,l.url)&&(h.responseBody=hd(f.response)),Pu(r,"xmlhttprequest",l.url,g,v).then(function(S){if(!S){pr.error("Failed to get performance entry for XHR request to "+l.url);return}var R={url:S.name,method:l.method,initiatorType:S.initiatorType,status:f.status,startTime:Math.round(S.startTime),endTime:Math.round(S.responseEnd),timeOrigin:No(r),requestHeaders:h.requestHeaders,requestBody:h.requestBody,responseHeaders:h.responseHeaders,responseBody:h.responseBody};t({requests:[R]})}).catch(function(S){pr.error("Error recording XHR request to "+l.url+": "+String(S))})}}),n.call(f,o,s,a,u,c)}});return function(){e()}}function NC(t,r,i){if(!i.initiatorTypes.includes("fetch"))return function(){};var e=fd(r,"fetch",function(n){return function(){var o=new Request(arguments[0],arguments[1]),s,a={},u,c,f,l=Promise.resolve(void 0),h=Promise.resolve(void 0);try{var g={};o.headers.forEach(function(v,m){Lo("request",i.recordHeaders,m)&&(g[m]=v)}),a.requestHeaders=g,Do("request",i.recordBodyUrls,o.url)&&(l=pd(o).then(function(v){a.requestBody=v})),u=r.performance.now(),f=n.apply(r,arguments).then(function(v){s=v,c=r.performance.now();var m={};return s.headers.forEach(function(d,y){Lo("response",i.recordHeaders,y)&&(m[y]=d)}),a.responseHeaders=m,Do("response",i.recordBodyUrls,o.url)&&(h=pd(s).then(function(d){a.responseBody=d})),s})}catch(v){f=Promise.reject(v)}return Promise.all([l,h,f]).then(function(){return Pu(r,"fetch",o.url,u,c)}).then(function(v){if(!v){pr.error("Failed to get performance entry for fetch request to "+o.url);return}var m={url:v.name,method:o.method,initiatorType:v.initiatorType,status:s?s.status:void 0,startTime:Math.round(v.startTime),endTime:Math.round(v.responseEnd),timeOrigin:No(r),requestHeaders:a.requestHeaders,requestBody:a.requestBody,responseHeaders:a.responseHeaders,responseBody:a.responseBody};t({requests:[m]})}).catch(function(v){pr.error("Error recording fetch request to "+o.url+": "+String(v))}),f}});return function(){e()}}function LC(t,r,i){if(!("performance"in r))return function(){};var e=Object.assign({},ku.recordHeaders,i.recordHeaders||{}),n=Object.assign({},ku.recordBodyUrls,i.recordBodyUrls||{});i=Object.assign({},i,{recordHeaders:e,recordBodyUrls:n});var o=Object.assign({},ku,i),s=function(f){var l=f.requests.filter(function(h){var g=ko(h.url,o.ignoreRequestUrls||[]);return!g&&!o.ignoreRequestFn(h)});(l.length>0||f.isInitial)&&t(Object.assign({},f,{requests:l}))},a=$C(s,r,o),u=FC(s,r,o),c=NC(s,r,o);return function(){a(),u(),c()}}var DC="rrweb/[email protected]",UC=function(t){return{name:DC,observer:LC,options:t}},dr=it("recorder"),BC=I.CompressionStream,zC={batch_size:1e3,batch_flush_interval_ms:10*1e3,batch_request_timeout_ms:90*1e3,batch_autostart:!0},qC=new Set([D.MouseMove,D.MouseInteraction,D.Scroll,D.ViewportResize,D.Input,D.TouchMove,D.MediaInteraction,D.Drag,D.Selection]);function WC(t){return t.type===H.IncrementalSnapshot&&qC.has(t.data.source)}var be=function(t){this._mixpanel=t.mixpanelInstance,this._onIdleTimeout=t.onIdleTimeout||Dt,this._onMaxLengthReached=t.onMaxLengthReached||Dt,this._onBatchSent=t.onBatchSent||Dt,this._rrwebRecord=t.rrwebRecord||null,this._stopRecording=null,this.replayId=t.replayId,this.batchStartUrl=t.batchStartUrl||null,this.replayStartUrl=t.replayStartUrl||null,this.idleExpires=t.idleExpires||null,this.maxExpires=t.maxExpires||null,this.replayStartTime=t.replayStartTime||null,this.lastEventTimestamp=t.lastEventTimestamp||null,this.seqNo=t.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=Tn,this.recordMinMs=0,this._recordMinMsCheckStart=null;var r=$n(t.sharedLockStorage||Oo(),!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new We(vu,Dp,mu),this.batcher=new Ge(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:zC,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:t.sharedLockStorage,usePersistence:r,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:cC,sharedLockTimeoutMS:10*1e3})};be.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var t={distinct_id:String(this._mixpanel.get_distinct_id())},r=this._mixpanel.get_property("$device_id");r&&(t.$device_id=r);var i=this._mixpanel.get_property("$user_id");return i&&(t.$user_id=i),t},be.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init(
vendor: 4,274 bytes, line 99
99).catch(function(){this.reportError("Error initializing IndexedDB storage for unloading persisted data.")}.bind(this)).then(function(){return this.getDurationMs()<this._getRecordMinMs()?this.queueStorage.removeItem(this.batcherKey):this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))}.bind(this))},be.prototype.getConfig=function(t){return this._mixpanel.get_config(t)},be.prototype.get_config=function(t){return this.getConfig(t)},be.prototype.startRecording=function(t){if(this._rrwebRecord===null){this.reportError("rrweb record function not provided. ");return}if(this._stopRecording!==null){dr.log("Recording already in progress, skipping startRecording.");return}this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>Tn&&(this.recordMaxMs=Tn,dr.critical("record_max_ms cannot be greater than "+Tn+"ms. Capping value.")),this.maxExpires||(this.maxExpires=new Date().getTime()+this.recordMaxMs),this.recordMinMs=this._getRecordMinMs(),this.replayStartTime||(this.replayStartTime=new Date().getTime(),this.batchStartUrl=p.info.currentUrl(),this.replayStartUrl=p.info.currentUrl()),t||this.recordMinMs>0?(this.batcher.stop(),this._recordMinMsCheckStart=null):this.batcher.start();var r=function(){clearTimeout(this.idleTimeoutId);var c=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,c),this.idleExpires=new Date().getTime()+c}.bind(this);r();var i=this.getConfig("record_block_selector");(i===""||i===null)&&(i=void 0);var e=OC(this._mixpanel),n=[];if(this.getConfig("record_network")){var o=this.getConfig("record_network_options")||{},s=(o.ignoreRequestUrls||[]).slice();s.push(this._getApiRoute()),o.ignoreRequestUrls=s,n.push(UC(o))}this.getConfig("record_console")&&n.push(U0({stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}}));var a=jp(this.getConfig("record_allowed_iframe_origins"),dr);try{this._stopRecording=this._rrwebRecord({emit:function(c){if(this.idleExpires&&this.idleExpires<c.timestamp){this._onIdleTimeout();return}this._recordMinMsCheckStart===null&&(this._recordMinMsCheckStart=c.timestamp),WC(c)&&(this.batcher.stopped&&c.timestamp-this._recordMinMsCheckStart>=this.recordMinMs&&this.batcher.start(),r()),this.__enqueuePromise=this.batcher.enqueue(c),(this.lastEventTimestamp===null||c.timestamp>this.lastEventTimestamp)&&(this.lastEventTimestamp=c.timestamp)}.bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:i,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextSelector:"*",maskInputFn:this._getMaskFn(kC,e),maskTextFn:this._getMaskFn(TC,e),recordCrossOriginIframes:a.length>0,allowedIframeOrigins:a,recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15},plugins:n})}catch(c){this.reportError("Unexpected error when starting rrweb recording.",c)}if(typeof this._stopRecording!="function"){this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,this.stopRecording();return}var u=this.maxExpires-new Date().getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),u)},be.prototype.stopRecording=function(t){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(i){this.reportError("Error with rrweb stopRecording",i)}this._stopRecording=null}var r;return this.batcher.stopped?r=this.batcher.clear():t||(r=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),r},be.prototype.isRrwebStopped=function(){return this._stopRecording===null},be.prototype.flushEventsWithOptOut=function(t,r,i){var e=function(n){n===0&&(this.stopRecording(),i({error:"Tracking has been opted out, stopping recording."}))}.bind(this);this._flushEvents(t,r,i,e)},be.prototype.serialize=function(){var t;try{t=this._mixpanel.get_tab_id()}catch(r){this.reportError("Error getting tab ID for serialization ",r),t=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,lastEventTimestamp:this.lastEventTimestamp,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:t}}
vendor: 16,782 bytes, line 99
99,be.deserialize=function(t,r){var i=new be(p.extend({},r,{replayId:t.replayId,batchStartUrl:t.batchStartUrl,replayStartUrl:t.replayStartUrl,idleExpires:t.idleExpires,maxExpires:t.maxExpires,replayStartTime:t.replayStartTime,lastEventTimestamp:t.lastEventTimestamp,seqNo:t.seqNo,sharedLockStorage:r.sharedLockStorage}));return i},be.prototype._getApiRoute=function(){return this.getConfig("api_routes").record},be.prototype._sendRequest=function(t,r,i,e){var n=function(s,a){s.status===200&&this.replayId===t&&(this.seqNo++,this.batchStartUrl=p.info.currentUrl()),this._onBatchSent(),e({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._getApiRoute()+"?"+new URLSearchParams(r),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:i}).then(function(s){s.json().then(function(a){n(s,a)}).catch(function(a){e({error:a})})}).catch(function(s){e({error:s,httpStatusCode:0})})},be.prototype._flushEvents=Ut(function(t,r,i){var e=t.length;if(e>0){for(var n=this.replayId,o=1/0,s=-1/0,a=!1,u=0;u<e;u++)o=Math.min(o,t[u].timestamp),s=Math.max(s,t[u].timestamp),t[u].type===H.FullSnapshot&&(a=!0);if(this.seqNo===0){if(!a){i({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,f={$current_url:this.batchStartUrl,$lib_version:Le.LIB_VERSION,batch_start_time:o/1e3,mp_lib:"web",replay_id:n,replay_length_ms:c,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},l=JSON.stringify(t);if(Object.assign(f,this.getUserIdInfo()),eC(nt,yt.vendor,Pn)){var h=new Blob([l],{type:"application/json"}).stream(),g=h.pipeThrough(new BC("gzip"));new Response(g).blob().then(function(v){f.format="gzip",this._sendRequest(n,f,v,i)}.bind(this))}else f.format="body",this._sendRequest(n,f,l,i)}}),be.prototype.reportError=function(t,r){dr.error.apply(dr.error,arguments);try{!r&&!(t instanceof Error)&&(t=new Error(t)),this.getConfig("error_reporter")(t,r)}catch(i){dr.error(i)}},be.prototype.getDurationMs=function(){return this.replayStartTime===null?0:this.lastEventTimestamp===null?new Date().getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime},be.prototype._getRecordMinMs=function(){var t=this.getConfig("record_min_ms");return t>uu?(dr.critical("record_min_ms cannot be greater than "+uu+"ms. Capping value."),uu):t},be.prototype._getMaskFn=function(t,r){return function(i,e){if(!i.trim().length)return"";var n=!0;try{n=t(e,r)}catch(s){this.reportError("Error checking if text should be masked, defaulting to masked",s)}if(n){var o=Math.min(i.length,1e4);return"*".repeat(o)}else return i}.bind(this)};var wt=function(t){this.idb=new We(vu,gu,mu),this.errorReporter=t.errorReporter,this.mixpanelInstance=t.mixpanelInstance,this.sharedLockStorage=t.sharedLockStorage};wt.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")},wt.prototype.handleError=function(t){this.errorReporter("IndexedDB error: ",t)},wt.prototype.setActiveRecording=function(t){if(!this.isPersistenceEnabled())return U.resolve();var r=t.tabId;return r?this.idb.init().then(function(){return this.idb.setItem(r,t)}.bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),U.resolve())},wt.prototype.getActiveRecording=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}.bind(this)).then(function(t){return bu(t)?null:t}.bind(this)).catch(this.handleError.bind(this)):U.resolve(null)},wt.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()},wt.prototype.markActiveRecordingExpired=function(){return this.getActiveRecording().then(function(t){if(t)return t.maxExpires=0,this.setActiveRecording(t)}.bind(this)).catch(this.handleError.bind(this))},wt.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):U.resolve()},wt.prototype.flushInactiveRecordings=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getAll()}.bind(this)).then(function(t){var r=t.filter(function(i){return bu(i)}).map(function(i){var e=be.deserialize(i,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage});return e.unloadPersistedData().then(function(){return this.idb.removeItem(i.tabId)}.bind(this)).catch(this.handleError.bind(this))}.bind(this));return U.all(r)}.bind(this)).catch(this.handleError.bind(this)):U.resolve([])};var Ln=it("recorder"),at=function(t,r,i){this.mixpanelInstance=t,this.rrwebRecord=r||Mt,this.sharedLockStorage=i,this.recordingRegistry=new wt({mixpanelInstance:this.mixpanelInstance,errorReporter:Ln.error,sharedLockStorage:i}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};at.prototype.startRecording=function(t){if(t=t||{},this.activeRecording&&!this.activeRecording.isRrwebStopped()){Ln.log("Recording already in progress, skipping startRecording.");return}var r=function(){Ln.log("Idle timeout reached, restarting recording."),this.resetRecording()}.bind(this),i=function(){Ln.log("Max recording length reached, stopping recording."),this.resetRecording()}.bind(this),e=function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}.bind(this),n={mixpanelInstance:this.mixpanelInstance,onBatchSent:e,onIdleTimeout:r,onMaxLengthReached:i,replayId:p.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return t.activeSerializedRecording?this.activeRecording=be.deserialize(t.activeSerializedRecording,n):this.activeRecording=new be(n),this.activeRecording.startRecording(t.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())},at.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))},at.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)},at.prototype._stopCurrentRecording=function(t,r){if(this.activeRecording){var i=this.activeRecording.stopRecording(t);return r&&(this.activeRecording=null),i}return U.resolve()},at.prototype.resumeRecording=function(t){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),U.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(r){return r&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:r}):t?this.startRecording({shouldStopBatcher:!1}):(Ln.log("No resumable recording found."),null)}.bind(this))},at.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})},at.prototype.isRecording=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()},at.prototype.getActiveReplayId=function(){return this.isRecording()?this.activeRecording.replayId:null},Object.defineProperty(at.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),I[ns]=at;function GC(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Uo={exports:{}},VC=Uo.exports,dd;function jC(){return dd||(dd=1,(function(t,r){(function(i,e){t.exports=e()})(VC,function(){Array.isArray||(Array.isArray=function(o){return Object.prototype.toString.call(o)==="[object Array]"});function i(o){for(var s=[],a=0,u=o.length;a<u;a++)s.indexOf(o[a])===-1&&s.push(o[a]);return s}var e={},n={"==":function(o,s){return o==s},"===":function(o,s){return o===s},"!=":function(o,s){return o!=s},"!==":function(o,s){return o!==s},">":function(o,s){return o>s},">=":function(o,s){return o>=s},"<":function(o,s,a){return a===void 0?o<s:o<s&&s<a},"<=":function(o,s,a){return a===void 0?o<=s:o<=s&&s<=a},"!!":function(o){return e.truthy(o)},"!":function(o){return!e.truthy(o)},"%":function(o,s){return o%s},log:function(o){return console.log(o),o},in:function(o,s){return!s||typeof s.indexOf>"u"?!1:s.indexOf(o)!==-1},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(o,s,a){if(a<0){var u=String(o).substr(s);return u.substr(0,u.length+a)}return String(o).substr(s,a)},"+":function(){return Array.prototype.reduce.call(arguments,function(o,s){return parseFloat(o,10)+parseFloat(s,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(o,s){return parseFloat(o,10)*parseFloat(s,10)})},"-":function(o,s){return s===void 0?-o:o-s},"/":function(o,s){return o/s},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(o,s){return o.concat(s)},[])},var:function(o,s){var a=s===void 0?null:s,u=this;if(typeof o>"u"||o===""||o===null)return u;for(var c=String(o).split("."),f=0;f<c.length;f++)if(u==null||(u=u[c[f]],u===void 0))return a;return u},missing:function(){for(var o=[],s=Array.isArray(arguments[0])?arguments[0]:arguments,a=0;a<s.length;a++){var u=s[a],c=e.apply({var:u},this);(c===null||c==="")&&o.push(u)}return o},missing_some:function(o,s){var a=e.apply({missing:s},this);return s.length-a.length>=o?[]:a}};return e.is_logic=function(o){return typeof o=="object"&&o!==null&&!Array.isArray(o)&&Object.keys(o).length===1},e.truthy=function(o){return Array.isArray(o)&&o.length===0?!1:!!o},e.get_operator=function(o){return Object.keys(o)[0]},e.get_values=function(o){return o[e.get_operator(o)]},e.apply=function(o,s){if(Array.isArray(o))return o.map(function(d){return e.apply(d,s)});if(!e.is_logic(o))return o;var a=e.get_operator(o),u=o[a],c,f,l,h,g;if(Array.isArray(u)||(u=[u]),a==="if"||a=="?:"){for(c=0;c<u.length-1;c+=2)if(e.truthy(e.apply(u[c],s)))return e.apply(u[c+1],s);return u.length===c+1?e.apply(u[c],s):null}else if(a==="and"){for(c=0;c<u.length;c+=1)if(f=e.apply(u[c],s),!e.truthy(f))return f;return f}else if(a==="or"){for(c=0;c<u.length;c+=1)if(f=e.apply(u[c],s),e.truthy(f))return f;return f}else{if(a==="filter")return h=e.apply(u[0],s),l=u[1],Array.isArray(h)?h.filter(function(d){return e.truthy(e.apply(l,d))}):[];if(a==="map")return h=e.apply(u[0],s),l=u[1],Array.isArray(h)?h.map(function(d){return e.apply(l,d)}):[];if(a==="reduce")return h=e.apply(u[0],s),l=u[1],g=typeof u[2]<"u"?e.apply(u[2],s):null,Array.isArray(h)?h.reduce(function(d,y){return e.apply(l,{current:y,accumulator:d})},g):g;if(a==="all"){if(h=e.apply(u[0],s),l=u[1],!Array.isArray(h)||!h.length)return!1;for(c=0;c<h.length;c+=1)if(!e.truthy(e.apply(l,h[c])))return!1;return!0}else if(a==="none"){if(h=e.apply(u[0],s),l=u[1],!Array.isArray(h)||!h.length)return!0;for(c=0;c<h.length;c+=1)if(e.truthy(e.apply(l,h[c])))return!1;return!0}else if(a==="some"){if(h=e.apply(u[0],s),l=u[1],!Array.isArray(h)||!h.length)return!1;for(c=0;c<h.length;c+=1)if(e.truthy(e.apply(l,h[c])))return!0;return!1}}if(u=u.map(function(d){return e.apply(d,s)}),n.hasOwnProperty(a)&&typeof n[a]=="function")return n[a].apply(s,u);if(a.indexOf(".")>0){var v=String(a).split("."),m=n;for(c=0;c<v.length;c++){if(!m.hasOwnProperty(v[c]))throw new Error("Unrecognized operation "+a+" (failed at "+v.slice(0,c+1).join(".")+")");m=m[v[c]]}return m.apply(s,u)}throw new Error("Unrecognized operation "+a)},e.uses_data=function(o){var s=[];if(e.is_logic(o)){var a=e.get_operator(o),u=o[a];Array.isArray(u)||(u=[u]),a==="var"?s.push(u[0]):u.forEach(function(c){s.push.apply(s,e.uses_data(c))})}return i(s)},e.add_operation=function(o,s){n[o]=s},e.rm_operation=function(o){delete n[o]},e.rule_like=function(o,s){if(s===o||s==="@")return!0;if(s==="number")return typeof o=="number";if(s==="string")return typeof o=="string";if(s==="array")return Array.isArray(o)&&!e.is_logic(o);if(e.is_logic(s)){if(e.is_logic(o)){var a=e.get_operator(s),u=e.get_operator(o);if(a==="@"||a===u)return e.rule_like(e.get_values(o,!1),e.get_values(s,!1))}return!1}if(Array.isArray(s))if(Array.isArray(o)){if(s.length!==o.length)return!1;for(var c=0;c<s.length;c+=1)if(!e.rule_like(o[c],s[c]))return!1;return!0}else return!1;return!1},e})})(Uo)),Uo.exports}var HC=jC(),YC=GC(HC),KC=function(t,r,i){if(t!==i.event_name)return{matches:!1};var e=i.property_filters,n=!0;if(e&&!p.isEmptyObject(e))try{n=YC.apply(e,r||{})}catch(o){return{matches:!1,error:o.toString()}}return{matches:n}},vd={};vd.eventMatchesCriteria=KC,I[je]=Promise.resolve(vd);var JC=30,XC=1e3,ZC=4,QC=!1;function gd(){this.clicks=[]}gd.prototype.isRageClick=function(t,r){r=r||{};var i=r.threshold_px||JC,e=r.timeout_ms||XC,n=r.click_count||ZC,o=r.interactive_elements_only||QC;if(o){var s=ud(t);if(!s||sd(s))return!1}var a=Date.now(),u=t.pageX,c=t.pageY,f=this.clicks[this.clicks.length-1];if(f&&a-f.timestamp<e&&Math.sqrt(Math.pow(u-f.x,2)+Math.pow(c-f.y,2))<i){if(this.clicks.push({x:u,y:c,timestamp:a}),this.clicks.length>=n)return this.clicks=[],!0}else this.clicks=[{x:u,y:c,timestamp:a}];return!1};function Hr(t,r){this.changeCallback=t||function(){},this.observerConfig=r,this.observedShadowRoots=null,this.shadowObservers=[]}Hr.prototype.getEventTarget=function(t){if(this.observedShadowRoots)return ud(t)},Hr.prototype.observeFromEvent=function(t){if(this.observedShadowRoots)for(var r=ad(t),i=0;i<r.length;i++){var e=r[i];e&&e.shadowRoot&&this.observeShadowRoot(e.shadowRoot)}},Hr.prototype.observeShadowRoot=function(t){if(!(!this.observedShadowRoots||this.observedShadowRoots.has(t))){var r=this;try{this.observedShadowRoots.add(t);var i=new window.MutationObserver(function(){r.changeCallback()});i.observe(t,this.observerConfig),this.shadowObservers.push(i)}catch(e){ie.critical("Error while observing shadow root",e)}}},Hr.prototype.start=function(){if(!this.observedShadowRoots){if(!CC()){ie.critical("Shadow DOM observation unavailable: WeakSet not supported");return}this.observedShadowRoots=new WeakSet}},Hr.prototype.stop=function(){if(this.observedShadowRoots){for(var t=0;t<this.shadowObservers.length;t++)try{this.shadowObservers[t].disconnect()}catch(r){ie.critical("Error while disconnecting shadow DOM observer",r)}this.shadowObservers=[],this.observedShadowRoots=null}};var eE=500,tE=[Nn,fC,Po,lC,hC],rE=[Mo],nE=[Su],md={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function ut(t){this.eventListeners=[],this.mutationObserver=null,this.shadowDOMObserver=null,this.isTracking=!1,this.lastChangeEventTimestamp=0,this.pendingClicks=[],this.onDeadClickCallback=t,this.processingActive=!1,this.processingTimeout=null}ut.prototype.addClick=function(t){var r=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(t);return r||(r=t.target||t.srcElement),!r||sd(r)?!1:(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(t),this.pendingClicks.push({element:r,event:t,timestamp:Date.now()}),!0)},ut.prototype.trackClick=function(t,r){if(!this.isTracking)return!1;var i=this.addClick(t);return i&&this.triggerProcessing(r),i},ut.prototype.getDeadClicks=function(t){if(this.pendingClicks.length===0)return[];var r=t.timeout_ms,i=Date.now(),e=this.pendingClicks.slice();this.pendingClicks=[];for(var n=[],o=0;o<e.length;o++){var s=e[o];i-s.timestamp>=r?this.hasChangesAfter(s.timestamp)||n.push(s):this.pendingClicks.push(s)}return n},ut.prototype.hasChangesAfter=function(t){return this.lastChangeEventTimestamp>=t-100},ut.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()},ut.prototype.triggerProcessing=function(t){this.processingActive||(this.processingActive=!0,this.processRecursively(t))},ut.prototype.processRecursively=function(t){if(!this.isTracking||!this.onDeadClickCallback){this.processingActive=!1;return}var r=t.timeout_ms,i=this;this.processingTimeout=setTimeout(function(){if(i.processingActive){for(var e=i.getDeadClicks(t),n=0;n<e.length;n++)i.onDeadClickCallback(e[n].event);i.pendingClicks.length>0?i.processRecursively(t):i.processingActive=!1}},r)},ut.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var t=this;
vendor: 78,424 bytes, line 99
99tE.forEach(function(i){var e=function(){t.recordChangeEvent()};document.addEventListener(i,e,{capture:!0,passive:!0}),t.eventListeners.push({target:document,event:i,handler:e,options:{capture:!0,passive:!0}})}),nE.forEach(function(i){var e=function(){t.recordChangeEvent()};window.addEventListener(i,e),t.eventListeners.push({target:window,event:i,handler:e})}),rE.forEach(function(i){var e=function(){t.recordChangeEvent()};window.addEventListener(i,e,{passive:!0}),t.eventListeners.push({target:window,event:i,handler:e,options:{passive:!0}})});var r=function(){t.recordChangeEvent()};if(document.addEventListener("selectionchange",r),t.eventListeners.push({target:document,event:"selectionchange",handler:r}),window.MutationObserver)try{this.mutationObserver=new window.MutationObserver(function(){t.recordChangeEvent()}),this.mutationObserver.observe(document.body||document.documentElement,md)}catch(i){ie.critical("Error while setting up mutation observer",i)}if(window.customElements)try{this.shadowDOMObserver=new Hr(function(){t.recordChangeEvent()},md),this.shadowDOMObserver.start()}catch(i){ie.critical("Error while setting up shadow DOM observer",i),this.shadowDOMObserver=null}}},ut.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 t=0;t<this.eventListeners.length;t++){var r=this.eventListeners[t];try{r.target.removeEventListener(r.event,r.handler,r.options)}catch(i){ie.critical("Error while removing event listener",i)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(i){ie.critical("Error while disconnecting mutation observer",i)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(i){ie.critical("Error while stopping shadow DOM observer",i)}this.shadowDOMObserver=null}}};var yd="autocapture",iE="track_pageview",$u="full-url",oE="url-with-path-and-query-string",sE="url-with-path",aE="allow_element_callback",_d="allow_selectors",wd="allow_url_regexes",bd="block_attrs",Sd="block_element_callback",Cd="block_selectors",Ed="block_url_regexes",Id="capture_extra_attrs",xd="capture_text_content",Rd="scroll_capture_all",Ad="scroll_depth_percent_checkpoints",Bo="click",zo="dead_click",Fu="input",Od="pageview",qo="rage_click",Nu="scroll",Wo="page_leave",Lu="submit",Ee={};Ee[_d]=[],Ee[wd]=[],Ee[bd]=[],Ee[Sd]=null,Ee[Cd]=[],Ee[Ed]=[],Ee[Id]=[],Ee[xd]=!1,Ee[Rd]=!1,Ee[Ad]=[25,50,75,100],Ee[Bo]=!0,Ee[zo]=!0,Ee[Fu]=!0,Ee[Od]=$u,Ee[qo]=!0,Ee[Nu]=!0,Ee[Wo]=!1,Ee[Lu]=!0;var Dn={$mp_autocapture:!0},kd="$mp_click",Td="$mp_dead_click",uE="$mp_input_change",Md="$mp_rage_click",cE="$mp_scroll",fE="$mp_submit",lE="$mp_page_leave",Se=function(t){this.mp=t,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};Se.prototype.init=function(){if(!SC()){ie.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()},Se.prototype.getFullConfig=function(){var t=this.mp.get_config(yd);return t?p.isObject(t)?p.extend({},Ee,t):Ee:{}},Se.prototype.getConfig=function(t){return this.getFullConfig()[t]},Se.prototype.currentUrlBlocked=function(){var t=p.info.currentUrl(),r=this.getConfig(wd)||[];if(r.length)try{return!ko(t,r)}catch(e){return ie.critical("Error while checking block URL regexes: ",e),!0}var i=this.getConfig(Ed)||[];if(!i||!i.length)return!1;try{return ko(t,i)}catch(e){return ie.critical("Error while checking block URL regexes: ",e),!0}},Se.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(yd)?this.getConfig(Od):this.mp.get_config(iE)},Se.prototype.trackDomEvent=function(t,r){if(!this.currentUrlBlocked()){var i=this.mp.is_recording_heatmap_data()&&(r===kd&&!this.getConfig(Bo)||r===Md&&!this._getClickTrackingConfig(qo)||r===Td&&!this._getClickTrackingConfig(zo)),e=wC(t,{allowElementCallback:this.getConfig(aE),allowSelectors:this.getConfig(_d),blockAttrs:this.getConfig(bd),blockElementCallback:this.getConfig(Sd),blockSelectors:this.getConfig(Cd),captureExtraAttrs:this.getConfig(Id),captureTextContent:this.getConfig(xd),capturedForHeatMap:i});e&&(p.extend(e,Dn),this.mp.track(r,e))}},Se.prototype.initPageListeners=function(){if(I.removeEventListener(Yp,this.listenerPopstate),I.removeEventListener(Su,this.listenerHashchange),!(!this.pageviewTrackingConfig()&&!this.getConfig(Wo)&&!this.mp.get_config("record_heatmap_data"))){this.listenerPopstate=function(){I.dispatchEvent(new Event(zt))},this.listenerHashchange=function(){I.dispatchEvent(new Event(zt))},I.addEventListener(Yp,this.listenerPopstate),I.addEventListener(Su,this.listenerHashchange);var t=I.history.pushState;typeof t=="function"&&(I.history.pushState=function(i,e,n){t.call(I.history,i,e,n),I.dispatchEvent(new Event(zt))});var r=I.history.replaceState;typeof r=="function"&&(I.history.replaceState=function(i,e,n){r.call(I.history,i,e,n),I.dispatchEvent(new Event(zt))})}},Se.prototype._getClickTrackingConfig=function(t){var r=this.getConfig(t);return r?r===!0?{}:typeof r=="object"?r:{}:null},Se.prototype._trackPageLeave=function(t,r,i){if(!this.hasTrackedScrollSession&&!(!this.getConfig(Wo)&&!this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var e=Math.max(B.documentElement.clientHeight,I.innerHeight||0),n=Math.round(Math.max(this.maxScrollViewDepth-e,0)/(i-e)*100),o=Math.round(e/i*100);i<=e&&(n=100,o=100);var s=p.extend({$max_scroll_view_depth:this.maxScrollViewDepth,$max_scroll_percentage:n,$fold_line_percentage:o,$scroll_height:i,$event_type:t.type,$current_url:r||p.info.currentUrl(),$viewportHeight:e,$viewportWidth:Math.max(B.documentElement.clientWidth,I.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},Dn);this.mp.track(lE,s,{transport:"sendBeacon"})}},Se.prototype._initScrollDepthTracking=function(){if(I.removeEventListener(Cu,this.listenerScrollDepth),I.removeEventListener(Mo,this.listenerScrollDepth),!!this.mp.get_config("record_heatmap_data")){ie.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(B.documentElement.clientHeight,I.innerHeight||0);var t=function(){if(!this.currentUrlBlocked()){var i=Math.max(B.documentElement.clientHeight,I.innerHeight||0)+I.scrollY;i>this.maxScrollViewDepth&&(this.maxScrollViewDepth=i),this.previousScrollHeight=B.body.scrollHeight}}.bind(this),r=od(t);this.listenerScrollDepth=r.listener,I.addEventListener(r.eventType,this.listenerScrollDepth)}},Se.prototype.initClickTracking=function(){I.removeEventListener(_t,this.listenerClick,!0),!(!this.getConfig(Bo)&&!this.mp.get_config("record_heatmap_data"))&&(ie.log("Initializing click tracking"),this.listenerClick=function(t){!this.getConfig(Bo)&&!this.mp.is_recording_heatmap_data()||this.trackDomEvent(t,kd)}.bind(this),I.addEventListener(_t,this.listenerClick,!0))},Se.prototype.initDeadClickTracking=function(){var t=this._getClickTrackingConfig(zo);if(!t&&!this.mp.get_config("record_heatmap_data")){this.stopDeadClickTracking();return}ie.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new ut(function(r){this.trackDomEvent(r,Td)}.bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=function(r){var i=this._getClickTrackingConfig(zo);if(!(!i&&!this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var e=i||{};e.timeout_ms||(e.timeout_ms=eE),this._deadClickTracker.trackClick(r,e)}}.bind(this),I.addEventListener(_t,this.listenerDeadClick,!0))},Se.prototype.initInputTracking=function(){I.removeEventListener(Nn,this.listenerChange,!0),this.getConfig(Fu)&&(ie.log("Initializing input tracking"),this.listenerChange=function(t){this.getConfig(Fu)&&this.trackDomEvent(t,uE)}.bind(this),I.addEventListener(Nn,this.listenerChange,!0))},Se.prototype.initPageviewTracking=function(){if(I.removeEventListener(zt,this.listenerLocationchange),!(!this.pageviewTrackingConfig()&&!this.mp.get_config("record_heatmap_data"))){ie.log("Initializing pageview tracking");var t="",r=!1;(this.pageviewTrackingConfig()||this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()&&(r=this.mp.track_pageview(Dn)),r&&(t=p.info.currentUrl()),this.listenerLocationchange=hr(function(){if(!this.currentUrlBlocked()){var i=p.info.currentUrl(),e=!1,n=i.split("#")[0].split("?")[0]!==t.split("#")[0].split("?")[0],o=this.pageviewTrackingConfig();if(!o&&this.mp.is_recording_heatmap_data()&&(o=$u),o===$u?e=i!==t:o===oE?e=i.split("#")[0]!==t.split("#")[0]:o===sE&&(e=n),e){var s=this.mp.track_pageview(Dn);s&&(t=i),n&&(this.lastScrollCheckpoint=0,ie.log("Path change: re-initializing scroll depth checkpoints"))}}}.bind(this)),I.addEventListener(zt,this.listenerLocationchange)}},Se.prototype.initRageClickTracking=function(){I.removeEventListener(_t,this.listenerRageClick,!0);var t=this._getClickTrackingConfig(qo);!t&&!this.mp.get_config("record_heatmap_data")||(ie.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new gd),this.listenerRageClick=function(r){var i=this._getClickTrackingConfig(qo);!i&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked()||this._rageClickTracker.isRageClick(r,i)&&this.trackDomEvent(r,Md)}.bind(this),I.addEventListener(_t,this.listenerRageClick,!0))},Se.prototype.initScrollTracking=function(){if(I.removeEventListener(Mo,this.listenerScroll),I.removeEventListener(Cu,this.listenerScroll),!!this.getConfig(Nu)){ie.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var t=function(){if(this.getConfig(Nu)&&!this.currentUrlBlocked()){var i=this.getConfig(Rd),e=(this.getConfig(Ad)||[]).slice().sort(function(f,l){return f-l}),n=I.scrollY,o=p.extend({$scroll_top:n},Dn);try{var s=B.body.scrollHeight,a=Math.round(n/(s-I.innerHeight)*100);if(o.$scroll_height=s,o.$scroll_percentage=a,a>this.lastScrollCheckpoint)for(var u=0;u<e.length;u++){var c=e[u];a>=c&&this.lastScrollCheckpoint<c&&(o.$scroll_checkpoint=c,this.lastScrollCheckpoint=c,i=!0)}}catch(f){ie.critical("Error while calculating scroll percentage",f)}i&&this.mp.track(cE,o)}}.bind(this),r=od(t);this.listenerScroll=r.listener,I.addEventListener(r.eventType,this.listenerScroll)}},Se.prototype.initSubmitTracking=function(){I.removeEventListener(Po,this.listenerSubmit,!0),this.getConfig(Lu)&&(ie.log("Initializing submit tracking"),this.listenerSubmit=function(t){this.getConfig(Lu)&&this.trackDomEvent(t,fE)}.bind(this),I.addEventListener(Po,this.listenerSubmit,!0))},Se.prototype.initPageLeaveTracking=function(){if(B.removeEventListener(Kp,this.listenerPageLeaveVisibilitychange),I.removeEventListener(zt,this.listenerPageLeaveLocationchange),I.removeEventListener(Hp,this.listenerPageLoad),!(!this.getConfig(Wo)&&!this.mp.get_config("record_heatmap_data"))){ie.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var t=p.info.currentUrl();this.listenerPageLoad=function(){this.previousScrollHeight=B.body.scrollHeight}.bind(this),I.addEventListener(Hp,this.listenerPageLoad),this.listenerPageLeaveLocationchange=hr(function(r){if(!this.currentUrlBlocked()){var i=p.info.currentUrl(),e=i!==t;e&&(this._trackPageLeave(r,t,this.previousScrollHeight),t=i,this.maxScrollViewDepth=Math.max(B.documentElement.clientHeight,I.innerHeight||0),this.previousScrollHeight=B.body.scrollHeight,this.hasTrackedScrollSession=!1)}}.bind(this)),I.addEventListener(zt,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=function(r){B.hidden&&this._trackPageLeave(r,t,this.previousScrollHeight)}.bind(this),B.addEventListener(Kp,this.listenerPageLeaveVisibilitychange)}},Se.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(I.removeEventListener(_t,this.listenerDeadClick,!0),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)},lu(Se);var Pd=function(t,r){return I[je]&&typeof I[je].then=="function"||(I[je]=new Promise(function(i){t(r,i)}).then(function(){var i=I[je];if(i&&typeof i.then=="function")return i;throw new Error("targeting failed to load")}).catch(function(i){throw delete I[je],i})),I[je]},Ye=it("flags"),hE="mixpanelFlagsDb",$d="mixpanelFlags",pE={version:1,storeNames:[$d]},dE="persisted_variants_for_",Fd=1440*60*1e3,qt=Object.freeze({NETWORK_ONLY:"networkOnly",NETWORK_FIRST:"networkFirst",PERSISTENCE_UNTIL_NETWORK_SUCCESS:"persistenceUntilNetworkSuccess"}),vE=[qt.NETWORK_ONLY,qt.NETWORK_FIRST,qt.PERSISTENCE_UNTIL_NETWORK_SUCCESS],vr=function(t,r,i){this.idb=new We(hE,$d,pE),this.persistenceConfig=t,this.persistedVariantsKey=dE+r,this.isGloballyDisabled=i||function(){return!1}};vr.prototype.getPolicy=function(){return this.isGloballyDisabled()||!this._isConfigValid()?qt.NETWORK_ONLY:this.persistenceConfig.variantLookupPolicy},vr.prototype.getTtlMs=function(){if(!this._isConfigValid())return Fd;var t=this.persistenceConfig.persistenceTtlMs;return t??Fd},vr.prototype._isConfigValid=function(){var t=this.persistenceConfig;return t?vE.indexOf(t.variantLookupPolicy)===-1?(Ye.error("Invalid variantLookupPolicy:",t.variantLookupPolicy),!1):t.persistenceTtlMs!==void 0&&t.persistenceTtlMs!==null&&t.persistenceTtlMs<=0?(Ye.error("If provided, persistenceTtlMs must be a positive number. Provided value:",t.persistenceTtlMs),!1):!0:!1},vr.prototype.loadFlagsFromStorage=function(t){var r=p.bind(function(){return this.clear().then(function(){return null}).catch(function(){return null})},this);if(this.getPolicy()===qt.NETWORK_ONLY)return r();var i=this.getTtlMs();return this.idb.init().then(p.bind(function(){return this.idb.getItem(this.persistedVariantsKey)},this)).then(p.bind(function(e){if(!e)return Ye.log("No persisted variants found in IndexedDB"),null;if(i&&Date.now()-e.persistedAt>=i)return Ye.log("Persisted variants are expiring"),null;if(!t||e.distinctId!==t.distinct_id)return Ye.log("Persisted variants found, but for a different distinct_id so clearing."),r();var n=new Map;return p.each(e.flagVariants,function(o,s){n.set(s,{key:o.variant_key,value:o.variant_value,experiment_id:o.experiment_id,is_experiment_active:o.is_experiment_active,is_qa_tester:o.is_qa_tester,variant_source:"persistence",persisted_at_in_ms:e.persistedAt,ttl_in_ms:i})}),Ye.log("Loaded",n.size,"variants from IndexedDB for distinct_id",e.distinctId),{flags:n,pendingFirstTimeEvents:e.pendingFirstTimeEvents||{},persistedAtMs:e.persistedAt,ttlMs:i}},this)).catch(p.bind(function(e){return Ye.error("Failed to load persisted variants from IndexedDB, so clearing",e),r()},this))},vr.prototype.save=function(t,r,i){if(this.getPolicy()===qt.NETWORK_ONLY)return Promise.resolve();var e={};r.forEach(function(o,s){e[s]={variant_key:o.key,variant_value:o.value,experiment_id:o.experiment_id,is_experiment_active:o.is_experiment_active,is_qa_tester:o.is_qa_tester}});var n={persistedAt:Date.now(),distinctId:t&&t.distinct_id,context:t,flagVariants:e,pendingFirstTimeEvents:i||{}};return this.idb.init().then(p.bind(function(){return this.idb.setItem(this.persistedVariantsKey,n)},this)).then(function(){Ye.log("Saved",r.size,"variants to IndexedDB for distinct_id",n.distinctId)}).catch(function(o){Ye.error("Failed to persist variants to IndexedDB:",o)})},vr.prototype.clear=function(){return this.isGloballyDisabled()?Promise.resolve():this.idb.init().then(p.bind(function(){return this.idb.removeItem(this.persistedVariantsKey)},this)).then(function(){Ye.log("Cleared persisted variants from IndexedDB")}).catch(function(t){Ye.error("Failed to clear persisted variants from IndexedDB:",t)})};var te=it("flags"),Go="flags",Vo="context",gE="persistence",Du={};Du[Vo]={};var mE=function(t,r){return t+":"+r},yE=function(t){return t.split(":")[0]},gr=function(t){return p.isObject(t)?p.extend({},t,{variant_source:"fallback"}):{value:t,variant_source:"fallback"}},k=function(t){this.fetch=I.fetch,this.getFullApiRoute=t.getFullApiRoute,this.getMpConfig=t.getConfigFunc,this.setMpConfig=t.setConfigFunc,this.getMpProperty=t.getPropertyFunc,this.track=t.trackingFunc,this.loadExtraBundle=t.loadExtraBundle||function(){},this.targetingSrc=t.targetingSrc||""};k.prototype.init=function(){if(!this.minApisSupported()){te.critical("Feature Flags unavailable: missing minimum required APIs");return}return this.flags=null,this.trackedFeatures=new Set,this.pendingFirstTimeEvents={},this.activatedFirstTimeEvents={},this._loadedPersistedAtMs=null,this._loadedTtlMs=null,this.persistence=new vr(this.getConfig(gE),this.getMpConfig("token"),p.bind(function(){return this.getMpConfig("disable_persistence")},this)),this.persistenceLoadedPromise=this.persistence.loadFlagsFromStorage(this._buildContext()).then(p.bind(function(t){t&&(this.flags=t.flags,this.pendingFirstTimeEvents=t.pendingFirstTimeEvents,this._loadedPersistedAtMs=t.persistedAtMs,this._loadedTtlMs=t.ttlMs)},this)),this.persistenceLoadedPromise.then(p.bind(function(){return this.fetchFlags()},this)).catch(function(){te.error("Error initializing feature flags")})},k.prototype._buildContext=function(){return p.extend({distinct_id:this.getMpProperty("distinct_id"),device_id:this.getMpProperty("$device_id")},this.getConfig(Vo))},k.prototype.reset=function(){return this.persistence?(this.flags=null,this.pendingFirstTimeEvents={},this.activatedFirstTimeEvents={},this.trackedFeatures=new Set,this.fetchPromise=null,this._fetchInProgressStartTime=null,this._loadedPersistedAtMs=null,this._loadedTtlMs=null,this.persistence.clear().then(p.bind(function(){return this.fetchFlags()},this)).catch(function(){te.error("Error during flags reset")})):Promise.resolve()},k.prototype.getFullConfig=function(){var t=this.getMpConfig(Go);return t?p.isObject(t)?p.extend({},Du,t):Du:{}},k.prototype.getConfig=function(t){return this.getFullConfig()[t]},k.prototype.isSystemEnabled=function(){return!!this.getMpConfig(Go)},k.prototype.updateContext=function(t,r){if(!this.isSystemEnabled())return te.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var i=this.getMpConfig(Go);p.isObject(i)||(i={});var e=r&&r.replace?{}:this.getConfig(Vo);i[Vo]=p.extend({},e,t);var n={};return n[Go]=i,this.setMpConfig(n),this.fetchFlags().catch(function(){te.error("Error fetching flags during updateContext")})},k.prototype.areFlagsReady=function(){return this.isSystemEnabled()||te.error("Feature Flags not enabled"),!!this.flags},k.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var t=this._buildContext(),r=t.distinct_id,i=Np();te.log("Fetching flags for distinct ID: "+r);var e=new URLSearchParams;e.set("context",JSON.stringify(t)),e.set("token",this.getMpConfig("token")),e.set("mp_lib","web"),e.set("$lib_version",Le.LIB_VERSION);var n=this.getFullApiRoute()+"?"+e.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(I,n,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:i}}).then(function(o){return this.markFetchComplete(),o.json()}.bind(this)).then(function(o){var s=o.flags;if(!s)throw new Error("No flags in API response");var a=new Map,u={};p.each(s,function(f,l){var h=!1,g=l+":";if(p.each(this.activatedFirstTimeEvents,function(m,d){d.startsWith(g)&&(h=!0)}),h){var v=this.flags&&this.flags.get(l);v&&a.set(l,v)}else a.set(l,{key:f.variant_key,value:f.variant_value,experiment_id:f.experiment_id,is_experiment_active:f.is_experiment_active,is_qa_tester:f.is_qa_tester,variant_source:"network"})},this);var c=o.pending_first_time_events;c&&c.length>0&&p.each(c,function(f){var l=f.flag_key,h=mE(l,f.first_time_event_hash);this.activatedFirstTimeEvents[h]||(u[h]={flag_key:l,flag_id:f.flag_id,project_id:f.project_id,first_time_event_hash:f.first_time_event_hash,event_name:f.event_name,property_filters:f.property_filters,pending_variant:f.pending_variant})},this),this.activatedFirstTimeEvents&&p.each(this.activatedFirstTimeEvents,function(f,l){var h=yE(l);f&&!a.has(h)&&this.flags&&this.flags.has(h)&&a.set(h,this.flags.get(h))},this),this.flags=a,this.trackedFeatures=new Set,this.pendingFirstTimeEvents=u,this._loadedPersistedAtMs=null,this._loadedTtlMs=null,this._traceparent=i,this._loadTargetingIfNeeded(),this.persistence.save(t,this.flags,this.pendingFirstTimeEvents)}.bind(this)).catch(function(o){throw this._fetchInProgressStartTime&&this.markFetchComplete(),te.error(o),o}.bind(this)),this.fetchPromise},k.prototype.loadFlags=function(){return this.isSystemEnabled()?this.trackedFeatures?this._fetchInProgressStartTime?this.fetchPromise:this.fetchFlags():(te.error("loadFlags called before init"),Promise.resolve()):Promise.resolve()},k.prototype.markFetchComplete=function(){if(!this._fetchInProgressStartTime){te.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},k.prototype._loadTargetingIfNeeded=function(){var t=!1;p.each(this.pendingFirstTimeEvents,function(r){r.property_filters&&!p.isEmptyObject(r.property_filters)&&(t=!0)}),t&&this.getTargeting().then(function(){te.log("targeting loaded for property filter evaluation")})},k.prototype.getTargeting=function(){return Pd(this.loadExtraBundle.bind(this),this.targetingSrc).catch(function(t){te.error("Failed to load targeting: "+t)}.bind(this))},k.prototype.checkFirstTimeEvents=function(t,r){!this.pendingFirstTimeEvents||p.isEmptyObject(this.pendingFirstTimeEvents)||(I[je]&&p.isFunction(I[je].then)?I[je].then(function(i){this._processFirstTimeEventCheck(t,r,i)}.bind(this)).catch(function(){this._processFirstTimeEventCheck(t,r,null)}.bind(this)):this._processFirstTimeEventCheck(t,r,null))},k.prototype._processFirstTimeEventCheck=function(t,r,i){p.each(this.pendingFirstTimeEvents,function(e,n){if(!this.activatedFirstTimeEvents[n]){var o=e.flag_key,s;if(!i&&e.property_filters&&!p.isEmptyObject(e.property_filters)){te.warn('Skipping event check for "'+o+'" - property filters require targeting library');return}if(!i)s={matches:t===e.event_name,error:null};else{var a={event_name:e.event_name,property_filters:e.property_filters};s=i.eventMatchesCriteria(t,r,a)}if(s.error){te.error('Error checking first-time event for flag "'+o+'": '+s.error);return}if(s.matches){te.log('First-time event matched for flag "'+o+'": '+t);var u={key:e.pending_variant.variant_key,value:e.pending_variant.variant_value,experiment_id:e.pending_variant.experiment_id,is_experiment_active:e.pending_variant.is_experiment_active};this.flags.set(o,u),this.trackedFeatures.delete(o),this.activatedFirstTimeEvents[n]=!0,this.recordFirstTimeEvent(e.flag_id,e.project_id,e.first_time_event_hash)}}},this)},k.prototype.getFirstTimeEventApiRoute=function(t){var r=this.getFullApiRoute().replace(/\/$/,"");return r+"/"+t+"/first-time-events"},k.prototype.recordFirstTimeEvent=function(t,r,i){var e=this.getMpProperty("distinct_id"),n=Np(),o=new URLSearchParams;o.set("mp_lib","web"),o.set("$lib_version",Le.LIB_VERSION);var s=this.getFirstTimeEventApiRoute(t)+"?"+o.toString(),a={distinct_id:e,project_id:r,first_time_event_hash:i};te.log("Recording first-time event for flag: "+t),this.fetch.call(I,s,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:n},body:JSON.stringify(a)}).catch(function(u){te.error("Failed to record first-time event for flag "+t+": "+u)})},k.prototype.getVariant=function(t,r){if(!this.persistenceLoadedPromise)return new Promise(function(e){te.critical("Feature Flags not initialized"),e(gr(r))});var i=this.persistence.getPolicy();return this.persistenceLoadedPromise.then(p.bind(function(){if(i===qt.PERSISTENCE_UNTIL_NETWORK_SUCCESS)return this.areFlagsReady()&&!this._loadedPersistenceIsStale()?this.getVariantSync(t,r):this.fetchPromise?this.fetchPromise.then(p.bind(function(){return this.getVariantSync(t,r)},this)).catch(function(n){return te.error(n),gr(r)}):gr(r);var e=p.bind(function(){return this.getVariantSync(t,r)},this);return this.fetchPromise?this.fetchPromise.then(e).catch(e):gr(r)},this))},k.prototype._loadedPersistenceIsStale=function(){return!this._loadedPersistedAtMs||!this._loadedTtlMs?!1:Date.now()-this._loadedPersistedAtMs>=this._loadedTtlMs},k.prototype.getVariantSync=function(t,r){if(this._loadedPersistenceIsStale())return te.log('Loaded persisted variants are past TTL so returning fallback for "'+t+'"'),gr(r);if(!this.areFlagsReady())return te.log("Flags not loaded yet"),gr(r);var i=this.flags.get(t);return i?(this.trackFeatureCheck(t,i),i):(te.log('No flag found: "'+t+'"'),gr(r))},k.prototype.getAllVariants=function(){if(!this.persistenceLoadedPromise)return te.critical("Feature Flags not initialized"),Promise.resolve(new Map);var t=this.persistence.getPolicy();return this.persistenceLoadedPromise.then(p.bind(function(){if(t===qt.PERSISTENCE_UNTIL_NETWORK_SUCCESS)return this.areFlagsReady()&&!this._loadedPersistenceIsStale()?this.getAllVariantsSync():this.fetchPromise?this.fetchPromise.then(p.bind(function(){return this.getAllVariantsSync()},this)).catch(function(i){return te.error(i),new Map}):new Map;var r=p.bind(this.getAllVariantsSync,this);return this.fetchPromise?this.fetchPromise.then(r).catch(r):new Map},this))},k.prototype.getAllVariantsSync=function(){return this._loadedPersistenceIsStale()?(te.log("Loaded persisted variants are past TTL so returning empty Map"),new Map):this.flags||new Map},k.prototype.getVariantValue=function(t,r){return this.getVariant(t,{value:r}).then(function(i){return i.value}).catch(function(i){return te.error(i),r})},k.prototype.getFeatureData=function(t,r){return te.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value() instead."),this.getVariantValue(t,r)},k.prototype.getVariantValueSync=function(t,r){return this.getVariantSync(t,{value:r}).value},k.prototype.isEnabled=function(t,r){return this.getVariantValue(t).then(function(){return this.isEnabledSync(t,r)}.bind(this)).catch(function(i){return te.error(i),r})},k.prototype.isEnabledSync=function(t,r){r=r||!1;var i=this.getVariantValueSync(t,r);return i!==!0&&i!==!1&&(te.error('Feature flag "'+t+'" value: '+i+" is not a boolean; returning fallback value: "+r),i=r),i};function Wt(t){return t!=null}k.prototype.trackFeatureCheck=function(t,r){if(!this.trackedFeatures.has(t)){this.trackedFeatures.add(t);var i={"Experiment name":t,"Variant name":r.key,$experiment_type:"feature_flag","Variant fetch start time":Wt(this._fetchStartTime)?new Date(this._fetchStartTime).toISOString():null,"Variant fetch complete time":Wt(this._fetchCompleteTime)?new Date(this._fetchCompleteTime).toISOString():null,"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};Wt(r.experiment_id)&&(i.$experiment_id=r.experiment_id),Wt(r.is_experiment_active)&&(i.$is_experiment_active=r.is_experiment_active),Wt(r.is_qa_tester)&&(i.$is_qa_tester=r.is_qa_tester),Wt(r.variant_source)&&(i.$variant_source=r.variant_source),Wt(r.persisted_at_in_ms)&&(i.$persisted_at_in_ms=r.persisted_at_in_ms),Wt(r.ttl_in_ms)&&(i.$ttl_in_ms=r.ttl_in_ms),this.track("$experiment_started",i)}},k.prototype.whenReady=function(){return this.fetchPromise?this.fetchPromise:Promise.resolve()},k.prototype.minApisSupported=function(){return!!this.fetch&&typeof Promise<"u"&&typeof Map<"u"&&typeof Set<"u"},lu(k),k.prototype.are_flags_ready=k.prototype.areFlagsReady,k.prototype.get_variant=k.prototype.getVariant,k.prototype.get_variant_sync=k.prototype.getVariantSync,k.prototype.get_all_variants=k.prototype.getAllVariants,k.prototype.get_all_variants_sync=k.prototype.getAllVariantsSync,k.prototype.get_variant_value=k.prototype.getVariantValue,k.prototype.get_variant_value_sync=k.prototype.getVariantValueSync,k.prototype.is_enabled=k.prototype.isEnabled,k.prototype.is_enabled_sync=k.prototype.isEnabledSync,k.prototype.load_flags=k.prototype.loadFlags,k.prototype.update_context=k.prototype.updateContext,k.prototype.when_ready=k.prototype.whenReady,k.prototype.get_feature_data=k.prototype.getFeatureData,k.prototype.getTargeting=k.prototype.getTargeting;var _E=it("recorder"),Nd="mp_iframe_handshake_request",Ld="mp_iframe_handshake_response",Ae=function(t){this.mixpanelInstance=t.mixpanelInstance,this.getMpConfig=t.getConfigFunc,this.getTabId=t.getTabIdFunc,this.reportError=t.reportErrorFunc,this.getDistinctId=t.getDistinctIdFunc,this.loadExtraBundle=t.loadExtraBundle,this.recorderSrc=t.recorderSrc,this.targetingSrc=t.targetingSrc,this.libBasePath=t.libBasePath,this._recorder=null,this._parentReplayId=null,this._parentFrameRetryInterval=null};Ae.prototype.shouldLoadRecorder=function(){if(this.getMpConfig("disable_persistence"))return L.log("Load recorder check skipped due to disable_persistence config"),U.resolve(!1);var t=new We(vu,gu,mu),r=this.getTabId();return t.init().then(function(){return t.getAll()}).then(function(i){for(var e=0;e<i.length;e++)if(bu(i[e])||i[e].tabId===r)return!0;return!1}).catch(p.bind(function(i){return this.reportError("Error checking recording registry",i),!1},this))},Ae.prototype.checkAndStartSessionRecording=function(t,r){if(!I.MutationObserver)return L.critical("Browser does not support MutationObserver; skipping session recording"),U.resolve();var i=p.bind(function(a){return new U(p.bind(function(u){var c=hr(p.bind(function(){this._recorder=this._recorder||new I[ns](this.mixpanelInstance),this._recorder.resumeRecording(a),u()},this));if(p.isUndefined(I[ns])){var f=this.recorderSrc||this.libBasePath+eg;this.loadExtraBundle(f,c)}else c()},this))},this),e=jp(this.getMpConfig("record_allowed_iframe_origins"),_E),n=e.length>0;if(n&&(this._setupParentFrameListener(e),I.parent!==I))return this._setupChildFrameListener(e,i),this._sendParentFrameRequestWithRetry(e),U.resolve();var o=p.isUndefined(r)?this.getMpConfig("record_sessions_percent"):r,s=o>0&&Math.random()*100<=o;return t||s?i(!0):this.shouldLoadRecorder().then(p.bind(function(a){return a?i(!1):U.resolve()},this))},Ae.prototype.isRecording=function(){if(!this._recorder||!p.isFunction(this._recorder.isRecording))return!1;try{return this._recorder.isRecording()}catch(t){return this.reportError("Error checking if recording is active",t),!1}},Ae.prototype.startRecordingOnEvent=function(t,r){var i=this.isRecording(),e=this.getMpConfig("recording_event_triggers");if(!i&&e){var n=e[t];if(n&&typeof n.percentage=="number"){var o=n.percentage,s=n.property_filters;if(s&&!p.isEmptyObject(s)){var a=this.targetingSrc||this.libBasePath+Ac;Pd(this.loadExtraBundle,a).then(function(u){try{var c=u.eventMatchesCriteria(t,r,{event_name:t,property_filters:s});c.matches&&this.checkAndStartSessionRecording(!1,o)}catch(f){L.critical("Could not parse recording event trigger properties logic:",f)}}.bind(this)).catch(function(u){L.critical("Failed to load targeting library:",u)})}else this.checkAndStartSessionRecording(!1,o)}}},Ae.prototype.stopSessionRecording=function(){return this._recorder?this._recorder.stopRecording():U.resolve()},Ae.prototype.pauseSessionRecording=function(){return this._recorder?this._recorder.pauseRecording():U.resolve()},Ae.prototype.resumeSessionRecording=function(){return this._recorder?this._recorder.resumeRecording():U.resolve()},Ae.prototype.isRecordingHeatmapData=function(){return this.getSessionReplayId()&&this.getMpConfig("record_heatmap_data")},Ae.prototype.getSessionRecordingProperties=function(){var t={},r=this.getSessionReplayId();return r&&(t.$mp_replay_id=r),t},Ae.prototype.getSessionReplayUrl=function(){var t=null,r=this.getSessionReplayId();if(r){var i=p.HTTPBuildQuery({replay_id:r,distinct_id:this.getDistinctId(),token:this.getMpConfig("token")});t="https://mixpanel.com/projects/replay-redirect?"+i}return t},Ae.prototype.getSessionReplayId=function(){if(this._parentReplayId)return this._parentReplayId;var t=null;return this._recorder&&(t=this._recorder.replayId),t||null},Ae.prototype.getRecorder=function(){return this._recorder},Ae.prototype._setupChildFrameListener=function(t,r){if(!this._childFrameMessageHandler){var i=this;this._childFrameMessageHandler=function(e){if(t.indexOf(e.origin)!==-1){var n=e.data;n&&n.type===Ld&&n.token===i.getMpConfig("token")&&n.replayId&&(i._parentReplayId=n.replayId,n.distinctId&&i.mixpanelInstance.identify(n.distinctId),i._parentFrameRetryActive=!1,I.removeEventListener("message",i._childFrameMessageHandler),i._childFrameMessageHandler=null,r(!0))}},I.addEventListener("message",this._childFrameMessageHandler)}},Ae.prototype._sendParentFrameRequest=function(t){var r={};r.type=Nd,r.token=this.getMpConfig("token");for(var i=0;i<t.length;i++)try{I.parent.postMessage(r,t[i])}catch{}},Ae.prototype._sendParentFrameRequestWithRetry=function(t){var r=this,i=10,e=0,n=50;this._parentFrameRetryActive=!0,this._sendParentFrameRequest(t);function o(){setTimeout(function(){!r._parentFrameRetryActive||r._parentReplayId||++e>=i||(r._sendParentFrameRequest(t),n*=2,o())},n)}o()},Ae.prototype._setupParentFrameListener=function(t){if(!this._parentFrameMessageHandler){var r=this;this._parentFrameMessageHandler=function(i){if(t.indexOf(i.origin)!==-1){var e=i.data;if(e&&e.type===Nd&&e.token===r.getMpConfig("token")){var n=r.getSessionReplayId();if(n){var o={};o.type=Ld,o.token=r.getMpConfig("token"),o.replayId=n,o.distinctId=r.getDistinctId(),i.source.postMessage(o,i.origin)}}}},I.addEventListener("message",this._parentFrameMessageHandler)}},lu(Ae);var bt=function(){};bt.prototype.create_properties=function(){},bt.prototype.event_handler=function(){},bt.prototype.after_track_handler=function(){},bt.prototype.init=function(t){return this.mp=t,this},bt.prototype.track=function(t,r,i,e){var n=this,o=p.dom_query(t);if(o.length===0){L.error("The DOM query ("+t+") returned 0 elements");return}return p.each(o,function(s){p.register_event(s,this.override_event,function(a){var u={},c=n.create_properties(i,this),f=n.mp.get_config("track_links_timeout");n.event_handler(a,this,u),window.setTimeout(n.track_callback(e,c,u,!0),f),n.mp.track(r,c,n.track_callback(e,c,u))})},this),!0},bt.prototype.track_callback=function(t,r,i,e){e=e||!1;var n=this;return function(){i.callback_fired||(i.callback_fired=!0,!(t&&t(e,r)===!1)&&n.after_track_handler(r,i,e))}},bt.prototype.create_properties=function(t,r){var i;return typeof t=="function"?i=t(r):i=p.extend({},t),i};var Yr=function(){this.override_event="click"};p.inherit(Yr,bt),Yr.prototype.create_properties=function(t,r){var i=Yr.superclass.create_properties.apply(this,arguments);return r.href&&(i.url=r.href),i},Yr.prototype.event_handler=function(t,r,i){i.new_tab=t.which===2||t.metaKey||t.ctrlKey||r.target==="_blank",i.href=r.href,i.new_tab||t.preventDefault()},Yr.prototype.after_track_handler=function(t,r){r.new_tab||setTimeout(function(){window.location=r.href},0)};var jo=function(){this.override_event="submit"};p.inherit(jo,bt),jo.prototype.event_handler=function(t,r,i){i.element=r,t.preventDefault()},jo.prototype.after_track_handler=function(t,r){setTimeout(function(){r.element.submit()},0)};var Gt="$set",Kr="$set_once",Ke="$unset",mr="$add",ct="$append",yr="$union",St="$remove",wE="$delete",Dd={set_action:function(t,r){var i={},e={};return p.isObject(t)?p.each(t,function(n,o){this._is_reserved_property(o)||(e[o]=n)},this):e[t]=r,i[Gt]=e,i},unset_action:function(t){var r={},i=[];return p.isArray(t)||(t=[t]),p.each(t,function(e){this._is_reserved_property(e)||i.push(e)},this),r[Ke]=i,r},set_once_action:function(t,r){var i={},e={};return p.isObject(t)?p.each(t,function(n,o){this._is_reserved_property(o)||(e[o]=n)},this):e[t]=r,i[Kr]=e,i},union_action:function(t,r){var i={},e={};return p.isObject(t)?p.each(t,function(n,o){this._is_reserved_property(o)||(e[o]=p.isArray(n)?n:[n])},this):e[t]=p.isArray(r)?r:[r],i[yr]=e,i},append_action:function(t,r){var i={},e={};return p.isObject(t)?p.each(t,function(n,o){this._is_reserved_property(o)||(e[o]=n)},this):e[t]=r,i[ct]=e,i},remove_action:function(t,r){var i={},e={};return p.isObject(t)?p.each(t,function(n,o){this._is_reserved_property(o)||(e[o]=n)},this):e[t]=r,i[St]=e,i},delete_action:function(){var t={};return t[wE]="",t}},ce=function(){};p.extend(ce.prototype,Dd),ce.prototype._init=function(t,r,i){this._mixpanel=t,this._group_key=r,this._group_id=i},ce.prototype.set=Gr(function(t,r,i){var e=this.set_action(t,r);return p.isObject(t)&&(i=r),this._send_request(e,i)}),ce.prototype.set_once=Gr(function(t,r,i){var e=this.set_once_action(t,r);return p.isObject(t)&&(i=r),this._send_request(e,i)}),ce.prototype.unset=Gr(function(t,r){var i=this.unset_action(t);return this._send_request(i,r)}),ce.prototype.union=Gr(function(t,r,i){p.isObject(t)&&(i=r);var e=this.union_action(t,r);return this._send_request(e,i)}),ce.prototype.delete=Gr(function(t){var r=this.delete_action();return this._send_request(r,t)}),ce.prototype.remove=Gr(function(t,r,i){var e=this.remove_action(t,r);return this._send_request(e,i)}),ce.prototype._send_request=function(t,r){t.$group_key=this._group_key,t.$group_id=this._group_id,t.$token=this._get_config("token");var i=p.encodeDates(t);return this._mixpanel._track_or_batch({type:"groups",data:i,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},r)},ce.prototype._is_reserved_property=function(t){return t==="$group_key"||t==="$group_id"},ce.prototype._get_config=function(t){return this._mixpanel.get_config(t)},ce.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},ce.prototype.remove=ce.prototype.remove,ce.prototype.set=ce.prototype.set,ce.prototype.set_once=ce.prototype.set_once,ce.prototype.union=ce.prototype.union,ce.prototype.unset=ce.prototype.unset,ce.prototype.toString=ce.prototype.toString;var z=function(){};p.extend(z.prototype,Dd),z.prototype._init=function(t){this._mixpanel=t},z.prototype.set=Bt(function(t,r,i){var e=this.set_action(t,r);return p.isObject(t)&&(i=r),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),e[Gt]=p.extend({},p.info.people_properties(),e[Gt]),this._send_request(e,i)}),z.prototype.set_once=Bt(function(t,r,i){var e=this.set_once_action(t,r);return p.isObject(t)&&(i=r),this._send_request(e,i)}),z.prototype.unset=Bt(function(t,r){var i=this.unset_action(t);return this._send_request(i,r)}),z.prototype.increment=Bt(function(t,r,i){var e={},n={};return p.isObject(t)?(p.each(t,function(o,s){if(!this._is_reserved_property(s))if(isNaN(parseFloat(o))){L.error("Invalid increment value passed to mixpanel.people.increment - must be a number");return}else n[s]=o},this),i=r):(p.isUndefined(r)&&(r=1),n[t]=r),e[mr]=n,this._send_request(e,i)}),z.prototype.append=Bt(function(t,r,i){p.isObject(t)&&(i=r);var e=this.append_action(t,r);return this._send_request(e,i)}),z.prototype.remove=Bt(function(t,r,i){p.isObject(t)&&(i=r);var e=this.remove_action(t,r);return this._send_request(e,i)}),z.prototype.union=Bt(function(t,r,i){p.isObject(t)&&(i=r);var e=this.union_action(t,r);return this._send_request(e,i)}),z.prototype.track_charge=Bt(function(){L.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")}),z.prototype.clear_charges=function(t){return this.set("$transactions",[],t)},z.prototype.delete_user=function(){if(!this._identify_called()){L.error("mixpanel.people.delete_user() requires you to call identify() first");return}var t={$delete:this._mixpanel.get_distinct_id()};return this._send_request(t)},z.prototype.toString=function(){return this._mixpanel.toString()+".people"},z.prototype._send_request=function(t,r){t.$token=this._get_config("token"),t.$distinct_id=this._mixpanel.get_distinct_id();var i=this._mixpanel.get_property("$device_id"),e=this._mixpanel.get_property("$user_id"),n=this._mixpanel.get_property("$had_persisted_distinct_id");i&&(t.$device_id=i),e&&(t.$user_id=e),n&&(t.$had_persisted_distinct_id=n);var o=p.encodeDates(t);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},r):(this._enqueue(t),p.isUndefined(r)||(this._get_config("verbose")?r({status:-1,error:null}):r(-1)),p.truncate(o,255))},z.prototype._get_config=function(t){return this._mixpanel.get_config(t)},z.prototype._identify_called=function(){return this._mixpanel._flags.identify_called===!0},z.prototype._enqueue=function(t){Gt in t?this._mixpanel.persistence._add_to_people_queue(Gt,t):Kr in t?this._mixpanel.persistence._add_to_people_queue(Kr,t):Ke in t?this._mixpanel.persistence._add_to_people_queue(Ke,t):mr in t?this._mixpanel.persistence._add_to_people_queue(mr,t):ct in t?this._mixpanel.persistence._add_to_people_queue(ct,t):St in t?this._mixpanel.persistence._add_to_people_queue(St,t):yr in t?this._mixpanel.persistence._add_to_people_queue(yr,t):L.error("Invalid call to _enqueue():",t)},z.prototype._flush_one_queue=function(t,r,i,e){var n=this,o=p.extend({},this._mixpanel.persistence.load_queue(t)),s=o;!p.isUndefined(o)&&p.isObject(o)&&!p.isEmptyObject(o)&&(n._mixpanel.persistence._pop_from_people_queue(t,o),n._mixpanel.persistence.save(),e&&(s=e(o)),r.call(n,s,function(a,u){a===0&&n._mixpanel.persistence._add_to_people_queue(t,o),p.isUndefined(i)||i(a,u)}))},z.prototype._flush=function(t,r,i,e,n,o,s){var a=this;this._flush_one_queue(Gt,this.set,t),this._flush_one_queue(Kr,this.set_once,e),this._flush_one_queue(Ke,this.unset,o,function(d){return p.keys(d)}),this._flush_one_queue(mr,this.increment,r),this._flush_one_queue(yr,this.union,n);var u=this._mixpanel.persistence.load_queue(ct);if(!p.isUndefined(u)&&p.isArray(u)&&u.length)for(var c,f=function(d,y){d===0&&a._mixpanel.persistence._add_to_people_queue(ct,c),p.isUndefined(i)||i(d,y)},l=u.length-1;l>=0;l--)u=this._mixpanel.persistence.load_queue(ct),c=u.pop(),a._mixpanel.persistence.save(),p.isEmptyObject(c)||a.append(c,f);var h=this._mixpanel.persistence.load_queue(St);if(!p.isUndefined(h)&&p.isArray(h)&&h.length)for(var g,v=function(d,y){d===0&&a._mixpanel.persistence._add_to_people_queue(St,g),p.isUndefined(s)||s(d,y)},m=h.length-1;m>=0;m--)h=this._mixpanel.persistence.load_queue(St),g=h.pop(),a._mixpanel.persistence.save(),p.isEmptyObject(g)||a.remove(g,v)},z.prototype._is_reserved_property=function(t){return t==="$distinct_id"||t==="$token"||t==="$device_id"||t==="$user_id"||t==="$had_persisted_distinct_id"},z.prototype.set=z.prototype.set,z.prototype.set_once=z.prototype.set_once,z.prototype.unset=z.prototype.unset,z.prototype.increment=z.prototype.increment,z.prototype.append=z.prototype.append,z.prototype.remove=z.prototype.remove,z.prototype.union=z.prototype.union,z.prototype.track_charge=z.prototype.track_charge,z.prototype.clear_charges=z.prototype.clear_charges,z.prototype.delete_user=z.prototype.delete_user,z.prototype.toString=z.prototype.toString;var Uu="__mps",Bu="__mpso",zu="__mpus",qu="__mpa",Wu="__mpap",Gu="__mpr",Vu="__mpu",Ud="$people_distinct_id",Ho="__alias",Un="__timers",bE=[Uu,Bu,zu,qu,Wu,Gu,Vu,Ud,Ho,Un],G=function(t){this.props={},this.campaign_params_saved=!1,t.persistence_name?this.name="mp_"+t.persistence_name:this.name="mp_"+t.token+"_mixpanel";var r=t.persistence;r!=="cookie"&&r!=="localStorage"&&(L.critical("Unknown persistence type "+r+"; falling back to cookie"),r=t.persistence="cookie"),r==="localStorage"&&p.localStorage.is_supported()?this.storage=p.localStorage:this.storage=p.cookie,this.load(),this.update_config(t),this.upgrade(),this.save()};G.prototype.properties=function(){var t={};return this.load(),p.each(this.props,function(r,i){p.include(bE,i)||(t[i]=r)}),t},G.prototype.load=function(){if(!this.disabled){var t=this.storage.parse(this.name);t&&(this.props=p.extend({},t))}},G.prototype.upgrade=function(){var t,r;this.storage===p.localStorage?(t=p.cookie.parse(this.name),p.cookie.remove(this.name),p.cookie.remove(this.name,!0),t&&this.register_once(t)):this.storage===p.cookie&&(r=p.localStorage.parse(this.name),p.localStorage.remove(this.name),r&&this.register_once(r))},G.prototype.save=function(){this.disabled||this.storage.set(this.name,Wr(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},G.prototype.load_prop=function(t){return this.load(),this.props[t]},G.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},G.prototype.clear=function(){this.remove(),this.props={}},G.prototype.register_once=function(t,r,i){return p.isObject(t)?(typeof r>"u"&&(r="None"),this.expire_days=typeof i>"u"?this.default_expiry:i,this.load(),p.each(t,function(e,n){(!this.props.hasOwnProperty(n)||this.props[n]===r)&&(this.props[n]=e)},this),this.save(),!0):!1},G.prototype.register=function(t,r){return p.isObject(t)?(this.expire_days=typeof r>"u"?this.default_expiry:r,this.load(),p.extend(this.props,t),this.save(),!0):!1},G.prototype.unregister=function(t){this.load(),t in this.props&&(delete this.props[t],this.save())},G.prototype.update_search_keyword=function(t){this.register(p.info.searchInfo(t))},G.prototype.update_referrer_info=function(t){this.register_once({$initial_referrer:t||"$direct",$initial_referring_domain:p.info.referringDomain(t)||"$direct"},"")},G.prototype.get_referrer_info=function(){return p.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},G.prototype.update_config=function(t){this.default_expiry=this.expire_days=t.cookie_expiration,this.set_disabled(t.disable_persistence),this.set_cookie_domain(t.cookie_domain),this.set_cross_site(t.cross_site_cookie),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie)},G.prototype.set_disabled=function(t){this.disabled=t,this.disabled?this.remove():this.save()},G.prototype.set_cookie_domain=function(t){t!==this.cookie_domain&&(this.remove(),this.cookie_domain=t,this.save())},G.prototype.set_cross_site=function(t){t!==this.cross_site&&(this.cross_site=t,this.remove(),this.save())},G.prototype.set_cross_subdomain=function(t){t!==this.cross_subdomain&&(this.cross_subdomain=t,this.remove(),this.save())},G.prototype.get_cross_subdomain=function(){return this.cross_subdomain},G.prototype.set_secure=function(t){t!==this.secure&&(this.secure=!!t,this.remove(),this.save())},G.prototype._add_to_people_queue=function(t,r){var i=this._get_queue_key(t),e=r[t],n=this._get_or_create_queue(Gt),o=this._get_or_create_queue(Kr),s=this._get_or_create_queue(Ke),a=this._get_or_create_queue(mr),u=this._get_or_create_queue(yr),c=this._get_or_create_queue(St,[]),f=this._get_or_create_queue(ct,[]);i===Uu?(p.extend(n,e),this._pop_from_people_queue(mr,e),this._pop_from_people_queue(yr,e),this._pop_from_people_queue(Ke,e)):i===Bu?(p.each(e,function(l,h){h in o||(o[h]=l)}),this._pop_from_people_queue(Ke,e)):i===zu?p.each(e,function(l){p.each([n,o,a,u],function(h){l in h&&delete h[l]}),p.each(f,function(h){l in h&&delete h[l]}),s[l]=!0}):i===qu?(p.each(e,function(l,h){h in n?n[h]+=l:(h in a||(a[h]=0),a[h]+=l)},this),this._pop_from_people_queue(Ke,e)):i===Vu?(p.each(e,function(l,h){p.isArray(l)&&(h in u||(u[h]=[]),p.each(l,function(g){p.include(u[h],g)||u[h].push(g)}))}),this._pop_from_people_queue(Ke,e)):i===Gu?(c.push(e),this._pop_from_people_queue(ct,e)):i===Wu&&(f.push(e),this._pop_from_people_queue(Ke,e)),L.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),L.log(r),this.save()},G.prototype._pop_from_people_queue=function(t,r){var i=this.props[this._get_queue_key(t)];p.isUndefined(i)||p.each(r,function(e,n){t===ct||t===St?p.each(i,function(o){o[n]===e&&delete o[n]}):delete i[n]},this)},G.prototype.load_queue=function(t){return this.load_prop(this._get_queue_key(t))},G.prototype._get_queue_key=function(t){if(t===Gt)return Uu;if(t===Kr)return Bu;if(t===Ke)return zu;if(t===mr)return qu;if(t===ct)return Wu;if(t===St)return Gu;if(t===yr)return Vu;L.error("Invalid queue:",t)},G.prototype._get_or_create_queue=function(t,r){var i=this._get_queue_key(t);return r=p.isUndefined(r)?{}:r,this.props[i]||(this.props[i]=r)},G.prototype.set_event_timer=function(t,r){var i=this.load_prop(Un)||{};i[t]=r,this.props[Un]=i,this.save()},G.prototype.remove_event_timer=function(t){var r=this.load_prop(Un)||{},i=r[t];return p.isUndefined(i)||(delete this.props[Un][t],this.save()),i};var Yo,ju=function(t,r){throw new Error(t+" not available in this build.")},Te,Hu=0,SE=1,Ve="mixpanel",Bd="base64",CE="json",Yu="$device:",EE="strict",IE="fallback",xE="disabled",Jr=I.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,zd=!Jr&&nt.indexOf("MSIE")===-1&&nt.indexOf("Mozilla")===-1,Ko=null;yt.sendBeacon&&(Ko=function(){return yt.sendBeacon.apply(yt,arguments)});var qd={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/",settings:"settings/"},Ku={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:qd,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:Bd,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:Dt,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:Dt,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_allowed_iframe_origins:[],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_console:!0,record_heatmap_data:!1,recording_event_triggers:{},record_idle_timeout_ms:1800*1e3,record_mask_inputs:!0,record_max_ms:Tn,record_min_ms:0,record_network:!1,record_network_options:{},record_sessions_percent:0,recorder_src:null,targeting_src:null,lib_base_path:"https://cdn.mxpnl.com/libs/",remote_settings_mode:xE},Wd=!1,w=function(){},Ju=function(t,r,i){var e,n=i===Ve?Te:Te[i];if(n&&Yo===Hu)e=n;else{if(n&&!p.isArray(n)){L.error("You have already initialized "+i);return}e=new w}if(e._cached_groups={},e._init(t,r,i),e.people=new z,e.people._init(e),!e.get_config("skip_first_touch_marketing")){var o=p.info.campaignParams(null),s={},a=!1;p.each(o,function(c,f){s["initial_"+f]=c,c&&(a=!0)}),a&&e.people.set_once(s)}Le.DEBUG=Le.DEBUG||e.get_config("debug");var u=Yo===Hu?"module":"snippet";return I.dispatchEvent(new I.CustomEvent("$mp_sdk_to_extension_event",{detail:{instance:e,source:u,token:t,name:i,info:p.info}})),!p.isUndefined(n)&&p.isArray(n)&&(e._execute_array.call(e.people,n.people),e._execute_array(n)),e};w.prototype.init=function(t,r,i){if(p.isUndefined(i)){this.report_error("You must name your new library: init(token, config, name)");return}if(i===Ve){this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");return}var e=Ju(t,r,i);return Te[i]=e,e._loaded(),e},w.prototype._init=function(t,r,i){r=r||{},this.__loaded=!0,this.config={};var e={};if(!("api_payload_format"in r)){var n=r.api_host||Ku.api_host;n.match(/\.mixpanel\.com/)&&(e.api_payload_format=CE)}if(this.hooks={},this.set_config(p.extend({},Ku,e,r,{name:i,token:t,callback_fn:(i===Ve?i:Ve+"."+i)+"._jsc"})),this.recorderManager=new Ae({mixpanelInstance:this,getConfigFunc:p.bind(this.get_config,this),setConfigFunc:p.bind(this.set_config,this),getTabIdFunc:p.bind(this.get_tab_id,this),reportErrorFunc:p.bind(this.report_error,this),getDistinctIdFunc:p.bind(this.get_distinct_id,this),recorderSrc:this.get_config("recorder_src"),targetingSrc:this.get_config("targeting_src"),libBasePath:this.get_config("lib_base_path"),loadExtraBundle:ju}),this._jsc=Dt,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this._remote_settings_strict_disabled=!1,this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests){if(!p.localStorage.is_supported(!0)||!Jr)this._batch_requests=!1,L.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),p.each(this.get_batcher_configs(),function(u){L.log("Clearing batch queue "+u.queue_key),p.localStorage.remove(u.queue_key)});else if(this.init_batchers(),Ko&&I.addEventListener){var o=p.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);I.addEventListener("pagehide",function(u){u.persisted&&o()}),I.addEventListener("visibilitychange",function(){B.visibilityState==="hidden"&&o()})}}this.persistence=this.cookie=new G(this.config),this.unpersisted_superprops={},this._gdpr_init();var s=p.UUID();this.get_distinct_id()||this.register_once({distinct_id:Yu+s,$device_id:s},""),this.flags=new k({getFullApiRoute:p.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:p.bind(this.get_config,this),setConfigFunc:p.bind(this.set_config,this),getPropertyFunc:p.bind(this.get_property,this),trackingFunc:p.bind(this.track,this),loadExtraBundle:ju,targetingSrc:this.get_config("targeting_src")||this.get_config("lib_base_path")+Ac}),this.flags.init(),this.flags=this.flags,this._init_tab_id();var a=this.get_config("remote_settings_mode");a===EE||a===IE?this.__session_recording_init_promise=this._fetch_remote_settings(a).then(p.bind(function(){return this._check_and_start_session_recording()},this)):this.__session_recording_init_promise=this._check_and_start_session_recording(),this.autocapture=new Se(this),this.autocapture.init()},w.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))L.log("Tab ID initialization skipped due to disable_persistence config");else if(p.sessionStorage.is_supported())try{var t=this.get_config("name")+"_"+this.get_config("token"),r="mp_tab_id_"+t,i="mp_gen_new_tab_id_"+t;(p.sessionStorage.get(i)||!p.sessionStorage.get(r))&&p.sessionStorage.set(r,"$tab-"+p.UUID()),p.sessionStorage.set(i,"1"),this.tab_id=p.sessionStorage.get(r),I.addEventListener("beforeunload",function(){p.sessionStorage.remove(i)})}catch(e){this.report_error("Error initializing tab id",e)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")},w.prototype.get_tab_id=function(){return this.tab_id||null},w.prototype._check_and_start_session_recording=Ut(function(t){return this.recorderManager.checkAndStartSessionRecording(t)}),w.prototype._start_recording_on_event=hr(function(t,r){this.__session_recording_init_promise&&this.__session_recording_init_promise.then(p.bind(function(){if(!this._remote_settings_strict_disabled)return this.recorderManager.startRecordingOnEvent(t,r)},this))}),w.prototype.start_session_recording=function(){return this._check_and_start_session_recording(!0)},w.prototype.stop_session_recording=function(){return this.recorderManager.stopSessionRecording()},w.prototype.pause_session_recording=function(){return this.recorderManager.pauseSessionRecording()},w.prototype.resume_session_recording=function(){return this.recorderManager.resumeSessionRecording()},w.prototype.is_recording_heatmap_data=function(){return this.recorderManager.isRecordingHeatmapData()},w.prototype.get_session_recording_properties=function(){return this.recorderManager.getSessionRecordingProperties()},w.prototype.get_session_replay_url=function(){return this.recorderManager.getSessionReplayUrl()},w.prototype.__get_recorder=function(){return this.recorderManager.getRecorder()},w.prototype.__get_recording_init_promise=function(){return this.__session_recording_init_promise},w.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 t=p.info.campaignParams(null);p.each(t,function(r,i){this.unregister(i)}.bind(this))}},w.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(B.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(p.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(B.referrer)},w.prototype._dom_loaded=function(){p.each(this.__dom_loaded_queue,function(t){this._track_dom.apply(this,t)},this),this.has_opted_out_tracking()||p.each(this.__request_queue,function(t){this._send_request.apply(this,t)},this),delete this.__dom_loaded_queue,delete this.__request_queue},w.prototype._track_dom=function(t,r){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!Wd)return this.__dom_loaded_queue.push([t,r]),!1;var i=new t().init(this);return i.track.apply(i,r)},w.prototype._prepare_callback=function(t,r){if(p.isUndefined(t))return null;if(Jr){var i=function(s){t(s,r)};return i}else{var e=this._jsc,n=""+Math.floor(Math.random()*1e8),o=this.get_config("callback_fn")+"["+n+"]";return e[n]=function(s){delete e[n],t(s,r)},o}},w.prototype._send_request=function(t,r,i,e){var n=!0;if(zd)return this.__request_queue.push(arguments),n;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},s=null;!e&&(p.isFunction(i)||typeof i=="string")&&(e=i,i=null),i=p.extend(o,i||{}),Jr||(i.method="GET");var a=i.method==="POST",u=Ko&&a&&i.transport.toLowerCase()==="sendbeacon",c=i.verbose;r.verbose&&(c=!0),this.get_config("test")&&(r.test=1),c&&(r.verbose=1),this.get_config("img")&&(r.img=1),Jr||(e?r.callback=e:(c||this.get_config("test"))&&(r.callback="(function(){})")),r.ip=this.get_config("ip")?1:0,r._=new Date().getTime().toString(),a&&(s="data="+encodeURIComponent(r.data),delete r.data),p.extend(r,this.get_config("api_extra_query_params")),t+="?"+p.HTTPBuildQuery(r);var f=this;if("img"in r){var l=B.createElement("img");l.src=t,B.body.appendChild(l)}else if(u){try{n=Ko(t,s)}catch(y){f.report_error(y),n=!1}try{e&&e(n?1:0)}catch(y){f.report_error(y)}}else if(Jr)try{var h=new XMLHttpRequest;h.open(i.method,t,!0);var g=this.get_config("xhr_headers");if(a&&(g["Content-Type"]="application/x-www-form-urlencoded"),p.each(g,function(y,_){h.setRequestHeader(_,y)}),i.timeout_ms&&typeof h.timeout<"u"){h.timeout=i.timeout_ms;var v=new Date().getTime()}h.withCredentials=!0,h.onreadystatechange=function(){if(h.readyState===4)if(h.status===200){if(e)if(c){var y;try{y=p.JSONDecode(h.responseText)}catch(C){if(f.report_error(C),i.ignore_json_errors)y=h.responseText;else return}e(y)}else e(Number(h.responseText))}else{var _;if(h.timeout&&!h.status&&new Date().getTime()-v>=h.timeout?_="timeout":_="Bad HTTP status: "+h.status+" "+h.statusText,f.report_error(_),e)if(c){var b=h.responseHeaders||{};e({status:0,httpStatusCode:h.status,error:_,retryAfter:b["Retry-After"]})}else e(0)}},h.send(s)}catch(y){f.report_error(y),n=!1}else{var m=B.createElement("script");m.type="text/javascript",m.async=!0,m.defer=!0,m.src=t;var d=B.getElementsByTagName("script")[0];d.parentNode.insertBefore(m,d)}return n},w.prototype._fetch_remote_settings=function(t){var r=this,i=function(){t==="strict"&&(r.set_config({record_sessions_percent:0}),r._remote_settings_strict_disabled=!0)};if(!I.AbortController)return L.critical("Remote settings unavailable: missing minimum required APIs"),i(),Promise.resolve();var e=this.get_api_host("settings")+"/"+this.get_config("api_routes").settings,n={$lib_version:Le.LIB_VERSION,mp_lib:"web",sdk_config:"1"},o=p.HTTPBuildQuery(n),s=e+"?"+o,a=new AbortController,u=setTimeout(function(){a.abort()},500),c={method:"GET",headers:{Authorization:"Basic "+btoa(r.get_config("token")+":")},signal:a.signal};return I.fetch(s,c).then(function(f){if(clearTimeout(u),!f.ok){L.critical("Network response was not ok"),i();return}return f.json()}).then(function(f){if(f&&f.sdk_config&&f.sdk_config.config){var l=f.sdk_config.config,h={};p.each(l,function(g,v){Ku.hasOwnProperty(v)&&(h[v]=g)}),p.isEmptyObject(h)?(L.critical("No valid config keys found in remote settings."),i()):r.set_config(h)}else i()}).catch(function(f){clearTimeout(u),L.critical("Failed to fetch remote settings",f),i()})},w.prototype._execute_array=function(t){var r,i=[],e=[],n=[];p.each(t,function(s){s&&(r=s[0],p.isArray(r)?n.push(s):typeof s=="function"?s.call(this):p.isArray(s)&&r==="alias"?i.push(s):p.isArray(s)&&r.indexOf("track")!==-1&&typeof this[r]=="function"?n.push(s):e.push(s))},this);var o=function(s,a){p.each(s,function(u){if(p.isArray(u[0])){var c=a;p.each(u,function(f){c=c[f[0]].apply(c,f.slice(1))})}else this[u[0]].apply(this,u.slice(1))},a)};o(i,this),o(e,this),o(n,this)},w.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},w.prototype.get_batcher_configs=function(){var t="__mpq_"+this.get_config("token");return this._batcher_configs=this._batcher_configs||{events:{type:"events",api_name:"track",queue_key:t+"_ev"},people:{type:"people",api_name:"engage",queue_key:t+"_pp"},groups:{type:"groups",api_name:"groups",queue_key:t+"_gr"}},this._batcher_configs},w.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var t=p.bind(function(i){return new Ge(i.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:p.bind(function(e,n,o){var s=this.get_config("api_routes");this._send_request(this.get_api_host(i.api_name)+"/"+s[i.api_name],this._encode_data_for_request(e),n,this._prepare_callback(o,e))},this),beforeSendHook:p.bind(function(e){var n=this._run_hook("before_send_"+i.type,e);return n?n[0]:null},this),stopAllBatchingFunc:p.bind(this.stop_batch_senders,this),usePersistence:!0})},this),r=this.get_batcher_configs();this.request_batchers={events:t(r.events),people:t(r.people),groups:t(r.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},w.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,p.each(this.request_batchers,function(t){t.start()}))},w.prototype.stop_batch_senders=function(){this._batch_requests=!1,p.each(this.request_batchers,function(t){t.stop(),t.clear()})},w.prototype.push=function(t){this._execute_array([t])},w.prototype.enable=function(t){var r,i,e,n;if(typeof t>"u")this._flags.disable_all_events=!1;else{for(r={},i=[],e=0;e<t.length;e++)r[t[e]]=!0;for(n=0;n<this.__disabled_events.length;n++)r[this.__disabled_events[n]]||i.push(this.__disabled_events[n]);this.__disabled_events=i}},w.prototype.disable=function(t){typeof t>"u"?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(t)},w.prototype._encode_data_for_request=function(t){var r=Wr(t);return this.get_config("api_payload_format")===Bd&&(r=p.base64Encode(r)),{data:r}},w.prototype._track_or_batch=function(t,r){var i=p.truncate(t.data,255),e=t.endpoint,n=t.batcher,o=t.should_send_immediately,s=t.send_request_options||{};r=r||Dt;var a=!0,u=p.bind(function(){return s.skip_hooks||(i=this._run_hook("before_send_"+t.type,i),i&&(i=i[0])),i?(L.log("MIXPANEL REQUEST:"),L.log(i),this._send_request(e,this._encode_data_for_request(i),s,this._prepare_callback(r,i))):null},this);return this._batch_requests&&!o?n.enqueue(i).then(function(c){c?r(1,i):u()}):a=u(),a&&i},w.prototype.track=Ut(function(t,r,i,e){var n;if(!(i&&i.skip_hooks)){if(n=this._run_hook("before_track",t,r),n===null)return;t=n[0],r=n[1]}!e&&typeof i=="function"&&(e=i,i=null),i=i||{};var o=i.transport;o&&(i.transport=o);var s=i.send_immediately;if(typeof e!="function"&&(e=Dt),p.isUndefined(t)){this.report_error("No event name provided to mixpanel.track");return}if(this._event_is_disabled(t)){e(0);return}r=p.extend({},r),r.token=this.get_config("token");var a=this.persistence.remove_event_timer(t);if(!p.isUndefined(a)){var u=new Date().getTime()-a;r.$duration=parseFloat((u/1e3).toFixed(3))}this._set_default_superprops();var c=this.get_config("track_marketing")?p.info.marketingParams():{};r=p.extend({},p.info.properties({mp_loader:this.get_config("mp_loader")}),c,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),r);var f=this.get_config("property_blacklist");p.isArray(f)?p.each(f,function(h){delete r[h]}):this.report_error("Invalid value for property_blacklist config: "+f),this._start_recording_on_event(t,r);var l={event:t,properties:r};return n=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:s,send_request_options:i},e),this.flags&&this.flags.checkFirstTimeEvents&&this.flags.checkFirstTimeEvents(t,r),n}),w.prototype.set_group=Ut(function(t,r,i){p.isArray(r)||(r=[r]);var e={};return e[t]=r,this.register(e),this.people.set(t,r,i)}),w.prototype.add_group=Ut(function(t,r,i){var e=this.get_property(t),n={};return e===void 0?(n[t]=[r],this.register(n)):e.indexOf(r)===-1&&(e.push(r),n[t]=e,this.register(n)),this.people.union(t,r,i)}),w.prototype.remove_group=Ut(function(t,r,i){var e=this.get_property(t);if(e!==void 0){var n=e.indexOf(r);n>-1&&(e.splice(n,1),this.register({group_key:e})),e.length===0&&this.unregister(t)}return this.people.remove(t,r,i)}),w.prototype.track_with_groups=Ut(function(t,r,i,e){var n=p.extend({},r||{});return p.each(i,function(o,s){o!=null&&(n[s]=o)}),this.track(t,n,e)}),w.prototype._create_map_key=function(t,r){return t+"_"+JSON.stringify(r)},w.prototype._remove_group_from_cache=function(t,r){delete this._cached_groups[this._create_map_key(t,r)]},w.prototype.get_group=function(t,r){var i=this._create_map_key(t,r),e=this._cached_groups[i];return(e===void 0||e._group_key!==t||e._group_id!==r)&&(e=new ce,e._init(this,t,r),this._cached_groups[i]=e),e},w.prototype.track_pageview=Ut(function(t,r){typeof t!="object"&&(t={}),r=r||{};var i=r.event_name||"$mp_web_page_view",e=p.extend(p.info.mpPageViewProperties(),p.info.campaignParams(),p.info.clickParams()),n=p.extend({},e,t);return this.is_recording_heatmap_data()&&(n.$captured_for_heatmap=!0),this.track(i,n)}),w.prototype.track_links=function(){return this._track_dom.call(this,Yr,arguments)},w.prototype.track_forms=function(){return this._track_dom.call(this,jo,arguments)},w.prototype.time_event=function(t){if(p.isUndefined(t)){this.report_error("No event name provided to mixpanel.time_event");return}this._event_is_disabled(t)||this.persistence.set_event_timer(t,new Date().getTime())};var RE={persistent:!0},Xu=function(t){var r;return p.isObject(t)?r=t:p.isUndefined(t)?r={}:r={days:t},p.extend({},RE,r)};w.prototype.register=function(t,r){var i=this._run_hook("before_register",t,r);if(i!==null){t=i[0],r=i[1];var e=Xu(r);e.persistent?this.persistence.register(t,e.days):p.extend(this.unpersisted_superprops,t)}},w.prototype.register_once=function(t,r,i){var e=this._run_hook("before_register_once",t,r,i);if(e!==null){t=e[0],r=e[1],i=e[2];var n=Xu(i);n.persistent?this.persistence.register_once(t,r,n.days):(typeof r>"u"&&(r="None"),p.each(t,function(o,s){(!this.unpersisted_superprops.hasOwnProperty(s)||this.unpersisted_superprops[s]===r)&&(this.unpersisted_superprops[s]=o)},this))}},w.prototype.unregister=function(t,r){var i=this._run_hook("before_unregister",t,r);i!==null&&(t=i[0],r=i[1],r=Xu(r),r.persistent?this.persistence.unregister(t):delete this.unpersisted_superprops[t])},w.prototype._register_single=function(t,r){var i={};i[t]=r,this.register(i)},w.prototype.identify=function(t,r,i,e,n,o,s,a){var u=this._run_hook("before_identify",t);if(u===null)return-1;t=u[0];var c=this.get_distinct_id();if(t&&c!==t){if(typeof t=="string"&&t.indexOf(Yu)===0)return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:t})}if(!this.get_property("$device_id")){var f=c;this.register_once({$had_persisted_distinct_id:!0,$device_id:f},"")}t!==c&&t!==this.get_property(Ho)&&(this.unregister(Ho),this.register({distinct_id:t})),this._flags.identify_called=!0,this.people._flush(r,i,e,n,o,s,a),t!==c&&this.track("$identify",{distinct_id:t,$anon_distinct_id:c},{skip_hooks:!0}),t!==c&&this.flags.fetchFlags().catch(function(){L.error("[flags] Error fetching flags during identify")})},w.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var t=p.UUID();this.register_once({distinct_id:Yu+t,$device_id:t},""),this._check_and_start_session_recording(),this.flags.reset()},w.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},w.prototype.alias=function(t,r){if(t===this.get_property(Ud))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var i=this;return p.isUndefined(r)&&(r=this.get_distinct_id()),t!==r?(this._register_single(Ho,t),this.track("$create_alias",{alias:t,distinct_id:r},{skip_hooks:!0},function(){i.identify(t)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(t),-1)},w.prototype.name_tag=function(t){this._register_single("mp_name_tag",t)},w.prototype.set_config=function(t){if(p.isObject(t)){p.extend(this.config,t);var r=t.batch_size;r&&p.each(this.request_batchers,function(i){i.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),Le.DEBUG=Le.DEBUG||this.get_config("debug"),("autocapture"in t||"record_heatmap_data"in t)&&this.autocapture&&this.autocapture.init(),p.isObject(t.hooks)&&(this.hooks={},p.each(t.hooks,function(i,e){if(p.isFunction(i))this.hooks[e]=[i];else if(p.isArray(i)){this.hooks[e]=[];for(var n=0;n<i.length;n++)p.isFunction(i[n])||L.critical("Invalid hook added. Hook is not a function"),this.hooks[e].push(i[n])}else L.critical("Invalid hooks added. Ensure that the hook values passed into config.hooks are functions or arrays of functions.")},this))}},w.prototype.get_config=function(t){return this.config[t]},w.prototype._run_hook=function(t){var r=Lt.call(arguments,1);return p.each(this.hooks[t],function(i){if(r===null)return null;var e=i.apply(this,r);typeof e>"u"?(this.report_error(t+" hook did not return a valid value"),r=null):(p.isArray(e)||(e=[e]),r.splice.apply(r,[0,e.length].concat(e)))},this),r},w.prototype.get_property=function(t){return this.persistence.load_prop([t])},w.prototype.get_api_host=function(t){return this.get_config("api_hosts")[t]||this.get_config("api_host")},w.prototype.toString=function(){var t=this.get_config("name");return t!==Ve&&(t=Ve+"."+t),t},w.prototype._event_is_disabled=function(t){return p.isBlockedUA(nt)||this._flags.disable_all_events||p.include(this.__disabled_events,t)},w.prototype._gdpr_init=function(){var t=this.get_config("opt_out_tracking_persistence_type")==="localStorage";t&&p.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")||p.cookie.get("mp_optout"))&&(p.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},w.prototype._gdpr_update_persistence=function(t){var r;if(t&&t.clear_persistence)r=!0;else if(t&&t.enable_persistence)r=!1;else return;!this.get_config("disable_persistence")&&this.persistence.disabled!==r&&this.persistence.set_disabled(r),r?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()},w.prototype._gdpr_call_func=function(t,r){return r=p.extend({track:p.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")},r),p.localStorage.is_supported()||(r.persistence_type="cookie"),t(this.get_config("token"),{track:r.track,trackEventName:r.track_event_name,trackProperties:r.track_properties,persistenceType:r.persistence_type,persistencePrefix:r.cookie_prefix,cookieDomain:r.cookie_domain,cookieExpiration:r.cookie_expiration,crossSiteCookie:r.cross_site_cookie,crossSubdomainCookie:r.cross_subdomain_cookie,secureCookie:r.secure_cookie,ignoreDnt:r.ignore_dnt})},w.prototype.opt_in_tracking=function(t){t=p.extend({enable_persistence:!0},t),this._gdpr_call_func(rC,t),this._gdpr_update_persistence(t)},w.prototype.opt_out_tracking=function(t){t=p.extend({clear_persistence:!0,delete_user:!0},t),t.delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(nC,t),this._gdpr_update_persistence(t)},w.prototype.has_opted_in_tracking=function(t){return this._gdpr_call_func(iC,t)},w.prototype.has_opted_out_tracking=function(t){return this._gdpr_call_func(Up,t)},w.prototype.clear_opt_in_out_tracking=function(t){t=p.extend({enable_persistence:!0},t),this._gdpr_call_func(oC,t),this._gdpr_update_persistence(t)},w.prototype.report_error=function(t,r){L.error.apply(L.error,arguments);try{!r&&!(t instanceof Error)&&(t=new Error(t)),this.get_config("error_reporter")(t,r)}catch(i){L.error(i)}},w.prototype.add_hook=function(t,r){this.hooks[t]||(this.hooks[t]=[]),this.hooks[t].push(r)},w.prototype.remove_hook=function(t,r){var i;this.hooks[t]&&(i=this.hooks[t].indexOf(r),i!==-1?this.hooks[t].splice(i,1):L.log("remove_hook failed. Matching hook was not found"))},w.prototype.init=w.prototype.init,w.prototype.reset=w.prototype.reset,w.prototype.enable=w.prototype.enable,w.prototype.disable=w.prototype.disable,w.prototype.time_event=w.prototype.time_event,w.prototype.track=w.prototype.track,w.prototype.track_links=w.prototype.track_links,w.prototype.track_forms=w.prototype.track_forms,w.prototype.track_pageview=w.prototype.track_pageview,w.prototype.register=w.prototype.register,w.prototype.register_once=w.prototype.register_once,w.prototype.unregister=w.prototype.unregister,w.prototype.identify=w.prototype.identify,w.prototype.alias=w.prototype.alias,w.prototype.name_tag=w.prototype.name_tag,w.prototype.set_config=w.prototype.set_config,w.prototype.get_config=w.prototype.get_config,w.prototype.get_api_host=w.prototype.get_api_host,w.prototype.get_property=w.prototype.get_property,w.prototype.get_distinct_id=w.prototype.get_distinct_id,w.prototype.toString=w.prototype.toString,w.prototype.opt_out_tracking=w.prototype.opt_out_tracking,w.prototype.opt_in_tracking=w.prototype.opt_in_tracking,w.prototype.has_opted_out_tracking=w.prototype.has_opted_out_tracking,w.prototype.has_opted_in_tracking=w.prototype.has_opted_in_tracking,w.prototype.clear_opt_in_out_tracking=w.prototype.clear_opt_in_out_tracking,w.prototype.get_group=w.prototype.get_group,w.prototype.set_group=w.prototype.set_group,w.prototype.add_group=w.prototype.add_group,w.prototype.remove_group=w.prototype.remove_group,w.prototype.add_hook=w.prototype.add_hook,w.prototype.remove_hook=w.prototype.remove_hook,w.prototype.track_with_groups=w.prototype.track_with_groups,w.prototype.start_batch_senders=w.prototype.start_batch_senders,w.prototype.stop_batch_senders=w.prototype.stop_batch_senders,w.prototype.start_session_recording=w.prototype.start_session_recording,w.prototype.stop_session_recording=w.prototype.stop_session_recording,w.prototype.pause_session_recording=w.prototype.pause_session_recording,w.prototype.resume_session_recording=w.prototype.resume_session_recording,w.prototype.get_session_recording_properties=w.prototype.get_session_recording_properties,w.prototype.get_session_replay_url=w.prototype.get_session_replay_url,w.prototype.get_tab_id=w.prototype.get_tab_id,w.prototype.DEFAULT_API_ROUTES=qd,w.prototype.__get_recorder=w.prototype.__get_recorder,w.prototype.__get_recording_init_promise=w.prototype.__get_recording_init_promise,G.prototype.properties=G.prototype.properties,G.prototype.update_search_keyword=G.prototype.update_search_keyword,G.prototype.update_referrer_info=G.prototype.update_referrer_info,G.prototype.get_cross_subdomain=G.prototype.get_cross_subdomain,G.prototype.clear=G.prototype.clear;var Xr={},AE=function(){p.each(Xr,function(t,r){r!==Ve&&(Te[r]=t)}),Te._=p},OE=function(){Te.init=function(t,r,i){if(i)return Te[i]||(Te[i]=Xr[i]=Ju(t,r,i),Te[i]._loaded()),Te[i];var e=Te;Xr[Ve]?e=Xr[Ve]:t&&(e=Ju(t,r,Ve),e._loaded(),Xr[Ve]=e),Te=e,Yo===SE&&(I[Ve]=Te),AE()}},kE=function(){function t(){t.done||(t.done=!0,Wd=!0,zd=!1,p.each(Xr,function(e){e._dom_loaded()}))}function r(){try{B.documentElement.doScroll("left")}catch{setTimeout(r,1);return}t()}if(B.addEventListener)B.readyState==="complete"?t():B.addEventListener("DOMContentLoaded",t,!1);else if(B.attachEvent){B.attachEvent("onreadystatechange",t);var i=!1;try{i=I.frameElement===null}catch{}B.documentElement.doScroll&&i&&r()}p.register_event(I,"load",t,!0)};
99function TE(t){return ju=t,Yo=Hu,Te=new w,OE(),Te.init(),kE(),Te}function ME(t,r){r()}var PE=TE(ME);export{PE 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.