1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{4782:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=u(e),s=o[0],a=o[1],c=new i((s+a)*3/4-a),l=0,h=a>0?s-4:s;for(r=0;r<h;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;return 2===a&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t),1===a&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],s=0,a=n-i;s<a;s+=16383)o.push(function(e,t,n){for(var i,o=[],s=t;s<n;s+=3)o.push(r[(i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s<a;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},816:function(e,t,r){"use strict";var n=r(4782),i=r(8898),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!a.isEncoding(t))throw TypeError("Unknown encoding: "+t);var r=0|d(e,t),n=s(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(R(e,Uint8Array)){var t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(R(e,ArrayBuffer)||e&&R(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(R(e,SharedArrayBuffer)||e&&R(e.buffer,SharedArrayBuffer)))return p(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return a.from(n,t,r);var i=function(e){if(a.isBuffer(e)){var t,r=0|f(e.length),n=s(r);return 0===n.length||e.copy(n,0,0,r),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?s(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return c(e),s(e<0?0:0|f(e))}function h(e){for(var t=e.length<0?0:0|f(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function p(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),a.prototype),n}function f(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||R(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return E(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return O(e).length;default:if(i)return n?-1:E(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,r){var i,o,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=A[e[o]];return i}(this,t,r);case"utf8":case"utf-8":return _(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=t,o=r,0===i&&o===this.length?n.fromByteArray(this):n.fromByteArray(this.slice(i,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),(o=r=+r)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return -1;r=e.length-1}
vendor: 14,466 bytes, line 1
1else if(r<0){if(!i)return -1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,n,i);throw TypeError("val must be string, number or Buffer")}function y(e,t,r,n,i){var o,s=1,a=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,u/=2,r/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var l=-1;for(o=r;o<a;o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*s}else -1!==l&&(o-=o-l),l=-1}else for(r+u>a&&(r=a-u),o=r;o>=0;o--){for(var h=!0,p=0;p<u;p++)if(c(e,o+p)!==c(t,p)){h=!1;break}if(h)return o}return -1}function _(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,s,a,u,c=e[i],l=null,h=c>239?4:c>223?3:c>191?2:1;if(i+h<=r)switch(h){case 1:c<128&&(l=c);break;case 2:(192&(o=e[i+1]))==128&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],s=e[i+2],(192&o)==128&&(192&s)==128&&(u=(15&c)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(u=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(l=u)}null===l?(l=65533,h=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=h}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}function b(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,i,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function S(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function k(e,t,r,n,o){return t=+t,r>>>=0,o||S(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function C(e,t,r,n,o){return t=+t,r>>>=0,o||S(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.lW=a,t.h2=50,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return(c(e),e<=0)?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return l(e)},a.allocUnsafeSlow=function(e){return l(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(R(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),R(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},a.isEncoding=function(e){switch(String(e).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}},a.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=a.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(R(o,Uint8Array))i+o.length>n.length?a.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else if(a.isBuffer(o))o.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return n},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?_(this,0,e):g.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",r=t.h2;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,r,n,i){if(R(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,s=r-t,u=Math.min(o,s),c=this.slice(n,i),l=e.slice(t,r),h=0;h<u;++h)if(c[h]!==l[h]){o=c[h],s=l[h];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},a.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,s,a,u,c,l,h,p=this.length-t;if((void 0===r||r>p)&&(r=p),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var f=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(2*s,2),16);if(a!=a)break;e[r+s]=a}return s}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,I(E(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return s=t,a=r,I(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,s,a);case"base64":return u=t,c=r,I(O(e),this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=t,h=r,I(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-l),this,l,h);default:if(f)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),f=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=1,s=0;for(this[t]=255&e;++s<r&&(o*=256);)this[t+s]=e/o&255;return t+r},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=r-1,s=1;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=e/s&255;return t+r},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,r){return k(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return k(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return C(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return C(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},a.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var s=a.isBuffer(e)?e:a.from(e,n),u=s.length;
1if(0===u)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=s[i%u]}return this};var x=/[^+/0-9A-Za-z-_]/g;function E(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function O(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(x,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function R(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var A=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},8898:function(e,t){t.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<<a)-1,c=u>>1,l=-7,h=r?i-1:0,p=r?-1:1,f=e[t+h];for(h+=p,o=f&(1<<-l)-1,f>>=-l,l+=a;l>0;o=256*o+e[t+h],h+=p,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+e[t+h],h+=p,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,n),o-=c}return(f?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var s,a,u,c=8*o-i-1,l=(1<<c)-1,h=l>>1,p=23===i?5960464477539062e-23:0,f=n?0:o-1,d=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+h>=1?t+=p/u:t+=p*Math.pow(2,1-h),t*u>=2&&(s++,u/=2),s+h>=l?(a=0,s=l):s+h>=1?(a=(t*u-1)*Math.pow(2,i),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[r+f]=255&a,f+=d,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;e[r+f]=255&s,f+=d,s/=256,c-=8);e[r+f-d]|=128*g}},1653:function(e,t,r){"use strict";r.d(t,{Z:function(){return lx}});var n,i,o,s,a,u,c,l,h,p,f,d,g,m,v,y,_,b,w,S=r(816).lW,k=r(7061);if("undefined"==typeof window){var C={hostname:""};oQ={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:C,referrer:""},screen:{width:0,height:0},location:C,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else oQ=window;var x={DEBUG:!1,LIB_VERSION:"2.83.0"},E="__mp_targeting",O="__mp_recorder",I="__MP_TARGETING_FILENAME__";function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function A(e,t,r,n,i,o,s){try{var a=e[o](s),u=a.value}catch(e){r(e);return}a.done?t(u):Promise.resolve(u).then(n,i)}function T(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function s(e){A(o,n,i,s,a,"next",e)}function a(e){A(o,n,i,s,a,"throw",e)}s(void 0)})}}function M(e,t,r){return(M=z()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&j(i,r.prototype),i}).apply(null,arguments)}function P(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}function N(){return(N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function D(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j(e,t)}function F(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function U(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}
1function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function B(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function q(e){var t="function"==typeof Map?new Map:void 0;return(q=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return M(e,arguments,L(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),j(r,e)})(e)}function z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(z=function(){return!!e})()}function W(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return R(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return R(e,void 0)}}(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function $(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var H=Object.defineProperty,G=function(e,t,r){var n;return(n=(void 0===t?"undefined":B(t))!=="symbol"?t+"":t)in e?H(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},J=Object.defineProperty,Y=function(e,t,r){var n;return(n=(void 0===t?"undefined":B(t))!=="symbol"?t+"":t)in e?J(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},Z=((oV=Z||{})[oV.Document=0]="Document",oV[oV.DocumentType=1]="DocumentType",oV[oV.Element=2]="Element",oV[oV.Text=3]="Text",oV[oV.CDATA=4]="CDATA",oV[oV.Comment=5]="Comment",oV),K={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},X={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Q={},ee={};function et(e,t,r){var n,i=e+"."+String(r);if(ee[i])return ee[i].call(t);var o=null==(n=Object.getOwnPropertyDescriptor(function(e){if(Q[e])return Q[e];var t=globalThis[e],r=t.prototype,n=e in K?K[e]:void 0,i=!!(n&&n.every(function(e){var t,n;return!!(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))})),o=e in X?X[e]:void 0,s=!!(o&&o.every(function(e){var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(i&&s&&!globalThis.Zone)return Q[e]=t.prototype,t.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return t.prototype;var c=u[e].prototype;if(document.body.removeChild(a),!c)return r;return Q[e]=c}catch(e){return r}}(e),r))?void 0:n.get;return o?(ee[i]=o,o.call(t)):t[r]}var er={childNodes:function(e){return et("Node",e,"childNodes")},parentNode:function(e){return et("Node",e,"parentNode")},parentElement:function(e){return et("Node",e,"parentElement")},textContent:function(e){return et("Node",e,"textContent")},host:function(e){return e&&"host"in e?et("ShadowRoot",e,"host"):null},shadowRoot:function(e){return e&&"shadowRoot"in e?et("Element",e,"shadowRoot"):null}};
1function en(e){return e.nodeType===e.ELEMENT_NODE}function ei(e){var t=e&&"host"in e&&"mode"in e&&er.host(e)||null;return!!(t&&"shadowRoot"in t&&er.shadowRoot(t)===e)}function eo(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function es(e){try{var t,r=e.rules||e.cssRules;if(!r)return null;var n=e.href;return!n&&e.ownerNode&&e.ownerNode.ownerDocument&&(n=e.ownerNode.ownerDocument.location.href),(t=Array.from(r,function(e){return ea(e,n)}).join("")).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}catch(e){return null}}function ea(e,t){if("styleSheet"in e){var r;try{r=es(e.styleSheet)||function(e){var t=e.cssText;if(t.split('"').length<3)return t;var r=["@import","url("+JSON.stringify(e.href)+")"];return""===e.layerName?r.push("layer"):e.layerName&&r.push("layer("+e.layerName+")"),e.supportsText&&r.push("supports("+e.supportsText+")"),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(t){r=e.cssText}return e.styleSheet.href?ey(r,e.styleSheet.href):r}var n=e.cssText;return("selectorText"in e&&e.selectorText.includes(":")&&(n=n.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),t)?ey(n,t):n}var eu=function(){function e(){Y(this,"idNodeMap",new Map),Y(this,"nodeMetaMap",new WeakMap)}var t=e.prototype;return t.getId=function(e){if(!e)return -1;var t,r=null==(t=this.getMeta(e))?void 0:t.id;return null!=r?r:-1},t.getNode=function(e){return this.idNodeMap.get(e)||null},t.getIds=function(){return Array.from(this.idNodeMap.keys())},t.getMeta=function(e){return this.nodeMetaMap.get(e)||null},t.removeNodeFromMap=function(e,t){var r=this;void 0===t&&(t=!1);var n=this.getId(e);this.idNodeMap.delete(n),t&&this.nodeMetaMap.delete(e),e.childNodes&&e.childNodes.forEach(function(e){return r.removeNodeFromMap(e,t)})},t.has=function(e){return this.idNodeMap.has(e)},t.hasNode=function(e){return this.nodeMetaMap.has(e)},t.add=function(e,t){var r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)},t.replace=function(e,t){var r=this.getNode(e);if(r){var n=this.nodeMetaMap.get(r);n&&this.nodeMetaMap.set(t,n)}this.idNodeMap.set(e,t)},t.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function ec(e){var t=e.element,r=e.maskInputOptions,n=e.tagName,i=e.type,o=e.value,s=e.maskInputFn,a=o||"",u=i&&el(i);return(r[n.toLowerCase()]||u&&r[u])&&(a=s?s(a,t):"*".repeat(a.length)),a}function el(e){return e.toLowerCase()}var eh="__rrweb_original__";function ep(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?el(t):null}function ef(e,t){try{r=new URL(e,null!=t?t:window.location.href)}catch(e){return null}var r,n,i=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!=(n=null==i?void 0:i[1])?n:null}var ed=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,eg=/^(?:[a-z+]+:)?\/\//i,em=/^www\..*/i,ev=/^(data:)([^,]*),(.*)/i;function ey(e,t){return(e||"").replace(ed,function(e,r,n,i,o,s){var a=n||o||s,u=r||i||"";if(!a)return e;if(eg.test(a)||em.test(a)||ev.test(a))return"url("+u+a+u+")";if("/"===a[0])return"url("+u+((t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]+a)+u+")";var c=t.split("/"),l=a.split("/");c.pop();for(var h,p=W(l);!(h=p()).done;){var f=h.value;"."!==f&&(".."===f?c.pop():c.push(f))}return"url("+u+c.join("/")+u+")"})}function e_(e,t){return(void 0===t&&(t=!1),t)?e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}var eb=1,ew=RegExp("[^a-z0-9-_:]");function eS(){return eb++}var ek=/^[^ \t\n\r\u000c]+/,eC=/^[, \t\n\r\u000c]+/,ex=new WeakMap;function eE(e,t){return t&&""!==t.trim()?eO(e,t):t}function eO(e,t){var r=ex.get(e);if(r||(r=e.createElement("a"),ex.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function eI(e,t,r,n){return n?"src"!==r&&("href"!==r||"use"===t&&"#"===n[0])&&("xlink:href"!==r||"#"===n[0])&&("background"!==r||"table"!==t&&"td"!==t&&"th"!==t)?"srcset"===r?function(e,t){if(""===t.trim())return t;var r=0;function n(e){var n,i=e.exec(t.substring(r));return i?(n=i[0],r+=n.length,n):""}for(var i=[];n(eC),!(r>=t.length);){var o=n(ek);if(","===o.slice(-1))o=eE(e,o.substring(0,o.length-1)),i.push(o);else{var s="";o=eE(e,o);for(var a=!1;;){var u=t.charAt(r);if(""===u){i.push((o+s).trim());break}if(a)")"===u&&(a=!1);else{if(","===u){r+=1,i.push((o+s).trim());break}"("===u&&(a=!0)}s+=u,r+=1}}}return i.join(", ")}
1(e,n):"style"===r?ey(n,eO(e)):"object"===t&&"data"===r?eE(e,n):n:eE(e,n):n}function eR(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function eA(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&eA(er.parentNode(e),t,r);for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}return!!r&&eA(er.parentNode(e),t,r)}function eT(e,t,r,n){var i;if(en(e)){if(i=e,!er.childNodes(i).length)return!1}else{if(null===er.parentElement(e))return!1;i=er.parentElement(e)}try{if("string"==typeof t){if(n){if(i.closest("."+t))return!0}else if(i.classList.contains(t))return!0}else if(eA(i,t,n))return!0;if(r){if(n){if(i.closest(r))return!0}else if(i.matches(r))return!0}}catch(e){}return!1}function eM(e){return null==e?"":e.toLowerCase()}function eP(e,t){var r=t.doc,n=t.mirror,i=t.blockClass,o=t.blockSelector,s=t.maskTextClass,a=t.maskTextSelector,u=t.skipChild,c=void 0!==u&&u,l=t.inlineStylesheet,h=void 0===l||l,p=t.maskInputOptions,f=void 0===p?{}:p,d=t.maskTextFn,g=t.maskInputFn,m=t.slimDOMOptions,v=t.dataURLOptions,y=void 0===v?{}:v,_=t.inlineImages,b=void 0!==_&&_,w=t.recordCanvas,S=void 0!==w&&w,k=t.onSerialize,C=t.onIframeLoad,x=t.iframeLoadTimeout,E=void 0===x?5e3:x,O=t.onStylesheetLoad,I=t.stylesheetLoadTimeout,R=void 0===I?5e3:I,A=t.keepIframeSrcFn,T=void 0===A?function(){return!1}:A,M=t.newlyAddedElement,P=t.cssCaptured,N=t.needsMask,L=t.preserveWhiteSpace,D=void 0===L||L;N||(N=eT(e,s,a,void 0===N));var U=function(e,t){var r,n,i,o,s,a,u,c,l,h,p=t.doc,f=t.mirror,d=t.blockClass,g=t.blockSelector,m=t.needsMask,v=t.inlineStylesheet,y=t.maskInputOptions,_=t.maskTextFn,b=t.maskInputFn,w=t.dataURLOptions,S=t.inlineImages,k=t.recordCanvas,C=t.keepIframeSrcFn,x=t.newlyAddedElement,E=t.cssCaptured,O=function(e,t){if(t.hasNode(e)){var r=t.getId(e);return 1===r?void 0:r}}(p,f);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:Z.Document,childNodes:[],compatMode:e.compatMode};return{type:Z.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Z.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:O};case e.ELEMENT_NODE:return function(e,t){for(var r,n=t.doc,i=t.blockClass,o=t.blockSelector,s=t.inlineStylesheet,a=t.maskInputOptions,u=void 0===a?{}:a,c=t.maskInputFn,l=t.dataURLOptions,h=void 0===l?{}:l,p=t.inlineImages,f=t.recordCanvas,d=t.keepIframeSrcFn,g=t.newlyAddedElement,m=t.rootId,v=function(e,t,r){try{if("string"==typeof t){if(e.classList.contains(t))return!0}else for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}if(r)return e.matches(r)}catch(e){}return!1}(e,i,o),y=function(e){if(F(e,HTMLFormElement))return"form";var t=el(e.tagName);return ew.test(t)?"div":t}(e),_={},b=e.attributes.length,w=0;w<b;w++){var S=e.attributes[w];eR(y,S.name,S.value)||(_[S.name]=eI(n,y,el(S.name),S.value))}if("link"===y&&s){var k=Array.from(n.styleSheets).find(function(t){return t.href===e.href}),C=null;k&&(C=es(k)),C&&(delete _.rel,delete _.href,_._cssText=C)}if("style"===y&&e.sheet){var x=es(e.sheet);x&&(e.childNodes.length>1&&(x=(function(e,t,r){void 0===r&&(r=!1);var n=Array.from(t.childNodes),i=[],o=0;if(n.length>1&&e&&"string"==typeof e){for(var s=e_(e,r),a=s.length/e.length,u=1;u<n.length;u++)if(n[u].textContent&&"string"==typeof n[u].textContent){for(var c=e_(n[u].textContent,r),l=3;l<c.length&&(c[l].match(/[a-zA-Z0-9]/)||-1!==c.indexOf(c.substring(0,l),1));l++);for(;l<c.length;l++){var h=c.substring(0,l),p=s.split(h),f=-1;if(2===p.length)f=p[0].length;else if(p.length>2&&""===p[0]&&""!==n[u-1].textContent)f=s.indexOf(h,1);else if(1===p.length){if(h=h.substring(0,h.length-1),(p=s.split(h)).length<=1)return i.push(e),i;l=101}else l===c.length-1&&(f=s.indexOf(h));if(p.length>=2&&l>100){var d=n[u-1].textContent;if(d&&"string"==typeof d){var g=e_(d).length;f=s.indexOf(h,g)}-1===f&&(f=p[0].length)}if(-1!==f){for(var m=Math.floor(f/a);m>0&&m<e.length;){if((o+=1)>50*n.length)return i.push(e),i;var v=e_(e.substring(0,m),r);if(v.length===f){i.push(e.substring(0,m)),e=e.substring(m),s=s.substring(f);break}v.length<f?m+=Math.max(1,Math.floor((f-v.length)/a)):m-=Math.max(1,Math.floor((v.length-f)*a))}break}}}}return i.push(e),i})(x,e).join("/* rr_split */")),_._cssText=x)}if("input"===y||"textarea"===y||"select"===y){var E=e.value,O=e.checked;"radio"!==_.type&&"checkbox"!==_.type&&"submit"!==_.type&&"button"!==_.type&&E?_.value=ec({element:e,type:ep(e),tagName:y,value:E,maskInputOptions:u,maskInputFn:c}):O&&(_.checked=O)}if(("input"===y||"textarea"===y)&&_.placeholder&&(_.placeholder=ec({element:e,type:ep(e),tagName:y,value:_.placeholder,maskInputOptions:u,maskInputFn:c})),"option"===y&&(e.selected&&!u.select?_.selected=!0:delete _.selected),"dialog"===y&&e.open&&(_.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal"),"canvas"===y&&f){if("2d"===e.__context)!function(e){var t=e.getContext("2d");if(!t)return!0;for(var r=0;r<e.width;r+=50)for(var n=0;n<e.height;n+=50){var i=t.getImageData;
1if(new Uint32Array((eh in i?i[eh]:i).call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some(function(e){return 0!==e}))return!1}return!0}(e)&&(_.rr_dataURL=e.toDataURL(h.type,h.quality));else if(!("__context"in e)){var I=e.toDataURL(h.type,h.quality),R=n.createElement("canvas");R.width=e.width,R.height=e.height,I!==R.toDataURL(h.type,h.quality)&&(_.rr_dataURL=I)}}if("img"===y&&p){o1||(o2=(o1=n.createElement("canvas")).getContext("2d"));var A=e.currentSrc||e.getAttribute("src")||"<unknown-src>",T=e.crossOrigin,M=function(){e.removeEventListener("load",M);try{o1.width=e.naturalWidth,o1.height=e.naturalHeight,o2.drawImage(e,0,0),_.rr_dataURL=o1.toDataURL(h.type,h.quality)}catch(t){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&&0!==e.naturalWidth?M():e.addEventListener("load",M);return}console.warn("Cannot inline img src="+A+"! Error: "+t)}"anonymous"===e.crossOrigin&&(T?_.crossOrigin=T:e.removeAttribute("crossorigin"))};e.complete&&0!==e.naturalWidth?M():e.addEventListener("load",M)}if("audio"===y||"video"===y){var P=_;P.rr_mediaState=e.paused?"paused":"played",P.rr_mediaCurrentTime=e.currentTime,P.rr_mediaPlaybackRate=e.playbackRate,P.rr_mediaMuted=e.muted,P.rr_mediaLoop=e.loop,P.rr_mediaVolume=e.volume}if(!(void 0!==g&&g)&&(e.scrollLeft&&(_.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(_.rr_scrollTop=e.scrollTop)),v){var N=e.getBoundingClientRect(),L=N.width,D=N.height;_={class:_.class,rr_width:""+L+"px",rr_height:""+D+"px"}}"iframe"!==y||d(_.src)||(e.contentDocument||(_.rr_src=_.src),delete _.src);try{customElements.get(y)&&(r=!0)}catch(e){}return{type:Z.Element,tagName:y,attributes:_,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:v,rootId:m,isCustom:r}}(e,{doc:p,blockClass:d,blockSelector:g,inlineStylesheet:v,maskInputOptions:void 0===y?{}:y,maskInputFn:b,dataURLOptions:void 0===w?{}:w,inlineImages:S,recordCanvas:k,keepIframeSrcFn:C,newlyAddedElement:void 0!==x&&x,rootId:O});case e.TEXT_NODE:return n=(r={doc:p,needsMask:m,maskTextFn:_,rootId:O,cssCaptured:void 0!==E&&E}).needsMask,i=r.maskTextFn,o=r.rootId,s=r.cssCaptured,u=(a=er.parentNode(e))&&a.tagName,c="",l="STYLE"===u||void 0,(h="SCRIPT"===u||void 0)?c="SCRIPT_PLACEHOLDER":!s&&(c=er.textContent(e),l&&c&&(c=ey(c,eO(r.doc)))),!l&&!h&&c&&n&&(c=i?i(c,er.parentElement(e)):c.replace(/[\S]/g,"*")),{type:Z.Text,textContent:c||"",rootId:o};case e.CDATA_SECTION_NODE:return{type:Z.CDATA,textContent:"",rootId:O};case e.COMMENT_NODE:return{type:Z.Comment,textContent:er.textContent(e)||"",rootId:O};default:return!1}}(e,{doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:N,inlineStylesheet:h,maskInputOptions:f,maskTextFn:d,maskInputFn:g,dataURLOptions:y,inlineImages:b,recordCanvas:S,keepIframeSrcFn:T,newlyAddedElement:void 0!==M&&M,cssCaptured:void 0!==P&&P});if(!U)return console.warn(e,"not serialized"),null;V=n.hasNode(e)?n.getId(e):!function(e,t){if(t.comment&&e.type===Z.Comment)return!0;if(e.type===Z.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel&&"script"===e.attributes.as||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===ef(e.attributes.href))||t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(eM(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===eM(e.attributes.name)||"icon"===eM(e.attributes.rel)||"apple-touch-icon"===eM(e.attributes.rel)||"shortcut icon"===eM(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&eM(e.attributes.name).match(/^description|keywords$/)||t.headMetaSocial&&(eM(e.attributes.property).match(/^(og|twitter|fb):/)||eM(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===eM(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===eM(e.attributes.name)||"googlebot"===eM(e.attributes.name)||"bingbot"===eM(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===eM(e.attributes.name)||"generator"===eM(e.attributes.name)||"framework"===eM(e.attributes.name)||"publisher"===eM(e.attributes.name)||"progid"===eM(e.attributes.name)||eM(e.attributes.property).match(/^article:/)||eM(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===eM(e.attributes.name)||"yandex-verification"===eM(e.attributes.name)||"csrf-token"===eM(e.attributes.name)||"p:domain_verify"===eM(e.attributes.name)||"verify-v1"===eM(e.attributes.name)||"verification"===eM(e.attributes.name)||"shopify-checkout-api-token"===eM(e.attributes.name)))return!0}}return!1}(U,m)&&(D||U.type!==Z.Text||U.textContent.replace(/^\s+|\s+$/gm,"").length)?eS():-2;var j=Object.assign(U,{id:V});if(n.add(e,j),-2===V)return null;
1k&&k(e);var B=!c;if(j.type===Z.Element){B=B&&!j.needBlock,delete j.needBlock;var q=er.shadowRoot(e);q&&eo(q)&&(j.isShadowHost=!0)}if((j.type===Z.Document||j.type===Z.Element)&&B){m.headWhitespace&&j.type===Z.Element&&"head"===j.tagName&&(D=!1);var z={doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:N,maskTextClass:s,maskTextSelector:a,skipChild:c,inlineStylesheet:h,maskInputOptions:f,maskTextFn:d,maskInputFn:g,slimDOMOptions:m,dataURLOptions:y,inlineImages:b,recordCanvas:S,preserveWhiteSpace:D,onSerialize:k,onIframeLoad:C,iframeLoadTimeout:E,onStylesheetLoad:O,stylesheetLoadTimeout:R,keepIframeSrcFn:T,cssCaptured:!1};if(j.type===Z.Element&&"textarea"===j.tagName&&void 0!==j.attributes.value);else{j.type===Z.Element&&void 0!==j.attributes._cssText&&"string"==typeof j.attributes._cssText&&(z.cssCaptured=!0);for(var V,$,H=W(Array.from(er.childNodes(e)));!($=H()).done;){var G=eP($.value,z);G&&j.childNodes.push(G)}}var J=null;if(en(e)&&(J=er.shadowRoot(e)))for(var Y,K=W(Array.from(er.childNodes(J)));!(Y=K()).done;){var X=eP(Y.value,z);X&&(eo(J)&&(X.isShadow=!0),j.childNodes.push(X))}}var Q=er.parentNode(e);return Q&&ei(Q)&&eo(Q)&&(j.isShadow=!0),j.type===Z.Element&&"iframe"===j.tagName&&function(e,t,r){var n,i=e.contentWindow;if(i){var o=!1;try{n=i.document.readyState}catch(e){return}if("complete"!==n){var s=setTimeout(function(){o||(t(),o=!0)},r);e.addEventListener("load",function(){clearTimeout(s),o=!0,t()});return}var a="about:blank";if(i.location.href!==a||e.src===a||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}}(e,function(){var t=e.contentDocument;if(t&&C){var r=eP(t,{doc:t,mirror:n,blockClass:i,blockSelector:o,needsMask:N,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:h,maskInputOptions:f,maskTextFn:d,maskInputFn:g,slimDOMOptions:m,dataURLOptions:y,inlineImages:b,recordCanvas:S,preserveWhiteSpace:D,onSerialize:k,onIframeLoad:C,iframeLoadTimeout:E,onStylesheetLoad:O,stylesheetLoadTimeout:R,keepIframeSrcFn:T});r&&C(e,r)}},E),j.type===Z.Element&&"link"===j.tagName&&"string"==typeof j.attributes.rel&&("stylesheet"===j.attributes.rel||"preload"===j.attributes.rel&&"string"==typeof j.attributes.href&&"css"===ef(j.attributes.href))&&function(e,t,r){var n,i=!1;try{n=e.sheet}catch(e){return}if(!n){var o=setTimeout(function(){i||(t(),i=!0)},r);e.addEventListener("load",function(){clearTimeout(o),i=!0,t()})}}(e,function(){if(O){var t=eP(e,{doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:N,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:h,maskInputOptions:f,maskTextFn:d,maskInputFn:g,slimDOMOptions:m,dataURLOptions:y,inlineImages:b,recordCanvas:S,preserveWhiteSpace:D,onSerialize:k,onIframeLoad:C,iframeLoadTimeout:E,onStylesheetLoad:O,stylesheetLoadTimeout:R,keepIframeSrcFn:T});t&&O(e,t)}},R),j}var eN={exports:{}},eL=String,eD=function(){return{isColorSupported:!1,reset:eL,bold:eL,dim:eL,italic:eL,underline:eL,inverse:eL,hidden:eL,strikethrough:eL,black:eL,red:eL,green:eL,yellow:eL,blue:eL,magenta:eL,cyan:eL,white:eL,gray:eL,bgBlack:eL,bgRed:eL,bgGreen:eL,bgYellow:eL,bgBlue:eL,bgMagenta:eL,bgCyan:eL,bgWhite:eL}};eN.exports=eD(),eN.exports.createColors=eD;var eF=eN.exports,eU=function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return F(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),ej=function(e){function t(r,n,i,o,s,a){var u;return(u=e.call(this,r)||this).name="CssSyntaxError",u.reason=r,s&&(u.file=s),o&&(u.source=o),a&&(u.plugin=a),void 0!==n&&void 0!==i&&("number"==typeof n?(u.line=n,u.column=i):(u.line=n.line,u.column=n.column,u.endLine=i.line,u.endColumn=i.column)),u.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(u,t),u}D(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t,r,n=this;if(!this.source)return"";var i=this.source;null==e&&(e=eF.isColorSupported),eU&&e&&(i=eU(i));var o=i.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),u=String(a).length;if(e){var c=eF.createColors(!0),l=c.bold,h=c.gray,p=c.red;t=function(e){return l(p(e))},r=function(e){return h(e)}}else t=r=function(e){return e};return o.slice(s,a).map(function(e,i){var o=s+1+i,a=" "+(" "+o).slice(-u)+" | ";if(o===n.line){var c=r(a.replace(/\d/g," "))+e.slice(0,n.column-1).replace(/[^\t]/g," ");return t(">")+r(a)+e+"\n "+c+t("^")}return" "+r(a)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(q(Error));ej.default=ej;var eB={};eB.isClean=Symbol("isClean"),eB.my=Symbol("my");var eq={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1},ez=function(){function e(e){this.builder=e}var t=e.prototype;
1return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.beforeAfter=function(e,t){r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var r,n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var s=0;s<i;s++)r+=o}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){if(r||(r=t),t&&void 0!==(i=e.raws[t]))return i;var n,i,o=e.parent;if("before"===r&&(!o||"root"===o.type&&o.first===e||o&&"document"===o.type))return"";if(!o)return eq[r];var s=e.root();if(s.rawCache||(s.rawCache={}),void 0!==s.rawCache[r])return s.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var a="raw"+((n=r)[0].toUpperCase()+n.slice(1));return this[a]?i=this[a](s,e):s.walk(function(e){if(void 0!==(i=e.raws[t]))return!1}),void 0===i&&(i=eq[r]),s.rawCache[r]=i,i},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t},t.rawIndent=function(e){var t;return e.raws.indent?e.raws.indent:(e.walk(function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}}),t)},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}();function eW(e,t){new ez(t).stringify(e)}ez.default=ez,eW.default=eW;var eV=eB.isClean,e$=eB.my,eH=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[eV]=!1,this[e$]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=W(e[t]);!(r=n()).done;){var i=r.value;"function"==typeof i.clone?this.append(i.clone()):this.append(i)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=function e(t,r){var n=new t.constructor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&"proxyCache"!==i){var o=t[i],s=void 0===o?"undefined":B(o);"parent"===i&&"object"===s?r&&(n[i]=r):"source"===i?n[i]=o:Array.isArray(o)?n[i]=o.map(function(t){return e(t,n)}):("object"===s&&null!==o&&(o=e(o)),n[i]=o)}return n}(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,i=r.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new ej(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,("prop"===t||"value"===t||"name"===t||"params"===t||"important"===t||"text"===t)&&e.markDirty(),!0)}}},t.markDirty=function(){if(this[eV]){this[eV]=!1;for(var e=this;e=e.parent;)e[eV]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);
1else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,i=this.source.start.line,o=0;o<e;o++)"\n"===r[o]?(n=1,i+=1):n+=1;return{column:n,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return new ez().raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,i=this,o=!1,s=W(t);!(n=s()).done;){var a=n.value;a===this?o=!0:o?(this.parent.insertAfter(i,a),i=a):this.parent.insertBefore(i,a)}o||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var i=0;for(var o in this)if(Object.prototype.hasOwnProperty.call(this,o)&&"parent"!==o&&"proxyCache"!==o){var s=this[o];if(Array.isArray(s))r[o]=s.map(function(e){return(void 0===e?"undefined":B(e))==="object"&&e.toJSON?e.toJSON(null,t):e});else if((void 0===s?"undefined":B(s))==="object"&&s.toJSON)r[o]=s.toJSON(null,t);else if("source"===o){var a=t.get(s.input);null==a&&(a=i,t.set(s.input,i),i++),r[o]={end:s.end,inputId:a,start:s.start}}else r[o]=s}return n&&(r.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=eW),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,r){var n={node:this};for(var i in r)n[i]=r[i];return e.warn(t,n)},P(e,[{key:"proxyOf",get:function(){return this}}]),e}();eH.default=eH;var eG=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=N({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return D(t,e),P(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(eH);eG.default=eG;var eJ=eU.SourceMapConsumer,eY=eU.SourceMapGenerator,eZ=eU.existsSync,eK=eU.readFileSync,eX=eU.dirname,eQ=eU.join,e0=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=eX(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new eJ(this.text)),this.consumerCache},t.decodeInline=function(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e)){var t;return t=e.substr(RegExp.lastMatch.length),S?S.from(t,"base64").toString():window.atob(t)}throw Error("Unsupported source map encoding "+e.match(/data:application\/json;([^,]+),/)[1])},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return(void 0===e?"undefined":B(e))==="object"&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
1if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=eX(e),eZ(e))return this.mapFile=e,eK(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"==typeof t){var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw Error("Unable to load previous source map: "+r.toString());return n}}else if(F(t,eJ))return eY.fromSourceMap(t).toString();else if(F(t,eY))return t.toString();else if(this.isMap(t))return JSON.stringify(t);else throw Error("Unsupported previous source map format: "+t.toString())}else if(this.inline)return this.decodeInline(this.annotation);else if(this.annotation){var i=this.annotation;return e&&(i=eQ(eX(e),i)),this.loadFile(i)}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}();e0.default=e0;var e1=eU.SourceMapConsumer,e2=eU.SourceMapGenerator,e3=eU.fileURLToPath,e4=eU.pathToFileURL,e5=eU.isAbsolute,e6=eU.resolve,e8=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t}
1,e9=Symbol("fromOffsetCache"),e7=!!(e1&&e2),te=!!(e6&&e5),tt=function(){function e(e,t){if(void 0===t&&(t={}),null==e||(void 0===e?"undefined":B(e))==="object"&&!e.toString)throw Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\uFEFF"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!te||/^\w+:\/\//.test(t.from)||e5(t.from)?this.file=t.from:this.file=e6(t.from)),te&&e7){var r=new e0(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+e8(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){if(void 0===n&&(n={}),t&&(void 0===t?"undefined":B(t))==="object"){var i,o,s,a=t,u=r;if("number"==typeof a.offset){var c=this.fromOffset(a.offset);t=c.line,r=c.col}else t=a.line,r=a.column;if("number"==typeof u.offset){var l=this.fromOffset(u.offset);o=l.line,s=l.col}else o=u.line,s=u.column}else if(!r){var h=this.fromOffset(t);t=h.line,r=h.col}var p=this.origin(t,r,o,s);return(i=p?new ej(e,void 0===p.endLine?p.line:{column:p.column,line:p.line},void 0===p.endLine?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,n.plugin):new ej(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:s,line:o},this.css,this.file,n.plugin)).input={column:r,endColumn:s,endLine:o,line:t,source:this.css},this.file&&(e4&&(i.input.url=e4(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){if(this[e9])a=this[e9];else{var t=this.css.split("\n");a=Array(t.length);for(var r=0,n=0,i=t.length;n<i;n++)a[n]=r,r+=t[n].length+1;this[e9]=a}s=a[a.length-1];var o=0;if(e>=s)o=a.length-1;else for(var s,a,u,c=a.length-2;o<c;)if(e<a[u=o+(c-o>>1)])c=u-1;else if(e>=a[u+1])o=u+1;else{o=u;break}return{col:e-a[o]+1,line:o+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:e6(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var i,o,s=this.map.consumer(),a=s.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"==typeof r&&(i=s.originalPositionFor({column:n,line:r})),o=e5(a.source)?e4(a.source):new URL(a.source,this.map.consumer().sourceRoot||e4(this.map.mapFile));var u={column:a.column,endColumn:i&&i.column,endLine:i&&i.line,line:a.line,url:o.toString()};if("file:"===o.protocol){if(e3)u.file=e3(o);else throw Error("file: protocol is not available in this PostCSS build")}var c=s.sourceContentFor(a.source);return c&&(u.source=c),u},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=N({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},P(e,[{key:"from",get:function(){return this.file||this.id}}]),e}();tt.default=tt,eU&&eU.registerInput&&eU.registerInput(tt);var tr=eU.SourceMapConsumer,tn=eU.SourceMapGenerator,ti=eU.dirname,to=eU.relative,ts=eU.resolve,ta=eU.sep,tu=eU.pathToFileURL,tc=!!(tr&&tn),tl=!!(ti&&ts&&to&&ta),th=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var e,t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=W(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||ti(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new tr(r.text)).sourcesContent&&(o.sourcesContent=null):o=r.consumer(),this.map.applySourceMap(o,n,this.toUrl(this.path(i)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation){if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}},t.generate=function(){if(this.clearAnnotation(),tl&&tc&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=tn.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new tn({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]},t.generateString=function(){var e,t,r=this;this.css="",this.map=new tn({file:this.outputFile(),ignoreInvalidMapping:!0});var n=1,i=1,o="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(a,u,c){if(r.css+=a,u&&"end"!==c&&(s.generated.line=n,s.generated.column=i-1,u.source&&u.source.start?(s.source=r.sourcePath(u),s.original.line=u.source.start.line,s.original.column=u.source.start.column-1):(s.source=o,s.original.line=1,s.original.column=0),r.map.addMapping(s)),(e=a.match(/\n/g))?(n+=e.length,t=a.lastIndexOf("\n"),i=a.length-t):i+=a.length,u&&"start"!==c){var l=u.parent||{raws:{}};(!("decl"===u.type||"atrule"===u.type&&!u.nodes)||u!==l.last||l.raws.semicolon)&&(u.source&&u.source.end?(s.source=r.sourcePath(u),s.original.line=u.source.end.line,s.original.column=u.source.end.column-1,s.generated.line=n,s.generated.column=i-2):(s.source=o,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=i-1),r.map.addMapping(s))}})},t.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute||60===e.charCodeAt(0)||/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?ti(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=ti(ts(r,this.mapOpts.annotation)));var n=to(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps){if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}});else{var t=new tt(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var i=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.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))},t.toBase64=function(e){return S?S.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(tu){var r=tu(e).toString();return this.memoizedFileURLs.set(e,r),r}throw Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===ta&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),tp=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return D(t,e),t}(eH);tp.default=tp;var tf=eB.isClean,td=eB.my,tg=function(e){function t(){return e.apply(this,arguments)||this}D(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=W(t);!(n=i()).done;)for(var o,s=n.value,a=this.normalize(s,this.last),u=W(a);!(o=u()).done;){var c=o.value;this.proxyOf.nodes.push(c)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=W(this.nodes);!(r=n()).done;)r.value.cleanRaws(t)},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){if("proxyOf"===t)return e;if(!e[t])return e[t];if("each"===t||"string"==typeof t&&t.startsWith("walk"))return function(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return e[t].apply(e,[].concat(n.map(function(e){return"function"==typeof e?function(t,r){return e(t.toProxy(),r)}:e})))};if("every"===t||"some"===t)return function(r){return e[t](function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return r.apply(void 0,[].concat([e.toProxy()],n))})};if("root"===t)return function(){return e.root().toProxy()};
1if("nodes"===t)return e.nodes.map(function(e){return e.toProxy()});if("first"===t||"last"===t)return e[t].toProxy();else return e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,("name"===t||"params"===t||"selector"===t)&&e.markDirty(),!0)}}},r.index=function(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var o,s=W(i);!(o=s()).done;){var a=o.value;this.proxyOf.nodes.splice(n+1,0,a)}for(var u in this.indexes)n<(r=this.indexes[u])&&(this.indexes[u]=r+i.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),i=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(var s,a=W(o);!(s=a()).done;){var u=s.value;this.proxyOf.nodes.splice(n,0,u)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+o.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"==typeof e)e=function e(t){return t.map(function(t){return t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t})}(o3(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e)){e=e.slice(0);for(var i,o=W(e);!(i=o()).done;){var s=i.value;s.parent&&s.parent.removeChild(s,"ignore")}}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(var a,u=W(e);!(a=u()).done;){var c=a.value;c.parent&&c.parent.removeChild(c,"ignore")}}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new eG(e)]}else if(e.selector)e=[new o4(e)];else if(e.name)e=[new o5(e)];else if(e.text)e=[new tp(e)];else throw Error("Unknown node type in node creation");return e.map(function(e){return e[td]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[tf]&&function e(t){if(t[tf]=!1,t.proxyOf.nodes)for(var r,n=W(t.proxyOf.nodes);!(r=n()).done;)e(r.value)}(e),void 0===e.raws.before&&r&&void 0!==r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e})},r.prepend=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];t=t.reverse();for(var n,i=W(t);!(n=i()).done;){for(var o,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),u=W(a);!(o=u()).done;){var c=o.value;this.proxyOf.nodes.unshift(c)}for(var l in this.indexes)this.indexes[l]=this.indexes[l]+a.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=W(this.proxyOf.nodes);!(e=t()).done;)e.value.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls(function(n){(!t.props||t.props.includes(n.prop))&&(!t.fast||n.value.includes(t.fast))&&(n.value=n.value.replace(e,r))}),this.markDirty(),this},r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each(function(t,r){var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n})},r.walkAtRules=function(e,t){return t?F(e,RegExp)?this.walk(function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk(function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("atrule"===e.type)return t(e,r)}))},r.walkComments=function(e){return this.walk(function(t,r){if("comment"===t.type)return e(t,r)})},r.walkDecls=function(e,t){return t?F(e,RegExp)?this.walk(function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk(function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("decl"===e.type)return t(e,r)}))},r.walkRules=function(e,t){return t?F(e,RegExp)?this.walk(function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk(function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("rule"===e.type)return t(e,r)}))},P(t,[{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]}}]),t}(eH);tg.registerParse=function(e){o3=e},tg.registerRule=function(e){o4=e},tg.registerAtRule=function(e){o5=e},tg.registerRoot=function(e){o6=e},tg.default=tg,tg.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,o5.prototype):"rule"===e.type?Object.setPrototypeOf(e,o4.prototype):"decl"===e.type?Object.setPrototypeOf(e,eG.prototype):"comment"===e.type?Object.setPrototypeOf(e,tp.prototype):"root"===e.type&&Object.setPrototypeOf(e,o6.prototype),e[td]=!0,e.nodes&&e.nodes.forEac
1h(function(e){tg.rebuild(e)})};var tm=function(e){function t(t){var r;return(r=e.call(this,N({type:"document"},t))||this).nodes||(r.nodes=[]),r}return D(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new o8(new o9,this,e).stringify()},t}(tg);tm.registerLazyResult=function(e){o8=e},tm.registerProcessor=function(e){o9=e},tm.default=tm;var tv=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}();tv.default=tv;var ty=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),!t.plugin&&this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new tv(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},P(e,[{key:"content",get:function(){return this.css}}]),e}();ty.default=ty;var t_=/[\t\n\f\r "#'()/;[\\\]{}]/g,tb=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,tw=/.[\r\n"'(/\\]/,tS=/[\da-f]/i,tk=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}D(t,e);var r=t.prototype;return r.append=function(){for(var t,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return this.proxyOf.nodes||(this.nodes=[]),(t=e.prototype.append).call.apply(t,[].concat([this],n))},r.prepend=function(){for(var t,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return this.proxyOf.nodes||(this.nodes=[]),(t=e.prototype.prepend).call.apply(t,[].concat([this],n))},t}(tg);tk.default=tk,tg.registerAtRule(tk);var tC=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}D(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var i=e.prototype.normalize.call(this,t);if(r){if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var o,s=W(i);!(o=s()).done;)o.value.raws.before=r.raws.before}return i},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new o7(new se,this,e).stringify()},t}(tg);tC.registerLazyResult=function(e){o7=e},tC.registerProcessor=function(e){se=e},tC.default=tC,tg.registerRoot(tC);var tx={comma:function(e){return tx.split(e,[","],!0)},space:function(e){return tx.split(e,[" ","\n"," "])},split:function(e,t,r){for(var n,i=[],o="",s=!1,a=0,u=!1,c="",l=!1,h=W(e);!(n=h()).done;){var p=n.value;l?l=!1:"\\"===p?l=!0:u?p===c&&(u=!1):'"'===p||"'"===p?(u=!0,c=p):"("===p?a+=1:")"===p?a>0&&(a-=1):0===a&&t.includes(p)&&(s=!0),s?(""!==o&&i.push(o.trim()),o="",s=!1):o+=p}return(r||""!==o)&&i.push(o.trim()),i}};tx.default=tx;var tE=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return D(t,e),P(t,[{key:"selectors",get:function(){return tx.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(tg);tE.default=tE,tg.registerRule(tE);var tO=function(e,t){void 0===t&&(t={});var r,n,i,o,s,a,u,c,l,h,p=e.css.valueOf(),f=t.ignoreErrors,d=p.length,g=0,m=[],v=[];function y(t){throw e.error("Unclosed "+t,g)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&g>=d},nextToken:function(e){if(v.length)return v.pop();if(!(g>=d)){var t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(g)){case 10:case 32:case 9:case 13:case 12:n=g;do n+=1,r=p.charCodeAt(n);while(32===r||10===r||9===r||13===r||12===r);h=["space",p.slice(g,n)],g=n-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:var _=String.fromCharCode(r);h=[_,_,g];break;
1case 40:if(c=m.length?m.pop()[1]:"",l=p.charCodeAt(g+1),"url"===c&&39!==l&&34!==l&&32!==l&&10!==l&&9!==l&&12!==l&&13!==l){n=g;do{if(a=!1,-1===(n=p.indexOf(")",n+1))){if(f||t){n=g;break}y("bracket")}for(u=n;92===p.charCodeAt(u-1);)u-=1,a=!a}while(a);h=["brackets",p.slice(g,n+1),g,n],g=n}else n=p.indexOf(")",g+1),o=p.slice(g,n+1),-1===n||tw.test(o)?h=["(","(",g]:(h=["brackets",o,g,n],g=n);break;case 39:case 34:i=39===r?"'":'"',n=g;do{if(a=!1,-1===(n=p.indexOf(i,n+1))){if(f||t){n=g+1;break}y("string")}for(u=n;92===p.charCodeAt(u-1);)u-=1,a=!a}while(a);h=["string",p.slice(g,n+1),g,n],g=n;break;case 64:t_.lastIndex=g+1,t_.test(p),n=0===t_.lastIndex?p.length-1:t_.lastIndex-2,h=["at-word",p.slice(g,n+1),g,n],g=n;break;case 92:for(n=g,s=!0;92===p.charCodeAt(n+1);)n+=1,s=!s;if(r=p.charCodeAt(n+1),s&&47!==r&&32!==r&&10!==r&&9!==r&&13!==r&&12!==r&&(n+=1,tS.test(p.charAt(n)))){for(;tS.test(p.charAt(n+1));)n+=1;32===p.charCodeAt(n+1)&&(n+=1)}h=["word",p.slice(g,n+1),g,n],g=n;break;default:47===r&&42===p.charCodeAt(g+1)?(0===(n=p.indexOf("*/",g+2)+1)&&(f||t?n=p.length:y("comment")),h=["comment",p.slice(g,n+1),g,n]):(tb.lastIndex=g+1,tb.test(p),n=0===tb.lastIndex?p.length-1:tb.lastIndex-2,h=["word",p.slice(g,n+1),g,n],m.push(h)),g=n}return g++,h}},position:function(){return g}}},tI={empty:!0,space:!0},tR=function(){function e(e){this.input=e,this.root=new tC,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,i=new tk;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,s=!1,a=[],u=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?u.push("("===t?")":"]"):"{"===t&&u.length>0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(a.length>0){for(n=a.length-1,r=a[n];r&&"space"===r[0];)r=a[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]),i.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(i.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(i,"params",a),o&&(e=a[a.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)},t.checkMissedSemicolon=function(e){var t,r=this.colon(e);if(!1!==r){for(var n=0,i=r-1;i>=0&&("space"===(t=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===t[0]?t[3]+1:t[2])}},t.colon=function(e){for(var t,r,n,i=0,o=W(e.entries());!(n=o()).done;){var s=n.value,a=s[0],u=s[1];if("("===(t=u[0])&&(i+=1),")"===t&&(i-=1),0===i&&":"===t){if(r){if("word"===r[0]&&"progid"===r[1])continue;return a}this.doubleColon(u)}r=u}return!1},t.comment=function(e){var t=new tp;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=tO(this.input)},t.decl=function(e,t){var r,n,i=new eG;this.init(i,e[0][2]);var o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),i.source.end=this.getPosition(o[3]||o[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),i.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),i.raws.before+=e.shift()[1];for(i.source.start=this.getPosition(e[0][2]),i.prop="";e.length;){var s=e[0][0];if(":"===s||"space"===s||"comment"===s)break;i.prop+=e.shift()[1]}for(i.raws.between="";e.length;){if(":"===(r=e.shift())[0]){i.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),i.raws.between+=r[1]}("_"===i.prop[0]||"*"===i.prop[0])&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));for(var a=[];
1e.length&&("space"===(n=e[0][0])||"comment"===n);)a.push(e.shift());this.precheckMissedSemicolon(e);for(var u=e.length-1;u>=0;u--){if("!important"===(r=e[u])[1].toLowerCase()){i.important=!0;var c=this.stringFrom(e,u);" !important"!==(c=this.spacesFromEnd(e)+c)&&(i.raws.important=c);break}if("important"===r[1].toLowerCase()){for(var l=e.slice(0),h="",p=u;p>0;p--){var f=l[p][0];if(0===h.trim().indexOf("!")&&"space"!==f)break;h=l.pop()[1]+h}0===h.trim().indexOf("!")&&(i.important=!0,i.raws.important=h,e=l)}if("space"!==r[0]&&"comment"!==r[0])break}e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]})&&(i.raws.between+=a.map(function(e){return e[1]}).join(""),a=[]),this.raw(i,"value",a.concat(e),t),i.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new tE;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.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)},t.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())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],u=e;u;){if(r=u[0],a.push(u),"("===r||"["===r)i||(i=u),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=u),o.push("}");else if(0===o.length){if(";"===r){if(n){this.decl(a,s);return}break}if("{"===r){this.rule(a);return}if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;a.length&&("space"===(u=a[a.length-1][0])||"comment"===u);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[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)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var i,o,s,a,u=r.length,c="",l=!0,h=0;h<u;h+=1)"space"!==(o=(i=r[h])[0])||h!==u-1||n?"comment"===o?(a=r[h-1]?r[h-1][0]:"empty",s=r[h+1]?r[h+1][0]:"empty",tI[a]||tI[s]?l=!1:","===c.slice(-1)?l=!1:c+=i[1]):c+=i[1]:l=!1;if(!l){var p=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:p,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new tE;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}();function tA(e,t){var r=new tR(new tt(e,t));try{r.parse()}catch(e){throw e}return r.root}tA.default=tA,tg.registerParse(tA);var tT=eB.isClean,tM=eB.my,tP={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},tN={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},tL={Once:!0,postcssPlugin:!0,prepare:!0};function tD(e){return(void 0===e?"undefined":B(e))==="object"&&"function"==typeof e.then}function tF(e){var t=!1,r=tP[e.type];return("decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append)?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function tU(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:tF(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}
1function tj(e){return e[tT]=!1,e.nodes&&e.nodes.forEach(function(e){return tj(e)}),e}var tB={},tq=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,(void 0===r?"undefined":B(r))==="object"&&null!==r&&("root"===r.type||"document"===r.type))i=tj(r);else if(F(r,e)||F(r,ty))i=tj(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var s=tA;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(e){this.processed=!0,this.error=e}i&&!i[tM]&&tg.rebuild(i)}this.result=new ty(t,i,n),this.helpers=N({},tB,{postcss:tB,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return(void 0===e?"undefined":B(e))==="object"&&e.prepare?N({},e,e.prepare(o.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=W(this.plugins);!(t=n()).done;){var i=t.value;if((void 0===i?"undefined":B(i))==="object")for(var o in i){if(!tN[o]&&/^[A-Z]/.test(o))throw Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!tL[o]){if("object"===B(i[o]))for(var s in i[o])r(i,"*"===s?o:o+"-"+s.toLowerCase(),i[o][s]);else"function"==typeof i[o]&&r(i,o,i[o])}}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return T(function(){var t,r,n,i,o,s,a,u,c,l,h,p;return V(this,function(f){switch(f.label){case 0:e.plugin=0,t=0,f.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!tD(n=e.runOnRoot(r)))return[3,5];f.label=2;case 2:return f.trys.push([2,4,,5]),[4,n];case 3:return f.sent(),[3,5];case 4:throw i=f.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];o=e.result.root,f.label=7;case 7:if(o[tT])return[3,14];o[tT]=!0,s=[tU(o)],f.label=8;case 8:if(!(s.length>0))return[3,13];if(!tD(a=e.visitTick(s)))return[3,12];f.label=9;case 9:return f.trys.push([9,11,,12]),[4,a];case 10:return f.sent(),[3,12];case 11:throw u=f.sent(),c=s[s.length-1].node,e.handleError(u,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];l=function(){var t,r,n,i;return V(this,function(s){switch(s.label){case 0:r=(t=p.value)[0],n=t[1],e.result.lastPlugin=r,s.label=1;case 1:if(s.trys.push([1,6,,7]),"document"!==o.type)return[3,3];return[4,Promise.all(o.nodes.map(function(t){return n(t,e.helpers)}))];case 2:return s.sent(),[3,5];case 3:return[4,n(o,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw i=s.sent(),e.handleError(i);case 7:return[2]}})},h=W(e.listeners.OnceExit),f.label=15;case 15:if((p=h()).done)return[3,18];return[5,$(l())];case 16:f.sent(),f.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if((void 0===e?"undefined":B(e))==="object"&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map(function(r){return e.Once(r,t.helpers)});
1if(tD(r[0]))return Promise.all(r);return r}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=eW;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new th(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.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,t=W(this.plugins);!(e=t()).done;){var r=e.value;if(tD(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[tT];)n[tT]=!0,this.walkSync(n);if(this.listeners.OnceExit){if("document"===n.type)for(var i,o=W(n.nodes);!(i=o()).done;){var s=i.value;this.visitSync(this.listeners.OnceExit,s)}else this.visitSync(this.listeners.OnceExit,n)}}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=W(e);!(r=n()).done;){var i=r.value,o=i[0],s=i[1];this.result.lastPlugin=o;var a=void 0;try{a=s(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(tD(a))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"!==r.type&&"document"!==r.type&&!r.parent){e.pop();return}if(n.length>0&&t.visitorIndex<n.length){var i=n[t.visitorIndex],o=i[0],s=i[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return s(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var a,u=t.iterator;a=r.nodes[r.indexes[u]];)if(r.indexes[u]+=1,!a[tT]){a[tT]=!0,e.push(tU(a));return}t.iterator=0,delete r.indexes[u]}for(var c=t.events;t.eventIndex<c.length;){var l=c[t.eventIndex];if(t.eventIndex+=1,0===l){r.nodes&&r.nodes.length&&(r[tT]=!0,t.iterator=r.getIterator());return}if(this.listeners[l]){t.visitors=this.listeners[l];return}}e.pop()},t.walkSync=function(e){var t=this;e[tT]=!0;for(var r,n=tF(e),i=W(n);!(r=i()).done;){var o=r.value;if(0===o)e.nodes&&e.each(function(e){e[tT]||t.walkSync(e)});else{var s=this.listeners[o];if(s&&this.visitSync(s,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},P(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();tq.registerPostcss=function(e){tB=e},tq.default=tq,tC.registerLazyResult(tq),tm.registerLazyResult(tq);var tz=function(){function e(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0,this.result=new ty(this._processor,n,this._opts),this.result.css=t;var n,i=this;Object.defineProperty(this.result,"root",{get:function(){return i.root}});var o=new th(eW,n,this._opts,t);if(o.isMap()){var s=o.generate(),a=s[0],u=s[1];a&&(this.result.css=a),u&&(this.result.map=u)}else o.clearAnnotation(),this.result.css=o.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},P(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){var e;if(this._root)return this._root;try{e=tA(this._css,this._opts)}catch(e){this.error=e}if(!this.error)return this._root=e,e;throw this.error}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}();tz.default=tz;var tW=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=W(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),(void 0===i?"undefined":B(i))==="object"&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if((void 0===i?"undefined":B(i))==="object"&&i.postcssPlugin)r.push(i);else if("function"==typeof i)r.push(i);else if((void 0===i?"undefined":B(i))==="object"&&(i.parse||i.stringify));else throw Error(i+" is not a PostCSS plugin")}return r},t.process=function(e,t){return(void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax)?new tq(this,e,t):new tz(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}();function tV(e,t){if(Array.isArray(e))return e.map(function(e){return tV(e)});
1var r=e.inputs,n=U(e,["inputs"]);if(r){t=[];for(var i,o=W(r);!(i=o()).done;){var s=i.value,a=N({},s,{__proto__:tt.prototype});a.map&&(a.map=N({},a.map,{__proto__:e0.prototype})),t.push(a)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return tV(e,t)})),n.source){var u=n.source,c=u.inputId,l=U(u,["inputId"]);n.source=l,null!=c&&(n.source.input=t[c])}if("root"===n.type)return new tC(n);if("decl"===n.type)return new eG(n);if("rule"===n.type)return new tE(n);if("comment"===n.type)return new tp(n);if("atrule"===n.type)return new tk(n);throw Error("Unknown node type: "+e.type)}function t$(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new tW(t)}tW.default=tW,tC.registerProcessor(tW),tm.registerProcessor(tW),tV.default=tV,t$.plugin=function(e,t){var r,n=!1;function i(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),k.env.LANG&&k.env.LANG.startsWith("cn")&&console.warn(e+": éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(i));return s.postcssPlugin=e,s.postcssVersion=new tW().version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return t$([i(r)]).process(e,t)},i},t$.stringify=eW,t$.parse=tA,t$.fromJSON=tV,t$.list=tx,t$.comment=function(e){return new tp(e)},t$.atRule=function(e){return new tk(e)},t$.decl=function(e){return new eG(e)},t$.rule=function(e){return new tE(e)},t$.root=function(e){return new tC(e)},t$.document=function(e){return new tm(e)},t$.CssSyntaxError=ej,t$.Declaration=eG,t$.Container=tg,t$.Processor=tW,t$.Document=tm,t$.Comment=tp,t$.Warning=tv,t$.AtRule=tk,t$.Result=ty,t$.Input=tt,t$.Rule=tE,t$.Root=tC,t$.Node=eH,tq.registerPostcss(t$),t$.default=t$;var tH=t$&&t$.__esModule&&Object.prototype.hasOwnProperty.call(t$,"default")?t$.default:t$;tH.stringify,tH.fromJSON,tH.plugin,tH.parse,tH.list,tH.document,tH.comment,tH.atRule,tH.rule,tH.decl,tH.root,tH.CssSyntaxError,tH.Declaration,tH.Container,tH.Processor,tH.Document,tH.Comment,tH.Warning,tH.AtRule,tH.Result,tH.Input,tH.Rule,tH.Root,tH.Node;var tG=Object.defineProperty,tJ=function(e,t,r){var n;return(n=(void 0===t?"undefined":B(t))!=="symbol"?t+"":t)in e?tG(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},tY={exports:{}},tZ=String,tK=function(){return{isColorSupported:!1,reset:tZ,bold:tZ,dim:tZ,italic:tZ,underline:tZ,inverse:tZ,hidden:tZ,strikethrough:tZ,black:tZ,red:tZ,green:tZ,yellow:tZ,blue:tZ,magenta:tZ,cyan:tZ,white:tZ,gray:tZ,bgBlack:tZ,bgRed:tZ,bgGreen:tZ,bgYellow:tZ,bgBlue:tZ,bgMagenta:tZ,bgCyan:tZ,bgWhite:tZ}};tY.exports=tK(),tY.exports.createColors=tK;var tX=tY.exports,tQ=function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return F(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),t0=function(e){function t(r,n,i,o,s,a){var u;return(u=e.call(this,r)||this).name="CssSyntaxError",u.reason=r,s&&(u.file=s),o&&(u.source=o),a&&(u.plugin=a),void 0!==n&&void 0!==i&&("number"==typeof n?(u.line=n,u.column=i):(u.line=n.line,u.column=n.column,u.endLine=i.line,u.endColumn=i.column)),u.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(u,t),u}D(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t,r,n=this;if(!this.source)return"";var i=this.source;null==e&&(e=tX.isColorSupported),tQ&&e&&(i=tQ(i));var o=i.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),u=String(a).length;if(e){var c=tX.createColors(!0),l=c.bold,h=c.gray,p=c.red;t=function(e){return l(p(e))},r=function(e){return h(e)}}else t=r=function(e){return e};return o.slice(s,a).map(function(e,i){var o=s+1+i,a=" "+(" "+o).slice(-u)+" | ";if(o===n.line){var c=r(a.replace(/\d/g," "))+e.slice(0,n.column-1).replace(/[^\t]/g," ");return t(">")+r(a)+e+"\n "+c+t("^")}return" "+r(a)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(q(Error));t0.default=t0;var t1={};t1.isClean=Symbol("isClean"),t1.my=Symbol("my");var t2={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1},t3=function(){function e(e){this.builder=e}var t=e.prototype;
1return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.beforeAfter=function(e,t){r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var r,n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var s=0;s<i;s++)r+=o}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){if(r||(r=t),t&&void 0!==(i=e.raws[t]))return i;var n,i,o=e.parent;if("before"===r&&(!o||"root"===o.type&&o.first===e||o&&"document"===o.type))return"";if(!o)return t2[r];var s=e.root();if(s.rawCache||(s.rawCache={}),void 0!==s.rawCache[r])return s.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var a="raw"+((n=r)[0].toUpperCase()+n.slice(1));return this[a]?i=this[a](s,e):s.walk(function(e){if(void 0!==(i=e.raws[t]))return!1}),void 0===i&&(i=t2[r]),s.rawCache[r]=i,i},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t},t.rawIndent=function(e){var t;return e.raws.indent?e.raws.indent:(e.walk(function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}}),t)},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}();function t4(e,t){new t3(t).stringify(e)}t3.default=t3,t4.default=t4;var t5=t1.isClean,t6=t1.my,t8=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[t5]=!1,this[t6]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=W(e[t]);!(r=n()).done;){var i=r.value;"function"==typeof i.clone?this.append(i.clone()):this.append(i)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=function e(t,r){var n=new t.constructor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&"proxyCache"!==i){var o=t[i],s=void 0===o?"undefined":B(o);"parent"===i&&"object"===s?r&&(n[i]=r):"source"===i?n[i]=o:Array.isArray(o)?n[i]=o.map(function(t){return e(t,n)}):("object"===s&&null!==o&&(o=e(o)),n[i]=o)}return n}(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,i=r.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new t0(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,("prop"===t||"value"===t||"name"===t||"params"===t||"important"===t||"text"===t)&&e.markDirty(),!0)}}},t.markDirty=function(){if(this[t5]){this[t5]=!1;for(var e=this;e=e.parent;)e[t5]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);
1else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,i=this.source.start.line,o=0;o<e;o++)"\n"===r[o]?(n=1,i+=1):n+=1;return{column:n,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return new t3().raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,i=this,o=!1,s=W(t);!(n=s()).done;){var a=n.value;a===this?o=!0:o?(this.parent.insertAfter(i,a),i=a):this.parent.insertBefore(i,a)}o||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var i=0;for(var o in this)if(Object.prototype.hasOwnProperty.call(this,o)&&"parent"!==o&&"proxyCache"!==o){var s=this[o];if(Array.isArray(s))r[o]=s.map(function(e){return(void 0===e?"undefined":B(e))==="object"&&e.toJSON?e.toJSON(null,t):e});else if((void 0===s?"undefined":B(s))==="object"&&s.toJSON)r[o]=s.toJSON(null,t);else if("source"===o){var a=t.get(s.input);null==a&&(a=i,t.set(s.input,i),i++),r[o]={end:s.end,inputId:a,start:s.start}}else r[o]=s}return n&&(r.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=t4),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,r){var n={node:this};for(var i in r)n[i]=r[i];return e.warn(t,n)},P(e,[{key:"proxyOf",get:function(){return this}}]),e}();t8.default=t8;var t9=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=N({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return D(t,e),P(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(t8);t9.default=t9;var t7=tQ.SourceMapConsumer,re=tQ.SourceMapGenerator,rt=tQ.existsSync,rr=tQ.readFileSync,rn=tQ.dirname,ri=tQ.join,ro=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=rn(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new t7(this.text)),this.consumerCache},t.decodeInline=function(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e)){var t;return t=e.substr(RegExp.lastMatch.length),S?S.from(t,"base64").toString():window.atob(t)}throw Error("Unsupported source map encoding "+e.match(/data:application\/json;([^,]+),/)[1])},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return(void 0===e?"undefined":B(e))==="object"&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
1if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=rn(e),rt(e))return this.mapFile=e,rr(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"==typeof t){var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw Error("Unable to load previous source map: "+r.toString());return n}}else if(F(t,t7))return re.fromSourceMap(t).toString();else if(F(t,re))return t.toString();else if(this.isMap(t))return JSON.stringify(t);else throw Error("Unsupported previous source map format: "+t.toString())}else if(this.inline)return this.decodeInline(this.annotation);else if(this.annotation){var i=this.annotation;return e&&(i=ri(rn(e),i)),this.loadFile(i)}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}();ro.default=ro;var rs=tQ.SourceMapConsumer,ra=tQ.SourceMapGenerator,ru=tQ.fileURLToPath,rc=tQ.pathToFileURL,rl=tQ.isAbsolute,rh=tQ.resolve,rp=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t}
1,rf=Symbol("fromOffsetCache"),rd=!!(rs&&ra),rg=!!(rh&&rl),rm=function(){function e(e,t){if(void 0===t&&(t={}),null==e||(void 0===e?"undefined":B(e))==="object"&&!e.toString)throw Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\uFEFF"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!rg||/^\w+:\/\//.test(t.from)||rl(t.from)?this.file=t.from:this.file=rh(t.from)),rg&&rd){var r=new ro(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+rp(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){if(void 0===n&&(n={}),t&&(void 0===t?"undefined":B(t))==="object"){var i,o,s,a=t,u=r;if("number"==typeof a.offset){var c=this.fromOffset(a.offset);t=c.line,r=c.col}else t=a.line,r=a.column;if("number"==typeof u.offset){var l=this.fromOffset(u.offset);o=l.line,s=l.col}else o=u.line,s=u.column}else if(!r){var h=this.fromOffset(t);t=h.line,r=h.col}var p=this.origin(t,r,o,s);return(i=p?new t0(e,void 0===p.endLine?p.line:{column:p.column,line:p.line},void 0===p.endLine?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,n.plugin):new t0(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:s,line:o},this.css,this.file,n.plugin)).input={column:r,endColumn:s,endLine:o,line:t,source:this.css},this.file&&(rc&&(i.input.url=rc(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){if(this[rf])a=this[rf];else{var t=this.css.split("\n");a=Array(t.length);for(var r=0,n=0,i=t.length;n<i;n++)a[n]=r,r+=t[n].length+1;this[rf]=a}s=a[a.length-1];var o=0;if(e>=s)o=a.length-1;else for(var s,a,u,c=a.length-2;o<c;)if(e<a[u=o+(c-o>>1)])c=u-1;else if(e>=a[u+1])o=u+1;else{o=u;break}return{col:e-a[o]+1,line:o+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:rh(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var i,o,s=this.map.consumer(),a=s.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"==typeof r&&(i=s.originalPositionFor({column:n,line:r})),o=rl(a.source)?rc(a.source):new URL(a.source,this.map.consumer().sourceRoot||rc(this.map.mapFile));var u={column:a.column,endColumn:i&&i.column,endLine:i&&i.line,line:a.line,url:o.toString()};if("file:"===o.protocol){if(ru)u.file=ru(o);else throw Error("file: protocol is not available in this PostCSS build")}var c=s.sourceContentFor(a.source);return c&&(u.source=c),u},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=N({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},P(e,[{key:"from",get:function(){return this.file||this.id}}]),e}();rm.default=rm,tQ&&tQ.registerInput&&tQ.registerInput(rm);var rv=tQ.SourceMapConsumer,ry=tQ.SourceMapGenerator,r_=tQ.dirname,rb=tQ.relative,rw=tQ.resolve,rS=tQ.sep,rk=tQ.pathToFileURL,rC=!!(rv&&ry),rx=!!(r_&&rw&&rb&&rS),rE=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var e,t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=W(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||r_(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new rv(r.text)).sourcesContent&&(o.sourcesContent=null):o=r.consumer(),this.map.applySourceMap(o,n,this.toUrl(this.path(i)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation){if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}},t.generate=function(){if(this.clearAnnotation(),rx&&rC&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=ry.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new ry({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]},t.generateString=function(){var e,t,r=this;this.css="",this.map=new ry({file:this.outputFile(),ignoreInvalidMapping:!0});var n=1,i=1,o="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(a,u,c){if(r.css+=a,u&&"end"!==c&&(s.generated.line=n,s.generated.column=i-1,u.source&&u.source.start?(s.source=r.sourcePath(u),s.original.line=u.source.start.line,s.original.column=u.source.start.column-1):(s.source=o,s.original.line=1,s.original.column=0),r.map.addMapping(s)),(e=a.match(/\n/g))?(n+=e.length,t=a.lastIndexOf("\n"),i=a.length-t):i+=a.length,u&&"start"!==c){var l=u.parent||{raws:{}};(!("decl"===u.type||"atrule"===u.type&&!u.nodes)||u!==l.last||l.raws.semicolon)&&(u.source&&u.source.end?(s.source=r.sourcePath(u),s.original.line=u.source.end.line,s.original.column=u.source.end.column-1,s.generated.line=n,s.generated.column=i-2):(s.source=o,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=i-1),r.map.addMapping(s))}})},t.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute||60===e.charCodeAt(0)||/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?r_(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=r_(rw(r,this.mapOpts.annotation)));var n=rb(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps){if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}});else{var t=new rm(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var i=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.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))},t.toBase64=function(e){return S?S.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(rk){var r=rk(e).toString();return this.memoizedFileURLs.set(e,r),r}throw Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===rS&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),rO=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return D(t,e),t}(t8);rO.default=rO;var rI=t1.isClean,rR=t1.my,rA=function(e){function t(){return e.apply(this,arguments)||this}D(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=W(t);!(n=i()).done;)for(var o,s=n.value,a=this.normalize(s,this.last),u=W(a);!(o=u()).done;){var c=o.value;this.proxyOf.nodes.push(c)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=W(this.nodes);!(r=n()).done;)r.value.cleanRaws(t)},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){if("proxyOf"===t)return e;if(!e[t])return e[t];if("each"===t||"string"==typeof t&&t.startsWith("walk"))return function(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return e[t].apply(e,[].concat(n.map(function(e){return"function"==typeof e?function(t,r){return e(t.toProxy(),r)}:e})))};if("every"===t||"some"===t)return function(r){return e[t](function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return r.apply(void 0,[].concat([e.toProxy()],n))})};if("root"===t)return function(){return e.root().toProxy()};
1if("nodes"===t)return e.nodes.map(function(e){return e.toProxy()});if("first"===t||"last"===t)return e[t].toProxy();else return e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,("name"===t||"params"===t||"selector"===t)&&e.markDirty(),!0)}}},r.index=function(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var o,s=W(i);!(o=s()).done;){var a=o.value;this.proxyOf.nodes.splice(n+1,0,a)}for(var u in this.indexes)n<(r=this.indexes[u])&&(this.indexes[u]=r+i.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),i=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(var s,a=W(o);!(s=a()).done;){var u=s.value;this.proxyOf.nodes.splice(n,0,u)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+o.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"==typeof e)e=function e(t){return t.map(function(t){return t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t})}(st(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e)){e=e.slice(0);for(var i,o=W(e);!(i=o()).done;){var s=i.value;s.parent&&s.parent.removeChild(s,"ignore")}}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(var a,u=W(e);!(a=u()).done;){var c=a.value;c.parent&&c.parent.removeChild(c,"ignore")}}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new t9(e)]}else if(e.selector)e=[new sr(e)];else if(e.name)e=[new sn(e)];else if(e.text)e=[new rO(e)];else throw Error("Unknown node type in node creation");return e.map(function(e){return e[rR]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[rI]&&function e(t){if(t[rI]=!1,t.proxyOf.nodes)for(var r,n=W(t.proxyOf.nodes);!(r=n()).done;)e(r.value)}(e),void 0===e.raws.before&&r&&void 0!==r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e})},r.prepend=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];t=t.reverse();for(var n,i=W(t);!(n=i()).done;){for(var o,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),u=W(a);!(o=u()).done;){var c=o.value;this.proxyOf.nodes.unshift(c)}for(var l in this.indexes)this.indexes[l]=this.indexes[l]+a.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=W(this.proxyOf.nodes);!(e=t()).done;)e.value.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls(function(n){(!t.props||t.props.includes(n.prop))&&(!t.fast||n.value.includes(t.fast))&&(n.value=n.value.replace(e,r))}),this.markDirty(),this},r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each(function(t,r){var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n})},r.walkAtRules=function(e,t){return t?F(e,RegExp)?this.walk(function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk(function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("atrule"===e.type)return t(e,r)}))},r.walkComments=function(e){return this.walk(function(t,r){if("comment"===t.type)return e(t,r)})},r.walkDecls=function(e,t){return t?F(e,RegExp)?this.walk(function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk(function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("decl"===e.type)return t(e,r)}))},r.walkRules=function(e,t){return t?F(e,RegExp)?this.walk(function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk(function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("rule"===e.type)return t(e,r)}))},P(t,[{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]}}]),t}(t8);rA.registerParse=function(e){st=e},rA.registerRule=function(e){sr=e},rA.registerAtRule=function(e){sn=e},rA.registerRoot=function(e){si=e},rA.default=rA,rA.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,sn.prototype):"rule"===e.type?Object.setPrototypeOf(e,sr.prototype):"decl"===e.type?Object.setPrototypeOf(e,t9.prototype):"comment"===e.type?Object.setPrototypeOf(e,rO.prototype):"root"===e.type&&Object.setPrototypeOf(e,si.prototype),e[rR]=!0,e.nodes&&e.nodes.forEac
1h(function(e){rA.rebuild(e)})};var rT=function(e){function t(t){var r;return(r=e.call(this,N({type:"document"},t))||this).nodes||(r.nodes=[]),r}return D(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new so(new ss,this,e).stringify()},t}(rA);rT.registerLazyResult=function(e){so=e},rT.registerProcessor=function(e){ss=e},rT.default=rT;var rM=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}();rM.default=rM;var rP=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),!t.plugin&&this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new rM(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},P(e,[{key:"content",get:function(){return this.css}}]),e}();rP.default=rP;var rN=/[\t\n\f\r "#'()/;[\\\]{}]/g,rL=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,rD=/.[\r\n"'(/\\]/,rF=/[\da-f]/i,rU=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}D(t,e);var r=t.prototype;return r.append=function(){for(var t,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return this.proxyOf.nodes||(this.nodes=[]),(t=e.prototype.append).call.apply(t,[].concat([this],n))},r.prepend=function(){for(var t,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return this.proxyOf.nodes||(this.nodes=[]),(t=e.prototype.prepend).call.apply(t,[].concat([this],n))},t}(rA);rU.default=rU,rA.registerAtRule(rU);var rj=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}D(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var i=e.prototype.normalize.call(this,t);if(r){if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var o,s=W(i);!(o=s()).done;)o.value.raws.before=r.raws.before}return i},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new sa(new su,this,e).stringify()},t}(rA);rj.registerLazyResult=function(e){sa=e},rj.registerProcessor=function(e){su=e},rj.default=rj,rA.registerRoot(rj);var rB={comma:function(e){return rB.split(e,[","],!0)},space:function(e){return rB.split(e,[" ","\n"," "])},split:function(e,t,r){for(var n,i=[],o="",s=!1,a=0,u=!1,c="",l=!1,h=W(e);!(n=h()).done;){var p=n.value;l?l=!1:"\\"===p?l=!0:u?p===c&&(u=!1):'"'===p||"'"===p?(u=!0,c=p):"("===p?a+=1:")"===p?a>0&&(a-=1):0===a&&t.includes(p)&&(s=!0),s?(""!==o&&i.push(o.trim()),o="",s=!1):o+=p}return(r||""!==o)&&i.push(o.trim()),i}};rB.default=rB;var rq=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return D(t,e),P(t,[{key:"selectors",get:function(){return rB.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(rA);rq.default=rq,rA.registerRule(rq);var rz=function(e,t){void 0===t&&(t={});var r,n,i,o,s,a,u,c,l,h,p=e.css.valueOf(),f=t.ignoreErrors,d=p.length,g=0,m=[],v=[];function y(t){throw e.error("Unclosed "+t,g)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&g>=d},nextToken:function(e){if(v.length)return v.pop();if(!(g>=d)){var t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(g)){case 10:case 32:case 9:case 13:case 12:n=g;do n+=1,r=p.charCodeAt(n);while(32===r||10===r||9===r||13===r||12===r);h=["space",p.slice(g,n)],g=n-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:var _=String.fromCharCode(r);h=[_,_,g];break;
1case 40:if(c=m.length?m.pop()[1]:"",l=p.charCodeAt(g+1),"url"===c&&39!==l&&34!==l&&32!==l&&10!==l&&9!==l&&12!==l&&13!==l){n=g;do{if(a=!1,-1===(n=p.indexOf(")",n+1))){if(f||t){n=g;break}y("bracket")}for(u=n;92===p.charCodeAt(u-1);)u-=1,a=!a}while(a);h=["brackets",p.slice(g,n+1),g,n],g=n}else n=p.indexOf(")",g+1),o=p.slice(g,n+1),-1===n||rD.test(o)?h=["(","(",g]:(h=["brackets",o,g,n],g=n);break;case 39:case 34:i=39===r?"'":'"',n=g;do{if(a=!1,-1===(n=p.indexOf(i,n+1))){if(f||t){n=g+1;break}y("string")}for(u=n;92===p.charCodeAt(u-1);)u-=1,a=!a}while(a);h=["string",p.slice(g,n+1),g,n],g=n;break;case 64:rN.lastIndex=g+1,rN.test(p),n=0===rN.lastIndex?p.length-1:rN.lastIndex-2,h=["at-word",p.slice(g,n+1),g,n],g=n;break;case 92:for(n=g,s=!0;92===p.charCodeAt(n+1);)n+=1,s=!s;if(r=p.charCodeAt(n+1),s&&47!==r&&32!==r&&10!==r&&9!==r&&13!==r&&12!==r&&(n+=1,rF.test(p.charAt(n)))){for(;rF.test(p.charAt(n+1));)n+=1;32===p.charCodeAt(n+1)&&(n+=1)}h=["word",p.slice(g,n+1),g,n],g=n;break;default:47===r&&42===p.charCodeAt(g+1)?(0===(n=p.indexOf("*/",g+2)+1)&&(f||t?n=p.length:y("comment")),h=["comment",p.slice(g,n+1),g,n]):(rL.lastIndex=g+1,rL.test(p),n=0===rL.lastIndex?p.length-1:rL.lastIndex-2,h=["word",p.slice(g,n+1),g,n],m.push(h)),g=n}return g++,h}},position:function(){return g}}},rW={empty:!0,space:!0},rV=function(){function e(e){this.input=e,this.root=new rj,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,i=new rU;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,s=!1,a=[],u=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?u.push("("===t?")":"]"):"{"===t&&u.length>0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(a.length>0){for(n=a.length-1,r=a[n];r&&"space"===r[0];)r=a[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]),i.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(i.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(i,"params",a),o&&(e=a[a.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)},t.checkMissedSemicolon=function(e){var t,r=this.colon(e);if(!1!==r){for(var n=0,i=r-1;i>=0&&("space"===(t=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===t[0]?t[3]+1:t[2])}},t.colon=function(e){for(var t,r,n,i=0,o=W(e.entries());!(n=o()).done;){var s=n.value,a=s[0],u=s[1];if("("===(t=u[0])&&(i+=1),")"===t&&(i-=1),0===i&&":"===t){if(r){if("word"===r[0]&&"progid"===r[1])continue;return a}this.doubleColon(u)}r=u}return!1},t.comment=function(e){var t=new rO;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=rz(this.input)},t.decl=function(e,t){var r,n,i=new t9;this.init(i,e[0][2]);var o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),i.source.end=this.getPosition(o[3]||o[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),i.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),i.raws.before+=e.shift()[1];for(i.source.start=this.getPosition(e[0][2]),i.prop="";e.length;){var s=e[0][0];if(":"===s||"space"===s||"comment"===s)break;i.prop+=e.shift()[1]}for(i.raws.between="";e.length;){if(":"===(r=e.shift())[0]){i.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),i.raws.between+=r[1]}("_"===i.prop[0]||"*"===i.prop[0])&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));for(var a=[];
1e.length&&("space"===(n=e[0][0])||"comment"===n);)a.push(e.shift());this.precheckMissedSemicolon(e);for(var u=e.length-1;u>=0;u--){if("!important"===(r=e[u])[1].toLowerCase()){i.important=!0;var c=this.stringFrom(e,u);" !important"!==(c=this.spacesFromEnd(e)+c)&&(i.raws.important=c);break}if("important"===r[1].toLowerCase()){for(var l=e.slice(0),h="",p=u;p>0;p--){var f=l[p][0];if(0===h.trim().indexOf("!")&&"space"!==f)break;h=l.pop()[1]+h}0===h.trim().indexOf("!")&&(i.important=!0,i.raws.important=h,e=l)}if("space"!==r[0]&&"comment"!==r[0])break}e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]})&&(i.raws.between+=a.map(function(e){return e[1]}).join(""),a=[]),this.raw(i,"value",a.concat(e),t),i.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new rq;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.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)},t.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())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],u=e;u;){if(r=u[0],a.push(u),"("===r||"["===r)i||(i=u),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=u),o.push("}");else if(0===o.length){if(";"===r){if(n){this.decl(a,s);return}break}if("{"===r){this.rule(a);return}if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;a.length&&("space"===(u=a[a.length-1][0])||"comment"===u);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[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)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var i,o,s,a,u=r.length,c="",l=!0,h=0;h<u;h+=1)"space"!==(o=(i=r[h])[0])||h!==u-1||n?"comment"===o?(a=r[h-1]?r[h-1][0]:"empty",s=r[h+1]?r[h+1][0]:"empty",rW[a]||rW[s]?l=!1:","===c.slice(-1)?l=!1:c+=i[1]):c+=i[1]:l=!1;if(!l){var p=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:p,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new rq;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}();function r$(e,t){var r=new rV(new rm(e,t));try{r.parse()}catch(e){throw e}return r.root}r$.default=r$,rA.registerParse(r$);var rH=t1.isClean,rG=t1.my,rJ={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},rY={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},rZ={Once:!0,postcssPlugin:!0,prepare:!0};function rK(e){return(void 0===e?"undefined":B(e))==="object"&&"function"==typeof e.then}function rX(e){var t=!1,r=rJ[e.type];return("decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append)?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function rQ(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:rX(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}
1function r0(e){return e[rH]=!1,e.nodes&&e.nodes.forEach(function(e){return r0(e)}),e}var r1={},r2=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,(void 0===r?"undefined":B(r))==="object"&&null!==r&&("root"===r.type||"document"===r.type))i=r0(r);else if(F(r,e)||F(r,rP))i=r0(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var s=r$;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(e){this.processed=!0,this.error=e}i&&!i[rG]&&rA.rebuild(i)}this.result=new rP(t,i,n),this.helpers=N({},r1,{postcss:r1,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return(void 0===e?"undefined":B(e))==="object"&&e.prepare?N({},e,e.prepare(o.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=W(this.plugins);!(t=n()).done;){var i=t.value;if((void 0===i?"undefined":B(i))==="object")for(var o in i){if(!rY[o]&&/^[A-Z]/.test(o))throw Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!rZ[o]){if("object"===B(i[o]))for(var s in i[o])r(i,"*"===s?o:o+"-"+s.toLowerCase(),i[o][s]);else"function"==typeof i[o]&&r(i,o,i[o])}}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return T(function(){var t,r,n,i,o,s,a,u,c,l,h,p;return V(this,function(f){switch(f.label){case 0:e.plugin=0,t=0,f.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!rK(n=e.runOnRoot(r)))return[3,5];f.label=2;case 2:return f.trys.push([2,4,,5]),[4,n];case 3:return f.sent(),[3,5];case 4:throw i=f.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];o=e.result.root,f.label=7;case 7:if(o[rH])return[3,14];o[rH]=!0,s=[rQ(o)],f.label=8;case 8:if(!(s.length>0))return[3,13];if(!rK(a=e.visitTick(s)))return[3,12];f.label=9;case 9:return f.trys.push([9,11,,12]),[4,a];case 10:return f.sent(),[3,12];case 11:throw u=f.sent(),c=s[s.length-1].node,e.handleError(u,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];l=function(){var t,r,n,i;return V(this,function(s){switch(s.label){case 0:r=(t=p.value)[0],n=t[1],e.result.lastPlugin=r,s.label=1;case 1:if(s.trys.push([1,6,,7]),"document"!==o.type)return[3,3];return[4,Promise.all(o.nodes.map(function(t){return n(t,e.helpers)}))];case 2:return s.sent(),[3,5];case 3:return[4,n(o,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw i=s.sent(),e.handleError(i);case 7:return[2]}})},h=W(e.listeners.OnceExit),f.label=15;case 15:if((p=h()).done)return[3,18];return[5,$(l())];case 16:f.sent(),f.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if((void 0===e?"undefined":B(e))==="object"&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map(function(r){return e.Once(r,t.helpers)});if(rK(r[0]))return Promise.all(r);return r}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=t4;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new rE(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();
1for(var e,t=W(this.plugins);!(e=t()).done;){var r=e.value;if(rK(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[rH];)n[rH]=!0,this.walkSync(n);if(this.listeners.OnceExit){if("document"===n.type)for(var i,o=W(n.nodes);!(i=o()).done;){var s=i.value;this.visitSync(this.listeners.OnceExit,s)}else this.visitSync(this.listeners.OnceExit,n)}}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=W(e);!(r=n()).done;){var i=r.value,o=i[0],s=i[1];this.result.lastPlugin=o;var a=void 0;try{a=s(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(rK(a))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"!==r.type&&"document"!==r.type&&!r.parent){e.pop();return}if(n.length>0&&t.visitorIndex<n.length){var i=n[t.visitorIndex],o=i[0],s=i[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return s(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var a,u=t.iterator;a=r.nodes[r.indexes[u]];)if(r.indexes[u]+=1,!a[rH]){a[rH]=!0,e.push(rQ(a));return}t.iterator=0,delete r.indexes[u]}for(var c=t.events;t.eventIndex<c.length;){var l=c[t.eventIndex];if(t.eventIndex+=1,0===l){r.nodes&&r.nodes.length&&(r[rH]=!0,t.iterator=r.getIterator());return}if(this.listeners[l]){t.visitors=this.listeners[l];return}}e.pop()},t.walkSync=function(e){var t=this;e[rH]=!0;for(var r,n=rX(e),i=W(n);!(r=i()).done;){var o=r.value;if(0===o)e.nodes&&e.each(function(e){e[rH]||t.walkSync(e)});else{var s=this.listeners[o];if(s&&this.visitSync(s,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},P(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();r2.registerPostcss=function(e){r1=e},r2.default=r2,rj.registerLazyResult(r2),rT.registerLazyResult(r2);var r3=function(){function e(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0,this.result=new rP(this._processor,n,this._opts),this.result.css=t;var n,i=this;Object.defineProperty(this.result,"root",{get:function(){return i.root}});var o=new rE(t4,n,this._opts,t);if(o.isMap()){var s=o.generate(),a=s[0],u=s[1];a&&(this.result.css=a),u&&(this.result.map=u)}else o.clearAnnotation(),this.result.css=o.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},P(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){var e;if(this._root)return this._root;try{e=r$(this._css,this._opts)}catch(e){this.error=e}if(!this.error)return this._root=e,e;throw this.error}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}();r3.default=r3;var r4=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=W(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),(void 0===i?"undefined":B(i))==="object"&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if((void 0===i?"undefined":B(i))==="object"&&i.postcssPlugin)r.push(i);else if("function"==typeof i)r.push(i);else if((void 0===i?"undefined":B(i))==="object"&&(i.parse||i.stringify));else throw Error(i+" is not a PostCSS plugin")}return r},t.process=function(e,t){return(void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax)?new r2(this,e,t):new r3(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}();function r5(e,t){if(Array.isArray(e))return e.map(function(e){return r5(e)});
1var r=e.inputs,n=U(e,["inputs"]);if(r){t=[];for(var i,o=W(r);!(i=o()).done;){var s=i.value,a=N({},s,{__proto__:rm.prototype});a.map&&(a.map=N({},a.map,{__proto__:ro.prototype})),t.push(a)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return r5(e,t)})),n.source){var u=n.source,c=u.inputId,l=U(u,["inputId"]);n.source=l,null!=c&&(n.source.input=t[c])}if("root"===n.type)return new rj(n);if("decl"===n.type)return new t9(n);if("rule"===n.type)return new rq(n);if("comment"===n.type)return new rO(n);if("atrule"===n.type)return new rU(n);throw Error("Unknown node type: "+e.type)}function r6(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new r4(t)}r4.default=r4,rj.registerProcessor(r4),rT.registerProcessor(r4),r5.default=r5,r6.plugin=function(e,t){var r,n=!1;function i(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),k.env.LANG&&k.env.LANG.startsWith("cn")&&console.warn(e+": éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(i));return s.postcssPlugin=e,s.postcssVersion=new r4().version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return r6([i(r)]).process(e,t)},i},r6.stringify=t4,r6.parse=r$,r6.fromJSON=r5,r6.list=rB,r6.comment=function(e){return new rO(e)},r6.atRule=function(e){return new rU(e)},r6.decl=function(e){return new t9(e)},r6.rule=function(e){return new rq(e)},r6.root=function(e){return new rj(e)},r6.document=function(e){return new rT(e)},r6.CssSyntaxError=t0,r6.Declaration=t9,r6.Container=rA,r6.Processor=r4,r6.Document=rT,r6.Comment=rO,r6.Warning=rM,r6.AtRule=rU,r6.Result=rP,r6.Input=rm,r6.Rule=rq,r6.Root=rj,r6.Node=t8,r2.registerPostcss(r6),r6.default=r6;var r8=r6&&r6.__esModule&&Object.prototype.hasOwnProperty.call(r6,"default")?r6.default:r6;r8.stringify,r8.fromJSON,r8.plugin,r8.parse,r8.list,r8.document,r8.comment,r8.atRule,r8.rule,r8.decl,r8.root,r8.CssSyntaxError,r8.Declaration,r8.Container,r8.Processor,r8.Document,r8.Comment,r8.Warning,r8.AtRule,r8.Result,r8.Input,r8.Rule,r8.Root,r8.Node;var r9=function(){function e(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];tJ(this,"parentElement",null),tJ(this,"parentNode",null),tJ(this,"ownerDocument"),tJ(this,"firstChild",null),tJ(this,"lastChild",null),tJ(this,"previousSibling",null),tJ(this,"nextSibling",null),tJ(this,"ELEMENT_NODE",1),tJ(this,"TEXT_NODE",3),tJ(this,"nodeType"),tJ(this,"nodeName"),tJ(this,"RRNodeType")}var t=e.prototype;return t.contains=function(t){if(!F(t,e)||t.ownerDocument!==this.ownerDocument)return!1;if(t===this)return!0;for(;t.parentNode;){if(t.parentNode===this)return!0;t=t.parentNode}return!1},t.appendChild=function(e){throw Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")},t.insertBefore=function(e,t){throw Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")},t.removeChild=function(e){throw Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")},t.toString=function(){return"RRNode"},P(e,[{key:"childNodes",get:function(){for(var e=[],t=this.firstChild;t;)e.push(t),t=t.nextSibling;return e}}]),e}(),r7={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},ne={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},nt={};function nr(e){if(nt[e])return nt[e];var t=globalThis[e],r=t.prototype,n=e in r7?r7[e]:void 0,i=!!(n&&n.every(function(e){var t,n;return!!(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))})),o=e in ne?ne[e]:void 0,s=!!(o&&o.every(function(e){var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(i&&s&&!globalThis.Zone)return nt[e]=t.prototype,t.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return t.prototype;var c=u[e].prototype;if(document.body.removeChild(a),!c)return r;return nt[e]=c}catch(e){return r}}var nn={};function ni(e,t,r){var n,i=e+"."+String(r);if(nn[i])return nn[i].call(t);var o=null==(n=Object.getOwnPropertyDescriptor(nr(e),r))?void 0:n.get;return o?(nn[i]=o,o.call(t)):t[r]}var no={};function ns(e,t,r){var n=e+"."+String(r);if(no[n])return no[n].bind(t);var i=nr(e)[r];return"function"!=typeof i?t[r]:(no[n]=i,i.bind(t))}function na(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(e){return function(){}}}var nu={childNodes:function(e){return ni("Node",e,"childNodes")},parentNode:function(e){return ni("Node",e,"parentNode")},parentElement:function(e){return ni("Node",e,"parentElement")},textContent:function(e){return ni("Node",e,"textContent")},contains:function(e,t){return ns("Node",e,"contains")(t)},getRootNode:function(e){return ns("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?ni("ShadowRoot",e,"host"):null},shadowRoot:function(e){return e&&"shadowRoot"in e?ni("Element",e,"shadowRoot"):null}};function nc(e,t,r){void 0===r&&(r=document);var n={capture:!0,passive:!0};return r.addEventListener(e,t,n),function(){return r.removeEventListener(e,t,n)}}var nl="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",nh={map:{},getId:function(){return console.error(nl),-1},getNode:function(){return console.error(nl),null},removeNodeFromMap:function(){console.error(nl)},has:function(){return console.error(nl),!1},reset:function(){console.error(nl)}};function np(e,t,r){void 0===r&&(r={});var n=null,i=0;return function(){for(var o=arguments.length,s=Array(o),a=0;a<o;a++)s[a]=arguments[a];var u=Date.now();i||!1!==r.leading||(i=u);var c=t-(u-i),l=this;c<=0||c>t?(n&&(clearTimeout(n),n=null),i=u,e.apply(l,s)):n||!1===r.trailing||(n=setTimeout(function(){i=!1===r.leading?0:Date.now(),n=null,e.apply(l,s)},c))}}function nf(e,t,r,n,i){void 0===i&&(i=window);var o=i.Object.getOwnPropertyDescriptor(e,t);
1return i.Object.defineProperty(e,t,n?r:{set:function(e){var t=this;setTimeout(function(){r.set.call(t,e)},0),o&&o.set&&o.set.call(this,e)}}),function(){return nf(e,t,o||{},!0)}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(nh=new Proxy(nh,{get:function(e,t,r){return"map"===t&&console.error(nl),Reflect.get(e,t,r)}}));var nd=Date.now;function ng(e){var t,r,n,i,o=e.document;return{left:o.scrollingElement?o.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:o.documentElement.scrollLeft||(null==o?void 0:o.body)&&(null==(t=nu.parentElement(o.body))?void 0:t.scrollLeft)||(null==(r=null==o?void 0:o.body)?void 0:r.scrollLeft)||0,top:o.scrollingElement?o.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==o?void 0:o.documentElement.scrollTop)||(null==o?void 0:o.body)&&(null==(n=nu.parentElement(o.body))?void 0:n.scrollTop)||(null==(i=null==o?void 0:o.body)?void 0:i.scrollTop)||0}}function nm(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function nv(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function ny(e){return e?e.nodeType===e.ELEMENT_NODE?e:nu.parentElement(e):null}function n_(e,t,r,n){if(!e)return!1;var i=ny(e);if(!i)return!1;try{if("string"==typeof t){if(i.classList.contains(t)||n&&null!==i.closest("."+t))return!0}else if(eA(i,t,n))return!0}catch(e){}return!!(r&&(i.matches(r)||n&&null!==i.closest(r)))}function nb(e,t,r){return"TITLE"===e.tagName&&!!r.headTitleMutations||-2===t.getId(e)}function nw(e){return!!e.changedTouches}function nS(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function nk(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function nC(e){return!!e&&(F(e,r9)&&"shadowRoot"in e?!!e.shadowRoot:!!nu.shadowRoot(e))}/[1-9][0-9]{12}/.test(Date.now().toString())||(nd=function(){return new Date().getTime()});var nx=function(){function e(){G(this,"id",1),G(this,"styleIDMap",new WeakMap),G(this,"idStyleMap",new Map)}var t=e.prototype;return t.getId=function(e){var t;return null!=(t=this.styleIDMap.get(e))?t:-1},t.has=function(e){return this.styleIDMap.has(e)},t.add=function(e,t){var r;return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r)},t.getStyle=function(e){return this.idStyleMap.get(e)||null},t.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},t.generateId=function(){return this.id++},t.remove=function(e){var t=this.styleIDMap.get(e);return void 0!==t&&(this.styleIDMap.delete(e),this.idStyleMap.delete(t),!0)},e}();function nE(e){var t,r=null;return"getRootNode"in e&&(null==(t=nu.getRootNode(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&nu.host(nu.getRootNode(e))&&(r=nu.host(nu.getRootNode(e))),r}function nO(e){var t=e.ownerDocument;return!!t&&(nu.contains(t,e)||function(e){var t=e.ownerDocument;if(!t)return!1;var r=function(e){for(var t,r=e;t=nE(r);)r=t;return r}(e);return nu.contains(t,r)}(e))}var nI=((o$=nI||{})[o$.DomContentLoaded=0]="DomContentLoaded",o$[o$.Load=1]="Load",o$[o$.FullSnapshot=2]="FullSnapshot",o$[o$.IncrementalSnapshot=3]="IncrementalSnapshot",o$[o$.Meta=4]="Meta",o$[o$.Custom=5]="Custom",o$[o$.Plugin=6]="Plugin",o$),nR=((oH=nR||{})[oH.Mutation=0]="Mutation",oH[oH.MouseMove=1]="MouseMove",oH[oH.MouseInteraction=2]="MouseInteraction",oH[oH.Scroll=3]="Scroll",oH[oH.ViewportResize=4]="ViewportResize",oH[oH.Input=5]="Input",oH[oH.TouchMove=6]="TouchMove",oH[oH.MediaInteraction=7]="MediaInteraction",oH[oH.StyleSheetRule=8]="StyleSheetRule",oH[oH.CanvasMutation=9]="CanvasMutation",oH[oH.Font=10]="Font",oH[oH.Log=11]="Log",oH[oH.Drag=12]="Drag",oH[oH.StyleDeclaration=13]="StyleDeclaration",oH[oH.Selection=14]="Selection",oH[oH.AdoptedStyleSheet=15]="AdoptedStyleSheet",oH[oH.CustomElement=16]="CustomElement",oH),nA=((oG=nA||{})[oG.MouseUp=0]="MouseUp",oG[oG.MouseDown=1]="MouseDown",oG[oG.Click=2]="Click",oG[oG.ContextMenu=3]="ContextMenu",oG[oG.DblClick=4]="DblClick",oG[oG.Focus=5]="Focus",oG[oG.Blur=6]="Blur",oG[oG.TouchStart=7]="TouchStart",oG[oG.TouchMove_Departed=8]="TouchMove_Departed",oG[oG.TouchEnd=9]="TouchEnd",oG[oG.TouchCancel=10]="TouchCancel",oG),nT=((oJ=nT||{})[oJ.Mouse=0]="Mouse",oJ[oJ.Pen=1]="Pen",oJ[oJ.Touch=2]="Touch",oJ),nM=((oY=nM||{})[oY["2D"]=0]="2D",oY[oY.WebGL=1]="WebGL",oY[oY.WebGL2=2]="WebGL2",oY),nP=((oZ=nP||{})[oZ.Play=0]="Play",oZ[oZ.Pause=1]="Pause",oZ[oZ.Seeked=2]="Seeked",oZ[oZ.VolumeChange=3]="VolumeChange",oZ[oZ.RateChange=4]="RateChange",oZ),nN=((oK=nN||{})[oK.Document=0]="Document",oK[oK.DocumentType=1]="DocumentType",oK[oK.Element=2]="Element",oK[oK.Text=3]="Text",oK[oK.CDATA=4]="CDATA",oK[oK.Comment=5]="Comment",oK),nL=function(){function e(){G(this,"length",0),G(this,"head",null),G(this,"tail",null)}var t=e.prototype;return t.get=function(e){if(e>=this.length)throw Error("Position outside of list range");for(var t=this.head,r=0;r<e;r++)t=(null==t?void 0:t.next)||null;return t},t.addNode=function(e){var t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&"__ln"in e.previousSibling){var r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&"__ln"in e.nextSibling&&e.nextSibling.__ln.previous){var n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++},t.removeNode=function(e){var t=e.__ln;
vendor: 5,484 bytes, line 1
1this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)},e}(),nD=function(e,t){return e+"@"+t},nF=function(){function e(){var e=this;G(this,"frozen",!1),G(this,"locked",!1),G(this,"texts",[]),G(this,"attributes",[]),G(this,"attributeMap",new WeakMap),G(this,"removes",[]),G(this,"mapRemoves",[]),G(this,"movedMap",{}),G(this,"addedSet",new Set),G(this,"movedSet",new Set),G(this,"droppedSet",new Set),G(this,"removesSubTreeCache",new Set),G(this,"mutationCb"),G(this,"blockClass"),G(this,"blockSelector"),G(this,"maskTextClass"),G(this,"maskTextSelector"),G(this,"inlineStylesheet"),G(this,"maskInputOptions"),G(this,"maskTextFn"),G(this,"maskInputFn"),G(this,"keepIframeSrcFn"),G(this,"recordCanvas"),G(this,"inlineImages"),G(this,"slimDOMOptions"),G(this,"dataURLOptions"),G(this,"doc"),G(this,"mirror"),G(this,"iframeManager"),G(this,"stylesheetManager"),G(this,"shadowDomManager"),G(this,"canvasManager"),G(this,"processedNodeManager"),G(this,"unattachedDoc"),G(this,"processMutations",function(t){t.forEach(e.processMutation),e.emit()}),G(this,"emit",function(){if(!e.frozen&&!e.locked){for(var t=[],r=new Set,n=new nL,i=function(t){for(var r=t,n=-2;-2===n;)n=(r=r&&r.nextSibling)&&e.mirror.getId(r);return n},o=function(o){var s=nu.parentNode(o);if(s&&nO(o)){var a=!1;if(o.nodeType===Node.TEXT_NODE){var u=s.tagName;if("TEXTAREA"===u)return;"STYLE"===u&&e.addedSet.has(s)&&(a=!0)}var c=ei(s)?e.mirror.getId(nE(o)):e.mirror.getId(s),l=i(o);if(-1===c||-1===l)return n.addNode(o);var h=eP(o,{doc:e.doc,mirror:e.mirror,blockClass:e.blockClass,blockSelector:e.blockSelector,maskTextClass:e.maskTextClass,maskTextSelector:e.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:e.inlineStylesheet,maskInputOptions:e.maskInputOptions,maskTextFn:e.maskTextFn,maskInputFn:e.maskInputFn,slimDOMOptions:e.slimDOMOptions,dataURLOptions:e.dataURLOptions,recordCanvas:e.recordCanvas,inlineImages:e.inlineImages,onSerialize:function(t){nS(t,e.mirror)&&e.iframeManager.addIframe(t),nk(t,e.mirror)&&e.stylesheetManager.trackLinkElement(t),nC(o)&&e.shadowDomManager.addShadowRoot(nu.shadowRoot(o),e.doc)},onIframeLoad:function(t,r){e.iframeManager.attachIframe(t,r),e.shadowDomManager.observeAttachShadow(t)},onStylesheetLoad:function(t,r){e.stylesheetManager.attachLinkElement(t,r)},cssCaptured:a});h&&(t.push({parentId:c,nextId:l,node:h}),r.add(h.id))}};e.mapRemoves.length;){var s=e.mapRemoves.shift();e.cleanupRemovedNode(s),e.mirror.removeNodeFromMap(s)}for(var a,u=W(e.movedSet);!(a=u()).done;){var c=a.value;(!nj(e.removesSubTreeCache,c,e.mirror)||e.movedSet.has(nu.parentNode(c)))&&o(c)}for(var l,h=W(e.addedSet);!(l=h()).done;){var p=l.value;nB(e.droppedSet,p)||nj(e.removesSubTreeCache,p,e.mirror)?nB(e.movedSet,p)?o(p):e.droppedSet.add(p):o(p)}for(var f=null;n.length;){var d=null;if(f){var g=e.mirror.getId(nu.parentNode(f.value)),m=i(f.value);-1!==g&&-1!==m&&(d=f)}if(!d)for(var v=n.tail;v;){var y=v;if(v=v.previous,y){var _=e.mirror.getId(nu.parentNode(y.value));if(-1===i(y.value))continue;if(-1!==_){d=y;break}var b=y.value,w=nu.parentNode(b);if(w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var S=nu.host(w);if(-1!==e.mirror.getId(S)){d=y;break}}}}if(!d){for(;n.head;)n.removeNode(n.head.value);break}f=d.previous,n.removeNode(d.value),o(d.value)}var k={texts:e.texts.map(function(t){var r=t.node,n=nu.parentNode(r);return n&&"TEXTAREA"===n.tagName&&e.genTextAreaValueMutation(n),{id:e.mirror.getId(r),value:t.value}}).filter(function(e){return!r.has(e.id)}).filter(function(t){return e.mirror.has(t.id)}),attributes:e.attributes.map(function(t){var r=t.attributes;if("string"==typeof r.style){var n=JSON.stringify(t.styleDiff),i=JSON.stringify(t._unchangedStyles);n.length<r.style.length&&(n+i).split("var(").length===r.style.split("var(").length&&(r.style=t.styleDiff)}return{id:e.mirror.getId(t.node),attributes:r}}).filter(function(e){return!r.has(e.id)}).filter(function(t){return e.mirror.has(t.id)}),removes:e.removes,adds:t};(k.texts.length||k.attributes.length||k.removes.length||k.adds.length)&&(e.texts=[],e.attributes=[],e.attributeMap=new WeakMap,e.removes=[],e.addedSet=new Set,e.movedSet=new Set,e.droppedSet=new Set,e.removesSubTreeCache=new Set,e.movedMap={},e.mutationCb(k))}}),G(this,"genTextAreaValueMutation",function(t){var r=e.attributeMap.get(t);r||(r={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(r),e.attributeMap.set(t,r));var n=Array.from(nu.childNodes(t),function(e){return nu.textContent(e)||""}).join("");r.attributes.value=ec({element:t,maskInputOptions:e.maskInputOptions,tagName:t.tagName,type:ep(t),value:n,maskInputFn:e.maskInputFn})}),G(this,"processMutation",function(t){if(!nb(t.target,e.mirror,e.slimDOMOptions))switch(t.type){case"characterData":var r=nu.textContent(t.target);n_(t.target,e.blockClass,e.blockSelector,!1)||r===t.oldValue||e.texts.push({value:eT(t.target,e.maskTextClass,e.maskTextSelector,!0)&&r?e.maskTextFn?e.maskTextFn(r,ny(t.target)):r.replace(/[\S]/g,"*"):r,node:t.target});break;case"attributes":var n=t.target,i=t.attributeName,o=t.target.getAttribute(i);if("value"===i||"placeholder"===i){var s=ep(n);o=ec({element:n,maskInputOptions:e.maskInputOptions,tagName:n.tagName,type:s,value:o,maskInputFn:e.maskInputFn})}if(n_(t.target,e.blockClass,e.blockSelector,!1)||o===t.oldValue)return;var a=e.attributeMap.get(t.target);
1if("IFRAME"===n.tagName&&"src"===i&&!e.keepIframeSrcFn(o)){if(n.contentDocument)return;i="rr_src"}if(a||(a={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(a),e.attributeMap.set(t.target,a)),"type"===i&&"INPUT"===n.tagName&&"password"===(t.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!eR(n.tagName,i)){if(a.attributes[i]=eI(e.doc,el(n.tagName),el(i),o),"style"===i){if(!e.unattachedDoc)try{e.unattachedDoc=document.implementation.createHTMLDocument()}catch(t){e.unattachedDoc=e.doc}var u=e.unattachedDoc.createElement("span");t.oldValue&&u.setAttribute("style",t.oldValue);for(var c,l=W(Array.from(n.style));!(c=l()).done;){var h=c.value,p=n.style.getPropertyValue(h),f=n.style.getPropertyPriority(h);p!==u.style.getPropertyValue(h)||f!==u.style.getPropertyPriority(h)?""===f?a.styleDiff[h]=p:a.styleDiff[h]=[p,f]:a._unchangedStyles[h]=[p,f]}for(var d,g=W(Array.from(u.style));!(d=g()).done;){var m=d.value;""===n.style.getPropertyValue(m)&&(a.styleDiff[m]=!1)}}else"open"===i&&"DIALOG"===n.tagName&&(n.matches("dialog:modal")?a.attributes.rr_open_mode="modal":a.attributes.rr_open_mode="non-modal")}break;case"childList":if(n_(t.target,e.blockClass,e.blockSelector,!0))return;if("TEXTAREA"===t.target.tagName){e.genTextAreaValueMutation(t.target);return}t.addedNodes.forEach(function(r){return e.genAdds(r,t.target)}),t.removedNodes.forEach(function(r){var n=e.mirror.getId(r),i=ei(t.target)?e.mirror.getId(nu.host(t.target)):e.mirror.getId(t.target);n_(t.target,e.blockClass,e.blockSelector,!1)||nb(r,e.mirror,e.slimDOMOptions)||-1===e.mirror.getId(r)||(e.addedSet.has(r)?(nU(e.addedSet,r),e.droppedSet.add(r)):e.addedSet.has(t.target)&&-1===n||function e(t,r){if(ei(t))return!1;var n=r.getId(t);if(!r.has(n))return!0;var i=nu.parentNode(t);return(!i||i.nodeType!==t.DOCUMENT_NODE)&&(!i||e(i,r))}(t.target,e.mirror)||(e.movedSet.has(r)&&e.movedMap[nD(n,i)]?nU(e.movedSet,r):(e.removes.push({parentId:i,id:n,isShadow:!!(ei(t.target)&&eo(t.target))||void 0}),function(e,t){for(var r=[e];r.length;){var n=r.pop();t.has(n)||(t.add(n),nu.childNodes(n).forEach(function(e){return r.push(e)}))}}(r,e.removesSubTreeCache))),e.mapRemoves.push(r))})}}),G(this,"genAdds",function(t,r){if(!e.processedNodeManager.inOtherBuffer(t,e)&&!(e.addedSet.has(t)||e.movedSet.has(t))){if(e.mirror.hasNode(t)){if(nb(t,e.mirror,e.slimDOMOptions))return;e.movedSet.add(t);var n=null;r&&e.mirror.hasNode(r)&&(n=e.mirror.getId(r)),n&&-1!==n&&(e.movedMap[nD(e.mirror.getId(t),n)]=!0)}else e.addedSet.add(t),e.droppedSet.delete(t);!n_(t,e.blockClass,e.blockSelector,!1)&&(nu.childNodes(t).forEach(function(t){return e.genAdds(t)}),nC(t)&&nu.childNodes(nu.shadowRoot(t)).forEach(function(r){e.processedNodeManager.add(r,e),e.genAdds(r,t)}))}}),G(this,"cleanupRemovedNode",function(t){if("IFRAME"===t.nodeName)try{e.iframeManager.removeIframe(t)}catch(e){}else try{e.stylesheetManager.cleanupStylesheetsForRemovedNode(t)}catch(e){}t.childNodes.forEach(function(t){e.cleanupRemovedNode(t)})})}var t=e.prototype;return t.init=function(e){var t=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(function(r){t[r]=e[r]})},t.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},t.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},t.isFrozen=function(){return this.frozen},t.lock=function(){this.locked=!0,this.canvasManager.lock()},t.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},t.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},t.getDoc=function(){return this.doc},e}();function nU(e,t){e.delete(t),nu.childNodes(t).forEach(function(t){return nU(e,t)})}function nj(e,t,r){var n;return 0!==e.size&&!!(n=nu.parentNode(t))&&e.has(n)}function nB(e,t){return 0!==e.size&&function e(t,r){var n=nu.parentNode(r);return!!n&&(!!t.has(n)||e(t,n))}(e,t)}var nq=function(e){return sc?function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];try{return e.apply(void 0,[].concat(r))}catch(e){if(sc&&!0===sc(e))return;throw e}}:e},nz=[];function nW(e){try{if("composedPath"in e){var t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function nV(e,t){var r=new nF;nz.push(r),r.init(e);var n=new(nr("MutationObserver")).constructor(nq(r.processMutations.bind(r)));return n.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),n}function n$(e){var t=e.scrollCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,s=e.sampling;return nc("scroll",nq(np(nq(function(e){var s=nW(e);if(!(!s||n_(s,i,o,!0))){var a=n.getId(s);if(s===r&&r.defaultView){var u=ng(r.defaultView);t({id:a,x:u.left,y:u.top})}else t({id:a,x:s.scrollLeft,y:s.scrollTop})}}),s.scroll||100)),r)}
1var nH=["INPUT","TEXTAREA","SELECT"],nG=new WeakMap;function nJ(e){var t;return t=[],nX("CSSGroupingRule")&&F(e.parentRule,CSSGroupingRule)||nX("CSSMediaRule")&&F(e.parentRule,CSSMediaRule)||nX("CSSSupportsRule")&&F(e.parentRule,CSSSupportsRule)||nX("CSSConditionRule")&&F(e.parentRule,CSSConditionRule)?t.unshift(Array.from(e.parentRule.cssRules).indexOf(e)):e.parentStyleSheet&&t.unshift(Array.from(e.parentStyleSheet.cssRules).indexOf(e)),t}function nY(e,t,r){var n,i;return e?(e.ownerNode?n=t.getId(e.ownerNode):i=r.getId(e),{styleId:i,id:n}):{}}function nZ(e,t){var r,n,i,o=e.mirror,s=e.stylesheetManager,a=null;a="#document"===t.nodeName?o.getId(t):o.getId(nu.host(t));var u="#document"===t.nodeName?null==(r=t.defaultView)?void 0:r.Document:null==(i=null==(n=t.ownerDocument)?void 0:n.defaultView)?void 0:i.ShadowRoot,c=(null==u?void 0:u.prototype)?Object.getOwnPropertyDescriptor(null==u?void 0:u.prototype,"adoptedStyleSheets"):void 0;return null!==a&&-1!==a&&u&&c?(Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:function(){var e;return null==(e=c.get)?void 0:e.call(this)},set:function(e){var t,r=null==(t=c.set)?void 0:t.call(this,e);if(null!==a&&-1!==a)try{s.adoptStyleSheets(e,a)}catch(e){}return r}}),nq(function(){Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})})):function(){}}function nK(e,t){void 0===t&&(t={});var r=e.doc.defaultView;if(!r)return function(){};f=t,d=e.mutationCb,g=e.mousemoveCb,m=e.mouseInteractionCb,v=e.scrollCb,y=e.viewportResizeCb,_=e.inputCb,b=e.mediaInteractionCb,w=e.styleSheetRuleCb,S=e.styleDeclarationCb,k=e.canvasMutationCb,C=e.fontCb,x=e.selectionCb,E=e.customElementCb,e.mutationCb=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];f.mutation&&f.mutation.apply(f,[].concat(t)),d.apply(void 0,[].concat(t))},e.mousemoveCb=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];f.mousemove&&f.mousemove.apply(f,[].concat(t)),g.apply(void 0,[].concat(t))},e.mouseInteractionCb=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];f.mouseInteraction&&f.mouseInteraction.apply(f,[].concat(t)),m.apply(void 0,[].concat(t))},e.scrollCb=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];f.scroll&&f.scroll.apply(f,[].concat(t)),v.apply(void 0,[].concat(t))},e.viewportResizeCb=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];f.viewportResize&&f.viewportResize.apply(f,[].concat(t)),y.apply(void 0,[].concat(t))},e.inputCb=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];f.input&&f.input.apply(f,[].concat(t)),_.apply(void 0,[].concat(t))},e.mediaInteractionCb=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];f.mediaInteaction&&f.mediaInteaction.apply(f,[].concat(t)),b.apply(void 0,[].concat(t))},e.styleSheetRuleCb=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];f.styleSheetRule&&f.styleSheetRule.apply(f,[].concat(t)),w.apply(void 0,[].concat(t))},e.styleDeclarationCb=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];f.styleDeclaration&&f.styleDeclaration.apply(f,[].concat(t)),S.apply(void 0,[].concat(t))},e.canvasMutationCb=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];f.canvasMutation&&f.canvasMutation.apply(f,[].concat(t)),k.apply(void 0,[].concat(t))},e.fontCb=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];f.font&&f.font.apply(f,[].concat(t)),C.apply(void 0,[].concat(t))},e.selectionCb=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];f.selection&&f.selection.apply(f,[].concat(t)),x.apply(void 0,[].concat(t))},e.customElementCb=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];f.customElement&&f.customElement.apply(f,[].concat(t)),E.apply(void 0,[].concat(t))},e.recordDOM&&(ea=nV(e,e.doc));var n=function(e){var t,r=e.mousemoveCb,n=e.sampling,i=e.doc,o=e.mirror;if(!1===n.mousemove)return function(){};var s="number"==typeof n.mousemove?n.mousemove:50,a="number"==typeof n.mousemoveCallback?n.mousemoveCallback:500,u=[],c=np(nq(function(e){var n=Date.now()-t;r(u.map(function(e){return e.timeOffset-=n,e}),e),u=[],t=null}),a),l=nq(np(nq(function(e){var r=nW(e),n=nw(e)?e.changedTouches[0]:e,i=n.clientX,s=n.clientY;t||(t=nd()),u.push({x:i,y:s,id:o.getId(r),timeOffset:nd()-t}
1),c("undefined"!=typeof DragEvent&&F(e,DragEvent)?nR.Drag:F(e,MouseEvent)?nR.MouseMove:nR.TouchMove)}),s,{trailing:!1})),h=[nc("mousemove",l,i),nc("touchmove",l,i),nc("drag",l,i)];return nq(function(){h.forEach(function(e){return e()})})}(e),i=function(e){var t=e.mouseInteractionCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,s=e.sampling;if(!1===s.mouseInteraction)return function(){};var a=!0===s.mouseInteraction||void 0===s.mouseInteraction?{}:s.mouseInteraction,u=[],c=null;return Object.keys(nA).filter(function(e){return Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e]}).forEach(function(e){var s=el(e);if(window.PointerEvent)switch(nA[e]){case nA.MouseDown:case nA.MouseUp:s=s.replace("mouse","pointer");break;case nA.TouchStart:case nA.TouchEnd:return}u.push(nc(s,function(r){var s=nW(r);if(!n_(s,i,o,!0)){var a=null,u=e;if("pointerType"in r){switch(r.pointerType){case"mouse":a=nT.Mouse;break;case"touch":a=nT.Touch;break;case"pen":a=nT.Pen}a===nT.Touch?nA[e]===nA.MouseDown?u="TouchStart":nA[e]===nA.MouseUp&&(u="TouchEnd"):nT.Pen}else nw(r)&&(a=nT.Touch);null!==a?(c=a,(u.startsWith("Touch")&&a===nT.Touch||u.startsWith("Mouse")&&a===nT.Mouse)&&(a=null)):nA[e]===nA.Click&&(a=c,c=null);var l=nw(r)?r.changedTouches[0]:r;if(l){var h=n.getId(s),p=l.clientX,f=l.clientY;nq(t)(N({type:nA[u],id:h,x:p,y:f},null!==a&&{pointerType:a}))}}},r))}),nq(function(){u.forEach(function(e){return e()})})}(e),o=n$(e),s=(O={win:r},I=e.viewportResizeCb,R=O.win,A=-1,T=-1,nc("resize",nq(np(nq(function(){var e=nm(),t=nv();(A!==e||T!==t)&&(I({width:Number(t),height:Number(e)}),A=e,T=t)}),200)),R)),a=function(e){var t=e.inputCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,s=e.ignoreClass,a=e.ignoreSelector,u=e.maskInputOptions,c=e.maskInputFn,l=e.sampling,h=e.userTriggeredOnInput;function p(e){var t=nW(e),n=e.isTrusted,l=t&&t.tagName;if(t&&"OPTION"===l&&(t=nu.parentElement(t)),!(!t||!l||0>nH.indexOf(l)||n_(t,i,o,!0)||t.classList.contains(s)||a&&t.matches(a))){var p=t.value,d=!1,g=ep(t)||"";"radio"===g||"checkbox"===g?d=t.checked:(u[l.toLowerCase()]||u[g])&&(p=ec({element:t,maskInputOptions:u,tagName:l,type:g,value:p,maskInputFn:c})),f(t,h?{text:p,isChecked:d,userTriggered:n}:{text:p,isChecked:d});var m=t.name;"radio"===g&&m&&d&&r.querySelectorAll('input[type="radio"][name="'+m+'"]').forEach(function(e){if(e!==t){var r=e.value;f(e,h?{text:r,isChecked:!d,userTriggered:!1}:{text:r,isChecked:!d})}})}}function f(e,r){var i=nG.get(e);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){nG.set(e,r);var o=n.getId(e);nq(t)(N({},r,{id:o}))}}var d=("last"===l.input?["change"]:["input","change"]).map(function(e){return nc(e,nq(p),r)}),g=r.defaultView;if(!g)return function(){d.forEach(function(e){return e()})};var m=g.Object.getOwnPropertyDescriptor(g.HTMLInputElement.prototype,"value"),v=[[g.HTMLInputElement.prototype,"value"],[g.HTMLInputElement.prototype,"checked"],[g.HTMLSelectElement.prototype,"value"],[g.HTMLTextAreaElement.prototype,"value"],[g.HTMLSelectElement.prototype,"selectedIndex"],[g.HTMLOptionElement.prototype,"selected"]];return m&&m.set&&d.push.apply(d,[].concat(v.map(function(e){return nf(e[0],e[1],{set:function(){nq(p)({target:this,isTrusted:!1})}},!1,g)}))),nq(function(){d.forEach(function(e){return e()})})}(e),u=(M=e.mediaInteractionCb,P=e.blockClass,L=e.blockSelector,D=e.mirror,U=e.sampling,j=e.doc,q=[nc("play",(B=nq(function(e){return np(nq(function(t){var r=nW(t);if(!(!r||n_(r,P,L,!0))){var n=r.currentTime,i=r.volume,o=r.muted,s=r.playbackRate,a=r.loop;M({type:e,id:D.getId(r),currentTime:n,volume:i,muted:o,playbackRate:s,loop:a})}}),U.media||500)}))(nP.Play),j),nc("pause",B(nP.Pause),j),nc("seeked",B(nP.Seeked),j),nc("volumechange",B(nP.VolumeChange),j),nc("ratechange",B(nP.RateChange),j)],nq(function(){q.forEach(function(e){return e()})})),c=function(){},l=function(){},h=function(){},p=function(){};e.recordDOM&&(c=function(e,t){var r,n,i=e.styleSheetRuleCb,o=e.mirror,s=e.stylesheetManager,a=t.win;if(!a.CSSStyleSheet||!a.CSSStyleSheet.prototype)return function(){};var u=a.CSSStyleSheet.prototype.insertRule;a.CSSStyleSheet.prototype.insertRule=new Proxy(u,{apply:nq(function(e,t,r){var n=r[0],a=r[1],u=nY(t,o,s.styleMirror),c=u.id,l=u.styleId;return(c&&-1!==c||l&&-1!==l)&&i({id:c,styleId:l,adds:[{rule:n,index:a}]}),e.apply(t,r)}
1)}),a.CSSStyleSheet.prototype.addRule=function(e,t,r){return void 0===r&&(r=this.cssRules.length),a.CSSStyleSheet.prototype.insertRule.apply(this,[e+" { "+t+" }",r])};var c=a.CSSStyleSheet.prototype.deleteRule;a.CSSStyleSheet.prototype.deleteRule=new Proxy(c,{apply:nq(function(e,t,r){var n=r[0],a=nY(t,o,s.styleMirror),u=a.id,c=a.styleId;return(u&&-1!==u||c&&-1!==c)&&i({id:u,styleId:c,removes:[{index:n}]}),e.apply(t,r)})}),a.CSSStyleSheet.prototype.removeRule=function(e){return a.CSSStyleSheet.prototype.deleteRule.apply(this,[e])},a.CSSStyleSheet.prototype.replace&&(r=a.CSSStyleSheet.prototype.replace,a.CSSStyleSheet.prototype.replace=new Proxy(r,{apply:nq(function(e,t,r){var n=r[0],a=nY(t,o,s.styleMirror),u=a.id,c=a.styleId;return(u&&-1!==u||c&&-1!==c)&&i({id:u,styleId:c,replace:n}),e.apply(t,r)})})),a.CSSStyleSheet.prototype.replaceSync&&(n=a.CSSStyleSheet.prototype.replaceSync,a.CSSStyleSheet.prototype.replaceSync=new Proxy(n,{apply:nq(function(e,t,r){var n=r[0],a=nY(t,o,s.styleMirror),u=a.id,c=a.styleId;return(u&&-1!==u||c&&-1!==c)&&i({id:u,styleId:c,replaceSync:n}),e.apply(t,r)})}));var l={};nQ("CSSGroupingRule")?l.CSSGroupingRule=a.CSSGroupingRule:(nQ("CSSMediaRule")&&(l.CSSMediaRule=a.CSSMediaRule),nQ("CSSConditionRule")&&(l.CSSConditionRule=a.CSSConditionRule),nQ("CSSSupportsRule")&&(l.CSSSupportsRule=a.CSSSupportsRule));var h={};return Object.entries(l).forEach(function(e){var t=e[0],r=e[1];h[t]={insertRule:r.prototype.insertRule,deleteRule:r.prototype.deleteRule},r.prototype.insertRule=new Proxy(h[t].insertRule,{apply:nq(function(e,t,r){var n=r[0],a=r[1],u=nY(t.parentStyleSheet,o,s.styleMirror),c=u.id,l=u.styleId;return(c&&-1!==c||l&&-1!==l)&&i({id:c,styleId:l,adds:[{rule:n,index:[].concat(nJ(t),[a||0])}]}),e.apply(t,r)})}),r.prototype.deleteRule=new Proxy(h[t].deleteRule,{apply:nq(function(e,t,r){var n=r[0],a=nY(t.parentStyleSheet,o,s.styleMirror),u=a.id,c=a.styleId;return(u&&-1!==u||c&&-1!==c)&&i({id:u,styleId:c,removes:[{index:[].concat(nJ(t),[n])}]}),e.apply(t,r)})})}),nq(function(){a.CSSStyleSheet.prototype.insertRule=u,a.CSSStyleSheet.prototype.deleteRule=c,r&&(a.CSSStyleSheet.prototype.replace=r),n&&(a.CSSStyleSheet.prototype.replaceSync=n),Object.entries(l).forEach(function(e){var t=e[0],r=e[1];r.prototype.insertRule=h[t].insertRule,r.prototype.deleteRule=h[t].deleteRule})})}(e,{win:r}),l=nZ(e,e.doc),z={win:r},V=e.styleDeclarationCb,$=e.mirror,H=e.ignoreCSSAttributes,G=e.stylesheetManager,Y=(J=z.win).CSSStyleDeclaration.prototype.setProperty,J.CSSStyleDeclaration.prototype.setProperty=new Proxy(Y,{apply:nq(function(e,t,r){var n,i=r[0],o=r[1],s=r[2];if(H.has(i))return Y.apply(t,[i,o,s]);var a=nY(null==(n=t.parentRule)?void 0:n.parentStyleSheet,$,G.styleMirror),u=a.id,c=a.styleId;return(u&&-1!==u||c&&-1!==c)&&V({id:u,styleId:c,set:{property:i,value:o,priority:s},index:nJ(t.parentRule)}),e.apply(t,r)})}),Z=J.CSSStyleDeclaration.prototype.removeProperty,J.CSSStyleDeclaration.prototype.removeProperty=new Proxy(Z,{apply:nq(function(e,t,r){var n,i=r[0];if(H.has(i))return Z.apply(t,[i]);var o=nY(null==(n=t.parentRule)?void 0:n.parentStyleSheet,$,G.styleMirror),s=o.id,a=o.styleId;return(s&&-1!==s||a&&-1!==a)&&V({id:s,styleId:a,remove:{property:i},index:nJ(t.parentRule)}),e.apply(t,r)})}),h=nq(function(){J.CSSStyleDeclaration.prototype.setProperty=Y,J.CSSStyleDeclaration.prototype.removeProperty=Z}),e.collectFonts&&(p=function(e){var t=e.fontCb,r=e.doc,n=r.defaultView;if(!n)return function(){};var i=[],o=new WeakMap,s=n.FontFace;n.FontFace=function(e,t,r){var n=new s(e,t,r);return o.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};var a=na(r.fonts,"add",function(e){return function(r){return setTimeout(nq(function(){var e=o.get(r);e&&(t(e),o.delete(r))}),0),e.apply(this,[r])}});return i.push(function(){n.FontFace=s}),i.push(a),nq(function(){i.forEach(function(e){return e()})})}(e)));for(var f,d,g,m,v,y,_,b,w,S,k,C,x,E,O,I,R,A,T,M,P,L,D,U,j,B,q,z,V,$,H,G,J,Y,Z,K,X,Q,ee,et,er,en,ei,eo,es,ea,eu,eh=(K=e.doc,X=e.mirror,Q=e.blockClass,ee=e.blockSelector,et=e.selectionCb,er=!0,(en=nq(function(){var e=K.getSelection();if(e&&(!er||null==e||!e.isCollapsed)){er=e.isCollapsed||!1;for(var t=[],r=e.rangeCount||0,n=0;n<r;n++){var i=e.getRangeAt(n),o=i.startContainer,s=i.startOffset,a=i.endContainer,u=i.endOffset;n_(o,Q,ee,!0)||n_(a,Q,ee,!0)||t.push({start:X.getId(o),startOffset:s,end:X.getId(a),endOffset:u})}et({ranges:t})}}))(),nc("selectionchange",en)),ef=(ei=e.doc,eo=e.customElementCb,(es=ei.defaultView)&&es.customElements?na(es.customElements,"define",function(e){return function(t,r,n){try{eo({define:{name:t}})}catch(e){console.warn("Custom element callback failed for "+t)}return e.apply(this,[t,r,n])}}):function(){}),ed=[],eg=W(e.plugins);!(eu=eg()).done;){var em=eu.value;ed.push(em.observer(em.callback,r,em.options))}return nq(function(){nz.forEach(function(e){return e.reset()}),null==ea||ea.disconnect(),n(),i(),o(),s(),a(),u(),c(),l(),h(),p(),eh(),ef(),ed.forEach(function(e){return e()})})}function nX(e){return void 0!==window[e]}function nQ(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}for(var n0=function(){function e(e){G(this,"iframeIdToRemoteIdMap",new WeakMap),G(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=e}var t=e.prototype;return t.getId=function(e,t,r,n){var i=r||this.getIdToRemoteIdMap(e),o=n||this.getRemoteIdToIdMap(e),s=i.get(t);return s||(s=this.generateIdFn(),i.set(t,s),o.set(s,t)),s},t.getIds=function(e,t){var r=this,n=this.getIdToRemoteIdMap(e),i=this.getRemoteIdToIdMap(e);return t.map(function(t){return r.getId(e,t,n,i)})},t.getRemoteId=function(e,t,r){var n=r||this.getRemoteIdToIdMap(e);return"number"!=typeof t?t:n.get(t)||-1},t.getRemoteIds=function(e,t){var r=this,n=this.getRemoteIdToIdMap(e);
vendor: 1,534 bytes, line 1
1return t.map(function(t){return r.getRemoteId(e,t,n)})},t.reset=function(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)},t.getIdToRemoteIdMap=function(e){var t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t},t.getRemoteIdToIdMap=function(e){var t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t},e}(),n1=function(){function e(e){G(this,"iframes",new WeakMap),G(this,"crossOriginIframeMap",new WeakMap),G(this,"crossOriginIframeMirror",new n0(eS)),G(this,"crossOriginIframeStyleMirror"),G(this,"crossOriginIframeRootIdMap",new WeakMap),G(this,"iframeContentDocumentMap",new WeakMap),G(this,"iframeObserverCleanupMap",new WeakMap),G(this,"mirror"),G(this,"mutationCb"),G(this,"wrappedEmit"),G(this,"loadListener"),G(this,"stylesheetManager"),G(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new n0(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var t=e.prototype;return t.addIframe=function(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}
1,t.getIframeContentDocument=function(e){return this.iframeContentDocumentMap.get(e)},t.setObserverCleanup=function(e,t){this.iframeObserverCleanupMap.set(e,t)},t.getObserverCleanup=function(e){return this.iframeObserverCleanupMap.get(e)},t.removeIframe=function(e){var t=this.iframeContentDocumentMap.get(e);t&&(this.stylesheetManager.cleanupStylesheetsForRemovedNode(t),this.mirror.removeNodeFromMap(t,!0)),this.iframes.delete(e),this.iframeContentDocumentMap.delete(e);var r=this.iframeObserverCleanupMap.get(e);if(r){try{r()}catch(e){}this.iframeObserverCleanupMap.delete(e)}},t.addLoadListener=function(e){this.loadListener=e},t.attachIframe=function(e,t){var r,n;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),e.contentDocument&&this.iframeContentDocumentMap.set(e,e.contentDocument),this.recordCrossOriginIframes&&(null==(r=e.contentWindow)||r.addEventListener("message",this.handleMessage.bind(this))),null==(n=this.loadListener)||n.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))},t.handleMessage=function(e){if("rrweb"===e.data.type&&e.origin===e.data.origin&&e.source){var t=this.crossOriginIframeMap.get(e.source);if(t){var r=this.transformCrossOriginEvent(t,e.data.event);r&&this.wrappedEmit(r,e.data.isCheckout)}}},t.transformCrossOriginEvent=function(e,t){var r,n=this;switch(t.type){case nI.FullSnapshot:this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);var i=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,i),this.patchRootIdOnNode(t.data.node,i),{timestamp:t.timestamp,type:nI.IncrementalSnapshot,data:{source:nR.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case nI.Meta:case nI.Load:case nI.DomContentLoaded:break;case nI.Plugin:return t;case nI.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case nI.IncrementalSnapshot:switch(t.data.source){case nR.Mutation:return t.data.adds.forEach(function(t){n.replaceIds(t,e,["parentId","nextId","previousId"]),n.replaceIdOnNode(t.node,e);var r=n.crossOriginIframeRootIdMap.get(e);r&&n.patchRootIdOnNode(t.node,r)}),t.data.removes.forEach(function(t){n.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(function(t){n.replaceIds(t,e,["id"])}),t.data.texts.forEach(function(t){n.replaceIds(t,e,["id"])}),t;case nR.Drag:case nR.TouchMove:case nR.MouseMove:return t.data.positions.forEach(function(t){n.replaceIds(t,e,["id"])}),t;case nR.ViewportResize:return!1;case nR.MediaInteraction:case nR.MouseInteraction:case nR.Scroll:case nR.CanvasMutation:case nR.Input:return this.replaceIds(t.data,e,["id"]),t;case nR.StyleSheetRule:case nR.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case nR.Font:return t;case nR.Selection:return t.data.ranges.forEach(function(t){n.replaceIds(t,e,["start","end"])}),t;case nR.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null==(r=t.data.styles)||r.forEach(function(t){n.replaceStyleIds(t,e,["styleId"])}),t}}return!1},t.replace=function(e,t,r,n){for(var i,o=W(n);!(i=o()).done;){var s=i.value;(Array.isArray(t[s])||"number"==typeof t[s])&&(Array.isArray(t[s])?t[s]=e.getIds(r,t[s]):t[s]=e.getId(r,t[s]))}return t},t.replaceIds=function(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)},t.replaceStyleIds=function(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)},t.replaceIdOnNode=function(e,t){var r=this;this.replaceIds(e,t,["id","rootId"]),("childNodes"in e)&&e.childNodes.forEach(function(e){r.replaceIdOnNode(e,t)})},t.patchRootIdOnNode=function(e,t){var r=this;e.type===nN.Document||e.rootId||(e.rootId=t),("childNodes"in e)&&e.childNodes.forEach(function(e){r.patchRootIdOnNode(e,t)})},e}(),n2=function(){function e(e){G(this,"shadowDoms",new WeakSet),G(this,"mutationCb"),G(this,"scrollCb"),G(this,"bypassOptions"),G(this,"mirror"),G(this,"restoreHandlers",[]),this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}var t=e.prototype;return t.init=function(){this.reset(),this.patchAttachShadow(Element,document)},t.addShadowRoot=function(e,t){var r=this;if(eo(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var n=nV(N({},this.bypassOptions,{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push(function(){return n.disconnect()}),this.restoreHandlers.push(n$(N({},this.bypassOptions,{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))),setTimeout(function(){e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&r.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,r.mirror.getId(nu.host(e))),r.restoreHandlers.push(nZ({mirror:r.mirror,stylesheetManager:r.bypassOptions.stylesheetManager},e))},0)}},t.observeAttachShadow=function(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)},t.patchAttachShadow=function(e,t){var r=this;this.restoreHandlers.push(na(e.prototype,"attachShadow",function(e){return function(n){var i=e.call(this,n),o=nu.shadowRoot(this);return o&&nO(this)&&r.addShadowRoot(o,t),i}}))}
1,t.reset=function(){this.restoreHandlers.forEach(function(e){try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},e}(),n3="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n4="undefined"==typeof Uint8Array?[]:new Uint8Array(256),n5=0;n5<n3.length;n5++)n4[n3.charCodeAt(n5)]=n5;var n6=function(e){var t,r=new Uint8Array(e),n=r.length,i="";for(t=0;t<n;t+=3)i+=n3[r[t]>>2]+n3[(3&r[t])<<4|r[t+1]>>4]+n3[(15&r[t+1])<<2|r[t+2]>>6]+n3[63&r[t+2]];return n%3==2?i=i.substring(0,i.length-1)+"=":n%3==1&&(i=i.substring(0,i.length-2)+"=="),i},n8=new Map,n9=function(e,t,r){if(e&&(ie(e,t)||(void 0===e?"undefined":B(e))==="object")){var n,i=e.constructor.name,o=((n=n8.get(r))||(n=new Map,n8.set(r,n)),n.has(i)||n.set(i,[]),n.get(i)),s=o.indexOf(e);return -1===s&&(s=o.length,o.push(e)),s}},n7=function(e,t,r){return e.map(function(e){return function e(t,r,n){if(F(t,Array))return t.map(function(t){return e(t,r,n)});if(null===t);else if(F(t,Float32Array)||F(t,Float64Array)||F(t,Int32Array)||F(t,Uint32Array)||F(t,Uint8Array)||F(t,Uint16Array)||F(t,Int16Array)||F(t,Int8Array)||F(t,Uint8ClampedArray))return{rr_type:t.constructor.name,args:[Object.values(t)]};else if(F(t,ArrayBuffer))return{rr_type:t.constructor.name,base64:n6(t)};else if(F(t,DataView))return{rr_type:t.constructor.name,args:[e(t.buffer,r,n),t.byteOffset,t.byteLength]};else if(F(t,HTMLImageElement))return{rr_type:t.constructor.name,src:t.src};else if(F(t,HTMLCanvasElement))return{rr_type:"HTMLImageElement",src:t.toDataURL()};else if(F(t,ImageData))return{rr_type:t.constructor.name,args:[e(t.data,r,n),t.width,t.height]};else if(ie(t,r)||(void 0===t?"undefined":B(t))==="object")return{rr_type:t.constructor.name,index:n9(t,r,n)};return t}(e,t,r)})},ie=function(e,t){return!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(function(e){return"function"==typeof t[e]}).find(function(r){return F(e,t[r])})};function it(e,t,r,n){var i=[];try{var o=na(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(i){for(var o=arguments.length,s=Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];if(!n_(this,t,r,!0)){var u="experimental-webgl"===i?"webgl":i;if("__context"in this||(this.__context=u),n&&["webgl","webgl2"].includes(u)){if(s[0]&&"object"===B(s[0])){var c=s[0];c.preserveDrawingBuffer||(c.preserveDrawingBuffer=!0)}else s.splice(0,1,{preserveDrawingBuffer:!0})}}return e.apply(this,[].concat([i],s))}});i.push(o)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){i.forEach(function(e){return e()})}}function ir(e,t,r,n,i,o){for(var s,a=[],u=Object.getOwnPropertyNames(e),c=W(u);!(s=c()).done;)!function(){var u=s.value;if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(u))try{if("function"!=typeof e[u])return"continue";var c=na(e,u,function(e){return function(){for(var s=arguments.length,a=Array(s),c=0;c<s;c++)a[c]=arguments[c];var l=e.apply(this,a);if(n9(l,o,this),"tagName"in this.canvas&&!n_(this.canvas,n,i,!0)){var h=n7(a,o,this);r(this.canvas,{type:t,property:u,args:h})}return l}});a.push(c)}catch(n){a.push(nf(e,u,{set:function(e){r(this.canvas,{type:t,property:u,args:[e],setter:!0})}}))}}();return a}var ii="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSA
1yKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",io="undefined"!=typeof window&&window.Blob&&new Blob([Uint8Array.from(atob(ii),function(e){return e.charCodeAt(0)})],{type:"text/javascript;charset=utf-8"});function is(e){var t;try{if(!(t=io&&(window.URL||window.webkitURL).createObjectURL(io)))throw"";var r=new Worker(t,{name:null==e?void 0:e.name});return r.addEventListener("error",function(){(window.URL||window.webkitURL).revokeObjectURL(t)}),r}catch(t){return new Worker("data:text/javascript;base64,"+ii,{name:null==e?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}var ia=function(){function e(e){var t=this;G(this,"pendingCanvasMutations",new Map),G(this,"rafStamps",{latestId:0,invokeId:null}),G(this,"mirror"),G(this,"mutationCb"),G(this,"resetObservers"),G(this,"frozen",!1),G(this,"locked",!1),G(this,"processMutation",function(e,r){(t.rafStamps.invokeId&&t.rafStamps.latestId!==t.rafStamps.invokeId||!t.rafStamps.invokeId)&&(t.rafStamps.invokeId=t.rafStamps.latestId),t.pendingCanvasMutations.has(e)||t.pendingCanvasMutations.set(e,[]),t.pendingCanvasMutations.get(e).push(r)});var r=e.sampling,n=void 0===r?"all":r,i=e.win,o=e.blockClass,s=e.blockSelector,a=e.recordCanvas,u=e.dataURLOptions;this.mutationCb=e.mutationCb,this.mirror=e.mirror,a&&"all"===n&&this.initCanvasMutationObserver(i,o,s),a&&"number"==typeof n&&this.initCanvasFPSObserver(n,i,o,s,{dataURLOptions:u})}var t=e.prototype;return t.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},t.freeze=function(){this.frozen=!0},t.unfreeze=function(){this.frozen=!1},t.lock=function(){this.locked=!0},t.unlock=function(){this.locked=!1},t.initCanvasFPSObserver=function(e,t,r,n,i){var o,s=this,a=it(t,r,n,!0),u=new Map,c=new is;c.onmessage=function(e){var t=e.data.id;if(u.set(t,!1),"base64"in e.data){var r=e.data,n=r.base64,i=r.type,o=r.width,a=r.height;s.mutationCb({id:t,type:nM["2D"],commands:[{property:"clearRect",args:[0,0,o,a]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:i}]},0,0]}]})}};var l=1e3/e,h=0,p=function(){var e=[];return t.document.querySelectorAll("canvas").forEach(function(t){n_(t,r,n,!0)||e.push(t)}),e},f=function(e){if(h&&e-h<l){o=requestAnimationFrame(f);return}
1h=e,p().forEach(T(function(e){var t,r,n,o;return V(this,function(a){switch(a.label){case 0:if(r=s.mirror.getId(e),u.get(r)||0===e.width||0===e.height)return[2];return u.set(r,!0),["webgl","webgl2"].includes(e.__context)&&(null==(t=null==(n=e.getContext(e.__context))?void 0:n.getContextAttributes())?void 0:t.preserveDrawingBuffer)===!1&&n.clear(n.COLOR_BUFFER_BIT),[4,createImageBitmap(e)];case 1:return o=a.sent(),c.postMessage({id:r,bitmap:o,width:e.width,height:e.height,dataURLOptions:i.dataURLOptions},[o]),[2]}})})),o=requestAnimationFrame(f)};o=requestAnimationFrame(f),this.resetObservers=function(){a(),cancelAnimationFrame(o)}},t.initCanvasMutationObserver=function(e,t,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var n,i,o=it(e,t,r,!1),s=function(e,t,r,n){for(var i,o=[],s=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype),a=W(s);!(i=a()).done;)!function(){var s=i.value;try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[s])return"continue";var a=na(t.CanvasRenderingContext2D.prototype,s,function(i){return function(){for(var o=this,a=arguments.length,u=Array(a),c=0;c<a;c++)u[c]=arguments[c];return n_(this.canvas,r,n,!0)||setTimeout(function(){var r=n7(u,t,o);e(o.canvas,{type:nM["2D"],property:s,args:r})},0),i.apply(this,u)}});o.push(a)}catch(r){var u=nf(t.CanvasRenderingContext2D.prototype,s,{set:function(t){e(this.canvas,{type:nM["2D"],property:s,args:[t],setter:!0})}});o.push(u)}}();return function(){o.forEach(function(e){return e()})}}(this.processMutation.bind(this),e,t,r),a=(n=this.processMutation.bind(this),(i=[]).push.apply(i,[].concat(ir(e.WebGLRenderingContext.prototype,nM.WebGL,n,t,r,e))),void 0!==e.WebGL2RenderingContext&&i.push.apply(i,[].concat(ir(e.WebGL2RenderingContext.prototype,nM.WebGL2,n,t,r,e))),function(){i.forEach(function(e){return e()})});this.resetObservers=function(){o(),s(),a()}},t.startPendingCanvasMutationFlusher=function(){var e=this;requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},t.startRAFTimestamping=function(){var e=this,t=function(r){e.rafStamps.latestId=r,requestAnimationFrame(t)};requestAnimationFrame(t)},t.flushPendingCanvasMutations=function(){var e=this;this.pendingCanvasMutations.forEach(function(t,r){var n=e.mirror.getId(r);e.flushPendingCanvasMutationFor(r,n)}),requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},t.flushPendingCanvasMutationFor=function(e,t){if(!this.frozen&&!this.locked){var r=this.pendingCanvasMutations.get(e);if(r&&-1!==t){var n=r.map(function(e){return e.type,U(e,["type"])}),i=r[0].type;this.mutationCb({id:t,type:i,commands:n}),this.pendingCanvasMutations.delete(e)}}},e}(),iu=function(){function e(e){G(this,"trackedLinkElements",new WeakSet),G(this,"mutationCb"),G(this,"adoptedStyleSheetCb"),G(this,"styleMirror",new nx),this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}var t=e.prototype;return t.attachLinkElement=function(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)},t.trackLinkElement=function(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))},t.adoptStyleSheets=function(e,t){if(0!==e.length){for(var r,n,i={id:t,styleIds:[]},o=[],s=W(e);!(n=s()).done;)r=this,function(){var e=n.value,t=void 0;r.styleMirror.has(e)?t=r.styleMirror.getId(e):(t=r.styleMirror.add(e),o.push({styleId:t,rules:Array.from(e.rules||CSSRule,function(t,r){return{rule:ea(t,e.href),index:r}})})),i.styleIds.push(t)}();o.length>0&&(i.styles=o),this.adoptedStyleSheetCb(i)}},t.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},t.cleanupStylesheetsForRemovedNode=function(e){var t=this;try{if(e.nodeType===Node.DOCUMENT_NODE&&e.adoptedStyleSheets)for(var r,n=W(e.adoptedStyleSheets);!(r=n()).done;){var i=r.value;this.styleMirror.remove(i)}"STYLE"===e.nodeName&&e.sheet&&this.styleMirror.remove(e.sheet),"LINK"===e.nodeName&&"stylesheet"===e.rel&&e.sheet&&this.styleMirror.remove(e.sheet),e.childNodes&&e.childNodes.forEac
1h(function(e){t.cleanupStylesheetsForRemovedNode(e)})}catch(e){}},t.trackStylesheetInLinkElement=function(e){},e}(),ic=function(){function e(){G(this,"nodeMap",new WeakMap),G(this,"active",!1)}var t=e.prototype;return t.inOtherBuffer=function(e,t){var r=this.nodeMap.get(e);return r&&Array.from(r).some(function(e){return e!==t})},t.add=function(e,t){var r=this;this.active||(this.active=!0,requestAnimationFrame(function(){r.nodeMap=new WeakMap,r.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))},t.destroy=function(){},e}(),il=!1;try{if(2!==Array.from([1],function(e){return 2*e})[0]){var ih=document.createElement("iframe");document.body.appendChild(ih),Array.from=(null==(o0=ih.contentWindow)?void 0:o0.Array.from)||Array.from,document.body.removeChild(ih)}}catch(e){console.debug("Unable to override Array.from",e)}var ip=new eu;function id(e){void 0===e&&(e={});var t=e.emit,r=e.checkoutEveryNms,n=e.checkoutEveryNth,i=e.blockClass,o=void 0===i?"rr-block":i,s=e.blockSelector,a=void 0===s?null:s,u=e.ignoreClass,c=void 0===u?"rr-ignore":u,l=e.ignoreSelector,h=void 0===l?null:l,p=e.maskTextClass,f=void 0===p?"rr-mask":p,d=e.maskTextSelector,g=void 0===d?null:d,m=e.inlineStylesheet,v=void 0===m||m,y=e.maskAllInputs,_=e.maskInputOptions,b=e.slimDOMOptions,w=e.maskInputFn,S=e.maskTextFn,k=e.hooks,C=e.packFn,x=e.sampling,E=void 0===x?{}:x,O=e.dataURLOptions,I=void 0===O?{}:O,R=e.mousemoveWait,A=e.recordDOM,T=void 0===A||A,M=e.recordCanvas,P=void 0!==M&&M,L=e.recordCrossOriginIframes,D=void 0!==L&&L,F=e.allowedIframeOrigins,U=e.recordAfter,j=void 0===U?"DOMContentLoaded"===e.recordAfter?e.recordAfter:"load":U,q=e.userTriggeredOnInput,z=void 0!==q&&q,V=e.collectFonts,$=void 0!==V&&V,H=e.inlineImages,G=void 0!==H&&H,J=e.plugins,Y=e.keepIframeSrcFn,Z=void 0===Y?function(){return!1}:Y,K=e.ignoreCSSAttributes,X=void 0===K?new Set([]):K;sc=e.errorHandler,D&&F&&F.length>0&&0===(es=function(e){if(!Array.isArray(e)||0===e.length)throw Error("[rrweb] allowedIframeOrigins must be a non-empty array of origin strings.");for(var t=new Set,r=0;r<e.length;r++){var n=e[r];if("string"!=typeof n)throw Error("[rrweb] allowedIframeOrigins["+r+"] must be a string, got "+(void 0===n?"undefined":B(n))+".");var i=function(e){try{var t=new URL(e).origin;return"null"!==t?t:null}catch(e){return null}}(n);i&&t.add(i)}return Object.freeze(t)}(F)).size&&(es=void 0);var Q=!D||window.parent===window,ee=!1;if(!Q)try{window.parent.document&&(ee=!1)}catch(e){ee=!0}if(Q&&!t)throw Error("emit function is required");if(!Q&&!ee)return function(){};void 0!==R&&void 0===E.mousemove&&(E.mousemove=R),ip.reset();var et=!0===y?{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}:void 0!==_?_:{password:!0},er=!0===b||"all"===b?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===b,headMetaDescKeywords:"all"===b,headTitleMutations:"all"===b}:b||{};void 0===eo&&(eo=window),"NodeList"in eo&&!eo.NodeList.prototype.forEach&&(eo.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in eo&&!eo.DOMTokenList.prototype.forEach&&(eo.DOMTokenList.prototype.forEach=Array.prototype.forEach);var en=0,ei=function(e){for(var t,r=W(J||[]);!(t=r()).done;){var n=t.value;n.eventProcessor&&(e=n.eventProcessor(e))}return C&&!ee&&(e=C(e)),e};sl=function(e,i){if(e.timestamp=nd(),(null==(s=nz[0])?void 0:s.isFrozen())&&e.type!==nI.FullSnapshot&&!(e.type===nI.IncrementalSnapshot&&e.data.source===nR.Mutation)&&nz.forEach(function(e){return e.unfreeze()}),Q)null==t||t(ei(e),i);else if(ee){var o={type:"rrweb",event:ei(e),origin:window.location.origin,isCheckout:i};if(es)for(var s,a,u=W(es);!(a=u()).done;){var c=a.value;window.parent.postMessage(o,c)}else window.parent.postMessage(o,"*")}if(e.type===nI.FullSnapshot)ea=e,en=0;else if(e.type===nI.IncrementalSnapshot){if(e.data.source===nR.Mutation&&e.data.isAttachIframe)return;en++;var l=n&&en>=n,h=r&&e.timestamp-ea.timestamp>r;(l||h)&&sh(!0)}};for(var eo,es,ea,ec,el=function(e){sl({type:nI.IncrementalSnapshot,data:N({source:nR.Mutation},e)})},eh=function(e){return sl({type:nI.IncrementalSnapshot,data:N({source:nR.Scroll},e)})},ep=function(e){return sl({type:nI.IncrementalSnapshot,data:N({source:nR.CanvasMutation},e)})},ef=new iu({mutationCb:el,adoptedStyleSheetCb:function(e){return sl({type:nI.IncrementalSnapshot,data:N({source:nR.AdoptedStyleSheet},e)})}}),ed=new n1({mirror:ip,mutationCb:el,stylesheetManager:ef,recordCrossOriginIframes:D,wrappedEmit:sl}),eg=W(J||[]);
1!(ec=eg()).done;){var em=ec.value;em.getMirror&&em.getMirror({nodeMirror:ip,crossOriginIframeMirror:ed.crossOriginIframeMirror,crossOriginIframeStyleMirror:ed.crossOriginIframeStyleMirror})}var ev=new ic;sp=new ia({recordCanvas:P,mutationCb:ep,win:window,blockClass:o,blockSelector:a,mirror:ip,sampling:E.canvas,dataURLOptions:I});var ey=new n2({mutationCb:el,scrollCb:eh,bypassOptions:{blockClass:o,blockSelector:a,maskTextClass:f,maskTextSelector:g,inlineStylesheet:v,maskInputOptions:et,dataURLOptions:I,maskTextFn:S,maskInputFn:w,recordCanvas:P,inlineImages:G,sampling:E,slimDOMOptions:er,iframeManager:ed,stylesheetManager:ef,canvasManager:sp,keepIframeSrcFn:Z,processedNodeManager:ev},mirror:ip});sh=function(e){if(void 0===e&&(e=!1),T){sl({type:nI.Meta,data:{href:window.location.href,width:nv(),height:nm()}},e),ef.reset(),ey.init(),nz.forEach(function(e){return e.lock()});var t,r,n,i,s,u,c,l,h,p,d,m,y,_,b,k,C,x,E,O,R,A,M,N=(t=document,i=void 0===(n=(r={mirror:ip,blockClass:o,blockSelector:a,maskTextClass:f,maskTextSelector:g,inlineStylesheet:v,maskAllInputs:et,maskTextFn:S,maskInputFn:w,slimDOM:er,dataURLOptions:I,recordCanvas:P,inlineImages:G,onSerialize:function(e){nS(e,ip)&&ed.addIframe(e),nk(e,ip)&&ef.trackLinkElement(e),nC(e)&&ey.addShadowRoot(nu.shadowRoot(e),document)},onIframeLoad:function(e,t){ed.attachIframe(e,t),ey.observeAttachShadow(e)},onStylesheetLoad:function(e,t){ef.attachLinkElement(e,t)},keepIframeSrcFn:Z}).mirror)?new eu:n,s=r.blockClass,u=r.blockSelector,c=r.maskTextClass,l=r.maskTextSelector,h=r.inlineStylesheet,p=r.inlineImages,d=r.recordCanvas,y=void 0!==(m=r.maskAllInputs)&&m,_=r.maskTextFn,b=r.maskInputFn,C=void 0!==(k=r.slimDOM)&&k,x=r.dataURLOptions,E=r.preserveWhiteSpace,O=r.onSerialize,R=r.onIframeLoad,A=r.iframeLoadTimeout,eP(t,{doc:t,mirror:i,blockClass:void 0===s?"rr-block":s,blockSelector:void 0===u?null:u,maskTextClass:void 0===c?"rr-mask":c,maskTextSelector:void 0===l?null:l,skipChild:!1,inlineStylesheet:void 0===h||h,maskInputOptions:!0===y?{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}:!1===y?{password:!0}:y,maskTextFn:_,maskInputFn:b,slimDOMOptions:!0===C||"all"===C?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===C,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===C?{}:C,dataURLOptions:x,inlineImages:void 0!==p&&p,recordCanvas:void 0!==d&&d,preserveWhiteSpace:E,onSerialize:O,onIframeLoad:R,iframeLoadTimeout:A,onStylesheetLoad:r.onStylesheetLoad,stylesheetLoadTimeout:r.stylesheetLoadTimeout,keepIframeSrcFn:void 0===(M=r.keepIframeSrcFn)?function(){return!1}:M,newlyAddedElement:!1}));if(!N)return console.warn("Failed to snapshot the document");sl({type:nI.FullSnapshot,data:{node:N,initialOffset:ng(window)}},e),nz.forEach(function(e){return e.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&ef.adoptStyleSheets(document.adoptedStyleSheets,ip.getId(document))}};try{var e_=[],eb=function(e){var t;return nq(nK)({mutationCb:el,mousemoveCb:function(e,t){return sl({type:nI.IncrementalSnapshot,data:{source:t,positions:e}})},mouseInteractionCb:function(e){return sl({type:nI.IncrementalSnapshot,data:N({source:nR.MouseInteraction},e)})},scrollCb:eh,viewportResizeCb:function(e){return sl({type:nI.IncrementalSnapshot,data:N({source:nR.ViewportResize},e)})},inputCb:function(e){return sl({type:nI.IncrementalSnapshot,data:N({source:nR.Input},e)})},mediaInteractionCb:function(e){return sl({type:nI.IncrementalSnapshot,data:N({source:nR.MediaInteraction},e)})},styleSheetRuleCb:function(e){return sl({type:nI.IncrementalSnapshot,data:N({source:nR.StyleSheetRule},e)})},styleDeclarationCb:function(e){return sl({type:nI.IncrementalSnapshot,data:N({source:nR.StyleDeclaration},e)})},canvasMutationCb:ep,fontCb:function(e){return sl({type:nI.IncrementalSnapshot,data:N({source:nR.Font},e)})},selectionCb:function(e){sl({type:nI.IncrementalSnapshot,data:N({source:nR.Selection},e)})},customElementCb:function(e){sl({type:nI.IncrementalSnapshot,data:N({source:nR.CustomElement},e)})},blockClass:o,ignoreClass:c,ignoreSelector:h,maskTextClass:f,maskTextSelector:g,maskInputOptions:et,inlineStylesheet:v,sampling:E,recordDOM:T,recordCanvas:P,inlineImages:G,userTriggeredOnInput:z,collectFonts:$,doc:e,maskInputFn:w,maskTextFn:S,keepIframeSrcFn:Z,blockSelector:a,slimDOMOptions:er,dataURLOptions:I,mirror:ip,iframeManager:ed,stylesheetManager:ef,shadowDomManager:ey,processedNodeManager:ev,canvasManager:sp,ignoreCSSAttributes:X,plugins:(null==(t=null==J?void 0:J.filter(function(e){return e.observer}))?void 0:t.map(function(e){return{observer:e.observer,options:e.options,callback:function(t){return sl({type:nI.Plugin,data:{plugin:e.name,payload:t}}
1)}}}))||[]},k)};ed.addLoadListener(function(e){try{var t=e.contentDocument,r=eb(t);e_.push(r);var n=ed.getObserverCleanup(e);ed.setObserverCleanup(e,function(){if(n)try{n()}catch(e){}try{r();var e=e_.indexOf(r);-1!==e&&e_.splice(e,1),function(e){for(var t=nz.length-1;t>=0;t--)nz[t].getDoc()===e&&nz.splice(t,1)}(t)}catch(e){}})}catch(e){console.warn(e)}});var ew=function(){sh(),e_.push(eb(document)),il=!0};return"interactive"===document.readyState||"complete"===document.readyState?ew():(e_.push(nc("DOMContentLoaded",function(){sl({type:nI.DomContentLoaded,data:{}}),"DOMContentLoaded"===j&&ew()})),e_.push(nc("load",function(){sl({type:nI.Load,data:{}}),"load"===j&&ew()},window))),function(){e_.forEach(function(e){try{e()}catch(e){String(e).toLowerCase().includes("cross-origin")||console.warn(e)}}),ev.destroy(),il=!1,sc=void 0}}catch(e){console.warn(e)}}id.addCustomEvent=function(e,t){if(!il)throw Error("please add custom event after start recording");sl({type:nI.Custom,data:{tag:e,payload:t}})},id.freezePage=function(){nz.forEach(function(e){return e.freeze()})},id.takeFullSnapshot=function(e){if(!il)throw Error("please take full snapshot after start recording");sh(e)},id.mirror=ip,(oX=sf||(sf={}))[oX.NotStarted=0]="NotStarted",oX[oX.Running=1]="Running",oX[oX.Stopped=2]="Stopped",id.addCustomEvent,id.freezePage,id.takeFullSnapshot;var ig={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},im={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},iv={},iy={},i_={parentNode:function(e){return function(e,t,r){var n,i=e+"."+String(r);if(iy[i])return iy[i].call(t);var o=null==(n=Object.getOwnPropertyDescriptor(function(e){if(iv[e])return iv[e];var t=globalThis[e],r=t.prototype,n=e in ig?ig[e]:void 0,i=!!(n&&n.every(function(e){var t,n;return!!(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))})),o=e in im?im[e]:void 0,s=!!(o&&o.every(function(e){var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(i&&s&&!globalThis.Zone)return iv[e]=t.prototype,t.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return t.prototype;var c=u[e].prototype;if(document.body.removeChild(a),!c)return r;return iv[e]=c}catch(e){return r}}(e),r))?void 0:n.get;return o?(iy[i]=o,o.call(t)):t[r]}("Node",e,"parentNode")}},ib={exports:{}},iw=String,iS=function(){return{isColorSupported:!1,reset:iw,bold:iw,dim:iw,italic:iw,underline:iw,inverse:iw,hidden:iw,strikethrough:iw,black:iw,red:iw,green:iw,yellow:iw,blue:iw,magenta:iw,cyan:iw,white:iw,gray:iw,bgBlack:iw,bgRed:iw,bgGreen:iw,bgYellow:iw,bgBlue:iw,bgMagenta:iw,bgCyan:iw,bgWhite:iw}};ib.exports=iS(),ib.exports.createColors=iS;var ik=ib.exports,iC=function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return F(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),ix=function(e){function t(r,n,i,o,s,a){var u;return(u=e.call(this,r)||this).name="CssSyntaxError",u.reason=r,s&&(u.file=s),o&&(u.source=o),a&&(u.plugin=a),void 0!==n&&void 0!==i&&("number"==typeof n?(u.line=n,u.column=i):(u.line=n.line,u.column=n.column,u.endLine=i.line,u.endColumn=i.column)),u.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(u,t),u}D(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t,r,n=this;if(!this.source)return"";var i=this.source;null==e&&(e=ik.isColorSupported),iC&&e&&(i=iC(i));var o=i.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),u=String(a).length;if(e){var c=ik.createColors(!0),l=c.bold,h=c.gray,p=c.red;t=function(e){return l(p(e))},r=function(e){return h(e)}}else t=r=function(e){return e};return o.slice(s,a).map(function(e,i){var o=s+1+i,a=" "+(" "+o).slice(-u)+" | ";if(o===n.line){var c=r(a.replace(/\d/g," "))+e.slice(0,n.column-1).replace(/[^\t]/g," ");return t(">")+r(a)+e+"\n "+c+t("^")}return" "+r(a)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(q(Error));ix.default=ix;var iE={};iE.isClean=Symbol("isClean"),iE.my=Symbol("my");var iO={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1},iI=function(){function e(e){this.builder=e}var t=e.prototype;
1return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.beforeAfter=function(e,t){r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var r,n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var s=0;s<i;s++)r+=o}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){if(r||(r=t),t&&void 0!==(i=e.raws[t]))return i;var n,i,o=e.parent;if("before"===r&&(!o||"root"===o.type&&o.first===e||o&&"document"===o.type))return"";if(!o)return iO[r];var s=e.root();if(s.rawCache||(s.rawCache={}),void 0!==s.rawCache[r])return s.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var a="raw"+((n=r)[0].toUpperCase()+n.slice(1));return this[a]?i=this[a](s,e):s.walk(function(e){if(void 0!==(i=e.raws[t]))return!1}),void 0===i&&(i=iO[r]),s.rawCache[r]=i,i},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t},t.rawIndent=function(e){var t;return e.raws.indent?e.raws.indent:(e.walk(function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}}),t)},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}();function iR(e,t){new iI(t).stringify(e)}iI.default=iI,iR.default=iR;var iA=iE.isClean,iT=iE.my,iM=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[iA]=!1,this[iT]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=W(e[t]);!(r=n()).done;){var i=r.value;"function"==typeof i.clone?this.append(i.clone()):this.append(i)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=function e(t,r){var n=new t.constructor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&"proxyCache"!==i){var o=t[i],s=void 0===o?"undefined":B(o);"parent"===i&&"object"===s?r&&(n[i]=r):"source"===i?n[i]=o:Array.isArray(o)?n[i]=o.map(function(t){return e(t,n)}):("object"===s&&null!==o&&(o=e(o)),n[i]=o)}return n}(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,i=r.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new ix(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,("prop"===t||"value"===t||"name"===t||"params"===t||"important"===t||"text"===t)&&e.markDirty(),!0)}}},t.markDirty=function(){if(this[iA]){this[iA]=!1;for(var e=this;e=e.parent;)e[iA]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);
1else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,i=this.source.start.line,o=0;o<e;o++)"\n"===r[o]?(n=1,i+=1):n+=1;return{column:n,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return new iI().raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,i=this,o=!1,s=W(t);!(n=s()).done;){var a=n.value;a===this?o=!0:o?(this.parent.insertAfter(i,a),i=a):this.parent.insertBefore(i,a)}o||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var i=0;for(var o in this)if(Object.prototype.hasOwnProperty.call(this,o)&&"parent"!==o&&"proxyCache"!==o){var s=this[o];if(Array.isArray(s))r[o]=s.map(function(e){return(void 0===e?"undefined":B(e))==="object"&&e.toJSON?e.toJSON(null,t):e});else if((void 0===s?"undefined":B(s))==="object"&&s.toJSON)r[o]=s.toJSON(null,t);else if("source"===o){var a=t.get(s.input);null==a&&(a=i,t.set(s.input,i),i++),r[o]={end:s.end,inputId:a,start:s.start}}else r[o]=s}return n&&(r.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=iR),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,r){var n={node:this};for(var i in r)n[i]=r[i];return e.warn(t,n)},P(e,[{key:"proxyOf",get:function(){return this}}]),e}();iM.default=iM;var iP=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=N({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return D(t,e),P(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(iM);iP.default=iP;var iN=iC.SourceMapConsumer,iL=iC.SourceMapGenerator,iD=iC.existsSync,iF=iC.readFileSync,iU=iC.dirname,ij=iC.join,iB=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=iU(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new iN(this.text)),this.consumerCache},t.decodeInline=function(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e)){var t;return t=e.substr(RegExp.lastMatch.length),S?S.from(t,"base64").toString():window.atob(t)}throw Error("Unsupported source map encoding "+e.match(/data:application\/json;([^,]+),/)[1])},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return(void 0===e?"undefined":B(e))==="object"&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
1if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=iU(e),iD(e))return this.mapFile=e,iF(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"==typeof t){var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw Error("Unable to load previous source map: "+r.toString());return n}}else if(F(t,iN))return iL.fromSourceMap(t).toString();else if(F(t,iL))return t.toString();else if(this.isMap(t))return JSON.stringify(t);else throw Error("Unsupported previous source map format: "+t.toString())}else if(this.inline)return this.decodeInline(this.annotation);else if(this.annotation){var i=this.annotation;return e&&(i=ij(iU(e),i)),this.loadFile(i)}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}();iB.default=iB;var iq=iC.SourceMapConsumer,iz=iC.SourceMapGenerator,iW=iC.fileURLToPath,iV=iC.pathToFileURL,i$=iC.isAbsolute,iH=iC.resolve,iG=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t}
1,iJ=Symbol("fromOffsetCache"),iY=!!(iq&&iz),iZ=!!(iH&&i$),iK=function(){function e(e,t){if(void 0===t&&(t={}),null==e||(void 0===e?"undefined":B(e))==="object"&&!e.toString)throw Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\uFEFF"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!iZ||/^\w+:\/\//.test(t.from)||i$(t.from)?this.file=t.from:this.file=iH(t.from)),iZ&&iY){var r=new iB(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+iG(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){if(void 0===n&&(n={}),t&&(void 0===t?"undefined":B(t))==="object"){var i,o,s,a=t,u=r;if("number"==typeof a.offset){var c=this.fromOffset(a.offset);t=c.line,r=c.col}else t=a.line,r=a.column;if("number"==typeof u.offset){var l=this.fromOffset(u.offset);o=l.line,s=l.col}else o=u.line,s=u.column}else if(!r){var h=this.fromOffset(t);t=h.line,r=h.col}var p=this.origin(t,r,o,s);return(i=p?new ix(e,void 0===p.endLine?p.line:{column:p.column,line:p.line},void 0===p.endLine?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,n.plugin):new ix(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:s,line:o},this.css,this.file,n.plugin)).input={column:r,endColumn:s,endLine:o,line:t,source:this.css},this.file&&(iV&&(i.input.url=iV(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){if(this[iJ])a=this[iJ];else{var t=this.css.split("\n");a=Array(t.length);for(var r=0,n=0,i=t.length;n<i;n++)a[n]=r,r+=t[n].length+1;this[iJ]=a}s=a[a.length-1];var o=0;if(e>=s)o=a.length-1;else for(var s,a,u,c=a.length-2;o<c;)if(e<a[u=o+(c-o>>1)])c=u-1;else if(e>=a[u+1])o=u+1;else{o=u;break}return{col:e-a[o]+1,line:o+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:iH(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var i,o,s=this.map.consumer(),a=s.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"==typeof r&&(i=s.originalPositionFor({column:n,line:r})),o=i$(a.source)?iV(a.source):new URL(a.source,this.map.consumer().sourceRoot||iV(this.map.mapFile));var u={column:a.column,endColumn:i&&i.column,endLine:i&&i.line,line:a.line,url:o.toString()};if("file:"===o.protocol){if(iW)u.file=iW(o);else throw Error("file: protocol is not available in this PostCSS build")}var c=s.sourceContentFor(a.source);return c&&(u.source=c),u},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=N({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},P(e,[{key:"from",get:function(){return this.file||this.id}}]),e}();iK.default=iK,iC&&iC.registerInput&&iC.registerInput(iK);var iX=iC.SourceMapConsumer,iQ=iC.SourceMapGenerator,i0=iC.dirname,i1=iC.relative,i2=iC.resolve,i3=iC.sep,i4=iC.pathToFileURL,i5=!!(iX&&iQ),i6=!!(i0&&i2&&i1&&i3),i8=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var e,t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=W(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||i0(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new iX(r.text)).sourcesContent&&(o.sourcesContent=null):o=r.consumer(),this.map.applySourceMap(o,n,this.toUrl(this.path(i)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation){if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}},t.generate=function(){if(this.clearAnnotation(),i6&&i5&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=iQ.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new iQ({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]},t.generateString=function(){var e,t,r=this;this.css="",this.map=new iQ({file:this.outputFile(),ignoreInvalidMapping:!0});var n=1,i=1,o="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(a,u,c){if(r.css+=a,u&&"end"!==c&&(s.generated.line=n,s.generated.column=i-1,u.source&&u.source.start?(s.source=r.sourcePath(u),s.original.line=u.source.start.line,s.original.column=u.source.start.column-1):(s.source=o,s.original.line=1,s.original.column=0),r.map.addMapping(s)),(e=a.match(/\n/g))?(n+=e.length,t=a.lastIndexOf("\n"),i=a.length-t):i+=a.length,u&&"start"!==c){var l=u.parent||{raws:{}};(!("decl"===u.type||"atrule"===u.type&&!u.nodes)||u!==l.last||l.raws.semicolon)&&(u.source&&u.source.end?(s.source=r.sourcePath(u),s.original.line=u.source.end.line,s.original.column=u.source.end.column-1,s.generated.line=n,s.generated.column=i-2):(s.source=o,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=i-1),r.map.addMapping(s))}})},t.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute||60===e.charCodeAt(0)||/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?i0(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=i0(i2(r,this.mapOpts.annotation)));var n=i1(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps){if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}});else{var t=new iK(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var i=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.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))},t.toBase64=function(e){return S?S.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(i4){var r=i4(e).toString();return this.memoizedFileURLs.set(e,r),r}throw Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===i3&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),i9=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return D(t,e),t}(iM);i9.default=i9;var i7=iE.isClean,oe=iE.my,ot=function(e){function t(){return e.apply(this,arguments)||this}D(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=W(t);!(n=i()).done;)for(var o,s=n.value,a=this.normalize(s,this.last),u=W(a);!(o=u()).done;){var c=o.value;this.proxyOf.nodes.push(c)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=W(this.nodes);!(r=n()).done;)r.value.cleanRaws(t)},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){if("proxyOf"===t)return e;if(!e[t])return e[t];if("each"===t||"string"==typeof t&&t.startsWith("walk"))return function(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return e[t].apply(e,[].concat(n.map(function(e){return"function"==typeof e?function(t,r){return e(t.toProxy(),r)}:e})))};if("every"===t||"some"===t)return function(r){return e[t](function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return r.apply(void 0,[].concat([e.toProxy()],n))})};if("root"===t)return function(){return e.root().toProxy()};
1if("nodes"===t)return e.nodes.map(function(e){return e.toProxy()});if("first"===t||"last"===t)return e[t].toProxy();else return e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,("name"===t||"params"===t||"selector"===t)&&e.markDirty(),!0)}}},r.index=function(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var o,s=W(i);!(o=s()).done;){var a=o.value;this.proxyOf.nodes.splice(n+1,0,a)}for(var u in this.indexes)n<(r=this.indexes[u])&&(this.indexes[u]=r+i.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),i=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(var s,a=W(o);!(s=a()).done;){var u=s.value;this.proxyOf.nodes.splice(n,0,u)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+o.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"==typeof e)e=function e(t){return t.map(function(t){return t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t})}(sd(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e)){e=e.slice(0);for(var i,o=W(e);!(i=o()).done;){var s=i.value;s.parent&&s.parent.removeChild(s,"ignore")}}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(var a,u=W(e);!(a=u()).done;){var c=a.value;c.parent&&c.parent.removeChild(c,"ignore")}}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new iP(e)]}else if(e.selector)e=[new sg(e)];else if(e.name)e=[new sm(e)];else if(e.text)e=[new i9(e)];else throw Error("Unknown node type in node creation");return e.map(function(e){return e[oe]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[i7]&&function e(t){if(t[i7]=!1,t.proxyOf.nodes)for(var r,n=W(t.proxyOf.nodes);!(r=n()).done;)e(r.value)}(e),void 0===e.raws.before&&r&&void 0!==r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e})},r.prepend=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];t=t.reverse();for(var n,i=W(t);!(n=i()).done;){for(var o,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),u=W(a);!(o=u()).done;){var c=o.value;this.proxyOf.nodes.unshift(c)}for(var l in this.indexes)this.indexes[l]=this.indexes[l]+a.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=W(this.proxyOf.nodes);!(e=t()).done;)e.value.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls(function(n){(!t.props||t.props.includes(n.prop))&&(!t.fast||n.value.includes(t.fast))&&(n.value=n.value.replace(e,r))}),this.markDirty(),this},r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each(function(t,r){var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n})},r.walkAtRules=function(e,t){return t?F(e,RegExp)?this.walk(function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk(function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("atrule"===e.type)return t(e,r)}))},r.walkComments=function(e){return this.walk(function(t,r){if("comment"===t.type)return e(t,r)})},r.walkDecls=function(e,t){return t?F(e,RegExp)?this.walk(function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk(function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("decl"===e.type)return t(e,r)}))},r.walkRules=function(e,t){return t?F(e,RegExp)?this.walk(function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk(function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("rule"===e.type)return t(e,r)}))},P(t,[{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]}}]),t}(iM);ot.registerParse=function(e){sd=e},ot.registerRule=function(e){sg=e},ot.registerAtRule=function(e){sm=e},ot.registerRoot=function(e){sv=e},ot.default=ot,ot.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,sm.prototype):"rule"===e.type?Object.setPrototypeOf(e,sg.prototype):"decl"===e.type?Object.setPrototypeOf(e,iP.prototype):"comment"===e.type?Object.setPrototypeOf(e,i9.prototype):"root"===e.type&&Object.setPrototypeOf(e,sv.prototype),e[oe]=!0,e.nodes&&e.nodes.forEac
1h(function(e){ot.rebuild(e)})};var or=function(e){function t(t){var r;return(r=e.call(this,N({type:"document"},t))||this).nodes||(r.nodes=[]),r}return D(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new sy(new s_,this,e).stringify()},t}(ot);or.registerLazyResult=function(e){sy=e},or.registerProcessor=function(e){s_=e},or.default=or;var on=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}();on.default=on;var oi=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),!t.plugin&&this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new on(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},P(e,[{key:"content",get:function(){return this.css}}]),e}();oi.default=oi;var oo=/[\t\n\f\r "#'()/;[\\\]{}]/g,os=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,oa=/.[\r\n"'(/\\]/,ou=/[\da-f]/i,oc=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}D(t,e);var r=t.prototype;return r.append=function(){for(var t,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return this.proxyOf.nodes||(this.nodes=[]),(t=e.prototype.append).call.apply(t,[].concat([this],n))},r.prepend=function(){for(var t,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return this.proxyOf.nodes||(this.nodes=[]),(t=e.prototype.prepend).call.apply(t,[].concat([this],n))},t}(ot);oc.default=oc,ot.registerAtRule(oc);var ol=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}D(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var i=e.prototype.normalize.call(this,t);if(r){if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var o,s=W(i);!(o=s()).done;)o.value.raws.before=r.raws.before}return i},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new sb(new sw,this,e).stringify()},t}(ot);ol.registerLazyResult=function(e){sb=e},ol.registerProcessor=function(e){sw=e},ol.default=ol,ot.registerRoot(ol);var oh={comma:function(e){return oh.split(e,[","],!0)},space:function(e){return oh.split(e,[" ","\n"," "])},split:function(e,t,r){for(var n,i=[],o="",s=!1,a=0,u=!1,c="",l=!1,h=W(e);!(n=h()).done;){var p=n.value;l?l=!1:"\\"===p?l=!0:u?p===c&&(u=!1):'"'===p||"'"===p?(u=!0,c=p):"("===p?a+=1:")"===p?a>0&&(a-=1):0===a&&t.includes(p)&&(s=!0),s?(""!==o&&i.push(o.trim()),o="",s=!1):o+=p}return(r||""!==o)&&i.push(o.trim()),i}};oh.default=oh;var op=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return D(t,e),P(t,[{key:"selectors",get:function(){return oh.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(ot);op.default=op,ot.registerRule(op);var of=function(e,t){void 0===t&&(t={});var r,n,i,o,s,a,u,c,l,h,p=e.css.valueOf(),f=t.ignoreErrors,d=p.length,g=0,m=[],v=[];function y(t){throw e.error("Unclosed "+t,g)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&g>=d},nextToken:function(e){if(v.length)return v.pop();if(!(g>=d)){var t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(g)){case 10:case 32:case 9:case 13:case 12:n=g;do n+=1,r=p.charCodeAt(n);while(32===r||10===r||9===r||13===r||12===r);h=["space",p.slice(g,n)],g=n-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:var _=String.fromCharCode(r);h=[_,_,g];break;
1case 40:if(c=m.length?m.pop()[1]:"",l=p.charCodeAt(g+1),"url"===c&&39!==l&&34!==l&&32!==l&&10!==l&&9!==l&&12!==l&&13!==l){n=g;do{if(a=!1,-1===(n=p.indexOf(")",n+1))){if(f||t){n=g;break}y("bracket")}for(u=n;92===p.charCodeAt(u-1);)u-=1,a=!a}while(a);h=["brackets",p.slice(g,n+1),g,n],g=n}else n=p.indexOf(")",g+1),o=p.slice(g,n+1),-1===n||oa.test(o)?h=["(","(",g]:(h=["brackets",o,g,n],g=n);break;case 39:case 34:i=39===r?"'":'"',n=g;do{if(a=!1,-1===(n=p.indexOf(i,n+1))){if(f||t){n=g+1;break}y("string")}for(u=n;92===p.charCodeAt(u-1);)u-=1,a=!a}while(a);h=["string",p.slice(g,n+1),g,n],g=n;break;case 64:oo.lastIndex=g+1,oo.test(p),n=0===oo.lastIndex?p.length-1:oo.lastIndex-2,h=["at-word",p.slice(g,n+1),g,n],g=n;break;case 92:for(n=g,s=!0;92===p.charCodeAt(n+1);)n+=1,s=!s;if(r=p.charCodeAt(n+1),s&&47!==r&&32!==r&&10!==r&&9!==r&&13!==r&&12!==r&&(n+=1,ou.test(p.charAt(n)))){for(;ou.test(p.charAt(n+1));)n+=1;32===p.charCodeAt(n+1)&&(n+=1)}h=["word",p.slice(g,n+1),g,n],g=n;break;default:47===r&&42===p.charCodeAt(g+1)?(0===(n=p.indexOf("*/",g+2)+1)&&(f||t?n=p.length:y("comment")),h=["comment",p.slice(g,n+1),g,n]):(os.lastIndex=g+1,os.test(p),n=0===os.lastIndex?p.length-1:os.lastIndex-2,h=["word",p.slice(g,n+1),g,n],m.push(h)),g=n}return g++,h}},position:function(){return g}}},od={empty:!0,space:!0},og=function(){function e(e){this.input=e,this.root=new ol,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,i=new oc;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,s=!1,a=[],u=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?u.push("("===t?")":"]"):"{"===t&&u.length>0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(a.length>0){for(n=a.length-1,r=a[n];r&&"space"===r[0];)r=a[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]),i.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(i.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(i,"params",a),o&&(e=a[a.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)},t.checkMissedSemicolon=function(e){var t,r=this.colon(e);if(!1!==r){for(var n=0,i=r-1;i>=0&&("space"===(t=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===t[0]?t[3]+1:t[2])}},t.colon=function(e){for(var t,r,n,i=0,o=W(e.entries());!(n=o()).done;){var s=n.value,a=s[0],u=s[1];if("("===(t=u[0])&&(i+=1),")"===t&&(i-=1),0===i&&":"===t){if(r){if("word"===r[0]&&"progid"===r[1])continue;return a}this.doubleColon(u)}r=u}return!1},t.comment=function(e){var t=new i9;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=of(this.input)},t.decl=function(e,t){var r,n,i=new iP;this.init(i,e[0][2]);var o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),i.source.end=this.getPosition(o[3]||o[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),i.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),i.raws.before+=e.shift()[1];for(i.source.start=this.getPosition(e[0][2]),i.prop="";e.length;){var s=e[0][0];if(":"===s||"space"===s||"comment"===s)break;i.prop+=e.shift()[1]}for(i.raws.between="";e.length;){if(":"===(r=e.shift())[0]){i.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),i.raws.between+=r[1]}("_"===i.prop[0]||"*"===i.prop[0])&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));for(var a=[];
1e.length&&("space"===(n=e[0][0])||"comment"===n);)a.push(e.shift());this.precheckMissedSemicolon(e);for(var u=e.length-1;u>=0;u--){if("!important"===(r=e[u])[1].toLowerCase()){i.important=!0;var c=this.stringFrom(e,u);" !important"!==(c=this.spacesFromEnd(e)+c)&&(i.raws.important=c);break}if("important"===r[1].toLowerCase()){for(var l=e.slice(0),h="",p=u;p>0;p--){var f=l[p][0];if(0===h.trim().indexOf("!")&&"space"!==f)break;h=l.pop()[1]+h}0===h.trim().indexOf("!")&&(i.important=!0,i.raws.important=h,e=l)}if("space"!==r[0]&&"comment"!==r[0])break}e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]})&&(i.raws.between+=a.map(function(e){return e[1]}).join(""),a=[]),this.raw(i,"value",a.concat(e),t),i.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new op;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.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)},t.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())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],u=e;u;){if(r=u[0],a.push(u),"("===r||"["===r)i||(i=u),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=u),o.push("}");else if(0===o.length){if(";"===r){if(n){this.decl(a,s);return}break}if("{"===r){this.rule(a);return}if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;a.length&&("space"===(u=a[a.length-1][0])||"comment"===u);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[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)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var i,o,s,a,u=r.length,c="",l=!0,h=0;h<u;h+=1)"space"!==(o=(i=r[h])[0])||h!==u-1||n?"comment"===o?(a=r[h-1]?r[h-1][0]:"empty",s=r[h+1]?r[h+1][0]:"empty",od[a]||od[s]?l=!1:","===c.slice(-1)?l=!1:c+=i[1]):c+=i[1]:l=!1;if(!l){var p=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:p,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new op;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}();function om(e,t){var r=new og(new iK(e,t));try{r.parse()}catch(e){throw e}return r.root}om.default=om,ot.registerParse(om);var ov=iE.isClean,oy=iE.my,o_={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},ob={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}
1,ow={Once:!0,postcssPlugin:!0,prepare:!0};function oS(e){return(void 0===e?"undefined":B(e))==="object"&&"function"==typeof e.then}function ok(e){var t=!1,r=o_[e.type];return("decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append)?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function oC(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:ok(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function ox(e){return e[ov]=!1,e.nodes&&e.nodes.forEach(function(e){return ox(e)}),e}var oE={},oO=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,(void 0===r?"undefined":B(r))==="object"&&null!==r&&("root"===r.type||"document"===r.type))i=ox(r);else if(F(r,e)||F(r,oi))i=ox(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var s=om;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(e){this.processed=!0,this.error=e}i&&!i[oy]&&ot.rebuild(i)}this.result=new oi(t,i,n),this.helpers=N({},oE,{postcss:oE,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return(void 0===e?"undefined":B(e))==="object"&&e.prepare?N({},e,e.prepare(o.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=W(this.plugins);!(t=n()).done;){var i=t.value;if((void 0===i?"undefined":B(i))==="object")for(var o in i){if(!ob[o]&&/^[A-Z]/.test(o))throw Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");
1if(!ow[o]){if("object"===B(i[o]))for(var s in i[o])r(i,"*"===s?o:o+"-"+s.toLowerCase(),i[o][s]);else"function"==typeof i[o]&&r(i,o,i[o])}}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return T(function(){var t,r,n,i,o,s,a,u,c,l,h,p;return V(this,function(f){switch(f.label){case 0:e.plugin=0,t=0,f.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!oS(n=e.runOnRoot(r)))return[3,5];f.label=2;case 2:return f.trys.push([2,4,,5]),[4,n];case 3:return f.sent(),[3,5];case 4:throw i=f.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];o=e.result.root,f.label=7;case 7:if(o[ov])return[3,14];o[ov]=!0,s=[oC(o)],f.label=8;case 8:if(!(s.length>0))return[3,13];if(!oS(a=e.visitTick(s)))return[3,12];f.label=9;case 9:return f.trys.push([9,11,,12]),[4,a];case 10:return f.sent(),[3,12];case 11:throw u=f.sent(),c=s[s.length-1].node,e.handleError(u,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];l=function(){var t,r,n,i;return V(this,function(s){switch(s.label){case 0:r=(t=p.value)[0],n=t[1],e.result.lastPlugin=r,s.label=1;case 1:if(s.trys.push([1,6,,7]),"document"!==o.type)return[3,3];return[4,Promise.all(o.nodes.map(function(t){return n(t,e.helpers)}))];case 2:return s.sent(),[3,5];case 3:return[4,n(o,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw i=s.sent(),e.handleError(i);case 7:return[2]}})},h=W(e.listeners.OnceExit),f.label=15;case 15:if((p=h()).done)return[3,18];return[5,$(l())];case 16:f.sent(),f.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if((void 0===e?"undefined":B(e))==="object"&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map(function(r){return e.Once(r,t.helpers)});
1if(oS(r[0]))return Promise.all(r);return r}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=iR;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new i8(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.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,t=W(this.plugins);!(e=t()).done;){var r=e.value;if(oS(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[ov];)n[ov]=!0,this.walkSync(n);if(this.listeners.OnceExit){if("document"===n.type)for(var i,o=W(n.nodes);!(i=o()).done;){var s=i.value;this.visitSync(this.listeners.OnceExit,s)}else this.visitSync(this.listeners.OnceExit,n)}}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=W(e);!(r=n()).done;){var i=r.value,o=i[0],s=i[1];this.result.lastPlugin=o;var a=void 0;try{a=s(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(oS(a))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"!==r.type&&"document"!==r.type&&!r.parent){e.pop();return}if(n.length>0&&t.visitorIndex<n.length){var i=n[t.visitorIndex],o=i[0],s=i[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return s(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var a,u=t.iterator;a=r.nodes[r.indexes[u]];)if(r.indexes[u]+=1,!a[ov]){a[ov]=!0,e.push(oC(a));return}t.iterator=0,delete r.indexes[u]}for(var c=t.events;t.eventIndex<c.length;){var l=c[t.eventIndex];if(t.eventIndex+=1,0===l){r.nodes&&r.nodes.length&&(r[ov]=!0,t.iterator=r.getIterator());return}if(this.listeners[l]){t.visitors=this.listeners[l];return}}e.pop()},t.walkSync=function(e){var t=this;e[ov]=!0;for(var r,n=ok(e),i=W(n);!(r=i()).done;){var o=r.value;if(0===o)e.nodes&&e.each(function(e){e[ov]||t.walkSync(e)});else{var s=this.listeners[o];if(s&&this.visitSync(s,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},P(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();oO.registerPostcss=function(e){oE=e},oO.default=oO,ol.registerLazyResult(oO),or.registerLazyResult(oO);var oI=function(){function e(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0,this.result=new oi(this._processor,n,this._opts),this.result.css=t;var n,i=this;Object.defineProperty(this.result,"root",{get:function(){return i.root}});var o=new i8(iR,n,this._opts,t);if(o.isMap()){var s=o.generate(),a=s[0],u=s[1];a&&(this.result.css=a),u&&(this.result.map=u)}else o.clearAnnotation(),this.result.css=o.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},P(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){var e;if(this._root)return this._root;try{e=om(this._css,this._opts)}catch(e){this.error=e}if(!this.error)return this._root=e,e;throw this.error}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}();oI.default=oI;var oR=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=W(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),(void 0===i?"undefined":B(i))==="object"&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if((void 0===i?"undefined":B(i))==="object"&&i.postcssPlugin)r.push(i);else if("function"==typeof i)r.push(i);else if((void 0===i?"undefined":B(i))==="object"&&(i.parse||i.stringify));else throw Error(i+" is not a PostCSS plugin")}return r},t.process=function(e,t){return(void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax)?new oO(this,e,t):new oI(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}();function oA(e,t){if(Array.isArray(e))return e.map(function(e){return oA(e)});
1var r=e.inputs,n=U(e,["inputs"]);if(r){t=[];for(var i,o=W(r);!(i=o()).done;){var s=i.value,a=N({},s,{__proto__:iK.prototype});a.map&&(a.map=N({},a.map,{__proto__:iB.prototype})),t.push(a)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return oA(e,t)})),n.source){var u=n.source,c=u.inputId,l=U(u,["inputId"]);n.source=l,null!=c&&(n.source.input=t[c])}if("root"===n.type)return new ol(n);if("decl"===n.type)return new iP(n);if("rule"===n.type)return new op(n);if("comment"===n.type)return new i9(n);if("atrule"===n.type)return new oc(n);throw Error("Unknown node type: "+e.type)}function oT(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new oR(t)}oR.default=oR,ol.registerProcessor(oR),or.registerProcessor(oR),oA.default=oA,oT.plugin=function(e,t){var r,n=!1;function i(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),k.env.LANG&&k.env.LANG.startsWith("cn")&&console.warn(e+": éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(i));return s.postcssPlugin=e,s.postcssVersion=new oR().version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return oT([i(r)]).process(e,t)},i},oT.stringify=iR,oT.parse=om,oT.fromJSON=oA,oT.list=oh,oT.comment=function(e){return new i9(e)},oT.atRule=function(e){return new oc(e)},oT.decl=function(e){return new iP(e)},oT.rule=function(e){return new op(e)},oT.root=function(e){return new ol(e)},oT.document=function(e){return new or(e)},oT.CssSyntaxError=ix,oT.Declaration=iP,oT.Container=ot,oT.Processor=oR,oT.Document=or,oT.Comment=i9,oT.Warning=on,oT.AtRule=oc,oT.Result=oi,oT.Input=iK,oT.Rule=op,oT.Root=ol,oT.Node=iM,oO.registerPostcss(oT),oT.default=oT;var oM=oT&&oT.__esModule&&Object.prototype.hasOwnProperty.call(oT,"default")?oT.default:oT;oM.stringify,oM.fromJSON,oM.plugin,oM.parse,oM.list,oM.document,oM.comment,oM.atRule,oM.rule,oM.decl,oM.root,oM.CssSyntaxError,oM.Declaration,oM.Container,oM.Processor,oM.Document,oM.Comment,oM.Warning,oM.AtRule,oM.Result,oM.Input,oM.Rule,oM.Root,oM.Node;var oP=Object.defineProperty,oN=function(e,t,r){var n;return(n=(void 0===t?"undefined":B(t))!=="symbol"?t+"":t)in e?oP(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},oL=function(){function e(e){oN(this,"fileName"),oN(this,"functionName"),oN(this,"lineNumber"),oN(this,"columnNumber"),this.fileName=e.fileName||"",this.functionName=e.functionName||"",this.lineNumber=e.lineNumber,this.columnNumber=e.columnNumber}return e.prototype.toString=function(){var e=this.lineNumber||"",t=this.columnNumber||"";return this.functionName?this.functionName+" ("+this.fileName+":"+e+":"+t+")":this.fileName+":"+e+":"+t},e}(),oD=/(^|@)\S+:\d+/,oF=/^\s*at .*(\S+:\d+|\(native\))/m,oU=/^(eval@)?(\[native code])?$/,oj={parse:function(e){return e?void 0!==e.stacktrace||void 0!==e["opera#sourceloc"]?this.parseOpera(e):e.stack&&e.stack.match(oF)?this.parseV8OrIE(e):e.stack?this.parseFFOrSafari(e):(console.warn("[console-record-plugin]: Failed to parse error object:",e),[]):[]},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));if(!t)throw Error("Cannot parse given url: "+e);return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(e){return e.stack.split("\n").filter(function(e){return!!e.match(oF)},this).map(function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var t=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),r=t.match(/ (\((.+):(\d+):(\d+)\)$)/),n=(t=r?t.replace(r[0],""):t).split(/\s+/).slice(1),i=this.extractLocation(r?r[1]:n.pop());return new oL({functionName:n.join(" ")||void 0,fileName:["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0],lineNumber:i[1],columnNumber:i[2]})},this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter(function(e){return!e.match(oU)},this).map(function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new oL({functionName:e});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=e.match(t),n=r&&r[1]?r[1]:void 0,i=this.extractLocation(e.replace(t,""));return new oL({functionName:n,fileName:i[0],lineNumber:i[1],columnNumber:i[2]})},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,r=e.message.split("\n"),n=[],i=2,o=r.length;i<o;i+=2){var s=t.exec(r[i]);s&&n.push(new oL({fileName:s[2],lineNumber:parseFloat(s[1])}))}return n},parseOpera10:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=e.stacktrace.split("\n"),n=[],i=0,o=r.length;i<o;i+=2){var s=t.exec(r[i]);s&&n.push(new oL({functionName:s[3]||void 0,fileName:s[2],lineNumber:parseFloat(s[1])}))}return n},parseOpera11:function(e){return e.stack.split("\n").filter(function(e){return!!e.match(oD)&&!e.match(/^Error created at/)},this).map(function(e){var t=e.split("@"),r=this.extractLocation(t.pop());return new oL({functionName:(t.shift()||"").replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0,fileName:r[0],lineNumber:r[1],columnNumber:r[2]})},this)}};function oB(e){return"[object Object]"===Object.prototype.toString.call(e)}
1function oq(e,t){var r={numOfKeysLimit:50,depthOfLimit:4};Object.assign(r,t);var n=[],i=[];return JSON.stringify(e,function(e,t){if(n.length>0){var o,s,a=n.indexOf(this);~a?n.splice(a+1):n.push(this),~a?i.splice(a,1/0,e):i.push(e),~n.indexOf(t)&&(t=n[0]===t?"[Circular ~]":"[Circular ~."+i.slice(0,n.indexOf(t)).join(".")+"]")}else n.push(t);if(null===t)return t;if(void 0===t)return"undefined";if(oB(o=t)&&Object.keys(o).length>r.numOfKeysLimit||"function"==typeof o||oB(o)&&function e(t,r){if(0===r)return!0;for(var n,i=Object.keys(t),o=W(i);!(n=o()).done;){var s=n.value;if(oB(t[s])&&e(t[s],r-1))return!0}return!1}(o,r.depthOfLimit))return s=t.toString(),r.stringLengthLimit&&s.length>r.stringLengthLimit&&(s=""+s.slice(0,r.stringLengthLimit)+"..."),s;if((void 0===t?"undefined":B(t))==="bigint")return t.toString()+"n";if(F(t,Event)){var u={};for(var c in t){var l=t[c];Array.isArray(l)?u[c]=function(e){if(!e||!e.outerHTML)return"";for(var t="";e.parentElement;){var r=e.localName;if(!r)break;r=r.toLowerCase();var n=e.parentElement,i=[];if(n.children&&n.children.length>0)for(var o=0;o<n.children.length;o++){var s=n.children[o];s.localName&&s.localName.toLowerCase&&s.localName.toLowerCase()===r&&i.push(s)}i.length>1&&(r+=":eq("+i.indexOf(e)+")"),t=r+(t?">"+t:""),e=n}return t}(l.length?l[0]:null):u[c]=l}return u}return F(t,Node)?F(t,HTMLElement)?t?t.outerHTML:"":t.nodeName:F(t,Error)?t.stack?t.stack+"\nEnd of stack for Error object":t.name+": "+t.message:t})}var oz={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],lengthThreshold:1e3,logger:"console"};function oW(e,t,r){var n=r?Object.assign({},oz,r):oz,i=n.logger;if(!i)return function(){};l="string"==typeof i?t[i]:i;var o=0,s=!1,a=[];if(n.level.includes("error")){var u=function(t){var r=t.message,i=t.error;e({level:"error",trace:oj.parse(i).map(function(e){return e.toString()}),payload:[oq(r,n.stringifyOptions)]})};t.addEventListener("error",u),a.push(function(){t.removeEventListener("error",u)});var c=function(t){var r,i;F(t.reason,Error)?i=[oq("Uncaught (in promise) "+(r=t.reason).name+": "+r.message,n.stringifyOptions)]:(r=Error(),i=[oq("Uncaught (in promise)",n.stringifyOptions),oq(t.reason,n.stringifyOptions)]),e({level:"error",trace:oj.parse(r).map(function(e){return e.toString()}),payload:i})};t.addEventListener("unhandledrejection",c),a.push(function(){t.removeEventListener("unhandledrejection",c)})}for(var l,h,p=W(n.level);!(h=p()).done;){var f=h.value;a.push(function(t,r){var i=this;return t[r]?function(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(e){return function(){}}}(t,r,function(t){return function(){for(var a=arguments.length,u=Array(a),c=0;c<a;c++)u[c]=arguments[c];if(t.apply(i,u),("assert"!==r||!u[0])&&!s){s=!0;try{var l=oj.parse(Error()).map(function(e){return e.toString()}).splice(1),h=("assert"===r?u.slice(1):u).map(function(e){return oq(e,n.stringifyOptions)});++o<n.lengthThreshold?e({level:r,trace:l,payload:h}):o===n.lengthThreshold&&e({level:"warn",trace:[],payload:[oq("The number of log records reached the threshold.")]})}catch(e){t.apply(void 0,[].concat(["rrweb logger error:",e],u))}finally{s=!1}}}}):function(){}}(l,f))}return function(){a.forEach(function(e){return e()})}}var oV,o$,oH,oG,oJ,oY,oZ,oK,oX,oQ,o0,o1,o2,o3,o4,o5,o6,o8,o9,o7,se,st,sr,sn,si,so,ss,sa,su,sc,sl,sh,sp,sf,sd,sg,sm,sv,sy,s_,sb,sw,sS,sk,sC,sx=oQ.setImmediate,sE=Object.prototype.toString,sO=void 0!==sx?function(e){return sx(e)}:setTimeout;try{Object.defineProperty({},"x",{}),sS=function(e,t,r,n){return Object.defineProperty(e,t,{value:r,writable:!0,configurable:!1!==n})}}catch(e){sS=function(e,t,r){return e[t]=r,e}}function sI(e,t){sC.add(e,t),sk||(sk=sO(sC.drain))}function sR(e){var t,r=typeof e;return null!==e&&("object"===r||"function"===r)&&(t=e.then),"function"==typeof t&&t}function sA(){for(var e=0;e<this.chain.length;e++)!function(e,t,r){var n,i;try{!1===t?r.reject(e.msg):(n=!0===t?e.msg:t.call(void 0,e.msg))===r.promise?r.reject(TypeError("Promise-chain cycle")):(i=sR(n))?i.call(n,r.resolve,r.reject):r.resolve(n)}catch(e){r.reject(e)}}(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function sT(e){var t,r=this;if(!r.triggered){r.triggered=!0,r.def&&(r=r.def);try{(t=sR(e))?sI(function(){var n=new sN(r);try{t.call(e,function(){sT.apply(n,arguments)},function(){sM.apply(n,arguments)})}catch(e){sM.call(n,e)}}):(r.msg=e,r.state=1,r.chain.length>0&&sI(sA,r))}catch(e){sM.call(new sN(r),e)}}}function sM(e){var t=this;!t.triggered&&(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&sI(sA,t))}function sP(e,t,r,n){for(var i=0;i<t.length;i++)!function(i){e.resolve(t[i]).then(function(e){r(i,e)},n)}(i)}function sN(e){this.def=e,this.triggered=!1}function sL(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function sD(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new sL(this);this.then=function(e,r){var n={success:"function"!=typeof e||e,failure:"function"==typeof r&&r};return n.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");n.resolve=e,n.reject=t}),t.chain.push(n),0!==t.state&&sI(sA,t),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){sT.call(t,e)},function(e){sM.call(t,e)})}catch(e){sM.call(t,e)}}sC=function(){var e,t,r;function n(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(i,o){r=new n(i,o),t?t.next=r:e=r,t=r,r=void 0},drain:function(){var r=e;for(e=t=sk=void 0;r;)r.fn.call(r.self),r=r.next}}}();var sF=sS({},"constructor",sD,!1);sD.prototype=sF,sS(sF,"__NPO__",0,!1),sS(sD,"resolve",function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");t(e)})}),sS(sD,"reject",function(e){return new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");r(e)})}),sS(sD,"all",function(e){var t=this;return"[object Array]"!==sE.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");var i=e.length,o=Array(i),s=0;sP(t,e,function(e,t){o[e]=t,++s===i&&r(o)},n)})}),sS(sD,"race",function(e){var t=this;return"[object Array]"!==sE.call(e)?t.reject(TypeError("Not an array")):new t(function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");sP(t,e,function(e,t){r(t)},n)})}),y="undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")?Promise:sD;var sU=Array.prototype,sj=Function.prototype,sB=Object.prototype,sq=sU.slice,sz=sB.toString,sW=sB.hasOwnProperty,sV=oQ.console,s$=oQ.navigator,sH=oQ.document,sG=oQ.opera,sJ=oQ.screen,sY=s$.userAgent,sZ=sj.bind,sK=sU.forEach,sX=sU.indexOf,sQ=sU.map,s0=Array.isArray,s1={},s2={},s3={log:function(){if(x.DEBUG&&!s2.isUndefined(sV)&&sV)try{sV.log.apply(sV,arguments)}catch(e){s2.each(arguments,function(e){sV.log(e)})}},warn:function(){if(x.DEBUG&&!s2.isUndefined(sV)&&sV){var e=["Mixpanel warning:"].
1concat(s2.toArray(arguments));try{sV.warn.apply(sV,e)}catch(t){s2.each(e,function(e){sV.warn(e)})}}},error:function(){if(x.DEBUG&&!s2.isUndefined(sV)&&sV){var e=["Mixpanel error:"].concat(s2.toArray(arguments));try{sV.error.apply(sV,e)}catch(t){s2.each(e,function(e){sV.error(e)})}}},critical:function(){if(!s2.isUndefined(sV)&&sV){var e=["Mixpanel error:"].concat(s2.toArray(arguments));try{sV.error.apply(sV,e)}catch(t){s2.each(e,function(e){sV.error(e)})}}}},s4=function(e,t){return function(){return arguments[0]="["+t+"] "+arguments[0],e.apply(s3,arguments)}},s5=function(e){return{log:s4(s3.log,e),warn:s4(s3.warn,e),error:s4(s3.error,e),critical:s4(s3.critical,e)}},s6=function(e){return function(){try{return e.apply(this,arguments)}catch(e){s3.critical("Implementation error. Please turn on debug and contact [email protected]."),x.DEBUG&&s3.critical(e)}}},s8=function(e){var t=e.prototype;for(var r in t)"function"==typeof t[r]&&(t[r]=s6(t[r]))};s2.bind=function(e,t){var r,n;if(sZ&&e.bind===sZ)return sZ.apply(e,sq.call(arguments,1));if(!s2.isFunction(e))throw TypeError();return r=sq.call(arguments,2),n=function(){if(!(this instanceof n))return e.apply(t,r.concat(sq.call(arguments)));var i={};i.prototype=e.prototype;var o=new i;i.prototype=null;var s=e.apply(o,r.concat(sq.call(arguments)));return Object(s)===s?s:o}},s2.each=function(e,t,r){if(null!=e){if(sK&&e.forEach===sK)e.forEach(t,r);else if(e.length===+e.length){for(var n=0,i=e.length;n<i;n++)if(n in e&&t.call(r,e[n],n,e)===s1)return}else for(var o in e)if(sW.call(e,o)&&t.call(r,e[o],o,e)===s1)return}},s2.extend=function(e){return s2.each(sq.call(arguments,1),function(t){for(var r in t)void 0!==t[r]&&(e[r]=t[r])}),e},s2.isArray=s0||function(e){return"[object Array]"===sz.call(e)},s2.isFunction=function(e){return"function"==typeof e},s2.isArguments=function(e){return!!(e&&sW.call(e,"callee"))},s2.toArray=function(e){return e?e.toArray?e.toArray():s2.isArray(e)||s2.isArguments(e)?sq.call(e):s2.values(e):[]},s2.map=function(e,t,r){if(sQ&&e.map===sQ)return e.map(t,r);var n=[];return s2.each(e,function(e){n.push(t.call(r,e))}),n},s2.keys=function(e){var t=[];return null===e||s2.each(e,function(e,r){t[t.length]=r}),t},s2.values=function(e){var t=[];return null===e||s2.each(e,function(e){t[t.length]=e}),t},s2.include=function(e,t){var r=!1;return null===e?r:sX&&e.indexOf===sX?-1!=e.indexOf(t):(s2.each(e,function(e){if(r||(r=e===t))return s1}),r)},s2.includes=function(e,t){return -1!==e.indexOf(t)},s2.inherit=function(e,t){return e.prototype=new t,e.prototype.constructor=e,e.superclass=t.prototype,e},s2.isObject=function(e){return e===Object(e)&&!s2.isArray(e)},s2.isEmptyObject=function(e){if(s2.isObject(e)){for(var t in e)if(sW.call(e,t))return!1;return!0}return!1},s2.isUndefined=function(e){return void 0===e},s2.isString=function(e){return"[object String]"==sz.call(e)},s2.isDate=function(e){return"[object Date]"==sz.call(e)},s2.isNumber=function(e){return"[object Number]"==sz.call(e)},s2.isElement=function(e){return!!(e&&1===e.nodeType)},s2.encodeDates=function(e){return s2.each(e,function(t,r){s2.isDate(t)?e[r]=s2.formatDate(t):s2.isObject(t)&&(e[r]=s2.encodeDates(t))}),e},s2.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},s2.formatDate=function(e){function t(e){return e<10?"0"+e:e}return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())},s2.strip_empty_properties=function(e){var t={};return s2.each(e,function(e,r){s2.isString(e)&&e.length>0&&(t[r]=e)}),t},s2.truncate=function(e,t){var r;return"string"==typeof e?r=e.slice(0,t):s2.isArray(e)?(r=[],s2.each(e,function(e){r.push(s2.truncate(e,t))})):s2.isObject(e)?(r={},s2.each(e,function(e,n){r[n]=s2.truncate(e,t)})):r=e,r},s2.JSONEncode=function(e){var t=function(e){var t=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return t.lastIndex=0,t.test(e)?'"'+e.replace(t,function(e){var t=r[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'},r=function(e,n){var i="",o=0,s="",a="",u=0,c=i,l=[],h=n[e];switch(h&&"object"==typeof h&&"function"==typeof h.toJSON&&(h=h.toJSON(e)),typeof h){case"string":return t(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";if(i+=" ",l=[],"[object Array]"===sz.apply(h)){for(o=0,u=h.length;o<u;o+=1)l[o]=r(o,h)||"null";return a=0===l.length?"[]":i?"[\n"+i+l.join(",\n"+i)+"\n"+c+"]":"["+l.join(",")+"]",i=c,a}for(s in h)sW.call(h,s)&&(a=r(s,h))&&l.push(t(s)+(i?": ":":")+a);return a=0===l.length?"{}":i?"{"+l.join(",")+c+"}":"{"+l.join(",")+"}",i=c,a}};return r("",{"":e})},s2.JSONDecode=(u={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:" "},c=function(e){var t=SyntaxError(e);throw t.at=i,t.text=s,t},l=function(e){return e&&e!==o&&c("Expected '"+e+"' instead of '"+o+"'"),o=s.charAt(i),i+=1,o},h=function(){var e,t="";for("-"===o&&(t="-",l("-"));o>="0"&&o<="9";)t+=o,l();if("."===o)for(t+=".";l()&&o>="0"&&o<="9";)t+=o;if("e"===o||"E"===o)for(t+=o,l(),("-"===o||"+"===o)&&(t+=o,l());o>="0"&&o<="9";)t+=o,l();if(isFinite(e=+t))return e;c("Bad number")},p=function(){var e,t,r,n="";if('"'===o)for(;l();){if('"'===o)return l(),n;if("\\"===o){if(l(),"u"===o){for(t=0,r=0;t<4&&isFinite(e=parseInt(l(),16));t+=1)r=16*r+e;n+=String.fromCharCode(r)}else if("string"==typeof u[o])n+=u[o];else break}else n+=o}c("Bad string")},f=function(){for(;o&&o<=" ";)l()},d=function(){switch(o){case"t":return l("t"),l("r"),l("u"),l("e"),!0;case"f":return l("f"),l("a"),l("l"),l("s"),l("e"),!1;case"n":return l("n"),l("u"),l("l"),l("l"),null}c('Unexpected "'+o+'"')},g=function(){var e=[];
1if("["===o){if(l("["),f(),"]"===o)return l("]"),e;for(;o;){if(e.push(a()),f(),"]"===o)return l("]"),e;l(","),f()}}c("Bad array")},m=function(){var e,t={};if("{"===o){if(l("{"),f(),"}"===o)return l("}"),t;for(;o;){if(e=p(),f(),l(":"),Object.hasOwnProperty.call(t,e)&&c('Duplicate key "'+e+'"'),t[e]=a(),f(),"}"===o)return l("}"),t;l(","),f()}}c("Bad object")},a=function(){switch(f(),o){case"{":return m();case"[":return g();case'"':return p();case"-":return h();default:return o>="0"&&o<="9"?h():d()}},function(e){var t;return s=e,i=0,o=" ",t=a(),f(),o&&c("Syntax error"),t}),s2.base64Encode=function(e){var t,r,n,i,o,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a=0,u=0,c="",l=[];if(!e)return e;e=s2.utf8Encode(e);do t=(o=e.charCodeAt(a++)<<16|e.charCodeAt(a++)<<8|e.charCodeAt(a++))>>18&63,r=o>>12&63,n=o>>6&63,i=63&o,l[u++]=s.charAt(t)+s.charAt(r)+s.charAt(n)+s.charAt(i);while(a<e.length);switch(c=l.join(""),e.length%3){case 1:c=c.slice(0,-2)+"==";break;case 2:c=c.slice(0,-1)+"="}return c},s2.utf8Encode=function(e){e=(e+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");var t,r,n,i="",o=0;for(n=0,t=r=0,o=e.length;n<o;n++){var s=e.charCodeAt(n),a=null;s<128?r++:a=s>127&&s<2048?String.fromCharCode(s>>6|192,63&s|128):String.fromCharCode(s>>12|224,s>>6&63|128,63&s|128),null!==a&&(r>t&&(i+=e.substring(t,r)),i+=a,t=r=n+1)}return r>t&&(i+=e.substring(t,e.length)),i},s2.UUID=function(){try{return oQ.crypto.randomUUID()}catch(r){for(var e=Array(36),t=0;t<36;t++)e[t]=Math.floor(16*Math.random());return e[14]=4,e[19]=e[19]&=-5,e[19]=e[19]|=8,e[8]=e[13]=e[18]=e[23]="-",s2.map(e,function(e){return e.toString(16)}).join("")}};var s9=["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"];s2.isBlockedUA=function(e){var t;for(t=0,e=e.toLowerCase();t<s9.length;t++)if(-1!==e.indexOf(s9[t]))return!0;return!1},s2.HTTPBuildQuery=function(e,t){var r,n,i=[];return s2.isUndefined(t)&&(t="&"),s2.each(e,function(e,t){r=encodeURIComponent(e.toString()),n=encodeURIComponent(t),i[i.length]=n+"="+r}),i.join(t)},s2.getQueryParam=function(e,t){var r=RegExp("[\\?&]"+(t=t.replace(/[[\]\\]/g,"\\$&"))+"=([^&#]*)").exec(e);if(null===r||r&&"string"!=typeof r[1]&&r[1].length)return"";var n=r[1];try{n=decodeURIComponent(n)}catch(e){s3.error("Skipping decoding for malformed query param: "+n)}return n.replace(/\+/g," ")},s2.cookie={get:function(e){for(var t=e+"=",r=sH.cookie.split(";"),n=0;n<r.length;n++){for(var i=r[n];" "==i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return decodeURIComponent(i.substring(t.length,i.length))}return null},parse:function(e){var t;try{t=s2.JSONDecode(s2.cookie.get(e))||{}}catch(e){}return t},set_seconds:function(e,t,r,n,i,o,s){var a="",u="",c="";if(s)a="; domain="+s;else if(n){var l=af(sH.location.hostname);a=l?"; domain=."+l:""}if(r){var h=new Date;h.setTime(h.getTime()+1e3*r),u="; expires="+h.toGMTString()}o&&(i=!0,c="; SameSite=None"),i&&(c+="; secure"),sH.cookie=e+"="+encodeURIComponent(t)+u+"; path=/"+a+c},set:function(e,t,r,n,i,o,s){var a="",u="",c="";if(s)a="; domain="+s;else if(n){var l=af(sH.location.hostname);a=l?"; domain=."+l:""}if(r){var h=new Date;h.setTime(h.getTime()+864e5*r),u="; expires="+h.toGMTString()}o&&(i=!0,c="; SameSite=None"),i&&(c+="; secure");var p=e+"="+encodeURIComponent(t)+u+"; path=/"+a+c;return sH.cookie=p,p},remove:function(e,t,r){s2.cookie.set(e,"",-1,t,!1,!1,r)}};var s7=function(e){var t=!0;try{var r="__mplss_"+ac(8);e.setItem(r,"xyz"),"xyz"!==e.getItem(r)&&(t=!1),e.removeItem(r)}catch(e){t=!1}return t},ae=null,at=function(e,t){return null===ae||t?ae=s7(e):ae},ar=null;function an(e,t,r){var n=function(e){s3.error(t+" error: "+e)};return{is_supported:function(n){var i=r(e,n);return i||s3.error(t+" unsupported"),i},error:n,get:function(t){try{return e.getItem(t)}catch(e){n(e)}return null},parse:function(t){try{return s2.JSONDecode(e.getItem(t))||{}}catch(e){}return null},set:function(t,r){try{e.setItem(t,r)}catch(e){n(e)}},remove:function(t){try{e.removeItem(t)}catch(e){n(e)}}}}var ai=function(){try{return oQ.localStorage}catch(e){return null}};s2.localStorage=an(ai(),"localStorage",at),s2.sessionStorage=an(function(){try{return oQ.sessionStorage}catch(e){return null}}(),"sessionStorage",function(e,t){return null===ar||t?ar=s7(e):ar}),s2.register_event=function(){function e(t){return t&&(t.preventDefault=e.preventDefault,t.stopPropagation=e.stopPropagation),t}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(t,r,n,i,o){if(!t){s3.error("No valid element provided to register_event");return}if(t.addEventListener&&!i)t.addEventListener(r,n,!!o);else{var s="on"+r,a=t[s];t[s]=function(r){if(r=r||e(oQ.event)){var i,o,s=!0;return s2.isFunction(a)&&(i=a(r)),o=n.call(t,r),(!1===i||!1===o)&&(s=!1),s}}}}}();var ao=RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');s2.dom_query=function(){function e(e){return e.all?e.all:e.getElementsByTagName("*")}var t=/[\t\r\n]/g;function r(r){if(!sH.getElementsByTagName)return[];var n=r.split(" "),i=[sH];for(d=0;d<n.length;d++){if((c=n[d].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){h=(l=c.split("#"))[0];var o=l[1],s=sH.getElementById(o);
1if(!s||h&&s.nodeName.toLowerCase()!=h)return[];i=[s];continue}if(c.indexOf(".")>-1){h=(l=c.split("."))[0];var a=l[1];for(h||(h="*"),p=[],f=0,g=0;g<i.length;g++)for(m=0,v="*"==h?e(i[g]):i[g].getElementsByTagName(h);m<v.length;m++)p[f++]=v[m];for(g=0,i=[],y=0;g<p.length;g++)p[g].className&&s2.isString(p[g].className)&&(" "+p[g].className+" ").replace(t," ").indexOf(" "+a+" ")>=0&&(i[y++]=p[g]);continue}var u=c.match(ao);if(u){h=u[1];var c,l,h,p,f,d,g,m,v,y,_,b=u[2],w=u[3],S=u[4];for(h||(h="*"),p=[],f=0,g=0;g<i.length;g++)for(m=0,v="*"==h?e(i[g]):i[g].getElementsByTagName(h);m<v.length;m++)p[f++]=v[m];switch(i=[],y=0,w){case"=":_=function(e){return e.getAttribute(b)==S};break;case"~":_=function(e){return e.getAttribute(b).match(RegExp("\\b"+S+"\\b"))};break;case"|":_=function(e){return e.getAttribute(b).match(RegExp("^"+S+"-?"))};break;case"^":_=function(e){return 0===e.getAttribute(b).indexOf(S)};break;case"$":_=function(e){return e.getAttribute(b).lastIndexOf(S)==e.getAttribute(b).length-S.length};break;case"*":_=function(e){return e.getAttribute(b).indexOf(S)>-1};break;default:_=function(e){return e.getAttribute(b)}}for(g=0,i=[],y=0;g<p.length;g++)_(p[g])&&(i[y++]=p[g]);continue}for(g=0,h=c,p=[],f=0;g<i.length;g++)for(m=0,v=i[g].getElementsByTagName(h);m<v.length;m++)p[f++]=v[m];i=p}return i}return function(e){return s2.isElement(e)?[e]:s2.isObject(e)&&!s2.isUndefined(e.length)?e:r.call(this,e)}}();var as=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],aa=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];s2.info={campaignParams:function(e){var t="",r={};return s2.each(as,function(n){(t=s2.getQueryParam(sH.URL,n)).length?r[n]=t:void 0!==e&&(r[n]=e)}),r},clickParams:function(){var e="",t={};return s2.each(aa,function(r){(e=s2.getQueryParam(sH.URL,r)).length&&(t[r]=e)}),t},marketingParams:function(){return s2.extend(s2.info.campaignParams(),s2.info.clickParams())},searchEngine:function(e){return 0===e.search("https?://(.*)google.([^/?]*)")?"google":0===e.search("https?://(.*)bing.com")?"bing":0===e.search("https?://(.*)yahoo.com")?"yahoo":0===e.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(e){var t=s2.info.searchEngine(e),r={};if(null!==t){r.$search_engine=t;var n=s2.getQueryParam(e,"yahoo"!=t?"q":"p");n.length&&(r.mp_keyword=n)}return r},browser:function(e,t,r){if(t=t||"",r||s2.includes(e," OPR/"))return s2.includes(e,"Mini")?"Opera Mini":"Opera";if(/(BlackBerry|PlayBook|BB10)/i.test(e))return"BlackBerry";if(s2.includes(e,"IEMobile")||s2.includes(e,"WPDesktop"))return"Internet Explorer Mobile";if(s2.includes(e,"SamsungBrowser/"))return"Samsung Internet";if(s2.includes(e,"Edge")||s2.includes(e,"Edg/"))return"Microsoft Edge";if(s2.includes(e,"FBIOS"))return"Facebook Mobile";if(s2.includes(e,"Whale/"))return"Whale Browser";else if(s2.includes(e,"Chrome"))return"Chrome";else if(s2.includes(e,"CriOS"))return"Chrome iOS";else if(s2.includes(e,"UCWEB")||s2.includes(e,"UCBrowser"))return"UC Browser";else if(s2.includes(e,"FxiOS"))return"Firefox iOS";else if(s2.includes(t,"Apple"))return s2.includes(e,"Mobile")?"Mobile Safari":"Safari";else if(s2.includes(e,"Android"))return"Android Mobile";else if(s2.includes(e,"Konqueror"))return"Konqueror";else if(s2.includes(e,"Firefox"))return"Firefox";else if(s2.includes(e,"MSIE")||s2.includes(e,"Trident/"))return"Internet Explorer";else if(s2.includes(e,"Gecko"))return"Mozilla";else return""},browserVersion:function(e,t,r){var 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+)?)/}[s2.info.browser(e,t,r)];if(void 0===n)return null;var i=e.match(n);return i?parseFloat(i[i.length-2]):null},os:function(){if(/Windows/i.test(sY))return/Phone/.test(sY)||/WPDesktop/.test(sY)?"Windows Phone":"Windows";if(/(iPhone|iPad|iPod)/.test(sY))return"iOS";if(/Android/.test(sY))return"Android";if(/(BlackBerry|PlayBook|BB10)/i.test(sY))return"BlackBerry";if(/Mac/i.test(sY))return"Mac OS X";if(/Linux/.test(sY))return"Linux";if(/CrOS/.test(sY))return"Chrome OS";else return""},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""},referringDomain:function(e){var t=e.split("/");return t.length>=3?t[2]:""},currentUrl:function(){return oQ.location.href},properties:function(e){return"object"!=typeof e&&(e={}),s2.extend(s2.strip_empty_properties({$os:s2.info.os(),$browser:s2.info.browser(sY,s$.vendor,sG),$referrer:sH.referrer,$referring_domain:s2.info.referringDomain(sH.referrer),$device:s2.info.device(sY)}),{$current_url:s2.info.currentUrl(),$browser_version:s2.info.browserVersion(sY,s$.vendor,sG),$screen_height:sJ.height,$screen_width:sJ.width,mp_lib:"web",$lib_version:x.LIB_VERSION,$insert_id:ac(),time:s2.timestamp()/1e3},s2.strip_empty_properties(e))},people_properties:function(){return s2.extend(s2.strip_empty_properties({$os:s2.info.os(),$browser:s2.info.browser(sY,s$.vendor,sG)}),{$browser_version:s2.info.browserVersion(sY,s$.vendor,sG)})},mpPageViewProperties:function(){return s2.strip_empty_properties({current_page_title:sH.title,current_domain:oQ.location.hostname,current_url_path:oQ.location.pathname,current_url_protocol:oQ.location.protocol,current_url_search:oQ.location.search})}};var au=function(e,t){var r=null,n=[];return function(i){var o=this;return n.push(i),r||(r=new y(function(i){setTimeout(function(){var t=e.apply(o,[n]);r=null,n=[],i(t)},t)}
1)),r}},ac=function(e){var t=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return e?t.substring(0,e):t},al=function(){return"00-"+s2.UUID().replace(/-/g,"")+"-"+s2.UUID().replace(/-/g,"").substring(0,16)+"-01"},ah=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,ap=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,af=function(e){var t=ap,r=e.split("."),n=r[r.length-1];(n.length>4||"com"===n||"org"===n)&&(t=ah);var i=e.match(t);return i?i[0]:""},ad=function(){var e=oQ.navigator.onLine;return s2.isUndefined(e)||e},ag=function(){},am=function(e,t){for(var r=!1,n=0;n<t.length;n++)if(e.match(t[n])){r=!0;break}return r},av=null,ay=null;"undefined"!=typeof JSON&&(av=JSON.stringify,ay=JSON.parse),av=av||s2.JSONEncode,ay=ay||s2.JSONDecode;var a_=function(e,t,r){if(!oQ.CompressionStream)return!1;var n=s2.info.browser(e,t,r),i=s2.info.browserVersion(e,t,r);return"Safari"!==n&&"Mobile Safari"!==n||!(i>=16.4)||!(i<16.6)};s2.info=s2.info,s2.info.browser=s2.info.browser,s2.info.browserVersion=s2.info.browserVersion,s2.info.device=s2.info.device,s2.info.properties=s2.info.properties,s2.isBlockedUA=s2.isBlockedUA,s2.isEmptyObject=s2.isEmptyObject,s2.isObject=s2.isObject,s2.JSONDecode=s2.JSONDecode,s2.JSONEncode=s2.JSONEncode,s2.toArray=s2.toArray,s2.NPO=sD;var ab=function(e,t,r){this.dbName=e,this.storeName=t,this.version=r.version,this.storeNamesInDb=r.storeNames,this.dbPromise=null};ab.prototype._openDb=function(){var e=this.dbName,t=this.version,r=this.storeNamesInDb;return new y(function(n,i){var o=oQ.indexedDB.open(e,t);o.onerror=function(){i(o.error)},o.onsuccess=function(){n(o.result)},o.onupgradeneeded=function(e){var t=e.target.result;r.forEach(function(e){t.objectStoreNames.contains(e)||t.createObjectStore(e)})}})},ab.prototype.init=function(){return oQ.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(e){return e instanceof oQ.IDBDatabase?y.resolve():y.reject(e)})):y.reject("indexedDB is not supported in this browser")},ab.prototype.isInitialized=function(){return!!this.dbPromise},ab.prototype.makeTransaction=function(e,t){var r=this.storeName,n=function(n){return new y(function(i,o){var s=n.transaction(r,e);s.oncomplete=function(){i(s)},s.onabort=s.onerror=function(){o(s.error)},t(s.objectStore(r))})};return this.dbPromise.then(n).catch((function(e){return e&&"InvalidStateError"===e.name?(this.dbPromise=this._openDb(),this.dbPromise.then(n)):y.reject(e)}).bind(this))},ab.prototype.setItem=function(e,t){return this.makeTransaction("readwrite",function(r){r.put(t,e)})},ab.prototype.getItem=function(e){var t;return this.makeTransaction("readonly",function(r){t=r.get(e)}).then(function(){return t.result})},ab.prototype.removeItem=function(e){return this.makeTransaction("readwrite",function(t){t.delete(e)})},ab.prototype.getAll=function(){var e;return this.makeTransaction("readonly",function(t){e=t.getAll()}).then(function(){return e.result})};var aw="mixpanelBrowserDb",aS="mixpanelRecordingEvents",ak="mixpanelRecordingRegistry",aC={version:1,storeNames:[aS,ak]};function ax(e,t){aD(!0,e,t)}function aE(e,t){aD(!1,e,t)}function aO(e,t){return"1"===aL(e,t)}function aI(e,t){if(function(e){if(e&&e.ignoreDnt)return!1;var t=e&&e.window||oQ,r=t.navigator||{},n=!1;return s2.each([r.doNotTrack,r.msDoNotTrack,t.doNotTrack],function(e){s2.includes([!0,1,"1","yes"],e)&&(n=!0)}),n}(t))return s3.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 r="0"===aL(e,t);return r&&s3.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),r}function aR(e){return aF(e,function(e){return this.get_config(e)})}function aA(e){return aF(e,function(e){return this._get_config(e)})}function aT(e){return aF(e,function(e){return this._get_config(e)})}function aM(e,t){aP(t=t||{}).remove(aN(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function aP(e){return"localStorage"===(e=e||{}).persistenceType?s2.localStorage:s2.cookie}function aN(e,t){return((t=t||{}).persistencePrefix||"__mp_opt_in_out_")+e}function aL(e,t){return aP(t).get(aN(e,t))}function aD(e,t,r){if(!s2.isString(t)||!t.length){s3.error("gdpr."+(e?"optIn":"optOut")+" called with an invali
1d token");return}aP(r=r||{}).set(aN(t,r),e?1:0,s2.isNumber(r.cookieExpiration)?r.cookieExpiration:null,!!r.crossSubdomainCookie,!!r.secureCookie,!!r.crossSiteCookie,r.cookieDomain),r.track&&e&&r.track(r.trackEventName||"$opt_in",r.trackProperties,{send_immediately:!0})}function aF(e,t){return function(){var r=!1;try{var n=t.call(this,"token"),i=t.call(this,"ignore_dnt"),o=t.call(this,"opt_out_tracking_persistence_type"),s=t.call(this,"opt_out_tracking_cookie_prefix"),a=t.call(this,"window");n&&(r=aI(n,{ignoreDnt:i,persistenceType:o,persistencePrefix:s,window:a}))}catch(e){s3.error("Unexpected error when checking tracking opt-out status: "+e)}if(!r)return e.apply(this,arguments);var u=arguments[arguments.length-1];"function"==typeof u&&u(0)}}var aU=s5("lock"),aj=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||ai(),this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3,this.promiseImpl=t.promiseImpl||y};aj.prototype.withLock=function(e,t){return new this.promiseImpl(s2.bind(function(r,n){var i=t||new Date().getTime()+"|"+Math.random(),o=new Date().getTime(),s=this.storageKey,a=this.pollIntervalMS,u=this.timeoutMS,c=this.storage,l=s+":X",h=s+":Y",p=s+":Z",f=function(e){if(new Date().getTime()-o>u){aU.error("Timeout waiting for mutex on "+s+"; clearing lock. ["+i+"]"),c.removeItem(p),c.removeItem(h),m();return}setTimeout(function(){try{e()}catch(e){n(e)}},a*(Math.random()+.1))},d=function(e,t){e()?t():f(function(){d(e,t)})},g=function(){var e=c.getItem(h);return(!e||e===i)&&(c.setItem(h,i),c.getItem(h)===i||(at(c,!0)||n(Error("localStorage support dropped while acquiring lock")),!1))},m=function(){c.setItem(l,i),d(g,function(){if(c.getItem(l)===i){v();return}f(function(){if(c.getItem(h)!==i){m();return}d(function(){return!c.getItem(p)},v)})})},v=function(){c.setItem(p,"1");var t=function(){c.removeItem(p),c.getItem(h)===i&&c.removeItem(h),c.getItem(l)===i&&c.removeItem(l)};e().then(function(e){t(),r(e)}).catch(function(e){t(),n(e)})};try{if(at(c,!0))m();else throw Error("localStorage support check failed")}catch(e){n(e)}},this))};var aB=function(e){this.storage=e||ai()};aB.prototype.init=function(){return this.storage?y.resolve():y.reject(Error("localStorage is not available"))},aB.prototype.isInitialized=function(){return!0},aB.prototype.setItem=function(e,t){return new y(s2.bind(function(r,n){try{this.storage.setItem(e,av(t))}catch(e){n(e)}r()},this))},aB.prototype.getItem=function(e){return new y(s2.bind(function(t,r){var n;try{n=ay(this.storage.getItem(e))}catch(e){r(e)}t(n)},this))},aB.prototype.removeItem=function(e){return new y(s2.bind(function(t,r){try{this.storage.removeItem(e)}catch(e){r(e)}t()},this))};var aq=s5("batch"),az=function(e,t){t=t||{},this.storageKey=e,this.usePersistence=t.usePersistence,this.usePersistence&&(this.queueStorage=t.queueStorage||new aB,this.lock=new aj(e,{storage:t.sharedLockStorage,timeoutMS:t.sharedLockTimeoutMS})),this.reportError=t.errorReporter||s2.bind(aq.error,aq),this.pid=t.pid||null,this.memQueue=[],this.initialized=!1,t.enqueueThrottleMs?this.enqueuePersisted=au(s2.bind(this._enqueuePersisted,this),t.enqueueThrottleMs):this.enqueuePersisted=s2.bind(function(e){return this._enqueuePersisted([e])},this)};az.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?y.resolve():this.queueStorage.init().then(s2.bind(function(){this.initialized=!0},this)).catch(s2.bind(function(e){this.reportError("Error initializing queue persistence. Disabling persistence",e),this.initialized=!0,this.usePersistence=!1},this))},az.prototype.enqueue=function(e,t){var r={id:ac(),flushAfter:new Date().getTime()+2*t,payload:e};return this.usePersistence?this.enqueuePersisted(r):(this.memQueue.push(r),y.resolve(!0))},az.prototype._enqueuePersisted=function(e){var t=s2.bind(function(){return this.ensureInit().then(s2.bind(function(){return this.readFromStorage()},this)).then(s2.bind(function(t){return this.saveToStorage(t.concat(e))},this)).then(s2.bind(function(t){return t&&(this.memQueue=this.memQueue.concat(e)),t},this)).catch(s2.bind(function(t){return this.reportError("Error enqueueing items",t,e),!1},this))},this);return this.lock.withLock(t,this.pid).catch(s2.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this))},az.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);return this.usePersistence&&t.length<e?this.ensureInit().then(s2.bind(function(){return this.readFromStorage()},this)).then(s2.bind(function(r){if(r.length){var n={};s2.each(t,function(e){n[e.id]=!0});for(var i=0;i<r.length;i++){var o=r[i];if(new Date().getTime()>o.flushAfter&&!n[o.id]&&(o.orphaned=!0,t.push(o),t.length>=e))break}}return t},this)):y.resolve(t)};var aW=function(e,t){var r=[];return s2.each(e,function(e){e.id&&!t[e.id]&&r.push(e)}),r};az.prototype.removeItemsByID=function(e){var t={};if(s2.each(e,function(e){t[e]=!0}),this.memQueue=aW(this.memQueue,t),!this.usePersistence)return y.resolve(!0);var r=s2.bind(function(){return this.ensureInit().then(s2.bind(function(){return this.readFromStorage()},this)).then(s2.bind(function(e){return e=aW(e,t),this.saveToStorage(e)},this)).then(s2.bind(function(){return this.readFromStorage()},this)).then(s2.bind(function(e){for(var r=0;r<e.length;r++){var n=e[r];if(n.id&&t[n.id])throw Error("Item not removed from storage")}return!0},this)).catch(s2.bind(function(t){return this.reportError("Error removing items",t,e),!1},this))},this);return this.lock.withLock(r,this.pid).catch(s2.bind(function(e){return this.reportError("Error acquiring storage lock",e),!at(this.lock.storage,!0)&&r().then(s2.bind(function(e){return e||this.queueStorage.removeItem(this.storageKey).then(function(){return e})},this)).catch(s2.bind(function(e){return this.reportError("Error clearing queue",e),!1},this))},this))};var aV=function(e,t){var r=[];return s2.each(e,function(e){var n=e.id;if(n in t){var i=t[n];null!==i&&(e.payload=i,r.push(e))}else r.push(e)}),r};az.prototype.updatePayloads=function(e){return(this.memQueue=aV(this.memQueue,e),this.usePersistence)?this.lock.withLock(s2.bind(function(){return this.ensureInit().then(s2.bind(function(){return this.readFromStorage()},this)).then(s2.bind(function(t){return t=aV(t,e),this.saveToStorage(t)}
1,this)).catch(s2.bind(function(t){return this.reportError("Error updating items",e,t),!1},this))},this),this.pid).catch(s2.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this)):y.resolve(!0)},az.prototype.readFromStorage=function(){return this.ensureInit().then(s2.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(s2.bind(function(e){return e&&!s2.isArray(e)&&(this.reportError("Invalid storage entry:",e),e=null),e||[]},this)).catch(s2.bind(function(e){return this.reportError("Error retrieving queue",e),[]},this))},az.prototype.saveToStorage=function(e){return this.ensureInit().then(s2.bind(function(){return this.queueStorage.setItem(this.storageKey,e)},this)).then(function(){return!0}).catch(s2.bind(function(e){return this.reportError("Error saving queue",e),!1},this))},az.prototype.clear=function(){return(this.memQueue=[],this.usePersistence)?this.ensureInit().then(s2.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):y.resolve()};var a$=s5("batch"),aH=function(e,t){this.errorReporter=t.errorReporter,this.queue=new az(e,{errorReporter:s2.bind(this.reportError,this),queueStorage:t.queueStorage,sharedLockStorage:t.sharedLockStorage,sharedLockTimeoutMS:t.sharedLockTimeoutMS,usePersistence:t.usePersistence,enqueueThrottleMs:t.enqueueThrottleMs}),this.libConfig=t.libConfig,this.sendRequest=t.sendRequestFunc,this.beforeSendHook=t.beforeSendHook,this.stopAllBatching=t.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=t.flushOnlyOnInterval||!1,this._flushPromise=null};aH.prototype.enqueue=function(e){return this.queue.enqueue(e,this.flushInterval)},aH.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},aH.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},aH.prototype.clear=function(){return this.queue.clear()},aH.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},aH.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},aH.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(s2.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))},aH.prototype.sendRequestPromise=function(e,t){return new y(s2.bind(function(r){this.sendRequest(e,t,r)},this))},aH.prototype.flush=function(e){if(this.requestInProgress)return a$.log("Flush: Request already in progress"),y.resolve();this.requestInProgress=!0,e=e||{};var t=this.libConfig.batch_request_timeout_ms,r=new Date().getTime(),n=this.batchSize;return this.queue.fillBatch(n).then(s2.bind(function(i){var o=i.length===n,s=[],a={};if(s2.each(i,function(e){var t=e.payload;if(this.beforeSendHook&&!e.orphaned&&(t=this.beforeSendHook(t)),t){t.event&&t.properties&&(t.properties=s2.extend({},t.properties,{mp_sent_by_lib_version:x.LIB_VERSION}));var r=!0,n=e.id;n?(this.itemIdsSentSuccessfully[n]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:e,batchSize:i.length,timesSent:this.itemIdsSentSuccessfully[n]}),r=!1):this.reportError("[dupe] found item with no ID",{item:e}),r&&s.push(t)}a[e.id]=t},this),s.length<1)return this.requestInProgress=!1,this.resetFlush(),y.resolve();var u=s2.bind(function(){return this.queue.removeItemsByID(s2.map(i,function(e){return e.id})).then(s2.bind(function(e){return(s2.each(i,s2.bind(function(e){var t=e.id;t?(this.itemIdsSentSuccessfully[t]=this.itemIdsSentSuccessfully[t]||0,this.itemIdsSentSuccessfully[t]++,this.itemIdsSentSuccessfully[t]>5&&this.reportError("[dupe] item ID sent too many times",{item:e,batchSize:i.length,timesSent:this.itemIdsSentSuccessfully[t]})):this.reportError("[dupe] found item with no ID while removing",{item:e})},this)),e)?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!o)?(this.resetFlush(),y.resolve()):this.flush():(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),y.resolve())},this))},this),c=s2.bind(function(o){this.requestInProgress=!1;try{if(e.unloading)return this.queue.updatePayloads(a);if(s2.isObject(o)&&"timeout"===o.error&&new Date().getTime()-r>=t)return this.reportError("Network timeout; retrying"),this.flush();if(s2.isObject(o)&&(o.httpStatusCode>=500||429===o.httpStatusCode||o.httpStatusCode<=0&&!ad()||"timeout"===o.error)){var s=2*this.flushInterval;return o.retryAfter&&(s=1e3*parseInt(o.retryAfter,10)||s),s=Math.min(6e5,s),this.reportError("Error; retry in "+s+" ms"),this.scheduleFlush(s),y.resolve()}if(!s2.isObject(o)||413!==o.httpStatusCode)return u();if(!(i.length>1))return this.reportError("Single-event request too large; dropping",i),this.resetBatchSize(),u();var c=Math.max(1,Math.floor(n/2));return this.batchSize=Math.min(this.batchSize,c,i.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),y.resolve()}catch(e){this.reportError("Error handling API response",e),this.resetFlush()}},this),l={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:t};return e.unloading&&(l.transport="sendBeacon"),a$.log("MIXPANEL REQUEST:",s),this.sendRequestPromise(s,l).then(c)},this)).catch(s2.bind(function(e){this.reportError("Error flushing request queue",e),this.resetFlush()},this))},aH.prototype.reportError=function(e,t){if(a$.error.apply(a$.error,arguments),this.errorReporter)try{t instanceof Error||(t=Error(e)),this.errorReporter(e,t)}catch(e){a$.error(e)}};var aG=function(e){var t=Date.now();return!e||t>e.maxExpires||t>e.idleExpires},aJ=function(e,t){if(!s2.isArray(e))return e&&t.critical("record_allowed_iframe_origins must be an array of origin strings, cross-origin recording will be disabled."),[];for(var r=[],n=0;n<e.length;n++)try{var i=new URL(e[n]).origin;if("null"===i){t.critical(e[n]+" has an opaque origin. Skipping this entry.");continue}r.push(i)}catch(r){t.critical(e[n]+" is not a valid origin URL. Skipping this entry.")}return r},aY="change",aZ="click",aK="hashchange",aX="load",aQ="mp_locationchange",a0="popstate",a1="scrollend",a2="scroll",a3="submit",a4="visibilitychange",a5=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],a6=["mp-include"],a8=["mp-no-track"],a9=a8.concat(["mp-sensitive"]),a7=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],ue={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},ut={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},ur={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},un=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],ui=s5("autocapture");function uo(e){for(var t={},r=us(e).split(" "),n=0;n<r.length;n++){var i=r[n];i&&(t[i]=!0)}return t}function us(e){switch(typeof e.className){case"string":return e.className;case"object":return e.className.baseVal||e.getAttribute("class")||"";default:return""}}function ua(e,t,r,n,i,o){var s={$classes:us(e).split(" "),$tag_name:e.tagName.toLowerCase()},a=e.id;a&&(s.$id=a),ug(e,t,i,o)&&s2.each(a7.concat(n),function(t){if(e.hasAttribute(t)&&!r[t]){var n=e.getAttribute(t);um(n)&&(s["$attr-"+t]=n)}});for(var u=1,c=1,l=e;l=function(e){if(e.previousElementSibling)return e.previousElementSibling;do e=e.previousSibling;while(e&&!uh(e));return e}(l);)u++,l.tagName===e.tagName&&c++;return s.$nth_child=u,s.$nth_of_type=c,s}function uu(e,t,r,n){var i="";return ug(e,t,r,n)&&e.childNodes&&e.childNodes.length&&s2.each(e.childNodes,function(e){uf(e)&&e.textContent&&(i+=e.textContent.trim().split(/(\s+)/).filter(um).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),i.trim()}function uc(e,t,r,n){if(r)try{if(!r(e,t))return!1}catch(e){return ui.critical("Error while checking element in allowElementCallback",e),!1}if(!n.length)return!0;for(var i=0;i<n.length;i++){var o=n[i];try{if(e.matches(o))return!0}catch(e){ui.critical("Error while checking selector: "+o,e)}}return!1}function ul(e,t,r,n){if(r)try{if(r(e,t))return!0}catch(e){return ui.critical("Error while checking element in blockElementCallback",e),!0}if(n&&n.length)for(i=0;i<n.length;i++){var i,o=n[i];try{if(e.matches(o))return!0}catch(e){ui.critical("Error while checking selector: "+o,e)}}var s=uo(e);for(i=0;i<a8.length;i++)if(s[a8[i]])return!0;return!1}function uh(e){return e&&1===e.nodeType}function up(e,t){return e&&e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}
1function uf(e){return e&&3===e.nodeType}function ud(e){var t=(e.name||e.id||"").toString().toLowerCase();return!!("string"==typeof t&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(t.replace(/[^a-zA-Z0-9]/g,"")))}function ug(e,t,r,n){if(!uc(e,t,r,n))return!1;for(var i,o=e;o.parentNode&&!up(o,"body");o=o.parentNode){var s=uo(o);for(i=0;i<a9.length;i++)if(s[a9[i]])return!1}var a=uo(e);for(i=0;i<a6.length;i++)if(a[a6[i]])return!0;if(up(e,"input")||up(e,"select")||up(e,"textarea")||"true"===e.getAttribute("contenteditable"))return!1;var u=e.type||"";if("string"==typeof u)switch(u.toLowerCase()){case"hidden":case"password":return!1}return!ud(e)}function um(e){return!(null===e||s2.isUndefined(e)||"string"==typeof e&&(e=e.trim(),/^(?:(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}))$/.test((e||"").replace(/[- ]/g,""))||/(^\d{3}-?\d{2}-?\d{4}$)/.test(e)))}function uv(e){var t="onscrollend"in oQ,r=s6(e),n=a1;if(!t){var i=null;r=s6(function(){clearTimeout(i),i=setTimeout(e,100)}),n=a2}return{listener:r,eventType:n}}function uy(e){var t,r=e.tagName.toLowerCase();return!!("button"===r||"input"===r||"select"===r||"textarea"===r||"details"===r||"dialog"===r||e.isContentEditable||e.onclick||e.onmousedown||e.onmouseup||e.ontouchstart||e.ontouchend||function(e){for(var t=0;t<un.length;t++)if(e.hasAttribute(un[t]))return!0;return!1}(e))||!!((t=e.getAttribute("role"))&&ue[t.trim().split(/\s+/)[0].toLowerCase()]||"a"===r&&e.hasAttribute("href")||e.hasAttribute("tabindex"))}function u_(e){if(!e||!e.tagName)return!0;var t=e.tagName.toLowerCase();if(ut[t])return!0;if(uy(e))return!1;for(var r=e.parentElement,n=0;r&&n<5;){if(uy(r))return!1;if(r.getRootNode&&r.getRootNode()!==sH){var i=r.getRootNode();if(i.host&&uy(i.host))return!1}r=r.parentElement,n++}return!!ur[t]}function ub(e){return"composedPath"in e?e.composedPath():[]}function uw(e){var t=ub(e);return t&&t.length>0?t[0]:e.target||e.srcElement}var uS=".mp-mask, .fs-mask, .amp-mask, .rr-mask, .ph-mask",uk=["password","email","tel","hidden"];function uC(e){return e?Array.isArray(e)?e:[e]:[]}function ux(e,t){return!!t&&!!e.closest(t)}function uE(e,t){var r=(e.getAttribute("type")||"").toLowerCase();if(-1!==uk.indexOf(r))return!0;var n=(e.getAttribute("autocomplete")||"").toLowerCase();return!!(n&&""!==n&&"off"!==n||e.hasAttribute("data-rr-is-password")||ud(e))||(t.input.maskAll?!ux(e,t.input.unmaskingSelector):!!(ux(e,t.input.maskingSelector)||ux(e,uS)))}function uO(e,t){return!!e&&(!!(t.text._legacyClassRegex&&function e(t,r,n){if(!t)return!1;
1if(t.nodeType!==t.ELEMENT_NODE)return e(i_.parentNode(t),r);for(var i=t.classList.length;i--;){var o=t.classList[i];if(r.test(o))return!0}return e(i_.parentNode(t),r)}(e,t.text._legacyClassRegex))||(t.text.maskAll?!ux(e,t.text.unmaskingSelector):!!(ux(e,t.text.maskingSelector)||ux(e,uS))))}var uI=s5("network-plugin");function uR(e){return Math.round(Date.now()-e.performance.now())}var uA={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 uT(e){return"resource"===e.entryType}function uM(e,t,r){if(!(t in e)||"function"!=typeof e[t])return function(){};var n=e[t],i=r(n);return e[t]=i,function(){e[t]=n}}function uP(e){return e&&"string"==typeof e&&e.length>1048576?(uI.error("Body truncated from "+e.length+" to 1048576 characters"),e.substring(0,1048576)+"... [truncated]"):e}function uN(e,t,r){return!!t[e]&&0!==t[e].length&&t[e].includes(r.toLowerCase())}function uL(e,t,r){return!!t[e]&&0!==t[e].length&&am(r,t[e])}function uD(e){var t;if(null==e)return null;if("string"==typeof e)t=e;else if(e instanceof Document)t=e.textContent;else if(e instanceof FormData)t=s2.HTTPBuildQuery(e);else if(!s2.isObject(e))return"Cannot read body of type "+typeof e;else try{t=JSON.stringify(e)}catch(e){return"Failed to stringify response object"}return uP(t)}function uF(e){return new Promise(function(t){var r=setTimeout(function(){t("Timeout while trying to read body")},500);try{e.clone().text().then(function(e){clearTimeout(r),t(uP(e))},function(e){clearTimeout(r),t("Failed to read body: "+String(e))})}catch(e){clearTimeout(r),t("Failed to read body: "+String(e))}})}function uU(e,t,r,n,i,o){if(void 0===o&&(o=0),o>10)return uI.error("Cannot find performance entry"),Promise.resolve(null);var s=function(e,t){for(var r=e.length,n=r-1;n>=0;n-=1)if(t(e[n]))return e[n]}(e.performance.getEntriesByName(r),function(e){return uT(e)&&e.initiatorType===t&&(!n||e.startTime>=n)&&(!i||e.startTime<=i)});return s?Promise.resolve(s):new Promise(function(e){setTimeout(e,50*o)}).then(function(){return uU(e,t,r,n,i,o+1)})}function uj(e,t,r){if(!("performance"in t))return function(){};var n=Object.assign({},uA.recordHeaders,r.recordHeaders||{}),i=Object.assign({},uA.recordBodyUrls,r.recordBodyUrls||{}),o=Object.assign({},uA,r=Object.assign({},r,{recordHeaders:n,recordBodyUrls:i})),s=function(t){var r=t.requests.filter(function(e){return!am(e.url,o.ignoreRequestUrls||[])&&!o.ignoreRequestFn(e)});(r.length>0||t.isInitial)&&e(Object.assign({},t,{requests:r}))},a=function(e,t,r){if(!t.PerformanceObserver)return uI.error("PerformanceObserver not supported"),function(){};r.recordInitialRequests&&e({requests:t.performance.getEntries().filter(function(e){return"navigation"===e.entryType||uT(e)&&r.initiatorTypes.includes(e.initiatorType)}).map(function(e){return{url:e.name,initiatorType:e.initiatorType,status:"responseStatus"in e?e.responseStatus:void 0,startTime:Math.round(e.startTime),endTime:Math.round(e.responseEnd),timeOrigin:uR(t)}}),isInitial:!0});var n=new t.PerformanceObserver(function(n){e({requests:n.getEntries().filter(function(e){return uT(e)&&r.initiatorTypes.includes(e.initiatorType)&&"xmlhttprequest"!==e.initiatorType&&"fetch"!==e.initiatorType}).map(function(e){return{url:e.name,initiatorType:e.initiatorType,status:"responseStatus"in e?e.responseStatus:void 0,startTime:Math.round(e.startTime),endTime:Math.round(e.responseEnd),timeOrigin:uR(t)}})})});return n.observe({entryTypes:["navigation","resource"]}),function(){n.disconnect()}}(s,t,o),u=function(e,t,r){if(!r.initiatorTypes.includes("xmlhttprequest"))return function(){};var n=uM(t.XMLHttpRequest.prototype,"open",function(n){return function(i,o,s,a,u){void 0===s&&(s=!0);var c,l,h=this,p=new Request(o,{method:i}),f={},d={},g=h.setRequestHeader.bind(h);h.setRequestHeader=function(e,t){return uN("request",r.recordHeaders,e)&&(
1d[e]=t),g(e,t)},f.requestHeaders=d;var m=h.send.bind(h);h.send=function(e){return uL("request",r.recordBodyUrls,p.url)&&(f.requestBody=uD(e)),c=t.performance.now(),m(e)},h.addEventListener("readystatechange",function(){if(h.readyState===h.DONE){l=t.performance.now();var n={},i=h.getAllResponseHeaders();i&&i.trim().split(/[\r\n]+/).forEach(function(e){if(e){var t=e.indexOf(": ");if(-1!==t){var i=e.substring(0,t),o=e.substring(t+2);i&&uN("response",r.recordHeaders,i)&&(n[i]=o)}}}),f.responseHeaders=n,uL("response",r.recordBodyUrls,p.url)&&(f.responseBody=uD(h.response)),uU(t,"xmlhttprequest",p.url,c,l).then(function(r){if(!r){uI.error("Failed to get performance entry for XHR request to "+p.url);return}e({requests:[{url:r.name,method:p.method,initiatorType:r.initiatorType,status:h.status,startTime:Math.round(r.startTime),endTime:Math.round(r.responseEnd),timeOrigin:uR(t),requestHeaders:f.requestHeaders,requestBody:f.requestBody,responseHeaders:f.responseHeaders,responseBody:f.responseBody}]})}).catch(function(e){uI.error("Error recording XHR request to "+p.url+": "+String(e))})}}),n.call(h,i,o,s,a,u)}});return function(){n()}}(s,t,o),c=function(e,t,r){if(!r.initiatorTypes.includes("fetch"))return function(){};var n=uM(t,"fetch",function(n){return function(){var i,o,s,a,u,c=function(e,t){if("undefined"!=typeof Request&&e instanceof Request){var r=e.clone();return t?new Request(r,t):r}return new Request(e,t)}(arguments[0],arguments[1]),l={},h=Promise.resolve(void 0),p=new Promise(function(e){u=e});try{var f={};c.headers.forEach(function(e,t){uN("request",r.recordHeaders,t)&&(f[t]=e)}),l.requestHeaders=f,uL("request",r.recordBodyUrls,c.url)&&(h=uF(c).then(function(e){l.requestBody=e})),o=t.performance.now(),a=n.apply(t,arguments).then(function(e){i=e,s=t.performance.now();var n={};return i.headers.forEach(function(e,t){uN("response",r.recordHeaders,t)&&(n[t]=e)}),l.responseHeaders=n,uL("response",r.recordBodyUrls,c.url)?uF(i).then(function(e){l.responseBody=e,u()}):u(),i})}catch(e){a=Promise.reject(e)}return Promise.all([h,p,a]).then(function(){return uU(t,"fetch",c.url,o,s)}).then(function(r){if(!r){uI.error("Failed to get performance entry for fetch request to "+c.url);return}e({requests:[{url:r.name,method:c.method,initiatorType:r.initiatorType,status:i?i.status:void 0,startTime:Math.round(r.startTime),endTime:Math.round(r.responseEnd),timeOrigin:uR(t),requestHeaders:l.requestHeaders,requestBody:l.requestBody,responseHeaders:l.responseHeaders,responseBody:l.responseBody}]})}).catch(function(e){uI.error("Error recording fetch request to "+c.url+": "+String(e))}),a}});return function(){n()}}(s,t,o);return function(){a(),u(),c()}}var uB=s5("recorder"),uq=oQ.CompressionStream,uz={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},uW=new Set([nR.MouseMove,nR.MouseInteraction,nR.Scroll,nR.ViewportResize,nR.Input,nR.TouchMove,nR.MediaInteraction,nR.Drag,nR.Selection]),uV=function(e){this._mixpanel=e.mixpanelInstance,this._onIdleTimeout=e.onIdleTimeout||ag,this._onMaxLengthReached=e.onMaxLengthReached||ag,this._onBatchSent=e.onBatchSent||ag,this._rrwebRecord=e.rrwebRecord||null,this._stopRecording=null,this.replayId=e.replayId,this.batchStartUrl=e.batchStartUrl||null,this.replayStartUrl=e.replayStartUrl||null,this.idleExpires=e.idleExpires||null,this.maxExpires=e.maxExpires||null,this.replayStartTime=e.replayStartTime||null,this.lastEventTimestamp=e.lastEventTimestamp||null,this.seqNo=e.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=864e5,this.recordMinMs=0,this._recordMinMsCheckStart=null;var t=at(e.sharedLockStorage||ai(),!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new ab(aw,aS,aC),this.batcher=new aH(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:uz,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:e.sharedLockStorage,usePersistence:t,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:250,sharedLockTimeoutMS:1e4})};uV.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var e={distinct_id:String(this._mixpanel.get_distinct_id())},t=this._mixpanel.get_property("$device_id");t&&(e.$device_id=t);var r=this._mixpanel.get_property("$user_id");return r&&(e.$user_id=r),e},uV.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init(
1).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))},uV.prototype.getConfig=function(e){return this._mixpanel.get_config(e)},uV.prototype.get_config=function(e){return this.getConfig(e)},uV.prototype.startRecording=function(e){if(null===this._rrwebRecord){this.reportError("rrweb record function not provided. ");return}if(null!==this._stopRecording){uB.log("Recording already in progress, skipping startRecording.");return}this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>864e5&&(this.recordMaxMs=864e5,uB.critical("record_max_ms cannot be greater than 86400000ms. Capping value.")),this.maxExpires||(this.maxExpires=new Date().getTime()+this.recordMaxMs),this.recordMinMs=this._getRecordMinMs(),this.replayStartTime||(this.replayStartTime=new Date().getTime(),this.batchStartUrl=s2.info.currentUrl(),this.replayStartUrl=s2.info.currentUrl()),e||this.recordMinMs>0?(this.batcher.stop(),this._recordMinMsCheckStart=null):this.batcher.start();var t=(function(){clearTimeout(this.idleTimeoutId);var e=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,e),this.idleExpires=new Date().getTime()+e}).bind(this);t();var r=this.getConfig("record_block_selector");(""===r||null===r)&&(r=void 0);var n=function(e){var t={input:{maskingSelector:"",unmaskingSelector:"",maskAll:!0},text:{maskingSelector:"",unmaskingSelector:"",maskAll:!0}},r=e.get_config("record_mask_input_selector"),n=e.get_config("record_unmask_input_selector"),i=e.get_config("record_mask_all_inputs");t.input.maskingSelector=uC(r).join(","),t.input.unmaskingSelector=uC(n).join(","),void 0!==i&&(t.input.maskAll=i);var o=e.get_config("record_mask_text_selector"),s=e.get_config("record_unmask_text_selector"),a=e.get_config("record_mask_all_text"),u=e.get_config("record_mask_text_class"),c=uC(o);if(u){if(u instanceof RegExp)t.text._legacyClassRegex=u;else{var l="."+u;-1===c.indexOf(l)&&c.push(l)}}return t.text.maskingSelector=c.join(","),t.text.unmaskingSelector=uC(s).join(","),void 0===a&&void 0!==o?t.text.maskAll=!1:void 0!==a&&(t.text.maskAll=a),t}(this._mixpanel),i=[];if(this.getConfig("record_network")){var o=this.getConfig("record_network_options")||{},s=(o.ignoreRequestUrls||[]).slice();s.push(this._getApiRoute()),o.ignoreRequestUrls=s,i.push({name:"rrweb/[email protected]",observer:uj,options:o})}this.getConfig("record_console")&&i.push({name:"rrweb/console@1",observer:oW,options:{stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}}});var a=aJ(this.getConfig("record_allowed_iframe_origins"),uB);try{this._stopRecording=this._rrwebRecord({emit:(function(e){if(this.idleExpires&&this.idleExpires<e.timestamp){this._onIdleTimeout();return}null===this._recordMinMsCheckStart&&(this._recordMinMsCheckStart=e.timestamp),e.type===nI.IncrementalSnapshot&&uW.has(e.data.source)&&(this.batcher.stopped&&e.timestamp-this._recordMinMsCheckStart>=this.recordMinMs&&this.batcher.start(),t()),this.__enqueuePromise=this.batcher.enqueue(e),(null===this.lastEventTimestamp||e.timestamp>this.lastEventTimestamp)&&(this.lastEventTimestamp=e.timestamp)}).bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:r,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextSelector:"*",maskInputFn:this._getMaskFn(uE,n),maskTextFn:this._getMaskFn(uO,n),recordCrossOriginIframes:a.length>0,allowedIframeOrigins:a,recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15},plugins:i})}catch(e){this.reportError("Unexpected error when starting rrweb recording.",e)}if("function"!=typeof this._stopRecording){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)},uV.prototype.stopRecording=function(e){var t;if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(e){this.reportError("Error with rrweb stopRecording",e)}this._stopRecording=null}return this.batcher.stopped?t=this.batcher.clear():e||(t=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),t},uV.prototype.isRrwebStopped=function(){return null===this._stopRecording},uV.prototype.flushEventsWithOptOut=function(e,t,r){var n=(function(e){0===e&&(this.stopRecording(),r({error:"Tracking has been opted out, stopping recording."}))}).bind(this);this._flushEvents(e,t,r,n)},uV.prototype.serialize=function(){var e;try{e=this._mixpanel.get_tab_id()}catch(t){this.reportError("Error getting tab ID for serialization ",t),e=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:e}},uV.deserialize=function(e,t){return new uV(s2.extend({},t,{replayId:e.replayId,batchStartUrl:e.batchStartUrl,replayStartUrl:e.replayStartUrl,idleExpires:e.idleExpires,maxExpires:e.maxExpires,replayStartTime:e.replayStartTime,lastEventTimestamp:e.lastEventTimestamp,seqNo:e.seqNo,sharedLockStorage:t.sharedLockStorage}))},uV.prototype._getApiRoute=function(){return this.getConfig("api_routes").record},uV.prototype._sendRequest=function(e,t,r,n){var i=(function(t,r){200===t.status&&this.replayId===e&&(this.seqNo++,this.batchStartUrl=s2.info.currentUrl()),this._onBatchSent(),n({status:0,httpStatusCode:t.status,responseBody:r,retryAfter:t.headers.get("Retry-After")})}).bind(this),o=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");oQ.fetch(o+"/"+this._getApiRoute()+"?"+new URLSearchParams(t),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:r}).then(function(e){e.json().then(function(t){i(e,t)}).catch(function(e){n({error:e})})}).catch(function(e){n({error:e,httpStatusCode:0})})},uV.prototype._flushEvents=aR(function(e,t,r){var n=e.length;if(n>0){for(var i=this.replayId,o=1/0,s=-1/0,a=!1,u=0;u<n;u++)o=Math.min(o,e[u].timestamp),s=Math.max(s,e[u].timestamp),e[u].type===nI.FullSnapshot&&(a=!0);if(0===this.seqNo){if(!a){r({error:"First batch does not contain a full snapshot. Aborting recording."}),this.stopRecording(!0);return}this.replayStartTime=o}else this.replayStartTime||(this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=o);var c=s-this.replayStartTime,l={$current_url:this.batchStartUrl,$lib_version:x.LIB_VERSION,batch_start_time:o/1e3,mp_lib:"web",replay_id:i,replay_length_ms:c,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},h=JSON.stringify(e);Object.assign(l,this.getUserIdInfo()),a_(sY,s$.vendor,sG)?new Response(new Blob([h],{type:"application/json"}).stream().pipeThrough(new uq("gzip"))).blob().then((function(e){l.format="gzip",this._sendRequest(i,l,e,r)}).bind(this)):(l.format="body",this._sendRequest(i,l,h,r))}}),uV.prototype.reportError=function(e,t){uB.error.apply(uB.error,arguments);try{t||e instanceof Error||(e=Error(e)),this.getConfig("error_reporter")(e,t)}catch(e){uB.error(e)}},uV.prototype.getDurationMs=function(){return null===this.replayStartTime?0:null===this.lastEventTimestamp?new Date().getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime},uV.prototype._getRecordMinMs=function(){var e=this.getConfig("record_min_ms");return e>8e3?(uB.critical("record_min_ms cannot be greater than 8000ms. Capping value."),8e3):e},uV.prototype._getMaskFn=function(e,t){return(function(r,n){if(!r.trim().length)return"";var i=!0;try{i=e(n,t)}catch(e){this.reportError("Error checking if text should be masked, defaulting to masked",e)}if(!i)return r;var o=Math.min(r.length,1e4);return"*".repeat(o)}).bind(this)};
1var u$=function(e){this.idb=new ab(aw,ak,aC),this.errorReporter=e.errorReporter,this.mixpanelInstance=e.mixpanelInstance,this.sharedLockStorage=e.sharedLockStorage};u$.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")},u$.prototype.handleError=function(e){this.errorReporter("IndexedDB error: ",e)},u$.prototype.setActiveRecording=function(e){if(!this.isPersistenceEnabled())return y.resolve();var t=e.tabId;return t?this.idb.init().then((function(){return this.idb.setItem(t,e)}).bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),y.resolve())},u$.prototype.getActiveRecording=function(){return this.isPersistenceEnabled()?this.idb.init().then((function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}).bind(this)).then((function(e){return aG(e)?null:e}).bind(this)).catch(this.handleError.bind(this)):y.resolve(null)},u$.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()},u$.prototype.markActiveRecordingExpired=function(){return this.getActiveRecording().then((function(e){if(e)return e.maxExpires=0,this.setActiveRecording(e)}).bind(this)).catch(this.handleError.bind(this))},u$.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):y.resolve()},u$.prototype.flushInactiveRecordings=function(){return this.isPersistenceEnabled()?this.idb.init().then((function(){return this.idb.getAll()}).bind(this)).then((function(e){var t=e.filter(function(e){return aG(e)}).map((function(e){return uV.deserialize(e,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage}).unloadPersistedData().then((function(){return this.idb.removeItem(e.tabId)}).bind(this)).catch(this.handleError.bind(this))}).bind(this));return y.all(t)}).bind(this)).catch(this.handleError.bind(this)):y.resolve([])};var uH=s5("recorder"),uG=function(e,t,r){this.mixpanelInstance=e,this.rrwebRecord=t||id,this.sharedLockStorage=r,this.recordingRegistry=new u$({mixpanelInstance:this.mixpanelInstance,errorReporter:uH.error,sharedLockStorage:r}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};uG.prototype.startRecording=function(e){if(e=e||{},this.activeRecording&&!this.activeRecording.isRrwebStopped()){uH.log("Recording already in progress, skipping startRecording.");return}var t=(function(){uH.log("Idle timeout reached, restarting recording."),this.resetRecording()}).bind(this),r=(function(){uH.log("Max recording length reached, stopping recording."),this.resetRecording()}).bind(this),n=(function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}).bind(this),i={mixpanelInstance:this.mixpanelInstance,onBatchSent:n,onIdleTimeout:t,onMaxLengthReached:r,replayId:s2.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return e.activeSerializedRecording?this.activeRecording=uV.deserialize(e.activeSerializedRecording,i):this.activeRecording=new uV(i),this.activeRecording.startRecording(e.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())},uG.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))},uG.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)},uG.prototype._stopCurrentRecording=function(e,t){if(this.activeRecording){var r=this.activeRecording.stopRecording(e);return t&&(this.activeRecording=null),r}return y.resolve()},uG.prototype.resumeRecording=function(e){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),y.resolve(null)):this.recordingRegistry.getActiveRecording().then((function(t){return t&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:t}):e?this.startRecording({shouldStopBatcher:!1}):(uH.log("No resumable recording found."),null)}).bind(this))},uG.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})},uG.prototype.isRecording=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()},uG.prototype.getActiveReplayId=function(){return this.isRecording()?this.activeRecording.replayId:null},Object.defineProperty(uG.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),oQ[O]=uG;var uJ={exports:{}};uJ.exports;var uY=(_||(_=1,n=function(){Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var e={},t={"==":function(e,t){return e==t},"===":function(e,t){return e===t},"!=":function(e,t){return e!=t},"!==":function(e,t){return e!==t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"<":function(e,t,r){return void 0===r?e<t:e<t&&t<r},"<=":function(e,t,r){return void 0===r?e<=t:e<=t&&t<=r},"!!":function(t){return e.truthy(t)},"!":function(t){return!e.truthy(t)},"%":function(e,t){return e%t},log:function(e){return console.log(e),e},in:function(e,t){return!!t&&void 0!==t.indexOf&&-1!==t.indexOf(e)},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(e,t,r){if(r<0){var n=String(e).substr(t);return n.substr(0,n.length+r)}return String(e).substr(t,r)},"+":function(){return Array.prototype.reduce.call(arguments,function(e,t){return parseFloat(e,10)+parseFloat(t,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(e,t){return parseFloat(e,10)*parseFloat(t,10)})},"-":function(e,t){return void 0===t?-e:e-t},"/":function(e,t){return e/t},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(e,t){return e.concat(t)},[])},var:function(e,t){var r=void 0===t?null:t,n=this;if(void 0===e||""===e||null===e)return n;for(var i=String(e).split("."),o=0;o<i.length;o++)if(null==n||void 0===(n=n[i[o]]))return r;return n},missing:function(){for(var t=[],r=Array.isArray(arguments[0])?arguments[0]:arguments,n=0;n<r.length;n++){var i=r[n],o=e.apply({var:i},this);
1(null===o||""===o)&&t.push(i)}return t},missing_some:function(t,r){var n=e.apply({missing:r},this);return r.length-n.length>=t?[]:n}};return e.is_logic=function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&1===Object.keys(e).length},e.truthy=function(e){return(!Array.isArray(e)||0!==e.length)&&!!e},e.get_operator=function(e){return Object.keys(e)[0]},e.get_values=function(t){return t[e.get_operator(t)]},e.apply=function(r,n){if(Array.isArray(r))return r.map(function(t){return e.apply(t,n)});if(!e.is_logic(r))return r;var i,o,s,a,u,c=e.get_operator(r),l=r[c];if(Array.isArray(l)||(l=[l]),"if"===c||"?:"==c){for(i=0;i<l.length-1;i+=2)if(e.truthy(e.apply(l[i],n)))return e.apply(l[i+1],n);return l.length===i+1?e.apply(l[i],n):null}if("and"===c){for(i=0;i<l.length&&(o=e.apply(l[i],n),e.truthy(o));i+=1);return o}if("or"===c){for(i=0;i<l.length&&(o=e.apply(l[i],n),!e.truthy(o));i+=1);return o}if("filter"===c)return(a=e.apply(l[0],n),s=l[1],Array.isArray(a))?a.filter(function(t){return e.truthy(e.apply(s,t))}):[];if("map"===c)return(a=e.apply(l[0],n),s=l[1],Array.isArray(a))?a.map(function(t){return e.apply(s,t)}):[];if("reduce"===c)return(a=e.apply(l[0],n),s=l[1],u=void 0!==l[2]?e.apply(l[2],n):null,Array.isArray(a))?a.reduce(function(t,r){return e.apply(s,{current:r,accumulator:t})},u):u;if("all"===c){if(a=e.apply(l[0],n),s=l[1],!Array.isArray(a)||!a.length)return!1;for(i=0;i<a.length;i+=1)if(!e.truthy(e.apply(s,a[i])))return!1;return!0}else if("none"===c){if(a=e.apply(l[0],n),s=l[1],!Array.isArray(a)||!a.length)return!0;for(i=0;i<a.length;i+=1)if(e.truthy(e.apply(s,a[i])))return!1;return!0}else if("some"===c){if(a=e.apply(l[0],n),s=l[1],!Array.isArray(a)||!a.length)return!1;for(i=0;i<a.length;i+=1)if(e.truthy(e.apply(s,a[i])))return!0;return!1}if(l=l.map(function(t){return e.apply(t,n)}),t.hasOwnProperty(c)&&"function"==typeof t[c])return t[c].apply(n,l);if(c.indexOf(".")>0){var h=String(c).split("."),p=t;for(i=0;i<h.length;i++){if(!p.hasOwnProperty(h[i]))throw Error("Unrecognized operation "+c+" (failed at "+h.slice(0,i+1).join(".")+")");p=p[h[i]]}return p.apply(n,l)}throw Error("Unrecognized operation "+c)},e.uses_data=function(t){var r=[];if(e.is_logic(t)){var n=e.get_operator(t),i=t[n];Array.isArray(i)||(i=[i]),"var"===n?r.push(i[0]):i.forEach(function(t){r.push.apply(r,e.uses_data(t))})}return function(e){for(var t=[],r=0,n=e.length;r<n;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}(r)},e.add_operation=function(e,r){t[e]=r},e.rm_operation=function(e){delete t[e]},e.rule_like=function(t,r){if(r===t||"@"===r)return!0;if("number"===r)return"number"==typeof t;if("string"===r)return"string"==typeof t;if("array"===r)return Array.isArray(t)&&!e.is_logic(t);if(e.is_logic(r)){if(e.is_logic(t)){var n=e.get_operator(r),i=e.get_operator(t);if("@"===n||n===i)return e.rule_like(e.get_values(t,!1),e.get_values(r,!1))}return!1}if(Array.isArray(r)&&Array.isArray(t)){if(r.length!==t.length)return!1;for(var o=0;o<r.length;o+=1)if(!e.rule_like(t[o],r[o]))return!1;return!0}return!1},e},uJ.exports=n()),(v=uJ.exports)&&v.__esModule&&Object.prototype.hasOwnProperty.call(v,"default"))?v.default:v,uZ=/^(\d{4})-(\d{2})-(\d{2})[Tt](\d{2}):\d{2}:\d{2}(\.\d+)?([Zz]|[+-]\d{2}:\d{2})$/,uK=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function uX(e){var t=e.indexOf("+");-1!==t&&(e=e.slice(0,t));var r=e.indexOf("-");return -1===r?{core:e.split("."),prerelease:[]}:{core:e.slice(0,r).split("."),prerelease:e.slice(r+1).split(".")}}function uQ(e){return/^[0-9]+$/.test(e)}function u0(e,t){return e.length!==t.length?e.length<t.length?-1:1:e<t?-1:e>t?1:0}function u1(e){return 3!==e.length?null:{actual:e[0],symbol:e[1],target:e[2]}}function u2(e,t){switch(t){case"===":return 0===e;case"!==":return 0!==e;case"<":return e<0;case"<=":return e<=0;case">":return e>0;case">=":return e>=0;default:return!1}}function u3(e){for(var t=e.trim().replace(/^[vV]/,""),r=t.length,n=["-","+"],i=0;i<n.length;i++){var o=t.indexOf(n[i]);-1!==o&&o<r&&(r=o)}for(var s=t.slice(0,r),a=t.slice(r),u=s.split(".");u.length<3;)u.push("0");return u.join(".")+a}uY.add_operation("semver_compare",function(){var e=u1(arguments);if(!e||"string"!=typeof e.actual||"string"!=typeof e.target||e.actual.length>256||e.target.length>256)return!1;var t=u3(e.actual),r=u3(e.target);return!!(uK.test(t)&&uK.test(r))&&u2(function(e,t){var r,n,i=uX(e),o=uX(t);for(r=0;r<i.core.length;r++)if(0!==(n=u0(i.core[r],o.core[r])))return n;if(!i.prerelease.length&&!o.prerelease.length)return 0;if(!i.prerelease.length)return 1;if(!o.prerelease.length)return -1;var s=Math.min(i.prerelease.length,o.prerelease.length);for(r=0;r<s;r++)if(0!==(n=function(e,t){var r=uQ(e),n=uQ(t);return r&&n?u0(e,t):r?-1:n?1:e<t?-1:e>t?1:0}(i.prerelease[r],o.prerelease[r])))return n;
1return i.prerelease.length!==o.prerelease.length?i.prerelease.length<o.prerelease.length?-1:1:0}(t,r),e.symbol)}),uY.add_operation("datetime_compare",function(){var e,t,r=u1(arguments);if(!r)return!1;var n=function(e){if("string"!=typeof e)return null;var t=e.trim().toUpperCase(),r=uZ.exec(t);if(!r||!function(e,t,r,n){if(n>23)return!1;var i=new Date;return i.setUTCFullYear(e,t-1,r),i.getUTCFullYear()===e&&i.getUTCMonth()===t-1&&i.getUTCDate()===r}(Number(r[1]),Number(r[2]),Number(r[3]),Number(r[4])))return null;var n=new Date(t).getTime();return isNaN(n)?null:Math.floor(n/1e3)}(r.actual),i="number"!=typeof(e=r.target)||!isFinite(e)||e>=0x7fffffffffffffff||e<=-0x8000000000000000?null:(t=e/1e3)<0?Math.ceil(t):Math.floor(t);return null!==n&&null!==i&&u2(n-i,r.symbol)});var u4={};function u5(){this.clicks=[]}function u6(e,t){this.changeCallback=e||function(){},this.observerConfig=t,this.observedShadowRoots=null,this.shadowObservers=[]}u4.eventMatchesCriteria=function(e,t,r){if(e!==r.event_name)return{matches:!1};var n=r.property_filters,i=!0;if(n&&!s2.isEmptyObject(n))try{i=uY.apply(n,t||{})}catch(e){return{matches:!1,error:e.toString()}}return{matches:i}},oQ[E]=Promise.resolve(u4),u5.prototype.isRageClick=function(e,t){var r=(t=t||{}).threshold_px||30,n=t.timeout_ms||1e3,i=t.click_count||4;if(t.interactive_elements_only){var o=uw(e);if(!o||u_(o))return!1}var s=Date.now(),a=e.pageX,u=e.pageY,c=this.clicks[this.clicks.length-1];if(c&&s-c.timestamp<n&&Math.sqrt(Math.pow(a-c.x,2)+Math.pow(u-c.y,2))<r){if(this.clicks.push({x:a,y:u,timestamp:s}),this.clicks.length>=i)return this.clicks=[],!0}else this.clicks=[{x:a,y:u,timestamp:s}];return!1},u6.prototype.getEventTarget=function(e){if(this.observedShadowRoots)return uw(e)},u6.prototype.observeFromEvent=function(e){if(this.observedShadowRoots)for(var t=ub(e),r=0;r<t.length;r++){var n=t[r];n&&n.shadowRoot&&this.observeShadowRoot(n.shadowRoot)}},u6.prototype.observeShadowRoot=function(e){if(!(!this.observedShadowRoots||this.observedShadowRoots.has(e))){var t=this;try{this.observedShadowRoots.add(e);var r=new window.MutationObserver(function(){t.changeCallback()});r.observe(e,this.observerConfig),this.shadowObservers.push(r)}catch(e){ui.critical("Error while observing shadow root",e)}}},u6.prototype.start=function(){if(!this.observedShadowRoots){if(!("undefined"!=typeof WeakSet)){ui.critical("Shadow DOM observation unavailable: WeakSet not supported");return}this.observedShadowRoots=new WeakSet}},u6.prototype.stop=function(){if(this.observedShadowRoots){for(var e=0;e<this.shadowObservers.length;e++)try{this.shadowObservers[e].disconnect()}catch(e){ui.critical("Error while disconnecting shadow DOM observer",e)}this.shadowObservers=[],this.observedShadowRoots=null}};var u8=[aY,"input",a3,"select","toggle"],u9=[a1],u7=[aK],ce={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function ct(e){this.eventListeners=[],this.mutationObserver=null,this.shadowDOMObserver=null,this.isTracking=!1,this.lastChangeEventTimestamp=0,this.pendingClicks=[],this.onDeadClickCallback=e,this.processingActive=!1,this.processingTimeout=null}ct.prototype.addClick=function(e){var t=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(e);return t||(t=e.target||e.srcElement),!(!t||u_(t))&&(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(e),this.pendingClicks.push({element:t,event:e,timestamp:Date.now()}),!0)},ct.prototype.trackClick=function(e,t){if(!this.isTracking)return!1;var r=this.addClick(e);return r&&this.triggerProcessing(t),r},ct.prototype.getDeadClicks=function(e){if(0===this.pendingClicks.length)return[];var t=e.timeout_ms,r=Date.now(),n=this.pendingClicks.slice();this.pendingClicks=[];for(var i=[],o=0;o<n.length;o++){var s=n[o];r-s.timestamp>=t?this.hasChangesAfter(s.timestamp)||i.push(s):this.pendingClicks.push(s)}return i},ct.prototype.hasChangesAfter=function(e){return this.lastChangeEventTimestamp>=e-100},ct.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()},ct.prototype.triggerProcessing=function(e){this.processingActive||(this.processingActive=!0,this.processRecursively(e))},ct.prototype.processRecursively=function(e){if(!this.isTracking||!this.onDeadClickCallback){this.processingActive=!1;return}var t=e.timeout_ms,r=this;this.processingTimeout=setTimeout(function(){if(r.processingActive){for(var t=r.getDeadClicks(e),n=0;n<t.length;n++)r.onDeadClickCallback(t[n].event);r.pendingClicks.length>0?r.processRecursively(e):r.processingActive=!1}},t)},ct.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var e=this;u8.forEach(function(t){var r=function(){e.recordChangeEvent()};document.addEventListener(t,r,{capture:!0,passive:!0}),e.eventListeners.push({target:document,event:t,handler:r,options:{capture:!0,passive:!0}})}),u7.forEach(function(t){var r=function(){e.recordChangeEvent()};window.addEventListener(t,r),e.eventListeners.push({target:window,event:t,handler:r})}),u9.forEach(function(t){var r=function(){e.recordChangeEvent()};window.addEventListener(t,r,{passive:!0}),e.eventListeners.push({target:window,event:t,handler:r,options:{passive:!0}})});var t=function(){e.recordChangeEvent()};if(document.addEventListener("selectionchange",t),e.eventListeners.push({target:document,event:"selectionchange",handler:t}),window.MutationObserver)try{this.mutationObserver=new window.MutationObserver(function(){e.recordChangeEvent()}),this.mutationObserver.observe(document.body||document.documentElement,ce)}catch(e){ui.critical("Error while setting up mutation observer",e)}if(window.customElements)try{this.shadowDOMObserver=new u6(function(){e.recordChangeEvent()},ce),this.shadowDOMObserver.start()}catch(e){ui.critical("Error while setting up shadow DOM observer",e),this.shadowDOMObserver=null}}},ct.prototype.stopTracking=function(){if(this.isTracking){this.isTracking=!1,this.pendingClicks=[],this.lastChangeEventTimestamp=0,this.processingActive=!1,this.processingTimeout&&(clearTimeout(this.processingTimeout),this.processingTimeout=null);for(var e=0;e<this.eventListeners.length;e++){var t=this.eventListeners[e];try{t.target.removeEventListener(t.event,t.handler,t.options)}catch(e){ui.critical("Error while removing event listener",e)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(e){ui.critical("Error while disconnecting mutation observer",e)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(e){ui.critical("Error while stopping shadow DOM observer",e)}this.shadowDOMObserver=null}}};var cr="autocapture",cn="full-url",ci="allow_selectors",co="allow_url_regexes",cs="block_attrs",ca="block_element_callback",cu="block_selectors",cc="block_url_regexes",cl="capture_extra_attrs",ch="capture_text_content",cp="scroll_capture_all",cf="scroll_depth_percent_checkpoints",cd="click",cg="dead_click",cm="input",cv="pageview",cy="rage_click",c_="scroll",cb="page_leave",cw="submit",cS={};cS[ci]=[],cS[co]=[],cS[cs]=[],cS[ca]=null,cS[cu]=[],cS[cc]=[],cS[cl]=[],cS[ch]=!1,cS[cp]=!1,cS[cf]=[25,50,75,100],cS[cd]=!0,cS[cg]=!0,cS[cm]=!0,cS[cv]=cn,cS[cy]=!0,cS[c_]=!0,cS[cb]=!1,cS[cw]=!0;var ck={$mp_autocapture:!0},cC="$mp_click",cx="$mp_dead_click",cE="$mp_rage_click",cO=function(e){this.mp=e,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};cO.prototype.init=function(){if(!function(){try{return!!sH.createElement("div").matches}catch(e){return!1}}()){ui.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()},cO.prototype.getFullConfig=function(){var e=this.mp.get_config(cr);return e?s2.isObject(e)?s2.extend({},cS,e):cS:{}},cO.prototype.getConfig=function(e){return this.getFullConfig()[e]},cO.prototype.currentUrlBlocked=function(){var e=s2.info.currentUrl(),t=this.getConfig(co)||[];if(t.length)try{return!am(e,t)}catch(e){return ui.critical("Error while checking block URL regexes: ",e),!0}var r=this.getConfig(cc)||[];
1if(!r||!r.length)return!1;try{return am(e,r)}catch(e){return ui.critical("Error while checking block URL regexes: ",e),!0}},cO.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(cr)?this.getConfig(cv):this.mp.get_config("track_pageview")},cO.prototype.trackDomEvent=function(e,t){if(!this.currentUrlBlocked()){var r=this.mp.is_recording_heatmap_data()&&(t===cC&&!this.getConfig(cd)||t===cE&&!this._getClickTrackingConfig(cy)||t===cx&&!this._getClickTrackingConfig(cg)),n=function(e,t){var r=t.allowElementCallback,n=t.allowSelectors||[],i=t.blockAttrs||[],o=t.blockElementCallback,s=t.blockSelectors||[],a=t.captureTextContent||!1,u=t.captureExtraAttrs||[],c=t.capturedForHeatMap||!1,l={};s2.each(i,function(e){l[e]=!0});var h=null,p=void 0===e.target?e.srcElement:e.target;if(uf(p)&&(p=p.parentNode),function(e,t){if(!e||up(e,"html")||!uh(e))return!1;switch(e.tagName.toLowerCase()){case"form":return t.type===a3;case"input":if(-1===["button","submit"].indexOf(e.getAttribute("type")))return t.type===aY;return t.type===aZ;case"select":case"textarea":return t.type===aY;default:return t.type===aZ}}(p,e)&&uc(p,e,r,n)&&!ul(p,e,o,s)){for(var f=[p],d=p;d.parentNode&&!up(d,"body");)f.push(d.parentNode),d=d.parentNode;var g,m=[],v=!1;if(s2.each(f,function(t){var i=ug(t,e,r,n);l.href||"a"!==t.tagName.toLowerCase()||(g=t.getAttribute("href"),g=i&&um(g)&&g),ul(t,e,o,s)&&(v=!0),m.push(ua(t,e,l,u,r,n))},this),!v){var y=sH.documentElement;if(h={$event_type:e.type,$host:oQ.location.host,$pathname:oQ.location.pathname,$elements:m,$el_attr__href:g,$viewportHeight:Math.max(y.clientHeight,oQ.innerHeight||0),$viewportWidth:Math.max(y.clientWidth,oQ.innerWidth||0),$pageHeight:sH.body.offsetHeight||0,$pageWidth:sH.body.offsetWidth||0},s2.each(u,function(e){if(!l[e]&&p.hasAttribute(e)){var t=p.getAttribute(e);um(t)&&(h["$el_attr__"+e]=t)}}),a&&(_=uu(p,e,r,n))&&_.length&&(h.$el_text=_),e.type===aZ&&(s2.each(a5,function(t){t in e&&(h["$"+t]=e[t])}),c&&(h.$captured_for_heatmap=!0),p=function(e){for(var t=e.target,r=e.composedPath(),n=0;n<r.length;n++){var i=r[n];if(up(i,"a")||up(i,"button")||up(i,"input")||up(i,"select")||i.getAttribute&&"button"===i.getAttribute("role")){t=i;break}if(i===t)break}return t}(e)),a){var _=uu(p,e,r,n);_&&_.length&&(h.$el_text=_)}if(p){if(!uc(p,e,r,n)||ul(p,e,o,s))return null;var b=ua(p,e,l,u,r,n);h.$target=b,h.$el_classes=b.$classes,s2.extend(h,s2.strip_empty_properties({$el_id:b.$id,$el_tag_name:b.$tag_name}))}}}return h}(e,{allowElementCallback:this.getConfig("allow_element_callback"),allowSelectors:this.getConfig(ci),blockAttrs:this.getConfig(cs),blockElementCallback:this.getConfig(ca),blockSelectors:this.getConfig(cu),captureExtraAttrs:this.getConfig(cl),captureTextContent:this.getConfig(ch),capturedForHeatMap:r});n&&(s2.extend(n,ck),this.mp.track(t,n))}},cO.prototype.initPageListeners=function(){if(oQ.removeEventListener(a0,this.listenerPopstate),oQ.removeEventListener(aK,this.listenerHashchange),this.pageviewTrackingConfig()||this.getConfig(cb)||this.mp.get_config("record_heatmap_data")){this.listenerPopstate=function(){oQ.dispatchEvent(new Event(aQ))},this.listenerHashchange=function(){oQ.dispatchEvent(new Event(aQ))},oQ.addEventListener(a0,this.listenerPopstate),oQ.addEventListener(aK,this.listenerHashchange);var e=oQ.history.pushState;"function"==typeof e&&(oQ.history.pushState=function(t,r,n){e.call(oQ.history,t,r,n),oQ.dispatchEvent(new Event(aQ))});var t=oQ.history.replaceState;"function"==typeof t&&(oQ.history.replaceState=function(e,r,n){t.call(oQ.history,e,r,n),oQ.dispatchEvent(new Event(aQ))})}},cO.prototype._getClickTrackingConfig=function(e){var t=this.getConfig(e);return t?!0===t?{}:"object"==typeof t?t:{}:null},cO.prototype._trackPageLeave=function(e,t,r){if(!this.hasTrackedScrollSession&&(this.getConfig(cb)||this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var n=Math.max(sH.documentElement.clientHeight,oQ.innerHeight||0),i=Math.round(Math.max(this.maxScrollViewDepth-n,0)/(r-n)*100),o=Math.round(n/r*100);r<=n&&(i=100,o=100);var s=s2.extend({$max_scroll_view_depth:this.maxScrollViewDepth,$max_scroll_percentage:i,$fold_line_percentage:o,$scroll_height:r,$event_type:e.type,$current_url:t||s2.info.currentUrl(),$viewportHe
1ight:n,$viewportWidth:Math.max(sH.documentElement.clientWidth,oQ.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},ck);this.mp.track("$mp_page_leave",s,{transport:"sendBeacon"})}},cO.prototype._initScrollDepthTracking=function(){if(oQ.removeEventListener(a2,this.listenerScrollDepth),oQ.removeEventListener(a1,this.listenerScrollDepth),this.mp.get_config("record_heatmap_data")){ui.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(sH.documentElement.clientHeight,oQ.innerHeight||0);var e=uv((function(){if(!this.currentUrlBlocked()){var e=Math.max(sH.documentElement.clientHeight,oQ.innerHeight||0)+oQ.scrollY;e>this.maxScrollViewDepth&&(this.maxScrollViewDepth=e),this.previousScrollHeight=sH.body.scrollHeight}}).bind(this));this.listenerScrollDepth=e.listener,oQ.addEventListener(e.eventType,this.listenerScrollDepth)}},cO.prototype.initClickTracking=function(){oQ.removeEventListener(aZ,this.listenerClick,!0),(this.getConfig(cd)||this.mp.get_config("record_heatmap_data"))&&(ui.log("Initializing click tracking"),this.listenerClick=(function(e){(this.getConfig(cd)||this.mp.is_recording_heatmap_data())&&this.trackDomEvent(e,cC)}).bind(this),oQ.addEventListener(aZ,this.listenerClick,!0))},cO.prototype.initDeadClickTracking=function(){if(!this._getClickTrackingConfig(cg)&&!this.mp.get_config("record_heatmap_data")){this.stopDeadClickTracking();return}ui.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new ct((function(e){this.trackDomEvent(e,cx)}).bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=(function(e){var t=this._getClickTrackingConfig(cg);if(!(!t&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked())){var r=t||{};r.timeout_ms||(r.timeout_ms=500),this._deadClickTracker.trackClick(e,r)}}).bind(this),oQ.addEventListener(aZ,this.listenerDeadClick,!0))},cO.prototype.initInputTracking=function(){oQ.removeEventListener(aY,this.listenerChange,!0),this.getConfig(cm)&&(ui.log("Initializing input tracking"),this.listenerChange=(function(e){this.getConfig(cm)&&this.trackDomEvent(e,"$mp_input_change")}).bind(this),oQ.addEventListener(aY,this.listenerChange,!0))},cO.prototype.initPageviewTracking=function(){if(oQ.removeEventListener(aQ,this.listenerLocationchange),this.pageviewTrackingConfig()||this.mp.get_config("record_heatmap_data")){ui.log("Initializing pageview tracking");var e="",t=!1;(this.pageviewTrackingConfig()||this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()&&(t=this.mp.track_pageview(ck)),t&&(e=s2.info.currentUrl()),this.listenerLocationchange=s6((function(){if(!this.currentUrlBlocked()){var t=s2.info.currentUrl(),r=!1,n=t.split("#")[0].split("?")[0]!==e.split("#")[0].split("?")[0],i=this.pageviewTrackingConfig();!i&&this.mp.is_recording_heatmap_data()&&(i=cn),i===cn?r=t!==e:"url-with-path-and-query-string"===i?r=t.split("#")[0]!==e.split("#")[0]:"url-with-path"===i&&(r=n),r&&(this.mp.track_pageview(ck)&&(e=t),n&&(this.lastScrollCheckpoint=0,ui.log("Path change: re-initializing scroll depth checkpoints")))}}).bind(this)),oQ.addEventListener(aQ,this.listenerLocationchange)}},cO.prototype.initRageClickTracking=function(){oQ.removeEventListener(aZ,this.listenerRageClick,!0),(this._getClickTrackingConfig(cy)||this.mp.get_config("record_heatmap_data"))&&(ui.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new u5),this.listenerRageClick=(function(e){var t=this._getClickTrackingConfig(cy);!(!t&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked())&&this._rageClickTracker.isRageClick(e,t)&&this.trackDomEvent(e,cE)}).bind(this),oQ.addEventListener(aZ,this.listenerRageClick,!0))},cO.prototype.initScrollTracking=function(){if(oQ.removeEventListener(a1,this.listenerScroll),oQ.removeEventListener(a2,this.listenerScroll),this.getConfig(c_)){ui.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var e=uv((function(){if(!(!this.getConfig(c_)||this.currentUrlBlocked())){var e=this.getConfig(cp),t=(this.getConfig(cf)||[]).slice().sort(function(e,t){return e-t}
1),r=oQ.scrollY,n=s2.extend({$scroll_top:r},ck);try{var i=sH.body.scrollHeight,o=Math.round(r/(i-oQ.innerHeight)*100);if(n.$scroll_height=i,n.$scroll_percentage=o,o>this.lastScrollCheckpoint)for(var s=0;s<t.length;s++){var a=t[s];o>=a&&this.lastScrollCheckpoint<a&&(n.$scroll_checkpoint=a,this.lastScrollCheckpoint=a,e=!0)}}catch(e){ui.critical("Error while calculating scroll percentage",e)}e&&this.mp.track("$mp_scroll",n)}}).bind(this));this.listenerScroll=e.listener,oQ.addEventListener(e.eventType,this.listenerScroll)}},cO.prototype.initSubmitTracking=function(){oQ.removeEventListener(a3,this.listenerSubmit,!0),this.getConfig(cw)&&(ui.log("Initializing submit tracking"),this.listenerSubmit=(function(e){this.getConfig(cw)&&this.trackDomEvent(e,"$mp_submit")}).bind(this),oQ.addEventListener(a3,this.listenerSubmit,!0))},cO.prototype.initPageLeaveTracking=function(){if(sH.removeEventListener(a4,this.listenerPageLeaveVisibilitychange),oQ.removeEventListener(aQ,this.listenerPageLeaveLocationchange),oQ.removeEventListener(aX,this.listenerPageLoad),this.getConfig(cb)||this.mp.get_config("record_heatmap_data")){ui.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var e=s2.info.currentUrl();this.listenerPageLoad=(function(){this.previousScrollHeight=sH.body.scrollHeight}).bind(this),oQ.addEventListener(aX,this.listenerPageLoad),this.listenerPageLeaveLocationchange=s6((function(t){if(!this.currentUrlBlocked()){var r=s2.info.currentUrl();r!==e&&(this._trackPageLeave(t,e,this.previousScrollHeight),e=r,this.maxScrollViewDepth=Math.max(sH.documentElement.clientHeight,oQ.innerHeight||0),this.previousScrollHeight=sH.body.scrollHeight,this.hasTrackedScrollSession=!1)}}).bind(this)),oQ.addEventListener(aQ,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=(function(t){sH.hidden&&this._trackPageLeave(t,e,this.previousScrollHeight)}).bind(this),sH.addEventListener(a4,this.listenerPageLeaveVisibilitychange)}},cO.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(oQ.removeEventListener(aZ,this.listenerDeadClick,!0),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)},s8(cO);var cI=function(e,t){return oQ[E]&&"function"==typeof oQ[E].then||(oQ[E]=new Promise(function(r){e(t,r)}).then(function(){var e=oQ[E];if(e&&"function"==typeof e.then)return e;throw Error("targeting failed to load")}).catch(function(e){throw delete oQ[E],e})),oQ[E]},cR=s5("flags"),cA="mixpanelFlags",cT={version:1,storeNames:[cA]},cM=Object.freeze({NETWORK_ONLY:"networkOnly",NETWORK_FIRST:"networkFirst",PERSISTENCE_UNTIL_NETWORK_SUCCESS:"persistenceUntilNetworkSuccess"}),cP=[cM.NETWORK_ONLY,cM.NETWORK_FIRST,cM.PERSISTENCE_UNTIL_NETWORK_SUCCESS],cN=function(e,t,r){this.idb=new ab("mixpanelFlagsDb",cA,cT),this.persistenceConfig=e,this.persistedVariantsKey="persisted_variants_for_"+t,this.isGloballyDisabled=r||function(){return!1}};cN.prototype.getPolicy=function(){return this.isGloballyDisabled()||!this._isConfigValid()?cM.NETWORK_ONLY:this.persistenceConfig.variantLookupPolicy},cN.prototype.getTtlMs=function(){if(!this._isConfigValid())return 864e5;var e=this.persistenceConfig.persistenceTtlMs;return null==e?864e5:e},cN.prototype._isConfigValid=function(){var e=this.persistenceConfig;return!!e&&(-1===cP.indexOf(e.variantLookupPolicy)?(cR.error("Invalid variantLookupPolicy:",e.variantLookupPolicy),!1):void 0===e.persistenceTtlMs||null===e.persistenceTtlMs||!(e.persistenceTtlMs<=0)||(cR.error("If provided, persistenceTtlMs must be a positive number. Provided value:",e.persistenceTtlMs),!1))},cN.prototype.loadFlagsFromStorage=function(e){var t=s2.bind(function(){return this.clear().then(function(){return null}).catch(function(){return null})},this);if(this.getPolicy()===cM.NETWORK_ONLY)return t();var r=this.getTtlMs();return this.idb.init().then(s2.bind(function(){return this.idb.getItem(this.persistedVariantsKey)},this)).then(s2.bind(function(n){if(!n)return cR.log("No persisted variants found in IndexedDB"),null;if(r&&Date.now()-n.persistedAt>=r)return cR.log("Persisted variants are expiring"),null;if(!e||n.distinctId!==e.distinct_id)return cR.log("Persisted variants found, but for a different distinct_id so clearing."),t();var i=new Map;return s2.each(n.flagVariants,function(e,t){i.set(t,{key:e.variant_key,value:e.variant_value,experiment_id:e.experiment_id,is_experiment_active:e.is_experiment_active,is_qa_tester:e.is_qa_tester,variant_source:"persistence",persisted_at_in_ms:n.persistedAt,ttl_in_ms:r})}),cR.log("Loaded",i.size,"variants from IndexedDB for distinct_id",n.distinctId),{flags:i,pendingFirstTimeEvents:n.pendingFirstTimeEvents||{},persistedAtMs:n.persistedAt,ttlMs:r}},this)).catch(s2.bind(function(e){return cR.error("Failed to load persisted variants from IndexedDB, so clearing",e),t()},this))},cN.prototype.save=function(e,t,r){if(this.getPolicy()===cM.NETWORK_ONLY)return Promise.resolve();var n={};t.forEach(function(e,t){n[t]={variant_key:e.key,variant_value:e.value,experiment_id:e.experiment_id,is_experiment_active:e.is_experiment_active,is_qa_tester:e.is_qa_tester}});var i={persistedAt:Date.now(),distinctId:e&&e.distinct_id,context:e,flagVariants:n,pendingFirstTimeEvents:r||{}};return this.idb.init().then(s2.bind(function(){return this.idb.setItem(this.persistedVariantsKey,i)},this)).then(function(){cR.log("Saved",t.size,"variants to IndexedDB for distinct_id",i.distinctId)}).catch(function(e){cR.error("Failed to persist variants to IndexedDB:",e)})},cN.prototype.clear=function(){return this.isGloballyDisabled()?Promise.resolve():this.idb.init().then(s2.bind(function(){return this.idb.removeItem(this.persistedVariantsKey)},this)).then(function(){cR.log("Cleared persisted variants from IndexedDB")}).catch(function(e){cR.error("Failed to clear persisted variants from IndexedDB:",e)})};var cL=s5("flags"),cD="flags",cF="context",cU={};cU[cF]={};var cj="NOT_READY",cB="BACKEND_ERROR",cq=function(e,t){var r={variant_source:"fallback"};return(t&&(r.fallback_reason=t),s2.isObject(e))?s2.extend({},e,r):s2.extend({value:e},r)},cz=function(e){this.fetch=oQ.fetch,this.getFullApiRoute=e.getFullApiRoute,this.getMpConfig=e.getConfigFunc,this.setMpConfig=e.setConfigFunc,this.getMpProperty=e.getPropertyFunc,this.track=e.trackingFunc,this.loadExtraBundle=e.loadExtraBundle||function(){},this.targetingSrc=e.targetingSrc||""};function cW(e){return null!=e}cz.prototype.init=function(){if(!this.minApisSupported()){cL.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 cN(this.getConfig("persistence"),this.getMpConfig("token"),s2.bind(function(){return this.getMpConfig("disable_persistence")}
1,this)),this.persistenceLoadedPromise=this.persistence.loadFlagsFromStorage(this._buildContext()).then(s2.bind(function(e){e&&(this.flags=e.flags,this.pendingFirstTimeEvents=e.pendingFirstTimeEvents,this._loadedPersistedAtMs=e.persistedAtMs,this._loadedTtlMs=e.ttlMs)},this)),this.persistenceLoadedPromise.then(s2.bind(function(){return this.fetchFlags()},this)).catch(function(){cL.error("Error initializing feature flags")})},cz.prototype._buildContext=function(){return s2.extend({distinct_id:this.getMpProperty("distinct_id"),device_id:this.getMpProperty("$device_id")},this.getConfig(cF))},cz.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(s2.bind(function(){return this.fetchFlags()},this)).catch(function(){cL.error("Error during flags reset")})):Promise.resolve()},cz.prototype.getFullConfig=function(){var e=this.getMpConfig(cD);return e?s2.isObject(e)?s2.extend({},cU,e):cU:{}},cz.prototype.getConfig=function(e){return this.getFullConfig()[e]},cz.prototype.isSystemEnabled=function(){return!!this.getMpConfig(cD)},cz.prototype.updateContext=function(e,t){if(!this.isSystemEnabled())return cL.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var r=this.getMpConfig(cD);s2.isObject(r)||(r={});var n=t&&t.replace?{}:this.getConfig(cF);r[cF]=s2.extend({},n,e);var i={};return i[cD]=r,this.setMpConfig(i),this.fetchFlags().catch(function(){cL.error("Error fetching flags during updateContext")})},cz.prototype.areFlagsReady=function(){return this.isSystemEnabled()||cL.error("Feature Flags not enabled"),!!this.flags},cz.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var e=this._buildContext(),t=e.distinct_id,r=al();cL.log("Fetching flags for distinct ID: "+t);var n=new URLSearchParams;n.set("context",JSON.stringify(e)),n.set("token",this.getMpConfig("token")),n.set("mp_lib","web"),n.set("$lib_version",x.LIB_VERSION);var i=this.getFullApiRoute()+"?"+n.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(oQ,i,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:r}}).then((function(e){return this.markFetchComplete(),e.json()}).bind(this)).then((function(t){var n=t.flags;if(!n)throw Error("No flags in API response");var i=new Map,o={};s2.each(n,function(e,t){var r=!1,n=t+":";if(s2.each(this.activatedFirstTimeEvents,function(e,t){t.startsWith(n)&&(r=!0)}),r){var o=this.flags&&this.flags.get(t);o&&i.set(t,o)}else i.set(t,{key:e.variant_key,value:e.variant_value,experiment_id:e.experiment_id,is_experiment_active:e.is_experiment_active,is_qa_tester:e.is_qa_tester,variant_source:"network"})},this);var s=t.pending_first_time_events;s&&s.length>0&&s2.each(s,function(e){var t=e.flag_key,r=t+":"+e.first_time_event_hash;this.activatedFirstTimeEvents[r]||(o[r]={flag_key:t,flag_id:e.flag_id,project_id:e.project_id,first_time_event_hash:e.first_time_event_hash,event_name:e.event_name,property_filters:e.property_filters,pending_variant:e.pending_variant})},this),this.activatedFirstTimeEvents&&s2.each(this.activatedFirstTimeEvents,function(e,t){var r=t.split(":")[0];e&&!i.has(r)&&this.flags&&this.flags.has(r)&&i.set(r,this.flags.get(r))},this),this.flags=i,this.trackedFeatures=new Set,this.pendingFirstTimeEvents=o,this._loadedPersistedAtMs=null,this._loadedTtlMs=null,this._traceparent=r,this._loadTargetingIfNeeded(),this.persistence.save(e,this.flags,this.pendingFirstTimeEvents)}).bind(this)).catch((function(e){throw this._fetchInProgressStartTime&&this.markFetchComplete(),cL.error(e),e}).bind(this)),this.fetchPromise},cz.prototype.loadFlags=function(){return this.isSystemEnabled()?this.trackedFeatures?this._fetchInProgressStartTime?this.fetchPromise:this.fetchFlags():(cL.error("loadFlags called before init"),Promise.resolve()):Promise.resolve()},cz.prototype.markFetchComplete=function(){if(!this._fetchInProgressStartTime){cL.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},cz.prototype._loadTargetingIfNeeded=function(){var e=!1;s2.each(this.pendingFirstTimeEvents,function(t){t.property_filters&&!s2.isEmptyObject(t.property_filters)&&(e=!0)}),e&&this.getTargeting().then(function(){cL.log("targeting loaded for property filter evaluation")})},cz.prototype.getTargeting=function(){return cI(this.loadExtraBundle.bind(this),this.targetingSrc).catch((function(e){cL.error("Failed to load targeting: "+e)}).bind(this))},cz.prototype.checkFirstTimeEvents=function(e,t){return!this.pendingFirstTimeEvents||s2.isEmptyObject(this.pendingFirstTimeEvents)?Promise.resolve():oQ[E]&&s2.isFunction(oQ[E].then)?oQ[E].then((function(r){return this._processFirstTimeEventCheck(e,t,r)}).bind(this)).catch((function(){return this._processFirstTimeEventCheck(e,t,null)}).bind(this)):this._processFirstTimeEventCheck(e,t,null)},cz.prototype._processFirstTimeEventCheck=function(e,t,r){var n=[];return s2.each(this.pendingFirstTimeEvents,function(i,o){if(!this.activatedFirstTimeEvents[o]){var s,a=i.flag_key;if(!r&&i.property_filters&&!s2.isEmptyObject(i.property_filters)){cL.warn('Skipping event check for "'+a+'" - property filters require targeting library');return}if(r){var u={event_name:i.event_name,property_filters:i.property_filters};s=r.eventMatchesCriteria(e,t,u)}else s={matches:e===i.event_name,error:null};if(s.error){cL.error('Error checking first-time event for flag "'+a+'": '+s.error);return}if(s.matches){cL.log('First-time event matched for flag "'+a+'": '+e);var c={key:i.pending_variant.variant_key,value:i.pending_variant.variant_value,experiment_id:i.pending_variant.experiment_id,is_experiment_active:i.pending_variant.is_experiment_active};this.flags.set(a,c),this.trackedFeatures.delete(a),this.activatedFirstTimeEvents[o]=!0,n.push(this.recordFirstTimeEvent(i.flag_id,i.project_id,i.first_time_event_hash))}}},this),Promise.all(n)},cz.prototype.getFirstTimeEventApiRoute=function(e){return this.getFullApiRoute().replace(/\/$/,"")+"/"+e+"/first-time-events"},cz.prototype.recordFirstTimeEvent=function(e,t,r){var n=this.getMpProperty("distinct_id"),i=al(),o=new URLSearchParams;o.set("mp_lib","web"),o.set("$lib_version",x.LIB_VERSION);var s=this.getFirstTimeEventApiRoute(e)+"?"+o.toString();return cL.log("Recording first-time event for flag: "+e),this.fetch.call(oQ,s,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:i},body:JSON.stringify({distinct_id:n,project_id:t,first_time_event_hash:r})}).catch(function(t){cL.error("Failed to record first-time event for flag "+e+": "+t)})},cz.prototype.getVariant=function(e,t){if(!this.persistenceLoadedProm
1ise)return new Promise(function(e){cL.critical("Feature Flags not initialized"),e(cq(t,cj))});var r=this.persistence.getPolicy();return this.persistenceLoadedPromise.then(s2.bind(function(){if(r===cM.PERSISTENCE_UNTIL_NETWORK_SUCCESS)return this.areFlagsReady()&&!this._loadedPersistenceIsStale()?this.getVariantSync(e,t):this.fetchPromise?this.fetchPromise.then(s2.bind(function(){return this.getVariantSync(e,t)},this)).catch(function(e){return cL.error(e),cq(t,cB)}):cq(t,cj);var n=s2.bind(function(){return this.getVariantSync(e,t)},this);return this.fetchPromise?this.fetchPromise.then(n).catch(s2.bind(function(e){return cL.error(e),this.areFlagsReady()?n():cq(t,cB)},this)):cq(t,cj)},this))},cz.prototype._loadedPersistenceIsStale=function(){return!!this._loadedPersistedAtMs&&!!this._loadedTtlMs&&Date.now()-this._loadedPersistedAtMs>=this._loadedTtlMs},cz.prototype.getVariantSync=function(e,t){if(this._loadedPersistenceIsStale())return cL.log('Loaded persisted variants are past TTL so returning fallback for "'+e+'"'),cq(t,cj);if(!this.areFlagsReady())return cL.log("Flags not loaded yet"),cq(t,cj);var r=this.flags.get(e);return r?(this.trackFeatureCheck(e,r),r):(cL.log('No flag found: "'+e+'"'),cq(t,"FLAG_NOT_FOUND"))},cz.prototype.getAllVariants=function(){if(!this.persistenceLoadedPromise)return cL.critical("Feature Flags not initialized"),Promise.resolve(new Map);var e=this.persistence.getPolicy();return this.persistenceLoadedPromise.then(s2.bind(function(){if(e===cM.PERSISTENCE_UNTIL_NETWORK_SUCCESS)return this.areFlagsReady()&&!this._loadedPersistenceIsStale()?this.getAllVariantsSync():this.fetchPromise?this.fetchPromise.then(s2.bind(function(){return this.getAllVariantsSync()},this)).catch(function(e){return cL.error(e),new Map}):new Map;var t=s2.bind(this.getAllVariantsSync,this);return this.fetchPromise?this.fetchPromise.then(t).catch(t):new Map},this))},cz.prototype.getAllVariantsSync=function(){return this._loadedPersistenceIsStale()?(cL.log("Loaded persisted variants are past TTL so returning empty Map"),new Map):this.flags||new Map},cz.prototype.getVariantValue=function(e,t){return this.getVariant(e,{value:t}).then(function(e){return e.value}).catch(function(e){return cL.error(e),t})},cz.prototype.getFeatureData=function(e,t){return cL.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(e,t)},cz.prototype.getVariantValueSync=function(e,t){return this.getVariantSync(e,{value:t}).value},cz.prototype.isEnabled=function(e,t){return this.getVariantValue(e).then((function(){return this.isEnabledSync(e,t)}).bind(this)).catch(function(e){return cL.error(e),t})},cz.prototype.isEnabledSync=function(e,t){t=t||!1;var r=this.getVariantValueSync(e,t);return!0!==r&&!1!==r&&(cL.error('Feature flag "'+e+'" value: '+r+" is not a boolean; returning fallback value: "+t),r=t),r},cz.prototype.trackFeatureCheck=function(e,t){if(!this.trackedFeatures.has(e)){this.trackedFeatures.add(e);var r={"Experiment name":e,"Variant name":t.key,$experiment_type:"feature_flag","Variant fetch start time":cW(this._fetchStartTime)?new Date(this._fetchStartTime).toISOString():null,"Variant fetch complete time":cW(this._fetchCompleteTime)?new Date(this._fetchCompleteTime).toISOString():null,"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};cW(t.experiment_id)&&(r.$experiment_id=t.experiment_id),cW(t.is_experiment_active)&&(r.$is_experiment_active=t.is_experiment_active),cW(t.is_qa_tester)&&(r.$is_qa_tester=t.is_qa_tester),cW(t.variant_source)&&(r.$variant_source=t.variant_source),cW(t.persisted_at_in_ms)&&(r.$persisted_at_in_ms=t.persisted_at_in_ms),cW(t.ttl_in_ms)&&(r.$ttl_in_ms=t.ttl_in_ms),this.track("$experiment_started",r)}},cz.prototype.whenReady=function(){return this.fetchPromise?this.fetchPromise:Promise.resolve()},cz.prototype.minApisSupported=function(){return!!this.fetch&&"undefined"!=typeof Promise&&"undefined"!=typeof Map&&"undefined"!=typeof Set},s8(cz),cz.prototype.are_flags_ready=cz.prototype.areFlagsReady,cz.prototype.get_variant=cz.prototype.getVariant,cz.prototype.get_variant_sync=cz.prototype.getVariantSync,cz.prototype.get_all_variants=cz.prototype.getAllVariants,cz.prototype.get_all_variants_sync=cz.prototype.getAllVariantsSync,cz.prototype.get_variant_value=cz.prototype.getVariantValue,cz.prototype.get_variant_value_sync=cz.prototype.getVariantValueSync,cz.prototype.is_enabled=cz.prototype.isEnabled,cz.prototype.is_enabled_sync=cz.prototype.isEnabledSync,cz.prototype.load_flags=cz.prototype.loadFlags,cz.prototype.update_context=cz.prototype.updateContext,cz.prototype.when_ready=cz.prototype.whenReady,cz.prototype.get_feature_data=cz.prototype.getFeatureData,cz.prototype.getTargeting=cz.prototype.getTargeting;var cV=s5("recorder"),c$="mp_iframe_handshake_request",cH="mp_iframe_handshake_response",cG=function(e){this.mixpanelInstance=e.mixpanelInstance,this.getMpConfig=e.getConfigFunc,this.getTabId=e.getTabIdFunc,this.reportError=e.reportErrorFunc,this.getDistinctId=e.getDistinctIdFunc,this.loadExtraBundle=e.loadExtraBundle,this.recorderSrc=e.recorderSrc,this.targetingSrc=e.targetingSrc,this.libBasePath=e.libBasePath,this._recorder=null,this._parentReplayId=null,this._parentFrameRetryInterval=null};cG.prototype.shouldLoadRecorder=function(){if(this.getMpConfig("disable_persistence"))return s3.log("Load recorder check skipped due to disable_persistence config"),y.resolve(!1);var e=new ab(aw,ak,aC),t=this.getTabId();return e.init().then(function(){return e.getAll()}).then(function(e){for(var r=0;r<e.length;r++)if(aG(e[r])||e[r].tabId===t)return!0;return!1}).catch(s2.bind(function(e){return this.reportError("Error checking recording registry",e),!1},this))},cG.prototype.checkAndStartSessionRecording=function(e,t){if(!oQ.MutationObserver)return s3.critical("Browser does not support MutationObserver; skipping session recording"),y.resolve();var r=s2.bind(function(e){return new y(s2.bind(function(t){var r=s6(s2.bind(function(){this._recorder=this._recorder||new oQ[O](this.mixpanelInstance),this._recorder.resumeRecording(e),t()},this));if(s2.isUndefined(oQ[O])){var n=this.recorderSrc||this.libBasePath+"__MP_RECORDER_FILENAME__";this.loadExtraBundle(n,r)}else r()},this))},this),n=aJ(this.getMpConfig("record_allowed_iframe_origins"),cV);if(n.length>0&&(this._setupParentFrameListener(n),oQ.parent!==oQ))return this._setupChildFrameListener(n,r),this._sendParentFrameRequestWithRetry(n),y.resolve();var i=s2.isUndefined(t)?this.getMpConfig("record_sessions_percent"):t;return e||i>0&&100*Math.random()<=i?r(!0):this.shouldLoadRecorder().then(s2.bind(function(e){return e?r(!1):y.resolve()},this))},cG.prototype.isRecording=function(){if(!this._recorder||!s2.isFunction(this._recorder.isRecording))return!1;try{return this._recorder.isRecording()}catch(e){return this.reportError("Error checking if recording is active",e),!1}},cG.prototype.startRecordingOnEvent=function(e,t){var r=this.isRecording(),n=this.getMpConfig("recording_event_triggers");if(!r&&n){var i=n[e];if(i&&"number"==typeof i.percentage){var o=i.percentage,s=i.property_filters;if(s&&!s2.isEmptyObject(s)){var a=this.targetingSrc||this.libBasePath+I;cI(this.loadExtraBundle,a).then((function(r){try{r.eventMatchesCriteria(e,t,{event_name:e,property_filters:s}).matches&&this.checkAndStartSessionRecording(!1,o)}catch(e){s3.critical("Could not parse recording event trigger properties logic:",e)}}).bind(this)).catch(function(e){s3.critical("Failed to load targeting library:",e)})}else this.checkAndStartSessionRecording(!1,o)}}},cG.prototype.stopSessionRecording=function(){return this._recorder?this._recorder.stopRecording():y.resolve()},cG.prototype.pauseSessionRecording=function(){return this._recorder?this._recorder.pauseRecording():y.resolve()},cG.prototype.resumeSessionRecording=function(){return this._recorder?this._recorder.resumeRecording():y.resolve()}
1,cG.prototype.isRecordingHeatmapData=function(){return this.getSessionReplayId()&&this.getMpConfig("record_heatmap_data")},cG.prototype.getSessionRecordingProperties=function(){var e={},t=this.getSessionReplayId();return t&&(e.$mp_replay_id=t),e},cG.prototype.getSessionReplayUrl=function(){var e=null,t=this.getSessionReplayId();return t&&(e="https://mixpanel.com/projects/replay-redirect?"+s2.HTTPBuildQuery({replay_id:t,distinct_id:this.getDistinctId(),token:this.getMpConfig("token")})),e},cG.prototype.getSessionReplayId=function(){if(this._parentReplayId)return this._parentReplayId;var e=null;return this._recorder&&(e=this._recorder.replayId),e||null},cG.prototype.getRecorder=function(){return this._recorder},cG.prototype._setupChildFrameListener=function(e,t){if(!this._childFrameMessageHandler){var r=this;this._childFrameMessageHandler=function(n){if(-1!==e.indexOf(n.origin)){var i=n.data;i&&i.type===cH&&i.token===r.getMpConfig("token")&&i.replayId&&(r._parentReplayId=i.replayId,i.distinctId&&r.mixpanelInstance.identify(i.distinctId),r._parentFrameRetryActive=!1,oQ.removeEventListener("message",r._childFrameMessageHandler),r._childFrameMessageHandler=null,t(!0))}},oQ.addEventListener("message",this._childFrameMessageHandler)}},cG.prototype._sendParentFrameRequest=function(e){var t={};t.type=c$,t.token=this.getMpConfig("token");for(var r=0;r<e.length;r++)try{oQ.parent.postMessage(t,e[r])}catch(e){}},cG.prototype._sendParentFrameRequestWithRetry=function(e){var t=this,r=0,n=50;this._parentFrameRetryActive=!0,this._sendParentFrameRequest(e),function i(){setTimeout(function(){!t._parentFrameRetryActive||t._parentReplayId||++r>=10||(t._sendParentFrameRequest(e),n*=2,i())},n)}()},cG.prototype._setupParentFrameListener=function(e){if(!this._parentFrameMessageHandler){var t=this;this._parentFrameMessageHandler=function(r){if(-1!==e.indexOf(r.origin)){var n=r.data;if(n&&n.type===c$&&n.token===t.getMpConfig("token")){var i=t.getSessionReplayId();if(i){var o={};o.type=cH,o.token=t.getMpConfig("token"),o.replayId=i,o.distinctId=t.getDistinctId(),r.source.postMessage(o,r.origin)}}}},oQ.addEventListener("message",this._parentFrameMessageHandler)}},s8(cG);var cJ=function(){};cJ.prototype.create_properties=function(){},cJ.prototype.event_handler=function(){},cJ.prototype.after_track_handler=function(){},cJ.prototype.init=function(e){return this.mp=e,this},cJ.prototype.track=function(e,t,r,n){var i=this,o=s2.dom_query(e);if(0===o.length){s3.error("The DOM query ("+e+") returned 0 elements");return}return s2.each(o,function(e){s2.register_event(e,this.override_event,function(e){var o={},s=i.create_properties(r,this),a=i.mp.get_config("track_links_timeout");i.event_handler(e,this,o),oQ.setTimeout(i.track_callback(n,s,o,!0),a),i.mp.track(t,s,i.track_callback(n,s,o))})},this),!0},cJ.prototype.track_callback=function(e,t,r,n){n=n||!1;var i=this;return function(){!r.callback_fired&&(r.callback_fired=!0,e&&!1===e(n,t)||i.after_track_handler(t,r,n))}},cJ.prototype.create_properties=function(e,t){return"function"==typeof e?e(t):s2.extend({},e)};var cY=function(){this.override_event="click"};s2.inherit(cY,cJ),cY.prototype.create_properties=function(e,t){var r=cY.superclass.create_properties.apply(this,arguments);return t.href&&(r.url=t.href),r},cY.prototype.event_handler=function(e,t,r){r.new_tab=2===e.which||e.metaKey||e.ctrlKey||"_blank"===t.target,r.href=t.href,r.new_tab||e.preventDefault()},cY.prototype.after_track_handler=function(e,t){!t.new_tab&&t.href&&setTimeout(function(){oQ.location=t.href},0)};var cZ=function(){this.override_event="submit"};s2.inherit(cZ,cJ),cZ.prototype.event_handler=function(e,t,r){r.element=t,e.preventDefault()},cZ.prototype.after_track_handler=function(e,t){setTimeout(function(){t.element.submit()},0)};var cK="$set",cX="$set_once",cQ="$unset",c0="$add",c1="$append",c2="$union",c3="$remove",c4={set_action:function(e,t){var r={},n={};return s2.isObject(e)?s2.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[cK]=n,r},unset_action:function(e){var t={},r=[];return s2.isArray(e)||(e=[e]),s2.each(e,function(e){this._is_reserved_property(e)||r.push(e)},this),t[cQ]=r,t},set_once_action:function(e,t){var r={},n={};return s2.isObject(e)?s2.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[cX]=n,r},union_action:function(e,t){var r={},n={};return s2.isObject(e)?s2.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=s2.isArray(e)?e:[e])},this):n[e]=s2.isArray(t)?t:[t],r[c2]=n,r},append_action:function(e,t){var r={},n={};return s2.isObject(e)?s2.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[c1]=n,r},remove_action:function(e,t){var r={},n={};return s2.isObject(e)?s2.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[c3]=n,r},delete_action:function(){var e={};return e.$delete="",e}},c5=function(){};
1s2.extend(c5.prototype,c4),c5.prototype._init=function(e,t,r){this._mixpanel=e,this._group_key=t,this._group_id=r},c5.prototype.set=aT(function(e,t,r){var n=this.set_action(e,t);return s2.isObject(e)&&(r=t),this._send_request(n,r)}),c5.prototype.set_once=aT(function(e,t,r){var n=this.set_once_action(e,t);return s2.isObject(e)&&(r=t),this._send_request(n,r)}),c5.prototype.unset=aT(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)}),c5.prototype.union=aT(function(e,t,r){s2.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)}),c5.prototype.delete=aT(function(e){var t=this.delete_action();return this._send_request(t,e)}),c5.prototype.remove=aT(function(e,t,r){var n=this.remove_action(e,t);return this._send_request(n,r)}),c5.prototype._send_request=function(e,t){e.$group_key=this._group_key,e.$group_id=this._group_id,e.$token=this._get_config("token");var r=s2.encodeDates(e);return this._mixpanel._track_or_batch({type:"groups",data:r,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},t)},c5.prototype._is_reserved_property=function(e){return"$group_key"===e||"$group_id"===e},c5.prototype._get_config=function(e){return this._mixpanel.get_config(e)},c5.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},c5.prototype.remove=c5.prototype.remove,c5.prototype.set=c5.prototype.set,c5.prototype.set_once=c5.prototype.set_once,c5.prototype.union=c5.prototype.union,c5.prototype.unset=c5.prototype.unset,c5.prototype.toString=c5.prototype.toString;var c6=function(){};s2.extend(c6.prototype,c4),c6.prototype._init=function(e){this._mixpanel=e},c6.prototype.set=aA(function(e,t,r){var n=this.set_action(e,t);return s2.isObject(e)&&(r=t),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),n[cK]=s2.extend({},s2.info.people_properties(),n[cK]),this._send_request(n,r)}),c6.prototype.set_once=aA(function(e,t,r){var n=this.set_once_action(e,t);return s2.isObject(e)&&(r=t),this._send_request(n,r)}),c6.prototype.unset=aA(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)}),c6.prototype.increment=aA(function(e,t,r){var n={},i={};return s2.isObject(e)?(s2.each(e,function(e,t){if(!this._is_reserved_property(t)){if(isNaN(parseFloat(e))){s3.error("Invalid increment value passed to mixpanel.people.increment - must be a number");return}i[t]=e}},this),r=t):(s2.isUndefined(t)&&(t=1),i[e]=t),n[c0]=i,this._send_request(n,r)}),c6.prototype.append=aA(function(e,t,r){s2.isObject(e)&&(r=t);var n=this.append_action(e,t);return this._send_request(n,r)}),c6.prototype.remove=aA(function(e,t,r){s2.isObject(e)&&(r=t);var n=this.remove_action(e,t);return this._send_request(n,r)}),c6.prototype.union=aA(function(e,t,r){s2.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)}),c6.prototype.track_charge=aA(function(){s3.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")}),c6.prototype.clear_charges=function(e){return this.set("$transactions",[],e)},c6.prototype.delete_user=function(){if(!this._identify_called()){s3.error("mixpanel.people.delete_user() requires you to call identify() first");return}var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)},c6.prototype.toString=function(){return this._mixpanel.toString()+".people"},c6.prototype._send_request=function(e,t){e.$token=this._get_config("token"),e.$distinct_id=this._mixpanel.get_distinct_id();var r=this._mixpanel.get_property("$device_id"),n=this._mixpanel.get_property("$user_id"),i=this._mixpanel.get_property("$had_persisted_distinct_id");r&&(e.$device_id=r),n&&(e.$user_id=n),i&&(e.$had_persisted_distinct_id=i);var o=s2.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:o,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},t):(this._enqueue(e),s2.isUndefined(t)||t(this._get_config("verbose")?{status:-1,error:null}:-1),s2.truncate(o,255))},c6.prototype._get_config=function(e){return this._mixpanel.get_config(e)},c6.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},c6.prototype._enqueue=function(e){cK in e?this._mixpanel.persistence._add_to_people_queue(cK,e):cX in e?this._mixpanel.persistence._add_to_people_queue(cX,e):cQ in e?this._mixpanel.persistence._add_to_people_queue(cQ,e):c0 in e?this._mixpanel.persistence._add_to_people_queue(c0,e):c1 in e?this._mixpanel.persistence._add_to_people_queue(c1,e):c3 in e?this._mixpanel.persistence._add_to_people_queue(c3,e):c2 in e?this._mixpanel.persistence._add_to_people_queue(c2,e):s3.error("Invalid call to _enqueue():",e)},c6.prototype._flush_one_queue=function(e,t,r,n){var i=this,o=s2.extend({},this._mixpanel.persistence.load_queue(e)),s=o;!s2.isUndefined(o)&&s2.isObject(o)&&!s2.isEmptyObject(o)&&(i._mixpanel.persistence._pop_from_people_queue(e,o),i._mi
1xpanel.persistence.save(),n&&(s=n(o)),t.call(i,s,function(t,n){0===t&&i._mixpanel.persistence._add_to_people_queue(e,o),s2.isUndefined(r)||r(t,n)}))},c6.prototype._flush=function(e,t,r,n,i,o,s){var a=this;this._flush_one_queue(cK,this.set,e),this._flush_one_queue(cX,this.set_once,n),this._flush_one_queue(cQ,this.unset,o,function(e){return s2.keys(e)}),this._flush_one_queue(c0,this.increment,t),this._flush_one_queue(c2,this.union,i);var u=this._mixpanel.persistence.load_queue(c1);if(!s2.isUndefined(u)&&s2.isArray(u)&&u.length)for(var c,l=function(e,t){0===e&&a._mixpanel.persistence._add_to_people_queue(c1,c),s2.isUndefined(r)||r(e,t)},h=u.length-1;h>=0;h--)c=(u=this._mixpanel.persistence.load_queue(c1)).pop(),a._mixpanel.persistence.save(),s2.isEmptyObject(c)||a.append(c,l);var p=this._mixpanel.persistence.load_queue(c3);if(!s2.isUndefined(p)&&s2.isArray(p)&&p.length)for(var f,d=function(e,t){0===e&&a._mixpanel.persistence._add_to_people_queue(c3,f),s2.isUndefined(s)||s(e,t)},g=p.length-1;g>=0;g--)f=(p=this._mixpanel.persistence.load_queue(c3)).pop(),a._mixpanel.persistence.save(),s2.isEmptyObject(f)||a.remove(f,d)},c6.prototype._is_reserved_property=function(e){return"$distinct_id"===e||"$token"===e||"$device_id"===e||"$user_id"===e||"$had_persisted_distinct_id"===e},c6.prototype.set=c6.prototype.set,c6.prototype.set_once=c6.prototype.set_once,c6.prototype.unset=c6.prototype.unset,c6.prototype.increment=c6.prototype.increment,c6.prototype.append=c6.prototype.append,c6.prototype.remove=c6.prototype.remove,c6.prototype.union=c6.prototype.union,c6.prototype.track_charge=c6.prototype.track_charge,c6.prototype.clear_charges=c6.prototype.clear_charges,c6.prototype.delete_user=c6.prototype.delete_user,c6.prototype.toString=c6.prototype.toString;var c8="__mps",c9="__mpso",c7="__mpus",le="__mpa",lt="__mpap",lr="__mpr",ln="__mpu",li="$people_distinct_id",lo="__alias",ls="__timers",la=[c8,c9,c7,le,lt,lr,ln,li,lo,ls],lu=function(e){this.props={},this.campaign_params_saved=!1,e.persistence_name?this.name="mp_"+e.persistence_name:this.name="mp_"+e.token+"_mixpanel";var t=e.persistence;"cookie"!==t&&"localStorage"!==t&&(s3.critical("Unknown persistence type "+t+"; falling back to cookie"),t=e.persistence="cookie"),"localStorage"===t&&s2.localStorage.is_supported()?this.storage=s2.localStorage:this.storage=s2.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};lu.prototype.properties=function(){var e={};return this.load(),s2.each(this.props,function(t,r){s2.include(la,r)||(e[r]=t)}),e},lu.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=s2.extend({},e))}},lu.prototype.upgrade=function(){var e,t;this.storage===s2.localStorage?(e=s2.cookie.parse(this.name),s2.cookie.remove(this.name),s2.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===s2.cookie&&(t=s2.localStorage.parse(this.name),s2.localStorage.remove(this.name),t&&this.register_once(t))},lu.prototype.save=function(){this.disabled||this.storage.set(this.name,av(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},lu.prototype.load_prop=function(e){return this.load(),this.props[e]},lu.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},lu.prototype.clear=function(){this.remove(),this.props={}},lu.prototype.register_once=function(e,t,r){return!!s2.isObject(e)&&(void 0===t&&(t="None"),this.expire_days=void 0===r?this.default_expiry:r,this.load(),s2.each(e,function(e,r){this.props.hasOwnProperty(r)&&this.props[r]!==t||(this.props[r]=e)},this),this.save(),!0)},lu.prototype.register=function(e,t){return!!s2.isObject(e)&&(this.expire_days=void 0===t?this.default_expiry:t,this.load(),s2.extend(this.props,e),this.save(),!0)},lu.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())},lu.prototype.update_search_keyword=function(e){this.register(s2.info.searchInfo(e))},lu.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:s2.info.referringDomain(e)||"$direct"},"")},lu.prototype.get_referrer_info=function(){return s2.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},lu.prototype.update_config=function(e){this.default_expiry=this.expire_days=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cookie_domain(e.cookie_domain),this.set_cross_site(e.cross_site_cookie),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie)},lu.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()},lu.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())},lu.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())},lu.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())},lu.prototype.get_cross_subdomain=function(){return this.cross_subdomain},lu.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())},lu.prototype._add_to_people_queue=function(e,t){var r=this._get_queue_key(e),n=t[e],i=this._get_or_create_queue(cK),o=this._get_or_create_queue(cX),s=this._get_or_create_queue(cQ),a=this._get_or_create_queue(c0),u=this._get_or_create_queue(c2),c=this._get_or_create_queue(c3,[]),l=this._get_or_create_queue(c1,[]);r===c8?(s2.extend(i,n),this._pop_from_people_queue(c0,n),this._pop_from_people_queue(c2,n),this._pop_from_people_queue(cQ,n)):r===c9?(s2.each(n,function(e,t){t in o||(o[t]=e)}),this._pop_from_people_queue(cQ,n)):r===c7?s2.each(n,function(e){s2.each([i,o,a,u],function(t){e in t&&delete t[e]}),s2.each(l,function(t){e in t&&delete t[e]}),s[e]=!0}):r===le?(s2.each(n,function(e,t){t in i?i[t]+=e:(t in a||(a[t]=0),a[t]+=e)},this),this._pop_from_people_queue(cQ,n)):r===ln?(s2.each(n,function(e,t){s2.isArray(e)&&(t in u||(u[t]=[]),s2.each(e,function(e){s2.include(u[t],e)||u[t].push(e)}))}),this._pop_from_people_queue(cQ,n)):r===lr?(c.push(n),this._pop_from_people_queue(c1,n)):r===lt&&(l.push(n),this._pop_from_people_queue(cQ,n)),s3.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),s3.log(t),this.save()},lu.prototype._pop_from_people_queue=function(e,t){var r=this.props[this._get_queue_key(e)];s2.isUndefined(r)||s2.each(t,function(t,n){e===c1||e===c3?s2.each(r,function(e){e[n]===t&&delete e[n]}):delete r[n]},this)},lu.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))},lu.prototype._get_queue_key=function(e){return e===cK?c8:e===cX?c9:e===cQ?c7:e===c0?le:e===c1?lt:e===c3?lr:e===c2?ln:void s3.error("Invalid queue:",e)},lu.prototype._get_or_create_queue=function(e,t){var r=this._get_queue_key(e);return t=s2.isUndefined(t)?{}:t,this.props[r]||(this.props[r]=t)},lu.prototype.set_event_timer=function(e,t){var r=this.load_prop(ls)||{};r[e]=t,this.props[ls]=r,this.save()},lu.prototype.remove_event_timer=function(e){var t=(this.load_prop(ls)||{})[e];return s2.isUndefined(t)||(delete this.props[ls][e],this.save()),t};var lc=function(e,t){throw Error(e+" not available in this build.")},ll="mixpanel",lh="base64",lp="$device:",lf=oQ.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,ld=!lf&&-1===sY.indexOf("MSIE")&&-1===sY.indexOf("Mozilla"),lg=null;s$.sendBeacon&&(lg=function(){return s$.sendBeacon.apply(s$,arguments)});var lm={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/",settings:"settings/"},lv={api_host:"https://api-js.mixpanel.com",api_hosts:{}
1,api_routes:lm,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:lh,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:ag,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:ag,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: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:18e5,record_mask_inputs:!0,record_max_ms:864e5,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:"disabled"},ly=!1,l_=function(){},lb=function(e,t,r){var n,i=r===ll?w:w[r];if(i&&0===b)n=i;else{if(i&&!s2.isArray(i)){s3.error("You have already initialized "+r);return}n=new l_}if(n._cached_groups={},n._init(e,t,r),n.people=new c6,n.people._init(n),!n.get_config("skip_first_touch_marketing")){var o=s2.info.campaignParams(null),s={},a=!1;s2.each(o,function(e,t){s["initial_"+t]=e,e&&(a=!0)}),a&&n.people.set_once(s)}x.DEBUG=x.DEBUG||n.get_config("debug");var u=0===b?"module":"snippet";return oQ.dispatchEvent(new oQ.CustomEvent("$mp_sdk_to_extension_event",{detail:{instance:n,source:u,token:e,name:r,info:s2.info}})),!s2.isUndefined(i)&&s2.isArray(i)&&(n._execute_array.call(n.people,i.people),n._execute_array(i)),n};l_.prototype.init=function(e,t,r){if(s2.isUndefined(r)){this.report_error("You must name your new library: init(token, config, name)");return}if(r===ll){this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");return}var n=lb(e,t,r);return w[r]=n,n._loaded(),n},l_.prototype._init=function(e,t,r){t=t||{},this.__loaded=!0,this.config={};var n={};if(!("api_payload_format"in t)&&(t.api_host||lv.api_host).match(/\.mixpanel\.com/)&&(n.api_payload_format="json"),this.hooks={},this.set_config(s2.extend({},lv,n,t,{name:r,token:e,callback_fn:(r===ll?r:ll+"."+r)+"._jsc"})),this.recorderManager=new cG({mixpanelInstance:this,getConfigFunc:s2.bind(this.get_config,this),setConfigFunc:s2.bind(this.set_config,this),getTabIdFunc:s2.bind(this.get_tab_id,this),reportErrorFunc:s2.bind(this.report_error,this),getDistinctIdFunc:s2.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:lc}),this._jsc=ag,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(s2.localStorage.is_supported(!0)&&lf){if(this.init_batchers(),lg&&oQ.addEventListener){var i=s2.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);oQ.addEventListener("pagehide",function(e){e.persisted&&i()}),oQ.addEventListener("visibilitychange",function(){"hidden"===sH.visibilityState&&i()})}}else this._batch_requests=!1,s3.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),s2.each(this.get_batcher_configs(),function(e){s3.log("Clearing batch queue "+e.queue_key),s2.localStorage.remove(e.queue_key)})}this.persistence=this.cookie=new lu(this.config),this.unpersisted_superprops={},this._gdpr_init();var o=s2.UUID();this.get_distinct_id()||this.register_once({distinct_id:lp+o,$device_id:o},""),this.flags=new cz({getFullApiRoute:s2.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:s2.bind(this.get_config,this),setConfigFunc:s2.bind(this.set_config,this),getPropertyFunc:s2.bind(this.get_property,this),trackingFunc:s2.bind(this.track,this),loadExtraBundle:lc,targetingSrc:this.get_config("targeting_src")||this.get_config("lib_base_path")+I}),this.flags.init(),this.flags=this.flags,this._init_tab_id();var s=this.get_config("remote_settings_mode");"strict"===s||"fallback"===s?this.__session_recording_init_promise=this._fetch_remote_settings(s).then(s2.bind(function(){return this._check_and_start_session_recording()},this)):this.__session_recording_init_promise=this._check_and_start_session_recording(),this.autocapture=new cO(this),this.autocapture.init()},l_.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))s3.log("Tab ID initialization skipped due to disable_persistence config");
1else if(s2.sessionStorage.is_supported())try{var e=this.get_config("name")+"_"+this.get_config("token"),t="mp_tab_id_"+e,r="mp_gen_new_tab_id_"+e;(s2.sessionStorage.get(r)||!s2.sessionStorage.get(t))&&s2.sessionStorage.set(t,"$tab-"+s2.UUID()),s2.sessionStorage.set(r,"1"),this.tab_id=s2.sessionStorage.get(t),oQ.addEventListener("beforeunload",function(){s2.sessionStorage.remove(r)})}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.")},l_.prototype.get_tab_id=function(){return this.tab_id||null},l_.prototype._check_and_start_session_recording=aR(function(e){return this.recorderManager.checkAndStartSessionRecording(e)}),l_.prototype._start_recording_on_event=s6(function(e,t){this.__session_recording_init_promise&&this.__session_recording_init_promise.then(s2.bind(function(){if(!this._remote_settings_strict_disabled)return this.recorderManager.startRecordingOnEvent(e,t)},this))}),l_.prototype.start_session_recording=function(){return this._check_and_start_session_recording(!0)},l_.prototype.stop_session_recording=function(){return this.recorderManager.stopSessionRecording()},l_.prototype.pause_session_recording=function(){return this.recorderManager.pauseSessionRecording()},l_.prototype.resume_session_recording=function(){return this.recorderManager.resumeSessionRecording()},l_.prototype.is_recording_heatmap_data=function(){return this.recorderManager.isRecordingHeatmapData()},l_.prototype.get_session_recording_properties=function(){return this.recorderManager.getSessionRecordingProperties()},l_.prototype.get_session_replay_url=function(){return this.recorderManager.getSessionReplayUrl()},l_.prototype.__get_recorder=function(){return this.recorderManager.getRecorder()},l_.prototype.__get_recording_init_promise=function(){return this.__session_recording_init_promise},l_.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var e=s2.info.campaignParams(null);s2.each(e,(function(e,t){this.unregister(t)}).bind(this))}},l_.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(sH.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(s2.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(sH.referrer)},l_.prototype._dom_loaded=function(){s2.each(this.__dom_loaded_queue,function(e){this._track_dom.apply(this,e)},this),this.has_opted_out_tracking()||s2.each(this.__request_queue,function(e){this._send_request.apply(this,e)},this),delete this.__dom_loaded_queue,delete this.__request_queue},l_.prototype._track_dom=function(e,t){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!ly)return this.__dom_loaded_queue.push([e,t]),!1;var r=new e().init(this);return r.track.apply(r,t)},l_.prototype._prepare_callback=function(e,t){if(s2.isUndefined(e))return null;if(lf)return function(r){e(r,t)};var r=this._jsc,n=""+Math.floor(1e8*Math.random()),i=this.get_config("callback_fn")+"["+n+"]";return r[n]=function(i){delete r[n],e(i,t)},i},l_.prototype._send_request=function(e,t,r,n){var i=!0;if(ld)return this.__request_queue.push(arguments),i;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},s=null;!n&&(s2.isFunction(r)||"string"==typeof r)&&(n=r,r=null),r=s2.extend(o,r||{}),lf||(r.method="GET");var a="POST"===r.method,u=lg&&a&&"sendbeacon"===r.transport.toLowerCase(),c=r.verbose;t.verbose&&(c=!0),this.get_config("test")&&(t.test=1),c&&(t.verbose=1),this.get_config("img")&&(t.img=1),!lf&&(n?t.callback=n:(c||this.get_config("test"))&&(t.callback="(function(){})")),t.ip=this.get_config("ip")?1:0,t._=new Date().getTime().toString(),a&&(s="data="+encodeURIComponent(t.data),delete t.data),s2.extend(t,this.get_config("api_extra_query_params")),e+="?"+s2.HTTPBuildQuery(t);var l=this;if("img"in t){var h=sH.createElement("img");h.src=e,sH.body.appendChild(h)}else if(u){try{i=lg(e,s)}catch(e){l.report_error(e),i=!1}try{n&&n(i?1:0)}catch(e){l.report_error(e)}}else if(lf)try{var p=new XMLHttpRequest;p.open(r.method,e,!0);var f=this.get_config("xhr_headers");
1if(a&&(f["Content-Type"]="application/x-www-form-urlencoded"),s2.each(f,function(e,t){p.setRequestHeader(t,e)}),r.timeout_ms&&void 0!==p.timeout){p.timeout=r.timeout_ms;var d=new Date().getTime()}p.withCredentials=!0,p.onreadystatechange=function(){if(4===p.readyState){if(200===p.status){if(n){if(c){try{e=s2.JSONDecode(p.responseText)}catch(t){if(l.report_error(t),!r.ignore_json_errors)return;e=p.responseText}n(e)}else n(Number(p.responseText))}}else if(t=p.timeout&&!p.status&&new Date().getTime()-d>=p.timeout?"timeout":"Bad HTTP status: "+p.status+" "+p.statusText,l.report_error(t),n){if(c){var e,t,i=p.responseHeaders||{};n({status:0,httpStatusCode:p.status,error:t,retryAfter:i["Retry-After"]})}else n(0)}}},p.send(s)}catch(e){l.report_error(e),i=!1}else{var g=sH.createElement("script");g.type="text/javascript",g.async=!0,g.defer=!0,g.src=e;var m=sH.getElementsByTagName("script")[0];m.parentNode.insertBefore(g,m)}return i},l_.prototype._fetch_remote_settings=function(e){var t=this,r=function(){"strict"===e&&(t.set_config({record_sessions_percent:0}),t._remote_settings_strict_disabled=!0)};if(!oQ.AbortController)return s3.critical("Remote settings unavailable: missing minimum required APIs"),r(),Promise.resolve();var n=this.get_api_host("settings")+"/"+this.get_config("api_routes").settings,i={$lib_version:x.LIB_VERSION,mp_lib:"web",sdk_config:"1"},o=s2.HTTPBuildQuery(i),s=new AbortController,a=setTimeout(function(){s.abort()},500),u={method:"GET",headers:{Authorization:"Basic "+btoa(t.get_config("token")+":")},signal:s.signal};return oQ.fetch(n+"?"+o,u).then(function(e){if(clearTimeout(a),!e.ok){s3.critical("Network response was not ok"),r();return}return e.json()}).then(function(e){if(e&&e.sdk_config&&e.sdk_config.config){var n=e.sdk_config.config,i={};s2.each(n,function(e,t){lv.hasOwnProperty(t)&&(i[t]=e)}),s2.isEmptyObject(i)?(s3.critical("No valid config keys found in remote settings."),r()):t.set_config(i)}else r()}).catch(function(e){clearTimeout(a),s3.critical("Failed to fetch remote settings",e),r()})},l_.prototype._execute_array=function(e){var t,r=[],n=[],i=[];s2.each(e,function(e){e&&(t=e[0],s2.isArray(t)?i.push(e):"function"==typeof e?e.call(this):s2.isArray(e)&&"alias"===t?r.push(e):s2.isArray(e)&&-1!==t.indexOf("track")&&"function"==typeof this[t]?i.push(e):n.push(e))},this);var o=function(e,t){s2.each(e,function(e){if(s2.isArray(e[0])){var r=t;s2.each(e,function(e){r=r[e[0]].apply(r,e.slice(1))})}else this[e[0]].apply(this,e.slice(1))},t)};o(r,this),o(n,this),o(i,this)},l_.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},l_.prototype.get_batcher_configs=function(){var e="__mpq_"+this.get_config("token");return this._batcher_configs=this._batcher_configs||{events:{type:"events",api_name:"track",queue_key:e+"_ev"},people:{type:"people",api_name:"engage",queue_key:e+"_pp"},groups:{type:"groups",api_name:"groups",queue_key:e+"_gr"}},this._batcher_configs},l_.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=s2.bind(function(e){return new aH(e.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:s2.bind(function(t,r,n){var i=this.get_config("api_routes");this._send_request(this.get_api_host(e.api_name)+"/"+i[e.api_name],this._encode_data_for_request(t),r,this._prepare_callback(n,t))},this),beforeSendHook:s2.bind(function(t){var r=this._run_hook("before_send_"+e.type,t);return r?r[0]:null},this),stopAllBatchingFunc:s2.bind(this.stop_batch_senders,this),usePersistence:!0})},this),t=this.get_batcher_configs();this.request_batchers={events:e(t.events),people:e(t.people),groups:e(t.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},l_.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,s2.each(this.request_batchers,function(e){e.start()}))},l_.prototype.stop_batch_senders=function(){this._batch_requests=!1,s2.each(this.request_batchers,function(e){e.stop(),e.clear()})},l_.prototype.push=function(e){this._execute_array([e])},l_.prototype.enable=function(e){var t,r,n,i;if(void 0===e)this._flags.disable_all_events=!1;else{for(n=0,t={},r=[];n<e.length;n++)t[e[n]]=!0;for(i=0;i<this.__disabled_events.length;i++)t[this.__disabled_events[i]]||r.push(this.__disabled_events[i]);this.__disabled_events=r}},l_.prototype.disable=function(e){void 0===e?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)},l_.prototype._encode_data_for_request=function(e){var t=av(e);return this.get_config("api_payload_format")===lh&&(t=s2.base64Encode(t)),{data:t}},l_.prototype._track_or_batch=function(e,t){var r=s2.truncate(e.data,255),n=e.endpoint,i=e.batcher,o=e.should_send_immediately,s=e.send_request_options||{};t=t||ag;var a=!0,u=s2.bind(function(){return(!s.skip_hooks&&(r=this._run_hook("before_send_"+e.type,r))&&(r=r[0]),r)?(s3.log("MIXPANEL REQUEST:"),s3.log(r),this._send_request(n,this._encode_data_for_request(r),s,this._prepare_callback(t,r))):null},this);return this._batch_requests&&!o?i.enqueue(r).then(function(e){e?t(1,r):u()}):a=u(),a&&r},l_.prototype.track=aR(function(e,t,r,n){if(!(r&&r.skip_hooks)){if(null===(i=this._run_hook("before_track",e,t)))return;e=i[0],t=i[1]}n||"function"!=typeof r||(n=r,r=null);var i,o=(r=r||{}).transport;o&&(r.transport=o);var s=r.send_immediately;if("function"!=typeof n&&(n=ag),s2.isUndefined(e)){this.report_error("No event name provided to mixpanel.track");return}if(this._event_is_disabled(e)){n(0);return}(t=s2.extend({},t)).token=this.get_config("token");var a=this.persistence.remove_event_timer(e);if(!s2.isUndefined(a)){var u=new Date().getTime()-a;t.$duration=parseFloat((u/1e3).toFixed(3))}this._set_default_superprops();var c=this.get_config("track_marketing")?s2.info.marketingParams():{};t=s2.extend({},s2.info.properties({mp_loader:this.get_config("mp_loader")}),c,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),t);var l=this.get_config("property_blacklist");s2.isArray(l)?s2.each(l,function(e){delete t[e]}):this.report_error("Invalid value for property_blacklist config: "+l),this._start_recording_on_event(e,t);var h={event:e,properties:t};return i=this._track_or_batch({type:"events",data:h,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:s,send_request_options:r},n),this.flags&&this.flags.checkFirstTimeEvents&&this.flags.checkFirstTimeEvents(e,t),i}),l_.prototype.set_group=aR(function(e,t,r){s2.isArray(t)||(t=[t]);var n={};return n[e]=t,this.register(n),this.people.set(e,t,r)}),l_.prototype.add_group=aR(function(e,t,r){var n=this.get_property(e),i={};return void 0===n?(i[e]=[t],this.register(i)):-1===n.indexOf(t)&&(n.push(t),i[e]=n,this.register(i)),this.people.union(e,t,r)}),l_.prototype.remove_group=aR(function(e,t,r){var n=this.get_property(e);if(void 0!==n){var i=n.indexOf(t);i>-1&&(n.splice(i,1),this.register({group_key:n})),0===n.length&&this.unregister(e)}return this.people.remove(e,t,r)}),l_.prototype.track_with_groups=aR(function(e,t,r,n){var i=s2.extend({},t||{});return s2.each(r,function(e,t){null!=e&&(i[t]=e)}),this.track(e,i,n)}),l_.prototype._create_map_key=function(e,t){return e+"_"+JSON.stringify(t)},l_.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]},l_.prototype.get_group=function(e,t){var r=this._create_map_key(e,t),n=this._cached_groups[r];return(void 0===n||n._group_key!==e||n._group_id!==t)&&((n=new c5)._init(this,e,t),this._cached_groups[r]=n),n},l_.prototype.track_pageview=aR(function(e,t){"object"!=typeof e&&(e={});var r=(t=t||{}).event_name||"$mp_web_page_view",n=s2.extend(s2.info.mpPageViewProperties(),s2.info.campaignParams(),s2.info.clickParams()),i=s2.extend({},n,e);return this.is_recording_heatmap_data()&&(i.$captured_for_heatmap=!0),this.track(r,i)}),l_.prototype.track_links=function(){return this._track_dom.call(this,cY,arguments)},l_.prototype.track_forms=function(){return this._track_dom.call(this,cZ,arguments)},l_.prototype.time_event=function(e){if(s2.isUndefined(e)){this.report_error("No event name provided to mixpanel.time_event");return}this._event_is_disabled(e)||this.persistence.set_event_timer(e,new Date().getTime())};var lw={persistent:!0},lS=function(e){var t;return t=s2.isObject(e)?e:s2.isUndefined(e)?{}:{days:e},s2.extend({},lw,t)};l_.prototype.register=function(e,t){var r=this._run_hook("before_register",e,t);if(null!==r){e=r[0];var n=lS(t=r[1]);n.persistent?this.persistence.register(e,n.days):s2.extend(this.unpersisted_superprops,e)}},l_.prototype.register_once=function(e,t,r){var n=this._run_hook("before_register_once",e,t,r);if(null!==n){e=n[0],t=n[1];var i=lS(r=n[2]);i.persistent?this.persistence.register_once(e,t,i.days):(void 0===t&&(t="None"),s2.each(e,function(e,r){this.unpersisted_superprops.hasOwnProperty(r)&&this.unpersisted_superprops[r]!==t||(this.unpersisted_superprops[r]=e)},this))}},l_.prototype.unregister=function(e,t){var r=this._run_hook("before_unregister",e,t);
1null!==r&&(e=r[0],(t=lS(t=r[1])).persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e])},l_.prototype._register_single=function(e,t){var r={};r[e]=t,this.register(r)},l_.prototype.identify=function(e,t,r,n,i,o,s,a){var u=this._run_hook("before_identify",e);if(null===u)return -1;e=u[0];var c=this.get_distinct_id();if(e&&c!==e){if("string"==typeof e&&0===e.indexOf(lp))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:e})}this.get_property("$device_id")||this.register_once({$had_persisted_distinct_id:!0,$device_id:c},""),e!==c&&e!==this.get_property(lo)&&(this.unregister(lo),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(t,r,n,i,o,s,a),e!==c&&this.track("$identify",{distinct_id:e,$anon_distinct_id:c},{skip_hooks:!0}),e!==c&&this.flags.fetchFlags().catch(function(){s3.error("[flags] Error fetching flags during identify")})},l_.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var e=s2.UUID();this.register_once({distinct_id:lp+e,$device_id:e},""),this._check_and_start_session_recording(),this.flags.reset()},l_.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},l_.prototype.alias=function(e,t){if(e===this.get_property(li))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var r=this;return(s2.isUndefined(t)&&(t=this.get_distinct_id()),e!==t)?(this._register_single(lo,e),this.track("$create_alias",{alias:e,distinct_id:t},{skip_hooks:!0},function(){r.identify(e)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(e),-1)},l_.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)},l_.prototype.set_config=function(e){s2.isObject(e)&&(s2.extend(this.config,e),e.batch_size&&s2.each(this.request_batchers,function(e){e.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),x.DEBUG=x.DEBUG||this.get_config("debug"),("autocapture"in e||"record_heatmap_data"in e)&&this.autocapture&&this.autocapture.init(),s2.isObject(e.hooks)&&(this.hooks={},s2.each(e.hooks,function(e,t){if(s2.isFunction(e))this.hooks[t]=[e];else if(s2.isArray(e)){this.hooks[t]=[];for(var r=0;r<e.length;r++)s2.isFunction(e[r])||s3.critical("Invalid hook added. Hook is not a function"),this.hooks[t].push(e[r])}else s3.critical("Invalid hooks added. Ensure that the hook values passed into config.hooks are functions or arrays of functions.")},this)))},l_.prototype.get_config=function(e){return this.config[e]},l_.prototype._run_hook=function(e){var t=sq.call(arguments,1);return s2.each(this.hooks[e],function(r){if(null===t)return null;var n=r.apply(this,t);void 0===n?(this.report_error(e+" hook did not return a valid value"),t=null):(s2.isArray(n)||(n=[n]),t.splice.apply(t,[0,n.length].concat(n)))},this),t},l_.prototype.get_property=function(e){return this.persistence.load_prop([e])},l_.prototype.get_api_host=function(e){return this.get_config("api_hosts")[e]||this.get_config("api_host")},l_.prototype.toString=function(){var e=this.get_config("name");return e!==ll&&(e=ll+"."+e),e},l_.prototype._event_is_disabled=function(e){return s2.isBlockedUA(sY)||this._flags.disable_all_events||s2.include(this.__disabled_events,e)},l_.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&s2.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")||s2.cookie.get("mp_optout"))&&(s2.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},l_.prototype._gdpr_update_persistence=function(e){var t;if(e&&e.clear_persistence)t=!0;else{if(!e||!e.enable_persistence)return;t=!1}this.get_config("disable_persistence")||this.persistence.disabled===t||this.persistence.set_disabled(t),t?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()},l_.prototype._gdpr_call_func=function(e,t){return t=s2.extend({track:s2.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")},t),s2.localStorage.is_supported()||(t.persistence_type="cookie"),e(this.get_config("token"),{track:t.track,trackEventName:t.track_event_name,trackProperties:t.track_properties,persistenceType:t.persistence_type,persistencePrefix:t.cookie_prefix,cookieDomain:t.cookie_domain,cookieExpiration:t.cookie_expiration,crossSiteCookie
1:t.cross_site_cookie,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie,ignoreDnt:t.ignore_dnt})},l_.prototype.opt_in_tracking=function(e){e=s2.extend({enable_persistence:!0},e),this._gdpr_call_func(ax,e),this._gdpr_update_persistence(e)},l_.prototype.opt_out_tracking=function(e){(e=s2.extend({clear_persistence:!0,delete_user:!0},e)).delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(aE,e),this._gdpr_update_persistence(e)},l_.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(aO,e)},l_.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(aI,e)},l_.prototype.clear_opt_in_out_tracking=function(e){e=s2.extend({enable_persistence:!0},e),this._gdpr_call_func(aM,e),this._gdpr_update_persistence(e)},l_.prototype.report_error=function(e,t){s3.error.apply(s3.error,arguments);try{t||e instanceof Error||(e=Error(e)),this.get_config("error_reporter")(e,t)}catch(e){s3.error(e)}},l_.prototype.add_hook=function(e,t){this.hooks[e]||(this.hooks[e]=[]),this.hooks[e].push(t)},l_.prototype.remove_hook=function(e,t){var r;this.hooks[e]&&(-1!==(r=this.hooks[e].indexOf(t))?this.hooks[e].splice(r,1):s3.log("remove_hook failed. Matching hook was not found"))},l_.prototype.init=l_.prototype.init,l_.prototype.reset=l_.prototype.reset,l_.prototype.enable=l_.prototype.enable,l_.prototype.disable=l_.prototype.disable,l_.prototype.time_event=l_.prototype.time_event,l_.prototype.track=l_.prototype.track,l_.prototype.track_links=l_.prototype.track_links,l_.prototype.track_forms=l_.prototype.track_forms,l_.prototype.track_pageview=l_.prototype.track_pageview,l_.prototype.register=l_.prototype.register,l_.prototype.register_once=l_.prototype.register_once,l_.prototype.unregister=l_.prototype.unregister,l_.prototype.identify=l_.prototype.identify,l_.prototype.alias=l_.prototype.alias,l_.prototype.name_tag=l_.prototype.name_tag,l_.prototype.set_config=l_.prototype.set_config,l_.prototype.get_config=l_.prototype.get_config,l_.prototype.get_api_host=l_.prototype.get_api_host,l_.prototype.get_property=l_.prototype.get_property,l_.prototype.get_distinct_id=l_.prototype.get_distinct_id,l_.prototype.toString=l_.prototype.toString,l_.prototype.opt_out_tracking=l_.prototype.opt_out_tracking,l_.prototype.opt_in_tracking=l_.prototype.opt_in_tracking,l_.prototype.has_opted_out_tracking=l_.prototype.has_opted_out_tracking,l_.prototype.has_opted_in_tracking=l_.prototype.has_opted_in_tracking,l_.prototype.clear_opt_in_out_tracking=l_.prototype.clear_opt_in_out_tracking,l_.prototype.get_group=l_.prototype.get_group,l_.prototype.set_group=l_.prototype.set_group,l_.prototype.add_group=l_.prototype.add_group,l_.prototype.remove_group=l_.prototype.remove_group,l_.prototype.add_hook=l_.prototype.add_hook,l_.prototype.remove_hook=l_.prototype.remove_hook,l_.prototype.track_with_groups=l_.prototype.track_with_groups,l_.prototype.start_batch_senders=l_.prototype.start_batch_senders,l_.prototype.stop_batch_senders=l_.prototype.stop_batch_senders,l_.prototype.start_session_recording=l_.prototype.start_session_recording,l_.prototype.stop_session_recording=l_.prototype.stop_session_recording,l_.prototype.pause_session_recording=l_.prototype.pause_session_recording,l_.prototype.resume_session_recording=l_.prototype.resume_session_recording,l_.prototype.get_session_recording_properties=l_.prototype.get_session_recording_properties,l_.prototype.get_session_replay_url=l_.prototype.get_session_replay_url,l_.prototype.get_tab_id=l_.prototype.get_tab_id,l_.prototype.DEFAULT_API_ROUTES=lm,l_.prototype.__get_recorder=l_.prototype.__get_recorder,l_.prototype.__get_recording_init_promise=l_.prototype.__get_recording_init_promise,lu.prototype.properties=lu.prototype.properties,lu.prototype.update_search_keyword=lu.prototype.update_search_keyword,lu.prototype.update_referrer_info=lu.prototype.update_referrer_info,lu.prototype.get_cross_subdomain=lu.prototype.get_cross_subdomain,lu.prototype.clear=lu.prototype.clear;var lk={},lC=function(){s2.each(lk,function(e,t){t!==ll&&(w[t]=e)}),w._=s2},lx=(lc=function(e,t){t()},b=0,(w=new l_).init=function(e,t,r){if(r)return w[r]||(w[r]=lk[r]=lb(e,t,r),w[r]._loaded()),w[r];var n=w;lk[ll]?n=lk[ll]:e&&((n=lb(e,t,ll))._loaded(),lk[ll]=n),w=n,1===b&&(oQ[ll]=w),lC()},w.init(),function(){function e(){e.done||(e.done=!0,ly=!0,ld=!1,s2.each(lk,function(e){e._dom_loaded()}))}if(sH.addEventListener)"complete"===sH.readyState?e():sH.addEventListener("DOMContentLoaded",e,!1);else if(sH.attachEvent){sH.attachEvent("onreadystatechange",e);var t=!1;try{t=null===oQ.frameElement}catch(e){}
1sH.documentElement.doScroll&&t&&function t(){try{sH.documentElement.doScroll("left")}catch(e){setTimeout(t,1);return}e()}()}s2.register_event(oQ,"load",e,!0)}(),w)},6321:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(1217)}])},3327:function(e,t,r){"use strict";r.d(t,{_:function(){return i}});var n=r(7378);let i=(e,t)=>{let[r,i]=(0,n.useState)(()=>{try{let r=window.localStorage.getItem(e);if(!r)return t;if("string"==typeof t&&!r.startsWith('"')&&!r.startsWith("{")&&!r.startsWith("["))return r;return JSON.parse(r)}catch(e){return console.log(e),t}});return[r,t=>{try{let n=t instanceof Function?t(r):t;i(n),null==n?window.localStorage.removeItem(e):"string"==typeof n?window.localStorage.setItem(e,n):window.localStorage.setItem(e,JSON.stringify(n))}catch(e){console.log(e)}},()=>{try{i(t),window.localStorage.removeItem(e)}catch(e){console.log(e)}}]}},1409:function(e,t,r){"use strict";r.d(t,{E:function(){return s}});var n=r(7378),i=r(6677),o=r(3327);let s=()=>{let e=(0,i.useRouter)(),[t,r]=(0,o._)("pf-nexus-utm_source",null),[s,a]=(0,o._)("pf-nexus-utm_medium",null),[u,c]=(0,o._)("pf-nexus-utm_campaign",null),[l,h]=(0,o._)("pf-nexus-utm_term",null),[p,f]=(0,o._)("pf-nexus-utm_content",null),[d,g]=(0,o._)("pf-nexus-referrer",null),[m,v]=(0,o._)("pf-nexus-landing_page",null),[y,_]=(0,o._)("pf-nexus-first_visit_timestamp",null),[b,w]=(0,o._)("pf-nexus-data_expiry",null),[S,k]=(0,o._)("pf-nexus-ref",null),[C,x]=(0,o._)("pf-nexus-cid",null),[E,O]=(0,o._)("pf-nexus-channel",null),I=e=>null!=e&&""!==e,R=()=>!!b&&new Date().getTime()>parseInt(b),A=()=>{w((new Date().getTime()+7776e6).toString())},T=(e,t,r)=>{!I(e)&&I(t)&&(r(t),A())},M=()=>{r(null),a(null),c(null),h(null),f(null),g(null),v(null),_(null),w(null),x(null),O(null),k(null)},P=()=>{R()&&M()},N=e=>{try{let t=new URL(e);return["utm_source","utm_medium","utm_campaign","utm_term","utm_content","cid","channel"].forEach(e=>{t.searchParams.delete(e)}),t.toString()}catch(t){return e}};return(0,n.useEffect)(()=>{P();let n=e.query;T(t,n.utm_source,r),T(s,n.utm_medium,a),T(u,n.utm_campaign,c),T(l,n.utm_term,h),T(p,n.utm_content,f),T(C,n.cid,x),T(E,n.channel,O),T(S,n.ref,k),document.referrer&&!d&&T(d,document.referrer,g),m||T(m,N(window.location.href),v),y||T(y,new Date().toISOString(),_)},[e.query,e.asPath]),{utmSource:t,utmMedium:s,utmCampaign:u,utmTerm:l,utmContent:p,referrer:d,landingPage:m,firstVisitTimestamp:y,ref:S,cid:C,channel:E,getTrackingParameters:()=>{if(R())return M(),{};let e={};return I(t)&&(e.utm_source=t),I(s)&&(e.utm_medium=s),I(u)&&(e.utm_campaign=u),I(l)&&(e.utm_term=l),I(p)&&(e.utm_content=p),I(d)&&(e.referrer=d),I(m)&&(e.landing_page=m),I(y)&&(e.first_visit_timestamp=y),I(C)&&(e.cid=C),I(E)&&(e.channel=E),I(S)&&(e.ref=S),e},clearTrackingParameters:M}}},1217:function(e,t,r){"use strict";r.r(t);var n=r(4246),i=r(7378);r(847);var o=r(1616),s=r(6677),a=r(3218),u=r.n(a),c=r(2516),l=r(1409),h=r(1653);t.default=function(e){let{Component:t,pageProps:r}=e,a=(0,s.useRouter)();return i.useEffect(()=>{c.hotjar.initialize(1814578,6)},[]),h.Z.init("fb0e41d3300a6eb24c4d71b09cc4dd72",{debug:!0,api_host:"https://api-eu.mixpanel.com"}),o.Z.defaults.baseURL="https://api.pfnexus.com/api",o.Z.defaults.withCredentials=!0,i.useEffect(()=>{h.Z.track("Marketing Site - Page View")},[a.pathname]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p,{Component:t,pageProps:r}),(0,n.jsx)(u(),{id:"gtm",strategy:"afterInteractive",children:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
1j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','GTM-WF66T8R');"}),(0,n.jsx)(u(),{id:"axeptio",strategy:"afterInteractive",children:'window.axeptioSettings = {\n clientId: "6343dd821a9c1dc3d88ef518",\n cookiesVersion: "marketing site-en",\n };\n\n (function(d, s) {\n var t = d.getElementsByTagName(s)[0], e = d.createElement(s);\n e.async = true; e.src = "//static.axept.io/sdk.js";\n t.parentNode.insertBefore(e, t);\n })(document, "script");'}),(0,n.jsx)(u(),{id:"hs-script-loader",strategy:"afterInteractive",src:"//js.hs-scripts.com/".concat("9314039",".js")})]})};let p=e=>{let{Component:t,pageProps:r}=e;return(0,l.E)(),(0,n.jsx)(t,{...r})}},847:function(){},6677:function(e,t,r){e.exports=r(8739)},3218:function(e,t,r){e.exports=r(454)},7061:function(e){var t,r,n,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function s(){throw Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var u=[],c=!1,l=-1;function h(){c&&n&&(c=!1,n.length?u=n.concat(u):l=-1,u.length&&p())}function p(){if(!c){var e=a(h);c=!0;for(var t=u.length;t;){for(n=u,u=[];++l<t;)n&&n[l].run();l=-1,t=u.length}n=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function d(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new f(e,t)),1!==u.length||c||a(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=d,i.addListener=d,i.once=d,i.off=d,i.removeListener=d,i.removeAllListeners=d,i.emit=d,i.prependListener=d,i.prependOnceListener=d,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},2516:function(e,t,r){var n=r(9918);function i(){var e=Array.prototype.slice.call(arguments);if(!window.hj)throw Error("Hotjar is not initialized");window.hj.apply(void 0,e)}e.exports={hotjar:{initialize:function(e,t){n(e,t)},initialized:function(){return"undefined"!=typeof window&&"function"==typeof window?.hj},identify:function(e,t){i("identify",e,t)},event:function(e){i("event",e)},stateChange:function(e){i("stateChange",e)}}}},9918:function(e){e.exports=function(e,t,r=!1){var n,i,o,s;n=window,i=document,n.hj=n.hj||function(){(n.hj.q=n.hj.q||[]).push(arguments)},n._hjSettings={hjid:e,hjsv:t,hjDebug:r},n._scriptPath="https://static.hotjar.com/c/hotjar-"+n._hjSettings.hjid+".js?sv="+n._hjSettings.hjsv,document.querySelector('script[src*="'+n._scriptPath+'"]')||(o=i.getElementsByTagName("head")[0],(s=i.createElement("script")).async=1,s.src=n._scriptPath,o.appendChild(s))}},1616:function(e,t,r){"use strict";let n,i,o,s;r.d(t,{Z:function(){return t1}});var a,u,c,l,h={};function p(e,t){return function(){return e.apply(t,arguments)}}r.r(h),r.d(h,{hasBrowserEnv:function(){return eH},hasStandardBrowserEnv:function(){return eJ},hasStandardBrowserWebWorkerEnv:function(){return eY},navigator:function(){return eG},origin:function(){return eZ}});var f=r(7061);let{toString:d}=Object.prototype,{getPrototypeOf:g}=Object,{iterator:m,toStringTag:v}=Symbol,y=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),_=e=>"string"==typeof e&&("__proto__"===e||"constructor"===e||"prototype"===e),b=(e,t,r)=>e===Object.prototype||!r&&null===t,w=e=>{if(!Object.isExtensible(e))return!1;let t=Object.getOwnPropertyNames(e);
1return Object.getOwnPropertySymbols&&t.push(...Object.getOwnPropertySymbols(e)),t.every(t=>{if(_(t))return!1;let r=Object.getOwnPropertyDescriptor(e,t);return!!r&&r.configurable&&!0===r.writable})},S=(e,t)=>{let r=e,n=[];for(;null!=r&&-1===n.indexOf(r);){n.push(r);let i=g(r);if(b(r,i,r===e))break;if(y(r,t))return!0;r=i}return!1},k=(n=Object.create(null),e=>{let t=d.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())}),C=e=>(e=e.toLowerCase(),t=>k(t)===e),x=e=>t=>typeof t===e,{isArray:E}=Array,O=x("undefined");function I(e){return null!==e&&!O(e)&&null!==e.constructor&&!O(e.constructor)&&T(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let R=C("ArrayBuffer"),A=x("string"),T=x("function"),M=x("number"),P=e=>null!==e&&"object"==typeof e,N=e=>{if(!P(e))return!1;let t=g(e);return(null===t||t===Object.prototype||null===g(t))&&!S(e,v)&&!S(e,m)},L=C("Date"),D=C("File"),F=C("Blob"),U=C("FileList"),j=C("Set"),B="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},q=void 0!==B.FormData?B.FormData:void 0,z=C("URLSearchParams"),[W,V,$,H]=["ReadableStream","Request","Response","Headers"].map(C);function G(e,t,{allOwnKeys:r=!1}={}){let n,i;if(null!=e){if("object"!=typeof e&&(e=[e]),E(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{let i;if(I(e))return;let o=r?Object.getOwnPropertyNames(e):Object.keys(e),s=o.length;for(n=0;n<s;n++)i=o[n],t.call(null,e[i],i,e)}}}function J(e,t){let r;if(I(e))return null;t=t.toLowerCase();let n=Object.keys(e),i=n.length;for(;i-- >0;)if(t===(r=n[i]).toLowerCase())return r;return null}let Y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Z=e=>!O(e)&&e!==Y,K=(i="undefined"!=typeof Uint8Array&&g(Uint8Array),e=>i&&e instanceof i),X=C("HTMLFormElement"),{propertyIsEnumerable:Q}=Object.prototype,ee=C("RegExp"),et=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};G(r,(r,i)=>{let o;!1!==(o=t(r,i,e))&&(n[i]=o||r)}),Object.defineProperties(e,n)},er=C("AsyncFunction"),en=(a="function"==typeof setImmediate,u=T(Y.postMessage),a?setImmediate:u?(c=`axios@${Math.random()}`,l=[],Y.addEventListener("message",({source:e,data:t})=>{e===Y&&t===c&&l.length&&l.shift()()},!1),e=>{l.push(e),Y.postMessage(c,"*")}):e=>setTimeout(e)),ei="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Y):void 0!==f&&f.nextTick||en,eo=e=>null!=e&&T(e[m]);var es={isArray:E,isArrayBuffer:R,isBuffer:I,isFormData:e=>{if(!e)return!1;if(q&&e instanceof q)return!0;let t=g(e);if(!t||t===Object.prototype||!T(e.append))return!1;let r=k(e);return"formdata"===r||"object"===r&&T(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&R(e.buffer)},isString:A,isNumber:M,isBoolean:e=>!0===e||!1===e,isObject:P,isPlainObject:N,isEmptyObject:e=>{if(!P(e)||I(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:W,isRequest:V,isResponse:$,isHeaders:H,isUndefined:O,isDate:L,isFile:D,isReactNativeBlob:e=>!!(e&&void 0!==e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:F,isRegExp:ee,isFunction:T,isStream:e=>P(e)&&T(e.pipe),isURLSearchParams:z,isTypedArray:K,isFileList:U,forEach:G,merge:function e(...t){let{caseless:r,skipUndefined:n}=Z(this)&&this||{},i={},o=(t,o)=>{if("__proto__"===o||"constructor"===o||"prototype"===o)return;let s=r&&"string"==typeof o&&J(i,o)||o,a=y(i,s)?i[s]:void 0;N(a)&&N(t)?i[s]=e(a,t):N(t)?i[s]=e({},t):E(t)?i[s]=t.slice():n&&O(t)||(i[s]=t)};for(let e=0,r=t.length;e<r;e++){let r=t[e];if(!r||I(r)||(G(r,o),"object"!=typeof r||E(r)))continue;let n=Object.getOwnPropertySymbols(r);for(let e=0;e<n.length;e++){let t=n[e];Q.call(r,t)&&o(r[t],t)}}return i},extend:(e,t,r,{allOwnKeys:n}={})=>(G(t,(t,n)=>{r&&T(t)?Object.defineProperty(e,n,{__proto__:null,value:p(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,
1configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let i,o,s;let a={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)s=i[o],(!n||n(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=!1!==r&&g(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:k,kindOfTest:C,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(E(e))return e;let t=e.length;if(!M(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r;let n=(e&&e[m]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r;let n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:X,hasOwnProperty:y,hasOwnProp:y,hasOwnInPrototypeChain:S,getSafeProp:(e,t)=>null!=e&&S(e,t)?e[t]:void 0,toSafeFlatObject:e=>{if(null==e||"object"!=typeof e&&"function"!=typeof e)return e;let t=g(e);if(null===t&&w(e))return e;let r=Object.create(null),n=Object.create(null),i=[],o=e;for(;null!=o&&-1===i.indexOf(o);){i.push(o);let s=o===e?t:g(o);if(b(o,s,o===e))break;let a=Object.getOwnPropertyNames(o);for(let t of(Object.getOwnPropertySymbols&&a.push(...Object.getOwnPropertySymbols(o)),a))!_(t)&&(y(n,t)||(r[t]=e[t],n[t]=!0));o=s}return r},reduceDescriptors:et,freezeMethods:e=>{et(e,(t,r)=>{if(T(e)&&["arguments","caller","callee"].includes(r))return!1;if(T(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(e=>{e.forEach(e=>{r[e]=!0})})(E(e)?e:String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:J,global:Y,isContextDefined:Z,isSpecCompliantForm:function(e){return!!(e&&T(e.append)&&"FormData"===e[v]&&e[m])},toJSONObject:e=>{let t=new WeakSet,r=e=>{if(P(e)){if(t.has(e))return;if(I(e))return e;if(!("toJSON"in e)){let n;if(t.add(e),j(e))for(let t of(n=[],e)){let e=r(t);O(e)||n.push(e)}else n=E(e)?[]:{},G(e,(e,t)=>{let i=r(e);O(i)||(n[t]=i)});return t.delete(e),n}}return e};return r(e)},isAsyncFn:er,isThenable:e=>e&&(P(e)||T(e))&&T(e.then)&&T(e.catch),setImmediate:en,asap:ei,isIterable:eo,isSafeIterable:e=>null!=e&&S(e,m)&&eo(e)};let ea=es.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var eu=e=>{let t,r,n;let i={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim();let o=es.hasOwnProp(i,t);!t||o&&es.hasOwnProp(ea,t)||("set-cookie"===t?o?i[t].push(r):i[t]=[r]:i[t]=o?i[t]+", "+r:r)}),i};let ec=RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),el=RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function eh(e,t){return es.isArray(e)?e.map(e=>eh(e,t)):function(e){let t=0,r=e.length;for(;t<r;){let r=e.charCodeAt(t);if(9!==r&&32!==r)break;t+=1}for(;r>t;){let t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}(String(e).replace(t,""))}let ep=e=>eh(e,ec),ef=e=>eh(e,el);function ed(e){let t=Object.create(null);return es.forEach(e.toJSON(),(e,r)=>{t[r]=ef(e)}),t}let eg=Symbol("internals");function em(e){return e&&String(e).trim().toLowerCase()}function ev(e){return!1===e||null==e?e:es.isArray(e)?e.map(ev):ep(String(e))}let ey=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function e_(e){let t=0,r=e.length;for(;t<r;){let r=e.charCodeAt(t);if(9!==r&&32!==r)break;t+=1}for(;r>t;){let t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}let eb=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ew(e,t,r,n,i){if(es.isFunction(n))return n.call(this,t,r);if(i&&(t=r),es.isString(t)){if(es.isString(n))return -1!==t.indexOf(n);if(es.isRegExp(n))return n.test(t)}}class eS{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(e,t,r){let i=em(t);if(!i)return;let o=es.findKey(n,i);o&&void 0!==n[o]&&!0!==r&&(void 0!==r||!1===n[o])||(n[o||t]=ev(e))}let o=(e,t)=>
1es.forEach(e,(e,r)=>i(e,r,t));if(es.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(es.isString(e)&&(e=e.trim())&&!eb(e))o(eu(e),t);else if(es.isObject(e)&&es.isSafeIterable(e)){let r=Object.create(null),n,i;for(let t of e){if(!es.isArray(t))throw TypeError("Object iterator must return a key-value pair");i=t[0],es.hasOwnProp(r,i)?(n=r[i],r[i]=es.isArray(n)?[...n,t[1]]:[n,t[1]]):r[i]=t[1]}o(r,t)}else null!=e&&i(t,e,r);return this}get(e,t){if(e=em(e)){let r=es.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t)return function(e){let t;let r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}(e);if(es.isFunction(t))return t.call(this,e,r);if(es.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=em(e)){let r=es.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||ew(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(e){if(e=em(e)){let i=es.findKey(r,e);i&&(!t||ew(r,r[i],i,t))&&(delete r[i],n=!0)}}return es.isArray(e)?e.forEach(i):i(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let i=t[r];(!e||ew(this,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){let t=this,r={};return es.forEach(this,(n,i)=>{let o=es.findKey(r,i);if(o){t[o]=ev(n),delete t[i];return}let s=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(i).trim();s!==i&&delete t[i],t[s]=ev(n),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return es.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&es.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){let e=this.get("set-cookie");return es.isArray(e)?e:null==e||!1===e?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return function(e){let t=Object.create(null),r=String(e),n=0,i=!1,o=!1;function s(e){let i=e_(r.slice(n,e)),o=i.indexOf("=");if(o<1)return;let s=e_(i.slice(0,o));if(!ey.test(s))return;let a=s.toLowerCase();if("__proto__"===a||"constructor"===a||"prototype"===a)return;let u=e_(i.slice(o+1));t[a]=function(e){let t=e.length-1;if(t<1||34!==e.charCodeAt(0)||34!==e.charCodeAt(t))return e;let r="";for(let n=1;n<t;n++){let i=e.charCodeAt(n);if(34===i||92===i&&(n+=1)>=t)return e;r+=e[n]}return r}(u)}for(let e=0;e<r.length;e++){let t=r.charCodeAt(e);i?o?o=!1:92===t?o=!0:34===t&&(i=!1):34===t?i=!0:(44===t||59===t)&&(s(e),n=e+1)}return s(r.length),t}(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[eg]=this[eg]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=em(e);t[n]||(!function(e,t){let r=es.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{__proto__:null,value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})})}(r,e),t[n]=!0)}return es.isArray(e)?e.forEach(n):n(e),this}}eS.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),es.reduceDescriptors(eS.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),es.freezeMethods(eS);let ek="[REDACTED ****]";function eC(e){try{return String(e)}catch(e){return""}}class ex extends Error{static from(e,t,r,n,i,o){let s=e.message;!s&&es.isArray(e.errors)&&e.errors.length&&(s=e.errors.map(e=>{try{return e&&e.message?eC(e.message):eC(e)}catch(e){return""}}).filter(Boolean).join("; ")||e.name||"AggregateError");let a=new ex(s,t||e.code,r,n,i);return Object.defineProperty(a,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),a.name=e.name,null!=e.status&&null==a.status&&(a.status=e.status),o&&Object.assign(a,o),a}constructor(e,t,r,n,i){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status)}toJSON(){let e=this.config,t=e&&es.hasOwnProp(e,"redact")?e.redact:void 0,r=es.isArray(t)&&t.length>0?function(e,t){let r=new Set(t.map(e=>String(e).toLowerCase())),n=[],i=e=>{let t;if(null===e||"object"!=typeof e||es.isBuffer(e))return e;if(-1===n.indexOf(e)){if(e instanceof eS&&(e=e.toJSON()),n.push(e),es.isArray(e))t=[],e.forEach((e,r)=>{let n=i(e);es.isUndefined(n)||(t[r]=n)});else{if(!es.isPlainObject(e)&&function(e){if(es.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(es.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return n.pop(),e;for(let[n,o]of(t=Object.create(null),Object.entries(e))){let e=r.has(n.toLowerCase())?ek:i(o);es.isUndefined(e)||(t[n]=e)}}return n.pop(),t}};return i(e)}(e,t):es.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}}ex.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",ex.ERR_BAD_OPTION="ERR_BAD_OPTION",ex.ECONNABORTED="ECONNABORTED",ex.ETIMEDOUT="ETIMEDOUT",ex.ECONNREFUSED="ECONNREFUSED",ex.ERR_NETWORK="ERR_NETWORK",ex.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",ex.ERR_DEPRECATED="ERR_DEPRECATED",ex.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",ex.ERR_BAD_REQUEST="ERR_BAD_REQUEST",ex.ERR_CANCELED="ERR_CANCELED",ex.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",ex.ERR_INVALID_URL="ERR_INVALID_URL",ex.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var eE=ex;function eO(e){return es.isPlainObject(e)||es.isArray(e)}function eI(e){return es.endsWith(e,"[]")?e.slice(0,-2):e}function eR(e,t,r){return e?e.concat(t).map(function(e,t){return e=eI(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let eA=es.toFlatObject(es,{},null,function(e){return/^is[A-Z]/.test(e)});var eT=function(e,t,r){if(!es.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(e,t)=>{let n=es.getSafeProp(r,e);return es.isUndefined(n)?t:n},i=n("metaTokens",!0),o=n("visitor")||d,s=n("dots",!1),a=n("indexes",!1),u=n("Blob")||"undefined"!=typeof Blob&&Blob,c=n("maxDepth",100),l=u&&es.isSpecCompliantForm(t),h=[];if(!es.isFunction(o))throw TypeError("visitor must be a function");function p(e){if(null===e)return"";if(es.isDate(e))return e.toISOString();if(es.isBoolean(e))return e.toString();if(!l&&es.isBlob(e))throw new eE("Blob is not supported. Use a Buffer instead.");if(es.isArrayBuffer(e)||es.isTypedArray(e)){if(l&&"function"==typeof u)return new u([e]);throw new eE("Blob is not supported. Use a Buffer instead.",eE.ERR_NOT_SUPPORT)}return e}function f(e){if(e>c)throw new eE("Object is too deeply nested ("+e+" levels). Max depth: "+c,eE.ERR_FORM_DATA_DEPTH_EXCEEDED)}function d(e,r,n){let o=e;if(es.isReactNative(t)&&es.isReactNativeBlob(e))return t.append(eR(n,r,s),p(e)),!1;if(e&&!n&&"object"==typeof e){if(es.endsWith(r,"{}"))r=i?r:r.slice(0,-2),e=function(e,t){if(c===1/0)return JSON.stringify(e);let r=[];return JSON.stringify(e,function(e,t){if(!es.isObject(t))return t;for(;r.length&&r[r.length-1]!==this;)r.pop();return r.push(t),f(1+r.length-1),t})}(e,0);else{var u;if(es.isArray(e)&&(u=e,es.isArray(u)&&!u.some(eO))||(es.isFileList(e)||es.endsWith(r,"[]"))&&(o=es.toArray(e)))return r=eI(r),o.forEach(function(e,n){es.isUndefined(e)||null===e||t.append(!0===a?eR([r],n,s):null===a?r:r+"[]",p(e))}),!1}}return!!eO(e)||(t.append(eR(n,r,s),p(e)),!1)}let g=Object.assign(eA,{defaultVisitor:d,convertValue:p,isVisitable:eO});if(!es.isObject(e))throw TypeError("data must be an object");return!function e(r,n,i=0){if(!es.isUndefined(r)){if(f(i),-1!==h.indexOf(r))throw Error("Circular reference detected in "+n.join("."));
1h.push(r),es.forEach(r,function(r,s){!0===(!(es.isUndefined(r)||null===r)&&o.call(t,r,es.isString(s)?s.trim():s,n,g))&&e(r,n?n.concat(s):[s],i+1)}),h.pop()}}(e),t};function eM(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function eP(e,t){this._pairs=[],e&&eT(e,this,t)}let eN=eP.prototype;function eL(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function eD(e,t,r){let n;if(!t)return e;e=e||"";let i=es.isFunction(r)?{serialize:r}:r,o=es.getSafeProp(i,"encode")||eL,s=es.getSafeProp(i,"serialize");if(n=s?s(t,i):es.isURLSearchParams(t)?t.toString():new eP(t,i).toString(o)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}eN.append=function(e,t){this._pairs.push([e,t])},eN.toString=function(e){let t=e?t=>e.call(this,t,eM):eM;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};let eF=Symbol("internals");function eU(e){return e?e.length:0}function ej(e){if(e)for(;e.length&&null===e[e.length-1];)e.pop()}function eB(e,t){let r=e.handlers,n=eU(r);r!==t.handlersRef?(t.handlersRef=r,t.handlerEntries.clear()):n!==t.handlersLength&&(n?t.handlerEntries.forEach(function(e,n){r[e.index]!==e.handler&&t.handlerEntries.delete(n)}):t.handlerEntries.clear()),t.handlersLength=n}class eq{constructor(){this.handlers=[],this[eF]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(e,t,r){let n={fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null},i=this[eF];null==this.handlers&&(this.handlers=[]),eB(this,i);let o=i.nextId++;return this.handlers.push(n),i.handlerEntries.set(o,{handler:n,index:this.handlers.length-1}),i.handlersLength=this.handlers.length,o}eject(e){let t=this[eF];eB(this,t);let r=t.handlerEntries.get(e);if(r){if(t.handlerEntries.delete(e),this.handlers[r.index]!==r.handler)return;this.handlers[r.index]=null,t.iterationDepth||(ej(this.handlers),t.handlersLength=this.handlers.length)}}clear(){this.handlers&&(this.handlers=[],eB(this,this[eF]))}forEach(e){let t=this[eF];eB(this,t),t.iterationDepth++;try{es.forEach(this.handlers,function(t){null!==t&&e(t)})}finally{--t.iterationDepth||(eB(this,t),ej(this.handlers),t.handlersLength=eU(this.handlers))}}}var ez={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},eW="undefined"!=typeof URLSearchParams?URLSearchParams:eP,eV="undefined"!=typeof FormData?FormData:null,e$="undefined"!=typeof Blob?Blob:null;let eH="undefined"!=typeof window&&"undefined"!=typeof document,eG="object"==typeof navigator&&navigator||void 0,eJ=eH&&(!eG||0>["ReactNative","NativeScript","NS"].indexOf(eG.product)),eY="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,eZ=eH&&window.location.href||"http://localhost";var eK={...h,isBrowser:!0,classes:{URLSearchParams:eW,FormData:eV,Blob:e$},protocols:["http","https","file","blob","url","data"]};function eX(e){if(e>100)throw new eE("FormData field is too deeply nested ("+e+" levels). Max depth: 100",eE.ERR_FORM_DATA_DEPTH_EXCEEDED)}var eQ=function(e){if(es.isFormData(e)&&es.isFunction(e.entries)){let t={};return es.forEachEntry(e,(e,r)=>{!function e(t,r,n,i){eX(i);let o=t[i++];if("__proto__"===o)return!0;let s=Number.isFinite(+o),a=i>=t.length;return(o=!o&&es.isArray(n)?n.length:o,a)?es.hasOwnProp(n,o)?n[o]=es.isArray(n[o])?n[o].concat(r):[n[o],r]:n[o]=r:(es.hasOwnProp(n,o)&&es.isObject(n[o])||(n[o]=[]),e(t,r,n[o],i)&&es.isArray(n[o])&&(n[o]=function(e){let t,r;let n={},i=Object.keys(e),o=i.length;for(t=0;t<o;t++)n[r=i[t]]=e[r];return n}(n[o]))),!s}(function(e){let t;let r=[],n=/[^.[\]]+|\[([^.[\]]*)]/g;for(;null!==(t=n.exec(e));)eX(r.length),r.push("[]"===t[0]?"":t[1]||t[0]);return r}(e),r,t,0)}),t}return null};let e0=Object.freeze(["get","delete","head","options","post","put","patch","purge","link","unlink","query"]),e1=(e,t)=>null!=e&&es.hasOwnProp(e,t)?e[t]:void 0,e2={transitional:ez,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r;let n=t.getContentType()||"",i=n.indexOf("application/json")>-1,o=es.isObject(e);
1if(o&&es.isHTMLForm(e)&&(e=new FormData(e)),es.isFormData(e))return i?JSON.stringify(eQ(e)):e;if(es.isArrayBuffer(e)||es.isBuffer(e)||es.isStream(e)||es.isFile(e)||es.isBlob(e)||es.isReadableStream(e))return e;if(es.isArrayBufferView(e))return e.buffer;if(es.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){let t=e1(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return eT(e,new eK.classes.URLSearchParams,{visitor:function(e,t,r,n){return eK.isNode&&es.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t}).toString();if((r=es.isFileList(e))||n.indexOf("multipart/form-data")>-1){let n=e1(this,"env"),i=n&&n.FormData;return eT(r?{"files[]":e}:e,i&&new i,t)}}return o||i?(t.setContentType("application/json",!1),function(e,t,r){if(es.isString(e))try{return(0,JSON.parse)(e),es.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=e1(this,"transitional")||e2.transitional,r=t&&t.forcedJSONParsing,n=e1(this,"responseType"),i="json"===n;if(es.isResponse(e)||es.isReadableStream(e))return e;if(e&&es.isString(e)&&(r&&!n||i)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e,e1(this,"parseReviver"))}catch(e){if(!r&&i){if("SyntaxError"===e.name)throw eE.from(e,eE.ERR_BAD_RESPONSE,this,null,e1(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eK.classes.FormData,Blob:eK.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};function e3(e,t){let r=this||e2,n=t||r,i=eS.from(n.headers),o=n.data;return es.forEach(e,function(e){o=e.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function e4(e){return!!(e&&e.__CANCEL__)}es.forEach(e0,e=>{e2.headers[e]={}});class e5 extends eE{constructor(e,t,r){super(null==e?"canceled":e,eE.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}}function e6(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new eE("Request failed with status code "+r.status,r.status>=400&&r.status<500?eE.ERR_BAD_REQUEST:eE.ERR_BAD_RESPONSE,r.config,r.request,r))}let e8=/[\t\n\r]/g;function e9(e){if("string"!=typeof e)return e;let t=0;for(;t<e.length&&32>=e.charCodeAt(t);)t++;return e.slice(t).replace(e8,"")}function e7(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}var te=function(e,t){let r;let n=Array(e=e||10),i=Array(e),o=0,s=0;return t=void 0!==t?t:1e3,function(a){let u=Date.now(),c=i[s];r||(r=u),n[o]=a,i[o]=u;let l=s,h=0;for(;l!==o;)h+=n[l++],l%=e;if((o=(o+1)%e)===s&&(s=(s+1)%e),u-r<t)return;let p=c&&u-c;return p?Math.round(1e3*h/p):void 0}},tt=function(e,t){let r,n,i=0,o=1e3/t,s=(t,o=Date.now())=>{i=o,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{let t=Date.now(),a=t-i;a>=o?s(e,t):(r=e,n||(n=setTimeout(()=>{n=null,s(r)},o-a)))},()=>r&&s(r),(...e)=>s(e)]};let tr=(e,t,r=3)=>{let n=0,i=te(50,250);return tt(r=>{if(!r||!es.isNumber(r.loaded))return;let o=r.loaded,s=r.lengthComputable?r.total:void 0,a=Math.max(0,null!=s?Math.min(o,s):o),u=Math.max(0,a-n),c=i(u);n=Math.max(n,a),e({loaded:a,total:s,progress:s?a/s:void 0,bytes:u,rate:c||void 0,estimated:c&&s?(s-a)/c:void 0,event:r,lengthComputable:null!=s,[t?"download":"upload"]:!0})},r)},tn=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},ti=(e,t=es.asap)=>(...r)=>t(()=>e(...r));var to=eK.hasStandardBrowserEnv?(o=new URL(eK.origin),s=eK.navigator&&/(msie|trident)/i.test(eK.navigator.userAgent),e=>(e=new URL(e,eK.origin),o.protocol===e.protocol&&o.host===e.host&&(s||o.port===e.port))):()=>!0,ts=eK.hasStandardBrowserEnv?{write(e,t,r,n,i,o,s){if("undefined"==typeof document)return;let a=[`${e}=${encodeURIComponent(t)}`];es.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),es.isString(n)&&a.push(`path=${n}`),es.isString(i)&&a.push(`domain=${i}`),!0===o&&a.push("secure"),es.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if("undefined"==typeof document)return null;let t=document.cookie.split(";");for(let r=0;r<t.length;r++){let n=t[r].replace(/^\s+/,""),i=n.indexOf("=");if(-1!==i&&n.slice(0,i)===e)try{return decodeURIComponent(n.slice(i+1))}catch(e){return n.slice(i+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};let ta=/^https?:(?!\/\/)/i;function tu(e,t){if("string"==typeof e){let r=e9(e);if(ta.test(r))throw new eE(`Invalid URL ${JSON.stringify(function(e){var t;let r=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${ek}@`),n=r.indexOf("#"),i=(-1===n?r:r.slice(0,n)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${ek}`);return -1===n?i:`${i}#${(t=r.slice(n+1))?t.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,t,r="")=>`${t}${r}${ek}`):t}`}(r))}: missing "//" after protocol`,eE.ERR_INVALID_URL,t)}}function tc(e,t,r,n){tu(t,n);let i=!("string"==typeof t&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t));return e&&(i||!1===r)?(tu(e,n),function(e,t){if(!t)return e;let r=e.length;for(;r>0&&47===e.charCodeAt(r-1);)r--;return e.slice(0,r)+"/"+t.replace(/^\/+/,"")}(e,t)):t}let tl=e=>e instanceof eS?{...e}:e,th=e=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)):Object.keys(e);function tp(e,t){e=e||{},t=t||{};let r=Object.create(null);function n(e,t,r,n){return es.isPlainObject(e)&&es.isPlainObject(t)?es.merge.call({caseless:n},e,t):es.isPlainObject(t)?es.merge({},t):es.isArray(t)?t.slice():t}function i(e,t,r,i){return es.isUndefined(t)?es.isUndefined(e)?void 0:n(void 0,e,r,i):n(e,t,r,i)}function o(e,t){if(!es.isUndefined(t))return n(void 0,t)}function s(e,t){return es.isUndefined(t)?es.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function a(r,i,o){return es.hasOwnProp(t,o)?n(r,i):es.hasOwnProp(e,o)?n(void 0,r):void 0}Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});let u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutErrorMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:a,headers:(e,t,r)=>i(tl(e),tl(t),r,!0)};
1return es.forEach(th({...e,...t}),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;let o=es.hasOwnProp(u,n)?u[n]:i,s=o(es.hasOwnProp(e,n)?e[n]:void 0,es.hasOwnProp(t,n)?t[n]:void 0,n);es.isUndefined(s)&&o!==a||(r[n]=s)}),es.hasOwnProp(t,"validateStatus")&&es.isUndefined(t.validateStatus)&&!1===function(r){let n=es.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!es.isUndefined(n)){if(!es.isPlainObject(n))return;if(es.hasOwnProp(n,r))return n[r]}let i=es.hasOwnProp(e,"transitional")?e.transitional:void 0;if(es.isPlainObject(i)&&es.hasOwnProp(i,r))return i[r]}("validateStatusUndefinedResolves")&&(es.hasOwnProp(e,"validateStatus")?r.validateStatus=n(void 0,e.validateStatus):delete r.validateStatus),r}let tf=["content-type","content-length"],td=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)));var tg=function(e){let t=tp({},e),r=e=>es.hasOwnProp(t,e)?t[e]:void 0,n=r("data"),i=r("withXSRFToken"),o=r("xsrfHeaderName"),s=r("xsrfCookieName"),a=r("headers"),u=r("auth"),c=r("baseURL"),l=r("allowAbsoluteUrls"),h=r("url");if(t.headers=a=eS.from(a),t.url=eD(tc(c,h,l,t),r("params"),r("paramsSerializer")),u){let t=es.getSafeProp(u,"username")||"",r=es.getSafeProp(u,"password")||"";try{a.set("Authorization","Basic "+btoa(t+":"+(r?td(r):"")))}catch(t){throw eE.from(t,eE.ERR_BAD_OPTION_VALUE,e)}}if(es.isFormData(n)){let e=es.getSafeProp(n,"getHeaders");eK.hasStandardBrowserEnv||eK.hasStandardBrowserWebWorkerEnv||es.isReactNative(n)?a.setContentType(void 0):es.isFunction(e)&&function(e,t,r){if("content-only"!==r){e.set(t);return}Object.entries(t||{}).forEach(([t,r])=>{tf.includes(t.toLowerCase())&&e.set(t,r)})}(a,e.call(n),r("formDataHeaderPolicy"))}if(eK.hasStandardBrowserEnv&&(es.isFunction(i)&&(i=i(t)),!0===i||null==i&&to(t.url))){let e=o&&s&&ts.read(s);e&&a.set(o,e)}return t},tm="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let n,i,o,s,a,u;let c=tg(e),l=c.data,h=eS.from(c.headers).normalize(),{responseType:p,onUploadProgress:f,onDownloadProgress:d}=c;function g(){s&&s(),a&&a(),c.cancelToken&&c.cancelToken.unsubscribe(n),c.signal&&c.signal.removeEventListener("abort",n)}let m=new XMLHttpRequest;function v(n){if(!m)return;if(0===m.status&&"file"!==(e7(e9(c.url))||e7(eK.origin))&&!(m.responseURL&&m.responseURL.startsWith("file:"))){r(new eE("Request aborted",eE.ECONNABORTED,e,m)),g(),m=null;return}try{n?u&&u(n):a&&a()}catch(e){setTimeout(()=>{throw e})}if(!m)return;let i=eS.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());e6(function(e){t(e),g()},function(e){r(e),g()},{data:p&&"text"!==p&&"json"!==p?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:i,config:e,request:m}),m=null}m.open(c.method.toUpperCase(),c.url,!0),m.timeout=c.timeout,"onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&m.responseURL.startsWith("file:"))&&setTimeout(v)},m.onabort=function(){m&&(r(new eE("Request aborted",eE.ECONNABORTED,e,m)),g(),m=null)},m.onerror=function(t){let n=new eE(t&&t.message?t.message:"Network Error",eE.ERR_NETWORK,e,m);n.event=t||null,r(n),g(),m=null},m.ontimeout=function(){let t=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded",n=c.transitional||ez;c.timeoutErrorMessage&&(t=c.timeoutErrorMessage),r(new eE(t,n.clarifyTimeoutError?eE.ETIMEDOUT:eE.ECONNABORTED,e,m)),g(),m=null},void 0===l&&h.setContentType(null),"setRequestHeader"in m&&es.forEac
1h(ed(h),function(e,t){m.setRequestHeader(t,e)}),es.isUndefined(c.withCredentials)||(m.withCredentials=!!c.withCredentials),p&&"json"!==p&&(m.responseType=c.responseType),d&&([o,a,u]=tr(d,!0),m.addEventListener("progress",o)),f&&m.upload&&([i,s]=tr(f),m.upload.addEventListener("progress",i),m.upload.addEventListener("loadend",s)),(c.cancelToken||c.signal)&&(n=t=>{m&&(r(!t||t.type?new e5(null,e,m):t),m.abort(),g(),m=null)},c.cancelToken&&c.cancelToken.subscribe(n),c.signal&&(c.signal.aborted?n():c.signal.addEventListener("abort",n)));let y=e7(c.url);if(y&&!eK.protocols.includes(y)){r(new eE("Unsupported protocol "+y+":",eE.ERR_BAD_REQUEST,e)),g();return}m.send(l||null)})},tv=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let r=new AbortController,n=!1,i=function(e){if(!n){n=!0,s();let t=e instanceof Error?e:this.reason;r.abort(t instanceof eE?t:new e5(t instanceof Error?t.message:t))}},o=t&&setTimeout(()=>{o=null,i(new eE(`timeout of ${t}ms exceeded`,eE.ETIMEDOUT))},t),s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>{if(!n){if(e.aborted){i.call(e);return}e.addEventListener("abort",i,{once:!0})}});let{signal:a}=r;return a.unsubscribe=()=>es.asap(s),a};let ty=function*(e,t){let r,n=e.byteLength;if(!t||n<t){yield e;return}let i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},t_=async function*(e,t){for await(let r of tb(e))yield*ty(r,t)},tb=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},tw=(e,t,r,n)=>{let i;let o=t_(e,t),s=0,a=e=>{!i&&(i=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await o.next();if(t){a(),e.close();return}let i=n.byteLength;if(r){let e=s+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},tS=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,tk=(e,t,r)=>t+2<r&&tS(e.charCodeAt(t+1))&&tS(e.charCodeAt(t+2)),tC=e=>e<=57?e-48:(223&e)-55,tx=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||43===e||47===e||45===e||95===e,tE=e=>9===e||10===e||12===e||13===e||32===e,tO=e=>{let t=e%4;return 3*Math.floor(e/4)+(2===t?1:3===t?2:0)},tI=e=>{let t=e.length,r=0;return t>0&&61===e.charCodeAt(t-1)&&(r++,t>1&&61===e.charCodeAt(t-2)&&r++),Math.floor((t-r)*3/4)},tR=e=>{let t=e.length,r=0,n=0,i=!1;for(let o=0;o<t;o++){let s=e.charCodeAt(o);if(37===s&&tk(e,o,t)&&(s=16*tC(e.charCodeAt(o+1))+tC(e.charCodeAt(o+2)),o+=2),!tE(s)){if(61===s){n++;continue}if(!tx(s)||n>0){i=!0;continue}r++}}return i||n>2||n>0&&(r+n)%4!=0||r%4==1?tI(e):tO(r)},tA=(e,t)=>{if(!e||"string"!=typeof e||!e.startsWith("data:"))return 0;let r=e.indexOf(",");if(r<0)return 0;let n=e.slice(5,r),i=e.slice(r+1);if(/;base64/i.test(n))return t(i);let o=0;for(let e=0,t=i.length;e<t;e++){let r=i.charCodeAt(e);if(37===r&&tk(i,e,t))o+=1,e+=2;else if(r<128)o+=1;else if(r<2048)o+=2;else if(r>=55296&&r<=56319&&e+1<t){let t=i.charCodeAt(e+1);t>=56320&&t<=57343?(o+=4,e++):o+=3}else o+=3}return o},tT="1.20.0",tM={cache:"default",redirect:"follow",referrer:"about:client",referrerPolicy:"",mode:"cors",integrity:"",keepalive:!1,priority:"auto",window:null},{isFunction:tP}=es,tN=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))),tL=e=>{if(!es.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},tD=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},tF=e=>{let t=e.indexOf("://"),r=e;return -1!==t&&(r=r.slice(t+3)),r.includes("@")||r.includes(":")},tU=e=>{let t;let r=void 0!==es.global&&null!==es.global?es.global:globalThis,{ReadableStream:n,TextEncoder:i}=r,{fetch:o,Request:s,Response:a}=e=es.merge.call({skipUndefined:!0},{Request:r.Request,Response:r.Response},e),u=o?tP(o):"function"==typeof fetch,c=tP(s),l=tP(a);if(!u)return!1;let h=u&&tP(n),p=u&&("function"==typeof i?(t=new i,e=>t.encode(e)):async e=>new Uint8Array(await new s(e).arrayBuffer())),f=c&&h&&tD(()=>{let e=!1,t=new s(eK.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r}),d=l&&h&&tD(()=>
1es.isReadableStream(new a("").body)),g={stream:d&&(e=>e.body)};u&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{g[e]||(g[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new eE(`Response type '${e}' is not supported`,eE.ERR_NOT_SUPPORT,r)})});let m=async e=>{if(null==e)return 0;if(es.isBlob(e))return e.size;if(es.isSpecCompliantForm(e)){let t=new s(eK.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return es.isArrayBufferView(e)||es.isArrayBuffer(e)?e.byteLength:(es.isURLSearchParams(e)&&(e+=""),es.isString(e))?(await p(e)).byteLength:void 0},v=async(e,t)=>{let r=es.toFiniteNumber(e.getContentLength());return null==r?m(t):r};return async e=>{let t,{url:r,method:n,data:u,signal:l,cancelToken:p,timeout:y,onDownloadProgress:_,onUploadProgress:b,responseType:w,headers:S,withCredentials:k="same-origin",fetchOptions:C,maxContentLength:x,maxBodyLength:E,maxRedirects:O}=tg(e),I=es.isNumber(x)&&x>-1,R=es.isNumber(E)&&E>-1,A=o||fetch;w=w?(w+"").toLowerCase():"text";let T=tv([l,p&&p.toAbortSignal()],y),M=null,P=T&&T.unsubscribe&&(()=>{T.unsubscribe()}),N=null,L=()=>new eE("Request body larger than maxBodyLength limit",eE.ERR_BAD_REQUEST,e,M);try{let o,l;let p=(l="auth",es.hasOwnProp(e,l)?e[l]:void 0);if(p){let e=es.getSafeProp(p,"username")||"",t=es.getSafeProp(p,"password")||"";o={username:e,password:t}}if(tF(r)){let e=new URL(r,eK.origin);if(!o&&(e.username||e.password)){let t=tL(e.username),r=tL(e.password);o={username:t,password:r}}(e.username||e.password)&&(e.username="",e.password="",r=e.href)}if(o&&(S.delete("authorization"),S.set("Authorization","Basic "+btoa(tN((o.username||"")+":"+(o.password||""))))),I&&"string"==typeof r&&r.startsWith("data:")&&function(e){let t="string"==typeof e?e.indexOf("#"):-1;return tA(-1===t?e:e.slice(0,t),tR)}(r)>x)throw new eE("maxContentLength size of "+x+" exceeded",eE.ERR_BAD_RESPONSE,e,M);if(R&&"get"!==n&&"head"!==n){let e=await m(u);if("number"==typeof e&&isFinite(e)&&(t=e,e>E))throw L()}let y=R&&(es.isReadableStream(u)||es.isStream(u)),D=(e,t,r)=>tw(e,65536,e=>{if(R&&e>E)throw N=L();t&&t(e)},r);if(f&&"get"!==n&&"head"!==n&&(b||y)){if(t=null==t?await v(S,u):t,0!==t||y){let e,n=new s(r,{method:"POST",body:u,duplex:"half"});if(es.isFormData(u)&&(e=n.headers.get("content-type"))&&S.setContentType(e),n.body){let[e,r]=b&&tn(t,tr(ti(b)))||[];u=D(n.body,e,r)}}}else if(y&&!c&&h&&"get"!==n&&"head"!==n)u=D(u);else if(y&&c&&!f&&"get"!==n&&"head"!==n)throw new eE("Stream request bodies are not supported by the current fetch implementation",eE.ERR_NOT_SUPPORT,e,M);es.isString(k)||(k=k?"include":"omit");let F=c&&"credentials"in s.prototype;if(es.isFormData(u)){let e=S.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&S.delete("content-type")}S.set("User-Agent","axios/"+tT,!1);let U=null==C?C:Object.assign(Object.create(null),C);U&&(delete U.body,delete U.headers,delete U.method,delete U.signal,delete U.duplex,delete U.credentials);let j=Object.assign(Object.create(null),U,{signal:T,method:n.toUpperCase(),headers:ed(S.normalize()),body:u,duplex:"half",credentials:F?k:void 0});c&&(es.forEach(tM,(e,t)=>{void 0===j[t]&&(j[t]=e)}),void 0===j.signal&&(j.signal=null),void 0===j.body&&(j.body=null)),0===O&&(j.redirect="manual",U&&(U.redirect="manual")),M=c&&new s(r,j);let B=await (c?A(M,U):A(r,j)),q=eS.from(B.headers);if(I){let t=es.toFiniteNumber(q.getContentLength());if(null!=t&&t>x)throw new eE("maxContentLength size of "+x+" exceeded",eE.ERR_BAD_RESPONSE,e,M)}let z=d&&("stream"===w||"response"===w);if(d&&B.body&&(_||I||z&&P)){let t={};["status","statusText","headers"].forEach(e=>{t[e]=B[e]});let r=es.toFiniteNumber(q.getContentLength()),[n,i]=_&&tn(r,tr(ti(_),!0))||[];B=new a(tw(B.body,65536,t=>{if(I&&t>x)throw new eE("maxContentLength size of "+x+" exceeded",eE.ERR_BAD_RESPONSE,e,M);n&&n(t)},()=>{i&&i(),P&&P()}),t)}w=w||"text";let W=await g[es.findKey(g,w)||"text"](B,e);if(I&&!d&&!z){let t;if(null!=W&&("number"==typeof W.byteLength?t=W.byteLength:"number"==typeof W.size?t=W.size:"string"==typeof W&&(t="function"==typeof i?new i().encode(W).byteLength:W.length)),"number"==typeof t&&t>
1x)throw new eE("maxContentLength size of "+x+" exceeded",eE.ERR_BAD_RESPONSE,e,M)}return!z&&P&&P(),await new Promise((t,r)=>{e6(t,r,{data:W,headers:eS.from(B.headers),status:B.status,statusText:B.statusText,config:e,request:M})})}catch(t){if(P&&P(),T&&T.aborted&&T.reason instanceof eE){let r=T.reason;throw r.config=e,M&&(r.request=M),t!==r&&Object.defineProperty(r,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),r}if(N)throw M&&!N.request&&(N.request=M),N;if(t instanceof eE)throw M&&!t.request&&(t.request=M),t;if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)){let r=new eE("Network Error",eE.ERR_NETWORK,e,M,t&&t.response);throw Object.defineProperty(r,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),r}throw eE.from(t,t&&t.code,e,M,t&&t.response)}}},tj=new Map,tB=e=>{let t=e&&e.env||{},{fetch:r,Request:n,Response:i}=t,o=[n,i,r],s=o.length,a,u,c=tj;for(;s--;)a=o[s],void 0===(u=c.get(a))&&c.set(a,u=s?new Map:tU(t)),c=u;return u};tB();let tq={http:null,xhr:tm,fetch:{get:tB}};es.forEach(tq,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});let tz=e=>`- ${e}`,tW=e=>es.isFunction(e)||null===e||!1===e;var tV=function(e,t){let r,n;let{length:i}=e=es.isArray(e)?e:[e],o={};for(let s=0;s<i;s++){let i;if(n=r=e[s],!tW(r)&&void 0===(n=tq[(i=String(r)).toLowerCase()]))throw new eE(`Unknown adapter '${i}'`);if(n&&(es.isFunction(n)||(n=n.get(t))))break;o[i||"#"+s]=n}if(!n){let e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new eE("There is no suitable adapter to dispatch the request "+(i?e.length>1?"since :\n"+e.map(tz).join("\n"):" "+tz(e[0]):"as no adapter specified"),eE.ERR_NOT_SUPPORT)}return n};function t$(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new e5(null,e)}function tH(e){let t=es.toSafeFlatObject(e);return t$(t),t.headers=eS.from(es.getSafeProp(t,"headers")),t.data=e3.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),tV(t.adapter||e2.adapter,t)(t).then(function(e){t$(t),t.response=e;try{e.data=e3.call(t,t.transformResponse,e)}finally{delete t.response}return e.headers=eS.from(e.headers),e},function(e){if(!e4(e)&&(t$(t),e&&e.response)){t.response=e.response;try{e.response.data=e3.call(t,t.transformResponse,e.response)}finally{delete t.response}e.response.headers=eS.from(e.response.headers)}return Promise.reject(e)})}let tG={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{tG[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let tJ={};tG.transitional=function(e,t,r){function n(e,t){return"[Axios v"+tT+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,o)=>{if(!1===e)throw new eE(n(i," has been removed"+(t?" in "+t:"")),eE.ERR_DEPRECATED);return t&&!tJ[i]&&(tJ[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,o)}},tG.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var tY={assertOptions:function(e,t,r){if("object"!=typeof e||null===e)throw new eE("options must be an object",eE.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;for(;i-- >0;){let o=n[i],s=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(s){let t=e[o],r=void 0===t||s(t,o,e);if(!0!==r)throw new eE("option "+o+" must be "+r,eE.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new eE("Unknown option "+o,eE.ERR_BAD_OPTION)}},validators:tG};let tZ=tY.validators;class tK{constructor(e){this.defaults=e||{},this.interceptors={request:new eq,response:new eq}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error)try{let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let r=t.stack,n="";if("string"==typeof r){let e=r.indexOf("\n");n=-1===e?"":r.slice(e+1)}if(e.stack){if(n){let t=n.indexOf("\n"),r=-1===t?-1:n.indexOf("\n",t+1),i=-1===r?"":n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:o,headers:s}=t=tp(this.defaults,t);void 0!==i&&tY.assertOptions(i,{silentJSONParsing:tZ.transitional(tZ.boolean),forcedJSONParsing:tZ.transitional(tZ.boolean),clarifyTimeoutError:tZ.transitional(tZ.boolean),legacyInterceptorReqResOrdering:tZ.transitional(tZ.boolean),advertiseZstdAcceptEncoding:tZ.transitional(tZ.boolean),validateStatusUndefinedResolves:tZ.transitional(tZ.boolean)}
1,!1),null!=o&&(es.isFunction(o)?t.paramsSerializer={serialize:o}:tY.assertOptions(o,{encode:tZ.function,serialize:tZ.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),tY.assertOptions(t,{baseUrl:tZ.spelling("baseURL"),withXsrfToken:tZ.spelling("withXSRFToken")},!0),t.method=(es.getSafeProp(t,"method")||es.getSafeProp(this.defaults,"method")||"get").toLowerCase();let a=s&&es.merge(s.common,s[t.method]);s&&es.forEach(e0.concat("common"),e=>{delete s[e]}),t.headers=eS.concat(a,s);let u=[],c=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;c=c&&e.synchronous;let r=t.transitional||ez;r&&r.legacyInterceptorReqResOrdering?u.unshift(e.fulfilled,e.rejected):u.push(e.fulfilled,e.rejected)});let l=[];this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let h=0;if(!c){let e=[tH.bind(this),void 0];for(e.unshift(...u),e.push(...l),n=e.length,r=Promise.resolve(t);h<n;)r=r.then(e[h++],e[h++]);return r}n=u.length;let p=t;for(;h<n;){let e=u[h++],t=u[h++];try{p=e?e(p):p}catch(e){if(!t){r=Promise.reject(e);break}try{let n=t.call(this,e);es.isThenable(n)&&(r=Promise.resolve(n).then(()=>tH.call(this,p)))}catch(e){r=Promise.reject(e)}break}}if(!r)try{r=tH.call(this,p)}catch(e){r=Promise.reject(e)}for(h=0,n=l.length;h<n;)r=r.then(l[h++],l[h++]);return r}getUri(e){return eD(tc((e=tp(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}}es.forEach(["delete","get","head","options"],function(e){tK.prototype[e]=function(t,r){return this.request(tp(r||{},{method:e,url:t,data:r&&es.hasOwnProp(r,"data")?r.data:void 0}))}}
1),es.forEach(["post","put","patch","query"],function(e){function t(t){return function(r,n,i){return this.request(tp(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}tK.prototype[e]=t(),"query"!==e&&(tK.prototype[e+"Form"]=t(!0))});class tX{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;let n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,i){r.reason||(r.reason=new e5(e,n,i),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new tX(function(t){e=t}),cancel:e}}}let tQ={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
1alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(tQ).forEach(([e,t])=>{void 0===tQ[t]&&(tQ[t]=e)});let t0=function e(t){let r=new tK(t),n=p(tK.prototype.request,r);return es.extend(n,tK.prototype,r,{allOwnKeys:!0}),es.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(tp(t,r))},n}(e2);t0.Axios=tK,t0.CanceledError=e5,t0.CancelToken=tX,t0.isCancel=e4,t0.VERSION=tT,t0.toFormData=eT,t0.AxiosError=eE,t0.Cancel=t0.CanceledError,t0.all=function(e){return Promise.all(e)},t0.spread=function(e){return function(t){return e.apply(null,t)}},t0.isAxiosError=function(e){return es.isObject(e)&&!0===e.isAxiosError},t0.mergeConfig=tp,t0.AxiosHeaders=eS,t0.formToJSON=e=>eQ(es.isHTMLForm(e)?new FormData(e):e),t0.getAdapter=tV,t0.HttpStatusCode=tQ,t0.default=t0;var t1=t0}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(6321),t(8739)}),_N_E=e.O()}]);
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.