PageSourceSearch

https://reporting.happy-or-not.com/assets/mixpanel.module-OyGXSm0d.js

js happy-or-not.com collected 2026-09-24 17:47:25 UTC 397,546 bytes, 93 lines download raw bytes

vendor: 42,079 bytes, lines 1-18
1var ur={},E;if(typeof window>"u"){var nu={hostname:""};E={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:nu,referrer:""},screen:{width:0,height:0},location:nu,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else E=window;function iu(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 ou(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 Bi(t){return function(){var n=this,i=arguments;return new Promise(function(e,r){var o=t.apply(n,i);function s(u){ou(o,e,r,s,a,"next",u)}function a(u){ou(o,e,r,s,a,"throw",u)}s(void 0)})}}function ei(t,n,i){return jc()?ei=Reflect.construct:ei=function(r,o,s){var a=[null];a.push.apply(a,o);var u=Function.bind.apply(r,a),c=new u;return s&&Gr(c,s.prototype),c},ei.apply(null,arguments)}function mp(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&&mp(t.prototype,n),t}function B(){return B=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},B.apply(this,arguments)}function zo(t){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},zo(t)}function ue(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&&Gr(t,n)}function A(t,n){return n!=null&&typeof Symbol<"u"&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](t):t instanceof n}function yp(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Lt(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 Gr(t,n){return Gr=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e},Gr(t,n)}function M(t){"@swc/helpers - typeof";return t&&typeof Symbol<"u"&&t.constructor===Symbol?"symbol":typeof t}function _p(t,n){if(t){if(typeof t=="string")return iu(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 iu(t,n)}}function qr(t){var n=typeof Map=="function"?new Map:void 0;return qr=function(e){if(e===null||!yp(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 ei(e,arguments,zo(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Gr(r,e)},qr(t)}function jc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(jc=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=_p(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 Dt(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 Qs(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 wp=Object.defineProperty,bp=function(t,n,i){return n in t?wp(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i},O=function(t,n,i){return bp(t,(typeof n>"u"?"undefined":M(n))!=="symbol"?n+"":n,i)},su,Sp=Object.defineProperty,Cp=function(t,n,i){return n in t?Sp(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i},au=function(t,n,i){return Cp(t,(typeof n>"u"?"undefined":M(n))!=="symbol"?n+"":n,i)},Se=(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})(Se||{}),uu={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},cu={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},yn={},Ep=function(){return!!globalThis.Zone};function ea(t){if(yn[t])return yn[t];var n=globalThis[t],i=n.prototype,e=t in uu?uu[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 cu?cu[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&&!Ep())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 lo={};function gt(t,n,i){var e,r=t+"."+String(i);if(lo[r])return lo[r].call(n);var o=ea(t),s=(e=Object.getOwnPropertyDescriptor(o,i))==null?void 0:e.get;return s?(lo[r]=s,s.call(n)):n[i]}var ho={};function Hc(t,n,i){var e=t+"."+String(i);if(ho[e])return ho[e].bind(n);var r=ea(t),o=r[i];return typeof o!="function"?n[i]:(ho[e]=o,o.bind(n))}function Ip(t){return gt("Node",t,"childNodes")}function xp(t){return gt("Node",t,"parentNode")}function Op(t){return gt("Node",t,"parentElement")}function kp(t){return gt("Node",t,"textContent")}function Ap(t,n){return Hc("Node",t,"contains")(n)}function Rp(t){return Hc("Node",t,"getRootNode")()}function Mp(t){return!t||!("host"in t)?null:gt("ShadowRoot",t,"host")}function $p(t){return t.styleSheets}function Tp(t){return!t||!("shadowRoot"in t)?null:gt("Element",t,"shadowRoot")}function Pp(t,n){return gt("Element",t,"querySelector")(n)}function Np(t,n){return gt("Element",t,"querySelectorAll")(n)}function Lp(){return ea("MutationObserver").constructor}function Dp(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 Ie={childNodes:Ip,parentNode:xp,parentElement:Op,textContent:kp,contains:Ap,getRootNode:Rp,host:Mp,styleSheets:$p,shadowRoot:Tp,querySelector:Pp,querySelectorAll:Np,mutationObserver:Lp,patch:Dp};function Yc(t){return t.nodeType===t.ELEMENT_NODE}function Lr(t){var n=t&&"host"in t&&"mode"in t&&Ie.host(t)||null;return!!(n&&"shadowRoot"in n&&Ie.shadowRoot(n)===t)}function Dr(t){return Object.prototype.toString.call(t)==="[object ShadowRoot]"}function Fp(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 Up(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 Wo(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 Kc(r,i)}).join("");return Fp(e)}catch{return null}}function Kc(t,n){if(zp(t)){var i;try{i=Wo(t.styleSheet)||Up(t)}catch{i=t.cssText}return t.styleSheet.href?li(i,t.styleSheet.href):i}else{var e=t.cssText;return Wp(t)&&t.selectorText.includes(":")&&(e=Bp(e)),n?li(e,n):e}}function Bp(t){var n=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return t.replace(n,"$1\\$2")}function zp(t){return"styleSheet"in t}function Wp(t){return"selectorText"in t}var Jc=(function(){function t(){au(this,"idNodeMap",new Map),au(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){var r=this,o=this.getId(e);this.idNodeMap.delete(o),e.childNodes&&e.childNodes.forEach(function(s){return r.removeNodeFromMap(s)})},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 Gp(){return new Jc}function ci(t){var n=t.element,i=t.maskInputOptions,e=t.tagName,r=t.type,o=t.value,s=t.maskInputFn,a=o||"",u=r&&Ft(r);return(i[e.toLowerCase()]||u&&i[u])&&(s?a=s(a,n):a="*".repeat(a.length)),a}function Ft(t){return t.toLowerCase()}var fu="__rrweb_original__";function qp(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=fu in o?o[fu]: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 fi(t){var n=t.type;return t.hasAttribute("data-rr-is-password")?"password":n?Ft(n):null}function Xc(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 Vp(t){var n="";return t.indexOf("//")>-1?n=t.split("/").slice(0,3).join("/"):n=t.split("/")[0],n=n.split("?")[0],n}var jp=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Hp=/^(?:[a-z+]+:)?\/\//i,Yp=/^www\..*/i,Kp=/^(data:)([^,]*),(.*)/i;function li(t,n){return(t||"").replace(jp,function(i,e,r,o,s,a){var u=r||s||a,c=e||o||"";if(!u)return i;if(Hp.test(u)||Yp.test(u)||Kp.test(u))return"url("+c+u+c+")";if(u[0]==="/")return"url("+c+(Vp(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 _n(t,n){return n===void 0&&(n=!1),n?t.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):t.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function Jp(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=_n(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=_n(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 y=e[u-1].textContent;if(y&&typeof y=="string"){var d=_n(y).length;v=s.indexOf(h,d)}v===-1&&(v=g[0].length)}if(v!==-1){for(var m=Math.floor(v/a);m>0&&m<t.length;){if(o+=1,o>50*e.length)return r.push(t),r;var _=_n(t.substring(0,m),i);if(_.length===v){r.push(t.substring(0,m)),t=t.substring(m),s=s.substring(v);break}else _.length<v?m+=Math.max(1,Math.floor((v-_.length)/a)):m-=Math.max(1,Math.floor((_.length-v)*a))}break}}}}return r.push(t),r}function Xp(t,n){return Jp(t,n).join("/* rr_split */")}var Zp=1,Qp=new RegExp("[^a-z0-9-_:]"),Vr=-2;function Zc(){return Zp++}function ed(t){if(A(t,HTMLFormElement))return"form";var n=Ft(t.tagName);return Qp.test(n)?"div":n}var Jt,lu,td=/^[^ \t\n\r\u000c]+/,rd=/^[, \t\n\r\u000c]+/;function nd(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(rd),!(i>=n.length);){var o=e(td);if(o.slice(-1)===",")o=tr(t,o.substring(0,o.length-1)),r.push(o);else{var s="";o=tr(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 hu=new WeakMap;function tr(t,n){return!n||n.trim()===""?n:ta(t,n)}function id(t){return!!(t.tagName==="svg"||t.ownerSVGElement)}function ta(t,n){var i=hu.get(t);if(i||(i=t.createElement("a"),hu.set(t,i)),!n)n="";else if(n.startsWith("blob:")||n.startsWith("data:"))return n;return i.setAttribute("href",n),i.href}function Qc(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")?tr(t,e):i==="srcset"?nd(t,e):i==="style"?li(e,ta(t)):n==="object"&&i==="data"?tr(t,e):e)}function ef(t,n,i){return(t==="video"||t==="audio")&&n==="autoplay"}function od(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 hi(t,n,i){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return i?hi(Ie.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?hi(Ie.parentNode(t),n,i):!1}function tf(t,n,i,e){var r;if(Yc(t)){if(r=t,!Ie.childNodes(r).length)return!1}else{if(Ie.parentElement(t)===null)return!1;r=Ie.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(hi(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 sd(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 ad(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,y=n.recordCanvas,d=n.keepIframeSrcFn,m=n.newlyAddedElement,_=m===void 0?!1:m,b=n.cssCaptured,S=b===void 0?!1:b,C=cd(i,e);switch(t.nodeType){case t.DOCUMENT_NODE:return t.compatMode!=="CSS1Compat"?{type:Se.Document,childNodes:[],compatMode:t.compatMode}:{type:Se.Document,childNodes:[]};case t.DOCUMENT_TYPE_NODE:return{type:Se.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:C};case t.ELEMENT_NODE:return ld(t,{doc:i,blockClass:r,blockSelector:o,inlineStylesheet:a,maskInputOptions:c,maskInputFn:l,dataURLOptions:g,inlineImages:v,recordCanvas:y,keepIframeSrcFn:d,newlyAddedElement:_,rootId:C});case t.TEXT_NODE:return fd(t,{doc:i,needsMask:s,maskTextFn:f,rootId:C,cssCaptured:S});case t.CDATA_SECTION_NODE:return{type:Se.CDATA,textContent:"",rootId:C};case t.COMMENT_NODE:return{type:Se.Comment,textContent:Ie.textContent(t)||"",rootId:C};default:return!1}}function cd(t,n){if(n.hasNode(t)){var i=n.getId(t);return i===1?void 0:i}}function fd(t,n){var i=n.needsMask,e=n.maskTextFn,r=n.rootId,o=n.cssCaptured,s=Ie.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=Ie.textContent(t),c&&u&&(u=li(u,ta(n.doc)))),!c&&!f&&u&&i&&(u=e?e(u,Ie.parentElement(t)):u.replace(/[\S]/g,"*")),{type:Se.Text,textContent:u||"",rootId:r}}function ld(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,y=v===void 0?!1:v,d=n.rootId,m=od(t,e,r),_=ed(t),b={},S=t.attributes.length,C=0;C<S;C++){var x=t.attributes[C];ef(_,x.name,x.value)||(b[x.name]=Qc(i,_,Ft(x.name),x.value))}if(_==="link"&&o){var R=Array.from(i.styleSheets).find(function(Ne){return Ne.href===t.href}),k=null;R&&(k=Wo(R)),k&&(delete b.rel,delete b.href,b._cssText=k)}if(_==="style"&&t.sheet){var $=Wo(t.sheet);$&&(t.childNodes.length>1&&($=Xp($,t)),b._cssText=$)}if(_==="input"||_==="textarea"||_==="select"){var F=t.value,P=t.checked;b.type!=="radio"&&b.type!=="checkbox"&&b.type!=="submit"&&b.type!=="button"&&F?b.value=ci({element:t,type:fi(t),tagName:_,value:F,maskInputOptions:a,maskInputFn:u}):P&&(b.checked=P)}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")qp(t)||(b.rr_dataURL=t.toDataURL(f.type,f.quality));else if(!("__context"in t)){var W=t.toDataURL(f.type,f.quality),K=i.createElement("canvas");K.width=t.width,K.height=t.height;var Re=K.toDataURL(f.type,f.quality);W!==Re&&(b.rr_dataURL=W)}}if(_==="img"&&l){Jt||(Jt=i.createElement("canvas"),lu=Jt.getContext("2d"));var J=t,Te=J.currentSrc||J.getAttribute("src")||"<unknown-src>",xe=J.crossOrigin,he=function(){J.removeEventListener("load",he);try{Jt.width=J.naturalWidth,Jt.height=J.naturalHeight,lu.drawImage(J,0,0),b.rr_dataURL=Jt.toDataURL(f.type,f.quality)}catch(Ne){if(J.crossOrigin!=="anonymous"){J.crossOrigin="anonymous",J.complete&&J.naturalWidth!==0?he():J.addEventListener("load",he);return}else console.warn("Cannot inline img src="+Te+"! Error: "+Ne)}J.crossOrigin==="anonymous"&&(xe?b.crossOrigin=xe:J.removeAttribute("crossorigin"))};J.complete&&J.naturalWidth!==0?he():J.addEventListener("load",he)}if(_==="audio"||_==="video"){var Ce=b;Ce.rr_mediaState=t.paused?"paused":"played",Ce.rr_mediaCurrentTime=t.currentTime,Ce.rr_mediaPlaybackRate=t.playbackRate,Ce.rr_mediaMuted=t.muted,Ce.rr_mediaLoop=t.loop,Ce.rr_mediaVolume=t.volume}if(y||(t.scrollLeft&&(b.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(b.rr_scrollTop=t.scrollTop)),m){var Pe=t.getBoundingClientRect(),xt=Pe.width,Ge=Pe.height;b={class:b.class,rr_width:""+xt+"px",rr_height:""+Ge+"px"}}_==="iframe"&&!g(b.src)&&(t.contentDocument||(b.rr_src=b.src),delete b.src);var jt;try{customElements.get(_)&&(jt=!0)}catch{}return{type:Se.Element,tagName:_,attributes:b,childNodes:[],isSVG:id(t)||void 0,needBlock:m,rootId:d,isCustom:jt}}function te(t){return t==null?"":t.toLowerCase()}function hd(t,n){if(n.comment&&t.type===Se.Comment)return!0;if(t.type===Se.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"&&Xc(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 rr(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,y=n.maskInputFn,d=n.slimDOMOptions,m=n.dataURLOptions,_=m===void 0?{}:m,b=n.inlineImages,S=b===void 0?!1:b,C=n.recordCanvas,x=C===void 0?!1:C,R=n.onSerialize,k=n.onIframeLoad,$=n.iframeLoadTimeout,F=$===void 0?5e3:$,P=n.onStylesheetLoad,W=n.stylesheetLoadTimeout,K=W===void 0?5e3:W,Re=n.keepIframeSrcFn,J=Re===void 0?function(){return!1}:Re,Te=n.newlyAddedElement,xe=Te===void 0?!1:Te,he=n.cssCaptured,Ce=he===void 0?!1:he,Pe=n.needsMask,xt=n.preserveWhiteSpace,Ge=xt===void 0?!0:xt;if(!Pe){var jt=Pe===void 0;Pe=tf(t,s,a,jt)}var Ne=ud(t,{doc:i,mirror:e,blockClass:r,blockSelector:o,needsMask:Pe,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:y,dataURLOptions:_,inlineImages:S,recordCanvas:x,keepIframeSrcFn:J,newlyAddedElement:xe,cssCaptured:Ce});if(!Ne)return console.warn(t,"not serialized"),null;var Ot;e.hasNode(t)?Ot=e.getId(t):hd(Ne,d)||!Ge&&Ne.type===Se.Text&&!Ne.textContent.replace(/^\s+|\s+$/gm,"").length?Ot=Vr:Ot=Zc();var Y=Object.assign(Ne,{id:Ot});if(e.add(t,Y),Ot===Vr)return null;R&&R(t);var kt=!c;if(Y.type===Se.Element){kt=kt&&!Y.needBlock,delete Y.needBlock;var At=Ie.shadowRoot(t);At&&Dr(At)&&(Y.isShadowHost=!0)}if((Y.type===Se.Document||Y.type===Se.Element)&&kt){d.headWhitespace&&Y.type===Se.Element&&Y.tagName==="head"&&(Ge=!1);var Ht={doc:i,mirror:e,blockClass:r,blockSelector:o,needsMask:Pe,maskTextClass:s,maskTextSelector:a,skipChild:c,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:y,slimDOMOptions:d,dataURLOptions:_,inlineImages:S,recordCanvas:x,preserveWhiteSpace:Ge,onSerialize:R,onIframeLoad:k,iframeLoadTimeout:F,onStylesheetLoad:P,stylesheetLoadTimeout:K,keepIframeSrcFn:J,cssCaptured:!1};if(!(Y.type===Se.Element&&Y.tagName==="textarea"&&Y.attributes.value!==void 0)){Y.type===Se.Element&&Y.attributes._cssText!==void 0&&typeof Y.attributes._cssText=="string"&&(Ht.cssCaptured=!0);for(var Ir=I(Array.from(Ie.childNodes(t))),xr;!(xr=Ir()).done;){var uo=xr.value,gn=rr(uo,Ht);gn&&Y.childNodes.push(gn)}}var ct=null;if(Yc(t)&&(ct=Ie.shadowRoot(t)))for(var Rt=I(Array.from(Ie.childNodes(ct))),Yt;!(Yt=Rt()).done;){var Or=Yt.value,Kt=rr(Or,Ht);Kt&&(Dr(ct)&&(Kt.isShadow=!0),Y.childNodes.push(Kt))}}var Mt=Ie.parentNode(t);return Mt&&Lr(Mt)&&Dr(Mt)&&(Y.isShadow=!0),Y.type===Se.Element&&Y.tagName==="iframe"&&sd(t,function(){var Ze=t.contentDocument;if(Ze&&k){var $t=rr(Ze,{doc:Ze,mirror:e,blockClass:r,blockSelector:o,needsMask:Pe,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:y,slimDOMOptions:d,dataURLOptions:_,inlineImages:S,recordCanvas:x,preserveWhiteSpace:Ge,onSerialize:R,onIframeLoad:k,iframeLoadTimeout:F,onStylesheetLoad:P,stylesheetLoadTimeout:K,keepIframeSrcFn:J});$t&&k(t,$t)}},F),Y.type===Se.Element&&Y.tagName==="link"&&typeof Y.attributes.rel=="string"&&(Y.attributes.rel==="stylesheet"||Y.attributes.rel==="preload"&&typeof Y.attributes.href=="string"&&Xc(Y.attributes.href)==="css")&&ad(t,function(){if(P){var Ze=rr(t,{doc:i,mirror:e,blockClass:r,blockSelector:o,needsMask:Pe,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:y,slimDOMOptions:d,dataURLOptions:_,inlineImages:S,recordCanvas:x,preserveWhiteSpace:Ge,onSerialize:R,onIframeLoad:k,iframeLoadTimeout:F,onStylesheetLoad:P,stylesheetLoadTimeout:K,keepIframeSrcFn:J});Ze&&P(t,Ze)}},K),Y}function pd(t,n){var i=n||{},e=i.mirror,r=e===void 0?new Jc: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,y=i.inlineImages,d=y===void 0?!1:y,m=i.recordCanvas,_=m===void 0?!1:m,b=i.maskAllInputs,S=b===void 0?!1:b,C=i.maskTextFn,x=i.maskInputFn,R=i.slimDOM,k=R===void 0?!1:R,$=i.dataURLOptions,F=i.preserveWhiteSpace,P=i.onSerialize,W=i.onIframeLoad,K=i.iframeLoadTimeout,Re=i.onStylesheetLoad,J=i.stylesheetLoadTimeout,Te=i.keepIframeSrcFn,xe=Te===void 0?function(){return!1}:Te,he=S===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:S===!1?{password:!0}:S,Ce=k===!0||k==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:k==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:k===!1?{}:k;return rr(t,{doc:t,mirror:r,blockClass:s,blockSelector:u,maskTextClass:f,maskTextSelector:h,skipChild:!1,inlineStylesheet:v,maskInputOptions:he,maskTextFn:C,maskInputFn:x,slimDOMOptions:Ce,dataURLOptions:$,inlineImages:d,recordCanvas:_,preserveWhiteSpace:F,onSerialize:P,onIframeLoad:W,iframeLoadTimeout:K,onStylesheetLoad:Re,stylesheetLoadTimeout:J,keepIframeSrcFn:xe,newlyAddedElement:!1})}function dd(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 A(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:{}},ne=String,rf=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}};ra.exports=rf();ra.exports.createColors=rf;var gd=ra.exports,md={},yd=Object.freeze(Object.defineProperty({__proto__:null,default:md},Symbol.toStringTag,{value:"Module"})),ve=vd(yd),pu=gd,du=ve,Go=(function(t){ue(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=pu.isColorSupported),du&&r&&(s=du(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=pu.createColors(!0),v=g.bold,y=g.gray,d=g.red;l=function(m){return v(d(m))},h=function(m){return y(m)}}else l=h=function(m){return m};return a.slice(u,c).map(function(m,_){var b=u+1+_,S=" "+(" "+b).slice(-f)+" | ";if(b===o.line){var C=h(S.replace(/\d/g," "))+m.slice(0,o.column-1).replace(/[^\t]/g," ");return l(">")+h(S)+m+`
2 `+C+l("^")}return" "+h(S)+m}).join(`
3`)},i.toString=function(){var r=this.showSourceCode();return r&&(r=`
4
5`+r+`
6`),this.name+": "+this.message+r},n})(qr(Error)),na=Go;Go.default=Go;var mt={};mt.isClean=Symbol("isClean");mt.my=Symbol("my");var vu={after:`
7`,beforeClose:`
8`,beforeComment:`
9`,beforeDecl:`
10`,beforeOpen:" ",beforeRule:`
11`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};function _d(t){return t[0].toUpperCase()+t.slice(1)}var qo=(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 vu[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"+_d(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=vu[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})(),nf=qo;qo.default=qo;var wd=nf;function Vo(t,n){var i=new wd(n);i.stringify(t)}var zi=Vo;Vo.default=Vo;var wn=mt.isClean,bd=mt.my,Sd=na,Cd=nf,Ed=zi;function jo(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":M(r);e==="parent"&&o==="object"?n&&(i[e]=n):e==="source"?i[e]=r:Array.isArray(r)?i[e]=r.map(function(s){return jo(s,i)}):(o==="object"&&r!==null&&(r=jo(r)),i[e]=r)}return i}var Ho=(function(){function t(i){i===void 0&&(i={}),this.raws={},this[wn]=!1,this[bd]=!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=jo(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 Sd(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[wn]){this[wn]=!1;for(var e=this;e=e.parent;)e[wn]=!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 Cd;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":M(l))==="object"&&l.toJSON?l.toJSON(null,r):l});else if((typeof c>"u"?"undefined":M(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=Ed),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})(),Wi=Ho;Ho.default=Ho;var Id=Wi,Yo=(function(t){ue(n,t);function n(i){var e;return i&&typeof i.value<"u"&&typeof i.value!="string"&&(i=B({},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})(Id),Gi=Yo;Yo.default=Yo;var xd="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Od=function(t){t===void 0&&(t=21);for(var n="",i=t;i--;)n+=xd[Math.random()*64|0];return n},kd={nanoid:Od},gu=ve.SourceMapConsumer,mu=ve.SourceMapGenerator,Ad=ve.existsSync,Rd=ve.readFileSync,po=ve.dirname,Md=ve.join;function $d(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var Ko=(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=po(this.mapFile)),o&&(this.text=o)}}var n=t.prototype;return n.consumer=function(){return this.consumerCache||(this.consumerCache=new gu(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 $d(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":M(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);if(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=po(e),Ad(e))return this.mapFile=e,Rd(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(A(r,gu))return mu.fromSourceMap(r).toString();if(A(r,mu))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=Md(po(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})(),of=Ko;Ko.default=Ko;var Td=ve.SourceMapConsumer,Pd=ve.SourceMapGenerator,yu=ve.fileURLToPath,bn=ve.pathToFileURL,Jo=ve.isAbsolute,Xo=ve.resolve,Nd=kd.nanoid,vo=ve,_u=na,Ld=of,go=Symbol("fromOffsetCac
18he"),Dd=!!(Td&&Pd),wu=!!(Xo&&Jo),pi=(function(){function t(i,e){if(e===void 0&&(e={}),i===null||typeof i>"u"||(typeof i>"u"?"undefined":M(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&&(!wu||/^\w+:\/\//.test(e.from)||Jo(e.from)?this.file=e.from:this.file=Xo(e.from)),wu&&Dd){var r=new Ld(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 "+Nd(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":M(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 y=this.origin(r,o,u,c);return y?a=new _u(e,y.endLine===void 0?y.line:{column:y.column,line:y.line},y.endLine===void 0?y.column:{column:y.endColumn,line:y.endLine},y.source,y.file,s.plugin):a=new _u(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&&(bn&&(a.input.url=bn(this.file).toString()),a.input.file=this.file),a},n.fromOffset=function(e){var r,o;if(this[go])o=this[go];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[go]=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:Xo(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;Jo(u.source)?f=bn(u.source):f=new URL(u.source,this.map.consumer().sourceRoot||bn(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(yu)l.file=yu(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=B({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},ae(t,[{key:"from",get:function(){return this.file||this.id}}]),t})(),qi=pi;pi.default=pi;vo&&vo.registerInput&&vo.registerInput(pi);var sf=ve.SourceMapConsumer,ti=ve.SourceMapGenerator,ri=ve.dirname,af=ve.relative,uf=ve.resolve,cf=ve.sep,bu=ve.pathToFileURL,Fd=qi,Ud=!!(sf&&ti),Bd=!!(ri&&uf&&af&&cf),zd=(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||ri(o.file),u=void 0;this.mapOpts.sourcesContent===!1?(u=new sf(o.text),u.sourcesContent&&(u.sourcesContent=null)):u=o.consumer(),this.map.applySourceMap(u,s,this.toUrl(this.path(a)))}},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(),Bd&&Ud&&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=ti.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new ti({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 ti({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?ri(this.opts.to):".";
vendor: 32,851 bytes, lines 23-24
23typeof this.mapOpts.annotation=="string"&&(o=ri(uf(o,this.mapOpts.annotation)));var s=af(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 Fd(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(bu){var o=bu(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;cf==="\\"&&(e=e.replace(/\\/g,"/"));var o=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,o),o},t})(),ff=zd,Wd=Wi,Zo=(function(t){ue(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="comment",e}return n})(Wd),Vi=Zo;Zo.default=Zo;var lf=mt.isClean,hf=mt.my,pf=Gi,df=Vi,Gd=Wi,vf,ia,oa,gf;function mf(t){return t.map(function(n){return n.nodes&&(n.nodes=mf(n.nodes)),delete n.source,n})}function yf(t){if(t[lf]=!1,t.proxyOf.nodes)for(var n=I(t.proxyOf.nodes),i;!(i=n()).done;){var e=i.value;yf(e)}}var rt=(function(t){ue(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]=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=mf(vf(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 pf(r)]}else if(r.selector)r=[new ia(r)];else if(r.name)r=[new oa(r)];else if(r.text)r=[new df(r)];else throw new Error("Unknown node type in node creation");var g=r.map(function(v){return v[hf]||n.rebuild(v),v=v.proxyOf,v.parent&&v.parent.removeChild(v),v[lf]&&yf(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?A(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?A(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?A(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})(Gd);rt.registerParse=function(t){vf=t};rt.registerRule=function(t){ia=t};rt.registerAtRule=function(t){oa=t};rt.registerRoot=function(t){gf=t};var zt=rt;rt.default=rt;rt.rebuild=function(t){t.type==="atrule"?Object.setPrototypeOf(t,oa.prototype):t.type==="rule"?Object.setPrototypeOf(t,ia.prototype):t.type==="decl"?Object.setPrototypeOf(t,pf.prototype):t.type==="comment"?Object.setPrototypeOf(t,df.prototype):t.type==="root"&&Object.setPrototypeOf(t,gf.prototype),t[hf]=!0,t.nodes&&t.nodes.forEach(function(n){rt.rebuild(n)})};var qd=zt,_f,wf,jr=(function(t){ue(n,t);function n(e){var r;return r=t.call(this,B({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 _f(new wf,this,r);return o.stringify()},n})(qd);jr.registerLazyResult=function(t){_f=t};jr.registerProcessor=function(t){wf=t};var sa=jr;jr.default=jr;var Qo=(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})(),bf=Qo;Qo.default=Qo;var Vd=bf,es=(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 Vd(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})(),aa=es;es.default=es;var mo=39,Su=34,Sn=92,Cu=47,Cn=10,Ar=32,En=12,In=9,xn=13,jd=91,Hd=93,Yd=40,Kd=41,Jd=123,Xd=125,Zd=59,Qd=42,ev=58,tv=64,On=/[\t\n\f\r "#'()/;[\\\]{}]/g,kn=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,rv=/.[\r\n"'(/\\]/,Eu=/[\da-f]/i,nv=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,y=e.length,d=0,m=[],_=[];function b(){return d}function S(k){throw n.error("Unclosed "+k,d)}function C(){return _.length===0&&d>=y}function x(k){if(_.length)return _.pop();if(!(d>=y)){var $=k?k.ignoreUnclosed:!1;switch(o=e.charCodeAt(d),o){case Cn:case Ar:case In:case xn:case En:{s=d;do s+=1,o=e.charCodeAt(s);while(o===Ar||o===Cn||o===In||o===xn||o===En);v=["space",e.slice(d,s)],d=s-1;break}case jd:case Hd:case Jd:case Xd:case ev:case Zd:case Kd:{var F=String.fromCharCode(o);v=[F,F,d];break}case Yd:{if(h=m.length?m.pop()[1]:"",g=e.charCodeAt(d+1),h==="url"&&g!==mo&&g!==Su&&g!==Ar&&g!==Cn&&g!==In&&g!==En&&g!==xn){s=d;do{if(f=!1,s=e.indexOf(")",s+1),s===-1)if(r||$){s=d;break}else S("bracket");for(l=s;e.charCodeAt(l-1)===Sn;)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||rv.test(u)?v=["(","(",d]:(v=["brackets",u,d,s],d=s);break}case mo:case Su:{a=o===mo?"'":'"',s=d;do{if(f=!1,s=e.indexOf(a,s+1),s===-1)if(r||$){s=d+1;break}else S("string");for(l=s;e.charCodeAt(l-1)===Sn;)l-=1,f=!f}while(f);v=["string",e.slice(d,s+1),d,s],d=s;break}case tv:{On.lastIndex=d+1,On.test(e),On.lastIndex===0?s=e.length-1:s=On.lastIndex-2,v=["at-word",e.slice(d,s+1),d,s],d=s;break}case Sn:{for(s=d,c=!0;e.charCodeAt(s+1)===Sn;)s+=1,c=!c;if(o=e.charCodeAt(s+1),c&&o!==Cu&&o!==Ar&&o!==Cn&&o!==In&&o!==xn&&o!==En&&(s+=1,Eu.test(e.charAt(s)))){for(;Eu.test(e.charAt(s+1));)s+=1;e.charCodeAt(s+1)===Ar&&(s+=1)}v=["word",e.slice(d,s+1),d,s],d=s;break}default:{o===Cu&&e.charCodeAt(d+1)===Qd?(s=e.indexOf("*/",d+2)+1,s===0&&(r||$?s=e.length:S("comment")),v=["comment",e.slice(d,s+1),d,s],d=s):(kn.lastIndex=d+1,kn.test(e),kn.lastIndex===0?s=e.length-1:s=kn.lastIndex-2,v=["word",e.slice(d,s+1),d,s],m.push(v),d=s);break}}return d++,v}}function R(k){_.push(k)}return{back:R,endOfFile:C,nextToken:x,position:b}},Sf=zt,di=(function(t){ue(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})(Sf),ua=di;di.default=di;Sf.registerAtRule(di);var Cf=zt,Ef,If,cr=(function(t){ue(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 Ef(new If,this,r);return o.stringify()},n})(Cf);cr.registerLazyResult=function(t){Ef=t};cr.registerProcessor=function(t){If=t};var ln=cr;cr.default=cr;Cf.registerRoot(cr);var Hr={comma:function(n){return Hr.split(n,[","],!0)},space:function(n){var i=[" ",`
24`,"	"];return Hr.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}},xf=Hr;Hr.default=Hr;var Of=zt,iv=xf,vi=(function(t){ue(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 iv.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})(Of),ca=vi;vi.default=vi;Of.registerRule(vi);var ov=Gi,sv=nv,av=Vi,uv=ua,cv=ln,Iu=ca,xu={empty:!0,space:!0};function fv(t){for(var n=t.length-1;n>=0;n--){var i=t[n],e=i[3]||i[2];if(e)return e}}var lv=(function(){function t(i){this.input=i,this.root=new cv,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 av;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=sv(this.input)},n.decl=function(e,r){var o=new ov;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]||fv(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="",y=l;y>0;y--){var d=g[y][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 m=e.some(function(_){return _[0]!=="space"&&_[0]!=="comment"});m&&(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 Iu;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()}if(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",!xu[g]&&!xu[h]?f.slice(-1)===","?l=!1:f+=a[1]:l=!1):f+=a[1];if(!l){var y=o.reduce(function(d,m){return d+m[1]},"");e.raws[r]={raw:y,value:f}}e[r]=f},n.rule=function(e){e.pop();var r=new Iu;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})},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})(),hv=lv,pv=zt,dv=hv,vv=qi;function gi(t,n){var i=new vv(t,n),e=new dv(i);try{e.parse()}catch(r){throw r}return e.root}var fa=gi;gi.default=gi;pv.registerParse(gi);var qe=mt.isClean,gv=mt.my,mv=ff,yv=zi,_v=zt,wv=sa,Ou=aa,bv=fa,Sv=ln,Cv={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Ev={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},Iv={Once:!0,postcssPlugin:!0,prepare:!0},fr=0;function Rr(t){return(typeof t>"u"?"undefined":M(t))==="object"&&typeof t.then=="function"}function kf(t){var n=!1,i=Cv[t.type];return t.type==="decl"?n=t.prop.toLowerCase():t.type==="atrule"&&(n=t.name.toLowerCase()),n&&t.append?[i,i+"-"+n,fr,i+"Exit",i+"Exit-"+n]:n?[i,i+"-"+n,i+"Exit",i+"Exit-"+n]:t.append?[i,fr,i+"Exit"]:[i,i+"Exit"]}function ku(t){var n;return t.type==="document"?n=["Document",fr,"DocumentExit"]:t.type==="root"?n=["Root",fr,"RootExit"]:n=kf(t),{eventIndex:0,events:n,iterator:0,node:t,visitorIndex:0,visitors:[]}}function ts(t){return t[qe]=!1,t.nodes&&t.nodes.forEach(function(n){return ts(n)}),t}var rs={},lr=(function(){function t(i,e,r){var o=this;this.stringified=!1,this.processed=!1;var s;if((typeof e>"u"?"undefined":M(e))==="object"&&e!==null&&(e.type==="root"||e.type==="document"))s=ts(e);else if(A(e,t)||A(e,Ou))s=ts(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=bv;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[gv]&&_v.rebuild(s)}this.result=new Ou(i,s,r),this.helpers=B({},rs,{postcss:rs,result:this.result}),this.plugins=this.processor.plugins.map(function(u){return(typeof u>"u"?"undefined":M(u))==="object"&&u.prepare?B({},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":M(a))==="object")for(var u in a){if(!Ev[u]&&/^[A-Z]/.test(u))throw new Error("Unknown event "+u+" in "+a.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!Iv[u])if(M(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 Bi(function(){var r,o,s,a,u,c,f,l,h,g,v,y;return Dt(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),!Rr(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[qe])return[3,14];u[qe]=!0,c=[ku(u)],d.label=8;case 8:if(!(c.length>0))return[3,13];if(f=e.visitTick(c),!Rr(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 m,_,b,S,C;return Dt(this,function(x){switch(x.label){case 0:m=y.value,_=m[0],b=m[1],e.result.lastPlugin=_,x.label=1;case 1:return x.trys.push([1,6,,7]),u.type!=="document"?[3,3]:(S=u.nodes.map(function(R){return b(R,e.helpers)}),[4,Promise.all(S)]);case 2:return x.sent(),[3,5];case 3:return[4,b(u,e.helpers)];case 4:x.sent(),x.label=5;case 5:return[3,7];case 6:throw C=x.sent(),e.handleError(C);case 7:return[2]}})},v=I(e.listeners.OnceExit),d.label=15;case 15:return(y=v()).done?[3,18]:[5,Qs(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":M(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 Rr(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=yv;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);var o=new mv(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(Rr(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var a=this.result.root;!a[qe];)a[qe]=!0,this.walkSync(a);if(this.listeners.OnceExit)if(a.type==="document")for(var u=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(Rr(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[qe]){l[qe]=!0,e.push(ku(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===fr){o.nodes&&o.nodes.length&&(o[qe]=!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[qe]=!0;for(var o=kf(e),s=I(o),a;!(a=s()).done;){var u=a.value;if(u===fr)e.nodes&&e.each(function(f){f[qe]||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})();lr.registerPostcss=function(t){rs=t};var Af=lr;lr.default=lr;Sv.registerLazyResult(lr);wv.registerLazyResult(lr);var xv=ff,Ov=zi,kv=fa,Av=aa,ns=(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=Ov;this.result=new Av(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 xv(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=kv;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})(),Rv=ns;ns.default=ns;var Mv=Rv,$v=Af,Tv=sa,Pv=ln,Yr=(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":M(a))==="object"&&Array.isArray(a.plugins))r=r.concat(a.plugins);else if((typeof a>"u"?"undefined":M(a))==="object"&&a.postcssPlugin)r.push(a);else if(typeof a=="function")r.push(a);else if(!((typeof a>"u"?"undefined":M(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 Mv(this,e,r):new $v(this,e,r)},n.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},t})(),Nv=Yr;Yr.default=Yr;Pv.registerProcessor(Yr);Tv.registerProcessor(Yr);var Lv=Gi,Dv=of,Fv=Vi,Uv=ua,Bv=qi,zv=ln,Wv=ca;function Kr(t,n){if(Array.isArray(t))return t.map(function(l){return Kr(l)});var i=t.inputs,e=Lt(t,["inputs"]);if(i){n=[];for(var r=I(i),o;!(o=r()).done;){var s=o.value,a=B({},s,{__proto__:Bv.prototype});a.map&&(a.map=B({},a.map,{__proto__:Dv.prototype})),n.push(a)}}if(e.nodes&&(e.nodes=t.nodes.map(function(l){return Kr(l,n)})),e.source){var u=e.source,c=u.inputId,f=Lt(u,["inputId"]);e.source=f,c!=null&&(e.source.input=n[c])}if(e.type==="root")return new zv(e);
24if(e.type==="decl")return new Lv(e);if(e.type==="rule")return new Wv(e);if(e.type==="comment")return new Fv(e);if(e.type==="atrule")return new Uv(e);throw new Error("Unknown node type: "+t.type)}var Gv=Kr;Kr.default=Kr;var qv=na,Rf=Gi,Vv=Af,jv=zt,la=Nv,Hv=zi,Yv=Gv,Mf=sa,Kv=bf,$f=Vi,Tf=ua,Jv=aa,Xv=qi,Zv=fa,Qv=xf,Pf=ca,Nf=ln,eg=Wi;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 la(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:
25https://evilmartians.com/chronicles/postcss-8-plugin-migration`),ur.LANG&&ur.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 la().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=Hv;Z.parse=Zv;Z.fromJSON=Yv;Z.list=Qv;Z.comment=function(t){return new $f(t)};Z.atRule=function(t){return new Tf(t)};Z.decl=function(t){return new Rf(t)};Z.rule=function(t){return new Pf(t)};Z.root=function(t){return new Nf(t)};Z.document=function(t){return new Mf(t)};Z.CssSyntaxError=qv;Z.Declaration=Rf;Z.Container=jv;Z.Processor=la;Z.Document=Mf;Z.Comment=$f;Z.Warning=Kv;Z.AtRule=Tf;Z.Result=Jv;Z.Input=Xv;Z.Rule=Pf;Z.Root=Nf;Z.Node=eg;Vv.registerPostcss(Z);var tg=Z;Z.default=Z;var ce=dd(tg);ce.stringify;ce.fromJSON;ce.plugin;ce.parse;ce.list;ce.document;ce.comment;ce.atRule;ce.rule;ce.decl;ce.root;ce.CssSyntaxError;ce.Declaration;ce.Container;ce.Processor;ce.Document;ce.Comment;ce.Warning;ce.AtRule;ce.Result;ce.Input;ce.Rule;ce.Root;ce.Node;var rg=Object.defineProperty,ng=function(t,n,i){return n in t?rg(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i},De=function(t,n,i){return ng(t,(typeof n>"u"?"undefined":M(n))!=="symbol"?n+"":n,i)};function ig(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function og(t){if(t.__esModule)return t;var n=t.default;if(typeof n=="function"){var i=function e(){return A(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 ha={exports:{}},ie=String,Lf=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}};ha.exports=Lf();ha.exports.createColors=Lf;var sg=ha.exports,ag={},ug=Object.freeze(Object.defineProperty({__proto__:null,default:ag},Symbol.toStringTag,{value:"Module"})),ge=og(ug),Au=sg,Ru=ge,is=(function(t){ue(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=Au.isColorSupported),Ru&&r&&(s=Ru(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=Au.createColors(!0),v=g.bold,y=g.gray,d=g.red;
vendor: 12,999 bytes, lines 26-43
26l=function(m){return v(d(m))},h=function(m){return y(m)}}else l=h=function(m){return m};return a.slice(u,c).map(function(m,_){var b=u+1+_,S=" "+(" "+b).slice(-f)+" | ";if(b===o.line){var C=h(S.replace(/\d/g," "))+m.slice(0,o.column-1).replace(/[^\t]/g," ");return l(">")+h(S)+m+`
27 `+C+l("^")}return" "+h(S)+m}).join(`
28`)},i.toString=function(){var r=this.showSourceCode();return r&&(r=`
29
30`+r+`
31`),this.name+": "+this.message+r},n})(qr(Error)),pa=is;is.default=is;var yt={};yt.isClean=Symbol("isClean");yt.my=Symbol("my");var Mu={after:`
32`,beforeClose:`
33`,beforeComment:`
34`,beforeDecl:`
35`,beforeOpen:" ",beforeRule:`
36`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};function cg(t){return t[0].toUpperCase()+t.slice(1)}var os=(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 Mu[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"+cg(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=Mu[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})(),Df=os;os.default=os;var fg=Df;function ss(t,n){var i=new fg(n);i.stringify(t)}var ji=ss;ss.default=ss;var An=yt.isClean,lg=yt.my,hg=pa,pg=Df,dg=ji;function as(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":M(r);e==="parent"&&o==="object"?n&&(i[e]=n):e==="source"?i[e]=r:Array.isArray(r)?i[e]=r.map(function(s){return as(s,i)}):(o==="object"&&r!==null&&(r=as(r)),i[e]=r)}return i}var us=(function(){function t(i){i===void 0&&(i={}),this.raws={},this[An]=!1,this[lg]=!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=as(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 hg(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[An]){this[An]=!1;for(var e=this;e=e.parent;)e[An]=!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 pg;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":M(l))==="object"&&l.toJSON?l.toJSON(null,r):l});else if((typeof c>"u"?"undefined":M(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=dg),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})(),Hi=us;us.default=us;var vg=Hi,cs=(function(t){ue(n,t);function n(i){var e;return i&&typeof i.value<"u"&&typeof i.value!="string"&&(i=B({},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),Yi=cs;cs.default=cs;var gg="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",mg=function(t){t===void 0&&(t=21);for(var n="",i=t;i--;)n+=gg[Math.random()*64|0];return n},yg={nanoid:mg},$u=ge.SourceMapConsumer,Tu=ge.SourceMapGenerator,_g=ge.existsSync,wg=ge.readFileSync,yo=ge.dirname,bg=ge.join;function Sg(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var fs=(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=yo(this.mapFile)),o&&(this.text=o)}}var n=t.prototype;return n.consumer=function(){return this.consumerCache||(this.consumerCache=new $u(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 Sg(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":M(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);if(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=yo(e),_g(e))return this.mapFile=e,wg(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(A(r,$u))return Tu.fromSourceMap(r).toString();if(A(r,Tu))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=bg(yo(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})(),Ff=fs;fs.default=fs;var Cg=ge.SourceMapConsumer,Eg=ge.SourceMapGenerator,Pu=ge.fileURLToPath,Rn=ge.pathToFileURL,ls=ge.isAbsolute,hs=ge.resolve,Ig=yg.nanoid,_o=ge,Nu=pa,xg=Ff,wo=Symbol("fromOffsetCac
43he"),Og=!!(Cg&&Eg),Lu=!!(hs&&ls),mi=(function(){function t(i,e){if(e===void 0&&(e={}),i===null||typeof i>"u"||(typeof i>"u"?"undefined":M(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&&(!Lu||/^\w+:\/\//.test(e.from)||ls(e.from)?this.file=e.from:this.file=hs(e.from)),Lu&&Og){var r=new xg(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 "+Ig(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":M(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 y=this.origin(r,o,u,c);return y?a=new Nu(e,y.endLine===void 0?y.line:{column:y.column,line:y.line},y.endLine===void 0?y.column:{column:y.endColumn,line:y.endLine},y.source,y.file,s.plugin):a=new Nu(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&&(Rn&&(a.input.url=Rn(this.file).toString()),a.input.file=this.file),a},n.fromOffset=function(e){var r,o;if(this[wo])o=this[wo];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[wo]=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:hs(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;ls(u.source)?f=Rn(u.source):f=new URL(u.source,this.map.consumer().sourceRoot||Rn(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(Pu)l.file=Pu(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=B({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},ae(t,[{key:"from",get:function(){return this.file||this.id}}]),t})(),Ki=mi;mi.default=mi;_o&&_o.registerInput&&_o.registerInput(mi);var Uf=ge.SourceMapConsumer,ni=ge.SourceMapGenerator,ii=ge.dirname,Bf=ge.relative,zf=ge.resolve,Wf=ge.sep,Du=ge.pathToFileURL,kg=Ki,Ag=!!(Uf&&ni),Rg=!!(ii&&zf&&Bf&&Wf),Mg=(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||ii(o.file),u=void 0;this.mapOpts.sourcesContent===!1?(u=new Uf(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(),Rg&&Ag&&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=ni.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new ni({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 ni({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?ii(this.opts.to):".";
vendor: 38,682 bytes, lines 48-51
48typeof this.mapOpts.annotation=="string"&&(o=ii(zf(o,this.mapOpts.annotation)));var s=Bf(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 kg(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(Du){var o=Du(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;Wf==="\\"&&(e=e.replace(/\\/g,"/"));var o=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,o),o},t})(),Gf=Mg,$g=Hi,ps=(function(t){ue(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="comment",e}return n})($g),Ji=ps;ps.default=ps;var qf=yt.isClean,Vf=yt.my,jf=Yi,Hf=Ji,Tg=Hi,Yf,da,va,Kf;function Jf(t){return t.map(function(n){return n.nodes&&(n.nodes=Jf(n.nodes)),delete n.source,n})}function Xf(t){if(t[qf]=!1,t.proxyOf.nodes)for(var n=I(t.proxyOf.nodes),i;!(i=n()).done;){var e=i.value;Xf(e)}}var nt=(function(t){ue(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]=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=Jf(Yf(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 jf(r)]}else if(r.selector)r=[new da(r)];else if(r.name)r=[new va(r)];else if(r.text)r=[new Hf(r)];else throw new Error("Unknown node type in node creation");var g=r.map(function(v){return v[Vf]||n.rebuild(v),v=v.proxyOf,v.parent&&v.parent.removeChild(v),v[qf]&&Xf(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?A(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?A(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?A(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})(Tg);nt.registerParse=function(t){Yf=t};nt.registerRule=function(t){da=t};nt.registerAtRule=function(t){va=t};nt.registerRoot=function(t){Kf=t};var Wt=nt;nt.default=nt;nt.rebuild=function(t){t.type==="atrule"?Object.setPrototypeOf(t,va.prototype):t.type==="rule"?Object.setPrototypeOf(t,da.prototype):t.type==="decl"?Object.setPrototypeOf(t,jf.prototype):t.type==="comment"?Object.setPrototypeOf(t,Hf.prototype):t.type==="root"&&Object.setPrototypeOf(t,Kf.prototype),t[Vf]=!0,t.nodes&&t.nodes.forEach(function(n){nt.rebuild(n)})};var Pg=Wt,Zf,Qf,Jr=(function(t){ue(n,t);function n(e){var r;return r=t.call(this,B({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 Zf(new Qf,this,r);return o.stringify()},n})(Pg);Jr.registerLazyResult=function(t){Zf=t};Jr.registerProcessor=function(t){Qf=t};var ga=Jr;Jr.default=Jr;var ds=(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=ds;ds.default=ds;var Ng=el,vs=(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 Ng(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})(),ma=vs;vs.default=vs;var bo=39,Fu=34,Mn=92,Uu=47,$n=10,Mr=32,Tn=12,Pn=9,Nn=13,Lg=91,Dg=93,Fg=40,Ug=41,Bg=123,zg=125,Wg=59,Gg=42,qg=58,Vg=64,Ln=/[\t\n\f\r "#'()/;[\\\]{}]/g,Dn=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,jg=/.[\r\n"'(/\\]/,Bu=/[\da-f]/i,Hg=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,y=e.length,d=0,m=[],_=[];function b(){return d}function S(k){throw n.error("Unclosed "+k,d)}function C(){return _.length===0&&d>=y}function x(k){if(_.length)return _.pop();if(!(d>=y)){var $=k?k.ignoreUnclosed:!1;switch(o=e.charCodeAt(d),o){case $n:case Mr:case Pn:case Nn:case Tn:{s=d;do s+=1,o=e.charCodeAt(s);while(o===Mr||o===$n||o===Pn||o===Nn||o===Tn);v=["space",e.slice(d,s)],d=s-1;break}case Lg:case Dg:case Bg:case zg:case qg:case Wg:case Ug:{var F=String.fromCharCode(o);v=[F,F,d];break}case Fg:{if(h=m.length?m.pop()[1]:"",g=e.charCodeAt(d+1),h==="url"&&g!==bo&&g!==Fu&&g!==Mr&&g!==$n&&g!==Pn&&g!==Tn&&g!==Nn){s=d;do{if(f=!1,s=e.indexOf(")",s+1),s===-1)if(r||$){s=d;break}else S("bracket");for(l=s;e.charCodeAt(l-1)===Mn;)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||jg.test(u)?v=["(","(",d]:(v=["brackets",u,d,s],d=s);break}case bo:case Fu:{a=o===bo?"'":'"',s=d;do{if(f=!1,s=e.indexOf(a,s+1),s===-1)if(r||$){s=d+1;break}else S("string");for(l=s;e.charCodeAt(l-1)===Mn;)l-=1,f=!f}while(f);v=["string",e.slice(d,s+1),d,s],d=s;break}case Vg:{Ln.lastIndex=d+1,Ln.test(e),Ln.lastIndex===0?s=e.length-1:s=Ln.lastIndex-2,v=["at-word",e.slice(d,s+1),d,s],d=s;break}case Mn:{for(s=d,c=!0;e.charCodeAt(s+1)===Mn;)s+=1,c=!c;if(o=e.charCodeAt(s+1),c&&o!==Uu&&o!==Mr&&o!==$n&&o!==Pn&&o!==Nn&&o!==Tn&&(s+=1,Bu.test(e.charAt(s)))){for(;Bu.test(e.charAt(s+1));)s+=1;e.charCodeAt(s+1)===Mr&&(s+=1)}v=["word",e.slice(d,s+1),d,s],d=s;break}default:{o===Uu&&e.charCodeAt(d+1)===Gg?(s=e.indexOf("*/",d+2)+1,s===0&&(r||$?s=e.length:S("comment")),v=["comment",e.slice(d,s+1),d,s],d=s):(Dn.lastIndex=d+1,Dn.test(e),Dn.lastIndex===0?s=e.length-1:s=Dn.lastIndex-2,v=["word",e.slice(d,s+1),d,s],m.push(v),d=s);break}}return d++,v}}function R(k){_.push(k)}return{back:R,endOfFile:C,nextToken:x,position:b}},tl=Wt,yi=(function(t){ue(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})(tl),ya=yi;yi.default=yi;tl.registerAtRule(yi);var rl=Wt,nl,il,hr=(function(t){ue(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 nl(new il,this,r);return o.stringify()},n})(rl);hr.registerLazyResult=function(t){nl=t};hr.registerProcessor=function(t){il=t};var hn=hr;hr.default=hr;rl.registerRoot(hr);var Xr={comma:function(n){return Xr.split(n,[","],!0)},space:function(n){var i=[" ",`
49`,"	"];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}},ol=Xr;Xr.default=Xr;var sl=Wt,Yg=ol,_i=(function(t){ue(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 Yg.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})(sl),_a=_i;_i.default=_i;sl.registerRule(_i);var Kg=Yi,Jg=Hg,Xg=Ji,Zg=ya,Qg=hn,zu=_a,Wu={empty:!0,space:!0};function em(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 Qg,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 Zg;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 Xg;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=Jg(this.input)},n.decl=function(e,r){var o=new Kg;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]||em(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="",y=l;y>0;y--){var d=g[y][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 m=e.some(function(_){return _[0]!=="space"&&_[0]!=="comment"});m&&(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 zu;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()}if(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",!Wu[g]&&!Wu[h]?f.slice(-1)===","?l=!1:f+=a[1]:l=!1):f+=a[1];if(!l){var y=o.reduce(function(d,m){return d+m[1]},"");e.raws[r]={raw:y,value:f}}e[r]=f},n.rule=function(e){e.pop();var r=new zu;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})},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})(),rm=tm,nm=Wt,im=rm,om=Ki;function wi(t,n){var i=new om(t,n),e=new im(i);try{e.parse()}catch(r){throw r}return e.root}var wa=wi;wi.default=wi;nm.registerParse(wi);var Ve=yt.isClean,sm=yt.my,am=Gf,um=ji,cm=Wt,fm=ga,Gu=ma,lm=wa,hm=hn,pm={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},dm={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},pr=0;function $r(t){return(typeof t>"u"?"undefined":M(t))==="object"&&typeof t.then=="function"}function al(t){var n=!1,i=pm[t.type];return t.type==="decl"?n=t.prop.toLowerCase():t.type==="atrule"&&(n=t.name.toLowerCase()),n&&t.append?[i,i+"-"+n,pr,i+"Exit",i+"Exit-"+n]:n?[i,i+"-"+n,i+"Exit",i+"Exit-"+n]:t.append?[i,pr,i+"Exit"]:[i,i+"Exit"]}function qu(t){var n;return t.type==="document"?n=["Document",pr,"DocumentExit"]:t.type==="root"?n=["Root",pr,"RootExit"]:n=al(t),{eventIndex:0,events:n,iterator:0,node:t,visitorIndex:0,visitors:[]}}function gs(t){return t[Ve]=!1,t.nodes&&t.nodes.forEach(function(n){return gs(n)}),t}var ms={},dr=(function(){function t(i,e,r){var o=this;this.stringified=!1,this.processed=!1;var s;if((typeof e>"u"?"undefined":M(e))==="object"&&e!==null&&(e.type==="root"||e.type==="document"))s=gs(e);else if(A(e,t)||A(e,Gu))s=gs(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=lm;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[sm]&&cm.rebuild(s)}this.result=new Gu(i,s,r),this.helpers=B({},ms,{postcss:ms,result:this.result}),this.plugins=this.processor.plugins.map(function(u){return(typeof u>"u"?"undefined":M(u))==="object"&&u.prepare?B({},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":M(a))==="object")for(var u in a){if(!dm[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(M(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 Bi(function(){var r,o,s,a,u,c,f,l,h,g,v,y;return Dt(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),!$r(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=[qu(u)],d.label=8;case 8:if(!(c.length>0))return[3,13];if(f=e.visitTick(c),!$r(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 m,_,b,S,C;return Dt(this,function(x){switch(x.label){case 0:m=y.value,_=m[0],b=m[1],e.result.lastPlugin=_,x.label=1;case 1:return x.trys.push([1,6,,7]),u.type!=="document"?[3,3]:(S=u.nodes.map(function(R){return b(R,e.helpers)}),[4,Promise.all(S)]);case 2:return x.sent(),[3,5];case 3:return[4,b(u,e.helpers)];case 4:x.sent(),x.label=5;case 5:return[3,7];case 6:throw C=x.sent(),e.handleError(C);case 7:return[2]}})},v=I(e.listeners.OnceExit),d.label=15;case 15:return(y=v()).done?[3,18]:[5,Qs(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":M(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 $r(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 am(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($r(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($r(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(qu(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===pr){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=al(e),s=I(o),a;!(a=s()).done;){var u=a.value;if(u===pr)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})();dr.registerPostcss=function(t){ms=t};var ul=dr;dr.default=dr;hm.registerLazyResult(dr);fm.registerLazyResult(dr);var gm=Gf,mm=ji,ym=wa,_m=ma,ys=(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=mm;this.result=new _m(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 gm(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=ym;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})(),wm=ys;ys.default=ys;var bm=wm,Sm=ul,Cm=ga,Em=hn,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":M(a))==="object"&&Array.isArray(a.plugins))r=r.concat(a.plugins);else if((typeof a>"u"?"undefined":M(a))==="object"&&a.postcssPlugin)r.push(a);else if(typeof a=="function")r.push(a);else if(!((typeof a>"u"?"undefined":M(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 bm(this,e,r):new Sm(this,e,r)},n.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},t})(),Im=Zr;Zr.default=Zr;Em.registerProcessor(Zr);Cm.registerProcessor(Zr);var xm=Yi,Om=Ff,km=Ji,Am=ya,Rm=Ki,Mm=hn,$m=_a;function Qr(t,n){if(Array.isArray(t))return t.map(function(l){return Qr(l)});var i=t.inputs,e=Lt(t,["inputs"]);if(i){n=[];for(var r=I(i),o;!(o=r()).done;){var s=o.value,a=B({},s,{__proto__:Rm.prototype});a.map&&(a.map=B({},a.map,{__proto__:Om.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=Lt(u,["inputId"]);e.source=f,c!=null&&(e.source.input=n[c])}if(e.type==="root")return new Mm(e);if(e.type==="decl")return new xm(e);if(e.type==="rule")return new $m(e);if(e.type==="comment")return new km(e);if(e.type==="atrule")return new Am(e);throw new Error("Unknown node type: "+t.type)}var Tm=Qr;Qr.default=Qr;var Pm=pa,cl=Yi,Nm=ul,Lm=Wt,ba=Im,Dm=ji,Fm=Tm,fl=ga,Um=el,ll=Ji,hl=ya,Bm=ma,zm=Ki,Wm=wa,Gm=ol,pl=_a,dl=hn,qm=Hi;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 ba(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:
50https://evilmartians.com/chronicles/postcss-8-plugin-migration`),ur.LANG&&ur.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 ba().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=Dm;Q.parse=Wm;Q.fromJSON=Fm;Q.list=Gm;Q.comment=function(t){return new ll(t)};Q.atRule=function(t){return new hl(t)};Q.decl=function(t){return new cl(t)};Q.rule=function(t){return new pl(t)};Q.root=function(t){return new dl(t)};Q.document=function(t){return new fl(t)};Q.CssSyntaxError=Pm;Q.Declaration=cl;Q.Container=Lm;Q.Processor=ba;Q.Document=fl;Q.Comment=ll;Q.Warning=Um;Q.AtRule=hl;Q.Result=Bm;Q.Input=zm;Q.Rule=pl;Q.Root=dl;Q.Node=qm;Nm.registerPostcss(Q);var Vm=Q;Q.default=Q;var fe=ig(Vm);fe.stringify;fe.fromJSON;fe.plugin;fe.parse;fe.list;fe.document;fe.comment;fe.atRule;fe.rule;fe.decl;fe.root;fe.CssSyntaxError;fe.Declaration;fe.Container;fe.Processor;fe.Document;fe.Comment;fe.Warning;fe.AtRule;fe.Result;fe.Input;fe.Rule;fe.Root;fe.Node;var jm=(function(){function t(){for(var i=arguments.length,e=new Array(i),r=0;r<i;r++)e[r]=arguments[r];De(this,"parentElement",null),De(this,"parentNode",null),De(this,"ownerDocument"),De(this,"firstChild",null),De(this,"lastChild",null),De(this,"previousSibling",null),De(this,"nextSibling",null),De(this,"ELEMENT_NODE",1),De(this,"TEXT_NODE",3),De(this,"nodeType"),De(this,"nodeName"),De(this,"RRNodeType")}var n=t.prototype;return n.contains=function(e){if(A(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})(),Vu={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},ju={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Fn={},Hm=function(){return!!globalThis.Zone};function Sa(t){if(Fn[t])return Fn[t];var n=globalThis[t],i=n.prototype,e=t in Vu?Vu[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 ju?ju[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&&!Hm())return Fn[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?Fn[t]=c:i}catch{return i}}var So={};function _t(t,n,i){var e,r=t+"."+String(i);if(So[r])return So[r].call(n);var o=Sa(t),s=(e=Object.getOwnPropertyDescriptor(o,i))==null?void 0:e.get;return s?(So[r]=s,s.call(n)):n[i]}var Co={};function vl(t,n,i){var e=t+"."+String(i);if(Co[e])return Co[e].bind(n);var r=Sa(t),o=r[i];return typeof o!="function"?n[i]:(Co[e]=o,o.bind(n))}function Ym(t){return _t("Node",t,"childNodes")}function Km(t){return _t("Node",t,"parentNode")}function Jm(t){return _t("Node",t,"parentElement")}function Xm(t){return _t("Node",t,"textContent")}function Zm(t,n){return vl("Node",t,"contains")(n)}function Qm(t){return vl("Node",t,"getRootNode")()}function ey(t){return!t||!("host"in t)?null:_t("ShadowRoot",t,"host")}function ty(t){return t.styleSheets}function ry(t){return!t||!("shadowRoot"in t)?null:_t("Element",t,"shadowRoot")}function ny(t,n){return _t("Element",t,"querySelector")(n)}function iy(t,n){return _t("Element",t,"querySelectorAll")(n)}function gl(){return Sa("MutationObserver").constructor}function Gt(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 q={childNodes:Ym,parentNode:Km,parentElement:Jm,textContent:Xm,contains:Zm,getRootNode:Qm,host:ey,styleSheets:ty,shadowRoot:ry,querySelector:ny,querySelectorAll:iy,mutationObserver:gl,patch:Gt};function Oe(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 Qt=`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.`,Hu={map:{},getId:function(){return console.error(Qt),-1},getNode:function(){return console.error(Qt),null},removeNodeFromMap:function(){console.error(Qt)},has:function(){return console.error(Qt),!1},reset:function(){console.error(Qt)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Hu=new Proxy(Hu,{get:function(n,i,e){return i==="map"&&console.error(Qt),Reflect.get(n,i,e)}}));function en(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 Xi(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 Xi(t,n,o||{},!0)}}var bi=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(bi=function(){return new Date().getTime()});function ml(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=q.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=q.parentElement(o.body))==null?void 0:e.scrollTop)||((r=o?.body)==null?void 0:r.scrollTop)||0}}function yl(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function _l(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function wl(t){if(!t)return null;var n=t.nodeType===t.ELEMENT_NODE?t:q.parentElement(t);return n}function ke(t,n,i,e){if(!t)return!1;var r=wl(t);if(!r)return!1;try{if(typeof n=="string"){if(r.classList.contains(n)||e&&r.closest("."+n)!==null)return!0}else if(hi(r,n,e))return!0}catch{}return!!(i&&(r.matches(i)||e&&r.closest(i)!==null))}function oy(t,n){return n.getId(t)!==-1}function Eo(t,n,i){return t.tagName==="TITLE"&&i.headTitleMutations?!0:n.getId(t)===Vr}function bl(t,n){if(Lr(t))return!1;var i=n.getId(t);if(!n.has(i))return!0;var e=q.parentNode(t);return e&&e.nodeType===t.DOCUMENT_NODE?!1:e?bl(e,n):!0}function _s(t){return!!t.changedTouches}function sy(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 Sl(t,n){return!!(t.nodeName==="IFRAME"&&n.getMeta(t))}function Cl(t,n){return!!(t.nodeName==="LINK"&&t.nodeType===t.ELEMENT_NODE&&t.getAttribute&&t.getAttribute("rel")==="stylesheet"&&n.getMeta(t))}function ws(t){return t?A(t,jm)&&"shadowRoot"in t?!!t.shadowRoot:!!q.shadowRoot(t):!1}var ay=(function(){function t(){O(this,"id",1),O(this,"styleIDMap",new WeakMap),O(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++},t})();function El(t){var n,i=null;return"getRootNode"in t&&((n=q.getRootNode(t))==null?void 0:n.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&q.host(q.getRootNode(t))&&(i=q.host(q.getRootNode(t))),i}function uy(t){for(var n=t,i;i=El(n);)n=i;return n}function cy(t){var n=t.ownerDocument;if(!n)return!1;var i=uy(t);return q.contains(n,i)}function Il(t){var n=t.ownerDocument;return n?q.contains(n,t)||cy(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||{}),N=(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: 10,007 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})(N||{}),$e=(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})($e||{}),Qe=(function(t){return t[t.Mouse=0]="Mouse",t[t.Pen=1]="Pen",t[t.Touch=2]="Touch",t})(Qe||{}),vr=(function(t){return t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2",t})(vr||{}),er=(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})(er||{}),xl=(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})(xl||{});function Yu(t){return"__ln"in t}var fy=(function(){function t(){O(this,"length",0),O(this,"head",null),O(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&&Yu(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&&Yu(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})(),Ku=function(t,n){return t+"@"+n},ly=(function(){function t(){var i=this;O(this,"frozen",!1),O(this,"locked",!1),O(this,"texts",[]),O(this,"attributes",[]),O(this,"attributeMap",new WeakMap),O(this,"removes",[]),O(this,"mapRemoves",[]),O(this,"movedMap",{}),O(this,"addedSet",new Set),O(this,"movedSet",new Set),O(this,"droppedSet",new Set),O(this,"removesSubTreeCache",new Set),O(this,"mutationCb"),O(this,"blockClass"),O(this,"blockSelector"),O(this,"maskTextClass"),O(this,"maskTextSelector"),O(this,"inlineStylesheet"),O(this,"maskInputOptions"),O(this,"maskTextFn"),O(this,"maskInputFn"),O(this,"keepIframeSrcFn"),O(this,"recordCanvas"),O(this,"inlineImages"),O(this,"slimDOMOptions"),O(this,"dataURLOptions"),O(this,"doc"),O(this,"mirror"),O(this,"iframeManager"),O(this,"stylesheetManager"),O(this,"shadowDomManager"),O(this,"canvasManager"),O(this,"processedNodeManager"),O(this,"unattachedDoc"),O(this,"processMutations",function(e){e.forEach(i.processMutation),i.emit()}),O(this,"emit",function(){if(!(i.frozen||i.locked)){for(var e=[],r=new Set,o=new fy,s=function(P){for(var W=P,K=Vr;K===Vr;)W=W&&W.nextSibling,K=W&&i.mirror.getId(W);return K},a=function(P){var W=q.parentNode(P);if(!(!W||!Il(P))){var K=!1;if(P.nodeType===Node.TEXT_NODE){var Re=W.tagName;if(Re==="TEXTAREA")return;Re==="STYLE"&&i.addedSet.has(W)&&(K=!0)}var J=Lr(W)?i.mirror.getId(El(P)):i.mirror.getId(W),Te=s(P);if(J===-1||Te===-1)return o.addNode(P);var xe=rr(P,{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(he){Sl(he,i.mirror)&&i.iframeManager.addIframe(he),Cl(he,i.mirror)&&i.stylesheetManager.trackLinkElement(he),ws(P)&&i.shadowDomManager.addShadowRoot(q.shadowRoot(P),i.doc)},onIframeLoad:function(he,Ce){i.iframeManager.attachIframe(he,Ce),i.shadowDomManager.observeAttachShadow(he)},onStylesheetLoad:function(he,Ce){i.stylesheetManager.attachLinkElement(he,Ce)},cssCaptured:K});xe&&(e.push({parentId:J,nextId:Te,node:xe}),r.add(xe.id))}};i.mapRemoves.length;)i.mirror.removeNodeFromMap(i.mapRemoves.shift());for(var u=I(i.movedSet),c;!(c=u()).done;){var f=c.value;Ju(i.removesSubTreeCache,f,i.mirror)&&!i.movedSet.has(q.parentNode(f))||a(f)}for(var l=I(i.addedSet),h;!(h=l()).done;){var g=h.value;!Xu(i.droppedSet,g)&&!Ju(i.removesSubTreeCache,g,i.mirror)||Xu(i.movedSet,g)?a(g):i.droppedSet.add(g)}for(var v=null;o.length;){var y=null;if(v){var d=i.mirror.getId(q.parentNode(v.value)),m=s(v.value);d!==-1&&m!==-1&&(y=v)}if(!y)for(var _=o.tail;_;){var b=_;if(_=_.previous,b){var S=i.mirror.getId(q.parentNode(b.value)),C=s(b.value);if(C===-1)continue;if(S!==-1){y=b;break}else{var x=b.value,R=q.parentNode(x);if(R&&R.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var k=q.host(R),$=i.mirror.getId(k);if($!==-1){y=b;break}}}}}if(!y){for(;o.head;)o.removeNode(o.head.value);break}v=y.previous,o.removeNode(y.value),a(y.value)}var F={texts:i.texts.map(function(P){var W=P.node,K=q.parentNode(W);return K&&K.tagName==="TEXTAREA"&&i.genTextAreaValueMutation(K),{id:i.mirror.getId(W),value:P.value}}).filter(function(P){return!r.has(P.id)}).filter(function(P){return i.mirror.has(P.id)}),attributes:i.attributes.map(function(P){var W=P.attributes;if(typeof W.style=="string"){var K=JSON.stringify(P.styleDiff),Re=JSON.stringify(P._unchangedStyles);K.length<W.style.length&&(K+Re).split("var(").length===W.style.split("var(").length&&(W.style=P.styleDiff)}return{id:i.mirror.getId(P.node),attributes:W}}).filter(function(P){return!r.has(P.id)}).filter(function(P){return i.mirror.has(P.id)}),removes:i.removes,adds:e};!F.texts.length&&!F.attributes.length&&!F.removes.length&&!F.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(F))}}),O(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(q.childNodes(e),function(s){return q.textContent(s)||""}).join("");r.attributes.value=ci({element:e,maskInputOptions:i.maskInputOptions,tagName:e.tagName,type:fi(e),value:o,maskInputFn:i.maskInputFn})}),O(this,"processMutation",function(e){if(!Eo(e.target,i.mirror,i.slimDOMOptions))switch(e.type){case"characterData":{var r=q.textContent(e.target);!ke(e.target,i.blockClass,i.blockSelector,!1)&&r!==e.oldValue&&i.texts.push({value:tf(e.target,i.maskTextClass,i.maskTextSelector,!0)&&r?i.maskTextFn?i.maskTextFn(r,wl(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=fi(o);a=ci({element:o,maskInputOptions:i.maskInputOptions,tagName:o.tagName,type:u,value:a,maskInputFn:i.maskInputFn})}if(ke(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"),!ef(o.tagName,s))if(c.attributes[s]=Qc(i.doc,Ft(o.tagName),Ft(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),y=o.style.getPropertyPriority(g);v!==f.style.getPropertyValue(g)||y!==f.style.getPropertyPriority(g)?y===""?c.styleDiff[g]=v:c.styleDiff[g]=[v,y]:c._unchangedStyles[g]=[v,y]}for(var d=I(Array.from(f.style)),m;!(m=d()).done;){var _=m.value;o.style.getPropertyValue(_)===""&&(c.styleDiff[_]=!1)}}else s==="open"&&o.tagName==="DIALOG"&&(o.matches("dialog:modal")?c.attributes.rr_open_mode="modal":c.attributes.rr_open_mode="non-modal");break}case"childList":{if(ke(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 S=i.mirror.getId(b),C=Lr(e.target)?i.mirror.getId(q.host(e.target)):i.mirror.getId(e.target);ke(e.target,i.blockClass,i.blockSelector,!1)||Eo(b,i.mirror,i.slimDOMOptions)||!oy(b,i.mirror)||(i.addedSet.has(b)?(bs(i.addedSet,b),i.droppedSet.add(b)):i.addedSet.has(e.target)&&S===-1||bl(e.target,i.mirror)||(i.movedSet.has(b)&&i.movedMap[Ku(S,C)]?bs(i.movedSet,b):(i.removes.push({parentId:C,id:S,isShadow:Lr(e.target)&&Dr(e.target)?!0:void 0}),hy(b,i.removesSubTreeCache))),i.mapRemoves.push(b))});break}}}),O(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(Eo(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[Ku(i.mirror.getId(e),o)]=!0)}else i.addedSet.add(e),i.droppedSet.delete(e);ke(e,i.blockClass,i.blockSelector,!1)||(q.childNodes(e).forEach(function(s){return i.genAdds(s)}
vendor: 5,615 bytes, line 53
53),ws(e)&&q.childNodes(q.shadowRoot(e)).forEach(function(s){i.processedNodeManager.add(s,i),i.genAdds(s,e)}))}})}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()},t})();function bs(t,n){t.delete(n),q.childNodes(n).forEach(function(i){return bs(t,i)})}function hy(t,n){for(var i=[t];i.length;){var e=i.pop();n.has(e)||(n.add(e),q.childNodes(e).forEach(function(r){return i.push(r)}))}}function Ju(t,n,i){return t.size===0?!1:py(t,n)}function py(t,n,i){var e=q.parentNode(n);return e?t.has(e):!1}function Xu(t,n){return t.size===0?!1:Ol(t,n)}function Ol(t,n){var i=q.parentNode(n);return i?t.has(i)?!0:Ol(t,i):!1}var Fr;function dy(t){Fr=t}function vy(){Fr=void 0}var H=function(t){if(!Fr)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(Fr&&Fr(o)===!0)return;throw o}};return n},Nt=[];function pn(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 kl(t,n){var i=new ly;Nt.push(i),i.init(t);var e=new(gl())(H(i.processMutations.bind(i)));return e.observe(n,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),e}function gy(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=en(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(en(H(function(h){var g=pn(h),v=_s(h)?h.changedTouches[0]:h,y=v.clientX,d=v.clientY;u||(u=bi()),a.push({x:y,y:d,id:r.getId(g),timeOffset:bi()-u}),c(typeof DragEvent<"u"&&A(h,DragEvent)?N.Drag:A(h,MouseEvent)?N.MouseMove:N.TouchMove)}),o,{trailing:!1})),l=[Oe("mousemove",f,e),Oe("touchmove",f,e),Oe("drag",f,e)];return H(function(){l.forEach(function(h){return h()})})}function my(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=pn(h);if(!ke(g,r,o,!0)){var v=null,y=l;if("pointerType"in h){switch(h.pointerType){case"mouse":v=Qe.Mouse;break;case"touch":v=Qe.Touch;break;case"pen":v=Qe.Pen;break}v===Qe.Touch?$e[l]===$e.MouseDown?y="TouchStart":$e[l]===$e.MouseUp&&(y="TouchEnd"):Qe.Pen}else _s(h)&&(v=Qe.Touch);v!==null?(c=v,(y.startsWith("Touch")&&v===Qe.Touch||y.startsWith("Mouse")&&v===Qe.Mouse)&&(v=null)):$e[l]===$e.Click&&(v=c,c=null);var d=_s(h)?h.changedTouches[0]:h;if(d){var m=e.getId(g),_=d.clientX,b=d.clientY;H(n)(B({type:$e[y],id:m,x:_,y:b},v!==null&&{pointerType:v}))}}}};return Object.keys($e).filter(function(l){return Number.isNaN(Number(l))&&!l.endsWith("_Departed")&&a[l]!==!1}).forEach(function(l){var h=Ft(l),g=f(l);if(window.PointerEvent)switch($e[l]){case $e.MouseDown:case $e.MouseUp:h=h.replace("mouse","pointer");break;case $e.TouchStart:case $e.TouchEnd:return}u.push(Oe(h,g,i))}),H(function(){u.forEach(function(l){return l()})})}function Al(t){var n=t.scrollCb,i=t.doc,e=t.mirror,r=t.blockClass,o=t.blockSelector,s=t.sampling,a=H(en(H(function(u){var c=pn(u);if(!(!c||ke(c,r,o,!0))){var f=e.getId(c);if(c===i&&i.defaultView){var l=ml(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 Oe("scroll",a,i)}function yy(t,n){var i=t.viewportResizeCb,e=n.win,r=-1,o=-1,s=H(en(H(function(){var a=yl(),u=_l();(r!==a||o!==u)&&(i({width:Number(u),height:Number(a)}),r=a,o=u)}),200));return Oe("resize",s,e)}var _y=["INPUT","TEXTAREA","SELECT"],Zu=new WeakMap;function wy(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(S){var C=pn(S),x=S.isTrusted,R=C&&C.tagName;if(C&&R==="OPTION"&&(C=q.parentElement(C)),!(!C||!R||_y.indexOf(R)<0||ke(C,r,o,!0))&&!(C.classList.contains(s)||a&&C.matches(a))){var k=C.value,$=!1,F=fi(C)||"";F==="radio"||F==="checkbox"?$=C.checked:(u[R.toLowerCase()]||u[F])&&(k=ci({element:C,maskInputOptions:u,tagName:R,type:F,value:k,maskInputFn:c})),g(C,l?{text:k,isChecked:$,userTriggered:x}:{text:k,isChecked:$});var P=C.name;F==="radio"&&P&&$&&i.querySelectorAll('input[type="radio"][name="'+P+'"]').forEach(function(W){if(W!==C){var K=W.value;g(W,l?{text:K,isChecked:!$,userTriggered:!1}:{text:K,isChecked:!$})}})}}function g(S,C){var x=Zu.get(S);if(!x||x.text!==C.text||x.isChecked!==C.isChecked){Zu.set(S,C);var R=e.getId(S);H(n)(B({},C,{id:R}))}}var v=f.input==="last"?["change"]:["input","change"],y=v.map(function(S){return Oe(S,H(h),i)}),d=i.defaultView;
vendor: 23,802 bytes, line 53
53if(!d)return function(){y.forEach(function(S){return S()})};var m=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(m&&m.set){var b;(b=y).push.apply(b,[].concat(_.map(function(S){return Xi(S[0],S[1],{set:function(){H(h)({target:this,isTrusted:!1})}},!1,d)})))}return H(function(){y.forEach(function(S){return S()})})}function Si(t){var n=[];function i(e,r){if(Un("CSSGroupingRule")&&A(e.parentRule,CSSGroupingRule)||Un("CSSMediaRule")&&A(e.parentRule,CSSMediaRule)||Un("CSSSupportsRule")&&A(e.parentRule,CSSSupportsRule)||Un("CSSConditionRule")&&A(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 ft(t,n,i){var e,r;return t?(t.ownerNode?e=n.getId(t.ownerNode):r=i.getId(t),{styleId:r,id:e}):{}}function by(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 y=v[0],d=v[1],m=ft(g,e,r.styleMirror),_=m.id,b=m.styleId;return(_&&_!==-1||b&&b!==-1)&&i({id:_,styleId:b,adds:[{rule:y,index:d}]}),h.apply(g,v)})}),o.CSSStyleSheet.prototype.addRule=function(h,g,v){v===void 0&&(v=this.cssRules.length);var y=h+" { "+g+" }";return o.CSSStyleSheet.prototype.insertRule.apply(this,[y,v])};var a=o.CSSStyleSheet.prototype.deleteRule;o.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:H(function(h,g,v){var y=v[0],d=ft(g,e,r.styleMirror),m=d.id,_=d.styleId;return(m&&m!==-1||_&&_!==-1)&&i({id:m,styleId:_,removes:[{index:y}]}),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 y=v[0],d=ft(g,e,r.styleMirror),m=d.id,_=d.styleId;return(m&&m!==-1||_&&_!==-1)&&i({id:m,styleId:_,replace:y}),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 y=v[0],d=ft(g,e,r.styleMirror),m=d.id,_=d.styleId;return(m&&m!==-1||_&&_!==-1)&&i({id:m,styleId:_,replaceSync:y}),h.apply(g,v)})}));var f={};Bn("CSSGroupingRule")?f.CSSGroupingRule=o.CSSGroupingRule:(Bn("CSSMediaRule")&&(f.CSSMediaRule=o.CSSMediaRule),Bn("CSSConditionRule")&&(f.CSSConditionRule=o.CSSConditionRule),Bn("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(y,d,m){var _=m[0],b=m[1],S=ft(d.parentStyleSheet,e,r.styleMirror),C=S.id,x=S.styleId;return(C&&C!==-1||x&&x!==-1)&&i({id:C,styleId:x,adds:[{rule:_,index:[].concat(Si(d),[b||0])}]}),y.apply(d,m)})}),v.prototype.deleteRule=new Proxy(l[g].deleteRule,{apply:H(function(y,d,m){var _=m[0],b=ft(d.parentStyleSheet,e,r.styleMirror),S=b.id,C=b.styleId;return(S&&S!==-1||C&&C!==-1)&&i({id:S,styleId:C,removes:[{index:[].concat(Si(d),[_])}]}),y.apply(d,m)})})}),H(function(){o.CSSStyleSheet.prototype.insertRule=s,o.CSSStyleSheet.prototype.deleteRule=a,u&&(o.CSSStyleSheet.prototype.replace=u),c&&(o.CSSStyleSheet.prototype.replaceSync=c),Object.entries(f).forEach(function(h){var g=h[0],v=h[1];v.prototype.insertRule=l[g].insertRule,v.prototype.deleteRule=l[g].deleteRule})})}function Rl(t,n){var i=t.mirror,e=t.stylesheetManager,r,o,s,a=null;n.nodeName==="#document"?a=i.getId(n):a=i.getId(q.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 Sy(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],y=l[2];if(r.has(g))return a.apply(f,[g,v,y]);var d=ft((h=f.parentRule)==null?void 0:h.parentStyleSheet,e,o.styleMirror),m=d.id,_=d.styleId;return(m&&m!==-1||_&&_!==-1)&&i({id:m,styleId:_,set:{property:g,value:v,priority:y},index:Si(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=ft((h=f.parentRule)==null?void 0:h.parentStyleSheet,e,o.styleMirror),y=v.id,d=v.styleId;return(y&&y!==-1||d&&d!==-1)&&i({id:y,styleId:d,remove:{property:g},index:Si(f.parentRule)}),c.apply(f,l)})}),H(function(){s.CSSStyleDeclaration.prototype.setProperty=a,s.CSSStyleDeclaration.prototype.removeProperty=u})}function Cy(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 en(H(function(f){var l=pn(f);if(!(!l||ke(l,i,e,!0))){var h=l.currentTime,g=l.volume,v=l.muted,y=l.playbackRate,d=l.loop;n({type:c,id:r.getId(l),currentTime:h,volume:g,muted:v,playbackRate:y,loop:d})}}),o.media||500)}),u=[Oe("play",a(er.Play),s),Oe("pause",a(er.Pause),s),Oe("seeked",a(er.Seeked),s),Oe("volumechange",a(er.VolumeChange),s),Oe("ratechange",a(er.RateChange),s)];return H(function(){u.forEach(function(c){return c()})})}function Ey(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=Gt(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 Iy(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,y=h.endContainer,d=h.endOffset,m=ke(g,e,r,!0)||ke(y,e,r,!0);m||c.push({start:i.getId(g),startOffset:v,end:i.getId(y),endOffset:d})}o({ranges:c})}});return a(),Oe("selectionchange",a)}function xy(t){var n=t.doc,i=t.customElementCb,e=n.defaultView;if(!e||!e.customElements)return function(){};var r=Gt(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 Oy(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 y=arguments.length,d=new Array(y),m=0;m<y;m++)d[m]=arguments[m];if(n.mutation){var _;(_=n).mutation.apply(_,[].concat(d))}i.apply(void 0,[].concat(d))},t.mousemoveCb=function(){for(var y=arguments.length,d=new Array(y),m=0;m<y;m++)d[m]=arguments[m];if(n.mousemove){var _;(_=n).mousemove.apply(_,[].concat(d))}e.apply(void 0,[].concat(d))},t.mouseInteractionCb=function(){for(var y=arguments.length,d=new Array(y),m=0;m<y;m++)d[m]=arguments[m];if(n.mouseInteraction){var _;(_=n).mouseInteraction.apply(_,[].concat(d))}r.apply(void 0,[].concat(d))},t.scrollCb=function(){for(var y=arguments.length,d=new Array(y),m=0;m<y;m++)d[m]=arguments[m];if(n.scroll){var _;(_=n).scroll.apply(_,[].concat(d))}o.apply(void 0,[].concat(d))},t.viewportResizeCb=function(){for(var y=arguments.length,d=new Array(y),m=0;m<y;m++)d[m]=arguments[m];if(n.viewportResize){var _;(_=n).viewportResize.apply(_,[].concat(d))}s.apply(void 0,[].concat(d))},t.inputCb=function(){for(var y=arguments.length,d=new Array(y),m=0;m<y;m++)d[m]=arguments[m];if(n.input){var _;(_=n).input.apply(_,[].concat(d))}a.apply(void 0,[].concat(d))},t.mediaInteractionCb=function(){for(var y=arguments.length,d=new Array(y),m=0;m<y;m++)d[m]=arguments[m];if(n.mediaInteaction){var _;(_=n).mediaInteaction.apply(_,[].concat(d))}u.apply(void 0,[].concat(d))},t.styleSheetRuleCb=function(){for(var y=arguments.length,d=new Array(y),m=0;m<y;m++)d[m]=arguments[m];if(n.styleSheetRule){var _;(_=n).styleSheetRule.apply(_,[].concat(d))}c.apply(void 0,[].concat(d))},t.styleDeclarationCb=function(){for(var y=arguments.length,d=new Array(y),m=0;m<y;m++)d[m]=arguments[m];if(n.styleDeclaration){var _;(_=n).styleDeclaration.apply(_,[].concat(d))}f.apply(void 0,[].concat(d))},t.canvasMutationCb=function(){for(var y=arguments.length,d=new Array(y),m=0;m<y;m++)d[m]=arguments[m];if(n.canvasMutation){var _;(_=n).canvasMutation.apply(_,[].concat(d))}l.apply(void 0,[].concat(d))},t.fontCb=function(){for(var y=arguments.length,d=new Array(y),m=0;m<y;m++)d[m]=arguments[m];if(n.font){var _;(_=n).font.apply(_,[].concat(d))}h.apply(void 0,[].concat(d))},t.selectionCb=function(){for(var y=arguments.length,d=new Array(y),m=0;m<y;m++)d[m]=arguments[m];if(n.selection){var _;(_=n).selection.apply(_,[].concat(d))}g.apply(void 0,[].concat(d))},t.customElementCb=function(){for(var y=arguments.length,d=new Array(y),m=0;m<y;m++)d[m]=arguments[m];if(n.customElement){var _;(_=n).customElement.apply(_,[].concat(d))}v.apply(void 0,[].concat(d))}}function ky(t,n){n===void 0&&(n={});var i=t.doc.defaultView;if(!i)return function(){};Oy(t,n);var e;t.recordDOM&&(e=kl(t,t.doc));var r=gy(t),o=my(t),s=Al(t),a=yy(t,{win:i}),u=wy(t),c=Cy(t),f=function(){},l=function(){},h=function(){},g=function(){};t.recordDOM&&(f=by(t,{win:i}),l=Rl(t,t.doc),h=Sy(t,{win:i}),t.collectFonts&&(g=Ey(t)));for(var v=Iy(t),y=xy(t),d=[],m=I(t.plugins),_;!(_=m()).done;){var b=_.value;d.push(b.observer(b.callback,i,b.options))}return H(function(){Nt.forEach(function(S){return S.reset()}),e?.disconnect(),r(),o(),s(),a(),u(),c(),f(),l(),h(),g(),v(),y(),d.forEach(function(S){return S()})})}function Un(t){return typeof window[t]<"u"}function Bn(t){return!!(typeof window[t]<"u"&&window[t].prototype&&"insertRule"in window[t].prototype&&"deleteRule"in window[t].prototype)}var Qu=(function(){function t(i){O(this,"iframeIdToRemoteIdMap",new WeakMap),O(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})(),Ay=(function(){function t(i){O(this,"iframes",new WeakMap),O(this,"crossOriginIframeMap",new WeakMap),O(this,"crossOriginIframeMirror",new Qu(Zc)),O(this,"crossOriginIframeStyleMirror"),O(this,"crossOriginIframeRootIdMap",new WeakMap),O(this,"mirror"),O(this,"mutationCb"),O(this,"wrappedEmit"),O(this,"loadListener"),O(this,"stylesheetManager"),O(this,"recordCrossOriginIframes"),this.mutationCb=i.mutationCb,this.wrappedEmit=i.wrappedEmit,this.stylesheetManager=i.stylesheetManager,this.recordCrossOriginIframes=i.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Qu(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.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}),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:N.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 N.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 N.Drag:case N.TouchMove:case N.MouseMove:return r.data.positions.forEach(function(u){o.replaceIds(u,e,["id"])}),r;case N.ViewportResize:return!1;case N.MediaInteraction:case N.MouseInteraction:case N.Scroll:case N.CanvasMutation:case N.Input:return this.replaceIds(r.data,e,["id"]),r;case N.StyleSheetRule:case N.StyleDeclaration:return this.replaceIds(r.data,e,["id"]),this.replaceStyleIds(r.data,e,["styleId"]),r;case N.Font:return r;case N.Selection:return r.data.ranges.forEach(function(u){o.replaceIds(u,e,["start","end"])}),r;case N.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!==xl.Document&&!e.rootId&&(e.rootId=r),"childNodes"in e&&e.childNodes.forEach(function(s){o.patchRootIdOnNode(s,r)})},t})(),Ry=(function(){function t(i){O(this,"shadowDoms",new WeakSet),O(this,"mutationCb"),O(this,"scrollCb"),O(this,"bypassOptions"),O(this,"mirror"),O(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(Dr(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var s=kl(B({},this.bypassOptions,{doc:r,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push(function(){return s.disconnect()}),this.restoreHandlers.push(Al(B({},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(q.host(e))),o.restoreHandlers.push(Rl({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(Gt(e.prototype,"attachShadow",function(s){return function(a){var u=s.call(this,a),c=q.shadowRoot(this);return c&&Il(this)&&o.addShadowRoot(c,r),u}}))},n.reset=function(){this.restoreHandlers.forEach(function(e){try{e()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},t})(),nr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",My=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var zn=0;zn<nr.length;zn++)My[nr.charCodeAt(zn)]=zn;var $y=function(n){var i=new Uint8Array(n),e,r=i.length,o="";for(e=0;e<r;e+=3)o+=nr[i[e]>>2],o+=nr[(i[e]&3)<<4|i[e+1]>>4],o+=nr[(i[e+1]&15)<<2|i[e+2]>>6],o+=nr[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},ec=new Map;function Ty(t,n){var i=ec.get(t);return i||(i=new Map,ec.set(t,i)),i.has(n)||i.set(n,[]),i.get(n)}var Ml=function(t,n,i){if(!(!t||!(Tl(t,n)||(typeof t>"u"?"undefined":M(t))==="object"))){var e=t.constructor.name,r=Ty(i,e),o=r.indexOf(t);return o===-1&&(o=r.length,r.push(t)),o}};function oi(t,n,i){if(A(t,Array))return t.map(function(v){return oi(v,n,i)});if(t===null)return t;if(A(t,Float32Array)||A(t,Float64Array)||A(t,Int32Array)||A(t,Uint32Array)||A(t,Uint8Array)||A(t,Uint16Array)||A(t,Int16Array)||A(t,Int8Array)||A(t,Uint8ClampedArray)){var e=t.constructor.name;return{rr_type:e,args:[Object.values(t)]}}else if(A(t,ArrayBuffer)){var r=t.constructor.name,o=$y(t);return{rr_type:r,base64:o}}else if(A(t,DataView)){var s=t.constructor.name;return{rr_type:s,args:[oi(t.buffer,n,i),t.byteOffset,t.byteLength]}}else if(A(t,HTMLImageElement)){var a=t.constructor.name,u=t.src;return{rr_type:a,src:u}}else if(A(t,HTMLCanvasElement)){var c="HTMLImageElement",f=t.toDataURL();return{rr_type:c,src:f}}else if(A(t,ImageData)){var l=t.constructor.name;return{rr_type:l,args:[oi(t.data,n,i),t.width,t.height]}}else if(Tl(t,n)||(typeof t>"u"?"undefined":M(t))==="object"){var h=t.constructor.name,g=Ml(t,n,i);return{rr_type:h,index:g}}return t}var $l=function(t,n,i){return t.map(function(e){return oi(e,n,i)})},Tl=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 A(t,n[r])})};function Py(t,n,i,e){for(var r=function(){var c=u.value;try{if(typeof n.CanvasRenderingContext2D.prototype[c]!="function")return"continue";var f=Gt(n.CanvasRenderingContext2D.prototype,c,function(h){return function(){for(var g=this,v=arguments.length,y=new Array(v),d=0;d<v;d++)y[d]=arguments[d];return ke(this.canvas,i,e,!0)||setTimeout(function(){var m=$l(y,n,g);t(g.canvas,{type:vr["2D"],property:c,args:m})},0),h.apply(this,y)}});o.push(f)}catch{var l=Xi(n.CanvasRenderingContext2D.prototype,c,{set:function(v){t(this.canvas,{type:vr["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 Ny(t){return t==="experimental-webgl"?"webgl":t}function tc(t,n,i,e){var r=[];try{var o=Gt(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(!ke(this,n,i,!0)){var l=Ny(a);if("__context"in this||(this.__context=l),e&&["webgl","webgl2"].includes(l))if(c[0]&&M(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 rc(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=Gt(t,l,function(v){return function(){for(var y=arguments.length,d=new Array(y),m=0;m<y;m++)d[m]=arguments[m];var _=v.apply(this,d);if(Ml(_,o,this),"tagName"in this.canvas&&!ke(this.canvas,e,r,!0)){var b=$l(d,o,this),S={type:n,property:l,args:b};i(this.canvas,S)}return _}});a.push(h)}catch{var g=Xi(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 Ly(t,n,i,e){var r,o=[];if((r=o).push.apply(r,[].concat(rc(n.WebGLRenderingContext.prototype,vr.WebGL,t,i,e,n))),typeof n.WebGL2RenderingContext<"u"){var s;(s=o).push.apply(s,[].concat(rc(n.WebGL2RenderingContext.prototype,vr.WebGL2,t,i,e,n)))}return function(){o.forEach(function(a){return a()})}}var Pl="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSA
53yKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",Dy=function(t){return Uint8Array.from(atob(t),function(n){return n.charCodeAt(0)})},nc=typeof window<"u"&&window.Blob&&new Blob([Dy(Pl)],{type:"text/javascript;charset=utf-8"});function Fy(t){var n;try{if(n=nc&&(window.URL||window.webkitURL).createObjectURL(nc),!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,"+Pl,{name:t?.name})}finally{n&&(window.URL||window.webkitURL).revokeObjectURL(n)}}var Uy=(function(){function t(i){var e=this;O(this,"pendingCanvasMutations",new Map),O(this,"rafStamps",{latestId:0,invokeId:null}),O(this,"mirror"),O(this,"mutationCb"),O(this,"resetObservers"),O(this,"frozen",!1),O(this,"locked",!1),O(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=tc(r,o,s,!0),f=new Map,l=new Fy;l.onmessage=function(m){var _=m.data.id;if(f.set(_,!1),"base64"in m.data){var b=m.data,S=b.base64,C=b.type,x=b.width,R=b.height;u.mutationCb({id:_,type:vr["2D"],commands:[{property:"clearRect",args:[0,0,x,R]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:S}],type:C}]},0,0]}]})}};var h=1e3/e,g=0,v,y=function(){var m=[];return r.document.querySelectorAll("canvas").forEach(function(_){ke(_,o,s,!0)||m.push(_)}),m},d=function(m){if(g&&m-g<h){v=requestAnimationFrame(d);return}g=m;var _=u;
vendor: 28,824 bytes, lines 53-70
53y().forEach(Bi(function(b){var S,C,x,R;return Dt(this,function(k){switch(k.label){case 0:return C=_.mirror.getId(b),f.get(C)?[2]:b.width===0||b.height===0?[2]:(f.set(C,!0),["webgl","webgl2"].includes(b.__context)&&(x=b.getContext(b.__context),((S=x?.getContextAttributes())==null?void 0:S.preserveDrawingBuffer)===!1&&x.clear(x.COLOR_BUFFER_BIT)),[4,createImageBitmap(b)]);case 1:return R=k.sent(),l.postMessage({id:C,bitmap:R,width:b.width,height:b.height,dataURLOptions:a.dataURLOptions},[R]),[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=tc(e,r,o,!1),a=Py(this.processMutation.bind(this),e,r,o),u=Ly(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=Lt(u,["type"]);return c}),a=o[0].type;this.mutationCb({id:r,type:a,commands:s}),this.pendingCanvasMutations.delete(e)}}},t})(),By=(function(){function t(i){O(this,"trackedLinkElements",new WeakSet),O(this,"mutationCb"),O(this,"adoptedStyleSheetCb"),O(this,"styleMirror",new ay),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:Kc(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.trackStylesheetInLinkElement=function(e){},t})(),zy=(function(){function t(){O(this,"nodeMap",new WeakMap),O(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})(),de,si,Io,Ci=!1;try{if(Array.from([1],function(t){return t*2})[0]!==2){var xo=document.createElement("iframe");document.body.appendChild(xo),Array.from=((su=xo.contentWindow)==null?void 0:su.Array.from)||Array.from,document.body.removeChild(xo)}}catch(t){console.debug("Unable to override Array.from",t)}var Be=Gp();function wt(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,y=v===void 0?null:v,d=t.inlineStylesheet,m=d===void 0?!0:d,_=t.maskAllInputs,b=t.maskInputOptions,S=t.slimDOMOptions,C=t.maskInputFn,x=t.maskTextFn,R=t.hooks,k=t.packFn,$=t.sampling,F=$===void 0?{}:$,P=t.dataURLOptions,W=P===void 0?{}:P,K=t.mousemoveWait,Re=t.recordDOM,J=Re===void 0?!0:Re,Te=t.recordCanvas,xe=Te===void 0?!1:Te,he=t.recordCrossOriginIframes,Ce=he===void 0?!1:he,Pe=t.recordAfter,xt=Pe===void 0?t.recordAfter==="DOMContentLoaded"?t.recordAfter:"load":Pe,Ge=t.userTriggeredOnInput,jt=Ge===void 0?!1:Ge,Ne=t.collectFonts,Ot=Ne===void 0?!1:Ne,Y=t.inlineImages,kt=Y===void 0?!1:Y,At=t.plugins,Ht=t.keepIframeSrcFn,Ir=Ht===void 0?function(){return!1}:Ht,xr=t.ignoreCSSAttributes,uo=xr===void 0?new Set([]):xr,gn=t.errorHandler;dy(gn);var ct=Ce?window.parent===window:!0,Rt=!1;if(!ct)try{window.parent.document&&(Rt=!1)}catch{Rt=!0}if(ct&&!n)throw new Error("emit function is required");if(!ct&&!Rt)return function(){};K!==void 0&&F.mousemove===void 0&&(F.mousemove=K),Be.reset();var Yt=_===!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},Or=S===!0||S==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:S==="all",headMetaDescKeywords:S==="all",headTitleMutations:S==="all"}:S||{};sy();var Kt,Mt=0,Ze=function(X){for(var Me=I(At||[]),T;!(T=Me()).done;){var pe=T.value;pe.eventProcessor&&(X=pe.eventProcessor(X))}return k&&!Rt&&(X=k(X)),X};de=function(X,Me){var T,pe=X;if(pe.timestamp=bi(),(T=Nt[0])!=null&&T.isFrozen()&&pe.type!==V.FullSnapshot&&!(pe.type===V.IncrementalSnapshot&&pe.data.source===N.Mutation)&&Nt.forEach(function(gp){return gp.unfreeze()}),ct)n?.(Ze(pe),Me);else if(Rt){var pp={type:"rrweb",event:Ze(pe),origin:window.location.origin,isCheckout:Me};window.parent.postMessage(pp,"*")}if(pe.type===V.FullSnapshot)Kt=pe,Mt=0;else if(pe.type===V.IncrementalSnapshot){if(pe.data.source===N.Mutation&&pe.data.isAttachIframe)return;Mt++;var dp=e&&Mt>=e,vp=i&&pe.timestamp-Kt.timestamp>i;(dp||vp)&&si(!0)}};for(var $t=function(X){de({type:V.IncrementalSnapshot,data:B({source:N.Mutation},X)})},Za=function(X){return de({type:V.IncrementalSnapshot,data:B({source:N.Scroll},X)})},Qa=function(X){return de({type:V.IncrementalSnapshot,data:B({source:N.CanvasMutation},X)})},lp=function(X){return de({type:V.IncrementalSnapshot,data:B({source:N.AdoptedStyleSheet},X)})},Tt=new By({mutationCb:$t,adoptedStyleSheetCb:lp}),Pt=new Ay({mirror:Be,mutationCb:$t,stylesheetManager:Tt,recordCrossOriginIframes:Ce,wrappedEmit:de}),hp=I(At||[]),eu;!(eu=hp()).done;){var tu=eu.value;tu.getMirror&&tu.getMirror({nodeMirror:Be,crossOriginIframeMirror:Pt.crossOriginIframeMirror,crossOriginIframeStyleMirror:Pt.crossOriginIframeStyleMirror})}var co=new zy;Io=new Uy({recordCanvas:xe,mutationCb:Qa,win:window,blockClass:o,blockSelector:a,mirror:Be,sampling:F.canvas,dataURLOptions:W});var mn=new Ry({mutationCb:$t,scrollCb:Za,bypassOptions:{blockClass:o,blockSelector:a,maskTextClass:g,maskTextSelector:y,inlineStylesheet:m,maskInputOptions:Yt,dataURLOptions:W,maskTextFn:x,maskInputFn:C,recordCanvas:xe,inlineImages:kt,sampling:F,slimDOMOptions:Or,iframeManager:Pt,stylesheetManager:Tt,canvasManager:Io,keepIframeSrcFn:Ir,processedNodeManager:co},mirror:Be});si=function(X){if(X===void 0&&(X=!1),!!J){de({type:V.Meta,data:{href:window.location.href,width:_l(),height:yl()}},X),Tt.reset(),mn.init(),Nt.forEach(function(T){return T.lock()});var Me=pd(document,{mirror:Be,blockClass:o,blockSelector:a,maskTextClass:g,maskTextSelector:y,inlineStylesheet:m,maskAllInputs:Yt,maskTextFn:x,maskInputFn:C,slimDOM:Or,dataURLOptions:W,recordCanvas:xe,inlineImages:kt,onSerialize:function(T){Sl(T,Be)&&Pt.addIframe(T),Cl(T,Be)&&Tt.trackLinkElement(T),ws(T)&&mn.addShadowRoot(q.shadowRoot(T),document)},onIframeLoad:function(T,pe){Pt.attachIframe(T,pe),mn.observeAttachShadow(T)},onStylesheetLoad:function(T,pe){Tt.attachLinkElement(T,pe)},keepIframeSrcFn:Ir});if(!Me)return console.warn("Failed to snapshot the document");de({type:V.FullSnapshot,data:{node:Me,initialOffset:ml(window)}},X),Nt.forEach(function(T){return T.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Tt.adoptStyleSheets(document.adoptedStyleSheets,Be.getId(document))}};try{var kr=[],ru=function(X){var Me;return H(ky)({mutationCb:$t,mousemoveCb:function(T,pe){return de({type:V.IncrementalSnapshot,data:{source:pe,positions:T}})},mouseInteractionCb:function(T){return de({type:V.IncrementalSnapshot,data:B({source:N.MouseInteraction},T)})},scrollCb:Za,viewportResizeCb:function(T){return de({type:V.IncrementalSnapshot,data:B({source:N.ViewportResize},T)})},inputCb:function(T){return de({type:V.IncrementalSnapshot,data:B({source:N.Input},T)})},mediaInteractionCb:function(T){return de({type:V.IncrementalSnapshot,data:B({source:N.MediaInteraction},T)})},styleSheetRuleCb:function(T){return de({type:V.IncrementalSnapshot,data:B({source:N.StyleSheetRule},T)})},styleDeclarationCb:function(T){return de({type:V.IncrementalSnapshot,data:B({source:N.StyleDeclaration},T)})},canvasMutationCb:Qa,fontCb:function(T){return de({type:V.IncrementalSnapshot,data:B({source:N.Font},T)})},selectionCb:function(T){de({type:V.IncrementalSnapshot,data:B({source:N.Selection},T)})},customElementCb:function(T){de({type:V.IncrementalSnapshot,data:B({source:N.CustomElement},T)})},blockClass:o,ignoreClass:c,ignoreSelector:l,maskTextClass:g,maskTextSelector:y,maskInputOptions:Yt,inlineStylesheet:m,sampling:F,recordDOM:J,recordCanvas:xe,inlineImages:kt,userTriggeredOnInput:jt,collectFonts:Ot,doc:X,maskInputFn:C,maskTextFn:x,keepIframeSrcFn:Ir,blockSelector:a,slimDOMOptions:Or,dataURLOptions:W,mirror:Be,iframeManager:Pt,stylesheetManager:Tt,shadowDomManager:mn,processedNodeManager:co,canvasManager:Io,ignoreCSSAttributes:uo,plugins:((Me=At?.filter(function(T){return T.observer}))==null?void 0:Me.map(function(T){return{observer:T.observer,options:T.options,callback:function(pe){return de({type:V.Plugin,data:{plugin:T.name,payload:pe}})}}}))||[]},R)};Pt.addLoadListener(function(X){try{kr.push(ru(X.contentDocument))}catch(Me){console.warn(Me)}});var fo=function(){si(),kr.push(ru(document)),Ci=!0};return document.readyState==="interactive"||document.readyState==="complete"?fo():(kr.push(Oe("DOMContentLoaded",function(){de({type:V.DomContentLoaded,data:{}}),xt==="DOMContentLoaded"&&fo()})),kr.push(Oe("load",function(){de({type:V.Load,data:{}}),xt==="load"&&fo()},window))),function(){kr.forEach(function(X){try{X()}catch(T){var Me=String(T).toLowerCase();Me.includes("cross-origin")||console.warn(T)}}),co.destroy(),Ci=!1,vy()}}catch(X){console.warn(X)}}wt.addCustomEvent=function(t,n){if(!Ci)throw new Error("please add custom event after start recording");de({type:V.Custom,data:{tag:t,payload:n}})};wt.freezePage=function(){Nt.forEach(function(t){return t.freeze()})};wt.takeFullSnapshot=function(t){if(!Ci)throw new Error("please take full snapshot after start recording");si(t)};wt.mirror=Be;var ic;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(ic||(ic={}));wt.addCustomEvent;wt.freezePage;wt.takeFullSnapshot;var oc={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},sc={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Wn={},Wy=function(){return!!globalThis.Zone};function Ca(t){if(Wn[t])return Wn[t];var n=globalThis[t],i=n.prototype,e=t in oc?oc[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 sc?sc[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&&!Wy())return Wn[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?Wn[t]=c:i}catch{return i}}var Oo={};function bt(t,n,i){var e,r=t+"."+String(i);if(Oo[r])return Oo[r].call(n);var o=Ca(t),s=(e=Object.getOwnPropertyDescriptor(o,i))==null?void 0:e.get;return s?(Oo[r]=s,s.call(n)):n[i]}var ko={};function Nl(t,n,i){var e=t+"."+String(i);if(ko[e])return ko[e].bind(n);var r=Ca(t),o=r[i];return typeof o!="function"?n[i]:(ko[e]=o,o.bind(n))}function Gy(t){return bt("Node",t,"childNodes")}function qy(t){return bt("Node",t,"parentNode")}function Vy(t){return bt("Node",t,"parentElement")}function jy(t){return bt("Node",t,"textContent")}function Hy(t,n){return Nl("Node",t,"contains")(n)}function Yy(t){return Nl("Node",t,"getRootNode")()}function Ky(t){return!t||!("host"in t)?null:bt("ShadowRoot",t,"host")}function Jy(t){return t.styleSheets}function Xy(t){return!t||!("shadowRoot"in t)?null:bt("Element",t,"shadowRoot")}function Zy(t,n){return bt("Element",t,"querySelector")(n)}function Qy(t,n){return bt("Element",t,"querySelectorAll")(n)}function e_(){return Ca("MutationObserver").constructor}function t_(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 ac={childNodes:Gy,parentNode:qy,parentElement:Vy,textContent:jy,contains:Hy,getRootNode:Yy,host:Ky,styleSheets:Jy,shadowRoot:Xy,querySelector:Zy,querySelectorAll:Qy,mutationObserver:e_,patch:t_};function Ss(t,n,i){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return Ss(ac.parentNode(t),n);for(var e=t.classList.length;e--;){var r=t.classList[e];if(n.test(r))return!0}return Ss(ac.parentNode(t),n)}function r_(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function n_(t){if(t.__esModule)return t;var n=t.default;if(typeof n=="function"){var i=function e(){return A(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 Ea={exports:{}},oe=String,Ll=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}};Ea.exports=Ll();Ea.exports.createColors=Ll;var i_=Ea.exports,o_={},s_=Object.freeze(Object.defineProperty({__proto__:null,default:o_},Symbol.toStringTag,{value:"Module"})),me=n_(s_),uc=i_,cc=me,Cs=(function(t){ue(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=uc.isColorSupported),cc&&r&&(s=cc(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=uc.createColors(!0),v=g.bold,y=g.gray,d=g.red;l=function(m){return v(d(m))},h=function(m){return y(m)}}else l=h=function(m){return m};return a.slice(u,c).map(function(m,_){var b=u+1+_,S=" "+(" "+b).slice(-f)+" | ";if(b===o.line){var C=h(S.replace(/\d/g," "))+m.slice(0,o.column-1).replace(/[^\t]/g," ");return l(">")+h(S)+m+`
54 `+C+l("^")}return" "+h(S)+m}).join(`
55`)},i.toString=function(){var r=this.showSourceCode();return r&&(r=`
56
57`+r+`
58`),this.name+": "+this.message+r},n})(qr(Error)),Ia=Cs;Cs.default=Cs;var St={};St.isClean=Symbol("isClean");St.my=Symbol("my");var fc={after:`
59`,beforeClose:`
60`,beforeComment:`
61`,beforeDecl:`
62`,beforeOpen:" ",beforeRule:`
63`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};function a_(t){return t[0].toUpperCase()+t.slice(1)}var Es=(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 fc[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"+a_(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=fc[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})(),Dl=Es;Es.default=Es;var u_=Dl;function Is(t,n){var i=new u_(n);i.stringify(t)}var Zi=Is;Is.default=Is;var Gn=St.isClean,c_=St.my,f_=Ia,l_=Dl,h_=Zi;function xs(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":M(r);e==="parent"&&o==="object"?n&&(i[e]=n):e==="source"?i[e]=r:Array.isArray(r)?i[e]=r.map(function(s){return xs(s,i)}):(o==="object"&&r!==null&&(r=xs(r)),i[e]=r)}return i}var Os=(function(){function t(i){i===void 0&&(i={}),this.raws={},this[Gn]=!1,this[c_]=!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=xs(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 f_(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[Gn]){this[Gn]=!1;for(var e=this;e=e.parent;)e[Gn]=!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 l_;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":M(l))==="object"&&l.toJSON?l.toJSON(null,r):l});else if((typeof c>"u"?"undefined":M(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=h_),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=Os;Os.default=Os;var p_=Qi,ks=(function(t){ue(n,t);function n(i){var e;return i&&typeof i.value<"u"&&typeof i.value!="string"&&(i=B({},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})(p_),eo=ks;ks.default=ks;var d_="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",v_=function(t){t===void 0&&(t=21);for(var n="",i=t;i--;)n+=d_[Math.random()*64|0];return n},g_={nanoid:v_},lc=me.SourceMapConsumer,hc=me.SourceMapGenerator,m_=me.existsSync,y_=me.readFileSync,Ao=me.dirname,__=me.join;function w_(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var As=(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 lc(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 w_(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":M(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);if(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),m_(e))return this.mapFile=e,y_(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(A(r,lc))return hc.fromSourceMap(r).toString();if(A(r,hc))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=__(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})(),Fl=As;As.default=As;var b_=me.SourceMapConsumer,S_=me.SourceMapGenerator,pc=me.fileURLToPath,qn=me.pathToFileURL,Rs=me.isAbsolute,Ms=me.resolve,C_=g_.nanoid,Ro=me,dc=Ia,E_=Fl,Mo=Symbol("fromOffsetCac
70he"),I_=!!(b_&&S_),vc=!!(Ms&&Rs),Ei=(function(){function t(i,e){if(e===void 0&&(e={}),i===null||typeof i>"u"||(typeof i>"u"?"undefined":M(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&&(!vc||/^\w+:\/\//.test(e.from)||Rs(e.from)?this.file=e.from:this.file=Ms(e.from)),vc&&I_){var r=new E_(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 "+C_(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":M(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 y=this.origin(r,o,u,c);return y?a=new dc(e,y.endLine===void 0?y.line:{column:y.column,line:y.line},y.endLine===void 0?y.column:{column:y.endColumn,line:y.endLine},y.source,y.file,s.plugin):a=new dc(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&&(qn&&(a.input.url=qn(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(`
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[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:Ms(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;Rs(u.source)?f=qn(u.source):f=new URL(u.source,this.map.consumer().sourceRoot||qn(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(pc)l.file=pc(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=B({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},ae(t,[{key:"from",get:function(){return this.file||this.id}}]),t})(),to=Ei;Ei.default=Ei;Ro&&Ro.registerInput&&Ro.registerInput(Ei);var Ul=me.SourceMapConsumer,ai=me.SourceMapGenerator,ui=me.dirname,Bl=me.relative,zl=me.resolve,Wl=me.sep,gc=me.pathToFileURL,x_=to,O_=!!(Ul&&ai),k_=!!(ui&&zl&&Bl&&Wl),A_=(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||ui(o.file),u=void 0;this.mapOpts.sourcesContent===!1?(u=new Ul(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(),k_&&O_&&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(`
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?ui(this.opts.to):".";
vendor: 40,216 bytes, lines 75-87
75typeof this.mapOpts.annotation=="string"&&(o=ui(zl(o,this.mapOpts.annotation)));var s=Bl(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 x_(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(gc){var o=gc(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;Wl==="\\"&&(e=e.replace(/\\/g,"/"));var o=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,o),o},t})(),Gl=A_,R_=Qi,$s=(function(t){ue(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="comment",e}return n})(R_),ro=$s;$s.default=$s;var ql=St.isClean,Vl=St.my,jl=eo,Hl=ro,M_=Qi,Yl,xa,Oa,Kl;function Jl(t){return t.map(function(n){return n.nodes&&(n.nodes=Jl(n.nodes)),delete n.source,n})}function Xl(t){if(t[ql]=!1,t.proxyOf.nodes)for(var n=I(t.proxyOf.nodes),i;!(i=n()).done;){var e=i.value;Xl(e)}}var it=(function(t){ue(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]=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=Jl(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 jl(r)]}else if(r.selector)r=[new xa(r)];else if(r.name)r=[new Oa(r)];else if(r.text)r=[new Hl(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[ql]&&Xl(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?A(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?A(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?A(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})(M_);it.registerParse=function(t){Yl=t};it.registerRule=function(t){xa=t};it.registerAtRule=function(t){Oa=t};it.registerRoot=function(t){Kl=t};var qt=it;it.default=it;it.rebuild=function(t){t.type==="atrule"?Object.setPrototypeOf(t,Oa.prototype):t.type==="rule"?Object.setPrototypeOf(t,xa.prototype):t.type==="decl"?Object.setPrototypeOf(t,jl.prototype):t.type==="comment"?Object.setPrototypeOf(t,Hl.prototype):t.type==="root"&&Object.setPrototypeOf(t,Kl.prototype),t[Vl]=!0,t.nodes&&t.nodes.forEach(function(n){it.rebuild(n)})};var $_=qt,Zl,Ql,tn=(function(t){ue(n,t);function n(e){var r;return r=t.call(this,B({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 Zl(new Ql,this,r);return o.stringify()},n})($_);tn.registerLazyResult=function(t){Zl=t};tn.registerProcessor=function(t){Ql=t};var ka=tn;tn.default=tn;var Ts=(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=Ts;Ts.default=Ts;var T_=eh,Ps=(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 T_(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})(),Aa=Ps;Ps.default=Ps;var $o=39,mc=34,Vn=92,yc=47,jn=10,Tr=32,Hn=12,Yn=9,Kn=13,P_=91,N_=93,L_=40,D_=41,F_=123,U_=125,B_=59,z_=42,W_=58,G_=64,Jn=/[\t\n\f\r "#'()/;[\\\]{}]/g,Xn=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,q_=/.[\r\n"'(/\\]/,_c=/[\da-f]/i,V_=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,y=e.length,d=0,m=[],_=[];function b(){return d}function S(k){throw n.error("Unclosed "+k,d)}function C(){return _.length===0&&d>=y}function x(k){if(_.length)return _.pop();if(!(d>=y)){var $=k?k.ignoreUnclosed:!1;switch(o=e.charCodeAt(d),o){case jn:case Tr:case Yn:case Kn:case Hn:{s=d;do s+=1,o=e.charCodeAt(s);while(o===Tr||o===jn||o===Yn||o===Kn||o===Hn);v=["space",e.slice(d,s)],d=s-1;break}case P_:case N_:case F_:case U_:case W_:case B_:case D_:{var F=String.fromCharCode(o);v=[F,F,d];break}case L_:{if(h=m.length?m.pop()[1]:"",g=e.charCodeAt(d+1),h==="url"&&g!==$o&&g!==mc&&g!==Tr&&g!==jn&&g!==Yn&&g!==Hn&&g!==Kn){s=d;do{if(f=!1,s=e.indexOf(")",s+1),s===-1)if(r||$){s=d;break}else S("bracket");for(l=s;e.charCodeAt(l-1)===Vn;)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||q_.test(u)?v=["(","(",d]:(v=["brackets",u,d,s],d=s);break}case $o:case mc:{a=o===$o?"'":'"',s=d;do{if(f=!1,s=e.indexOf(a,s+1),s===-1)if(r||$){s=d+1;break}else S("string");for(l=s;e.charCodeAt(l-1)===Vn;)l-=1,f=!f}while(f);v=["string",e.slice(d,s+1),d,s],d=s;break}case G_:{Jn.lastIndex=d+1,Jn.test(e),Jn.lastIndex===0?s=e.length-1:s=Jn.lastIndex-2,v=["at-word",e.slice(d,s+1),d,s],d=s;break}case Vn:{for(s=d,c=!0;e.charCodeAt(s+1)===Vn;)s+=1,c=!c;if(o=e.charCodeAt(s+1),c&&o!==yc&&o!==Tr&&o!==jn&&o!==Yn&&o!==Kn&&o!==Hn&&(s+=1,_c.test(e.charAt(s)))){for(;_c.test(e.charAt(s+1));)s+=1;e.charCodeAt(s+1)===Tr&&(s+=1)}v=["word",e.slice(d,s+1),d,s],d=s;break}default:{o===yc&&e.charCodeAt(d+1)===z_?(s=e.indexOf("*/",d+2)+1,s===0&&(r||$?s=e.length:S("comment")),v=["comment",e.slice(d,s+1),d,s],d=s):(Xn.lastIndex=d+1,Xn.test(e),Xn.lastIndex===0?s=e.length-1:s=Xn.lastIndex-2,v=["word",e.slice(d,s+1),d,s],m.push(v),d=s);break}}return d++,v}}function R(k){_.push(k)}return{back:R,endOfFile:C,nextToken:x,position:b}},th=qt,Ii=(function(t){ue(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})(th),Ra=Ii;Ii.default=Ii;th.registerAtRule(Ii);var rh=qt,nh,ih,gr=(function(t){ue(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 nh(new ih,this,r);return o.stringify()},n})(rh);gr.registerLazyResult=function(t){nh=t};gr.registerProcessor=function(t){ih=t};var dn=gr;gr.default=gr;rh.registerRoot(gr);var rn={comma:function(n){return rn.split(n,[","],!0)},space:function(n){var i=[" ",`
76`,"	"];return rn.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}},oh=rn;rn.default=rn;var sh=qt,j_=oh,xi=(function(t){ue(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 j_.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})(sh),Ma=xi;xi.default=xi;sh.registerRule(xi);var H_=eo,Y_=V_,K_=ro,J_=Ra,X_=dn,wc=Ma,bc={empty:!0,space:!0};function Z_(t){for(var n=t.length-1;n>=0;n--){var i=t[n],e=i[3]||i[2];if(e)return e}}var Q_=(function(){function t(i){this.input=i,this.root=new X_,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 J_;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 K_;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=Y_(this.input)},n.decl=function(e,r){var o=new H_;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]||Z_(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="",y=l;y>0;y--){var d=g[y][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 m=e.some(function(_){return _[0]!=="space"&&_[0]!=="comment"});m&&(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 wc;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()}if(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",!bc[g]&&!bc[h]?f.slice(-1)===","?l=!1:f+=a[1]:l=!1):f+=a[1];if(!l){var y=o.reduce(function(d,m){return d+m[1]},"");e.raws[r]={raw:y,value:f}}e[r]=f},n.rule=function(e){e.pop();var r=new wc;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})},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})(),ew=Q_,tw=qt,rw=ew,nw=to;function Oi(t,n){var i=new nw(t,n),e=new rw(i);try{e.parse()}catch(r){throw r}return e.root}var $a=Oi;Oi.default=Oi;tw.registerParse(Oi);var je=St.isClean,iw=St.my,ow=Gl,sw=Zi,aw=qt,uw=ka,Sc=Aa,cw=$a,fw=dn,lw={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},hw={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},pw={Once:!0,postcssPlugin:!0,prepare:!0},mr=0;function Pr(t){return(typeof t>"u"?"undefined":M(t))==="object"&&typeof t.then=="function"}function ah(t){var n=!1,i=lw[t.type];return t.type==="decl"?n=t.prop.toLowerCase():t.type==="atrule"&&(n=t.name.toLowerCase()),n&&t.append?[i,i+"-"+n,mr,i+"Exit",i+"Exit-"+n]:n?[i,i+"-"+n,i+"Exit",i+"Exit-"+n]:t.append?[i,mr,i+"Exit"]:[i,i+"Exit"]}function Cc(t){var n;return t.type==="document"?n=["Document",mr,"DocumentExit"]:t.type==="root"?n=["Root",mr,"RootExit"]:n=ah(t),{eventIndex:0,events:n,iterator:0,node:t,visitorIndex:0,visitors:[]}}function Ns(t){return t[je]=!1,t.nodes&&t.nodes.forEach(function(n){return Ns(n)}),t}var Ls={},yr=(function(){function t(i,e,r){var o=this;this.stringified=!1,this.processed=!1;var s;if((typeof e>"u"?"undefined":M(e))==="object"&&e!==null&&(e.type==="root"||e.type==="document"))s=Ns(e);else if(A(e,t)||A(e,Sc))s=Ns(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=cw;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[iw]&&aw.rebuild(s)}this.result=new Sc(i,s,r),this.helpers=B({},Ls,{postcss:Ls,result:this.result}),this.plugins=this.processor.plugins.map(function(u){return(typeof u>"u"?"undefined":M(u))==="object"&&u.prepare?B({},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":M(a))==="object")for(var u in a){if(!hw[u]&&/^[A-Z]/.test(u))throw new Error("Unknown event "+u+" in "+a.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!pw[u])if(M(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 Bi(function(){var r,o,s,a,u,c,f,l,h,g,v,y;return Dt(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[je])return[3,14];u[je]=!0,c=[Cc(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 m,_,b,S,C;return Dt(this,function(x){switch(x.label){case 0:m=y.value,_=m[0],b=m[1],e.result.lastPlugin=_,x.label=1;case 1:return x.trys.push([1,6,,7]),u.type!=="document"?[3,3]:(S=u.nodes.map(function(R){return b(R,e.helpers)}),[4,Promise.all(S)]);case 2:return x.sent(),[3,5];case 3:return[4,b(u,e.helpers)];case 4:x.sent(),x.label=5;case 5:return[3,7];case 6:throw C=x.sent(),e.handleError(C);case 7:return[2]}})},v=I(e.listeners.OnceExit),d.label=15;case 15:return(y=v()).done?[3,18]:[5,Qs(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":M(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=sw;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);var o=new ow(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[je];)a[je]=!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[je]){l[je]=!0,e.push(Cc(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===mr){o.nodes&&o.nodes.length&&(o[je]=!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[je]=!0;for(var o=ah(e),s=I(o),a;!(a=s()).done;){var u=a.value;if(u===mr)e.nodes&&e.each(function(f){f[je]||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})();yr.registerPostcss=function(t){Ls=t};var uh=yr;yr.default=yr;fw.registerLazyResult(yr);uw.registerLazyResult(yr);var dw=Gl,vw=Zi,gw=$a,mw=Aa,Ds=(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=vw;this.result=new mw(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 dw(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=gw;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})(),yw=Ds;Ds.default=Ds;var _w=yw,ww=uh,bw=ka,Sw=dn,nn=(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":M(a))==="object"&&Array.isArray(a.plugins))r=r.concat(a.plugins);else if((typeof a>"u"?"undefined":M(a))==="object"&&a.postcssPlugin)r.push(a);else if(typeof a=="function")r.push(a);else if(!((typeof a>"u"?"undefined":M(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 _w(this,e,r):new ww(this,e,r)},n.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},t})(),Cw=nn;nn.default=nn;Sw.registerProcessor(nn);bw.registerProcessor(nn);var Ew=eo,Iw=Fl,xw=ro,Ow=Ra,kw=to,Aw=dn,Rw=Ma;function on(t,n){if(Array.isArray(t))return t.map(function(l){return on(l)});var i=t.inputs,e=Lt(t,["inputs"]);if(i){n=[];for(var r=I(i),o;!(o=r()).done;){var s=o.value,a=B({},s,{__proto__:kw.prototype});a.map&&(a.map=B({},a.map,{__proto__:Iw.prototype})),n.push(a)}}if(e.nodes&&(e.nodes=t.nodes.map(function(l){return on(l,n)})),e.source){var u=e.source,c=u.inputId,f=Lt(u,["inputId"]);e.source=f,c!=null&&(e.source.input=n[c])}if(e.type==="root")return new Aw(e);if(e.type==="decl")return new Ew(e);if(e.type==="rule")return new Rw(e);if(e.type==="comment")return new xw(e);if(e.type==="atrule")return new Ow(e);throw new Error("Unknown node type: "+t.type)}var Mw=on;on.default=on;var $w=Ia,ch=eo,Tw=uh,Pw=qt,Ta=Cw,Nw=Zi,Lw=Mw,fh=ka,Dw=eh,lh=ro,hh=Ra,Fw=Aa,Uw=to,Bw=$a,zw=oh,ph=Ma,dh=dn,Ww=Qi;function ee(){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 Ta(n)}ee.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`),ur.LANG&&ur.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 Ta().version,c}var o;return Object.defineProperty(r,"postcss",{get:function(){return o||(o=r()),o}}),r.process=function(s,a,u){return ee([r(u)]).process(s,a)},r};ee.stringify=Nw;ee.parse=Bw;ee.fromJSON=Lw;ee.list=zw;ee.comment=function(t){return new lh(t)};ee.atRule=function(t){return new hh(t)};ee.decl=function(t){return new ch(t)};ee.rule=function(t){return new ph(t)};ee.root=function(t){return new dh(t)};ee.document=function(t){return new fh(t)};ee.CssSyntaxError=$w;ee.Declaration=ch;ee.Container=Pw;ee.Processor=Ta;ee.Document=fh;ee.Comment=lh;ee.Warning=Dw;ee.AtRule=hh;ee.Result=Fw;ee.Input=Uw;ee.Rule=ph;ee.Root=dh;ee.Node=Ww;Tw.registerPostcss(ee);var Gw=ee;ee.default=ee;var le=r_(Gw);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 qw=Object.defineProperty,Vw=function(t,n,i){return n in t?qw(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i},Zn=function(t,n,i){return Vw(t,(typeof n>"u"?"undefined":M(n))!=="symbol"?n+"":n,i)};function jw(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 Xt=(function(){function t(i){Zn(this,"fileName"),Zn(this,"functionName"),Zn(this,"lineNumber"),Zn(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})(),Hw=/(^|@)\S+:\d+/,Ec=/^\s*at .*(\S+:\d+|\(native\))/m,Yw=/^(eval@)?(\[native code])?$/,To={parse:function(n){return n?typeof n.stacktrace<"u"||typeof n["opera#sourceloc"]<"u"?this.parseOpera(n):n.stack&&n.stack.match(Ec)?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(Ec)},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 Xt({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(Yw)},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 Xt({functionName:e});var r=/((.*".+"[^@]*)?[^@]*)(?:@)/,o=e.match(r),s=o&&o[1]?o[1]:void 0,a=this.extractLocation(e.replace(r,""));return new Xt({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 Xt({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 Xt({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(Hw)&&!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 Xt({functionName:a,fileName:o[0],lineNumber:o[1],columnNumber:o[2]})},this)}};function Kw(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 Fs(t){return Object.prototype.toString.call(t)==="[object Object]"}function vh(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(Fs(t[o])&&vh(t[o],n-1))return!0}return!1}function Zt(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":M(u))==="bigint")return u.toString()+"n";if(A(u,Event)){var f={};for(var l in u){var h=u[l];Array.isArray(h)?f[l]=Kw(h.length?h[0]:null):f[l]=h}return f}else{if(A(u,Node))return A(u,HTMLElement)?u?u.outerHTML:"":u.nodeName;if(A(u,Error))return u.stack?u.stack+`
87End of stack for Error object`:u.name+": "+u.message}return u});function o(a){return!!(Fs(a)&&Object.keys(a).length>i.numOfKeysLimit||typeof a=="function"||Fs(a)&&vh(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 Ic={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","t
87ime","timeEnd","timeLog","trace","warn"],lengthThreshold:1e3,logger:"console"};function Jw(t,n,i){var e=i?Object.assign({},Ic,i):Ic,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(y){var d=y.message,m=y.error,_=To.parse(m).map(function(S){return S.toString()}),b=[Zt(d,e.stringifyOptions)];t({level:"error",trace:_,payload:b})};n.addEventListener("error",c),u.push(function(){n.removeEventListener("error",c)});var f=function(y){var d,m;A(y.reason,Error)?(d=y.reason,m=[Zt("Uncaught (in promise) "+d.name+": "+d.message,e.stringifyOptions)]):(d=new Error,m=[Zt("Uncaught (in promise)",e.stringifyOptions),Zt(y.reason,e.stringifyOptions)]);var _=To.parse(d).map(function(b){return b.toString()});t({level:"error",trace:_,payload:m})};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(y){return y()})};function v(y,d){var m=this;return y[d]?jw(y,d,function(_){var b=m;return function(){for(var S=arguments.length,C=new Array(S),x=0;x<S;x++)C[x]=arguments[x];if(_.apply(b,C),!(d==="assert"&&C[0])&&!a){a=!0;try{var R=To.parse(new Error).map(function(F){return F.toString()}).splice(1),k=d==="assert"?C.slice(1):C,$=k.map(function(F){return Zt(F,e.stringifyOptions)});s++,s<e.lengthThreshold?t({level:d,trace:R,payload:$}):s===e.lengthThreshold&&t({level:"warn",trace:[],payload:[Zt("The number of log records reached the threshold.")]})}catch(F){_.apply(void 0,[].concat(["rrweb logger error:",F],C))}finally{a=!1}
87}}}):function(){}}}var Xw="rrweb/console@1",Zw=function(t){return{name:Xw,observer:Jw,options:t}},xc=E.setImmediate,dt,Us,Bs,gh=Object.prototype.toString,Qw=typeof xc<"u"?function(n){return xc(n)}:setTimeout;try{Object.defineProperty({},"x",{}),dt=function(n,i,e,r){return Object.defineProperty(n,i,{value:e,writable:!0,configurable:r!==!1})}}catch{dt=function(i,e,r){return i[e]=r,i}}Bs=(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=Us=void 0;s;)s.fn.call(s.self),s=s.next}}})();function ki(t,n){Bs.add(t,n),Us||(Us=Qw(Bs.drain))}function mh(t){var n,i=typeof t;return t!==null&&(i==="object"||i==="function")&&(n=t.then),typeof n=="function"?n:!1}function Pa(){for(var t=0;t<this.chain.length;t++)eb(this,this.state===1?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function eb(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=mh(e))?r.call(e,i.resolve,i.reject):i.resolve(e))}catch(o){i.reject(o)}}function yh(t){var n,i=this;if(!i.triggered){i.triggered=!0,i.def&&(i=i.def);try{(n=mh(t))?ki(function(){var e=new Oc(i);try{n.call(t,function(){yh.apply(e,arguments)},function(){Ur.apply(e,arguments)})}catch(r){Ur.call(e,r)}}):(i.msg=t,i.state=1,i.chain.length>0&&ki(Pa,i))}catch(e){Ur.call(new Oc(i),e)}}}function Ur(t){var n=this;n.triggered||(n.triggered=!0,n.def&&(n=n.def),n.msg=t,n.state=2,n.chain.length>0&&ki(Pa,n))}function _h(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 Oc(t){this.def=t,this.triggered=!1}function tb(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function Ct(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 tb(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&&ki(Pa,n),o.promise},this.catch=function(e){return this.then(void 0,e)};try{t.call(void 0,function(e){yh.call(n,e)},function(e){Ur.call(n,e)})}catch(i){Ur.call(n,i)}}var wh=dt({},"constructor",Ct,!1);Ct.prototype=wh;dt(wh,"__NPO__",0,!1);dt(Ct,"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)})});dt(Ct,"reject",function(n){return new this(function(e,r){if(typeof e!="function"||typeof r!="function")throw TypeError("Not a function");r(n)})});dt(Ct,"all",function(n){var i=this;return gh.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;_h(i,n,function(f,l){a[f]=l,++u===s&&r(a)},o)})});dt(Ct,"race",function(n){var i=this;return gh.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");_h(i,n,function(a,u){r(u)},o)})});var j;typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1?j=Promise:j=Ct;var Le={DEBUG:!1,LIB_VERSION:"2.74.0"},Br=1440*60*1e3,Po=8*1e3,no=Array.prototype,rb=Function.prototype,bh=Object.prototype,lt=no.slice,vn=bh.toString,io=bh.hasOwnProperty,_e=E.console,et=E.navigator,L=E.document,Nr=E.opera,kc=E.screen,He=et.userAgent,No=rb.bind,Ac=no.forEac
87h,Rc=no.indexOf,Mc=no.map,nb=Array.isArray,zs={},p={trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},U={log:function(){if(Le.DEBUG&&!p.isUndefined(_e)&&_e)try{_e.log.apply(_e,arguments)}catch{p.each(arguments,function(n){_e.log(n)})}},warn:function(){if(Le.DEBUG&&!p.isUndefined(_e)&&_e){var t=["Mixpanel warning:"].concat(p.toArray(arguments));try{_e.warn.apply(_e,t)}catch{p.each(t,function(i){_e.warn(i)})}}},error:function(){if(Le.DEBUG&&!p.isUndefined(_e)&&_e){var t=["Mixpanel error:"].concat(p.toArray(arguments));try{_e.error.apply(_e,t)}catch{p.each(t,function(i){_e.error(i)})}}},critical:function(){if(!p.isUndefined(_e)&&_e){var t=["Mixpanel error:"].concat(p.toArray(arguments));try{_e.error.apply(_e,t)}catch{p.each(t,function(i){_e.error(i)})}}}},Lo=function(t,n){return function(){return arguments[0]="["+n+"] "+arguments[0],t.apply(U,arguments)}},Vt=function(t){return{log:Lo(U.log,t),error:Lo(U.error,t),critical:Lo(U.critical,t)}},sn=function(t){return function(){try{return t.apply(this,arguments)}catch(n){U.critical("Implementation error. Please turn on debug and contact [email protected]."),Le.DEBUG&&U.critical(n)}}},Sh=function(t){var n=t.prototype;for(var i in n)typeof n[i]=="function"&&(n[i]=sn(n[i]))};p.bind=function(t,n){var i,e;if(No&&t.bind===No)return No.apply(t,lt.call(arguments,1));if(!p.isFunction(t))throw new TypeError;return i=lt.call(arguments,2),e=function(){if(!(this instanceof e))return t.apply(n,i.concat(lt.call(arguments)));var r={};r.prototype=t.prototype;var o=new r;r.prototype=null;var s=t.apply(o,i.concat(lt.call(arguments)));return Object(s)===s?s:o},e};p.each=function(t,n,i){if(t!=null){if(Ac&&t.forEach===Ac)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)===zs)return}else for(var o in t)if(io.call(t,o)&&n.call(i,t[o],o,t)===zs)return}};p.extend=function(t){return p.each(lt.call(arguments,1),function(n){for(var i in n)n[i]!==void 0&&(t[i]=n[i])}),t};p.isArray=nb||function(t){return vn.call(t)==="[object Array]"};p.isFunction=function(t){try{return/^\s*\bfunction\b/.test(t)}catch{return!1}};p.isArguments=function(t){return!!(t&&io.call(t,"callee"))};p.toArray=function(t){return t?t.toArray?t.toArray():p.isArray(t)||p.isArguments(t)?lt.call(t):p.values(t):[]};p.map=function(t,n,i){if(Mc&&t.map===Mc)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:Rc&&t.indexOf===Rc?t.indexOf(n)!=-1:(p.each(t,function(e){if(i||(i=e===n))return zs}),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(io.call(t,n))return!1;return!0}return!1};p.isUndefined=function(t){return t===void 0};p.isString=function(t){return vn.call(t)=="[object String]"};p.isDate=function(t){return vn.call(t)=="[object Date]"};p.isNumber=function(t){return vn.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];
vendor: 4,255 bytes, lines 87-93
87return 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=[],vn.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)io.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,y="",d;if(n==='"')for(;o();){if(n==='"')return o(),y;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;y+=String.fromCharCode(d)}else if(typeof i[n]=="string")y+=i[n];else break;else y+=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 $c=["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<$c.length;n++)if(t.indexOf($c[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,"\\]");
vendor: 8,061 bytes, line 93
93var 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{U.error("Skipping decoding for malformed query param: "+o)}return o.replace(/\+/g," ")};p.cookie={get:function(t){for(var n=t+"=",i=L.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=Tc(L.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"),L.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=Tc(L.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 L.cookie=h,h},remove:function(t,n,i){p.cookie.set(t,"",-1,n,!1,!1,i)}};var Ch=function(t){var n=!0;try{var i="__mplss_"+Na(8),e="xyz";t.setItem(i,e),t.getItem(i)!==e&&(n=!1),t.removeItem(i)}catch{n=!1}return n},Do=null,an=function(t,n){return Do!==null&&!n?Do:Do=Ch(t||E.localStorage)},Fo=null,ib=function(t,n){return Fo!==null&&!n?Fo:Fo=Ch(t||E.sessionStorage)};function Eh(t,n,i){var e=function(r){U.error(n+" error: "+r)};return{is_supported:function(r){var o=i(t,r);return o||U.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 Ih=null,xh=null;try{Ih=E.localStorage,xh=E.sessionStorage}catch{}p.localStorage=Eh(Ih,"localStorage",an);p.sessionStorage=Eh(xh,"sessionStorage",ib);p.register_event=(function(){var t=function(e,r,o,s,a){if(!e){U.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 ob=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(!L.getElementsByTagName)return[];var o=r.split(" "),s,a,u,c,f,l,h,g,v,y,d=[L];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 m=a[1],_=L.getElementById(m);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=[],y=0,h=0;h<c.length;h++)c[h].className&&p.isString(c[h].className)&&i(c[h],b)&&(d[y++]=c[h]);continue}var S=s.match(ob);if(S){u=S[1];var C=S[2],x=S[3],R=S[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=[],y=0;var k;switch(x){case"=":k=function($){return $.getAttribute(C)==R};break;case"~":k=function($){return $.getAttribute(C).match(new RegExp("\\b"+R+"\\b"))};break;case"|":k=function($){return $.getAttribute(C).match(new RegExp("^"+R+"-?"))};break;case"^":k=function($){return $.getAttribute(C).indexOf(R)===0};break;case"$":k=function($){return $.getAttribute(C).lastIndexOf(R)==$.getAttribute(C).length-R.length};break;case"*":k=function($){return $.getAttribute(C).indexOf(R)>-1};break;default:k=function($){return $.getAttribute(C)}}for(d=[],y=0,h=0;h<c.length;h++)k(c[h])&&(d[y++]=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 sb=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],ab=["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(sb,function(e){n=p.getQueryParam(L.URL,e),n.length?i[e]=n:t!==void 0&&(i[e]=t)}),i},clickParams:function(){var t="",n={};return p.each(ab,function(i){t=p.getQueryParam(L.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=He;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={}
93),p.extend(p.strip_empty_properties({$os:p.info.os(),$browser:p.info.browser(He,et.vendor,Nr),$referrer:L.referrer,$referring_domain:p.info.referringDomain(L.referrer),$device:p.info.device(He)}),{$current_url:p.info.currentUrl(),$browser_version:p.info.browserVersion(He,et.vendor,Nr),$screen_height:kc.height,$screen_width:kc.width,mp_lib:"web",$lib_version:Le.LIB_VERSION,$insert_id:Na(),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(He,et.vendor,Nr)}),{$browser_version:p.info.browserVersion(He,et.vendor,Nr)})},mpPageViewProperties:function(){return p.strip_empty_properties({current_page_title:L.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 ub=function(t,n){var i=null,e=[];return function(r){var o=this;return e.push(r),i||(i=new j(function(s){setTimeout(function(){var a=t.apply(o,[e]);i=null,e=[],s(a)},n)})),i}},Na=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},cb=function(){var t=p.UUID().replace(/-/g,""),n=p.UUID().replace(/-/g,"").substring(0,16),i="01";return"00-"+t+"-"+n+"-"+i},fb=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,lb=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,Tc=function(t){var n=lb,i=t.split("."),e=i[i.length-1];(e.length>4||e==="com"||e==="org")&&(n=fb);var r=t.match(n);return r?r[0]:""},hb=function(){var t=E.navigator.onLine;return p.isUndefined(t)||t},pt=function(){},_r=null,Ai=null;typeof JSON<"u"&&(_r=JSON.stringify,Ai=JSON.parse);_r=_r||p.JSONEncode;Ai=Ai||p.JSONDecode;var pb=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=Ct;var db="mixpanelBrowserDb",Oh="mixpanelRecordingEvents",La="mixpanelRecordingRegistry",vb=1,gb=[Oh,La],We=function(t){this.dbPromise=null,this.storeName=t};We.prototype._openDb=function(){return new j(function(t,n){var i=E.indexedDB.open(db,vb);i.onerror=function(){n(i.error)},i.onsuccess=function(){t(i.result)},i.onupgradeneeded=function(e){var r=e.target.result;gb.forEach(function(o){r.createObjectStore(o)})}})};We.prototype.init=function(){return E.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(t){return t instanceof E.IDBDatabase?j.resolve():j.reject(t)})):j.reject("indexedDB is not supported in this browser")};We.prototype.isInitialized=function(){return!!this.dbPromise};We.prototype.makeTransaction=function(t,n){var i=this.storeName,e=function(r){return new j(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)):j.reject(r)}).bind(this))};We.prototype.setItem=function(t,n){return this.makeTransaction("readwrite",function(i){i.put(n,t)})};We.prototype.getItem=function(t){var n;return this.makeTransaction("readonly",function(i){n=i.get(t)}).then(function(){return n.result})};We.prototype.removeItem=function(t){return this.makeTransaction("readwrite",function(n){n.delete(t)})};We.prototype.getAll=function(){var t;return this.makeTransaction("readonly",function(n){t=n.getAll()}).then(function(){return t.result})};var mb="__mp_opt_in_out_";function yb(t,n){Rh(!0,t,n)}function _b(t,n){Rh(!1,t,n)}function wb(t,n){return Ah(t,n)==="1"}function kh(t,n){if(Sb(n))return U.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=Ah(t,n)==="0";return i&&U.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),i}function Et(t){return Ua(t,function(n){return this.get_config(n)})}function It(t){return Ua(t,function(n){return this._get_config(n)})}function Sr(t){return Ua(t,function(n){return this._get_config(n)})}function bb(t,n){n=n||{},Da(n).remove(Fa(t,n),!!n.crossSubdomainCookie,n.cookieDomain)}function Da(t){return t=t||{},t.persistenceType==="localStorage"?p.localStorage:p.cookie}function Fa(t,n){return n=n||{},(n.persistencePrefix||mb)+t}function Ah(t,n){return Da(n).get(Fa(t,n))}function Sb(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 Rh(t,n,i){if(!p.isString(n)||!n.length){U.error("gdpr."+(t?"optIn":"optOut")+" called with an invali
93d token");return}i=i||{},Da(i).set(Fa(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 Ua(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=kh(e,{ignoreDnt:r,persistenceType:o,persistencePrefix:s,window:a}))}catch(c){U.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 Cb=Vt("lock"),Mh=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||j};Mh.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){Cb.error("Timeout waiting for mutex on "+a+"; clearing lock. ["+o+"]"),f.removeItem(g),f.removeItem(h),m();return}setTimeout(function(){try{b()}catch(S){r(S)}},u*(Math.random()+.1))},y=function(b,S){b()?S():v(function(){y(b,S)})},d=function(){var b=f.getItem(h);return b&&b!==o?!1:(f.setItem(h,o),f.getItem(h)===o?!0:(an(f,!0)||r(new Error("localStorage support dropped while acquiring lock")),!1))},m=function(){f.setItem(l,o),y(d,function(){if(f.getItem(l)===o){_();return}v(function(){if(f.getItem(h)!==o){m();return}y(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(S){b(),e(S)}).catch(function(S){b(),r(S)})};try{if(an(f,!0))m();else throw new Error("localStorage support check failed")}catch(b){r(b)}},this))};var Cr=function(t){this.storage=t||E.localStorage};Cr.prototype.init=function(){return j.resolve()};Cr.prototype.isInitialized=function(){return!0};Cr.prototype.setItem=function(t,n){return new j(p.bind(function(i,e){try{this.storage.setItem(t,_r(n))}catch(r){e(r)}i()},this))};Cr.prototype.getItem=function(t){return new j(p.bind(function(n,i){var e;try{e=Ai(this.storage.getItem(t))}catch(r){i(r)}n(e)},this))};Cr.prototype.removeItem=function(t){return new j(p.bind(function(n,i){try{this.storage.removeItem(t)}catch(e){i(e)}n()},this))};var Pc=Vt("batch"),Je=function(t,n){n=n||{},this.storageKey=t,this.usePersistence=n.usePersistence,this.usePersistence&&(this.queueStorage=n.queueStorage||new Cr,this.lock=new Mh(t,{storage:n.sharedLockStorage||E.localStorage,timeoutMS:n.sharedLockTimeoutMS})),this.reportError=n.errorReporter||p.bind(Pc.error,Pc),this.pid=n.pid||null,this.memQueue=[],this.initialized=!1,n.enqueueThrottleMs?this.enqueuePersisted=ub(p.bind(this._enqueuePersisted,this),n.enqueueThrottleMs):this.enqueuePersisted=p.bind(function(i){return this._enqueuePersisted([i])},this)};Je.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?j.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))};Je.prototype.enqueue=function(t,n){var i={id:Na(),flushAfter:new Date().getTime()+n*2,payload:t};return this.usePersistence?this.enqueuePersisted(i):(this.memQueue.push(i),j.resolve(!0))};Je.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))};Je.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)):j.resolve(n)};var Nc=function(t,n){var i=[];return p.each(t,function(e){e.id&&!n[e.id]&&i.push(e)}),i};Je.prototype.removeItemsByID=function(t){var n={};if(p.each(t,function(e){n[e]=!0}),this.memQueue=Nc(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=Nc(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),an(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 j.resolve(!0)};var Lc=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};Je.prototype.updatePayloads=function(t){return this.memQueue=Lc(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=Lc(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)):j.resolve(!0)};Je.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))};Je.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))};Je.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(p.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):j.resolve()};var Eb=600*1e3,zr=Vt("batch"),Ue=function(t,n){this.errorReporter=n.errorReporter,this.queue=new Je(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};Ue.prototype.enqueue=function(t){return this.queue.enqueue(t,this.flushInterval)};Ue.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()};Ue.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)};Ue.prototype.clear=function(){return this.queue.clear()};Ue.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size};Ue.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)};Ue.prototype.scheduleFlush=function(t){this.flushInterval=t,this.stopped||(this.timeoutID=setTimeout(p.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))};Ue.prototype.sendRequestPromise=function(t,n){return new j(p.bind(function(i){this.sendRequest(t,n,i)},this))};Ue.prototype.flush=function(t){if(this.requestInProgress)return zr.log("Flush: Request already in progress"),j.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:Le.LIB_VERSION}));var g=!0,v=l.id;v?(this.itemIdsSentSuccessfully[v]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:l,batchSize: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(),j.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(),j.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),j.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&&!hb()||l.error==="timeout")){var h=this.flushInterval*2;return l.retryAfter&&(h=parseInt(l.retryAfter,10)*1e3||h),h=Math.min(Eb,h),this.reportError("Error; retry in "+h+" ms"),this.scheduleFlush(h),j.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(),j.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"),zr.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))};Ue.prototype.reportError=function(t,n){if(zr.error.apply(zr.error,arguments),this.errorReporter)try{n instanceof Error||(n=new Error(t)),this.errorReporter(t,n)}catch(i){zr.error(i)}};var Ba=function(t){var n=Date.now();return!t||n>t.maxExpires||n>t.idleExpires},Ib=250,un="change",ot="click",Ws="hashchange",xb="input",Dc="load",ht="mp_locationchange",Fc="popstate",oo="scrollend",za="scroll",Ob="select",Ri="submit",kb="toggle",Uc="visibilitychange",Ab=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],Bc=["mp-include"],Gs=["mp-no-track"],zc=Gs.concat(["mp-sensitive"]),Rb=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],Mb={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},$b={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},Tb={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},Wc=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],Pb=5,re=Vt("autocapture");function qs(t){for(var n={},i=$h(t).split(" "),e=0;e<i.length;e++){var r=i[e];r&&(n[r]=!0)}return n}function $h(t){switch(typeof t.className){case"string":return t.className;case"object":return t.className.baseVal||t.getAttribute("class")||"";default:return""}}function Nb(t){if(t.previousElementSibling)return t.previousElementSibling;do t=t.previousSibling;while(t&&!Th(t));return t}function Gc(t,n,i,e,r,o){var s={$classes:$h(t).split(" "),$tag_name:t.tagName.toLowerCase()},a=t.id;a&&(s.$id=a),Wa(t,n,r,o)&&p.each(Rb.concat(e),function(l){if(t.hasAttribute(l)&&!i[l]){var h=t.getAttribute(l);Mi(h)&&(s["$attr-"+l]=h)}});for(var u=1,c=1,f=t;f=Nb(f);)u++,f.tagName===t.tagName&&c++;return s.$nth_child=u,s.$nth_of_type=c,s}
93function Lb(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(C){f[C]=!0});var l=null,h=typeof t.target>"u"?t.srcElement:t.target;if(Ph(h)&&(h=h.parentNode),Bb(h,t)&&Vs(h,t,i,e)&&!Uo(h,t,o,s)){for(var g=[h],v=h;v.parentNode&&!Ye(v,"body");)g.push(v.parentNode),v=v.parentNode;var y=[],d,m=!1;if(p.each(g,function(C){var x=Wa(C,t,i,e);!f.href&&C.tagName.toLowerCase()==="a"&&(d=C.getAttribute("href"),d=x&&Mi(d)&&d),Uo(C,t,o,s)&&(m=!0),y.push(Gc(C,t,f,u,i,e))},this),!m){var _=L.documentElement;if(l={$event_type:t.type,$host:E.location.host,$pathname:E.location.pathname,$elements:y,$el_attr__href:d,$viewportHeight:Math.max(_.clientHeight,E.innerHeight||0),$viewportWidth:Math.max(_.clientWidth,E.innerWidth||0),$pageHeight:L.body.offsetHeight||0,$pageWidth:L.body.offsetWidth||0},p.each(u,function(C){if(!f[C]&&h.hasAttribute(C)){var x=h.getAttribute(C);Mi(x)&&(l["$el_attr__"+C]=x)}}),a&&(b=qc(h,t,i,e),b&&b.length&&(l.$el_text=b)),t.type===ot&&(p.each(Ab,function(C){C in t&&(l["$"+C]=t[C])}),c&&(l.$captured_for_heatmap=!0),h=Db(t)),a){var b=qc(h,t,i,e);b&&b.length&&(l.$el_text=b)}if(h){if(!Vs(h,t,i,e)||Uo(h,t,o,s))return null;var S=Gc(h,t,f,u,i,e);l.$target=S,l.$el_classes=S.$classes,p.extend(l,p.strip_empty_properties({$el_id:S.$id,$el_tag_name:S.$tag_name}))}}}return l}function qc(t,n,i,e){var r="";return Wa(t,n,i,e)&&t.childNodes&&t.childNodes.length&&p.each(t.childNodes,function(o){Ph(o)&&o.textContent&&(r+=p.trim(o.textContent).split(/(\s+)/).filter(Mi).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),p.trim(r)}function Db(t){for(var n=t.target,i=t.composedPath(),e=0;e<i.length;e++){var r=i[e];if(Ye(r,"a")||Ye(r,"button")||Ye(r,"input")||Ye(r,"select")||r.getAttribute&&r.getAttribute("role")==="button"){n=r;break}if(r===n)break}return n}function Vs(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 Uo(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=qs(t);for(r=0;r<Gs.length;r++)if(s[Gs[r]])return!0;return!1}function Th(t){return t&&t.nodeType===1}function Ye(t,n){return t&&t.tagName&&t.tagName.toLowerCase()===n.toLowerCase()}function Ph(t){return t&&t.nodeType===3}function Fb(){try{var t=L.createElement("div");return!!t.matches}catch{return!1}}function Ub(){return typeof WeakSet<"u"}function Bb(t,n){if(!t||Ye(t,"html")||!Th(t))return!1;var i=t.tagName.toLowerCase();switch(i){case"form":return n.type===Ri;case"input":return["button","submit"].indexOf(t.getAttribute("type"))===-1?n.type===un:n.type===ot;case"select":case"textarea":return n.type===un;default:return n.type===ot}}function Nh(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 Wa(t,n,i,e){var r;if(!Vs(t,n,i,e))return!1;for(var o=t;o.parentNode&&!Ye(o,"body");o=o.parentNode){var s=qs(o);for(r=0;r<zc.length;r++)if(s[zc[r]])return!1}var a=qs(t);for(r=0;r<Bc.length;r++)if(a[Bc[r]])return!0;if(Ye(t,"input")||Ye(t,"select")||Ye(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!Nh(t)}function Mi(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}
vendor: 4,708 bytes, line 93
93)|((?: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 Lh(t){var n="onscrollend"in E,i=sn(t),e=oo;if(!n){var r=null,o=100;i=sn(function(){clearTimeout(r),r=setTimeout(t,o)}),e=za}return{listener:i,eventType:e}}function zb(t){for(var n=0;n<Wc.length;n++)if(t.hasAttribute(Wc[n]))return!0;return!1}function Wb(t){var n=t.getAttribute("role");if(!n)return!1;var i=n.trim().split(/\s+/)[0].toLowerCase();return Mb[i]}function Bo(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||zb(t)||Wb(t)||n==="a"&&t.hasAttribute("href")||t.hasAttribute("tabindex"))}function Dh(t){if(!t||!t.tagName)return!0;var n=t.tagName.toLowerCase();if($b[n])return!0;if(Bo(t))return!1;for(var i=t.parentElement,e=0;i&&e<Pb;){if(Bo(i))return!1;if(i.getRootNode&&i.getRootNode()!==L){var r=i.getRootNode();if(r.host&&Bo(r.host))return!1}i=i.parentElement,e++}return!!Tb[n]}function Fh(t){return"composedPath"in t?t.composedPath():[]}function Uh(t){var n=Fh(t);return n&&n.length>0?n[0]:t.target||t.srcElement}var Bh=".mp-mask, .fs-mask, .amp-mask, .rr-mask, .ph-mask",Gb="data-rr-is-password",qb=["password","email","tel","hidden"];function Qn(t){return t?Array.isArray(t)?t:[t]:[]}function Vb(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=Qn(i).join(","),n.input.unmaskingSelector=Qn(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=Qn(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=Qn(s).join(","),a===void 0&&o!==void 0?n.text.maskAll=!1:a!==void 0&&(n.text.maskAll=a),n}function or(t,n){return n?!!t.closest(n):!1}function jb(t,n){var i=(t.getAttribute("type")||"").toLowerCase();if(qb.indexOf(i)!==-1)return!0;var e=(t.getAttribute("autocomplete")||"").toLowerCase();return e&&e!==""&&e!=="off"||t.hasAttribute(Gb)||Nh(t)?!0:n.input.maskAll?!or(t,n.input.unmaskingSelector):!!(or(t,n.input.maskingSelector)||or(t,Bh))}function Hb(t,n){return t?n.text._legacyClassRegex&&Ss(t,n.text._legacyClassRegex)?!0:n.text.maskAll?!or(t,n.text.unmaskingSelector):!!(or(t,n.text.maskingSelector)||or(t,Bh)):!1}var sr=Vt("recorder"),Yb=E.CompressionStream,Kb={batch_size:1e3,batch_flush_interval_ms:10*1e3,batch_request_timeout_ms:90*1e3,batch_autostart:!0},Jb=new Set([N.MouseMove,N.MouseInteraction,N.Scroll,N.ViewportResize,N.Input,N.TouchMove,N.MediaInteraction,N.Drag,N.Selection]);function Xb(t){return t.type===V.IncrementalSnapshot&&Jb.has(t.data.source)}var we=function(t){this._mixpanel=t.mixpanelInstance,this._onIdleTimeout=t.onIdleTimeout||pt,this._onMaxLengthReached=t.onMaxLengthReached||pt,this._onBatchSent=t.onBatchSent||pt,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=Br,this.recordMinMs=0;var n=an(t.sharedLockStorage,!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new We(Oh),this.batcher=new Ue(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:Kb,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:t.sharedLockStorage,usePersistence:n,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:Ib,sharedLockTimeoutMS:10*1e3})};we.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};we.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init(
93).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))};we.prototype.getConfig=function(t){return this._mixpanel.get_config(t)};we.prototype.get_config=function(t){return this.getConfig(t)};we.prototype.startRecording=function(t){if(this._rrwebRecord===null){this.reportError("rrweb record function not provided. ");return}if(this._stopRecording!==null){sr.log("Recording already in progress, skipping startRecording.");return}this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>Br&&(this.recordMaxMs=Br,sr.critical("record_max_ms cannot be greater than "+Br+"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 o=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,o),this.idleExpires=new Date().getTime()+o}).bind(this);n();var i=this.getConfig("record_block_selector");(i===""||i===null)&&(i=void 0);var e=Vb(this._mixpanel);try{this._stopRecording=this._rrwebRecord({emit:(function(o){if(this.idleExpires&&this.idleExpires<o.timestamp){this._onIdleTimeout();return}Xb(o)&&(this.batcher.stopped&&new Date().getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),n()),this.__enqueuePromise=this.batcher.enqueue(o),(this.lastEventTimestamp===null||o.timestamp>this.lastEventTimestamp)&&(this.lastEventTimestamp=o.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(jb,e),maskTextFn:this._getMaskFn(Hb,e),recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15},plugins:this.getConfig("record_console")?[Zw({stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}})]:[]})}catch(o){this.reportError("Unexpected error when starting rrweb recording.",o)}if(typeof this._stopRecording!="function"){this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,this.stopRecording();return}var r=this.maxExpires-new Date().getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),r)};we.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};we.prototype.isRrwebStopped=function(){return this._stopRecording===null};we.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)};we.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}};we.deserialize=function(t,n){var i=new we(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};we.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.getConfig("api_routes").record+"?"+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})})};we.prototype._flushEvents=Et(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:Le.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);
93if(Object.assign(f,this.getUserIdInfo()),pb(He,et.vendor,Nr)){var h=new Blob([l],{type:"application/json"}).stream(),g=h.pipeThrough(new Yb("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)}});we.prototype.reportError=function(t,n){sr.error.apply(sr.error,arguments);try{!n&&!(t instanceof Error)&&(t=new Error(t)),this.getConfig("error_reporter")(t,n)}catch(i){sr.error(i)}};we.prototype.getDurationMs=function(){return this.replayStartTime===null?0:this.lastEventTimestamp===null?new Date().getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime};we.prototype._getRecordMinMs=function(){var t=this.getConfig("record_min_ms");return t>Po?(sr.critical("record_min_ms cannot be greater than "+Po+"ms. Capping value."),Po):t};we.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 st=function(t){this.idb=new We(La),this.errorReporter=t.errorReporter,this.mixpanelInstance=t.mixpanelInstance,this.sharedLockStorage=t.sharedLockStorage};st.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")};st.prototype.handleError=function(t){this.errorReporter("IndexedDB error: ",t)};st.prototype.setActiveRecording=function(t){if(!this.isPersistenceEnabled())return j.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."),j.resolve())};st.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 Ba(t)?null:t}).bind(this)).catch(this.handleError.bind(this)):j.resolve(null)};st.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()};st.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))};st.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):j.resolve()};st.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 Ba(i)}).map((function(i){var e=we.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 j.all(n)}).bind(this)).catch(this.handleError.bind(this)):j.resolve([])};var Wr=Vt("recorder"),at=function(t,n,i){this.mixpanelInstance=t,this.rrwebRecord=n||wt,this.sharedLockStorage=i,this.recordingRegistry=new st({mixpanelInstance:this.mixpanelInstance,errorReporter:Wr.error,sharedLockStorage:i}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};at.prototype.startRecording=function(t){if(t=t||{},this.activeRecording&&!this.activeRecording.isRrwebStopped()){Wr.log("Recording already in progress, skipping startRecording.");return}var n=(function(){Wr.log("Idle timeout reached, restarting recording."),this.resetRecording()}).bind(this),i=(function(){Wr.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=we.deserialize(t.activeSerializedRecording,r):this.activeRecording=new we(r),this.activeRecording.startRecording(t.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())};at.prototype.stopRecording=function(){return this.stopRecordingInProgress=!0,this._stopCurrentRecording(!1,!0).then((function(){return this.recordingRegistry.clearActiveRecording()}).bind(this)).then((function(){this.stopRecordingInProgress=!1}).bind(this))};at.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)};at.prototype._stopCurrentRecording=function(t,n){if(this.activeRecording){var i=this.activeRecording.stopRecording(t);return n&&(this.activeRecording=null),i}return j.resolve()};at.prototype.resumeRecording=function(t){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),j.resolve(null)):this.recordingRegistry.getActiveRecording().then((function(n){return n&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:n}):t?this.startRecording({shouldStopBatcher:!1}):(Wr.log("No resumable recording found."),null)}).bind(this))};at.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})};at.prototype.getActiveReplayId=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()?this.activeRecording.replayId:null};Object.defineProperty(at.prototype,"replayId",{get:function(){return this.getActiveReplayId()}});E.__mp_recorder=at;var Zb=30,Qb=1e3,eS=4,tS=!1;function zh(){this.clicks=[]}zh.prototype.isRageClick=function(t,n){n=n||{};var i=n.threshold_px||Zb,e=n.timeout_ms||Qb,r=n.click_count||eS,o=n.interactive_elements_only||tS;if(o){var s=Uh(t);if(!s||Dh(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 Er(t,n){this.changeCallback=t||function(){},this.observerConfig=n,this.observedShadowRoots=null,this.shadowObservers=[]}Er.prototype.getEventTarget=function(t){if(this.observedShadowRoots)return Uh(t)};Er.prototype.observeFromEvent=function(t){if(this.observedShadowRoots)for(var n=Fh(t),i=0;i<n.length;i++){var e=n[i];e&&e.shadowRoot&&this.observeShadowRoot(e.shadowRoot)}};Er.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)}}};
93Er.prototype.start=function(){if(!this.observedShadowRoots){if(!Ub()){re.critical("Shadow DOM observation unavailable: WeakSet not supported");return}this.observedShadowRoots=new WeakSet}};Er.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 rS=500,nS=[un,xb,Ri,Ob,kb],iS=[oo],oS=[Ws],Vc={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function Xe(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}Xe.prototype.addClick=function(t){var n=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(t);return n||(n=t.target||t.srcElement),!n||Dh(n)?!1:(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(t),this.pendingClicks.push({element:n,event:t,timestamp:Date.now()}),!0)};Xe.prototype.trackClick=function(t,n){if(!this.isTracking)return!1;var i=this.addClick(t);return i&&this.triggerProcessing(n),i};Xe.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};Xe.prototype.hasChangesAfter=function(t){return this.lastChangeEventTimestamp>=t-100};Xe.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()};Xe.prototype.triggerProcessing=function(t){this.processingActive||(this.processingActive=!0,this.processRecursively(t))};Xe.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)};Xe.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var t=this;nS.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}})}),oS.forEach(function(i){var e=function(){t.recordChangeEvent()};window.addEventListener(i,e),t.eventListeners.push({target:window,event:i,handler:e})}),iS.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,Vc)}catch(i){re.critical("Error while setting up mutation observer",i)}if(window.customElements)try{this.shadowDOMObserver=new Er(function(){t.recordChangeEvent()},Vc),this.shadowDOMObserver.start()}catch(i){re.critical("Error while setting up shadow DOM observer",i),this.shadowDOMObserver=null}}};Xe.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 Wh="autocapture",sS="track_pageview",Gh="full-url",aS="url-with-path-and-query-string",uS="url-with-path",cS="allow_element_callback",qh="allow_selectors",Vh="allow_url_regexes",jh="block_attrs",Hh="block_element_callback",Yh="block_selectors",Kh="block_url_regexes",Jh="capture_extra_attrs",Xh="capture_text_content",Zh="scroll_capture_all",Qh="scroll_depth_percent_checkpoints",$i="click",Ti="dead_click",js="input",ep="pageview",Pi="rage_click",Hs="scroll",so="page_leave",Ys="submit",be={};be[qh]=[];be[Vh]=[];be[jh]=[];be[Hh]=null;be[Yh]=[];be[Kh]=[];be[Jh]=[];be[Xh]=!1;be[Zh]=!1;be[Qh]=[25,50,75,100];be[$i]=!0;be[Ti]=!0;be[js]=!0;be[ep]=Gh;be[Pi]=!0;be[Hs]=!0;be[so]=!1;be[Ys]=!0;var cn={$mp_autocapture:!0},tp="$mp_click",rp="$mp_dead_click",fS="$mp_input_change",np="$mp_rage_click",lS="$mp_scroll",hS="$mp_submit",pS="$mp_page_leave",
93ye=function(t){this.mp=t,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};ye.prototype.init=function(){if(!Fb()){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()};ye.prototype.getFullConfig=function(){var t=this.mp.get_config(Wh);return t?p.isObject(t)?p.extend({},be,t):be:{}};ye.prototype.getConfig=function(t){return this.getFullConfig()[t]};ye.prototype.currentUrlBlocked=function(){var t,n=p.info.currentUrl(),i=this.getConfig(Vh)||[];if(i.length){var e=!1;for(t=0;t<i.length;t++){var r=i[t];try{if(n.match(r)){e=!0;break}}catch(s){return re.critical("Error while checking block URL regex: "+r,s),!0}}if(!e)return!0}var o=this.getConfig(Kh)||[];if(!o||!o.length)return!1;for(t=0;t<o.length;t++)try{if(n.match(o[t]))return!0}catch(s){return re.critical("Error while checking block URL regex: "+o[t],s),!0}return!1};ye.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(Wh)?this.getConfig(ep):this.mp.get_config(sS)};ye.prototype.trackDomEvent=function(t,n){if(!this.currentUrlBlocked()){var i=this.mp.is_recording_heatmap_data()&&(n===tp&&!this.getConfig($i)||n===np&&!this._getClickTrackingConfig(Pi)||n===rp&&!this._getClickTrackingConfig(Ti)),e=Lb(t,{allowElementCallback:this.getConfig(cS),allowSelectors:this.getConfig(qh),blockAttrs:this.getConfig(jh),blockElementCallback:this.getConfig(Hh),blockSelectors:this.getConfig(Yh),captureExtraAttrs:this.getConfig(Jh),c
93aptureTextContent:this.getConfig(Xh),capturedForHeatMap:i});e&&(p.extend(e,cn),this.mp.track(n,e))}};ye.prototype.initPageListeners=function(){if(E.removeEventListener(Fc,this.listenerPopstate),E.removeEventListener(Ws,this.listenerHashchange),!(!this.pageviewTrackingConfig()&&!this.getConfig(so)&&!this.mp.get_config("record_heatmap_data"))){this.listenerPopstate=function(){E.dispatchEvent(new Event(ht))},this.listenerHashchange=function(){E.dispatchEvent(new Event(ht))},E.addEventListener(Fc,this.listenerPopstate),E.addEventListener(Ws,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(ht))});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(ht))})}};ye.prototype._getClickTrackingConfig=function(t){var n=this.getConfig(t);return n?n===!0?{}:typeof n=="object"?n:{}:null};ye.prototype._trackPageLeave=function(t,n,i){if(!this.hasTrackedScrollSession&&!(!this.getConfig(so)&&!this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var e=Math.max(L.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(L.documentElement.clientWidth,E.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},cn);this.mp.track(pS,s,{transport:"sendBeacon"})}};ye.prototype._initScrollDepthTracking=function(){if(E.removeEventListener(za,this.listenerScrollDepth),E.removeEventListener(oo,this.listenerScrollDepth),!!this.mp.get_config("record_heatmap_data")){re.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(L.documentElement.clientHeight,E.innerHeight||0);var t=(function(){if(!this.currentUrlBlocked()){var i=Math.max(L.documentElement.clientHeight,E.innerHeight||0)+E.scrollY;i>this.maxScrollViewDepth&&(this.maxScrollViewDepth=i),this.previousScrollHeight=L.body.scrollHeight}}).bind(this),n=Lh(t);this.listenerScrollDepth=n.listener,E.addEventListener(n.eventType,this.listenerScrollDepth)}};ye.prototype.initClickTracking=function(){E.removeEventListener(ot,this.listenerClick),!(!this.getConfig($i)&&!this.mp.get_config("record_heatmap_data"))&&(re.log("Initializing click tracking"),this.listenerClick=(function(t){!this.getConfig($i)&&!this.mp.is_recording_heatmap_data()||this.trackDomEvent(t,tp)}).bind(this),E.addEventListener(ot,this.listenerClick))};ye.prototype.initDeadClickTracking=function(){var t=this._getClickTrackingConfig(Ti);if(!t&&!this.mp.get_config("record_heatmap_data")){this.stopDeadClickTracking();return}re.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new Xe((function(n){this.trackDomEvent(n,rp)}).bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=(function(n){var i=this._getClickTrackingConfig(Ti);if(!(!i&&!this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var e=i||{};e.timeout_ms||(e.timeout_ms=rS),this._deadClickTracker.trackClick(n,e)}}).bind(this),E.addEventListener(ot,this.listenerDeadClick))};ye.prototype.initInputTracking=function(){E.removeEventListener(un,this.listenerChange),this.getConfig(js)&&(re.log("Initializing input tracking"),this.listenerChange=(function(t){this.getConfig(js)&&this.trackDomEvent(t,fS)}).bind(this),E.addEventListener(un,this.listenerChange))};ye.prototype.initPageviewTracking=function(){if(E.removeEventListener(ht,this.listenerLocationchange),!!this.pageviewTrackingConfig()){re.log("Initializing pageview tracking");var t="",n=!1;this.currentUrlBlocked()||(n=this.mp.track_pageview(cn)),n&&(t=p.info.currentUrl()),this.listenerLocationchange=sn((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===Gh?e=i!==t:o===aS?e=i.split("#")[0]!==t.split("#")[0]:o===uS&&(e=r),e){var s=this.mp.track_pageview(cn);s&&(t=i),r&&(this.lastScrollCheckpoint=0,re.log("Path change: re-initializing scroll depth checkpoints"))}}}).bind(this)),E.addEventListener(ht,this.listenerLocationchange)}};ye.prototype.initRageClickTracking=function(){E.removeEventListener(ot,this.listenerRageClick);var t=this._getClickTrackingConfig(Pi);!t&&!this.mp.get_config("record_heatmap_data")||(re.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new zh),this.listenerRageClick=(function(n){var i=this._getClickTrackingConfig(Pi);!i&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked()||this._rageClickTracker.isRageClick(n,i)&&this.trackDomEvent(n,np)}).bind(this),E.addEventListener(ot,this.listenerRageClick))};ye.prototype.initScrollTracking=function(){if(E.removeEventListener(o
93o,this.listenerScroll),E.removeEventListener(za,this.listenerScroll),!!this.getConfig(Hs)){re.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var t=(function(){if(this.getConfig(Hs)&&!this.currentUrlBlocked()){var i=this.getConfig(Zh),e=(this.getConfig(Qh)||[]).slice().sort(function(f,l){return f-l}),r=E.scrollY,o=p.extend({$scroll_top:r},cn);try{var s=L.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(lS,o)}}).bind(this),n=Lh(t);this.listenerScroll=n.listener,E.addEventListener(n.eventType,this.listenerScroll)}};ye.prototype.initSubmitTracking=function(){E.removeEventListener(Ri,this.listenerSubmit),this.getConfig(Ys)&&(re.log("Initializing submit tracking"),this.listenerSubmit=(function(t){this.getConfig(Ys)&&this.trackDomEvent(t,hS)}).bind(this),E.addEventListener(Ri,this.listenerSubmit))};ye.prototype.initPageLeaveTracking=function(){if(L.removeEventListener(Uc,this.listenerPageLeaveVisibilitychange),E.removeEventListener(ht,this.listenerPageLeaveLocationchange),E.removeEventListener(Dc,this.listenerPageLoad),!(!this.getConfig(so)&&!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=L.body.scrollHeight}).bind(this),E.addEventListener(Dc,this.listenerPageLoad),this.listenerPageLeaveLocationchange=sn((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(L.documentElement.clientHeight,E.innerHeight||0),this.previousScrollHeight=L.body.scrollHeight,this.hasTrackedScrollSession=!1)}}).bind(this)),E.addEventListener(ht,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=(function(n){L.hidden&&this._trackPageLeave(n,t,this.previousScrollHeight)}).bind(this),L.addEventListener(Uc,this.listenerPageLeaveVisibilitychange)}};ye.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(E.removeEventListener(ot,this.listenerDeadClick),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)};Sh(ye);var Ae=Vt("flags"),Ni="flags",Li="context",Ks={};Ks[Li]={};var G=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};G.prototype.init=function(){if(!this.minApisSupported()){Ae.critical("Feature Flags unavailable: missing minimum required APIs");return}this.flags=null,this.fetchFlags(),this.trackedFeatures=new Set};G.prototype.getFullConfig=function(){var t=this.getMpConfig(Ni);return t?p.isObject(t)?p.extend({},Ks,t):Ks:{}};G.prototype.getConfig=function(t){return this.getFullConfig()[t]};G.prototype.isSystemEnabled=function(){return!!this.getMpConfig(Ni)};G.prototype.updateContext=function(t,n){if(!this.isSystemEnabled())return Ae.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var i=this.getMpConfig(Ni);p.isObject(i)||(i={});var e=n&&n.replace?{}:this.getConfig(Li);return i[Li]=p.extend({},e,t),this.setMpConfig(Ni,i),this.fetchFlags()};G.prototype.areFlagsReady=function(){return this.isSystemEnabled()||Ae.error("Feature Flags not enabled"),!!this.flags};G.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var t=this.getMpProperty("distinct_id"),n=this.getMpProperty("$device_id"),i=cb();Ae.log("Fetching flags for distinct ID: "+t);var e=p.extend({distinct_id:t,device_id:n},this.getConfig(Li)),r=new URLSearchParams;r.set("context",JSON.stringify(e)),r.set("token",this.getMpConfig("token")),r.set("mp_lib","web"),r.set("$lib_version",Le.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().then((function(a){var u=a.flags;if(!u)throw new Error("No flags in API response");var c=new Map;p.each(u,function(f,l){c.set(l,{key:f.variant_key,value:f.variant_value,experiment_id:f.experiment_id,is_experiment_active:f.is_experiment_active,is_qa_tester:f.is_qa_tester})}),this.flags=c,this._traceparent=i}).bind(this)).catch((function(a){this.markFetchComplete(),Ae.error(a)}).bind(this))}).bind(this)).catch((function(s){this.markFetchComplete(),Ae.error(s)}).bind(this)),this.fetchPromise};G.prototype.markFetchComplete=function(){if(!this._fetchInProgressStartTime){Ae.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};G.prototype.getVariant=function(t,n){return this.fetchPromise?this.fetchPromise.then((function(){return this.getVariantSync(t,n)}).bind(this)).catch(function(i){return Ae.error(i),n}):new Promise(function(i){Ae.critical("Feature Flags not initialized"),i(n)})};G.prototype.getVariantSync=function(t,n){if(!this.areFlagsReady())return Ae.log("Flags not loaded yet"),n;var i=this.flags.get(t);return i?(this.trackFeatureCheck(t,i),i):(Ae.log('No flag found: "'+t+'"'),n)};G.prototype.getVariantValue=function(t,n){return this.getVariant(t,{value:n}).then(function(i){return i.value}).catch(function(i){return Ae.error(i),n})};G.prototype.getFeatureData=function(t,n){return Ae.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)};G.prototype.getVariantValueSync=function(t,n){return this.getVariantSync(t,{value:n}).value};G.prototype.isEnabled=function(t,n){return this.getVariantValue(t).then((function(){return this.isEnabledSync(t,n)}).bind(this)).catch(function(i){return Ae.error(i),n})};G.prototype.isEnabledSync=function(t,n){n=n||!1;var i=this.getVariantValueSync(t,n);return i!==!0&&i!==!1&&(Ae.error('Feature flag "'+t+'" value: '+i+" is not a boolean; returning fallback value: "+n),i=n),i};G.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)}};G.prototype.minApisSupported=function(){return!!this.fetch&&typeof Promise<"u"&&typeof Map<"u"&&typeof Set<"u"};Sh(G);G.prototype.are_flags_ready=G.prototype.areFlagsReady;G.prototype.get_variant=G.prototype.getVariant;G.prototype.get_variant_sync=G.prototype.getVariantSync;G.prototype.get_variant_value=G.prototype.getVariantValue;G.prototype.get_variant_value_sync=G.prototype.getVariantValueSync;G.prototype.is_enabled=G.prototype.isEnabled;G.prototype.is_enabled_sync=G.prototype.isEnabledSync;G.prototype.update_context=G.prototype.updateContext;G.prototype.get_feature_data=G.prototype.getFeatureData;var ut=function(){};ut.prototype.create_properties=function(){};ut.prototype.event_handler=function(){};ut.prototype.after_track_handler=function(){};ut.prototype.init=function(t){return this.mp=t,this};ut.prototype.track=function(t,n,i,e){var r=this,o=p.dom_query(t);if(o.length===0){U.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};ut.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))}};ut.prototype.create_properties=function(t,n){var i;return typeof t=="function"?i=t(n):i=p.extend({},t),i};var wr=function(){this.override_event="click"};p.inherit(wr,ut);wr.prototype.create_properties=function(t,n){var i=wr.superclass.create_properties.apply(this,arguments);return n.href&&(i.url=n.href),i};wr.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()};wr.prototype.after_track_handler=function(t,n){n.new_tab||setTimeout(function(){window.location=n.href},0)};var ao=function(){this.override_event="submit"};p.inherit(ao,ut);ao.prototype.event_handler=function(t,n,i){i.element=n,t.preventDefault()};ao.prototype.after_track_handler=function(t,n){setTimeout(function(){n.element.submit()},0)};var vt="$set",br="$set_once",ze="$unset",Ut="$add",Ke="$append",Bt="$union",tt="$remove",dS="$delete",ip={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[vt]=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[ze]=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[br]=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[Bt]=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[Ke]=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[tt]=e,i},delete_action:function(){var t={};return t[dS]="",t}},se=function(){};p.extend(se.prototype,ip);se.prototype._init=function(t,n,i){this._mixpanel=t,this._group_key=n,this._group_id=i};se.prototype.set=Sr(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=Sr(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=Sr(function(t,n){var i=this.unset_action(t);return this._send_request(i,n)});se.prototype.union=Sr(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=Sr(function(t){var n=this.delete_action();return this._send_request(n,t)});se.prototype.remove=Sr(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 D=function(){};p.extend(D.prototype,ip);D.prototype._init=function(t){this._mixpanel=t};D.prototype.set=It(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[vt]=p.extend({},p.info.people_properties(),e[vt]),this._send_request(e,i)});D.prototype.set_once=It(function(t,n,i){var e=this.set_once_action(t,n);return p.isObject(t)&&(i=n),this._send_request(e,i)});D.prototype.unset=It(function(t,n){var i=this.unset_action(t);return this._send_request(i,n)});D.prototype.increment=It(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))){U.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[Ut]=r,this._send_request(e,i)});D.prototype.append=It(function(t,n,i){p.isObject(t)&&(i=n);var e=this.append_action(t,n);return this._send_request(e,i)});D.prototype.remove=It(function(t,n,i){p.isObject(t)&&(i=n);var e=this.remove_action(t,n);return this._send_request(e,i)});D.prototype.union=It(function(t,n,i){p.isObject(t)&&(i=n);var e=this.union_action(t,n);return this._send_request(e,i)});D.prototype.track_charge=It(function(){U.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")});D.prototype.clear_charges=function(t){return this.set("$transactions",[],t)};D.prototype.delete_user=function(){if(!this._identify_called()){U.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)};D.prototype.toString=function(){return this._mixpanel.toString()+".people"};D.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))};D.prototype._get_config=function(t){return this._mixpanel.get_config(t)};D.prototype._identify_called=function(){return this._mixpanel._flags.identify_called===!0};D.prototype._enqueue=function(t){vt in t?this._mixpanel.persistence._add_to_people_queue(vt,t):br in t?this._mixpanel.persistence._add_to_people_queue(br,t):ze in t?this._mixpanel.persistence._add_to_people_queue(ze,t):Ut in t?this._mixpanel.persistence._add_to_people_queue(Ut,t):Ke in t?this._mixpanel.persistence._add_to_people_queue(Ke,t):tt in t?this._mixpanel.persistence._add_to_people_queue(tt,t):Bt in t?this._mixpanel.persistence._add_to_people_queue(Bt,t):U.error("Invalid call to _enqueue():",t)};D.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)}))};D.prototype._flush=function(t,n,i,e,r,o,s){var a=this;this._flush_one_queue(vt,this.set,t),this._flush_one_queue(br,this.set_once,e),this._flush_one_queue(ze,this.unset,o,function(d){return p.keys(d)}),this._flush_one_queue(Ut,this.increment,n),this._flush_one_queue(Bt,this.union,r);var u=this._mixpanel.persistence.load_queue(Ke);if(!p.isUndefined(u)&&p.isArray(u)&&u.length)for(var c,f=function(d,m){d===0&&a._mixpanel.persistence._add_to_people_queue(Ke,c),p.isUndefined(i)||i(d,m)},l=u.length-1;l>=0;l--)u=this._mixpanel.persistence.load_queue(Ke),c=u.pop(),a._mixpanel.persistence.save(),p.isEmptyObject(c)||a.append(c,f);var h=this._mixpanel.persistence.load_queue(tt);if(!p.isUndefined(h)&&p.isArray(h)&&h.length)for(var g,v=function(d,m){d===0&&a._mixpanel.persistence._add_to_people_queue(tt,g),p.isUndefined(s)||s(d,m)},y=h.length-1;y>=0;y--)h=this._mixpanel.persistence.load_queue(tt),g=h.pop(),a._mixpanel.persistence.save(),p.isEmptyObject(g)||a.remove(g,v)};D.prototype._is_reserved_property=function(t){return t==="$distinct_id"||t==="$token"||t==="$device_id"||t==="$user_id"||t==="$had_persisted_distinct_id"};D.prototype.set=D.prototype.set;D.prototype.set_once=D.prototype.set_once;D.prototype.unset=D.prototype.unset;D.prototype.increment=D.prototype.increment;D.prototype.append=D.prototype.append;D.prototype.remove=D.prototype.remove;D.prototype.union=D.prototype.union;D.prototype.track_charge=D.prototype.track_charge;D.prototype.clear_charges=D.prototype.clear_charges;D.prototype.delete_user=D.prototype.delete_user;D.prototype.toString=D.prototype.toString;var Ga="__mps",qa="__mpso",Va="__mpus",ja="__mpa",Ha="__mpap",Ya="__mpr",Ka="__mpu",op="$people_distinct_id",Di="__alias",fn="__timers",vS=[Ga,qa,Va,ja,Ha,Ya,Ka,op,Di,fn],z=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"&&(U.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()};z.prototype.properties=function(){var t={};return this.load(),p.each(this.props,function(n,i){p.include(vS,i)||(t[i]=n)}),t};z.prototype.load=function(){if(!this.disabled){var t=this.storage.parse(this.name);t&&(this.props=p.extend({},t))}};z.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))};z.prototype.save=function(){this.disabled||this.storage.set(this.name,_r(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)};z.prototype.load_prop=function(t){return this.load(),this.props[t]};z.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)};z.prototype.clear=function(){this.remove(),this.props={}};z.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};z.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};z.prototype.unregister=function(t){this.load(),t in this.props&&(delete this.props[t],this.save())};z.prototype.update_search_keyword=function(t){this.register(p.info.searchInfo(t))};z.prototype.update_referrer_info=function(t){this.register_once({$initial_referrer:t||"$direct",$initial_referring_domain:p.info.referringDomain(t)||"$direct"},"")};z.prototype.get_referrer_info=function(){return p.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})};z.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)};z.prototype.set_disabled=function(t){this.disabled=t,this.disabled?this.remove():this.save()};z.prototype.set_cookie_domain=function(t){t!==this.cookie_domain&&(this.remove(),this.cookie_domain=t,this.save())};z.prototype.set_cross_site=function(t){t!==this.cross_site&&(this.cross_site=t,this.remove(),this.save())};z.prototype.set_cross_subdomain=function(t){t!==this.cross_subdomain&&(this.cross_subdomain=t,this.remove(),this.save())};z.prototype.get_cross_subdomain=function(){return this.cross_subdomain};z.prototype.set_secure=function(t){t!==this.secure&&(this.secure=!!t,this.remove(),this.save())};z.prototype._add_to_people_queue=function(t,n){var i=this._get_queue_key(t),e=n[t],r=this._get_or_create_queue(vt),o=this._get_or_create_queue(br),s=this._get_or_create_queue(ze),a=this._get_or_create_queue(Ut),u=this._get_or_create_queue(Bt),c=this._get_or_create_queue(tt,[]),f=this._get_or_create_queue(Ke,[]);i===Ga?(p.extend(r,e),this._pop_from_people_queue(Ut,e),this._pop_from_people_queue(Bt,e),this._pop_from_people_queue(ze,e)):i===qa?(p.each(e,function(l,h){h in o||(o[h]=l)}),this._pop_from_people_queue(ze,e)):i===Va?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===ja?(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(ze,e)):i===Ka?(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(ze,e)):i===Ya?(c.push(e),this._pop_from_people_queue(Ke,e)):i===Ha&&(f.push(e),this._pop_from_people_queue(ze,e)),U.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),U.log(n),this.save()};z.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===Ke||t===tt?p.each(i,function(o){o[r]===e&&delete o[r]}):delete i[r]},this)};z.prototype.load_queue=function(t){return this.load_prop(this._get_queue_key(t))};z.prototype._get_queue_key=function(t){if(t===vt)return Ga;if(t===br)return qa;if(t===ze)return Va;if(t===Ut)return ja;if(t===Ke)return Ha;if(t===tt)return Ya;if(t===B
vendor: 5,491 bytes, line 93
93t)return Ka;U.error("Invalid queue:",t)};z.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)};z.prototype.set_event_timer=function(t,n){var i=this.load_prop(fn)||{};i[t]=n,this.props[fn]=i,this.save()};z.prototype.remove_event_timer=function(t){var n=this.load_prop(fn)||{},i=n[t];return p.isUndefined(i)||(delete this.props[fn][t],this.save()),i};var Fi,sp=function(t,n){throw new Error(t+" not available in this build.")},Ee,Js=0,gS=1,Fe="mixpanel",ap="base64",mS="json",Ja="$device:",yS="strict",_S="fallback",wS="disabled",ar=E.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,up=!ar&&He.indexOf("MSIE")===-1&&He.indexOf("Mozilla")===-1,Ui=null;et.sendBeacon&&(Ui=function(){return et.sendBeacon.apply(et,arguments)});var cp={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/",settings:"settings/"},Xs={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:cp,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:ap,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:pt,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:pt,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video, audio",record_canvas:!1,record_collect_fonts:!1,record_console:!0,record_heatmap_data:!1,record_idle_timeout_ms:1800*1e3,record_mask_inputs:!0,record_max_ms:Br,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js",remote_settings_mode:wS},fp=!1,w=function(){},Zs=function(t,n,i){var e,r=i===Fe?Ee:Ee[i];if(r&&Fi===Js)e=r;else{if(r&&!p.isArray(r)){U.error("You have already initialized "+i);return}e=new w}if(e._cached_groups={},e._init(t,n,i),e.people=new D,e.people._init(e),!e.get_config("skip_first_touch_marketing")){var o=p.info.campaignParams(null),s={},a=!1;p.each(o,function(c,f){s["initial_"+f]=c,c&&(a=!0)}),a&&e.people.set_once(s)}Le.DEBUG=Le.DEBUG||e.get_config("debug");var u=Fi===Js?"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===Fe){this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");return}var e=Zs(t,n,i);return Ee[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||Xs.api_host;r.match(/\.mixpanel\.com/)&&(e.api_payload_format=mS)}if(this.hooks={},this.set_config(p.extend({},Xs,e,n,{name:i,token:t,callback_fn:(i===Fe?i:Fe+"."+i)+"._jsc"})),this._jsc=pt,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)||!ar)this._batch_requests=!1,U.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),p.each(this.get_batcher_configs(),function(u){U.log("Clearing batch queue "+u.queue_key),p.localStorage.remove(u.queue_key)});else if(this.init_batchers(),Ui&&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(){L.visibilityState==="hidden"&&o()})}}this.persistence=this.cookie=new z(this.config),this.unpersisted_superprops={},this._gdpr_init();var s=p.UUID();this.get_distinct_id()||this.register_once({distinct_id:Ja+s,$device_id:s},""),this.flags=new G({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)}),this.flags.init(),this.flags=this.flags,this.autocapture=new ye(this),this.autocapture.init(),this._init_tab_id();var a=this.get_config("remote_settings_mode");a===yS||a===_S?this._fetch_remote_settings(a).then(p.bind(function(){this._check_and_start_session_recording()},this)):this._check_and_start_session_recording()};w.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))U.log("Tab ID initialization skipped due to disable_persistence config");
93else 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._should_load_recorder=function(){if(this.get_config("disable_persistence"))return U.log("Load recorder check skipped due to disable_persistence config"),Promise.resolve(!1);var t=new We(La),n=this.get_tab_id();return t.init().then(function(){return t.getAll()}).then(function(i){for(var e=0;e<i.length;e++)if(Ba(i[e])||i[e].tabId===n)return!0;return!1}).catch(p.bind(function(i){this.report_error("Error checking recording registry",i)},this))};w.prototype._check_and_start_session_recording=Et(function(t){if(!E.MutationObserver){U.critical("Browser does not support MutationObserver; skipping session recording");return}var n=p.bind(function(e){var r=p.bind(function(){this._recorder=this._recorder||new E.__mp_recorder(this),this._recorder.resumeRecording(e)},this);p.isUndefined(E.__mp_recorder)?sp(this.get_config("recorder_src"),r):r()},this),i=this.get_config("record_sessions_percent")>0&&Math.random()*100<=this.get_config("record_sessions_percent");t||i?n(!0):this._should_load_recorder().then(function(e){e&&n(!1)})});w.prototype.start_session_recording=function(){this._check_and_start_session_recording(!0)};w.prototype.stop_session_recording=function(){return this._recorder?this._recorder.stopRecording():Promise.resolve()};w.prototype.pause_session_recording=function(){return this._recorder?this._recorder.pauseRecording():Promise.resolve()};w.prototype.resume_session_recording=function(){return this._recorder?this._recorder.resumeRecording():Promise.resolve()};w.prototype.is_recording_heatmap_data=function(){return this._get_session_replay_id()&&this.get_config("record_heatmap_data")};w.prototype.get_session_recording_properties=function(){var t={},n=this._get_session_replay_id();return n&&(t.$mp_replay_id=n),t};w.prototype.get_session_replay_url=function(){var t=null,n=this._get_session_replay_id();if(n){var i=p.HTTPBuildQuery({replay_id:n,distinct_id:this.get_distinct_id(),token:this.get_config("token")});t="https://mixpanel.com/projects/replay-redirect?"+i}return t};w.prototype._get_session_replay_id=function(){var t=null;return this._recorder&&(t=this._recorder.replayId),t||null};w.prototype.__get_recorder=function(){return this._recorder};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(L.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(L.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(!fp)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(ar){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(up)return this.__request_queue.push(arguments),r;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose
vendor: 14,978 bytes, line 93
93:this.get_config("verbose")},s=null;!e&&(p.isFunction(i)||typeof i=="string")&&(e=i,i=null),i=p.extend(o,i||{}),ar||(i.method="GET");var a=i.method==="POST",u=Ui&&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),ar||(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=L.createElement("img");l.src=t,L.body.appendChild(l)}else if(u){try{r=Ui(t,s)}catch(m){f.report_error(m),r=!1}try{e&&e(r?1:0)}catch(m){f.report_error(m)}}else if(ar)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(m,_){h.setRequestHeader(_,m)}),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 m;try{m=p.JSONDecode(h.responseText)}catch(S){if(f.report_error(S),i.ignore_json_errors)m=h.responseText;else return}e(m)}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(m){f.report_error(m),r=!1}else{var y=L.createElement("script");y.type="text/javascript",y.async=!0,y.defer=!0,y.src=t;var d=L.getElementsByTagName("script")[0];d.parentNode.insertBefore(y,d)}return r};w.prototype._fetch_remote_settings=function(t){var n=function(){t==="strict"&&s.set_config({record_sessions_percent:0})};if(!E.AbortController)return U.critical("Remote settings unavailable: missing minimum required APIs"),n(),Promise.resolve();var i=this.get_api_host("settings")+"/"+this.get_config("api_routes").settings,e={$lib_version:Le.LIB_VERSION,mp_lib:"web",sdk_config:"1"},r=p.HTTPBuildQuery(e),o=i+"?"+r,s=this,a=new AbortController,u=setTimeout(function(){a.abort()},500),c={method:"GET",headers:{Authorization:"Basic "+btoa(s.get_config("token")+":")},signal:a.signal};return E.fetch(o,c).then(function(f){if(clearTimeout(u),!f.ok){U.critical("Network response was not ok"),n();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){Xs.hasOwnProperty(v)&&(h[v]=g)}),p.isEmptyObject(h)?(U.critical("No valid config keys found in remote settings."),n()):s.set_config(h)}else n()}).catch(function(f){clearTimeout(u),U.critical("Failed to fetch remote settings",f),n()})};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 Ue(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.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=_r(t);return this.get_config("api_payload_format")===ap&&(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||pt;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?(U.log("MIXPANEL REQUEST:"),U.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=Et(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=pt),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);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),r});w.prototype.set_group=Et(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=Et(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=Et(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=Et(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=Et(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,wr,arguments)};w.prototype.track_forms=function(){return this._track_dom.call(this,ao,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 bS={persistent:!0},Xa=function(t){var n;return p.isObject(t)?n=t:p.isUndefined(t)?n={}:n={days:t},p.extend({},bS,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=Xa(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=Xa(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=Xa(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(Ja)===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(Di)&&(this.unregister(Di),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()};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:Ja+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(op))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(Di,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),Le.DEBUG=Le.DEBUG||this.get_config("debug"),("autocapture"in t||"record_heatmap_data"in t)&&this.autocapture&&this.autocapture.init(),p.isObject(t.hooks)&&(this.hooks={},p.each(t.hooks,function(i,e){if(p.isFunction(i))this.hooks[e]=[i];else if(p.isArray(i)){this.hooks[e]=[];for(var r=0;r<i.length;r++)p.isFunction(i[r])||U.critical("Invalid hook added. Hook is not a function"),this.hooks[e].push(i[r])}else U.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=lt.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!==Fe&&(t=Fe+"."+t),t};w.prototype._event_is_disabled=function(t){return p.isBlockedUA(He)||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
93: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(yb,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(_b,t),this._gdpr_update_persistence(t)};w.prototype.has_opted_in_tracking=function(t){return this._gdpr_call_func(wb,t)};w.prototype.has_opted_out_tracking=function(t){return this._gdpr_call_func(kh,t)};w.prototype.clear_opt_in_out_tracking=function(t){t=p.extend({enable_persistence:!0},t),this._gdpr_call_func(bb,t),this._gdpr_update_persistence(t)};w.prototype.report_error=function(t,n){U.error.apply(U.error,arguments);try{!n&&!(t instanceof Error)&&(t=new Error(t)),this.get_config("error_reporter")(t,n)}catch(i){U.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):U.log("remove_hook failed. Matching hook was not found"))};w.prototype.init=w.prototype.init;w.prototype.reset=w.prototype.reset;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=cp;w.prototype.__get_recorder=w.prototype.__get_recorder;z.prototype.properties=z.prototype.properties;z.prototype.update_search_keyword=z.prototype.update_search_keyword;z.prototype.update_referrer_info=z.prototype.update_referrer_info;z.prototype.get_cross_subdomain=z.prototype.get_cross_subdomain;z.prototype.clear=z.prototype.clear;var ir={},SS=function(){p.each(ir,function(t,n){n!==Fe&&(Ee[n]=t)}),Ee._=p},CS=function(){Ee.init=function(t,n,i){if(i)return Ee[i]||(Ee[i]=ir[i]=Zs(t,n,i),Ee[i]._loaded()),Ee[i];var e=Ee;ir[Fe]?e=ir[Fe]:t&&(e=Zs(t,n,Fe),e._loaded(),ir[Fe]=e),Ee=e,Fi===gS&&(E[Fe]=Ee),SS()}},ES=function(){function t(){t.done||(t.done=!0,fp=!0,up=!1,p.each(ir,function(e){e._dom_loaded()}))}function n(){try{L.documentElement.doScroll("left")}catch{setTimeout(n,1);return}t()}if(L.addEventListener)L.readyState==="complete"?t():L.addEventListener("DOMContentLoaded",t,!1);else if(L.attachEvent){L.attachEvent("onreadystatechange",t);var i=!1;try{i=E.frameElement===null}catch{}L.documentElement.doScroll&&i&&n()}p.register_event(E,"load",t,!0)};function IS(t){return sp=t,Fi=Js,Ee=new w,CS(),Ee.init(),ES(),Ee}function xS(t,n){n()}var OS=IS(xS);export{OS 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.