1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{79742: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,p=a>0?s-4:s;for(r=0;r<p;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},48764:function(e,t,r){"use strict";var n=r(79742),i=r(80645),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 h(t.buffer,t.byteOffset,t.byteLength)}return p(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 h(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):p(e):"Buffer"===e.type&&Array.isArray(e.data)?p(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 p(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 h(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 I(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 b(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 p=!0,h=0;h<u;h++)if(c(e,o+h)!==c(t,h)){p=!1;break}if(p)return o}return -1}function b(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,p=c>239?4:c>223?3:c>191?2:1;if(i+p<=r)switch(p){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,p=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),i+=p}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 _(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 k(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function x(e,t,r,n,o){return t=+t,r>>>=0,o||k(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function S(e,t,r,n,o){return t=+t,r>>>=0,o||k(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?b(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),p=0;p<u;++p)if(c[p]!==l[p]){o=c[p],s=l[p];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,p,h=this.length-t;if((void 0===r||r>h)&&(r=h),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,O(E(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return s=t,a=r,O(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,O(I(e),this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return l=t,p=r,O(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,p);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||_(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||_(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||_(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||_(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||_(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||_(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||_(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||_(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||_(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||_(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||_(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||_(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||_(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||_(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||_(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||_(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 x(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return x(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return S(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return S(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 C=/[^+/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 I(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(C,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function O(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}()},80645: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,p=r?i-1:0,h=r?-1:1,f=e[t+p];for(p+=h,o=f&(1<<-l)-1,f>>=-l,l+=a;l>0;o=256*o+e[t+p],p+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+e[t+p],p+=h,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,p=l>>1,h=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+p>=1?t+=h/u:t+=h*Math.pow(2,1-p),t*u>=2&&(s++,u/=2),s+p>=l?(a=0,s=l):s+p>=1?(a=(t*u-1)*Math.pow(2,i),s+=p):(a=t*Math.pow(2,p-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}},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(21857)}])},70031:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},RedirectType:function(){return u.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return u.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},useParams:function(){return f},usePathname:function(){return p},useRouter:function(){return h},useSearchParams:function(){return l},useSelectedLayoutSegment:function(){return g},useSelectedLayoutSegments:function(){return d},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let n=r(67294),i=r(3068),o=r(10213),s=r(66162),a=r(73737),u=r(46209),c=r(70861);function l(){let e=(0,n.useContext)(o.SearchParamsContext);return(0,n.useMemo)(()=>e?new u.ReadonlyURLSearchParams(e):null,[e])}function p(){return(0,n.useContext)(o.PathnameContext)}function h(){let e=(0,n.useContext)(i.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function f(){return(0,n.useContext)(o.PathParamsContext)}function d(e){void 0===e&&(e="children");let t=(0,n.useContext)(i.LayoutRouterContext);return t?function e(t,r,n,i){let o;if(void 0===n&&(n=!0),void 0===i&&(i=[]),n)o=t[1][r];else{var u;let e=t[1];o=null!=(u=e.children)?u:Object.values(e)[0]}if(!o)return i;let c=o[0],l=(0,s.getSegmentValue)(c);return!l||l.startsWith(a.PAGE_SEGMENT_KEY)?i:(i.push(l),e(o,r,!1,i))}(t.tree,e):null}function g(e){void 0===e&&(e="children");let t=d(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===a.DEFAULT_SEGMENT_KEY?null:r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46209:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return s},RedirectType:function(){return n.RedirectType},notFound:function(){return i.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect}});let n=r(67878),i=r(95610);class o extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class s extends URLSearchParams{append(){throw new o}delete(){throw new o}set(){throw new o}sort(){throw new o}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95610:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isNotFoundError:function(){return i},notFound:function(){return n}});let r="NEXT_NOT_FOUND";function n(){let e=Error(r);throw e.digest=r,e}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19598:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}}),(n=r||(r={}))[n.SeeOther=303]="SeeOther",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67878:function(e,t,r){"use strict";var n,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectType:function(){return n},getRedirectError:function(){return c},getRedirectStatusCodeFromError:function(){return g},getRedirectTypeFromError:function(){return d},getURLFromRedirectError:function(){return f},isRedirectError:function(){return h},permanentRedirect:function(){return p},redirect:function(){return l}});let o=r(40837),s=r(34134),a=r(19598),u="NEXT_REDIRECT";function c(e,t,r){void 0===r&&(r=a.RedirectStatusCode.TemporaryRedirect);let n=Error(u);n.digest=u+";"+t+";"+e+";"+r+";";let i=o.requestAsyncStorage.getStore();return i&&(n.mutableCookies=i.mutableCookies),n}function l(e,t){void 0===t&&(t="replace");let r=s.actionAsyncStorage.getStore();throw c(e,t,(null==r?void 0:r.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.TemporaryRedirect)}function p(e,t){void 0===t&&(t="replace");let r=s.actionAsyncStorage.getStore();throw c(e,t,(null==r?void 0:r.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.PermanentRedirect)}function h(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r,n,i]=e.digest.split(";",4),o=Number(i);return t===u&&("replace"===r||"push"===r)&&"string"==typeof n&&!isNaN(o)&&o in a.RedirectStatusCode}function f(e){return h(e)?e.digest.split(";",3)[2]:null}function d(e){if(!h(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function g(e){if(!h(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(i=n||(n={})).push="push",i.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66162:function(e,t){"use strict";function r(e){return Array.isArray(e)?e[1]:e}
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70861:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return o}});let n=r(61757)._(r(67294)),i=n.default.createContext(null);function o(e){let t=(0,n.useContext)(i);t&&t(e)}},18656:function(e,t,r){"use strict";r.d(t,{n:function(){return i},Z:function(){return u}});var n,i,o=r(85893),s=({style:e,className:t})=>(0,o.jsx)("svg",{className:t,style:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 27",children:(0,o.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M.33 14.707h33.531L23.294 25.276l1.413 1.414 12.982-12.983L24.653.67l-1.415 1.415 10.623 10.622H.331z"})}),a=r(51151);(n=i||(i={}))[n.RIGHT=0]="RIGHT",n[n.DOWN=1]="DOWN",n[n.LEFT=2]="LEFT",n[n.UP=3]="UP";var u=({direction:e=0,className:t})=>(0,o.jsx)("div",{className:(0,a.cn)(t,"flex items-center h-5 w-5"),children:(0,o.jsx)(s,{style:{transform:`rotate(${90*(e||0)}deg)`},className:"inline-block h-full w-full"})})},45305:function(e,t,r){"use strict";var n,i,o,s;r.d(t,{zd:function(){return i},E:function(){return n}}),r(85893),r(67294),r(18656),r(75585),(o=n||(n={})).None="none",o.Link="link",o.Drag="drag",(s=i||(i={})).None="none",s.Hovering="hovering",s.Dragging="dragging"},75585:function(e,t,r){"use strict";r.d(t,{Y:function(){return a},j:function(){return u}});var n=r(85893),i=r(67294),o=r(45305);let s=(0,i.createContext)({}),a=({children:e})=>{let[t,r]=(0,i.useState)(o.E.None),[a,u]=(0,i.useState)(o.zd.None);return(0,n.jsx)(s.Provider,{value:{type:t,setType:r,action:a,setAction:u},children:e})},u=()=>(0,i.useContext)(s)},61322:function(e,t,r){"use strict";r.d(t,{N:function(){return s},t:function(){return a}});var n=r(85893),i=r(67294);let o=(0,i.createContext)({}),s=({value:e,children:t})=>(0,n.jsx)(o.Provider,{value:e??{},children:t}),a=e=>{let t=(0,i.useContext)(o);if(e)return t[e]}},89496:function(e,t,r){"use strict";r.d(t,{N:function(){return u},Y:function(){return c}});var n=r(85893),i=r(67294),o=r(93539),s=r(32451);let a=i.createContext({}),u=({children:e})=>{let[t,r]=(0,o.Z)(),u=(0,i.useCallback)(()=>{if(t)return document.body.style.overflow="hidden";document.body.style.overflow="auto"},[t]);return(0,i.useEffect)(()=>{let e=()=>{t&&window.matchMedia(s.M5).matches&&r()};return window.addEventListener("resize",e),u(),()=>window.removeEventListener("resize",e)},[t,r,u]),(0,n.jsx)(a.Provider,{value:{showing:t,toggle:r},children:e})},c=()=>i.useContext(a)},3091:function(e,t,r){"use strict";r.d(t,{h:function(){return u},u:function(){return a}});var n=r(85893),i=r(67294),o=r(79595);let s=(0,i.createContext)(o.xM),a=({value:e,children:t})=>(0,n.jsx)(s.Provider,{value:e,children:t}),u=()=>(0,i.useContext)(s)},9847:function(e,t,r){"use strict";r.d(t,{H:function(){return a6},X:function(){return ut}});var n,i,o,s,a,u,c,l,p,h,f,d,g,m,v,y,b=r(67294),_=r(31955),w=r(48764).lW,k=r(34155);if("undefined"==typeof window){var x={hostname:""};ib={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:x,referrer:""},screen:{width:0,height:0},location:x,addEventListener:function(){},removeEventListener:function(){}}}else ib=window;function S(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 C(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 E(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function s(e){C(o,n,i,s,a,"next",e)}function a(e){C(o,n,i,s,a,"throw",e)}s(void 0)})}}function I(e,t,r){return(I=j()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&L(i,r.prototype),i}).apply(null,arguments)}function O(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 R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function M(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&&L(e,t)}function T(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function P(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}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function D(e){var t="function"==typeof Map?new Map:void 0;return(D=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 I(e,arguments,A(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),L(r,e)})(e)}function j(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(j=function(){return!!e})()}function F(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 S(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 S(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 U(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 B(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 z=Object.defineProperty,q=function(e,t,r){var n;return(n=(void 0===t?"undefined":N(t))!=="symbol"?t+"":t)in e?z(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},W=Object.defineProperty,V=function(e,t,r){var n;return(n=(void 0===t?"undefined":N(t))!=="symbol"?t+"":t)in e?W(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},$=((ic=$||{})[ic.Document=0]="Document",ic[ic.DocumentType=1]="DocumentType",ic[ic.Element=2]="Element",ic[ic.Text=3]="Text",ic[ic.CDATA=4]="CDATA",ic[ic.Comment=5]="Comment",ic),G={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},H={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Y={},Z={};function X(e,t,r){var n,i=e+"."+String(r);if(Z[i])return Z[i].call(t);var o=null==(n=Object.getOwnPropertyDescriptor(function(e){if(Y[e])return Y[e];var t=globalThis[e],r=t.prototype,n=e in G?G[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 H?H[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 Y[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 Y[e]=c}catch(e){return r}}(e),r))?void 0:n.get;return o?(Z[i]=o,o.call(t)):t[r]}var J={childNodes:function(e){return X("Node",e,"childNodes")},parentNode:function(e){return X("Node",e,"parentNode")},parentElement:function(e){return X("Node",e,"parentElement")},textContent:function(e){return X("Node",e,"textContent")},host:function(e){return e&&"host"in e?X("ShadowRoot",e,"host"):null},shadowRoot:function(e){return e&&"shadowRoot"in e?X("Element",e,"shadowRoot"):null}};
1function K(e){return e.nodeType===e.ELEMENT_NODE}function Q(e){var t=e&&"host"in e&&"mode"in e&&J.host(e)||null;return!!(t&&"shadowRoot"in t&&J.shadowRoot(t)===e)}function ee(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function et(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 er(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 er(e,t){if("styleSheet"in e){var r;try{r=et(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?ef(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)?ef(n,t):n}var en=function(){function e(){V(this,"idNodeMap",new Map),V(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){var t=this,r=this.getId(e);this.idNodeMap.delete(r),e.childNodes&&e.childNodes.forEach(function(e){return t.removeNodeFromMap(e)})},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 ei(e){var t=e.element,r=e.maskInputOptions,n=e.tagName,i=e.type,o=e.value,s=e.maskInputFn,a=o||"",u=i&&eo(i);return(r[n.toLowerCase()]||u&&r[u])&&(a=s?s(a,t):"*".repeat(a.length)),a}function eo(e){return e.toLowerCase()}var es="__rrweb_original__";function ea(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?eo(t):null}function eu(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 ec=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,el=/^(?:[a-z+]+:)?\/\//i,ep=/^www\..*/i,eh=/^(data:)([^,]*),(.*)/i;function ef(e,t){return(e||"").replace(ec,function(e,r,n,i,o,s){var a=n||o||s,u=r||i||"";if(!a)return e;if(el.test(a)||ep.test(a)||eh.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 p,h=F(l);!(p=h()).done;){var f=p.value;"."!==f&&(".."===f?c.pop():c.push(f))}return"url("+u+c.join("/")+u+")"})}function ed(e,t){return(void 0===t&&(t=!1),t)?e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}var eg=1,em=RegExp("[^a-z0-9-_:]");function ev(){return eg++}var ey=/^[^ \t\n\r\u000c]+/,eb=/^[, \t\n\r\u000c]+/,e_=new WeakMap;function ew(e,t){return t&&""!==t.trim()?ek(e,t):t}function ek(e,t){var r=e_.get(e);if(r||(r=e.createElement("a"),e_.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function ex(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=[];
1n(eb),!(r>=t.length);){var o=n(ey);if(","===o.slice(-1))o=ew(e,o.substring(0,o.length-1)),i.push(o);else{var s="";o=ew(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(", ")}(e,n):"style"===r?ef(n,ek(e)):"object"===t&&"data"===r?ew(e,n):n:ew(e,n):n}function eS(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function eC(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&eC(J.parentNode(e),t,r);for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}return!!r&&eC(J.parentNode(e),t,r)}function eE(e,t,r,n){var i;if(K(e)){if(i=e,!J.childNodes(i).length)return!1}else{if(null===J.parentElement(e))return!1;i=J.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(eC(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 eI(e){return null==e?"":e.toLowerCase()}function eO(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,p=void 0===l||l,h=t.maskInputOptions,f=void 0===h?{}:h,d=t.maskTextFn,g=t.maskInputFn,m=t.slimDOMOptions,v=t.dataURLOptions,y=void 0===v?{}:v,b=t.inlineImages,_=void 0!==b&&b,w=t.recordCanvas,k=void 0!==w&&w,x=t.onSerialize,S=t.onIframeLoad,C=t.iframeLoadTimeout,E=void 0===C?5e3:C,I=t.onStylesheetLoad,O=t.stylesheetLoadTimeout,R=void 0===O?5e3:O,A=t.keepIframeSrcFn,M=void 0===A?function(){return!1}:A,P=t.newlyAddedElement,L=t.cssCaptured,N=t.needsMask,D=t.preserveWhiteSpace,j=void 0===D||D;N||(N=eE(e,s,a,void 0===N));var U=function(e,t){var r,n,i,o,s,a,u,c,l,p,h=t.doc,f=t.mirror,d=t.blockClass,g=t.blockSelector,m=t.needsMask,v=t.inlineStylesheet,y=t.maskInputOptions,b=t.maskTextFn,_=t.maskInputFn,w=t.dataURLOptions,k=t.inlineImages,x=t.recordCanvas,S=t.keepIframeSrcFn,C=t.newlyAddedElement,E=t.cssCaptured,I=function(e,t){if(t.hasNode(e)){var r=t.getId(e);return 1===r?void 0:r}}(h,f);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:$.Document,childNodes:[],compatMode:e.compatMode};return{type:$.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:$.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:I};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,p=void 0===l?{}:l,h=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(T(e,HTMLFormElement))return"form";var t=eo(e.tagName);return em.test(t)?"div":t}(e),b={},_=e.attributes.length,w=0;w<_;w++){var k=e.attributes[w];eS(y,k.name,k.value)||(b[k.name]=ex(n,y,eo(k.name),k.value))}if("link"===y&&s){var x=Array.from(n.styleSheets).find(function(t){return t.href===e.href}),S=null;x&&(S=et(x)),S&&(delete b.rel,delete b.href,b._cssText=S)}if("style"===y&&e.sheet){var C=et(e.sheet);C&&(e.childNodes.length>1&&(C=(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=ed(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=ed(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 p=c.substring(0,l),h=s.split(p),f=-1;if(2===h.length)f=h[0].length;else if(h.length>2&&""===h[0]&&""!==n[u-1].textContent)f=s.indexOf(p,1);else if(1===h.length){if(p=p.substring(0,p.length-1),(h=s.split(p)).length<=1)return i.push(e),i;l=101}else l===c.length-1&&(f=s.indexOf(p));if(h.length>=2&&l>100){var d=n[u-1].textContent;if(d&&"string"==typeof d){var g=ed(d).length;f=s.indexOf(p,g)}-1===f&&(f=h[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=ed(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})(C,e).join("/* rr_split */")),b._cssText=C)}if("input"===y||"textarea"===y||"select"===y){var E=e.value,I=e.checked;"radio"!==b.type&&"checkbox"!==b.type&&"submit"!==b.type&&"button"!==b.type&&E?b.value=ei({element:e,type:ea(e),tagName:y,value:E,maskInputOptions:u,maskInputFn:c}):I&&(b.checked=I)}if("option"===y&&(e.selected&&!u.select?b.selected=!0:delete b.selected),"dialog"===y&&e.open&&(b.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((es in i?i[es]: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)&&(b.rr_dataURL=e.toDataURL(p.type,p.quality));else if(!("__context"in e)){var O=e.toDataURL(p.type,p.quality),R=n.createElement("canvas");R.width=e.width,R.height=e.height,O!==R.toDataURL(p.type,p.quality)&&(b.rr_dataURL=O)}}if("img"===y&&h){iw||(ik=(iw=n.createElement("canvas")).getContext("2d"));var A=e.currentSrc||e.getAttribute("src")||"<unknown-src>",M=e.crossOrigin,P=function(){e.removeEventListener("load",P);try{iw.width=e.naturalWidth,iw.height=e.naturalHeight,ik.drawImage(e,0,0),b.rr_dataURL=iw.toDataURL(p.type,p.quality)}catch(t){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&&0!==e.naturalWidth?P():e.addEventListener("load",P);return}console.warn("Cannot inline img src="+A+"! Error: "+t)}"anonymous"===e.crossOrigin&&(M?b.crossOrigin=M:e.removeAttribute("crossorigin"))};e.complete&&0!==e.naturalWidth?P():e.addEventListener("load",P)}if("audio"===y||"video"===y){var L=b;L.rr_mediaState=e.paused?"paused":"played",L.rr_mediaCurrentTime=e.currentTime,L.rr_mediaPlaybackRate=e.playbackRate,L.rr_mediaMuted=e.muted,L.rr_mediaLoop=e.loop,L.rr_mediaVolume=e.volume}if(!(void 0!==g&&g)&&(e.scrollLeft&&(b.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(b.rr_scrollTop=e.scrollTop)),v){var N=e.getBoundingClientRect(),D=N.width,j=N.height;b={class:b.class,rr_width:""+D+"px",rr_height:""+j+"px"}}"iframe"!==y||d(b.src)||(e.contentDocument||(b.rr_src=b.src),delete b.src);try{customElements.get(y)&&(r=!0)}catch(e){}return{type:$.Element,tagName:y,attributes:b,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:v,rootId:m,isCustom:r}}(e,{doc:h,blockClass:d,blockSelector:g,inlineStylesheet:v,maskInputOptions:void 0===y?{}:y,maskInputFn:_,dataURLOptions:void 0===w?{}:w,inlineImages:k,recordCanvas:x,keepIframeSrcFn:S,newlyAddedElement:void 0!==C&&C,rootId:I});case e.TEXT_NODE:return n=(r={doc:h,needsMask:m,maskTextFn:b,rootId:I,cssCaptured:void 0!==E&&E}).needsMask,i=r.maskTextFn,o=r.rootId,s=r.cssCaptured,u=(a=J.parentNode(e))&&a.tagName,c="",l="STYLE"===u||void 0,(p="SCRIPT"===u||void 0)?c="SCRIPT_PLACEHOLDER":!s&&(c=J.textContent(e),l&&c&&(c=ef(c,ek(r.doc)))),!l&&!p&&c&&n&&(c=i?i(c,J.parentElement(e)):c.replace(/[\S]/g,"*")),{type:$.Text,textContent:c||"",rootId:o};case e.CDATA_SECTION_NODE:return{type:$.CDATA,textContent:"",rootId:I};case e.COMMENT_NODE:return{type:$.Comment,textContent:J.textContent(e)||"",rootId:I};default:return!1}}(e,{doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:N,inlineStylesheet:p,maskInputOptions:f,maskTextFn:d,maskInputFn:g,dataURLOptions:y,inlineImages:_,recordCanvas:k,keepIframeSrcFn:M,newlyAddedElement:void 0!==P&&P,cssCaptured:void 0!==L&&L});if(!U)return console.warn(e,"not serialized"),null;V=n.hasNode(e)?n.getId(e):!function(e,t){if(t.comment&&e.type===$.Comment)return!0;if(e.type===$.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"===eu(e.attributes.href))||t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(eI(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===eI(e.attributes.name)||"icon"===eI(e.attributes.rel)||"apple-touch-icon"===eI(e.attributes.rel)||"shortcut icon"===eI(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&eI(e.attributes.name).match(/^description|keywords$/)||t.headMetaSocial&&(eI(e.attributes.property).match(/^(og|twitter|fb):/)||eI(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===eI(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===eI(e.attributes.name)||"googlebot"===eI(e.attributes.name)||"bingbot"===eI(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===eI(e.attributes.name)||"generator"===eI(e.attributes.name)||"framework"===eI(e.attributes.name)||"publisher"===eI(e.attributes.name)||"progid"===eI(e.attributes.name)||eI(e.attributes.property).match(/^article:/)||eI(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===eI(e.attributes.name)||"yandex-verification"===eI(e.attributes.name)||"csrf-token"===eI(e.attributes.name)||"p:domain_verify"===eI(e.attributes.name)||"verify-v1"===eI(e.attributes.name)||"verification"===eI(e.attributes.name)||"shopify-checkout-api-token"===eI(e.attributes.name)))return!0}}return!1}(U,m)&&(j||U.type!==$.Text||U.textContent.replace(/^\s+|\s+$/gm,"").length)?ev():-2;var B=Object.assign(U,{id:V});if(n.add(e,B),-2===V)return null;x&&x(e);var z=!c;
1if(B.type===$.Element){z=z&&!B.needBlock,delete B.needBlock;var q=J.shadowRoot(e);q&&ee(q)&&(B.isShadowHost=!0)}if((B.type===$.Document||B.type===$.Element)&&z){m.headWhitespace&&B.type===$.Element&&"head"===B.tagName&&(j=!1);var W={doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:N,maskTextClass:s,maskTextSelector:a,skipChild:c,inlineStylesheet:p,maskInputOptions:f,maskTextFn:d,maskInputFn:g,slimDOMOptions:m,dataURLOptions:y,inlineImages:_,recordCanvas:k,preserveWhiteSpace:j,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:E,onStylesheetLoad:I,stylesheetLoadTimeout:R,keepIframeSrcFn:M,cssCaptured:!1};if(B.type===$.Element&&"textarea"===B.tagName&&void 0!==B.attributes.value);else{B.type===$.Element&&void 0!==B.attributes._cssText&&"string"==typeof B.attributes._cssText&&(W.cssCaptured=!0);for(var V,G,H=F(Array.from(J.childNodes(e)));!(G=H()).done;){var Y=eO(G.value,W);Y&&B.childNodes.push(Y)}}var Z=null;if(K(e)&&(Z=J.shadowRoot(e)))for(var X,er=F(Array.from(J.childNodes(Z)));!(X=er()).done;){var en=eO(X.value,W);en&&(ee(Z)&&(en.isShadow=!0),B.childNodes.push(en))}}var ec=J.parentNode(e);return ec&&Q(ec)&&ee(ec)&&(B.isShadow=!0),B.type===$.Element&&"iframe"===B.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&&S){var r=eO(t,{doc:t,mirror:n,blockClass:i,blockSelector:o,needsMask:N,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:p,maskInputOptions:f,maskTextFn:d,maskInputFn:g,slimDOMOptions:m,dataURLOptions:y,inlineImages:_,recordCanvas:k,preserveWhiteSpace:j,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:E,onStylesheetLoad:I,stylesheetLoadTimeout:R,keepIframeSrcFn:M});r&&S(e,r)}},E),B.type===$.Element&&"link"===B.tagName&&"string"==typeof B.attributes.rel&&("stylesheet"===B.attributes.rel||"preload"===B.attributes.rel&&"string"==typeof B.attributes.href&&"css"===eu(B.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(I){var t=eO(e,{doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:N,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:p,maskInputOptions:f,maskTextFn:d,maskInputFn:g,slimDOMOptions:m,dataURLOptions:y,inlineImages:_,recordCanvas:k,preserveWhiteSpace:j,onSerialize:x,onIframeLoad:S,iframeLoadTimeout:E,onStylesheetLoad:I,stylesheetLoadTimeout:R,keepIframeSrcFn:M});t&&I(e,t)}},R),B}
1var eR={exports:{}},eA=String,eM=function(){return{isColorSupported:!1,reset:eA,bold:eA,dim:eA,italic:eA,underline:eA,inverse:eA,hidden:eA,strikethrough:eA,black:eA,red:eA,green:eA,yellow:eA,blue:eA,magenta:eA,cyan:eA,white:eA,gray:eA,bgBlack:eA,bgRed:eA,bgGreen:eA,bgYellow:eA,bgBlue:eA,bgMagenta:eA,bgCyan:eA,bgWhite:eA}};eR.exports=eM(),eR.exports.createColors=eM;var eT=eR.exports,eP=function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return T(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"}))),eL=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}M(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=eT.isColorSupported),eP&&e&&(i=eP(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=eT.createColors(!0),l=c.bold,p=c.gray,h=c.red;t=function(e){return l(h(e))},r=function(e){return p(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}(D(Error));eL.default=eL;var eN={};eN.isClean=Symbol("isClean"),eN.my=Symbol("my");var eD={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1},ej=function(){function e(e){this.builder=e}var t=e.prototype;return 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 eD[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=eD[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 eF(e,t){new ej(t).stringify(e)}ej.default=ej,eF.default=eF;var eU=eN.isClean,eB=eN.my,ez=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[eU]=!1,this[eB]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=F(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":N(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 eL(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[eU]){this[eU]=!1;for(var e=this;e=e.parent;)e[eU]=!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 ej().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=F(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":N(e))==="object"&&e.toJSON?e.toJSON(null,t):e});else if((void 0===s?"undefined":N(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=eF),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)},O(e,[{key:"proxyOf",get:function(){return this}}]),e}();ez.default=ez;var eq=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=R({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return M(t,e),O(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(ez);eq.default=eq;var eW=eP.SourceMapConsumer,eV=eP.SourceMapGenerator,e$=eP.existsSync,eG=eP.readFileSync,eH=eP.dirname,eY=eP.join,eZ=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=eH(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new eW(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),w?w.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":N(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=eH(e),e$(e))return this.mapFile=e,eG(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(T(t,eW))return eV.fromSourceMap(t).toString();else if(T(t,eV))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=eY(eH(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}();eZ.default=eZ;var eX=eP.SourceMapConsumer,eJ=eP.SourceMapGenerator,eK=eP.fileURLToPath,eQ=eP.pathToFileURL,e0=eP.isAbsolute,e1=eP.resolve,e2=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t}
1,e3=Symbol("fromOffsetCache"),e5=!!(eX&&eJ),e6=!!(e1&&e0),e4=function(){function e(e,t){if(void 0===t&&(t={}),null==e||(void 0===e?"undefined":N(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&&(!e6||/^\w+:\/\//.test(t.from)||e0(t.from)?this.file=t.from:this.file=e1(t.from)),e6&&e5){var r=new eZ(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 "+e2(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":N(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 p=this.fromOffset(t);t=p.line,r=p.col}var h=this.origin(t,r,o,s);return(i=h?new eL(e,void 0===h.endLine?h.line:{column:h.column,line:h.line},void 0===h.endLine?h.column:{column:h.endColumn,line:h.endLine},h.source,h.file,n.plugin):new eL(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&&(eQ&&(i.input.url=eQ(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){if(this[e3])a=this[e3];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[e3]=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:e1(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=e0(a.source)?eQ(a.source):new URL(a.source,this.map.consumer().sourceRoot||eQ(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(eK)u.file=eK(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=R({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},O(e,[{key:"from",get:function(){return this.file||this.id}}]),e}();e4.default=e4,eP&&eP.registerInput&&eP.registerInput(e4);var e8=eP.SourceMapConsumer,e9=eP.SourceMapGenerator,e7=eP.dirname,te=eP.relative,tt=eP.resolve,tr=eP.sep,tn=eP.pathToFileURL,ti=!!(e8&&e9),to=!!(e7&&tt&&te&&tr),ts=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=F(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||e7(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new e8(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(),to&&ti&&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=e9.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new e9({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 e9({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?e7(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=e7(tt(r,this.mapOpts.annotation)));var n=te(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 e4(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 w?w.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(tn){var r=tn(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;"\\"===tr&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),ta=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return M(t,e),t}(ez);ta.default=ta;var tu=eN.isClean,tc=eN.my,tl=function(e){function t(){return e.apply(this,arguments)||this}M(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=F(t);!(n=i()).done;)for(var o,s=n.value,a=this.normalize(s,this.last),u=F(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=F(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=F(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=F(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})}(ix(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e)){e=e.slice(0);for(var i,o=F(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=F(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 eq(e)]}else if(e.selector)e=[new iS(e)];else if(e.name)e=[new iC(e)];else if(e.text)e=[new ta(e)];else throw Error("Unknown node type in node creation");return e.map(function(e){return e[tc]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[tu]&&function e(t){if(t[tu]=!1,t.proxyOf.nodes)for(var r,n=F(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=F(t);!(n=i()).done;){for(var o,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),u=F(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=F(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?T(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?T(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?T(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)}))},O(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}(ez);tl.registerParse=function(e){ix=e},tl.registerRule=function(e){iS=e},tl.registerAtRule=function(e){iC=e},tl.registerRoot=function(e){iE=e},tl.default=tl,tl.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,iC.prototype):"rule"===e.type?Object.setPrototypeOf(e,iS.prototype):"decl"===e.type?Object.setPrototypeOf(e,eq.prototype):"comment"===e.type?Object.setPrototypeOf(e,ta.prototype):"root"===e.type&&Object.setPrototypeOf(e,iE.prototype),e[tc]=!0,e.nodes&&e.nodes.forEac
1h(function(e){tl.rebuild(e)})};var tp=function(e){function t(t){var r;return(r=e.call(this,R({type:"document"},t))||this).nodes||(r.nodes=[]),r}return M(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new iI(new iO,this,e).stringify()},t}(tl);tp.registerLazyResult=function(e){iI=e},tp.registerProcessor=function(e){iO=e},tp.default=tp;var th=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}();th.default=th;var tf=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 th(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},O(e,[{key:"content",get:function(){return this.css}}]),e}();tf.default=tf;var td=/[\t\n\f\r "#'()/;[\\\]{}]/g,tg=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,tm=/.[\r\n"'(/\\]/,tv=/[\da-f]/i,ty=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}M(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}(tl);ty.default=ty,tl.registerAtRule(ty);var tb=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}M(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=F(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 iR(new iA,this,e).stringify()},t}(tl);tb.registerLazyResult=function(e){iR=e},tb.registerProcessor=function(e){iA=e},tb.default=tb,tl.registerRoot(tb);var t_={comma:function(e){return t_.split(e,[","],!0)},space:function(e){return t_.split(e,[" ","\n"," "])},split:function(e,t,r){for(var n,i=[],o="",s=!1,a=0,u=!1,c="",l=!1,p=F(e);!(n=p()).done;){var h=n.value;l?l=!1:"\\"===h?l=!0:u?h===c&&(u=!1):'"'===h||"'"===h?(u=!0,c=h):"("===h?a+=1:")"===h?a>0&&(a-=1):0===a&&t.includes(h)&&(s=!0),s?(""!==o&&i.push(o.trim()),o="",s=!1):o+=h}return(r||""!==o)&&i.push(o.trim()),i}};t_.default=t_;var tw=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return M(t,e),O(t,[{key:"selectors",get:function(){return t_.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}(tl);tw.default=tw,tl.registerRule(tw);var tk=function(e,t){void 0===t&&(t={});var r,n,i,o,s,a,u,c,l,p,h=e.css.valueOf(),f=t.ignoreErrors,d=h.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=h.charCodeAt(g)){case 10:case 32:case 9:case 13:case 12:n=g;do n+=1,r=h.charCodeAt(n);while(32===r||10===r||9===r||13===r||12===r);p=["space",h.slice(g,n)],g=n-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:var b=String.fromCharCode(r);p=[b,b,g];break;
1case 40:if(c=m.length?m.pop()[1]:"",l=h.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=h.indexOf(")",n+1))){if(f||t){n=g;break}y("bracket")}for(u=n;92===h.charCodeAt(u-1);)u-=1,a=!a}while(a);p=["brackets",h.slice(g,n+1),g,n],g=n}else n=h.indexOf(")",g+1),o=h.slice(g,n+1),-1===n||tm.test(o)?p=["(","(",g]:(p=["brackets",o,g,n],g=n);break;case 39:case 34:i=39===r?"'":'"',n=g;do{if(a=!1,-1===(n=h.indexOf(i,n+1))){if(f||t){n=g+1;break}y("string")}for(u=n;92===h.charCodeAt(u-1);)u-=1,a=!a}while(a);p=["string",h.slice(g,n+1),g,n],g=n;break;case 64:td.lastIndex=g+1,td.test(h),n=0===td.lastIndex?h.length-1:td.lastIndex-2,p=["at-word",h.slice(g,n+1),g,n],g=n;break;case 92:for(n=g,s=!0;92===h.charCodeAt(n+1);)n+=1,s=!s;if(r=h.charCodeAt(n+1),s&&47!==r&&32!==r&&10!==r&&9!==r&&13!==r&&12!==r&&(n+=1,tv.test(h.charAt(n)))){for(;tv.test(h.charAt(n+1));)n+=1;32===h.charCodeAt(n+1)&&(n+=1)}p=["word",h.slice(g,n+1),g,n],g=n;break;default:47===r&&42===h.charCodeAt(g+1)?(0===(n=h.indexOf("*/",g+2)+1)&&(f||t?n=h.length:y("comment")),p=["comment",h.slice(g,n+1),g,n]):(tg.lastIndex=g+1,tg.test(h),n=0===tg.lastIndex?h.length-1:tg.lastIndex-2,p=["word",h.slice(g,n+1),g,n],m.push(p)),g=n}return g++,p}},position:function(){return g}}},tx={empty:!0,space:!0},tS=function(){function e(e){this.input=e,this.root=new tb,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 ty;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=F(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 ta;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=tk(this.input)},t.decl=function(e,t){var r,n,i=new eq;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),p="",h=u;h>0;h--){var f=l[h][0];if(0===p.trim().indexOf("!")&&"space"!==f)break;p=l.pop()[1]+p}0===p.trim().indexOf("!")&&(i.important=!0,i.raws.important=p,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 tw;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,p=0;p<u;p+=1)"space"!==(o=(i=r[p])[0])||p!==u-1||n?"comment"===o?(a=r[p-1]?r[p-1][0]:"empty",s=r[p+1]?r[p+1][0]:"empty",tx[a]||tx[s]?l=!1:","===c.slice(-1)?l=!1:c+=i[1]):c+=i[1]:l=!1;if(!l){var h=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:h,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new tw;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 tC(e,t){var r=new tS(new e4(e,t));try{r.parse()}catch(e){throw e}return r.root}tC.default=tC,tl.registerParse(tC);var tE=eN.isClean,tI=eN.my,tO={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},tR={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},tA={Once:!0,postcssPlugin:!0,prepare:!0};function tM(e){return(void 0===e?"undefined":N(e))==="object"&&"function"==typeof e.then}function tT(e){var t=!1,r=tO[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 tP(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:tT(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}
1function tL(e){return e[tE]=!1,e.nodes&&e.nodes.forEach(function(e){return tL(e)}),e}var tN={},tD=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,(void 0===r?"undefined":N(r))==="object"&&null!==r&&("root"===r.type||"document"===r.type))i=tL(r);else if(T(r,e)||T(r,tf))i=tL(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=tC;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[tI]&&tl.rebuild(i)}this.result=new tf(t,i,n),this.helpers=R({},tN,{postcss:tN,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return(void 0===e?"undefined":N(e))==="object"&&e.prepare?R({},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=F(this.plugins);!(t=n()).done;){var i=t.value;if((void 0===i?"undefined":N(i))==="object")for(var o in i){if(!tR[o]&&/^[A-Z]/.test(o))throw Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!tA[o]){if("object"===N(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 E(function(){var t,r,n,i,o,s,a,u,c,l,p,h;return U(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],!tM(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[tE])return[3,14];o[tE]=!0,s=[tP(o)],f.label=8;case 8:if(!(s.length>0))return[3,13];if(!tM(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 U(this,function(s){switch(s.label){case 0:r=(t=h.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]}})},p=F(e.listeners.OnceExit),f.label=15;case 15:if((h=p()).done)return[3,18];return[5,B(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":N(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(tM(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=eF;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new ts(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=F(this.plugins);!(e=t()).done;){var r=e.value;if(tM(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[tE];)n[tE]=!0,this.walkSync(n);if(this.listeners.OnceExit){if("document"===n.type)for(var i,o=F(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=F(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;
1if(tM(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[tE]){a[tE]=!0,e.push(tP(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[tE]=!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[tE]=!0;for(var r,n=tT(e),i=F(n);!(r=i()).done;){var o=r.value;if(0===o)e.nodes&&e.each(function(e){e[tE]||t.walkSync(e)});else{var s=this.listeners[o];if(s&&this.visitSync(s,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},O(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}();tD.registerPostcss=function(e){tN=e},tD.default=tD,tb.registerLazyResult(tD),tp.registerLazyResult(tD);var tj=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 tf(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 ts(eF,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[]},O(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=tC(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}();tj.default=tj;var tF=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=F(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),(void 0===i?"undefined":N(i))==="object"&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if((void 0===i?"undefined":N(i))==="object"&&i.postcssPlugin)r.push(i);else if("function"==typeof i)r.push(i);else if((void 0===i?"undefined":N(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 tD(this,e,t):new tj(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}();function tU(e,t){if(Array.isArray(e))return e.map(function(e){return tU(e)});var r=e.inputs,n=P(e,["inputs"]);if(r){t=[];for(var i,o=F(r);!(i=o()).done;){var s=i.value,a=R({},s,{__proto__:e4.prototype});a.map&&(a.map=R({},a.map,{__proto__:eZ.prototype})),t.push(a)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return tU(e,t)})),n.source){var u=n.source,c=u.inputId,l=P(u,["inputId"]);n.source=l,null!=c&&(n.source.input=t[c])}if("root"===n.type)return new tb(n);if("decl"===n.type)return new eq(n);if("rule"===n.type)return new tw(n);if("comment"===n.type)return new ta(n);if("atrule"===n.type)return new ty(n);throw Error("Unknown node type: "+e.type)}function tB(){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 tF(t)}tF.default=tF,tb.registerProcessor(tF),tp.registerProcessor(tF),tU.default=tU,tB.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 tF().version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return tB([i(r)]).process(e,t)},i},tB.stringify=eF,tB.parse=tC,tB.fromJSON=tU,tB.list=t_,tB.comment=function(e){return new ta(e)},tB.atRule=function(e){return new ty(e)},tB.decl=function(e){return new eq(e)},tB.rule=function(e){return new tw(e)},tB.root=function(e){return new tb(e)},tB.document=function(e){return new tp(e)},tB.CssSyntaxError=eL,tB.Declaration=eq,tB.Container=tl,tB.Processor=tF,tB.Document=tp,tB.Comment=ta,tB.Warning=th,tB.AtRule=ty,tB.Result=tf,tB.Input=e4,tB.Rule=tw,tB.Root=tb,tB.Node=ez,tD.registerPostcss(tB),tB.default=tB;var tz=tB&&tB.__esModule&&Object.prototype.hasOwnProperty.call(tB,"default")?tB.default:tB;tz.stringify,tz.fromJSON,tz.plugin,tz.parse,tz.list,tz.document,tz.comment,tz.atRule,tz.rule,tz.decl,tz.root,tz.CssSyntaxError,tz.Declaration,tz.Container,tz.Processor,tz.Document,tz.Comment,tz.Warning,tz.AtRule,tz.Result,tz.Input,tz.Rule,tz.Root,tz.Node;var tq=Object.defineProperty,tW=function(e,t,r){var n;return(n=(void 0===t?"undefined":N(t))!=="symbol"?t+"":t)in e?tq(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},tV={exports:{}},t$=String,tG=function(){return{isColorSupported:!1,reset:t$,bold:t$,dim:t$,italic:t$,underline:t$,inverse:t$,hidden:t$,strikethrough:t$,black:t$,red:t$,green:t$,yellow:t$,blue:t$,magenta:t$,cyan:t$,white:t$,gray:t$,bgBlack:t$,bgRed:t$,bgGreen:t$,bgYellow:t$,bgBlue:t$,bgMagenta:t$,bgCyan:t$,bgWhite:t$}};tV.exports=tG(),tV.exports.createColors=tG;var tH=tV.exports,tY=function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return T(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};
1return 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"}))),tZ=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}M(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=tH.isColorSupported),tY&&e&&(i=tY(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=tH.createColors(!0),l=c.bold,p=c.gray,h=c.red;t=function(e){return l(h(e))},r=function(e){return p(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}(D(Error));tZ.default=tZ;var tX={};tX.isClean=Symbol("isClean"),tX.my=Symbol("my");var tJ={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1},tK=function(){function e(e){this.builder=e}var t=e.prototype;return 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 tJ[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=tJ[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 tQ(e,t){new tK(t).stringify(e)}tK.default=tK,tQ.default=tQ;var t0=tX.isClean,t1=tX.my,t2=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[t0]=!1,this[t1]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=F(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":N(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 tZ(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[t0]){this[t0]=!1;for(var e=this;e=e.parent;)e[t0]=!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 tK().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=F(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":N(e))==="object"&&e.toJSON?e.toJSON(null,t):e});else if((void 0===s?"undefined":N(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=tQ),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)},O(e,[{key:"proxyOf",get:function(){return this}}]),e}();t2.default=t2;var t3=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=R({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return M(t,e),O(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(t2);t3.default=t3;var t5=tY.SourceMapConsumer,t6=tY.SourceMapGenerator,t4=tY.existsSync,t8=tY.readFileSync,t9=tY.dirname,t7=tY.join,re=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=t9(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new t5(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),w?w.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":N(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=t9(e),t4(e))return this.mapFile=e,t8(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(T(t,t5))return t6.fromSourceMap(t).toString();else if(T(t,t6))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=t7(t9(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}();re.default=re;var rt=tY.SourceMapConsumer,rr=tY.SourceMapGenerator,rn=tY.fileURLToPath,ri=tY.pathToFileURL,ro=tY.isAbsolute,rs=tY.resolve,ra=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t}
1,ru=Symbol("fromOffsetCache"),rc=!!(rt&&rr),rl=!!(rs&&ro),rp=function(){function e(e,t){if(void 0===t&&(t={}),null==e||(void 0===e?"undefined":N(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&&(!rl||/^\w+:\/\//.test(t.from)||ro(t.from)?this.file=t.from:this.file=rs(t.from)),rl&&rc){var r=new re(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 "+ra(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":N(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 p=this.fromOffset(t);t=p.line,r=p.col}var h=this.origin(t,r,o,s);return(i=h?new tZ(e,void 0===h.endLine?h.line:{column:h.column,line:h.line},void 0===h.endLine?h.column:{column:h.endColumn,line:h.endLine},h.source,h.file,n.plugin):new tZ(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&&(ri&&(i.input.url=ri(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){if(this[ru])a=this[ru];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[ru]=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:rs(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=ro(a.source)?ri(a.source):new URL(a.source,this.map.consumer().sourceRoot||ri(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(rn)u.file=rn(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=R({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},O(e,[{key:"from",get:function(){return this.file||this.id}}]),e}();rp.default=rp,tY&&tY.registerInput&&tY.registerInput(rp);var rh=tY.SourceMapConsumer,rf=tY.SourceMapGenerator,rd=tY.dirname,rg=tY.relative,rm=tY.resolve,rv=tY.sep,ry=tY.pathToFileURL,rb=!!(rh&&rf),r_=!!(rd&&rm&&rg&&rv),rw=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=F(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||rd(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new rh(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(),r_&&rb&&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=rf.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new rf({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 rf({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?rd(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=rd(rm(r,this.mapOpts.annotation)));var n=rg(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 rp(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 w?w.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(ry){var r=ry(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;"\\"===rv&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),rk=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return M(t,e),t}(t2);rk.default=rk;var rx=tX.isClean,rS=tX.my,rC=function(e){function t(){return e.apply(this,arguments)||this}M(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=F(t);!(n=i()).done;)for(var o,s=n.value,a=this.normalize(s,this.last),u=F(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=F(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=F(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=F(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})}(iM(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e)){e=e.slice(0);for(var i,o=F(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=F(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 t3(e)]}else if(e.selector)e=[new iT(e)];else if(e.name)e=[new iP(e)];else if(e.text)e=[new rk(e)];else throw Error("Unknown node type in node creation");return e.map(function(e){return e[rS]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[rx]&&function e(t){if(t[rx]=!1,t.proxyOf.nodes)for(var r,n=F(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=F(t);!(n=i()).done;){for(var o,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),u=F(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=F(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?T(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?T(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?T(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)}))},O(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}(t2);rC.registerParse=function(e){iM=e},rC.registerRule=function(e){iT=e},rC.registerAtRule=function(e){iP=e},rC.registerRoot=function(e){iL=e},rC.default=rC,rC.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,iP.prototype):"rule"===e.type?Object.setPrototypeOf(e,iT.prototype):"decl"===e.type?Object.setPrototypeOf(e,t3.prototype):"comment"===e.type?Object.setPrototypeOf(e,rk.prototype):"root"===e.type&&Object.setPrototypeOf(e,iL.prototype),e[rS]=!0,e.nodes&&e.nodes.forEac
1h(function(e){rC.rebuild(e)})};var rE=function(e){function t(t){var r;return(r=e.call(this,R({type:"document"},t))||this).nodes||(r.nodes=[]),r}return M(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new iN(new iD,this,e).stringify()},t}(rC);rE.registerLazyResult=function(e){iN=e},rE.registerProcessor=function(e){iD=e},rE.default=rE;var rI=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}();rI.default=rI;var rO=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 rI(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},O(e,[{key:"content",get:function(){return this.css}}]),e}();rO.default=rO;var rR=/[\t\n\f\r "#'()/;[\\\]{}]/g,rA=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,rM=/.[\r\n"'(/\\]/,rT=/[\da-f]/i,rP=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}M(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}(rC);rP.default=rP,rC.registerAtRule(rP);var rL=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}M(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=F(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 ij(new iF,this,e).stringify()},t}(rC);rL.registerLazyResult=function(e){ij=e},rL.registerProcessor=function(e){iF=e},rL.default=rL,rC.registerRoot(rL);var rN={comma:function(e){return rN.split(e,[","],!0)},space:function(e){return rN.split(e,[" ","\n"," "])},split:function(e,t,r){for(var n,i=[],o="",s=!1,a=0,u=!1,c="",l=!1,p=F(e);!(n=p()).done;){var h=n.value;l?l=!1:"\\"===h?l=!0:u?h===c&&(u=!1):'"'===h||"'"===h?(u=!0,c=h):"("===h?a+=1:")"===h?a>0&&(a-=1):0===a&&t.includes(h)&&(s=!0),s?(""!==o&&i.push(o.trim()),o="",s=!1):o+=h}return(r||""!==o)&&i.push(o.trim()),i}};rN.default=rN;var rD=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return M(t,e),O(t,[{key:"selectors",get:function(){return rN.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}(rC);rD.default=rD,rC.registerRule(rD);var rj=function(e,t){void 0===t&&(t={});var r,n,i,o,s,a,u,c,l,p,h=e.css.valueOf(),f=t.ignoreErrors,d=h.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=h.charCodeAt(g)){case 10:case 32:case 9:case 13:case 12:n=g;do n+=1,r=h.charCodeAt(n);while(32===r||10===r||9===r||13===r||12===r);p=["space",h.slice(g,n)],g=n-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:var b=String.fromCharCode(r);p=[b,b,g];break;
1case 40:if(c=m.length?m.pop()[1]:"",l=h.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=h.indexOf(")",n+1))){if(f||t){n=g;break}y("bracket")}for(u=n;92===h.charCodeAt(u-1);)u-=1,a=!a}while(a);p=["brackets",h.slice(g,n+1),g,n],g=n}else n=h.indexOf(")",g+1),o=h.slice(g,n+1),-1===n||rM.test(o)?p=["(","(",g]:(p=["brackets",o,g,n],g=n);break;case 39:case 34:i=39===r?"'":'"',n=g;do{if(a=!1,-1===(n=h.indexOf(i,n+1))){if(f||t){n=g+1;break}y("string")}for(u=n;92===h.charCodeAt(u-1);)u-=1,a=!a}while(a);p=["string",h.slice(g,n+1),g,n],g=n;break;case 64:rR.lastIndex=g+1,rR.test(h),n=0===rR.lastIndex?h.length-1:rR.lastIndex-2,p=["at-word",h.slice(g,n+1),g,n],g=n;break;case 92:for(n=g,s=!0;92===h.charCodeAt(n+1);)n+=1,s=!s;if(r=h.charCodeAt(n+1),s&&47!==r&&32!==r&&10!==r&&9!==r&&13!==r&&12!==r&&(n+=1,rT.test(h.charAt(n)))){for(;rT.test(h.charAt(n+1));)n+=1;32===h.charCodeAt(n+1)&&(n+=1)}p=["word",h.slice(g,n+1),g,n],g=n;break;default:47===r&&42===h.charCodeAt(g+1)?(0===(n=h.indexOf("*/",g+2)+1)&&(f||t?n=h.length:y("comment")),p=["comment",h.slice(g,n+1),g,n]):(rA.lastIndex=g+1,rA.test(h),n=0===rA.lastIndex?h.length-1:rA.lastIndex-2,p=["word",h.slice(g,n+1),g,n],m.push(p)),g=n}return g++,p}},position:function(){return g}}},rF={empty:!0,space:!0},rU=function(){function e(e){this.input=e,this.root=new rL,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 rP;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=F(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 rk;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=rj(this.input)},t.decl=function(e,t){var r,n,i=new t3;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),p="",h=u;h>0;h--){var f=l[h][0];if(0===p.trim().indexOf("!")&&"space"!==f)break;p=l.pop()[1]+p}0===p.trim().indexOf("!")&&(i.important=!0,i.raws.important=p,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 rD;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,p=0;p<u;p+=1)"space"!==(o=(i=r[p])[0])||p!==u-1||n?"comment"===o?(a=r[p-1]?r[p-1][0]:"empty",s=r[p+1]?r[p+1][0]:"empty",rF[a]||rF[s]?l=!1:","===c.slice(-1)?l=!1:c+=i[1]):c+=i[1]:l=!1;if(!l){var h=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:h,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new rD;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 rB(e,t){var r=new rU(new rp(e,t));try{r.parse()}catch(e){throw e}return r.root}rB.default=rB,rC.registerParse(rB);var rz=tX.isClean,rq=tX.my,rW={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},rV={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},r$={Once:!0,postcssPlugin:!0,prepare:!0};function rG(e){return(void 0===e?"undefined":N(e))==="object"&&"function"==typeof e.then}function rH(e){var t=!1,r=rW[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 rY(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:rH(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}
1function rZ(e){return e[rz]=!1,e.nodes&&e.nodes.forEach(function(e){return rZ(e)}),e}var rX={},rJ=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,(void 0===r?"undefined":N(r))==="object"&&null!==r&&("root"===r.type||"document"===r.type))i=rZ(r);else if(T(r,e)||T(r,rO))i=rZ(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=rB;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[rq]&&rC.rebuild(i)}this.result=new rO(t,i,n),this.helpers=R({},rX,{postcss:rX,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return(void 0===e?"undefined":N(e))==="object"&&e.prepare?R({},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=F(this.plugins);!(t=n()).done;){var i=t.value;if((void 0===i?"undefined":N(i))==="object")for(var o in i){if(!rV[o]&&/^[A-Z]/.test(o))throw Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!r$[o]){if("object"===N(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 E(function(){var t,r,n,i,o,s,a,u,c,l,p,h;return U(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],!rG(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[rz])return[3,14];o[rz]=!0,s=[rY(o)],f.label=8;case 8:if(!(s.length>0))return[3,13];if(!rG(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 U(this,function(s){switch(s.label){case 0:r=(t=h.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]}})},p=F(e.listeners.OnceExit),f.label=15;case 15:if((h=p()).done)return[3,18];return[5,B(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":N(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(rG(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=tQ;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new rw(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=F(this.plugins);!(e=t()).done;){var r=e.value;if(rG(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[rz];)n[rz]=!0,this.walkSync(n);if(this.listeners.OnceExit){if("document"===n.type)for(var i,o=F(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=F(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;
1if(rG(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[rz]){a[rz]=!0,e.push(rY(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[rz]=!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[rz]=!0;for(var r,n=rH(e),i=F(n);!(r=i()).done;){var o=r.value;if(0===o)e.nodes&&e.each(function(e){e[rz]||t.walkSync(e)});else{var s=this.listeners[o];if(s&&this.visitSync(s,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},O(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}();rJ.registerPostcss=function(e){rX=e},rJ.default=rJ,rL.registerLazyResult(rJ),rE.registerLazyResult(rJ);var rK=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 rO(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 rw(tQ,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[]},O(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=rB(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}();rK.default=rK;var rQ=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=F(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),(void 0===i?"undefined":N(i))==="object"&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if((void 0===i?"undefined":N(i))==="object"&&i.postcssPlugin)r.push(i);else if("function"==typeof i)r.push(i);else if((void 0===i?"undefined":N(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 rJ(this,e,t):new rK(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}();function r0(e,t){if(Array.isArray(e))return e.map(function(e){return r0(e)});var r=e.inputs,n=P(e,["inputs"]);if(r){t=[];for(var i,o=F(r);!(i=o()).done;){var s=i.value,a=R({},s,{__proto__:rp.prototype});a.map&&(a.map=R({},a.map,{__proto__:re.prototype})),t.push(a)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return r0(e,t)})),n.source){var u=n.source,c=u.inputId,l=P(u,["inputId"]);n.source=l,null!=c&&(n.source.input=t[c])}if("root"===n.type)return new rL(n);if("decl"===n.type)return new t3(n);if("rule"===n.type)return new rD(n);if("comment"===n.type)return new rk(n);if("atrule"===n.type)return new rP(n);throw Error("Unknown node type: "+e.type)}function r1(){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 rQ(t)}rQ.default=rQ,rL.registerProcessor(rQ),rE.registerProcessor(rQ),r0.default=r0,r1.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 rQ().version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return r1([i(r)]).process(e,t)},i},r1.stringify=tQ,r1.parse=rB,r1.fromJSON=r0,r1.list=rN,r1.comment=function(e){return new rk(e)},r1.atRule=function(e){return new rP(e)},r1.decl=function(e){return new t3(e)},r1.rule=function(e){return new rD(e)},r1.root=function(e){return new rL(e)},r1.document=function(e){return new rE(e)},r1.CssSyntaxError=tZ,r1.Declaration=t3,r1.Container=rC,r1.Processor=rQ,r1.Document=rE,r1.Comment=rk,r1.Warning=rI,r1.AtRule=rP,r1.Result=rO,r1.Input=rp,r1.Rule=rD,r1.Root=rL,r1.Node=t2,rJ.registerPostcss(r1),r1.default=r1;var r2=r1&&r1.__esModule&&Object.prototype.hasOwnProperty.call(r1,"default")?r1.default:r1;r2.stringify,r2.fromJSON,r2.plugin,r2.parse,r2.list,r2.document,r2.comment,r2.atRule,r2.rule,r2.decl,r2.root,r2.CssSyntaxError,r2.Declaration,r2.Container,r2.Processor,r2.Document,r2.Comment,r2.Warning,r2.AtRule,r2.Result,r2.Input,r2.Rule,r2.Root,r2.Node;var r3=function(){function e(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];tW(this,"parentElement",null),tW(this,"parentNode",null),tW(this,"ownerDocument"),tW(this,"firstChild",null),tW(this,"lastChild",null),tW(this,"previousSibling",null),tW(this,"nextSibling",null),tW(this,"ELEMENT_NODE",1),tW(this,"TEXT_NODE",3),tW(this,"nodeType"),tW(this,"nodeName"),tW(this,"RRNodeType")}var t=e.prototype;return t.contains=function(t){if(!T(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"},O(e,[{key:"childNodes",get:function(){for(var e=[],t=this.firstChild;t;)e.push(t),t=t.nextSibling;return e}}]),e}(),r5={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},r6={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},r4={};function r8(e){if(r4[e])return r4[e];var t=globalThis[e],r=t.prototype,n=e in r5?r5[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 r6?r6[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 r4[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 r4[e]=c}catch(e){return r}}var r9={};function r7(e,t,r){var n,i=e+"."+String(r);if(r9[i])return r9[i].call(t);var o=null==(n=Object.getOwnPropertyDescriptor(r8(e),r))?void 0:n.get;return o?(r9[i]=o,o.call(t)):t[r]}var ne={};function nt(e,t,r){var n=e+"."+String(r);
1if(ne[n])return ne[n].bind(t);var i=r8(e)[r];return"function"!=typeof i?t[r]:(ne[n]=i,i.bind(t))}function nr(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 nn={childNodes:function(e){return r7("Node",e,"childNodes")},parentNode:function(e){return r7("Node",e,"parentNode")},parentElement:function(e){return r7("Node",e,"parentElement")},textContent:function(e){return r7("Node",e,"textContent")},contains:function(e,t){return nt("Node",e,"contains")(t)},getRootNode:function(e){return nt("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?r7("ShadowRoot",e,"host"):null},shadowRoot:function(e){return e&&"shadowRoot"in e?r7("Element",e,"shadowRoot"):null}};function ni(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 no="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.",ns={map:{},getId:function(){return console.error(no),-1},getNode:function(){return console.error(no),null},removeNodeFromMap:function(){console.error(no)},has:function(){return console.error(no),!1},reset:function(){console.error(no)}};function na(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 nu(e,t,r,n,i){void 0===i&&(i=window);var o=i.Object.getOwnPropertyDescriptor(e,t);return 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 nu(e,t,o||{},!0)}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(ns=new Proxy(ns,{get:function(e,t,r){return"map"===t&&console.error(no),Reflect.get(e,t,r)}}));var nc=Date.now;function nl(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=nn.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=nn.parentElement(o.body))?void 0:n.scrollTop)||(null==(i=null==o?void 0:o.body)?void 0:i.scrollTop)||0}}function np(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function nh(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function nf(e){return e?e.nodeType===e.ELEMENT_NODE?e:nn.parentElement(e):null}function nd(e,t,r,n){if(!e)return!1;var i=nf(e);if(!i)return!1;try{if("string"==typeof t){if(i.classList.contains(t)||n&&null!==i.closest("."+t))return!0}else if(eC(i,t,n))return!0}catch(e){}return!!(r&&(i.matches(r)||n&&null!==i.closest(r)))}function ng(e,t,r){return"TITLE"===e.tagName&&!!r.headTitleMutations||-2===t.getId(e)}function nm(e){return!!e.changedTouches}function nv(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function ny(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function nb(e){return!!e&&(T(e,r3)&&"shadowRoot"in e?!!e.shadowRoot:!!nn.shadowRoot(e))}/[1-9][0-9]{12}/.test(Date.now().toString())||(nc=function(){return new Date().getTime()});var n_=function(){function e(){q(this,"id",1),q(this,"styleIDMap",new WeakMap),q(this,"idStyleMap",new Map)}var t=e.prototype;return t.getId=function(e){var t;return null!=(t=this.styleIDMap.get(e))?t:-1}
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++},e}();function nw(e){var t,r=null;return"getRootNode"in e&&(null==(t=nn.getRootNode(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&nn.host(nn.getRootNode(e))&&(r=nn.host(nn.getRootNode(e))),r}function nk(e){var t=e.ownerDocument;return!!t&&(nn.contains(t,e)||function(e){var t=e.ownerDocument;if(!t)return!1;var r=function(e){for(var t,r=e;t=nw(r);)r=t;return r}(e);return nn.contains(t,r)}(e))}var nx=((il=nx||{})[il.DomContentLoaded=0]="DomContentLoaded",il[il.Load=1]="Load",il[il.FullSnapshot=2]="FullSnapshot",il[il.IncrementalSnapshot=3]="IncrementalSnapshot",il[il.Meta=4]="Meta",il[il.Custom=5]="Custom",il[il.Plugin=6]="Plugin",il),nS=((ip=nS||{})[ip.Mutation=0]="Mutation",ip[ip.MouseMove=1]="MouseMove",ip[ip.MouseInteraction=2]="MouseInteraction",ip[ip.Scroll=3]="Scroll",ip[ip.ViewportResize=4]="ViewportResize",ip[ip.Input=5]="Input",ip[ip.TouchMove=6]="TouchMove",ip[ip.MediaInteraction=7]="MediaInteraction",ip[ip.StyleSheetRule=8]="StyleSheetRule",ip[ip.CanvasMutation=9]="CanvasMutation",ip[ip.Font=10]="Font",ip[ip.Log=11]="Log",ip[ip.Drag=12]="Drag",ip[ip.StyleDeclaration=13]="StyleDeclaration",ip[ip.Selection=14]="Selection",ip[ip.AdoptedStyleSheet=15]="AdoptedStyleSheet",ip[ip.CustomElement=16]="CustomElement",ip),nC=((ih=nC||{})[ih.MouseUp=0]="MouseUp",ih[ih.MouseDown=1]="MouseDown",ih[ih.Click=2]="Click",ih[ih.ContextMenu=3]="ContextMenu",ih[ih.DblClick=4]="DblClick",ih[ih.Focus=5]="Focus",ih[ih.Blur=6]="Blur",ih[ih.TouchStart=7]="TouchStart",ih[ih.TouchMove_Departed=8]="TouchMove_Departed",ih[ih.TouchEnd=9]="TouchEnd",ih[ih.TouchCancel=10]="TouchCancel",ih),nE=((id=nE||{})[id.Mouse=0]="Mouse",id[id.Pen=1]="Pen",id[id.Touch=2]="Touch",id),nI=((ig=nI||{})[ig["2D"]=0]="2D",ig[ig.WebGL=1]="WebGL",ig[ig.WebGL2=2]="WebGL2",ig),nO=((im=nO||{})[im.Play=0]="Play",im[im.Pause=1]="Pause",im[im.Seeked=2]="Seeked",im[im.VolumeChange=3]="VolumeChange",im[im.RateChange=4]="RateChange",im),nR=((iv=nR||{})[iv.Document=0]="Document",iv[iv.DocumentType=1]="DocumentType",iv[iv.Element=2]="Element",iv[iv.Text=3]="Text",iv[iv.CDATA=4]="CDATA",iv[iv.Comment=5]="Comment",iv),nA=function(){function e(){q(this,"length",0),q(this,"head",null),q(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;this.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}(),nM=function(e,t){return e+"@"+t},nT=function(){function e(){var e=this;q(this,"frozen",!1),q(this,"locked",!1),q(this,"texts",[]),q(this,"attributes",[]),q(this,"attributeMap",new WeakMap),q(this,"removes",[]),q(this,"mapRemoves",[]),q(this,"movedMap",{}),q(this,"addedSet",new Set),q(this,"movedSet",new Set),q(this,"droppedSet",new Set),q(this,"removesSubTreeCache",new Set),q(this,"mutationCb"),q(this,"blockClass"),q(this,"blockSelector"),q(this,"maskTextClass"),q(this,"maskTextSelector"),q(this,"inlineStylesheet"),q(this,"maskInputOptions"),q(this,"maskTextFn"),q(this,"maskInputFn"),q(this,"keepIframeSrcFn"),q(this,"recordCanvas"),q(this,"inlineImages"),q(this,"slimDOMOptions"),q(this,"dataURLOptions"),q(this,"doc"),q(this,"mirror"),q(this,"iframeManager"),q(this,"stylesheetManager"),q(this,"shadowDomManager"),q(this,"canvasManager"),q(this,"processedNodeManager"),q(this,"unattachedDoc"),q(this,"processMutations",function(t){t.forEach(e.processMutation),e.emit()}),q(this,"emit",function(){if(!e.frozen&&!e.locked){for(var t=[],r=new Set,n=new nA,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=nn.parentNode(o);if(s&&nk(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=Q(s)?e.mirror.getId(nw(o)):e.mirror.getId(s),l=i(o);if(-1===c||-1===l)return n.addNode(o);var p=eO(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){nv(t,e.mirror)&&e.iframeManager.addIframe(t),ny(t,e.mirror)&&e.stylesheetManager.trackLinkElement(t),nb(o)&&e.shadowDomManager.addShadowRoot(nn.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});p&&(t.push({parentId:c,nextId:l,node:p}),r.add(p.id))}};e.mapRemoves.length;)e.mirror.removeNodeFromMap(e.mapRemoves.shift());for(var s,a=F(e.movedSet);!(s=a()).done;){var u=s.value;(!nL(e.removesSubTreeCache,u,e.mirror)||e.movedSet.has(nn.parentNode(u)))&&o(u)}for(var c,l=F(e.addedSet);!(c=l()).done;){var p=c.value;nN(e.droppedSet,p)||nL(e.removesSubTreeCache,p,e.mirror)?nN(e.movedSet,p)?o(p):e.droppedSet.add(p):o(p)}for(var h=null;n.length;){var f=null;if(h){var d=e.mirror.getId(nn.parentNode(h.value)),g=i(h.value);-1!==d&&-1!==g&&(f=h)}if(!f)for(var m=n.tail;m;){var v=m;if(m=m.previous,v){var y=e.mirror.getId(nn.parentNode(v.value));if(-1===i(v.value))continue;if(-1!==y){f=v;break}var b=v.value,_=nn.parentNode(b);if(_&&_.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var w=nn.host(_);if(-1!==e.mirror.getId(w)){f=v;break}}}}if(!f){for(;n.head;)n.removeNode(n.head.value);break}h=f.previous,n.removeNode(f.value),o(f.value)}
1var k={texts:e.texts.map(function(t){var r=t.node,n=nn.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))}}),q(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(nn.childNodes(t),function(e){return nn.textContent(e)||""}).join("");r.attributes.value=ei({element:t,maskInputOptions:e.maskInputOptions,tagName:t.tagName,type:ea(t),value:n,maskInputFn:e.maskInputFn})}),q(this,"processMutation",function(t){if(!ng(t.target,e.mirror,e.slimDOMOptions))switch(t.type){case"characterData":var r=nn.textContent(t.target);nd(t.target,e.blockClass,e.blockSelector,!1)||r===t.oldValue||e.texts.push({value:eE(t.target,e.maskTextClass,e.maskTextSelector,!0)&&r?e.maskTextFn?e.maskTextFn(r,nf(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){var s=ea(n);o=ei({element:n,maskInputOptions:e.maskInputOptions,tagName:n.tagName,type:s,value:o,maskInputFn:e.maskInputFn})}if(nd(t.target,e.blockClass,e.blockSelector,!1)||o===t.oldValue)return;var a=e.attributeMap.get(t.target);if("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"),!eS(n.tagName,i)){if(a.attributes[i]=ex(e.doc,eo(n.tagName),eo(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=F(Array.from(n.style));!(c=l()).done;){var p=c.value,h=n.style.getPropertyValue(p),f=n.style.getPropertyPriority(p);h!==u.style.getPropertyValue(p)||f!==u.style.getPropertyPriority(p)?""===f?a.styleDiff[p]=h:a.styleDiff[p]=[h,f]:a._unchangedStyles[p]=[h,f]}for(var d,g=F(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(nd(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=Q(t.target)?e.mirror.getId(nn.host(t.target)):e.mirror.getId(t.target);nd(t.target,e.blockClass,e.blockSelector,!1)||ng(r,e.mirror,e.slimDOMOptions)||-1===e.mirror.getId(r)||(e.addedSet.has(r)?(nP(e.addedSet,r),e.droppedSet.add(r)):e.addedSet.has(t.target)&&-1===n||function e(t,r){if(Q(t))return!1;var n=r.getId(t);if(!r.has(n))return!0;var i=nn.parentNode(t);return(!i||i.nodeType!==t.DOCUMENT_NODE)&&(!i||e(i,r))}(t.target,e.mirror)||(e.movedSet.has(r)&&e.movedMap[nM(n,i)]?nP(e.movedSet,r):(e.removes.push({parentId:i,id:n,isShadow:!!(Q(t.target)&&ee(t.target))||void 0}),function(e,t){for(var r=[e];r.length;){var n=r.pop();
1t.has(n)||(t.add(n),nn.childNodes(n).forEach(function(e){return r.push(e)}))}}(r,e.removesSubTreeCache))),e.mapRemoves.push(r))})}}),q(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(ng(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[nM(e.mirror.getId(t),n)]=!0)}else e.addedSet.add(t),e.droppedSet.delete(t);!nd(t,e.blockClass,e.blockSelector,!1)&&(nn.childNodes(t).forEach(function(t){return e.genAdds(t)}),nb(t)&&nn.childNodes(nn.shadowRoot(t)).forEach(function(r){e.processedNodeManager.add(r,e),e.genAdds(r,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()},e}();function nP(e,t){e.delete(t),nn.childNodes(t).forEach(function(t){return nP(e,t)})}function nL(e,t,r){var n;return 0!==e.size&&!!(n=nn.parentNode(t))&&e.has(n)}function nN(e,t){return 0!==e.size&&function e(t,r){var n=nn.parentNode(r);return!!n&&(!!t.has(n)||e(t,n))}(e,t)}var nD=function(e){return iU?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(iU&&!0===iU(e))return;throw e}}:e},nj=[];function nF(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 nU(e,t){var r=new nT;nj.push(r),r.init(e);var n=new(r8("MutationObserver")).constructor(nD(r.processMutations.bind(r)));return n.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),n}function nB(e){var t=e.scrollCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,s=e.sampling;return ni("scroll",nD(na(nD(function(e){var s=nF(e);if(!(!s||nd(s,i,o,!0))){var a=n.getId(s);if(s===r&&r.defaultView){var u=nl(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)}var nz=["INPUT","TEXTAREA","SELECT"],nq=new WeakMap;function nW(e){var t;return t=[],nH("CSSGroupingRule")&&T(e.parentRule,CSSGroupingRule)||nH("CSSMediaRule")&&T(e.parentRule,CSSMediaRule)||nH("CSSSupportsRule")&&T(e.parentRule,CSSSupportsRule)||nH("CSSConditionRule")&&T(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 nV(e,t,r){var n,i;return e?(e.ownerNode?n=t.getId(e.ownerNode):i=r.getId(e),{styleId:i,id:n}):{}}function n$(e,t){var r,n,i,o=e.mirror,s=e.stylesheetManager,a=null;a="#document"===t.nodeName?o.getId(t):o.getId(nn.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}}),nD(function(){Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})})):function(){}}function nG(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,b=e.inputCb,_=e.mediaInteractionCb,w=e.styleSheetRuleCb,k=e.styleDeclarationCb,x=e.canvasMutationCb,S=e.fontCb,C=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)),b.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)),_.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)),k.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)),x.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)),S.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)),C.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&&(el=nU(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=na(nD(function(e){var n=Date.now()-t;r(u.map(function(e){return e.timeOffset-=n,e}),e),u=[],t=null}),a),l=nD(na(nD(function(e){var r=nF(e),n=nm(e)?e.changedTouches[0]:e,i=n.clientX,s=n.clientY;t||(t=nc()),u.push({x:i,y:s,id:o.getId(r),timeOffset:nc()-t}),c("undefined"!=typeof DragEvent&&T(e,DragEvent)?nS.Drag:T(e,MouseEvent)?nS.MouseMove:nS.TouchMove)}),s,{trailing:!1})),p=[ni("mousemove",l,i),ni("touchmove",l,i),ni("drag",l,i)];return nD(function(){p.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(nC).filter(function(e){return Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e]}
1).forEach(function(e){var s=eo(e);if(window.PointerEvent)switch(nC[e]){case nC.MouseDown:case nC.MouseUp:s=s.replace("mouse","pointer");break;case nC.TouchStart:case nC.TouchEnd:return}u.push(ni(s,function(r){var s=nF(r);if(!nd(s,i,o,!0)){var a=null,u=e;if("pointerType"in r){switch(r.pointerType){case"mouse":a=nE.Mouse;break;case"touch":a=nE.Touch;break;case"pen":a=nE.Pen}a===nE.Touch?nC[e]===nC.MouseDown?u="TouchStart":nC[e]===nC.MouseUp&&(u="TouchEnd"):nE.Pen}else nm(r)&&(a=nE.Touch);null!==a?(c=a,(u.startsWith("Touch")&&a===nE.Touch||u.startsWith("Mouse")&&a===nE.Mouse)&&(a=null)):nC[e]===nC.Click&&(a=c,c=null);var l=nm(r)?r.changedTouches[0]:r;if(l){var p=n.getId(s),h=l.clientX,f=l.clientY;nD(t)(R({type:nC[u],id:p,x:h,y:f},null!==a&&{pointerType:a}))}}},r))}),nD(function(){u.forEach(function(e){return e()})})}(e),o=nB(e),s=(I={win:r},O=e.viewportResizeCb,A=I.win,M=-1,P=-1,ni("resize",nD(na(nD(function(){var e=np(),t=nh();(M!==e||P!==t)&&(O({width:Number(t),height:Number(e)}),M=e,P=t)}),200)),A)),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,p=e.userTriggeredOnInput;function h(e){var t=nF(e),n=e.isTrusted,l=t&&t.tagName;if(t&&"OPTION"===l&&(t=nn.parentElement(t)),!(!t||!l||0>nz.indexOf(l)||nd(t,i,o,!0)||t.classList.contains(s)||a&&t.matches(a))){var h=t.value,d=!1,g=ea(t)||"";"radio"===g||"checkbox"===g?d=t.checked:(u[l.toLowerCase()]||u[g])&&(h=ei({element:t,maskInputOptions:u,tagName:l,type:g,value:h,maskInputFn:c})),f(t,p?{text:h,isChecked:d,userTriggered:n}:{text:h,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,p?{text:r,isChecked:!d,userTriggered:!1}:{text:r,isChecked:!d})}})}}function f(e,r){var i=nq.get(e);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){nq.set(e,r);var o=n.getId(e);nD(t)(R({},r,{id:o}))}}var d=("last"===l.input?["change"]:["input","change"]).map(function(e){return ni(e,nD(h),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 nu(e[0],e[1],{set:function(){nD(h)({target:this,isTrusted:!1})}},!1,g)}))),nD(function(){d.forEach(function(e){return e()})})}(e),u=(L=e.mediaInteractionCb,N=e.blockClass,D=e.blockSelector,j=e.mirror,U=e.sampling,B=e.doc,q=[ni("play",(z=nD(function(e){return na(nD(function(t){var r=nF(t);if(!(!r||nd(r,N,D,!0))){var n=r.currentTime,i=r.volume,o=r.muted,s=r.playbackRate,a=r.loop;L({type:e,id:j.getId(r),currentTime:n,volume:i,muted:o,playbackRate:s,loop:a})}}),U.media||500)}))(nO.Play),B),ni("pause",z(nO.Pause),B),ni("seeked",z(nO.Seeked),B),ni("volumechange",z(nO.VolumeChange),B),ni("ratechange",z(nO.RateChange),B)],nD(function(){q.forEach(function(e){return e()})})),c=function(){},l=function(){},p=function(){},h=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:nD(function(e,t,r){var n=r[0],a=r[1],u=nV(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)})}),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:nD(function(e,t,r){var n=r[0],a=nV(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)}
1)}),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:nD(function(e,t,r){var n=r[0],a=nV(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:nD(function(e,t,r){var n=r[0],a=nV(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={};nY("CSSGroupingRule")?l.CSSGroupingRule=a.CSSGroupingRule:(nY("CSSMediaRule")&&(l.CSSMediaRule=a.CSSMediaRule),nY("CSSConditionRule")&&(l.CSSConditionRule=a.CSSConditionRule),nY("CSSSupportsRule")&&(l.CSSSupportsRule=a.CSSSupportsRule));var p={};return Object.entries(l).forEach(function(e){var t=e[0],r=e[1];p[t]={insertRule:r.prototype.insertRule,deleteRule:r.prototype.deleteRule},r.prototype.insertRule=new Proxy(p[t].insertRule,{apply:nD(function(e,t,r){var n=r[0],a=r[1],u=nV(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(nW(t),[a||0])}]}),e.apply(t,r)})}),r.prototype.deleteRule=new Proxy(p[t].deleteRule,{apply:nD(function(e,t,r){var n=r[0],a=nV(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(nW(t),[n])}]}),e.apply(t,r)})})}),nD(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=p[t].insertRule,r.prototype.deleteRule=p[t].deleteRule})})}(e,{win:r}),l=n$(e,e.doc),W={win:r},V=e.styleDeclarationCb,$=e.mirror,G=e.ignoreCSSAttributes,H=e.stylesheetManager,Z=(Y=W.win).CSSStyleDeclaration.prototype.setProperty,Y.CSSStyleDeclaration.prototype.setProperty=new Proxy(Z,{apply:nD(function(e,t,r){var n,i=r[0],o=r[1],s=r[2];if(G.has(i))return Z.apply(t,[i,o,s]);var a=nV(null==(n=t.parentRule)?void 0:n.parentStyleSheet,$,H.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:nW(t.parentRule)}),e.apply(t,r)})}),X=Y.CSSStyleDeclaration.prototype.removeProperty,Y.CSSStyleDeclaration.prototype.removeProperty=new Proxy(X,{apply:nD(function(e,t,r){var n,i=r[0];if(G.has(i))return X.apply(t,[i]);var o=nV(null==(n=t.parentRule)?void 0:n.parentStyleSheet,$,H.styleMirror),s=o.id,a=o.styleId;return(s&&-1!==s||a&&-1!==a)&&V({id:s,styleId:a,remove:{property:i},index:nW(t.parentRule)}),e.apply(t,r)})}),p=nD(function(){Y.CSSStyleDeclaration.prototype.setProperty=Z,Y.CSSStyleDeclaration.prototype.removeProperty=X}),e.collectFonts&&(h=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=nr(r.fonts,"add",function(e){return function(r){return setTimeout(nD(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),nD(function(){i.forEach(function(e){return e()})})}(e)));for(var f,d,g,m,v,y,b,_,w,k,x,S,C,E,I,O,A,M,P,L,N,D,j,U,B,z,q,W,V,$,G,H,Y,Z,X,J,K,Q,ee,et,er,en,es,eu,ec,el,ep,eh=(J=e.doc,K=e.mirror,Q=e.blockClass,ee=e.blockSelector,et=e.selectionCb,er=!0,(en=nD(function(){var e=J.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;nd(o,Q,ee,!0)||nd(a,Q,ee,!0)||t.push({start:K.getId(o),startOffset:s,end:K.getId(a),endOffset:u})}et({ranges:t})}}))(),ni("selectionchange",en)),ef=(es=e.doc,eu=e.customElementCb,(ec=es.defaultView)&&ec.customElements?nr(ec.customElements,"define",function(e){return function(t,r,n){try{eu({define:{name:t}})}catch(e){console.warn("Custom element callback failed for "+t)}return e.apply(this,[t,r,n])}}):function(){}),ed=[],eg=F(e.plugins);!(ep=eg()).done;){var em=ep.value;ed.push(em.observer(em.callback,r,em.options))}return nD(function(){nj.forEach(function(e){return e.reset()}),null==el||el.disconnect(),n(),i(),o(),s(),a(),u(),c(),l(),p(),h(),eh(),ef(),ed.forEach(function(e){return e()})})}function nH(e){return void 0!==window[e]}function nY(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}for(var nZ=function(){function e(e){q(this,"iframeIdToRemoteIdMap",new WeakMap),q(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);
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}(),nX=function(){function e(e){q(this,"iframes",new WeakMap),q(this,"crossOriginIframeMap",new WeakMap),q(this,"crossOriginIframeMirror",new nZ(ev)),q(this,"crossOriginIframeStyleMirror"),q(this,"crossOriginIframeRootIdMap",new WeakMap),q(this,"mirror"),q(this,"mutationCb"),q(this,"wrappedEmit"),q(this,"loadListener"),q(this,"stylesheetManager"),q(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new nZ(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)},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}),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 nx.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:nx.IncrementalSnapshot,data:{source:nS.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case nx.Meta:case nx.Load:case nx.DomContentLoaded:break;case nx.Plugin:return t;case nx.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case nx.IncrementalSnapshot:switch(t.data.source){case nS.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 nS.Drag:case nS.TouchMove:case nS.MouseMove:return t.data.positions.forEach(function(t){n.replaceIds(t,e,["id"])}),t;case nS.ViewportResize:return!1;case nS.MediaInteraction:case nS.MouseInteraction:case nS.Scroll:case nS.CanvasMutation:case nS.Input:return this.replaceIds(t.data,e,["id"]),t;case nS.StyleSheetRule:case nS.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case nS.Font:return t;case nS.Selection:return t.data.ranges.forEach(function(t){n.replaceIds(t,e,["start","end"])}),t;case nS.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=F(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.forEac
1h(function(e){r.replaceIdOnNode(e,t)})},t.patchRootIdOnNode=function(e,t){var r=this;e.type===nR.Document||e.rootId||(e.rootId=t),("childNodes"in e)&&e.childNodes.forEach(function(e){r.patchRootIdOnNode(e,t)})},e}(),nJ=function(){function e(e){q(this,"shadowDoms",new WeakSet),q(this,"mutationCb"),q(this,"scrollCb"),q(this,"bypassOptions"),q(this,"mirror"),q(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(ee(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var n=nU(R({},this.bypassOptions,{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push(function(){return n.disconnect()}),this.restoreHandlers.push(nB(R({},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(nn.host(e))),r.restoreHandlers.push(n$({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(nr(e.prototype,"attachShadow",function(e){return function(n){var i=e.call(this,n),o=nn.shadowRoot(this);return o&&nk(this)&&r.addShadowRoot(o,t),i}}))},t.reset=function(){this.restoreHandlers.forEach(function(e){try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},e}(),nK="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",nQ="undefined"==typeof Uint8Array?[]:new Uint8Array(256),n0=0;n0<nK.length;n0++)nQ[nK.charCodeAt(n0)]=n0;var n1=function(e){var t,r=new Uint8Array(e),n=r.length,i="";for(t=0;t<n;t+=3)i+=nK[r[t]>>2]+nK[(3&r[t])<<4|r[t+1]>>4]+nK[(15&r[t+1])<<2|r[t+2]>>6]+nK[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},n2=new Map,n3=function(e,t,r){if(e&&(n6(e,t)||(void 0===e?"undefined":N(e))==="object")){var n,i=e.constructor.name,o=((n=n2.get(r))||(n=new Map,n2.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}},n5=function(e,t,r){return e.map(function(e){return function e(t,r,n){if(T(t,Array))return t.map(function(t){return e(t,r,n)});if(null===t);else if(T(t,Float32Array)||T(t,Float64Array)||T(t,Int32Array)||T(t,Uint32Array)||T(t,Uint8Array)||T(t,Uint16Array)||T(t,Int16Array)||T(t,Int8Array)||T(t,Uint8ClampedArray))return{rr_type:t.constructor.name,args:[Object.values(t)]};else if(T(t,ArrayBuffer))return{rr_type:t.constructor.name,base64:n1(t)};else if(T(t,DataView))return{rr_type:t.constructor.name,args:[e(t.buffer,r,n),t.byteOffset,t.byteLength]};else if(T(t,HTMLImageElement))return{rr_type:t.constructor.name,src:t.src};else if(T(t,HTMLCanvasElement))return{rr_type:"HTMLImageElement",src:t.toDataURL()};else if(T(t,ImageData))return{rr_type:t.constructor.name,args:[e(t.data,r,n),t.width,t.height]};else if(n6(t,r)||(void 0===t?"undefined":N(t))==="object")return{rr_type:t.constructor.name,index:n3(t,r,n)};return t}(e,t,r)})},n6=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 T(e,t[r])})};function n4(e,t,r,n){var i=[];try{var o=nr(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(!nd(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"===N(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")}
1return function(){i.forEach(function(e){return e()})}}function n8(e,t,r,n,i,o){for(var s,a=[],u=Object.getOwnPropertyNames(e),c=F(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=nr(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(n3(l,o,this),"tagName"in this.canvas&&!nd(this.canvas,n,i,!0)){var p=n5(a,o,this);r(this.canvas,{type:t,property:u,args:p})}return l}});a.push(c)}catch(n){a.push(nu(e,u,{set:function(e){r(this.canvas,{type:t,property:u,args:[e],setter:!0})}}))}}();return a}var n9="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3B
1hcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",n7="undefined"!=typeof window&&window.Blob&&new Blob([Uint8Array.from(atob(n9),function(e){return e.charCodeAt(0)})],{type:"text/javascript;charset=utf-8"});function ie(e){var t;try{if(!(t=n7&&(window.URL||window.webkitURL).createObjectURL(n7)))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,"+n9,{name:null==e?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}var it=function(){function e(e){var t=this;q(this,"pendingCanvasMutations",new Map),q(this,"rafStamps",{latestId:0,invokeId:null}),q(this,"mirror"),q(this,"mutationCb"),q(this,"resetObservers"),q(this,"frozen",!1),q(this,"locked",!1),q(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=n4(t,r,n,!0),u=new Map,c=new ie;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:nI["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,p=0,h=function(){var e=[];return t.document.querySelectorAll("canvas").forEach(function(t){nd(t,r,n,!0)||e.push(t)}),e},f=function(e){if(p&&e-p<l){o=requestAnimationFrame(f);return}
1p=e,h().forEach(E(function(e){var t,r,n,o;return U(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=n4(e,t,r,!1),s=function(e,t,r,n){for(var i,o=[],s=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype),a=F(s);!(i=a()).done;)!function(){var s=i.value;try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[s])return"continue";var a=nr(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 nd(this.canvas,r,n,!0)||setTimeout(function(){var r=n5(u,t,o);e(o.canvas,{type:nI["2D"],property:s,args:r})},0),i.apply(this,u)}});o.push(a)}catch(r){var u=nu(t.CanvasRenderingContext2D.prototype,s,{set:function(t){e(this.canvas,{type:nI["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(n8(e.WebGLRenderingContext.prototype,nI.WebGL,n,t,r,e))),void 0!==e.WebGL2RenderingContext&&i.push.apply(i,[].concat(n8(e.WebGL2RenderingContext.prototype,nI.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,P(e,["type"])}),i=r[0].type;this.mutationCb({id:t,type:i,commands:n}),this.pendingCanvasMutations.delete(e)}}},e}(),ir=function(){function e(e){q(this,"trackedLinkElements",new WeakSet),q(this,"mutationCb"),q(this,"adoptedStyleSheetCb"),q(this,"styleMirror",new n_),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=F(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:er(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.trackStylesheetInLinkElement=function(e){},e}(),ii=function(){function e(){q(this,"nodeMap",new WeakMap),q(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}(),io=!1;try{if(2!==Array.from([1],function(e){return 2*e})[0]){var is=document.createElement("iframe");document.body.appendChild(is),Array.from=(null==(i_=is.contentWindow)?void 0:i_.Array.from)||Array.from,document.body.removeChild(is)}}catch(e){console.debug("Unable to override Array.from",e)}var ia=new en;function iu(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,p=void 0===l?null:l,h=e.maskTextClass,f=void 0===h?"rr-mask":h,d=e.maskTextSelector,g=void 0===d?null:d,m=e.inlineStylesheet,v=void 0===m||m,y=e.maskAllInputs,b=e.maskInputOptions,_=e.slimDOMOptions,w=e.maskInputFn,k=e.maskTextFn,x=e.hooks,S=e.packFn,C=e.sampling,E=void 0===C?{}:C,I=e.dataURLOptions,O=void 0===I?{}:I,A=e.mousemoveWait,M=e.recordDOM,T=void 0===M||M,P=e.recordCanvas,L=void 0!==P&&P,N=e.recordCrossOriginIframes,D=void 0!==N&&N,j=e.recordAfter,U=void 0===j?"DOMContentLoaded"===e.recordAfter?e.recordAfter:"load":j,B=e.userTriggeredOnInput,z=void 0!==B&&B,q=e.collectFonts,W=void 0!==q&&q,V=e.inlineImages,$=void 0!==V&&V,G=e.plugins,H=e.keepIframeSrcFn,Y=void 0===H?function(){return!1}:H,Z=e.ignoreCSSAttributes,X=void 0===Z?new Set([]):Z;iU=e.errorHandler;var J=!D||window.parent===window,K=!1;if(!J)try{window.parent.document&&(K=!1)}catch(e){K=!0}if(J&&!t)throw Error("emit function is required");if(!J&&!K)return function(){};void 0!==A&&void 0===E.mousemove&&(E.mousemove=A),ia.reset();var Q=!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!==b?b:{password:!0},ee=!0===_||"all"===_?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===_,headMetaDescKeywords:"all"===_,headTitleMutations:"all"===_}:_||{};void 0===ei&&(ei=window),"NodeList"in ei&&!ei.NodeList.prototype.forEach&&(ei.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in ei&&!ei.DOMTokenList.prototype.forEach&&(ei.DOMTokenList.prototype.forEach=Array.prototype.forEach);var et=0,er=function(e){for(var t,r=F(G||[]);!(t=r()).done;){var n=t.value;n.eventProcessor&&(e=n.eventProcessor(e))}return S&&!K&&(e=S(e)),e};iB=function(e,i){var o;if(e.timestamp=nc(),(null==(o=nj[0])?void 0:o.isFrozen())&&e.type!==nx.FullSnapshot&&!(e.type===nx.IncrementalSnapshot&&e.data.source===nS.Mutation)&&nj.forEach(function(e){return e.unfreeze()}),J)null==t||t(er(e),i);else if(K){var s={type:"rrweb",event:er(e),origin:window.location.origin,isCheckout:i};window.parent.postMessage(s,"*")}if(e.type===nx.FullSnapshot)eo=e,et=0;else if(e.type===nx.IncrementalSnapshot){if(e.data.source===nS.Mutation&&e.data.isAttachIframe)return;et++;var a=n&&et>=n,u=r&&e.timestamp-eo.timestamp>r;(a||u)&&iz(!0)}};for(var ei,eo,es,ea=function(e){iB({type:nx.IncrementalSnapshot,data:R({source:nS.Mutation},e)})},eu=function(e){return iB({type:nx.IncrementalSnapshot,data:R({source:nS.Scroll},e)})},ec=function(e){return iB({type:nx.IncrementalSnapshot,data:R({source:nS.CanvasMutation},e)})},el=new ir({mutationCb:ea,adoptedStyleSheetCb:function(e){return iB({type:nx.IncrementalSnapshot,data:R({source:nS.AdoptedStyleSheet},e)})}}),ep=new nX({mirror:ia,mutationCb:ea,stylesheetManager:el,recordCrossOriginIframes:D,wrappedEmit:iB}),eh=F(G||[]);!(es=eh()).done;){var ef=es.value;ef.getMirror&&ef.getMirror({nodeMirror:ia,crossOriginIframeMirror:ep.crossOriginIframeMirror,crossOriginIframeStyleMirror:ep.crossOriginIframeStyleMirror})}var ed=new ii;iq=new it({recordCanvas:L,mutationCb:ec,win:window,blockClass:o,blockSelector:a,mirror:ia,sampling:E.canvas,dataURLOptions:O});var eg=new nJ({mutationCb:ea,scrollCb:eu,bypassOptions:{blockClass:o,blockSelector:a,maskTextClass:f,maskTextSelector:g,inlineStylesheet:v,maskInputOptions:Q,dataURLOptions:O,maskTextFn:k,maskInputFn:w,recordCanvas:L,inlineImages:$,sampling:E,slimDOMOptions:ee,iframeManager:ep,stylesheetManager:el,canvasManager:iq,keepIframeSrcFn:Y,processedNodeManager:ed},mirror:ia});iz=function(e){if(void 0===e&&(e=!1),T){iB({type:nx.Meta,data:{href:window.location.href,width:nh(),height:np()}},e),el.reset(),eg.init(),nj.forEach(function(e){return e.lock()});var t,r,n,i,s,u,c,l,p,h,d,m,y,b,_,x,S,C,E,I,R,A,M,P=(t=document,i=void 0===(n=(r={mirror:ia,blockClass:o,blockSelector:a,maskTextClass:f,maskTextSelector:g,inlineStylesheet:v,maskAllInputs:Q,maskTextFn:k,maskInputFn:w,slimDOM:ee,dataURLOptions:O,recordCanvas:L,inlineImages:$,onSerialize:function(e){nv(e,ia)&&ep.addIframe(e),ny(e,ia)&&el.trackLinkElement(e),nb(e)&&eg.addShadowRoot(nn.shadowRoot(e),document)},onIframeLoad:function(e,t){ep.attachIframe(e,t),eg.observeAttachShadow(e)},onStylesheetLoad:function(e,t){el.attachLinkElement(e,t)},keepIframeSrcFn:Y}).mirror)?new en:n,s=r.blockClass,u=r.blockSelector,c=r.maskTextClass,l=r.maskTextSelector,p=r.inlineStylesheet,h=r.inlineImages,d=r.recordCanvas,y=void 0!==(m=r.maskAllInputs)&&m,b=r.maskTextFn,_=r.maskInputFn,S=void 0!==(x=r.slimDOM)&&x,C=r.dataURLOptions,E=r.preserveWhiteSpace,I=r.onSerialize,R=r.onIframeLoad,A=r.iframeLoadTimeout,eO(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,ski
1pChild:!1,inlineStylesheet:void 0===p||p,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:b,maskInputFn:_,slimDOMOptions:!0===S||"all"===S?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===S,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===S?{}:S,dataURLOptions:C,inlineImages:void 0!==h&&h,recordCanvas:void 0!==d&&d,preserveWhiteSpace:E,onSerialize:I,onIframeLoad:R,iframeLoadTimeout:A,onStylesheetLoad:r.onStylesheetLoad,stylesheetLoadTimeout:r.stylesheetLoadTimeout,keepIframeSrcFn:void 0===(M=r.keepIframeSrcFn)?function(){return!1}:M,newlyAddedElement:!1}));if(!P)return console.warn("Failed to snapshot the document");iB({type:nx.FullSnapshot,data:{node:P,initialOffset:nl(window)}},e),nj.forEach(function(e){return e.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&el.adoptStyleSheets(document.adoptedStyleSheets,ia.getId(document))}};try{var em=[],ev=function(e){var t;return nD(nG)({mutationCb:ea,mousemoveCb:function(e,t){return iB({type:nx.IncrementalSnapshot,data:{source:t,positions:e}})},mouseInteractionCb:function(e){return iB({type:nx.IncrementalSnapshot,data:R({source:nS.MouseInteraction},e)})},scrollCb:eu,viewportResizeCb:function(e){return iB({type:nx.IncrementalSnapshot,data:R({source:nS.ViewportResize},e)})},inputCb:function(e){return iB({type:nx.IncrementalSnapshot,data:R({source:nS.Input},e)})},mediaInteractionCb:function(e){return iB({type:nx.IncrementalSnapshot,data:R({source:nS.MediaInteraction},e)})},styleSheetRuleCb:function(e){return iB({type:nx.IncrementalSnapshot,data:R({source:nS.StyleSheetRule},e)})},styleDeclarationCb:function(e){return iB({type:nx.IncrementalSnapshot,data:R({source:nS.StyleDeclaration},e)})},canvasMutationCb:ec,fontCb:function(e){return iB({type:nx.IncrementalSnapshot,data:R({source:nS.Font},e)})},selectionCb:function(e){iB({type:nx.IncrementalSnapshot,data:R({source:nS.Selection},e)})},customElementCb:function(e){iB({type:nx.IncrementalSnapshot,data:R({source:nS.CustomElement},e)})},blockClass:o,ignoreClass:c,ignoreSelector:p,maskTextClass:f,maskTextSelector:g,maskInputOptions:Q,inlineStylesheet:v,sampling:E,recordDOM:T,recordCanvas:L,inlineImages:$,userTriggeredOnInput:z,collectFonts:W,doc:e,maskInputFn:w,maskTextFn:k,keepIframeSrcFn:Y,blockSelector:a,slimDOMOptions:ee,dataURLOptions:O,mirror:ia,iframeManager:ep,stylesheetManager:el,shadowDomManager:eg,processedNodeManager:ed,canvasManager:iq,ignoreCSSAttributes:X,plugins:(null==(t=null==G?void 0:G.filter(function(e){return e.observer}))?void 0:t.map(function(e){return{observer:e.observer,options:e.options,callback:function(t){return iB({type:nx.Plugin,data:{plugin:e.name,payload:t}})}}}))||[]},x)};ep.addLoadListener(function(e){try{em.push(ev(e.contentDocument))}catch(e){console.warn(e)}});var ey=function(){iz(),em.push(ev(document)),io=!0};return"interactive"===document.readyState||"complete"===document.readyState?ey():(em.push(ni("DOMContentLoaded",function(){iB({type:nx.DomContentLoaded,data:{}}),"DOMContentLoaded"===U&&ey()})),em.push(ni("load",function(){iB({type:nx.Load,data:{}}),"load"===U&&ey()},window))),function(){em.forEach(function(e){try{e()}catch(e){String(e).toLowerCase().includes("cross-origin")||console.warn(e)}}),ed.destroy(),io=!1,iU=void 0}}catch(e){console.warn(e)}}iu.addCustomEvent=function(e,t){if(!io)throw Error("please add custom event after start recording");iB({type:nx.Custom,data:{tag:e,payload:t}})},iu.freezePage=function(){nj.forEach(function(e){return e.freeze()})},iu.takeFullSnapshot=function(e){if(!io)throw Error("please take full snapshot after start recording");iz(e)},iu.mirror=ia,(iy=iW||(iW={}))[iy.NotStarted=0]="NotStarted",iy[iy.Running=1]="Running",iy[iy.Stopped=2]="Stopped",iu.addCustomEvent,iu.freezePage,iu.takeFullSnapshot;var ic,il,ip,ih,id,ig,im,iv,iy,ib,i_,iw,ik,ix,iS,iC,iE,iI,iO,iR,iA,iM,iT,iP,iL,iN,iD,ij,iF,iU,iB,iz,iq,iW,iV,i$,iG,iH=ib.setImmediate,iY=Object.prototype.toString,iZ=void 0!==iH?function(e){return iH(e)}:setTimeout;try{Object.defineProperty({},"x",{}),iV=function(e,t,r,n){return Object.defineProperty(e,t,{value:r,writable:!0,configurable:!1!==n})}}catch(e){iV=function(e,t,r){return e[t]=r,e}}function iX(e,t){iG.add(e,t),i$||(i$=iZ(iG.drain))}function iJ(e){var t,r=typeof e;return null!==e&&("object"===r||"function"===r)&&(t=e.then),"function"==typeof t&&t}function iK(){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=iJ(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 iQ(e){var t,r=this;if(!r.triggered){r.triggered=!0,r.def&&(r=r.def);try{(t=iJ(e))?iX(function(){var n=new i2(r);try{t.call(e,function(){iQ.apply(n,arguments)},function(){i0.apply(n,arguments)})}catch(e){i0.call(n,e)}}):(r.msg=e,r.state=1,r.chain.length>0&&iX(iK,r))}catch(e){i0.call(new i2(r),e)}}}function i0(e){var t=this;!t.triggered&&(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&iX(iK,t))}function i1(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 i2(e){this.def=e,this.triggered=!1}function i3(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function i5(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 i3(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&&iX(iK,t),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){iQ.call(t,e)},function(e){i0.call(t,e)})}catch(e){i0.call(t,e)}}iG=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=i$=void 0;r;)r.fn.call(r.self),r=r.next}}}();var i6=iV({},"constructor",i5,!1);i5.prototype=i6,iV(i6,"__NPO__",0,!1),iV(i5,"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)})}),iV(i5,"reject",function(e){return new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");r(e)})}),iV(i5,"all",function(e){var t=this;return"[object Array]"!==iY.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;i1(t,e,function(e,t){o[e]=t,++s===i&&r(o)},n)})}),iV(i5,"race",function(e){var t=this;return"[object Array]"!==iY.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");i1(t,e,function(e,t){r(t)},n)})}),m="undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")?Promise:i5;var i4={DEBUG:!1,LIB_VERSION:"2.71.0"},i8=Array.prototype,i9=Function.prototype,i7=Object.prototype,oe=i8.slice,ot=i7.toString,or=i7.hasOwnProperty,on=ib.console,oi=ib.navigator,oo=ib.document,os=ib.opera,oa=ib.screen,ou=oi.userAgent,oc=i9.bind,ol=i8.forEach,op=i8.indexOf,oh=i8.map,of=Array.isArray,od={},og={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},om={log:function(){if(i4.DEBUG&&!og.isUndefined(on)&&on)try{on.log.apply(on,arguments)}catch(e){og.each(arguments,function(e){on.log(e)})}},warn:function(){if(i4.DEBUG&&!og.isUndefined(on)&&on){var e=["Mixpanel warning:"].
1concat(og.toArray(arguments));try{on.warn.apply(on,e)}catch(t){og.each(e,function(e){on.warn(e)})}}},error:function(){if(i4.DEBUG&&!og.isUndefined(on)&&on){var e=["Mixpanel error:"].concat(og.toArray(arguments));try{on.error.apply(on,e)}catch(t){og.each(e,function(e){on.error(e)})}}},critical:function(){if(!og.isUndefined(on)&&on){var e=["Mixpanel error:"].concat(og.toArray(arguments));try{on.error.apply(on,e)}catch(t){og.each(e,function(e){on.error(e)})}}}},ov=function(e,t){return function(){return arguments[0]="["+t+"] "+arguments[0],e.apply(om,arguments)}},oy=function(e){return{log:ov(om.log,e),error:ov(om.error,e),critical:ov(om.critical,e)}},ob=function(e){return function(){try{return e.apply(this,arguments)}catch(e){om.critical("Implementation error. Please turn on debug and contact [email protected]."),i4.DEBUG&&om.critical(e)}}},o_=function(e){var t=e.prototype;for(var r in t)"function"==typeof t[r]&&(t[r]=ob(t[r]))};og.bind=function(e,t){var r,n;if(oc&&e.bind===oc)return oc.apply(e,oe.call(arguments,1));if(!og.isFunction(e))throw TypeError();return r=oe.call(arguments,2),n=function(){if(!(this instanceof n))return e.apply(t,r.concat(oe.call(arguments)));var i={};i.prototype=e.prototype;var o=new i;i.prototype=null;var s=e.apply(o,r.concat(oe.call(arguments)));return Object(s)===s?s:o}},og.each=function(e,t,r){if(null!=e){if(ol&&e.forEach===ol)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)===od)return}else for(var o in e)if(or.call(e,o)&&t.call(r,e[o],o,e)===od)return}},og.extend=function(e){return og.each(oe.call(arguments,1),function(t){for(var r in t)void 0!==t[r]&&(e[r]=t[r])}),e},og.isArray=of||function(e){return"[object Array]"===ot.call(e)},og.isFunction=function(e){try{return/^\s*\bfunction\b/.test(e)}catch(e){return!1}},og.isArguments=function(e){return!!(e&&or.call(e,"callee"))},og.toArray=function(e){return e?e.toArray?e.toArray():og.isArray(e)||og.isArguments(e)?oe.call(e):og.values(e):[]},og.map=function(e,t,r){if(oh&&e.map===oh)return e.map(t,r);var n=[];return og.each(e,function(e){n.push(t.call(r,e))}),n},og.keys=function(e){var t=[];return null===e||og.each(e,function(e,r){t[t.length]=r}),t},og.values=function(e){var t=[];return null===e||og.each(e,function(e){t[t.length]=e}),t},og.include=function(e,t){var r=!1;return null===e?r:op&&e.indexOf===op?-1!=e.indexOf(t):(og.each(e,function(e){if(r||(r=e===t))return od}),r)},og.includes=function(e,t){return -1!==e.indexOf(t)},og.inherit=function(e,t){return e.prototype=new t,e.prototype.constructor=e,e.superclass=t.prototype,e},og.isObject=function(e){return e===Object(e)&&!og.isArray(e)},og.isEmptyObject=function(e){if(og.isObject(e)){for(var t in e)if(or.call(e,t))return!1;return!0}return!1},og.isUndefined=function(e){return void 0===e},og.isString=function(e){return"[object String]"==ot.call(e)},og.isDate=function(e){return"[object Date]"==ot.call(e)},og.isNumber=function(e){return"[object Number]"==ot.call(e)},og.isElement=function(e){return!!(e&&1===e.nodeType)},og.encodeDates=function(e){return og.each(e,function(t,r){og.isDate(t)?e[r]=og.formatDate(t):og.isObject(t)&&(e[r]=og.encodeDates(t))}),e},og.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},og.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())},og.strip_empty_properties=function(e){var t={};return og.each(e,function(e,r){og.isString(e)&&e.length>0&&(t[r]=e)}),t},og.truncate=function(e,t){var r;return"string"==typeof e?r=e.slice(0,t):og.isArray(e)?(r=[],og.each(e,function(e){r.push(og.truncate(e,t))})):og.isObject(e)?(r={},og.each(e,function(e,n){r[n]=og.truncate(e,t)})):r=e,r},og.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=[],p=n[e];switch(p&&"object"==typeof p&&"function"==typeof p.toJSON&&(p=p.toJSON(e)),typeof p){case"string":return t(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"null":return String(p);case"object":if(!p)return"null";if(i+=" ",l=[],"[object Array]"===ot.apply(p)){for(o=0,u=p.length;o<u;o+=1)l[o]=r(o,p)||"null";return a=0===l.length?"[]":i?"[\n"+i+l.join(",\n"+i)+"\n"+c+"]":"["+l.join(",")+"]",i=c,a}for(s in p)or.call(p,s)&&(a=r(s,p))&&l.push(t(s)+(i?": ":":")+a);return a=0===l.length?"{}":i?"{"+l.join(",")+c+"}":"{"+l.join(",")+"}",i=c,a}};return r("",{"":e})}
1,og.JSONDecode=(a={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:" "},u=function(e){var t=SyntaxError(e);throw t.at=n,t.text=o,t},c=function(e){return e&&e!==i&&u("Expected '"+e+"' instead of '"+i+"'"),i=o.charAt(n),n+=1,i},l=function(){var e,t="";for("-"===i&&(t="-",c("-"));i>="0"&&i<="9";)t+=i,c();if("."===i)for(t+=".";c()&&i>="0"&&i<="9";)t+=i;if("e"===i||"E"===i)for(t+=i,c(),("-"===i||"+"===i)&&(t+=i,c());i>="0"&&i<="9";)t+=i,c();if(isFinite(e=+t))return e;u("Bad number")},p=function(){var e,t,r,n="";if('"'===i)for(;c();){if('"'===i)return c(),n;if("\\"===i){if(c(),"u"===i){for(t=0,r=0;t<4&&isFinite(e=parseInt(c(),16));t+=1)r=16*r+e;n+=String.fromCharCode(r)}else if("string"==typeof a[i])n+=a[i];else break}else n+=i}u("Bad string")},h=function(){for(;i&&i<=" ";)c()},f=function(){switch(i){case"t":return c("t"),c("r"),c("u"),c("e"),!0;case"f":return c("f"),c("a"),c("l"),c("s"),c("e"),!1;case"n":return c("n"),c("u"),c("l"),c("l"),null}u('Unexpected "'+i+'"')},d=function(){var e=[];if("["===i){if(c("["),h(),"]"===i)return c("]"),e;for(;i;){if(e.push(s()),h(),"]"===i)return c("]"),e;c(","),h()}}u("Bad array")},g=function(){var e,t={};if("{"===i){if(c("{"),h(),"}"===i)return c("}"),t;for(;i;){if(e=p(),h(),c(":"),Object.hasOwnProperty.call(t,e)&&u('Duplicate key "'+e+'"'),t[e]=s(),h(),"}"===i)return c("}"),t;c(","),h()}}u("Bad object")},s=function(){switch(h(),i){case"{":return g();case"[":return d();case'"':return p();case"-":return l();default:return i>="0"&&i<="9"?l():f()}},function(e){var t;return o=e,n=0,i=" ",t=s(),h(),i&&u("Syntax error"),t}),og.base64Encode=function(e){var t,r,n,i,o,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a=0,u=0,c="",l=[];if(!e)return e;e=og.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},og.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},og.UUID=function(){try{return ib.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]="-",og.map(e,function(e){return e.toString(16)}).join("")}};var ow=["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"];og.isBlockedUA=function(e){var t;for(t=0,e=e.toLowerCase();t<ow.length;t++)if(-1!==e.indexOf(ow[t]))return!0;return!1},og.HTTPBuildQuery=function(e,t){var r,n,i=[];return og.isUndefined(t)&&(t="&"),og.each(e,function(e,t){r=encodeURIComponent(e.toString()),n=encodeURIComponent(t),i[i.length]=n+"="+r}),i.join(t)},og.getQueryParam=function(e,t){var r=RegExp("[\\?&]"+(t=t.replace(/[[]/g,"\\[").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){om.error("Skipping decoding for malformed query param: "+n)}return n.replace(/\+/g," ")},og.cookie={get:function(e){for(var t=e+"=",r=oo.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=og.JSONDecode(og.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=oL(oo.location.hostname);a=l?"; domain=."+l:""}if(r){var p=new Date;p.setTime(p.getTime()+1e3*r),u="; expires="+p.toGMTString()}o&&(i=!0,c="; SameSite=None"),i&&(c+="; secure"),oo.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=oL(oo.location.hostname);a=l?"; domain=."+l:""}if(r){var p=new Date;p.setTime(p.getTime()+864e5*r),u="; expires="+p.toGMTString()}o&&(i=!0,c="; SameSite=None"),i&&(c+="; secure");var h=e+"="+encodeURIComponent(t)+u+"; path=/"+a+c;return oo.cookie=h,h},remove:function(e,t,r){og.cookie.set(e,"",-1,t,!1,!1,r)}};var ok=function(e){var t=!0;
1try{var r="__mplss_"+oM(8);e.setItem(r,"xyz"),"xyz"!==e.getItem(r)&&(t=!1),e.removeItem(r)}catch(e){t=!1}return t},ox=null,oS=function(e,t){return null===ox||t?ox=ok(e||ib.localStorage):ox},oC=null;function oE(e,t,r){var n=function(e){om.error(t+" error: "+e)};return{is_supported:function(n){var i=r(e,n);return i||om.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 og.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)}}}}og.localStorage=oE(ib.localStorage,"localStorage",oS),og.sessionStorage=oE(ib.sessionStorage,"sessionStorage",function(e,t){return null===oC||t?oC=ok(e||ib.sessionStorage):oC}),og.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){om.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(ib.event)){var i,o,s=!0;return og.isFunction(a)&&(i=a(r)),o=n.call(t,r),(!1===i||!1===o)&&(s=!1),s}}}}}();var oI=RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');og.dom_query=function(){function e(e){return e.all?e.all:e.getElementsByTagName("*")}var t=/[\t\r\n]/g;function r(r){if(!oo.getElementsByTagName)return[];var n=r.split(" "),i=[oo];for(d=0;d<n.length;d++){if((c=n[d].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){p=(l=c.split("#"))[0];var o=l[1],s=oo.getElementById(o);if(!s||p&&s.nodeName.toLowerCase()!=p)return[];i=[s];continue}if(c.indexOf(".")>-1){p=(l=c.split("."))[0];var a=l[1];for(p||(p="*"),h=[],f=0,g=0;g<i.length;g++)for(m=0,v="*"==p?e(i[g]):i[g].getElementsByTagName(p);m<v.length;m++)h[f++]=v[m];for(g=0,i=[],y=0;g<h.length;g++)h[g].className&&og.isString(h[g].className)&&(" "+h[g].className+" ").replace(t," ").indexOf(" "+a+" ")>=0&&(i[y++]=h[g]);continue}var u=c.match(oI);if(u){p=u[1];var c,l,p,h,f,d,g,m,v,y,b,_=u[2],w=u[3],k=u[4];for(p||(p="*"),h=[],f=0,g=0;g<i.length;g++)for(m=0,v="*"==p?e(i[g]):i[g].getElementsByTagName(p);m<v.length;m++)h[f++]=v[m];switch(i=[],y=0,w){case"=":b=function(e){return e.getAttribute(_)==k};break;case"~":b=function(e){return e.getAttribute(_).match(RegExp("\\b"+k+"\\b"))};break;case"|":b=function(e){return e.getAttribute(_).match(RegExp("^"+k+"-?"))};break;case"^":b=function(e){return 0===e.getAttribute(_).indexOf(k)};break;case"$":b=function(e){return e.getAttribute(_).lastIndexOf(k)==e.getAttribute(_).length-k.length};break;case"*":b=function(e){return e.getAttribute(_).indexOf(k)>-1};break;default:b=function(e){return e.getAttribute(_)}}for(g=0,i=[],y=0;g<h.length;g++)b(h[g])&&(i[y++]=h[g]);continue}for(g=0,p=c,h=[],f=0;g<i.length;g++)for(m=0,v=i[g].getElementsByTagName(p);m<v.length;m++)h[f++]=v[m];i=h}return i}return function(e){return og.isElement(e)?[e]:og.isObject(e)&&!og.isUndefined(e.length)?e:r.call(this,e)}}();var oO=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],oR=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];og.info={campaignParams:function(e){var t="",r={};return og.each(oO,function(n){(t=og.getQueryParam(oo.URL,n)).length?r[n]=t:void 0!==e&&(r[n]=e)}),r},clickParams:function(){var e="",t={};return og.each(oR,function(r){(e=og.getQueryParam(oo.URL,r)).length&&(t[r]=e)}),t},marketingParams:function(){return og.extend(og.info.campaignParams(),og.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=og.info.searchEngine(e),r={};if(null!==t){r.$search_engine=t;var n=og.getQueryParam(e,"yahoo"!=t?"q":"p");n.length&&(r.mp_keyword=n)}return r},browser:function(e,t,r){if(t=t||"",r||og.includes(e," OPR/"))return og.includes(e,"Mini")?"Opera Mini":"Opera";if(/(BlackBerry|PlayBook|BB10)/i.test(e))return"BlackBerry";if(og.includes(e,"IEMobile")||og.includes(e,"WPDesktop"))return"Internet Explorer Mobile";if(og.includes(e,"SamsungBrowser/"))return"Samsung Internet";if(og.includes(e,"Edge")||og.includes(e,"Edg/"))return"Microsoft Edge";if(og.includes(e,"FBIOS"))return"Facebook Mobile";if(og.includes(e,"Whale/"))return"Whale Browser";else if(og.includes(e,"Chrome"))return"Chrome";else if(og.includes(e,"CriOS"))return"Chrome iOS";else if(og.includes(e,"UCWEB")||og.includes(e,"UCBrowser"))return"UC Browser";else if(og.includes(e,"FxiOS"))return"Firefox iOS";else if(og.includes(t,"Apple"))return og.includes(e,"Mobile")?"Mobile Safari":"Safari";else if(og.includes(e,"Android"))return"Android Mobile";else if(og.includes(e,"Konqueror"))return"Konqueror";else if(og.includes(e,"Firefox"))return"Firefox";else if(og.includes(e,"MSIE")||og.includes(e,"Trident/"))return"Internet Explorer";else if(og.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+)?)/}[og.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(ou))return/Phone/.test(ou)||/WPDesktop/.test(ou)?"Windows Phone":"Windows";if(/(iPhone|iPad|iPod)/.test(ou))return"iOS";if(/Android/.test(ou))return"Android";if(/(BlackBerry|PlayBook|BB10)/i.test(ou))return"BlackBerry";if(/Mac/i.test(ou))return"Mac OS X";if(/Linux/.test(ou))return"Linux";if(/CrOS/.test(ou))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 ib.location.href},properties:function(e){return"object"!=typeof e&&(e={}),og.extend(og.strip_empty_properties({$os:og.info.os(),$browser:og.info.browser(ou,oi.vendor,os),$referrer:oo.referrer,$referring_domain:og.info.referringDomain(oo.referrer),$device:og.info.device(ou)}),{$current_url:og.info.currentUrl(),$browser_version:og.info.browserVersion(ou,oi.vendor,os),$screen_height:oa.height,$screen_width:oa.width,mp_lib:"web",$lib_version:i4.LIB_VERSION,$insert_id:oM(),time:og.timestamp()/1e3},og.strip_empty_properties(e))},people_properties:function(){return og.extend(og.strip_empty_properties({$os:og.info.os(),$browser:og.info.browser(ou,oi.vendor,os)}),{$browser_version:og.info.browserVersion(ou,oi.vendor,os)})},mpPageViewProperties:function(){return og.strip_empty_properties({current_page_title:oo.title,current_domain:ib.location.hostname,current_url_path:ib.location.pathname,current_url_protocol:ib.location.protocol,current_url_search:ib.location.search})}};var oA=function(e,t){var r=null,n=[];return function(i){var o=this;return n.push(i),r||(r=new m(function(i){setTimeout(function(){var t=e.apply(o,[n]);r=null,n=[],i(t)},t)}
1)),r}},oM=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},oT=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,oP=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,oL=function(e){var t=oP,r=e.split("."),n=r[r.length-1];(n.length>4||"com"===n||"org"===n)&&(t=oT);var i=e.match(t);return i?i[0]:""},oN=function(){var e=ib.navigator.onLine;return og.isUndefined(e)||e},oD=function(){},oj=null,oF=null;"undefined"!=typeof JSON&&(oj=JSON.stringify,oF=JSON.parse),oj=oj||og.JSONEncode,oF=oF||og.JSONDecode,og.info=og.info,og.info.browser=og.info.browser,og.info.browserVersion=og.info.browserVersion,og.info.device=og.info.device,og.info.properties=og.info.properties,og.isBlockedUA=og.isBlockedUA,og.isEmptyObject=og.isEmptyObject,og.isObject=og.isObject,og.JSONDecode=og.JSONDecode,og.JSONEncode=og.JSONEncode,og.toArray=og.toArray,og.NPO=i5;var oU="mixpanelRecordingEvents",oB="mixpanelRecordingRegistry",oz=[oU,oB],oq=function(e){this.dbPromise=null,this.storeName=e};function oW(e,t){o0(!0,e,t)}function oV(e,t){o0(!1,e,t)}function o$(e,t){return"1"===oQ(e,t)}function oG(e,t){if(function(e){if(e&&e.ignoreDnt)return!1;var t=e&&e.window||ib,r=t.navigator||{},n=!1;return og.each([r.doNotTrack,r.msDoNotTrack,t.doNotTrack],function(e){og.includes([!0,1,"1","yes"],e)&&(n=!0)}),n}(t))return om.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"===oQ(e,t);return r&&om.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),r}function oH(e){return o1(e,function(e){return this.get_config(e)})}function oY(e){return o1(e,function(e){return this._get_config(e)})}function oZ(e){return o1(e,function(e){return this._get_config(e)})}function oX(e,t){oJ(t=t||{}).remove(oK(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function oJ(e){return"localStorage"===(e=e||{}).persistenceType?og.localStorage:og.cookie}function oK(e,t){return((t=t||{}).persistencePrefix||"__mp_opt_in_out_")+e}function oQ(e,t){return oJ(t).get(oK(e,t))}function o0(e,t,r){if(!og.isString(t)||!t.length){om.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token");return}oJ(r=r||{}).set(oK(t,r),e?1:0,og.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 o1(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=oG(n,{ignoreDnt:i,persistenceType:o,persistencePrefix:s,window:a}))}catch(e){om.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)}}oq.prototype._openDb=function(){return new m(function(e,t){var r=ib.indexedDB.open("mixpanelBrowserDb",1);r.onerror=function(){t(r.error)},r.onsuccess=function(){e(r.result)},r.onupgradeneeded=function(e){var t=e.target.result;oz.forEach(function(e){t.createObjectStore(e)})}})},oq.prototype.init=function(){return ib.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(e){return e instanceof ib.IDBDatabase?m.resolve():m.reject(e)})):m.reject("indexedDB is not supported in this browser")},oq.prototype.isInitialized=function(){return!!this.dbPromise},oq.prototype.makeTransaction=function(e,t){var r=this.storeName,n=function(n){return new m(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)):m.reject(e)}).bind(this))},oq.prototype.setItem=function(e,t){return this.makeTransaction("readwrite",function(r){r.put(t,e)})},oq.prototype.getItem=function(e){var t;return this.makeTransaction("readonly",function(r){t=r.get(e)}).then(function(){return t.result})},oq.prototype.removeItem=function(e){return this.makeTransaction("readwrite",function(t){t.delete(e)})},oq.prototype.getAll=function(){var e;return this.makeTransaction("readonly",function(t){e=t.getAll()}).then(function(){return e.result})};var o2=oy("lock"),o3=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||ib.localStorage,this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3,this.promiseImpl=t.promiseImpl||m};o3.prototype.withLock=function(e,t){return new this.promiseImpl(og.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",p=s+":Y",h=s+":Z",f=function(e){if(new Date().getTime()-o>u){o2.error("Timeout waiting for mutex on "+s+"; clearing lock. ["+i+"]"),c.removeItem(h),c.removeItem(p),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(p);return(!e||e===i)&&(c.setItem(p,i),c.getItem(p)===i||(oS(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(p)!==i){m();return}d(function(){return!c.getItem(h)},v)})})},v=function(){c.setItem(h,"1");var t=function(){c.removeItem(h),c.getItem(p)===i&&c.removeItem(p),c.getItem(l)===i&&c.removeItem(l)};e().then(function(e){t(),r(e)}).catch(function(e){t(),n(e)})};try{if(oS(c,!0))m();else throw Error("localStorage support check failed")}catch(e){n(e)}},this))};var o5=function(e){this.storage=e||ib.localStorage};o5.prototype.init=function(){return m.resolve()},o5.prototype.isInitialized=function(){return!0},o5.prototype.setItem=function(e,t){return new m(og.bind(function(r,n){try{this.storage.setItem(e,oj(t))}catch(e){n(e)}r()},this))},o5.prototype.getItem=function(e){return new m(og.bind(function(t,r){var n;try{n=oF(this.storage.getItem(e))}catch(e){r(e)}t(n)},this))},o5.prototype.removeItem=function(e){return new m(og.bind(function(t,r){try{this.storage.removeItem(e)}catch(e){r(e)}t()},this))};var o6=oy("batch"),o4=function(e,t){t=t||{},this.storageKey=e,this.usePersistence=t.usePersistence,this.usePersistence&&(this.queueStorage=t.queueStorage||new o5,this.lock=new o3(e,{storage:t.sharedLockStorage||ib.localStorage,timeoutMS:t.sharedLockTimeoutMS})),this.reportError=t.errorReporter||og.bind(o6.error,o6),this.pid=t.pid||null,this.memQueue=[],this.initialized=!1,t.enqueueThrottleMs?this.enqueuePersisted=oA(og.bind(this._enqueuePersisted,this),t.enqueueThrottleMs):this.enqueuePersisted=og.bind(function(e){return this._enqueuePersisted([e])},this)};o4.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?m.resolve():this.queueStorage.init(
1).then(og.bind(function(){this.initialized=!0},this)).catch(og.bind(function(e){this.reportError("Error initializing queue persistence. Disabling persistence",e),this.initialized=!0,this.usePersistence=!1},this))},o4.prototype.enqueue=function(e,t){var r={id:oM(),flushAfter:new Date().getTime()+2*t,payload:e};return this.usePersistence?this.enqueuePersisted(r):(this.memQueue.push(r),m.resolve(!0))},o4.prototype._enqueuePersisted=function(e){var t=og.bind(function(){return this.ensureInit().then(og.bind(function(){return this.readFromStorage()},this)).then(og.bind(function(t){return this.saveToStorage(t.concat(e))},this)).then(og.bind(function(t){return t&&(this.memQueue=this.memQueue.concat(e)),t},this)).catch(og.bind(function(t){return this.reportError("Error enqueueing items",t,e),!1},this))},this);return this.lock.withLock(t,this.pid).catch(og.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this))},o4.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);return this.usePersistence&&t.length<e?this.ensureInit().then(og.bind(function(){return this.readFromStorage()},this)).then(og.bind(function(r){if(r.length){var n={};og.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)):m.resolve(t)};var o8=function(e,t){var r=[];return og.each(e,function(e){e.id&&!t[e.id]&&r.push(e)}),r};o4.prototype.removeItemsByID=function(e){var t={};if(og.each(e,function(e){t[e]=!0}),this.memQueue=o8(this.memQueue,t),!this.usePersistence)return m.resolve(!0);var r=og.bind(function(){return this.ensureInit().then(og.bind(function(){return this.readFromStorage()},this)).then(og.bind(function(e){return e=o8(e,t),this.saveToStorage(e)},this)).then(og.bind(function(){return this.readFromStorage()},this)).then(og.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(og.bind(function(t){return this.reportError("Error removing items",t,e),!1},this))},this);return this.lock.withLock(r,this.pid).catch(og.bind(function(e){return this.reportError("Error acquiring storage lock",e),!oS(this.lock.storage,!0)&&r().then(og.bind(function(e){return e||this.queueStorage.removeItem(this.storageKey).then(function(){return e})},this)).catch(og.bind(function(e){return this.reportError("Error clearing queue",e),!1},this))},this))};var o9=function(e,t){var r=[];return og.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};o4.prototype.updatePayloads=function(e){return(this.memQueue=o9(this.memQueue,e),this.usePersistence)?this.lock.withLock(og.bind(function(){return this.ensureInit().then(og.bind(function(){return this.readFromStorage()},this)).then(og.bind(function(t){return t=o9(t,e),this.saveToStorage(t)},this)).catch(og.bind(function(t){return this.reportError("Error updating items",e,t),!1},this))},this),this.pid).catch(og.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this)):m.resolve(!0)},o4.prototype.readFromStorage=function(){return this.ensureInit().then(og.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(og.bind(function(e){return e&&!og.isArray(e)&&(this.reportError("Invalid storage entry:",e),e=null),e||[]},this)).catch(og.bind(function(e){return this.reportError("Error retrieving queue",e),[]},this))},o4.prototype.saveToStorage=function(e){return this.ensureInit().then(og.bind(function(){return this.queueStorage.setItem(this.storageKey,e)},this)).then(function(){return!0}).catch(og.bind(function(e){return this.reportError("Error saving queue",e),!1},this))},o4.prototype.clear=function(){return(this.memQueue=[],this.usePersistence)?this.ensureInit().then(og.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):m.resolve()};var o7=oy("batch"),se=function(e,t){this.errorReporter=t.errorReporter,this.queue=new o4(e,{errorReporter:og.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};se.prototype.enqueue=function(e){return this.queue.enqueue(e,this.flushInterval)},se.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},se.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},se.prototype.clear=function(){return this.queue.clear()},se.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},se.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},se.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(og.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))},se.prototype.sendRequestPromise=function(e,t){return new m(og.bind(function(r){this.sendRequest(e,t,r)},this))},se.prototype.flush=function(e){if(this.requestInProgress)return o7.log("Flush: Request already in progress"),m.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(og.bind(function(i){var o=i.length===n,s=[],a={};if(og.each(i,function(e){var t=e.payload;if(this.beforeSendHook&&!e.orphaned&&(t=this.beforeSendHook(t)),t){t.event&&t.properties&&(t.properties=og.extend({},t.properties,{mp_sent_by_lib_version:i4.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(),m.resolve();var u=og.bind(function(){return this.queue.removeItemsByID(og.map(i,function(e){return e.id})).then(og.bind(function(e){return(og.each(i,og.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(),m.resolve()):this.flush():(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),m.resolve())},this))},this),c=og.bind(function(o){this.requestInProgress=!1;try{if(e.unloading)return this.queue.updatePayloads(a);if(og.isObject(o)&&"timeout"===o.error&&new Date().getTime()-r>=t)return this.reportError("Network timeout; retrying"),this.flush();if(og.isObject(o)&&(o.httpStatusCode>=500||429===o.httpStatusCode||o.httpStatusCode<=0&&!oN()||"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),m.resolve()}if(!og.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(),m.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"),o7.log("MIXPANEL REQUEST:",s),this.sendRequestPromise(s,l).then(c)},this)).catch(og.bind(function(e){this.reportError("Error flushing request queue",e),this.resetFlush()},this))},se.prototype.reportError=function(e,t){if(o7.error.apply(o7.error,arguments),this.errorReporter)try{t instanceof Error||(t=Error(e)),this.errorReporter(e,t)}catch(e){o7.error(e)}};var st=function(e){var t=Date.now();return!e||t>e.maxExpires||t>e.idleExpires},sr=oy("recorder"),sn=ib.CompressionStream,si={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},so=new Set([nS.MouseMove,nS.MouseInteraction,nS.Scroll,nS.ViewportResize,nS.Input,nS.TouchMove,nS.MediaInteraction,nS.Drag,nS.Selection]),ss=function(e){this._mixpanel=e.mixpanelInstance,this._onIdleTimeout=e.onIdleTimeout||oD,this._onMaxLengthReached=e.onMaxLengthReached||oD,this._onBatchSent=e.onBatchSent||oD,this._rrwebRecord=e.rrwebRecord||null,this._stopRecording=null,this.replayId=e.replayId,this.batchStartUrl=e.batchStartUrl||null,this.replayStartUrl=e.replayStartUrl||null,this.idleExpires=e.idleExpires||null,this.maxExpires=e.maxExpires||null,this.replayStartTime=e.replayStartTime||null,this.seqNo=e.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=864e5,this.recordMinMs=0;var t=oS(e.sharedLockStorage,!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new oq(oU),this.batcher=new se(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:si,send
1RequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:e.sharedLockStorage,usePersistence:t,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:250,sharedLockTimeoutMS:1e4})};ss.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},ss.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.batcher.flush().then((function(){return this.queueStorage.removeItem(this.batcherKey)}).bind(this))},ss.prototype.getConfig=function(e){return this._mixpanel.get_config(e)},ss.prototype.get_config=function(e){return this.getConfig(e)},ss.prototype.startRecording=function(e){if(null===this._rrwebRecord){this.reportError("rrweb record function not provided. ");return}if(null!==this._stopRecording){sr.log("Recording already in progress, skipping startRecording.");return}this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>864e5&&(this.recordMaxMs=864e5,sr.critical("record_max_ms cannot be greater than 86400000ms. Capping value.")),this.maxExpires||(this.maxExpires=new Date().getTime()+this.recordMaxMs),this.recordMinMs=this.getConfig("record_min_ms"),this.recordMinMs>8e3&&(this.recordMinMs=8e3,sr.critical("record_min_ms cannot be greater than 8000ms. Capping value.")),this.replayStartTime||(this.replayStartTime=new Date().getTime(),this.batchStartUrl=og.info.currentUrl(),this.replayStartUrl=og.info.currentUrl()),e||this.recordMinMs>0?this.batcher.stop():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);try{this._stopRecording=this._rrwebRecord({emit:(function(e){if(this.idleExpires&&this.idleExpires<e.timestamp){this._onIdleTimeout();return}e.type===nx.IncrementalSnapshot&&so.has(e.data.source)&&(this.batcher.stopped&&new Date().getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),t()),this.__enqueuePromise=this.batcher.enqueue(e)}
1).bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:r,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextClass:this.getConfig("record_mask_text_class"),maskTextSelector:this.getConfig("record_mask_text_selector"),recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15}})}catch(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 n=this.maxExpires-new Date().getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),n)},ss.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},ss.prototype.isRrwebStopped=function(){return null===this._stopRecording},ss.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)},ss.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,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:e}},ss.deserialize=function(e,t){return new ss(og.extend({},t,{replayId:e.replayId,batchStartUrl:e.batchStartUrl,replayStartUrl:e.replayStartUrl,idleExpires:e.idleExpires,maxExpires:e.maxExpires,replayStartTime:e.replayStartTime,seqNo:e.seqNo,sharedLockStorage:t.sharedLockStorage}))},ss.prototype._sendRequest=function(e,t,r,n){var i=(function(t,r){200===t.status&&this.replayId===e&&(this.seqNo++,this.batchStartUrl=og.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");ib.fetch(o+"/"+this.getConfig("api_routes").record+"?"+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})})},ss.prototype._flushEvents=oH(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===nx.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:i4.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},p=JSON.stringify(e);Object.assign(l,this.getUserIdInfo()),sn?new Response(new Blob([p],{type:"application/json"}).stream().pipeThrough(new sn("gzip"))).blob().then((function(e){l.format="gzip",this._sendRequest(i,l,e,r)}).bind(this)):(l.format="body",this._sendRequest(i,l,p,r))}}),ss.prototype.reportError=function(e,t){sr.error.apply(sr.error,arguments);try{t||e instanceof Error||(e=Error(e)),this.getConfig("error_reporter")(e,t)}catch(e){sr.error(e)}};var sa=function(e){this.idb=new oq(oB),this.errorReporter=e.errorReporter,this.mixpanelInstance=e.mixpanelInstance,this.sharedLockStorage=e.sharedLockStorage};sa.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")},sa.prototype.handleError=function(e){this.errorReporter("IndexedDB error: ",e)},sa.prototype.setActiveRecording=function(e){if(!this.isPersistenceEnabled())return m.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."),m.resolve())},sa.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 st(e)?null:e}).bind(this)).catch(this.handleError.bind(this)):m.resolve(null)},sa.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()},sa.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))},sa.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):m.resolve()},sa.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 st(e)}).map((function(e){return ss.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 m.all(t)}).bind(this)).catch(this.handleError.bind(this)):m.resolve([])};var su=oy("recorder"),sc=function(e,t,r){this.mixpanelInstance=e,this.rrwebRecord=t||iu,this.sharedLockStorage=r,this.recordingRegistry=new sa({mixpanelInstance:this.mixpanelInstance,errorReporter:su.error,sharedLockStorage:r}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};sc.prototype.startRecording=function(e){if(e=e||{},this.activeRecording&&!this.activeRecording.isRrwebStopped()){su.log("Recording already in progress, skipping startRecording.");return}var t=(function(){su.log("Idle timeout reached, restarting recording."),this.resetRecording()}).bind(this),r=(function(){su.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:og.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return e.activeSerializedRecording?this.activeRecording=ss.deserialize(e.activeSerializedRecording,i):this.activeRecording=new ss(i),this.activeRecording.startRecording(e.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())},sc.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))},sc.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)},sc.prototype._stopCurrentRecording=function(e,t){if(this.activeRecording){var r=this.activeRecording.stopRecording(e);return t&&(this.activeRecording=null),r}return m.resolve()},sc.prototype.resumeRecording=function(e){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),m.resolve(null)):this.recordingRegistry.getActiveRecording().then((function(t){return t&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:t}):e?this.startRecording({shouldStopBatcher:!1}):(su.log("No resumable recording found."),null)}).bind(this))},sc.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})},sc.prototype.getActiveReplayId=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()?this.activeRecording.replayId:null},Object.defineProperty(sc.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),ib.__mp_recorder=sc;
1var sl="change",sp="click",sh="hashchange",sf="load",sd="mp_locationchange",sg="popstate",sm="scrollend",sv="scroll",sy="submit",sb="visibilitychange",s_=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],sw=["mp-include"],sk=["mp-no-track"],sx=sk.concat(["mp-sensitive"]),sS=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],sC={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},sE={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},sI={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},sO=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],sR=oy("autocapture");function sA(e){for(var t={},r=sM(e).split(" "),n=0;n<r.length;n++){var i=r[n];i&&(t[i]=!0)}return t}function sM(e){switch(typeof e.className){case"string":return e.className;case"object":return e.className.baseVal||e.getAttribute("class")||"";default:return""}}function sT(e,t,r,n,i,o){var s={$classes:sM(e).split(" "),$tag_name:e.tagName.toLowerCase()},a=e.id;a&&(s.$id=a),sU(e,t,i,o)&&og.each(sS.concat(n),function(t){if(e.hasAttribute(t)&&!r[t]){var n=e.getAttribute(t);sB(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&&!sD(e));return e}(l);)u++,l.tagName===e.tagName&&c++;return s.$nth_child=u,s.$nth_of_type=c,s}function sP(e,t,r,n){var i="";return sU(e,t,r,n)&&e.childNodes&&e.childNodes.length&&og.each(e.childNodes,function(e){sF(e)&&e.textContent&&(i+=og.trim(e.textContent).split(/(\s+)/).filter(sB).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),og.trim(i)}function sL(e,t,r,n){if(r)try{if(!r(e,t))return!1}catch(e){return sR.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){sR.critical("Error while checking selector: "+o,e)}}return!1}function sN(e,t,r,n){if(r)try{if(r(e,t))return!0}catch(e){return sR.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){sR.critical("Error while checking selector: "+o,e)}}var s=sA(e);for(i=0;i<sk.length;i++)if(s[sk[i]])return!0;return!1}function sD(e){return e&&1===e.nodeType}function sj(e,t){return e&&e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function sF(e){return e&&3===e.nodeType}function sU(e,t,r,n){if(!sL(e,t,r,n))return!1;for(var i,o=e;o.parentNode&&!sj(o,"body");o=o.parentNode){var s=sA(o);for(i=0;i<sx.length;i++)if(s[sx[i]])return!1}var a=sA(e);for(i=0;i<sw.length;i++)if(a[sw[i]])return!0;if(sj(e,"input")||sj(e,"select")||sj(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}var c=e.name||e.id||"";return!("string"==typeof c&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(c.replace(/[^a-zA-Z0-9]/g,"")))}function sB(e){return!(null===e||og.isUndefined(e)||"string"==typeof e&&(e=og.trim(e),/^(?:(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 sz(e){var t="onscrollend"in ib,r=ob(e),n=sm;if(!t){var i=null;r=ob(function(){clearTimeout(i),i=setTimeout(e,100)}),n=sv}return{listener:r,eventType:n}}function sq(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<sO.length;t++)if(e.hasAttribute(sO[t]))return!0;return!1}(e))||!!((t=e.getAttribute("role"))&&sC[t.trim().split(/\s+/)[0].toLowerCase()]||"a"===r&&e.hasAttribute("href")||e.hasAttribute("tabindex"))}function sW(){this.clicks=[]}function sV(e,t){this.changeCallback=e||function(){},this.observerConfig=t,this.observedShadowRoots=null,this.shadowObservers=[]}sW.prototype.isRageClick=function(e,t,r){var n=(r=r||{}).threshold_px||30,i=r.timeout_ms||1e3,o=r.click_count||4,s=Date.now(),a=this.clicks[this.clicks.length-1];
vendor: 5,985 bytes, line 1
1if(a&&s-a.timestamp<i&&Math.sqrt(Math.pow(e-a.x,2)+Math.pow(t-a.y,2))<n){if(this.clicks.push({x:e,y:t,timestamp:s}),this.clicks.length>=o)return this.clicks=[],!0}else this.clicks=[{x:e,y:t,timestamp:s}];return!1},sV.prototype.getEventTarget=function(e){if(this.observedShadowRoots){var t=this.getComposedPath(e);return t&&t.length?t[0]:e.target||e.srcElement}},sV.prototype.getComposedPath=function(e){return"composedPath"in e?e.composedPath():[]},sV.prototype.observeFromEvent=function(e){if(this.observedShadowRoots)for(var t=this.getComposedPath(e),r=0;r<t.length;r++){var n=t[r];n&&n.shadowRoot&&this.observeShadowRoot(n.shadowRoot)}},sV.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){sR.critical("Error while observing shadow root",e)}}},sV.prototype.start=function(){if(!this.observedShadowRoots){if(!("undefined"!=typeof WeakSet)){sR.critical("Shadow DOM observation unavailable: WeakSet not supported");return}this.observedShadowRoots=new WeakSet}},sV.prototype.stop=function(){if(this.observedShadowRoots){for(var e=0;e<this.shadowObservers.length;e++)try{this.shadowObservers[e].disconnect()}catch(e){sR.critical("Error while disconnecting shadow DOM observer",e)}this.shadowObservers=[],this.observedShadowRoots=null}};var s$=[sl,"input",sy,"select","toggle"],sG=[sm],sH=[sh],sY={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function sZ(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}sZ.prototype.addClick=function(e){var t=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(e);return t||(t=e.target||e.srcElement),!(!t||function(e){if(!e||!e.tagName)return!0;var t=e.tagName.toLowerCase();if(sE[t])return!0;if(sq(e))return!1;for(var r=e.parentElement,n=0;r&&n<5;){if(sq(r))return!1;if(r.getRootNode&&r.getRootNode()!==oo){var i=r.getRootNode();if(i.host&&sq(i.host))return!1}r=r.parentElement,n++}return!!sI[t]}(t))&&(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(e),this.pendingClicks.push({element:t,event:e,timestamp:Date.now()}),!0)},sZ.prototype.trackClick=function(e,t){if(!this.isTracking)return!1;var r=this.addClick(e);return r&&this.triggerProcessing(t),r},sZ.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},sZ.prototype.hasChangesAfter=function(e){return this.lastChangeEventTimestamp>=e-100},sZ.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()},sZ.prototype.triggerProcessing=function(e){this.processingActive||(this.processingActive=!0,this.processRecursively(e))},sZ.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)},sZ.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var e=this;s$.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}})}),sH.forEach(function(t){var r=function(){e.recordChangeEvent()};window.addEventListener(t,r),e.eventListeners.push({target:window,event:t,handler:r})}),sG.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,sY)}catch(e){sR.critical("Error while setting up mutation observer",e)}if(window.customElements)try{this.shadowDOMObserver=new sV(function(){e.recordChangeEvent()},sY),this.shadowDOMObserver.start()}catch(e){sR.critical("Error while setting up shadow DOM observer",e),this.shadowDOMObserver=null}}},sZ.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){sR.critical("Error while removing event listener",e)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(e){sR.critical("Error while disconnecting mutation observer",e)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(e){sR.critical("Error while stopping shadow DOM observer",e)}this.shadowDOMObserver=null}}};var sX="autocapture",sJ="full-url",sK="allow_selectors",sQ="allow_url_regexes",s0="block_attrs",s1="block_element_callback",s2="block_selectors",s3="block_url_regexes",s5="capture_extra_attrs",s6="capture_text_content",s4="scroll_capture_all",s8="scroll_depth_percent_checkpoints",s9="click",
1s7="dead_click",ae="input",at="pageview",ar="rage_click",an="scroll",ai="page_leave",ao="submit",as={};as[sK]=[],as[sQ]=[],as[s0]=[],as[s1]=null,as[s2]=[],as[s3]=[],as[s5]=[],as[s6]=!1,as[s4]=!1,as[s8]=[25,50,75,100],as[s9]=!0,as[s7]=!0,as[ae]=!0,as[at]=sJ,as[ar]=!0,as[an]=!0,as[ai]=!1,as[ao]=!0;var aa={$mp_autocapture:!0},au="$mp_click",ac="$mp_dead_click",al="$mp_rage_click",ap=function(e){this.mp=e,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};ap.prototype.init=function(){if(!function(){try{return!!oo.createElement("div").matches}catch(e){return!1}}()){sR.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()},ap.prototype.getFullConfig=function(){var e=this.mp.get_config(sX);return e?og.isObject(e)?og.extend({},as,e):as:{}},ap.prototype.getConfig=function(e){return this.getFullConfig()[e]},ap.prototype.currentUrlBlocked=function(){var e,t=og.info.currentUrl(),r=this.getConfig(sQ)||[];if(r.length){var n=!1;for(e=0;e<r.length;e++){var i=r[e];try{if(t.match(i)){n=!0;break}}catch(e){return sR.critical("Error while checking block URL regex: "+i,e),!0}}if(!n)return!0}var o=this.getConfig(s3)||[];if(!o||!o.length)return!1;for(e=0;e<o.length;e++)try{if(t.match(o[e]))return!0}catch(t){return sR.critical("Error while checking block URL regex: "+o[e],t),!0}return!1},ap.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(sX)?this.getConfig(at):this.mp.get_config("track_pageview")},ap.prototype.trackDomEvent=function(e,t){if(!this.currentUrlBlocked()){var r=this.mp.is_recording_heatmap_data()&&(t===au&&!this.getConfig(s9)||t===al&&!this._getClickTrackingConfig(ar)||t===ac&&!this._getClickTrackingConfig(s7)),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={};og.each(i,function(e){l[e]=!0});var p=null,h=void 0===e.target?e.srcElement:e.target;if(sF(h)&&(h=h.parentNode),function(e,t){if(!e||sj(e,"html")||!sD(e))return!1;switch(e.tagName.toLowerCase()){case"form":return t.type===sy;case"input":if(-1===["button","submit"].indexOf(e.getAttribute("type")))return t.type===sl;return t.type===sp;case"select":case"textarea":return t.type===sl;default:return t.type===sp}}(h,e)&&sL(h,e,r,n)&&!sN(h,e,o,s)){for(var f=[h],d=h;d.parentNode&&!sj(d,"body");)f.push(d.parentNode),d=d.parentNode;var g,m=[],v=!1;if(og.each(f,function(t){var i=sU(t,e,r,n);l.href||"a"!==t.tagName.toLowerCase()||(g=t.getAttribute("href"),g=i&&sB(g)&&g),sN(t,e,o,s)&&(v=!0),m.push(sT(t,e,l,u,r,n))},this),!v){var y=oo.documentElement;if(p={$event_type:e.type,$host:ib.location.host,$pathname:ib.location.pathname,$elements:m,$el_attr__href:g,$viewportHeight:Math.max(y.clientHeight,ib.innerHeight||0),$viewportWidth:Math.max(y.clientWidth,ib.innerWidth||0),$pageHeight:oo.body.offsetHeight||0,$pageWidth:oo.body.offsetWidth||0},og.each(u,function(e){if(!l[e]&&h.hasAttribute(e)){var t=h.getAttribute(e);sB(t)&&(p["$el_attr__"+e]=t)}}),a&&(b=sP(h,e,r,n))&&b.length&&(p.$el_text=b),e.type===sp&&(og.each(s_,function(t){t in e&&(p["$"+t]=e[t])}),c&&(p.$captured_for_heatmap=!0),h=function(e){for(var t=e.target,r=e.composedPath(),n=0;n<r.length;n++){var i=r[n];if(sj(i,"a")||sj(i,"button")||sj(i,"input")||sj(i,"select")||i.getAttribute&&"button"===i.getAttribute("role")){t=i;break}if(i===t)break}return t}(e)),a){var b=sP(h,e,r,n);b&&b.length&&(p.$el_text=b)}if(h){if(!sL(h,e,r,n)||sN(h,e,o,s))return null;var _=sT(h,e,l,u,r,n);p.$target=_,p.$el_classes=_.$classes,og.extend(p,og.strip_empty_properties({$el_id:_.$id,$el_tag_name:_.$tag_name}))}}}return p}(e,{allowElementCallback:this.getConfig("allow_element_callback"),allowSelectors:this.getConfig(sK),blockAttrs:this.getConfig(s0),blockElementCallback:this.getConfig(s1),blockSelectors:this.getConfig(s2),captureExtraAttrs:this.getConfig(s5),captureTextContent:this.getConfig(s6),captured
1ForHeatMap:r});n&&(og.extend(n,aa),this.mp.track(t,n))}},ap.prototype.initPageListeners=function(){if(ib.removeEventListener(sg,this.listenerPopstate),ib.removeEventListener(sh,this.listenerHashchange),this.pageviewTrackingConfig()||this.getConfig(ai)||this.mp.get_config("record_heatmap_data")){this.listenerPopstate=function(){ib.dispatchEvent(new Event(sd))},this.listenerHashchange=function(){ib.dispatchEvent(new Event(sd))},ib.addEventListener(sg,this.listenerPopstate),ib.addEventListener(sh,this.listenerHashchange);var e=ib.history.pushState;"function"==typeof e&&(ib.history.pushState=function(t,r,n){e.call(ib.history,t,r,n),ib.dispatchEvent(new Event(sd))});var t=ib.history.replaceState;"function"==typeof t&&(ib.history.replaceState=function(e,r,n){t.call(ib.history,e,r,n),ib.dispatchEvent(new Event(sd))})}},ap.prototype._getClickTrackingConfig=function(e){var t=this.getConfig(e);return t?!0===t?{}:"object"==typeof t?t:{}:null},ap.prototype._trackPageLeave=function(e,t,r){if(!this.hasTrackedScrollSession){this.hasTrackedScrollSession=!0;var n=Math.max(oo.documentElement.clientHeight,ib.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=og.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||og.info.currentUrl(),$viewportHeight:n,$viewportWidth:Math.max(oo.documentElement.clientWidth,ib.innerWidth||0)},aa);this.mp.is_recording_heatmap_data()&&!this.getConfig(ai)&&(s.$captured_for_heatmap=!0),this.mp.track("$mp_page_leave",s,{transport:"sendBeacon"})}},ap.prototype._initScrollDepthTracking=function(){if(ib.removeEventListener(sv,this.listenerScrollDepth),ib.removeEventListener(sm,this.listenerScrollDepth),this.mp.get_config("record_heatmap_data")){sR.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(oo.documentElement.clientHeight,ib.innerHeight||0);var e=sz((function(){if(!this.currentUrlBlocked()){var e=Math.max(oo.documentElement.clientHeight,ib.innerHeight||0)+ib.scrollY;e>this.maxScrollViewDepth&&(this.maxScrollViewDepth=e),this.previousScrollHeight=oo.body.scrollHeight}}).bind(this));this.listenerScrollDepth=e.listener,ib.addEventListener(e.eventType,this.listenerScrollDepth)}},ap.prototype.initClickTracking=function(){ib.removeEventListener(sp,this.listenerClick),(this.getConfig(s9)||this.mp.get_config("record_heatmap_data"))&&(sR.log("Initializing click tracking"),this.listenerClick=(function(e){(this.getConfig(s9)||this.mp.is_recording_heatmap_data())&&this.trackDomEvent(e,au)}).bind(this),ib.addEventListener(sp,this.listenerClick))},ap.prototype.initDeadClickTracking=function(){if(!this._getClickTrackingConfig(s7)&&!this.mp.get_config("record_heatmap_data")){this.stopDeadClickTracking();return}sR.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new sZ((function(e){this.trackDomEvent(e,ac)}).bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=(function(e){var t=this._getClickTrackingConfig(s7);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),ib.addEventListener(sp,this.listenerDeadClick))},ap.prototype.initInputTracking=function(){ib.removeEventListener(sl,this.listenerChange),this.getConfig(ae)&&(sR.log("Initializing input tracking"),this.listenerChange=(function(e){this.getConfig(ae)&&this.trackDomEvent(e,"$mp_input_change")}).bind(this),ib.addEventListener(sl,this.listenerChange))},ap.prototype.initPageviewTracking=function(){if(ib.removeEventListener(sd,this.listenerLocationchange),this.pageviewTrackingConfig()){
1sR.log("Initializing pageview tracking");var e="",t=!1;this.currentUrlBlocked()||(t=this.mp.track_pageview(aa)),t&&(e=og.info.currentUrl()),this.listenerLocationchange=ob((function(){if(!this.currentUrlBlocked()){var t=og.info.currentUrl(),r=!1,n=t.split("#")[0].split("?")[0]!==e.split("#")[0].split("?")[0],i=this.pageviewTrackingConfig();i===sJ?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(aa)&&(e=t),n&&(this.lastScrollCheckpoint=0,sR.log("Path change: re-initializing scroll depth checkpoints")))}}).bind(this)),ib.addEventListener(sd,this.listenerLocationchange)}},ap.prototype.initRageClickTracking=function(){ib.removeEventListener(sp,this.listenerRageClick),(this._getClickTrackingConfig(ar)||this.mp.get_config("record_heatmap_data"))&&(sR.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new sW),this.listenerRageClick=(function(e){var t=this._getClickTrackingConfig(ar);!(!t&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked())&&this._rageClickTracker.isRageClick(e.pageX,e.pageY,t)&&this.trackDomEvent(e,al)}).bind(this),ib.addEventListener(sp,this.listenerRageClick))},ap.prototype.initScrollTracking=function(){if(ib.removeEventListener(sm,this.listenerScroll),ib.removeEventListener(sv,this.listenerScroll),this.getConfig(an)){sR.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var e=sz((function(){if(!(!this.getConfig(an)||this.currentUrlBlocked())){var e=this.getConfig(s4),t=(this.getConfig(s8)||[]).slice().sort(function(e,t){return e-t}),r=ib.scrollY,n=og.extend({$scroll_top:r},aa);try{var i=oo.body.scrollHeight,o=Math.round(r/(i-ib.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){sR.critical("Error while calculating scroll percentage",e)}e&&this.mp.track("$mp_scroll",n)}}).bind(this));this.listenerScroll=e.listener,ib.addEventListener(e.eventType,this.listenerScroll)}},ap.prototype.initSubmitTracking=function(){ib.removeEventListener(sy,this.listenerSubmit),this.getConfig(ao)&&(sR.log("Initializing submit tracking"),this.listenerSubmit=(function(e){this.getConfig(ao)&&this.trackDomEvent(e,"$mp_submit")}).bind(this),ib.addEventListener(sy,this.listenerSubmit))},ap.prototype.initPageLeaveTracking=function(){if(oo.removeEventListener(sb,this.listenerPageLeaveVisibilitychange),ib.removeEventListener(sd,this.listenerPageLeaveLocationchange),ib.removeEventListener(sf,this.listenerPageLoad),this.getConfig(ai)||this.mp.get_config("record_heatmap_data")){sR.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var e=og.info.currentUrl();this.listenerPageLoad=(function(){this.previousScrollHeight=oo.body.scrollHeight}).bind(this),ib.addEventListener(sf,this.listenerPageLoad),this.listenerPageLeaveLocationchange=ob((function(t){if(!this.currentUrlBlocked()){var r=og.info.currentUrl();r!==e&&(this._trackPageLeave(t,e,this.previousScrollHeight),e=r,this.maxScrollViewDepth=Math.max(oo.documentElement.clientHeight,ib.innerHeight||0),this.previousScrollHeight=oo.body.scrollHeight,this.hasTrackedScrollSession=!1)}}).bind(this)),ib.addEventListener(sd,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=(function(t){oo.hidden&&this._trackPageLeave(t,e,this.previousScrollHeight)}).bind(this),oo.addEventListener(sb,this.listenerPageLeaveVisibilitychange)}},ap.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(ib.removeEventListener(sp,this.listenerDeadClick),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)},o_(ap);var ah=oy("flags"),af="flags",ad="context",ag={};ag[ad]={};var am=function(e){this.fetch=ib.fetch,this.getFullApiRoute=e.getFullApiRoute,this.getMpConfig=e.getConfigFunc,this.setMpConfig=e.setConfigFunc,this.getMpProperty=e.getPropertyFunc,this.track=e.trackingFunc};am.prototype.init=function(){if(!this.minApisSupported()){ah.critical("Feature Flags unavailable: missing minimum required APIs");return}this.flags=null,this.fetchFlags(),this.trackedFeatures=new Set},am.prototype.getFullConfig=function(){var e=this.getMpConfig(af);return e?og.isObject(e)?og.extend({},ag,e):ag:{}},am.prototype.getConfig=function(e){return this.getFullConfig()[e]},am.prototype.isSystemEnabled=function(){return!!this.getMpConfig(af)},am.prototype.updateContext=function(e,t){if(!this.isSystemEnabled())return ah.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var r=this.getMpConfig(af);og.isObject(r)||(r={});var n=t&&t.replace?{}:this.getConfig(ad);return r[ad]=og.extend({},n,e),this.setMpConfig(af,r),this.fetchFlags()},am.prototype.areFlagsReady=function(){return this.isSystemEnabled()||ah.error("Feature Flags not enabled"),!!this.flags},am.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var e=this.getMpProperty("distinct_id"),t=this.getMpProperty("$device_id"),r="00-"+og.UUID().replace(/-/g,"")+"-"+og.UUID().replace(/-/g,"").substring(0,16)+"-01";ah.log("Fetching flags for distinct ID: "+e);var n=og.extend({distinct_id:e,device_id:t},this.getConfig(ad)),i=new URLSearchParams;i.set("context",JSON.stringify(n)),i.set("token",this.getMpConfig("token")),i.set("mp_lib","web"),i.set("$lib_version",i4.LIB_VERSION);var o=this.getFullApiRoute()+"?"+i.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(ib,o,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:r}}).then((function(e){return this.markFetchComplete(),e.json().then((function(e){var t=e.flags;if(!t)throw Error("No flags in API response");var n=new Map;og.each(t,function(e,t){n.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})}),this.flags=n,this._traceparent=r}).bind(this)).catch((function(e){this.markFetchComplete(),ah.error(e)}).bind(this))}).bind(this)).catch((function(e){this.markFetchComplete(),ah.error(e)}).bind(this)),this.fetchPromise},am.prototype.markFetchComplete=function(){if(!this._fetchInProgressStartTime){ah.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},am.prototype.getVariant=function(e,t){return this.fetchPromise?this.fetchPromise.then((function(){return this.getVariantSync(e,t)}).bind(this)).catch(function(e){return ah.error(e),t}):new Promise(function(e){ah.critical("Feature Flags not initialized"),e(t)})},am.prototype.getVariantSync=function(e,t){if(!this.areFlagsReady())return ah.log("Flags not loaded yet"),t;var r=this.flags.get(e);return r?(this.trackFeatureCheck(e,r),r):(ah.log('No flag found: "'+e+'"'),t)},am.prototype.getVariantValue=function(e,t){return this.getVariant(e,{value:t}).then(function(e){return e.value}).catch(function(e){return ah.error(e),t})},am.prototype.getFeatureData=function(e,t){return ah.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value(
1) instead."),this.getVariantValue(e,t)},am.prototype.getVariantValueSync=function(e,t){return this.getVariantSync(e,{value:t}).value},am.prototype.isEnabled=function(e,t){return this.getVariantValue(e).then((function(){return this.isEnabledSync(e,t)}).bind(this)).catch(function(e){return ah.error(e),t})},am.prototype.isEnabledSync=function(e,t){t=t||!1;var r=this.getVariantValueSync(e,t);return!0!==r&&!1!==r&&(ah.error('Feature flag "'+e+'" value: '+r+" is not a boolean; returning fallback value: "+t),r=t),r},am.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":new Date(this._fetchStartTime).toISOString(),"Variant fetch complete time":new Date(this._fetchCompleteTime).toISOString(),"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};"undefined"!==t.experiment_id&&(r.$experiment_id=t.experiment_id),"undefined"!==t.is_experiment_active&&(r.$is_experiment_active=t.is_experiment_active),"undefined"!==t.is_qa_tester&&(r.$is_qa_tester=t.is_qa_tester),this.track("$experiment_started",r)}},am.prototype.minApisSupported=function(){return!!this.fetch&&"undefined"!=typeof Promise&&"undefined"!=typeof Map&&"undefined"!=typeof Set},o_(am),am.prototype.are_flags_ready=am.prototype.areFlagsReady,am.prototype.get_variant=am.prototype.getVariant,am.prototype.get_variant_sync=am.prototype.getVariantSync,am.prototype.get_variant_value=am.prototype.getVariantValue,am.prototype.get_variant_value_sync=am.prototype.getVariantValueSync,am.prototype.is_enabled=am.prototype.isEnabled,am.prototype.is_enabled_sync=am.prototype.isEnabledSync,am.prototype.update_context=am.prototype.updateContext,am.prototype.get_feature_data=am.prototype.getFeatureData;var av=function(){};av.prototype.create_properties=function(){},av.prototype.event_handler=function(){},av.prototype.after_track_handler=function(){},av.prototype.init=function(e){return this.mp=e,this},av.prototype.track=function(e,t,r,n){var i=this,o=og.dom_query(e);if(0===o.length){om.error("The DOM query ("+e+") returned 0 elements");return}return og.each(o,function(e){og.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),window.setTimeout(i.track_callback(n,s,o,!0),a),i.mp.track(t,s,i.track_callback(n,s,o))})},this),!0},av.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))}},av.prototype.create_properties=function(e,t){return"function"==typeof e?e(t):og.extend({},e)};var ay=function(){this.override_event="click"};og.inherit(ay,av),ay.prototype.create_properties=function(e,t){var r=ay.superclass.create_properties.apply(this,arguments);return t.href&&(r.url=t.href),r},ay.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()},ay.prototype.after_track_handler=function(e,t){t.new_tab||setTimeout(function(){window.location=t.href},0)};var ab=function(){this.override_event="submit"};og.inherit(ab,av),ab.prototype.event_handler=function(e,t,r){r.element=t,e.preventDefault()},ab.prototype.after_track_handler=function(e,t){setTimeout(function(){t.element.submit()},0)};var a_="$set",aw="$set_once",ak="$unset",ax="$add",aS="$append",aC="$union",aE="$remove",aI={set_action:function(e,t){var r={},n={};return og.isObject(e)?og.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[a_]=n,r},unset_action:function(e){var t={},r=[];return og.isArray(e)||(e=[e]),og.each(e,function(e){this._is_reserved_property(e)||r.push(e)},this),t[ak]=r,t},set_once_action:function(e,t){var r={},n={};return og.isObject(e)?og.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[aw]=n,r},union_action:function(e,t){var r={},n={};return og.isObject(e)?og.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=og.isArray(e)?e:[e])},this):n[e]=og.isArray(t)?t:[t],r[aC]=n,r},append_action:function(e,t){var r={},n={};return og.isObject(e)?og.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[aS]=n,r},remove_action:function(e,t){var r={},n={};return og.isObject(e)?og.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[aE]=n,r},delete_action:function(){var e={};return e.$delete="",e}},aO=function(){};og.extend(aO.prototype,aI),aO.prototype._init=function(e,t,r){this._mixpanel=e,this._group_key=t,this._group_id=r},aO.prototype.set=oZ(function(e,t,r){var n=this.set_action(e,t);return og.isObject(e)&&(r=t),this._send_request(n,r)}),aO.prototype.set_once=oZ(function(e,t,r){var n=this.set_once_action(e,t);return og.isObject(e)&&(r=t),this._send_request(n,r)}),aO.prototype.unset=oZ(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)}
1),aO.prototype.union=oZ(function(e,t,r){og.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)}),aO.prototype.delete=oZ(function(e){var t=this.delete_action();return this._send_request(t,e)}),aO.prototype.remove=oZ(function(e,t,r){var n=this.remove_action(e,t);return this._send_request(n,r)}),aO.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=og.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)},aO.prototype._is_reserved_property=function(e){return"$group_key"===e||"$group_id"===e},aO.prototype._get_config=function(e){return this._mixpanel.get_config(e)},aO.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},aO.prototype.remove=aO.prototype.remove,aO.prototype.set=aO.prototype.set,aO.prototype.set_once=aO.prototype.set_once,aO.prototype.union=aO.prototype.union,aO.prototype.unset=aO.prototype.unset,aO.prototype.toString=aO.prototype.toString;var aR=function(){};og.extend(aR.prototype,aI),aR.prototype._init=function(e){this._mixpanel=e},aR.prototype.set=oY(function(e,t,r){var n=this.set_action(e,t);return og.isObject(e)&&(r=t),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),n[a_]=og.extend({},og.info.people_properties(),n[a_]),this._send_request(n,r)}),aR.prototype.set_once=oY(function(e,t,r){var n=this.set_once_action(e,t);return og.isObject(e)&&(r=t),this._send_request(n,r)}),aR.prototype.unset=oY(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)}),aR.prototype.increment=oY(function(e,t,r){var n={},i={};return og.isObject(e)?(og.each(e,function(e,t){if(!this._is_reserved_property(t)){if(isNaN(parseFloat(e))){om.error("Invalid increment value passed to mixpanel.people.increment - must be a number");return}i[t]=e}},this),r=t):(og.isUndefined(t)&&(t=1),i[e]=t),n[ax]=i,this._send_request(n,r)}),aR.prototype.append=oY(function(e,t,r){og.isObject(e)&&(r=t);var n=this.append_action(e,t);return this._send_request(n,r)}),aR.prototype.remove=oY(function(e,t,r){og.isObject(e)&&(r=t);var n=this.remove_action(e,t);return this._send_request(n,r)}),aR.prototype.union=oY(function(e,t,r){og.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)}),aR.prototype.track_charge=oY(function(){om.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")}),aR.prototype.clear_charges=function(e){return this.set("$transactions",[],e)},aR.prototype.delete_user=function(){if(!this._identify_called()){om.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)},aR.prototype.toString=function(){return this._mixpanel.toString()+".people"},aR.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=og.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),og.isUndefined(t)||t(this._get_config("verbose")?{status:-1,error:null}:-1),og.truncate(o,255))},aR.prototype._get_config=function(e){return this._mixpanel.get_config(e)},aR.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},aR.prototype._enqueue=function(e){a_ in e?this._mixpanel.persistence._add_to_people_queue(a_,e):aw in e?this._mixpanel.persistence._add_to_people_queue(aw,e):ak in e?this._mixpanel.persistence._add_to_people_queue(ak,e):ax in e?this._mixpanel.persistence._add_to_people_queue(ax,e):aS in e?this._mixpanel.persistence._add_to_people_queue(aS,e):aE in e?this._mixpanel.persistence._add_to_people_queue(aE,e):aC in e?this._mixpanel.persistence._add_to_people_queue(aC,e):om.error("Invalid call to _enqueue():",e)},aR.prototype._flush_one_queue=function(e,t,r,n){var i=this,o=og.extend({},this._mixpanel.persistence.load_queue(e)),s=o;!og.isUndefined(o)&&og.isObject(o)&&!og.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),og.isUndefined(r)||r(t,n)}))},aR.prototype._flush=function(e,t,r,n,i,o,s){var a=this;this._flush_one_queue(a_,this.set,e),this._flush_one_queue(aw,this.set_once,n),this._flush_one_queue(ak,this.unset,o,function(e){return og.keys(e)}),this._flush_one_queue(ax,this.increment,t),this._flush_one_queue(aC,this.union,i);var u=this._mixpanel.persistence.load_queue(aS);if(!og.isUndefined(u)&&og.isArray(u)&&u.length)for(var c,l=function(e,t){0===e&&a._mixpanel.persistence._add_to_people_queue(aS,c),og.isUndefined(r)||r(e,t)},p=u.length-1;p>=0;p--)c=(u=this._mixpanel.persistence.load_queue(aS)).pop(),a._mixpanel.persistence.save(),og.isEmptyObject(c)||a.append(c,l);var h=this._mixpanel.persistence.load_queue(aE);if(!og.isUndefined(h)&&og.isArray(h)&&h.length)for(var f,d=function(e,t){0===e&&a._mixpanel.persistence._add_to_people_queue(aE,f),og.isUndefined(s)||s(e,t)},g=h.length-1;g>=0;g--)f=(h=this._mixpanel.persistence.load_queue(aE)).pop(),a._mixpanel.persistence.save(),og.isEmptyObject(f)||a.remove(f,d)},aR.prototype._is_reserved_property=function(e){return"$distinct_id"===e||"$token"===e||"$device_id"===e||"$user_id"===e||"$had_persisted_distinct_id"===e},aR.prototype.set=aR.prototype.set,aR.prototype.set_once=aR.prototype.set_once,aR.prototype.unset=aR.prototype.unset,aR.prototype.increment=aR.prototype.increment,aR.prototype.append=aR.prototype.append,aR.prototype.remove=aR.prototype.remove,aR.prototype.union=aR.prototype.union,aR.prototype.track_charge=aR.prototype.track_charge,aR.prototype.clear_charges=aR.prototype.clear_charges,aR.prototype.delete_user=aR.prototype.delete_user,aR.prototype.toString=aR.prototype.toString;var aA="__mps",aM="__mpso",aT="__mpus",aP="__mpa",aL="__mpap",aN="__mpr",aD="__mpu",aj="$people_distinct_id",aF="__alias",aU="__timers",aB=[aA,aM,aT,aP,aL,aN,aD,aj,aF,aU],az=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&&(om.critical("Unknown persistence type "+t+"; falling back to cookie"),t=e.persistence="cookie"),"localStorage"===t&&og.localStorage.is_supported()?this.storage=og.localStorage:this.storage=og.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};az.prototype.properties=function(){var e={};return this.load(),og.each(this.props,function(t,r){og.include(aB,r)||(e[r]=t)}),e},az.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=og.extend({},e))}},az.prototype.upgrade=function(){var e,t;this.storage===og.localStorage?(e=og.cookie.parse(this.name),og.cookie.remove(this.name),og.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===og.cookie&&(t=og.localStorage.parse(this.name),og.localStorage.remove(this.name),t&&this.register_once(t))},az.prototype.save=function(){this.disabled||this.storage.set(this.name,oj(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},az.prototype.load_prop=function(e){return this.load(),this.props[e]},az.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},az.prototype.clear=function(){this.remove(),this.props={}},az.prototype.register_once=function(e,t,r){return!!og.isObject(e)&&(void 0===t&&(t="None"),this.expire_days=void 0===r?this.default_expiry:r,this.load(),og.each(e,function(e,r){this.props.hasOwnProperty(r)&&this.props[r]!==t||(this.props[r]=e)},this),this.save(),!0)},az.prototype.register=function(e,t){return!!og.isObject(e)&&(this.expire_days=void 0===t?this.default_expiry:t,this.load(),og.extend(this.props,e),this.save(),!0)},az.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())},az.prototype.update_search_keyword=function(e){this.register(og.info.searchInfo(e))},az.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:og.info.referringDomain(e)||"$direct"},"")},az.prototype.get_referrer_info=function(){return og.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},az.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)},az.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()},az.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())},az.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())},az.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())},az.prototype.get_cross_subdomain=function(){return this.cross_subdomain},az.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())},az.prototype._add_to_people_queue=function(e,t){var r=this._get_queue_key(e),n=t[e],i=this._get_or_create_queue(a_),o=this._get_or_create_queue(aw),s=this._get_or_create_queue(ak),a=this._get_or_create_queue(ax),u=this._get_or_create_queue(aC),c=this._get_or_create_queue(aE,[]),l=this._get_or_create_queue(aS,[]);r===aA?(og.extend(i,n),this._pop_from_people_queue(ax,n),this._pop_from_people_queue(aC,n),this._pop_from_people_queue(ak,n)):r===aM?(og.each(n,function(e,t){t in o||(o[t]=e)}),this._pop_from_people_queue(ak,n)):r===aT?og.each(n,function(e){og.each([i,o,a,u],function(t){e in t&&delete t[e]}),og.each(l,function(t){e in t&&delete t[e]}),s[e]=!0}):r===aP?(og.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(ak,n)):r===aD?(og.each(n,function(e,t){og.isArray(e)&&(t in u||(u[t]=[]),og.each(e,function(e){og.include(u[t],e)||u[t].push(e)}))}),this._pop_from_people_queue(ak,n)):r===aN?(c.push(n),this._pop_from_people_queue(aS,n)):r===aL&&(l.push(n),this._pop_from_people_queue(ak,n)),om.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),om.log(t),this.save()},az.prototype._pop_from_people_queue=function(e,t){var r=this.props[this._get_queue_key(e)];og.isUndefined(r)||og.each(t,function(t,n){e===aS||e===aE?og.each(r,function(e){e[n]===t&&delete e[n]}):delete r[n]},this)},az.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))},az.prototype._get_queue_key=function(e){return e===a_?aA:e===aw?aM:e===ak?aT:e===ax?aP:e===aS?aL:e
1===aE?aN:e===aC?aD:void om.error("Invalid queue:",e)},az.prototype._get_or_create_queue=function(e,t){var r=this._get_queue_key(e);return t=og.isUndefined(t)?{}:t,this.props[r]||(this.props[r]=t)},az.prototype.set_event_timer=function(e,t){var r=this.load_prop(aU)||{};r[e]=t,this.props[aU]=r,this.save()},az.prototype.remove_event_timer=function(e){var t=(this.load_prop(aU)||{})[e];return og.isUndefined(t)||(delete this.props[aU][e],this.save()),t};var aq=function(e,t){throw Error(e+" not available in this build.")},aW=function(e){return e},aV="mixpanel",a$="base64",aG="$device:",aH=ib.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,aY=!aH&&-1===ou.indexOf("MSIE")&&-1===ou.indexOf("Mozilla"),aZ=null;oi.sendBeacon&&(aZ=function(){return oi.sendBeacon.apply(oi,arguments)});var aX={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/"},aJ={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:aX,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:a$,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:oD,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:oD,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_block_class:RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video, audio",record_canvas:!1,record_collect_fonts:!1,record_heatmap_data:!1,record_idle_timeout_ms:18e5,record_mask_text_class:RegExp("^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$"),record_mask_text_selector:"*",record_max_ms:864e5,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},aK=!1,aQ=function(){},a0=function(e,t,r){var n,i=r===aV?y:y[r];if(i&&0===v)n=i;else{if(i&&!og.isArray(i)){om.error("You have already initialized "+r);return}n=new aQ}if(n._cached_groups={},n._init(e,t,r),n.people=new aR,n.people._init(n),!n.get_config("skip_first_touch_marketing")){var o=og.info.campaignParams(null),s={},a=!1;og.each(o,function(e,t){s["initial_"+t]=e,e&&(a=!0)}),a&&n.people.set_once(s)}return i4.DEBUG=i4.DEBUG||n.get_config("debug"),!og.isUndefined(i)&&og.isArray(i)&&(n._execute_array.call(n.people,i.people),n._execute_array(i)),n};aQ.prototype.init=function(e,t,r){if(og.isUndefined(r)){this.report_error("You must name your new library: init(token, config, name)");return}if(r===aV){this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");return}var n=a0(e,t,r);return y[r]=n,n._loaded(),n},aQ.prototype._init=function(e,t,r){t=t||{},this.__loaded=!0,this.config={};var n={};if(!("api_payload_format"in t)&&(t.api_host||aJ.api_host).match(/\.mixpanel\.com/)&&(n.api_payload_format="json"),this.set_config(og.extend({},aJ,n,t,{name:r,token:e,callback_fn:(r===aV?r:aV+"."+r)+"._jsc"})),this._jsc=oD,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests){if(og.localStorage.is_supported(!0)&&aH){if(this.init_batchers(),aZ&&ib.addEventListener){var i=og.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);ib.addEventListener("pagehide",function(e){e.persisted&&i()}),ib.addEventListener("visibilitychange",function(){"hidden"===oo.visibilityState&&i()})}}else this._batch_requests=!1,om.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),og.each(this.get_batcher_configs(),function(e){om.log("Clearing batch queue "+e.queue_key),og.localStorage.remove(e.queue_key)})}this.persistence=this.cookie=new az(this.config),this.unpersisted_superprops={},this._gdpr_init();var o=og.UUID();this.get_distinct_id()||this.register_once({distinct_id:aG+o,$device_id:o},""),this.flags=new am({getFullApiRoute:og.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:og.bind(this.get_config,this),setConfigFunc:og.bind(this.set_config,this),getPropertyFunc:og.bind(this.get_property,this),trackingFunc:og.bind(this.track,this)}),this.flags.init(),this.flags=this.flags,this.autocapture=new ap(this),this.autocapture.init(),this._init_tab_id(),this._check_and_start_session_recording()},aQ.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))om.log("Tab ID initialization skipped due to disable_persistence config");
1else if(og.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;(og.sessionStorage.get(r)||!og.sessionStorage.get(t))&&og.sessionStorage.set(t,"$tab-"+og.UUID()),og.sessionStorage.set(r,"1"),this.tab_id=og.sessionStorage.get(t),ib.addEventListener("beforeunload",function(){og.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.")},aQ.prototype.get_tab_id=function(){return this.tab_id||null},aQ.prototype._should_load_recorder=function(){if(this.get_config("disable_persistence"))return om.log("Load recorder check skipped due to disable_persistence config"),Promise.resolve(!1);var e=new oq(oB),t=this.get_tab_id();return e.init().then(function(){return e.getAll()}).then(function(e){for(var r=0;r<e.length;r++)if(st(e[r])||e[r].tabId===t)return!0;return!1}).catch(og.bind(function(e){this.report_error("Error checking recording registry",e)},this))},aQ.prototype._check_and_start_session_recording=oH(function(e){if(!ib.MutationObserver){om.critical("Browser does not support MutationObserver; skipping session recording");return}var t=og.bind(function(e){var t=og.bind(function(){this._recorder=this._recorder||new ib.__mp_recorder(this),this._recorder.resumeRecording(e)},this);og.isUndefined(ib.__mp_recorder)?aq(this.get_config("recorder_src"),t):t()},this),r=this.get_config("record_sessions_percent")>0&&100*Math.random()<=this.get_config("record_sessions_percent");e||r?t(!0):this._should_load_recorder().then(function(e){e&&t(!1)})}),aQ.prototype.start_session_recording=function(){this._check_and_start_session_recording(!0)},aQ.prototype.stop_session_recording=function(){return this._recorder?this._recorder.stopRecording():Promise.resolve()},aQ.prototype.pause_session_recording=function(){return this._recorder?this._recorder.pauseRecording():Promise.resolve()},aQ.prototype.resume_session_recording=function(){return this._recorder?this._recorder.resumeRecording():Promise.resolve()},aQ.prototype.is_recording_heatmap_data=function(){return this._get_session_replay_id()&&this.get_config("record_heatmap_data")},aQ.prototype.get_session_recording_properties=function(){var e={},t=this._get_session_replay_id();return t&&(e.$mp_replay_id=t),e},aQ.prototype.get_session_replay_url=function(){var e=null,t=this._get_session_replay_id();return t&&(e="https://mixpanel.com/projects/replay-redirect?"+og.HTTPBuildQuery({replay_id:t,distinct_id:this.get_distinct_id(),token:this.get_config("token")})),e},aQ.prototype._get_session_replay_id=function(){var e=null;return this._recorder&&(e=this._recorder.replayId),e||null},aQ.prototype.__get_recorder=function(){return this._recorder},aQ.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=og.info.campaignParams(null);og.each(e,(function(e,t){this.unregister(t)}).bind(this))}},aQ.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(oo.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(og.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(oo.referrer)},aQ.prototype._dom_loaded=function(){og.each(this.__dom_loaded_queue,function(e){this._track_dom.apply(this,e)},this),this.has_opted_out_tracking()||og.each(this.__request_queue,function(e){this._send_request.apply(this,e)},this),delete this.__dom_loaded_queue,delete this.__request_queue},aQ.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(!aK)return this.__dom_loaded_queue.push([e,t]),!1;var r=new e().init(this);return r.track.apply(r,t)},aQ.prototype._prepare_callback=function(e,t){if(og.isUndefined(e))return null;if(aH)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},aQ.prototype._send_request=function(e,t,r,n){var i=!0;if(aY)return this.__request_queue.push(arguments),i;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose
1:this.get_config("verbose")},s=null;!n&&(og.isFunction(r)||"string"==typeof r)&&(n=r,r=null),r=og.extend(o,r||{}),aH||(r.method="GET");var a="POST"===r.method,u=aZ&&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),!aH&&(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),og.extend(t,this.get_config("api_extra_query_params")),e+="?"+og.HTTPBuildQuery(t);var l=this;if("img"in t){var p=oo.createElement("img");p.src=e,oo.body.appendChild(p)}else if(u){try{i=aZ(e,s)}catch(e){l.report_error(e),i=!1}try{n&&n(i?1:0)}catch(e){l.report_error(e)}}else if(aH)try{var h=new XMLHttpRequest;h.open(r.method,e,!0);var f=this.get_config("xhr_headers");if(a&&(f["Content-Type"]="application/x-www-form-urlencoded"),og.each(f,function(e,t){h.setRequestHeader(t,e)}),r.timeout_ms&&void 0!==h.timeout){h.timeout=r.timeout_ms;var d=new Date().getTime()}h.withCredentials=!0,h.onreadystatechange=function(){if(4===h.readyState){if(200===h.status){if(n){if(c){try{e=og.JSONDecode(h.responseText)}catch(t){if(l.report_error(t),!r.ignore_json_errors)return;e=h.responseText}n(e)}else n(Number(h.responseText))}}else if(t=h.timeout&&!h.status&&new Date().getTime()-d>=h.timeout?"timeout":"Bad HTTP status: "+h.status+" "+h.statusText,l.report_error(t),n){if(c){var e,t,i=h.responseHeaders||{};n({status:0,httpStatusCode:h.status,error:t,retryAfter:i["Retry-After"]})}else n(0)}}},h.send(s)}catch(e){l.report_error(e),i=!1}else{var g=oo.createElement("script");g.type="text/javascript",g.async=!0,g.defer=!0,g.src=e;var m=oo.getElementsByTagName("script")[0];m.parentNode.insertBefore(g,m)}return i},aQ.prototype._execute_array=function(e){var t,r=[],n=[],i=[];og.each(e,function(e){e&&(t=e[0],og.isArray(t)?i.push(e):"function"==typeof e?e.call(this):og.isArray(e)&&"alias"===t?r.push(e):og.isArray(e)&&-1!==t.indexOf("track")&&"function"==typeof this[t]?i.push(e):n.push(e))},this);var o=function(e,t){og.each(e,function(e){if(og.isArray(e[0])){var r=t;og.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)},aQ.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},aQ.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},aQ.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=og.bind(function(e){return new se(e.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:og.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:og.bind(function(t){return this._run_hook("before_send_"+e.type,t)},this),stopAllBatchingFunc:og.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()},aQ.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,og.each(this.request_batchers,function(e){e.start()}))},aQ.prototype.stop_batch_senders=function(){this._batch_requests=!1,og.each(this.request_batchers,function(e){e.stop(),e.clear()})},aQ.prototype.push=function(e){this._execute_array([e])},aQ.prototype.disable=function(e){void 0===e?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)},aQ.prototype._encode_data_for_request=function(e){var t=oj(e);return this.get_config("api_payload_format")===a$&&(t=og.base64Encode(t)),{data:t}},aQ.prototype._track_or_batch=function(e,t){var r=og.truncate(e.data,255),n=e.endpoint,i=e.batcher,o=e.should_send_immediately,s=e.send_request_options||{};t=t||oD;var a=!0,u=og.bind(function(){return(s.skip_hooks||(r=this._run_hook("before_send_"+e.type,r)),r)?(om.log("MIXPANEL REQUEST:"),om.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},aQ.prototype.track=oH(function(e,t,r,n){n||"function"!=typeof r||(n=r,r=null);var i=(r=r||{}).transport;i&&(r.transport=i);var o=r.send_immediately;if("function"!=typeof n&&(n=oD),og.isUndefined(e)){this.report_error("No event name provided to mixpanel.track");return}if(this._event_is_disabled(e)){n(0);return}(t=og.extend({},t)).token=this.get_config("token");var s=this.persistence.remove_event_timer(e);if(!og.isUndefined(s)){var a=new Date().getTime()-s;t.$duration=parseFloat((a/1e3).toFixed(3))}this._set_default_superprops();var u=this.get_config("track_marketing")?og.info.marketingParams():{};t=og.extend({},og.info.properties({mp_loader:this.get_config("mp_loader")}),u,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),t);var c=this.get_config("property_blacklist");og.isArray(c)?og.each(c,function(e){delete t[e]}):this.report_error("Invalid value for property_blacklist config: "+c);var l={event:e,properties:t};return this._track_or_batch({type:"events",data:l,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:o,send_request_options:r},n)}
1),aQ.prototype.set_group=oH(function(e,t,r){og.isArray(t)||(t=[t]);var n={};return n[e]=t,this.register(n),this.people.set(e,t,r)}),aQ.prototype.add_group=oH(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)}),aQ.prototype.remove_group=oH(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)}),aQ.prototype.track_with_groups=oH(function(e,t,r,n){var i=og.extend({},t||{});return og.each(r,function(e,t){null!=e&&(i[t]=e)}),this.track(e,i,n)}),aQ.prototype._create_map_key=function(e,t){return e+"_"+JSON.stringify(t)},aQ.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]},aQ.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 aO)._init(this,e,t),this._cached_groups[r]=n),n},aQ.prototype.track_pageview=oH(function(e,t){"object"!=typeof e&&(e={});var r=(t=t||{}).event_name||"$mp_web_page_view",n=og.extend(og.info.mpPageViewProperties(),og.info.campaignParams(),og.info.clickParams()),i=og.extend({},n,e);return this.track(r,i)}),aQ.prototype.track_links=function(){return this._track_dom.call(this,ay,arguments)},aQ.prototype.track_forms=function(){return this._track_dom.call(this,ab,arguments)},aQ.prototype.time_event=function(e){if(og.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 a1={persistent:!0},a2=function(e){var t;return t=og.isObject(e)?e:og.isUndefined(e)?{}:{days:e},og.extend({},a1,t)};aQ.prototype.register=function(e,t){var r=a2(t);r.persistent?this.persistence.register(e,r.days):og.extend(this.unpersisted_superprops,e)},aQ.prototype.register_once=function(e,t,r){var n=a2(r);n.persistent?this.persistence.register_once(e,t,n.days):(void 0===t&&(t="None"),og.each(e,function(e,r){this.unpersisted_superprops.hasOwnProperty(r)&&this.unpersisted_superprops[r]!==t||(this.unpersisted_superprops[r]=e)},this))},aQ.prototype.unregister=function(e,t){(t=a2(t)).persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e]},aQ.prototype._register_single=function(e,t){var r={};r[e]=t,this.register(r)},aQ.prototype.identify=function(e,t,r,n,i,o,s,a){var u=this.get_distinct_id();if(e&&u!==e){if("string"==typeof e&&0===e.indexOf(aG))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:u},""),e!==u&&e!==this.get_property(aF)&&(this.unregister(aF),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(t,r,n,i,o,s,a),e!==u&&this.track("$identify",{distinct_id:e,$anon_distinct_id:u},{skip_hooks:!0}),e!==u&&this.flags.fetchFlags()},aQ.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var e=og.UUID();this.register_once({distinct_id:aG+e,$device_id:e},""),this._check_and_start_session_recording()},aQ.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},aQ.prototype.alias=function(e,t){if(e===this.get_property(aj))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var r=this;return(og.isUndefined(t)&&(t=this.get_distinct_id()),e!==t)?(this._register_single(aF,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)},aQ.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)},aQ.prototype.set_config=function(e){og.isObject(e)&&(og.extend(this.config,e),e.batch_size&&og.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),i4.DEBUG=i4.DEBUG||this.get_config("debug"),("autocapture"in e||"record_heatmap_data"in e)&&this.autocapture&&this.autocapture.init())},aQ.prototype.get_config=function(e){return this.config[e]},aQ.prototype._run_hook=function(e){var t=(this.config.hooks[e]||aW).apply(this,oe.call(arguments,1
1));return void 0===t&&(this.report_error(e+" hook did not return a value"),t=null),t},aQ.prototype.get_property=function(e){return this.persistence.load_prop([e])},aQ.prototype.get_api_host=function(e){return this.get_config("api_hosts")[e]||this.get_config("api_host")},aQ.prototype.toString=function(){var e=this.get_config("name");return e!==aV&&(e=aV+"."+e),e},aQ.prototype._event_is_disabled=function(e){return og.isBlockedUA(ou)||this._flags.disable_all_events||og.include(this.__disabled_events,e)},aQ.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&og.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")||og.cookie.get("mp_optout"))&&(og.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},aQ.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()},aQ.prototype._gdpr_call_func=function(e,t){return t=og.extend({track:og.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),og.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:t.cross_site_cookie,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie,ignoreDnt:t.ignore_dnt})},aQ.prototype.opt_in_tracking=function(e){e=og.extend({enable_persistence:!0},e),this._gdpr_call_func(oW,e),this._gdpr_update_persistence(e)},aQ.prototype.opt_out_tracking=function(e){(e=og.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(oV,e),this._gdpr_update_persistence(e)},aQ.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(o$,e)},aQ.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(oG,e)},aQ.prototype.clear_opt_in_out_tracking=function(e){e=og.extend({enable_persistence:!0},e),this._gdpr_call_func(oX,e),this._gdpr_update_persistence(e)},aQ.prototype.report_error=function(e,t){om.error.apply(om.error,arguments);try{t||e instanceof Error||(e=Error(e)),this.get_config("error_reporter")(e,t)}catch(e){om.error(e)}},aQ.prototype.init=aQ.prototype.init,aQ.prototype.reset=aQ.prototype.reset,aQ.prototype.disable=aQ.prototype.disable,aQ.prototype.time_event=aQ.prototype.time_event,aQ.prototype.track=aQ.prototype.track,aQ.prototype.track_links=aQ.prototype.track_links,aQ.prototype.track_forms=aQ.prototype.track_forms,aQ.prototype.track_pageview=aQ.prototype.track_pageview,aQ.prototype.register=aQ.prototype.register,aQ.prototype.register_once=aQ.prototype.register_once,aQ.prototype.unregister=aQ.prototype.unregister,aQ.prototype.identify=aQ.prototype.identify,aQ.prototype.alias=aQ.prototype.alias,aQ.prototype.name_tag=aQ.prototype.name_tag,aQ.prototype.set_config=aQ.prototype.set_config,aQ.prototype.get_config=aQ.prototype.get_config,aQ.prototype.get_api_host=aQ.prototype.get_api_host,aQ.prototype.get_property=aQ.prototype.get_property,aQ.prototype.get_distinct_id=aQ.prototype.get_distinct_id,aQ.prototype.toString=aQ.prototype.toString,aQ.prototype.opt_out_tracking=aQ.prototype.opt_out_tracking,aQ.prototype.opt_in_tracking=aQ.prototype.opt_in_tracking,aQ.prototype.has_opted_out_tracking=aQ.prototype.has_opted_out_tracking,aQ.prototype.has_opted_in_tracking=aQ.prototype.has_opted_in_tracking,aQ.prototype.clear_opt_in_out_tracking=aQ.prototype.clear_opt_in_out_tracking,aQ.prototype.get_group=aQ.prototype.get_group,aQ.prototype.set_group=aQ.prototype.set_group,aQ.prototype.add_group=aQ.prototype.add_group,aQ.prototype.remove_group=aQ.prototype.remove_group,aQ.prototype.track_with_groups=aQ.prototype.track_with_groups,aQ.prototype.start_batch_senders=aQ.prototype.start_batch_senders,aQ.prototype.stop_batch_senders=aQ.prototype.stop_batch_senders,aQ.prototype.start_session_recording=aQ.prototype.start_session_recording,aQ.prototype.stop_session_recording=aQ.prototype.stop_session_recording,aQ.prototype.pause_session_recording=aQ.prototype.pause_session_recording,aQ.prototype.resume_session_recording=aQ.prototype.resume_session_recording,aQ.prototype.get_session_recording_properties=aQ.prototype.get_session_recording_properties,aQ.prototype.get_session_replay_url=aQ.prototype.get_session_replay_url,aQ.prototype.get_tab_id=aQ.prototype.get_tab_id,aQ.prototype.DEFAULT_API_ROUTES=aX,aQ.prototype.__get_recorder=aQ.prototype.__get_recorder,az.prototype.properties=az.prototype.properties,az.prototype.update_search_keyword=az.prototype.update_search_keyword,az.prototype.update_referrer_info=az.prototype.update_referrer_info,az.prototype.get_cross_subdomain=az.prototype.get_cross_subdomain,az.prototype.clear=az.prototype.clear;var a3={},a5=function(){og.each(a3,function(e,t){t!==aV&&(y[t]=e)}),y._=og},a6=(aq=function(e,t){t()},v=0,(y=new aQ).init=function(e,t,r){if(r)return y[r]||(y[r]=a3[r]=a0(e,t,r),y[r]._loaded()),y[r];var n=y;a3[aV]?n=a3[aV]:e&&((n=a0(e,t,aV))._loaded(),a3[aV]=n),y=n,1===v&&(ib[aV]=y),a5()},y.init(),function(){function e(){e.done||(e.done=!0,aK=!0,aY=!1,og.each(a3,function(e){e._dom_loaded()}))}if(oo.addEventListener)"complete"===oo.readyState?e():oo.addEventListener("DOMContentLoaded",e,!1);else if(oo.attachEvent){oo.attachEvent("onreadystatechange",e);var t=!1;try{t=null===ib.frameElement}catch(e){}oo.documentElement.doScroll&&t&&function t(){try{oo.documentElement.doScroll("left")}catch(e){setTimeout(t,1);return}e()}()}og.register_event(ib,"load",e,!0)}(),y);
1let a4="904f7dbdfc04953acf614496569f95d5",a8=!1,a9=e=>{try{let t=e.match(/statistics:(true|false)/);return{statistics:!!t&&"true"===t[1]}}catch(e){return{statistics:!1}}},a7=()=>{let e=_.Z.get("CookieConsent");return!!e&&!0===a9(e).statistics},ue=()=>{a8&&(a7()?a6.opt_in_tracking():a6.opt_out_tracking())},ut=()=>{(0,b.useEffect)(()=>{if(!a8){if(!a4){console.warn("MixPanel token not found. Analytics will not be tracked.");return}return a6.init(a4,{opt_out_tracking_by_default:!0,autocapture:!0,track_pageview:!0,record_sessions_percent:20,record_heatmap_data:!0,api_host:"https://api-eu.mixpanel.com",ip:!1}),a8=!0,a7()?a6.opt_in_tracking():a6.opt_out_tracking(),window.addEventListener("CookiebotOnAccept",ue),window.addEventListener("CookiebotOnDecline",ue),()=>{window.removeEventListener("CookiebotOnAccept",ue),window.removeEventListener("CookiebotOnDecline",ue)}}},[])}},93539:function(e,t,r){"use strict";var n=r(67294);t.Z=(e=!1)=>{let[t,r]=(0,n.useState)(e);return[t,()=>r(e=>!e),r,()=>r(e)]}},21857:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return F}});var n=r(85893),i=r(95240),o=r.n(i),s=r(86392),a=r.n(s),u=r(67294),c=r(97425),l=r(39332),p=()=>{window.si||(window.si=function(...e){(window.siq=window.siq||[]).push(e)})};function h(){return false}function f(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}var d="https://va.vercel-scripts.com/v1/speed-insights",g=`${d}/script.js`,m=`${d}/script.debug.js`;function v(e){let t=(0,u.useRef)(null);return(0,u.useEffect)(()=>{if(t.current)e.route&&t.current(e.route);else{let r=function(e={}){var t;if(!("undefined"!=typeof window)||null===e.route)return null;p();let r=!!e.dsn,n=e.scriptSrc||(r?g:"/_vercel/speed-insights/script.js");if(document.head.querySelector(`script[src*="${n}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let i=document.createElement("script");return i.src=n,i.defer=!0,i.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),i.dataset.sdkv="1.0.12",e.sampleRate&&(i.dataset.sampleRate=e.sampleRate.toString()),e.route&&(i.dataset.route=e.route),e.endpoint&&(i.dataset.endpoint=e.endpoint),e.dsn&&(i.dataset.dsn=e.dsn),i.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${n}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(i),{setRoute:e=>{i.dataset.route=e??void 0}}}({framework:e.framework||"react",...e});r&&(t.current=r.setRoute)}},[e.route]),null}var y=()=>{let e=(0,l.useParams)(),t=(0,l.useSearchParams)()||new URLSearchParams,r=(0,l.usePathname)(),n={...Object.fromEntries(t.entries()),...e||{}};return e?function(e,t){if(!e||!t)return e;let r=e;try{let e=Object.entries(t);for(let[t,n]of e)if(!Array.isArray(n)){let e=f(n);e.test(r)&&(r=r.replace(e,`/[${t}]`))}for(let[t,n]of e)if(Array.isArray(n)){let e=f(n.join("/"));e.test(r)&&(r=r.replace(e,`/[...${t}]`))}return r}catch(t){return e}}(r,n):null};function b(e){let t=y();return u.createElement(v,{route:t,...e,framework:"next"})}function _(e){return u.createElement(u.Suspense,{fallback:null},u.createElement(b,{...e}))}var w=r(9008),k=r.n(w),x=r(11163),S=r(4298),C=r.n(S),E=r(75585),I=r(61322),O=r(89496),R=r(3091),A=r(18445);let M=({enabled:e})=>{let t=(0,x.useRouter)();(0,u.useEffect)(()=>{if(!e)return;let t=async()=>{window.Cookiebot?.consent?.marketing?await (0,A.bP)():await (0,A.sc)()};return t(),window.addEventListener("CookiebotOnConsentReady",t),window.addEventListener("CookiebotOnAccept",t),window.addEventListener("CookiebotOnDecline",t),()=>{window.removeEventListener("CookiebotOnConsentReady",t),window.removeEventListener("CookiebotOnAccept",t),window.removeEventListener("CookiebotOnDecline",t)}},[e]),(0,u.useEffect)(()=>{if(!e)return;let r=()=>(0,A.cb)();return t.events.on("routeChangeComplete",r),()=>{t.events.off("routeChangeComplete",r)}},[e,t.events])};var T=r(9847),P=r(31955),L=r(6788);let N=()=>{let e=(0,x.useRouter)();(0,u.useEffect)(()=>{if((0,L.Q)()||!e.isReady)return;let t=()=>{if(window.Cookiebot?.consent?.marketing)for(let[t,r]of Object.entries(e.query)){let e=Array.isArray(r)?r[0]:r;t.startsWith("utm_")&&e&&P.Z.set(t,e,{expires:7,secure:!0})}};t();let r=()=>{t()};return window.addEventListener("CookiebotOnAccept",r),window.addEventListener("CookiebotOnDecline",r),
1()=>{window.removeEventListener("CookiebotOnAccept",r),window.removeEventListener("CookiebotOnDecline",r)}},[e.isReady,e.query])};var D=r(82724),j=r(79595);r(1439),r(39595),r(63771),r(5753),r(15972);var F=({Component:e,pageProps:t})=>{let{pathname:r}=(0,x.useRouter)(),i=r.startsWith("/embed"),s=(0,u.useMemo)(()=>(0,j.YM)(t.globals?.shortcodes),[t.globals?.shortcodes]),l=(0,u.useMemo)(()=>(0,j.m6)(t,s),[t,s]),p=l.pageContent??l.page,h=!i&&!!p?.applyAbScript;return N(),(0,T.X)(),M({enabled:!i}),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(k(),{children:[(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:`:root { --font-dm-sans: ${o().style.fontFamily}; --font-dm-mono: ${a().style.fontFamily}; }`}}),h&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("script",{dangerouslySetInnerHTML:{__html:'!function(){var e="body {opacity: 0 !important;}",t=document.createElement("style");t.type="text/css",t.id="page-hide-style",t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),document.head.appendChild(t),window.rmo=function(){var e=document.getElementById("page-hide-style");e&&(e.parentNode.removeChild(e),document.body.style.opacity="")},setTimeout(window.rmo,200)}();'}},"gostellar-antiflicker"),(0,n.jsx)("link",{rel:"preconnect",href:"https://d3niuqph2rteir.cloudfront.net"},"gostellar-preconnect"),(0,n.jsx)("link",{rel:"dns-prefetch",href:"https://d3niuqph2rteir.cloudfront.net"},"gostellar-dns-prefetch"),(0,n.jsx)("script",{async:!0,src:`https://d3niuqph2rteir.cloudfront.net/client_js/stellar.js?apiKey=${D.oi}`},"gostellar-script")]})]}),!i&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(C(),{id:"gtm",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:`(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 2new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 3j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
4'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 5})(window,document,'script','dataLayer','${D.V7}');`}}),(0,n.jsx)(C(),{src:"https://platform.twitter.com/widgets.js",strategy:"lazyOnload"})]}),(0,n.jsx)(R.u,{value:s,children:(0,n.jsx)(I.N,{value:l.dataSources,children:(0,n.jsx)(E.Y,{children:(0,n.jsx)(c.Q2,{accentColor:"gray",grayColor:"sand",children:(0,n.jsxs)(O.N,{children:[(0,n.jsx)("div",{"data-theme":p?.masterTheme,style:{background:"var(--bg-page)"},children:(0,n.jsx)(e,{...l})}),(0,n.jsx)(_,{})]})})})})})]})}},32451:function(e,t,r){"use strict";r.d(t,{DJ:function(){return o},M5:function(){return s},oF:function(){return n},w4:function(){return i}});let n="(max-width: 640px)",i="(max-width: 767px)",o="(max-width: 1024px)",s="(min-width: 1024px)"},18445:function(e,t,r){"use strict";r.d(t,{Pv:function(){return h},bP:function(){return c},cb:function(){return p},sc:function(){return l}});var n=r(82724);let i=null,o=null,s={googleEnhancedConversions:!0,intentSources:{autoGroup:!0},storage:{stores:["cookie","localStorage","memory"]}},a=()=>({url:window.location.href.split("#")[0],path:window.location.pathname,search:window.location.search}),u=()=>i??o,c=async()=>{if(i||!n.yb)return;let{AnalyticsBrowser:e}=await r.e(2808).then(r.bind(r,72808));(i=e.load({writeKey:n.yb},s)).page(a())},l=async()=>{if(o||i||!n.yb)return;let{AnalyticsBrowser:e}=await r.e(2808).then(r.bind(r,72808));(o=e.load({writeKey:n.yb},{anonymous:!0})).page(a())},p=()=>{u()?.page(a())},h=(e,t,r)=>{let n={form_name:t,...r?{form_id:r}:{}},s={context:{page:a()}};i?(e&&i.identify(null,{email:e},s),i.track("Form Submitted",n,s)):o&&o.track("Form Submitted",n,s)}},82724:function(e,t,r){"use strict";r.d(t,{V7:function(){return i},oi:function(){return o},yb:function(){return s}});var n=r(34155);n.env.CONTENTFUL_PREVIEW_SECRET,n.env.CONTENTFUL_SPACE_ID,n.env.CONTENTFUL_ACCESS_TOKEN,n.env.CONTENTFUL_PREVIEW_ACCESS_TOKEN,n.env.CONTENTFUL_ENVIRONMENT,n.env.CONTENTFUL_CONTENT_MANAGEMENT_ACCESS_TOKEN,n.env.WORKABLE_API_KEY;let i="GTM-T8P85KZ";n.env.COOKIEBOT_ID,n.env.EXPORTED_EMBED_AUDIO_COMPARISON_WIDGET_ENTRY_ID;let o=n.env.GOSTELLAR_API_KEY||"",s="24479adb-8b50-46ca-82b5-dbcd062cbdc2"},6788:function(e,t,r){"use strict";r.d(t,{Q:function(){return n}});let n=()=>{if("undefined"==typeof navigator)return!0;let e=navigator.userAgent.toLowerCase();return["googlebot","bingbot","slurp","duckduckbot","baiduspider","yandexbot","applebot","qwantify","facebookexternalhit","twitterbot","linkedinbot","pinterestbot","redditbot","slackbot","discordbot","telegrambot","whatsapp","vkshare","skypeuripreview","embedly","xing","chrome-lighthouse","w3c_validator","rogerbot","outbrain","flipboard"].some(t=>e.includes(t))}},79595:function(e,t,r){"use strict";r.d(t,{YM:function(){return i},h1:function(){return u},m6:function(){return c},xM:function(){return n}});let n={langcount:"56+"};function i(e){if(!e||"object"!=typeof e||Array.isArray(e))return{...n};let t={};for(let[r,n]of Object.entries(e))"string"==typeof n&&n.trim()?t[r]=n.trim():"number"==typeof n&&(t[r]=String(n));return{...n,...t}}let o=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),s=e=>Object.entries(e).map(([e,t])=>{let r=o(e);return{plain:RegExp(`\\[<${r}>\\]`,"gi"),escaped:RegExp(`\\[<${r}>\\]`,"gi"),value:t}}),a=(e,t)=>{if(!e.includes("["))return e;let r=e;for(let{plain:e,escaped:n,value:i}of t)r=r.replace(e,i).replace(n,i);return r};function u(e,t){return a(e,s(t))}function c(e,t){let r=s(t),n=e=>{if("string"==typeof e)return a(e,r);if(Array.isArray(e))return e.map(n);if(e&&"object"==typeof e){let t={};for(let r of Object.keys(e))t[r]=n(e[r]);return t}return e};return n(e)}},51151:function(e,t,r){"use strict";r.d(t,{cn:function(){return F}});var n=r(90512);let i=/^\[(.+)\]$/;function o(e,t){let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r}let s=/\s+/;function a(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=function e(t){let r;if("string"==typeof t)return t;let n="";for(let i=0;i<t.length;i++)t[i]&&(r=e(t[i]))&&(n&&(n+=" "),n+=r);return n}(e))&&(n&&(n+=" "),n+=t);return n}function u(e){let t=t=>t[e]||[];return t.isThemeGetter=!0,t}let c=/^\[(?:([a-z-]+):)?(.+)\]$/i,l=/^\d+\/\d+$/,p=new Set(["px","full","screen"]),h=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,f=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,d=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,g=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,m=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function v(e){return b(e)||p.has(e)||l.test(e)}function y(e){return T(e,"length",P)}function b(e){return!!e&&!Number.isNaN(Number(e))}function _(e){return T(e,"number",b)}function w(e){return!!e&&Number.isInteger(Number(e))}function k(e){return e.endsWith("%")&&b(e.slice(0,-1))}function x(e){return c.test(e)}function S(e){return h.test(e)}let C=new Set(["length","size","percentage"]);function E(e){return T(e,C,L)}function I(e){return T(e,"position",L)}let O=new Set(["image","url"]);function R(e){return T(e,O,D)}function A(e){return T(e,"",N)}function M(){return!0}function T(e,t,r){let n=c.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))}function P(e){return f.test(e)&&!d.test(e)}function L(){return!1}function N(e){return g.test(e)}function D(e){return m.test(e)}let j=function(e,...t){let r,n,u;
5let c=function(s){var a;return n=(r={cache:function(e){if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=new Map,n=new Map;function i(i,o){r.set(i,o),++t>e&&(t=0,n=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(i(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):i(e,t)}}}((a=t.reduce((e,t)=>t(e),e())).cacheSize),splitModifiers:function(e){let t=e.separator,r=1===t.length,n=t[0],i=t.length;return function(e){let o;let s=[],a=0,u=0;for(let c=0;c<e.length;c++){let l=e[c];if(0===a){if(l===n&&(r||e.slice(c,c+i)===t)){s.push(e.slice(u,c)),u=c+i;continue}if("/"===l){o=c;continue}}"["===l?a++:"]"===l&&a--}let c=0===s.length?e:e.substring(u),l=c.startsWith("!"),p=l?c.substring(1):c;return{modifiers:s,hasImportantModifier:l,baseClassName:p,maybePostfixModifierPosition:o&&o>u?o-u:void 0}}}(a),...function(e){let t=function(e){var t;let{theme:r,prefix:n}=e,i={nextPart:new Map,validators:[]};return(t=Object.entries(e.classGroups),n?t.map(([e,t])=>[e,t.map(e=>"string"==typeof e?n+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[n+e,t])):e)]):t).forEach(([e,t])=>{(function e(t,r,n,i){t.forEach(t=>{if("string"==typeof t){(""===t?r:o(r,t)).classGroupId=n;return}if("function"==typeof t){if(t.isThemeGetter){e(t(i),r,n,i);return}r.validators.push({validator:t,classGroupId:n});return}Object.entries(t).forEach(([t,s])=>{e(s,o(r,t),n,i)})})})(t,i,e,r)}),i}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:function(e){let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),function e(t,r){if(0===t.length)return r.classGroupId;let n=t[0],i=r.nextPart.get(n),o=i?e(t.slice(1),i):void 0;if(o)return o;if(0===r.validators.length)return;let s=t.join("-");return r.validators.find(({validator:e})=>e(s))?.classGroupId}(r,t)||function(e){if(i.test(e)){let t=i.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){let i=r[e]||[];return t&&n[e]?[...i,...n[e]]:i}}}(a)}).cache.get,u=r.cache.set,c=l,l(s)};function l(e){let t=n(e);if(t)return t;let i=function(e,t){let{splitModifiers:r,getClassGroupId:n,getConflictingClassGroupIds:i}=t,o=new Set;return e.trim().split(s).map(e=>{let{modifiers:t,hasImportantModifier:i,baseClassName:o,maybePostfixModifierPosition:s}=r(e),a=n(s?o.substring(0,s):o),u=!!s;if(!a){if(!s||!(a=n(o)))return{isTailwindClass:!1,originalClassName:e};u=!1}let c=(function(e){if(e.length<=1)return e;let t=[],r=[];return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t})(t).join(":");return{isTailwindClass:!0,modifierId:i?c+"!":c,classGroupId:a,originalClassName:e,hasPostfixModifier:u}}).reverse().filter(e=>{if(!e.isTailwindClass)return!0;let{modifierId:t,classGroupId:r,hasPostfixModifier:n}=e,s=t+r;return!o.has(s)&&(o.add(s),i(r,n).forEach(e=>o.add(t+e)),!0)}).reverse().map(e=>e.originalClassName).join(" ")}(e,r);return u(e,i),i}return function(){return c(a.apply(null,arguments))}}(function(){let e=u("colors"),t=u("spacing"),r=u("blur"),n=u("brightness"),i=u("borderColor"),o=u("borderRadius"),s=u("borderSpacing"),a=u("borderWidth"),c=u("contrast"),l=u("grayscale"),p=u("hueRotate"),h=u("invert"),f=u("gap"),d=u("gradientColorStops"),g=u("gradientColorStopPositions"),m=u("inset"),C=u("margin"),O=u("opacity"),T=u("padding"),P=u("saturate"),L=u("scale"),N=u("sepia"),D=u("skew"),j=u("space"),F=u("translate"),U=()=>["auto","contain","none"],B=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",x,t],q=()=>[x,t],W=()=>["",v,y],V=()=>["auto",b,x],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],G=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Y=()=>["start","end","center","between","around","evenly","stretch"],Z=()=>["","0",x],X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],J=()=>[b,_],K=()=>[b,x];return{cacheSize:500,separator:":",theme:{colors:[M],spacing:[v,y],blur:["none","",S,x],brightness:J(),borderColor:[e],borderRadius:["n
5one","","full",S,x],borderSpacing:q(),borderWidth:W(),contrast:J(),grayscale:Z(),hueRotate:K(),invert:Z(),gap:q(),gradientColorStops:[e],gradientColorStopPositions:[k,y],inset:z(),margin:z(),opacity:J(),padding:q(),saturate:J(),scale:J(),sepia:Z(),skew:K(),space:q(),translate:q()},classGroups:{aspect:[{aspect:["auto","square","video",x]}],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...$(),x]}],overflow:[{overflow:B()}],"overflow-x":[{"overflow-x":B()}],"overflow-y":[{"overflow-y":B()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",w,x]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",x]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",w,x]}],"grid-cols":[{"grid-cols":[M]}],"col-start-end":[{col:["auto",{span:["full",w,x]},x]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[M]}],"row-start-end":[{row:["auto",{span:[w,x]},x]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",x]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",x]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...Y()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Y(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Y(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[T]}],px:[{px:[T]}],py:[{py:[T]}],ps:[{ps:[T]}],pe:[{pe:[T]}],pt:[{pt:[T]}],pr:[{pr:[T]}],pb:[{pb:[T]}],pl:[{pl:[T]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",x,t]}],"min-w":[{"min-w":[x,t,"min","max","fit"]}],"max-w":[{"max-w":[x,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[x,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[x,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[x,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[x,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,y]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_]}],"font-family":[{font:[M]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",x]}],"line-clamp":[{"line-clamp":["none",b,_]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",v,x]}],"list-image":[{"list-image":["none",x]}],"list-style-type":[{list:["none","disc","decimal",x]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[O]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[O]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",v,y]}],"underline-offset":[{"underline-offset":["auto",v,x]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",x]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",x]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[O]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$(),I]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",E]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},R]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}
vendor: 5,090 bytes, line 5
5],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[d]}],"gradient-via":[{via:[d]}],"gradient-to":[{to:[d]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[O]}],"border-style":[{border:[...G(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[O]}],"divide-style":[{divide:G()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...G()]}],"outline-offset":[{"outline-offset":[v,x]}],"outline-w":[{outline:[v,y]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[O]}],"ring-offset-w":[{"ring-offset":[v,y]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,A]}],"shadow-color":[{shadow:[M]}],opacity:[{opacity:[O]}],"mix-blend":[{"mix-blend":[...H(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",S,x]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[h]}],saturate:[{saturate:[P]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[O]}],"backdrop-saturate":[{"backdrop-saturate":[P]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",x]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",x]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",x]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[w,x]}],"translate-x":[{"translate-x":[F]}],"translate-y":[{"translate-y":[F]}],"skew-x":[{"skew-x":[D]}],"skew-y":[{"skew-y":[D]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",x]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",x]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":q()}],"scroll-mx":[{"scroll-mx":q()}],"scroll-my":[{"scroll-my":q()}],"scroll-ms":[{"scroll-ms":q()}],"scroll-me":[{"scroll-me":q()}],"scroll-mt":[{"scroll-mt":q()}],"scroll-mr":[{"scroll-mr":q()}],"scroll-mb":[{"scroll-mb":q()}],"scroll-ml":[{"scroll-ml":q()}],"scroll-p":[{"scroll-p":q()}],"scroll-px":[{"scroll-px":q()}],"scroll-py":[{"scroll-py":q()}],"scroll-ps":[{"scroll-ps":q()}],"scroll-pe":[{"scroll-pe":q()}],"scroll-pt":[{"scroll-pt":q()}],"scroll-pr":[{"scroll-pr":q()}],"scroll-pb":[{"scroll-pb":q()}],"scroll-pl":[{"scroll-pl":q()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
5],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",x]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[v,y,_]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function F(...e){return j((0,n.W)(e))}},1439:function(){},39595:function(){},63771:function(){},5753:function(){},15972:function(){},86392:function(e){e.exports={style:{fontFamily:"'__DM_Mono_47751c', '__DM_Mono_Fallback_47751c'",fontWeight:400,fontStyle:"normal"},className:"__className_47751c"}},95240:function(e){e.exports={style:{fontFamily:"'__DM_Sans_0d7163', '__DM_Sans_Fallback_0d7163'",fontStyle:"normal"},className:"__className_0d7163"}},9008:function(e,t,r){e.exports=r(50494)},39332:function(e,t,r){e.exports=r(70031)},11163:function(e,t,r){e.exports=r(37253)},4298:function(e,t,r){e.exports=r(95026)},34155: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 p(){c&&n&&(c=!1,n.length?u=n.concat(u):l=-1,u.length&&h())}function h(){if(!c){var e=a(p);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(h)},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}},47149:function(e,t,r){"use strict";
5Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(54832).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34134:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return n.actionAsyncStorage}});let n=r(47149);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},54832:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return o}});let r=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}}let i=globalThis.AsyncLocalStorage;function o(){return i?new i:new n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25575:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return n}});let n=(0,r(54832).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},40837:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getExpectedRequestStore:function(){return i},requestAsyncStorage:function(){return n.requestAsyncStorage}});let n=r(25575);function i(e){let t=n.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},93967:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=o(t,r));return t}(r)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0!==(r=(function(){return i}).apply(t,[]))&&(e.exports=r)}()},36206:function(e,t,r){"use strict";function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{M:function(){return n}})},28771:function(e,t,r){"use strict";r.d(t,{F:function(){return o},e:function(){return s}});var n=r(67294);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():i(e[t],null)}}}}function s(...e){return n.useCallback(o(...e),e)}},25360:function(e,t,r){"use strict";r.d(t,{b:function(){return s},k:function(){return o}});var n=r(67294),i=r(85893);function o(e,t){let r=n.createContext(t),o=e=>{let{children:t,...o}=e,s=n.useMemo(()=>o,Object.values(o));return(0,i.jsx)(r.Provider,{value:s,children:t})};return o.displayName=e+"Provider",[o,function(i){let o=n.useContext(r);if(o)return o;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function s(e,t=[]){let r=[],o=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return o.scopeName=e,[function(t,o){let s=n.createContext(o),a=r.length;r=[...r,o];let u=t=>{let{scope:r,children:o,...u}=t,c=r?.[e]?.[a]||s,l=n.useMemo(()=>u,Object.values(u));return(0,i.jsx)(c.Provider,{value:l,children:o})};return u.displayName=t+"Provider",[u,function(r,i){let u=i?.[e]?.[a]||s,c=n.useContext(u);if(c)return c;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(o,...t)]}},78990:function(e,t,r){"use strict";r.d(t,{useDirection:function(){return s},z:function(){return a}});var n=r(67294),i=r(85893),o=n.createContext(void 0);function s(e){let t=n.useContext(o);return e||t||"ltr"}var a=e=>{let{dir:t,children:r}=e;return(0,i.jsx)(o.Provider,{value:t,children:r})}},46063:function(e,t,r){"use strict";r.d(t,{XB:function(){return h}});var n,i=r(67294),o=r(36206),s=r(75320),a=r(28771),u=r(79698),c=r(85893),l="dismissableLayer.update",p=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h=i.forwardRef((e,t)=>
5{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:h,onPointerDownOutside:g,onFocusOutside:m,onInteractOutside:v,onDismiss:y,...b}=e,_=i.useContext(p),[w,k]=i.useState(null),x=w?.ownerDocument??globalThis?.document,[,S]=i.useState({}),C=(0,a.e)(t,e=>k(e)),E=Array.from(_.layers),[I]=[..._.layersWithOutsidePointerEventsDisabled].slice(-1),O=E.indexOf(I),R=w?E.indexOf(w):-1,A=_.layersWithOutsidePointerEventsDisabled.size>0,M=R>=O,T=function(e,t=globalThis?.document){let r=(0,u.W)(e),n=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){d("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[..._.branches].some(e=>e.contains(t));!M||r||(g?.(e),v?.(e),e.defaultPrevented||y?.())},x),P=function(e,t=globalThis?.document){let r=(0,u.W)(e),n=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!n.current&&d("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;[..._.branches].some(e=>e.contains(t))||(m?.(e),v?.(e),e.defaultPrevented||y?.())},x);return!function(e,t=globalThis?.document){let r=(0,u.W)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{R!==_.layers.size-1||(h?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},x),i.useEffect(()=>{if(w)return r&&(0===_.layersWithOutsidePointerEventsDisabled.size&&(n=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),_.layersWithOutsidePointerEventsDisabled.add(w)),_.layers.add(w),f(),()=>{r&&1===_.layersWithOutsidePointerEventsDisabled.size&&(x.body.style.pointerEvents=n)}},[w,x,r,_]),i.useEffect(()=>()=>{w&&(_.layers.delete(w),_.layersWithOutsidePointerEventsDisabled.delete(w),f())},[w,_]),i.useEffect(()=>{let e=()=>S({});return document.addEventListener(l,e),()=>document.removeEventListener(l,e)},[]),(0,c.jsx)(s.WV.div,{...b,ref:C,style:{pointerEvents:A?M?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.M)(e.onFocusCapture,P.onFocusCapture),onBlurCapture:(0,o.M)(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:(0,o.M)(e.onPointerDownCapture,T.onPointerDownCapture)})});function f(){let e=new CustomEvent(l);document.dispatchEvent(e)}function d(e,t,r,{discrete:n}){let i=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?(0,s.jH)(i,o):i.dispatchEvent(o)}h.displayName="DismissableLayer",i.forwardRef((e,t)=>{let r=i.useContext(p),n=i.useRef(null),o=(0,a.e)(t,n);return i.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,c.jsx)(s.WV.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},91276:function(e,t,r){"use strict";r.d(t,{M:function(){return u}});var n,i=r(67294),o=r(9981),s=(n||(n=r.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),a=0;function u(e){let[t,r]=i.useState(s());return(0,o.b)(()=>{e||r(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},53990:function(e,t,r){"use strict";r.d(t,{ee:function(){return eX},Eh:function(){return eK},VY:function(){return eJ},fC:function(){return eZ},D7:function(){return eP}});var n=r(67294);let i=["top","right","bottom","left"],o=Math.min,s=Math.max,a=Math.round,u=Math.floor,c=e=>({x:e,y:e}),l={left:"right",right:"left",bottom:"top",top:"bottom"},p={start:"end",end:"start"};function h(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function g(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(f(e))?"y":"x"}function y(e){return e.replace(/start|end/g,e=>p[e])}function b(e){return e.replace(/left|right|bottom|top/g,e=>l[e])}function _(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function w(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function k(e,t,r){let n,{reference:i,floating:o}=e,s=v(t),a=g(v(t)),u=m(a),c=f(t),l="y"===s,p=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,y=i[u]/2-o[u]/2;switch(c){case"top":n={x:p,y:i.y-o.height};break;case"bottom":n={x:p,y:i.y+i.height};break;case"right":n={x:i.x+i.width,y:h};break;case"left":n={x:i.x-o.width,y:h};break;default:n={x:i.x,y:i.y}}switch(d(t)){case"start":n[a]-=y*(r&&l?-1:1);break;case"end":n[a]+=y*(r&&l?-1:1)}return n}let x=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}
5=r,a=o.filter(Boolean),u=await (null==s.isRTL?void 0:s.isRTL(t)),c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:l,y:p}=k(c,n,u),h=n,f={},d=0;for(let r=0;r<a.length;r++){let{name:o,fn:g}=a[r],{x:m,y:v,data:y,reset:b}=await g({x:l,y:p,initialPlacement:n,placement:h,strategy:i,middlewareData:f,rects:c,platform:s,elements:{reference:e,floating:t}});l=null!=m?m:l,p=null!=v?v:p,f={...f,[o]:{...f[o],...y}},b&&d<=50&&(d++,"object"==typeof b&&(b.placement&&(h=b.placement),b.rects&&(c=!0===b.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:l,y:p}=k(c,h,u)),r=-1)}return{x:l,y:p,placement:h,strategy:i,middlewareData:f}};async function S(e,t){var r;void 0===t&&(t={});let{x:n,y:i,platform:o,rects:s,elements:a,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:l="viewport",elementContext:p="floating",altBoundary:f=!1,padding:d=0}=h(t,e),g=_(d),m=a[f?"floating"===p?"reference":"floating":p],v=w(await o.getClippingRect({element:null==(r=await (null==o.isElement?void 0:o.isElement(m)))||r?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:l,strategy:u})),y="floating"===p?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),k=await (null==o.isElement?void 0:o.isElement(b))&&await (null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},x=w(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:b,strategy:u}):y);return{top:(v.top-x.top+g.top)/k.y,bottom:(x.bottom-v.bottom+g.bottom)/k.y,left:(v.left-x.left+g.left)/k.x,right:(x.right-v.right+g.right)/k.x}}function C(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function E(e){return i.some(t=>e[t]>=0)}async function I(e,t){let{placement:r,platform:n,elements:i}=e,o=await (null==n.isRTL?void 0:n.isRTL(i.floating)),s=f(r),a=d(r),u="y"===v(r),c=["left","top"].includes(s)?-1:1,l=o&&u?-1:1,p=h(t,e),{mainAxis:g,crossAxis:m,alignmentAxis:y}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&"number"==typeof y&&(m="end"===a?-1*y:y),u?{x:m*l,y:g*c}:{x:g*c,y:m*l}}function O(){return"undefined"!=typeof window}function R(e){return T(e)?(e.nodeName||"").toLowerCase():"#document"}function A(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function M(e){var t;return null==(t=(T(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function T(e){return!!O()&&(e instanceof Node||e instanceof A(e).Node)}function P(e){return!!O()&&(e instanceof Element||e instanceof A(e).Element)}function L(e){return!!O()&&(e instanceof HTMLElement||e instanceof A(e).HTMLElement)}function N(e){return!!O()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof A(e).ShadowRoot)}function D(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=z(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function j(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function F(e){let t=U(),r=P(e)?z(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function U(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function B(e){return["html","body","#document"].includes(R(e))}function z(e){return A(e).getComputedStyle(e)}function q(e){return P(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function W(e){if("html"===R(e))return e;let t=e.assignedSlot||e.parentNode||N(e)&&e.host||M(e);return N(t)?t.host:t}function V(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=function e(t){let r=W(t);return B(r)?t.ownerDocument?t.ownerDocument.body:t.body:L(r)&&D(r)?r:e(r)}(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),s=A(i);if(o){let e=$(s);
5return t.concat(s,s.visualViewport||[],D(i)?i:[],e&&r?V(e):[])}return t.concat(i,V(i,[],r))}function $(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function G(e){let t=z(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=L(e),o=i?e.offsetWidth:r,s=i?e.offsetHeight:n,u=a(r)!==o||a(n)!==s;return u&&(r=o,n=s),{width:r,height:n,$:u}}function H(e){return P(e)?e:e.contextElement}function Y(e){let t=H(e);if(!L(t))return c(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:o}=G(t),s=(o?a(r.width):r.width)/n,u=(o?a(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),u&&Number.isFinite(u)||(u=1),{x:s,y:u}}let Z=c(0);function X(e){let t=A(e);return U()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Z}function J(e,t,r,n){var i;void 0===t&&(t=!1),void 0===r&&(r=!1);let o=e.getBoundingClientRect(),s=H(e),a=c(1);t&&(n?P(n)&&(a=Y(n)):a=Y(e));let u=(void 0===(i=r)&&(i=!1),n&&(!i||n===A(s))&&i)?X(s):c(0),l=(o.left+u.x)/a.x,p=(o.top+u.y)/a.y,h=o.width/a.x,f=o.height/a.y;if(s){let e=A(s),t=n&&P(n)?A(n):n,r=e,i=$(r);for(;i&&n&&t!==r;){let e=Y(i),t=i.getBoundingClientRect(),n=z(i),o=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,p*=e.y,h*=e.x,f*=e.y,l+=o,p+=s,i=$(r=A(i))}}return w({width:h,height:f,x:l,y:p})}function K(e,t){let r=q(e).scrollLeft;return t?t.left+r:J(M(e)).left+r}function Q(e,t,r){void 0===r&&(r=!1);let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-(r?0:K(e,n)),y:n.top+t.scrollTop}}function ee(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=A(e),n=M(e),i=r.visualViewport,o=n.clientWidth,s=n.clientHeight,a=0,u=0;if(i){o=i.width,s=i.height;let e=U();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,u=i.offsetTop)}return{width:o,height:s,x:a,y:u}}(e,r);else if("document"===t)n=function(e){let t=M(e),r=q(e),n=e.ownerDocument.body,i=s(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=s(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),a=-r.scrollLeft+K(e),u=-r.scrollTop;return"rtl"===z(n).direction&&(a+=s(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:a,y:u}}(M(e));else if(P(t))n=function(e,t){let r=J(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,o=L(e)?Y(e):c(1),s=e.clientWidth*o.x;return{width:s,height:e.clientHeight*o.y,x:i*o.x,y:n*o.y}}(t,r);else{let r=X(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return w(n)}function et(e){return"static"===z(e).position}function er(e,t){if(!L(e)||"fixed"===z(e).position)return null;if(t)return t(e);let r=e.offsetParent;return M(e)===r&&(r=r.ownerDocument.body),r}function en(e,t){let r=A(e);if(j(e))return r;if(!L(e)){let t=W(e);for(;t&&!B(t);){if(P(t)&&!et(t))return t;t=W(t)}return r}let n=er(e,t);for(;n&&["table","td","th"].includes(R(n))&&et(n);)n=er(n,t);return n&&B(n)&&et(n)&&!F(n)?r:n||function(e){let t=W(e);for(;L(t)&&!B(t);){if(F(t))return t;if(j(t))break;t=W(t)}return null}(e)||r}let ei=async function(e){let t=this.getOffsetParent||en,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=L(t),i=M(t),o="fixed"===r,s=J(e,!0,o,t),a={scrollLeft:0,scrollTop:0},u=c(0);if(n||!n&&!o){if(("body"!==R(t)||D(i))&&(a=q(t)),n){let e=J(t,!0,o,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=K(i))}let l=!i||n||o?c(0):Q(i,a);return{x:s.left+a.scrollLeft-u.x-l.x,y:s.top+a.scrollTop-u.y-l.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},eo={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,o="fixed"===i,s=M(n),a=!!t&&j(t.floating);if(n===s||a&&o)return r;let u={scrollLeft:0,scrollTop:0},l=c(1),p=c(0),h=L(n);if((h||!h&&!o)&&(("body"!==R(n)||D(s))&&(u=q(n)),L(n))){let e=J(n);l=Y(n),p.x=e.x+n.clientLeft,p.y=e.y+n.clientTop}let f=!s||h||o?c(0):Q(s,u,!0);return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-u.scrollLeft*l.x+p.x+f.x,y:r.y*l.y-u.scrollTop*l.y+p.y+f.y}},getDocumentElement:M,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,a=[..."clippingAncestors"===r?j(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=V(e,[],!1).filter(e=>P(e)&&"body"!==R(e)),i=null,o="fixed"===z(e).position,s=o?W(e):e;for(;P(s)&&!B(s);){let t=z(s),r=F(s);r||"fixed"!==t.position||(i=null),(o?!r&&!i:!r&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||D(s)&&!r&&function e(t,r){let n=W(t);return!(n===r||!P(n)||B(n))&&("fixed"===z(n).position||e(n,r))}(e,s))?n=n.filter(e=>e!==s):i=t,s=W(s)}return t.set(e,n),n}(t,this._c):[].concat(r),n],u=a[0],c=a.reduce((e,r)=>{let n=ee(t,r,i);return e.top=s(n.top,e.top),e.right=o(n.right,e.right),e.bottom=o(n.bottom,e.bottom),e.left=s(n.left,e.left),e},ee(t,u,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:en,getElementRects:ei,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=G(e);return{width:t,height:r}}
5,getScale:Y,isElement:P,isRTL:function(e){return"rtl"===z(e).direction}};function es(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ea=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:i,rects:a,platform:u,elements:c,middlewareData:l}=t,{element:p,padding:f=0}=h(e,t)||{};if(null==p)return{};let y=_(f),b={x:r,y:n},w=g(v(i)),k=m(w),x=await u.getDimensions(p),S="y"===w,C=S?"clientHeight":"clientWidth",E=a.reference[k]+a.reference[w]-b[w]-a.floating[k],I=b[w]-a.reference[w],O=await (null==u.getOffsetParent?void 0:u.getOffsetParent(p)),R=O?O[C]:0;R&&await (null==u.isElement?void 0:u.isElement(O))||(R=c.floating[C]||a.floating[k]);let A=R/2-x[k]/2-1,M=o(y[S?"top":"left"],A),T=o(y[S?"bottom":"right"],A),P=R-x[k]-T,L=R/2-x[k]/2+(E/2-I/2),N=s(M,o(L,P)),D=!l.arrow&&null!=d(i)&&L!==N&&a.reference[k]/2-(L<M?M:T)-x[k]/2<0,j=D?L<M?L-M:L-P:0;return{[w]:b[w]+j,data:{[w]:N,centerOffset:L-N-j,...D&&{alignmentOffset:j}},reset:D}}}),eu=(e,t,r)=>{let n=new Map,i={platform:eo,...r},o={...i.platform,_c:n};return x(e,t,{...i,platform:o})};var ec=r(73935),el="undefined"!=typeof document?n.useLayoutEffect:n.useEffect;function ep(e,t){let r,n,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!ep(e[n],t[n]))return!1;return!0}if((r=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){let r=i[n];if(("_owner"!==r||!e.$$typeof)&&!ep(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eh(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ef(e,t){let r=eh(e);return Math.round(t*r)/r}function ed(e){let t=n.useRef(e);return el(()=>{t.current=e}),t}let eg=e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?ea({element:r.current,padding:n}).fn(t):{}:r?ea({element:r,padding:n}).fn(t):{}}}),em=(e,t)=>{var r;return{...(void 0===(r=e)&&(r=0),{name:"offset",options:r,async fn(e){var t,n;let{x:i,y:o,placement:s,middlewareData:a}=e,u=await I(e,r);return s===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:{...u,placement:s}}}}),options:[e,t]}},ev=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=h(r,e),p={x:t,y:n},d=await S(e,l),m=v(f(i)),y=g(m),b=p[y],_=p[m];if(a){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",r=b+d[e],n=b-d[t];b=s(r,o(b,n))}if(u){let e="y"===m?"top":"left",t="y"===m?"bottom":"right",r=_+d[e],n=_-d[t];_=s(r,o(_,n))}let w=c.fn({...e,[y]:b,[m]:_});return{...w,data:{x:w.x-t,y:w.y-n,enabled:{[y]:a,[m]:u}}}}}),options:[e,t]}},ey=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{options:r,fn(e){let{x:t,y:n,placement:i,rects:o,middlewareData:s}=e,{offset:a=0,mainAxis:u=!0,crossAxis:c=!0}=h(r,e),l={x:t,y:n},p=v(i),d=g(p),m=l[d],y=l[p],b=h(a,e),_="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(u){let e="y"===d?"height":"width",t=o.reference[d]-o.floating[e]+_.mainAxis,r=o.reference[d]+o.reference[e]-_.mainAxis;m<t?m=t:m>r&&(m=r)}if(c){var w,k;let e="y"===d?"width":"height",t=["top","left"].includes(f(i)),r=o.reference[p]-o.floating[e]+(t&&(null==(w=s.offset)?void 0:w[p])||0)+(t?0:_.crossAxis),n=o.reference[p]+o.reference[e]+(t?0:(null==(k=s.offset)?void 0:k[p])||0)-(t?_.crossAxis:0);y<r?y=r:y>n&&(y=n)}return{[d]:m,[p]:y}}}),options:[e,t]}},eb=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"flip",options:r,async fn(e){var t,n,i,o,s;let{placement:a,middlewareData:u,rects:c,initialPlacement:l,platform:p,elements:_}=e,{mainAxis:w=!0,crossAxis:k=!0,fallbackPlacements:x,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:I=!0,...O}=h(r,e);if(null!=(t=u.arrow)&&t.alignmentOffset)return{};let R=f(a),A=v(l),M=f(l)===l,T=await (null==p.isRTL?void 0:p.isRTL(_.floating)),P=x||(M||!I?[b(l)]:function(e){let t=b(e);return[y(e),t,y(t)]}(l)),L="none"!==E;!x&&L&&P.push(...function(e,t,r,n){let i=d(e),o=function(e,t,r){let n=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(r)return t?i:n;return t?n:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(f(e),"start"===r,n);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(y)))),o}(l,I,E,T));let N=[l,...P],D=await S(e,O),j=[],F=(null==(n=u.flip)?void 0:n.overflows)||[];if(w&&j.push(D[R]),k){let e=function(e,t,r){void 0===r&&(r=!1);let n=d(e),i=g(v(e)),o=m(i),s="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=b(s)),[s,b(s)]}(a,c,T);j.push(D[e[0]],D[e[1]])}if(F=[...F,{placement:a,overflows:j}],!j.every(e=>e<=0)){let e=((null==(i=u.flip)?void 0:i.index)||0)+1,t=N[e];if(t)return{data:{index:e,overflows:F},reset:{placement:t}};let r=null==(o=F.filter(e=>e.overflows[0]<=0).sort((e,t)=>
5e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!r)switch(C){case"bestFit":{let e=null==(s=F.filter(e=>{if(L){let t=v(e.placement);return t===A||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:s[0];e&&(r=e);break}case"initialPlacement":r=l}if(a!==r)return{reset:{placement:r}}}return{}}}),options:[e,t]}},e_=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"size",options:r,async fn(e){var t,n;let i,a;let{placement:u,rects:c,platform:l,elements:p}=e,{apply:g=()=>{},...m}=h(r,e),y=await S(e,m),b=f(u),_=d(u),w="y"===v(u),{width:k,height:x}=c.floating;"top"===b||"bottom"===b?(i=b,a=_===(await (null==l.isRTL?void 0:l.isRTL(p.floating))?"start":"end")?"left":"right"):(a=b,i="end"===_?"top":"bottom");let C=x-y.top-y.bottom,E=k-y.left-y.right,I=o(x-y[i],C),O=o(k-y[a],E),R=!e.middlewareData.shift,A=I,M=O;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(M=E),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(A=C),R&&!_){let e=s(y.left,0),t=s(y.right,0),r=s(y.top,0),n=s(y.bottom,0);w?M=k-2*(0!==e||0!==t?e+t:s(y.left,y.right)):A=x-2*(0!==r||0!==n?r+n:s(y.top,y.bottom))}await g({...e,availableWidth:M,availableHeight:A});let T=await l.getDimensions(p.floating);return k!==T.width||x!==T.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},ew=(e,t)=>{var r;return{...(void 0===(r=e)&&(r={}),{name:"hide",options:r,async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...i}=h(r,e);switch(n){case"referenceHidden":{let r=C(await S(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:E(r)}}}case"escaped":{let r=C(await S(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:E(r)}}}default:return{}}}}),options:[e,t]}},ek=(e,t)=>({...eg(e),options:[e,t]});var ex=r(75320),eS=r(85893),eC=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,eS.jsx)(ex.WV.svg,{...o,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,eS.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eC.displayName="Arrow";var eE=r(28771),eI=r(25360),eO=r(79698),eR=r(9981),eA=r(7546),eM="Popper",[eT,eP]=(0,eI.b)(eM),[eL,eN]=eT(eM),eD=e=>{let{__scopePopper:t,children:r}=e,[i,o]=n.useState(null);return(0,eS.jsx)(eL,{scope:t,anchor:i,onAnchorChange:o,children:r})};eD.displayName=eM;var ej="PopperAnchor",eF=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:i,...o}=e,s=eN(ej,r),a=n.useRef(null),u=(0,eE.e)(t,a);return n.useEffect(()=>{s.onAnchorChange(i?.current||a.current)}),i?null:(0,eS.jsx)(ex.WV.div,{...o,ref:u})});eF.displayName=ej;var eU="PopperContent",[eB,ez]=eT(eU),eq=n.forwardRef((e,t)=>{let{__scopePopper:r,side:i="bottom",sideOffset:a=0,align:c="center",alignOffset:l=0,arrowPadding:p=0,avoidCollisions:h=!0,collisionBoundary:f=[],collisionPadding:d=0,sticky:g="partial",hideWhenDetached:m=!1,updatePositionStrategy:v="optimized",onPlaced:y,...b}=e,_=eN(eU,r),[w,k]=n.useState(null),x=(0,eE.e)(t,e=>k(e)),[S,C]=n.useState(null),E=(0,eA.t)(S),I=E?.width??0,O=E?.height??0,R="number"==typeof d?d:{top:0,right:0,bottom:0,left:0,...d},A=Array.isArray(f)?f:[f],T=A.length>0,P={padding:R,boundary:A.filter(eG),altBoundary:T},{refs:L,floatingStyles:N,placement:D,isPositioned:j,middlewareData:F}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:s,floating:a}={},transform:u=!0,whileElementsMounted:c,open:l}=e,[p,h]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,d]=n.useState(i);ep(f,i)||d(i);let[g,m]=n.useState(null),[v,y]=n.useState(null),b=n.useCallback(e=>{e!==x.current&&(x.current=e,m(e))},[]),_=n.useCallback(e=>{e!==S.current&&(S.current=e,y(e))},[]),w=s||g,k=a||v,x=n.useRef(null),S=n.useRef(null),C=n.useRef(p),E=null!=c,I=ed(c),O=ed(o),R=ed(l),A=n.useCallback(()=>{if(!x.current||!S.current)return;let e={placement:t,strategy:r,middleware:f};O.current&&(e.platform=O.current),eu(x.current,S.current,e).then(e=>{let t={...e,isPositioned:!1!==R.current};M.current&&!ep(C.current,t)&&(C.current=t,ec.flushSync(()=>{h(t)}))})},[f,t,r,O,R]);el(()=>{!1===l&&C.current.isPositioned&&(C.current.isPositioned=!1,h(e=>({...e,isPositioned:!1})))},[l]);let M=n.useRef(!1);el(()=>(M.current=!0,()=>{M.current=!1}),[]),el(()=>{if(w&&(x.current=w),k&&(S.current=k),w&&k){if(I.current)return I.current(w,k,A);A()}},[w,k,A,I,E]);let T=n.useMemo(()=>({reference:x,floating:S,setReference:b,setFloating:_}),[b,_]),P=n.useMemo(()=>({reference:w,floating:k}),[w,k]),L=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!P.floating)return e;let t=ef(P.floating,p.x),n=ef(P.floating,p.y);return u?{...e,transform:"translate("+t+"px, "+n+"px)",...eh(P.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,u,P.floating,p.x,p.y]);return n.useMemo(()=>({...p,update:A,refs:T,elements:P,floatingStyles:L}),[p,A,T,P,L])}({strategy:"fixed",placement:i+("center"!==c?"-"+c:""),whileElementsMounted:(...e)=>(function(e,t,r,n){let i;void 0===n&&(n={});let{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:p="function"==typeof IntersectionObserver,animationFrame:h=!1}=n,f=H(e),d=a||c?[...f?V(f):[],...V(t)]:[];
5d.forEach(e=>{a&&e.addEventListener("scroll",r,{passive:!0}),c&&e.addEventListener("resize",r)});let g=f&&p?function(e,t){let r,n=null,i=M(e);function a(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function c(l,p){void 0===l&&(l=!1),void 0===p&&(p=1),a();let h=e.getBoundingClientRect(),{left:f,top:d,width:g,height:m}=h;if(l||t(),!g||!m)return;let v=u(d),y=u(i.clientWidth-(f+g)),b={rootMargin:-v+"px "+-y+"px "+-u(i.clientHeight-(d+m))+"px "+-u(f)+"px",threshold:s(0,o(1,p))||1},_=!0;function w(t){let n=t[0].intersectionRatio;if(n!==p){if(!_)return c();n?c(!1,n):r=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==n||es(h,e.getBoundingClientRect())||c(),_=!1}try{n=new IntersectionObserver(w,{...b,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(w,b)}n.observe(e)}(!0),a}(f,r):null,m=-1,v=null;l&&(v=new ResizeObserver(e=>{let[n]=e;n&&n.target===f&&v&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),r()}),f&&!h&&v.observe(f),v.observe(t));let y=h?J(e):null;return h&&function t(){let n=J(e);y&&!es(y,n)&&r(),y=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;d.forEach(e=>{a&&e.removeEventListener("scroll",r),c&&e.removeEventListener("resize",r)}),null==g||g(),null==(e=v)||e.disconnect(),v=null,h&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===v}),elements:{reference:_.anchor},middleware:[em({mainAxis:a+O,alignmentAxis:l}),h&&ev({mainAxis:!0,crossAxis:!1,limiter:"partial"===g?ey():void 0,...P}),h&&eb({...P}),e_({...P,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:i,height:o}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${r}px`),s.setProperty("--radix-popper-available-height",`${n}px`),s.setProperty("--radix-popper-anchor-width",`${i}px`),s.setProperty("--radix-popper-anchor-height",`${o}px`)}}),S&&ek({element:S,padding:p}),eH({arrowWidth:I,arrowHeight:O}),m&&ew({strategy:"referenceHidden",...P})]}),[U,B]=eY(D),z=(0,eO.W)(y);(0,eR.b)(()=>{j&&z?.()},[j,z]);let q=F.arrow?.x,W=F.arrow?.y,$=F.arrow?.centerOffset!==0,[G,Y]=n.useState();return(0,eR.b)(()=>{w&&Y(window.getComputedStyle(w).zIndex)},[w]),(0,eS.jsx)("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...N,transform:j?N.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:G,"--radix-popper-transform-origin":[F.transformOrigin?.x,F.transformOrigin?.y].join(" "),...F.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eS.jsx)(eB,{scope:r,placedSide:U,onArrowChange:C,arrowX:q,arrowY:W,shouldHideArrow:$,children:(0,eS.jsx)(ex.WV.div,{"data-side":U,"data-align":B,...b,ref:x,style:{...b.style,animation:j?void 0:"none"}})})})});eq.displayName=eU;var eW="PopperArrow",eV={top:"bottom",right:"left",bottom:"top",left:"right"},e$=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=ez(eW,r),o=eV[i.placedSide];return(0,eS.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eS.jsx)(eC,{...n,ref:t,style:{...n.style,display:"block"}})})});function eG(e){return null!==e}e$.displayName=eW;var eH=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,s=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[u,c]=eY(r),l={start:"0%",center:"50%",end:"100%"}[c],p=(i.arrow?.x??0)+s/2,h=(i.arrow?.y??0)+a/2,f="",d="";return"bottom"===u?(f=o?l:`${p}px`,d=`${-a}px`):"top"===u?(f=o?l:`${p}px`,d=`${n.floating.height+a}px`):"right"===u?(f=`${-a}px`,d=o?l:`${h}px`):"left"===u&&(f=`${n.floating.width+a}px`,d=o?l:`${h}px`),{data:{x:f,y:d}}}});function eY(e){let[t,r="center"]=e.split("-");return[t,r]}var eZ=eD,eX=eF,eJ=eq,eK=e$},42651:function(e,t,r){"use strict";r.d(t,{f:function(){return c},h:function(){return u}});var n=r(67294),i=r(73935),o=r(75320),s=r(9981),a=r(85893),u=n.forwardRef((e,t)=>
5{let{container:r,...u}=e,[c,l]=n.useState(!1);(0,s.b)(()=>l(!0),[]);let p=r||c&&globalThis?.document?.body;return p?i.createPortal((0,a.jsx)(o.WV.div,{...u,ref:t}),p):null});u.displayName="Portal";var c=u},29115:function(e,t,r){"use strict";r.d(t,{z:function(){return s}});var n=r(67294),i=r(28771),o=r(9981),s=e=>{let t,r;let{present:s,children:u}=e,c=function(e){var t,r;let[i,s]=n.useState(),u=n.useRef({}),c=n.useRef(e),l=n.useRef("none"),[p,h]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>r[e][t]??e,t));return n.useEffect(()=>{let e=a(u.current);l.current="mounted"===p?e:"none"},[p]),(0,o.b)(()=>{let t=u.current,r=c.current;if(r!==e){let n=l.current,i=a(t);e?h("MOUNT"):"none"===i||t?.display==="none"?h("UNMOUNT"):r&&n!==i?h("ANIMATION_OUT"):h("UNMOUNT"),c.current=e}},[e,h]),(0,o.b)(()=>{if(i){let e;let t=i.ownerDocument.defaultView??window,r=r=>{let n=a(u.current).includes(r.animationName);if(r.target===i&&n&&(h("ANIMATION_END"),!c.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(l.current=a(u.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}h("ANIMATION_END")},[i,h]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:n.useCallback(e=>{e&&(u.current=getComputedStyle(e)),s(e)},[])}}(s),l="function"==typeof u?u({present:c.isPresent}):n.Children.only(u),p=(0,i.e)(c.ref,(t=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?l.ref:(t=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?l.props.ref:l.props.ref||l.ref);return"function"==typeof u||c.isPresent?n.cloneElement(l,{ref:p}):null};function a(e){return e?.animationName||"none"}s.displayName="Presence"},75320:function(e,t,r){"use strict";r.d(t,{WV:function(){return a},jH:function(){return u}});var n=r(67294),i=r(73935),o=r(88426),s=r(85893),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,o.Z8)(`Primitive.${t}`),i=n.forwardRef((e,n)=>{let{asChild:i,...o}=e,a=i?r:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(a,{...o,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function u(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},88426:function(e,t,r){"use strict";r.d(t,{A4:function(){return l},Z8:function(){return s},fC:function(){return a},sA:function(){return c}});var n=r(67294),i=r(28771),o=r(85893);function s(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){let e,s;let a=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,u=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{o(...e),i(...e)}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==n.Fragment&&(u.ref=t?(0,i.F)(t,a):a),n.cloneElement(r,u)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:i,...s}=e,a=n.Children.toArray(i),u=a.find(p);if(u){let e=u.props.children,i=a.map(t=>t!==u?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(t,{...s,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,i):null})}return(0,o.jsx)(t,{...s,ref:r,children:i})});return r.displayName=`${e}.Slot`,r}var a=s("Slot"),u=Symbol("radix.slottable");function c(e){let t=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=u,t}var l=c("Slottable");function p(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}},66908:function(e,t,r){"use strict";r.d(t,{Eh:function(){return Z},VY:function(){return Y},fC:function(){return $},h_:function(){return H},xz:function(){return G},zt:function(){return V}});var n=r(67294),i=r(36206),o=r(28771),s=r(25360),a=r(46063),u=r(91276),c=r(53990),l=r(42651),p=r(29115),h=r(75320),f=r(88426),d=r(77342),g=r(96219),m=r(85893),[v,y]=(0,s.b)("Tooltip",[c.D7]),b=(0,c.D7)(),_="TooltipProvider",w="tooltip.open",[k,x]=v(_),S=e=>{let{__scopeTooltip:t,delayDuration:r=700,skipDelayDuration:i=300,disableHoverableContent:o=!1,children:s}=e,a=n.useRef(!0),u=n.useRef(!1),c=n.useRef(0);return n.useEffect(()=>
5{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,m.jsx)(k,{scope:t,isOpenDelayedRef:a,delayDuration:r,onOpen:n.useCallback(()=>{window.clearTimeout(c.current),a.current=!1},[]),onClose:n.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.current=!0,i)},[i]),isPointerInTransitRef:u,onPointerInTransitChange:n.useCallback(e=>{u.current=e},[]),disableHoverableContent:o,children:s})};S.displayName=_;var C="Tooltip",[E,I]=v(C),O=e=>{let{__scopeTooltip:t,children:r,open:i,defaultOpen:o,onOpenChange:s,disableHoverableContent:a,delayDuration:l}=e,p=x(C,e.__scopeTooltip),h=b(t),[f,g]=n.useState(null),v=(0,u.M)(),y=n.useRef(0),_=a??p.disableHoverableContent,k=l??p.delayDuration,S=n.useRef(!1),[I,O]=(0,d.T)({prop:i,defaultProp:o??!1,onChange:e=>{e?(p.onOpen(),document.dispatchEvent(new CustomEvent(w))):p.onClose(),s?.(e)},caller:C}),R=n.useMemo(()=>I?S.current?"delayed-open":"instant-open":"closed",[I]),A=n.useCallback(()=>{window.clearTimeout(y.current),y.current=0,S.current=!1,O(!0)},[O]),M=n.useCallback(()=>{window.clearTimeout(y.current),y.current=0,O(!1)},[O]),T=n.useCallback(()=>{window.clearTimeout(y.current),y.current=window.setTimeout(()=>{S.current=!0,O(!0),y.current=0},k)},[k,O]);return n.useEffect(()=>()=>{y.current&&(window.clearTimeout(y.current),y.current=0)},[]),(0,m.jsx)(c.fC,{...h,children:(0,m.jsx)(E,{scope:t,contentId:v,open:I,stateAttribute:R,trigger:f,onTriggerChange:g,onTriggerEnter:n.useCallback(()=>{p.isOpenDelayedRef.current?T():A()},[p.isOpenDelayedRef,T,A]),onTriggerLeave:n.useCallback(()=>{_?M():(window.clearTimeout(y.current),y.current=0)},[M,_]),onOpen:A,onClose:M,disableHoverableContent:_,children:r})})};O.displayName=C;var R="TooltipTrigger",A=n.forwardRef((e,t)=>{let{__scopeTooltip:r,...s}=e,a=I(R,r),u=x(R,r),l=b(r),p=n.useRef(null),f=(0,o.e)(t,p,a.onTriggerChange),d=n.useRef(!1),g=n.useRef(!1),v=n.useCallback(()=>d.current=!1,[]);return n.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),(0,m.jsx)(c.ee,{asChild:!0,...l,children:(0,m.jsx)(h.WV.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...s,ref:f,onPointerMove:(0,i.M)(e.onPointerMove,e=>{"touch"===e.pointerType||g.current||u.isPointerInTransitRef.current||(a.onTriggerEnter(),g.current=!0)}),onPointerLeave:(0,i.M)(e.onPointerLeave,()=>{a.onTriggerLeave(),g.current=!1}),onPointerDown:(0,i.M)(e.onPointerDown,()=>{a.open&&a.onClose(),d.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:(0,i.M)(e.onFocus,()=>{d.current||a.onOpen()}),onBlur:(0,i.M)(e.onBlur,a.onClose),onClick:(0,i.M)(e.onClick,a.onClose)})})});A.displayName=R;var M="TooltipPortal",[T,P]=v(M,{forceMount:void 0}),L=e=>{let{__scopeTooltip:t,forceMount:r,children:n,container:i}=e,o=I(M,t);return(0,m.jsx)(T,{scope:t,forceMount:r,children:(0,m.jsx)(p.z,{present:r||o.open,children:(0,m.jsx)(l.h,{asChild:!0,container:i,children:n})})})};L.displayName=M;var N="TooltipContent",D=n.forwardRef((e,t)=>{let r=P(N,e.__scopeTooltip),{forceMount:n=r.forceMount,side:i="top",...o}=e,s=I(N,e.__scopeTooltip);return(0,m.jsx)(p.z,{present:n||s.open,children:s.disableHoverableContent?(0,m.jsx)(z,{side:i,...o,ref:t}):(0,m.jsx)(j,{side:i,...o,ref:t})})}),j=n.forwardRef((e,t)=>{let r=I(N,e.__scopeTooltip),i=x(N,e.__scopeTooltip),s=n.useRef(null),a=(0,o.e)(t,s),[u,c]=n.useState(null),{trigger:l,onClose:p}=r,h=s.current,{onPointerInTransitChange:f}=i,d=n.useCallback(()=>{c(null),f(!1)},[f]),g=n.useCallback((e,t)=>{let r=e.currentTarget,n={x:e.clientX,y:e.clientY},i=function(e,t){let r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,i,o)){case o:return"left";case i:return"right";case r:return"top";case n:return"bottom";default:throw Error("unreachable")}}(n,r.getBoundingClientRect());c(function(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let n=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x))t.pop();else break}t.push(n)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let n=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))r.pop();else break}r.push(n)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}(t)}([...function(e,t,r=5){let n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return n}(n,i),...function(e){let{top:t,right:r,bottom:n,left:i}=e;return[{x:i,y:t},{x:r,y:t},{x:r,y:n},{x:i,y:n}]}(t.getBoundingClientRect())])),f(!0)},[f]);return n.useEffect(()=>()=>d(),[d]),n.useEffect(()=>{if(l&&h){let e=e=>g(e,h),t=e=>g(e,l);return l.addEventListener("pointerleave",e),h.addEventListener("pointerleave",t),()=>{l.removeEventListener("pointerleave",e),h.removeEventListener("pointerleave",t)}}},[l,h,g,d]),n.useEffect(()=>{if(u){let e=e=>{let t=e.target,r={x:e.clientX,y:e.clientY},n=l?.contains(t)||h?.contains(t),i=!function(e,t){let{x:r,y:n}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let s=t[e],a=t[o],u=s.x,c=s.y,l=a.x,p=a.y;c>n!=p>n&&r<(l-u)*(n-c)/(p-c)+u&&(i=!i)}return i}(r,u);n?d():i&&(d(),p())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[l,h,u,p,d]),(0,m.jsx)(z,{...e,ref:a})}),[F,U]=v(C,{isInside:!1}),B=(0,f.sA)("TooltipContent"),z=n.forwardRef((e,t)=>
5{let{__scopeTooltip:r,children:i,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:u,...l}=e,p=I(N,r),h=b(r),{onClose:f}=p;return n.useEffect(()=>(document.addEventListener(w,f),()=>document.removeEventListener(w,f)),[f]),n.useEffect(()=>{if(p.trigger){let e=e=>{let t=e.target;t?.contains(p.trigger)&&f()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[p.trigger,f]),(0,m.jsx)(a.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:f,children:(0,m.jsxs)(c.VY,{"data-state":p.stateAttribute,...h,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,m.jsx)(B,{children:i}),(0,m.jsx)(F,{scope:r,isInside:!0,children:(0,m.jsx)(g.fC,{id:p.contentId,role:"tooltip",children:o||i})})]})})});D.displayName=N;var q="TooltipArrow",W=n.forwardRef((e,t)=>{let{__scopeTooltip:r,...n}=e,i=b(r);return U(q,r).isInside?null:(0,m.jsx)(c.Eh,{...i,...n,ref:t})});W.displayName=q;var V=S,$=O,G=A,H=L,Y=D,Z=W},79698:function(e,t,r){"use strict";r.d(t,{W:function(){return i}});var n=r(67294);function i(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},77342:function(e,t,r){"use strict";r.d(t,{T:function(){return a}});var n,i=r(67294),o=r(9981),s=(n||(n=r.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.b;function a({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[o,a,u]=function({defaultProp:e,onChange:t}){let[r,n]=i.useState(e),o=i.useRef(r),a=i.useRef(t);return s(()=>{a.current=t},[t]),i.useEffect(()=>{o.current!==r&&(a.current?.(r),o.current=r)},[r,o]),[r,n,a]}({defaultProp:t,onChange:r}),c=void 0!==e,l=c?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,n])}return[l,i.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&u.current?.(r)}else a(t)},[c,e,a,u])]}Symbol("RADIX:SYNC_STATE")},9981:function(e,t,r){"use strict";r.d(t,{b:function(){return i}});var n=r(67294),i=globalThis?.document?n.useLayoutEffect:()=>{}},7546:function(e,t,r){"use strict";r.d(t,{t:function(){return o}});var n=r(67294),i=r(9981);function o(e){let[t,r]=n.useState(void 0);return(0,i.b)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},96219:function(e,t,r){"use strict";r.d(t,{C2:function(){return s},fC:function(){return u}});var n=r(67294),i=r(75320),o=r(85893),s=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),a=n.forwardRef((e,t)=>(0,o.jsx)(i.WV.span,{...e,ref:t,style:{...s,...e.style}}));a.displayName="VisuallyHidden";var u=a},90512:function(e,t,r){"use strict";function n(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{W:function(){return n}}),t.Z=n},31955:function(e,t,r){"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}r.d(t,{Z:function(){return i}});var i=function e(t,r){function i(e,i,o){if("undefined"!=typeof document){"number"==typeof(o=n({},r,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decode
5URIComponent).replace(/[()]/g,escape);var s="";for(var a in o)o[a]&&(s+="; "+a,!0!==o[a]&&(s+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+s}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},i=0;i<r.length;i++){var o=r[i].split("="),s=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(n[a]=t.read(s,a),e===a)break}catch(e){}}return e?n[e]:n}},remove:function(e,t){i(e,"",n({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,n({},this.attributes,t))},withConverter:function(t){return e(n({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},97425:function(e,t,r){"use strict";r.d(t,{Ni:function(){return p},Q2:function(){return f},TC:function(){return h}});var n=r(67294),i=r(93967),o=r(66908),s=r(78990),a=r(88426),u=r(4493),c=r(41633);let l=()=>{},p=n.createContext(void 0);function h(){let e=n.useContext(p);if(void 0===e)throw Error("`useThemeContext` must be used within a `Theme`");return e}let f=n.forwardRef((e,t)=>void 0===n.useContext(p)?n.createElement(o.zt,{delayDuration:200},n.createElement(s.z,{dir:"ltr"},n.createElement(d,{...e,ref:t}))):n.createElement(g,{...e,ref:t}));f.displayName="Theme";let d=n.forwardRef((e,t)=>{let{appearance:r=c.y.appearance.default,accentColor:i=c.y.accentColor.default,grayColor:o=c.y.grayColor.default,panelBackground:s=c.y.panelBackground.default,radius:a=c.y.radius.default,scaling:u=c.y.scaling.default,hasBackground:l=c.y.hasBackground.default,...p}=e,[h,f]=n.useState(r);n.useEffect(()=>f(r),[r]);let[d,m]=n.useState(i);n.useEffect(()=>m(i),[i]);let[v,y]=n.useState(o);n.useEffect(()=>y(o),[o]);let[b,_]=n.useState(s);n.useEffect(()=>_(s),[s]);let[w,k]=n.useState(a);n.useEffect(()=>k(a),[a]);let[x,S]=n.useState(u);return n.useEffect(()=>S(u),[u]),n.createElement(g,{...p,ref:t,isRoot:!0,hasBackground:l,appearance:h,accentColor:d,grayColor:v,panelBackground:b,radius:w,scaling:x,onAppearanceChange:f,onAccentColorChange:m,onGrayColorChange:y,onPanelBackgroundChange:_,onRadiusChange:k,onScalingChange:S})});d.displayName="ThemeRoot";let g=n.forwardRef((e,t)=>{let r=n.useContext(p),{asChild:o,isRoot:s,hasBackground:h,appearance:f=r?.appearance??c.y.appearance.default,accentColor:d=r?.accentColor??c.y.accentColor.default,grayColor:g=r?.resolvedGrayColor??c.y.grayColor.default,panelBackground:m=r?.panelBackground??c.y.panelBackground.default,radius:v=r?.radius??c.y.radius.default,scaling:y=r?.scaling??c.y.scaling.default,onAppearanceChange:b=l,onAccentColorChange:_=l,onGrayColorChange:w=l,onPanelBackgroundChange:k=l,onRadiusChange:x=l,onScalingChange:S=l,...C}=e,E=o?a.fC:"div",I="auto"===g?(0,u.G)(d):g,O="light"===e.appearance||"dark"===e.appearance;return n.createElement(p.Provider,{value:n.useMemo(()=>({appearance:f,accentColor:d,grayColor:g,resolvedGrayColor:I,panelBackground:m,radius:v,scaling:y,onAppearanceChange:b,onAccentColorChange:_,onGrayColorChange:w,onPanelBackgroundChange:k,onRadiusChange:x,onScalingChange:S}),[f,d,g,I,m,v,y,b,_,w,k,x,S])},n.createElement(E,{"data-is-root-theme":s?"true":"false","data-accent-color":d,"data-gray-color":I,"data-has-background":(void 0===h?s||O:h)?"true":"false","data-panel-background":m,"data-radius":v,"data-scaling":y,ref:t,...C,className:i("radix-themes",{light:"light"===f,dark:"dark"===f},C.className)}))});g.displayName="ThemeImpl"},41633:function(e,t,r){"use strict";r.d(t,{y:function(){return s}});var n=r(66732),i=r(67943),o=r(61484);let s={...n.C,hasBackground:{type:"boolean",default:!0},appearance:{type:"enum",values:["inherit","light","dark"],default:"inherit"},accentColor:{type:"enum",values:i.FN,default:"indigo"},grayColor:{type:"enum",values:i.ab,default:"auto"},panelBackground:{type:"enum",values:["solid","translucent"],default:"translucent"},radius:{type:"enum",values:o.p,default:"medium"},scaling:{type:"enum",values:["90%","95%","100%","105%","110%"],default:"100%"}}},4493:function(e,t,r){"use strict";function n(e){switch(e){case"tomato":case"red":case"ruby":case"crimson":case"pink":case"plum":case"purple":case"violet":return"mauve";case"iris":case"indigo":case"blue":case"sky":case"cyan":return"slate";case"teal":case"jade":case"mint":case"green":return"sage";case"grass":case"lime":return"olive";case"yellow":case"amber":case"orange":case"brown":case"gold":case"bronze":return"sand";case"gray":return"gray"}}r.d(t,{G:function(){return n}})},66732:function(e,t,r){"use strict";r.d(t,{C:function(){return n}});let n={asChild:{type:"boolean"}}},67943:function(e,t,r){"use strict";r.d(t,{EG:function(){return o},FN:function(){return n},ab:function(){return i},o3:function(){return s}});let n=["gray","gold","bronze","brown","yellow","amber","orange","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","ja
5de","green","grass","lime","mint","sky"],i=["auto","gray","mauve","slate","sage","olive","sand"],o={color:{type:"enum",values:n,default:void 0}},s={color:{type:"enum",values:n,default:""}}},61484:function(e,t,r){"use strict";r.d(t,{I:function(){return i},p:function(){return n}});let n=["none","small","medium","large","full"],i={radius:{type:"enum",values:n,default:void 0}}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(37253)}),_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.