vendor: 41,085 bytes, lines 1-18
1var dr={},E;if(typeof window>"u"){var Cu={hostname:""};E={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:Cu,referrer:""},screen:{width:0,height:0},location:Cu,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else E=window;var Ne={DEBUG:!1,LIB_VERSION:"2.78.0"},qe="__mp_targeting",es="__mp_recorder",Hp="__MP_RECORDER_FILENAME__",gf="__MP_TARGETING_FILENAME__";function Eu(t,n){(n==null||n>t.length)&&(n=t.length);for(var i=0,e=new Array(n);i<n;i++)e[i]=t[i];return e}function Iu(t,n,i,e,r,o,s){try{var a=t[o](s),u=a.value}catch(c){i(c);return}a.done?n(u):Promise.resolve(u).then(e,r)}function Xi(t){return function(){var n=this,i=arguments;return new Promise(function(e,r){var o=t.apply(n,i);function s(u){Iu(o,e,r,s,a,"next",u)}function a(u){Iu(o,e,r,s,a,"throw",u)}s(void 0)})}}function si(t,n,i){return mf()?si=Reflect.construct:si=function(r,o,s){var a=[null];a.push.apply(a,o);var u=Function.bind.apply(r,a),c=new u;return s&&Hr(c,s.prototype),c},si.apply(null,arguments)}function Yp(t,n){for(var i=0;i<n.length;i++){var e=n[i];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}function ae(t,n,i){return n&&Yp(t.prototype,n),t}function z(){return z=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e])}return t},z.apply(this,arguments)}function ts(t){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},ts(t)}function fe(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&Hr(t,n)}function M(t,n){return n!=null&&typeof Symbol<"u"&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](t):t instanceof n}function Kp(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wt(t,n){if(t==null)return{};var i={},e=Object.keys(t),r,o;for(o=0;o<e.length;o++)r=e[o],!(n.indexOf(r)>=0)&&(i[r]=t[r]);return i}function Hr(t,n){return Hr=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e},Hr(t,n)}function T(t){"@swc/helpers - typeof";return t&&typeof Symbol<"u"&&t.constructor===Symbol?"symbol":typeof t}function Jp(t,n){if(t){if(typeof t=="string")return Eu(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Eu(t,n)}}function Yr(t){var n=typeof Map=="function"?new Map:void 0;return Yr=function(e){if(e===null||!Kp(e))return e;if(typeof e!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(e))return n.get(e);n.set(e,r)}function r(){return si(e,arguments,ts(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Hr(r,e)},Yr(t)}function mf(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(mf=function(){return!!t})()}function I(t,n){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=Jp(t))||n){i&&(t=i);var e=0;return function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Gt(t,n){var i,e,r,o,s={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(c){return function(f){return u([c,f])}}function u(c){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,e&&(r=c[0]&2?e.return:c[0]?e.throw||((r=e.return)&&r.call(e),0):e.next)&&!(r=r.call(e,c[1])).done)return r;switch(e=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return s.label++,{value:c[1],done:!1};case 5:s.label++,e=c[1],c=[0];continue;case 7:c=s.ops.pop(),s.trys.pop();continue;default:if(r=s.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){s=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){s.label=c[1];break}if(c[0]===6&&s.label<r[1]){s.label=r[1],r=c;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(c);break}r[2]&&s.ops.pop(),s.trys.pop();continue}c=n.call(t,s)}catch(f){c=[6,f],e=0}finally{i=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function va(t){var n=typeof Symbol=="function"&&Symbol.iterator,i=n&&t[n],e=0;if(i)return i.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&e>=t.length&&(t=void 0),{value:t&&t[e++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}var Xp=Object.defineProperty,Zp=function(t,n,i){return n in t?Xp(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i},x=function(t,n,i){return Zp(t,(typeof n>"u"?"undefined":T(n))!=="symbol"?n+"":n,i)},Ou,Qp=Object.defineProperty,ed=function(t,n,i){return n in t?Qp(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i},xu=function(t,n,i){return ed(t,(typeof n>"u"?"undefined":T(n))!=="symbol"?n+"":n,i)},Ee=function(t){return t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment",t}(Ee||{}),Ru={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Au={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},En={},td=function(){return!!globalThis.Zone};function ga(t){if(En[t])return En[t];var n=globalThis[t],i=n.prototype,e=t in Ru?Ru[t]:void 0,r=!!(e&&e.every(function(f){var l,h;return!!((h=(l=Object.getOwnPropertyDescriptor(i,f))==null?void 0:l.get)!=null&&h.toString().includes("[native code]"))})),o=t in Au?Au[t]:void 0,s=!!(o&&o.every(function(f){var l;return typeof i[f]=="function"&&((l=i[f])==null?void 0:l.toString().includes("[native code]"))}));if(r&&s&&!td())return En[t]=n.prototype,n.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return n.prototype;var c=u[t].prototype;return document.body.removeChild(a),c?En[t]=c:i}catch{return i}}var Co={};function St(t,n,i){var e,r=t+"."+String(i);if(Co[r])return Co[r].call(n);var o=ga(t),s=(e=Object.getOwnPropertyDescriptor(o,i))==null?void 0:e.get;return s?(Co[r]=s,s.call(n)):n[i]}var Eo={};function yf(t,n,i){var e=t+"."+String(i);if(Eo[e])return Eo[e].bind(n);var r=ga(t),o=r[i];return typeof o!="function"?n[i]:(Eo[e]=o,o.bind(n))}function rd(t){return St("Node",t,"childNodes")}function nd(t){return St("Node",t,"parentNode")}function id(t){return St("Node",t,"parentElement")}function od(t){return St("Node",t,"textContent")}function sd(t,n){return yf("Node",t,"contains")(n)}function ad(t){return yf("Node",t,"getRootNode")()}function ud(t){return!t||!("host"in t)?null:St("ShadowRoot",t,"host")}function cd(t){return t.styleSheets}function fd(t){return!t||!("shadowRoot"in t)?null:St("Element",t,"shadowRoot")}function ld(t,n){return St("Element",t,"querySelector")(n)}function hd(t,n){return St("Element",t,"querySelectorAll")(n)}function pd(){return ga("MutationObserver").constructor}function dd(t,n,i){try{if(!(n in t))return function(){};var e=t[n],r=i(e);return typeof r=="function"&&(r.prototype=r.prototype||{},Object.defineProperties(r,{__rrweb_original__:{enumerable:!1,value:e}})),t[n]=r,function(){t[n]=e}}catch{return function(){}}}var Ae={childNodes:rd,parentNode:nd,parentElement:id,textContent:od,contains:sd,getRootNode:ad,host:ud,styleSheets:cd,shadowRoot:fd,querySelector:ld,querySelectorAll:hd,mutationObserver:pd,patch:dd};function _f(t){return t.nodeType===t.ELEMENT_NODE}function Br(t){var n=t&&"host"in t&&"mode"in t&&Ae.host(t)||null;return!!(n&&"shadowRoot"in n&&Ae.shadowRoot(n)===t)}function zr(t){return Object.prototype.toString.call(t)==="[object ShadowRoot]"}function vd(t){return t.includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t}function gd(t){var n=t.cssText;if(n.split('"').length<3)return n;var i=["@import","url("+JSON.stringify(t.href)+")"];return t.layerName===""?i.push("layer"):t.layerName&&i.push("layer("+t.layerName+")"),t.supportsText&&i.push("supports("+t.supportsText+")"),t.media.length&&i.push(t.media.mediaText),i.join(" ")+";"}function rs(t){try{var n=t.rules||t.cssRules;if(!n)return null;var i=t.href;!i&&t.ownerNode&&t.ownerNode.ownerDocument&&(i=t.ownerNode.ownerDocument.location.href);var e=Array.from(n,function(r){return wf(r,i)}).join("");return vd(e)}catch{return null}}function wf(t,n){if(yd(t)){var i;try{i=rs(t.styleSheet)||gd(t)}catch{i=t.cssText}return t.styleSheet.href?yi(i,t.styleSheet.href):i}else{var e=t.cssText;return _d(t)&&t.selectorText.includes(":")&&(e=md(e)),n?yi(e,n):e}}function md(t){var n=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return t.replace(n,"$1\\$2")}function yd(t){return"styleSheet"in t}function _d(t){return"selectorText"in t}var bf=function(){function t(){xu(this,"idNodeMap",new Map),xu(this,"nodeMetaMap",new WeakMap)}var n=t.prototype;return n.getId=function(e){var r;if(!e)return-1;var o=(r=this.getMeta(e))==null?void 0:r.id;return o??-1},n.getNode=function(e){return this.idNodeMap.get(e)||null},n.getIds=function(){return Array.from(this.idNodeMap.keys())},n.getMeta=function(e){return this.nodeMetaMap.get(e)||null},n.removeNodeFromMap=function(e,r){var o=this;r===void 0&&(r=!1);var s=this.getId(e);this.idNodeMap.delete(s),r&&this.nodeMetaMap.delete(e),e.childNodes&&e.childNodes.forEach(function(a){return o.removeNodeFromMap(a,r)})},n.has=function(e){return this.idNodeMap.has(e)},n.hasNode=function(e){return this.nodeMetaMap.has(e)},n.add=function(e,r){var o=r.id;this.idNodeMap.set(o,e),this.nodeMetaMap.set(e,r)},n.replace=function(e,r){var o=this.getNode(e);if(o){var s=this.nodeMetaMap.get(o);s&&this.nodeMetaMap.set(r,s)}this.idNodeMap.set(e,r)},n.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},t}();function wd(){return new bf}function gi(t){var n=t.element,i=t.maskInputOptions,e=t.tagName,r=t.type,o=t.value,s=t.maskInputFn,a=o||"",u=r&&jt(r);return(i[e.toLowerCase()]||u&&i[u])&&(s?a=s(a,n):a="*".repeat(a.length)),a}function jt(t){return t.toLowerCase()}var ku="__rrweb_original__";function bd(t){var n=t.getContext("2d");if(!n)return!0;for(var i=50,e=0;e<t.width;e+=i)for(var r=0;r<t.height;r+=i){var o=n.getImageData,s=ku in o?o[ku]:o,a=new Uint32Array(s.call(n,e,r,Math.min(i,t.width-e),Math.min(i,t.height-r)).data.buffer);if(a.some(function(u){return u!==0}))return!1}return!0}function mi(t){var n=t.type;return t.hasAttribute("data-rr-is-password")?"password":n?jt(n):null}function Sf(t,n){var i;try{i=new URL(t,n??window.location.href)}catch{return null}var e=/\.([0-9a-z]+)(?:$)/i,r=i.pathname.match(e),o;return(o=r?.[1])!=null?o:null}function Sd(t){var n="";return t.indexOf("//")>-1?n=t.split("/").slice(0,3).join("/"):n=t.split("/")[0],n=n.split("?")[0],n}var Cd=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Ed=/^(?:[a-z+]+:)?\/\//i,Id=/^www\..*/i,Od=/^(data:)([^,]*),(.*)/i;function yi(t,n){return(t||"").replace(Cd,function(i,e,r,o,s,a){var u=r||s||a,c=e||o||"";if(!u)return i;if(Ed.test(u)||Id.test(u)||Od.test(u))return"url("+c+u+c+")";if(u[0]==="/")return"url("+c+(Sd(n)+u)+c+")";var f=n.split("/"),l=u.split("/");f.pop();for(var h=I(l),g;!(g=h()).done;){var v=g.value;v!=="."&&(v===".."?f.pop():f.push(v))}return"url("+c+f.join("/")+c+")"})}function In(t,n){return n===void 0&&(n=!1),n?t.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):t.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function xd(t,n,i){i===void 0&&(i=!1);var e=Array.from(n.childNodes),r=[],o=0;if(e.length>1&&t&&typeof t=="string"){for(var s=In(t,i),a=s.length/t.length,u=1;u<e.length;u++)if(e[u].textContent&&typeof e[u].textContent=="string"){for(var c=In(e[u].textContent,i),f=100,l=3;l<c.length&&(c[l].match(/[a-zA-Z0-9]/)||c.indexOf(c.substring(0,l),1)!==-1);l++);for(;l<c.length;l++){var h=c.substring(0,l),g=s.split(h),v=-1;if(g.length===2)v=g[0].length;else if(g.length>2&&g[0]===""&&e[u-1].textContent!=="")v=s.indexOf(h,1);else if(g.length===1){if(h=h.substring(0,h.length-1),g=s.split(h),g.length<=1)return r.push(t),r;l=f+1}else l===c.length-1&&(v=s.indexOf(h));if(g.length>=2&&l>f){var m=e[u-1].textContent;if(m&&typeof m=="string"){var d=In(m).length;v=s.indexOf(h,d)}v===-1&&(v=g[0].length)}if(v!==-1){for(var y=Math.floor(v/a);y>0&&y<t.length;){if(o+=1,o>50*e.length)return r.push(t),r;var _=In(t.substring(0,y),i);if(_.length===v){r.push(t.substring(0,y)),t=t.substring(y),s=s.substring(v);break}else _.length<v?y+=Math.max(1,Math.floor((v-_.length)/a)):y-=Math.max(1,Math.floor((_.length-v)*a))}break}}}}return r.push(t),r}function Rd(t,n){return xd(t,n).join("/* rr_split */")}var Ad=1,kd=new RegExp("[^a-z0-9-_:]"),Kr=-2;function Cf(){return Ad++}function Md(t){if(M(t,HTMLFormElement))return"form";var n=jt(t.tagName);return kd.test(n)?"div":n}var nr,Mu,Td=/^[^ \t\n\r\u000c]+/,$d=/^[, \t\n\r\u000c]+/;function Pd(t,n){if(n.trim()==="")return n;var i=0;function e(c){var f,l=c.exec(n.substring(i));return l?(f=l[0],i+=f.length,f):""}for(var r=[];e($d),!(i>=n.length);){var o=e(Td);if(o.slice(-1)===",")o=ur(t,o.substring(0,o.length-1)),r.push(o);else{var s="";o=ur(t,o);for(var a=!1;;){var u=n.charAt(i);if(u===""){r.push((o+s).trim());break}else if(a)u===")"&&(a=!1);else if(u===","){i+=1,r.push((o+s).trim());break}else u==="("&&(a=!0);s+=u,i+=1}}}return r.join(", ")}var Tu=new WeakMap;function ur(t,n){return!n||n.trim()===""?n:ma(t,n)}function Nd(t){return!!(t.tagName==="svg"||t.ownerSVGElement)}function ma(t,n){var i=Tu.get(t);if(i||(i=t.createElement("a"),Tu.set(t,i)),!n)n="";else if(n.startsWith("blob:")||n.startsWith("data:"))return n;return i.setAttribute("href",n),i.href}function Ef(t,n,i,e){return e&&(i==="src"||i==="href"&&!(n==="use"&&e[0]==="#")||i==="xlink:href"&&e[0]!=="#"||i==="background"&&(n==="table"||n==="td"||n==="th")?ur(t,e):i==="srcset"?Pd(t,e):i==="style"?yi(e,ma(t)):n==="object"&&i==="data"?ur(t,e):e)}function If(t,n,i){return(t==="video"||t==="audio")&&n==="autoplay"}function Ld(t,n,i){try{if(typeof n=="string"){if(t.classList.contains(n))return!0}else for(var e=t.classList.length;e--;){var r=t.classList[e];if(n.test(r))return!0}if(i)return t.matches(i)}catch{}return!1}function _i(t,n,i){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return i?_i(Ae.parentNode(t),n,i):!1;for(var e=t.classList.length;e--;){var r=t.classList[e];if(n.test(r))return!0}return i?_i(Ae.parentNode(t),n,i):!1}function Of(t,n,i,e){var r;if(_f(t)){if(r=t,!Ae.childNodes(r).length)return!1}else{if(Ae.parentElement(t)===null)return!1;r=Ae.parentElement(t)}try{if(typeof n=="string"){if(e){if(r.closest("."+n))return!0}else if(r.classList.contains(n))return!0}else if(_i(r,n,e))return!0;if(i){if(e){if(r.closest(i))return!0}else if(r.matches(i))return!0}}catch{}return!1}function Dd(t,n,i){var e=t.contentWindow;if(e){var r=!1,o;try{o=e.document.readyState}catch{return}if(o!=="complete"){var s=setTimeout(function(){r||(n(),r=!0)},i);t.addEventListener("load",function(){clearTimeout(s),r=!0,n()});return}var a="about:blank";if(e.location.href!==a||t.src===a||t.src==="")return setTimeout(n,0),t.addEventListener("load",n);t.addEventListener("load",n)}}function Fd(t,n,i){var e=!1,r;try{r=t.sheet}catch{return}if(!r){var o=setTimeout(function(){e||(n(),e=!0)},i);t.addEventListener("load",function(){clearTimeout(o),e=!0,n()})}}function Ud(t,n){var i=n.doc,e=n.mirror,r=n.blockClass,o=n.blockSelector,s=n.needsMask,a=n.inlineStylesheet,u=n.maskInputOptions,c=u===void 0?{}:u,f=n.maskTextFn,l=n.maskInputFn,h=n.dataURLOptions,g=h===void 0?{}:h,v=n.inlineImages,m=n.recordCanvas,d=n.keepIframeSrcFn,y=n.newlyAddedElement,_=y===void 0?!1:y,b=n.cssCaptured,C=b===void 0?!1:b,S=Bd(i,e);switch(t.nodeType){case t.DOCUMENT_NODE:return t.compatMode!=="CSS1Compat"?{type:Ee.Document,childNodes:[],compatMode:t.compatMode}:{type:Ee.Document,childNodes:[]};case t.DOCUMENT_TYPE_NODE:return{type:Ee.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:S};case t.ELEMENT_NODE:return qd(t,{doc:i,blockClass:r,blockSelector:o,inlineStylesheet:a,maskInputOptions:c,maskInputFn:l,dataURLOptions:g,inlineImages:v,recordCanvas:m,keepIframeSrcFn:d,newlyAddedElement:_,rootId:S});case t.TEXT_NODE:return zd(t,{doc:i,needsMask:s,maskTextFn:f,rootId:S,cssCaptured:C});case t.CDATA_SECTION_NODE:return{type:Ee.CDATA,textContent:"",rootId:S};case t.COMMENT_NODE:return{type:Ee.Comment,textContent:Ae.textContent(t)||"",rootId:S};default:return!1}}function Bd(t,n){if(n.hasNode(t)){var i=n.getId(t);return i===1?void 0:i}}function zd(t,n){var i=n.needsMask,e=n.maskTextFn,r=n.rootId,o=n.cssCaptured,s=Ae.parentNode(t),a=s&&s.tagName,u="",c=a==="STYLE"?!0:void 0,f=a==="SCRIPT"?!0:void 0;return f?u="SCRIPT_PLACEHOLDER":o||(u=Ae.textContent(t),c&&u&&(u=yi(u,ma(n.doc)))),!c&&!f&&u&&i&&(u=e?e(u,Ae.parentElement(t)):u.replace(/[\S]/g,"*")),{type:Ee.Text,textContent:u||"",rootId:r}}function qd(t,n){for(var i=n.doc,e=n.blockClass,r=n.blockSelector,o=n.inlineStylesheet,s=n.maskInputOptions,a=s===void 0?{}:s,u=n.maskInputFn,c=n.dataURLOptions,f=c===void 0?{}:c,l=n.inlineImages,h=n.recordCanvas,g=n.keepIframeSrcFn,v=n.newlyAddedElement,m=v===void 0?!1:v,d=n.rootId,y=Ld(t,e,r),_=Md(t),b={},C=t.attributes.length,S=0;S<C;S++){var O=t.attributes[S];If(_,O.name,O.value)||(b[O.name]=Ef(i,_,jt(O.name),O.value))}if(_==="link"&&o){var A=Array.from(i.styleSheets).find(function(De){return De.href===t.href}),R=null;A&&(R=rs(A)),R&&(delete b.rel,delete b.href,b._cssText=R)}if(_==="style"&&t.sheet){var P=rs(t.sheet);P&&(t.childNodes.length>1&&(P=Rd(P,t)),b._cssText=P)}if(_==="input"||_==="textarea"||_==="select"){var q=t.value,ve=t.checked;b.type!=="radio"&&b.type!=="checkbox"&&b.type!=="submit"&&b.type!=="button"&&q?b.value=gi({element:t,type:mi(t),tagName:_,value:q,maskInputOptions:a,maskInputFn:u}):ve&&(b.checked=ve)}if(_==="option"&&(t.selected&&!a.select?b.selected=!0:delete b.selected),_==="dialog"&&t.open&&(b.rr_open_mode=t.matches("dialog:modal")?"modal":"non-modal"),_==="canvas"&&h){if(t.__context==="2d")bd(t)||(b.rr_dataURL=t.toDataURL(f.type,f.quality));else if(!("__context"in t)){var N=t.toDataURL(f.type,f.quality),G=i.createElement("canvas");G.width=t.width,G.height=t.height;var de=G.toDataURL(f.type,f.quality);N!==de&&(b.rr_dataURL=N)}}if(_==="img"&&l){nr||(nr=i.createElement("canvas"),Mu=nr.getContext("2d"));var Y=t,Le=Y.currentSrc||Y.getAttribute("src")||"<unknown-src>",$e=Y.crossOrigin,xe=function(){Y.removeEventListener("load",xe);try{nr.width=Y.naturalWidth,nr.height=Y.naturalHeight,Mu.drawImage(Y,0,0),b.rr_dataURL=nr.toDataURL(f.type,f.quality)}catch(De){if(Y.crossOrigin!=="anonymous"){Y.crossOrigin="anonymous",Y.complete&&Y.naturalWidth!==0?xe():Y.addEventListener("load",xe);return}else console.warn("Cannot inline img src="+Le+"! Error: "+De)}Y.crossOrigin==="anonymous"&&($e?b.crossOrigin=$e:Y.removeAttribute("crossorigin"))};Y.complete&&Y.naturalWidth!==0?xe():Y.addEventListener("load",xe)}if(_==="audio"||_==="video"){var ue=b;ue.rr_mediaState=t.paused?"paused":"played",ue.rr_mediaCurrentTime=t.currentTime,ue.rr_mediaPlaybackRate=t.playbackRate,ue.rr_mediaMuted=t.muted,ue.rr_mediaLoop=t.loop,ue.rr_mediaVolume=t.volume}if(m||(t.scrollLeft&&(b.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(b.rr_scrollTop=t.scrollTop)),y){var Ie=t.getBoundingClientRect(),Tt=Ie.width,je=Ie.height;b={class:b.class,rr_width:""+Tt+"px",rr_height:""+je+"px"}}_==="iframe"&&!g(b.src)&&(t.contentDocument||(b.rr_src=b.src),delete b.src);var $t;try{customElements.get(_)&&($t=!0)}catch{}return{type:Ee.Element,tagName:_,attributes:b,childNodes:[],isSVG:Nd(t)||void 0,needBlock:y,rootId:d,isCustom:$t}}function te(t){return t==null?"":t.toLowerCase()}function Wd(t,n){if(n.comment&&t.type===Ee.Comment)return!0;if(t.type===Ee.Element){if(n.script&&(t.tagName==="script"||t.tagName==="link"&&(t.attributes.rel==="preload"&&t.attributes.as==="script"||t.attributes.rel==="modulepreload")||t.tagName==="link"&&t.attributes.rel==="prefetch"&&typeof t.attributes.href=="string"&&Sf(t.attributes.href)==="js"))return!0;if(n.headFavicon&&(t.tagName==="link"&&t.attributes.rel==="shortcut icon"||t.tagName==="meta"&&(te(t.attributes.name).match(/^msapplication-tile(image|color)$/)||te(t.attributes.name)==="application-name"||te(t.attributes.rel)==="icon"||te(t.attributes.rel)==="apple-touch-icon"||te(t.attributes.rel)==="shortcut icon")))return!0;if(t.tagName==="meta"){if(n.headMetaDescKeywords&&te(t.attributes.name).match(/^description|keywords$/))return!0;if(n.headMetaSocial&&(te(t.attributes.property).match(/^(og|twitter|fb):/)||te(t.attributes.name).match(/^(og|twitter):/)||te(t.attributes.name)==="pinterest"))return!0;if(n.headMetaRobots&&(te(t.attributes.name)==="robots"||te(t.attributes.name)==="googlebot"||te(t.attributes.name)==="bingbot"))return!0;if(n.headMetaHttpEquiv&&t.attributes["http-equiv"]!==void 0)return!0;if(n.headMetaAuthorship&&(te(t.attributes.name)==="author"||te(t.attributes.name)==="generator"||te(t.attributes.name)==="framework"||te(t.attributes.name)==="publisher"||te(t.attributes.name)==="progid"||te(t.attributes.property).match(/^article:/)||te(t.attributes.property).match(/^product:/)))return!0;if(n.headMetaVerification&&(te(t.attributes.name)==="google-site-verification"||te(t.attributes.name)==="yandex-verification"||te(t.attributes.name)==="csrf-token"||te(t.attributes.name)==="p:domain_verify"||te(t.attributes.name)==="verify-v1"||te(t.attributes.name)==="verification"||te(t.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function cr(t,n){var i=n.doc,e=n.mirror,r=n.blockClass,o=n.blockSelector,s=n.maskTextClass,a=n.maskTextSelector,u=n.skipChild,c=u===void 0?!1:u,f=n.inlineStylesheet,l=f===void 0?!0:f,h=n.maskInputOptions,g=h===void 0?{}:h,v=n.maskTextFn,m=n.maskInputFn,d=n.slimDOMOptions,y=n.dataURLOptions,_=y===void 0?{}:y,b=n.inlineImages,C=b===void 0?!1:b,S=n.recordCanvas,O=S===void 0?!1:S,A=n.onSerialize,R=n.onIframeLoad,P=n.iframeLoadTimeout,q=P===void 0?5e3:P,ve=n.onStylesheetLoad,N=n.stylesheetLoadTimeout,G=N===void 0?5e3:N,de=n.keepIframeSrcFn,Y=de===void 0?function(){return!1}:de,Le=n.newlyAddedElement,$e=Le===void 0?!1:Le,xe=n.cssCaptured,ue=xe===void 0?!1:xe,Ie=n.needsMask,Tt=n.preserveWhiteSpace,je=Tt===void 0?!0:Tt;if(!Ie){var $t=Ie===void 0;Ie=Of(t,s,a,$t)}var De=Ud(t,{doc:i,mirror:e,blockClass:r,blockSelector:o,needsMask:Ie,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:m,dataURLOptions:_,inlineImages:C,recordCanvas:O,keepIframeSrcFn:Y,newlyAddedElement:$e,cssCaptured:ue});if(!De)return console.warn(t,"not serialized"),null;var dt;e.hasNode(t)?dt=e.getId(t):Wd(De,d)||!je&&De.type===Ee.Text&&!De.textContent.replace(/^\s+|\s+$/gm,"").length?dt=Kr:dt=Cf();var J=Object.assign(De,{id:dt});if(e.add(t,J),dt===Kr)return null;A&&A(t);var Qt=!c;if(J.type===Ee.Element){Qt=Qt&&!J.needBlock,delete J.needBlock;var er=Ae.shadowRoot(t);er&&zr(er)&&(J.isShadowHost=!0)}if((J.type===Ee.Document||J.type===Ee.Element)&&Qt){d.headWhitespace&&J.type===Ee.Element&&J.tagName==="head"&&(je=!1);var vt={doc:i,mirror:e,blockClass:r,blockSelector:o,needsMask:Ie,maskTextClass:s,maskTextSelector:a,skipChild:c,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:m,slimDOMOptions:d,dataURLOptions:_,inlineImages:C,recordCanvas:O,preserveWhiteSpace:je,onSerialize:A,onIframeLoad:R,iframeLoadTimeout:q,onStylesheetLoad:ve,stylesheetLoadTimeout:G,keepIframeSrcFn:Y,cssCaptured:!1};if(!(J.type===Ee.Element&&J.tagName==="textarea"&&J.attributes.value!==void 0)){J.type===Ee.Element&&J.attributes._cssText!==void 0&&typeof J.attributes._cssText=="string"&&(vt.cssCaptured=!0);for(var _n=I(Array.from(Ae.childNodes(t))),tr;!(tr=_n()).done;){var wn=tr.value,bn=cr(wn,vt);bn&&J.childNodes.push(bn)}}var Tr=null;if(_f(t)&&(Tr=Ae.shadowRoot(t)))for(var Pt=I(Array.from(Ae.childNodes(Tr))),Nt;!(Nt=Pt()).done;){var Lt=Nt.value,Dt=cr(Lt,vt);Dt&&(zr(Tr)&&(Dt.isShadow=!0),J.childNodes.push(Dt))}}var Ft=Ae.parentNode(t);return Ft&&Br(Ft)&&zr(Ft)&&(J.isShadow=!0),J.type===Ee.Element&&J.tagName==="iframe"&&Dd(t,function(){var rt=t.contentDocument;if(rt&&R){var rr=cr(rt,{doc:rt,mirror:e,blockClass:r,blockSelector:o,needsMask:Ie,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:m,slimDOMOptions:d,dataURLOptions:_,inlineImages:C,recordCanvas:O,preserveWhiteSpace:je,onSerialize:A,onIframeLoad:R,iframeLoadTimeout:q,onStylesheetLoad:ve,stylesheetLoadTimeout:G,keepIframeSrcFn:Y});rr&&R(t,rr)}},q),J.type===Ee.Element&&J.tagName==="link"&&typeof J.attributes.rel=="string"&&(J.attributes.rel==="stylesheet"||J.attributes.rel==="preload"&&typeof J.attributes.href=="string"&&Sf(J.attributes.href)==="css")&&Fd(t,function(){if(ve){var rt=cr(t,{doc:i,mirror:e,blockClass:r,blockSelector:o,needsMask:Ie,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:m,slimDOMOptions:d,dataURLOptions:_,inlineImages:C,recordCanvas:O,preserveWhiteSpace:je,onSerialize:A,onIframeLoad:R,iframeLoadTimeout:q,onStylesheetLoad:ve,stylesheetLoadTimeout:G,keepIframeSrcFn:Y});rt&&ve(t,rt)}},G),J}function Gd(t,n){var i=n||{},e=i.mirror,r=e===void 0?new bf:e,o=i.blockClass,s=o===void 0?"rr-block":o,a=i.blockSelector,u=a===void 0?null:a,c=i.maskTextClass,f=c===void 0?"rr-mask":c,l=i.maskTextSelector,h=l===void 0?null:l,g=i.inlineStylesheet,v=g===void 0?!0:g,m=i.inlineImages,d=m===void 0?!1:m,y=i.recordCanvas,_=y===void 0?!1:y,b=i.maskAllInputs,C=b===void 0?!1:b,S=i.maskTextFn,O=i.maskInputFn,A=i.slimDOM,R=A===void 0?!1:A,P=i.dataURLOptions,q=i.preserveWhiteSpace,ve=i.onSerialize,N=i.onIframeLoad,G=i.iframeLoadTimeout,de=i.onStylesheetLoad,Y=i.stylesheetLoadTimeout,Le=i.keepIframeSrcFn,$e=Le===void 0?function(){return!1}:Le,xe=C===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:C===!1?{password:!0}:C,ue=R===!0||R==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:R==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:R===!1?{}:R;return cr(t,{doc:t,mirror:r,blockClass:s,blockSelector:u,maskTextClass:f,maskTextSelector:h,skipChild:!1,inlineStylesheet:v,maskInputOptions:xe,maskTextFn:S,maskInputFn:O,slimDOMOptions:ue,dataURLOptions:P,inlineImages:d,recordCanvas:_,preserveWhiteSpace:q,onSerialize:ve,onIframeLoad:N,iframeLoadTimeout:G,onStylesheetLoad:de,stylesheetLoadTimeout:Y,keepIframeSrcFn:$e,newlyAddedElement:!1})}function jd(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Vd(t){if(t.__esModule)return t;var n=t.default;if(typeof n=="function"){var i=function e(){return M(this,e)?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(i,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}),i}var ya={exports:{}},ne=String,xf=function(){return{isColorSupported:!1,reset:ne,bold:ne,dim:ne,italic:ne,underline:ne,inverse:ne,hidden:ne,strikethrough:ne,black:ne,red:ne,green:ne,yellow:ne,blue:ne,magenta:ne,cyan:ne,white:ne,gray:ne,bgBlack:ne,bgRed:ne,bgGreen:ne,bgYellow:ne,bgBlue:ne,bgMagenta:ne,bgCyan:ne,bgWhite:ne}};ya.exports=xf();ya.exports.createColors=xf;var Hd=ya.exports,Yd={},Kd=Object.freeze(Object.defineProperty({__proto__:null,default:Yd},Symbol.toStringTag,{value:"Module"})),ye=Vd(Kd),$u=Hd,Pu=ye,ns=function(t){fe(n,t);function n(e,r,o,s,a,u){var c;return c=t.call(this,e)||this,c.name="CssSyntaxError",c.reason=e,a&&(c.file=a),s&&(c.source=s),u&&(c.plugin=u),typeof r<"u"&&typeof o<"u"&&(typeof r=="number"?(c.line=r,c.column=o):(c.line=r.line,c.column=r.column,c.endLine=o.line,c.endColumn=o.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,n),c}var i=n.prototype;return i.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},i.showSourceCode=function(r){var o=this;if(!this.source)return"";var s=this.source;r==null&&(r=$u.isColorSupported),Pu&&r&&(s=Pu(s));var a=s.split(/\r?\n/),u=Math.max(this.line-3,0),c=Math.min(this.line+2,a.length),f=String(c).length,l,h;if(r){var g=$u.createColors(!0),v=g.bold,m=g.gray,d=g.red;l=function(y){return v(d(y))},h=function(y){return m(y)}}else l=h=function(y){return y};return a.slice(u,c).map(function(y,_){var b=u+1+_,C=" "+(" "+b).slice(-f)+" | ";if(b===o.line){var S=h(C.replace(/\d/g," "))+y.slice(0,o.column-1).replace(/[^\t]/g," ");return l(">")+h(C)+y+` 2 `+S+l("^")}return" "+h(C)+y}).join(` 3`)},i.toString=function(){var r=this.showSourceCode();return r&&(r=` 4 5`+r+` 6`),this.name+": "+this.message+r},n}(Yr(Error)),_a=ns;ns.default=ns;var Ct={};Ct.isClean=Symbol("isClean");Ct.my=Symbol("my");var Nu={after:` 7`,beforeClose:` 8`,beforeComment:` 9`,beforeDecl:` 10`,beforeOpen:" ",beforeRule:` 11`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function Jd(t){return t[0].toUpperCase()+t.slice(1)}var is=function(){function t(i){this.builder=i}var n=t.prototype;return n.atrule=function(e,r){var o="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?o+=e.raws.afterName:s&&(o+=" "),e.nodes)this.block(e,o+s);else{var a=(e.raws.between||"")+(r?";":"");this.builder(o+s+a,e)}},n.beforeAfter=function(e,r){var o;e.type==="decl"?o=this.raw(e,null,"beforeDecl"):e.type==="comment"?o=this.raw(e,null,"beforeComment"):r==="before"?o=this.raw(e,null,"beforeRule"):o=this.raw(e,null,"beforeClose");for(var s=e.parent,a=0;s&&s.type!=="root";)a+=1,s=s.parent;if(o.includes(` 12`)){var u=this.raw(e,null,"indent");if(u.length)for(var c=0;c<a;c++)o+=u}return o},n.block=function(e,r){var o=this.raw(e,"between","beforeOpen");this.builder(r+o+"{",e,"start");var s;e.nodes&&e.nodes.length?(this.body(e),s=this.raw(e,"after")):s=this.raw(e,"after","emptyBody"),s&&this.builder(s),this.builder("}",e,"end")},n.body=function(e){for(var r=e.nodes.length-1;r>0&&e.nodes[r].type==="comment";)r-=1;for(var o=this.raw(e,"semicolon"),s=0;s<e.nodes.length;s++){var a=e.nodes[s],u=this.raw(a,"before");u&&this.builder(u),this.stringify(a,r!==s||o)}},n.comment=function(e){var r=this.raw(e,"left","commentLeft"),o=this.raw(e,"right","commentRight");this.builder("/*"+r+e.text+o+"*/",e)},n.decl=function(e,r){var o=this.raw(e,"between","colon"),s=e.prop+o+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),r&&(s+=";"),this.builder(s,e)},n.document=function(e){this.body(e)},n.raw=function(e,r,o){var s;if(o||(o=r),r&&(s=e.raws[r],typeof s<"u"))return s;var a=e.parent;if(o==="before"&&(!a||a.type==="root"&&a.first===e||a&&a.type==="document"))return"";if(!a)return Nu[o];var u=e.root();if(u.rawCache||(u.rawCache={}),typeof u.rawCache[o]<"u")return u.rawCache[o];if(o==="before"||o==="after")return this.beforeAfter(e,o);var c="raw"+Jd(o);return this[c]?s=this[c](u,e):u.walk(function(f){if(s=f.raws[r],typeof s<"u")return!1}),typeof s>"u"&&(s=Nu[o]),u.rawCache[o]=s,s},n.rawBeforeClose=function(e){var r;return e.walk(function(o){if(o.nodes&&o.nodes.length>0&&typeof o.raws.after<"u")return r=o.raws.after,r.includes(` 13`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r},n.rawBeforeComment=function(e,r){var o;return e.walkComments(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 14`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(r,null,"beforeDecl"):o&&(o=o.replace(/\S/g,"")),o},n.rawBeforeDecl=function(e,r){var o;return e.walkDecls(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 15`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(r,null,"beforeRule"):o&&(o=o.replace(/\S/g,"")),o},n.rawBeforeOpen=function(e){var r;return e.walk(function(o){if(o.type!=="decl"&&(r=o.raws.between,typeof r<"u"))return!1}),r},n.rawBeforeRule=function(e){var r;return e.walk(function(o){if(o.nodes&&(o.parent!==e||e.first!==o)&&typeof o.raws.before<"u")return r=o.raws.before,r.includes(` 16`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r},n.rawColon=function(e){var r;return e.walkDecls(function(o){if(typeof o.raws.between<"u")return r=o.raws.between.replace(/[^\s:]/g,""),!1}),r},n.rawEmptyBody=function(e){var r;return e.walk(function(o){if(o.nodes&&o.nodes.length===0&&(r=o.raws.after,typeof r<"u"))return!1}),r},n.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var r;return e.walk(function(o){var s=o.parent;if(s&&s!==e&&s.parent&&s.parent===e&&typeof o.raws.before<"u"){var a=o.raws.before.split(` 17`);return r=a[a.length-1],r=r.replace(/\S/g,""),!1}}),r},n.rawSemicolon=function(e){var r;return e.walk(function(o){if(o.nodes&&o.nodes.length&&o.last.type==="decl"&&(r=o.raws.semicolon,typeof r<"u"))return!1}),r},n.rawValue=function(e,r){var o=e[r],s=e.raws[r];return s&&s.value===o?s.raw:o},n.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},n.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},n.stringify=function(e,r){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,r)},t}(),Rf=is;is.default=is;var Xd=Rf;function os(t,n){var i=new Xd(n);i.stringify(t)}var Zi=os;os.default=os;var On=Ct.isClean,Zd=Ct.my,Qd=_a,ev=Rf,tv=Zi;function ss(t,n){var i=new t.constructor;for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&e!=="proxyCache"){var r=t[e],o=typeof r>"u"?"undefined":T(r);e==="parent"&&o==="object"?n&&(i[e]=n):e==="source"?i[e]=r:Array.isArray(r)?i[e]=r.map(function(s){return ss(s,i)}):(o==="object"&&r!==null&&(r=ss(r)),i[e]=r)}return i}var as=function(){function t(i){i===void 0&&(i={}),this.raws={},this[On]=!1,this[Zd]=!0;for(var e in i)if(e==="nodes"){this.nodes=[];for(var r=I(i[e]),o;!(o=r()).done;){var s=o.value;typeof s.clone=="function"?this.append(s.clone()):this.append(s)}}else this[e]=i[e]}var n=t.prototype;return n.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var r=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+r.input.from+":"+r.start.line+":"+r.start.column+"$&")}return e},n.after=function(e){return this.parent.insertAfter(this,e),this},n.assign=function(e){e===void 0&&(e={});for(var r in e)this[r]=e[r];return this},n.before=function(e){return this.parent.insertBefore(this,e),this},n.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},n.clone=function(e){e===void 0&&(e={});var r=ss(this);for(var o in e)r[o]=e[o];return r},n.cloneAfter=function(e){e===void 0&&(e={});var r=this.clone(e);return this.parent.insertAfter(this,r),r},n.cloneBefore=function(e){e===void 0&&(e={});var r=this.clone(e);return this.parent.insertBefore(this,r),r},n.error=function(e,r){if(r===void 0&&(r={}),this.source){var o=this.rangeBy(r),s=o.end,a=o.start;return this.source.input.error(e,{column:a.column,line:a.line},{column:s.column,line:s.line},r)}return new Qd(e)},n.getProxyProcessor=function(){return{get:function(r,o){return o==="proxyOf"?r:o==="root"?function(){return r.root().toProxy()}:r[o]},set:function(r,o,s){return r[o]===s||(r[o]=s,(o==="prop"||o==="value"||o==="name"||o==="params"||o==="important"||o==="text")&&r.markDirty()),!0}}},n.markDirty=function(){if(this[On]){this[On]=!1;for(var e=this;e=e.parent;)e[On]=!1}},n.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},n.positionBy=function(e,r){var o=this.source.start;if(e.index)o=this.positionInside(e.index,r);else if(e.word){r=this.toString();var s=r.indexOf(e.word);s!==-1&&(o=this.positionInside(s,r))}return o},n.positionInside=function(e,r){for(var o=r||this.toString(),s=this.source.start.column,a=this.source.start.line,u=0;u<e;u++)o[u]===` 18`?(s=1,a+=1):s+=1;return{column:s,line:a}},n.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},n.rangeBy=function(e){var r={column:this.source.start.column,line:this.source.start.line},o=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:r.column+1,line:r.line};if(e.word){var s=this.toString(),a=s.indexOf(e.word);a!==-1&&(r=this.positionInside(a,s),o=this.positionInside(a+e.word.length,s))}else e.start?r={column:e.start.column,line:e.start.line}:e.index&&(r=this.positionInside(e.index)),e.end?o={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?o=this.positionInside(e.endIndex):e.index&&(o=this.positionInside(e.index+1));return(o.line<r.line||o.line===r.line&&o.column<=r.column)&&(o={column:r.column+1,line:r.line}),{end:o,start:r}},n.raw=function(e,r){var o=new ev;return o.raw(this,e,r)},n.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},n.replaceWith=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];if(this.parent){for(var s=this,a=!1,u=I(r),c;!(c=u()).done;){var f=c.value;f===this?a=!0:a?(this.parent.insertAfter(s,f),s=f):this.parent.insertBefore(s,f)}a||this.remove()}return this},n.root=function(){for(var e=this;e.parent&&e.parent.type!=="document";)e=e.parent;return e},n.toJSON=function(e,r){var o={},s=r==null;r=r||new Map;var a=0;for(var u in this)if(Object.prototype.hasOwnProperty.call(this,u)&&!(u==="parent"||u==="proxyCache")){var c=this[u];if(Array.isArray(c))o[u]=c.map(function(l){return(typeof l>"u"?"undefined":T(l))==="object"&&l.toJSON?l.toJSON(null,r):l});else if((typeof c>"u"?"undefined":T(c))==="object"&&c.toJSON)o[u]=c.toJSON(null,r);else if(u==="source"){var f=r.get(c.input);f==null&&(f=a,r.set(c.input,a),a++),o[u]={end:c.end,inputId:f,start:c.start}}else o[u]=c}return s&&(o.inputs=[].concat(r.keys()).map(function(l){return l.toJSON()})),o},n.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},n.toString=function(e){e===void 0&&(e=tv),e.stringify&&(e=e.stringify);var r="";return e(this,function(o){r+=o}),r},n.warn=function(e,r,o){var s={node:this};for(var a in o)s[a]=o[a];return e.warn(r,s)},ae(t,[{key:"proxyOf",get:function(){return this}}]),t}(),Qi=as;as.default=as;var rv=Qi,us=function(t){fe(n,t);function n(i){var e;return i&&typeof i.value<"u"&&typeof i.value!="string"&&(i=z({},i,{value:String(i.value)})),e=t.call(this,i)||this,e.type="decl",e}return ae(n,[{key:"variable",get:function(){return this.prop.startsWith("--")||this.prop[0]==="$"}}]),n}(rv),eo=us;us.default=us;var nv="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",iv=function(t){t===void 0&&(t=21);for(var n="",i=t;i--;)n+=nv[Math.random()*64|0];return n},ov={nanoid:iv},Lu=ye.SourceMapConsumer,Du=ye.SourceMapGenerator,sv=ye.existsSync,av=ye.readFileSync,Io=ye.dirname,uv=ye.join;function cv(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var cs=function(){function t(i,e){if(e.map!==!1){this.loadAnnotation(i),this.inline=this.startWith(this.annotation,"data:");var r=e.map?e.map.prev:void 0,o=this.loadMap(e.from,r);!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=Io(this.mapFile)),o&&(this.text=o)}}var n=t.prototype;return n.consumer=function(){return this.consumerCache||(this.consumerCache=new Lu(this.text)),this.consumerCache},n.decodeInline=function(e){var r=/^data:application\/json;charset=utf-?8;base64,/,o=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,a=/^data:application\/json,/;if(s.test(e)||a.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(r.test(e)||o.test(e))return cv(e.substr(RegExp.lastMatch.length));var u=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+u)},n.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},n.isMap=function(e){return(typeof e>"u"?"undefined":T(e))!=="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)},n.loadAnnotation=function(e){var r=e.match(/\/\*\s*# sourceMappingURL=/gm);
vendor: 1,187 bytes, line 18
18if(r){var o=e.lastIndexOf(r.pop()),s=e.indexOf("*/",o);o>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(o,s)))}},n.loadFile=function(e){if(this.root=Io(e),sv(e))return this.mapFile=e,av(e,"utf-8").toString().trim()},n.loadMap=function(e,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){var o=r(e);if(o){var s=this.loadFile(o);if(!s)throw new Error("Unable to load previous source map: "+o.toString());return s}}else{if(M(r,Lu))return Du.fromSourceMap(r).toString();if(M(r,Du))return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var a=this.annotation;return e&&(a=uv(Io(e),a)),this.loadFile(a)}}},n.startWith=function(e,r){return e?e.substr(0,r.length)===r:!1},n.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},t}(),Af=cs;cs.default=cs;var fv=ye.SourceMapConsumer,lv=ye.SourceMapGenerator,Fu=ye.fileURLToPath,xn=ye.pathToFileURL,fs=ye.isAbsolute,ls=ye.resolve,hv=ov.nanoid,Oo=ye,Uu=_a,pv=Af,xo=Symbol("fromOffsetCac
18he"),dv=!!(fv&&lv),Bu=!!(ls&&fs),wi=function(){function t(i,e){if(e===void 0&&(e={}),i===null||typeof i>"u"||(typeof i>"u"?"undefined":T(i))==="object"&&!i.toString)throw new Error("PostCSS received "+i+" instead of CSS string");if(this.css=i.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,e.from&&(!Bu||/^\w+:\/\//.test(e.from)||fs(e.from)?this.file=e.from:this.file=ls(e.from)),Bu&&dv){var r=new pv(this.css,e);if(r.text){this.map=r;var o=r.consumer().file;!this.file&&o&&(this.file=this.mapResolve(o))}}this.file||(this.id="<input css "+hv(6)+">"),this.map&&(this.map.file=this.from)}var n=t.prototype;return n.error=function(e,r,o,s){s===void 0&&(s={});var a,u,c;if(r&&(typeof r>"u"?"undefined":T(r))==="object"){var f=r,l=o;if(typeof f.offset=="number"){var h=this.fromOffset(f.offset);r=h.line,o=h.col}else r=f.line,o=f.column;if(typeof l.offset=="number"){var g=this.fromOffset(l.offset);u=g.line,c=g.col}else u=l.line,c=l.column}else if(!o){var v=this.fromOffset(r);r=v.line,o=v.col}var m=this.origin(r,o,u,c);return m?a=new Uu(e,m.endLine===void 0?m.line:{column:m.column,line:m.line},m.endLine===void 0?m.column:{column:m.endColumn,line:m.endLine},m.source,m.file,s.plugin):a=new Uu(e,u===void 0?r:{column:o,line:r},u===void 0?o:{column:c,line:u},this.css,this.file,s.plugin),a.input={column:o,endColumn:c,endLine:u,line:r,source:this.css},this.file&&(xn&&(a.input.url=xn(this.file).toString()),a.input.file=this.file),a},n.fromOffset=function(e){var r,o;if(this[xo])o=this[xo];else{var s=this.css.split(` 19`);o=new Array(s.length);for(var a=0,u=0,c=s.length;u<c;u++)o[u]=a,a+=s[u].length+1;this[xo]=o}r=o[o.length-1];var f=0;if(e>=r)f=o.length-1;else for(var l=o.length-2,h;f<l;)if(h=f+(l-f>>1),e<o[h])l=h-1;else if(e>=o[h+1])f=h+1;else{f=h;break}return{col:e-o[f]+1,line:f+1}},n.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:ls(this.map.consumer().sourceRoot||this.map.root||".",e)},n.origin=function(e,r,o,s){if(!this.map)return!1;var a=this.map.consumer(),u=a.originalPositionFor({column:r,line:e});if(!u.source)return!1;var c;typeof o=="number"&&(c=a.originalPositionFor({column:s,line:o}));var f;fs(u.source)?f=xn(u.source):f=new URL(u.source,this.map.consumer().sourceRoot||xn(this.map.mapFile));var l={column:u.column,endColumn:c&&c.column,endLine:c&&c.line,line:u.line,url:f.toString()};if(f.protocol==="file:")if(Fu)l.file=Fu(f);else throw new Error("file: protocol is not available in this PostCSS build");var h=a.sourceContentFor(u.source);return h&&(l.source=h),l},n.toJSON=function(){for(var e={},r=0,o=["hasBOM","css","file","id"];r<o.length;r++){var s=o[r];this[s]!=null&&(e[s]=this[s])}return this.map&&(e.map=z({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},ae(t,[{key:"from",get:function(){return this.file||this.id}}]),t}(),to=wi;wi.default=wi;Oo&&Oo.registerInput&&Oo.registerInput(wi);var kf=ye.SourceMapConsumer,ai=ye.SourceMapGenerator,ui=ye.dirname,Mf=ye.relative,Tf=ye.resolve,$f=ye.sep,zu=ye.pathToFileURL,vv=to,gv=!!(kf&&ai),mv=!!(ui&&Tf&&Mf&&$f),yv=function(){function t(i,e,r,o){this.stringify=i,this.mapOpts=r.map||{},this.root=e,this.opts=r,this.css=o,this.originalCSS=o,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var n=t.prototype;return n.addAnnotation=function(){var e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";var r=` 20`;this.css.includes(`\r 21`)&&(r=`\r 22`),this.css+=r+"/*# sourceMappingURL="+e+" */"},n.applyPrevMaps=function(){for(var e=I(this.previous()),r;!(r=e()).done;){var o=r.value,s=this.toUrl(this.path(o.file)),a=o.root||ui(o.file),u=void 0;this.mapOpts.sourcesContent===!1?(u=new kf(o.text),u.sourcesContent&&(u.sourcesContent=null)):u=o.consumer(),this.map.applySourceMap(u,s,this.toUrl(this.path(a)))}},n.clearAnnotation=function(){if(this.mapOpts.annotation!==!1)if(this.root)for(var e,r=this.root.nodes.length-1;r>=0;r--)e=this.root.nodes[r],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(r);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},n.generate=function(){if(this.clearAnnotation(),mv&&gv&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(r){e+=r}),[e]},n.generateMap=function(){if(this.root)this.generateString();else if(this.previous().length===1){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=ai.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new ai({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]},n.generateString=function(){var e=this;this.css="",this.map=new ai({file:this.outputFile(),ignoreInvalidMapping:!0});var r=1,o=1,s="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""},u,c;this.stringify(this.root,function(f,l,h){if(e.css+=f,l&&h!=="end"&&(a.generated.line=r,a.generated.column=o-1,l.source&&l.source.start?(a.source=e.sourcePath(l),a.original.line=l.source.start.line,a.original.column=l.source.start.column-1,e.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,e.map.addMapping(a))),u=f.match(/\n/g),u?(r+=u.length,c=f.lastIndexOf(` 23`),o=f.length-c):o+=f.length,l&&h!=="start"){var g=l.parent||{raws:{}},v=l.type==="decl"||l.type==="atrule"&&!l.nodes;(!v||l!==g.last||g.raws.semicolon)&&(l.source&&l.source.end?(a.source=e.sourcePath(l),a.original.line=l.source.end.line,a.original.column=l.source.end.column-1,a.generated.line=r,a.generated.column=o-2,e.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,a.generated.line=r,a.generated.column=o-1,e.map.addMapping(a)))}})},n.isAnnotation=function(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(function(e){return e.annotation}):!0},n.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(function(r){return r.inline}):!0},n.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},n.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(function(e){return e.withContent()}):!0},n.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},n.path=function(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;var r=this.memoizedPaths.get(e);if(r)return r;var o=this.opts.to?ui(this.opts.to):".";
vendor: 4,110 bytes, line 23
23typeof this.mapOpts.annotation=="string"&&(o=ui(Tf(o,this.mapOpts.annotation)));var s=Mf(o,e);return this.memoizedPaths.set(e,s),s},n.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(o){if(o.source&&o.source.input.map){var s=o.source.input.map;e.previousMaps.includes(s)||e.previousMaps.push(s)}});else{var r=new vv(this.originalCSS,this.opts);r.map&&this.previousMaps.push(r.map)}return this.previousMaps},n.setSourcesContent=function(){var e=this,r={};if(this.root)this.root.walk(function(s){if(s.source){var a=s.source.input.from;if(a&&!r[a]){r[a]=!0;var u=e.usesFileUrls?e.toFileUrl(a):e.toUrl(e.path(a));e.map.setSourceContent(u,s.source.input.css)}}});else if(this.css){var o=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(o,this.css)}},n.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))},n.toBase64=function(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},n.toFileUrl=function(e){var r=this.memoizedFileURLs.get(e);if(r)return r;if(zu){var o=zu(e).toString();return this.memoizedFileURLs.set(e,o),o}else throw new Error("`map.absolute` option is not available in this PostCSS build")},n.toUrl=function(e){var r=this.memoizedURLs.get(e);if(r)return r;$f==="\\"&&(e=e.replace(/\\/g,"/"));var o=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,o),o},t}(),Pf=yv,_v=Qi,hs=function(t){fe(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="comment",e}return n}(_v),ro=hs;hs.default=hs;var Nf=Ct.isClean,Lf=Ct.my,Df=eo,Ff=ro,wv=Qi,Uf,wa,ba,Bf;function zf(t){return t.map(function(n){return n.nodes&&(n.nodes=zf(n.nodes)),delete n.source,n})}function qf(t){if(t[Nf]=!1,t.proxyOf.nodes)for(var n=I(t.proxyOf.nodes),i;!(i=n()).done;){var e=i.value;qf(e)}}var at=function(t){fe(n,t);function n(){return t.apply(this,arguments)||this}var i=n.prototype;return i.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];for(var a=I(o),u;!(u=a()).done;)for(var c=u.value,f=this.normalize(c,this.last),l=I(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.push(g)}return this.markDirty(),this},i.cleanRaws=function(r){if(t.prototype.cleanRaws.call(this,r),this.nodes)for(var o=I(this.nodes),s;!(s=o()).done;){var a=s.value;a.cleanRaws(r)}},i.each=function(r){if(this.proxyOf.nodes){for(var o=this.getIterator(),s,a;this.indexes[o]<this.proxyOf.nodes.length&&(s=this.indexes[o],a=r(this.proxyOf.nodes[s],s),a!==!1);)this.indexes[o]+=1;return delete this.indexes[o],a}},i.every=function(r){return this.nodes.every(r)},i.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var r=this.lastEach;return this.indexes[r]=0,r},i.getProxyProcessor=function(){return{get:function(o,s){return s==="proxyOf"?o:o[s]?s==="each"||typeof s=="string"&&s.startsWith("walk")?function(){for(var a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];var f;return(f=o)[s].apply(f,[].concat(u.map(function(l){return typeof l=="function"?function(h,g){return l(h.toProxy(),g)}:l})))}:s==="every"||s==="some"?function(a){return o[s](function(u){for(var c=arguments.length,f=new Array(c>1?c-1:0),l=1;l<c;l++)f[l-1]=arguments[l];return a.apply(void 0,[].concat([u.toProxy()],f))})}:s==="root"?function(){return o.root().toProxy()}:s==="nodes"?o.nodes.map(function(a){return a.toProxy()}):s==="first"||s==="last"?o[s].toProxy():o[s]:o[s]},set:function(o,s,a){return o[s]===a||(o[s]=a,(s==="name"||s==="params"||s==="selector")&&o.markDirty()),!0}}},i.index=function(r){return typeof r=="number"?r:(r.proxyOf&&(r=r.proxyOf),this.proxyOf.nodes.indexOf(r))},i.insertAfter=function(r,o){var s=this.index(r),a=this.normalize(o,this.proxyOf.nodes[s]).reverse();s=this.index(r);for(var u=I(a),c;!(c=u()).done;){var f=c.value;this.proxyOf.nodes.splice(s+1,0,f)}var l;for(var h in this.indexes)l=this.indexes[h],s<l&&(this.indexes[h
vendor: 15,542 bytes, lines 23-24
23]=l+a.length);return this.markDirty(),this},i.insertBefore=function(r,o){var s=this.index(r),a=s===0?"prepend":!1,u=this.normalize(o,this.proxyOf.nodes[s],a).reverse();s=this.index(r);for(var c=I(u),f;!(f=c()).done;){var l=f.value;this.proxyOf.nodes.splice(s,0,l)}var h;for(var g in this.indexes)h=this.indexes[g],s<=h&&(this.indexes[g]=h+u.length);return this.markDirty(),this},i.normalize=function(r,o){var s=this;if(typeof r=="string")r=zf(Uf(r).nodes);else if(typeof r>"u")r=[];else if(Array.isArray(r)){r=r.slice(0);for(var a=I(r),u;!(u=a()).done;){var c=u.value;c.parent&&c.parent.removeChild(c,"ignore")}}else if(r.type==="root"&&this.type!=="document"){r=r.nodes.slice(0);for(var f=I(r),l;!(l=f()).done;){var h=l.value;h.parent&&h.parent.removeChild(h,"ignore")}}else if(r.type)r=[r];else if(r.prop){if(typeof r.value>"u")throw new Error("Value field is missed in node creation");typeof r.value!="string"&&(r.value=String(r.value)),r=[new Df(r)]}else if(r.selector)r=[new wa(r)];else if(r.name)r=[new ba(r)];else if(r.text)r=[new Ff(r)];else throw new Error("Unknown node type in node creation");var g=r.map(function(v){return v[Lf]||n.rebuild(v),v=v.proxyOf,v.parent&&v.parent.removeChild(v),v[Nf]&&qf(v),typeof v.raws.before>"u"&&o&&typeof o.raws.before<"u"&&(v.raws.before=o.raws.before.replace(/\S/g,"")),v.parent=s.proxyOf,v});return g},i.prepend=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];o=o.reverse();for(var a=I(o),u;!(u=a()).done;){for(var c=u.value,f=this.normalize(c,this.first,"prepend").reverse(),l=I(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.unshift(g)}for(var v in this.indexes)this.indexes[v]=this.indexes[v]+f.length}return this.markDirty(),this},i.push=function(r){return r.parent=this,this.proxyOf.nodes.push(r),this},i.removeAll=function(){for(var r=I(this.proxyOf.nodes),o;!(o=r()).done;){var s=o.value;s.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},i.removeChild=function(r){r=this.index(r),this.proxyOf.nodes[r].parent=void 0,this.proxyOf.nodes.splice(r,1);var o;for(var s in this.indexes)o=this.indexes[s],o>=r&&(this.indexes[s]=o-1);return this.markDirty(),this},i.replaceValues=function(r,o,s){return s||(s=o,o={}),this.walkDecls(function(a){o.props&&!o.props.includes(a.prop)||o.fast&&!a.value.includes(o.fast)||(a.value=a.value.replace(r,s))}),this.markDirty(),this},i.some=function(r){return this.nodes.some(r)},i.walk=function(r){return this.each(function(o,s){var a;try{a=r(o,s)}catch(u){throw o.addToError(u)}return a!==!1&&o.walk&&(a=o.walk(r)),a})},i.walkAtRules=function(r,o){return o?M(r,RegExp)?this.walk(function(s,a){if(s.type==="atrule"&&r.test(s.name))return o(s,a)}):this.walk(function(s,a){if(s.type==="atrule"&&s.name===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="atrule")return o(s,a)}))},i.walkComments=function(r){return this.walk(function(o,s){if(o.type==="comment")return r(o,s)})},i.walkDecls=function(r,o){return o?M(r,RegExp)?this.walk(function(s,a){if(s.type==="decl"&&r.test(s.prop))return o(s,a)}):this.walk(function(s,a){if(s.type==="decl"&&s.prop===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="decl")return o(s,a)}))},i.walkRules=function(r,o){return o?M(r,RegExp)?this.walk(function(s,a){if(s.type==="rule"&&r.test(s.selector))return o(s,a)}):this.walk(function(s,a){if(s.type==="rule"&&s.selector===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="rule")return o(s,a)}))},ae(n,[{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]}}]),n}(wv);at.registerParse=function(t){Uf=t};at.registerRule=function(t){wa=t};at.registerAtRule=function(t){ba=t};at.registerRoot=function(t){Bf=t};var Kt=at;at.default=at;at.rebuild=function(t){t.type==="atrule"?Object.setPrototypeOf(t,ba.prototype):t.type==="rule"?Object.setPrototypeOf(t,wa.prototype):t.type==="decl"?Object.setPrototypeOf(t,Df.prototype):t.type==="comment"?Object.setPrototypeOf(t,Ff.prototype):t.type==="root"&&Object.setPrototypeOf(t,Bf.prototype),t[Lf]=!0,t.nodes&&t.nodes.forEach(function(n){at.rebuild(n)})};var bv=Kt,Wf,Gf,Jr=function(t){fe(n,t);function n(e){var r;return r=t.call(this,z({type:"document"},e))||this,r.nodes||(r.nodes=[]),r}var i=n.prototype;return i.toResult=function(r){r===void 0&&(r={});var o=new Wf(new Gf,this,r);return o.stringify()},n}(bv);Jr.registerLazyResult=function(t){Wf=t};Jr.registerProcessor=function(t){Gf=t};var Sa=Jr;Jr.default=Jr;var ps=function(){function t(i,e){if(e===void 0&&(e={}),this.type="warning",this.text=i,e.node&&e.node.source){var r=e.node.rangeBy(e);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var o in e)this[o]=e[o]}var n=t.prototype;return n.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},t}(),jf=ps;ps.default=ps;var Sv=jf,ds=function(){function t(i,e,r){this.processor=i,this.messages=[],this.root=e,this.opts=r,this.css=void 0,this.map=void 0}var n=t.prototype;return n.toString=function(){return this.css},n.warn=function(e,r){r===void 0&&(r={}),r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);var o=new Sv(e,r);return this.messages.push(o),o},n.warnings=function(){return this.messages.filter(function(e){return e.type==="warning"})},ae(t,[{key:"content",get:function(){return this.css}}]),t}(),Ca=ds;ds.default=ds;var Ro=39,qu=34,Rn=92,Wu=47,An=10,$r=32,kn=12,Mn=9,Tn=13,Cv=91,Ev=93,Iv=40,Ov=41,xv=123,Rv=125,Av=59,kv=42,Mv=58,Tv=64,$n=/[\t\n\f\r "#'()/;[\\\]{}]/g,Pn=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,$v=/.[\r\n"'(/\\]/,Gu=/[\da-f]/i,Pv=function(n,i){i===void 0&&(i={});var e=n.css.valueOf(),r=i.ignoreErrors,o,s,a,u,c,f,l,h,g,v,m=e.length,d=0,y=[],_=[];function b(){return d}function C(R){throw n.error("Unclosed "+R,d)}function S(){return _.length===0&&d>=m}function O(R){if(_.length)return _.pop();if(!(d>=m)){var P=R?R.ignoreUnclosed:!1;switch(o=e.charCodeAt(d),o){case An:case $r:case Mn:case Tn:case kn:{s=d;do s+=1,o=e.charCodeAt(s);while(o===$r||o===An||o===Mn||o===Tn||o===kn);v=["space",e.slice(d,s)],d=s-1;break}case Cv:case Ev:case xv:case Rv:case Mv:case Av:case Ov:{var q=String.fromCharCode(o);v=[q,q,d];break}case Iv:{if(h=y.length?y.pop()[1]:"",g=e.charCodeAt(d+1),h==="url"&&g!==Ro&&g!==qu&&g!==$r&&g!==An&&g!==Mn&&g!==kn&&g!==Tn){s=d;do{if(f=!1,s=e.indexOf(")",s+1),s===-1)if(r||P){s=d;break}else C("bracket");for(l=s;e.charCodeAt(l-1)===Rn;)l-=1,f=!f}while(f);v=["brackets",e.slice(d,s+1),d,s],d=s}else s=e.indexOf(")",d+1),u=e.slice(d,s+1),s===-1||$v.test(u)?v=["(","(",d]:(v=["brackets",u,d,s],d=s);break}case Ro:case qu:{a=o===Ro?"'":'"',s=d;do{if(f=!1,s=e.indexOf(a,s+1),s===-1)if(r||P){s=d+1;break}else C("string");for(l=s;e.charCodeAt(l-1)===Rn;)l-=1,f=!f}while(f);v=["string",e.slice(d,s+1),d,s],d=s;break}case Tv:{$n.lastIndex=d+1,$n.test(e),$n.lastIndex===0?s=e.length-1:s=$n.lastIndex-2,v=["at-word",e.slice(d,s+1),d,s],d=s;break}case Rn:{for(s=d,c=!0;e.charCodeAt(s+1)===Rn;)s+=1,c=!c;if(o=e.charCodeAt(s+1),c&&o!==Wu&&o!==$r&&o!==An&&o!==Mn&&o!==Tn&&o!==kn&&(s+=1,Gu.test(e.charAt(s)))){for(;Gu.test(e.charAt(s+1));)s+=1;e.charCodeAt(s+1)===$r&&(s+=1)}v=["word",e.slice(d,s+1),d,s],d=s;break}default:{o===Wu&&e.charCodeAt(d+1)===kv?(s=e.indexOf("*/",d+2)+1,s===0&&(r||P?s=e.length:C("comment")),v=["comment",e.slice(d,s+1),d,s],d=s):(Pn.lastIndex=d+1,Pn.test(e),Pn.lastIndex===0?s=e.length-1:s=Pn.lastIndex-2,v=["word",e.slice(d,s+1),d,s],y.push(v),d=s);break}}return d++,v}}function A(R){_.push(R)}return{back:A,endOfFile:S,nextToken:O,position:b}},Vf=Kt,bi=function(t){fe(n,t);function n(e){var r;return r=t.call(this,e)||this,r.type="atrule",r}var i=n.prototype;return i.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.append).call.apply(a,[].concat([this],o))},i.prepend=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.prepend).call.apply(a,[].concat([this],o))},n}(Vf),Ea=bi;bi.default=bi;Vf.registerAtRule(bi);var Hf=Kt,Yf,Kf,vr=function(t){fe(n,t);function n(e){var r;return r=t.call(this,e)||this,r.type="root",r.nodes||(r.nodes=[]),r}var i=n.prototype;return i.normalize=function(r,o,s){var a=t.prototype.normalize.call(this,r);if(o){if(s==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(var u=I(a),c;!(c=u()).done;){var f=c.value;f.raws.before=o.raws.before}}return a},i.removeChild=function(r,o){var s=this.index(r);return!o&&s===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),t.prototype.removeChild.call(this,r)},i.toResult=function(r){r===void 0&&(r={});var o=new Yf(new Kf,this,r);return o.stringify()},n}(Hf);vr.registerLazyResult=function(t){Yf=t};vr.registerProcessor=function(t){Kf=t};var dn=vr;vr.default=vr;Hf.registerRoot(vr);var Xr={comma:function(n){return Xr.split(n,[","],!0)},space:function(n){var i=[" ",` 24`," "];return Xr.split(n,i)},split:function(n,i,e){for(var r=[],o="",s=!1,a=0,u=!1,c="",f=!1,l=I(n),h;!(h=l()).done;){var g=h.value;f?f=!1:g==="\\"?f=!0:u?g===c&&(u=!1):g==='"'||g==="'"?(u=!0,c=g):g==="("?a+=1:g===")"?a>0&&(a-=1):a===0&&i.includes(g)&&(s=!0),s?(o!==""&&r.push(o.trim()),o="",s=!1):o+=g}return(e||o!=="")&&r.push(o.trim()),r}},Jf=Xr;Xr.default=Xr;var Xf=Kt,Nv=Jf,Si=function(t){fe(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="rule",e.nodes||(e.nodes=[]),e}return ae(n,[{key:"selectors",get:function(){return Nv.comma(this.selector)},set:function(e){var r=this.selector?this.selector.match(/,\s*/):null,o=r?r[0]:","+this.raw("between","beforeOpen");this.selector=e.join(o)}}]),n}(Xf),Ia=Si;Si.default=Si;Xf.registerRule(Si);var Lv=eo,Dv=Pv,Fv=ro,Uv=Ea,Bv=dn,ju=Ia,Vu={empty:!0,space:!0};function zv(t){for(var n=t.length-1;n>=0;n--){var i=t[n],e=i[3]||i[2];if(e)return e}}var qv=function(){function t(i){this.input=i,this.root=new Bv,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:i,start:{column:1,line:1,offset:0}}}var n=t.prototype;return n.atrule=function(e){var r=new Uv;r.name=e[1].slice(1),r.name===""&&this.unnamedAtrule(r,e),this.init(r,e[2]);for(var o,s,a,u=!1,c=!1,f=[],l=[];!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),o=e[0],o==="("||o==="["?l.push(o==="("?")":"]"):o==="{"&&l.length>0?l.push("}"):o===l[l.length-1]&&l.pop(),l.length===0)if(o===";"){r.source.end=this.getPosition(e[2]),r.source.end.offset++,this.semicolon=!0;break}else if(o==="{"){c=!0;break}else if(o==="}"){if(f.length>0){for(a=f.length-1,s=f[a];s&&s[0]==="space";)s=f[--a];s&&(r.source.end=this.getPosition(s[3]||s[2]),r.source.end.offset++)}this.end(e);break}else f.push(e);else f.push(e);if(this.tokenizer.endOfFile()){u=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(r.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(r,"params",f),u&&(e=f[f.length-1],r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++,this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),c&&(r.nodes=[],this.current=r)},n.checkMissedSemicolon=function(e){var r=this.colon(e);if(r!==!1){for(var o=0,s,a=r-1;a>=0&&(s=e[a],!(s[0]!=="space"&&(o+=1,o===2)));a--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}},n.colon=function(e){for(var r=0,o,s,a,u=I(e.entries()),c;!(c=u()).done;){var f=c.value,l=f[0],h=f[1];if(o=h,s=o[0],s==="("&&(r+=1),s===")"&&(r-=1),r===0&&s===":")if(!a)this.doubleColon(o);else{if(a[0]==="word"&&a[1]==="progid")continue;return l}a=o}return!1},n.comment=function(e){var r=new Fv;this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++;var o=e[1].slice(2,-2);if(/^\s*$/.test(o))r.text="",r.raws.left=o,r.raws.right="";else{var s=o.match(/^(\s*)([^]*\S)(\s*)$/);r.text=s[2],r.raws.left=s[1],r.raws.right=s[3]}},n.createTokenizer=function(){this.tokenizer=Dv(this.input)},n.decl=function(e,r){var o=new Lv;this.init(o,e[0][2]);var s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),o.source.end=this.getPosition(s[3]||s[2]||zv(e)),o.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),o.raws.before+=e.shift()[1];for(o.source.start=this.getPosition(e[0][2]),o.prop="";e.length;){var a=e[0][0];if(a===":"||a==="space"||a==="comment")break;o.prop+=e.shift()[1]}o.raws.between="";for(var u;e.length;)if(u=e.shift(),u[0]===":"){o.raws.between+=u[1];break}else u[0]==="word"&&/\w/.test(u[1])&&this.unknownWord([u]),o.raws.between+=u[1];(o.prop[0]==="_"||o.prop[0]==="*")&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));for(var c=[],f;e.length&&(f=e[0][0],!(f!=="space"&&f!=="comment"));)c.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if(u=e[l],u[1].toLowerCase()==="!important"){o.important=!0;var h=this.stringFrom(e,l);h=this.spacesFromEnd(e)+h,h!==" !important"&&(o.raws.important=h);break}else if(u[1].toLowerCase()==="important"){for(var g=e.slice(0),v="",m=l;m>0;m--){var d=g[m][0];if(v.trim().indexOf("!")===0&&d!=="space")break;v=g.pop()[1]+v}v.trim().indexOf("!")===0&&(o.important=!0,o.raws.important=v,e=g)}if(u[0]!=="space"&&u[0]!=="comment")break}var y=e.some(function(_){return _[0]!=="space"&&_[0]!=="comment"});y&&(o.raws.between+=c.map(function(_){return _[1]}).join(""),c=[]),this.raw(o,"value",c.concat(e),r),o.value.includes(":")&&!r&&this.checkMissedSemicolon(e)},n.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},n.emptyRule=function(e){var r=new ju;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r},n.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)},n.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())},n.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}},n.getPosition=function(e){var r=this.input.fromOffset(e);return{column:r.col,line:r.line,offset:e}},n.init=function(e,r){this.current.push(e),e.source={input:this.input,start:this.getPosition(r)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)},n.other=function(e){for(var r=!1,o=null,s=!1,a=null,u=[],c=e[1].startsWith("--"),f=[],l=e;l;){if(o=l[0],f.push(l),o==="("||o==="[")a||(a=l),u.push(o==="("?")":"]");else if(c&&s&&o==="{")a||(a=l),u.push("}");else if(u.length===0)if(o===";")if(s){this.decl(f,c);return}else break;else if(o==="{"){this.rule(f);return}else if(o==="}"){this.tokenizer.back(f.pop()),r=!0;break}else o===":"&&(s=!0);else o===u[u.length-1]&&(u.pop(),u.length===0&&(a=null));l=this.tokenizer.nextToken()}
vendor: 1,804 bytes, line 24
24if(this.tokenizer.endOfFile()&&(r=!0),u.length>0&&this.unclosedBracket(a),r&&s){if(!c)for(;f.length&&(l=f[f.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,c)}else this.unknownWord(f)},n.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()},n.precheckMissedSemicolon=function(){},n.raw=function(e,r,o,s){for(var a,u,c=o.length,f="",l=!0,h,g,v=0;v<c;v+=1)a=o[v],u=a[0],u==="space"&&v===c-1&&!s?l=!1:u==="comment"?(g=o[v-1]?o[v-1][0]:"empty",h=o[v+1]?o[v+1][0]:"empty",!Vu[g]&&!Vu[h]?f.slice(-1)===","?l=!1:f+=a[1]:l=!1):f+=a[1];if(!l){var m=o.reduce(function(d,y){return d+y[1]},"");e.raws[r]={raw:m,value:f}}e[r]=f},n.rule=function(e){e.pop();var r=new ju;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r},n.spacesAndCommentsFromEnd=function(e){for(var r,o="";e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)o=e.pop()[1]+o;return o},n.spacesAndCommentsFromStart=function(e){for(var r,o="";e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)o+=e.shift()[1];return o},n.spacesFromEnd=function(e){for(var r,o="";e.length&&(r=e[e.length-1][0],r==="space");)o=e.pop()[1]+o;return o},n.stringFrom=function(e,r){for(var o="",s=r;s<e.length;s++)o+=e[s][1];return e.splice(r,e.length-r),o},n.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},n.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}
vendor: 27,267 bytes, lines 24-43
24,n.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},n.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},n.unnamedAtrule=function(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})},t}(),Wv=qv,Gv=Kt,jv=Wv,Vv=to;function Ci(t,n){var i=new Vv(t,n),e=new jv(i);try{e.parse()}catch(r){throw r}return e.root}var Oa=Ci;Ci.default=Ci;Gv.registerParse(Ci);var Ve=Ct.isClean,Hv=Ct.my,Yv=Pf,Kv=Zi,Jv=Kt,Xv=Sa,Hu=Ca,Zv=Oa,Qv=dn,eg={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},tg={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},rg={Once:!0,postcssPlugin:!0,prepare:!0},gr=0;function Pr(t){return(typeof t>"u"?"undefined":T(t))==="object"&&typeof t.then=="function"}function Zf(t){var n=!1,i=eg[t.type];return t.type==="decl"?n=t.prop.toLowerCase():t.type==="atrule"&&(n=t.name.toLowerCase()),n&&t.append?[i,i+"-"+n,gr,i+"Exit",i+"Exit-"+n]:n?[i,i+"-"+n,i+"Exit",i+"Exit-"+n]:t.append?[i,gr,i+"Exit"]:[i,i+"Exit"]}function Yu(t){var n;return t.type==="document"?n=["Document",gr,"DocumentExit"]:t.type==="root"?n=["Root",gr,"RootExit"]:n=Zf(t),{eventIndex:0,events:n,iterator:0,node:t,visitorIndex:0,visitors:[]}}function vs(t){return t[Ve]=!1,t.nodes&&t.nodes.forEach(function(n){return vs(n)}),t}var gs={},mr=function(){function t(i,e,r){var o=this;this.stringified=!1,this.processed=!1;var s;if((typeof e>"u"?"undefined":T(e))==="object"&&e!==null&&(e.type==="root"||e.type==="document"))s=vs(e);else if(M(e,t)||M(e,Hu))s=vs(e.root),e.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=e.map);else{var a=Zv;r.syntax&&(a=r.syntax.parse),r.parser&&(a=r.parser),a.parse&&(a=a.parse);try{s=a(e,r)}catch(u){this.processed=!0,this.error=u}s&&!s[Hv]&&Jv.rebuild(s)}this.result=new Hu(i,s,r),this.helpers=z({},gs,{postcss:gs,result:this.result}),this.plugins=this.processor.plugins.map(function(u){return(typeof u>"u"?"undefined":T(u))==="object"&&u.prepare?z({},u,u.prepare(o.result)):u})}var n=t.prototype;return n.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},n.catch=function(e){return this.async().catch(e)},n.finally=function(e){return this.async().then(e,e)},n.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},n.handleError=function(e,r){var o=this.result.lastPlugin;try{if(r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=o.postcssPlugin,e.setMessage();else if(o.postcssVersion)var s,a,u,c,f}catch(l){console&&console.error&&console.error(l)}return e},n.prepareVisitors=function(){var e=this;this.listeners={};for(var r=function(f,l,h){e.listeners[l]||(e.listeners[l]=[]),e.listeners[l].push([f,h])},o=I(this.plugins),s;!(s=o()).done;){var a=s.value;if((typeof a>"u"?"undefined":T(a))==="object")for(var u in a){if(!tg[u]&&/^[A-Z]/.test(u))throw new Error("Unknown event "+u+" in "+a.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!rg[u])if(T(a[u])==="object")for(var c in a[u])c==="*"?r(a,u,a[u][c]):r(a,u+"-"+c.toLowerCase(),a[u][c]);else typeof a[u]=="function"&&r(a,u,a[u])}}this.hasListener=Object.keys(this.listeners).length>0},n.runAsync=function(){var e=this;return Xi(function(){var r,o,s,a,u,c,f,l,h,g,v,m;return Gt(this,function(d){switch(d.label){case 0:e.plugin=0,r=0,d.label=1;case 1:if(!(r<e.plugins.length))return[3,6];if(o=e.plugins[r],s=e.runOnRoot(o),!Pr(s))return[3,5];d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s];case 3:return d.sent(),[3,5];case 4:throw a=d.sent(),e.handleError(a);case 5:return r++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];u=e.result.root,d.label=7;case 7:if(u[Ve])return[3,14];u[Ve]=!0,c=[Yu(u)],d.label=8;case 8:if(!(c.length>0))return[3,13];if(f=e.visitTick(c),!Pr(f))return[3,12];d.label=9;case 9:return d.trys.push([9,11,,12]),[4,f];case 10:return d.sent(),[3,12];case 11:throw l=d.sent(),h=c[c.length-1].node,e.handleError(l,h);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];g=function(){var y,_,b,C,S;return Gt(this,function(O){switch(O.label){case 0:y=m.value,_=y[0],b=y[1],e.result.lastPlugin=_,O.label=1;case 1:return O.trys.push([1,6,,7]),u.type!=="document"?[3,3]:(C=u.nodes.map(function(A){return b(A,e.helpers)}),[4,Promise.all(C)]);case 2:return O.sent(),[3,5];case 3:return[4,b(u,e.helpers)];case 4:O.sent(),O.label=5;case 5:return[3,7];case 6:throw S=O.sent(),e.handleError(S);case 7:return[2]}})},v=I(e.listeners.OnceExit),d.label=15;case 15:return(m=v()).done?[3,18]:[5,va(g())];case 16:d.sent(),d.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},n.runOnRoot=function(e){var r=this;this.result.lastPlugin=e;try{if((typeof e>"u"?"undefined":T(e))==="object"&&e.Once){if(this.result.root.type==="document"){var o=this.result.root.nodes.map(function(s){return e.Once(s,r.helpers)});return Pr(o[0])?Promise.all(o):o}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(s){throw this.handleError(s)}},n.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,r=Kv;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);var o=new Yv(r,this.result.root,this.result.opts),s=o.generate();return this.result.css=s[0],this.result.map=s[1],this.result},n.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=I(this.plugins),r;!(r=e()).done;){var o=r.value,s=this.runOnRoot(o);if(Pr(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var a=this.result.root;!a[Ve];)a[Ve]=!0,this.walkSync(a);if(this.listeners.OnceExit)if(a.type==="document")for(var u=I(a.nodes),c;!(c=u()).done;){var f=c.value;this.visitSync(this.listeners.OnceExit,f)}else this.visitSync(this.listeners.OnceExit,a)}return this.result},n.then=function(e,r){return this.async().then(e,r)},n.toString=function(){return this.css},n.visitSync=function(e,r){for(var o=I(e),s;!(s=o()).done;){var a=s.value,u=a[0],c=a[1];this.result.lastPlugin=u;var f=void 0;try{f=c(r,this.helpers)}catch(l){throw this.handleError(l,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(Pr(f))throw this.getAsyncError()}},n.visitTick=function(e){var r=e[e.length-1],o=r.node,s=r.visitors;if(o.type!=="root"&&o.type!=="document"&&!o.parent){e.pop();return}if(s.length>0&&r.visitorIndex<s.length){var a=s[r.visitorIndex],u=a[0],c=a[1];r.visitorIndex+=1,r.visitorIndex===s.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=u;try{return c(o.toProxy(),this.helpers)}catch(v){throw this.handleError(v,o)}}if(r.iterator!==0){for(var f=r.iterator,l;l=o.nodes[o.indexes[f]];)if(o.indexes[f]+=1,!l[Ve]){l[Ve]=!0,e.push(Yu(l));return}r.iterator=0,delete o.indexes[f]}for(var h=r.events;r.eventIndex<h.length;){var g=h[r.eventIndex];if(r.eventIndex+=1,g===gr){o.nodes&&o.nodes.length&&(o[Ve]=!0,r.iterator=o.getIterator());return}else if(this.listeners[g]){r.visitors=this.listeners[g];return}}e.pop()},n.walkSync=function(e){var r=this;e[Ve]=!0;for(var o=Zf(e),s=I(o),a;!(a=s()).done;){var u=a.value;if(u===gr)e.nodes&&e.each(function(f){f[Ve]||r.walkSync(f)});else{var c=this.listeners[u];if(c&&this.visitSync(c,e.toProxy()))return}}},n.warnings=function(){return this.sync().warnings()},ae(t,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),t}();mr.registerPostcss=function(t){gs=t};var Qf=mr;mr.default=mr;Qv.registerLazyResult(mr);Xv.registerLazyResult(mr);var ng=Pf,ig=Zi,og=Oa,sg=Ca,ms=function(){function t(i,e,r){e=e.toString(),this.stringified=!1,this._processor=i,this._css=e,this._opts=r,this._map=void 0;var o,s=ig;this.result=new sg(this._processor,o,this._opts),this.result.css=e;var a=this;Object.defineProperty(this.result,"root",{get:function(){return a.root}});var u=new ng(s,o,this._opts,e);if(u.isMap()){var c=u.generate(),f=c[0],l=c[1];f&&(this.result.css=f),l&&(this.result.map=l)}else u.clearAnnotation(),this.result.css=u.css}var n=t.prototype;return n.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},n.catch=function(e){return this.async().catch(e)},n.finally=function(e){return this.async().then(e,e)},n.sync=function(){if(this.error)throw this.error;return this.result},n.then=function(e,r){return this.async().then(e,r)},n.toString=function(){return this._css},n.warnings=function(){return[]},ae(t,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,r=og;try{e=r(this._css,this._opts)}catch(o){this.error=o}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),t}(),ag=ms;ms.default=ms;var ug=ag,cg=Qf,fg=Sa,lg=dn,Zr=function(){function t(i){i===void 0&&(i=[]),this.version="8.4.38",this.plugins=this.normalize(i)}var n=t.prototype;return n.normalize=function(e){for(var r=[],o=I(e),s;!(s=o()).done;){var a=s.value;if(a.postcss===!0?a=a():a.postcss&&(a=a.postcss),(typeof a>"u"?"undefined":T(a))==="object"&&Array.isArray(a.plugins))r=r.concat(a.plugins);else if((typeof a>"u"?"undefined":T(a))==="object"&&a.postcssPlugin)r.push(a);else if(typeof a=="function")r.push(a);else if(!((typeof a>"u"?"undefined":T(a))==="object"&&(a.parse||a.stringify)))throw new Error(a+" is not a PostCSS plugin")}return r},n.process=function(e,r){return r===void 0&&(r={}),!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new ug(this,e,r):new cg(this,e,r)},n.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},t}(),hg=Zr;Zr.default=Zr;lg.registerProcessor(Zr);fg.registerProcessor(Zr);var pg=eo,dg=Af,vg=ro,gg=Ea,mg=to,yg=dn,_g=Ia;function Qr(t,n){if(Array.isArray(t))return t.map(function(l){return Qr(l)});var i=t.inputs,e=Wt(t,["inputs"]);if(i){n=[];for(var r=I(i),o;!(o=r()).done;){var s=o.value,a=z({},s,{__proto__:mg.prototype});a.map&&(a.map=z({},a.map,{__proto__:dg.prototype})),n.push(a)}}if(e.nodes&&(e.nodes=t.nodes.map(function(l){return Qr(l,n)})),e.source){var u=e.source,c=u.inputId,f=Wt(u,["inputId"]);e.source=f,c!=null&&(e.source.input=n[c])}if(e.type==="root")return new yg(e);if(e.type==="decl")return new pg(e);if(e.type==="rule")return new _g(e);if(e.type==="comment")return new vg(e);if(e.type==="atrule")return new gg(e);throw new Error("Unknown node type: "+t.type)}var wg=Qr;Qr.default=Qr;var bg=_a,el=eo,Sg=Qf,Cg=Kt,xa=hg,Eg=Zi,Ig=wg,tl=Sa,Og=jf,rl=ro,nl=Ea,xg=Ca,Rg=to,Ag=Oa,kg=Jf,il=Ia,ol=dn,Mg=Qi;function X(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return n.length===1&&Array.isArray(n[0])&&(n=n[0]),new xa(n)}X.plugin=function(n,i){var e=!1;function r(){for(var s=arguments.length,a=new Array(s),u=0;u<s;u++)a[u]=arguments[u];console&&console.warn&&!e&&(e=!0,console.warn(n+`: postcss.plugin was deprecated. Migration guide: 25https://evilmartians.com/chronicles/postcss-8-plugin-migration`),dr.LANG&&dr.LANG.startsWith("cn")&&console.warn(n+`: éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå: 26https://www.w3ctech.com/topic/2226`));var c=i.apply(void 0,[].concat(a));return c.postcssPlugin=n,c.postcssVersion=new xa().version,c}var o;return Object.defineProperty(r,"postcss",{get:function(){return o||(o=r()),o}}),r.process=function(s,a,u){return X([r(u)]).process(s,a)},r};X.stringify=Eg;X.parse=Ag;X.fromJSON=Ig;X.list=kg;X.comment=function(t){return new rl(t)};X.atRule=function(t){return new nl(t)};X.decl=function(t){return new el(t)};X.rule=function(t){return new il(t)};X.root=function(t){return new ol(t)};X.document=function(t){return new tl(t)};X.CssSyntaxError=bg;X.Declaration=el;X.Container=Cg;X.Processor=xa;X.Document=tl;X.Comment=rl;X.Warning=Og;X.AtRule=nl;X.Result=xg;X.Input=Rg;X.Rule=il;X.Root=ol;X.Node=Mg;Sg.registerPostcss(X);var Tg=X;X.default=X;var le=jd(Tg);le.stringify;le.fromJSON;le.plugin;le.parse;le.list;le.document;le.comment;le.atRule;le.rule;le.decl;le.root;le.CssSyntaxError;le.Declaration;le.Container;le.Processor;le.Document;le.Comment;le.Warning;le.AtRule;le.Result;le.Input;le.Rule;le.Root;le.Node;var $g=Object.defineProperty,Pg=function(t,n,i){return n in t?$g(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i},Fe=function(t,n,i){return Pg(t,(typeof n>"u"?"undefined":T(n))!=="symbol"?n+"":n,i)};function Ng(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Lg(t){if(t.__esModule)return t;var n=t.default;if(typeof n=="function"){var i=function e(){return M(this,e)?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(i,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}),i}var Ra={exports:{}},ie=String,sl=function(){return{isColorSupported:!1,reset:ie,bold:ie,dim:ie,italic:ie,underline:ie,inverse:ie,hidden:ie,strikethrough:ie,black:ie,red:ie,green:ie,yellow:ie,blue:ie,magenta:ie,cyan:ie,white:ie,gray:ie,bgBlack:ie,bgRed:ie,bgGreen:ie,bgYellow:ie,bgBlue:ie,bgMagenta:ie,bgCyan:ie,bgWhite:ie}};Ra.exports=sl();Ra.exports.createColors=sl;var Dg=Ra.exports,Fg={},Ug=Object.freeze(Object.defineProperty({__proto__:null,default:Fg},Symbol.toStringTag,{value:"Module"})),_e=Lg(Ug),Ku=Dg,Ju=_e,ys=function(t){fe(n,t);function n(e,r,o,s,a,u){var c;return c=t.call(this,e)||this,c.name="CssSyntaxError",c.reason=e,a&&(c.file=a),s&&(c.source=s),u&&(c.plugin=u),typeof r<"u"&&typeof o<"u"&&(typeof r=="number"?(c.line=r,c.column=o):(c.line=r.line,c.column=r.column,c.endLine=o.line,c.endColumn=o.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,n),c}var i=n.prototype;return i.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},i.showSourceCode=function(r){var o=this;if(!this.source)return"";var s=this.source;r==null&&(r=Ku.isColorSupported),Ju&&r&&(s=Ju(s));var a=s.split(/\r?\n/),u=Math.max(this.line-3,0),c=Math.min(this.line+2,a.length),f=String(c).length,l,h;if(r){var g=Ku.createColors(!0),v=g.bold,m=g.gray,d=g.red;l=function(y){return v(d(y))},h=function(y){return m(y)}}else l=h=function(y){return y};return a.slice(u,c).map(function(y,_){var b=u+1+_,C=" "+(" "+b).slice(-f)+" | ";if(b===o.line){var S=h(C.replace(/\d/g," "))+y.slice(0,o.column-1).replace(/[^\t]/g," ");return l(">")+h(C)+y+` 27 `+S+l("^")}return" "+h(C)+y}).join(` 28`)},i.toString=function(){var r=this.showSourceCode();return r&&(r=` 29 30`+r+` 31`),this.name+": "+this.message+r},n}(Yr(Error)),Aa=ys;ys.default=ys;var Et={};Et.isClean=Symbol("isClean");Et.my=Symbol("my");var Xu={after:` 32`,beforeClose:` 33`,beforeComment:` 34`,beforeDecl:` 35`,beforeOpen:" ",beforeRule:` 36`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function Bg(t){return t[0].toUpperCase()+t.slice(1)}var _s=function(){function t(i){this.builder=i}var n=t.prototype;return n.atrule=function(e,r){var o="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?o+=e.raws.afterName:s&&(o+=" "),e.nodes)this.block(e,o+s);else{var a=(e.raws.between||"")+(r?";":"");this.builder(o+s+a,e)}},n.beforeAfter=function(e,r){var o;e.type==="decl"?o=this.raw(e,null,"beforeDecl"):e.type==="comment"?o=this.raw(e,null,"beforeComment"):r==="before"?o=this.raw(e,null,"beforeRule"):o=this.raw(e,null,"beforeClose");for(var s=e.parent,a=0;s&&s.type!=="root";)a+=1,s=s.parent;if(o.includes(` 37`)){var u=this.raw(e,null,"indent");if(u.length)for(var c=0;c<a;c++)o+=u}return o},n.block=function(e,r){var o=this.raw(e,"between","beforeOpen");this.builder(r+o+"{",e,"start");var s;e.nodes&&e.nodes.length?(this.body(e),s=this.raw(e,"after")):s=this.raw(e,"after","emptyBody"),s&&this.builder(s),this.builder("}",e,"end")},n.body=function(e){for(var r=e.nodes.length-1;r>0&&e.nodes[r].type==="comment";)r-=1;for(var o=this.raw(e,"semicolon"),s=0;s<e.nodes.length;s++){var a=e.nodes[s],u=this.raw(a,"before");u&&this.builder(u),this.stringify(a,r!==s||o)}},n.comment=function(e){var r=this.raw(e,"left","commentLeft"),o=this.raw(e,"right","commentRight");this.builder("/*"+r+e.text+o+"*/",e)},n.decl=function(e,r){var o=this.raw(e,"between","colon"),s=e.prop+o+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),r&&(s+=";"),this.builder(s,e)},n.document=function(e){this.body(e)},n.raw=function(e,r,o){var s;if(o||(o=r),r&&(s=e.raws[r],typeof s<"u"))return s;var a=e.parent;if(o==="before"&&(!a||a.type==="root"&&a.first===e||a&&a.type==="document"))return"";if(!a)return Xu[o];var u=e.root();if(u.rawCache||(u.rawCache={}),typeof u.rawCache[o]<"u")return u.rawCache[o];if(o==="before"||o==="after")return this.beforeAfter(e,o);var c="raw"+Bg(o);return this[c]?s=this[c](u,e):u.walk(function(f){if(s=f.raws[r],typeof s<"u")return!1}),typeof s>"u"&&(s=Xu[o]),u.rawCache[o]=s,s},n.rawBeforeClose=function(e){var r;return e.walk(function(o){if(o.nodes&&o.nodes.length>0&&typeof o.raws.after<"u")return r=o.raws.after,r.includes(` 38`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r},n.rawBeforeComment=function(e,r){var o;return e.walkComments(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 39`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(r,null,"beforeDecl"):o&&(o=o.replace(/\S/g,"")),o},n.rawBeforeDecl=function(e,r){var o;return e.walkDecls(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 40`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(r,null,"beforeRule"):o&&(o=o.replace(/\S/g,"")),o},n.rawBeforeOpen=function(e){var r;return e.walk(function(o){if(o.type!=="decl"&&(r=o.raws.between,typeof r<"u"))return!1}),r},n.rawBeforeRule=function(e){var r;return e.walk(function(o){if(o.nodes&&(o.parent!==e||e.first!==o)&&typeof o.raws.before<"u")return r=o.raws.before,r.includes(` 41`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r},n.rawColon=function(e){var r;return e.walkDecls(function(o){if(typeof o.raws.between<"u")return r=o.raws.between.replace(/[^\s:]/g,""),!1}),r},n.rawEmptyBody=function(e){var r;return e.walk(function(o){if(o.nodes&&o.nodes.length===0&&(r=o.raws.after,typeof r<"u"))return!1}),r},n.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var r;return e.walk(function(o){var s=o.parent;if(s&&s!==e&&s.parent&&s.parent===e&&typeof o.raws.before<"u"){var a=o.raws.before.split(` 42`);return r=a[a.length-1],r=r.replace(/\S/g,""),!1}}),r},n.rawSemicolon=function(e){var r;return e.walk(function(o){if(o.nodes&&o.nodes.length&&o.last.type==="decl"&&(r=o.raws.semicolon,typeof r<"u"))return!1}),r},n.rawValue=function(e,r){var o=e[r],s=e.raws[r];return s&&s.value===o?s.raw:o},n.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},n.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},n.stringify=function(e,r){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,r)},t}(),al=_s;_s.default=_s;var zg=al;function ws(t,n){var i=new zg(n);i.stringify(t)}var no=ws;ws.default=ws;var Nn=Et.isClean,qg=Et.my,Wg=Aa,Gg=al,jg=no;function bs(t,n){var i=new t.constructor;for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&e!=="proxyCache"){var r=t[e],o=typeof r>"u"?"undefined":T(r);e==="parent"&&o==="object"?n&&(i[e]=n):e==="source"?i[e]=r:Array.isArray(r)?i[e]=r.map(function(s){return bs(s,i)}):(o==="object"&&r!==null&&(r=bs(r)),i[e]=r)}return i}var Ss=function(){function t(i){i===void 0&&(i={}),this.raws={},this[Nn]=!1,this[qg]=!0;for(var e in i)if(e==="nodes"){this.nodes=[];for(var r=I(i[e]),o;!(o=r()).done;){var s=o.value;typeof s.clone=="function"?this.append(s.clone()):this.append(s)}}else this[e]=i[e]}var n=t.prototype;return n.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var r=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+r.input.from+":"+r.start.line+":"+r.start.column+"$&")}return e},n.after=function(e){return this.parent.insertAfter(this,e),this},n.assign=function(e){e===void 0&&(e={});for(var r in e)this[r]=e[r];return this},n.before=function(e){return this.parent.insertBefore(this,e),this},n.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},n.clone=function(e){e===void 0&&(e={});var r=bs(this);for(var o in e)r[o]=e[o];return r},n.cloneAfter=function(e){e===void 0&&(e={});var r=this.clone(e);return this.parent.insertAfter(this,r),r},n.cloneBefore=function(e){e===void 0&&(e={});var r=this.clone(e);return this.parent.insertBefore(this,r),r},n.error=function(e,r){if(r===void 0&&(r={}),this.source){var o=this.rangeBy(r),s=o.end,a=o.start;return this.source.input.error(e,{column:a.column,line:a.line},{column:s.column,line:s.line},r)}return new Wg(e)},n.getProxyProcessor=function(){return{get:function(r,o){return o==="proxyOf"?r:o==="root"?function(){return r.root().toProxy()}:r[o]},set:function(r,o,s){return r[o]===s||(r[o]=s,(o==="prop"||o==="value"||o==="name"||o==="params"||o==="important"||o==="text")&&r.markDirty()),!0}}},n.markDirty=function(){if(this[Nn]){this[Nn]=!1;for(var e=this;e=e.parent;)e[Nn]=!1}},n.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},n.positionBy=function(e,r){var o=this.source.start;if(e.index)o=this.positionInside(e.index,r);else if(e.word){r=this.toString();var s=r.indexOf(e.word);s!==-1&&(o=this.positionInside(s,r))}return o},n.positionInside=function(e,r){for(var o=r||this.toString(),s=this.source.start.column,a=this.source.start.line,u=0;u<e;u++)o[u]===` 43`?(s=1,a+=1):s+=1;return{column:s,line:a}},n.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},n.rangeBy=function(e){var r={column:this.source.start.column,line:this.source.start.line},o=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:r.column+1,line:r.line};if(e.word){var s=this.toString(),a=s.indexOf(e.word);a!==-1&&(r=this.positionInside(a,s),o=this.positionInside(a+e.word.length,s))}else e.start?r={column:e.start.column,line:e.start.line}:e.index&&(r=this.positionInside(e.index)),e.end?o={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?o=this.positionInside(e.endIndex):e.index&&(o=this.positionInside(e.index+1));return(o.line<r.line||o.line===r.line&&o.column<=r.column)&&(o={column:r.column+1,line:r.line}),{end:o,start:r}},n.raw=function(e,r){var o=new Gg;return o.raw(this,e,r)},n.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},n.replaceWith=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];if(this.parent){for(var s=this,a=!1,u=I(r),c;!(c=u()).done;){var f=c.value;f===this?a=!0:a?(this.parent.insertAfter(s,f),s=f):this.parent.insertBefore(s,f)}a||this.remove()}return this},n.root=function(){for(var e=this;e.parent&&e.parent.type!=="document";)e=e.parent;return e},n.toJSON=function(e,r){var o={},s=r==null;r=r||new Map;var a=0;for(var u in this)if(Object.prototype.hasOwnProperty.call(this,u)&&!(u==="parent"||u==="proxyCache")){var c=this[u];if(Array.isArray(c))o[u]=c.map(function(l){return(typeof l>"u"?"undefined":T(l))==="object"&&l.toJSON?l.toJSON(null,r):l});else if((typeof c>"u"?"undefined":T(c))==="object"&&c.toJSON)o[u]=c.toJSON(null,r);else if(u==="source"){var f=r.get(c.input);f==null&&(f=a,r.set(c.input,a),a++),o[u]={end:c.end,inputId:f,start:c.start}}else o[u]=c}return s&&(o.inputs=[].concat(r.keys()).map(function(l){return l.toJSON()})),o},n.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},n.toString=function(e){e===void 0&&(e=jg),e.stringify&&(e=e.stringify);var r="";return e(this,function(o){r+=o}),r},n.warn=function(e,r,o){var s={node:this};for(var a in o)s[a]=o[a];return e.warn(r,s)},ae(t,[{key:"proxyOf",get:function(){return this}}]),t}(),io=Ss;Ss.default=Ss;var Vg=io,Cs=function(t){fe(n,t);function n(i){var e;return i&&typeof i.value<"u"&&typeof i.value!="string"&&(i=z({},i,{value:String(i.value)})),e=t.call(this,i)||this,e.type="decl",e}return ae(n,[{key:"variable",get:function(){return this.prop.startsWith("--")||this.prop[0]==="$"}}]),n}(Vg),oo=Cs;Cs.default=Cs;var Hg="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Yg=function(t){t===void 0&&(t=21);for(var n="",i=t;i--;)n+=Hg[Math.random()*64|0];return n},Kg={nanoid:Yg},Zu=_e.SourceMapConsumer,Qu=_e.SourceMapGenerator,Jg=_e.existsSync,Xg=_e.readFileSync,Ao=_e.dirname,Zg=_e.join;function Qg(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var Es=function(){function t(i,e){if(e.map!==!1){this.loadAnnotation(i),this.inline=this.startWith(this.annotation,"data:");var r=e.map?e.map.prev:void 0,o=this.loadMap(e.from,r);!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=Ao(this.mapFile)),o&&(this.text=o)}}var n=t.prototype;return n.consumer=function(){return this.consumerCache||(this.consumerCache=new Zu(this.text)),this.consumerCache},n.decodeInline=function(e){var r=/^data:application\/json;charset=utf-?8;base64,/,o=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,a=/^data:application\/json,/;if(s.test(e)||a.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(r.test(e)||o.test(e))return Qg(e.substr(RegExp.lastMatch.length));var u=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+u)},n.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},n.isMap=function(e){return(typeof e>"u"?"undefined":T(e))!=="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)},n.loadAnnotation=function(e){var r=e.match(/\/\*\s*# sourceMappingURL=/gm);
vendor: 1,187 bytes, line 43
43if(r){var o=e.lastIndexOf(r.pop()),s=e.indexOf("*/",o);o>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(o,s)))}},n.loadFile=function(e){if(this.root=Ao(e),Jg(e))return this.mapFile=e,Xg(e,"utf-8").toString().trim()},n.loadMap=function(e,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){var o=r(e);if(o){var s=this.loadFile(o);if(!s)throw new Error("Unable to load previous source map: "+o.toString());return s}}else{if(M(r,Zu))return Qu.fromSourceMap(r).toString();if(M(r,Qu))return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var a=this.annotation;return e&&(a=Zg(Ao(e),a)),this.loadFile(a)}}},n.startWith=function(e,r){return e?e.substr(0,r.length)===r:!1},n.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},t}(),ul=Es;Es.default=Es;var em=_e.SourceMapConsumer,tm=_e.SourceMapGenerator,ec=_e.fileURLToPath,Ln=_e.pathToFileURL,Is=_e.isAbsolute,Os=_e.resolve,rm=Kg.nanoid,ko=_e,tc=Aa,nm=ul,Mo=Symbol("fromOffsetCac
43he"),im=!!(em&&tm),rc=!!(Os&&Is),Ei=function(){function t(i,e){if(e===void 0&&(e={}),i===null||typeof i>"u"||(typeof i>"u"?"undefined":T(i))==="object"&&!i.toString)throw new Error("PostCSS received "+i+" instead of CSS string");if(this.css=i.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,e.from&&(!rc||/^\w+:\/\//.test(e.from)||Is(e.from)?this.file=e.from:this.file=Os(e.from)),rc&&im){var r=new nm(this.css,e);if(r.text){this.map=r;var o=r.consumer().file;!this.file&&o&&(this.file=this.mapResolve(o))}}this.file||(this.id="<input css "+rm(6)+">"),this.map&&(this.map.file=this.from)}var n=t.prototype;return n.error=function(e,r,o,s){s===void 0&&(s={});var a,u,c;if(r&&(typeof r>"u"?"undefined":T(r))==="object"){var f=r,l=o;if(typeof f.offset=="number"){var h=this.fromOffset(f.offset);r=h.line,o=h.col}else r=f.line,o=f.column;if(typeof l.offset=="number"){var g=this.fromOffset(l.offset);u=g.line,c=g.col}else u=l.line,c=l.column}else if(!o){var v=this.fromOffset(r);r=v.line,o=v.col}var m=this.origin(r,o,u,c);return m?a=new tc(e,m.endLine===void 0?m.line:{column:m.column,line:m.line},m.endLine===void 0?m.column:{column:m.endColumn,line:m.endLine},m.source,m.file,s.plugin):a=new tc(e,u===void 0?r:{column:o,line:r},u===void 0?o:{column:c,line:u},this.css,this.file,s.plugin),a.input={column:o,endColumn:c,endLine:u,line:r,source:this.css},this.file&&(Ln&&(a.input.url=Ln(this.file).toString()),a.input.file=this.file),a},n.fromOffset=function(e){var r,o;if(this[Mo])o=this[Mo];else{var s=this.css.split(` 44`);o=new Array(s.length);for(var a=0,u=0,c=s.length;u<c;u++)o[u]=a,a+=s[u].length+1;this[Mo]=o}r=o[o.length-1];var f=0;if(e>=r)f=o.length-1;else for(var l=o.length-2,h;f<l;)if(h=f+(l-f>>1),e<o[h])l=h-1;else if(e>=o[h+1])f=h+1;else{f=h;break}return{col:e-o[f]+1,line:f+1}},n.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:Os(this.map.consumer().sourceRoot||this.map.root||".",e)},n.origin=function(e,r,o,s){if(!this.map)return!1;var a=this.map.consumer(),u=a.originalPositionFor({column:r,line:e});if(!u.source)return!1;var c;typeof o=="number"&&(c=a.originalPositionFor({column:s,line:o}));var f;Is(u.source)?f=Ln(u.source):f=new URL(u.source,this.map.consumer().sourceRoot||Ln(this.map.mapFile));var l={column:u.column,endColumn:c&&c.column,endLine:c&&c.line,line:u.line,url:f.toString()};if(f.protocol==="file:")if(ec)l.file=ec(f);else throw new Error("file: protocol is not available in this PostCSS build");var h=a.sourceContentFor(u.source);return h&&(l.source=h),l},n.toJSON=function(){for(var e={},r=0,o=["hasBOM","css","file","id"];r<o.length;r++){var s=o[r];this[s]!=null&&(e[s]=this[s])}return this.map&&(e.map=z({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},ae(t,[{key:"from",get:function(){return this.file||this.id}}]),t}(),so=Ei;Ei.default=Ei;ko&&ko.registerInput&&ko.registerInput(Ei);var cl=_e.SourceMapConsumer,ci=_e.SourceMapGenerator,fi=_e.dirname,fl=_e.relative,ll=_e.resolve,hl=_e.sep,nc=_e.pathToFileURL,om=so,sm=!!(cl&&ci),am=!!(fi&&ll&&fl&&hl),um=function(){function t(i,e,r,o){this.stringify=i,this.mapOpts=r.map||{},this.root=e,this.opts=r,this.css=o,this.originalCSS=o,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var n=t.prototype;return n.addAnnotation=function(){var e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";var r=` 45`;this.css.includes(`\r 46`)&&(r=`\r 47`),this.css+=r+"/*# sourceMappingURL="+e+" */"},n.applyPrevMaps=function(){for(var e=I(this.previous()),r;!(r=e()).done;){var o=r.value,s=this.toUrl(this.path(o.file)),a=o.root||fi(o.file),u=void 0;this.mapOpts.sourcesContent===!1?(u=new cl(o.text),u.sourcesContent&&(u.sourcesContent=null)):u=o.consumer(),this.map.applySourceMap(u,s,this.toUrl(this.path(a)))}},n.clearAnnotation=function(){if(this.mapOpts.annotation!==!1)if(this.root)for(var e,r=this.root.nodes.length-1;r>=0;r--)e=this.root.nodes[r],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(r);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},n.generate=function(){if(this.clearAnnotation(),am&&sm&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(r){e+=r}),[e]},n.generateMap=function(){if(this.root)this.generateString();else if(this.previous().length===1){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=ci.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new ci({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]},n.generateString=function(){var e=this;this.css="",this.map=new ci({file:this.outputFile(),ignoreInvalidMapping:!0});var r=1,o=1,s="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""},u,c;this.stringify(this.root,function(f,l,h){if(e.css+=f,l&&h!=="end"&&(a.generated.line=r,a.generated.column=o-1,l.source&&l.source.start?(a.source=e.sourcePath(l),a.original.line=l.source.start.line,a.original.column=l.source.start.column-1,e.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,e.map.addMapping(a))),u=f.match(/\n/g),u?(r+=u.length,c=f.lastIndexOf(` 48`),o=f.length-c):o+=f.length,l&&h!=="start"){var g=l.parent||{raws:{}},v=l.type==="decl"||l.type==="atrule"&&!l.nodes;(!v||l!==g.last||g.raws.semicolon)&&(l.source&&l.source.end?(a.source=e.sourcePath(l),a.original.line=l.source.end.line,a.original.column=l.source.end.column-1,a.generated.line=r,a.generated.column=o-2,e.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,a.generated.line=r,a.generated.column=o-1,e.map.addMapping(a)))}})},n.isAnnotation=function(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(function(e){return e.annotation}):!0},n.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(function(r){return r.inline}):!0},n.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},n.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(function(e){return e.withContent()}):!0},n.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},n.path=function(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;var r=this.memoizedPaths.get(e);if(r)return r;var o=this.opts.to?fi(this.opts.to):".";
vendor: 4,110 bytes, line 48
48typeof this.mapOpts.annotation=="string"&&(o=fi(ll(o,this.mapOpts.annotation)));var s=fl(o,e);return this.memoizedPaths.set(e,s),s},n.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(o){if(o.source&&o.source.input.map){var s=o.source.input.map;e.previousMaps.includes(s)||e.previousMaps.push(s)}});else{var r=new om(this.originalCSS,this.opts);r.map&&this.previousMaps.push(r.map)}return this.previousMaps},n.setSourcesContent=function(){var e=this,r={};if(this.root)this.root.walk(function(s){if(s.source){var a=s.source.input.from;if(a&&!r[a]){r[a]=!0;var u=e.usesFileUrls?e.toFileUrl(a):e.toUrl(e.path(a));e.map.setSourceContent(u,s.source.input.css)}}});else if(this.css){var o=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(o,this.css)}},n.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))},n.toBase64=function(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},n.toFileUrl=function(e){var r=this.memoizedFileURLs.get(e);if(r)return r;if(nc){var o=nc(e).toString();return this.memoizedFileURLs.set(e,o),o}else throw new Error("`map.absolute` option is not available in this PostCSS build")},n.toUrl=function(e){var r=this.memoizedURLs.get(e);if(r)return r;hl==="\\"&&(e=e.replace(/\\/g,"/"));var o=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,o),o},t}(),pl=um,cm=io,xs=function(t){fe(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="comment",e}return n}(cm),ao=xs;xs.default=xs;var dl=Et.isClean,vl=Et.my,gl=oo,ml=ao,fm=io,yl,ka,Ma,_l;function wl(t){return t.map(function(n){return n.nodes&&(n.nodes=wl(n.nodes)),delete n.source,n})}function bl(t){if(t[dl]=!1,t.proxyOf.nodes)for(var n=I(t.proxyOf.nodes),i;!(i=n()).done;){var e=i.value;bl(e)}}var ut=function(t){fe(n,t);function n(){return t.apply(this,arguments)||this}var i=n.prototype;return i.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];for(var a=I(o),u;!(u=a()).done;)for(var c=u.value,f=this.normalize(c,this.last),l=I(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.push(g)}return this.markDirty(),this},i.cleanRaws=function(r){if(t.prototype.cleanRaws.call(this,r),this.nodes)for(var o=I(this.nodes),s;!(s=o()).done;){var a=s.value;a.cleanRaws(r)}},i.each=function(r){if(this.proxyOf.nodes){for(var o=this.getIterator(),s,a;this.indexes[o]<this.proxyOf.nodes.length&&(s=this.indexes[o],a=r(this.proxyOf.nodes[s],s),a!==!1);)this.indexes[o]+=1;return delete this.indexes[o],a}},i.every=function(r){return this.nodes.every(r)},i.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var r=this.lastEach;return this.indexes[r]=0,r},i.getProxyProcessor=function(){return{get:function(o,s){return s==="proxyOf"?o:o[s]?s==="each"||typeof s=="string"&&s.startsWith("walk")?function(){for(var a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];var f;return(f=o)[s].apply(f,[].concat(u.map(function(l){return typeof l=="function"?function(h,g){return l(h.toProxy(),g)}:l})))}:s==="every"||s==="some"?function(a){return o[s](function(u){for(var c=arguments.length,f=new Array(c>1?c-1:0),l=1;l<c;l++)f[l-1]=arguments[l];return a.apply(void 0,[].concat([u.toProxy()],f))})}:s==="root"?function(){return o.root().toProxy()}:s==="nodes"?o.nodes.map(function(a){return a.toProxy()}):s==="first"||s==="last"?o[s].toProxy():o[s]:o[s]},set:function(o,s,a){return o[s]===a||(o[s]=a,(s==="name"||s==="params"||s==="selector")&&o.markDirty()),!0}}},i.index=function(r){return typeof r=="number"?r:(r.proxyOf&&(r=r.proxyOf),this.proxyOf.nodes.indexOf(r))},i.insertAfter=function(r,o){var s=this.index(r),a=this.normalize(o,this.proxyOf.nodes[s]).reverse();s=this.index(r);for(var u=I(a),c;!(c=u()).done;){var f=c.value;this.proxyOf.nodes.splice(s+1,0,f)}var l;for(var h in this.indexes)l=this.indexes[h],s<l&&(this.indexes[h
vendor: 15,542 bytes, lines 48-49
48]=l+a.length);return this.markDirty(),this},i.insertBefore=function(r,o){var s=this.index(r),a=s===0?"prepend":!1,u=this.normalize(o,this.proxyOf.nodes[s],a).reverse();s=this.index(r);for(var c=I(u),f;!(f=c()).done;){var l=f.value;this.proxyOf.nodes.splice(s,0,l)}var h;for(var g in this.indexes)h=this.indexes[g],s<=h&&(this.indexes[g]=h+u.length);return this.markDirty(),this},i.normalize=function(r,o){var s=this;if(typeof r=="string")r=wl(yl(r).nodes);else if(typeof r>"u")r=[];else if(Array.isArray(r)){r=r.slice(0);for(var a=I(r),u;!(u=a()).done;){var c=u.value;c.parent&&c.parent.removeChild(c,"ignore")}}else if(r.type==="root"&&this.type!=="document"){r=r.nodes.slice(0);for(var f=I(r),l;!(l=f()).done;){var h=l.value;h.parent&&h.parent.removeChild(h,"ignore")}}else if(r.type)r=[r];else if(r.prop){if(typeof r.value>"u")throw new Error("Value field is missed in node creation");typeof r.value!="string"&&(r.value=String(r.value)),r=[new gl(r)]}else if(r.selector)r=[new ka(r)];else if(r.name)r=[new Ma(r)];else if(r.text)r=[new ml(r)];else throw new Error("Unknown node type in node creation");var g=r.map(function(v){return v[vl]||n.rebuild(v),v=v.proxyOf,v.parent&&v.parent.removeChild(v),v[dl]&&bl(v),typeof v.raws.before>"u"&&o&&typeof o.raws.before<"u"&&(v.raws.before=o.raws.before.replace(/\S/g,"")),v.parent=s.proxyOf,v});return g},i.prepend=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];o=o.reverse();for(var a=I(o),u;!(u=a()).done;){for(var c=u.value,f=this.normalize(c,this.first,"prepend").reverse(),l=I(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.unshift(g)}for(var v in this.indexes)this.indexes[v]=this.indexes[v]+f.length}return this.markDirty(),this},i.push=function(r){return r.parent=this,this.proxyOf.nodes.push(r),this},i.removeAll=function(){for(var r=I(this.proxyOf.nodes),o;!(o=r()).done;){var s=o.value;s.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},i.removeChild=function(r){r=this.index(r),this.proxyOf.nodes[r].parent=void 0,this.proxyOf.nodes.splice(r,1);var o;for(var s in this.indexes)o=this.indexes[s],o>=r&&(this.indexes[s]=o-1);return this.markDirty(),this},i.replaceValues=function(r,o,s){return s||(s=o,o={}),this.walkDecls(function(a){o.props&&!o.props.includes(a.prop)||o.fast&&!a.value.includes(o.fast)||(a.value=a.value.replace(r,s))}),this.markDirty(),this},i.some=function(r){return this.nodes.some(r)},i.walk=function(r){return this.each(function(o,s){var a;try{a=r(o,s)}catch(u){throw o.addToError(u)}return a!==!1&&o.walk&&(a=o.walk(r)),a})},i.walkAtRules=function(r,o){return o?M(r,RegExp)?this.walk(function(s,a){if(s.type==="atrule"&&r.test(s.name))return o(s,a)}):this.walk(function(s,a){if(s.type==="atrule"&&s.name===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="atrule")return o(s,a)}))},i.walkComments=function(r){return this.walk(function(o,s){if(o.type==="comment")return r(o,s)})},i.walkDecls=function(r,o){return o?M(r,RegExp)?this.walk(function(s,a){if(s.type==="decl"&&r.test(s.prop))return o(s,a)}):this.walk(function(s,a){if(s.type==="decl"&&s.prop===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="decl")return o(s,a)}))},i.walkRules=function(r,o){return o?M(r,RegExp)?this.walk(function(s,a){if(s.type==="rule"&&r.test(s.selector))return o(s,a)}):this.walk(function(s,a){if(s.type==="rule"&&s.selector===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="rule")return o(s,a)}))},ae(n,[{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]}}]),n}(fm);ut.registerParse=function(t){yl=t};ut.registerRule=function(t){ka=t};ut.registerAtRule=function(t){Ma=t};ut.registerRoot=function(t){_l=t};var Jt=ut;ut.default=ut;ut.rebuild=function(t){t.type==="atrule"?Object.setPrototypeOf(t,Ma.prototype):t.type==="rule"?Object.setPrototypeOf(t,ka.prototype):t.type==="decl"?Object.setPrototypeOf(t,gl.prototype):t.type==="comment"?Object.setPrototypeOf(t,ml.prototype):t.type==="root"&&Object.setPrototypeOf(t,_l.prototype),t[vl]=!0,t.nodes&&t.nodes.forEach(function(n){ut.rebuild(n)})};var lm=Jt,Sl,Cl,en=function(t){fe(n,t);function n(e){var r;return r=t.call(this,z({type:"document"},e))||this,r.nodes||(r.nodes=[]),r}var i=n.prototype;return i.toResult=function(r){r===void 0&&(r={});var o=new Sl(new Cl,this,r);return o.stringify()},n}(lm);en.registerLazyResult=function(t){Sl=t};en.registerProcessor=function(t){Cl=t};var Ta=en;en.default=en;var Rs=function(){function t(i,e){if(e===void 0&&(e={}),this.type="warning",this.text=i,e.node&&e.node.source){var r=e.node.rangeBy(e);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var o in e)this[o]=e[o]}var n=t.prototype;return n.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},t}(),El=Rs;Rs.default=Rs;var hm=El,As=function(){function t(i,e,r){this.processor=i,this.messages=[],this.root=e,this.opts=r,this.css=void 0,this.map=void 0}var n=t.prototype;return n.toString=function(){return this.css},n.warn=function(e,r){r===void 0&&(r={}),r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);var o=new hm(e,r);return this.messages.push(o),o},n.warnings=function(){return this.messages.filter(function(e){return e.type==="warning"})},ae(t,[{key:"content",get:function(){return this.css}}]),t}(),$a=As;As.default=As;var To=39,ic=34,Dn=92,oc=47,Fn=10,Nr=32,Un=12,Bn=9,zn=13,pm=91,dm=93,vm=40,gm=41,mm=123,ym=125,_m=59,wm=42,bm=58,Sm=64,qn=/[\t\n\f\r "#'()/;[\\\]{}]/g,Wn=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Cm=/.[\r\n"'(/\\]/,sc=/[\da-f]/i,Em=function(n,i){i===void 0&&(i={});var e=n.css.valueOf(),r=i.ignoreErrors,o,s,a,u,c,f,l,h,g,v,m=e.length,d=0,y=[],_=[];function b(){return d}function C(R){throw n.error("Unclosed "+R,d)}function S(){return _.length===0&&d>=m}function O(R){if(_.length)return _.pop();if(!(d>=m)){var P=R?R.ignoreUnclosed:!1;switch(o=e.charCodeAt(d),o){case Fn:case Nr:case Bn:case zn:case Un:{s=d;do s+=1,o=e.charCodeAt(s);while(o===Nr||o===Fn||o===Bn||o===zn||o===Un);v=["space",e.slice(d,s)],d=s-1;break}case pm:case dm:case mm:case ym:case bm:case _m:case gm:{var q=String.fromCharCode(o);v=[q,q,d];break}case vm:{if(h=y.length?y.pop()[1]:"",g=e.charCodeAt(d+1),h==="url"&&g!==To&&g!==ic&&g!==Nr&&g!==Fn&&g!==Bn&&g!==Un&&g!==zn){s=d;do{if(f=!1,s=e.indexOf(")",s+1),s===-1)if(r||P){s=d;break}else C("bracket");for(l=s;e.charCodeAt(l-1)===Dn;)l-=1,f=!f}while(f);v=["brackets",e.slice(d,s+1),d,s],d=s}else s=e.indexOf(")",d+1),u=e.slice(d,s+1),s===-1||Cm.test(u)?v=["(","(",d]:(v=["brackets",u,d,s],d=s);break}case To:case ic:{a=o===To?"'":'"',s=d;do{if(f=!1,s=e.indexOf(a,s+1),s===-1)if(r||P){s=d+1;break}else C("string");for(l=s;e.charCodeAt(l-1)===Dn;)l-=1,f=!f}while(f);v=["string",e.slice(d,s+1),d,s],d=s;break}case Sm:{qn.lastIndex=d+1,qn.test(e),qn.lastIndex===0?s=e.length-1:s=qn.lastIndex-2,v=["at-word",e.slice(d,s+1),d,s],d=s;break}case Dn:{for(s=d,c=!0;e.charCodeAt(s+1)===Dn;)s+=1,c=!c;if(o=e.charCodeAt(s+1),c&&o!==oc&&o!==Nr&&o!==Fn&&o!==Bn&&o!==zn&&o!==Un&&(s+=1,sc.test(e.charAt(s)))){for(;sc.test(e.charAt(s+1));)s+=1;e.charCodeAt(s+1)===Nr&&(s+=1)}v=["word",e.slice(d,s+1),d,s],d=s;break}default:{o===oc&&e.charCodeAt(d+1)===wm?(s=e.indexOf("*/",d+2)+1,s===0&&(r||P?s=e.length:C("comment")),v=["comment",e.slice(d,s+1),d,s],d=s):(Wn.lastIndex=d+1,Wn.test(e),Wn.lastIndex===0?s=e.length-1:s=Wn.lastIndex-2,v=["word",e.slice(d,s+1),d,s],y.push(v),d=s);break}}return d++,v}}function A(R){_.push(R)}return{back:A,endOfFile:S,nextToken:O,position:b}},Il=Jt,Ii=function(t){fe(n,t);function n(e){var r;return r=t.call(this,e)||this,r.type="atrule",r}var i=n.prototype;return i.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.append).call.apply(a,[].concat([this],o))},i.prepend=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.prepend).call.apply(a,[].concat([this],o))},n}(Il),Pa=Ii;Ii.default=Ii;Il.registerAtRule(Ii);var Ol=Jt,xl,Rl,yr=function(t){fe(n,t);function n(e){var r;return r=t.call(this,e)||this,r.type="root",r.nodes||(r.nodes=[]),r}var i=n.prototype;return i.normalize=function(r,o,s){var a=t.prototype.normalize.call(this,r);if(o){if(s==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(var u=I(a),c;!(c=u()).done;){var f=c.value;f.raws.before=o.raws.before}}return a},i.removeChild=function(r,o){var s=this.index(r);return!o&&s===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),t.prototype.removeChild.call(this,r)},i.toResult=function(r){r===void 0&&(r={});var o=new xl(new Rl,this,r);return o.stringify()},n}(Ol);yr.registerLazyResult=function(t){xl=t};yr.registerProcessor=function(t){Rl=t};var vn=yr;yr.default=yr;Ol.registerRoot(yr);var tn={comma:function(n){return tn.split(n,[","],!0)},space:function(n){var i=[" ",` 49`," "];return tn.split(n,i)},split:function(n,i,e){for(var r=[],o="",s=!1,a=0,u=!1,c="",f=!1,l=I(n),h;!(h=l()).done;){var g=h.value;f?f=!1:g==="\\"?f=!0:u?g===c&&(u=!1):g==='"'||g==="'"?(u=!0,c=g):g==="("?a+=1:g===")"?a>0&&(a-=1):a===0&&i.includes(g)&&(s=!0),s?(o!==""&&r.push(o.trim()),o="",s=!1):o+=g}return(e||o!=="")&&r.push(o.trim()),r}},Al=tn;tn.default=tn;var kl=Jt,Im=Al,Oi=function(t){fe(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="rule",e.nodes||(e.nodes=[]),e}return ae(n,[{key:"selectors",get:function(){return Im.comma(this.selector)},set:function(e){var r=this.selector?this.selector.match(/,\s*/):null,o=r?r[0]:","+this.raw("between","beforeOpen");this.selector=e.join(o)}}]),n}(kl),Na=Oi;Oi.default=Oi;kl.registerRule(Oi);var Om=oo,xm=Em,Rm=ao,Am=Pa,km=vn,ac=Na,uc={empty:!0,space:!0};function Mm(t){for(var n=t.length-1;n>=0;n--){var i=t[n],e=i[3]||i[2];if(e)return e}}var Tm=function(){function t(i){this.input=i,this.root=new km,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:i,start:{column:1,line:1,offset:0}}}var n=t.prototype;return n.atrule=function(e){var r=new Am;r.name=e[1].slice(1),r.name===""&&this.unnamedAtrule(r,e),this.init(r,e[2]);for(var o,s,a,u=!1,c=!1,f=[],l=[];!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),o=e[0],o==="("||o==="["?l.push(o==="("?")":"]"):o==="{"&&l.length>0?l.push("}"):o===l[l.length-1]&&l.pop(),l.length===0)if(o===";"){r.source.end=this.getPosition(e[2]),r.source.end.offset++,this.semicolon=!0;break}else if(o==="{"){c=!0;break}else if(o==="}"){if(f.length>0){for(a=f.length-1,s=f[a];s&&s[0]==="space";)s=f[--a];s&&(r.source.end=this.getPosition(s[3]||s[2]),r.source.end.offset++)}this.end(e);break}else f.push(e);else f.push(e);if(this.tokenizer.endOfFile()){u=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(r.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(r,"params",f),u&&(e=f[f.length-1],r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++,this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),c&&(r.nodes=[],this.current=r)},n.checkMissedSemicolon=function(e){var r=this.colon(e);if(r!==!1){for(var o=0,s,a=r-1;a>=0&&(s=e[a],!(s[0]!=="space"&&(o+=1,o===2)));a--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}},n.colon=function(e){for(var r=0,o,s,a,u=I(e.entries()),c;!(c=u()).done;){var f=c.value,l=f[0],h=f[1];if(o=h,s=o[0],s==="("&&(r+=1),s===")"&&(r-=1),r===0&&s===":")if(!a)this.doubleColon(o);else{if(a[0]==="word"&&a[1]==="progid")continue;return l}a=o}return!1},n.comment=function(e){var r=new Rm;this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++;var o=e[1].slice(2,-2);if(/^\s*$/.test(o))r.text="",r.raws.left=o,r.raws.right="";else{var s=o.match(/^(\s*)([^]*\S)(\s*)$/);r.text=s[2],r.raws.left=s[1],r.raws.right=s[3]}},n.createTokenizer=function(){this.tokenizer=xm(this.input)},n.decl=function(e,r){var o=new Om;this.init(o,e[0][2]);var s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),o.source.end=this.getPosition(s[3]||s[2]||Mm(e)),o.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),o.raws.before+=e.shift()[1];for(o.source.start=this.getPosition(e[0][2]),o.prop="";e.length;){var a=e[0][0];if(a===":"||a==="space"||a==="comment")break;o.prop+=e.shift()[1]}o.raws.between="";for(var u;e.length;)if(u=e.shift(),u[0]===":"){o.raws.between+=u[1];break}else u[0]==="word"&&/\w/.test(u[1])&&this.unknownWord([u]),o.raws.between+=u[1];(o.prop[0]==="_"||o.prop[0]==="*")&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));for(var c=[],f;e.length&&(f=e[0][0],!(f!=="space"&&f!=="comment"));)c.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if(u=e[l],u[1].toLowerCase()==="!important"){o.important=!0;var h=this.stringFrom(e,l);h=this.spacesFromEnd(e)+h,h!==" !important"&&(o.raws.important=h);break}else if(u[1].toLowerCase()==="important"){for(var g=e.slice(0),v="",m=l;m>0;m--){var d=g[m][0];if(v.trim().indexOf("!")===0&&d!=="space")break;v=g.pop()[1]+v}v.trim().indexOf("!")===0&&(o.important=!0,o.raws.important=v,e=g)}if(u[0]!=="space"&&u[0]!=="comment")break}var y=e.some(function(_){return _[0]!=="space"&&_[0]!=="comment"});y&&(o.raws.between+=c.map(function(_){return _[1]}).join(""),c=[]),this.raw(o,"value",c.concat(e),r),o.value.includes(":")&&!r&&this.checkMissedSemicolon(e)},n.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},n.emptyRule=function(e){var r=new ac;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r},n.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)},n.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())},n.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}},n.getPosition=function(e){var r=this.input.fromOffset(e);return{column:r.col,line:r.line,offset:e}},n.init=function(e,r){this.current.push(e),e.source={input:this.input,start:this.getPosition(r)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)},n.other=function(e){for(var r=!1,o=null,s=!1,a=null,u=[],c=e[1].startsWith("--"),f=[],l=e;l;){if(o=l[0],f.push(l),o==="("||o==="[")a||(a=l),u.push(o==="("?")":"]");else if(c&&s&&o==="{")a||(a=l),u.push("}");else if(u.length===0)if(o===";")if(s){this.decl(f,c);return}else break;else if(o==="{"){this.rule(f);return}else if(o==="}"){this.tokenizer.back(f.pop()),r=!0;break}else o===":"&&(s=!0);else o===u[u.length-1]&&(u.pop(),u.length===0&&(a=null));l=this.tokenizer.nextToken()}
vendor: 1,804 bytes, line 49
49if(this.tokenizer.endOfFile()&&(r=!0),u.length>0&&this.unclosedBracket(a),r&&s){if(!c)for(;f.length&&(l=f[f.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,c)}else this.unknownWord(f)},n.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()},n.precheckMissedSemicolon=function(){},n.raw=function(e,r,o,s){for(var a,u,c=o.length,f="",l=!0,h,g,v=0;v<c;v+=1)a=o[v],u=a[0],u==="space"&&v===c-1&&!s?l=!1:u==="comment"?(g=o[v-1]?o[v-1][0]:"empty",h=o[v+1]?o[v+1][0]:"empty",!uc[g]&&!uc[h]?f.slice(-1)===","?l=!1:f+=a[1]:l=!1):f+=a[1];if(!l){var m=o.reduce(function(d,y){return d+y[1]},"");e.raws[r]={raw:m,value:f}}e[r]=f},n.rule=function(e){e.pop();var r=new ac;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r},n.spacesAndCommentsFromEnd=function(e){for(var r,o="";e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)o=e.pop()[1]+o;return o},n.spacesAndCommentsFromStart=function(e){for(var r,o="";e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)o+=e.shift()[1];return o},n.spacesFromEnd=function(e){for(var r,o="";e.length&&(r=e[e.length-1][0],r==="space");)o=e.pop()[1]+o;return o},n.stringFrom=function(e,r){for(var o="",s=r;s<e.length;s++)o+=e[s][1];return e.splice(r,e.length-r),o},n.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},n.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}
vendor: 17,199 bytes, lines 49-51
49,n.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},n.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},n.unnamedAtrule=function(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})},t}(),$m=Tm,Pm=Jt,Nm=$m,Lm=so;function xi(t,n){var i=new Lm(t,n),e=new Nm(i);try{e.parse()}catch(r){throw r}return e.root}var La=xi;xi.default=xi;Pm.registerParse(xi);var He=Et.isClean,Dm=Et.my,Fm=pl,Um=no,Bm=Jt,zm=Ta,cc=$a,qm=La,Wm=vn,Gm={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},jm={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},Vm={Once:!0,postcssPlugin:!0,prepare:!0},_r=0;function Lr(t){return(typeof t>"u"?"undefined":T(t))==="object"&&typeof t.then=="function"}function Ml(t){var n=!1,i=Gm[t.type];return t.type==="decl"?n=t.prop.toLowerCase():t.type==="atrule"&&(n=t.name.toLowerCase()),n&&t.append?[i,i+"-"+n,_r,i+"Exit",i+"Exit-"+n]:n?[i,i+"-"+n,i+"Exit",i+"Exit-"+n]:t.append?[i,_r,i+"Exit"]:[i,i+"Exit"]}function fc(t){var n;return t.type==="document"?n=["Document",_r,"DocumentExit"]:t.type==="root"?n=["Root",_r,"RootExit"]:n=Ml(t),{eventIndex:0,events:n,iterator:0,node:t,visitorIndex:0,visitors:[]}}function ks(t){return t[He]=!1,t.nodes&&t.nodes.forEach(function(n){return ks(n)}),t}var Ms={},wr=function(){function t(i,e,r){var o=this;this.stringified=!1,this.processed=!1;var s;if((typeof e>"u"?"undefined":T(e))==="object"&&e!==null&&(e.type==="root"||e.type==="document"))s=ks(e);else if(M(e,t)||M(e,cc))s=ks(e.root),e.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=e.map);else{var a=qm;r.syntax&&(a=r.syntax.parse),r.parser&&(a=r.parser),a.parse&&(a=a.parse);try{s=a(e,r)}catch(u){this.processed=!0,this.error=u}s&&!s[Dm]&&Bm.rebuild(s)}this.result=new cc(i,s,r),this.helpers=z({},Ms,{postcss:Ms,result:this.result}),this.plugins=this.processor.plugins.map(function(u){return(typeof u>"u"?"undefined":T(u))==="object"&&u.prepare?z({},u,u.prepare(o.result)):u})}var n=t.prototype;return n.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},n.catch=function(e){return this.async().catch(e)},n.finally=function(e){return this.async().then(e,e)},n.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},n.handleError=function(e,r){var o=this.result.lastPlugin;try{if(r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=o.postcssPlugin,e.setMessage();else if(o.postcssVersion)var s,a,u,c,f}catch(l){console&&console.error&&console.error(l)}return e},n.prepareVisitors=function(){var e=this;this.listeners={};for(var r=function(f,l,h){e.listeners[l]||(e.listeners[l]=[]),e.listeners[l].push([f,h])},o=I(this.plugins),s;!(s=o()).done;){var a=s.value;if((typeof a>"u"?"undefined":T(a))==="object")for(var u in a){if(!jm[u]&&/^[A-Z]/.test(u))throw new Error("Unknown event "+u+" in "+a.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!Vm[u])if(T(a[u])==="object")for(var c in a[u])c==="*"?r(a,u,a[u][c]):r(a,u+"-"+c.toLowerCase(),a[u][c]);else typeof a[u]=="function"&&r(a,u,a[u])}}this.hasListener=Object.keys(this.listeners).length>0},n.runAsync=function(){var e=this;return Xi(function(){var r,o,s,a,u,c,f,l,h,g,v,m;return Gt(this,function(d){switch(d.label){case 0:e.plugin=0,r=0,d.label=1;case 1:if(!(r<e.plugins.length))return[3,6];if(o=e.plugins[r],s=e.runOnRoot(o),!Lr(s))return[3,5];d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s];case 3:return d.sent(),[3,5];case 4:throw a=d.sent(),e.handleError(a);case 5:return r++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];u=e.result.root,d.label=7;case 7:if(u[He])return[3,14];u[He]=!0,c=[fc(u)],d.label=8;case 8:if(!(c.length>0))return[3,13];if(f=e.visitTick(c),!Lr(f))return[3,12];d.label=9;case 9:return d.trys.push([9,11,,12]),[4,f];case 10:return d.sent(),[3,12];case 11:throw l=d.sent(),h=c[c.length-1].node,e.handleError(l,h);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];g=function(){var y,_,b,C,S;return Gt(this,function(O){switch(O.label){case 0:y=m.value,_=y[0],b=y[1],e.result.lastPlugin=_,O.label=1;case 1:return O.trys.push([1,6,,7]),u.type!=="document"?[3,3]:(C=u.nodes.map(function(A){return b(A,e.helpers)}),[4,Promise.all(C)]);case 2:return O.sent(),[3,5];case 3:return[4,b(u,e.helpers)];case 4:O.sent(),O.label=5;case 5:return[3,7];case 6:throw S=O.sent(),e.handleError(S);case 7:return[2]}})},v=I(e.listeners.OnceExit),d.label=15;case 15:return(m=v()).done?[3,18]:[5,va(g())];case 16:d.sent(),d.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},n.runOnRoot=function(e){var r=this;this.result.lastPlugin=e;try{if((typeof e>"u"?"undefined":T(e))==="object"&&e.Once){if(this.result.root.type==="document"){var o=this.result.root.nodes.map(function(s){return e.Once(s,r.helpers)});return Lr(o[0])?Promise.all(o):o}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(s){throw this.handleError(s)}},n.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,r=Um;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);var o=new Fm(r,this.result.root,this.result.opts),s=o.generate();return this.result.css=s[0],this.result.map=s[1],this.result},n.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=I(this.plugins),r;!(r=e()).done;){var o=r.value,s=this.runOnRoot(o);if(Lr(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var a=this.result.root;!a[He];)a[He]=!0,this.walkSync(a);if(this.listeners.OnceExit)if(a.type==="document")for(var u=I(a.nodes),c;!(c=u()).done;){var f=c.value;this.visitSync(this.listeners.OnceExit,f)}else this.visitSync(this.listeners.OnceExit,a)}return this.result},n.then=function(e,r){return this.async().then(e,r)},n.toString=function(){return this.css},n.visitSync=function(e,r){for(var o=I(e),s;!(s=o()).done;){var a=s.value,u=a[0],c=a[1];this.result.lastPlugin=u;var f=void 0;try{f=c(r,this.helpers)}catch(l){throw this.handleError(l,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(Lr(f))throw this.getAsyncError()}},n.visitTick=function(e){var r=e[e.length-1],o=r.node,s=r.visitors;if(o.type!=="root"&&o.type!=="document"&&!o.parent){e.pop();return}if(s.length>0&&r.visitorIndex<s.length){var a=s[r.visitorIndex],u=a[0],c=a[1];r.visitorIndex+=1,r.visitorIndex===s.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=u;try{return c(o.toProxy(),this.helpers)}catch(v){throw this.handleError(v,o)}}if(r.iterator!==0){for(var f=r.iterator,l;l=o.nodes[o.indexes[f]];)if(o.indexes[f]+=1,!l[He]){l[He]=!0,e.push(fc(l));return}r.iterator=0,delete o.indexes[f]}for(var h=r.events;r.eventIndex<h.length;){var g=h[r.eventIndex];if(r.eventIndex+=1,g===_r){o.nodes&&o.nodes.length&&(o[He]=!0,r.iterator=o.getIterator());return}else if(this.listeners[g]){r.visitors=this.listeners[g];return}}e.pop()},n.walkSync=function(e){var r=this;e[He]=!0;for(var o=Ml(e),s=I(o),a;!(a=s()).done;){var u=a.value;if(u===_r)e.nodes&&e.each(function(f){f[He]||r.walkSync(f)});else{var c=this.listeners[u];if(c&&this.visitSync(c,e.toProxy()))return}}},n.warnings=function(){return this.sync().warnings()},ae(t,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),t}();wr.registerPostcss=function(t){Ms=t};var Tl=wr;wr.default=wr;Wm.registerLazyResult(wr);zm.registerLazyResult(wr);var Hm=pl,Ym=no,Km=La,Jm=$a,Ts=function(){function t(i,e,r){e=e.toString(),this.stringified=!1,this._processor=i,this._css=e,this._opts=r,this._map=void 0;var o,s=Ym;this.result=new Jm(this._processor,o,this._opts),this.result.css=e;var a=this;Object.defineProperty(this.result,"root",{get:function(){return a.root}});var u=new Hm(s,o,this._opts,e);if(u.isMap()){var c=u.generate(),f=c[0],l=c[1];f&&(this.result.css=f),l&&(this.result.map=l)}else u.clearAnnotation(),this.result.css=u.css}var n=t.prototype;return n.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},n.catch=function(e){return this.async().catch(e)},n.finally=function(e){return this.async().then(e,e)},n.sync=function(){if(this.error)throw this.error;return this.result},n.then=function(e,r){return this.async().then(e,r)},n.toString=function(){return this._css},n.warnings=function(){return[]},ae(t,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,r=Km;try{e=r(this._css,this._opts)}catch(o){this.error=o}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),t}(),Xm=Ts;Ts.default=Ts;var Zm=Xm,Qm=Tl,ey=Ta,ty=vn,rn=function(){function t(i){i===void 0&&(i=[]),this.version="8.4.38",this.plugins=this.normalize(i)}var n=t.prototype;return n.normalize=function(e){for(var r=[],o=I(e),s;!(s=o()).done;){var a=s.value;if(a.postcss===!0?a=a():a.postcss&&(a=a.postcss),(typeof a>"u"?"undefined":T(a))==="object"&&Array.isArray(a.plugins))r=r.concat(a.plugins);else if((typeof a>"u"?"undefined":T(a))==="object"&&a.postcssPlugin)r.push(a);else if(typeof a=="function")r.push(a);else if(!((typeof a>"u"?"undefined":T(a))==="object"&&(a.parse||a.stringify)))throw new Error(a+" is not a PostCSS plugin")}return r},n.process=function(e,r){return r===void 0&&(r={}),!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new Zm(this,e,r):new Qm(this,e,r)},n.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},t}(),ry=rn;rn.default=rn;ty.registerProcessor(rn);ey.registerProcessor(rn);var ny=oo,iy=ul,oy=ao,sy=Pa,ay=so,uy=vn,cy=Na;function nn(t,n){if(Array.isArray(t))return t.map(function(l){return nn(l)});var i=t.inputs,e=Wt(t,["inputs"]);if(i){n=[];for(var r=I(i),o;!(o=r()).done;){var s=o.value,a=z({},s,{__proto__:ay.prototype});a.map&&(a.map=z({},a.map,{__proto__:iy.prototype})),n.push(a)}}if(e.nodes&&(e.nodes=t.nodes.map(function(l){return nn(l,n)})),e.source){var u=e.source,c=u.inputId,f=Wt(u,["inputId"]);e.source=f,c!=null&&(e.source.input=n[c])}if(e.type==="root")return new uy(e);if(e.type==="decl")return new ny(e);if(e.type==="rule")return new cy(e);if(e.type==="comment")return new oy(e);if(e.type==="atrule")return new sy(e);throw new Error("Unknown node type: "+t.type)}var fy=nn;nn.default=nn;var ly=Aa,$l=oo,hy=Tl,py=Jt,Da=ry,dy=no,vy=fy,Pl=Ta,gy=El,Nl=ao,Ll=Pa,my=$a,yy=so,_y=La,wy=Al,Dl=Na,Fl=vn,by=io;function Z(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return n.length===1&&Array.isArray(n[0])&&(n=n[0]),new Da(n)}Z.plugin=function(n,i){var e=!1;function r(){for(var s=arguments.length,a=new Array(s),u=0;u<s;u++)a[u]=arguments[u];console&&console.warn&&!e&&(e=!0,console.warn(n+`: postcss.plugin was deprecated. Migration guide: 50https://evilmartians.com/chronicles/postcss-8-plugin-migration`),dr.LANG&&dr.LANG.startsWith("cn")&&console.warn(n+`: éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå: 51https://www.w3ctech.com/topic/2226`));var c=i.apply(void 0,[].concat(a));return c.postcssPlugin=n,c.postcssVersion=new Da().version,c}var o;return Object.defineProperty(r,"postcss",{get:function(){return o||(o=r()),o}}),r.process=function(s,a,u){return Z([r(u)]).process(s,a)},r};Z.stringify=dy;Z.parse=_y;Z.fromJSON=vy;Z.list=wy;Z.comment=function(t){return new Nl(t)};Z.atRule=function(t){return new Ll(t)};Z.decl=function(t){return new $l(t)};Z.rule=function(t){return new Dl(t)};Z.root=function(t){return new Fl(t)};Z.document=function(t){return new Pl(t)};Z.CssSyntaxError=ly;Z.Declaration=$l;Z.Container=py;Z.Processor=Da;Z.Document=Pl;Z.Comment=Nl;Z.Warning=gy;Z.AtRule=Ll;Z.Result=my;Z.Input=yy;Z.Rule=Dl;Z.Root=Fl;Z.Node=by;hy.registerPostcss(Z);var Sy=Z;Z.default=Z;var he=Ng(Sy);he.stringify;he.fromJSON;he.plugin;he.parse;he.list;he.document;he.comment;he.atRule;he.rule;he.decl;he.root;he.CssSyntaxError;he.Declaration;he.Container;he.Processor;he.Document;he.Comment;he.Warning;he.AtRule;he.Result;he.Input;he.Rule;he.Root;he.Node;var Cy=function(){function t(){for(var i=arguments.length,e=new Array(i),r=0;r<i;r++)e[r]=arguments[r];Fe(this,"parentElement",null),Fe(this,"parentNode",null),Fe(this,"ownerDocument"),Fe(this,"firstChild",null),Fe(this,"lastChild",null),Fe(this,"previousSibling",null),Fe(this,"nextSibling",null),Fe(this,"ELEMENT_NODE",1),Fe(this,"TEXT_NODE",3),Fe(this,"nodeType"),Fe(this,"nodeName"),Fe(this,"RRNodeType")}var n=t.prototype;return n.contains=function(e){if(M(e,t)){if(e.ownerDocument!==this.ownerDocument)return!1;if(e===this)return!0}else return!1;for(;e.parentNode;){if(e.parentNode===this)return!0;e=e.parentNode}return!1},n.appendChild=function(e){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")},n.insertBefore=function(e,r){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")},n.removeChild=function(e){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")},n.toString=function(){return"RRNode"},ae(t,[{key:"childNodes",get:function(){for(var e=[],r=this.firstChild;r;)e.push(r),r=r.nextSibling;return e}}]),t}(),lc={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},hc={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Gn={},Ey=function(){return!!globalThis.Zone};function Fa(t){if(Gn[t])return Gn[t];var n=globalThis[t],i=n.prototype,e=t in lc?lc[t]:void 0,r=!!(e&&e.every(function(f){var l,h;return!!((h=(l=Object.getOwnPropertyDescriptor(i,f))==null?void 0:l.get)!=null&&h.toString().includes("[native code]"))})),o=t in hc?hc[t]:void 0,s=!!(o&&o.every(function(f){var l;return typeof i[f]=="function"&&((l=i[f])==null?void 0:l.toString().includes("[native code]"))}));if(r&&s&&!Ey())return Gn[t]=n.prototype,n.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return n.prototype;var c=u[t].prototype;return document.body.removeChild(a),c?Gn[t]=c:i}catch{return i}}var $o={};function It(t,n,i){var e,r=t+"."+String(i);if($o[r])return $o[r].call(n);var o=Fa(t),s=(e=Object.getOwnPropertyDescriptor(o,i))==null?void 0:e.get;return s?($o[r]=s,s.call(n)):n[i]}var Po={};function Ul(t,n,i){var e=t+"."+String(i);if(Po[e])return Po[e].bind(n);var r=Fa(t),o=r[i];return typeof o!="function"?n[i]:(Po[e]=o,o.bind(n))}function Iy(t){return It("Node",t,"childNodes")}function Oy(t){return It("Node",t,"parentNode")}function xy(t){return It("Node",t,"parentElement")}function Ry(t){return It("Node",t,"textContent")}function Ay(t,n){return Ul("Node",t,"contains")(n)}function ky(t){return Ul("Node",t,"getRootNode")()}function My(t){return!t||!("host"in t)?null:It("ShadowRoot",t,"host")}function Ty(t){return t.styleSheets}function $y(t){return!t||!("shadowRoot"in t)?null:It("Element",t,"shadowRoot")}function Py(t,n){return It("Element",t,"querySelector")(n)}function Ny(t,n){return It("Element",t,"querySelectorAll")(n)}function Bl(){return Fa("MutationObserver").constructor}function Xt(t,n,i){try{if(!(n in t))return function(){};var e=t[n],r=i(e);return typeof r=="function"&&(r.prototype=r.prototype||{},Object.defineProperties(r,{__rrweb_original__:{enumerable:!1,value:e}})),t[n]=r,function(){t[n]=e}}catch{return function(){}}}var j={childNodes:Iy,parentNode:Oy,parentElement:xy,textContent:Ry,contains:Ay,getRootNode:ky,host:My,styleSheets:Ty,shadowRoot:$y,querySelector:Py,querySelectorAll:Ny,mutationObserver:Bl,patch:Xt};function Me(t,n,i){i===void 0&&(i=document);var e={capture:!0,passive:!0};return i.addEventListener(t,n,e),function(){return i.removeEventListener(t,n,e)}}var sr=`Please stop import mirror directly. Instead of that,\r
52now you can use replayer.getMirror() to access the mirror instance of a replayer,\r 53or you can use record.mirror to access the mirror instance during recording.`,pc={map:{},getId:function(){return console.error(sr),-1},getNode:function(){return console.error(sr),null},removeNodeFromMap:function(){console.error(sr)},has:function(){return console.error(sr),!1},reset:function(){console.error(sr)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(pc=new Proxy(pc,{get:function(n,i,e){return i==="map"&&console.error(sr),Reflect.get(n,i,e)}}));function on(t,n,i){i===void 0&&(i={});var e=null,r=0;return function(){for(var o=arguments.length,s=new Array(o),a=0;a<o;a++)s[a]=arguments[a];var u=Date.now();!r&&i.leading===!1&&(r=u);var c=n-(u-r),f=this;c<=0||c>n?(e&&(clearTimeout(e),e=null),r=u,t.apply(f,s)):!e&&i.trailing!==!1&&(e=setTimeout(function(){r=i.leading===!1?0:Date.now(),e=null,t.apply(f,s)},c))}}function uo(t,n,i,e,r){r===void 0&&(r=window);var o=r.Object.getOwnPropertyDescriptor(t,n);return r.Object.defineProperty(t,n,e?i:{set:function(a){var u=this;setTimeout(function(){i.set.call(u,a)},0),o&&o.set&&o.set.call(this,a)}}),function(){return uo(t,n,o||{},!0)}}var Ri=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(Ri=function(){return new Date().getTime()});function zl(t){var n,i,e,r,o=t.document;return{left:o.scrollingElement?o.scrollingElement.scrollLeft:t.pageXOffset!==void 0?t.pageXOffset:o.documentElement.scrollLeft||o?.body&&((n=j.parentElement(o.body))==null?void 0:n.scrollLeft)||((i=o?.body)==null?void 0:i.scrollLeft)||0,top:o.scrollingElement?o.scrollingElement.scrollTop:t.pageYOffset!==void 0?t.pageYOffset:o?.documentElement.scrollTop||o?.body&&((e=j.parentElement(o.body))==null?void 0:e.scrollTop)||((r=o?.body)==null?void 0:r.scrollTop)||0}}function ql(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Wl(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Gl(t){if(!t)return null;var n=t.nodeType===t.ELEMENT_NODE?t:j.parentElement(t);return n}function Te(t,n,i,e){if(!t)return!1;var r=Gl(t);if(!r)return!1;try{if(typeof n=="string"){if(r.classList.contains(n)||e&&r.closest("."+n)!==null)return!0}else if(_i(r,n,e))return!0}catch{}return!!(i&&(r.matches(i)||e&&r.closest(i)!==null))}function Ly(t,n){return n.getId(t)!==-1}function No(t,n,i){return t.tagName==="TITLE"&&i.headTitleMutations?!0:n.getId(t)===Kr}function jl(t,n){if(Br(t))return!1;var i=n.getId(t);if(!n.has(i))return!0;var e=j.parentNode(t);return e&&e.nodeType===t.DOCUMENT_NODE?!1:e?jl(e,n):!0}function $s(t){return!!t.changedTouches}function Dy(t){t===void 0&&(t=window),"NodeList"in t&&!t.NodeList.prototype.forEach&&(t.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in t&&!t.DOMTokenList.prototype.forEach&&(t.DOMTokenList.prototype.forEach=Array.prototype.forEach)}function Vl(t,n){return!!(t.nodeName==="IFRAME"&&n.getMeta(t))}function Hl(t,n){return!!(t.nodeName==="LINK"&&t.nodeType===t.ELEMENT_NODE&&t.getAttribute&&t.getAttribute("rel")==="stylesheet"&&n.getMeta(t))}function Ps(t){return t?M(t,Cy)&&"shadowRoot"in t?!!t.shadowRoot:!!j.shadowRoot(t):!1}var Fy=function(){function t(){x(this,"id",1),x(this,"styleIDMap",new WeakMap),x(this,"idStyleMap",new Map)}var n=t.prototype;return n.getId=function(e){var r;return(r=this.styleIDMap.get(e))!=null?r:-1},n.has=function(e){return this.styleIDMap.has(e)},n.add=function(e,r){if(this.has(e))return this.getId(e);var o;return r===void 0?o=this.id++:o=r,this.styleIDMap.set(e,o),this.idStyleMap.set(o,e),o},n.getStyle=function(e){return this.idStyleMap.get(e)||null},n.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},n.generateId=function(){return this.id++},n.remove=function(e){var r=this.styleIDMap.get(e);return r!==void 0?(this.styleIDMap.delete(e),this.idStyleMap.delete(r),!0):!1},t}();function Yl(t){var n,i=null;return"getRootNode"in t&&((n=j.getRootNode(t))==null?void 0:n.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&j.host(j.getRootNode(t))&&(i=j.host(j.getRootNode(t))),i}function Uy(t){for(var n=t,i;i=Yl(n);)n=i;return n}function By(t){var n=t.ownerDocument;if(!n)return!1;var i=Uy(t);return j.contains(n,i)}function Kl(t){var n=t.ownerDocument;return n?j.contains(n,t)||By(t):!1}var V=function(t){return t[t.DomContentLoaded=0]="DomContentLoaded",t[t.Load=1]="Load",t[t.FullSnapshot=2]="FullSnapshot",t[t.IncrementalSnapshot=3]="IncrementalSnapshot",t[t.Meta=4]="Meta",t[t.Custom=5]="Custom",t[t.Plugin=6]="Plugin",t}(V||{}),L=function(t){return t[t.Mutation=0]="Mutation",t[t.MouseMove=1]="MouseMove",t[t.MouseInteraction=2]="MouseInteraction",t[t.Scroll=3]="Scroll",t[t.ViewportResize=4]="ViewportResize",t[t.In
vendor: 14,157 bytes, line 53
53put=5]="Input",t[t.TouchMove=6]="TouchMove",t[t.MediaInteraction=7]="MediaInteraction",t[t.StyleSheetRule=8]="StyleSheetRule",t[t.CanvasMutation=9]="CanvasMutation",t[t.Font=10]="Font",t[t.Log=11]="Log",t[t.Drag=12]="Drag",t[t.StyleDeclaration=13]="StyleDeclaration",t[t.Selection=14]="Selection",t[t.AdoptedStyleSheet=15]="AdoptedStyleSheet",t[t.CustomElement=16]="CustomElement",t}(L||{}),Pe=function(t){return t[t.MouseUp=0]="MouseUp",t[t.MouseDown=1]="MouseDown",t[t.Click=2]="Click",t[t.ContextMenu=3]="ContextMenu",t[t.DblClick=4]="DblClick",t[t.Focus=5]="Focus",t[t.Blur=6]="Blur",t[t.TouchStart=7]="TouchStart",t[t.TouchMove_Departed=8]="TouchMove_Departed",t[t.TouchEnd=9]="TouchEnd",t[t.TouchCancel=10]="TouchCancel",t}(Pe||{}),it=function(t){return t[t.Mouse=0]="Mouse",t[t.Pen=1]="Pen",t[t.Touch=2]="Touch",t}(it||{}),br=function(t){return t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2",t}(br||{}),ar=function(t){return t[t.Play=0]="Play",t[t.Pause=1]="Pause",t[t.Seeked=2]="Seeked",t[t.VolumeChange=3]="VolumeChange",t[t.RateChange=4]="RateChange",t}(ar||{}),Jl=function(t){return t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment",t}(Jl||{});function dc(t){return"__ln"in t}var zy=function(){function t(){x(this,"length",0),x(this,"head",null),x(this,"tail",null)}var n=t.prototype;return n.get=function(e){if(e>=this.length)throw new Error("Position outside of list range");for(var r=this.head,o=0;o<e;o++)r=r?.next||null;return r},n.addNode=function(e){var r={value:e,previous:null,next:null};if(e.__ln=r,e.previousSibling&&dc(e.previousSibling)){var o=e.previousSibling.__ln.next;r.next=o,r.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=r,o&&(o.previous=r)}else if(e.nextSibling&&dc(e.nextSibling)&&e.nextSibling.__ln.previous){var s=e.nextSibling.__ln.previous;r.previous=s,r.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=r,s&&(s.next=r)}else this.head&&(this.head.previous=r),r.next=this.head,this.head=r;r.next===null&&(this.tail=r),this.length++},n.removeNode=function(e){var r=e.__ln;this.head&&(r.previous?(r.previous.next=r.next,r.next?r.next.previous=r.previous:this.tail=r.previous):(this.head=r.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)},t}(),vc=function(t,n){return t+"@"+n},qy=function(){function t(){var i=this;x(this,"frozen",!1),x(this,"locked",!1),x(this,"texts",[]),x(this,"attributes",[]),x(this,"attributeMap",new WeakMap),x(this,"removes",[]),x(this,"mapRemoves",[]),x(this,"movedMap",{}),x(this,"addedSet",new Set),x(this,"movedSet",new Set),x(this,"droppedSet",new Set),x(this,"removesSubTreeCache",new Set),x(this,"mutationCb"),x(this,"blockClass"),x(this,"blockSelector"),x(this,"maskTextClass"),x(this,"maskTextSelector"),x(this,"inlineStylesheet"),x(this,"maskInputOptions"),x(this,"maskTextFn"),x(this,"maskInputFn"),x(this,"keepIframeSrcFn"),x(this,"recordCanvas"),x(this,"inlineImages"),x(this,"slimDOMOptions"),x(this,"dataURLOptions"),x(this,"doc"),x(this,"mirror"),x(this,"iframeManager"),x(this,"stylesheetManager"),x(this,"shadowDomManager"),x(this,"canvasManager"),x(this,"processedNodeManager"),x(this,"unattachedDoc"),x(this,"processMutations",function(e){e.forEach(i.processMutation),i.emit()}),x(this,"emit",function(){if(!(i.frozen||i.locked)){for(var e=[],r=new Set,o=new zy,s=function(N){for(var G=N,de=Kr;de===Kr;)G=G&&G.nextSibling,de=G&&i.mirror.getId(G);return de},a=function(N){var G=j.parentNode(N);if(!(!G||!Kl(N))){var de=!1;if(N.nodeType===Node.TEXT_NODE){var Y=G.tagName;if(Y==="TEXTAREA")return;Y==="STYLE"&&i.addedSet.has(G)&&(de=!0)}var Le=Br(G)?i.mirror.getId(Yl(N)):i.mirror.getId(G),$e=s(N);if(Le===-1||$e===-1)return o.addNode(N);var xe=cr(N,{doc:i.doc,mirror:i.mirror,blockClass:i.blockClass,blockSelector:i.blockSelector,maskTextClass:i.maskTextClass,maskTextSelector:i.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:i.inlineStylesheet,maskInputOptions:i.maskInputOptions,maskTextFn:i.maskTextFn,maskInputFn:i.maskInputFn,slimDOMOptions:i.slimDOMOptions,dataURLOptions:i.dataURLOptions,recordCanvas:i.recordCanvas,inlineImages:i.inlineImages,onSerialize:function(ue){Vl(ue,i.mirror)&&i.iframeManager.addIframe(ue),Hl(ue,i.mirror)&&i.stylesheetManager.trackLinkElement(ue),Ps(N)&&i.shadowDomManager.addShadowRoot(j.shadowRoot(N),i.doc)},onIframeLoad:function(ue,Ie){i.iframeManager.attachIframe(ue,Ie),i.shadowDomManager.observeAttachShadow(ue)},onStylesheetLoad:function(ue,Ie){i.stylesheetManager.attachLinkElement(ue,Ie)},cssCaptured:de});xe&&(e.push({parentId:Le,nextId:$e,node:xe}),r.add(xe.id))}};i.mapRemoves.length;){var u=i.mapRemoves.shift();i.cleanupRemovedNode(u),i.mirror.removeNodeFromMap(u)}for(var c=I(i.movedSet),f;!(f=c()).done;){var l=f.value;gc(i.removesSubTreeCache,l,i.mirror)&&!i.movedSet.has(j.parentNode(l))||a(l)}for(var h=I(i.addedSet),g;!(g=h()).done;){var v=g.value;!mc(i.droppedSet,v)&&!gc(i.removesSubTreeCache,v,i.mirror)||mc(i.movedSet,v)?a(v):i.droppedSet.add(v)}for(var m=null;o.length;){var d=null;if(m){var y=i.mirror.getId(j.parentNode(m.value)),_=s(m.value);y!==-1&&_!==-1&&(d=m)}if(!d)for(var b=o.tail;b;){var C=b;if(b=b.previous,C){var S=i.mirror.getId(j.parentNode(C.value)),O=s(C.value);if(O===-1)continue;if(S!==-1){d=C;break}else{var A=C.value,R=j.parentNode(A);if(R&&R.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var P=j.host(R),q=i.mirror.getId(P);if(q!==-1){d=C;break}}}}}if(!d){for(;o.head;)o.removeNode(o.head.value);break}m=d.previous,o.removeNode(d.value),a(d.value)}var ve={texts:i.texts.map(function(N){var G=N.node,de=j.parentNode(G);return de&&de.tagName==="TEXTAREA"&&i.genTextAreaValueMutation(de),{id:i.mirror.getId(G),value:N.value}}).filter(function(N){return!r.has(N.id)}).filter(function(N){return i.mirror.has(N.id)}),attributes:i.attributes.map(function(N){var G=N.attributes;if(typeof G.style=="string"){var de=JSON.stringify(N.styleDiff),Y=JSON.stringify(N._unchangedStyles);de.length<G.style.length&&(de+Y).split("var(").length===G.style.split("var(").length&&(G.style=N.styleDiff)}return{id:i.mirror.getId(N.node),attributes:G}}).filter(function(N){return!r.has(N.id)}).filter(function(N){return i.mirror.has(N.id)}),removes:i.removes,adds:e};!ve.texts.length&&!ve.attributes.length&&!ve.removes.length&&!ve.adds.length||(i.texts=[],i.attributes=[],i.attributeMap=new WeakMap,i.removes=[],i.addedSet=new Set,i.movedSet=new Set,i.droppedSet=new Set,i.removesSubTreeCache=new Set,i.movedMap={},i.mutationCb(ve))}}),x(this,"genTextAreaValueMutation",function(e){var r=i.attributeMap.get(e);r||(r={node:e,attributes:{},styleDiff:{},_unchangedStyles:{}},i.attributes.push(r),i.attributeMap.set(e,r));var o=Array.from(j.childNodes(e),function(s){return j.textContent(s)||""}).join("");r.attributes.value=gi({element:e,maskInputOptions:i.maskInputOptions,tagName:e.tagName,type:mi(e),value:o,maskInputFn:i.maskInputFn})}),x(this,"processMutation",function(e){if(!No(e.target,i.mirror,i.slimDOMOptions))switch(e.type){case"characterData":{var r=j.textContent(e.target);!Te(e.target,i.blockClass,i.blockSelector,!1)&&r!==e.oldValue&&i.texts.push({value:Of(e.target,i.maskTextClass,i.maskTextSelector,!0)&&r?i.maskTextFn?i.maskTextFn(r,Gl(e.target)):r.replace(/[\S]/g,"*"):r,node:e.target});break}case"attributes":{var o=e.target,s=e.attributeName,a=e.target.getAttribute(s);if(s==="value"){var u=mi(o);a=gi({element:o,maskInputOptions:i.maskInputOptions,tagName:o.tagName,type:u,value:a,maskInputFn:i.maskInputFn})}if(Te(e.target,i.blockClass,i.blockSelector,!1)||a===e.oldValue)return;var c=i.attributeMap.get(e.target);if(o.tagName==="IFRAME"&&s==="src"&&!i.keepIframeSrcFn(a))if(!o.contentDocument)s="rr_src";else return;if(c||(c={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},i.attributes.push(c),i.attributeMap.set(e.target,c)),s==="type"&&o.tagName==="INPUT"&&(e.oldValue||"").toLowerCase()==="password"&&o.setAttribute("data-rr-is-password","true"),!If(o.tagName,s))if(c.attributes[s]=Ef(i.doc,jt(o.tagName),jt(s),a),s==="style"){if(!i.unattachedDoc)try{i.unattachedDoc=document.implementation.createHTMLDocument()}catch{i.unattachedDoc=i.doc}var f=i.unattachedDoc.createElement("span");e.oldValue&&f.setAttribute("style",e.oldValue);for(var l=I(Array.from(o.style)),h;!(h=l()).done;){var g=h.value,v=o.style.getPropertyValue(g),m=o.style.getPropertyPriority(g);v!==f.style.getPropertyValue(g)||m!==f.style.getPropertyPriority(g)?m===""?c.styleDiff[g]=v:c.styleDiff[g]=[v,m]:c._unchangedStyles[g]=[v,m]}for(var d=I(Array.from(f.style)),y;!(y=d()).done;){var _=y.value;o.style.getPropertyValue(_)===""&&(c.styleDiff[_]=!1)}}else s==="open"&&o.tagName==="DIALOG"&&(o.matches("dialog:modal")?c.attributes.rr_open_mode="modal":c.attributes.rr_open_mode="non-modal");break}case"childList":{if(Te(e.target,i.blockClass,i.blockSelector,!0))return;if(e.target.tagName==="TEXTAREA"){i.genTextAreaValueMutation(e.target);return}e.addedNodes.forEach(function(b){return i.genAdds(b,e.target)}),e.removedNodes.forEach(function(b){var C=i.mirror.getId(b),S=Br(e.target)?i.mirror.getId(j.host(e.target)):i.mirror.getId(e.target);Te(e.target,i.blockClass,i.blockSelector,!1)||No(b,i.mirror,i.slimDOMOptions)||!Ly(b,i.mirror)||(i.addedSet.has(b)?(Ns(i.addedSet,b),i.droppedSet.add(b)):i.addedSet.has(e.target)&&C===-1||jl(e.target,i.mirror)||(i.movedSet.has(b)&&i.movedMap[vc(C,S)]?Ns(i.movedSet,b):(i.removes.push({parentId:S,id:C,isShadow:Br(e.target)&&zr(e.target)?!0:void 0}),Wy(b,i.removesSubTreeCache))),i.mapRemoves.push(b))});break}}}),x(this,"genAdds",function(e,r){if(!i.processedNodeManager.inOtherBuffer(e,i)&&!(i.addedSet.has(e)||i.movedSet.has(e))){if(i.mirror.hasNode(e)){if(No(e,i.mirror,i.slimDOMOptions))return;i.movedSet.add(e);var o=null;r&&i.mirror.hasNode(r)&&(o=i.mirror.getId(r)),o&&o!==-1&&(i.movedMap[vc(i.mirror.getId(e),o)]=!0)}else i.addedSet.add(e),i.droppedSet.delete(e);Te(e,i.blockClass,i.blockSelector,!1)||(j.childNodes(e).forEach(function(s){return i.genAdds(s)}),Ps(e)&&j.childNodes(j.shadowRoot(e)).forEach(function(s){i.processedNodeManager.add(s,i),i.genAdds(s,e)}))}}),x(this,"cleanupRemovedNode",function(e){if(e.nodeName==="IFRAME")try{i.iframeManager.removeIframe(e)}catch{}else try{i.stylesheetManager.cleanupStylesheetsForRemovedNode(e)}catch{}e.childNodes.forEach(function(r){i.cleanupRemovedNode(r)})})}var n=t.prototype;return n.init=function(e){var r=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(function(o){r[o]=e[o]})},n.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},n.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},n.isFrozen=function(){return this.frozen},n.lock=function(){this.locked=!0,this.canvasManager.lock()},n.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},n.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},n.getDoc=function(){return this.doc},t}();function Ns(t,n){t.delete(n),j.childNodes(n).forEach(function(i){return Ns(t,i)})}function Wy(t,n){for(var i=[t];i.length;){var e=i.pop();n.has(e)||(n.add(e),j.childNodes(e).forEach(function(r){return i.push(r)}))}}function gc(t,n,i){return t.size===0?!1:Gy(t,n)}function Gy(t,n,i){var e=j.parentNode(n);return e?t.has(e):!1}function mc(t,n){return t.size===0?!1:Xl(t,n)}function Xl(t,n){var i=j.parentNode(n);return i?t.has(i)?!0:Xl(t,i):!1}var qr;function jy(t){qr=t}function Vy(){qr=void 0}var H=function(t){if(!qr)return t;var n=function(){for(var i=arguments.length,e=new Array(i),r=0;r<i;r++)e[r]=arguments[r];try{return t.apply(void 0,[].concat(e))}catch(o){if(qr&&qr(o)===!0)return;throw o}};return n},Je=[];function gn(t){try{if("composedPath"in t){var n=t.composedPath();if(n.length)return n[0]}else if("path"in t&&t.path.length)return t.path[0]}catch{}return t&&t.target}function Zl(t,n){var i=new qy;Je.push(i),i.init(t);var e=new(Bl())(H(i.processMutations.bind(i)));return e.observe(n,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),e}function Hy(t){for(var n=Je.length-1;n>=0;n--){var i=Je[n];i.getDoc()===t&&Je.splice(n,1)}}function Yy(t){var n=t.mousemoveCb,i=t.sampling,e=t.doc,r=t.mirror;if(i.mousemove===!1)return function(){};var o=typeof i.mousemove=="number"?i.mousemove:50,s=typeof i.mousemoveCallback=="number"?i.mousemoveCallback:500,a=[],u,c=on(H(function(h){var g=Date.now()-u;n(a.map(function(v){return v.timeOffset-=g,v}),h),a=[],u=null}),s),f=H(on(H(function(h){var g=gn(h),v=$s(h)?h.changedTouches[0]:h,m=v.clientX,d=v.clientY;u||(u=Ri()),a.push({x:m,y:d,id:r.getId(g),timeOffset:Ri()-u}),c(typeof DragEvent<"u"&&M(h,DragEvent)?L.Drag:M(h,MouseEvent)?L.MouseMove:L.TouchMove)}),o,{trailing:!1})),l=[Me("mousemove",f,e),Me("touchmove",f,e),Me("drag",f,e)];return H(function(){l.forEach(function(h){return h()})})}function Ky(t){var n=t.mouseInteractionCb,i=t.doc,e=t.mirror,r=t.blockClass,o=t.blockSelector,s=t.sampling;if(s.mouseInteraction===!1)return function(){};var a=s.mouseInteraction===!0||s.mouseInteraction===void 0?{}:s.mouseInteraction,u=[],c=null,f=function(l){return function(h){var g=gn(h);if(!Te(g,r,o,!0)){var v=null,m=l;if("pointerType"in h){switch(h.pointerType){case"mouse":v=it.Mouse;break;case"touch":v=it.Touch;break;case"pen":v=it.Pen;break}v===it.Touch?Pe[l]===Pe.MouseDown?m="TouchStart":Pe[l]===Pe.MouseUp&&(m="TouchEnd"):it.Pen}else $s(h)&&(v=it.Touch);v!==null?(c=v,(m.startsWith("Touch")&&v===it.Touch||m.startsWith("Mouse")&&v===it.Mouse)&&(v=null)):Pe[l]===Pe.Click&&(v=c,c=null);var d=$s(h)?h.changedTouches[0]:h;if(d){var y=e.getId(g),_=d.clientX,b=d.clientY;H(n)(z({type:Pe[m],id:y,x:_,y:b},v!==null&&{pointerType:v}))}}}};return Object.keys(Pe).filter(function(l){return Number.isNaN(Number(l))&&!l.endsWith("_Departed")&&a[l]!==!1}).forEach(function(l){var h=jt(l),g=f(l);
vendor: 5,617 bytes, line 53
53if(window.PointerEvent)switch(Pe[l]){case Pe.MouseDown:case Pe.MouseUp:h=h.replace("mouse","pointer");break;case Pe.TouchStart:case Pe.TouchEnd:return}u.push(Me(h,g,i))}),H(function(){u.forEach(function(l){return l()})})}function Ql(t){var n=t.scrollCb,i=t.doc,e=t.mirror,r=t.blockClass,o=t.blockSelector,s=t.sampling,a=H(on(H(function(u){var c=gn(u);if(!(!c||Te(c,r,o,!0))){var f=e.getId(c);if(c===i&&i.defaultView){var l=zl(i.defaultView);n({id:f,x:l.left,y:l.top})}else n({id:f,x:c.scrollLeft,y:c.scrollTop})}}),s.scroll||100));return Me("scroll",a,i)}function Jy(t,n){var i=t.viewportResizeCb,e=n.win,r=-1,o=-1,s=H(on(H(function(){var a=ql(),u=Wl();(r!==a||o!==u)&&(i({width:Number(u),height:Number(a)}),r=a,o=u)}),200));return Me("resize",s,e)}var Xy=["INPUT","TEXTAREA","SELECT"],yc=new WeakMap;function Zy(t){var n=t.inputCb,i=t.doc,e=t.mirror,r=t.blockClass,o=t.blockSelector,s=t.ignoreClass,a=t.ignoreSelector,u=t.maskInputOptions,c=t.maskInputFn,f=t.sampling,l=t.userTriggeredOnInput;function h(C){var S=gn(C),O=C.isTrusted,A=S&&S.tagName;if(S&&A==="OPTION"&&(S=j.parentElement(S)),!(!S||!A||Xy.indexOf(A)<0||Te(S,r,o,!0))&&!(S.classList.contains(s)||a&&S.matches(a))){var R=S.value,P=!1,q=mi(S)||"";q==="radio"||q==="checkbox"?P=S.checked:(u[A.toLowerCase()]||u[q])&&(R=gi({element:S,maskInputOptions:u,tagName:A,type:q,value:R,maskInputFn:c})),g(S,l?{text:R,isChecked:P,userTriggered:O}:{text:R,isChecked:P});var ve=S.name;q==="radio"&&ve&&P&&i.querySelectorAll('input[type="radio"][name="'+ve+'"]').forEach(function(N){if(N!==S){var G=N.value;g(N,l?{text:G,isChecked:!P,userTriggered:!1}:{text:G,isChecked:!P})}})}}function g(C,S){var O=yc.get(C);if(!O||O.text!==S.text||O.isChecked!==S.isChecked){yc.set(C,S);var A=e.getId(C);H(n)(z({},S,{id:A}))}}var v=f.input==="last"?["change"]:["input","change"],m=v.map(function(C){return Me(C,H(h),i)}),d=i.defaultView;if(!d)return function(){m.forEach(function(C){return C()})};var y=d.Object.getOwnPropertyDescriptor(d.HTMLInputElement.prototype,"value"),_=[[d.HTMLInputElement.prototype,"value"],[d.HTMLInputElement.prototype,"checked"],[d.HTMLSelectElement.prototype,"value"],[d.HTMLTextAreaElement.prototype,"value"],[d.HTMLSelectElement.prototype,"selectedIndex"],[d.HTMLOptionElement.prototype,"selected"]];if(y&&y.set){var b;(b=m).push.apply(b,[].concat(_.map(function(C){return uo(C[0],C[1],{set:function(){H(h)({target:this,isTrusted:!1})}},!1,d)})))}return H(function(){m.forEach(function(C){return C()})})}function Ai(t){var n=[];function i(e,r){if(jn("CSSGroupingRule")&&M(e.parentRule,CSSGroupingRule)||jn("CSSMediaRule")&&M(e.parentRule,CSSMediaRule)||jn("CSSSupportsRule")&&M(e.parentRule,CSSSupportsRule)||jn("CSSConditionRule")&&M(e.parentRule,CSSConditionRule)){var o=Array.from(e.parentRule.cssRules),s=o.indexOf(e);r.unshift(s)}else if(e.parentStyleSheet){var a=Array.from(e.parentStyleSheet.cssRules),u=a.indexOf(e);r.unshift(u)}return r}return i(t,n)}function gt(t,n,i){var e,r;return t?(t.ownerNode?e=n.getId(t.ownerNode):r=i.getId(t),{styleId:r,id:e}):{}}function Qy(t,n){var i=t.styleSheetRuleCb,e=t.mirror,r=t.stylesheetManager,o=n.win;if(!o.CSSStyleSheet||!o.CSSStyleSheet.prototype)return function(){};var s=o.CSSStyleSheet.prototype.insertRule;o.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:H(function(h,g,v){var m=v[0],d=v[1],y=gt(g,e,r.styleMirror),_=y.id,b=y.styleId;return(_&&_!==-1||b&&b!==-1)&&i({id:_,styleId:b,adds:[{rule:m,index:d}]}),h.apply(g,v)})}),o.CSSStyleSheet.prototype.addRule=function(h,g,v){v===void 0&&(v=this.cssRules.length);var m=h+" { "+g+" }";return o.CSSStyleSheet.prototype.insertRule.apply(this,[m,v])};var a=o.CSSStyleSheet.prototype.deleteRule;o.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:H(function(h,g,v){var m=v[0],d=gt(g,e,r.styleMirror),y=d.id,_=d.styleId;return(y&&y!==-1||_&&_!==-1)&&i({id:y,styleId:_,removes:[{index:m}]}),h.apply(g,v)})}),o.CSSStyleSheet.prototype.removeRule=function(h){return o.CSSStyleSheet.prototype.deleteRule.apply(this,[h])};var u;o.CSSStyleSheet.prototype.replace&&(u=o.CSSStyleSheet.prototype.replace,o.CSSStyleSheet.prototype.replace=new Proxy(u,{apply:H(function(h,g,v){var m=v[0],d=gt(g,e,r.styleMirror),y=d.id,_=d.styleId;return(y&&y!==-1||_&&_!==-1)&&i({id:y,styleId:_,replace:m}),h.apply(g,v)})}));var c;o.CSSStyleSheet.prototype.replaceSync&&(c=o.CSSStyleSheet.prototype.replaceSync,o.CSSStyleSheet.prototype.replaceSync=new Proxy(c,{apply:H(function(h,g,v){var m=v[0],d=gt(g,e,r.styleMirror),y=d.id,_=d.styleId;return(y&&y!==-1||_&&_!==-1)&&i({id:y,styleId:_,replaceSync:m}),h.apply(g,v)})}));var f={};Vn("CSSGroupingRule")?f.CSSGroupingRule=o.CSSGroupingRule:(Vn("CSSMediaRule")&&(f.CSSMediaRule=o.CSSMediaRule),Vn("CSSConditionRule")&&(f.CSSConditionRule=o.CSSConditionRule),Vn("CSSSupportsRule")&&(f.CSSSupportsRule=o.CSSSupportsRule));var l={};return Object.entries(f).forEach(function(h){var g=h[0],v=h[1];l[g]={insertRule:v.prototype.insertRule,deleteRule:v.prototype.deleteRule},v.prototype.insertRule=new Proxy(l[g].insertRule,{apply:H(function(m,d,y){var _=y[0],b=y[1],C=gt(d.parentStyleSheet,e,r.styleMirror),S=C.id,O=C.styleId;return(S&&S!==-1||O&&O!==-1)&&i({id:S,styleId:O,adds:[{rule:_,index:[].concat(Ai(d),[b||0])}]}),m.apply(d,y)})}),v.prototype.deleteRule=new Proxy(l[g].deleteRule,{apply:H(function(m,d,y){var _=y[0],b=gt(d.parentStyleSheet,e,r.styleMirror),C=b.id,S=b.styleId;return(C&&C!==-1||S&&S!==-1)&&i({id:C,styleId:S,removes:[{index:[].concat(Ai(d),[_])}]}),m.apply(d,y)})})}),H(function(){o.CSSStyleSheet.prototype.insertRule=s,o.CSSStyleSheet.prototype.deleteRule=a,u&&(o.CSSStyleSheet.prototype.replace=u),c&&
vendor: 10,492 bytes, line 53
53(o.CSSStyleSheet.prototype.replaceSync=c),Object.entries(f).forEach(function(h){var g=h[0],v=h[1];v.prototype.insertRule=l[g].insertRule,v.prototype.deleteRule=l[g].deleteRule})})}function eh(t,n){var i=t.mirror,e=t.stylesheetManager,r,o,s,a=null;n.nodeName==="#document"?a=i.getId(n):a=i.getId(j.host(n));var u=n.nodeName==="#document"?(r=n.defaultView)==null?void 0:r.Document:(s=(o=n.ownerDocument)==null?void 0:o.defaultView)==null?void 0:s.ShadowRoot,c=u?.prototype?Object.getOwnPropertyDescriptor(u?.prototype,"adoptedStyleSheets"):void 0;return a===null||a===-1||!u||!c?function(){}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:function(){var l;return(l=c.get)==null?void 0:l.call(this)},set:function(l){var h,g=(h=c.set)==null?void 0:h.call(this,l);if(a!==null&&a!==-1)try{e.adoptStyleSheets(l,a)}catch{}return g}}),H(function(){Object.defineProperty(n,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})}))}function e_(t,n){var i=t.styleDeclarationCb,e=t.mirror,r=t.ignoreCSSAttributes,o=t.stylesheetManager,s=n.win,a=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:H(function(c,f,l){var h,g=l[0],v=l[1],m=l[2];if(r.has(g))return a.apply(f,[g,v,m]);var d=gt((h=f.parentRule)==null?void 0:h.parentStyleSheet,e,o.styleMirror),y=d.id,_=d.styleId;return(y&&y!==-1||_&&_!==-1)&&i({id:y,styleId:_,set:{property:g,value:v,priority:m},index:Ai(f.parentRule)}),c.apply(f,l)})});var u=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(u,{apply:H(function(c,f,l){var h,g=l[0];if(r.has(g))return u.apply(f,[g]);var v=gt((h=f.parentRule)==null?void 0:h.parentStyleSheet,e,o.styleMirror),m=v.id,d=v.styleId;return(m&&m!==-1||d&&d!==-1)&&i({id:m,styleId:d,remove:{property:g},index:Ai(f.parentRule)}),c.apply(f,l)})}),H(function(){s.CSSStyleDeclaration.prototype.setProperty=a,s.CSSStyleDeclaration.prototype.removeProperty=u})}function t_(t){var n=t.mediaInteractionCb,i=t.blockClass,e=t.blockSelector,r=t.mirror,o=t.sampling,s=t.doc,a=H(function(c){return on(H(function(f){var l=gn(f);if(!(!l||Te(l,i,e,!0))){var h=l.currentTime,g=l.volume,v=l.muted,m=l.playbackRate,d=l.loop;n({type:c,id:r.getId(l),currentTime:h,volume:g,muted:v,playbackRate:m,loop:d})}}),o.media||500)}),u=[Me("play",a(ar.Play),s),Me("pause",a(ar.Pause),s),Me("seeked",a(ar.Seeked),s),Me("volumechange",a(ar.VolumeChange),s),Me("ratechange",a(ar.RateChange),s)];return H(function(){u.forEach(function(c){return c()})})}function r_(t){var n=t.fontCb,i=t.doc,e=i.defaultView;if(!e)return function(){};var r=[],o=new WeakMap,s=e.FontFace;e.FontFace=function(c,f,l){var h=new s(c,f,l);return o.set(h,{family:c,buffer:typeof f!="string",descriptors:l,fontSource:typeof f=="string"?f:JSON.stringify(Array.from(new Uint8Array(f)))}),h};var a=Xt(i.fonts,"add",function(u){return function(c){return setTimeout(H(function(){var f=o.get(c);f&&(n(f),o.delete(c))}),0),u.apply(this,[c])}});return r.push(function(){e.FontFace=s}),r.push(a),H(function(){r.forEach(function(u){return u()})})}function n_(t){var n=t.doc,i=t.mirror,e=t.blockClass,r=t.blockSelector,o=t.selectionCb,s=!0,a=H(function(){var u=n.getSelection();if(!(!u||s&&u?.isCollapsed)){s=u.isCollapsed||!1;for(var c=[],f=u.rangeCount||0,l=0;l<f;l++){var h=u.getRangeAt(l),g=h.startContainer,v=h.startOffset,m=h.endContainer,d=h.endOffset,y=Te(g,e,r,!0)||Te(m,e,r,!0);y||c.push({start:i.getId(g),startOffset:v,end:i.getId(m),endOffset:d})}o({ranges:c})}});return a(),Me("selectionchange",a)}function i_(t){var n=t.doc,i=t.customElementCb,e=n.defaultView;if(!e||!e.customElements)return function(){};var r=Xt(e.customElements,"define",function(o){return function(s,a,u){try{i({define:{name:s}})}catch{console.warn("Custom element callback failed for "+s)}return o.apply(this,[s,a,u])}});return r}function o_(t,n){var i=t.mutationCb,e=t.mousemoveCb,r=t.mouseInteractionCb,o=t.scrollCb,s=t.viewportResizeCb,a=t.inputCb,u=t.mediaInteractionCb,c=t.styleSheetRuleCb,f=t.styleDeclarationCb,l=t.canvasMutationCb,h=t.fontCb,g=t.selectionCb,v=t.customElementCb;t.mutationCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.mutation){var _;(_=n).mutation.apply(_,[].concat(d))}i.apply(void 0,[].concat(d))},t.mousemoveCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.mousemove){var _;(_=n).mousemove.apply(_,[].concat(d))}e.apply(void 0,[].concat(d))},t.mouseInteractionCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.mouseInteraction){var _;(_=n).mouseInteraction.apply(_,[].concat(d))}r.apply(void 0,[].concat(d))},t.scrollCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.scroll){var _;(_=n).scroll.apply(_,[].concat(d))}o.apply(void 0,[].concat(d))},t.viewportResizeCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.viewportResize){var _;(_=n).viewportResize.apply(_,[].concat(d))}s.apply(void 0,[].concat(d))},t.inputCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.input){var _;(_=n).input.apply(_,[].concat(d))}a.apply(void 0,[].concat(d))},t.mediaInteractionCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.mediaInteaction){var _;(_=n).mediaInteaction.apply(_,[].concat(d))}u.apply(void 0,[].concat(d))},t.styleSheetRuleCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.styleSheetRule){var _;(_=n).styleSheetRule.apply(_,[].concat(d))}c.apply(void 0,[].concat(d))},t.styleDeclarationCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.styleDeclaration){var _;(_=n).styleDeclaration.apply(_,[].concat(d))}f.apply(void 0,[].concat(d))},t.canvasMutationCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.canvasMutation){var _;(_=n).canvasMutation.apply(_,[].concat(d))}l.apply(void 0,[].concat(d))},t.fontCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.font){var _;(_=n).font.apply(_,[].concat(d))}h.apply(void 0,[].concat(d))},t.selectionCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.selection){var _;(_=n).selection.apply(_,[].concat(d))}g.apply(void 0,[].concat(d))},t.customElementCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.customElement){var _;(_=n).customElement.apply(_,[].concat(d))}v.apply(void 0,[].concat(d))}}function s_(t,n){n===void 0&&(n={});var i=t.doc.defaultView;if(!i)return function(){};o_(t,n);var e;t.recordDOM&&(e=Zl(t,t.doc));var r=Yy(t),o=Ky(t),s=Ql(t),a=Jy(t,{win:i}),u=Zy(t),c=t_(t),f=function(){},l=function(){},h=function(){},g=function(){};t.recordDOM&&(f=Qy(t,{win:i}),l=eh(t,t.doc),h=e_(t,{win:i}),t.collectFonts&&(g=r_(t)));for(var v=n_(t),m=i_(t),d=[],y=I(t.plugins),_;!(_=y()).done;){var b=_.value;d.push(b.observer(b.callback,i,b.options))}return H(function(){Je.forEach(function(C){return C.reset()}),e?.disconnect(),r(),o(),s(),a(),u(),c(),f(),l(),h(),g(),v(),m(),d.forEach(function(C){return C()})})}function jn(t){return typeof window[t]<"u"}function Vn(t){return!!(typeof window[t]<"u"&&window[t].prototype&&"insertRule"in window[t].prototype&&"deleteRule"in window[t].prototype)}var _c=function(){function t(i){x(this,"iframeIdToRemoteIdMap",new WeakMap),x(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=i}var n=t.prototype;return n.getId=function(e,r,o,s){var a=o||this.getIdToRemoteIdMap(e),u=s||this.getRemoteIdToIdMap(e),c=a.get(r);return c||(c=this.generateIdFn(),a.set(r,c),u.set(c,r)),c},n.getIds=function(e,r){var o=this,s=this.getIdToRemoteIdMap(e),a=this.getRemoteIdToIdMap(e);return r.map(function(u){return o.getId(e,u,s,a)})},n.getRemoteId=function(e,r,o){var s=o||this.getRemoteIdToIdMap(e);if(typeof r!="number")return r;var a=s.get(r);return a||-1},n.getRemoteIds=function(e,r){var o=this,s=this.getRemoteIdToIdMap(e);return r.map(function(a){return o.getRemoteId(e,a,s)})},n.reset=function(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)},n.getIdToRemoteIdMap=function(e){var r=this.iframeIdToRemoteIdMap.get(e);return r||(r=new Map,this.iframeIdToRemoteIdMap.set(e,r)),r},n.getRemoteIdToIdMap=function(e){var r=this.iframeRemoteIdToIdMap.get(e);return r||(r=new Map,this.iframeRemoteIdToIdMap.set(e,r)),r},t}(),a_=function(){function t(i){x(this,"iframes",new WeakMap),x(this,"crossOriginIframeMap",new WeakMap),x(this,"crossOriginIframeMirror",new _c(Cf)),x(this,"crossOriginIframeStyleMirror"),x(this,"crossOriginIframeRootIdMap",new WeakMap),x(this,"iframeContentDocumentMap",new WeakMap),x(this,"iframeObserverCleanupMap",new WeakMap),x(this,"mirror"),x(this,"mutationCb"),x(this,"wrappedEmit"),x(this,"loadListener"),x(this,"stylesheetManager"),x(this,"recordCrossOriginIframes"),this.mutationCb=i.mutationCb,this.wrappedEmit=i.wrappedEmit,this.stylesheetManager=i.stylesheetManager,this.recordCrossOriginIframes=i.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new _c(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=i.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var n=t.prototype;return n.addIframe=function(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)},n.getIframeContentDocument=function(e){return this.iframeContentDocumentMap.get(e)},n.setObserverCleanup=function(e,r){this.iframeObserverCleanupMap.set(e,r)},n.getObserverCleanup=function(e){return this.iframeObserverCleanupMap.get(e)},n.removeIframe=function(e){var r=this.iframeContentDocumentMap.get(e);r&&(this.stylesheetManager.cleanupStylesheetsForRemovedNode(r),this.mirror.removeNodeFromMap(r,!0)),this.iframes.delete(e),this.iframeContentDocumentMap.delete(e);var o=this.iframeObserverCleanupMap.get(e);if(o){try{o()}catch{}this.iframeObserverCleanupMap.delete(e)}},n.addLoadListener=function(e){this.loadListener=e},n.attachIframe=function(e,r){var o,s;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:r}],removes:[],texts:[],attributes:[],isAttachIframe:!0}
vendor: 4,734 bytes, line 53
53),e.contentDocument&&this.iframeContentDocumentMap.set(e,e.contentDocument),this.recordCrossOriginIframes&&((o=e.contentWindow)==null||o.addEventListener("message",this.handleMessage.bind(this))),(s=this.loadListener)==null||s.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))},n.handleMessage=function(e){var r=e;if(!(r.data.type!=="rrweb"||r.origin!==r.data.origin)){var o=e.source;if(o){var s=this.crossOriginIframeMap.get(e.source);if(s){var a=this.transformCrossOriginEvent(s,r.data.event);a&&this.wrappedEmit(a,r.data.isCheckout)}}}},n.transformCrossOriginEvent=function(e,r){var o=this,s;switch(r.type){case V.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(r.data.node,e);var a=r.data.node.id;return this.crossOriginIframeRootIdMap.set(e,a),this.patchRootIdOnNode(r.data.node,a),{timestamp:r.timestamp,type:V.IncrementalSnapshot,data:{source:L.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:r.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case V.Meta:case V.Load:case V.DomContentLoaded:return!1;case V.Plugin:return r;case V.Custom:return this.replaceIds(r.data.payload,e,["id","parentId","previousId","nextId"]),r;case V.IncrementalSnapshot:switch(r.data.source){case L.Mutation:return r.data.adds.forEach(function(u){o.replaceIds(u,e,["parentId","nextId","previousId"]),o.replaceIdOnNode(u.node,e);var c=o.crossOriginIframeRootIdMap.get(e);c&&o.patchRootIdOnNode(u.node,c)}),r.data.removes.forEach(function(u){o.replaceIds(u,e,["parentId","id"])}),r.data.attributes.forEach(function(u){o.replaceIds(u,e,["id"])}),r.data.texts.forEach(function(u){o.replaceIds(u,e,["id"])}),r;case L.Drag:case L.TouchMove:case L.MouseMove:return r.data.positions.forEach(function(u){o.replaceIds(u,e,["id"])}),r;case L.ViewportResize:return!1;case L.MediaInteraction:case L.MouseInteraction:case L.Scroll:case L.CanvasMutation:case L.Input:return this.replaceIds(r.data,e,["id"]),r;case L.StyleSheetRule:case L.StyleDeclaration:return this.replaceIds(r.data,e,["id"]),this.replaceStyleIds(r.data,e,["styleId"]),r;case L.Font:return r;case L.Selection:return r.data.ranges.forEach(function(u){o.replaceIds(u,e,["start","end"])}),r;case L.AdoptedStyleSheet:return this.replaceIds(r.data,e,["id"]),this.replaceStyleIds(r.data,e,["styleIds"]),(s=r.data.styles)==null||s.forEach(function(u){o.replaceStyleIds(u,e,["styleId"])}),r}}return!1},n.replace=function(e,r,o,s){for(var a=I(s),u;!(u=a()).done;){var c=u.value;!Array.isArray(r[c])&&typeof r[c]!="number"||(Array.isArray(r[c])?r[c]=e.getIds(o,r[c]):r[c]=e.getId(o,r[c]))}return r},n.replaceIds=function(e,r,o){return this.replace(this.crossOriginIframeMirror,e,r,o)},n.replaceStyleIds=function(e,r,o){return this.replace(this.crossOriginIframeStyleMirror,e,r,o)},n.replaceIdOnNode=function(e,r){var o=this;this.replaceIds(e,r,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(function(s){o.replaceIdOnNode(s,r)})},n.patchRootIdOnNode=function(e,r){var o=this;e.type!==Jl.Document&&!e.rootId&&(e.rootId=r),"childNodes"in e&&e.childNodes.forEach(function(s){o.patchRootIdOnNode(s,r)})},t}(),u_=function(){function t(i){x(this,"shadowDoms",new WeakSet),x(this,"mutationCb"),x(this,"scrollCb"),x(this,"bypassOptions"),x(this,"mirror"),x(this,"restoreHandlers",[]),this.mutationCb=i.mutationCb,this.scrollCb=i.scrollCb,this.bypassOptions=i.bypassOptions,this.mirror=i.mirror,this.init()}var n=t.prototype;return n.init=function(){this.reset(),this.patchAttachShadow(Element,document)},n.addShadowRoot=function(e,r){var o=this;if(zr(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var s=Zl(z({},this.bypassOptions,{doc:r,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push(function(){return s.disconnect()}),this.restoreHandlers.push(Ql(z({},this.bypassOptions,{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))),setTimeout(function(){e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&o.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,o.mirror.getId(j.host(e))),o.restoreHandlers.push(eh({mirror:o.mirror,stylesheetManager:o.bypassOptions.stylesheetManager},e))},0)}},n.observeAttachShadow=function(e){!e.contentWindow||!e.contentDocument||this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)},n.patchAttachShadow=function(e,r){var o=this;this.restoreHandlers.push(Xt(e.prototype,"attachShadow",function(s){return function(a){var u=s.call(this,a),c=j.shadowRoot(this);return c&&Kl(this)&&o.addShadowRoot(c,r),u}}))}
vendor: 5,570 bytes, line 53
53,n.reset=function(){this.restoreHandlers.forEach(function(e){try{e()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},t}(),fr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c_=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Hn=0;Hn<fr.length;Hn++)c_[fr.charCodeAt(Hn)]=Hn;var f_=function(n){var i=new Uint8Array(n),e,r=i.length,o="";for(e=0;e<r;e+=3)o+=fr[i[e]>>2],o+=fr[(i[e]&3)<<4|i[e+1]>>4],o+=fr[(i[e+1]&15)<<2|i[e+2]>>6],o+=fr[i[e+2]&63];return r%3===2?o=o.substring(0,o.length-1)+"=":r%3===1&&(o=o.substring(0,o.length-2)+"=="),o},wc=new Map;function l_(t,n){var i=wc.get(t);return i||(i=new Map,wc.set(t,i)),i.has(n)||i.set(n,[]),i.get(n)}var th=function(t,n,i){if(!(!t||!(nh(t,n)||(typeof t>"u"?"undefined":T(t))==="object"))){var e=t.constructor.name,r=l_(i,e),o=r.indexOf(t);return o===-1&&(o=r.length,r.push(t)),o}};function li(t,n,i){if(M(t,Array))return t.map(function(v){return li(v,n,i)});if(t===null)return t;if(M(t,Float32Array)||M(t,Float64Array)||M(t,Int32Array)||M(t,Uint32Array)||M(t,Uint8Array)||M(t,Uint16Array)||M(t,Int16Array)||M(t,Int8Array)||M(t,Uint8ClampedArray)){var e=t.constructor.name;return{rr_type:e,args:[Object.values(t)]}}else if(M(t,ArrayBuffer)){var r=t.constructor.name,o=f_(t);return{rr_type:r,base64:o}}else if(M(t,DataView)){var s=t.constructor.name;return{rr_type:s,args:[li(t.buffer,n,i),t.byteOffset,t.byteLength]}}else if(M(t,HTMLImageElement)){var a=t.constructor.name,u=t.src;return{rr_type:a,src:u}}else if(M(t,HTMLCanvasElement)){var c="HTMLImageElement",f=t.toDataURL();return{rr_type:c,src:f}}else if(M(t,ImageData)){var l=t.constructor.name;return{rr_type:l,args:[li(t.data,n,i),t.width,t.height]}}else if(nh(t,n)||(typeof t>"u"?"undefined":T(t))==="object"){var h=t.constructor.name,g=th(t,n,i);return{rr_type:h,index:g}}return t}var rh=function(t,n,i){return t.map(function(e){return li(e,n,i)})},nh=function(t,n){var i=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"],e=i.filter(function(r){return typeof n[r]=="function"});return!!e.find(function(r){return M(t,n[r])})};function h_(t,n,i,e){for(var r=function(){var c=u.value;try{if(typeof n.CanvasRenderingContext2D.prototype[c]!="function")return"continue";var f=Xt(n.CanvasRenderingContext2D.prototype,c,function(h){return function(){for(var g=this,v=arguments.length,m=new Array(v),d=0;d<v;d++)m[d]=arguments[d];return Te(this.canvas,i,e,!0)||setTimeout(function(){var y=rh(m,n,g);t(g.canvas,{type:br["2D"],property:c,args:y})},0),h.apply(this,m)}});o.push(f)}catch{var l=uo(n.CanvasRenderingContext2D.prototype,c,{set:function(v){t(this.canvas,{type:br["2D"],property:c,args:[v],setter:!0})}});o.push(l)}},o=[],s=Object.getOwnPropertyNames(n.CanvasRenderingContext2D.prototype),a=I(s),u;!(u=a()).done;)r();return function(){o.forEach(function(c){return c()})}}function p_(t){return t==="experimental-webgl"?"webgl":t}function bc(t,n,i,e){var r=[];try{var o=Xt(t.HTMLCanvasElement.prototype,"getContext",function(s){return function(a){for(var u=arguments.length,c=new Array(u>1?u-1:0),f=1;f<u;f++)c[f-1]=arguments[f];if(!Te(this,n,i,!0)){var l=p_(a);if("__context"in this||(this.__context=l),e&&["webgl","webgl2"].includes(l))if(c[0]&&T(c[0])==="object"){var h=c[0];h.preserveDrawingBuffer||(h.preserveDrawingBuffer=!0)}else c.splice(0,1,{preserveDrawingBuffer:!0})}return s.apply(this,[].concat([a],c))}});r.push(o)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){r.forEach(function(s){return s()})}}function Sc(t,n,i,e,r,o){for(var s=function(){var l=f.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(l))return"continue";try{if(typeof t[l]!="function")return"continue";var h=Xt(t,l,function(v){return function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];var _=v.apply(this,d);if(th(_,o,this),"tagName"in this.canvas&&!Te(this.canvas,e,r,!0)){var b=rh(d,o,this),C={type:n,property:l,args:b};i(this.canvas,C)}return _}});a.push(h)}catch{var g=uo(t,l,{set:function(d){i(this.canvas,{type:n,property:l,args:[d],setter:!0})}});a.push(g)}},a=[],u=Object.getOwnPropertyNames(t),c=I(u),f;!(f=c()).done;)s();return a}function d_(t,n,i,e){var r,o=[];if((r=o).push.apply(r,[].concat(Sc(n.WebGLRenderingContext.prototype,br.WebGL,t,i,e,n))),typeof n.WebGL2RenderingContext<"u"){var s;(s=o).push.apply(s,[].concat(Sc(n.WebGL2RenderingContext.prototype,br.WebGL2,t,i,e,n)))}return function(){o.forEach(function(a){return a()})}}var ih="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSA
53yKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",v_=function(t){return Uint8Array.from(atob(t),function(n){return n.charCodeAt(0)})}
vendor: 31,137 bytes, lines 53-70
53,Cc=typeof window<"u"&&window.Blob&&new Blob([v_(ih)],{type:"text/javascript;charset=utf-8"});function g_(t){var n;try{if(n=Cc&&(window.URL||window.webkitURL).createObjectURL(Cc),!n)throw"";var i=new Worker(n,{name:t?.name});return i.addEventListener("error",function(){(window.URL||window.webkitURL).revokeObjectURL(n)}),i}catch{return new Worker("data:text/javascript;base64,"+ih,{name:t?.name})}finally{n&&(window.URL||window.webkitURL).revokeObjectURL(n)}}var m_=function(){function t(i){var e=this;x(this,"pendingCanvasMutations",new Map),x(this,"rafStamps",{latestId:0,invokeId:null}),x(this,"mirror"),x(this,"mutationCb"),x(this,"resetObservers"),x(this,"frozen",!1),x(this,"locked",!1),x(this,"processMutation",function(l,h){var g=e.rafStamps.invokeId&&e.rafStamps.latestId!==e.rafStamps.invokeId;(g||!e.rafStamps.invokeId)&&(e.rafStamps.invokeId=e.rafStamps.latestId),e.pendingCanvasMutations.has(l)||e.pendingCanvasMutations.set(l,[]),e.pendingCanvasMutations.get(l).push(h)});var r=i.sampling,o=r===void 0?"all":r,s=i.win,a=i.blockClass,u=i.blockSelector,c=i.recordCanvas,f=i.dataURLOptions;this.mutationCb=i.mutationCb,this.mirror=i.mirror,c&&o==="all"&&this.initCanvasMutationObserver(s,a,u),c&&typeof o=="number"&&this.initCanvasFPSObserver(o,s,a,u,{dataURLOptions:f})}var n=t.prototype;return n.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},n.freeze=function(){this.frozen=!0},n.unfreeze=function(){this.frozen=!1},n.lock=function(){this.locked=!0},n.unlock=function(){this.locked=!1},n.initCanvasFPSObserver=function(e,r,o,s,a){var u=this,c=bc(r,o,s,!0),f=new Map,l=new g_;l.onmessage=function(y){var _=y.data.id;if(f.set(_,!1),"base64"in y.data){var b=y.data,C=b.base64,S=b.type,O=b.width,A=b.height;u.mutationCb({id:_,type:br["2D"],commands:[{property:"clearRect",args:[0,0,O,A]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:C}],type:S}]},0,0]}]})}};var h=1e3/e,g=0,v,m=function(){var y=[];return r.document.querySelectorAll("canvas").forEach(function(_){Te(_,o,s,!0)||y.push(_)}),y},d=function(y){if(g&&y-g<h){v=requestAnimationFrame(d);return}g=y;var _=u;m().forEach(Xi(function(b){var C,S,O,A;return Gt(this,function(R){switch(R.label){case 0:return S=_.mirror.getId(b),f.get(S)?[2]:b.width===0||b.height===0?[2]:(f.set(S,!0),["webgl","webgl2"].includes(b.__context)&&(O=b.getContext(b.__context),((C=O?.getContextAttributes())==null?void 0:C.preserveDrawingBuffer)===!1&&O.clear(O.COLOR_BUFFER_BIT)),[4,createImageBitmap(b)]);case 1:return A=R.sent(),l.postMessage({id:S,bitmap:A,width:b.width,height:b.height,dataURLOptions:a.dataURLOptions},[A]),[2]}})})),v=requestAnimationFrame(d)};v=requestAnimationFrame(d),this.resetObservers=function(){c(),cancelAnimationFrame(v)}},n.initCanvasMutationObserver=function(e,r,o){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var s=bc(e,r,o,!1),a=h_(this.processMutation.bind(this),e,r,o),u=d_(this.processMutation.bind(this),e,r,o);this.resetObservers=function(){s(),a(),u()}},n.startPendingCanvasMutationFlusher=function(){var e=this;requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},n.startRAFTimestamping=function(){var e=this,r=function(o){e.rafStamps.latestId=o,requestAnimationFrame(r)};requestAnimationFrame(r)},n.flushPendingCanvasMutations=function(){var e=this;this.pendingCanvasMutations.forEach(function(r,o){var s=e.mirror.getId(o);e.flushPendingCanvasMutationFor(o,s)}),requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},n.flushPendingCanvasMutationFor=function(e,r){if(!(this.frozen||this.locked)){var o=this.pendingCanvasMutations.get(e);if(!(!o||r===-1)){var s=o.map(function(u){u.type;var c=Wt(u,["type"]);return c}),a=o[0].type;this.mutationCb({id:r,type:a,commands:s}),this.pendingCanvasMutations.delete(e)}}},t}(),y_=function(){function t(i){x(this,"trackedLinkElements",new WeakSet),x(this,"mutationCb"),x(this,"adoptedStyleSheetCb"),x(this,"styleMirror",new Fy),this.mutationCb=i.mutationCb,this.adoptedStyleSheetCb=i.adoptedStyleSheetCb}var n=t.prototype;return n.attachLinkElement=function(e,r){"_cssText"in r.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:r.id,attributes:r.attributes}]}),this.trackLinkElement(e)},n.trackLinkElement=function(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))},n.adoptStyleSheets=function(e,r){var o,s=function(){var l=f.value,h=void 0;o.styleMirror.has(l)?h=o.styleMirror.getId(l):(h=o.styleMirror.add(l),u.push({styleId:h,rules:Array.from(l.rules||CSSRule,function(g,v){return{rule:wf(g,l.href),index:v}})})),a.styleIds.push(h)};if(e.length!==0){for(var a={id:r,styleIds:[]},u=[],c=I(e),f;!(f=c()).done;)o=this,s();u.length>0&&(a.styles=u),this.adoptedStyleSheetCb(a)}},n.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},n.cleanupStylesheetsForRemovedNode=function(e){var r=this;try{if(e.nodeType===Node.DOCUMENT_NODE){var o=e;if(o.adoptedStyleSheets)for(var s=I(o.adoptedStyleSheets),a;!(a=s()).done;){var u=a.value;this.styleMirror.remove(u)}}if(e.nodeName==="STYLE"){var c=e;c.sheet&&this.styleMirror.remove(c.sheet)}if(e.nodeName==="LINK"&&e.rel==="stylesheet"){var f=e;f.sheet&&this.styleMirror.remove(f.sheet)}e.childNodes&&e.childNodes.forEach(function(l){r.cleanupStylesheetsForRemovedNode(l)})}catch{}},n.trackStylesheetInLinkElement=function(e){},t}(),__=function(){function t(){x(this,"nodeMap",new WeakMap),x(this,"active",!1)}var n=t.prototype;return n.inOtherBuffer=function(e,r){var o=this.nodeMap.get(e);return o&&Array.from(o).some(function(s){return s!==r})},n.add=function(e,r){var o=this;this.active||(this.active=!0,requestAnimationFrame(function(){o.nodeMap=new WeakMap,o.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(r))},n.destroy=function(){},t}();function w_(t){try{var n=new URL(t).origin;return n!=="null"?n:null}catch{return null}}function b_(t){if(!Array.isArray(t)||t.length===0)throw new Error("[rrweb] allowedIframeOrigins must be a non-empty array of origin strings.");for(var n=new Set,i=0;i<t.length;i++){var e=t[i];if(typeof e!="string")throw new Error("[rrweb] allowedIframeOrigins["+i+"] must be a string, got "+(typeof e>"u"?"undefined":T(e))+".");var r=w_(e);r&&n.add(r)}return Object.freeze(n)}var ge,hi,Lo,ki=!1;try{if(Array.from([1],function(t){return t*2})[0]!==2){var Do=document.createElement("iframe");document.body.appendChild(Do),Array.from=((Ou=Do.contentWindow)==null?void 0:Ou.Array.from)||Array.from,document.body.removeChild(Do)}}catch(t){console.debug("Unable to override Array.from",t)}var ze=wd();function Ot(t){t===void 0&&(t={});var n=t.emit,i=t.checkoutEveryNms,e=t.checkoutEveryNth,r=t.blockClass,o=r===void 0?"rr-block":r,s=t.blockSelector,a=s===void 0?null:s,u=t.ignoreClass,c=u===void 0?"rr-ignore":u,f=t.ignoreSelector,l=f===void 0?null:f,h=t.maskTextClass,g=h===void 0?"rr-mask":h,v=t.maskTextSelector,m=v===void 0?null:v,d=t.inlineStylesheet,y=d===void 0?!0:d,_=t.maskAllInputs,b=t.maskInputOptions,C=t.slimDOMOptions,S=t.maskInputFn,O=t.maskTextFn,A=t.hooks,R=t.packFn,P=t.sampling,q=P===void 0?{}:P,ve=t.dataURLOptions,N=ve===void 0?{}:ve,G=t.mousemoveWait,de=t.recordDOM,Y=de===void 0?!0:de,Le=t.recordCanvas,$e=Le===void 0?!1:Le,xe=t.recordCrossOriginIframes,ue=xe===void 0?!1:xe,Ie=t.allowedIframeOrigins,Tt=t.recordAfter,je=Tt===void 0?t.recordAfter==="DOMContentLoaded"?t.recordAfter:"load":Tt,$t=t.userTriggeredOnInput,De=$t===void 0?!1:$t,dt=t.collectFonts,J=dt===void 0?!1:dt,Qt=t.inlineImages,er=Qt===void 0?!1:Qt,vt=t.plugins,_n=t.keepIframeSrcFn,tr=_n===void 0?function(){return!1}:_n,wn=t.ignoreCSSAttributes,bn=wn===void 0?new Set([]):wn,Tr=t.errorHandler;jy(Tr);var Pt;ue&&Ie&&Ie.length>0&&(Pt=b_(Ie),Pt.size===0&&(Pt=void 0));var Nt=ue?window.parent===window:!0,Lt=!1;if(!Nt)try{window.parent.document&&(Lt=!1)}catch{Lt=!0}if(Nt&&!n)throw new Error("emit function is required");if(!Nt&&!Lt)return function(){};G!==void 0&&q.mousemove===void 0&&(q.mousemove=G),ze.reset();var Dt=_===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:b!==void 0?b:{password:!0},Ft=C===!0||C==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:C==="all",headMetaDescKeywords:C==="all",headTitleMutations:C==="all"}:C||{};Dy();var rt,rr=0,gu=function(K){for(var ke=I(vt||[]),k;!(k=ke()).done;){var ee=k.value;ee.eventProcessor&&(K=ee.eventProcessor(K))}return R&&!Lt&&(K=R(K)),K};ge=function(K,ke){var k,ee=K;if(ee.timestamp=Ri(),(k=Je[0])!=null&&k.isFrozen()&&ee.type!==V.FullSnapshot&&!(ee.type===V.IncrementalSnapshot&&ee.data.source===L.Mutation)&&Je.forEach(function(Vp){return Vp.unfreeze()}),Nt)n?.(gu(ee),ke);else if(Lt){var zt={type:"rrweb",event:gu(ee),origin:window.location.origin,isCheckout:ke};if(Pt)for(var So=I(Pt),Su;!(Su=So()).done;){var Wp=Su.value;window.parent.postMessage(zt,Wp)}else window.parent.postMessage(zt,"*")}if(ee.type===V.FullSnapshot)rt=ee,rr=0;else if(ee.type===V.IncrementalSnapshot){if(ee.data.source===L.Mutation&&ee.data.isAttachIframe)return;rr++;var Gp=e&&rr>=e,jp=i&&ee.timestamp-rt.timestamp>i;(Gp||jp)&&hi(!0)}};for(var Sn=function(K){ge({type:V.IncrementalSnapshot,data:z({source:L.Mutation},K)})},mu=function(K){return ge({type:V.IncrementalSnapshot,data:z({source:L.Scroll},K)})},yu=function(K){return ge({type:V.IncrementalSnapshot,data:z({source:L.CanvasMutation},K)})},zp=function(K){return ge({type:V.IncrementalSnapshot,data:z({source:L.AdoptedStyleSheet},K)})},Ut=new y_({mutationCb:Sn,adoptedStyleSheetCb:zp}),nt=new a_({mirror:ze,mutationCb:Sn,stylesheetManager:Ut,recordCrossOriginIframes:ue,wrappedEmit:ge}),qp=I(vt||[]),_u;!(_u=qp()).done;){var wu=_u.value;wu.getMirror&&wu.getMirror({nodeMirror:ze,crossOriginIframeMirror:nt.crossOriginIframeMirror,crossOriginIframeStyleMirror:nt.crossOriginIframeStyleMirror})}var wo=new __;Lo=new m_({recordCanvas:$e,mutationCb:yu,win:window,blockClass:o,blockSelector:a,mirror:ze,sampling:q.canvas,dataURLOptions:N});var Cn=new u_({mutationCb:Sn,scrollCb:mu,bypassOptions:{blockClass:o,blockSelector:a,maskTextClass:g,maskTextSelector:m,inlineStylesheet:y,maskInputOptions:Dt,dataURLOptions:N,maskTextFn:O,maskInputFn:S,recordCanvas:$e,inlineImages:er,sampling:q,slimDOMOptions:Ft,iframeManager:nt,stylesheetManager:Ut,canvasManager:Lo,keepIframeSrcFn:tr,processedNodeManager:wo},mirror:ze});hi=function(K){if(K===void 0&&(K=!1),!!Y){ge({type:V.Meta,data:{href:window.location.href,width:Wl(),height:ql()}},K),Ut.reset(),Cn.init(),Je.forEach(function(k){return k.lock()});var ke=Gd(document,{mirror:ze,blockClass:o,blockSelector:a,maskTextClass:g,maskTextSelector:m,inlineStylesheet:y,maskAllInputs:Dt,maskTextFn:O,maskInputFn:S,slimDOM:Ft,dataURLOptions:N,recordCanvas:$e,inlineImages:er,onSerialize:function(k){Vl(k,ze)&&nt.addIframe(k),Hl(k,ze)&&Ut.trackLinkElement(k),Ps(k)&&Cn.addShadowRoot(j.shadowRoot(k),document)},onIframeLoad:function(k,ee){nt.attachIframe(k,ee),Cn.observeAttachShadow(k)},onStylesheetLoad:function(k,ee){Ut.attachLinkElement(k,ee)},keepIframeSrcFn:tr});if(!ke)return console.warn("Failed to snapshot the document");ge({type:V.FullSnapshot,data:{node:ke,initialOffset:zl(window)}},K),Je.forEach(function(k){return k.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Ut.adoptStyleSheets(document.adoptedStyleSheets,ze.getId(document))}};try{var Bt=[],bu=function(K){var ke;return H(s_)({mutationCb:Sn,mousemoveCb:function(k,ee){return ge({type:V.IncrementalSnapshot,data:{source:ee,positions:k}})},mouseInteractionCb:function(k){return ge({type:V.IncrementalSnapshot,data:z({source:L.MouseInteraction},k)})},scrollCb:mu,viewportResizeCb:function(k){return ge({type:V.IncrementalSnapshot,data:z({source:L.ViewportResize},k)})},inputCb:function(k){return ge({type:V.IncrementalSnapshot,data:z({source:L.Input},k)})},mediaInteractionCb:function(k){return ge({type:V.IncrementalSnapshot,data:z({source:L.MediaInteraction},k)})},styleSheetRuleCb:function(k){return ge({type:V.IncrementalSnapshot,data:z({source:L.StyleSheetRule},k)})},styleDeclarationCb:function(k){return ge({type:V.IncrementalSnapshot,data:z({source:L.StyleDeclaration},k)})},canvasMutationCb:yu,fontCb:function(k){return ge({type:V.IncrementalSnapshot,data:z({source:L.Font},k)})},selectionCb:function(k){ge({type:V.IncrementalSnapshot,data:z({source:L.Selection},k)})},customElementCb:function(k){ge({type:V.IncrementalSnapshot,data:z({source:L.CustomElement},k)})},blockClass:o,ignoreClass:c,ignoreSelector:l,maskTextClass:g,maskTextSelector:m,maskInputOptions:Dt,inlineStylesheet:y,sampling:q,recordDOM:Y,recordCanvas:$e,inlineImages:er,userTriggeredOnInput:De,collectFonts:J,doc:K,maskInputFn:S,maskTextFn:O,keepIframeSrcFn:tr,blockSelector:a,slimDOMOptions:Ft,dataURLOptions:N,mirror:ze,iframeManager:nt,stylesheetManager:Ut,shadowDomManager:Cn,processedNodeManager:wo,canvasManager:Lo,ignoreCSSAttributes:bn,plugins:((ke=vt?.filter(function(k){return k.observer}))==null?void 0:ke.map(function(k){return{observer:k.observer,options:k.options,callback:function(ee){return ge({type:V.Plugin,data:{plugin:k.name,payload:ee}})}}}))||[]},A)};nt.addLoadListener(function(K){try{var ke=K.contentDocument,k=bu(ke);Bt.push(k);var ee=nt.getObserverCleanup(K);nt.setObserverCleanup(K,function(){if(ee)try{ee()}catch{}try{k();var zt=Bt.indexOf(k);zt!==-1&&Bt.splice(zt,1),Hy(ke)}catch{}})}catch(zt){console.warn(zt)}});var bo=function(){hi(),Bt.push(bu(document)),ki=!0};return document.readyState==="interactive"||document.readyState==="complete"?bo():(Bt.push(Me("DOMContentLoaded",function(){ge({type:V.DomContentLoaded,data:{}}),je==="DOMContentLoaded"&&bo()})),Bt.push(Me("load",function(){ge({type:V.Load,data:{}}),je==="load"&&bo()},window))),function(){Bt.forEach(function(K){try{K()}catch(k){var ke=String(k).toLowerCase();ke.includes("cross-origin")||console.warn(k)}}),wo.destroy(),ki=!1,Vy()}}catch(K){console.warn(K)}}Ot.addCustomEvent=function(t,n){if(!ki)throw new Error("please add custom event after start recording");ge({type:V.Custom,data:{tag:t,payload:n}})};Ot.freezePage=function(){Je.forEach(function(t){return t.freeze()})};Ot.takeFullSnapshot=function(t){if(!ki)throw new Error("please take full snapshot after start recording");hi(t)};Ot.mirror=ze;var Ec;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(Ec||(Ec={}));Ot.addCustomEvent;Ot.freezePage;Ot.takeFullSnapshot;var Ic={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Oc={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Yn={},S_=function(){return!!globalThis.Zone};function Ua(t){if(Yn[t])return Yn[t];var n=globalThis[t],i=n.prototype,e=t in Ic?Ic[t]:void 0,r=!!(e&&e.every(function(f){var l,h;return!!((h=(l=Object.getOwnPropertyDescriptor(i,f))==null?void 0:l.get)!=null&&h.toString().includes("[native code]"))})),o=t in Oc?Oc[t]:void 0,s=!!(o&&o.every(function(f){var l;return typeof i[f]=="function"&&((l=i[f])==null?void 0:l.toString().includes("[native code]"))}));if(r&&s&&!S_())return Yn[t]=n.prototype,n.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return n.prototype;var c=u[t].prototype;return document.body.removeChild(a),c?Yn[t]=c:i}catch{return i}}var Fo={};function xt(t,n,i){var e,r=t+"."+String(i);if(Fo[r])return Fo[r].call(n);var o=Ua(t),s=(e=Object.getOwnPropertyDescriptor(o,i))==null?void 0:e.get;return s?(Fo[r]=s,s.call(n)):n[i]}var Uo={};function oh(t,n,i){var e=t+"."+String(i);if(Uo[e])return Uo[e].bind(n);var r=Ua(t),o=r[i];return typeof o!="function"?n[i]:(Uo[e]=o,o.bind(n))}function C_(t){return xt("Node",t,"childNodes")}function E_(t){return xt("Node",t,"parentNode")}function I_(t){return xt("Node",t,"parentElement")}function O_(t){return xt("Node",t,"textContent")}function x_(t,n){return oh("Node",t,"contains")(n)}function R_(t){return oh("Node",t,"getRootNode")()}function A_(t){return!t||!("host"in t)?null:xt("ShadowRoot",t,"host")}function k_(t){return t.styleSheets}function M_(t){return!t||!("shadowRoot"in t)?null:xt("Element",t,"shadowRoot")}function T_(t,n){return xt("Element",t,"querySelector")(n)}function $_(t,n){return xt("Element",t,"querySelectorAll")(n)}function P_(){return Ua("MutationObserver").constructor}function N_(t,n,i){try{if(!(n in t))return function(){};var e=t[n],r=i(e);return typeof r=="function"&&(r.prototype=r.prototype||{},Object.defineProperties(r,{__rrweb_original__:{enumerable:!1,value:e}})),t[n]=r,function(){t[n]=e}}catch{return function(){}}}var xc={childNodes:C_,parentNode:E_,parentElement:I_,textContent:O_,contains:x_,getRootNode:R_,host:A_,styleSheets:k_,shadowRoot:M_,querySelector:T_,querySelectorAll:$_,mutationObserver:P_,patch:N_};function Ls(t,n,i){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return Ls(xc.parentNode(t),n);for(var e=t.classList.length;e--;){var r=t.classList[e];if(n.test(r))return!0}return Ls(xc.parentNode(t),n)}function L_(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function D_(t){if(t.__esModule)return t;var n=t.default;if(typeof n=="function"){var i=function e(){return M(this,e)?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(i,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}),i}var Ba={exports:{}},oe=String,sh=function(){return{isColorSupported:!1,reset:oe,bold:oe,dim:oe,italic:oe,underline:oe,inverse:oe,hidden:oe,strikethrough:oe,black:oe,red:oe,green:oe,yellow:oe,blue:oe,magenta:oe,cyan:oe,white:oe,gray:oe,bgBlack:oe,bgRed:oe,bgGreen:oe,bgYellow:oe,bgBlue:oe,bgMagenta:oe,bgCyan:oe,bgWhite:oe}};Ba.exports=sh();Ba.exports.createColors=sh;var F_=Ba.exports,U_={},B_=Object.freeze(Object.defineProperty({__proto__:null,default:U_},Symbol.toStringTag,{value:"Module"})),we=D_(B_),Rc=F_,Ac=we,Ds=function(t){fe(n,t);function n(e,r,o,s,a,u){var c;return c=t.call(this,e)||this,c.name="CssSyntaxError",c.reason=e,a&&(c.file=a),s&&(c.source=s),u&&(c.plugin=u),typeof r<"u"&&typeof o<"u"&&(typeof r=="number"?(c.line=r,c.column=o):(c.line=r.line,c.column=r.column,c.endLine=o.line,c.endColumn=o.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,n),c}var i=n.prototype;return i.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},i.showSourceCode=function(r){var o=this;if(!this.source)return"";var s=this.source;r==null&&(r=Rc.isColorSupported),Ac&&r&&(s=Ac(s));var a=s.split(/\r?\n/),u=Math.max(this.line-3,0),c=Math.min(this.line+2,a.length),f=String(c).length,l,h;if(r){var g=Rc.createColors(!0),v=g.bold,m=g.gray,d=g.red;l=function(y){return v(d(y))},h=function(y){return m(y)}}else l=h=function(y){return y};return a.slice(u,c).map(function(y,_){var b=u+1+_,C=" "+(" "+b).slice(-f)+" | ";if(b===o.line){var S=h(C.replace(/\d/g," "))+y.slice(0,o.column-1).replace(/[^\t]/g," ");return l(">")+h(C)+y+` 54 `+S+l("^")}return" "+h(C)+y}).join(` 55`)},i.toString=function(){var r=this.showSourceCode();return r&&(r=` 56 57`+r+` 58`),this.name+": "+this.message+r},n}(Yr(Error)),za=Ds;Ds.default=Ds;var Rt={};Rt.isClean=Symbol("isClean");Rt.my=Symbol("my");var kc={after:` 59`,beforeClose:` 60`,beforeComment:` 61`,beforeDecl:` 62`,beforeOpen:" ",beforeRule:` 63`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function z_(t){return t[0].toUpperCase()+t.slice(1)}var Fs=function(){function t(i){this.builder=i}var n=t.prototype;return n.atrule=function(e,r){var o="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?o+=e.raws.afterName:s&&(o+=" "),e.nodes)this.block(e,o+s);else{var a=(e.raws.between||"")+(r?";":"");this.builder(o+s+a,e)}},n.beforeAfter=function(e,r){var o;e.type==="decl"?o=this.raw(e,null,"beforeDecl"):e.type==="comment"?o=this.raw(e,null,"beforeComment"):r==="before"?o=this.raw(e,null,"beforeRule"):o=this.raw(e,null,"beforeClose");for(var s=e.parent,a=0;s&&s.type!=="root";)a+=1,s=s.parent;if(o.includes(` 64`)){var u=this.raw(e,null,"indent");if(u.length)for(var c=0;c<a;c++)o+=u}return o},n.block=function(e,r){var o=this.raw(e,"between","beforeOpen");this.builder(r+o+"{",e,"start");var s;e.nodes&&e.nodes.length?(this.body(e),s=this.raw(e,"after")):s=this.raw(e,"after","emptyBody"),s&&this.builder(s),this.builder("}",e,"end")},n.body=function(e){for(var r=e.nodes.length-1;r>0&&e.nodes[r].type==="comment";)r-=1;for(var o=this.raw(e,"semicolon"),s=0;s<e.nodes.length;s++){var a=e.nodes[s],u=this.raw(a,"before");u&&this.builder(u),this.stringify(a,r!==s||o)}},n.comment=function(e){var r=this.raw(e,"left","commentLeft"),o=this.raw(e,"right","commentRight");this.builder("/*"+r+e.text+o+"*/",e)},n.decl=function(e,r){var o=this.raw(e,"between","colon"),s=e.prop+o+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),r&&(s+=";"),this.builder(s,e)},n.document=function(e){this.body(e)},n.raw=function(e,r,o){var s;if(o||(o=r),r&&(s=e.raws[r],typeof s<"u"))return s;var a=e.parent;if(o==="before"&&(!a||a.type==="root"&&a.first===e||a&&a.type==="document"))return"";if(!a)return kc[o];var u=e.root();if(u.rawCache||(u.rawCache={}),typeof u.rawCache[o]<"u")return u.rawCache[o];if(o==="before"||o==="after")return this.beforeAfter(e,o);var c="raw"+z_(o);return this[c]?s=this[c](u,e):u.walk(function(f){if(s=f.raws[r],typeof s<"u")return!1}),typeof s>"u"&&(s=kc[o]),u.rawCache[o]=s,s},n.rawBeforeClose=function(e){var r;return e.walk(function(o){if(o.nodes&&o.nodes.length>0&&typeof o.raws.after<"u")return r=o.raws.after,r.includes(` 65`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r},n.rawBeforeComment=function(e,r){var o;return e.walkComments(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 66`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(r,null,"beforeDecl"):o&&(o=o.replace(/\S/g,"")),o},n.rawBeforeDecl=function(e,r){var o;return e.walkDecls(function(s){if(typeof s.raws.before<"u")return o=s.raws.before,o.includes(` 67`)&&(o=o.replace(/[^\n]+$/,"")),!1}),typeof o>"u"?o=this.raw(r,null,"beforeRule"):o&&(o=o.replace(/\S/g,"")),o},n.rawBeforeOpen=function(e){var r;return e.walk(function(o){if(o.type!=="decl"&&(r=o.raws.between,typeof r<"u"))return!1}),r},n.rawBeforeRule=function(e){var r;return e.walk(function(o){if(o.nodes&&(o.parent!==e||e.first!==o)&&typeof o.raws.before<"u")return r=o.raws.before,r.includes(` 68`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r},n.rawColon=function(e){var r;return e.walkDecls(function(o){if(typeof o.raws.between<"u")return r=o.raws.between.replace(/[^\s:]/g,""),!1}),r},n.rawEmptyBody=function(e){var r;return e.walk(function(o){if(o.nodes&&o.nodes.length===0&&(r=o.raws.after,typeof r<"u"))return!1}),r},n.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var r;return e.walk(function(o){var s=o.parent;if(s&&s!==e&&s.parent&&s.parent===e&&typeof o.raws.before<"u"){var a=o.raws.before.split(` 69`);return r=a[a.length-1],r=r.replace(/\S/g,""),!1}}),r},n.rawSemicolon=function(e){var r;return e.walk(function(o){if(o.nodes&&o.nodes.length&&o.last.type==="decl"&&(r=o.raws.semicolon,typeof r<"u"))return!1}),r},n.rawValue=function(e,r){var o=e[r],s=e.raws[r];return s&&s.value===o?s.raw:o},n.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},n.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},n.stringify=function(e,r){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,r)},t}(),ah=Fs;Fs.default=Fs;var q_=ah;function Us(t,n){var i=new q_(n);i.stringify(t)}var co=Us;Us.default=Us;var Kn=Rt.isClean,W_=Rt.my,G_=za,j_=ah,V_=co;function Bs(t,n){var i=new t.constructor;for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&e!=="proxyCache"){var r=t[e],o=typeof r>"u"?"undefined":T(r);e==="parent"&&o==="object"?n&&(i[e]=n):e==="source"?i[e]=r:Array.isArray(r)?i[e]=r.map(function(s){return Bs(s,i)}):(o==="object"&&r!==null&&(r=Bs(r)),i[e]=r)}return i}var zs=function(){function t(i){i===void 0&&(i={}),this.raws={},this[Kn]=!1,this[W_]=!0;for(var e in i)if(e==="nodes"){this.nodes=[];for(var r=I(i[e]),o;!(o=r()).done;){var s=o.value;typeof s.clone=="function"?this.append(s.clone()):this.append(s)}}else this[e]=i[e]}var n=t.prototype;return n.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var r=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+r.input.from+":"+r.start.line+":"+r.start.column+"$&")}return e},n.after=function(e){return this.parent.insertAfter(this,e),this},n.assign=function(e){e===void 0&&(e={});for(var r in e)this[r]=e[r];return this},n.before=function(e){return this.parent.insertBefore(this,e),this},n.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},n.clone=function(e){e===void 0&&(e={});var r=Bs(this);for(var o in e)r[o]=e[o];return r},n.cloneAfter=function(e){e===void 0&&(e={});var r=this.clone(e);return this.parent.insertAfter(this,r),r},n.cloneBefore=function(e){e===void 0&&(e={});var r=this.clone(e);return this.parent.insertBefore(this,r),r},n.error=function(e,r){if(r===void 0&&(r={}),this.source){var o=this.rangeBy(r),s=o.end,a=o.start;return this.source.input.error(e,{column:a.column,line:a.line},{column:s.column,line:s.line},r)}return new G_(e)},n.getProxyProcessor=function(){return{get:function(r,o){return o==="proxyOf"?r:o==="root"?function(){return r.root().toProxy()}:r[o]},set:function(r,o,s){return r[o]===s||(r[o]=s,(o==="prop"||o==="value"||o==="name"||o==="params"||o==="important"||o==="text")&&r.markDirty()),!0}}},n.markDirty=function(){if(this[Kn]){this[Kn]=!1;for(var e=this;e=e.parent;)e[Kn]=!1}},n.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},n.positionBy=function(e,r){var o=this.source.start;if(e.index)o=this.positionInside(e.index,r);else if(e.word){r=this.toString();var s=r.indexOf(e.word);s!==-1&&(o=this.positionInside(s,r))}return o},n.positionInside=function(e,r){for(var o=r||this.toString(),s=this.source.start.column,a=this.source.start.line,u=0;u<e;u++)o[u]===` 70`?(s=1,a+=1):s+=1;return{column:s,line:a}},n.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},n.rangeBy=function(e){var r={column:this.source.start.column,line:this.source.start.line},o=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:r.column+1,line:r.line};if(e.word){var s=this.toString(),a=s.indexOf(e.word);a!==-1&&(r=this.positionInside(a,s),o=this.positionInside(a+e.word.length,s))}else e.start?r={column:e.start.column,line:e.start.line}:e.index&&(r=this.positionInside(e.index)),e.end?o={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?o=this.positionInside(e.endIndex):e.index&&(o=this.positionInside(e.index+1));return(o.line<r.line||o.line===r.line&&o.column<=r.column)&&(o={column:r.column+1,line:r.line}),{end:o,start:r}},n.raw=function(e,r){var o=new j_;return o.raw(this,e,r)},n.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},n.replaceWith=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];if(this.parent){for(var s=this,a=!1,u=I(r),c;!(c=u()).done;){var f=c.value;f===this?a=!0:a?(this.parent.insertAfter(s,f),s=f):this.parent.insertBefore(s,f)}a||this.remove()}return this},n.root=function(){for(var e=this;e.parent&&e.parent.type!=="document";)e=e.parent;return e},n.toJSON=function(e,r){var o={},s=r==null;r=r||new Map;var a=0;for(var u in this)if(Object.prototype.hasOwnProperty.call(this,u)&&!(u==="parent"||u==="proxyCache")){var c=this[u];if(Array.isArray(c))o[u]=c.map(function(l){return(typeof l>"u"?"undefined":T(l))==="object"&&l.toJSON?l.toJSON(null,r):l});else if((typeof c>"u"?"undefined":T(c))==="object"&&c.toJSON)o[u]=c.toJSON(null,r);else if(u==="source"){var f=r.get(c.input);f==null&&(f=a,r.set(c.input,a),a++),o[u]={end:c.end,inputId:f,start:c.start}}else o[u]=c}return s&&(o.inputs=[].concat(r.keys()).map(function(l){return l.toJSON()})),o},n.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},n.toString=function(e){e===void 0&&(e=V_),e.stringify&&(e=e.stringify);var r="";return e(this,function(o){r+=o}),r},n.warn=function(e,r,o){var s={node:this};for(var a in o)s[a]=o[a];return e.warn(r,s)},ae(t,[{key:"proxyOf",get:function(){return this}}]),t}(),fo=zs;zs.default=zs;var H_=fo,qs=function(t){fe(n,t);function n(i){var e;return i&&typeof i.value<"u"&&typeof i.value!="string"&&(i=z({},i,{value:String(i.value)})),e=t.call(this,i)||this,e.type="decl",e}return ae(n,[{key:"variable",get:function(){return this.prop.startsWith("--")||this.prop[0]==="$"}}]),n}(H_),lo=qs;qs.default=qs;var Y_="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",K_=function(t){t===void 0&&(t=21);for(var n="",i=t;i--;)n+=Y_[Math.random()*64|0];return n},J_={nanoid:K_},Mc=we.SourceMapConsumer,Tc=we.SourceMapGenerator,X_=we.existsSync,Z_=we.readFileSync,Bo=we.dirname,Q_=we.join;function ew(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var Ws=function(){function t(i,e){if(e.map!==!1){this.loadAnnotation(i),this.inline=this.startWith(this.annotation,"data:");var r=e.map?e.map.prev:void 0,o=this.loadMap(e.from,r);!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=Bo(this.mapFile)),o&&(this.text=o)}}var n=t.prototype;return n.consumer=function(){return this.consumerCache||(this.consumerCache=new Mc(this.text)),this.consumerCache},n.decodeInline=function(e){var r=/^data:application\/json;charset=utf-?8;base64,/,o=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,a=/^data:application\/json,/;if(s.test(e)||a.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(r.test(e)||o.test(e))return ew(e.substr(RegExp.lastMatch.length));var u=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+u)},n.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},n.isMap=function(e){return(typeof e>"u"?"undefined":T(e))!=="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)},n.loadAnnotation=function(e){var r=e.match(/\/\*\s*# sourceMappingURL=/gm);
vendor: 1,187 bytes, line 70
70if(r){var o=e.lastIndexOf(r.pop()),s=e.indexOf("*/",o);o>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(o,s)))}},n.loadFile=function(e){if(this.root=Bo(e),X_(e))return this.mapFile=e,Z_(e,"utf-8").toString().trim()},n.loadMap=function(e,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){var o=r(e);if(o){var s=this.loadFile(o);if(!s)throw new Error("Unable to load previous source map: "+o.toString());return s}}else{if(M(r,Mc))return Tc.fromSourceMap(r).toString();if(M(r,Tc))return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var a=this.annotation;return e&&(a=Q_(Bo(e),a)),this.loadFile(a)}}},n.startWith=function(e,r){return e?e.substr(0,r.length)===r:!1},n.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},t}(),uh=Ws;Ws.default=Ws;var tw=we.SourceMapConsumer,rw=we.SourceMapGenerator,$c=we.fileURLToPath,Jn=we.pathToFileURL,Gs=we.isAbsolute,js=we.resolve,nw=J_.nanoid,zo=we,Pc=za,iw=uh,qo=Symbol("fromOffsetCac
70he"),ow=!!(tw&&rw),Nc=!!(js&&Gs),Mi=function(){function t(i,e){if(e===void 0&&(e={}),i===null||typeof i>"u"||(typeof i>"u"?"undefined":T(i))==="object"&&!i.toString)throw new Error("PostCSS received "+i+" instead of CSS string");if(this.css=i.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,e.from&&(!Nc||/^\w+:\/\//.test(e.from)||Gs(e.from)?this.file=e.from:this.file=js(e.from)),Nc&&ow){var r=new iw(this.css,e);if(r.text){this.map=r;var o=r.consumer().file;!this.file&&o&&(this.file=this.mapResolve(o))}}this.file||(this.id="<input css "+nw(6)+">"),this.map&&(this.map.file=this.from)}var n=t.prototype;return n.error=function(e,r,o,s){s===void 0&&(s={});var a,u,c;if(r&&(typeof r>"u"?"undefined":T(r))==="object"){var f=r,l=o;if(typeof f.offset=="number"){var h=this.fromOffset(f.offset);r=h.line,o=h.col}else r=f.line,o=f.column;if(typeof l.offset=="number"){var g=this.fromOffset(l.offset);u=g.line,c=g.col}else u=l.line,c=l.column}else if(!o){var v=this.fromOffset(r);r=v.line,o=v.col}var m=this.origin(r,o,u,c);return m?a=new Pc(e,m.endLine===void 0?m.line:{column:m.column,line:m.line},m.endLine===void 0?m.column:{column:m.endColumn,line:m.endLine},m.source,m.file,s.plugin):a=new Pc(e,u===void 0?r:{column:o,line:r},u===void 0?o:{column:c,line:u},this.css,this.file,s.plugin),a.input={column:o,endColumn:c,endLine:u,line:r,source:this.css},this.file&&(Jn&&(a.input.url=Jn(this.file).toString()),a.input.file=this.file),a},n.fromOffset=function(e){var r,o;if(this[qo])o=this[qo];else{var s=this.css.split(` 71`);o=new Array(s.length);for(var a=0,u=0,c=s.length;u<c;u++)o[u]=a,a+=s[u].length+1;this[qo]=o}r=o[o.length-1];var f=0;if(e>=r)f=o.length-1;else for(var l=o.length-2,h;f<l;)if(h=f+(l-f>>1),e<o[h])l=h-1;else if(e>=o[h+1])f=h+1;else{f=h;break}return{col:e-o[f]+1,line:f+1}},n.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:js(this.map.consumer().sourceRoot||this.map.root||".",e)},n.origin=function(e,r,o,s){if(!this.map)return!1;var a=this.map.consumer(),u=a.originalPositionFor({column:r,line:e});if(!u.source)return!1;var c;typeof o=="number"&&(c=a.originalPositionFor({column:s,line:o}));var f;Gs(u.source)?f=Jn(u.source):f=new URL(u.source,this.map.consumer().sourceRoot||Jn(this.map.mapFile));var l={column:u.column,endColumn:c&&c.column,endLine:c&&c.line,line:u.line,url:f.toString()};if(f.protocol==="file:")if($c)l.file=$c(f);else throw new Error("file: protocol is not available in this PostCSS build");var h=a.sourceContentFor(u.source);return h&&(l.source=h),l},n.toJSON=function(){for(var e={},r=0,o=["hasBOM","css","file","id"];r<o.length;r++){var s=o[r];this[s]!=null&&(e[s]=this[s])}return this.map&&(e.map=z({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},ae(t,[{key:"from",get:function(){return this.file||this.id}}]),t}(),ho=Mi;Mi.default=Mi;zo&&zo.registerInput&&zo.registerInput(Mi);var ch=we.SourceMapConsumer,pi=we.SourceMapGenerator,di=we.dirname,fh=we.relative,lh=we.resolve,hh=we.sep,Lc=we.pathToFileURL,sw=ho,aw=!!(ch&&pi),uw=!!(di&&lh&&fh&&hh),cw=function(){function t(i,e,r,o){this.stringify=i,this.mapOpts=r.map||{},this.root=e,this.opts=r,this.css=o,this.originalCSS=o,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var n=t.prototype;return n.addAnnotation=function(){var e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";var r=` 72`;this.css.includes(`\r 73`)&&(r=`\r 74`),this.css+=r+"/*# sourceMappingURL="+e+" */"},n.applyPrevMaps=function(){for(var e=I(this.previous()),r;!(r=e()).done;){var o=r.value,s=this.toUrl(this.path(o.file)),a=o.root||di(o.file),u=void 0;this.mapOpts.sourcesContent===!1?(u=new ch(o.text),u.sourcesContent&&(u.sourcesContent=null)):u=o.consumer(),this.map.applySourceMap(u,s,this.toUrl(this.path(a)))}},n.clearAnnotation=function(){if(this.mapOpts.annotation!==!1)if(this.root)for(var e,r=this.root.nodes.length-1;r>=0;r--)e=this.root.nodes[r],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(r);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},n.generate=function(){if(this.clearAnnotation(),uw&&aw&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(r){e+=r}),[e]},n.generateMap=function(){if(this.root)this.generateString();else if(this.previous().length===1){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=pi.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new pi({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},n.generateString=function(){var e=this;this.css="",this.map=new pi({file:this.outputFile(),ignoreInvalidMapping:!0});var r=1,o=1,s="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""},u,c;this.stringify(this.root,function(f,l,h){if(e.css+=f,l&&h!=="end"&&(a.generated.line=r,a.generated.column=o-1,l.source&&l.source.start?(a.source=e.sourcePath(l),a.original.line=l.source.start.line,a.original.column=l.source.start.column-1,e.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,e.map.addMapping(a))),u=f.match(/\n/g),u?(r+=u.length,c=f.lastIndexOf(` 75`),o=f.length-c):o+=f.length,l&&h!=="start"){var g=l.parent||{raws:{}},v=l.type==="decl"||l.type==="atrule"&&!l.nodes;(!v||l!==g.last||g.raws.semicolon)&&(l.source&&l.source.end?(a.source=e.sourcePath(l),a.original.line=l.source.end.line,a.original.column=l.source.end.column-1,a.generated.line=r,a.generated.column=o-2,e.map.addMapping(a)):(a.source=s,a.original.line=1,a.original.column=0,a.generated.line=r,a.generated.column=o-1,e.map.addMapping(a)))}})},n.isAnnotation=function(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(function(e){return e.annotation}):!0},n.isInline=function(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;var e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(function(r){return r.inline}):!0},n.isMap=function(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0},n.isSourcesContent=function(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(function(e){return e.withContent()}):!0},n.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},n.path=function(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;var r=this.memoizedPaths.get(e);if(r)return r;var o=this.opts.to?di(this.opts.to):".";
vendor: 4,110 bytes, line 75
75typeof this.mapOpts.annotation=="string"&&(o=di(lh(o,this.mapOpts.annotation)));var s=fh(o,e);return this.memoizedPaths.set(e,s),s},n.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(o){if(o.source&&o.source.input.map){var s=o.source.input.map;e.previousMaps.includes(s)||e.previousMaps.push(s)}});else{var r=new sw(this.originalCSS,this.opts);r.map&&this.previousMaps.push(r.map)}return this.previousMaps},n.setSourcesContent=function(){var e=this,r={};if(this.root)this.root.walk(function(s){if(s.source){var a=s.source.input.from;if(a&&!r[a]){r[a]=!0;var u=e.usesFileUrls?e.toFileUrl(a):e.toUrl(e.path(a));e.map.setSourceContent(u,s.source.input.css)}}});else if(this.css){var o=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(o,this.css)}},n.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))},n.toBase64=function(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},n.toFileUrl=function(e){var r=this.memoizedFileURLs.get(e);if(r)return r;if(Lc){var o=Lc(e).toString();return this.memoizedFileURLs.set(e,o),o}else throw new Error("`map.absolute` option is not available in this PostCSS build")},n.toUrl=function(e){var r=this.memoizedURLs.get(e);if(r)return r;hh==="\\"&&(e=e.replace(/\\/g,"/"));var o=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,o),o},t}(),ph=cw,fw=fo,Vs=function(t){fe(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="comment",e}return n}(fw),po=Vs;Vs.default=Vs;var dh=Rt.isClean,vh=Rt.my,gh=lo,mh=po,lw=fo,yh,qa,Wa,_h;function wh(t){return t.map(function(n){return n.nodes&&(n.nodes=wh(n.nodes)),delete n.source,n})}function bh(t){if(t[dh]=!1,t.proxyOf.nodes)for(var n=I(t.proxyOf.nodes),i;!(i=n()).done;){var e=i.value;bh(e)}}var ct=function(t){fe(n,t);function n(){return t.apply(this,arguments)||this}var i=n.prototype;return i.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];for(var a=I(o),u;!(u=a()).done;)for(var c=u.value,f=this.normalize(c,this.last),l=I(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.push(g)}return this.markDirty(),this},i.cleanRaws=function(r){if(t.prototype.cleanRaws.call(this,r),this.nodes)for(var o=I(this.nodes),s;!(s=o()).done;){var a=s.value;a.cleanRaws(r)}},i.each=function(r){if(this.proxyOf.nodes){for(var o=this.getIterator(),s,a;this.indexes[o]<this.proxyOf.nodes.length&&(s=this.indexes[o],a=r(this.proxyOf.nodes[s],s),a!==!1);)this.indexes[o]+=1;return delete this.indexes[o],a}},i.every=function(r){return this.nodes.every(r)},i.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var r=this.lastEach;return this.indexes[r]=0,r},i.getProxyProcessor=function(){return{get:function(o,s){return s==="proxyOf"?o:o[s]?s==="each"||typeof s=="string"&&s.startsWith("walk")?function(){for(var a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];var f;return(f=o)[s].apply(f,[].concat(u.map(function(l){return typeof l=="function"?function(h,g){return l(h.toProxy(),g)}:l})))}:s==="every"||s==="some"?function(a){return o[s](function(u){for(var c=arguments.length,f=new Array(c>1?c-1:0),l=1;l<c;l++)f[l-1]=arguments[l];return a.apply(void 0,[].concat([u.toProxy()],f))})}:s==="root"?function(){return o.root().toProxy()}:s==="nodes"?o.nodes.map(function(a){return a.toProxy()}):s==="first"||s==="last"?o[s].toProxy():o[s]:o[s]},set:function(o,s,a){return o[s]===a||(o[s]=a,(s==="name"||s==="params"||s==="selector")&&o.markDirty()),!0}}},i.index=function(r){return typeof r=="number"?r:(r.proxyOf&&(r=r.proxyOf),this.proxyOf.nodes.indexOf(r))},i.insertAfter=function(r,o){var s=this.index(r),a=this.normalize(o,this.proxyOf.nodes[s]).reverse();s=this.index(r);for(var u=I(a),c;!(c=u()).done;){var f=c.value;this.proxyOf.nodes.splice(s+1,0,f)}var l;for(var h in this.indexes)l=this.indexes[h],s<l&&(this.indexes[h
vendor: 15,542 bytes, lines 75-76
75]=l+a.length);return this.markDirty(),this},i.insertBefore=function(r,o){var s=this.index(r),a=s===0?"prepend":!1,u=this.normalize(o,this.proxyOf.nodes[s],a).reverse();s=this.index(r);for(var c=I(u),f;!(f=c()).done;){var l=f.value;this.proxyOf.nodes.splice(s,0,l)}var h;for(var g in this.indexes)h=this.indexes[g],s<=h&&(this.indexes[g]=h+u.length);return this.markDirty(),this},i.normalize=function(r,o){var s=this;if(typeof r=="string")r=wh(yh(r).nodes);else if(typeof r>"u")r=[];else if(Array.isArray(r)){r=r.slice(0);for(var a=I(r),u;!(u=a()).done;){var c=u.value;c.parent&&c.parent.removeChild(c,"ignore")}}else if(r.type==="root"&&this.type!=="document"){r=r.nodes.slice(0);for(var f=I(r),l;!(l=f()).done;){var h=l.value;h.parent&&h.parent.removeChild(h,"ignore")}}else if(r.type)r=[r];else if(r.prop){if(typeof r.value>"u")throw new Error("Value field is missed in node creation");typeof r.value!="string"&&(r.value=String(r.value)),r=[new gh(r)]}else if(r.selector)r=[new qa(r)];else if(r.name)r=[new Wa(r)];else if(r.text)r=[new mh(r)];else throw new Error("Unknown node type in node creation");var g=r.map(function(v){return v[vh]||n.rebuild(v),v=v.proxyOf,v.parent&&v.parent.removeChild(v),v[dh]&&bh(v),typeof v.raws.before>"u"&&o&&typeof o.raws.before<"u"&&(v.raws.before=o.raws.before.replace(/\S/g,"")),v.parent=s.proxyOf,v});return g},i.prepend=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];o=o.reverse();for(var a=I(o),u;!(u=a()).done;){for(var c=u.value,f=this.normalize(c,this.first,"prepend").reverse(),l=I(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.unshift(g)}for(var v in this.indexes)this.indexes[v]=this.indexes[v]+f.length}return this.markDirty(),this},i.push=function(r){return r.parent=this,this.proxyOf.nodes.push(r),this},i.removeAll=function(){for(var r=I(this.proxyOf.nodes),o;!(o=r()).done;){var s=o.value;s.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},i.removeChild=function(r){r=this.index(r),this.proxyOf.nodes[r].parent=void 0,this.proxyOf.nodes.splice(r,1);var o;for(var s in this.indexes)o=this.indexes[s],o>=r&&(this.indexes[s]=o-1);return this.markDirty(),this},i.replaceValues=function(r,o,s){return s||(s=o,o={}),this.walkDecls(function(a){o.props&&!o.props.includes(a.prop)||o.fast&&!a.value.includes(o.fast)||(a.value=a.value.replace(r,s))}),this.markDirty(),this},i.some=function(r){return this.nodes.some(r)},i.walk=function(r){return this.each(function(o,s){var a;try{a=r(o,s)}catch(u){throw o.addToError(u)}return a!==!1&&o.walk&&(a=o.walk(r)),a})},i.walkAtRules=function(r,o){return o?M(r,RegExp)?this.walk(function(s,a){if(s.type==="atrule"&&r.test(s.name))return o(s,a)}):this.walk(function(s,a){if(s.type==="atrule"&&s.name===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="atrule")return o(s,a)}))},i.walkComments=function(r){return this.walk(function(o,s){if(o.type==="comment")return r(o,s)})},i.walkDecls=function(r,o){return o?M(r,RegExp)?this.walk(function(s,a){if(s.type==="decl"&&r.test(s.prop))return o(s,a)}):this.walk(function(s,a){if(s.type==="decl"&&s.prop===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="decl")return o(s,a)}))},i.walkRules=function(r,o){return o?M(r,RegExp)?this.walk(function(s,a){if(s.type==="rule"&&r.test(s.selector))return o(s,a)}):this.walk(function(s,a){if(s.type==="rule"&&s.selector===r)return o(s,a)}):(o=r,this.walk(function(s,a){if(s.type==="rule")return o(s,a)}))},ae(n,[{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]}}]),n}(lw);ct.registerParse=function(t){yh=t};ct.registerRule=function(t){qa=t};ct.registerAtRule=function(t){Wa=t};ct.registerRoot=function(t){_h=t};var Zt=ct;ct.default=ct;ct.rebuild=function(t){t.type==="atrule"?Object.setPrototypeOf(t,Wa.prototype):t.type==="rule"?Object.setPrototypeOf(t,qa.prototype):t.type==="decl"?Object.setPrototypeOf(t,gh.prototype):t.type==="comment"?Object.setPrototypeOf(t,mh.prototype):t.type==="root"&&Object.setPrototypeOf(t,_h.prototype),t[vh]=!0,t.nodes&&t.nodes.forEach(function(n){ct.rebuild(n)})};var hw=Zt,Sh,Ch,sn=function(t){fe(n,t);function n(e){var r;return r=t.call(this,z({type:"document"},e))||this,r.nodes||(r.nodes=[]),r}var i=n.prototype;return i.toResult=function(r){r===void 0&&(r={});var o=new Sh(new Ch,this,r);return o.stringify()},n}(hw);sn.registerLazyResult=function(t){Sh=t};sn.registerProcessor=function(t){Ch=t};var Ga=sn;sn.default=sn;var Hs=function(){function t(i,e){if(e===void 0&&(e={}),this.type="warning",this.text=i,e.node&&e.node.source){var r=e.node.rangeBy(e);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var o in e)this[o]=e[o]}var n=t.prototype;return n.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},t}(),Eh=Hs;Hs.default=Hs;var pw=Eh,Ys=function(){function t(i,e,r){this.processor=i,this.messages=[],this.root=e,this.opts=r,this.css=void 0,this.map=void 0}var n=t.prototype;return n.toString=function(){return this.css},n.warn=function(e,r){r===void 0&&(r={}),r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);var o=new pw(e,r);return this.messages.push(o),o},n.warnings=function(){return this.messages.filter(function(e){return e.type==="warning"})},ae(t,[{key:"content",get:function(){return this.css}}]),t}(),ja=Ys;Ys.default=Ys;var Wo=39,Dc=34,Xn=92,Fc=47,Zn=10,Dr=32,Qn=12,ei=9,ti=13,dw=91,vw=93,gw=40,mw=41,yw=123,_w=125,ww=59,bw=42,Sw=58,Cw=64,ri=/[\t\n\f\r "#'()/;[\\\]{}]/g,ni=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Ew=/.[\r\n"'(/\\]/,Uc=/[\da-f]/i,Iw=function(n,i){i===void 0&&(i={});var e=n.css.valueOf(),r=i.ignoreErrors,o,s,a,u,c,f,l,h,g,v,m=e.length,d=0,y=[],_=[];function b(){return d}function C(R){throw n.error("Unclosed "+R,d)}function S(){return _.length===0&&d>=m}function O(R){if(_.length)return _.pop();if(!(d>=m)){var P=R?R.ignoreUnclosed:!1;switch(o=e.charCodeAt(d),o){case Zn:case Dr:case ei:case ti:case Qn:{s=d;do s+=1,o=e.charCodeAt(s);while(o===Dr||o===Zn||o===ei||o===ti||o===Qn);v=["space",e.slice(d,s)],d=s-1;break}case dw:case vw:case yw:case _w:case Sw:case ww:case mw:{var q=String.fromCharCode(o);v=[q,q,d];break}case gw:{if(h=y.length?y.pop()[1]:"",g=e.charCodeAt(d+1),h==="url"&&g!==Wo&&g!==Dc&&g!==Dr&&g!==Zn&&g!==ei&&g!==Qn&&g!==ti){s=d;do{if(f=!1,s=e.indexOf(")",s+1),s===-1)if(r||P){s=d;break}else C("bracket");for(l=s;e.charCodeAt(l-1)===Xn;)l-=1,f=!f}while(f);v=["brackets",e.slice(d,s+1),d,s],d=s}else s=e.indexOf(")",d+1),u=e.slice(d,s+1),s===-1||Ew.test(u)?v=["(","(",d]:(v=["brackets",u,d,s],d=s);break}case Wo:case Dc:{a=o===Wo?"'":'"',s=d;do{if(f=!1,s=e.indexOf(a,s+1),s===-1)if(r||P){s=d+1;break}else C("string");for(l=s;e.charCodeAt(l-1)===Xn;)l-=1,f=!f}while(f);v=["string",e.slice(d,s+1),d,s],d=s;break}case Cw:{ri.lastIndex=d+1,ri.test(e),ri.lastIndex===0?s=e.length-1:s=ri.lastIndex-2,v=["at-word",e.slice(d,s+1),d,s],d=s;break}case Xn:{for(s=d,c=!0;e.charCodeAt(s+1)===Xn;)s+=1,c=!c;if(o=e.charCodeAt(s+1),c&&o!==Fc&&o!==Dr&&o!==Zn&&o!==ei&&o!==ti&&o!==Qn&&(s+=1,Uc.test(e.charAt(s)))){for(;Uc.test(e.charAt(s+1));)s+=1;e.charCodeAt(s+1)===Dr&&(s+=1)}v=["word",e.slice(d,s+1),d,s],d=s;break}default:{o===Fc&&e.charCodeAt(d+1)===bw?(s=e.indexOf("*/",d+2)+1,s===0&&(r||P?s=e.length:C("comment")),v=["comment",e.slice(d,s+1),d,s],d=s):(ni.lastIndex=d+1,ni.test(e),ni.lastIndex===0?s=e.length-1:s=ni.lastIndex-2,v=["word",e.slice(d,s+1),d,s],y.push(v),d=s);break}}return d++,v}}function A(R){_.push(R)}return{back:A,endOfFile:S,nextToken:O,position:b}},Ih=Zt,Ti=function(t){fe(n,t);function n(e){var r;return r=t.call(this,e)||this,r.type="atrule",r}var i=n.prototype;return i.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.append).call.apply(a,[].concat([this],o))},i.prepend=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.prepend).call.apply(a,[].concat([this],o))},n}(Ih),Va=Ti;Ti.default=Ti;Ih.registerAtRule(Ti);var Oh=Zt,xh,Rh,Sr=function(t){fe(n,t);function n(e){var r;return r=t.call(this,e)||this,r.type="root",r.nodes||(r.nodes=[]),r}var i=n.prototype;return i.normalize=function(r,o,s){var a=t.prototype.normalize.call(this,r);if(o){if(s==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(var u=I(a),c;!(c=u()).done;){var f=c.value;f.raws.before=o.raws.before}}return a},i.removeChild=function(r,o){var s=this.index(r);return!o&&s===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),t.prototype.removeChild.call(this,r)},i.toResult=function(r){r===void 0&&(r={});var o=new xh(new Rh,this,r);return o.stringify()},n}(Oh);Sr.registerLazyResult=function(t){xh=t};Sr.registerProcessor=function(t){Rh=t};var mn=Sr;Sr.default=Sr;Oh.registerRoot(Sr);var an={comma:function(n){return an.split(n,[","],!0)},space:function(n){var i=[" ",` 76`," "];return an.split(n,i)},split:function(n,i,e){for(var r=[],o="",s=!1,a=0,u=!1,c="",f=!1,l=I(n),h;!(h=l()).done;){var g=h.value;f?f=!1:g==="\\"?f=!0:u?g===c&&(u=!1):g==='"'||g==="'"?(u=!0,c=g):g==="("?a+=1:g===")"?a>0&&(a-=1):a===0&&i.includes(g)&&(s=!0),s?(o!==""&&r.push(o.trim()),o="",s=!1):o+=g}return(e||o!=="")&&r.push(o.trim()),r}},Ah=an;an.default=an;var kh=Zt,Ow=Ah,$i=function(t){fe(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="rule",e.nodes||(e.nodes=[]),e}return ae(n,[{key:"selectors",get:function(){return Ow.comma(this.selector)},set:function(e){var r=this.selector?this.selector.match(/,\s*/):null,o=r?r[0]:","+this.raw("between","beforeOpen");this.selector=e.join(o)}}]),n}(kh),Ha=$i;$i.default=$i;kh.registerRule($i);var xw=lo,Rw=Iw,Aw=po,kw=Va,Mw=mn,Bc=Ha,zc={empty:!0,space:!0};function Tw(t){for(var n=t.length-1;n>=0;n--){var i=t[n],e=i[3]||i[2];if(e)return e}}var $w=function(){function t(i){this.input=i,this.root=new Mw,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:i,start:{column:1,line:1,offset:0}}}var n=t.prototype;return n.atrule=function(e){var r=new kw;r.name=e[1].slice(1),r.name===""&&this.unnamedAtrule(r,e),this.init(r,e[2]);for(var o,s,a,u=!1,c=!1,f=[],l=[];!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),o=e[0],o==="("||o==="["?l.push(o==="("?")":"]"):o==="{"&&l.length>0?l.push("}"):o===l[l.length-1]&&l.pop(),l.length===0)if(o===";"){r.source.end=this.getPosition(e[2]),r.source.end.offset++,this.semicolon=!0;break}else if(o==="{"){c=!0;break}else if(o==="}"){if(f.length>0){for(a=f.length-1,s=f[a];s&&s[0]==="space";)s=f[--a];s&&(r.source.end=this.getPosition(s[3]||s[2]),r.source.end.offset++)}this.end(e);break}else f.push(e);else f.push(e);if(this.tokenizer.endOfFile()){u=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(r.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(r,"params",f),u&&(e=f[f.length-1],r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++,this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),c&&(r.nodes=[],this.current=r)},n.checkMissedSemicolon=function(e){var r=this.colon(e);if(r!==!1){for(var o=0,s,a=r-1;a>=0&&(s=e[a],!(s[0]!=="space"&&(o+=1,o===2)));a--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}},n.colon=function(e){for(var r=0,o,s,a,u=I(e.entries()),c;!(c=u()).done;){var f=c.value,l=f[0],h=f[1];if(o=h,s=o[0],s==="("&&(r+=1),s===")"&&(r-=1),r===0&&s===":")if(!a)this.doubleColon(o);else{if(a[0]==="word"&&a[1]==="progid")continue;return l}a=o}return!1},n.comment=function(e){var r=new Aw;this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++;var o=e[1].slice(2,-2);if(/^\s*$/.test(o))r.text="",r.raws.left=o,r.raws.right="";else{var s=o.match(/^(\s*)([^]*\S)(\s*)$/);r.text=s[2],r.raws.left=s[1],r.raws.right=s[3]}},n.createTokenizer=function(){this.tokenizer=Rw(this.input)},n.decl=function(e,r){var o=new xw;this.init(o,e[0][2]);var s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),o.source.end=this.getPosition(s[3]||s[2]||Tw(e)),o.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),o.raws.before+=e.shift()[1];for(o.source.start=this.getPosition(e[0][2]),o.prop="";e.length;){var a=e[0][0];if(a===":"||a==="space"||a==="comment")break;o.prop+=e.shift()[1]}o.raws.between="";for(var u;e.length;)if(u=e.shift(),u[0]===":"){o.raws.between+=u[1];break}else u[0]==="word"&&/\w/.test(u[1])&&this.unknownWord([u]),o.raws.between+=u[1];(o.prop[0]==="_"||o.prop[0]==="*")&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));for(var c=[],f;e.length&&(f=e[0][0],!(f!=="space"&&f!=="comment"));)c.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if(u=e[l],u[1].toLowerCase()==="!important"){o.important=!0;var h=this.stringFrom(e,l);h=this.spacesFromEnd(e)+h,h!==" !important"&&(o.raws.important=h);break}else if(u[1].toLowerCase()==="important"){for(var g=e.slice(0),v="",m=l;m>0;m--){var d=g[m][0];if(v.trim().indexOf("!")===0&&d!=="space")break;v=g.pop()[1]+v}v.trim().indexOf("!")===0&&(o.important=!0,o.raws.important=v,e=g)}if(u[0]!=="space"&&u[0]!=="comment")break}var y=e.some(function(_){return _[0]!=="space"&&_[0]!=="comment"});y&&(o.raws.between+=c.map(function(_){return _[1]}).join(""),c=[]),this.raw(o,"value",c.concat(e),r),o.value.includes(":")&&!r&&this.checkMissedSemicolon(e)},n.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},n.emptyRule=function(e){var r=new Bc;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r},n.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)},n.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())},n.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}},n.getPosition=function(e){var r=this.input.fromOffset(e);return{column:r.col,line:r.line,offset:e}},n.init=function(e,r){this.current.push(e),e.source={input:this.input,start:this.getPosition(r)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)},n.other=function(e){for(var r=!1,o=null,s=!1,a=null,u=[],c=e[1].startsWith("--"),f=[],l=e;l;){if(o=l[0],f.push(l),o==="("||o==="[")a||(a=l),u.push(o==="("?")":"]");else if(c&&s&&o==="{")a||(a=l),u.push("}");else if(u.length===0)if(o===";")if(s){this.decl(f,c);return}else break;else if(o==="{"){this.rule(f);return}else if(o==="}"){this.tokenizer.back(f.pop()),r=!0;break}else o===":"&&(s=!0);else o===u[u.length-1]&&(u.pop(),u.length===0&&(a=null));l=this.tokenizer.nextToken()}
vendor: 1,804 bytes, line 76
76if(this.tokenizer.endOfFile()&&(r=!0),u.length>0&&this.unclosedBracket(a),r&&s){if(!c)for(;f.length&&(l=f[f.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,c)}else this.unknownWord(f)},n.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()},n.precheckMissedSemicolon=function(){},n.raw=function(e,r,o,s){for(var a,u,c=o.length,f="",l=!0,h,g,v=0;v<c;v+=1)a=o[v],u=a[0],u==="space"&&v===c-1&&!s?l=!1:u==="comment"?(g=o[v-1]?o[v-1][0]:"empty",h=o[v+1]?o[v+1][0]:"empty",!zc[g]&&!zc[h]?f.slice(-1)===","?l=!1:f+=a[1]:l=!1):f+=a[1];if(!l){var m=o.reduce(function(d,y){return d+y[1]},"");e.raws[r]={raw:m,value:f}}e[r]=f},n.rule=function(e){e.pop();var r=new Bc;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r},n.spacesAndCommentsFromEnd=function(e){for(var r,o="";e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)o=e.pop()[1]+o;return o},n.spacesAndCommentsFromStart=function(e){for(var r,o="";e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)o+=e.shift()[1];return o},n.spacesFromEnd=function(e){for(var r,o="";e.length&&(r=e[e.length-1][0],r==="space");)o=e.pop()[1]+o;return o},n.stringFrom=function(e,r){for(var o="",s=r;s<e.length;s++)o+=e[s][1];return e.splice(r,e.length-r),o},n.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},n.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}
vendor: 116,246 bytes, lines 76-93
76,n.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},n.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},n.unnamedAtrule=function(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})},t}(),Pw=$w,Nw=Zt,Lw=Pw,Dw=ho;function Pi(t,n){var i=new Dw(t,n),e=new Lw(i);try{e.parse()}catch(r){throw r}return e.root}var Ya=Pi;Pi.default=Pi;Nw.registerParse(Pi);var Ye=Rt.isClean,Fw=Rt.my,Uw=ph,Bw=co,zw=Zt,qw=Ga,qc=ja,Ww=Ya,Gw=mn,jw={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Vw={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},Hw={Once:!0,postcssPlugin:!0,prepare:!0},Cr=0;function Fr(t){return(typeof t>"u"?"undefined":T(t))==="object"&&typeof t.then=="function"}function Mh(t){var n=!1,i=jw[t.type];return t.type==="decl"?n=t.prop.toLowerCase():t.type==="atrule"&&(n=t.name.toLowerCase()),n&&t.append?[i,i+"-"+n,Cr,i+"Exit",i+"Exit-"+n]:n?[i,i+"-"+n,i+"Exit",i+"Exit-"+n]:t.append?[i,Cr,i+"Exit"]:[i,i+"Exit"]}function Wc(t){var n;return t.type==="document"?n=["Document",Cr,"DocumentExit"]:t.type==="root"?n=["Root",Cr,"RootExit"]:n=Mh(t),{eventIndex:0,events:n,iterator:0,node:t,visitorIndex:0,visitors:[]}}function Ks(t){return t[Ye]=!1,t.nodes&&t.nodes.forEach(function(n){return Ks(n)}),t}var Js={},Er=function(){function t(i,e,r){var o=this;this.stringified=!1,this.processed=!1;var s;if((typeof e>"u"?"undefined":T(e))==="object"&&e!==null&&(e.type==="root"||e.type==="document"))s=Ks(e);else if(M(e,t)||M(e,qc))s=Ks(e.root),e.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=e.map);else{var a=Ww;r.syntax&&(a=r.syntax.parse),r.parser&&(a=r.parser),a.parse&&(a=a.parse);try{s=a(e,r)}catch(u){this.processed=!0,this.error=u}s&&!s[Fw]&&zw.rebuild(s)}this.result=new qc(i,s,r),this.helpers=z({},Js,{postcss:Js,result:this.result}),this.plugins=this.processor.plugins.map(function(u){return(typeof u>"u"?"undefined":T(u))==="object"&&u.prepare?z({},u,u.prepare(o.result)):u})}var n=t.prototype;return n.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},n.catch=function(e){return this.async().catch(e)},n.finally=function(e){return this.async().then(e,e)},n.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},n.handleError=function(e,r){var o=this.result.lastPlugin;try{if(r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=o.postcssPlugin,e.setMessage();else if(o.postcssVersion)var s,a,u,c,f}catch(l){console&&console.error&&console.error(l)}return e},n.prepareVisitors=function(){var e=this;this.listeners={};for(var r=function(f,l,h){e.listeners[l]||(e.listeners[l]=[]),e.listeners[l].push([f,h])},o=I(this.plugins),s;!(s=o()).done;){var a=s.value;if((typeof a>"u"?"undefined":T(a))==="object")for(var u in a){if(!Vw[u]&&/^[A-Z]/.test(u))throw new Error("Unknown event "+u+" in "+a.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!Hw[u])if(T(a[u])==="object")for(var c in a[u])c==="*"?r(a,u,a[u][c]):r(a,u+"-"+c.toLowerCase(),a[u][c]);else typeof a[u]=="function"&&r(a,u,a[u])}}this.hasListener=Object.keys(this.listeners).length>0},n.runAsync=function(){var e=this;return Xi(function(){var r,o,s,a,u,c,f,l,h,g,v,m;return Gt(this,function(d){switch(d.label){case 0:e.plugin=0,r=0,d.label=1;case 1:if(!(r<e.plugins.length))return[3,6];if(o=e.plugins[r],s=e.runOnRoot(o),!Fr(s))return[3,5];d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s];case 3:return d.sent(),[3,5];case 4:throw a=d.sent(),e.handleError(a);case 5:return r++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];u=e.result.root,d.label=7;case 7:if(u[Ye])return[3,14];u[Ye]=!0,c=[Wc(u)],d.label=8;case 8:if(!(c.length>0))return[3,13];if(f=e.visitTick(c),!Fr(f))return[3,12];d.label=9;case 9:return d.trys.push([9,11,,12]),[4,f];case 10:return d.sent(),[3,12];case 11:throw l=d.sent(),h=c[c.length-1].node,e.handleError(l,h);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];g=function(){var y,_,b,C,S;return Gt(this,function(O){switch(O.label){case 0:y=m.value,_=y[0],b=y[1],e.result.lastPlugin=_,O.label=1;case 1:return O.trys.push([1,6,,7]),u.type!=="document"?[3,3]:(C=u.nodes.map(function(A){return b(A,e.helpers)}),[4,Promise.all(C)]);case 2:return O.sent(),[3,5];case 3:return[4,b(u,e.helpers)];case 4:O.sent(),O.label=5;case 5:return[3,7];case 6:throw S=O.sent(),e.handleError(S);case 7:return[2]}})},v=I(e.listeners.OnceExit),d.label=15;case 15:return(m=v()).done?[3,18]:[5,va(g())];case 16:d.sent(),d.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},n.runOnRoot=function(e){var r=this;this.result.lastPlugin=e;try{if((typeof e>"u"?"undefined":T(e))==="object"&&e.Once){if(this.result.root.type==="document"){var o=this.result.root.nodes.map(function(s){return e.Once(s,r.helpers)});return Fr(o[0])?Promise.all(o):o}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(s){throw this.handleError(s)}},n.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,r=Bw;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);var o=new Uw(r,this.result.root,this.result.opts),s=o.generate();return this.result.css=s[0],this.result.map=s[1],this.result},n.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=I(this.plugins),r;!(r=e()).done;){var o=r.value,s=this.runOnRoot(o);if(Fr(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var a=this.result.root;!a[Ye];)a[Ye]=!0,this.walkSync(a);if(this.listeners.OnceExit)if(a.type==="document")for(var u=I(a.nodes),c;!(c=u()).done;){var f=c.value;this.visitSync(this.listeners.OnceExit,f)}else this.visitSync(this.listeners.OnceExit,a)}return this.result},n.then=function(e,r){return this.async().then(e,r)},n.toString=function(){return this.css},n.visitSync=function(e,r){for(var o=I(e),s;!(s=o()).done;){var a=s.value,u=a[0],c=a[1];this.result.lastPlugin=u;var f=void 0;try{f=c(r,this.helpers)}catch(l){throw this.handleError(l,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(Fr(f))throw this.getAsyncError()}},n.visitTick=function(e){var r=e[e.length-1],o=r.node,s=r.visitors;if(o.type!=="root"&&o.type!=="document"&&!o.parent){e.pop();return}if(s.length>0&&r.visitorIndex<s.length){var a=s[r.visitorIndex],u=a[0],c=a[1];r.visitorIndex+=1,r.visitorIndex===s.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=u;try{return c(o.toProxy(),this.helpers)}catch(v){throw this.handleError(v,o)}}if(r.iterator!==0){for(var f=r.iterator,l;l=o.nodes[o.indexes[f]];)if(o.indexes[f]+=1,!l[Ye]){l[Ye]=!0,e.push(Wc(l));return}r.iterator=0,delete o.indexes[f]}for(var h=r.events;r.eventIndex<h.length;){var g=h[r.eventIndex];if(r.eventIndex+=1,g===Cr){o.nodes&&o.nodes.length&&(o[Ye]=!0,r.iterator=o.getIterator());return}else if(this.listeners[g]){r.visitors=this.listeners[g];return}}e.pop()},n.walkSync=function(e){var r=this;e[Ye]=!0;for(var o=Mh(e),s=I(o),a;!(a=s()).done;){var u=a.value;if(u===Cr)e.nodes&&e.each(function(f){f[Ye]||r.walkSync(f)});else{var c=this.listeners[u];if(c&&this.visitSync(c,e.toProxy()))return}}},n.warnings=function(){return this.sync().warnings()},ae(t,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),t}();Er.registerPostcss=function(t){Js=t};var Th=Er;Er.default=Er;Gw.registerLazyResult(Er);qw.registerLazyResult(Er);var Yw=ph,Kw=co,Jw=Ya,Xw=ja,Xs=function(){function t(i,e,r){e=e.toString(),this.stringified=!1,this._processor=i,this._css=e,this._opts=r,this._map=void 0;var o,s=Kw;this.result=new Xw(this._processor,o,this._opts),this.result.css=e;var a=this;Object.defineProperty(this.result,"root",{get:function(){return a.root}});var u=new Yw(s,o,this._opts,e);if(u.isMap()){var c=u.generate(),f=c[0],l=c[1];f&&(this.result.css=f),l&&(this.result.map=l)}else u.clearAnnotation(),this.result.css=u.css}var n=t.prototype;return n.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},n.catch=function(e){return this.async().catch(e)},n.finally=function(e){return this.async().then(e,e)},n.sync=function(){if(this.error)throw this.error;return this.result},n.then=function(e,r){return this.async().then(e,r)},n.toString=function(){return this._css},n.warnings=function(){return[]},ae(t,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,r=Jw;try{e=r(this._css,this._opts)}catch(o){this.error=o}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),t}(),Zw=Xs;Xs.default=Xs;var Qw=Zw,eb=Th,tb=Ga,rb=mn,un=function(){function t(i){i===void 0&&(i=[]),this.version="8.4.38",this.plugins=this.normalize(i)}var n=t.prototype;return n.normalize=function(e){for(var r=[],o=I(e),s;!(s=o()).done;){var a=s.value;if(a.postcss===!0?a=a():a.postcss&&(a=a.postcss),(typeof a>"u"?"undefined":T(a))==="object"&&Array.isArray(a.plugins))r=r.concat(a.plugins);else if((typeof a>"u"?"undefined":T(a))==="object"&&a.postcssPlugin)r.push(a);else if(typeof a=="function")r.push(a);else if(!((typeof a>"u"?"undefined":T(a))==="object"&&(a.parse||a.stringify)))throw new Error(a+" is not a PostCSS plugin")}return r},n.process=function(e,r){return r===void 0&&(r={}),!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new Qw(this,e,r):new eb(this,e,r)},n.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},t}(),nb=un;un.default=un;rb.registerProcessor(un);tb.registerProcessor(un);var ib=lo,ob=uh,sb=po,ab=Va,ub=ho,cb=mn,fb=Ha;function cn(t,n){if(Array.isArray(t))return t.map(function(l){return cn(l)});var i=t.inputs,e=Wt(t,["inputs"]);if(i){n=[];for(var r=I(i),o;!(o=r()).done;){var s=o.value,a=z({},s,{__proto__:ub.prototype});a.map&&(a.map=z({},a.map,{__proto__:ob.prototype})),n.push(a)}}if(e.nodes&&(e.nodes=t.nodes.map(function(l){return cn(l,n)})),e.source){var u=e.source,c=u.inputId,f=Wt(u,["inputId"]);e.source=f,c!=null&&(e.source.input=n[c])}if(e.type==="root")return new cb(e);if(e.type==="decl")return new ib(e);if(e.type==="rule")return new fb(e);if(e.type==="comment")return new sb(e);if(e.type==="atrule")return new ab(e);throw new Error("Unknown node type: "+t.type)}var lb=cn;cn.default=cn;var hb=za,$h=lo,pb=Th,db=Zt,Ka=nb,vb=co,gb=lb,Ph=Ga,mb=Eh,Nh=po,Lh=Va,yb=ja,_b=ho,wb=Ya,bb=Ah,Dh=Ha,Fh=mn,Sb=fo;function Q(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return n.length===1&&Array.isArray(n[0])&&(n=n[0]),new Ka(n)}Q.plugin=function(n,i){var e=!1;function r(){for(var s=arguments.length,a=new Array(s),u=0;u<s;u++)a[u]=arguments[u];console&&console.warn&&!e&&(e=!0,console.warn(n+`: postcss.plugin was deprecated. Migration guide: 77https://evilmartians.com/chronicles/postcss-8-plugin-migration`),dr.LANG&&dr.LANG.startsWith("cn")&&console.warn(n+`: éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå: 78https://www.w3ctech.com/topic/2226`));var c=i.apply(void 0,[].concat(a));return c.postcssPlugin=n,c.postcssVersion=new Ka().version,c}var o;return Object.defineProperty(r,"postcss",{get:function(){return o||(o=r()),o}}),r.process=function(s,a,u){return Q([r(u)]).process(s,a)},r};Q.stringify=vb;Q.parse=wb;Q.fromJSON=gb;Q.list=bb;Q.comment=function(t){return new Nh(t)};Q.atRule=function(t){return new Lh(t)};Q.decl=function(t){return new $h(t)};Q.rule=function(t){return new Dh(t)};Q.root=function(t){return new Fh(t)};Q.document=function(t){return new Ph(t)};Q.CssSyntaxError=hb;Q.Declaration=$h;Q.Container=db;Q.Processor=Ka;Q.Document=Ph;Q.Comment=Nh;Q.Warning=mb;Q.AtRule=Lh;Q.Result=yb;Q.Input=_b;Q.Rule=Dh;Q.Root=Fh;Q.Node=Sb;pb.registerPostcss(Q);var Cb=Q;Q.default=Q;var pe=L_(Cb);pe.stringify;pe.fromJSON;pe.plugin;pe.parse;pe.list;pe.document;pe.comment;pe.atRule;pe.rule;pe.decl;pe.root;pe.CssSyntaxError;pe.Declaration;pe.Container;pe.Processor;pe.Document;pe.Comment;pe.Warning;pe.AtRule;pe.Result;pe.Input;pe.Rule;pe.Root;pe.Node;var Eb=Object.defineProperty,Ib=function(t,n,i){return n in t?Eb(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i},ii=function(t,n,i){return Ib(t,(typeof n>"u"?"undefined":T(n))!=="symbol"?n+"":n,i)};function Ob(t,n,i){try{if(!(n in t))return function(){};var e=t[n],r=i(e);return typeof r=="function"&&(r.prototype=r.prototype||{},Object.defineProperties(r,{__rrweb_original__:{enumerable:!1,value:e}})),t[n]=r,function(){t[n]=e}}catch{return function(){}}}var ir=function(){function t(i){ii(this,"fileName"),ii(this,"functionName"),ii(this,"lineNumber"),ii(this,"columnNumber"),this.fileName=i.fileName||"",this.functionName=i.functionName||"",this.lineNumber=i.lineNumber,this.columnNumber=i.columnNumber}var n=t.prototype;return n.toString=function(){var e=this.lineNumber||"",r=this.columnNumber||"";return this.functionName?this.functionName+" ("+this.fileName+":"+e+":"+r+")":this.fileName+":"+e+":"+r},t}(),xb=/(^|@)\S+:\d+/,Gc=/^\s*at .*(\S+:\d+|\(native\))/m,Rb=/^(eval@)?(\[native code])?$/,Go={parse:function(n){return n?typeof n.stacktrace<"u"||typeof n["opera#sourceloc"]<"u"?this.parseOpera(n):n.stack&&n.stack.match(Gc)?this.parseV8OrIE(n):n.stack?this.parseFFOrSafari(n):(console.warn("[console-record-plugin]: Failed to parse error object:",n),[]):[]},extractLocation:function(n){if(n.indexOf(":")===-1)return[n];var i=/(.+?)(?::(\d+))?(?::(\d+))?$/,e=i.exec(n.replace(/[()]/g,""));if(!e)throw new Error("Cannot parse given url: "+n);return[e[1],e[2]||void 0,e[3]||void 0]},parseV8OrIE:function(n){var i=n.stack.split(` 79`).filter(function(e){return!!e.match(Gc)},this);return i.map(function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var r=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),o=r.match(/ (\((.+):(\d+):(\d+)\)$)/);r=o?r.replace(o[0],""):r;var s=r.split(/\s+/).slice(1),a=this.extractLocation(o?o[1]:s.pop()),u=s.join(" ")||void 0,c=["eval","<anonymous>"].indexOf(a[0])>-1?void 0:a[0];return new ir({functionName:u,fileName:c,lineNumber:a[1],columnNumber:a[2]})},this)},parseFFOrSafari:function(n){var i=n.stack.split(` 80`).filter(function(e){return!e.match(Rb)},this);return i.map(function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),e.indexOf("@")===-1&&e.indexOf(":")===-1)return new ir({functionName:e});var r=/((.*".+"[^@]*)?[^@]*)(?:@)/,o=e.match(r),s=o&&o[1]?o[1]:void 0,a=this.extractLocation(e.replace(r,""));return new ir({functionName:s,fileName:a[0],lineNumber:a[1],columnNumber:a[2]})},this)},parseOpera:function(n){return!n.stacktrace||n.message.indexOf(` 81`)>-1&&n.message.split(` 82`).length>n.stacktrace.split(` 83`).length?this.parseOpera9(n):n.stack?this.parseOpera11(n):this.parseOpera10(n)},parseOpera9:function(n){for(var i=/Line (\d+).*script (?:in )?(\S+)/i,e=n.message.split(` 84`),r=[],o=2,s=e.length;o<s;o+=2){var a=i.exec(e[o]);a&&r.push(new ir({fileName:a[2],lineNumber:parseFloat(a[1])}))}return r},parseOpera10:function(n){for(var i=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,e=n.stacktrace.split(` 85`),r=[],o=0,s=e.length;o<s;o+=2){var a=i.exec(e[o]);a&&r.push(new ir({functionName:a[3]||void 0,fileName:a[2],lineNumber:parseFloat(a[1])}))}return r},parseOpera11:function(n){var i=n.stack.split(` 86`).filter(function(e){return!!e.match(xb)&&!e.match(/^Error created at/)},this);return i.map(function(e){var r=e.split("@"),o=this.extractLocation(r.pop()),s=r.shift()||"",a=s.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;return new ir({functionName:a,fileName:o[0],lineNumber:o[1],columnNumber:o[2]})},this)}};function Ab(t){if(!t||!t.outerHTML)return"";for(var n="";t.parentElement;){var i=t.localName;if(!i)break;i=i.toLowerCase();var e=t.parentElement,r=[];if(e.children&&e.children.length>0)for(var o=0;o<e.children.length;o++){var s=e.children[o];s.localName&&s.localName.toLowerCase&&s.localName.toLowerCase()===i&&r.push(s)}r.length>1&&(i+=":eq("+r.indexOf(t)+")"),n=i+(n?">"+n:""),t=e}return n}function Zs(t){return Object.prototype.toString.call(t)==="[object Object]"}function Uh(t,n){if(n===0)return!0;for(var i=Object.keys(t),e=I(i),r;!(r=e()).done;){var o=r.value;if(Zs(t[o])&&Uh(t[o],n-1))return!0}return!1}function or(t,n){var i={numOfKeysLimit:50,depthOfLimit:4};Object.assign(i,n);var e=[],r=[];return JSON.stringify(t,function(a,u){if(e.length>0){var c=e.indexOf(this);~c?e.splice(c+1):e.push(this),~c?r.splice(c,1/0,a):r.push(a),~e.indexOf(u)&&(e[0]===u?u="[Circular ~]":u="[Circular ~."+r.slice(0,e.indexOf(u)).join(".")+"]")}else e.push(u);if(u===null)return u;if(u===void 0)return"undefined";if(o(u))return s(u);if((typeof u>"u"?"undefined":T(u))==="bigint")return u.toString()+"n";if(M(u,Event)){var f={};for(var l in u){var h=u[l];Array.isArray(h)?f[l]=Ab(h.length?h[0]:null):f[l]=h}return f}else{if(M(u,Node))return M(u,HTMLElement)?u?u.outerHTML:"":u.nodeName;if(M(u,Error))return u.stack?u.stack+` 87End of stack for Error object`:u.name+": "+u.message}return u});function o(a){return!!(Zs(a)&&Object.keys(a).length>i.numOfKeysLimit||typeof a=="function"||Zs(a)&&Uh(a,i.depthOfLimit))}function s(a){var u=a.toString();return i.stringLengthLimit&&u.length>i.stringLengthLimit&&(u=""+u.slice(0,i.stringLengthLimit)+"..."),u}}var jc={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],lengthThreshold:1e3,logger:"console"};function kb(t,n,i){var e=i?Object.assign({},jc,i):jc,r=e.logger;if(!r)return function(){};var o;typeof r=="string"?o=n[r]:o=r;var s=0,a=!1,u=[];if(e.level.includes("error")){var c=function(m){var d=m.message,y=m.error,_=Go.parse(y).map(function(C){return C.toString()}),b=[or(d,e.stringifyOptions)];t({level:"error",trace:_,payload:b})};n.addEventListener("error",c),u.push(function(){n.removeEventListener("error",c)});var f=function(m){var d,y;M(m.reason,Error)?(d=m.reason,y=[or("Uncaught (in promise) "+d.name+": "+d.message,e.stringifyOptions)]):(d=new Error,y=[or("Uncaught (in promise)",e.stringifyOptions),or(m.reason,e.stringifyOptions)]);var _=Go.parse(d).map(function(b){return b.toString()});t({level:"error",trace:_,payload:y})};n.addEventListener("unhandledrejection",f),u.push(function(){n.removeEventListener("unhandledrejection",f)})}for(var l=I(e.level),h;!(h=l()).done;){var g=h.value;u.push(v(o,g))}return function(){u.forEach(function(m){return m()})};function v(m,d){var y=this;return m[d]?Ob(m,d,function(_){var b=y;return function(){for(var C=arguments.length,S=new Array(C),O=0;O<C;O++)S[O]=arguments[O];if(_.apply(b,S),!(d==="assert"&&S[0])&&!a){a=!0;try{var A=Go.parse(new Error).map(function(q){return q.toString()}).splice(1),R=d==="assert"?S.slice(1):S,P=R.map(function(q){return or(q,e.stringifyOptions)});s++,s<e.lengthThreshold?t({level:d,trace:A,payload:P}):s===e.lengthThreshold&&t({level:"warn",trace:[],payload:[or("The number of log records reached the threshold.")]})}catch(q){_.apply(void 0,[].concat(["rrweb logger error:",q],S))}finally{a=!1}}}}):function(){}}}var Mb="rrweb/console@1",Tb=function(t){return{name:Mb,observer:kb,options:t}},Vc=E.setImmediate,wt,Qs,ea,Bh=Object.prototype.toString,$b=typeof Vc<"u"?function(n){return Vc(n)}:setTimeout;try{Object.defineProperty({},"x",{}),wt=function(n,i,e,r){return Object.defineProperty(n,i,{value:e,writable:!0,configurable:r!==!1})}}catch{wt=function(i,e,r){return i[e]=r,i}}ea=function(){var n,i,e;function r(o,s){this.fn=o,this.self=s,this.next=void 0}return{add:function(s,a){e=new r(s,a),i?i.next=e:n=e,i=e,e=void 0},drain:function(){var s=n;for(n=i=Qs=void 0;s;)s.fn.call(s.self),s=s.next}}}();function Ni(t,n){ea.add(t,n),Qs||(Qs=$b(ea.drain))}function zh(t){var n,i=typeof t;return t!==null&&(i==="object"||i==="function")&&(n=t.then),typeof n=="function"?n:!1}function Ja(){for(var t=0;t<this.chain.length;t++)Pb(this,this.state===1?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function Pb(t,n,i){var e,r;try{n===!1?i.reject(t.msg):(n===!0?e=t.msg:e=n.call(void 0,t.msg),e===i.promise?i.reject(TypeError("Promise-chain cycle")):(r=zh(e))?r.call(e,i.resolve,i.reject):i.resolve(e))}catch(o){i.reject(o)}}function qh(t){var n,i=this;if(!i.triggered){i.triggered=!0,i.def&&(i=i.def);try{(n=zh(t))?Ni(function(){var e=new Hc(i);try{n.call(t,function(){qh.apply(e,arguments)},function(){Wr.apply(e,arguments)})}catch(r){Wr.call(e,r)}}):(i.msg=t,i.state=1,i.chain.length>0&&Ni(Ja,i))}catch(e){Wr.call(new Hc(i),e)}}}function Wr(t){var n=this;n.triggered||(n.triggered=!0,n.def&&(n=n.def),n.msg=t,n.state=2,n.chain.length>0&&Ni(Ja,n))}function Wh(t,n,i,e){for(var r=0;r<n.length;r++)(function(s){t.resolve(n[s]).then(function(u){i(s,u)},e)})(r)}function Hc(t){this.def=t,this.triggered=!1}function Nb(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function At(t){if(typeof t!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var n=new Nb(this);this.then=function(e,r){var o={success:typeof e=="function"?e:!0,failure:typeof r=="function"?r:!1};return o.promise=new this.constructor(function(a,u){if(typeof a!="function"||typeof u!="function")throw TypeError("Not a function");o.resolve=a,o.reject=u}),n.chain.push(o),n.state!==0&&Ni(Ja,n),o.promise},this.catch=function(e){return this.then(void 0,e)};try{t.call(void 0,function(e){qh.call(n,e)},function(e){Wr.call(n,e)})}catch(i){Wr.call(n,i)}}var Gh=wt({},"constructor",At,!1);At.prototype=Gh;wt(Gh,"__NPO__",0,!1);wt(At,"resolve",function(n){var i=this;return n&&typeof n=="object"&&n.__NPO__===1?n:new i(function(r,o){if(typeof r!="function"||typeof o!="function")throw TypeError("Not a function");r(n)})});wt(At,"reject",function(n){return new this(function(e,r){if(typeof e!="function"||typeof r!="function")throw TypeError("Not a function");r(n)})});wt(At,"all",function(n){var i=this;return Bh.call(n)!=="[object Array]"?i.reject(TypeError("Not an array")):n.length===0?i.resolve([]):new i(function(r,o){if(typeof r!="function"||typeof o!="function")throw TypeError("Not a function");var s=n.length,a=Array(s),u=0;Wh(i,n,function(f,l){a[f]=l,++u===s&&r(a)},o)})});wt(At,"race",function(n){var i=this;return Bh.call(n)!=="[object Array]"?i.reject(TypeError("Not an array")):new i(function(r,o){if(typeof r!="function"||typeof o!="function")throw TypeError("Not a function");Wh(i,n,function(a,u){r(u)},o)})});var U;typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1?U=Promise:U=At;var Gr=24*60*60*1e3,jo=8*1e3,vo=Array.prototype,Lb=Function.prototype,jh=Object.prototype,mt=vo.slice,yn=jh.toString,go=jh.hasOwnProperty,Se=E.console,ot=E.navigator,D=E.document,Ur=E.opera,Yc=E.screen,Ke=ot.userAgent,Vo=Lb.bind,Kc=vo.forEach,Jc=vo.indexOf,Xc=vo.map,Db=Array.isArray,ta={},p={trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},F={log:function(){if(Ne.DEBUG&&!p.isUndefined(Se)&&Se)try{Se.log.apply(Se,arguments)}catch{p.each(arguments,function(n){Se.log(n)})}},warn:function(){if(Ne.DEBUG&&!p.isUndefined(Se)&&Se){var t=["Mixpanel warning:"].concat(p.toArray(arguments));try{Se.warn.apply(Se,t)}catch{p.each(t,function(i){Se.warn(i)})}}},error:function(){if(Ne.DEBUG&&!p.isUndefined(Se)&&Se){var t=["Mixpanel error:"].concat(p.toArray(arguments));try{Se.error.apply(Se,t)}catch{p.each(t,function(i){Se.error(i)})}}},critical:function(){if(!p.isUndefined(Se)&&Se){var t=["Mixpanel error:"].concat(p.toArray(arguments));try{Se.error.apply(Se,t)}catch{p.each(t,function(i){Se.error(i)})}}}},Ho=function(t,n){return function(){return arguments[0]="["+n+"] "+arguments[0],t.apply(F,arguments)}},lt=function(t){return{log:Ho(F.log,t),error:Ho(F.error,t),critical:Ho(F.critical,t)}},Ir=function(t){return function(){try{return t.apply(this,arguments)}catch(n){F.critical("Implementation error. Please turn on debug and contact [email protected]."),Ne.DEBUG&&F.critical(n)}}},Xa=function(t){var n=t.prototype;for(var i in n)typeof n[i]=="function"&&(n[i]=Ir(n[i]))};p.bind=function(t,n){var i,e;if(Vo&&t.bind===Vo)return Vo.apply(t,mt.call(arguments,1));if(!p.isFunction(t))throw new TypeError;return i=mt.call(arguments,2),e=function(){if(!(this instanceof e))return t.apply(n,i.concat(mt.call(arguments)));var r={};r.prototype=t.prototype;var o=new r;r.prototype=null;var s=t.apply(o,i.concat(mt.call(arguments)));return Object(s)===s?s:o},e};p.each=function(t,n,i){if(t!=null){if(Kc&&t.forEach===Kc)t.forEach(n,i);else if(t.length===+t.length){for(var e=0,r=t.length;e<r;e++)if(e in t&&n.call(i,t[e],e,t)===ta)return}else for(var o in t)if(go.call(t,o)&&n.call(i,t[o],o,t)===ta)return}};p.extend=function(t){return p.each(mt.call(arguments,1),function(n){for(var i in n)n[i]!==void 0&&(t[i]=n[i])}),t};p.isArray=Db||function(t){return yn.call(t)==="[object Array]"};p.isFunction=function(t){return typeof t=="function"};p.isArguments=function(t){return!!(t&&go.call(t,"callee"))};p.toArray=function(t){return t?t.toArray?t.toArray():p.isArray(t)||p.isArguments(t)?mt.call(t):p.values(t):[]};p.map=function(t,n,i){if(Xc&&t.map===Xc)return t.map(n,i);var e=[];return p.each(t,function(r){e.push(n.call(i,r))}),e};p.keys=function(t){var n=[];return t===null||p.each(t,function(i,e){n[n.length]=e}),n};p.values=function(t){var n=[];return t===null||p.each(t,function(i){n[n.length]=i}),n};p.include=function(t,n){var i=!1;return t===null?i:Jc&&t.indexOf===Jc?t.indexOf(n)!=-1:(p.each(t,function(e){if(i||(i=e===n))return ta}),i)};p.includes=function(t,n){return t.indexOf(n)!==-1};p.inherit=function(t,n){return t.prototype=new n,t.prototype.constructor=t,t.superclass=n.prototype,t};p.isObject=function(t){return t===Object(t)&&!p.isArray(t)};p.isEmptyObject=function(t){if(p.isObject(t)){for(var n in t)if(go.call(t,n))return!1;return!0}return!1};p.isUndefined=function(t){return t===void 0};p.isString=function(t){return yn.call(t)=="[object String]"};p.isDate=function(t){return yn.call(t)=="[object Date]"};p.isNumber=function(t){return yn.call(t)=="[object Number]"};p.isElement=function(t){return!!(t&&t.nodeType===1)};p.encodeDates=function(t){return p.each(t,function(n,i){p.isDate(n)?t[i]=p.formatDate(n):p.isObject(n)&&(t[i]=p.encodeDates(n))}),t};p.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()};p.formatDate=function(t){function n(i){return i<10?"0"+i:i}return t.getUTCFullYear()+"-"+n(t.getUTCMonth()+1)+"-"+n(t.getUTCDate())+"T"+n(t.getUTCHours())+":"+n(t.getUTCMinutes())+":"+n(t.getUTCSeconds())};p.strip_empty_properties=function(t){var n={};return p.each(t,function(i,e){p.isString(i)&&i.length>0&&(n[e]=i)}),n};p.truncate=function(t,n){var i;return typeof t=="string"?i=t.slice(0,n):p.isArray(t)?(i=[],p.each(t,function(e){i.push(p.truncate(e,n))})):p.isObject(t)?(i={},p.each(t,function(e,r){i[r]=p.truncate(e,n)})):i=t,i};p.JSONEncode=function(){return function(t){var n=t,i=function(r){var o=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,s={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return o.lastIndex=0,o.test(r)?'"'+r.replace(o,function(a){var u=s[a];return typeof u=="string"?u:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+r+'"'},e=function(r,o){var s="",a=" ",u=0,c="",f="",l=0,h=s,g=[],v=o[r];switch(v&&typeof v=="object"&&typeof v.toJSON=="function"&&(v=v.toJSON(r)),typeof v){case"string":return i(v);case"number":return isFinite(v)?String(v):"null";case"boolean":case"null":return String(v);case"object":if(!v)return"null";if(s+=a,g=[],yn.apply(v)==="[object Array]"){for(l=v.length,u=0;u<l;u+=1)g[u]=e(u,v)||"null";return f=g.length===0?"[]":s?`[ 88`+s+g.join(`, 89`+s)+` 90`+h+"]":"["+g.join(",")+"]",s=h,f}for(c in v)go.call(v,c)&&(f=e(c,v),f&&g.push(i(c)+(s?": ":":")+f));return f=g.length===0?"{}":s?"{"+g.join(",")+h+"}":"{"+g.join(",")+"}",s=h,f}};return e("",{"":n})}}();p.JSONDecode=function(){var t,n,i={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:` 91`,r:"\r",t:" "},e,r=function(g){var v=new SyntaxError(g);throw v.at=t,v.text=e,v},o=function(g){return g&&g!==n&&r("Expected '"+g+"' instead of '"+n+"'"),n=e.charAt(t),t+=1,n},s=function(){var g,v="";for(n==="-"&&(v="-",o("-"));n>="0"&&n<="9";)v+=n,o();if(n===".")for(v+=".";o()&&n>="0"&&n<="9";)v+=n;if(n==="e"||n==="E")for(v+=n,o(),(n==="-"||n==="+")&&(v+=n,o());n>="0"&&n<="9";)v+=n,o();if(g=+v,!isFinite(g))r("Bad number");else return g},a=function(){var g,v,m="",d;if(n==='"')for(;o();){if(n==='"')return o(),m;if(n==="\\")if(o(),n==="u"){for(d=0,v=0;v<4&&(g=parseInt(o(),16),!!isFinite(g));v+=1)d=d*16+g;m+=String.fromCharCode(d)}else if(typeof i[n]=="string")m+=i[n];else break;else m+=n}r("Bad string")},u=function(){for(;n&&n<=" ";)o()},c=function(){switch(n){case"t":return o("t"),o("r"),o("u"),o("e"),!0;case"f":return o("f"),o("a"),o("l"),o("s"),o("e"),!1;case"n":return o("n"),o("u"),o("l"),o("l"),null}r('Unexpected "'+n+'"')},f,l=function(){var g=[];if(n==="["){if(o("["),u(),n==="]")return o("]"),g;for(;n;){if(g.push(f()),u(),n==="]")return o("]"),g;o(","),u()}}r("Bad array")},h=function(){var g,v={};if(n==="{"){if(o("{"),u(),n==="}")return o("}"),v;for(;n;){if(g=a(),u(),o(":"),Object.hasOwnProperty.call(v,g)&&r('Duplicate key "'+g+'"'),v[g]=f(),u(),n==="}")return o("}"),v;o(","),u()}}r("Bad object")};return f=function(){switch(u(),n){case"{":return h();case"[":return l();case'"':return a();case"-":return s();default:return n>="0"&&n<="9"?s():c()}},function(g){var v;return e=g,t=0,n=" ",v=f(),u(),n&&r("Syntax error"),v}}();p.base64Encode=function(t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i,e,r,o,s,a,u,c,f=0,l=0,h="",g=[];if(!t)return t;t=p.utf8Encode(t);do i=t.charCodeAt(f++),e=t.charCodeAt(f++),r=t.charCodeAt(f++),c=i<<16|e<<8|r,o=c>>18&63,s=c>>12&63,a=c>>6&63,u=c&63,g[l++]=n.charAt(o)+n.charAt(s)+n.charAt(a)+n.charAt(u);while(f<t.length);switch(h=g.join(""),t.length%3){case 1:h=h.slice(0,-2)+"==";break;case 2:h=h.slice(0,-1)+"=";break}return h};p.utf8Encode=function(t){t=(t+"").replace(/\r\n/g,` 92`).replace(/\r/g,` 93`);var n="",i,e,r=0,o;for(i=e=0,r=t.length,o=0;o<r;o++){var s=t.charCodeAt(o),a=null;s<128?e++:s>127&&s<2048?a=String.fromCharCode(s>>6|192,s&63|128):a=String.fromCharCode(s>>12|224,s>>6&63|128,s&63|128),a!==null&&(e>i&&(n+=t.substring(i,e)),n+=a,i=e=o+1)}return e>i&&(n+=t.substring(i,t.length)),n};p.UUID=function(){try{return E.crypto.randomUUID()}catch{for(var t=new Array(36),n=0;n<36;n++)t[n]=Math.floor(Math.random()*16);return t[14]=4,t[19]=t[19]&=-5,t[19]=t[19]|=8,t[8]=t[13]=t[18]=t[23]="-",p.map(t,function(e){return e.toString(16)}).join("")}};var Zc=["ahrefsbot","ahrefssiteaudit","amazonbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandex","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];p.isBlockedUA=function(t){var n;for(t=t.toLowerCase(),n=0;n<Zc.length;n++)if(t.indexOf(Zc[n])!==-1)return!0;return!1};p.HTTPBuildQuery=function(t,n){var i,e,r=[];return p.isUndefined(n)&&(n="&"),p.each(t,function(o,s){i=encodeURIComponent(o.toString()),e=encodeURIComponent(s),r[r.length]=e+"="+i}),r.join(n)};p.getQueryParam=function(t,n){n=n.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var i="[\\?&]"+n+"=([^&#]*)",e=new RegExp(i),r=e.exec(t);if(r===null||r&&typeof r[1]!="string"&&r[1].length)return"";var o=r[1];try{o=decodeURIComponent(o)}catch{F.error("Skipping decoding for malformed query param: "+o)}return o.replace(/\+/g," ")};p.cookie={get:function(t){for(var n=t+"=",i=D.cookie.split(";"),e=0;e<i.length;e++){for(var r=i[e];r.charAt(0)==" ";)r=r.substring(1,r.length);if(r.indexOf(n)===0)return decodeURIComponent(r.substring(n.length,r.length))}return null},parse:function(t){var n;try{n=p.JSONDecode(p.cookie.get(t))||{}}catch{}return n},set_seconds:function(t,n,i,e,r,o,s){var a="",u="",c="";if(s)a="; domain="+s;else if(e){var f=Qc(D.location.hostname);a=f?"; domain=."+f:""}if(i){var l=new Date;l.setTime(l.getTime()+i*1e3),u="; expires="+l.toGMTString()}o&&(r=!0,c="; SameSite=None"),r&&(c+="; secure"),D.cookie=t+"="+encodeURIComponent(n)+u+"; path=/"+a+c},set:function(t,n,i,e,r,o,s){var a="",u="",c="";if(s)a="; domain="+s;else if(e){var f=Qc(D.location.hostname);a=f?"; domain=."+f:""}if(i){var l=new Date;l.setTime(l.getTime()+i*24*60*60*1e3),u="; expires="+l.toGMTString()}o&&(r=!0,c="; SameSite=None"),r&&(c+="; secure");var h=t+"="+encodeURIComponent(n)+u+"; path=/"+a+c;return D.cookie=h,h},remove:function(t,n,i){p.cookie.set(t,"",-1,n,!1,!1,i)}};var Vh=function(t){var n=!0;try{var i="__mplss_"+Za(8),e="xyz";t.setItem(i,e),t.getItem(i)!==e&&(n=!1),t.removeItem(i)}catch{n=!1}return n},Yo=null,fn=function(t,n){return Yo!==null&&!n?Yo:Yo=Vh(t||E.localStorage)},Ko=null,Fb=function(t,n){return Ko!==null&&!n?Ko:Ko=Vh(t||E.sessionStorage)};function Hh(t,n,i){var e=function(r){F.error(n+" error: "+r)};return{is_supported:function(r){var o=i(t,r);return o||F.error(n+" unsupported"),o},error:e,get:function(r){try{return t.getItem(r)}catch(o){e(o)}return null},parse:function(r){try{return p.JSONDecode(t.getItem(r))||{}}catch{}return null},set:function(r,o){try{t.setItem(r,o)}catch(s){e(s)}},remove:function(r){try{t.removeItem(r)}catch(o){e(o)}}}}var Yh=null,Kh=null;try{Yh=E.localStorage,Kh=E.sessionStorage}catch{}p.localStorage=Hh(Yh,"localStorage",fn);p.sessionStorage=Hh(Kh,"sessionStorage",Fb);p.register_event=function(){var t=function(e,r,o,s,a){if(!e){F.error("No valid element provided to register_event");return}if(e.addEventListener&&!s)e.addEventListener(r,o,!!a);else{var u="on"+r,c=e[u];e[u]=n(e,o,c)}};function n(e,r,o){var s=function(a){if(a=a||i(E.event),!!a){var u=!0,c,f;return p.isFunction(o)&&(c=o(a)),f=r.call(e,a),(c===!1||f===!1)&&(u=!1),u}};return s}function i(e){return e&&(e.preventDefault=i.preventDefault,e.stopPropagation=i.stopPropagation),e}return i.preventDefault=function(){this.returnValue=!1},i.stopPropagation=function(){this.cancelBubble=!0},t}();var Ub=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');p.dom_query=function(){function t(r){return r.all?r.all:r.getElementsByTagName("*")}var n=/[\t\r\n]/g;function i(r,o){var s=" "+o+" ";return(" "+r.className+" ").replace(n," ").indexOf(s)>=0}function e(r){if(!D.getElementsByTagName)return[];var o=r.split(" "),s,a,u,c,f,l,h,g,v,m,d=[D];for(l=0;l<o.length;l++){if(s=o[l].replace(/^\s+/,"").replace(/\s+$/,""),s.indexOf("#")>-1){a=s.split("#"),u=a[0];var y=a[1],_=D.getElementById(y);if(!_||u&&_.nodeName.toLowerCase()!=u)return[];d=[_];continue}if(s.indexOf(".")>-1){a=s.split("."),u=a[0];var b=a[1];for(u||(u="*"),c=[],f=0,h=0;h<d.length;h++)for(u=="*"?v=t(d[h]):v=d[h].getElementsByTagName(u),g=0;g<v.length;g++)c[f++]=v[g];for(d=[],m=0,h=0;h<c.length;h++)c[h].className&&p.isString(c[h].className)&&i(c[h],b)&&(d[m++]=c[h]);continue}var C=s.match(Ub);if(C){u=C[1];var S=C[2],O=C[3],A=C[4];for(u||(u="*"),c=[],f=0,h=0;h<d.length;h++)for(u=="*"?v=t(d[h]):v=d[h].getElementsByTagName(u),g=0;g<v.length;g++)c[f++]=v[g];d=[],m=0;var R;switch(O){case"=":R=function(P){return P.getAttribute(S)==A};break;case"~":R=function(P){return P.getAttribute(S).match(new RegExp("\\b"+A+"\\b"))};break;case"|":R=function(P){return P.getAttribute(S).match(new RegExp("^"+A+"-?"))};break;case"^":R=function(P){return P.getAttribute(S).indexOf(A)===0};break;case"$":R=function(P){return P.getAttribute(S).lastIndexOf(A)==P.getAttribute(S).length-A.length};break;case"*":R=function(P){return P.getAttribute(S).indexOf(A)>-1};break;default:R=function(P){return P.getAttribute(S)}}for(d=[],m=0,h=0;h<c.length;h++)R(c[h])&&(d[m++]=c[h]);continue}for(u=s,c=[],f=0,h=0;h<d.length;h++)for(v=d[h].getElementsByTagName(u),g=0;g<v.length;g++)c[f++]=v[g];d=c}return d}return function(r){return p.isElement(r)?[r]:p.isObject(r)&&!p.isUndefined(r.length)?r:e.call(this,r)}}();var Bb=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],zb=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];p.info={campaignParams:function(t){var n="",i={};return p.each(Bb,function(e){n=p.getQueryParam(D.URL,e),n.length?i[e]=n:t!==void 0&&(i[e]=t)}),i},clickParams:function(){var t="",n={};return p.each(zb,function(i){t=p.getQueryParam(D.URL,i),t.length&&(n[i]=t)}),n},marketingParams:function(){return p.extend(p.info.campaignParams(),p.info.clickParams())},searchEngine:function(t){return t.search("https?://(.*)google.([^/?]*)")===0?"google":t.search("https?://(.*)bing.com")===0?"bing":t.search("https?://(.*)yahoo.com")===0?"yahoo":t.search("https?://(.*)duckduckgo.com")===0?"duckduckgo":null},searchInfo:function(t){var n=p.info.searchEngine(t),i=n!="yahoo"?"q":"p",e={};if(n!==null){e.$search_engine=n;var r=p.getQueryParam(t,i);r.length&&(e.mp_keyword=r)}return e},browser:function(t,n,i){return n=n||"",i||p.includes(t," OPR/")?p.includes(t,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":p.includes(t,"IEMobile")||p.includes(t,"WPDesktop")?"Internet Explorer Mobile":p.includes(t,"SamsungBrowser/")?"Samsung Internet":p.includes(t,"Edge")||p.includes(t,"Edg/")?"Microsoft Edge":p.includes(t,"FBIOS")?"Facebook Mobile":p.includes(t,"Whale/")?"Whale Browser":p.includes(t,"Chrome")?"Chrome":p.includes(t,"CriOS")?"Chrome iOS":p.includes(t,"UCWEB")||p.includes(t,"UCBrowser")?"UC Browser":p.includes(t,"FxiOS")?"Firefox iOS":p.includes(n,"Apple")?p.includes(t,"Mobile")?"Mobile Safari":"Safari":p.includes(t,"Android")?"Android Mobile":p.includes(t,"Konqueror")?"Konqueror":p.includes(t,"Firefox")?"Firefox":p.includes(t,"MSIE")||p.includes(t,"Trident/")?"Internet Explorer":p.includes(t,"Gecko")?"Mozilla":""},browserVersion:function(t,n,i){var e=p.info.browser(t,n,i),r={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/,"Whale Browser":/Whale\/(\d+(\.\d+)?)/},o=r[e];if(o===void 0)return null;var s=t.match(o);return s?parseFloat(s[s.length-2]):null},os:function(){var t=Ke;return/Windows/i.test(t)?/Phone/.test(t)||/WPDesktop/.test(t)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(t)?"iOS":/Android/.test(t)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Mac/i.test(t)?"Mac OS X":/Linux/.test(t)?"Linux":/CrOS/.test(t)?"Chrome OS":""},device:function(t){return/Windows Phone/i.test(t)||/WPDesktop/.test(t)?"Windows Phone":/iPad/.test(t)?"iPad":/iPod/.test(t)?"iPod Touch":/iPhone/.test(t)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Android/.test(t)?"Android":""},referringDomain:function(t){var n=t.split("/");return n.length>=3?n[2]:""},currentUrl:function(){return E.location.href},properties:function(t){return typeof t!="object"&&(t={}),p.extend(p.strip_empty_properties({$os:p.info.os(),$browser:p.info.browser(Ke,ot.vendor,Ur),$referrer:D.referrer,$referring_domain:p.info.referringDomain(D.referrer),$device:p.info.device(Ke)}),{$current_url:p.info.currentUrl(),$browser_version:p.info.browserVersion(Ke,ot.vendor,Ur),$screen_height:Yc.height,$screen_width:Yc.width,mp_lib:"web",$lib_version:Ne.LIB_VERSION,$insert_id:Za(),time:p.timestamp()/1e3},p.strip_empty_properties(t))},people_properties:function(){return p.extend(p.strip_empty_properties({$os:p.info.os(),$browser:p.info.browser(Ke,ot.vendor,Ur)}),{$browser_version:p.info.browserVersion(Ke,ot.vendor,Ur)})},mpPageViewProperties:function(){return p.strip_empty_properties({current_page_title:D.title,current_domain:E.location.hostname,current_url_path:E.location.pathname,current_url_protocol:E.location.protocol,current_url_search:E.location.search})}};var qb=function(t,n){var i=null,e=[];return function(r){var o=this;return e.push(r),i||(i=new U(function(s){setTimeout(function(){var a=t.apply(o,[e]);i=null,e=[],s(a)},n)})),i}},Za=function(t){var n=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return t?n.substring(0,t):n},Jh=function(){var t=p.UUID().replace(/-/g,""),n=p.UUID().replace(/-/g,"").substring(0,16),i="01";return"00-"+t+"-"+n+"-"+i},Wb=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,Gb=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,Qc=function(t){var n=Gb,i=t.split("."),e=i[i.length-1];(e.length>4||e==="com"||e==="org")&&(n=Wb);var r=t.match(n);return r?r[0]:""},jb=function(){var t=E.navigator.onLine;return p.isUndefined(t)||t},_t=function(){},Li=function(t,n){for(var i=!1,e=0;e<n.length;e++)if(t.match(n[e])){i=!0;break}return i},Or=null,Di=null;typeof JSON<"u"&&(Or=JSON.stringify,Di=JSON.parse);Or=Or||p.JSONEncode;Di=Di||p.JSONDecode;var Vb=function(t,n,i){if(!E.CompressionStream)return!1;var e=p.info.browser(t,n,i),r=p.info.browserVersion(t,n,i);return!((e==="Safari"||e==="Mobile Safari")&&r>=16.4&&r<16.6)};p.info=p.info;p.info.browser=p.info.browser;p.info.browserVersion=p.info.browserVersion;p.info.device=p.info.device;p.info.properties=p.info.properties;p.isBlockedUA=p.isBlockedUA;p.isEmptyObject=p.isEmptyObject;p.isObject=p.isObject;p.JSONDecode=p.JSONDecode;p.JSONEncode=p.JSONEncode;p.toArray=p.toArray;p.NPO=At;var Hb="mixpanelBrowserDb",Xh="mixpanelRecordingEvents",Qa="mixpanelRecordingRegistry",Yb=1,Kb=[Xh,Qa],Ge=function(t){this.dbPromise=null,this.storeName=t};Ge.prototype._openDb=function(){return new U(function(t,n){var i=E.indexedDB.open(Hb,Yb);i.onerror=function(){n(i.error)},i.onsuccess=function(){t(i.result)},i.onupgradeneeded=function(e){var r=e.target.result;Kb.forEach(function(o){r.createObjectStore(o)})}})};Ge.prototype.init=function(){return E.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(t){return t instanceof E.IDBDatabase?U.resolve():U.reject(t)})):U.reject("indexedDB is not supported in this browser")};Ge.prototype.isInitialized=function(){return!!this.dbPromise};Ge.prototype.makeTransaction=function(t,n){var i=this.storeName,e=function(r){return new U(function(o,s){var a=r.transaction(i,t);a.oncomplete=function(){o(a)},a.onabort=a.onerror=function(){s(a.error)},n(a.objectStore(i))})};return this.dbPromise.then(e).catch(function(r){return r&&r.name==="InvalidStateError"?(this.dbPromise=this._openDb(),this.dbPromise.then(e)):U.reject(r)}.bind(this))};Ge.prototype.setItem=function(t,n){return this.makeTransaction("readwrite",function(i){i.put(n,t)})};Ge.prototype.getItem=function(t){var n;return this.makeTransaction("readonly",function(i){n=i.get(t)}).then(function(){return n.result})};Ge.prototype.removeItem=function(t){return this.makeTransaction("readwrite",function(n){n.delete(t)})};Ge.prototype.getAll=function(){var t;return this.makeTransaction("readonly",function(n){t=n.getAll()}).then(function(){return t.result})};var Jb="__mp_opt_in_out_";function Xb(t,n){ep(!0,t,n)}function Zb(t,n){ep(!1,t,n)}function Qb(t,n){return Qh(t,n)==="1"}function Zh(t,n){if(tS(n))return F.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var i=Qh(t,n)==="0";return i&&F.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),i}function kt(t){return ru(t,function(n){return this.get_config(n)})}function Mt(t){return ru(t,function(n){return this._get_config(n)})}function Ar(t){return ru(t,function(n){return this._get_config(n)})}function eS(t,n){n=n||{},eu(n).remove(tu(t,n),!!n.crossSubdomainCookie,n.cookieDomain)}function eu(t){return t=t||{},t.persistenceType==="localStorage"?p.localStorage:p.cookie}function tu(t,n){return n=n||{},(n.persistencePrefix||Jb)+t}function Qh(t,n){return eu(n).get(tu(t,n))}function tS(t){if(t&&t.ignoreDnt)return!1;var n=t&&t.window||E,i=n.navigator||{},e=!1;return p.each([i.doNotTrack,i.msDoNotTrack,n.doNotTrack],function(r){p.includes([!0,1,"1","yes"],r)&&(e=!0)}),e}function ep(t,n,i){if(!p.isString(n)||!n.length){F.error("gdpr."+(t?"optIn":"optOut")+" called with an invalid token");return}i=i||{},eu(i).set(tu(n,i),t?1:0,p.isNumber(i.cookieExpiration)?i.cookieExpiration:null,!!i.crossSubdomainCookie,!!i.secureCookie,!!i.crossSiteCookie,i.cookieDomain),i.track&&t&&i.track(i.trackEventName||"$opt_in",i.trackProperties,{send_immediately:!0})}function ru(t,n){return function(){var i=!1;try{var e=n.call(this,"token"),r=n.call(this,"ignore_dnt"),o=n.call(this,"opt_out_tracking_persistence_type"),s=n.call(this,"opt_out_tracking_cookie_prefix"),a=n.call(this,"window");e&&(i=Zh(e,{ignoreDnt:r,persistenceType:o,persistencePrefix:s,window:a}))}catch(c){F.error("Unexpected error when checking tracking opt-out status: "+c)}if(!i)return t.apply(this,arguments);var u=arguments[arguments.length-1];typeof u=="function"&&u(0)}}var rS=lt("lock"),tp=function(t,n){n=n||{},this.storageKey=t,this.storage=n.storage||E.localStorage,this.pollIntervalMS=n.pollIntervalMS||100,this.timeoutMS=n.timeoutMS||2e3,this.promiseImpl=n.promiseImpl||U};tp.prototype.withLock=function(t,n){var i=this.promiseImpl;return new i(p.bind(function(e,r){var o=n||new Date().getTime()+"|"+Math.random(),s=new Date().getTime(),a=this.storageKey,u=this.pollIntervalMS,c=this.timeoutMS,f=this.storage,l=a+":X",h=a+":Y",g=a+":Z",v=function(b){if(new Date().getTime()-s>c){rS.error("Timeout waiting for mutex on "+a+"; clearing lock. ["+o+"]"),f.removeItem(g),f.removeItem(h),y();return}setTimeout(function(){try{b()}catch(C){r(C)}},u*(Math.random()+.1))},m=function(b,C){b()?C():v(function(){m(b,C)})},d=function(){var b=f.getItem(h);return b&&b!==o?!1:(f.setItem(h,o),f.getItem(h)===o?!0:(fn(f,!0)||r(new Error("localStorage support dropped while acquiring lock")),!1))},y=function(){f.setItem(l,o),m(d,function(){if(f.getItem(l)===o){_();return}v(function(){if(f.getItem(h)!==o){y();return}m(function(){return!f.getItem(g)},_)})})},_=function(){f.setItem(g,"1");var b=function(){f.removeItem(g),f.getItem(h)===o&&f.removeItem(h),f.getItem(l)===o&&f.removeItem(l)};t().then(function(C){b(),e(C)}).catch(function(C){b(),r(C)})};try{if(fn(f,!0))y();else throw new Error("localStorage support check failed")}catch(b){r(b)}},this))};var kr=function(t){this.storage=t||E.localStorage};kr.prototype.init=function(){return U.resolve()};kr.prototype.isInitialized=function(){return!0};kr.prototype.setItem=function(t,n){return new U(p.bind(function(i,e){try{this.storage.setItem(t,Or(n))}catch(r){e(r)}i()},this))};kr.prototype.getItem=function(t){return new U(p.bind(function(n,i){var e;try{e=Di(this.storage.getItem(t))}catch(r){i(r)}n(e)},this))};kr.prototype.removeItem=function(t){return new U(p.bind(function(n,i){try{this.storage.removeItem(t)}catch(e){i(e)}n()},this))};var ef=lt("batch"),Qe=function(t,n){n=n||{},this.storageKey=t,this.usePersistence=n.usePersistence,this.usePersistence&&(this.queueStorage=n.queueStorage||new kr,this.lock=new tp(t,{storage:n.sharedLockStorage||E.localStorage,timeoutMS:n.sharedLockTimeoutMS})),this.reportError=n.errorReporter||p.bind(ef.error,ef),this.pid=n.pid||null,this.memQueue=[],this.initialized=!1,n.enqueueThrottleMs?this.enqueuePersisted=qb(p.bind(this._enqueuePersisted,this),n.enqueueThrottleMs):this.enqueuePersisted=p.bind(function(i){return this._enqueuePersisted([i])},this)};Qe.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?U.resolve():this.queueStorage.init().then(p.bind(function(){this.initialized=!0},this)).catch(p.bind(function(t){this.reportError("Error initializing queue persistence. Disabling persistence",t),this.initialized=!0,this.usePersistence=!1},this))};Qe.prototype.enqueue=function(t,n){var i={id:Za(),flushAfter:new Date().getTime()+n*2,payload:t};return this.usePersistence?this.enqueuePersisted(i):(this.memQueue.push(i),U.resolve(!0))};Qe.prototype._enqueuePersisted=function(t){var n=p.bind(function(){return this.ensureInit().then(p.bind(function(){return this.readFromStorage()},this)).then(p.bind(function(i){return this.saveToStorage(i.concat(t))},this)).then(p.bind(function(i){return i&&(this.memQueue=this.memQueue.concat(t)),i},this)).catch(p.bind(function(i){return this.reportError("Error enqueueing items",i,t),!1},this))},this);return this.lock.withLock(n,this.pid).catch(p.bind(function(i){return this.reportError("Error acquiring storage lock",i),!1},this))};Qe.prototype.fillBatch=function(t){var n=this.memQueue.slice(0,t);return this.usePersistence&&n.length<t?this.ensureInit().then(p.bind(function(){return this.readFromStorage()},this)).then(p.bind(function(i){if(i.length){var e={};p.each(n,function(s){e[s.id]=!0});for(var r=0;r<i.length;r++){var o=i[r];if(new Date().getTime()>o.flushAfter&&!e[o.id]&&(o.orphaned=!0,n.push(o),n.length>=t))break}}return n},this)):U.resolve(n)};var tf=function(t,n){var i=[];return p.each(t,function(e){e.id&&!n[e.id]&&i.push(e)}),i};Qe.prototype.removeItemsByID=function(t){var n={};if(p.each(t,function(e){n[e]=!0}),this.memQueue=tf(this.memQueue,n),this.usePersistence){var i=p.bind(function(){return this.ensureInit().then(p.bind(function(){return this.readFromStorage()},this)).then(p.bind(function(e){return e=tf(e,n),this.saveToStorage(e)},this)).then(p.bind(function(){return this.readFromStorage()},this)).then(p.bind(function(e){for(var r=0;r<e.length;r++){var o=e[r];if(o.id&&n[o.id])throw new Error("Item not removed from storage")}return!0},this)).catch(p.bind(function(e){return this.reportError("Error removing items",e,t),!1},this))},this);return this.lock.withLock(i,this.pid).catch(p.bind(function(e){return this.reportError("Error acquiring storage lock",e),fn(this.lock.storage,!0)?!1:i().then(p.bind(function(r){return r||this.queueStorage.removeItem(this.storageKey).then(function(){return r})},this)).catch(p.bind(function(r){return this.reportError("Error clearing queue",r),!1},this))},this))}else return U.resolve(!0)};var rf=function(t,n){var i=[];return p.each(t,function(e){var r=e.id;if(r in n){var o=n[r];o!==null&&(e.payload=o,i.push(e))}else i.push(e)}),i};Qe.prototype.updatePayloads=function(t){return this.memQueue=rf(this.memQueue,t),this.usePersistence?this.lock.withLock(p.bind(function(){return this.ensureInit().then(p.bind(function(){return this.readFromStorage()},this)).then(p.bind(function(i){return i=rf(i,t),this.saveToStorage(i)},this)).catch(p.bind(function(i){return this.reportError("Error updating items",t,i),!1},this))},this),this.pid).catch(p.bind(function(n){return this.reportError("Error acquiring storage lock",n),!1},this)):U.resolve(!0)};Qe.prototype.readFromStorage=function(){return this.ensureInit().then(p.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(p.bind(function(t){return t&&(p.isArray(t)||(this.reportError("Invalid storage entry:",t),t=null)),t||[]},this)).catch(p.bind(function(t){return this.reportError("Error retrieving queue",t),[]},this))};Qe.prototype.saveToStorage=function(t){return this.ensureInit().then(p.bind(function(){return this.queueStorage.setItem(this.storageKey,t)},this)).then(function(){return!0}).catch(p.bind(function(n){return this.reportError("Error saving queue",n),!1},this))};Qe.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(p.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):U.resolve()};var nS=10*60*1e3,jr=lt("batch"),Be=function(t,n){this.errorReporter=n.errorReporter,this.queue=new Qe(t,{errorReporter:p.bind(this.reportError,this),queueStorage:n.queueStorage,sharedLockStorage:n.sharedLockStorage,sharedLockTimeoutMS:n.sharedLockTimeoutMS,usePersistence:n.usePersistence,enqueueThrottleMs:n.enqueueThrottleMs}),this.libConfig=n.libConfig,this.sendRequest=n.sendRequestFunc,this.beforeSendHook=n.beforeSendHook,this.stopAllBatching=n.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=n.flushOnlyOnInterval||!1,this._flushPromise=null};Be.prototype.enqueue=function(t){return this.queue.enqueue(t,this.flushInterval)};Be.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()};Be.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)};Be.prototype.clear=function(){return this.queue.clear()};Be.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size};Be.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)};Be.prototype.scheduleFlush=function(t){this.flushInterval=t,this.stopped||(this.timeoutID=setTimeout(p.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))};Be.prototype.sendRequestPromise=function(t,n){return new U(p.bind(function(i){this.sendRequest(t,n,i)},this))};Be.prototype.flush=function(t){if(this.requestInProgress)return jr.log("Flush: Request already in progress"),U.resolve();this.requestInProgress=!0,t=t||{};var n=this.libConfig.batch_request_timeout_ms,i=new Date().getTime(),e=this.batchSize;return this.queue.fillBatch(e).then(p.bind(function(r){var o=r.length===e,s=[],a={};if(p.each(r,function(l){var h=l.payload;if(this.beforeSendHook&&!l.orphaned&&(h=this.beforeSendHook(h)),h){h.event&&h.properties&&(h.properties=p.extend({},h.properties,{mp_sent_by_lib_version:Ne.LIB_VERSION}));var g=!0,v=l.id;v?(this.itemIdsSentSuccessfully[v]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:l,batchSize:r.length,timesSent:this.itemIdsSentSuccessfully[v]}),g=!1):this.reportError("[dupe] found item with no ID",{item:l}),g&&s.push(h)}a[l.id]=h},this),s.length<1)return this.requestInProgress=!1,this.resetFlush(),U.resolve();var u=p.bind(function(){return this.queue.removeItemsByID(p.map(r,function(l){return l.id})).then(p.bind(function(l){return p.each(r,p.bind(function(h){var g=h.id;g?(this.itemIdsSentSuccessfully[g]=this.itemIdsSentSuccessfully[g]||0,this.itemIdsSentSuccessfully[g]++,this.itemIdsSentSuccessfully[g]>5&&this.reportError("[dupe] item ID sent too many times",{item:h,batchSize:r.length,timesSent:this.itemIdsSentSuccessfully[g]})):this.reportError("[dupe] found item with no ID while removing",{item:h})},this)),l?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!o?(this.resetFlush(),U.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),U.resolve())},this))},this),c=p.bind(function(l){this.requestInProgress=!1;try{if(t.unloading)return this.queue.updatePayloads(a);if(p.isObject(l)&&l.error==="timeout"&&new Date().getTime()-i>=n)return this.reportError("Network timeout; retrying"),this.flush();if(p.isObject(l)&&(l.httpStatusCode>=500||l.httpStatusCode===429||l.httpStatusCode<=0&&!jb()||l.error==="timeout")){var h=this.flushInterval*2;return l.retryAfter&&(h=parseInt(l.retryAfter,10)*1e3||h),h=Math.min(nS,h),this.reportError("Error; retry in "+h+" ms"),this.scheduleFlush(h),U.resolve()}else if(p.isObject(l)&&l.httpStatusCode===413)if(r.length>1){var g=Math.max(1,Math.floor(e/2));return this.batchSize=Math.min(this.batchSize,g,r.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),U.resolve()}else return this.reportError("Single-event request too large; dropping",r),this.resetBatchSize(),u();else return u()}catch(v){this.reportError("Error handling API response",v),this.resetFlush()}},this),f={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:n};return t.unloading&&(f.transport="sendBeacon"),jr.log("MIXPANEL REQUEST:",s),this.sendRequestPromise(s,f).then(c)},this)).catch(p.bind(function(r){this.reportError("Error flushing request queue",r),this.resetFlush()},this))};Be.prototype.reportError=function(t,n){if(jr.error.apply(jr.error,arguments),this.errorReporter)try{n instanceof Error||(n=new Error(t)),this.errorReporter(t,n)}catch(i){jr.error(i)}};var nu=function(t){var n=Date.now();return!t||n>t.maxExpires||n>t.idleExpires},iS=250,rp=function(t,n){if(!p.isArray(t))return t&&n.critical("record_allowed_iframe_origins must be an array of origin strings, cross-origin recording will be disabled."),[];for(var i=[],e=0;e<t.length;e++)try{var r=new URL(t[e]).origin;if(r==="null"){n.critical(t[e]+" has an opaque origin. Skipping this entry.");continue}i.push(r)}catch{n.critical(t[e]+" is not a valid origin URL. Skipping this entry.")}return i},ln="change",ft="click",ra="hashchange",oS="input",nf="load",yt="mp_locationchange",of="popstate",mo="scrollend",iu="scroll",sS="select",Fi="submit",aS="toggle",sf="visibilitychange",uS=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],af=["mp-include"],na=["mp-no-track"],uf=na.concat(["mp-sensitive"]),cS=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],fS={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},lS={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},hS={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},cf=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],pS=5,re=lt("autocapture");function ia(t){for(var n={},i=np(t).split(" "),e=0;e<i.length;e++){var r=i[e];r&&(n[r]=!0)}return n}function np(t){switch(typeof t.className){case"string":return t.className;case"object":return t.className.baseVal||t.getAttribute("class")||"";default:return""}}function dS(t){if(t.previousElementSibling)return t.previousElementSibling;do t=t.previousSibling;while(t&&!ip(t));return t}function ff(t,n,i,e,r,o){var s={$classes:np(t).split(" "),$tag_name:t.tagName.toLowerCase()},a=t.id;a&&(s.$id=a),ou(t,n,r,o)&&p.each(cS.concat(e),function(l){if(t.hasAttribute(l)&&!i[l]){var h=t.getAttribute(l);Ui(h)&&(s["$attr-"+l]=h)}});for(var u=1,c=1,f=t;f=dS(f);)u++,f.tagName===t.tagName&&c++;return s.$nth_child=u,s.$nth_of_type=c,s}function vS(t,n){var i=n.allowElementCallback,e=n.allowSelectors||[],r=n.blockAttrs||[],o=n.blockElementCallback,s=n.blockSelectors||[],a=n.captureTextContent||!1,u=n.captureExtraAttrs||[],c=n.capturedForHeatMap||!1,f={};p.each(r,function(S){f[S]=!0});var l=null,h=typeof t.target>"u"?t.srcElement:t.target;if(op(h)&&(h=h.parentNode),_S(h,t)&&oa(h,t,i,e)&&!Jo(h,t,o,s)){for(var g=[h],v=h;v.parentNode&&!Xe(v,"body");)g.push(v.parentNode),v=v.parentNode;var m=[],d,y=!1;if(p.each(g,function(S){var O=ou(S,t,i,e);!f.href&&S.tagName.toLowerCase()==="a"&&(d=S.getAttribute("href"),d=O&&Ui(d)&&d),Jo(S,t,o,s)&&(y=!0),m.push(ff(S,t,f,u,i,e))},this),!y){var _=D.documentElement;if(l={$event_type:t.type,$host:E.location.host,$pathname:E.location.pathname,$elements:m,$el_attr__href:d,$viewportHeight:Math.max(_.clientHeight,E.innerHeight||0),$viewportWidth:Math.max(_.clientWidth,E.innerWidth||0),$pageHeight:D.body.offsetHeight||0,$pageWidth:D.body.offsetWidth||0},p.each(u,function(S){if(!f[S]&&h.hasAttribute(S)){var O=h.getAttribute(S);Ui(O)&&(l["$el_attr__"+S]=O)}}),a&&(b=lf(h,t,i,e),b&&b.length&&(l.$el_text=b)),t.type===ft&&(p.each(uS,function(S){S in t&&(l["$"+S]=t[S])}),c&&(l.$captured_for_heatmap=!0),h=gS(t)),a){var b=lf(h,t,i,e);b&&b.length&&(l.$el_text=b)}if(h){if(!oa(h,t,i,e)||Jo(h,t,o,s))return null;var C=ff(h,t,f,u,i,e);l.$target=C,l.$el_classes=C.$classes,p.extend(l,p.strip_empty_properties({$el_id:C.$id,$el_tag_name:C.$tag_name}))}}}return l}function lf(t,n,i,e){var r="";return ou(t,n,i,e)&&t.childNodes&&t.childNodes.length&&p.each(t.childNodes,function(o){op(o)&&o.textContent&&(r+=p.trim(o.textContent).split(/(\s+)/).filter(Ui).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),p.trim(r)}function gS(t){for(var n=t.target,i=t.composedPath(),e=0;e<i.length;e++){var r=i[e];if(Xe(r,"a")||Xe(r,"button")||Xe(r,"input")||Xe(r,"select")||r.getAttribute&&r.getAttribute("role")==="button"){n=r;break}if(r===n)break}return n}function oa(t,n,i,e){if(i)try{if(!i(t,n))return!1}catch(s){return re.critical("Error while checking element in allowElementCallback",s),!1}if(!e.length)return!0;for(var r=0;r<e.length;r++){var o=e[r];try{if(t.matches(o))return!0}catch(s){re.critical("Error while checking selector: "+o,s)}}return!1}function Jo(t,n,i,e){var r;if(i)try{if(i(t,n))return!0}catch(a){return re.critical("Error while checking element in blockElementCallback",a),!0}if(e&&e.length)for(r=0;r<e.length;r++){var o=e[r];try{if(t.matches(o))return!0}catch(a){re.critical("Error while checking selector: "+o,a)}}var s=ia(t);for(r=0;r<na.length;r++)if(s[na[r]])return!0;return!1}function ip(t){return t&&t.nodeType===1}function Xe(t,n){return t&&t.tagName&&t.tagName.toLowerCase()===n.toLowerCase()}function op(t){return t&&t.nodeType===3}function mS(){try{var t=D.createElement("div");return!!t.matches}catch{return!1}}function yS(){return typeof WeakSet<"u"}function _S(t,n){if(!t||Xe(t,"html")||!ip(t))return!1;var i=t.tagName.toLowerCase();switch(i){case"form":return n.type===Fi;case"input":return["button","submit"].indexOf(t.getAttribute("type"))===-1?n.type===ln:n.type===ft;case"select":case"textarea":return n.type===ln;default:return n.type===ft}}function sp(t){var n=(t.name||t.id||"").toString().toLowerCase();if(typeof n=="string"){var i=/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i;if(i.test(n.replace(/[^a-zA-Z0-9]/g,"")))return!0}return!1}function ou(t,n,i,e){var r;if(!oa(t,n,i,e))return!1;for(var o=t;o.parentNode&&!Xe(o,"body");o=o.parentNode){var s=ia(o);for(r=0;r<uf.length;r++)if(s[uf[r]])return!1}var a=ia(t);for(r=0;r<af.length;r++)if(a[af[r]])return!0;if(Xe(t,"input")||Xe(t,"select")||Xe(t,"textarea")||t.getAttribute("contenteditable")==="true")return!1;var u=t.type||"";if(typeof u=="string")switch(u.toLowerCase()){case"hidden":return!1;case"password":return!1}return!sp(t)}function Ui(t){if(t===null||p.isUndefined(t))return!1;if(typeof t=="string"){t=p.trim(t);var n=/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/;if(n.test((t||"").replace(/[- ]/g,"")))return!1;var i=/(^\d{3}-?\d{2}-?\d{4}$)/;if(i.test(t))return!1}return!0}function ap(t){var n="onscrollend"in E,i=Ir(t),e=mo;if(!n){var r=null,o=100;i=Ir(function(){clearTimeout(r),r=setTimeout(t,o)}),e=iu}return{listener:i,eventType:e}}function wS(t){for(var n=0;n<cf.length;n++)if(t.hasAttribute(cf[n]))return!0;return!1}function bS(t){var n=t.getAttribute("role");if(!n)return!1;var i=n.trim().split(/\s+/)[0].toLowerCase();return fS[i]}function Xo(t){var n=t.tagName.toLowerCase();return!!(n==="button"||n==="input"||n==="select"||n==="textarea"||n==="details"||n==="dialog"||t.isContentEditable||t.onclick||t.onmousedown||t.onmouseup||t.ontouchstart||t.ontouchend||wS(t)||bS(t)||n==="a"&&t.hasAttribute("href")||t.hasAttribute("tabindex"))}function up(t){if(!t||!t.tagName)return!0;var n=t.tagName.toLowerCase();if(lS[n])return!0;if(Xo(t))return!1;for(var i=t.parentElement,e=0;i&&e<pS;){if(Xo(i))return!1;if(i.getRootNode&&i.getRootNode()!==D){var r=i.getRootNode();if(r.host&&Xo(r.host))return!1}i=i.parentElement,e++}return!!hS[n]}function cp(t){return"composedPath"in t?t.composedPath():[]}function fp(t){var n=cp(t);return n&&n.length>0?n[0]:t.target||t.srcElement}var lp=".mp-mask, .fs-mask, .amp-mask, .rr-mask, .ph-mask",SS="data-rr-is-password",CS=["password","email","tel","hidden"];function oi(t){return t?Array.isArray(t)?t:[t]:[]}function ES(t){var n={input:{maskingSelector:"",unmaskingSelector:"",maskAll:!0},text:{maskingSelector:"",unmaskingSelector:"",maskAll:!0}},i=t.get_config("record_mask_input_selector"),e=t.get_config("record_unmask_input_selector"),r=t.get_config("record_mask_all_inputs");n.input.maskingSelector=oi(i).join(","),n.input.unmaskingSelector=oi(e).join(","),r!==void 0&&(n.input.maskAll=r);var o=t.get_config("record_mask_text_selector"),s=t.get_config("record_unmask_text_selector"),a=t.get_config("record_mask_all_text"),u=t.get_config("record_mask_text_class"),c=oi(o);if(u)if(u instanceof RegExp)n.text._legacyClassRegex=u;else{var f="."+u;c.indexOf(f)===-1&&c.push(f)}return n.text.maskingSelector=c.join(","),n.text.unmaskingSelector=oi(s).join(","),a===void 0&&o!==void 0?n.text.maskAll=!1:a!==void 0&&(n.text.maskAll=a),n}function hr(t,n){return n?!!t.closest(n):!1}function IS(t,n){var i=(t.getAttribute("type")||"").toLowerCase();if(CS.indexOf(i)!==-1)return!0;var e=(t.getAttribute("autocomplete")||"").toLowerCase();return e&&e!==""&&e!=="off"||t.hasAttribute(SS)||sp(t)?!0:n.input.maskAll?!hr(t,n.input.unmaskingSelector):!!(hr(t,n.input.maskingSelector)||hr(t,lp))}function OS(t,n){return t?n.text._legacyClassRegex&&Ls(t,n.text._legacyClassRegex)?!0:n.text.maskAll?!hr(t,n.text.unmaskingSelector):!!(hr(t,n.text.maskingSelector)||hr(t,lp)):!1}var Vt=lt("network-plugin");function Bi(t){return Math.round(Date.now()-t.performance.now())}var Zo={initiatorTypes:["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],ignoreRequestFn:function(){return!1},recordHeaders:{request:[],response:[]},recordBodyUrls:{request:[],response:[]},recordInitialRequests:!1};function xS(t){return t.entryType==="navigation"}function sa(t){return t.entryType==="resource"}function RS(t,n){for(var i=t.length,e=i-1;e>=0;e-=1)if(n(t[e]))return t[e]}function hp(t,n,i){if(!(n in t)||typeof t[n]!="function")return function(){};var e=t[n],r=i(e);return t[n]=r,function(){t[n]=e}}var Qo=1024*1024;function pp(t){return!t||typeof t!="string"?t:t.length>Qo?(Vt.error("Body truncated from "+t.length+" to "+Qo+" characters"),t.substring(0,Qo)+"... [truncated]"):t}function AS(t,n,i){if(!n.PerformanceObserver)return Vt.error("PerformanceObserver not supported"),function(){};if(i.recordInitialRequests){var e=n.performance.getEntries().filter(function(o){return xS(o)||sa(o)&&i.initiatorTypes.includes(o.initiatorType)});t({requests:e.map(function(o){return{url:o.name,initiatorType:o.initiatorType,status:"responseStatus"in o?o.responseStatus:void 0,startTime:Math.round(o.startTime),endTime:Math.round(o.responseEnd),timeOrigin:Bi(n)}}),isInitial:!0})}var r=new n.PerformanceObserver(function(o){var s=o.getEntries().filter(function(a){return sa(a)&&i.initiatorTypes.includes(a.initiatorType)&&a.initiatorType!=="xmlhttprequest"&&a.initiatorType!=="fetch"});t({requests:s.map(function(a){return{url:a.name,initiatorType:a.initiatorType,status:"responseStatus"in a?a.responseStatus:void 0,startTime:Math.round(a.startTime),endTime:Math.round(a.responseEnd),timeOrigin:Bi(n)}})})});return r.observe({entryTypes:["navigation","resource"]}),function(){r.disconnect()}}function zi(t,n,i){return!n[t]||n[t].length===0?!1:n[t].includes(i.toLowerCase())}function qi(t,n,i){return!n[t]||n[t].length===0?!1:Li(i,n[t])}function hf(t){if(t==null)return null;var n;if(typeof t=="string")n=t;else if(t instanceof Document)n=t.textContent;else if(t instanceof FormData)n=p.HTTPBuildQuery(t);else if(p.isObject(t))try{n=JSON.stringify(t)}catch{return"Failed to stringify response object"}else return"Cannot read body of type "+typeof t;return pp(n)}function pf(t){return new Promise(function(n){var i=setTimeout(function(){n("Timeout while trying to read body")},500);try{t.clone().text().then(function(e){clearTimeout(i),n(pp(e))},function(e){clearTimeout(i),n("Failed to read body: "+String(e))})}catch(e){clearTimeout(i),n("Failed to read body: "+String(e))}})}function su(t,n,i,e,r,o){if(o===void 0&&(o=0),o>10)return Vt.error("Cannot find performance entry"),Promise.resolve(null);var s=t.performance.getEntriesByName(i),a=RS(s,function(u){return sa(u)&&u.initiatorType===n&&(!e||u.startTime>=e)&&(!r||u.startTime<=r)});return a?Promise.resolve(a):new Promise(function(u){setTimeout(u,50*o)}).then(function(){return su(t,n,i,e,r,o+1)})}function kS(t,n,i){if(!i.initiatorTypes.includes("xmlhttprequest"))return function(){};var e=hp(n.XMLHttpRequest.prototype,"open",function(r){return function(o,s,a,u,c){a===void 0&&(a=!0);var f=this,l=new Request(s,{method:o}),h={},g,v,m={},d=f.setRequestHeader.bind(f);f.setRequestHeader=function(_,b){return zi("request",i.recordHeaders,_)&&(m[_]=b),d(_,b)},h.requestHeaders=m;var y=f.send.bind(f);f.send=function(_){return qi("request",i.recordBodyUrls,l.url)&&(h.requestBody=hf(_)),g=n.performance.now(),y(_)},f.addEventListener("readystatechange",function(){if(f.readyState===f.DONE){v=n.performance.now();var _={},b=f.getAllResponseHeaders();if(b){var C=b.trim().split(/[\r\n]+/);C.forEach(function(S){if(S){var O=S.indexOf(": ");if(O!==-1){var A=S.substring(0,O),R=S.substring(O+2);A&&zi("response",i.recordHeaders,A)&&(_[A]=R)}}})}h.responseHeaders=_,qi("response",i.recordBodyUrls,l.url)&&(h.responseBody=hf(f.response)),su(n,"xmlhttprequest",l.url,g,v).then(function(S){if(!S){Vt.error("Failed to get performance entry for XHR request to "+l.url);return}var O={url:S.name,method:l.method,initiatorType:S.initiatorType,status:f.status,startTime:Math.round(S.startTime),endTime:Math.round(S.responseEnd),timeOrigin:Bi(n),requestHeaders:h.requestHeaders,requestBody:h.requestBody,responseHeaders:h.responseHeaders,responseBody:h.responseBody};t({requests:[O]})}).catch(function(S){Vt.error("Error recording XHR request to "+l.url+": "+String(S))})}}),r.call(f,o,s,a,u,c)}});return function(){e()}}function MS(t,n,i){if(!i.initiatorTypes.includes("fetch"))return function(){};var e=hp(n,"fetch",function(r){return function(){var o=new Request(arguments[0],arguments[1]),s,a={},u,c,f,l=Promise.resolve(void 0),h=Promise.resolve(void 0);try{var g={};o.headers.forEach(function(v,m){zi("request",i.recordHeaders,m)&&(g[m]=v)}),a.requestHeaders=g,qi("request",i.recordBodyUrls,o.url)&&(l=pf(o).then(function(v){a.requestBody=v})),u=n.performance.now(),f=r.apply(n,arguments).then(function(v){s=v,c=n.performance.now();var m={};return s.headers.forEach(function(d,y){zi("response",i.recordHeaders,y)&&(m[y]=d)}),a.responseHeaders=m,qi("response",i.recordBodyUrls,o.url)&&(h=pf(s).then(function(d){a.responseBody=d})),s})}catch(v){f=Promise.reject(v)}return Promise.all([l,h,f]).then(function(){return su(n,"fetch",o.url,u,c)}).then(function(v){if(!v){Vt.error("Failed to get performance entry for fetch request to "+o.url);return}var m={url:v.name,method:o.method,initiatorType:v.initiatorType,status:s?s.status:void 0,startTime:Math.round(v.startTime),endTime:Math.round(v.responseEnd),timeOrigin:Bi(n),requestHeaders:a.requestHeaders,requestBody:a.requestBody,responseHeaders:a.responseHeaders,responseBody:a.responseBody};t({requests:[m]})}).catch(function(v){Vt.error("Error recording fetch request to "+o.url+": "+String(v))}),f}});return function(){e()}}function TS(t,n,i){if(!("performance"in n))return function(){};var e=Object.assign({},Zo.recordHeaders,i.recordHeaders||{}),r=Object.assign({},Zo.recordBodyUrls,i.recordBodyUrls||{});i=Object.assign({},i,{recordHeaders:e,recordBodyUrls:r});var o=Object.assign({},Zo,i),s=function(f){var l=f.requests.filter(function(h){var g=Li(h.url,o.ignoreRequestUrls||[]);return!g&&!o.ignoreRequestFn(h)});(l.length>0||f.isInitial)&&t(Object.assign({},f,{requests:l}))},a=AS(s,n,o),u=kS(s,n,o),c=MS(s,n,o);return function(){a(),u(),c()}}var $S="rrweb/[email protected]",PS=function(t){return{name:$S,observer:TS,options:t}},qt=lt("recorder"),NS=E.CompressionStream,LS={batch_size:1e3,batch_flush_interval_ms:10*1e3,batch_request_timeout_ms:90*1e3,batch_autostart:!0},DS=new Set([L.MouseMove,L.MouseInteraction,L.Scroll,L.ViewportResize,L.Input,L.TouchMove,L.MediaInteraction,L.Drag,L.Selection]);function FS(t){return t.type===V.IncrementalSnapshot&&DS.has(t.data.source)}var me=function(t){this._mixpanel=t.mixpanelInstance,this._onIdleTimeout=t.onIdleTimeout||_t,this._onMaxLengthReached=t.onMaxLengthReached||_t,this._onBatchSent=t.onBatchSent||_t,this._rrwebRecord=t.rrwebRecord||null,this._stopRecording=null,this.replayId=t.replayId,this.batchStartUrl=t.batchStartUrl||null,this.replayStartUrl=t.replayStartUrl||null,this.idleExpires=t.idleExpires||null,this.maxExpires=t.maxExpires||null,this.replayStartTime=t.replayStartTime||null,this.lastEventTimestamp=t.lastEventTimestamp||null,this.seqNo=t.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=Gr,this.recordMinMs=0;var n=fn(t.sharedLockStorage,!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new Ge(Xh),this.batcher=new Be(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:LS,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:t.sharedLockStorage,usePersistence:n,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:iS,sharedLockTimeoutMS:10*1e3})};me.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var t={distinct_id:String(this._mixpanel.get_distinct_id())},n=this._mixpanel.get_property("$device_id");n&&(t.$device_id=n);var i=this._mixpanel.get_property("$user_id");return i&&(t.$user_id=i),t};me.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init().catch(function(){this.reportError("Error initializing IndexedDB storage for unloading persisted data.")}.bind(this)).then(function(){return this.getDurationMs()<this._getRecordMinMs()?this.queueStorage.removeItem(this.batcherKey):this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))}.bind(this))};me.prototype.getConfig=function(t){return this._mixpanel.get_config(t)};me.prototype.get_config=function(t){return this.getConfig(t)};me.prototype.startRecording=function(t){if(this._rrwebRecord===null){this.reportError("rrweb record function not provided. ");return}if(this._stopRecording!==null){qt.log("Recording already in progress, skipping startRecording.");return}this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>Gr&&(this.recordMaxMs=Gr,qt.critical("record_max_ms cannot be greater than "+Gr+"ms. Capping value.")),this.maxExpires||(this.maxExpires=new Date().getTime()+this.recordMaxMs),this.recordMinMs=this._getRecordMinMs(),this.replayStartTime||(this.replayStartTime=new Date().getTime(),this.batchStartUrl=p.info.currentUrl(),this.replayStartUrl=p.info.currentUrl()),t||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var n=function(){clearTimeout(this.idleTimeoutId);var c=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,c),this.idleExpires=new Date().getTime()+c}.bind(this);n();var i=this.getConfig("record_block_selector");(i===""||i===null)&&(i=void 0);var e=ES(this._mixpanel),r=[];if(this.getConfig("record_network")){var o=this.getConfig("record_network_options")||{},s=(o.ignoreRequestUrls||[]).slice();s.push(this._getApiRoute()),o.ignoreRequestUrls=s,r.push(PS(o))}this.getConfig("record_console")&&r.push(Tb({stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}}));var a=rp(this.getConfig("record_allowed_iframe_origins"),qt);try{this._stopRecording=this._rrwebRecord({emit:function(c){if(this.idleExpires&&this.idleExpires<c.timestamp){this._onIdleTimeout();return}FS(c)&&(this.batcher.stopped&&new Date().getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),n()),this.__enqueuePromise=this.batcher.enqueue(c),(this.lastEventTimestamp===null||c.timestamp>this.lastEventTimestamp)&&(this.lastEventTimestamp=c.timestamp)}.bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:i,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextSelector:"*",maskInputFn:this._getMaskFn(IS,e),maskTextFn:this._getMaskFn(OS,e),recordCrossOriginIframes:a.length>0,allowedIframeOrigins:a,recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15},plugins:r})}catch(c){this.reportError("Unexpected error when starting rrweb recording.",c)}if(typeof this._stopRecording!="function"){this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,this.stopRecording();return}var u=this.maxExpires-new Date().getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),u)};me.prototype.stopRecording=function(t){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(i){this.reportError("Error with rrweb stopRecording",i)}this._stopRecording=null}var n;return this.batcher.stopped?n=this.batcher.clear():t||(n=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),n};me.prototype.isRrwebStopped=function(){return this._stopRecording===null};me.prototype.flushEventsWithOptOut=function(t,n,i){var e=function(r){r===0&&(this.stopRecording(),i({error:"Tracking has been opted out, stopping recording."}))}.bind(this);this._flushEvents(t,n,i,e)};me.prototype.serialize=function(){var t;try{t=this._mixpanel.get_tab_id()}catch(n){this.reportError("Error getting tab ID for serialization ",n),t=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,lastEventTimestamp:this.lastEventTimestamp,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:t}};me.deserialize=function(t,n){var i=new me(p.extend({},n,{replayId:t.replayId,batchStartUrl:t.batchStartUrl,replayStartUrl:t.replayStartUrl,idleExpires:t.idleExpires,maxExpires:t.maxExpires,replayStartTime:t.replayStartTime,lastEventTimestamp:t.lastEventTimestamp,seqNo:t.seqNo,sharedLockStorage:n.sharedLockStorage}));return i};me.prototype._getApiRoute=function(){return this.getConfig("api_routes").record};me.prototype._sendRequest=function(t,n,i,e){var r=function(s,a){s.status===200&&this.replayId===t&&(this.seqNo++,this.batchStartUrl=p.info.currentUrl()),this._onBatchSent(),e({status:0,httpStatusCode:s.status,responseBody:a,retryAfter:s.headers.get("Retry-After")})}.bind(this),o=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");E.fetch(o+"/"+this._getApiRoute()+"?"+new URLSearchParams(n),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:i}).then(function(s){s.json().then(function(a){r(s,a)}).catch(function(a){e({error:a})})}).catch(function(s){e({error:s,httpStatusCode:0})})};me.prototype._flushEvents=kt(function(t,n,i){var e=t.length;if(e>0){for(var r=this.replayId,o=1/0,s=-1/0,a=!1,u=0;u<e;u++)o=Math.min(o,t[u].timestamp),s=Math.max(s,t[u].timestamp),t[u].type===V.FullSnapshot&&(a=!0);if(this.seqNo===0){if(!a){i({error:"First batch does not contain a full snapshot. Aborting recording."}),this.stopRecording(!0);return}this.replayStartTime=o}else this.replayStartTime||(this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=o);var c=s-this.replayStartTime,f={$current_url:this.batchStartUrl,$lib_version:Ne.LIB_VERSION,batch_start_time:o/1e3,mp_lib:"web",replay_id:r,replay_length_ms:c,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},l=JSON.stringify(t);if(Object.assign(f,this.getUserIdInfo()),Vb(Ke,ot.vendor,Ur)){var h=new Blob([l],{type:"application/json"}).stream(),g=h.pipeThrough(new NS("gzip"));new Response(g).blob().then(function(v){f.format="gzip",this._sendRequest(r,f,v,i)}.bind(this))}else f.format="body",this._sendRequest(r,f,l,i)}});me.prototype.reportError=function(t,n){qt.error.apply(qt.error,arguments);try{!n&&!(t instanceof Error)&&(t=new Error(t)),this.getConfig("error_reporter")(t,n)}catch(i){qt.error(i)}};me.prototype.getDurationMs=function(){return this.replayStartTime===null?0:this.lastEventTimestamp===null?new Date().getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime};me.prototype._getRecordMinMs=function(){var t=this.getConfig("record_min_ms");return t>jo?(qt.critical("record_min_ms cannot be greater than "+jo+"ms. Capping value."),jo):t};me.prototype._getMaskFn=function(t,n){return function(i,e){if(!i.trim().length)return"";var r=!0;try{r=t(e,n)}catch(s){this.reportError("Error checking if text should be masked, defaulting to masked",s)}if(r){var o=Math.min(i.length,1e4);return"*".repeat(o)}else return i}.bind(this)};var ht=function(t){this.idb=new Ge(Qa),this.errorReporter=t.errorReporter,this.mixpanelInstance=t.mixpanelInstance,this.sharedLockStorage=t.sharedLockStorage};ht.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")};ht.prototype.handleError=function(t){this.errorReporter("IndexedDB error: ",t)};ht.prototype.setActiveRecording=function(t){if(!this.isPersistenceEnabled())return U.resolve();var n=t.tabId;return n?this.idb.init().then(function(){return this.idb.setItem(n,t)}.bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),U.resolve())};ht.prototype.getActiveRecording=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}.bind(this)).then(function(t){return nu(t)?null:t}.bind(this)).catch(this.handleError.bind(this)):U.resolve(null)};ht.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()};ht.prototype.markActiveRecordingExpired=function(){return this.getActiveRecording().then(function(t){if(t)return t.maxExpires=0,this.setActiveRecording(t)}.bind(this)).catch(this.handleError.bind(this))};ht.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):U.resolve()};ht.prototype.flushInactiveRecordings=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getAll()}.bind(this)).then(function(t){var n=t.filter(function(i){return nu(i)}).map(function(i){var e=me.deserialize(i,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage});return e.unloadPersistedData().then(function(){return this.idb.removeItem(i.tabId)}.bind(this)).catch(this.handleError.bind(this))}.bind(this));return U.all(n)}.bind(this)).catch(this.handleError.bind(this)):U.resolve([])};var Vr=lt("recorder"),et=function(t,n,i){this.mixpanelInstance=t,this.rrwebRecord=n||Ot,this.sharedLockStorage=i,this.recordingRegistry=new ht({mixpanelInstance:this.mixpanelInstance,errorReporter:Vr.error,sharedLockStorage:i}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};et.prototype.startRecording=function(t){if(t=t||{},this.activeRecording&&!this.activeRecording.isRrwebStopped()){Vr.log("Recording already in progress, skipping startRecording.");return}var n=function(){Vr.log("Idle timeout reached, restarting recording."),this.resetRecording()}.bind(this),i=function(){Vr.log("Max recording length reached, stopping recording."),this.resetRecording()}.bind(this),e=function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}.bind(this),r={mixpanelInstance:this.mixpanelInstance,onBatchSent:e,onIdleTimeout:n,onMaxLengthReached:i,replayId:p.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return t.activeSerializedRecording?this.activeRecording=me.deserialize(t.activeSerializedRecording,r):this.activeRecording=new me(r),this.activeRecording.startRecording(t.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())};et.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))};et.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)};et.prototype._stopCurrentRecording=function(t,n){if(this.activeRecording){var i=this.activeRecording.stopRecording(t);return n&&(this.activeRecording=null),i}return U.resolve()};et.prototype.resumeRecording=function(t){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),U.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(n){return n&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:n}):t?this.startRecording({shouldStopBatcher:!1}):(Vr.log("No resumable recording found."),null)}.bind(this))};et.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})};et.prototype.isRecording=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()};et.prototype.getActiveReplayId=function(){return this.isRecording()?this.activeRecording.replayId:null};Object.defineProperty(et.prototype,"replayId",{get:function(){return this.getActiveReplayId()}});E[es]=et;function US(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var vi={exports:{}},BS=vi.exports,df;function zS(){return df||(df=1,function(t,n){(function(i,e){t.exports=e()})(BS,function(){Array.isArray||(Array.isArray=function(o){return Object.prototype.toString.call(o)==="[object Array]"});function i(o){for(var s=[],a=0,u=o.length;a<u;a++)s.indexOf(o[a])===-1&&s.push(o[a]);return s}var e={},r={"==":function(o,s){return o==s},"===":function(o,s){return o===s},"!=":function(o,s){return o!=s},"!==":function(o,s){return o!==s},">":function(o,s){return o>s},">=":function(o,s){return o>=s},"<":function(o,s,a){return a===void 0?o<s:o<s&&s<a},"<=":function(o,s,a){return a===void 0?o<=s:o<=s&&s<=a},"!!":function(o){return e.truthy(o)},"!":function(o){return!e.truthy(o)},"%":function(o,s){return o%s},log:function(o){return console.log(o),o},in:function(o,s){return!s||typeof s.indexOf>"u"?!1:s.indexOf(o)!==-1},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(o,s,a){if(a<0){var u=String(o).substr(s);return u.substr(0,u.length+a)}return String(o).substr(s,a)},"+":function(){return Array.prototype.reduce.call(arguments,function(o,s){return parseFloat(o,10)+parseFloat(s,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(o,s){return parseFloat(o,10)*parseFloat(s,10)})},"-":function(o,s){return s===void 0?-o:o-s},"/":function(o,s){return o/s},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(o,s){return o.concat(s)},[])},var:function(o,s){var a=s===void 0?null:s,u=this;if(typeof o>"u"||o===""||o===null)return u;for(var c=String(o).split("."),f=0;f<c.length;f++)if(u==null||(u=u[c[f]],u===void 0))return a;return u},missing:function(){for(var o=[],s=Array.isArray(arguments[0])?arguments[0]:arguments,a=0;a<s.length;a++){var u=s[a],c=e.apply({var:u},this);(c===null||c==="")&&o.push(u)}return o},missing_some:function(o,s){var a=e.apply({missing:s},this);return s.length-a.length>=o?[]:a}};return e.is_logic=function(o){return typeof o=="object"&&o!==null&&!Array.isArray(o)&&Object.keys(o).length===1},e.truthy=function(o){return Array.isArray(o)&&o.length===0?!1:!!o},e.get_operator=function(o){return Object.keys(o)[0]},e.get_values=function(o){return o[e.get_operator(o)]},e.apply=function(o,s){if(Array.isArray(o))return o.map(function(d){return e.apply(d,s)});if(!e.is_logic(o))return o;var a=e.get_operator(o),u=o[a],c,f,l,h,g;if(Array.isArray(u)||(u=[u]),a==="if"||a=="?:"){for(c=0;c<u.length-1;c+=2)if(e.truthy(e.apply(u[c],s)))return e.apply(u[c+1],s);return u.length===c+1?e.apply(u[c],s):null}else if(a==="and"){for(c=0;c<u.length;c+=1)if(f=e.apply(u[c],s),!e.truthy(f))return f;return f}else if(a==="or"){for(c=0;c<u.length;c+=1)if(f=e.apply(u[c],s),e.truthy(f))return f;return f}else{if(a==="filter")return h=e.apply(u[0],s),l=u[1],Array.isArray(h)?h.filter(function(d){return e.truthy(e.apply(l,d))}):[];if(a==="map")return h=e.apply(u[0],s),l=u[1],Array.isArray(h)?h.map(function(d){return e.apply(l,d)}):[];if(a==="reduce")return h=e.apply(u[0],s),l=u[1],g=typeof u[2]<"u"?e.apply(u[2],s):null,Array.isArray(h)?h.reduce(function(d,y){return e.apply(l,{current:y,accumulator:d})},g):g;if(a==="all"){if(h=e.apply(u[0],s),l=u[1],!Array.isArray(h)||!h.length)return!1;for(c=0;c<h.length;c+=1)if(!e.truthy(e.apply(l,h[c])))return!1;return!0}else if(a==="none"){if(h=e.apply(u[0],s),l=u[1],!Array.isArray(h)||!h.length)return!0;for(c=0;c<h.length;c+=1)if(e.truthy(e.apply(l,h[c])))return!1;return!0}else if(a==="some"){if(h=e.apply(u[0],s),l=u[1],!Array.isArray(h)||!h.length)return!1;for(c=0;c<h.length;c+=1)if(e.truthy(e.apply(l,h[c])))return!0;return!1}}if(u=u.map(function(d){return e.apply(d,s)}),r.hasOwnProperty(a)&&typeof r[a]=="function")return r[a].apply(s,u);if(a.indexOf(".")>0){var v=String(a).split("."),m=r;for(c=0;c<v.length;c++){if(!m.hasOwnProperty(v[c]))throw new Error("Unrecognized operation "+a+" (failed at "+v.slice(0,c+1).join(".")+")");m=m[v[c]]}return m.apply(s,u)}throw new Error("Unrecognized operation "+a)},e.uses_data=function(o){var s=[];if(e.is_logic(o)){var a=e.get_operator(o),u=o[a];Array.isArray(u)||(u=[u]),a==="var"?s.push(u[0]):u.forEach(function(c){s.push.apply(s,e.uses_data(c))})}return i(s)},e.add_operation=function(o,s){r[o]=s},e.rm_operation=function(o){delete r[o]},e.rule_like=function(o,s){if(s===o||s==="@")return!0;if(s==="number")return typeof o=="number";if(s==="string")return typeof o=="string";if(s==="array")return Array.isArray(o)&&!e.is_logic(o);if(e.is_logic(s)){if(e.is_logic(o)){var a=e.get_operator(s),u=e.get_operator(o);if(a==="@"||a===u)return e.rule_like(e.get_values(o,!1),e.get_values(s,!1))}return!1}if(Array.isArray(s))if(Array.isArray(o)){if(s.length!==o.length)return!1;for(var c=0;c<s.length;c+=1)if(!e.rule_like(o[c],s[c]))return!1;return!0}else return!1;return!1},e})}(vi)),vi.exports}var qS=zS(),WS=US(qS),GS=function(t,n,i){if(t!==i.event_name)return{matches:!1};var e=i.property_filters,r=!0;if(e&&!p.isEmptyObject(e))try{r=WS.apply(e,n||{})}catch(o){return{matches:!1,error:o.toString()}}return{matches:r}},dp={};dp.eventMatchesCriteria=GS;E[qe]=Promise.resolve(dp);var jS=30,VS=1e3,HS=4,YS=!1;function vp(){this.clicks=[]}vp.prototype.isRageClick=function(t,n){n=n||{};var i=n.threshold_px||jS,e=n.timeout_ms||VS,r=n.click_count||HS,o=n.interactive_elements_only||YS;if(o){var s=fp(t);if(!s||up(s))return!1}var a=Date.now(),u=t.pageX,c=t.pageY,f=this.clicks[this.clicks.length-1];if(f&&a-f.timestamp<e&&Math.sqrt(Math.pow(u-f.x,2)+Math.pow(c-f.y,2))<i){if(this.clicks.push({x:u,y:c,timestamp:a}),this.clicks.length>=r)return this.clicks=[],!0}else this.clicks=[{x:u,y:c,timestamp:a}];return!1};function Mr(t,n){this.changeCallback=t||function(){},this.observerConfig=n,this.observedShadowRoots=null,this.shadowObservers=[]}Mr.prototype.getEventTarget=function(t){if(this.observedShadowRoots)return fp(t)};Mr.prototype.observeFromEvent=function(t){if(this.observedShadowRoots)for(var n=cp(t),i=0;i<n.length;i++){var e=n[i];e&&e.shadowRoot&&this.observeShadowRoot(e.shadowRoot)}};Mr.prototype.observeShadowRoot=function(t){if(!(!this.observedShadowRoots||this.observedShadowRoots.has(t))){var n=this;try{this.observedShadowRoots.add(t);var i=new window.MutationObserver(function(){n.changeCallback()});i.observe(t,this.observerConfig),this.shadowObservers.push(i)}catch(e){re.critical("Error while observing shadow root",e)}}};Mr.prototype.start=function(){if(!this.observedShadowRoots){if(!yS()){re.critical("Shadow DOM observation unavailable: WeakSet not supported");return}this.observedShadowRoots=new WeakSet}};Mr.prototype.stop=function(){if(this.observedShadowRoots){for(var t=0;t<this.shadowObservers.length;t++)try{this.shadowObservers[t].disconnect()}catch(n){re.critical("Error while disconnecting shadow DOM observer",n)}this.shadowObservers=[],this.observedShadowRoots=null}};var KS=500,JS=[ln,oS,Fi,sS,aS],XS=[mo],ZS=[ra],vf={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function tt(t){this.eventListeners=[],this.mutationObserver=null,this.shadowDOMObserver=null,this.isTracking=!1,this.lastChangeEventTimestamp=0,this.pendingClicks=[],this.onDeadClickCallback=t,this.processingActive=!1,this.processingTimeout=null}tt.prototype.addClick=function(t){var n=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(t);return n||(n=t.target||t.srcElement),!n||up(n)?!1:(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(t),this.pendingClicks.push({element:n,event:t,timestamp:Date.now()}),!0)};tt.prototype.trackClick=function(t,n){if(!this.isTracking)return!1;var i=this.addClick(t);return i&&this.triggerProcessing(n),i};tt.prototype.getDeadClicks=function(t){if(this.pendingClicks.length===0)return[];var n=t.timeout_ms,i=Date.now(),e=this.pendingClicks.slice();this.pendingClicks=[];for(var r=[],o=0;o<e.length;o++){var s=e[o];i-s.timestamp>=n?this.hasChangesAfter(s.timestamp)||r.push(s):this.pendingClicks.push(s)}return r};tt.prototype.hasChangesAfter=function(t){return this.lastChangeEventTimestamp>=t-100};tt.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()};tt.prototype.triggerProcessing=function(t){this.processingActive||(this.processingActive=!0,this.processRecursively(t))};tt.prototype.processRecursively=function(t){if(!this.isTracking||!this.onDeadClickCallback){this.processingActive=!1;return}var n=t.timeout_ms,i=this;this.processingTimeout=setTimeout(function(){if(i.processingActive){for(var e=i.getDeadClicks(t),r=0;r<e.length;r++)i.onDeadClickCallback(e[r].event);i.pendingClicks.length>0?i.processRecursively(t):i.processingActive=!1}},n)};tt.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var t=this;JS.forEach(function(i){var e=function(){t.recordChangeEvent()};document.addEventListener(i,e,{capture:!0,passive:!0}),t.eventListeners.push({target:document,event:i,handler:e,options:{capture:!0,passive:!0}})}),ZS.forEach(function(i){var e=function(){t.recordChangeEvent()};window.addEventListener(i,e),t.eventListeners.push({target:window,event:i,handler:e})}),XS.forEach(function(i){var e=function(){t.recordChangeEvent()};window.addEventListener(i,e,{passive:!0}),t.eventListeners.push({target:window,event:i,handler:e,options:{passive:!0}})});var n=function(){t.recordChangeEvent()};if(document.addEventListener("selectionchange",n),t.eventListeners.push({target:document,event:"selectionchange",handler:n}),window.MutationObserver)try{this.mutationObserver=new window.MutationObserver(function(){t.recordChangeEvent()}),this.mutationObserver.observe(document.body||document.documentElement,vf)}catch(i){re.critical("Error while setting up mutation observer",i)}if(window.customElements)try{this.shadowDOMObserver=new Mr(function(){t.recordChangeEvent()},vf),this.shadowDOMObserver.start()}catch(i){re.critical("Error while setting up shadow DOM observer",i),this.shadowDOMObserver=null}}};tt.prototype.stopTracking=function(){if(this.isTracking){this.isTracking=!1,this.pendingClicks=[],this.lastChangeEventTimestamp=0,this.processingActive=!1,this.processingTimeout&&(clearTimeout(this.processingTimeout),this.processingTimeout=null);for(var t=0;t<this.eventListeners.length;t++){var n=this.eventListeners[t];try{n.target.removeEventListener(n.event,n.handler,n.options)}catch(i){re.critical("Error while removing event listener",i)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(i){re.critical("Error while disconnecting mutation observer",i)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(i){re.critical("Error while stopping shadow DOM observer",i)}this.shadowDOMObserver=null}}};var gp="autocapture",QS="track_pageview",mp="full-url",eC="url-with-path-and-query-string",tC="url-with-path",rC="allow_element_callback",yp="allow_selectors",_p="allow_url_regexes",wp="block_attrs",bp="block_element_callback",Sp="block_selectors",Cp="block_url_regexes",Ep="capture_extra_attrs",Ip="capture_text_content",Op="scroll_capture_all",xp="scroll_depth_percent_checkpoints",Wi="click",Gi="dead_click",aa="input",Rp="pageview",ji="rage_click",ua="scroll",yo="page_leave",ca="submit",Ce={};Ce[yp]=[];Ce[_p]=[];Ce[wp]=[];Ce[bp]=null;Ce[Sp]=[];Ce[Cp]=[];Ce[Ep]=[];Ce[Ip]=!1;Ce[Op]=!1;Ce[xp]=[25,50,75,100];Ce[Wi]=!0;Ce[Gi]=!0;Ce[aa]=!0;Ce[Rp]=mp;Ce[ji]=!0;Ce[ua]=!0;Ce[yo]=!1;Ce[ca]=!0;var hn={$mp_autocapture:!0},Ap="$mp_click",kp="$mp_dead_click",nC="$mp_input_change",Mp="$mp_rage_click",iC="$mp_scroll",oC="$mp_submit",sC="$mp_page_leave",be=function(t){this.mp=t,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};be.prototype.init=function(){if(!mS()){re.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()};be.prototype.getFullConfig=function(){var t=this.mp.get_config(gp);return t?p.isObject(t)?p.extend({},Ce,t):Ce:{}};be.prototype.getConfig=function(t){return this.getFullConfig()[t]};be.prototype.currentUrlBlocked=function(){var t=p.info.currentUrl(),n=this.getConfig(_p)||[];if(n.length)try{return!Li(t,n)}catch(e){return re.critical("Error while checking block URL regexes: ",e),!0}var i=this.getConfig(Cp)||[];if(!i||!i.length)return!1;try{return Li(t,i)}catch(e){return re.critical("Error while checking block URL regexes: ",e),!0}};be.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(gp)?this.getConfig(Rp):this.mp.get_config(QS)};be.prototype.trackDomEvent=function(t,n){if(!this.currentUrlBlocked()){var i=this.mp.is_recording_heatmap_data()&&(n===Ap&&!this.getConfig(Wi)||n===Mp&&!this._getClickTrackingConfig(ji)||n===kp&&!this._getClickTrackingConfig(Gi)),e=vS(t,{allowElementCallback:this.getConfig(rC),allowSelectors:this.getConfig(yp),blockAttrs:this.getConfig(wp),blockElementCallback:this.getConfig(bp),blockSelectors:this.getConfig(Sp),captureExtraAttrs:this.getConfig(Ep),captureTextContent:this.getConfig(Ip),capturedForHeatMap:i});e&&(p.extend(e,hn),this.mp.track(n,e))}};be.prototype.initPageListeners=function(){if(E.removeEventListener(of,this.listenerPopstate),E.removeEventListener(ra,this.listenerHashchange),!(!this.pageviewTrackingConfig()&&!this.getConfig(yo)&&!this.mp.get_config("record_heatmap_data"))){this.listenerPopstate=function(){E.dispatchEvent(new Event(yt))},this.listenerHashchange=function(){E.dispatchEvent(new Event(yt))},E.addEventListener(of,this.listenerPopstate),E.addEventListener(ra,this.listenerHashchange);var t=E.history.pushState;typeof t=="function"&&(E.history.pushState=function(i,e,r){t.call(E.history,i,e,r),E.dispatchEvent(new Event(yt))});var n=E.history.replaceState;typeof n=="function"&&(E.history.replaceState=function(i,e,r){n.call(E.history,i,e,r),E.dispatchEvent(new Event(yt))})}};be.prototype._getClickTrackingConfig=function(t){var n=this.getConfig(t);return n?n===!0?{}:typeof n=="object"?n:{}:null};be.prototype._trackPageLeave=function(t,n,i){if(!this.hasTrackedScrollSession&&!(!this.getConfig(yo)&&!this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var e=Math.max(D.documentElement.clientHeight,E.innerHeight||0),r=Math.round(Math.max(this.maxScrollViewDepth-e,0)/(i-e)*100),o=Math.round(e/i*100);i<=e&&(r=100,o=100);var s=p.extend({$max_scroll_view_depth:this.maxScrollViewDepth,$max_scroll_percentage:r,$fold_line_percentage:o,$scroll_height:i,$event_type:t.type,$current_url:n||p.info.currentUrl(),$viewportHeight:e,$viewportWidth:Math.max(D.documentElement.clientWidth,E.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},hn);this.mp.track(sC,s,{transport:"sendBeacon"})}};be.prototype._initScrollDepthTracking=function(){if(E.removeEventListener(iu,this.listenerScrollDepth),E.removeEventListener(mo,this.listenerScrollDepth),!!this.mp.get_config("record_heatmap_data")){re.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(D.documentElement.clientHeight,E.innerHeight||0);var t=function(){if(!this.currentUrlBlocked()){var i=Math.max(D.documentElement.clientHeight,E.innerHeight||0)+E.scrollY;i>this.maxScrollViewDepth&&(this.maxScrollViewDepth=i),this.previousScrollHeight=D.body.scrollHeight}}.bind(this),n=ap(t);this.listenerScrollDepth=n.listener,E.addEventListener(n.eventType,this.listenerScrollDepth)}};be.prototype.initClickTracking=function(){E.removeEventListener(ft,this.listenerClick),!(!this.getConfig(Wi)&&!this.mp.get_config("record_heatmap_data"))&&(re.log("Initializing click tracking"),this.listenerClick=function(t){!this.getConfig(Wi)&&!this.mp.is_recording_heatmap_data()||this.trackDomEvent(t,Ap)}.bind(this),E.addEventListener(ft,this.listenerClick))};be.prototype.initDeadClickTracking=function(){var t=this._getClickTrackingConfig(Gi);if(!t&&!this.mp.get_config("record_heatmap_data")){this.stopDeadClickTracking();return}re.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new tt(function(n){this.trackDomEvent(n,kp)}.bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=function(n){var i=this._getClickTrackingConfig(Gi);if(!(!i&&!this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var e=i||{};e.timeout_ms||(e.timeout_ms=KS),this._deadClickTracker.trackClick(n,e)}}.bind(this),E.addEventListener(ft,this.listenerDeadClick))};be.prototype.initInputTracking=function(){E.removeEventListener(ln,this.listenerChange),this.getConfig(aa)&&(re.log("Initializing input tracking"),this.listenerChange=function(t){this.getConfig(aa)&&this.trackDomEvent(t,nC)}.bind(this),E.addEventListener(ln,this.listenerChange))};be.prototype.initPageviewTracking=function(){if(E.removeEventListener(yt,this.listenerLocationchange),!!this.pageviewTrackingConfig()){re.log("Initializing pageview tracking");var t="",n=!1;this.currentUrlBlocked()||(n=this.mp.track_pageview(hn)),n&&(t=p.info.currentUrl()),this.listenerLocationchange=Ir(function(){if(!this.currentUrlBlocked()){var i=p.info.currentUrl(),e=!1,r=i.split("#")[0].split("?")[0]!==t.split("#")[0].split("?")[0],o=this.pageviewTrackingConfig();if(o===mp?e=i!==t:o===eC?e=i.split("#")[0]!==t.split("#")[0]:o===tC&&(e=r),e){var s=this.mp.track_pageview(hn);s&&(t=i),r&&(this.lastScrollCheckpoint=0,re.log("Path change: re-initializing scroll depth checkpoints"))}}}.bind(this)),E.addEventListener(yt,this.listenerLocationchange)}};be.prototype.initRageClickTracking=function(){E.removeEventListener(ft,this.listenerRageClick);var t=this._getClickTrackingConfig(ji);!t&&!this.mp.get_config("record_heatmap_data")||(re.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new vp),this.listenerRageClick=function(n){var i=this._getClickTrackingConfig(ji);!i&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked()||this._rageClickTracker.isRageClick(n,i)&&this.trackDomEvent(n,Mp)}.bind(this),E.addEventListener(ft,this.listenerRageClick))};be.prototype.initScrollTracking=function(){if(E.removeEventListener(mo,this.listenerScroll),E.removeEventListener(iu,this.listenerScroll),!!this.getConfig(ua)){re.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var t=function(){if(this.getConfig(ua)&&!this.currentUrlBlocked()){var i=this.getConfig(Op),e=(this.getConfig(xp)||[]).slice().sort(function(f,l){return f-l}),r=E.scrollY,o=p.extend({$scroll_top:r},hn);try{var s=D.body.scrollHeight,a=Math.round(r/(s-E.innerHeight)*100);if(o.$scroll_height=s,o.$scroll_percentage=a,a>this.lastScrollCheckpoint)for(var u=0;u<e.length;u++){var c=e[u];a>=c&&this.lastScrollCheckpoint<c&&(o.$scroll_checkpoint=c,this.lastScrollCheckpoint=c,i=!0)}}catch(f){re.critical("Error while calculating scroll percentage",f)}i&&this.mp.track(iC,o)}}.bind(this),n=ap(t);this.listenerScroll=n.listener,E.addEventListener(n.eventType,this.listenerScroll)}};be.prototype.initSubmitTracking=function(){E.removeEventListener(Fi,this.listenerSubmit),this.getConfig(ca)&&(re.log("Initializing submit tracking"),this.listenerSubmit=function(t){this.getConfig(ca)&&this.trackDomEvent(t,oC)}.bind(this),E.addEventListener(Fi,this.listenerSubmit))};be.prototype.initPageLeaveTracking=function(){if(D.removeEventListener(sf,this.listenerPageLeaveVisibilitychange),E.removeEventListener(yt,this.listenerPageLeaveLocationchange),E.removeEventListener(nf,this.listenerPageLoad),!(!this.getConfig(yo)&&!this.mp.get_config("record_heatmap_data"))){re.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var t=p.info.currentUrl();this.listenerPageLoad=function(){this.previousScrollHeight=D.body.scrollHeight}.bind(this),E.addEventListener(nf,this.listenerPageLoad),this.listenerPageLeaveLocationchange=Ir(function(n){if(!this.currentUrlBlocked()){var i=p.info.currentUrl(),e=i!==t;e&&(this._trackPageLeave(n,t,this.previousScrollHeight),t=i,this.maxScrollViewDepth=Math.max(D.documentElement.clientHeight,E.innerHeight||0),this.previousScrollHeight=D.body.scrollHeight,this.hasTrackedScrollSession=!1)}}.bind(this)),E.addEventListener(yt,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=function(n){D.hidden&&this._trackPageLeave(n,t,this.previousScrollHeight)}.bind(this),D.addEventListener(sf,this.listenerPageLeaveVisibilitychange)}};be.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(E.removeEventListener(ft,this.listenerDeadClick),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)};Xa(be);var Tp=function(t,n){return E[qe]&&typeof E[qe].then=="function"||(E[qe]=new Promise(function(i){t(n,i)}).then(function(){var i=E[qe];if(i&&typeof i.then=="function")return i;throw new Error("targeting failed to load")}).catch(function(i){throw delete E[qe],i})),E[qe]},ce=lt("flags"),Vi="flags",Hi="context",fa={};fa[Hi]={};var aC=function(t,n){return t+":"+n},uC=function(t){return t.split(":")[0]},$=function(t){this.fetch=E.fetch,this.getFullApiRoute=t.getFullApiRoute,this.getMpConfig=t.getConfigFunc,this.setMpConfig=t.setConfigFunc,this.getMpProperty=t.getPropertyFunc,this.track=t.trackingFunc,this.loadExtraBundle=t.loadExtraBundle||function(){},this.targetingSrc=t.targetingSrc||""};$.prototype.init=function(){if(!this.minApisSupported()){ce.critical("Feature Flags unavailable: missing minimum required APIs");return}this.flags=null,this.fetchFlags().catch(function(){ce.error("Error fetching flags during init")}),this.trackedFeatures=new Set,this.pendingFirstTimeEvents={},this.activatedFirstTimeEvents={}};$.prototype.getFullConfig=function(){var t=this.getMpConfig(Vi);return t?p.isObject(t)?p.extend({},fa,t):fa:{}};$.prototype.getConfig=function(t){return this.getFullConfig()[t]};$.prototype.isSystemEnabled=function(){return!!this.getMpConfig(Vi)};$.prototype.updateContext=function(t,n){if(!this.isSystemEnabled())return ce.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var i=this.getMpConfig(Vi);p.isObject(i)||(i={});var e=n&&n.replace?{}:this.getConfig(Hi);i[Hi]=p.extend({},e,t);var r={};return r[Vi]=i,this.setMpConfig(r),this.fetchFlags().catch(function(){ce.error("Error fetching flags during updateContext")})};$.prototype.areFlagsReady=function(){return this.isSystemEnabled()||ce.error("Feature Flags not enabled"),!!this.flags};$.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var t=this.getMpProperty("distinct_id"),n=this.getMpProperty("$device_id"),i=Jh();ce.log("Fetching flags for distinct ID: "+t);var e=p.extend({distinct_id:t,device_id:n},this.getConfig(Hi)),r=new URLSearchParams;r.set("context",JSON.stringify(e)),r.set("token",this.getMpConfig("token")),r.set("mp_lib","web"),r.set("$lib_version",Ne.LIB_VERSION);var o=this.getFullApiRoute()+"?"+r.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(E,o,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:i}}).then(function(s){return this.markFetchComplete(),s.json()}.bind(this)).then(function(s){var a=s.flags;if(!a)throw new Error("No flags in API response");var u=new Map,c={};p.each(a,function(l,h){var g=!1,v=h+":";if(p.each(this.activatedFirstTimeEvents,function(d,y){y.startsWith(v)&&(g=!0)}),g){var m=this.flags&&this.flags.get(h);m&&u.set(h,m)}else u.set(h,{key:l.variant_key,value:l.variant_value,experiment_id:l.experiment_id,is_experiment_active:l.is_experiment_active,is_qa_tester:l.is_qa_tester})},this);var f=s.pending_first_time_events;f&&f.length>0&&p.each(f,function(l){var h=l.flag_key,g=aC(h,l.first_time_event_hash);this.activatedFirstTimeEvents[g]||(c[g]={flag_key:h,flag_id:l.flag_id,project_id:l.project_id,first_time_event_hash:l.first_time_event_hash,event_name:l.event_name,property_filters:l.property_filters,pending_variant:l.pending_variant})},this),this.activatedFirstTimeEvents&&p.each(this.activatedFirstTimeEvents,function(l,h){var g=uC(h);l&&!u.has(g)&&this.flags&&this.flags.has(g)&&u.set(g,this.flags.get(g))},this),this.flags=u,this.pendingFirstTimeEvents=c,this._traceparent=i,this._loadTargetingIfNeeded()}.bind(this)).catch(function(s){throw this._fetchInProgressStartTime&&this.markFetchComplete(),ce.error(s),s}.bind(this)),this.fetchPromise};$.prototype.loadFlags=function(){return this.isSystemEnabled()?this.trackedFeatures?this._fetchInProgressStartTime?this.fetchPromise:this.fetchFlags():(ce.error("loadFlags called before init"),Promise.resolve()):Promise.resolve()};$.prototype.markFetchComplete=function(){if(!this._fetchInProgressStartTime){ce.error("Fetch in progress started time not set, cannot mark fetch complete");return}this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null};$.prototype._loadTargetingIfNeeded=function(){var t=!1;p.each(this.pendingFirstTimeEvents,function(n){n.property_filters&&!p.isEmptyObject(n.property_filters)&&(t=!0)}),t&&this.getTargeting().then(function(){ce.log("targeting loaded for property filter evaluation")})};$.prototype.getTargeting=function(){return Tp(this.loadExtraBundle.bind(this),this.targetingSrc).catch(function(t){ce.error("Failed to load targeting: "+t)}.bind(this))};$.prototype.checkFirstTimeEvents=function(t,n){!this.pendingFirstTimeEvents||p.isEmptyObject(this.pendingFirstTimeEvents)||(E[qe]&&p.isFunction(E[qe].then)?E[qe].then(function(i){this._processFirstTimeEventCheck(t,n,i)}.bind(this)).catch(function(){this._processFirstTimeEventCheck(t,n,null)}.bind(this)):this._processFirstTimeEventCheck(t,n,null))};$.prototype._processFirstTimeEventCheck=function(t,n,i){p.each(this.pendingFirstTimeEvents,function(e,r){if(!this.activatedFirstTimeEvents[r]){var o=e.flag_key,s;if(!i&&e.property_filters&&!p.isEmptyObject(e.property_filters)){ce.warn('Skipping event check for "'+o+'" - property filters require targeting library');return}if(!i)s={matches:t===e.event_name,error:null};else{var a={event_name:e.event_name,property_filters:e.property_filters};s=i.eventMatchesCriteria(t,n,a)}if(s.error){ce.error('Error checking first-time event for flag "'+o+'": '+s.error);return}if(s.matches){ce.log('First-time event matched for flag "'+o+'": '+t);var u={key:e.pending_variant.variant_key,value:e.pending_variant.variant_value,experiment_id:e.pending_variant.experiment_id,is_experiment_active:e.pending_variant.is_experiment_active};this.flags.set(o,u),this.activatedFirstTimeEvents[r]=!0,this.recordFirstTimeEvent(e.flag_id,e.project_id,e.first_time_event_hash)}}},this)};$.prototype.getFirstTimeEventApiRoute=function(t){return this.getFullApiRoute()+"/"+t+"/first-time-events"};$.prototype.recordFirstTimeEvent=function(t,n,i){var e=this.getMpProperty("distinct_id"),r=Jh(),o=new URLSearchParams;o.set("mp_lib","web"),o.set("$lib_version",Ne.LIB_VERSION);var s=this.getFirstTimeEventApiRoute(t)+"?"+o.toString(),a={distinct_id:e,project_id:n,first_time_event_hash:i};ce.log("Recording first-time event for flag: "+t),this.fetch.call(E,s,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:r},body:JSON.stringify(a)}).catch(function(u){ce.error("Failed to record first-time event for flag "+t+": "+u)})};$.prototype.getVariant=function(t,n){return this.fetchPromise?this.fetchPromise.then(function(){return this.getVariantSync(t,n)}.bind(this)).catch(function(i){return ce.error(i),n}):new Promise(function(i){ce.critical("Feature Flags not initialized"),i(n)})};$.prototype.getVariantSync=function(t,n){if(!this.areFlagsReady())return ce.log("Flags not loaded yet"),n;var i=this.flags.get(t);return i?(this.trackFeatureCheck(t,i),i):(ce.log('No flag found: "'+t+'"'),n)};$.prototype.getVariantValue=function(t,n){return this.getVariant(t,{value:n}).then(function(i){return i.value}).catch(function(i){return ce.error(i),n})};$.prototype.getFeatureData=function(t,n){return ce.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value(
93) instead."),this.getVariantValue(t,n)};$.prototype.getVariantValueSync=function(t,n){return this.getVariantSync(t,{value:n}).value};$.prototype.isEnabled=function(t,n){return this.getVariantValue(t).then(function(){return this.isEnabledSync(t,n)}.bind(this)).catch(function(i){return ce.error(i),n})};$.prototype.isEnabledSync=function(t,n){n=n||!1;var i=this.getVariantValueSync(t,n);return i!==!0&&i!==!1&&(ce.error('Feature flag "'+t+'" value: '+i+" is not a boolean; returning fallback value: "+n),i=n),i};$.prototype.trackFeatureCheck=function(t,n){if(!this.trackedFeatures.has(t)){this.trackedFeatures.add(t);var i={"Experiment name":t,"Variant name":n.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};n.experiment_id!=="undefined"&&(i.$experiment_id=n.experiment_id),n.is_experiment_active!=="undefined"&&(i.$is_experiment_active=n.is_experiment_active),n.is_qa_tester!=="undefined"&&(i.$is_qa_tester=n.is_qa_tester),this.track("$experiment_started",i)}};$.prototype.whenReady=function(){return this.fetchPromise?this.fetchPromise:Promise.resolve()};$.prototype.minApisSupported=function(){return!!this.fetch&&typeof Promise<"u"&&typeof Map<"u"&&typeof Set<"u"};Xa($);$.prototype.are_flags_ready=$.prototype.areFlagsReady;$.prototype.get_variant=$.prototype.getVariant;$.prototype.get_variant_sync=$.prototype.getVariantSync;$.prototype.get_variant_value=$.prototype.getVariantValue;$.prototype.get_variant_value_sync=$.prototype.getVariantValueSync;$.prototype.is_enabled=$.prototype.isEnabled;$.prototype.is_enabled_sync=$.prototype.isEnabledSync;$.prototype.load_flags=$.prototype.loadFlags;$.prototype.update_context=$.prototype.updateContext;$.prototype.when_ready=$.prototype.whenReady;$.prototype.get_feature_data=$.prototype.getFeatureData;$.prototype.getTargeting=$.prototype.getTargeting;var cC=lt("recorder"),$p="mp_iframe_handshake_request",Pp="mp_iframe_handshake_response",Oe=function(t){this.mixpanelInstance=t.mixpanelInstance,this.getMpConfig=t.getConfigFunc,this.getTabId=t.getTabIdFunc,this.reportError=t.reportErrorFunc,this.getDistinctId=t.getDistinctIdFunc,this.loadExtraBundle=t.loadExtraBundle,this.recorderSrc=t.recorderSrc,this.targetingSrc=t.targetingSrc,this.libBasePath=t.libBasePath,this._recorder=null,this._parentReplayId=null,this._parentFrameRetryInterval=null};Oe.prototype.shouldLoadRecorder=function(){if(this.getMpConfig("disable_persistence"))return F.log("Load recorder check skipped due to disable_persistence config"),U.resolve(!1);var t=new Ge(Qa),n=this.getTabId();return t.init().then(function(){return t.getAll()}).then(function(i){for(var e=0;e<i.length;e++)if(nu(i[e])||i[e].tabId===n)return!0;return!1}).catch(p.bind(function(i){return this.reportError("Error checking recording registry",i),!1},this))};Oe.prototype.checkAndStartSessionRecording=function(t,n){if(!E.MutationObserver)return F.critical("Browser does not support MutationObserver; skipping session recording"),U.resolve();var i=p.bind(function(a){return new U(p.bind(function(u){var c=Ir(p.bind(function(){this._recorder=this._recorder||new E[es](this.mixpanelInstance),this._recorder.resumeRecording(a),u()},this));if(p.isUndefined(E[es])){var f=this.recorderSrc||this.libBasePath+Hp;this.loadExtraBundle(f,c)}else c()},this))},this),e=rp(this.getMpConfig("record_allowed_iframe_origins"),cC),r=e.length>0;if(r&&(this._setupParentFrameListener(e),E.parent!==E))return this._setupChildFrameListener(e,i),this._sendParentFrameRequestWithRetry(e),U.resolve();var o=p.isUndefined(n)?this.getMpConfig("record_sessions_percent"):n,s=o>0&&Math.random()*100<=o;return t||s?i(!0):this.shouldLoadRecorder().then(p.bind(function(a){return a?i(!1):U.resolve()},this))};Oe.prototype.isRecording=function(){if(!this._recorder||!p.isFunction(this._recorder.isRecording))return!1;try{return this._recorder.isRecording()}catch(t){return this.reportError("Error checking if recording is active",t),!1}};Oe.prototype.startRecordingOnEvent=function(t,n){var i=this.isRecording(),e=this.getMpConfig("recording_event_triggers");if(!i&&e){var r=e[t];if(r&&typeof r.percentage=="number"){var o=r.percentage,s=r.property_filters;if(s&&!p.isEmptyObject(s)){var a=this.targetingSrc||this.libBasePath+gf;Tp(this.loadExtraBundle,a).then(function(u){try{var c=u.eventMatchesCriteria(t,n,{event_name:t,property_filters:s});c.matches&&this.checkAndStartSessionRecording(!1,o)}catch(f){F.critical("Could not parse recording event trigger properties logic:",f)}}.bind(this)).catch(function(u){F.critical("Failed to load targeting library:",u)})}else this.checkAndStartSessionRecording(!1,o)}}};Oe.prototype.stopSessionRecording=function(){return this._recorder?this._recorder.stopRecording():U.resolve()};Oe.prototype.pauseSessionRecording=function(){return this._recorder?this._recorder.pauseRecording():U.resolve()};Oe.prototype.resumeSessionRecording=function(){return this._recorder?this._recorder.resumeRecording():U.resolve()};
vendor: 46,589 bytes, line 93
93Oe.prototype.isRecordingHeatmapData=function(){return this.getSessionReplayId()&&this.getMpConfig("record_heatmap_data")};Oe.prototype.getSessionRecordingProperties=function(){var t={},n=this.getSessionReplayId();return n&&(t.$mp_replay_id=n),t};Oe.prototype.getSessionReplayUrl=function(){var t=null,n=this.getSessionReplayId();if(n){var i=p.HTTPBuildQuery({replay_id:n,distinct_id:this.getDistinctId(),token:this.getMpConfig("token")});t="https://mixpanel.com/projects/replay-redirect?"+i}return t};Oe.prototype.getSessionReplayId=function(){if(this._parentReplayId)return this._parentReplayId;var t=null;return this._recorder&&(t=this._recorder.replayId),t||null};Oe.prototype.getRecorder=function(){return this._recorder};Oe.prototype._setupChildFrameListener=function(t,n){if(!this._childFrameMessageHandler){var i=this;this._childFrameMessageHandler=function(e){if(t.indexOf(e.origin)!==-1){var r=e.data;r&&r.type===Pp&&r.token===i.getMpConfig("token")&&r.replayId&&(i._parentReplayId=r.replayId,r.distinctId&&i.mixpanelInstance.identify(r.distinctId),i._parentFrameRetryActive=!1,E.removeEventListener("message",i._childFrameMessageHandler),i._childFrameMessageHandler=null,n(!0))}},E.addEventListener("message",this._childFrameMessageHandler)}};Oe.prototype._sendParentFrameRequest=function(t){var n={};n.type=$p,n.token=this.getMpConfig("token");for(var i=0;i<t.length;i++)try{E.parent.postMessage(n,t[i])}catch{}};Oe.prototype._sendParentFrameRequestWithRetry=function(t){var n=this,i=10,e=0,r=50;this._parentFrameRetryActive=!0,this._sendParentFrameRequest(t);function o(){setTimeout(function(){!n._parentFrameRetryActive||n._parentReplayId||++e>=i||(n._sendParentFrameRequest(t),r*=2,o())},r)}o()};Oe.prototype._setupParentFrameListener=function(t){if(!this._parentFrameMessageHandler){var n=this;this._parentFrameMessageHandler=function(i){if(t.indexOf(i.origin)!==-1){var e=i.data;if(e&&e.type===$p&&e.token===n.getMpConfig("token")){var r=n.getSessionReplayId();if(r){var o={};o.type=Pp,o.token=n.getMpConfig("token"),o.replayId=r,o.distinctId=n.getDistinctId(),i.source.postMessage(o,i.origin)}}}},E.addEventListener("message",this._parentFrameMessageHandler)}};Xa(Oe);var pt=function(){};pt.prototype.create_properties=function(){};pt.prototype.event_handler=function(){};pt.prototype.after_track_handler=function(){};pt.prototype.init=function(t){return this.mp=t,this};pt.prototype.track=function(t,n,i,e){var r=this,o=p.dom_query(t);if(o.length===0){F.error("The DOM query ("+t+") returned 0 elements");return}return p.each(o,function(s){p.register_event(s,this.override_event,function(a){var u={},c=r.create_properties(i,this),f=r.mp.get_config("track_links_timeout");r.event_handler(a,this,u),window.setTimeout(r.track_callback(e,c,u,!0),f),r.mp.track(n,c,r.track_callback(e,c,u))})},this),!0};pt.prototype.track_callback=function(t,n,i,e){e=e||!1;var r=this;return function(){i.callback_fired||(i.callback_fired=!0,!(t&&t(e,n)===!1)&&r.after_track_handler(n,i,e))}};pt.prototype.create_properties=function(t,n){var i;return typeof t=="function"?i=t(n):i=p.extend({},t),i};var xr=function(){this.override_event="click"};p.inherit(xr,pt);xr.prototype.create_properties=function(t,n){var i=xr.superclass.create_properties.apply(this,arguments);return n.href&&(i.url=n.href),i};xr.prototype.event_handler=function(t,n,i){i.new_tab=t.which===2||t.metaKey||t.ctrlKey||n.target==="_blank",i.href=n.href,i.new_tab||t.preventDefault()};xr.prototype.after_track_handler=function(t,n){n.new_tab||setTimeout(function(){window.location=n.href},0)};var _o=function(){this.override_event="submit"};p.inherit(_o,pt);_o.prototype.event_handler=function(t,n,i){i.element=n,t.preventDefault()};_o.prototype.after_track_handler=function(t,n){setTimeout(function(){n.element.submit()},0)};var bt="$set",Rr="$set_once",We="$unset",Ht="$add",Ze="$append",Yt="$union",st="$remove",fC="$delete",Np={set_action:function(t,n){var i={},e={};return p.isObject(t)?p.each(t,function(r,o){this._is_reserved_property(o)||(e[o]=r)},this):e[t]=n,i[bt]=e,i},unset_action:function(t){var n={},i=[];return p.isArray(t)||(t=[t]),p.each(t,function(e){this._is_reserved_property(e)||i.push(e)},this),n[We]=i,n},set_once_action:function(t,n){var i={},e={};return p.isObject(t)?p.each(t,function(r,o){this._is_reserved_property(o)||(e[o]=r)},this):e[t]=n,i[Rr]=e,i},union_action:function(t,n){var i={},e={};return p.isObject(t)?p.each(t,function(r,o){this._is_reserved_property(o)||(e[o]=p.isArray(r)?r:[r])},this):e[t]=p.isArray(n)?n:[n],i[Yt]=e,i},append_action:function(t,n){var i={},e={};return p.isObject(t)?p.each(t,function(r,o){this._is_reserved_property(o)||(e[o]=r)},this):e[t]=n,i[Ze]=e,i},remove_action:function(t,n){var i={},e={};return p.isObject(t)?p.each(t,function(r,o){this._is_reserved_property(o)||(e[o]=r)},this):e[t]=n,i[st]=e,i},delete_action:function(){var t={};return t[fC]="",t}},se=function(){};p.extend(se.prototype,Np);se.prototype._init=function(t,n,i){this._mixpanel=t,this._group_key=n,this._group_id=i};se.prototype.set=Ar(function(t,n,i){var e=this.set_action(t,n);return p.isObject(t)&&(i=n),this._send_request(e,i)});se.prototype.set_once=Ar(function(t,n,i){var e=this.set_once_action(t,n);return p.isObject(t)&&(i=n),this._send_request(e,i)});se.prototype.unset=Ar(function(t,n){var i=this.unset_action(t);return this._send_request(i,n)});se.prototype.union=Ar(function(t,n,i){p.isObject(t)&&(i=n);var e=this.union_action(t,n);return this._send_request(e,i)});se.prototype.delete=Ar(function(t){var n=this.delete_action();return this._send_request(n,t)});se.prototype.remove=Ar(function(t,n,i){var e=this.remove_action(t,n);return this._send_request(e,i)});se.prototype._send_request=function(t,n){t.$group_key=this._group_key,t.$group_id=this._group_id,t.$token=this._get_config("token");var i=p.encodeDates(t);return this._mixpanel._track_or_batch({type:"groups",data:i,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},n)};se.prototype._is_reserved_property=function(t){return t==="$group_key"||t==="$group_id"};se.prototype._get_config=function(t){return this._mixpanel.get_config(t)};se.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id};se.prototype.remove=se.prototype.remove;se.prototype.set=se.prototype.set;se.prototype.set_once=se.prototype.set_once;se.prototype.union=se.prototype.union;se.prototype.unset=se.prototype.unset;se.prototype.toString=se.prototype.toString;var B=function(){};p.extend(B.prototype,Np);B.prototype._init=function(t){this._mixpanel=t};B.prototype.set=Mt(function(t,n,i){var e=this.set_action(t,n);return p.isObject(t)&&(i=n),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),e[bt]=p.extend({},p.info.people_properties(),e[bt]),this._send_request(e,i)});B.prototype.set_once=Mt(function(t,n,i){var e=this.set_once_action(t,n);return p.isObject(t)&&(i=n),this._send_request(e,i)});B.prototype.unset=Mt(function(t,n){var i=this.unset_action(t);return this._send_request(i,n)});B.prototype.increment=Mt(function(t,n,i){var e={},r={};return p.isObject(t)?(p.each(t,function(o,s){if(!this._is_reserved_property(s))if(isNaN(parseFloat(o))){F.error("Invalid increment value passed to mixpanel.people.increment - must be a number");return}else r[s]=o},this),i=n):(p.isUndefined(n)&&(n=1),r[t]=n),e[Ht]=r,this._send_request(e,i)});B.prototype.append=Mt(function(t,n,i){p.isObject(t)&&(i=n);var e=this.append_action(t,n);return this._send_request(e,i)});B.prototype.remove=Mt(function(t,n,i){p.isObject(t)&&(i=n);var e=this.remove_action(t,n);return this._send_request(e,i)});B.prototype.union=Mt(function(t,n,i){p.isObject(t)&&(i=n);var e=this.union_action(t,n);return this._send_request(e,i)});B.prototype.track_charge=Mt(function(){F.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")});B.prototype.clear_charges=function(t){return this.set("$transactions",[],t)};B.prototype.delete_user=function(){if(!this._identify_called()){F.error("mixpanel.people.delete_user() requires you to call identify() first");return}var t={$delete:this._mixpanel.get_distinct_id()};return this._send_request(t)};B.prototype.toString=function(){return this._mixpanel.toString()+".people"};B.prototype._send_request=function(t,n){t.$token=this._get_config("token"),t.$distinct_id=this._mixpanel.get_distinct_id();var i=this._mixpanel.get_property("$device_id"),e=this._mixpanel.get_property("$user_id"),r=this._mixpanel.get_property("$had_persisted_distinct_id");i&&(t.$device_id=i),e&&(t.$user_id=e),r&&(t.$had_persisted_distinct_id=r);var o=p.encodeDates(t);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:o,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},n):(this._enqueue(t),p.isUndefined(n)||(this._get_config("verbose")?n({status:-1,error:null}):n(-1)),p.truncate(o,255))};B.prototype._get_config=function(t){return this._mixpanel.get_config(t)};B.prototype._identify_called=function(){return this._mixpanel._flags.identify_called===!0};B.prototype._enqueue=function(t){bt in t?this._mixpanel.persistence._add_to_people_queue(bt,t):Rr in t?this._mixpanel.persistence._add_to_people_queue(Rr,t):We in t?this._mixpanel.persistence._add_to_people_queue(We,t):Ht in t?this._mixpanel.persistence._add_to_people_queue(Ht,t):Ze in t?this._mixpanel.persistence._add_to_people_queue(Ze,t):st in t?this._mixpanel.persistence._add_to_people_queue(st,t):Yt in t?this._mixpanel.persistence._add_to_people_queue(Yt,t):F.error("Invalid call to _enqueue():",t)};B.prototype._flush_one_queue=function(t,n,i,e){var r=this,o=p.extend({},this._mixpanel.persistence.load_queue(t)),s=o;!p.isUndefined(o)&&p.isObject(o)&&!p.isEmptyObject(o)&&(r._mixpanel.persistence._pop_from_people_queue(t,o),r._mixpanel.persistence.save(),e&&(s=e(o)),n.call(r,s,function(a,u){a===0&&r._mixpanel.persistence._add_to_people_queue(t,o),p.isUndefined(i)||i(a,u)}))};B.prototype._flush=function(t,n,i,e,r,o,s){var a=this;this._flush_one_queue(bt,this.set,t),this._flush_one_queue(Rr,this.set_once,e),this._flush_one_queue(We,this.unset,o,function(d){return p.keys(d)}),this._flush_one_queue(Ht,this.increment,n),this._flush_one_queue(Yt,this.union,r);var u=this._mixpanel.persistence.load_queue(Ze);if(!p.isUndefined(u)&&p.isArray(u)&&u.length)for(var c,f=function(d,y){d===0&&a._mixpanel.persistence._add_to_people_queue(Ze,c),p.isUndefined(i)||i(d,y)},l=u.length-1;l>=0;l--)u=this._mixpanel.persistence.load_queue(Ze),c=u.pop(),a._mixpanel.persistence.save(),p.isEmptyObject(c)||a.append(c,f);var h=this._mixpanel.persistence.load_queue(st);if(!p.isUndefined(h)&&p.isArray(h)&&h.length)for(var g,v=function(d,y){d===0&&a._mixpanel.persistence._add_to_people_queue(st,g),p.isUndefined(s)||s(d,y)},m=h.length-1;m>=0;m--)h=this._mixpanel.persistence.load_queue(st),g=h.pop(),a._mixpanel.persistence.save(),p.isEmptyObject(g)||a.remove(g,v)};B.prototype._is_reserved_property=function(t){return t==="$distinct_id"||t==="$token"||t==="$device_id"||t==="$user_id"||t==="$had_persisted_distinct_id"};B.prototype.set=B.prototype.set;B.prototype.set_once=B.prototype.set_once;B.prototype.unset=B.prototype.unset;B.prototype.increment=B.prototype.increment;B.prototype.append=B.prototype.append;B.prototype.remove=B.prototype.remove;B.prototype.union=B.prototype.union;B.prototype.track_charge=B.prototype.track_charge;B.prototype.clear_charges=B.prototype.clear_charges;B.prototype.delete_user=B.prototype.delete_user;B.prototype.toString=B.prototype.toString;var au="__mps",uu="__mpso",cu="__mpus",fu="__mpa",lu="__mpap",hu="__mpr",pu="__mpu",Lp="$people_distinct_id",Yi="__alias",pn="__timers",lC=[au,uu,cu,fu,lu,hu,pu,Lp,Yi,pn],W=function(t){this.props={},this.campaign_params_saved=!1,t.persistence_name?this.name="mp_"+t.persistence_name:this.name="mp_"+t.token+"_mixpanel";var n=t.persistence;n!=="cookie"&&n!=="localStorage"&&(F.critical("Unknown persistence type "+n+"; falling back to cookie"),n=t.persistence="cookie"),n==="localStorage"&&p.localStorage.is_supported()?this.storage=p.localStorage:this.storage=p.cookie,this.load(),this.update_config(t),this.upgrade(),this.save()};W.prototype.properties=function(){var t={};return this.load(),p.each(this.props,function(n,i){p.include(lC,i)||(t[i]=n)}),t};W.prototype.load=function(){if(!this.disabled){var t=this.storage.parse(this.name);t&&(this.props=p.extend({},t))}};W.prototype.upgrade=function(){var t,n;this.storage===p.localStorage?(t=p.cookie.parse(this.name),p.cookie.remove(this.name),p.cookie.remove(this.name,!0),t&&this.register_once(t)):this.storage===p.cookie&&(n=p.localStorage.parse(this.name),p.localStorage.remove(this.name),n&&this.register_once(n))};W.prototype.save=function(){this.disabled||this.storage.set(this.name,Or(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)};W.prototype.load_prop=function(t){return this.load(),this.props[t]};W.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)};W.prototype.clear=function(){this.remove(),this.props={}};W.prototype.register_once=function(t,n,i){return p.isObject(t)?(typeof n>"u"&&(n="None"),this.expire_days=typeof i>"u"?this.default_expiry:i,this.load(),p.each(t,function(e,r){(!this.props.hasOwnProperty(r)||this.props[r]===n)&&(this.props[r]=e)},this),this.save(),!0):!1};W.prototype.register=function(t,n){return p.isObject(t)?(this.expire_days=typeof n>"u"?this.default_expiry:n,this.load(),p.extend(this.props,t),this.save(),!0):!1};W.prototype.unregister=function(t){this.load(),t in this.props&&(delete this.props[t],this.save())};W.prototype.update_search_keyword=function(t){this.register(p.info.searchInfo(t))};W.prototype.update_referrer_info=function(t){this.register_once({$initial_referrer:t||"$direct",$initial_referring_domain:p.info.referringDomain(t)||"$direct"},"")};W.prototype.get_referrer_info=function(){return p.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})};W.prototype.update_config=function(t){this.default_expiry=this.expire_days=t.cookie_expiration,this.set_disabled(t.disable_persistence),this.set_cookie_domain(t.cookie_domain),this.set_cross_site(t.cross_site_cookie),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie)};W.prototype.set_disabled=function(t){this.disabled=t,this.disabled?this.remove():this.save()};W.prototype.set_cookie_domain=function(t){t!==this.cookie_domain&&(this.remove(),this.cookie_domain=t,this.save())};W.prototype.set_cross_site=function(t){t!==this.cross_site&&(this.cross_site=t,this.remove(),this.save())};W.prototype.set_cross_subdomain=function(t){t!==this.cross_subdomain&&(this.cross_subdomain=t,this.remove(),this.save())};W.prototype.get_cross_subdomain=function(){return this.cross_subdomain};W.prototype.set_secure=function(t){t!==this.secure&&(this.secure=!!t,this.remove(),this.save())};W.prototype._add_to_people_queue=function(t,n){var i=this._get_queue_key(t),e=n[t],r=this._get_or_create_queue(bt),o=this._get_or_create_queue(Rr),s=this._get_or_create_queue(We),a=this._get_or_create_queue(Ht),u=this._get_or_create_queue(Yt),c=this._get_or_create_queue(st,[]),f=this._get_or_create_queue(Ze,[]);i===au?(p.extend(r,e),this._pop_from_people_queue(Ht,e),this._pop_from_people_queue(Yt,e),this._pop_from_people_queue(We,e)):i===uu?(p.each(e,function(l,h){h in o||(o[h]=l)}),this._pop_from_people_queue(We,e)):i===cu?p.each(e,function(l){p.each([r,o,a,u],function(h){l in h&&delete h[l]}),p.each(f,function(h){l in h&&delete h[l]}),s[l]=!0}):i===fu?(p.each(e,function(l,h){h in r?r[h]+=l:(h in a||(a[h]=0),a[h]+=l)},this),this._pop_from_people_queue(We,e)):i===pu?(p.each(e,function(l,h){p.isArray(l)&&(h in u||(u[h]=[]),p.each(l,function(g){p.include(u[h],g)||u[h].push(g)}))}),this._pop_from_people_queue(We,e)):i===hu?(c.push(e),this._pop_from_people_queue(Ze,e)):i===lu&&(f.push(e),this._pop_from_people_queue(We,e)),F.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),F.log(n),this.save()};W.prototype._pop_from_people_queue=function(t,n){var i=this.props[this._get_queue_key(t)];p.isUndefined(i)||p.each(n,function(e,r){t===Ze||t===st?p.each(i,function(o){o[r]===e&&delete o[r]}):delete i[r]},this)};W.prototype.load_queue=function(t){return this.load_prop(this._get_queue_key(t))};W.prototype._get_queue_key=function(t){if(t===bt)return au;if(t===Rr)return uu;if(t===We)return cu;if(t===Ht)return fu;if(t===Ze)return lu;if(t===st)return hu;if(t===Yt)return pu;F.error("Invalid queue:",t)};W.prototype._get_or_create_queue=function(t,n){var i=this._get_queue_key(t);return n=p.isUndefined(n)?{}:n,this.props[i]||(this.props[i]=n)};W.prototype.set_event_timer=function(t,n){var i=this.load_prop(pn)||{};i[t]=n,this.props[pn]=i,this.save()};W.prototype.remove_event_timer=function(t){var n=this.load_prop(pn)||{},i=n[t];return p.isUndefined(i)||(delete this.props[pn][t],this.save()),i};var Ki,la=function(t,n){throw new Error(t+" not available in this build.")},Re,ha=0,hC=1,Ue="mixpanel",Dp="base64",pC="json",du="$device:",dC="strict",vC="fallback",gC="disabled",pr=E.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,Fp=!pr&&Ke.indexOf("MSIE")===-1&&Ke.indexOf("Mozilla")===-1,Ji=null;ot.sendBeacon&&(Ji=function(){return ot.sendBeacon.apply(ot,arguments)});var Up={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/",settings:"settings/"},pa={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:Up,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:Dp,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:_t,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:_t,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_allowed_iframe_origins:[],record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video, audio",record_canvas:!1,record_collect_fonts:!1,record_console:!0,record_heatmap_data:!1,recording_event_triggers:{},record_idle_timeout_ms:30*60*1e3,record_mask_inputs:!0,record_max_ms:Gr,record_min_ms:0,record_network:!1,record_network_options:{},record_sessions_percent:0,recorder_src:null,targeting_src:null,lib_base_path:"https://cdn.mxpnl.com/libs/",remote_settings_mode:gC},Bp=!1,w=function(){},da=function(t,n,i){var e,r=i===Ue?Re:Re[i];if(r&&Ki===ha)e=r;else{if(r&&!p.isArray(r)){F.error("You have already initialized "+i);return}e=new w}if(e._cached_groups={},e._init(t,n,i),e.people=new B,e.people._init(e),!e.get_config("skip_first_touch_marketing")){var o=p.info.campaignParams(null),s={},a=!1;p.each(o,function(c,f){s["initial_"+f]=c,c&&(a=!0)}),a&&e.people.set_once(s)}Ne.DEBUG=Ne.DEBUG||e.get_config("debug");var u=Ki===ha?"module":"snippet";return E.dispatchEvent(new E.CustomEvent("$mp_sdk_to_extension_event",{detail:{instance:e,source:u,token:t,name:i,info:p.info}})),!p.isUndefined(r)&&p.isArray(r)&&(e._execute_array.call(e.people,r.people),e._execute_array(r)),e};w.prototype.init=function(t,n,i){if(p.isUndefined(i)){this.report_error("You must name your new library: init(token, config, name)");return}if(i===Ue){this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");return}var e=da(t,n,i);return Re[i]=e,e._loaded(),e};w.prototype._init=function(t,n,i){n=n||{},this.__loaded=!0,this.config={};var e={};if(!("api_payload_format"in n)){var r=n.api_host||pa.api_host;r.match(/\.mixpanel\.com/)&&(e.api_payload_format=pC)}if(this.hooks={},this.set_config(p.extend({},pa,e,n,{name:i,token:t,callback_fn:(i===Ue?i:Ue+"."+i)+"._jsc"})),this.recorderManager=new Oe({mixpanelInstance:this,getConfigFunc:p.bind(this.get_config,this),setConfigFunc:p.bind(this.set_config,this),getTabIdFunc:p.bind(this.get_tab_id,this),reportErrorFunc:p.bind(this.report_error,this),getDistinctIdFunc:p.bind(this.get_distinct_id,this),recorderSrc:this.get_config("recorder_src"),targetingSrc:this.get_config("targeting_src"),libBasePath:this.get_config("lib_base_path"),loadExtraBundle:la}),this._jsc=_t,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(!p.localStorage.is_supported(!0)||!pr)this._batch_requests=!1,F.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),p.each(this.get_batcher_configs(),function(u){F.log("Clearing batch queue "+u.queue_key),p.localStorage.remove(u.queue_key)});else if(this.init_batchers(),Ji&&E.addEventListener){var o=p.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);E.addEventListener("pagehide",function(u){u.persisted&&o()}),E.addEventListener("visibilitychange",function(){D.visibilityState==="hidden"&&o()})}}this.persistence=this.cookie=new W(this.config),this.unpersisted_superprops={},this._gdpr_init();var s=p.UUID();this.get_distinct_id()||this.register_once({distinct_id:du+s,$device_id:s},""),this.flags=new $({getFullApiRoute:p.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:p.bind(this.get_config,this),setConfigFunc:p.bind(this.set_config,this),getPropertyFunc:p.bind(this.get_property,this),trackingFunc:p.bind(this.track,this),loadExtraBundle:la,targetingSrc:this.get_config("targeting_src")||this.get_config("lib_base_path")+gf}),this.flags.init(),this.flags=this.flags,this.autocapture=new be(this),this.autocapture.init(),this._init_tab_id();var a=this.get_config("remote_settings_mode");a===dC||a===vC?this.__session_recording_init_promise=this._fetch_remote_settings(a).then(p.bind(function(){return this._check_and_start_session_recording()},this)):this.__session_recording_init_promise=this._check_and_start_session_recording()};w.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))F.log("Tab ID initialization skipped due to disable_persistence config");else if(p.sessionStorage.is_supported())try{var t=this.get_config("name")+"_"+this.get_config("token"),n="mp_tab_id_"+t,i="mp_gen_new_tab_id_"+t;(p.sessionStorage.get(i)||!p.sessionStorage.get(n))&&p.sessionStorage.set(n,"$tab-"+p.UUID()),p.sessionStorage.set(i,"1"),this.tab_id=p.sessionStorage.get(n),E.addEventListener("beforeunload",function(){p.sessionStorage.remove(i)})}catch(e){this.report_error("Error initializing tab id",e)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")};w.prototype.get_tab_id=function(){return this.tab_id||null};w.prototype._check_and_start_session_recording=kt(function(t){return this.recorderManager.checkAndStartSessionRecording(t)});w.prototype._start_recording_on_event=function(t,n){return this.recorderManager.startRecordingOnEvent(t,n)};w.prototype.start_session_recording=function(){return this._check_and_start_session_recording(!0)};w.prototype.stop_session_recording=function(){return this.recorderManager.stopSessionRecording()};w.prototype.pause_session_recording=function(){return this.recorderManager.pauseSessionRecording()};w.prototype.resume_session_recording=function(){return this.recorderManager.resumeSessionRecording()};w.prototype.is_recording_heatmap_data=function(){return this.recorderManager.isRecordingHeatmapData()};w.prototype.get_session_recording_properties=function(){return this.recorderManager.getSessionRecordingProperties()};w.prototype.get_session_replay_url=function(){return this.recorderManager.getSessionReplayUrl()};w.prototype.__get_recorder=function(){return this.recorderManager.getRecorder()};w.prototype.__get_recording_init_promise=function(){return this.__session_recording_init_promise};w.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var t=p.info.campaignParams(null);p.each(t,function(n,i){this.unregister(i)}.bind(this))}};w.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(D.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(p.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(D.referrer)};w.prototype._dom_loaded=function(){p.each(this.__dom_loaded_queue,function(t){this._track_dom.apply(this,t)},this),this.has_opted_out_tracking()||p.each(this.__request_queue,function(t){this._send_request.apply(this,t)},this),delete this.__dom_loaded_queue,delete this.__request_queue};w.prototype._track_dom=function(t,n){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!Bp)return this.__dom_loaded_queue.push([t,n]),!1;var i=new t().init(this);return i.track.apply(i,n)};w.prototype._prepare_callback=function(t,n){if(p.isUndefined(t))return null;if(pr){var i=function(s){t(s,n)};return i}else{var e=this._jsc,r=""+Math.floor(Math.random()*1e8),o=this.get_config("callback_fn")+"["+r+"]";return e[r]=function(s){delete e[r],t(s,n)},o}};w.prototype._send_request=function(t,n,i,e){var r=!0;if(Fp)return this.__request_queue.push(arguments),r;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},s=null;!e&&(p.isFunction(i)||typeof i=="string")&&(e=i,i=null),i=p.extend(o,i||{}),pr||(i.method="GET");var a=i.method==="POST",u=Ji&&a&&i.transport.toLowerCase()==="sendbeacon",c=i.verbose;n.verbose&&(c=!0),this.get_config("test")&&(n.test=1),c&&(n.verbose=1),this.get_config("img")&&(n.img=1),pr||(e?n.callback=e:(c||this.get_config("test"))&&(n.callback="(function(){})")),n.ip=this.get_config("ip")?1:0,n._=new Date().getTime().toString(),a&&(s="data="+encodeURIComponent(n.data),delete n.data),p.extend(n,this.get_config("api_extra_query_params")),t+="?"+p.HTTPBuildQuery(n);var f=this;if("img"in n){var l=D.createElement("img");l.src=t,D.body.appendChild(l)}else if(u){try{r=Ji(t,s)}catch(y){f.report_error(y),r=!1}try{e&&e(r?1:0)}catch(y){f.report_error(y)}}else if(pr)try{var h=new XMLHttpRequest;h.open(i.method,t,!0);var g=this.get_config("xhr_headers");if(a&&(g["Content-Type"]="application/x-www-form-urlencoded"),p.each(g,function(y,_){h.setRequestHeader(_,y)}),i.timeout_ms&&typeof h.timeout<"u"){h.timeout=i.timeout_ms;var v=new Date().getTime()}h.withCredentials=!0,h.onreadystatechange=function(){if(h.readyState===4)if(h.status===200){if(e)if(c){var y;try{y=p.JSONDecode(h.responseText)}catch(C){if(f.report_error(C),i.ignore_json_errors)y=h.responseText;else return}e(y)}else e(Number(h.responseText))}else{var _;if(h.timeout&&!h.status&&new Date().getTime()-v>=h.timeout?_="timeout":_="Bad HTTP status: "+h.status+" "+h.statusText,f.report_error(_),e)if(c){var b=h.responseHeaders||{};e({status:0,httpStatusCode:h.status,error:_,retryAfter:b["Retry-After"]})}else e(0)}},h.send(s)}catch(y){f.report_error(y),r=!1}else{var m=D.createElement("script");m.type="text/javascript",m.async=!0,m.defer=!0,m.src=t;var d=D.getElementsByTagName("script")[0];d.parentNode.insertBefore(m,d)}return r};w.prototype._fetch_remote_settings=function(t){var n=this,i=function(){t==="strict"&&n.set_config({record_sessions_percent:0})};if(!E.AbortController)return F.critical("Remote settings unavailable: missing minimum required APIs"),i(),Promise.resolve();var e=this.get_api_host("settings")+"/"+this.get_config("api_routes").settings,r={$lib_version:Ne.LIB_VERSION,mp_lib:"web",sdk_config:"1"},o=p.HTTPBuildQuery(r),s=e+"?"+o,a=new AbortController,u=setTimeout(function(){a.abort()},500),c={method:"GET",headers:{Authorization:"Basic "+btoa(n.get_config("token")+":")},signal:a.signal};return E.fetch(s,c).then(function(f){if(clearTimeout(u),!f.ok){F.critical("Network response was not ok"),i();return}return f.json()}).then(function(f){if(f&&f.sdk_config&&f.sdk_config.config){var l=f.sdk_config.config,h={};p.each(l,function(g,v){pa.hasOwnProperty(v)&&(h[v]=g)}),p.isEmptyObject(h)?(F.critical("No valid config keys found in remote settings."),i()):n.set_config(h)}else i()}).catch(function(f){clearTimeout(u),F.critical("Failed to fetch remote settings",f),i()})};w.prototype._execute_array=function(t){var n,i=[],e=[],r=[];p.each(t,function(s){s&&(n=s[0],p.isArray(n)?r.push(s):typeof s=="function"?s.call(this):p.isArray(s)&&n==="alias"?i.push(s):p.isArray(s)&&n.indexOf("track")!==-1&&typeof this[n]=="function"?r.push(s):e.push(s))},this);var o=function(s,a){p.each(s,function(u){if(p.isArray(u[0])){var c=a;p.each(u,function(f){c=c[f[0]].apply(c,f.slice(1))})}else this[u[0]].apply(this,u.slice(1))},a)};o(i,this),o(e,this),o(r,this)};w.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events};w.prototype.get_batcher_configs=function(){var t="__mpq_"+this.get_config("token");return this._batcher_configs=this._batcher_configs||{events:{type:"events",api_name:"track",queue_key:t+"_ev"},people:{type:"people",api_name:"engage",queue_key:t+"_pp"},groups:{type:"groups",api_name:"groups",queue_key:t+"_gr"}},this._batcher_configs};w.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var t=p.bind(function(i){return new Be(i.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:p.bind(function(e,r,o){var s=this.get_config("api_routes");this._send_request(this.get_api_host(i.api_name)+"/"+s[i.api_name],this._encode_data_for_request(e),r,this._prepare_callback(o,e))},this),beforeSendHook:p.bind(function(e){var r=this._run_hook("before_send_"+i.type,e);return r?r[0]:null},this),stopAllBatchingFunc:p.bind(this.stop_batch_senders,this),usePersistence:!0})},this),n=this.get_batcher_configs();this.request_batchers={events:t(n.events),people:t(n.people),groups:t(n.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()};w.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,p.each(this.request_batchers,function(t){t.start()}))};w.prototype.stop_batch_senders=function(){this._batch_requests=!1,p.each(this.request_batchers,function(t){t.stop(),t.clear()})};w.prototype.push=function(t){this._execute_array([t])};w.prototype.enable=function(t){var n,i,e,r;if(typeof t>"u")this._flags.disable_all_events=!1;else{for(n={},i=[],e=0;e<t.length;e++)n[t[e]]=!0;for(r=0;r<this.__disabled_events.length;r++)n[this.__disabled_events[r]]||i.push(this.__disabled_events[r]);this.__disabled_events=i}};w.prototype.disable=function(t){typeof t>"u"?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(t)};w.prototype._encode_data_for_request=function(t){var n=Or(t);return this.get_config("api_payload_format")===Dp&&(n=p.base64Encode(n)),{data:n}};w.prototype._track_or_batch=function(t,n){var i=p.truncate(t.data,255),e=t.endpoint,r=t.batcher,o=t.should_send_immediately,s=t.send_request_options||{};n=n||_t;var a=!0,u=p.bind(function(){return s.skip_hooks||(i=this._run_hook("before_send_"+t.type,i),i&&(i=i[0])),i?(F.log("MIXPANEL REQUEST:"),F.log(i),this._send_request(e,this._encode_data_for_request(i),s,this._prepare_callback(n,i))):null},this);return this._batch_requests&&!o?r.enqueue(i).then(function(c){c?n(1,i):u()}):a=u(),a&&i};w.prototype.track=kt(function(t,n,i,e){var r;if(!(i&&i.skip_hooks)){if(r=this._run_hook("before_track",t,n),r===null)return;t=r[0],n=r[1]}!e&&typeof i=="function"&&(e=i,i=null),i=i||{};var o=i.transport;o&&(i.transport=o);var s=i.send_immediately;if(typeof e!="function"&&(e=_t),p.isUndefined(t)){this.report_error("No event name provided to mixpanel.track");return}if(this._event_is_disabled(t)){e(0);return}n=p.extend({},n),n.token=this.get_config("token");var a=this.persistence.remove_event_timer(t);if(!p.isUndefined(a)){var u=new Date().getTime()-a;n.$duration=parseFloat((u/1e3).toFixed(3))}this._set_default_superprops();var c=this.get_config("track_marketing")?p.info.marketingParams():{};n=p.extend({},p.info.properties({mp_loader:this.get_config("mp_loader")}),c,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),n);var f=this.get_config("property_blacklist");p.isArray(f)?p.each(f,function(h){delete n[h]}):this.report_error("Invalid value for property_blacklist config: "+f),this._start_recording_on_event(t,n);var l={event:t,properties:n};return r=this._track_or_batch({type:"events",data:l,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:s,send_request_options:i},e),this.flags&&this.flags.checkFirstTimeEvents&&this.flags.checkFirstTimeEvents(t,n),r});w.prototype.set_group=kt(function(t,n,i){p.isArray(n)||(n=[n]);var e={};return e[t]=n,this.register(e),this.people.set(t,n,i)});w.prototype.add_group=kt(function(t,n,i){var e=this.get_property(t),r={};return e===void 0?(r[t]=[n],this.register(r)):e.indexOf(n)===-1&&(e.push(n),r[t]=e,this.register(r)),this.people.union(t,n,i)});w.prototype.remove_group=kt(function(t,n,i){var e=this.get_property(t);if(e!==void 0){var r=e.indexOf(n);r>-1&&(e.splice(r,1),this.register({group_key:e})),e.length===0&&this.unregister(t)}return this.people.remove(t,n,i)});w.prototype.track_with_groups=kt(function(t,n,i,e){var r=p.extend({},n||{});return p.each(i,function(o,s){o!=null&&(r[s]=o)}),this.track(t,r,e)});w.prototype._create_map_key=function(t,n){return t+"_"+JSON.stringify(n)};w.prototype._remove_group_from_cache=function(t,n){delete this._cached_groups[this._create_map_key(t,n)]};w.prototype.get_group=function(t,n){var i=this._create_map_key(t,n),e=this._cached_groups[i];return(e===void 0||e._group_key!==t||e._group_id!==n)&&(e=new se,e._init(this,t,n),this._cached_groups[i]=e),e};w.prototype.track_pageview=kt(function(t,n){typeof t!="object"&&(t={}),n=n||{};var i=n.event_name||"$mp_web_page_view",e=p.extend(p.info.mpPageViewProperties(),p.info.campaignParams(),p.info.clickParams()),r=p.extend({},e,t);return this.track(i,r)});w.prototype.track_links=function(){return this._track_dom.call(this,xr,arguments)};w.prototype.track_forms=function(){return this._track_dom.call(this,_o,arguments)};w.prototype.time_event=function(t){if(p.isUndefined(t)){this.report_error("No event name provided to mixpanel.time_event");return}this._event_is_disabled(t)||this.persistence.set_event_timer(t,new Date().getTime())};var mC={persistent:!0},vu=function(t){var n;return p.isObject(t)?n=t:p.isUndefined(t)?n={}:n={days:t},p.extend({},mC,n)};w.prototype.register=function(t,n){var i=this._run_hook("before_register",t,n);if(i!==null){t=i[0],n=i[1];var e=vu(n);e.persistent?this.persistence.register(t,e.days):p.extend(this.unpersisted_superprops,t)}};w.prototype.register_once=function(t,n,i){var e=this._run_hook("before_register_once",t,n,i);if(e!==null){t=e[0],n=e[1],i=e[2];var r=vu(i);r.persistent?this.persistence.register_once(t,n,r.days):(typeof n>"u"&&(n="None"),p.each(t,function(o,s){(!this.unpersisted_superprops.hasOwnProperty(s)||this.unpersisted_superprops[s]===n)&&(this.unpersisted_superprops[s]=o)},this))}};w.prototype.unregister=function(t,n){var i=this._run_hook("before_unregister",t,n);i!==null&&(t=i[0],n=i[1],n=vu(n),n.persistent?this.persistence.unregister(t):delete this.unpersisted_superprops[t])};w.prototype._register_single=function(t,n){var i={};i[t]=n,this.register(i)};w.prototype.identify=function(t,n,i,e,r,o,s,a){var u=this._run_hook("before_identify",t);if(u===null)return-1;t=u[0];var c=this.get_distinct_id();if(t&&c!==t){if(typeof t=="string"&&t.indexOf(du)===0)return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:t})}if(!this.get_property("$device_id")){var f=c;this.register_once({$had_persisted_distinct_id:!0,$device_id:f},"")}t!==c&&t!==this.get_property(Yi)&&(this.unregister(Yi),this.register({distinct_id:t})),this._flags.identify_called=!0,this.people._flush(n,i,e,r,o,s,a),t!==c&&this.track("$identify",{distinct_id:t,$anon_distinct_id:c},{skip_hooks:!0}),t!==c&&this.flags.fetchFlags().catch(function(){F.error("[flags] Error fetching flags during identify")})};w.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var t=p.UUID();this.register_once({distinct_id:du+t,$device_id:t},""),this._check_and_start_session_recording()};w.prototype.get_distinct_id=function(){return this.get_property("distinct_id")};w.prototype.alias=function(t,n){if(t===this.get_property(Lp))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var i=this;return p.isUndefined(n)&&(n=this.get_distinct_id()),t!==n?(this._register_single(Yi,t),this.track("$create_alias",{alias:t,distinct_id:n},{skip_hooks:!0},function(){i.identify(t)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(t),-1)};w.prototype.name_tag=function(t){this._register_single("mp_name_tag",t)};w.prototype.set_config=function(t){if(p.isObject(t)){p.extend(this.config,t);var n=t.batch_size;n&&p.each(this.request_batchers,function(i){i.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),Ne.DEBUG=Ne.DEBUG||this.get_config("debug"),("autocapture"in t||"record_heatmap_data"in t)&&this.autocapture&&this.autocapture.init(),p.isObject(t.hooks)&&(this.hooks={},p.each(t.hooks,function(i,e){if(p.isFunction(i))this.hooks[e]=[i];else if(p.isArray(i)){this.hooks[e]=[];for(var r=0;r<i.length;r++)p.isFunction(i[r])||F.critical("Invalid hook added. Hook is not a function"),this.hooks[e].push(i[r])}else F.critical("Invalid hooks added. Ensure that the hook values passed into config.hooks are functions or arrays of functions.")},this))}};w.prototype.get_config=function(t){return this.config[t]};w.prototype._run_hook=function(t){var n=mt.call(arguments,1);return p.each(this.hooks[t],function(i){if(n===null)return null;var e=i.apply(this,n);typeof e>"u"?(this.report_error(t+" hook did not return a valid value"),n=null):(p.isArray(e)||(e=[e]),n.splice.apply(n,[0,e.length].concat(e)))},this),n};w.prototype.get_property=function(t){return this.persistence.load_prop([t])};w.prototype.get_api_host=function(t){return this.get_config("api_hosts")[t]||this.get_config("api_host")};w.prototype.toString=function(){var t=this.get_config("name");return t!==Ue&&(t=Ue+"."+t),t};w.prototype._event_is_disabled=function(t){return p.isBlockedUA(Ke)||this._flags.disable_all_events||p.include(this.__disabled_events,t)};w.prototype._gdpr_init=function(){var t=this.get_config("opt_out_tracking_persistence_type")==="localStorage";t&&p.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):!this.has_opted_in_tracking()&&(this.get_config("opt_out_tracking_by_default")||p.cookie.get("mp_optout"))&&(p.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))};w.prototype._gdpr_update_persistence=function(t){var n;if(t&&t.clear_persistence)n=!0;else if(t&&t.enable_persistence)n=!1;else return;!this.get_config("disable_persistence")&&this.persistence.disabled!==n&&this.persistence.set_disabled(n),n?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()};w.prototype._gdpr_call_func=function(t,n){return n=p.extend({track:p.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},n),p.localStorage.is_supported()||(n.persistence_type="cookie"),t(this.get_config("token"),{track:n.track,trackEventName:n.track_event_name,trackProperties:n.track_properties,persistenceType:n.persistence_type,persistencePrefix:n.cookie_prefix,cookieDomain:n.cookie_domain,cookieExpiration:n.cookie_expiration,crossSiteCookie:n.cross_site_cookie,crossSubdomainCookie:n.cross_subdomain_cookie,secureCookie:n.secure_cookie,ignoreDnt:n.ignore_dnt})};w.prototype.opt_in_tracking=function(t){t=p.extend({enable_persistence:!0},t),this._gdpr_call_func(Xb,t),this._gdpr_update_persistence(t)};w.prototype.opt_out_tracking=function(t){t=p.extend({clear_persistence:!0,delete_user:!0},t),t.delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(Zb,t),this._gdpr_update_persistence(t)};w.prototype.has_opted_in_tracking=function(t){return this._gdpr_call_func(Qb,t)};w.prototype.has_opted_out_tracking=function(t){return this._gdpr_call_func(Zh,t)};w.prototype.clear_opt_in_out_tracking=function(t){t=p.extend({enable_persistence:!0},t),this._gdpr_call_func(eS,t),this._gdpr_update_persistence(t)};w.prototype.report_error=function(t,n){F.error.apply(F.error,arguments);try{!n&&!(t instanceof Error)&&(t=new Error(t)),this.get_config("error_reporter")(t,n)}catch(i){F.error(i)}};w.prototype.add_hook=function(t,n){this.hooks[t]||(this.hooks[t]=[]),this.hooks[t].push(n)};w.prototype.remove_hook=function(t,n){var i;this.hooks[t]&&(i=this.hooks[t].indexOf(n),i!==-1?this.hooks[t].splice(i,1):F.log("remove_hook failed. Matching hook was not found"))};w.prototype.init=w.prototype.init;w.prototype.reset=w.prototype.reset;w.prototype.enable=w.prototype.enable;w.prototype.disable=w.prototype.disable;w.prototype.time_event=w.prototype.time_event;w.prototype.track=w.prototype.track;w.prototype.track_links=w.prototype.track_links;w.prototype.track_forms=w.prototype.track_forms;w.prototype.track_pageview=w.prototype.track_pageview;w.prototype.register=w.prototype.register;w.prototype.register_once=w.prototype.register_once;w.prototype.unregister=w.prototype.unregister;w.prototype.identify=w.prototype.identify;w.prototype.alias=w.prototype.alias;w.prototype.name_tag=w.prototype.name_tag;w.prototype.set_config=w.prototype.set_config;w.prototype.get_config=w.prototype.get_config;w.prototype.get_api_host=w.prototype.get_api_host;w.prototype.get_property=w.prototype.get_property;w.prototype.get_distinct_id=w.prototype.get_distinct_id;w.prototype.toString=w.prototype.toString;w.prototype.opt_out_tracking=w.prototype.opt_out_tracking;w.prototype.opt_in_tracking=w.prototype.opt_in_tracking;w.prototype.has_opted_out_tracking=w.prototype.has_opted_out_tracking;w.prototype.has_opted_in_tracking=w.prototype.has_opted_in_tracking;w.prototype.clear_opt_in_out_tracking=w.prototype.clear_opt_in_out_tracking;w.prototype.get_group=w.prototype.get_group;w.prototype.set_group=w.prototype.set_group;w.prototype.add_group=w.prototype.add_group;w.prototype.remove_group=w.prototype.remove_group;w.prototype.add_hook=w.prototype.add_hook;w.prototype.remove_hook=w.prototype.remove_hook;w.prototype.track_with_groups=w.prototype.track_with_groups;w.prototype.start_batch_senders=w.prototype.start_batch_senders;w.prototype.stop_batch_senders=w.prototype.stop_batch_senders;w.prototype.start_session_recording=w.prototype.start_session_recording;w.prototype.stop_session_recording=w.prototype.stop_session_recording;w.prototype.pause_session_recording=w.prototype.pause_session_recording;w.prototype.resume_session_recording=w.prototype.resume_session_recording;w.prototype.get_session_recording_properties=w.prototype.get_session_recording_properties;w.prototype.get_session_replay_url=w.prototype.get_session_replay_url;w.prototype.get_tab_id=w.prototype.get_tab_id;w.prototype.DEFAULT_API_ROUTES=Up;w.prototype.__get_recorder=w.prototype.__get_recorder;w.prototype.__get_recording_init_promise=w.prototype.__get_recording_init_promise;W.prototype.properties=W.prototype.properties;W.prototype.update_search_keyword=W.prototype.update_search_keyword;W.prototype.update_referrer_info=W.prototype.update_referrer_info;W.prototype.get_cross_subdomain=W.prototype.get_cross_subdomain;W.prototype.clear=W.prototype.clear;var lr={},yC=function(){p.each(lr,function(t,n){n!==Ue&&(Re[n]=t)}),Re._=p},_C=function(){Re.init=function(t,n,i){if(i)return Re[i]||(Re[i]=lr[i]=da(t,n,i),Re[i]._loaded()),Re[i];var e=Re;lr[Ue]?e=lr[Ue]:t&&(e=da(t,n,Ue),e._loaded(),lr[Ue]=e),Re=e,Ki===hC&&(E[Ue]=Re),yC()}},wC=function(){function t(){t.done||(t.done=!0,Bp=!0,Fp=!1,p.each(lr,function(e){e._dom_loaded()}))}function n(){try{D.documentElement.doScroll("left")}catch{setTimeout(n,1);return}t()}if(D.addEventListener)D.readyState==="complete"?t():D.addEventListener("DOMContentLoaded",t,!1);else if(D.attachEvent){D.attachEvent("onreadystatechange",t);var i=!1;try{i=E.frameElement===null}catch{}D.documentElement.doScroll&&i&&n()}p.register_event(E,"load",t,!0)};function bC(t){return la=t,Ki=ha,Re=new w,_C(),Re.init(),wC(),Re}function SC(t,n){n()}var CC=bC(SC);export{CC as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.