PageSourceSearch

https://baseplay.co/_nuxt/DD7mvSGq.js

js baseplay.co collected 2026-10-02 00:17:09 UTC 430,827 bytes, 93 lines download raw bytes

1(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="fc781109-e214-41b5-9810-6898c3baffdc",t._sentryDebugIdIdentifier="sentry-dbid-fc781109-e214-41b5-9810-6898c3baffdc")}catch{}})();{var cr=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};cr._sentryModuleMetadata=cr._sentryModuleMetadata||{},cr._sentryModuleMetadata[new cr.Error().stack]=Object.assign({},cr._sentryModuleMetadata[new cr.Error().stack],{"_sentryBundlerPluginAppKey:pwa-content":!0})}var br={},E;if(typeof window>"u"){var Pu={hostname:""};E={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:Pu,referrer:""},screen:{width:0,height:0},location:Pu,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else E=window;var Ne={DEBUG:!1,LIB_VERSION:"2.81.0"},We="__mp_targeting",as="__mp_recorder",rd="__MP_RECORDER_FILENAME__",xf="__MP_TARGETING_FILENAME__";function $u(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 Nu(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 io(t){return function(){var n=this,i=arguments;return new Promise(function(e,r){var o=t.apply(n,i);function s(u){Nu(o,e,r,s,a,"next",u)}function a(u){Nu(o,e,r,s,a,"throw",u)}s(void 0)})}}function pi(t,n,i){return Rf()?pi=Reflect.construct:pi=function(r,o,s){var a=[null];a.push.apply(a,o);var u=Function.bind.apply(r,a),c=new u;return s&&Qr(c,s.prototype),c},pi.apply(null,arguments)}function nd(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 ue(t,n,i){return n&&nd(t.prototype,n),t}function z(){return z=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e]=i[e])}return t},z.apply(this,arguments)}function us(t){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},us(t)}function fe(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&Qr(t,n)}function T(t,n){return n!=null&&typeof Symbol<"u"&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](t):t instanceof n}function id(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ht(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 Qr(t,n){return Qr=Object.setPrototypeOf||function(e,r){return e.__proto__=r,e},Qr(t,n)}function P(t){"@swc/helpers - typeof";return t&&typeof Symbol<"u"&&t.constructor===Symbol?"symbol":typeof t}function od(t,n){if(t){if(typeof t=="string")return $u(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 $u(t,n)}}function en(t){var n=typeof Map=="function"?new Map:void 0;return en=function(e){if(e===null||!id(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 pi(e,arguments,us(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Qr(r,e)},en(t)}function Rf(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Rf=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);
vendor: 37,616 bytes, lines 1-18
1if(Array.isArray(t)||(i=od(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 Kt(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 Ca(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 sd=Object.defineProperty,ad=function(t,n,i){return n in t?sd(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i},x=function(t,n,i){return ad(t,(typeof n>"u"?"undefined":P(n))!=="symbol"?n+"":n,i)},Lu,ud=Object.defineProperty,cd=function(t,n,i){return n in t?ud(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i},Du=function(t,n,i){return cd(t,(typeof n>"u"?"undefined":P(n))!=="symbol"?n+"":n,i)},Ee=function(t){return t[t.Document=0]="Document",t[t.DocumentType=1]="DocumentType",t[t.Element=2]="Element",t[t.Text=3]="Text",t[t.CDATA=4]="CDATA",t[t.Comment=5]="Comment",t}(Ee||{}),Fu={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Uu={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},kn={},fd=function(){return!!globalThis.Zone};function Ea(t){if(kn[t])return kn[t];var n=globalThis[t],i=n.prototype,e=t in Fu?Fu[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 Uu?Uu[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&&!fd())return kn[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?kn[t]=c:i}catch{return i}}var Mo={};function It(t,n,i){var e,r=t+"."+String(i);if(Mo[r])return Mo[r].call(n);var o=Ea(t),s=(e=Object.getOwnPropertyDescriptor(o,i))==null?void 0:e.get;return s?(Mo[r]=s,s.call(n)):n[i]}var To={};function Af(t,n,i){var e=t+"."+String(i);if(To[e])return To[e].bind(n);var r=Ea(t),o=r[i];return typeof o!="function"?n[i]:(To[e]=o,o.bind(n))}function ld(t){return It("Node",t,"childNodes")}function hd(t){return It("Node",t,"parentNode")}function pd(t){return It("Node",t,"parentElement")}function dd(t){return It("Node",t,"textContent")}function vd(t,n){return Af("Node",t,"contains")(n)}function gd(t){return Af("Node",t,"getRootNode")()}function md(t){return!t||!("host"in t)?null:It("ShadowRoot",t,"host")}function yd(t){return t.styleSheets}function _d(t){return!t||!("shadowRoot"in t)?null:It("Element",t,"shadowRoot")}function wd(t,n){return It("Element",t,"querySelector")(n)}function bd(t,n){return It("Element",t,"querySelectorAll")(n)}function Sd(){return Ea("MutationObserver").constructor}function Cd(t,n,i){try{if(!(n in t))return function(){};var e=t[n],r=i(e);return typeof r=="function"&&(r.prototype=r.prototype||{},Object.defineProperties(r,{__rrweb_original__:{enumerable:!1,value:e}})),t[n]=r,function(){t[n]=e}}catch{return function(){}}}var Ae={childNodes:ld,parentNode:hd,parentElement:pd,textContent:dd,contains:vd,getRootNode:gd,host:md,styleSheets:yd,shadowRoot:_d,querySelector:wd,querySelectorAll:bd,mutationObserver:Sd,patch:Cd};function kf(t){return t.nodeType===t.ELEMENT_NODE}function Vr(t){var n=t&&"host"in t&&"mode"in t&&Ae.host(t)||null;return!!(n&&"shadowRoot"in n&&Ae.shadowRoot(n)===t)}function Hr(t){return Object.prototype.toString.call(t)==="[object ShadowRoot]"}function Ed(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 Id(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 cs(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 Mf(r,i)}).join("");return Ed(e)}catch{return null}}function Mf(t,n){if(xd(t)){var i;try{i=cs(t.styleSheet)||Id(t)}catch{i=t.cssText}return t.styleSheet.href?Ii(i,t.styleSheet.href):i}else{var e=t.cssText;return Rd(t)&&t.selectorText.includes(":")&&(e=Od(e)),n?Ii(e,n):e}}function Od(t){var n=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return t.replace(n,"$1\\$2")}function xd(t){return"styleSheet"in t}function Rd(t){return"selectorText"in t}var Tf=function(){function t(){Du(this,"idNodeMap",new Map),Du(this,"nodeMetaMap",new WeakMap)}var n=t.prototype;return n.getId=function(e){var r;if(!e)return-1;var o=(r=this.getMeta(e))==null?void 0:r.id;return o??-1},n.getNode=function(e){return this.idNodeMap.get(e)||null},n.getIds=function(){return Array.from(this.idNodeMap.keys())},n.getMeta=function(e){return this.nodeMetaMap.get(e)||null},n.removeNodeFromMap=function(e,r){var o=this;r===void 0&&(r=!1);var s=this.getId(e);this.idNodeMap.delete(s),r&&this.nodeMetaMap.delete(e),e.childNodes&&e.childNodes.forEach(function(a){return o.removeNodeFromMap(a,r)})},n.has=function(e){return this.idNodeMap.has(e)},n.hasNode=function(e){return this.nodeMetaMap.has(e)},n.add=function(e,r){var o=r.id;this.idNodeMap.set(o,e),this.nodeMetaMap.set(e,r)},n.replace=function(e,r){var o=this.getNode(e);if(o){var s=this.nodeMetaMap.get(o);s&&this.nodeMetaMap.set(r,s)}this.idNodeMap.set(e,r)},n.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},t}();function Ad(){return new Tf}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&&Yt(r);return(i[e.toLowerCase()]||u&&i[u])&&(s?a=s(a,n):a="*".repeat(a.length)),a}function Yt(t){return t.toLowerCase()}var Bu="__rrweb_original__";function kd(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=Bu in o?o[Bu]: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 Ei(t){var n=t.type;return t.hasAttribute("data-rr-is-password")?"password":n?Yt(n):null}function Pf(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 Md(t){var n="";return t.indexOf("//")>-1?n=t.split("/").slice(0,3).join("/"):n=t.split("/")[0],n=n.split("?")[0],n}var Td=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Pd=/^(?:[a-z+]+:)?\/\//i,$d=/^www\..*/i,Nd=/^(data:)([^,]*),(.*)/i;function Ii(t,n){return(t||"").replace(Td,function(i,e,r,o,s,a){var u=r||s||a,c=e||o||"";if(!u)return i;if(Pd.test(u)||$d.test(u)||Nd.test(u))return"url("+c+u+c+")";if(u[0]==="/")return"url("+c+(Md(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 Mn(t,n){return n===void 0&&(n=!1),n?t.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):t.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function Ld(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=Mn(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=Mn(e[u].textContent,i),f=100,l=3;l<c.length&&(c[l].match(/[a-zA-Z0-9]/)||c.indexOf(c.substring(0,l),1)!==-1);l++);for(;l<c.length;l++){var h=c.substring(0,l),g=s.split(h),v=-1;if(g.length===2)v=g[0].length;else if(g.length>2&&g[0]===""&&e[u-1].textContent!=="")v=s.indexOf(h,1);else if(g.length===1){if(h=h.substring(0,h.length-1),g=s.split(h),g.length<=1)return r.push(t),r;l=f+1}else l===c.length-1&&(v=s.indexOf(h));if(g.length>=2&&l>f){var m=e[u-1].textContent;if(m&&typeof m=="string"){var d=Mn(m).length;v=s.indexOf(h,d)}v===-1&&(v=g[0].length)}if(v!==-1){for(var y=Math.floor(v/a);y>0&&y<t.length;){if(o+=1,o>50*e.length)return r.push(t),r;var _=Mn(t.substring(0,y),i);if(_.length===v){r.push(t.substring(0,y)),t=t.substring(y),s=s.substring(v);break}else _.length<v?y+=Math.max(1,Math.floor((v-_.length)/a)):y-=Math.max(1,Math.floor((_.length-v)*a))}break}}}}return r.push(t),r}function Dd(t,n){return Ld(t,n).join("/* rr_split */")}var Fd=1,Ud=new RegExp("[^a-z0-9-_:]"),tn=-2;function $f(){return Fd++}function Bd(t){if(T(t,HTMLFormElement))return"form";var n=Yt(t.tagName);return Ud.test(n)?"div":n}var fr,zu,zd=/^[^ \t\n\r\u000c]+/,qd=/^[, \t\n\r\u000c]+/;function Wd(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(qd),!(i>=n.length);){var o=e(zd);if(o.slice(-1)===",")o=vr(t,o.substring(0,o.length-1)),r.push(o);else{var s="";o=vr(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 qu=new WeakMap;function vr(t,n){return!n||n.trim()===""?n:Ia(t,n)}function Gd(t){return!!(t.tagName==="svg"||t.ownerSVGElement)}function Ia(t,n){var i=qu.get(t);if(i||(i=t.createElement("a"),qu.set(t,i)),!n)n="";else if(n.startsWith("blob:")||n.startsWith("data:"))return n;return i.setAttribute("href",n),i.href}function Nf(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")?vr(t,e):i==="srcset"?Wd(t,e):i==="style"?Ii(e,Ia(t)):n==="object"&&i==="data"?vr(t,e):e)}function Lf(t,n,i){return(t==="video"||t==="audio")&&n==="autoplay"}function jd(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 Oi(t,n,i){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return i?Oi(Ae.parentNode(t),n,i):!1;for(var e=t.classList.length;e--;){var r=t.classList[e];if(n.test(r))return!0}return i?Oi(Ae.parentNode(t),n,i):!1}function Df(t,n,i,e){var r;if(kf(t)){if(r=t,!Ae.childNodes(r).length)return!1}else{if(Ae.parentElement(t)===null)return!1;r=Ae.parentElement(t)}try{if(typeof n=="string"){if(e){if(r.closest("."+n))return!0}else if(r.classList.contains(n))return!0}else if(Oi(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 Vd(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 Hd(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 Kd(t,n){var i=n.doc,e=n.mirror,r=n.blockClass,o=n.blockSelector,s=n.needsMask,a=n.inlineStylesheet,u=n.maskInputOptions,c=u===void 0?{}:u,f=n.maskTextFn,l=n.maskInputFn,h=n.dataURLOptions,g=h===void 0?{}:h,v=n.inlineImages,m=n.recordCanvas,d=n.keepIframeSrcFn,y=n.newlyAddedElement,_=y===void 0?!1:y,b=n.cssCaptured,C=b===void 0?!1:b,S=Yd(i,e);switch(t.nodeType){case t.DOCUMENT_NODE:return t.compatMode!=="CSS1Compat"?{type:Ee.Document,childNodes:[],compatMode:t.compatMode}:{type:Ee.Document,childNodes:[]};case t.DOCUMENT_TYPE_NODE:return{type:Ee.DocumentType,name:t.name,publicId:t.publicId,systemId:t.systemId,rootId:S};case t.ELEMENT_NODE:return Xd(t,{doc:i,blockClass:r,blockSelector:o,inlineStylesheet:a,maskInputOptions:c,maskInputFn:l,dataURLOptions:g,inlineImages:v,recordCanvas:m,keepIframeSrcFn:d,newlyAddedElement:_,rootId:S});case t.TEXT_NODE:return Jd(t,{doc:i,needsMask:s,maskTextFn:f,rootId:S,cssCaptured:C});case t.CDATA_SECTION_NODE:return{type:Ee.CDATA,textContent:"",rootId:S};case t.COMMENT_NODE:return{type:Ee.Comment,textContent:Ae.textContent(t)||"",rootId:S};default:return!1}}function Yd(t,n){if(n.hasNode(t)){var i=n.getId(t);return i===1?void 0:i}}function Jd(t,n){var i=n.needsMask,e=n.maskTextFn,r=n.rootId,o=n.cssCaptured,s=Ae.parentNode(t),a=s&&s.tagName,u="",c=a==="STYLE"?!0:void 0,f=a==="SCRIPT"?!0:void 0;return f?u="SCRIPT_PLACEHOLDER":o||(u=Ae.textContent(t),c&&u&&(u=Ii(u,Ia(n.doc)))),!c&&!f&&u&&i&&(u=e?e(u,Ae.parentElement(t)):u.replace(/[\S]/g,"*")),{type:Ee.Text,textContent:u||"",rootId:r}}function Xd(t,n){for(var i=n.doc,e=n.blockClass,r=n.blockSelector,o=n.inlineStylesheet,s=n.maskInputOptions,a=s===void 0?{}:s,u=n.maskInputFn,c=n.dataURLOptions,f=c===void 0?{}:c,l=n.inlineImages,h=n.recordCanvas,g=n.keepIframeSrcFn,v=n.newlyAddedElement,m=v===void 0?!1:v,d=n.rootId,y=jd(t,e,r),_=Bd(t),b={},C=t.attributes.length,S=0;S<C;S++){var O=t.attributes[S];Lf(_,O.name,O.value)||(b[O.name]=Nf(i,_,Yt(O.name),O.value))}if(_==="link"&&o){var k=Array.from(i.styleSheets).find(function(De){return De.href===t.href}),R=null;k&&(R=cs(k)),R&&(delete b.rel,delete b.href,b._cssText=R)}if(_==="style"&&t.sheet){var $=cs(t.sheet);$&&(t.childNodes.length>1&&($=Dd($,t)),b._cssText=$)}if(_==="input"||_==="textarea"||_==="select"){var q=t.value,ve=t.checked;b.type!=="radio"&&b.type!=="checkbox"&&b.type!=="submit"&&b.type!=="button"&&q?b.value=Ci({element:t,type:Ei(t),tagName:_,value:q,maskInputOptions:a,maskInputFn:u}):ve&&(b.checked=ve)}if(_==="option"&&(t.selected&&!a.select?b.selected=!0:delete b.selected),_==="dialog"&&t.open&&(b.rr_open_mode=t.matches("dialog:modal")?"modal":"non-modal"),_==="canvas"&&h){if(t.__context==="2d")kd(t)||(b.rr_dataURL=t.toDataURL(f.type,f.quality));else if(!("__context"in t)){var N=t.toDataURL(f.type,f.quality),G=i.createElement("canvas");G.width=t.width,G.height=t.height;var de=G.toDataURL(f.type,f.quality);N!==de&&(b.rr_dataURL=N)}}if(_==="img"&&l){fr||(fr=i.createElement("canvas"),zu=fr.getContext("2d"));var K=t,Le=K.currentSrc||K.getAttribute("src")||"<unknown-src>",Pe=K.crossOrigin,xe=function(){K.removeEventListener("load",xe);try{fr.width=K.naturalWidth,fr.height=K.naturalHeight,zu.drawImage(K,0,0),b.rr_dataURL=fr.toDataURL(f.type,f.quality)}catch(De){if(K.crossOrigin!=="anonymous"){K.crossOrigin="anonymous",K.complete&&K.naturalWidth!==0?xe():K.addEventListener("load",xe);return}else console.warn("Cannot inline img src="+Le+"! Error: "+De)}K.crossOrigin==="anonymous"&&(Pe?b.crossOrigin=Pe:K.removeAttribute("crossorigin"))};K.complete&&K.naturalWidth!==0?xe():K.addEventListener("load",xe)}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(m||(t.scrollLeft&&(b.rr_scrollLeft=t.scrollLeft),t.scrollTop&&(b.rr_scrollTop=t.scrollTop)),y){var Ie=t.getBoundingClientRect(),Nt=Ie.width,Ve=Ie.height;b={class:b.class,rr_width:""+Nt+"px",rr_height:""+Ve+"px"}}_==="iframe"&&!g(b.src)&&(t.contentDocument||(b.rr_src=b.src),delete b.src);var Lt;try{customElements.get(_)&&(Lt=!0)}catch{}return{type:Ee.Element,tagName:_,attributes:b,childNodes:[],isSVG:Gd(t)||void 0,needBlock:y,rootId:d,isCustom:Lt}}function re(t){return t==null?"":t.toLowerCase()}function Zd(t,n){if(n.comment&&t.type===Ee.Comment)return!0;if(t.type===Ee.Element){if(n.script&&(t.tagName==="script"||t.tagName==="link"&&(t.attributes.rel==="preload"&&t.attributes.as==="script"||t.attributes.rel==="modulepreload")||t.tagName==="link"&&t.attributes.rel==="prefetch"&&typeof t.attributes.href=="string"&&Pf(t.attributes.href)==="js"))return!0;if(n.headFavicon&&(t.tagName==="link"&&t.attributes.rel==="shortcut icon"||t.tagName==="meta"&&(re(t.attributes.name).match(/^msapplication-tile(image|color)$/)||re(t.attributes.name)==="application-name"||re(t.attributes.rel)==="icon"||re(t.attributes.rel)==="apple-touch-icon"||re(t.attributes.rel)==="shortcut icon")))return!0;if(t.tagName==="meta"){if(n.headMetaDescKeywords&&re(t.attributes.name).match(/^description|keywords$/))return!0;if(n.headMetaSocial&&(re(t.attributes.property).match(/^(og|twitter|fb):/)||re(t.attributes.name).match(/^(og|twitter):/)||re(t.attributes.name)==="pinterest"))return!0;if(n.headMetaRobots&&(re(t.attributes.name)==="robots"||re(t.attributes.name)==="googlebot"||re(t.attributes.name)==="bingbot"))return!0;if(n.headMetaHttpEquiv&&t.attributes["http-equiv"]!==void 0)return!0;if(n.headMetaAuthorship&&(re(t.attributes.name)==="author"||re(t.attributes.name)==="generator"||re(t.attributes.name)==="framework"||re(t.attributes.name)==="publisher"||re(t.attributes.name)==="progid"||re(t.attributes.property).match(/^article:/)||re(t.attributes.property).match(/^product:/)))return!0;if(n.headMetaVerification&&(re(t.attributes.name)==="google-site-verification"||re(t.attributes.name)==="yandex-verification"||re(t.attributes.name)==="csrf-token"||re(t.attributes.name)==="p:domain_verify"||re(t.attributes.name)==="verify-v1"||re(t.attributes.name)==="verification"||re(t.attributes.name)==="shopify-checkout-api-token"))return!0}}return!1}function gr(t,n){var i=n.doc,e=n.mirror,r=n.blockClass,o=n.blockSelector,s=n.maskTextClass,a=n.maskTextSelector,u=n.skipChild,c=u===void 0?!1:u,f=n.inlineStylesheet,l=f===void 0?!0:f,h=n.maskInputOptions,g=h===void 0?{}:h,v=n.maskTextFn,m=n.maskInputFn,d=n.slimDOMOptions,y=n.dataURLOptions,_=y===void 0?{}:y,b=n.inlineImages,C=b===void 0?!1:b,S=n.recordCanvas,O=S===void 0?!1:S,k=n.onSerialize,R=n.onIframeLoad,$=n.iframeLoadTimeout,q=$===void 0?5e3:$,ve=n.onStylesheetLoad,N=n.stylesheetLoadTimeout,G=N===void 0?5e3:N,de=n.keepIframeSrcFn,K=de===void 0?function(){return!1}:de,Le=n.newlyAddedElement,Pe=Le===void 0?!1:Le,xe=n.cssCaptured,ce=xe===void 0?!1:xe,Ie=n.needsMask,Nt=n.preserveWhiteSpace,Ve=Nt===void 0?!0:Nt;if(!Ie){var Lt=Ie===void 0;Ie=Df(t,s,a,Lt)}var De=Kd(t,{doc:i,mirror:e,blockClass:r,blockSelector:o,needsMask:Ie,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:m,dataURLOptions:_,inlineImages:C,recordCanvas:O,keepIframeSrcFn:K,newlyAddedElement:Pe,cssCaptured:ce});if(!De)return console.warn(t,"not serialized"),null;var vt;e.hasNode(t)?vt=e.getId(t):Zd(De,d)||!Ve&&De.type===Ee.Text&&!De.textContent.replace(/^\s+|\s+$/gm,"").length?vt=tn:vt=$f();var J=Object.assign(De,{id:vt});if(e.add(t,J),vt===tn)return null;k&&k(t);var or=!c;if(J.type===Ee.Element){or=or&&!J.needBlock,delete J.needBlock;var sr=Ae.shadowRoot(t);sr&&Hr(sr)&&(J.isShadowHost=!0)}if((J.type===Ee.Document||J.type===Ee.Element)&&or){d.headWhitespace&&J.type===Ee.Element&&J.tagName==="head"&&(Ve=!1);var gt={doc:i,mirror:e,blockClass:r,blockSelector:o,needsMask:Ie,maskTextClass:s,maskTextSelector:a,skipChild:c,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:m,slimDOMOptions:d,dataURLOptions:_,inlineImages:C,recordCanvas:O,preserveWhiteSpace:Ve,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:q,onStylesheetLoad:ve,stylesheetLoadTimeout:G,keepIframeSrcFn:K,cssCaptured:!1};if(!(J.type===Ee.Element&&J.tagName==="textarea"&&J.attributes.value!==void 0)){J.type===Ee.Element&&J.attributes._cssText!==void 0&&typeof J.attributes._cssText=="string"&&(gt.cssCaptured=!0);for(var In=I(Array.from(Ae.childNodes(t))),ar;!(ar=In()).done;){var On=ar.value,xn=gr(On,gt);xn&&J.childNodes.push(xn)}}var Fr=null;if(kf(t)&&(Fr=Ae.shadowRoot(t)))for(var Dt=I(Array.from(Ae.childNodes(Fr))),Ft;!(Ft=Dt()).done;){var Ut=Ft.value,Bt=gr(Ut,gt);Bt&&(Hr(Fr)&&(Bt.isShadow=!0),J.childNodes.push(Bt))}}var zt=Ae.parentNode(t);return zt&&Vr(zt)&&Hr(zt)&&(J.isShadow=!0),J.type===Ee.Element&&J.tagName==="iframe"&&Vd(t,function(){var it=t.contentDocument;if(it&&R){var ur=gr(it,{doc:it,mirror:e,blockClass:r,blockSelector:o,needsMask:Ie,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:m,slimDOMOptions:d,dataURLOptions:_,inlineImages:C,recordCanvas:O,preserveWhiteSpace:Ve,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:q,onStylesheetLoad:ve,stylesheetLoadTimeout:G,keepIframeSrcFn:K});ur&&R(t,ur)}},q),J.type===Ee.Element&&J.tagName==="link"&&typeof J.attributes.rel=="string"&&(J.attributes.rel==="stylesheet"||J.attributes.rel==="preload"&&typeof J.attributes.href=="string"&&Pf(J.attributes.href)==="css")&&Hd(t,function(){if(ve){var it=gr(t,{doc:i,mirror:e,blockClass:r,blockSelector:o,needsMask:Ie,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:l,maskInputOptions:g,maskTextFn:v,maskInputFn:m,slimDOMOptions:d,dataURLOptions:_,inlineImages:C,recordCanvas:O,preserveWhiteSpace:Ve,onSerialize:k,onIframeLoad:R,iframeLoadTimeout:q,onStylesheetLoad:ve,stylesheetLoadTimeout:G,keepIframeSrcFn:K});it&&ve(t,it)}},G),J}function Qd(t,n){var i=n||{},e=i.mirror,r=e===void 0?new Tf:e,o=i.blockClass,s=o===void 0?"rr-block":o,a=i.blockSelector,u=a===void 0?null:a,c=i.maskTextClass,f=c===void 0?"rr-mask":c,l=i.maskTextSelector,h=l===void 0?null:l,g=i.inlineStylesheet,v=g===void 0?!0:g,m=i.inlineImages,d=m===void 0?!1:m,y=i.recordCanvas,_=y===void 0?!1:y,b=i.maskAllInputs,C=b===void 0?!1:b,S=i.maskTextFn,O=i.maskInputFn,k=i.slimDOM,R=k===void 0?!1:k,$=i.dataURLOptions,q=i.preserveWhiteSpace,ve=i.onSerialize,N=i.onIframeLoad,G=i.iframeLoadTimeout,de=i.onStylesheetLoad,K=i.stylesheetLoadTimeout,Le=i.keepIframeSrcFn,Pe=Le===void 0?function(){return!1}:Le,xe=C===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0,hidden:!0}:C===!1?{password:!0}:C,ce=R===!0||R==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:R==="all",headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:R===!1?{}:R;return gr(t,{doc:t,mirror:r,blockClass:s,blockSelector:u,maskTextClass:f,maskTextSelector:h,skipChild:!1,inlineStylesheet:v,maskInputOptions:xe,maskTextFn:S,maskInputFn:O,slimDOMOptions:ce,dataURLOptions:$,inlineImages:d,recordCanvas:_,preserveWhiteSpace:q,onSerialize:ve,onIframeLoad:N,iframeLoadTimeout:G,onStylesheetLoad:de,stylesheetLoadTimeout:K,keepIframeSrcFn:Pe,newlyAddedElement:!1})}function ev(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function tv(t){if(t.__esModule)return t;var n=t.default;if(typeof n=="function"){var i=function e(){return T(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 Oa={exports:{}},ie=String,Ff=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}};Oa.exports=Ff();Oa.exports.createColors=Ff;var rv=Oa.exports,nv={},iv=Object.freeze(Object.defineProperty({__proto__:null,default:nv},Symbol.toStringTag,{value:"Module"})),ye=tv(iv),Wu=rv,Gu=ye,fs=function(t){fe(n,t);function n(e,r,o,s,a,u){var c;return c=t.call(this,e)||this,c.name="CssSyntaxError",c.reason=e,a&&(c.file=a),s&&(c.source=s),u&&(c.plugin=u),typeof r<"u"&&typeof o<"u"&&(typeof r=="number"?(c.line=r,c.column=o):(c.line=r.line,c.column=r.column,c.endLine=o.line,c.endColumn=o.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,n),c}var i=n.prototype;return i.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},i.showSourceCode=function(r){var o=this;if(!this.source)return"";var s=this.source;r==null&&(r=Wu.isColorSupported),Gu&&r&&(s=Gu(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=Wu.createColors(!0),v=g.bold,m=g.gray,d=g.red;l=function(y){return v(d(y))},h=function(y){return m(y)}}else l=h=function(y){return y};return a.slice(u,c).map(function(y,_){var b=u+1+_,C=" "+(" "+b).slice(-f)+" | ";if(b===o.line){var S=h(C.replace(/\d/g," "))+y.slice(0,o.column-1).replace(/[^\t]/g," ");return l(">")+h(C)+y+`
2 `+S+l("^")}return" "+h(C)+y}).join(`
3`)},i.toString=function(){var r=this.showSourceCode();return r&&(r=`
4
5`+r+`
6`),this.name+": "+this.message+r},n}(en(Error)),xa=fs;fs.default=fs;var Ot={};Ot.isClean=Symbol("isClean");Ot.my=Symbol("my");var ju={after:`
7`,beforeClose:`
8`,beforeComment:`
9`,beforeDecl:`
10`,beforeOpen:" ",beforeRule:`
11`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};function ov(t){return t[0].toUpperCase()+t.slice(1)}var ls=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 ju[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"+ov(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=ju[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}(),Uf=ls;ls.default=ls;var sv=Uf;function hs(t,n){var i=new sv(n);i.stringify(t)}var oo=hs;hs.default=hs;var Tn=Ot.isClean,av=Ot.my,uv=xa,cv=Uf,fv=oo;function ps(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":P(r);e==="parent"&&o==="object"?n&&(i[e]=n):e==="source"?i[e]=r:Array.isArray(r)?i[e]=r.map(function(s){return ps(s,i)}):(o==="object"&&r!==null&&(r=ps(r)),i[e]=r)}return i}var ds=function(){function t(i){i===void 0&&(i={}),this.raws={},this[Tn]=!1,this[av]=!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=ps(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 uv(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[Tn]){this[Tn]=!1;for(var e=this;e=e.parent;)e[Tn]=!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 cv;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":P(l))==="object"&&l.toJSON?l.toJSON(null,r):l});else if((typeof c>"u"?"undefined":P(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=fv),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)},ue(t,[{key:"proxyOf",get:function(){return this}}]),t}(),so=ds;ds.default=ds;var lv=so,vs=function(t){fe(n,t);function n(i){var e;return i&&typeof i.value<"u"&&typeof i.value!="string"&&(i=z({},i,{value:String(i.value)})),e=t.call(this,i)||this,e.type="decl",e}return ue(n,[{key:"variable",get:function(){return this.prop.startsWith("--")||this.prop[0]==="$"}}]),n}(lv),ao=vs;vs.default=vs;var hv="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",pv=function(t){t===void 0&&(t=21);for(var n="",i=t;i--;)n+=hv[Math.random()*64|0];return n},dv={nanoid:pv},Vu=ye.SourceMapConsumer,Hu=ye.SourceMapGenerator,vv=ye.existsSync,gv=ye.readFileSync,Po=ye.dirname,mv=ye.join;function yv(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var gs=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 Vu(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 yv(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":P(e))!=="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)},n.loadAnnotation=function(e){var r=e.match(/\/\*\s*# sourceMappingURL=/gm);
vendor: 1,187 bytes, line 18
18if(r){var o=e.lastIndexOf(r.pop()),s=e.indexOf("*/",o);o>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(o,s)))}},n.loadFile=function(e){if(this.root=Po(e),vv(e))return this.mapFile=e,gv(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(T(r,Vu))return Hu.fromSourceMap(r).toString();if(T(r,Hu))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=mv(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}(),Bf=gs;gs.default=gs;var _v=ye.SourceMapConsumer,wv=ye.SourceMapGenerator,Ku=ye.fileURLToPath,Pn=ye.pathToFileURL,ms=ye.isAbsolute,ys=ye.resolve,bv=dv.nanoid,$o=ye,Yu=xa,Sv=Bf,No=Symbol("fromOffsetCac
18he"),Cv=!!(_v&&wv),Ju=!!(ys&&ms),xi=function(){function t(i,e){if(e===void 0&&(e={}),i===null||typeof i>"u"||(typeof i>"u"?"undefined":P(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&&(!Ju||/^\w+:\/\//.test(e.from)||ms(e.from)?this.file=e.from:this.file=ys(e.from)),Ju&&Cv){var r=new Sv(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 "+bv(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":P(r))==="object"){var f=r,l=o;if(typeof f.offset=="number"){var h=this.fromOffset(f.offset);r=h.line,o=h.col}else r=f.line,o=f.column;if(typeof l.offset=="number"){var g=this.fromOffset(l.offset);u=g.line,c=g.col}else u=l.line,c=l.column}else if(!o){var v=this.fromOffset(r);r=v.line,o=v.col}var m=this.origin(r,o,u,c);return m?a=new Yu(e,m.endLine===void 0?m.line:{column:m.column,line:m.line},m.endLine===void 0?m.column:{column:m.endColumn,line:m.endLine},m.source,m.file,s.plugin):a=new Yu(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&&(Pn&&(a.input.url=Pn(this.file).toString()),a.input.file=this.file),a},n.fromOffset=function(e){var r,o;if(this[No])o=this[No];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[No]=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:ys(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;ms(u.source)?f=Pn(u.source):f=new URL(u.source,this.map.consumer().sourceRoot||Pn(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(Ku)l.file=Ku(f);else throw new Error("file: protocol is not available in this PostCSS build");var h=a.sourceContentFor(u.source);return h&&(l.source=h),l},n.toJSON=function(){for(var e={},r=0,o=["hasBOM","css","file","id"];r<o.length;r++){var s=o[r];this[s]!=null&&(e[s]=this[s])}return this.map&&(e.map=z({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},ue(t,[{key:"from",get:function(){return this.file||this.id}}]),t}(),uo=xi;xi.default=xi;$o&&$o.registerInput&&$o.registerInput(xi);var zf=ye.SourceMapConsumer,di=ye.SourceMapGenerator,vi=ye.dirname,qf=ye.relative,Wf=ye.resolve,Gf=ye.sep,Xu=ye.pathToFileURL,Ev=uo,Iv=!!(zf&&di),Ov=!!(vi&&Wf&&qf&&Gf),xv=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||vi(o.file),u=void 0;this.mapOpts.sourcesContent===!1?(u=new zf(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(),Ov&&Iv&&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=di.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new di({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 di({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?vi(this.opts.to):".";
vendor: 4,110 bytes, line 23
23typeof this.mapOpts.annotation=="string"&&(o=vi(Wf(o,this.mapOpts.annotation)));var s=qf(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 Ev(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(Xu){var o=Xu(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;Gf==="\\"&&(e=e.replace(/\\/g,"/"));var o=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,o),o},t}(),jf=xv,Rv=so,_s=function(t){fe(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="comment",e}return n}(Rv),co=_s;_s.default=_s;var Vf=Ot.isClean,Hf=Ot.my,Kf=ao,Yf=co,Av=so,Jf,Ra,Aa,Xf;function Zf(t){return t.map(function(n){return n.nodes&&(n.nodes=Zf(n.nodes)),delete n.source,n})}function Qf(t){if(t[Vf]=!1,t.proxyOf.nodes)for(var n=I(t.proxyOf.nodes),i;!(i=n()).done;){var e=i.value;Qf(e)}}var ct=function(t){fe(n,t);function n(){return t.apply(this,arguments)||this}var i=n.prototype;return i.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];for(var a=I(o),u;!(u=a()).done;)for(var c=u.value,f=this.normalize(c,this.last),l=I(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.push(g)}return this.markDirty(),this},i.cleanRaws=function(r){if(t.prototype.cleanRaws.call(this,r),this.nodes)for(var o=I(this.nodes),s;!(s=o()).done;){var a=s.value;a.cleanRaws(r)}},i.each=function(r){if(this.proxyOf.nodes){for(var o=this.getIterator(),s,a;this.indexes[o]<this.proxyOf.nodes.length&&(s=this.indexes[o],a=r(this.proxyOf.nodes[s],s),a!==!1);)this.indexes[o]+=1;return delete this.indexes[o],a}},i.every=function(r){return this.nodes.every(r)},i.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var r=this.lastEach;return this.indexes[r]=0,r},i.getProxyProcessor=function(){return{get:function(o,s){return s==="proxyOf"?o:o[s]?s==="each"||typeof s=="string"&&s.startsWith("walk")?function(){for(var a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];var f;return(f=o)[s].apply(f,[].concat(u.map(function(l){return typeof l=="function"?function(h,g){return l(h.toProxy(),g)}:l})))}:s==="every"||s==="some"?function(a){return o[s](function(u){for(var c=arguments.length,f=new Array(c>1?c-1:0),l=1;l<c;l++)f[l-1]=arguments[l];return a.apply(void 0,[].concat([u.toProxy()],f))})}:s==="root"?function(){return o.root().toProxy()}:s==="nodes"?o.nodes.map(function(a){return a.toProxy()}):s==="first"||s==="last"?o[s].toProxy():o[s]:o[s]},set:function(o,s,a){return o[s]===a||(o[s]=a,(s==="name"||s==="params"||s==="selector")&&o.markDirty()),!0}}},i.index=function(r){return typeof r=="number"?r:(r.proxyOf&&(r=r.proxyOf),this.proxyOf.nodes.indexOf(r))},i.insertAfter=function(r,o){var s=this.index(r),a=this.normalize(o,this.proxyOf.nodes[s]).reverse();s=this.index(r);for(var u=I(a),c;!(c=u()).done;){var f=c.value;this.proxyOf.nodes.splice(s+1,0,f)}var l;for(var h in this.indexes)l=this.indexes[h],s<l&&(this.indexes[h
vendor: 15,542 bytes, lines 23-24
23]=l+a.length);return this.markDirty(),this},i.insertBefore=function(r,o){var s=this.index(r),a=s===0?"prepend":!1,u=this.normalize(o,this.proxyOf.nodes[s],a).reverse();s=this.index(r);for(var c=I(u),f;!(f=c()).done;){var l=f.value;this.proxyOf.nodes.splice(s,0,l)}var h;for(var g in this.indexes)h=this.indexes[g],s<=h&&(this.indexes[g]=h+u.length);return this.markDirty(),this},i.normalize=function(r,o){var s=this;if(typeof r=="string")r=Zf(Jf(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 Kf(r)]}else if(r.selector)r=[new Ra(r)];else if(r.name)r=[new Aa(r)];else if(r.text)r=[new Yf(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[Vf]&&Qf(v),typeof v.raws.before>"u"&&o&&typeof o.raws.before<"u"&&(v.raws.before=o.raws.before.replace(/\S/g,"")),v.parent=s.proxyOf,v});return g},i.prepend=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];o=o.reverse();for(var a=I(o),u;!(u=a()).done;){for(var c=u.value,f=this.normalize(c,this.first,"prepend").reverse(),l=I(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.unshift(g)}for(var v in this.indexes)this.indexes[v]=this.indexes[v]+f.length}return this.markDirty(),this},i.push=function(r){return r.parent=this,this.proxyOf.nodes.push(r),this},i.removeAll=function(){for(var r=I(this.proxyOf.nodes),o;!(o=r()).done;){var s=o.value;s.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},i.removeChild=function(r){r=this.index(r),this.proxyOf.nodes[r].parent=void 0,this.proxyOf.nodes.splice(r,1);var o;for(var s in this.indexes)o=this.indexes[s],o>=r&&(this.indexes[s]=o-1);return this.markDirty(),this},i.replaceValues=function(r,o,s){return s||(s=o,o={}),this.walkDecls(function(a){o.props&&!o.props.includes(a.prop)||o.fast&&!a.value.includes(o.fast)||(a.value=a.value.replace(r,s))}),this.markDirty(),this},i.some=function(r){return this.nodes.some(r)},i.walk=function(r){return this.each(function(o,s){var a;try{a=r(o,s)}catch(u){throw o.addToError(u)}return a!==!1&&o.walk&&(a=o.walk(r)),a})},i.walkAtRules=function(r,o){return o?T(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?T(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?T(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)}))},ue(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}(Av);ct.registerParse=function(t){Jf=t};ct.registerRule=function(t){Ra=t};ct.registerAtRule=function(t){Aa=t};ct.registerRoot=function(t){Xf=t};var er=ct;ct.default=ct;ct.rebuild=function(t){t.type==="atrule"?Object.setPrototypeOf(t,Aa.prototype):t.type==="rule"?Object.setPrototypeOf(t,Ra.prototype):t.type==="decl"?Object.setPrototypeOf(t,Kf.prototype):t.type==="comment"?Object.setPrototypeOf(t,Yf.prototype):t.type==="root"&&Object.setPrototypeOf(t,Xf.prototype),t[Hf]=!0,t.nodes&&t.nodes.forEach(function(n){ct.rebuild(n)})};var kv=er,el,tl,rn=function(t){fe(n,t);function n(e){var r;return r=t.call(this,z({type:"document"},e))||this,r.nodes||(r.nodes=[]),r}var i=n.prototype;return i.toResult=function(r){r===void 0&&(r={});var o=new el(new tl,this,r);return o.stringify()},n}(kv);rn.registerLazyResult=function(t){el=t};rn.registerProcessor=function(t){tl=t};var ka=rn;rn.default=rn;var ws=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}(),rl=ws;ws.default=ws;var Mv=rl,bs=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 Mv(e,r);return this.messages.push(o),o},n.warnings=function(){return this.messages.filter(function(e){return e.type==="warning"})},ue(t,[{key:"content",get:function(){return this.css}}]),t}(),Ma=bs;bs.default=bs;var Lo=39,Zu=34,$n=92,Qu=47,Nn=10,Ur=32,Ln=12,Dn=9,Fn=13,Tv=91,Pv=93,$v=40,Nv=41,Lv=123,Dv=125,Fv=59,Uv=42,Bv=58,zv=64,Un=/[\t\n\f\r "#'()/;[\\\]{}]/g,Bn=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,qv=/.[\r\n"'(/\\]/,ec=/[\da-f]/i,Wv=function(n,i){i===void 0&&(i={});var e=n.css.valueOf(),r=i.ignoreErrors,o,s,a,u,c,f,l,h,g,v,m=e.length,d=0,y=[],_=[];function b(){return d}function C(R){throw n.error("Unclosed "+R,d)}function S(){return _.length===0&&d>=m}function O(R){if(_.length)return _.pop();if(!(d>=m)){var $=R?R.ignoreUnclosed:!1;switch(o=e.charCodeAt(d),o){case Nn:case Ur:case Dn:case Fn:case Ln:{s=d;do s+=1,o=e.charCodeAt(s);while(o===Ur||o===Nn||o===Dn||o===Fn||o===Ln);v=["space",e.slice(d,s)],d=s-1;break}case Tv:case Pv:case Lv:case Dv:case Bv:case Fv:case Nv:{var q=String.fromCharCode(o);v=[q,q,d];break}case $v:{if(h=y.length?y.pop()[1]:"",g=e.charCodeAt(d+1),h==="url"&&g!==Lo&&g!==Zu&&g!==Ur&&g!==Nn&&g!==Dn&&g!==Ln&&g!==Fn){s=d;do{if(f=!1,s=e.indexOf(")",s+1),s===-1)if(r||$){s=d;break}else C("bracket");for(l=s;e.charCodeAt(l-1)===$n;)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||qv.test(u)?v=["(","(",d]:(v=["brackets",u,d,s],d=s);break}case Lo:case Zu:{a=o===Lo?"'":'"',s=d;do{if(f=!1,s=e.indexOf(a,s+1),s===-1)if(r||$){s=d+1;break}else C("string");for(l=s;e.charCodeAt(l-1)===$n;)l-=1,f=!f}while(f);v=["string",e.slice(d,s+1),d,s],d=s;break}case zv:{Un.lastIndex=d+1,Un.test(e),Un.lastIndex===0?s=e.length-1:s=Un.lastIndex-2,v=["at-word",e.slice(d,s+1),d,s],d=s;break}case $n:{for(s=d,c=!0;e.charCodeAt(s+1)===$n;)s+=1,c=!c;if(o=e.charCodeAt(s+1),c&&o!==Qu&&o!==Ur&&o!==Nn&&o!==Dn&&o!==Fn&&o!==Ln&&(s+=1,ec.test(e.charAt(s)))){for(;ec.test(e.charAt(s+1));)s+=1;e.charCodeAt(s+1)===Ur&&(s+=1)}v=["word",e.slice(d,s+1),d,s],d=s;break}default:{o===Qu&&e.charCodeAt(d+1)===Uv?(s=e.indexOf("*/",d+2)+1,s===0&&(r||$?s=e.length:C("comment")),v=["comment",e.slice(d,s+1),d,s],d=s):(Bn.lastIndex=d+1,Bn.test(e),Bn.lastIndex===0?s=e.length-1:s=Bn.lastIndex-2,v=["word",e.slice(d,s+1),d,s],y.push(v),d=s);break}}return d++,v}}function k(R){_.push(R)}return{back:k,endOfFile:S,nextToken:O,position:b}},nl=er,Ri=function(t){fe(n,t);function n(e){var r;return r=t.call(this,e)||this,r.type="atrule",r}var i=n.prototype;return i.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.append).call.apply(a,[].concat([this],o))},i.prepend=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.prepend).call.apply(a,[].concat([this],o))},n}(nl),Ta=Ri;Ri.default=Ri;nl.registerAtRule(Ri);var il=er,ol,sl,Sr=function(t){fe(n,t);function n(e){var r;return r=t.call(this,e)||this,r.type="root",r.nodes||(r.nodes=[]),r}var i=n.prototype;return i.normalize=function(r,o,s){var a=t.prototype.normalize.call(this,r);if(o){if(s==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(var u=I(a),c;!(c=u()).done;){var f=c.value;f.raws.before=o.raws.before}}return a},i.removeChild=function(r,o){var s=this.index(r);return!o&&s===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),t.prototype.removeChild.call(this,r)},i.toResult=function(r){r===void 0&&(r={});var o=new ol(new sl,this,r);return o.stringify()},n}(il);Sr.registerLazyResult=function(t){ol=t};Sr.registerProcessor=function(t){sl=t};var wn=Sr;Sr.default=Sr;il.registerRoot(Sr);var nn={comma:function(n){return nn.split(n,[","],!0)},space:function(n){var i=[" ",`
24`,"	"];return nn.split(n,i)},split:function(n,i,e){for(var r=[],o="",s=!1,a=0,u=!1,c="",f=!1,l=I(n),h;!(h=l()).done;){var g=h.value;f?f=!1:g==="\\"?f=!0:u?g===c&&(u=!1):g==='"'||g==="'"?(u=!0,c=g):g==="("?a+=1:g===")"?a>0&&(a-=1):a===0&&i.includes(g)&&(s=!0),s?(o!==""&&r.push(o.trim()),o="",s=!1):o+=g}return(e||o!=="")&&r.push(o.trim()),r}},al=nn;nn.default=nn;var ul=er,Gv=al,Ai=function(t){fe(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="rule",e.nodes||(e.nodes=[]),e}return ue(n,[{key:"selectors",get:function(){return Gv.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}(ul),Pa=Ai;Ai.default=Ai;ul.registerRule(Ai);var jv=ao,Vv=Wv,Hv=co,Kv=Ta,Yv=wn,tc=Pa,rc={empty:!0,space:!0};function Jv(t){for(var n=t.length-1;n>=0;n--){var i=t[n],e=i[3]||i[2];if(e)return e}}var Xv=function(){function t(i){this.input=i,this.root=new Yv,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 Kv;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 Hv;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=Vv(this.input)},n.decl=function(e,r){var o=new jv;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]||Jv(e)),o.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),o.raws.before+=e.shift()[1];for(o.source.start=this.getPosition(e[0][2]),o.prop="";e.length;){var a=e[0][0];if(a===":"||a==="space"||a==="comment")break;o.prop+=e.shift()[1]}o.raws.between="";for(var u;e.length;)if(u=e.shift(),u[0]===":"){o.raws.between+=u[1];break}else u[0]==="word"&&/\w/.test(u[1])&&this.unknownWord([u]),o.raws.between+=u[1];(o.prop[0]==="_"||o.prop[0]==="*")&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));for(var c=[],f;e.length&&(f=e[0][0],!(f!=="space"&&f!=="comment"));)c.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if(u=e[l],u[1].toLowerCase()==="!important"){o.important=!0;var h=this.stringFrom(e,l);h=this.spacesFromEnd(e)+h,h!==" !important"&&(o.raws.important=h);break}else if(u[1].toLowerCase()==="important"){for(var g=e.slice(0),v="",m=l;m>0;m--){var d=g[m][0];if(v.trim().indexOf("!")===0&&d!=="space")break;v=g.pop()[1]+v}v.trim().indexOf("!")===0&&(o.important=!0,o.raws.important=v,e=g)}if(u[0]!=="space"&&u[0]!=="comment")break}var y=e.some(function(_){return _[0]!=="space"&&_[0]!=="comment"});y&&(o.raws.between+=c.map(function(_){return _[1]}).join(""),c=[]),this.raw(o,"value",c.concat(e),r),o.value.includes(":")&&!r&&this.checkMissedSemicolon(e)},n.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},n.emptyRule=function(e){var r=new tc;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r},n.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},n.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},n.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}},n.getPosition=function(e){var r=this.input.fromOffset(e);return{column:r.col,line:r.line,offset:e}},n.init=function(e,r){this.current.push(e),e.source={input:this.input,start:this.getPosition(r)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)},n.other=function(e){for(var r=!1,o=null,s=!1,a=null,u=[],c=e[1].startsWith("--"),f=[],l=e;l;){if(o=l[0],f.push(l),o==="("||o==="[")a||(a=l),u.push(o==="("?")":"]");else if(c&&s&&o==="{")a||(a=l),u.push("}");else if(u.length===0)if(o===";")if(s){this.decl(f,c);return}else break;else if(o==="{"){this.rule(f);return}else if(o==="}"){this.tokenizer.back(f.pop()),r=!0;break}else o===":"&&(s=!0);else o===u[u.length-1]&&(u.pop(),u.length===0&&(a=null));l=this.tokenizer.nextToken()}
vendor: 1,804 bytes, line 24
24if(this.tokenizer.endOfFile()&&(r=!0),u.length>0&&this.unclosedBracket(a),r&&s){if(!c)for(;f.length&&(l=f[f.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,c)}else this.unknownWord(f)},n.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()},n.precheckMissedSemicolon=function(){},n.raw=function(e,r,o,s){for(var a,u,c=o.length,f="",l=!0,h,g,v=0;v<c;v+=1)a=o[v],u=a[0],u==="space"&&v===c-1&&!s?l=!1:u==="comment"?(g=o[v-1]?o[v-1][0]:"empty",h=o[v+1]?o[v+1][0]:"empty",!rc[g]&&!rc[h]?f.slice(-1)===","?l=!1:f+=a[1]:l=!1):f+=a[1];if(!l){var m=o.reduce(function(d,y){return d+y[1]},"");e.raws[r]={raw:m,value:f}}e[r]=f},n.rule=function(e){e.pop();var r=new tc;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r},n.spacesAndCommentsFromEnd=function(e){for(var r,o="";e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)o=e.pop()[1]+o;return o},n.spacesAndCommentsFromStart=function(e){for(var r,o="";e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)o+=e.shift()[1];return o},n.spacesFromEnd=function(e){for(var r,o="";e.length&&(r=e[e.length-1][0],r==="space");)o=e.pop()[1]+o;return o},n.stringFrom=function(e,r){for(var o="",s=r;s<e.length;s++)o+=e[s][1];return e.splice(r,e.length-r),o},n.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},n.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}
vendor: 27,267 bytes, lines 24-43
24,n.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},n.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},n.unnamedAtrule=function(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})},t}(),Zv=Xv,Qv=er,eg=Zv,tg=uo;function ki(t,n){var i=new tg(t,n),e=new eg(i);try{e.parse()}catch(r){throw r}return e.root}var $a=ki;ki.default=ki;Qv.registerParse(ki);var He=Ot.isClean,rg=Ot.my,ng=jf,ig=oo,og=er,sg=ka,nc=Ma,ag=$a,ug=wn,cg={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},fg={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},lg={Once:!0,postcssPlugin:!0,prepare:!0},Cr=0;function Br(t){return(typeof t>"u"?"undefined":P(t))==="object"&&typeof t.then=="function"}function cl(t){var n=!1,i=cg[t.type];return t.type==="decl"?n=t.prop.toLowerCase():t.type==="atrule"&&(n=t.name.toLowerCase()),n&&t.append?[i,i+"-"+n,Cr,i+"Exit",i+"Exit-"+n]:n?[i,i+"-"+n,i+"Exit",i+"Exit-"+n]:t.append?[i,Cr,i+"Exit"]:[i,i+"Exit"]}function ic(t){var n;return t.type==="document"?n=["Document",Cr,"DocumentExit"]:t.type==="root"?n=["Root",Cr,"RootExit"]:n=cl(t),{eventIndex:0,events:n,iterator:0,node:t,visitorIndex:0,visitors:[]}}function Ss(t){return t[He]=!1,t.nodes&&t.nodes.forEach(function(n){return Ss(n)}),t}var Cs={},Er=function(){function t(i,e,r){var o=this;this.stringified=!1,this.processed=!1;var s;if((typeof e>"u"?"undefined":P(e))==="object"&&e!==null&&(e.type==="root"||e.type==="document"))s=Ss(e);else if(T(e,t)||T(e,nc))s=Ss(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=ag;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[rg]&&og.rebuild(s)}this.result=new nc(i,s,r),this.helpers=z({},Cs,{postcss:Cs,result:this.result}),this.plugins=this.processor.plugins.map(function(u){return(typeof u>"u"?"undefined":P(u))==="object"&&u.prepare?z({},u,u.prepare(o.result)):u})}var n=t.prototype;return n.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},n.catch=function(e){return this.async().catch(e)},n.finally=function(e){return this.async().then(e,e)},n.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},n.handleError=function(e,r){var o=this.result.lastPlugin;try{if(r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=o.postcssPlugin,e.setMessage();else if(o.postcssVersion)var s,a,u,c,f}catch(l){console&&console.error&&console.error(l)}return e},n.prepareVisitors=function(){var e=this;this.listeners={};for(var r=function(f,l,h){e.listeners[l]||(e.listeners[l]=[]),e.listeners[l].push([f,h])},o=I(this.plugins),s;!(s=o()).done;){var a=s.value;if((typeof a>"u"?"undefined":P(a))==="object")for(var u in a){if(!fg[u]&&/^[A-Z]/.test(u))throw new Error("Unknown event "+u+" in "+a.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!lg[u])if(P(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 io(function(){var r,o,s,a,u,c,f,l,h,g,v,m;return Kt(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),!Br(s))return[3,5];d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s];case 3:return d.sent(),[3,5];case 4:throw a=d.sent(),e.handleError(a);case 5:return r++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];u=e.result.root,d.label=7;case 7:if(u[He])return[3,14];u[He]=!0,c=[ic(u)],d.label=8;case 8:if(!(c.length>0))return[3,13];if(f=e.visitTick(c),!Br(f))return[3,12];d.label=9;case 9:return d.trys.push([9,11,,12]),[4,f];case 10:return d.sent(),[3,12];case 11:throw l=d.sent(),h=c[c.length-1].node,e.handleError(l,h);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];g=function(){var y,_,b,C,S;return Kt(this,function(O){switch(O.label){case 0:y=m.value,_=y[0],b=y[1],e.result.lastPlugin=_,O.label=1;case 1:return O.trys.push([1,6,,7]),u.type!=="document"?[3,3]:(C=u.nodes.map(function(k){return b(k,e.helpers)}),[4,Promise.all(C)]);case 2:return O.sent(),[3,5];case 3:return[4,b(u,e.helpers)];case 4:O.sent(),O.label=5;case 5:return[3,7];case 6:throw S=O.sent(),e.handleError(S);case 7:return[2]}})},v=I(e.listeners.OnceExit),d.label=15;case 15:return(m=v()).done?[3,18]:[5,Ca(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":P(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 Br(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=ig;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);var o=new ng(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(Br(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var a=this.result.root;!a[He];)a[He]=!0,this.walkSync(a);if(this.listeners.OnceExit)if(a.type==="document")for(var u=I(a.nodes),c;!(c=u()).done;){var f=c.value;this.visitSync(this.listeners.OnceExit,f)}else this.visitSync(this.listeners.OnceExit,a)}return this.result},n.then=function(e,r){return this.async().then(e,r)},n.toString=function(){return this.css},n.visitSync=function(e,r){for(var o=I(e),s;!(s=o()).done;){var a=s.value,u=a[0],c=a[1];this.result.lastPlugin=u;var f=void 0;try{f=c(r,this.helpers)}catch(l){throw this.handleError(l,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(Br(f))throw this.getAsyncError()}},n.visitTick=function(e){var r=e[e.length-1],o=r.node,s=r.visitors;if(o.type!=="root"&&o.type!=="document"&&!o.parent){e.pop();return}if(s.length>0&&r.visitorIndex<s.length){var a=s[r.visitorIndex],u=a[0],c=a[1];r.visitorIndex+=1,r.visitorIndex===s.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=u;try{return c(o.toProxy(),this.helpers)}catch(v){throw this.handleError(v,o)}}if(r.iterator!==0){for(var f=r.iterator,l;l=o.nodes[o.indexes[f]];)if(o.indexes[f]+=1,!l[He]){l[He]=!0,e.push(ic(l));return}r.iterator=0,delete o.indexes[f]}for(var h=r.events;r.eventIndex<h.length;){var g=h[r.eventIndex];if(r.eventIndex+=1,g===Cr){o.nodes&&o.nodes.length&&(o[He]=!0,r.iterator=o.getIterator());return}else if(this.listeners[g]){r.visitors=this.listeners[g];return}}e.pop()},n.walkSync=function(e){var r=this;e[He]=!0;for(var o=cl(e),s=I(o),a;!(a=s()).done;){var u=a.value;if(u===Cr)e.nodes&&e.each(function(f){f[He]||r.walkSync(f)});else{var c=this.listeners[u];if(c&&this.visitSync(c,e.toProxy()))return}}},n.warnings=function(){return this.sync().warnings()},ue(t,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),t}();Er.registerPostcss=function(t){Cs=t};var fl=Er;Er.default=Er;ug.registerLazyResult(Er);sg.registerLazyResult(Er);var hg=jf,pg=oo,dg=$a,vg=Ma,Es=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=pg;this.result=new vg(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 hg(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[]},ue(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=dg;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}(),gg=Es;Es.default=Es;var mg=gg,yg=fl,_g=ka,wg=wn,on=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":P(a))==="object"&&Array.isArray(a.plugins))r=r.concat(a.plugins);else if((typeof a>"u"?"undefined":P(a))==="object"&&a.postcssPlugin)r.push(a);else if(typeof a=="function")r.push(a);else if(!((typeof a>"u"?"undefined":P(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 mg(this,e,r):new yg(this,e,r)},n.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},t}(),bg=on;on.default=on;wg.registerProcessor(on);_g.registerProcessor(on);var Sg=ao,Cg=Bf,Eg=co,Ig=Ta,Og=uo,xg=wn,Rg=Pa;function sn(t,n){if(Array.isArray(t))return t.map(function(l){return sn(l)});var i=t.inputs,e=Ht(t,["inputs"]);if(i){n=[];for(var r=I(i),o;!(o=r()).done;){var s=o.value,a=z({},s,{__proto__:Og.prototype});a.map&&(a.map=z({},a.map,{__proto__:Cg.prototype})),n.push(a)}}if(e.nodes&&(e.nodes=t.nodes.map(function(l){return sn(l,n)})),e.source){var u=e.source,c=u.inputId,f=Ht(u,["inputId"]);e.source=f,c!=null&&(e.source.input=n[c])}if(e.type==="root")return new xg(e);if(e.type==="decl")return new Sg(e);if(e.type==="rule")return new Rg(e);if(e.type==="comment")return new Eg(e);if(e.type==="atrule")return new Ig(e);throw new Error("Unknown node type: "+t.type)}var Ag=sn;sn.default=sn;var kg=xa,ll=ao,Mg=fl,Tg=er,Na=bg,Pg=oo,$g=Ag,hl=ka,Ng=rl,pl=co,dl=Ta,Lg=Ma,Dg=uo,Fg=$a,Ug=al,vl=Pa,gl=wn,Bg=so;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 Na(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`),br.LANG&&br.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 Na().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=Pg;Z.parse=Fg;Z.fromJSON=$g;Z.list=Ug;Z.comment=function(t){return new pl(t)};Z.atRule=function(t){return new dl(t)};Z.decl=function(t){return new ll(t)};Z.rule=function(t){return new vl(t)};Z.root=function(t){return new gl(t)};Z.document=function(t){return new hl(t)};Z.CssSyntaxError=kg;Z.Declaration=ll;Z.Container=Tg;Z.Processor=Na;Z.Document=hl;Z.Comment=pl;Z.Warning=Ng;Z.AtRule=dl;Z.Result=Lg;Z.Input=Dg;Z.Rule=vl;Z.Root=gl;Z.Node=Bg;Mg.registerPostcss(Z);var zg=Z;Z.default=Z;var le=ev(zg);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 qg=Object.defineProperty,Wg=function(t,n,i){return n in t?qg(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i},Fe=function(t,n,i){return Wg(t,(typeof n>"u"?"undefined":P(n))!=="symbol"?n+"":n,i)};function Gg(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function jg(t){if(t.__esModule)return t;var n=t.default;if(typeof n=="function"){var i=function e(){return T(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 La={exports:{}},oe=String,ml=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}};La.exports=ml();La.exports.createColors=ml;var Vg=La.exports,Hg={},Kg=Object.freeze(Object.defineProperty({__proto__:null,default:Hg},Symbol.toStringTag,{value:"Module"})),_e=jg(Kg),oc=Vg,sc=_e,Is=function(t){fe(n,t);function n(e,r,o,s,a,u){var c;return c=t.call(this,e)||this,c.name="CssSyntaxError",c.reason=e,a&&(c.file=a),s&&(c.source=s),u&&(c.plugin=u),typeof r<"u"&&typeof o<"u"&&(typeof r=="number"?(c.line=r,c.column=o):(c.line=r.line,c.column=r.column,c.endLine=o.line,c.endColumn=o.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,n),c}var i=n.prototype;return i.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},i.showSourceCode=function(r){var o=this;if(!this.source)return"";var s=this.source;r==null&&(r=oc.isColorSupported),sc&&r&&(s=sc(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=oc.createColors(!0),v=g.bold,m=g.gray,d=g.red;l=function(y){return v(d(y))},h=function(y){return m(y)}}else l=h=function(y){return y};return a.slice(u,c).map(function(y,_){var b=u+1+_,C=" "+(" "+b).slice(-f)+" | ";if(b===o.line){var S=h(C.replace(/\d/g," "))+y.slice(0,o.column-1).replace(/[^\t]/g," ");return l(">")+h(C)+y+`
27 `+S+l("^")}return" "+h(C)+y}).join(`
28`)},i.toString=function(){var r=this.showSourceCode();return r&&(r=`
29
30`+r+`
31`),this.name+": "+this.message+r},n}(en(Error)),Da=Is;Is.default=Is;var xt={};xt.isClean=Symbol("isClean");xt.my=Symbol("my");var ac={after:`
32`,beforeClose:`
33`,beforeComment:`
34`,beforeDecl:`
35`,beforeOpen:" ",beforeRule:`
36`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};function Yg(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 ac[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"+Yg(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=ac[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}(),yl=Os;Os.default=Os;var Jg=yl;function xs(t,n){var i=new Jg(n);i.stringify(t)}var fo=xs;xs.default=xs;var zn=xt.isClean,Xg=xt.my,Zg=Da,Qg=yl,em=fo;function Rs(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":P(r);e==="parent"&&o==="object"?n&&(i[e]=n):e==="source"?i[e]=r:Array.isArray(r)?i[e]=r.map(function(s){return Rs(s,i)}):(o==="object"&&r!==null&&(r=Rs(r)),i[e]=r)}return i}var As=function(){function t(i){i===void 0&&(i={}),this.raws={},this[zn]=!1,this[Xg]=!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=Rs(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 Zg(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[zn]){this[zn]=!1;for(var e=this;e=e.parent;)e[zn]=!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 Qg;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":P(l))==="object"&&l.toJSON?l.toJSON(null,r):l});else if((typeof c>"u"?"undefined":P(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=em),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)},ue(t,[{key:"proxyOf",get:function(){return this}}]),t}(),lo=As;As.default=As;var tm=lo,ks=function(t){fe(n,t);function n(i){var e;return i&&typeof i.value<"u"&&typeof i.value!="string"&&(i=z({},i,{value:String(i.value)})),e=t.call(this,i)||this,e.type="decl",e}return ue(n,[{key:"variable",get:function(){return this.prop.startsWith("--")||this.prop[0]==="$"}}]),n}(tm),ho=ks;ks.default=ks;var rm="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",nm=function(t){t===void 0&&(t=21);for(var n="",i=t;i--;)n+=rm[Math.random()*64|0];return n},im={nanoid:nm},uc=_e.SourceMapConsumer,cc=_e.SourceMapGenerator,om=_e.existsSync,sm=_e.readFileSync,Do=_e.dirname,am=_e.join;function um(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var Ms=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=Do(this.mapFile)),o&&(this.text=o)}}var n=t.prototype;return n.consumer=function(){return this.consumerCache||(this.consumerCache=new uc(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 um(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":P(e))!=="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)},n.loadAnnotation=function(e){var r=e.match(/\/\*\s*# sourceMappingURL=/gm);
vendor: 1,187 bytes, line 43
43if(r){var o=e.lastIndexOf(r.pop()),s=e.indexOf("*/",o);o>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(o,s)))}},n.loadFile=function(e){if(this.root=Do(e),om(e))return this.mapFile=e,sm(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(T(r,uc))return cc.fromSourceMap(r).toString();if(T(r,cc))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=am(Do(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}(),_l=Ms;Ms.default=Ms;var cm=_e.SourceMapConsumer,fm=_e.SourceMapGenerator,fc=_e.fileURLToPath,qn=_e.pathToFileURL,Ts=_e.isAbsolute,Ps=_e.resolve,lm=im.nanoid,Fo=_e,lc=Da,hm=_l,Uo=Symbol("fromOffsetCac
43he"),pm=!!(cm&&fm),hc=!!(Ps&&Ts),Mi=function(){function t(i,e){if(e===void 0&&(e={}),i===null||typeof i>"u"||(typeof i>"u"?"undefined":P(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&&(!hc||/^\w+:\/\//.test(e.from)||Ts(e.from)?this.file=e.from:this.file=Ps(e.from)),hc&&pm){var r=new hm(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 "+lm(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":P(r))==="object"){var f=r,l=o;if(typeof f.offset=="number"){var h=this.fromOffset(f.offset);r=h.line,o=h.col}else r=f.line,o=f.column;if(typeof l.offset=="number"){var g=this.fromOffset(l.offset);u=g.line,c=g.col}else u=l.line,c=l.column}else if(!o){var v=this.fromOffset(r);r=v.line,o=v.col}var m=this.origin(r,o,u,c);return m?a=new lc(e,m.endLine===void 0?m.line:{column:m.column,line:m.line},m.endLine===void 0?m.column:{column:m.endColumn,line:m.endLine},m.source,m.file,s.plugin):a=new lc(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[Uo])o=this[Uo];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[Uo]=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:Ps(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;Ts(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(fc)l.file=fc(f);else throw new Error("file: protocol is not available in this PostCSS build");var h=a.sourceContentFor(u.source);return h&&(l.source=h),l},n.toJSON=function(){for(var e={},r=0,o=["hasBOM","css","file","id"];r<o.length;r++){var s=o[r];this[s]!=null&&(e[s]=this[s])}return this.map&&(e.map=z({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},ue(t,[{key:"from",get:function(){return this.file||this.id}}]),t}(),po=Mi;Mi.default=Mi;Fo&&Fo.registerInput&&Fo.registerInput(Mi);var wl=_e.SourceMapConsumer,gi=_e.SourceMapGenerator,mi=_e.dirname,bl=_e.relative,Sl=_e.resolve,Cl=_e.sep,pc=_e.pathToFileURL,dm=po,vm=!!(wl&&gi),gm=!!(mi&&Sl&&bl&&Cl),mm=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||mi(o.file),u=void 0;this.mapOpts.sourcesContent===!1?(u=new wl(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(),gm&&vm&&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=gi.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new gi({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 gi({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?mi(this.opts.to):".";
vendor: 4,110 bytes, line 48
48typeof this.mapOpts.annotation=="string"&&(o=mi(Sl(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 dm(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(pc){var o=pc(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;Cl==="\\"&&(e=e.replace(/\\/g,"/"));var o=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,o),o},t}(),El=mm,ym=lo,$s=function(t){fe(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="comment",e}return n}(ym),vo=$s;$s.default=$s;var Il=xt.isClean,Ol=xt.my,xl=ho,Rl=vo,_m=lo,Al,Fa,Ua,kl;function Ml(t){return t.map(function(n){return n.nodes&&(n.nodes=Ml(n.nodes)),delete n.source,n})}function Tl(t){if(t[Il]=!1,t.proxyOf.nodes)for(var n=I(t.proxyOf.nodes),i;!(i=n()).done;){var e=i.value;Tl(e)}}var ft=function(t){fe(n,t);function n(){return t.apply(this,arguments)||this}var i=n.prototype;return i.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];for(var a=I(o),u;!(u=a()).done;)for(var c=u.value,f=this.normalize(c,this.last),l=I(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.push(g)}return this.markDirty(),this},i.cleanRaws=function(r){if(t.prototype.cleanRaws.call(this,r),this.nodes)for(var o=I(this.nodes),s;!(s=o()).done;){var a=s.value;a.cleanRaws(r)}},i.each=function(r){if(this.proxyOf.nodes){for(var o=this.getIterator(),s,a;this.indexes[o]<this.proxyOf.nodes.length&&(s=this.indexes[o],a=r(this.proxyOf.nodes[s],s),a!==!1);)this.indexes[o]+=1;return delete this.indexes[o],a}},i.every=function(r){return this.nodes.every(r)},i.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var r=this.lastEach;return this.indexes[r]=0,r},i.getProxyProcessor=function(){return{get:function(o,s){return s==="proxyOf"?o:o[s]?s==="each"||typeof s=="string"&&s.startsWith("walk")?function(){for(var a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];var f;return(f=o)[s].apply(f,[].concat(u.map(function(l){return typeof l=="function"?function(h,g){return l(h.toProxy(),g)}:l})))}:s==="every"||s==="some"?function(a){return o[s](function(u){for(var c=arguments.length,f=new Array(c>1?c-1:0),l=1;l<c;l++)f[l-1]=arguments[l];return a.apply(void 0,[].concat([u.toProxy()],f))})}:s==="root"?function(){return o.root().toProxy()}:s==="nodes"?o.nodes.map(function(a){return a.toProxy()}):s==="first"||s==="last"?o[s].toProxy():o[s]:o[s]},set:function(o,s,a){return o[s]===a||(o[s]=a,(s==="name"||s==="params"||s==="selector")&&o.markDirty()),!0}}},i.index=function(r){return typeof r=="number"?r:(r.proxyOf&&(r=r.proxyOf),this.proxyOf.nodes.indexOf(r))},i.insertAfter=function(r,o){var s=this.index(r),a=this.normalize(o,this.proxyOf.nodes[s]).reverse();s=this.index(r);for(var u=I(a),c;!(c=u()).done;){var f=c.value;this.proxyOf.nodes.splice(s+1,0,f)}var l;for(var h in this.indexes)l=this.indexes[h],s<l&&(this.indexes[h
vendor: 15,542 bytes, lines 48-49
48]=l+a.length);return this.markDirty(),this},i.insertBefore=function(r,o){var s=this.index(r),a=s===0?"prepend":!1,u=this.normalize(o,this.proxyOf.nodes[s],a).reverse();s=this.index(r);for(var c=I(u),f;!(f=c()).done;){var l=f.value;this.proxyOf.nodes.splice(s,0,l)}var h;for(var g in this.indexes)h=this.indexes[g],s<=h&&(this.indexes[g]=h+u.length);return this.markDirty(),this},i.normalize=function(r,o){var s=this;if(typeof r=="string")r=Ml(Al(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 xl(r)]}else if(r.selector)r=[new Fa(r)];else if(r.name)r=[new Ua(r)];else if(r.text)r=[new Rl(r)];else throw new Error("Unknown node type in node creation");var g=r.map(function(v){return v[Ol]||n.rebuild(v),v=v.proxyOf,v.parent&&v.parent.removeChild(v),v[Il]&&Tl(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?T(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?T(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?T(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)}))},ue(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);ft.registerParse=function(t){Al=t};ft.registerRule=function(t){Fa=t};ft.registerAtRule=function(t){Ua=t};ft.registerRoot=function(t){kl=t};var tr=ft;ft.default=ft;ft.rebuild=function(t){t.type==="atrule"?Object.setPrototypeOf(t,Ua.prototype):t.type==="rule"?Object.setPrototypeOf(t,Fa.prototype):t.type==="decl"?Object.setPrototypeOf(t,xl.prototype):t.type==="comment"?Object.setPrototypeOf(t,Rl.prototype):t.type==="root"&&Object.setPrototypeOf(t,kl.prototype),t[Ol]=!0,t.nodes&&t.nodes.forEach(function(n){ft.rebuild(n)})};var wm=tr,Pl,$l,an=function(t){fe(n,t);function n(e){var r;return r=t.call(this,z({type:"document"},e))||this,r.nodes||(r.nodes=[]),r}var i=n.prototype;return i.toResult=function(r){r===void 0&&(r={});var o=new Pl(new $l,this,r);return o.stringify()},n}(wm);an.registerLazyResult=function(t){Pl=t};an.registerProcessor=function(t){$l=t};var Ba=an;an.default=an;var Ns=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}(),Nl=Ns;Ns.default=Ns;var bm=Nl,Ls=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 bm(e,r);return this.messages.push(o),o},n.warnings=function(){return this.messages.filter(function(e){return e.type==="warning"})},ue(t,[{key:"content",get:function(){return this.css}}]),t}(),za=Ls;Ls.default=Ls;var Bo=39,dc=34,Wn=92,vc=47,Gn=10,zr=32,jn=12,Vn=9,Hn=13,Sm=91,Cm=93,Em=40,Im=41,Om=123,xm=125,Rm=59,Am=42,km=58,Mm=64,Kn=/[\t\n\f\r "#'()/;[\\\]{}]/g,Yn=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Tm=/.[\r\n"'(/\\]/,gc=/[\da-f]/i,Pm=function(n,i){i===void 0&&(i={});var e=n.css.valueOf(),r=i.ignoreErrors,o,s,a,u,c,f,l,h,g,v,m=e.length,d=0,y=[],_=[];function b(){return d}function C(R){throw n.error("Unclosed "+R,d)}function S(){return _.length===0&&d>=m}function O(R){if(_.length)return _.pop();if(!(d>=m)){var $=R?R.ignoreUnclosed:!1;switch(o=e.charCodeAt(d),o){case Gn:case zr:case Vn:case Hn:case jn:{s=d;do s+=1,o=e.charCodeAt(s);while(o===zr||o===Gn||o===Vn||o===Hn||o===jn);v=["space",e.slice(d,s)],d=s-1;break}case Sm:case Cm:case Om:case xm:case km:case Rm:case Im:{var q=String.fromCharCode(o);v=[q,q,d];break}case Em:{if(h=y.length?y.pop()[1]:"",g=e.charCodeAt(d+1),h==="url"&&g!==Bo&&g!==dc&&g!==zr&&g!==Gn&&g!==Vn&&g!==jn&&g!==Hn){s=d;do{if(f=!1,s=e.indexOf(")",s+1),s===-1)if(r||$){s=d;break}else C("bracket");for(l=s;e.charCodeAt(l-1)===Wn;)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||Tm.test(u)?v=["(","(",d]:(v=["brackets",u,d,s],d=s);break}case Bo:case dc:{a=o===Bo?"'":'"',s=d;do{if(f=!1,s=e.indexOf(a,s+1),s===-1)if(r||$){s=d+1;break}else C("string");for(l=s;e.charCodeAt(l-1)===Wn;)l-=1,f=!f}while(f);v=["string",e.slice(d,s+1),d,s],d=s;break}case Mm:{Kn.lastIndex=d+1,Kn.test(e),Kn.lastIndex===0?s=e.length-1:s=Kn.lastIndex-2,v=["at-word",e.slice(d,s+1),d,s],d=s;break}case Wn:{for(s=d,c=!0;e.charCodeAt(s+1)===Wn;)s+=1,c=!c;if(o=e.charCodeAt(s+1),c&&o!==vc&&o!==zr&&o!==Gn&&o!==Vn&&o!==Hn&&o!==jn&&(s+=1,gc.test(e.charAt(s)))){for(;gc.test(e.charAt(s+1));)s+=1;e.charCodeAt(s+1)===zr&&(s+=1)}v=["word",e.slice(d,s+1),d,s],d=s;break}default:{o===vc&&e.charCodeAt(d+1)===Am?(s=e.indexOf("*/",d+2)+1,s===0&&(r||$?s=e.length:C("comment")),v=["comment",e.slice(d,s+1),d,s],d=s):(Yn.lastIndex=d+1,Yn.test(e),Yn.lastIndex===0?s=e.length-1:s=Yn.lastIndex-2,v=["word",e.slice(d,s+1),d,s],y.push(v),d=s);break}}return d++,v}}function k(R){_.push(R)}return{back:k,endOfFile:S,nextToken:O,position:b}},Ll=tr,Ti=function(t){fe(n,t);function n(e){var r;return r=t.call(this,e)||this,r.type="atrule",r}var i=n.prototype;return i.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.append).call.apply(a,[].concat([this],o))},i.prepend=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.prepend).call.apply(a,[].concat([this],o))},n}(Ll),qa=Ti;Ti.default=Ti;Ll.registerAtRule(Ti);var Dl=tr,Fl,Ul,Ir=function(t){fe(n,t);function n(e){var r;return r=t.call(this,e)||this,r.type="root",r.nodes||(r.nodes=[]),r}var i=n.prototype;return i.normalize=function(r,o,s){var a=t.prototype.normalize.call(this,r);if(o){if(s==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(var u=I(a),c;!(c=u()).done;){var f=c.value;f.raws.before=o.raws.before}}return a},i.removeChild=function(r,o){var s=this.index(r);return!o&&s===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),t.prototype.removeChild.call(this,r)},i.toResult=function(r){r===void 0&&(r={});var o=new Fl(new Ul,this,r);return o.stringify()},n}(Dl);Ir.registerLazyResult=function(t){Fl=t};Ir.registerProcessor=function(t){Ul=t};var bn=Ir;Ir.default=Ir;Dl.registerRoot(Ir);var un={comma:function(n){return un.split(n,[","],!0)},space:function(n){var i=[" ",`
49`,"	"];return un.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}},Bl=un;un.default=un;var zl=tr,$m=Bl,Pi=function(t){fe(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="rule",e.nodes||(e.nodes=[]),e}return ue(n,[{key:"selectors",get:function(){return $m.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}(zl),Wa=Pi;Pi.default=Pi;zl.registerRule(Pi);var Nm=ho,Lm=Pm,Dm=vo,Fm=qa,Um=bn,mc=Wa,yc={empty:!0,space:!0};function Bm(t){for(var n=t.length-1;n>=0;n--){var i=t[n],e=i[3]||i[2];if(e)return e}}var zm=function(){function t(i){this.input=i,this.root=new Um,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 Fm;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 Dm;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=Lm(this.input)},n.decl=function(e,r){var o=new Nm;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]||Bm(e)),o.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),o.raws.before+=e.shift()[1];for(o.source.start=this.getPosition(e[0][2]),o.prop="";e.length;){var a=e[0][0];if(a===":"||a==="space"||a==="comment")break;o.prop+=e.shift()[1]}o.raws.between="";for(var u;e.length;)if(u=e.shift(),u[0]===":"){o.raws.between+=u[1];break}else u[0]==="word"&&/\w/.test(u[1])&&this.unknownWord([u]),o.raws.between+=u[1];(o.prop[0]==="_"||o.prop[0]==="*")&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));for(var c=[],f;e.length&&(f=e[0][0],!(f!=="space"&&f!=="comment"));)c.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if(u=e[l],u[1].toLowerCase()==="!important"){o.important=!0;var h=this.stringFrom(e,l);h=this.spacesFromEnd(e)+h,h!==" !important"&&(o.raws.important=h);break}else if(u[1].toLowerCase()==="important"){for(var g=e.slice(0),v="",m=l;m>0;m--){var d=g[m][0];if(v.trim().indexOf("!")===0&&d!=="space")break;v=g.pop()[1]+v}v.trim().indexOf("!")===0&&(o.important=!0,o.raws.important=v,e=g)}if(u[0]!=="space"&&u[0]!=="comment")break}var y=e.some(function(_){return _[0]!=="space"&&_[0]!=="comment"});y&&(o.raws.between+=c.map(function(_){return _[1]}).join(""),c=[]),this.raw(o,"value",c.concat(e),r),o.value.includes(":")&&!r&&this.checkMissedSemicolon(e)},n.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},n.emptyRule=function(e){var r=new mc;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r},n.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},n.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},n.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}},n.getPosition=function(e){var r=this.input.fromOffset(e);return{column:r.col,line:r.line,offset:e}},n.init=function(e,r){this.current.push(e),e.source={input:this.input,start:this.getPosition(r)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)},n.other=function(e){for(var r=!1,o=null,s=!1,a=null,u=[],c=e[1].startsWith("--"),f=[],l=e;l;){if(o=l[0],f.push(l),o==="("||o==="[")a||(a=l),u.push(o==="("?")":"]");else if(c&&s&&o==="{")a||(a=l),u.push("}");else if(u.length===0)if(o===";")if(s){this.decl(f,c);return}else break;else if(o==="{"){this.rule(f);return}else if(o==="}"){this.tokenizer.back(f.pop()),r=!0;break}else o===":"&&(s=!0);else o===u[u.length-1]&&(u.pop(),u.length===0&&(a=null));l=this.tokenizer.nextToken()}
vendor: 1,804 bytes, line 49
49if(this.tokenizer.endOfFile()&&(r=!0),u.length>0&&this.unclosedBracket(a),r&&s){if(!c)for(;f.length&&(l=f[f.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,c)}else this.unknownWord(f)},n.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()},n.precheckMissedSemicolon=function(){},n.raw=function(e,r,o,s){for(var a,u,c=o.length,f="",l=!0,h,g,v=0;v<c;v+=1)a=o[v],u=a[0],u==="space"&&v===c-1&&!s?l=!1:u==="comment"?(g=o[v-1]?o[v-1][0]:"empty",h=o[v+1]?o[v+1][0]:"empty",!yc[g]&&!yc[h]?f.slice(-1)===","?l=!1:f+=a[1]:l=!1):f+=a[1];if(!l){var m=o.reduce(function(d,y){return d+y[1]},"");e.raws[r]={raw:m,value:f}}e[r]=f},n.rule=function(e){e.pop();var r=new mc;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r},n.spacesAndCommentsFromEnd=function(e){for(var r,o="";e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)o=e.pop()[1]+o;return o},n.spacesAndCommentsFromStart=function(e){for(var r,o="";e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)o+=e.shift()[1];return o},n.spacesFromEnd=function(e){for(var r,o="";e.length&&(r=e[e.length-1][0],r==="space");)o=e.pop()[1]+o;return o},n.stringFrom=function(e,r){for(var o="",s=r;s<e.length;s++)o+=e[s][1];return e.splice(r,e.length-r),o},n.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},n.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}
vendor: 17,199 bytes, lines 49-51
49,n.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},n.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},n.unnamedAtrule=function(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})},t}(),qm=zm,Wm=tr,Gm=qm,jm=po;function $i(t,n){var i=new jm(t,n),e=new Gm(i);try{e.parse()}catch(r){throw r}return e.root}var Ga=$i;$i.default=$i;Wm.registerParse($i);var Ke=xt.isClean,Vm=xt.my,Hm=El,Km=fo,Ym=tr,Jm=Ba,_c=za,Xm=Ga,Zm=bn,Qm={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},ey={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},ty={Once:!0,postcssPlugin:!0,prepare:!0},Or=0;function qr(t){return(typeof t>"u"?"undefined":P(t))==="object"&&typeof t.then=="function"}function ql(t){var n=!1,i=Qm[t.type];return t.type==="decl"?n=t.prop.toLowerCase():t.type==="atrule"&&(n=t.name.toLowerCase()),n&&t.append?[i,i+"-"+n,Or,i+"Exit",i+"Exit-"+n]:n?[i,i+"-"+n,i+"Exit",i+"Exit-"+n]:t.append?[i,Or,i+"Exit"]:[i,i+"Exit"]}function wc(t){var n;return t.type==="document"?n=["Document",Or,"DocumentExit"]:t.type==="root"?n=["Root",Or,"RootExit"]:n=ql(t),{eventIndex:0,events:n,iterator:0,node:t,visitorIndex:0,visitors:[]}}function Ds(t){return t[Ke]=!1,t.nodes&&t.nodes.forEach(function(n){return Ds(n)}),t}var Fs={},xr=function(){function t(i,e,r){var o=this;this.stringified=!1,this.processed=!1;var s;if((typeof e>"u"?"undefined":P(e))==="object"&&e!==null&&(e.type==="root"||e.type==="document"))s=Ds(e);else if(T(e,t)||T(e,_c))s=Ds(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=Xm;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[Vm]&&Ym.rebuild(s)}this.result=new _c(i,s,r),this.helpers=z({},Fs,{postcss:Fs,result:this.result}),this.plugins=this.processor.plugins.map(function(u){return(typeof u>"u"?"undefined":P(u))==="object"&&u.prepare?z({},u,u.prepare(o.result)):u})}var n=t.prototype;return n.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},n.catch=function(e){return this.async().catch(e)},n.finally=function(e){return this.async().then(e,e)},n.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},n.handleError=function(e,r){var o=this.result.lastPlugin;try{if(r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=o.postcssPlugin,e.setMessage();else if(o.postcssVersion)var s,a,u,c,f}catch(l){console&&console.error&&console.error(l)}return e},n.prepareVisitors=function(){var e=this;this.listeners={};for(var r=function(f,l,h){e.listeners[l]||(e.listeners[l]=[]),e.listeners[l].push([f,h])},o=I(this.plugins),s;!(s=o()).done;){var a=s.value;if((typeof a>"u"?"undefined":P(a))==="object")for(var u in a){if(!ey[u]&&/^[A-Z]/.test(u))throw new Error("Unknown event "+u+" in "+a.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!ty[u])if(P(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 io(function(){var r,o,s,a,u,c,f,l,h,g,v,m;return Kt(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),!qr(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[Ke])return[3,14];u[Ke]=!0,c=[wc(u)],d.label=8;case 8:if(!(c.length>0))return[3,13];if(f=e.visitTick(c),!qr(f))return[3,12];d.label=9;case 9:return d.trys.push([9,11,,12]),[4,f];case 10:return d.sent(),[3,12];case 11:throw l=d.sent(),h=c[c.length-1].node,e.handleError(l,h);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];g=function(){var y,_,b,C,S;return Kt(this,function(O){switch(O.label){case 0:y=m.value,_=y[0],b=y[1],e.result.lastPlugin=_,O.label=1;case 1:return O.trys.push([1,6,,7]),u.type!=="document"?[3,3]:(C=u.nodes.map(function(k){return b(k,e.helpers)}),[4,Promise.all(C)]);case 2:return O.sent(),[3,5];case 3:return[4,b(u,e.helpers)];case 4:O.sent(),O.label=5;case 5:return[3,7];case 6:throw S=O.sent(),e.handleError(S);case 7:return[2]}})},v=I(e.listeners.OnceExit),d.label=15;case 15:return(m=v()).done?[3,18]:[5,Ca(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":P(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 qr(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=Km;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);var o=new Hm(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(qr(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var a=this.result.root;!a[Ke];)a[Ke]=!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(qr(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[Ke]){l[Ke]=!0,e.push(wc(l));return}r.iterator=0,delete o.indexes[f]}for(var h=r.events;r.eventIndex<h.length;){var g=h[r.eventIndex];if(r.eventIndex+=1,g===Or){o.nodes&&o.nodes.length&&(o[Ke]=!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[Ke]=!0;for(var o=ql(e),s=I(o),a;!(a=s()).done;){var u=a.value;if(u===Or)e.nodes&&e.each(function(f){f[Ke]||r.walkSync(f)});else{var c=this.listeners[u];if(c&&this.visitSync(c,e.toProxy()))return}}},n.warnings=function(){return this.sync().warnings()},ue(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}();xr.registerPostcss=function(t){Fs=t};var Wl=xr;xr.default=xr;Zm.registerLazyResult(xr);Jm.registerLazyResult(xr);var ry=El,ny=fo,iy=Ga,oy=za,Us=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=ny;this.result=new oy(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 ry(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[]},ue(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=iy;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}(),sy=Us;Us.default=Us;var ay=sy,uy=Wl,cy=Ba,fy=bn,cn=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":P(a))==="object"&&Array.isArray(a.plugins))r=r.concat(a.plugins);else if((typeof a>"u"?"undefined":P(a))==="object"&&a.postcssPlugin)r.push(a);else if(typeof a=="function")r.push(a);else if(!((typeof a>"u"?"undefined":P(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 ay(this,e,r):new uy(this,e,r)},n.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},t}(),ly=cn;cn.default=cn;fy.registerProcessor(cn);cy.registerProcessor(cn);var hy=ho,py=_l,dy=vo,vy=qa,gy=po,my=bn,yy=Wa;function fn(t,n){if(Array.isArray(t))return t.map(function(l){return fn(l)});var i=t.inputs,e=Ht(t,["inputs"]);if(i){n=[];for(var r=I(i),o;!(o=r()).done;){var s=o.value,a=z({},s,{__proto__:gy.prototype});a.map&&(a.map=z({},a.map,{__proto__:py.prototype})),n.push(a)}}if(e.nodes&&(e.nodes=t.nodes.map(function(l){return fn(l,n)})),e.source){var u=e.source,c=u.inputId,f=Ht(u,["inputId"]);e.source=f,c!=null&&(e.source.input=n[c])}if(e.type==="root")return new my(e);if(e.type==="decl")return new hy(e);if(e.type==="rule")return new yy(e);if(e.type==="comment")return new dy(e);if(e.type==="atrule")return new vy(e);throw new Error("Unknown node type: "+t.type)}var _y=fn;fn.default=fn;var wy=Da,Gl=ho,by=Wl,Sy=tr,ja=ly,Cy=fo,Ey=_y,jl=Ba,Iy=Nl,Vl=vo,Hl=qa,Oy=za,xy=po,Ry=Ga,Ay=Bl,Kl=Wa,Yl=bn,ky=lo;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 ja(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`),br.LANG&&br.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 ja().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=Cy;Q.parse=Ry;Q.fromJSON=Ey;Q.list=Ay;Q.comment=function(t){return new Vl(t)};Q.atRule=function(t){return new Hl(t)};Q.decl=function(t){return new Gl(t)};Q.rule=function(t){return new Kl(t)};Q.root=function(t){return new Yl(t)};Q.document=function(t){return new jl(t)};Q.CssSyntaxError=wy;Q.Declaration=Gl;Q.Container=Sy;Q.Processor=ja;Q.Document=jl;Q.Comment=Vl;Q.Warning=Iy;Q.AtRule=Hl;Q.Result=Oy;Q.Input=xy;Q.Rule=Kl;Q.Root=Yl;Q.Node=ky;by.registerPostcss(Q);var My=Q;Q.default=Q;var he=Gg(My);he.stringify;he.fromJSON;he.plugin;he.parse;he.list;he.document;he.comment;he.atRule;he.rule;he.decl;he.root;he.CssSyntaxError;he.Declaration;he.Container;he.Processor;he.Document;he.Comment;he.Warning;he.AtRule;he.Result;he.Input;he.Rule;he.Root;he.Node;var Ty=function(){function t(){for(var i=arguments.length,e=new Array(i),r=0;r<i;r++)e[r]=arguments[r];Fe(this,"parentElement",null),Fe(this,"parentNode",null),Fe(this,"ownerDocument"),Fe(this,"firstChild",null),Fe(this,"lastChild",null),Fe(this,"previousSibling",null),Fe(this,"nextSibling",null),Fe(this,"ELEMENT_NODE",1),Fe(this,"TEXT_NODE",3),Fe(this,"nodeType"),Fe(this,"nodeName"),Fe(this,"RRNodeType")}var n=t.prototype;return n.contains=function(e){if(T(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"},ue(t,[{key:"childNodes",get:function(){for(var e=[],r=this.firstChild;r;)e.push(r),r=r.nextSibling;return e}}]),t}(),bc={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Sc={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Jn={},Py=function(){return!!globalThis.Zone};function Va(t){if(Jn[t])return Jn[t];var n=globalThis[t],i=n.prototype,e=t in bc?bc[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&&!Py())return Jn[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?Jn[t]=c:i}catch{return i}}var zo={};function Rt(t,n,i){var e,r=t+"."+String(i);if(zo[r])return zo[r].call(n);var o=Va(t),s=(e=Object.getOwnPropertyDescriptor(o,i))==null?void 0:e.get;return s?(zo[r]=s,s.call(n)):n[i]}var qo={};function Jl(t,n,i){var e=t+"."+String(i);if(qo[e])return qo[e].bind(n);var r=Va(t),o=r[i];return typeof o!="function"?n[i]:(qo[e]=o,o.bind(n))}function $y(t){return Rt("Node",t,"childNodes")}function Ny(t){return Rt("Node",t,"parentNode")}function Ly(t){return Rt("Node",t,"parentElement")}function Dy(t){return Rt("Node",t,"textContent")}function Fy(t,n){return Jl("Node",t,"contains")(n)}function Uy(t){return Jl("Node",t,"getRootNode")()}function By(t){return!t||!("host"in t)?null:Rt("ShadowRoot",t,"host")}function zy(t){return t.styleSheets}function qy(t){return!t||!("shadowRoot"in t)?null:Rt("Element",t,"shadowRoot")}function Wy(t,n){return Rt("Element",t,"querySelector")(n)}function Gy(t,n){return Rt("Element",t,"querySelectorAll")(n)}function Xl(){return Va("MutationObserver").constructor}function rr(t,n,i){try{if(!(n in t))return function(){};var e=t[n],r=i(e);return typeof r=="function"&&(r.prototype=r.prototype||{},Object.defineProperties(r,{__rrweb_original__:{enumerable:!1,value:e}})),t[n]=r,function(){t[n]=e}}catch{return function(){}}}var j={childNodes:$y,parentNode:Ny,parentElement:Ly,textContent:Dy,contains:Fy,getRootNode:Uy,host:By,styleSheets:zy,shadowRoot:qy,querySelector:Wy,querySelectorAll:Gy,mutationObserver:Xl,patch:rr};function Me(t,n,i){i===void 0&&(i=document);var e={capture:!0,passive:!0};return i.addEventListener(t,n,e),function(){return i.removeEventListener(t,n,e)}}var pr=`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.`,Cc={map:{},getId:function(){return console.error(pr),-1},getNode:function(){return console.error(pr),null},removeNodeFromMap:function(){console.error(pr)},has:function(){return console.error(pr),!1},reset:function(){console.error(pr)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(Cc=new Proxy(Cc,{get:function(n,i,e){return i==="map"&&console.error(pr),Reflect.get(n,i,e)}}));function ln(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 go(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 go(t,n,o||{},!0)}}var Ni=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(Ni=function(){return new Date().getTime()});function Zl(t){var n,i,e,r,o=t.document;return{left:o.scrollingElement?o.scrollingElement.scrollLeft:t.pageXOffset!==void 0?t.pageXOffset:o.documentElement.scrollLeft||o?.body&&((n=j.parentElement(o.body))==null?void 0:n.scrollLeft)||((i=o?.body)==null?void 0:i.scrollLeft)||0,top:o.scrollingElement?o.scrollingElement.scrollTop:t.pageYOffset!==void 0?t.pageYOffset:o?.documentElement.scrollTop||o?.body&&((e=j.parentElement(o.body))==null?void 0:e.scrollTop)||((r=o?.body)==null?void 0:r.scrollTop)||0}}function Ql(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function eh(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function th(t){if(!t)return null;var n=t.nodeType===t.ELEMENT_NODE?t:j.parentElement(t);return n}function Te(t,n,i,e){if(!t)return!1;var r=th(t);if(!r)return!1;try{if(typeof n=="string"){if(r.classList.contains(n)||e&&r.closest("."+n)!==null)return!0}else if(Oi(r,n,e))return!0}catch{}return!!(i&&(r.matches(i)||e&&r.closest(i)!==null))}function jy(t,n){return n.getId(t)!==-1}function Wo(t,n,i){return t.tagName==="TITLE"&&i.headTitleMutations?!0:n.getId(t)===tn}function rh(t,n){if(Vr(t))return!1;var i=n.getId(t);if(!n.has(i))return!0;var e=j.parentNode(t);return e&&e.nodeType===t.DOCUMENT_NODE?!1:e?rh(e,n):!0}function Bs(t){return!!t.changedTouches}function Vy(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 nh(t,n){return!!(t.nodeName==="IFRAME"&&n.getMeta(t))}function ih(t,n){return!!(t.nodeName==="LINK"&&t.nodeType===t.ELEMENT_NODE&&t.getAttribute&&t.getAttribute("rel")==="stylesheet"&&n.getMeta(t))}function zs(t){return t?T(t,Ty)&&"shadowRoot"in t?!!t.shadowRoot:!!j.shadowRoot(t):!1}var Hy=function(){function t(){x(this,"id",1),x(this,"styleIDMap",new WeakMap),x(this,"idStyleMap",new Map)}var n=t.prototype;return n.getId=function(e){var r;return(r=this.styleIDMap.get(e))!=null?r:-1},n.has=function(e){return this.styleIDMap.has(e)},n.add=function(e,r){if(this.has(e))return this.getId(e);var o;return r===void 0?o=this.id++:o=r,this.styleIDMap.set(e,o),this.idStyleMap.set(o,e),o},n.getStyle=function(e){return this.idStyleMap.get(e)||null},n.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},n.generateId=function(){return this.id++},n.remove=function(e){var r=this.styleIDMap.get(e);return r!==void 0?(this.styleIDMap.delete(e),this.idStyleMap.delete(r),!0):!1},t}();function oh(t){var n,i=null;return"getRootNode"in t&&((n=j.getRootNode(t))==null?void 0:n.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&j.host(j.getRootNode(t))&&(i=j.host(j.getRootNode(t))),i}function Ky(t){for(var n=t,i;i=oh(n);)n=i;return n}function Yy(t){var n=t.ownerDocument;if(!n)return!1;var i=Ky(t);return j.contains(n,i)}function sh(t){var n=t.ownerDocument;return n?j.contains(n,t)||Yy(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||{}),D=function(t){return t[t.Mutation=0]="Mutation",t[t.MouseMove=1]="MouseMove",t[t.MouseInteraction=2]="MouseInteraction",t[t.Scroll=3]="Scroll",t[t.ViewportResize=4]="ViewportResize",t[t.In
vendor: 8,831 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}(D||{}),$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||{}),st=function(t){return t[t.Mouse=0]="Mouse",t[t.Pen=1]="Pen",t[t.Touch=2]="Touch",t}(st||{}),Rr=function(t){return t[t["2D"]=0]="2D",t[t.WebGL=1]="WebGL",t[t.WebGL2=2]="WebGL2",t}(Rr||{}),dr=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}(dr||{}),ah=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}(ah||{});function Ec(t){return"__ln"in t}var Jy=function(){function t(){x(this,"length",0),x(this,"head",null),x(this,"tail",null)}var n=t.prototype;return n.get=function(e){if(e>=this.length)throw new Error("Position outside of list range");for(var r=this.head,o=0;o<e;o++)r=r?.next||null;return r},n.addNode=function(e){var r={value:e,previous:null,next:null};if(e.__ln=r,e.previousSibling&&Ec(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&&Ec(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}(),Ic=function(t,n){return t+"@"+n},Xy=function(){function t(){var i=this;x(this,"frozen",!1),x(this,"locked",!1),x(this,"texts",[]),x(this,"attributes",[]),x(this,"attributeMap",new WeakMap),x(this,"removes",[]),x(this,"mapRemoves",[]),x(this,"movedMap",{}),x(this,"addedSet",new Set),x(this,"movedSet",new Set),x(this,"droppedSet",new Set),x(this,"removesSubTreeCache",new Set),x(this,"mutationCb"),x(this,"blockClass"),x(this,"blockSelector"),x(this,"maskTextClass"),x(this,"maskTextSelector"),x(this,"inlineStylesheet"),x(this,"maskInputOptions"),x(this,"maskTextFn"),x(this,"maskInputFn"),x(this,"keepIframeSrcFn"),x(this,"recordCanvas"),x(this,"inlineImages"),x(this,"slimDOMOptions"),x(this,"dataURLOptions"),x(this,"doc"),x(this,"mirror"),x(this,"iframeManager"),x(this,"stylesheetManager"),x(this,"shadowDomManager"),x(this,"canvasManager"),x(this,"processedNodeManager"),x(this,"unattachedDoc"),x(this,"processMutations",function(e){e.forEach(i.processMutation),i.emit()}),x(this,"emit",function(){if(!(i.frozen||i.locked)){for(var e=[],r=new Set,o=new Jy,s=function(N){for(var G=N,de=tn;de===tn;)G=G&&G.nextSibling,de=G&&i.mirror.getId(G);return de},a=function(N){var G=j.parentNode(N);if(!(!G||!sh(N))){var de=!1;if(N.nodeType===Node.TEXT_NODE){var K=G.tagName;if(K==="TEXTAREA")return;K==="STYLE"&&i.addedSet.has(G)&&(de=!0)}var Le=Vr(G)?i.mirror.getId(oh(N)):i.mirror.getId(G),Pe=s(N);if(Le===-1||Pe===-1)return o.addNode(N);var xe=gr(N,{doc:i.doc,mirror:i.mirror,blockClass:i.blockClass,blockSelector:i.blockSelector,maskTextClass:i.maskTextClass,maskTextSelector:i.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:i.inlineStylesheet,maskInputOptions:i.maskInputOptions,maskTextFn:i.maskTextFn,maskInputFn:i.maskInputFn,slimDOMOptions:i.slimDOMOptions,dataURLOptions:i.dataURLOptions,recordCanvas:i.recordCanvas,inlineImages:i.inlineImages,onSerialize:function(ce){nh(ce,i.mirror)&&i.iframeManager.addIframe(ce),ih(ce,i.mirror)&&i.stylesheetManager.trackLinkElement(ce),zs(N)&&i.shadowDomManager.addShadowRoot(j.shadowRoot(N),i.doc)},onIframeLoad:function(ce,Ie){i.iframeManager.attachIframe(ce,Ie),i.shadowDomManager.observeAttachShadow(ce)},onStylesheetLoad:function(ce,Ie){i.stylesheetManager.attachLinkElement(ce,Ie)},cssCaptured:de});xe&&(e.push({parentId:Le,nextId:Pe,node:xe}),r.add(xe.id))}};i.mapRemoves.length;){var u=i.mapRemoves.shift();i.cleanupRemovedNode(u),i.mirror.removeNodeFromMap(u)}for(var c=I(i.movedSet),f;!(f=c()).done;){var l=f.value;Oc(i.removesSubTreeCache,l,i.mirror)&&!i.movedSet.has(j.parentNode(l))||a(l)}for(var h=I(i.addedSet),g;!(g=h()).done;){var v=g.value;!xc(i.droppedSet,v)&&!Oc(i.removesSubTreeCache,v,i.mirror)||xc(i.movedSet,v)?a(v):i.droppedSet.add(v)}for(var m=null;o.length;){var d=null;if(m){var y=i.mirror.getId(j.parentNode(m.value)),_=s(m.value);y!==-1&&_!==-1&&(d=m)}if(!d)for(var b=o.tail;b;){var C=b;if(b=b.previous,C){var S=i.mirror.getId(j.parentNode(C.value)),O=s(C.value);if(O===-1)continue;if(S!==-1){d=C;break}else{var k=C.value,R=j.parentNode(k);if(R&&R.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var $=j.host(R),q=i.mirror.getId($);if(q!==-1){d=C;break}}}}}if(!d){for(;o.head;)o.removeNode(o.head.value);break}m=d.previous,o.removeNode(d.value),a(d.value)}var ve={texts:i.texts.map(function(N){var G=N.node,de=j.parentNode(G);return de&&de.tagName==="TEXTAREA"&&i.genTextAreaValueMutation(de),{id:i.mirror.getId(G),value:N.value}}).filter(function(N){return!r.has(N.id)}).filter(function(N){return i.mirror.has(N.id)}),attributes:i.attributes.map(function(N){var G=N.attributes;if(typeof G.style=="string"){var de=JSON.stringify(N.styleDiff),K=JSON.stringify(N._unchangedStyles);de.length<G.style.length&&(de+K).split("var(").length===G.style.split("var(").length&&(G.style=N.styleDiff)}return{id:i.mirror.getId(N.node),attributes:G}}).filter(function(N){return!r.has(N.id)}).filter(function(N){return i.mirror.has(N.id)}),removes:i.removes,adds:e};!ve.texts.length&&!ve.attributes.length&&!ve.removes.length&&!ve.adds.length||(i.texts=[],i.attributes=[],i.attributeMap=new WeakMap,i.removes=[],i.addedSet=new Set,i.movedSet=new Set,i.droppedSet=new Set,i.removesSubTreeCache=new Set,i.movedMap={},i.mutationCb(ve))}}),x(this,"genTextAreaValueMutation",function(e){var r=i.attributeMap.get(e);r||(r={node:e,attributes:{},styleDiff:{},_unchangedStyles:{}},i.attributes.push(r),i.attributeMap.set(e,r));var o=Array.from(j.childNodes(e),function(s){return j.textContent(s)||""}).join("");r.attributes.value=Ci({element:e,maskInputOptions:i.maskInputOptions,tagName:e.tagName,type:Ei(e),value:o,maskInputFn:i.maskInputFn})}),x(this,"processMutation",function(e){if(!Wo(e.target,i.mirror,i.slimDOMOptions))switch(e.type){case"characterData":{var r=j.textContent(e.target);!Te(e.target,i.blockClass,i.blockSelector,!1)&&r!==e.oldValue&&i.texts.push({value:Df(e.target,i.maskTextClass,i.maskTextSelector,!0)&&r?i.maskTextFn?i.maskTextFn(r,th(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=Ei(o);a=Ci({element:o,maskInputOptions:i.maskInputOptions,tagName:o.tagName,type:u,value:a,maskInputFn:i.maskInputFn})}if(Te(e.target,i.blockClass,i.blockSelector,!1)||a===e.oldValue)return;var c=i.attributeMap.get(e.target);if(o.tagName==="IFRAME"&&s==="src"&&!i.keepIframeSrcFn(a))if(!o.contentDocument)s="rr_src";else return;if(c||(c={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},i.attributes.push(c),i.attributeMap.set(e.target,c)),s==="type"&&o.tagName==="INPUT"&&(e.oldValue||"").toLowerCase()==="password"&&o.setAttribute("data-rr-is-password","true"),!Lf(o.tagName,s))if(c.attributes[s]=Nf(i.doc,Yt(o.tagName),Yt(s),a),s==="style"){if(!i.unattachedDoc)try{i.unattachedDoc=document.implementation.createHTMLDocument()}catch{i.unattachedDoc=i.doc}var f=i.unattachedDoc.createElement("span");e.oldValue&&f.setAttribute("style",e.oldValue);for(var l=I(Array.from(o.style)),h;!(h=l()).done;){var g=h.value,v=o.style.getPropertyValue(g),m=o.style.getPropertyPriority(g);v!==f.style.getPropertyValue(g)||m!==f.style.getPropertyPriority(g)?m===""?c.styleDiff[g]=v:c.styleDiff[g]=[v,m]:c._unchangedStyles[g]=[v,m]}for(var d=I(Array.from(f.style)),y;!(y=d()).done;){var _=y.value;o.style.getPropertyValue(_)===""&&(c.styleDiff[_]=!1)}}else s==="open"&&o.tagName==="DIALOG"&&(o.matches("dialog:modal")?c.attributes.rr_open_mode="modal":c.attributes.rr_open_mode="non-modal");break}
vendor: 1,213 bytes, line 53
53case"childList":{if(Te(e.target,i.blockClass,i.blockSelector,!0))return;if(e.target.tagName==="TEXTAREA"){i.genTextAreaValueMutation(e.target);return}e.addedNodes.forEach(function(b){return i.genAdds(b,e.target)}),e.removedNodes.forEach(function(b){var C=i.mirror.getId(b),S=Vr(e.target)?i.mirror.getId(j.host(e.target)):i.mirror.getId(e.target);Te(e.target,i.blockClass,i.blockSelector,!1)||Wo(b,i.mirror,i.slimDOMOptions)||!jy(b,i.mirror)||(i.addedSet.has(b)?(qs(i.addedSet,b),i.droppedSet.add(b)):i.addedSet.has(e.target)&&C===-1||rh(e.target,i.mirror)||(i.movedSet.has(b)&&i.movedMap[Ic(C,S)]?qs(i.movedSet,b):(i.removes.push({parentId:S,id:C,isShadow:Vr(e.target)&&Hr(e.target)?!0:void 0}),Zy(b,i.removesSubTreeCache))),i.mapRemoves.push(b))});break}}}),x(this,"genAdds",function(e,r){if(!i.processedNodeManager.inOtherBuffer(e,i)&&!(i.addedSet.has(e)||i.movedSet.has(e))){if(i.mirror.hasNode(e)){if(Wo(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[Ic(i.mirror.getId(e),o)]=!0)}else i.addedSet.add(e),i.droppedSet.delete(e);Te(e,i.blockClass,i.blockSelector,!1)||(j.childNodes(e).forEach(function(s){return i.genAdds(s)}
vendor: 4,113 bytes, line 53
53),zs(e)&&j.childNodes(j.shadowRoot(e)).forEach(function(s){i.processedNodeManager.add(s,i),i.genAdds(s,e)}))}}),x(this,"cleanupRemovedNode",function(e){if(e.nodeName==="IFRAME")try{i.iframeManager.removeIframe(e)}catch{}else try{i.stylesheetManager.cleanupStylesheetsForRemovedNode(e)}catch{}e.childNodes.forEach(function(r){i.cleanupRemovedNode(r)})})}var n=t.prototype;return n.init=function(e){var r=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(function(o){r[o]=e[o]})},n.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},n.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},n.isFrozen=function(){return this.frozen},n.lock=function(){this.locked=!0,this.canvasManager.lock()},n.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},n.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},n.getDoc=function(){return this.doc},t}();function qs(t,n){t.delete(n),j.childNodes(n).forEach(function(i){return qs(t,i)})}function Zy(t,n){for(var i=[t];i.length;){var e=i.pop();n.has(e)||(n.add(e),j.childNodes(e).forEach(function(r){return i.push(r)}))}}function Oc(t,n,i){return t.size===0?!1:Qy(t,n)}function Qy(t,n,i){var e=j.parentNode(n);return e?t.has(e):!1}function xc(t,n){return t.size===0?!1:uh(t,n)}function uh(t,n){var i=j.parentNode(n);return i?t.has(i)?!0:uh(t,i):!1}var Kr;function e_(t){Kr=t}function t_(){Kr=void 0}var H=function(t){if(!Kr)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(Kr&&Kr(o)===!0)return;throw o}};return n},Xe=[];function Sn(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 ch(t,n){var i=new Xy;Xe.push(i),i.init(t);var e=new(Xl())(H(i.processMutations.bind(i)));return e.observe(n,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),e}function r_(t){for(var n=Xe.length-1;n>=0;n--){var i=Xe[n];i.getDoc()===t&&Xe.splice(n,1)}}function n_(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=ln(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(ln(H(function(h){var g=Sn(h),v=Bs(h)?h.changedTouches[0]:h,m=v.clientX,d=v.clientY;u||(u=Ni()),a.push({x:m,y:d,id:r.getId(g),timeOffset:Ni()-u}),c(typeof DragEvent<"u"&&T(h,DragEvent)?D.Drag:T(h,MouseEvent)?D.MouseMove:D.TouchMove)}),o,{trailing:!1})),l=[Me("mousemove",f,e),Me("touchmove",f,e),Me("drag",f,e)];return H(function(){l.forEach(function(h){return h()})})}function i_(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=Sn(h);if(!Te(g,r,o,!0)){var v=null,m=l;if("pointerType"in h){switch(h.pointerType){case"mouse":v=st.Mouse;break;case"touch":v=st.Touch;break;case"pen":v=st.Pen;break}v===st.Touch?$e[l]===$e.MouseDown?m="TouchStart":$e[l]===$e.MouseUp&&(m="TouchEnd"):st.Pen}else Bs(h)&&(v=st.Touch);v!==null?(c=v,(m.startsWith("Touch")&&v===st.Touch||m.startsWith("Mouse")&&v===st.Mouse)&&(v=null)):$e[l]===$e.Click&&(v=c,c=null);var d=Bs(h)?h.changedTouches[0]:h;if(d){var y=e.getId(g),_=d.clientX,b=d.clientY;H(n)(z({type:$e[m],id:y,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=Yt(l),g=f(l);
vendor: 4,580 bytes, line 53
53if(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(Me(h,g,i))}),H(function(){u.forEach(function(l){return l()})})}function fh(t){var n=t.scrollCb,i=t.doc,e=t.mirror,r=t.blockClass,o=t.blockSelector,s=t.sampling,a=H(ln(H(function(u){var c=Sn(u);if(!(!c||Te(c,r,o,!0))){var f=e.getId(c);if(c===i&&i.defaultView){var l=Zl(i.defaultView);n({id:f,x:l.left,y:l.top})}else n({id:f,x:c.scrollLeft,y:c.scrollTop})}}),s.scroll||100));return Me("scroll",a,i)}function o_(t,n){var i=t.viewportResizeCb,e=n.win,r=-1,o=-1,s=H(ln(H(function(){var a=Ql(),u=eh();(r!==a||o!==u)&&(i({width:Number(u),height:Number(a)}),r=a,o=u)}),200));return Me("resize",s,e)}var s_=["INPUT","TEXTAREA","SELECT"],Rc=new WeakMap;function a_(t){var n=t.inputCb,i=t.doc,e=t.mirror,r=t.blockClass,o=t.blockSelector,s=t.ignoreClass,a=t.ignoreSelector,u=t.maskInputOptions,c=t.maskInputFn,f=t.sampling,l=t.userTriggeredOnInput;function h(C){var S=Sn(C),O=C.isTrusted,k=S&&S.tagName;if(S&&k==="OPTION"&&(S=j.parentElement(S)),!(!S||!k||s_.indexOf(k)<0||Te(S,r,o,!0))&&!(S.classList.contains(s)||a&&S.matches(a))){var R=S.value,$=!1,q=Ei(S)||"";q==="radio"||q==="checkbox"?$=S.checked:(u[k.toLowerCase()]||u[q])&&(R=Ci({element:S,maskInputOptions:u,tagName:k,type:q,value:R,maskInputFn:c})),g(S,l?{text:R,isChecked:$,userTriggered:O}:{text:R,isChecked:$});var ve=S.name;q==="radio"&&ve&&$&&i.querySelectorAll('input[type="radio"][name="'+ve+'"]').forEach(function(N){if(N!==S){var G=N.value;g(N,l?{text:G,isChecked:!$,userTriggered:!1}:{text:G,isChecked:!$})}})}}function g(C,S){var O=Rc.get(C);if(!O||O.text!==S.text||O.isChecked!==S.isChecked){Rc.set(C,S);var k=e.getId(C);H(n)(z({},S,{id:k}))}}var v=f.input==="last"?["change"]:["input","change"],m=v.map(function(C){return Me(C,H(h),i)}),d=i.defaultView;if(!d)return function(){m.forEach(function(C){return C()})};var y=d.Object.getOwnPropertyDescriptor(d.HTMLInputElement.prototype,"value"),_=[[d.HTMLInputElement.prototype,"value"],[d.HTMLInputElement.prototype,"checked"],[d.HTMLSelectElement.prototype,"value"],[d.HTMLTextAreaElement.prototype,"value"],[d.HTMLSelectElement.prototype,"selectedIndex"],[d.HTMLOptionElement.prototype,"selected"]];if(y&&y.set){var b;(b=m).push.apply(b,[].concat(_.map(function(C){return go(C[0],C[1],{set:function(){H(h)({target:this,isTrusted:!1})}},!1,d)})))}return H(function(){m.forEach(function(C){return C()})})}function Li(t){var n=[];function i(e,r){if(Xn("CSSGroupingRule")&&T(e.parentRule,CSSGroupingRule)||Xn("CSSMediaRule")&&T(e.parentRule,CSSMediaRule)||Xn("CSSSupportsRule")&&T(e.parentRule,CSSSupportsRule)||Xn("CSSConditionRule")&&T(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 yt(t,n,i){var e,r;return t?(t.ownerNode?e=n.getId(t.ownerNode):r=i.getId(t),{styleId:r,id:e}):{}}function u_(t,n){var i=t.styleSheetRuleCb,e=t.mirror,r=t.stylesheetManager,o=n.win;if(!o.CSSStyleSheet||!o.CSSStyleSheet.prototype)return function(){};var s=o.CSSStyleSheet.prototype.insertRule;o.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:H(function(h,g,v){var m=v[0],d=v[1],y=yt(g,e,r.styleMirror),_=y.id,b=y.styleId;return(_&&_!==-1||b&&b!==-1)&&i({id:_,styleId:b,adds:[{rule:m,index:d}]}),h.apply(g,v)})}),o.CSSStyleSheet.prototype.addRule=function(h,g,v){v===void 0&&(v=this.cssRules.length);var m=h+" { "+g+" }";return o.CSSStyleSheet.prototype.insertRule.apply(this,[m,v])};var a=o.CSSStyleSheet.prototype.deleteRule;o.CSSStyleSheet.prototype.deleteRule=new Proxy(a,{apply:H(function(h,g,v){var m=v[0],d=yt(g,e,r.styleMirror),y=d.id,_=d.styleId;return(y&&y!==-1||_&&_!==-1)&&i({id:y,styleId:_,removes:[{index:m}]}),h.apply(g,v)})}),o.CSSStyleSheet.prototype.removeRule=function(h){return o.CSSStyleSheet.prototype.deleteRule.apply(this,[h])};var u;o.CSSStyleSheet.prototype.replace&&(u=o.CSSStyleSheet.prototype.replace,o.CSSStyleSheet.prototype.replace=new Proxy(u,{apply:H(function(h,g,v){var m=v[0],d=yt(g,e,r.styleMirror),y=d.id,_=d.styleId;return(y&&y!==-1||_&&_!==-1)&&i({id:y,styleId:_,replace:m}),h.apply(g,v)})}));var c;o.CSSStyleSheet.prototype.replaceSync&&(c=o.CSSStyleSheet.prototype.replaceSync,o.CSSStyleSheet.prototype.replaceSync=new Proxy(c,{apply:H(function(h,g,v){var m=v[0],d=yt(g,e,r.styleMirror),y=d.id,_=d.styleId;return(y&&y!==-1||_&&_!==-1)&&i({id:y,styleId:_,replaceSync:m}),h.apply(g,v)})}));var f={};
vendor: 11,529 bytes, line 53
53Zn("CSSGroupingRule")?f.CSSGroupingRule=o.CSSGroupingRule:(Zn("CSSMediaRule")&&(f.CSSMediaRule=o.CSSMediaRule),Zn("CSSConditionRule")&&(f.CSSConditionRule=o.CSSConditionRule),Zn("CSSSupportsRule")&&(f.CSSSupportsRule=o.CSSSupportsRule));var l={};return Object.entries(f).forEach(function(h){var g=h[0],v=h[1];l[g]={insertRule:v.prototype.insertRule,deleteRule:v.prototype.deleteRule},v.prototype.insertRule=new Proxy(l[g].insertRule,{apply:H(function(m,d,y){var _=y[0],b=y[1],C=yt(d.parentStyleSheet,e,r.styleMirror),S=C.id,O=C.styleId;return(S&&S!==-1||O&&O!==-1)&&i({id:S,styleId:O,adds:[{rule:_,index:[].concat(Li(d),[b||0])}]}),m.apply(d,y)})}),v.prototype.deleteRule=new Proxy(l[g].deleteRule,{apply:H(function(m,d,y){var _=y[0],b=yt(d.parentStyleSheet,e,r.styleMirror),C=b.id,S=b.styleId;return(C&&C!==-1||S&&S!==-1)&&i({id:C,styleId:S,removes:[{index:[].concat(Li(d),[_])}]}),m.apply(d,y)})})}),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 lh(t,n){var i=t.mirror,e=t.stylesheetManager,r,o,s,a=null;n.nodeName==="#document"?a=i.getId(n):a=i.getId(j.host(n));var u=n.nodeName==="#document"?(r=n.defaultView)==null?void 0:r.Document:(s=(o=n.ownerDocument)==null?void 0:o.defaultView)==null?void 0:s.ShadowRoot,c=u?.prototype?Object.getOwnPropertyDescriptor(u?.prototype,"adoptedStyleSheets"):void 0;return a===null||a===-1||!u||!c?function(){}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:function(){var l;return(l=c.get)==null?void 0:l.call(this)},set:function(l){var h,g=(h=c.set)==null?void 0:h.call(this,l);if(a!==null&&a!==-1)try{e.adoptStyleSheets(l,a)}catch{}return g}}),H(function(){Object.defineProperty(n,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})}))}function c_(t,n){var i=t.styleDeclarationCb,e=t.mirror,r=t.ignoreCSSAttributes,o=t.stylesheetManager,s=n.win,a=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:H(function(c,f,l){var h,g=l[0],v=l[1],m=l[2];if(r.has(g))return a.apply(f,[g,v,m]);var d=yt((h=f.parentRule)==null?void 0:h.parentStyleSheet,e,o.styleMirror),y=d.id,_=d.styleId;return(y&&y!==-1||_&&_!==-1)&&i({id:y,styleId:_,set:{property:g,value:v,priority:m},index:Li(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=yt((h=f.parentRule)==null?void 0:h.parentStyleSheet,e,o.styleMirror),m=v.id,d=v.styleId;return(m&&m!==-1||d&&d!==-1)&&i({id:m,styleId:d,remove:{property:g},index:Li(f.parentRule)}),c.apply(f,l)})}),H(function(){s.CSSStyleDeclaration.prototype.setProperty=a,s.CSSStyleDeclaration.prototype.removeProperty=u})}function f_(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 ln(H(function(f){var l=Sn(f);if(!(!l||Te(l,i,e,!0))){var h=l.currentTime,g=l.volume,v=l.muted,m=l.playbackRate,d=l.loop;n({type:c,id:r.getId(l),currentTime:h,volume:g,muted:v,playbackRate:m,loop:d})}}),o.media||500)}),u=[Me("play",a(dr.Play),s),Me("pause",a(dr.Pause),s),Me("seeked",a(dr.Seeked),s),Me("volumechange",a(dr.VolumeChange),s),Me("ratechange",a(dr.RateChange),s)];return H(function(){u.forEach(function(c){return c()})})}function l_(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=rr(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 h_(t){var n=t.doc,i=t.mirror,e=t.blockClass,r=t.blockSelector,o=t.selectionCb,s=!0,a=H(function(){var u=n.getSelection();if(!(!u||s&&u?.isCollapsed)){s=u.isCollapsed||!1;for(var c=[],f=u.rangeCount||0,l=0;l<f;l++){var h=u.getRangeAt(l),g=h.startContainer,v=h.startOffset,m=h.endContainer,d=h.endOffset,y=Te(g,e,r,!0)||Te(m,e,r,!0);y||c.push({start:i.getId(g),startOffset:v,end:i.getId(m),endOffset:d})}o({ranges:c})}});return a(),Me("selectionchange",a)}function p_(t){var n=t.doc,i=t.customElementCb,e=n.defaultView;if(!e||!e.customElements)return function(){};var r=rr(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 d_(t,n){var i=t.mutationCb,e=t.mousemoveCb,r=t.mouseInteractionCb,o=t.scrollCb,s=t.viewportResizeCb,a=t.inputCb,u=t.mediaInteractionCb,c=t.styleSheetRuleCb,f=t.styleDeclarationCb,l=t.canvasMutationCb,h=t.fontCb,g=t.selectionCb,v=t.customElementCb;t.mutationCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.mutation){var _;(_=n).mutation.apply(_,[].concat(d))}i.apply(void 0,[].concat(d))},t.mousemoveCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.mousemove){var _;(_=n).mousemove.apply(_,[].concat(d))}e.apply(void 0,[].concat(d))},t.mouseInteractionCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.mouseInteraction){var _;(_=n).mouseInteraction.apply(_,[].concat(d))}r.apply(void 0,[].concat(d))},t.scrollCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.scroll){var _;(_=n).scroll.apply(_,[].concat(d))}o.apply(void 0,[].concat(d))},t.viewportResizeCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.viewportResize){var _;(_=n).viewportResize.apply(_,[].concat(d))}s.apply(void 0,[].concat(d))},t.inputCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.input){var _;(_=n).input.apply(_,[].concat(d))}a.apply(void 0,[].concat(d))},t.mediaInteractionCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.mediaInteaction){var _;(_=n).mediaInteaction.apply(_,[].concat(d))}u.apply(void 0,[].concat(d))},t.styleSheetRuleCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.styleSheetRule){var _;(_=n).styleSheetRule.apply(_,[].concat(d))}c.apply(void 0,[].concat(d))},t.styleDeclarationCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.styleDeclaration){var _;(_=n).styleDeclaration.apply(_,[].concat(d))}f.apply(void 0,[].concat(d))},t.canvasMutationCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.canvasMutation){var _;(_=n).canvasMutation.apply(_,[].concat(d))}l.apply(void 0,[].concat(d))},t.fontCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.font){var _;(_=n).font.apply(_,[].concat(d))}h.apply(void 0,[].concat(d))},t.selectionCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.selection){var _;(_=n).selection.apply(_,[].concat(d))}g.apply(void 0,[].concat(d))},t.customElementCb=function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];if(n.customElement){var _;(_=n).customElement.apply(_,[].concat(d))}v.apply(void 0,[].concat(d))}}function v_(t,n){n===void 0&&(n={});var i=t.doc.defaultView;if(!i)return function(){};d_(t,n);var e;t.recordDOM&&(e=ch(t,t.doc));var r=n_(t),o=i_(t),s=fh(t),a=o_(t,{win:i}),u=a_(t),c=f_(t),f=function(){},l=function(){},h=function(){},g=function(){};t.recordDOM&&(f=u_(t,{win:i}),l=lh(t,t.doc),h=c_(t,{win:i}),t.collectFonts&&(g=l_(t)));for(var v=h_(t),m=p_(t),d=[],y=I(t.plugins),_;!(_=y()).done;){var b=_.value;d.push(b.observer(b.callback,i,b.options))}return H(function(){Xe.forEach(function(C){return C.reset()}),e?.disconnect(),r(),o(),s(),a(),u(),c(),f(),l(),h(),g(),v(),m(),d.forEach(function(C){return C()})})}function Xn(t){return typeof window[t]<"u"}function Zn(t){return!!(typeof window[t]<"u"&&window[t].prototype&&"insertRule"in window[t].prototype&&"deleteRule"in window[t].prototype)}var Ac=function(){function t(i){x(this,"iframeIdToRemoteIdMap",new WeakMap),x(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=i}var n=t.prototype;return n.getId=function(e,r,o,s){var a=o||this.getIdToRemoteIdMap(e),u=s||this.getRemoteIdToIdMap(e),c=a.get(r);return c||(c=this.generateIdFn(),a.set(r,c),u.set(c,r)),c},n.getIds=function(e,r){var o=this,s=this.getIdToRemoteIdMap(e),a=this.getRemoteIdToIdMap(e);return r.map(function(u){return o.getId(e,u,s,a)})},n.getRemoteId=function(e,r,o){var s=o||this.getRemoteIdToIdMap(e);if(typeof r!="number")return r;var a=s.get(r);return a||-1},n.getRemoteIds=function(e,r){var o=this,s=this.getRemoteIdToIdMap(e);return r.map(function(a){return o.getRemoteId(e,a,s)})},n.reset=function(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)},n.getIdToRemoteIdMap=function(e){var r=this.iframeIdToRemoteIdMap.get(e);return r||(r=new Map,this.iframeIdToRemoteIdMap.set(e,r)),r},n.getRemoteIdToIdMap=function(e){var r=this.iframeRemoteIdToIdMap.get(e);return r||(r=new Map,this.iframeRemoteIdToIdMap.set(e,r)),r},t}(),g_=function(){function t(i){x(this,"iframes",new WeakMap),x(this,"crossOriginIframeMap",new WeakMap),x(this,"crossOriginIframeMirror",new Ac($f)),x(this,"crossOriginIframeStyleMirror"),x(this,"crossOriginIframeRootIdMap",new WeakMap),x(this,"iframeContentDocumentMap",new WeakMap),x(this,"iframeObserverCleanupMap",new WeakMap),x(this,"mirror"),x(this,"mutationCb"),x(this,"wrappedEmit"),x(this,"loadListener"),x(this,"stylesheetManager"),x(this,"recordCrossOriginIframes"),this.mutationCb=i.mutationCb,this.wrappedEmit=i.wrappedEmit,this.stylesheetManager=i.stylesheetManager,this.recordCrossOriginIframes=i.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Ac(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=i.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var n=t.prototype;return n.addIframe=function(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)},n.getIframeContentDocument=function(e){return this.iframeContentDocumentMap.get(e)},n.setObserverCleanup=function(e,r){this.iframeObserverCleanupMap.set(e,r)},n.getObserverCleanup=function(e){return this.iframeObserverCleanupMap.get(e)},n.removeIframe=function(e){var r=this.iframeContentDocumentMap.get(e);r&&(this.stylesheetManager.cleanupStylesheetsForRemovedNode(r),this.mirror.removeNodeFromMap(r,!0)),this.iframes.delete(e),this.iframeContentDocumentMap.delete(e);var o=this.iframeObserverCleanupMap.get(e);if(o){try{o()}catch{}this.iframeObserverCleanupMap.delete(e)}},n.addLoadListener=function(e){this.loadListener=e},n.attachIframe=function(e,r){var o,s;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:r}],removes:[],texts:[],attributes:[],isAttachIframe:!0}
vendor: 4,734 bytes, line 53
53),e.contentDocument&&this.iframeContentDocumentMap.set(e,e.contentDocument),this.recordCrossOriginIframes&&((o=e.contentWindow)==null||o.addEventListener("message",this.handleMessage.bind(this))),(s=this.loadListener)==null||s.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))},n.handleMessage=function(e){var r=e;if(!(r.data.type!=="rrweb"||r.origin!==r.data.origin)){var o=e.source;if(o){var s=this.crossOriginIframeMap.get(e.source);if(s){var a=this.transformCrossOriginEvent(s,r.data.event);a&&this.wrappedEmit(a,r.data.isCheckout)}}}},n.transformCrossOriginEvent=function(e,r){var o=this,s;switch(r.type){case V.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(r.data.node,e);var a=r.data.node.id;return this.crossOriginIframeRootIdMap.set(e,a),this.patchRootIdOnNode(r.data.node,a),{timestamp:r.timestamp,type:V.IncrementalSnapshot,data:{source:D.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 D.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 D.Drag:case D.TouchMove:case D.MouseMove:return r.data.positions.forEach(function(u){o.replaceIds(u,e,["id"])}),r;case D.ViewportResize:return!1;case D.MediaInteraction:case D.MouseInteraction:case D.Scroll:case D.CanvasMutation:case D.Input:return this.replaceIds(r.data,e,["id"]),r;case D.StyleSheetRule:case D.StyleDeclaration:return this.replaceIds(r.data,e,["id"]),this.replaceStyleIds(r.data,e,["styleId"]),r;case D.Font:return r;case D.Selection:return r.data.ranges.forEach(function(u){o.replaceIds(u,e,["start","end"])}),r;case D.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!==ah.Document&&!e.rootId&&(e.rootId=r),"childNodes"in e&&e.childNodes.forEach(function(s){o.patchRootIdOnNode(s,r)})},t}(),m_=function(){function t(i){x(this,"shadowDoms",new WeakSet),x(this,"mutationCb"),x(this,"scrollCb"),x(this,"bypassOptions"),x(this,"mirror"),x(this,"restoreHandlers",[]),this.mutationCb=i.mutationCb,this.scrollCb=i.scrollCb,this.bypassOptions=i.bypassOptions,this.mirror=i.mirror,this.init()}var n=t.prototype;return n.init=function(){this.reset(),this.patchAttachShadow(Element,document)},n.addShadowRoot=function(e,r){var o=this;if(Hr(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var s=ch(z({},this.bypassOptions,{doc:r,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push(function(){return s.disconnect()}),this.restoreHandlers.push(fh(z({},this.bypassOptions,{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))),setTimeout(function(){e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&o.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,o.mirror.getId(j.host(e))),o.restoreHandlers.push(lh({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(rr(e.prototype,"attachShadow",function(s){return function(a){var u=s.call(this,a),c=j.shadowRoot(this);return c&&sh(this)&&o.addShadowRoot(c,r),u}}))}
vendor: 5,570 bytes, line 53
53,n.reset=function(){this.restoreHandlers.forEach(function(e){try{e()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},t}(),mr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y_=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Qn=0;Qn<mr.length;Qn++)y_[mr.charCodeAt(Qn)]=Qn;var __=function(n){var i=new Uint8Array(n),e,r=i.length,o="";for(e=0;e<r;e+=3)o+=mr[i[e]>>2],o+=mr[(i[e]&3)<<4|i[e+1]>>4],o+=mr[(i[e+1]&15)<<2|i[e+2]>>6],o+=mr[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},kc=new Map;function w_(t,n){var i=kc.get(t);return i||(i=new Map,kc.set(t,i)),i.has(n)||i.set(n,[]),i.get(n)}var hh=function(t,n,i){if(!(!t||!(dh(t,n)||(typeof t>"u"?"undefined":P(t))==="object"))){var e=t.constructor.name,r=w_(i,e),o=r.indexOf(t);return o===-1&&(o=r.length,r.push(t)),o}};function yi(t,n,i){if(T(t,Array))return t.map(function(v){return yi(v,n,i)});if(t===null)return t;if(T(t,Float32Array)||T(t,Float64Array)||T(t,Int32Array)||T(t,Uint32Array)||T(t,Uint8Array)||T(t,Uint16Array)||T(t,Int16Array)||T(t,Int8Array)||T(t,Uint8ClampedArray)){var e=t.constructor.name;return{rr_type:e,args:[Object.values(t)]}}else if(T(t,ArrayBuffer)){var r=t.constructor.name,o=__(t);return{rr_type:r,base64:o}}else if(T(t,DataView)){var s=t.constructor.name;return{rr_type:s,args:[yi(t.buffer,n,i),t.byteOffset,t.byteLength]}}else if(T(t,HTMLImageElement)){var a=t.constructor.name,u=t.src;return{rr_type:a,src:u}}else if(T(t,HTMLCanvasElement)){var c="HTMLImageElement",f=t.toDataURL();return{rr_type:c,src:f}}else if(T(t,ImageData)){var l=t.constructor.name;return{rr_type:l,args:[yi(t.data,n,i),t.width,t.height]}}else if(dh(t,n)||(typeof t>"u"?"undefined":P(t))==="object"){var h=t.constructor.name,g=hh(t,n,i);return{rr_type:h,index:g}}return t}var ph=function(t,n,i){return t.map(function(e){return yi(e,n,i)})},dh=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 T(t,n[r])})};function b_(t,n,i,e){for(var r=function(){var c=u.value;try{if(typeof n.CanvasRenderingContext2D.prototype[c]!="function")return"continue";var f=rr(n.CanvasRenderingContext2D.prototype,c,function(h){return function(){for(var g=this,v=arguments.length,m=new Array(v),d=0;d<v;d++)m[d]=arguments[d];return Te(this.canvas,i,e,!0)||setTimeout(function(){var y=ph(m,n,g);t(g.canvas,{type:Rr["2D"],property:c,args:y})},0),h.apply(this,m)}});o.push(f)}catch{var l=go(n.CanvasRenderingContext2D.prototype,c,{set:function(v){t(this.canvas,{type:Rr["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 S_(t){return t==="experimental-webgl"?"webgl":t}function Mc(t,n,i,e){var r=[];try{var o=rr(t.HTMLCanvasElement.prototype,"getContext",function(s){return function(a){for(var u=arguments.length,c=new Array(u>1?u-1:0),f=1;f<u;f++)c[f-1]=arguments[f];if(!Te(this,n,i,!0)){var l=S_(a);if("__context"in this||(this.__context=l),e&&["webgl","webgl2"].includes(l))if(c[0]&&P(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 Tc(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=rr(t,l,function(v){return function(){for(var m=arguments.length,d=new Array(m),y=0;y<m;y++)d[y]=arguments[y];var _=v.apply(this,d);if(hh(_,o,this),"tagName"in this.canvas&&!Te(this.canvas,e,r,!0)){var b=ph(d,o,this),C={type:n,property:l,args:b};i(this.canvas,C)}return _}});a.push(h)}catch{var g=go(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 C_(t,n,i,e){var r,o=[];if((r=o).push.apply(r,[].concat(Tc(n.WebGLRenderingContext.prototype,Rr.WebGL,t,i,e,n))),typeof n.WebGL2RenderingContext<"u"){var s;(s=o).push.apply(s,[].concat(Tc(n.WebGL2RenderingContext.prototype,Rr.WebGL2,t,i,e,n)))}return function(){o.forEach(function(a){return a()})}}var vh="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSA
53yKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",E_=function(t){return Uint8Array.from(atob(t),function(n){return n.charCodeAt(0)})},Pc=typeof window<"u"&&window.Blob&&new Blob([E_(vh)],{type:"text/javascript;charset=utf-8"});function I_(t){var n;try{if(n=Pc&&(window.URL||window.webkitURL).createObjectURL(Pc),!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,"+vh,{name:t?.name})}finally{n&&(window.URL||window.webkitURL).revokeObjectURL(n)}}var O_=function(){function t(i){var e=this;x(this,"pendingCanvasMutations",new Map),x(this,"rafStamps",{latestId:0,invokeId:null}),x(this,"mirror"),x(this,"mutationCb"),x(this,"resetObservers"),x(this,"frozen",!1),x(this,"locked",!1),x(this,"processMutation",function(l,h){var g=e.rafStamps.invokeId&&e.rafStamps.latestId!==e.rafStamps.invokeId;(g||!e.rafStamps.invokeId)&&(e.rafStamps.invokeId=e.rafStamps.latestId),e.pendingCanvasMutations.has(l)||e.pendingCanvasMutations.set(l,[]),e.pendingCanvasMutations.get(l).push(h)});var r=i.sampling,o=r===void 0?"all":r,s=i.win,a=i.blockClass,u=i.blockSelector,c=i.recordCanvas,f=i.dataURLOptions;this.mutationCb=i.mutationCb,this.mirror=i.mirror,c&&o==="all"&&this.initCanvasMutationObserver(s,a,u),c&&typeof o=="number"&&this.initCanvasFPSObserver(o,s,a,u,{dataURLOptions:f})}var n=t.prototype;return n.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},n.freeze=function(){this.frozen=!0},n.unfreeze=function(){this.frozen=!1},n.lock=function(){this.locked=!0},n.unlock=function(){this.locked=!1},n.initCanvasFPSObserver=function(e,r,o,s,a){var u=this,c=Mc(r,o,s,!0),f=new Map,l=new I_;l.onmessage=function(y){var _=y.data.id;if(f.set(_,!1),"base64"in y.data){var b=y.data,C=b.base64,S=b.type,O=b.width,k=b.height;u.mutationCb({id:_,type:Rr["2D"],commands:[{property:"clearRect",args:[0,0,O,k]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:C}],type:S}]},0,0]}]})}};var h=1e3/e,g=0,v,m=function(){var y=[];return r.document.querySelectorAll("canvas").forEach(function(_){Te(_,o,s,!0)||y.push(_)}),y},d=function(y){if(g&&y-g<h){v=requestAnimationFrame(d);return}g=y;var _=u;
vendor: 28,947 bytes, lines 53-70
53m().forEach(io(function(b){var C,S,O,k;return Kt(this,function(R){switch(R.label){case 0:return S=_.mirror.getId(b),f.get(S)?[2]:b.width===0||b.height===0?[2]:(f.set(S,!0),["webgl","webgl2"].includes(b.__context)&&(O=b.getContext(b.__context),((C=O?.getContextAttributes())==null?void 0:C.preserveDrawingBuffer)===!1&&O.clear(O.COLOR_BUFFER_BIT)),[4,createImageBitmap(b)]);case 1:return k=R.sent(),l.postMessage({id:S,bitmap:k,width:b.width,height:b.height,dataURLOptions:a.dataURLOptions},[k]),[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=Mc(e,r,o,!1),a=b_(this.processMutation.bind(this),e,r,o),u=C_(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=Ht(u,["type"]);return c}),a=o[0].type;this.mutationCb({id:r,type:a,commands:s}),this.pendingCanvasMutations.delete(e)}}},t}(),x_=function(){function t(i){x(this,"trackedLinkElements",new WeakSet),x(this,"mutationCb"),x(this,"adoptedStyleSheetCb"),x(this,"styleMirror",new Hy),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:Mf(g,l.href),index:v}})})),a.styleIds.push(h)};if(e.length!==0){for(var a={id:r,styleIds:[]},u=[],c=I(e),f;!(f=c()).done;)o=this,s();u.length>0&&(a.styles=u),this.adoptedStyleSheetCb(a)}},n.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},n.cleanupStylesheetsForRemovedNode=function(e){var r=this;try{if(e.nodeType===Node.DOCUMENT_NODE){var o=e;if(o.adoptedStyleSheets)for(var s=I(o.adoptedStyleSheets),a;!(a=s()).done;){var u=a.value;this.styleMirror.remove(u)}}if(e.nodeName==="STYLE"){var c=e;c.sheet&&this.styleMirror.remove(c.sheet)}if(e.nodeName==="LINK"&&e.rel==="stylesheet"){var f=e;f.sheet&&this.styleMirror.remove(f.sheet)}e.childNodes&&e.childNodes.forEach(function(l){r.cleanupStylesheetsForRemovedNode(l)})}catch{}},n.trackStylesheetInLinkElement=function(e){},t}(),R_=function(){function t(){x(this,"nodeMap",new WeakMap),x(this,"active",!1)}var n=t.prototype;return n.inOtherBuffer=function(e,r){var o=this.nodeMap.get(e);return o&&Array.from(o).some(function(s){return s!==r})},n.add=function(e,r){var o=this;this.active||(this.active=!0,requestAnimationFrame(function(){o.nodeMap=new WeakMap,o.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(r))},n.destroy=function(){},t}();function A_(t){try{var n=new URL(t).origin;return n!=="null"?n:null}catch{return null}}function k_(t){if(!Array.isArray(t)||t.length===0)throw new Error("[rrweb] allowedIframeOrigins must be a non-empty array of origin strings.");for(var n=new Set,i=0;i<t.length;i++){var e=t[i];if(typeof e!="string")throw new Error("[rrweb] allowedIframeOrigins["+i+"] must be a string, got "+(typeof e>"u"?"undefined":P(e))+".");var r=A_(e);r&&n.add(r)}return Object.freeze(n)}var ge,_i,Go,Di=!1;try{if(Array.from([1],function(t){return t*2})[0]!==2){var jo=document.createElement("iframe");document.body.appendChild(jo),Array.from=((Lu=jo.contentWindow)==null?void 0:Lu.Array.from)||Array.from,document.body.removeChild(jo)}}catch(t){console.debug("Unable to override Array.from",t)}var qe=Ad();function At(t){t===void 0&&(t={});var n=t.emit,i=t.checkoutEveryNms,e=t.checkoutEveryNth,r=t.blockClass,o=r===void 0?"rr-block":r,s=t.blockSelector,a=s===void 0?null:s,u=t.ignoreClass,c=u===void 0?"rr-ignore":u,f=t.ignoreSelector,l=f===void 0?null:f,h=t.maskTextClass,g=h===void 0?"rr-mask":h,v=t.maskTextSelector,m=v===void 0?null:v,d=t.inlineStylesheet,y=d===void 0?!0:d,_=t.maskAllInputs,b=t.maskInputOptions,C=t.slimDOMOptions,S=t.maskInputFn,O=t.maskTextFn,k=t.hooks,R=t.packFn,$=t.sampling,q=$===void 0?{}:$,ve=t.dataURLOptions,N=ve===void 0?{}:ve,G=t.mousemoveWait,de=t.recordDOM,K=de===void 0?!0:de,Le=t.recordCanvas,Pe=Le===void 0?!1:Le,xe=t.recordCrossOriginIframes,ce=xe===void 0?!1:xe,Ie=t.allowedIframeOrigins,Nt=t.recordAfter,Ve=Nt===void 0?t.recordAfter==="DOMContentLoaded"?t.recordAfter:"load":Nt,Lt=t.userTriggeredOnInput,De=Lt===void 0?!1:Lt,vt=t.collectFonts,J=vt===void 0?!1:vt,or=t.inlineImages,sr=or===void 0?!1:or,gt=t.plugins,In=t.keepIframeSrcFn,ar=In===void 0?function(){return!1}:In,On=t.ignoreCSSAttributes,xn=On===void 0?new Set([]):On,Fr=t.errorHandler;e_(Fr);var Dt;ce&&Ie&&Ie.length>0&&(Dt=k_(Ie),Dt.size===0&&(Dt=void 0));var Ft=ce?window.parent===window:!0,Ut=!1;if(!Ft)try{window.parent.document&&(Ut=!1)}catch{Ut=!0}if(Ft&&!n)throw new Error("emit function is required");if(!Ft&&!Ut)return function(){};G!==void 0&&q.mousemove===void 0&&(q.mousemove=G),qe.reset();var Bt=_===!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},zt=C===!0||C==="all"?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:C==="all",headMetaDescKeywords:C==="all",headTitleMutations:C==="all"}:C||{};Vy();var it,ur=0,Ou=function(Y){for(var ke=I(gt||[]),M;!(M=ke()).done;){var te=M.value;te.eventProcessor&&(Y=te.eventProcessor(Y))}return R&&!Ut&&(Y=R(Y)),Y};ge=function(Y,ke){var M,te=Y;if(te.timestamp=Ni(),(M=Xe[0])!=null&&M.isFrozen()&&te.type!==V.FullSnapshot&&!(te.type===V.IncrementalSnapshot&&te.data.source===D.Mutation)&&Xe.forEach(function(td){return td.unfreeze()}),Ft)n?.(Ou(te),ke);else if(Ut){var Gt={type:"rrweb",event:Ou(te),origin:window.location.origin,isCheckout:ke};if(Dt)for(var ko=I(Dt),Tu;!(Tu=ko()).done;){var Zp=Tu.value;window.parent.postMessage(Gt,Zp)}else window.parent.postMessage(Gt,"*")}if(te.type===V.FullSnapshot)it=te,ur=0;else if(te.type===V.IncrementalSnapshot){if(te.data.source===D.Mutation&&te.data.isAttachIframe)return;ur++;var Qp=e&&ur>=e,ed=i&&te.timestamp-it.timestamp>i;(Qp||ed)&&_i(!0)}};for(var Rn=function(Y){ge({type:V.IncrementalSnapshot,data:z({source:D.Mutation},Y)})},xu=function(Y){return ge({type:V.IncrementalSnapshot,data:z({source:D.Scroll},Y)})},Ru=function(Y){return ge({type:V.IncrementalSnapshot,data:z({source:D.CanvasMutation},Y)})},Jp=function(Y){return ge({type:V.IncrementalSnapshot,data:z({source:D.AdoptedStyleSheet},Y)})},qt=new x_({mutationCb:Rn,adoptedStyleSheetCb:Jp}),ot=new g_({mirror:qe,mutationCb:Rn,stylesheetManager:qt,recordCrossOriginIframes:ce,wrappedEmit:ge}),Xp=I(gt||[]),Au;!(Au=Xp()).done;){var ku=Au.value;ku.getMirror&&ku.getMirror({nodeMirror:qe,crossOriginIframeMirror:ot.crossOriginIframeMirror,crossOriginIframeStyleMirror:ot.crossOriginIframeStyleMirror})}var Ro=new R_;Go=new O_({recordCanvas:Pe,mutationCb:Ru,win:window,blockClass:o,blockSelector:a,mirror:qe,sampling:q.canvas,dataURLOptions:N});var An=new m_({mutationCb:Rn,scrollCb:xu,bypassOptions:{blockClass:o,blockSelector:a,maskTextClass:g,maskTextSelector:m,inlineStylesheet:y,maskInputOptions:Bt,dataURLOptions:N,maskTextFn:O,maskInputFn:S,recordCanvas:Pe,inlineImages:sr,sampling:q,slimDOMOptions:zt,iframeManager:ot,stylesheetManager:qt,canvasManager:Go,keepIframeSrcFn:ar,processedNodeManager:Ro},mirror:qe});_i=function(Y){if(Y===void 0&&(Y=!1),!!K){ge({type:V.Meta,data:{href:window.location.href,width:eh(),height:Ql()}},Y),qt.reset(),An.init(),Xe.forEach(function(M){return M.lock()});var ke=Qd(document,{mirror:qe,blockClass:o,blockSelector:a,maskTextClass:g,maskTextSelector:m,inlineStylesheet:y,maskAllInputs:Bt,maskTextFn:O,maskInputFn:S,slimDOM:zt,dataURLOptions:N,recordCanvas:Pe,inlineImages:sr,onSerialize:function(M){nh(M,qe)&&ot.addIframe(M),ih(M,qe)&&qt.trackLinkElement(M),zs(M)&&An.addShadowRoot(j.shadowRoot(M),document)},onIframeLoad:function(M,te){ot.attachIframe(M,te),An.observeAttachShadow(M)},onStylesheetLoad:function(M,te){qt.attachLinkElement(M,te)},keepIframeSrcFn:ar});if(!ke)return console.warn("Failed to snapshot the document");ge({type:V.FullSnapshot,data:{node:ke,initialOffset:Zl(window)}},Y),Xe.forEach(function(M){return M.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&qt.adoptStyleSheets(document.adoptedStyleSheets,qe.getId(document))}};try{var Wt=[],Mu=function(Y){var ke;return H(v_)({mutationCb:Rn,mousemoveCb:function(M,te){return ge({type:V.IncrementalSnapshot,data:{source:te,positions:M}})},mouseInteractionCb:function(M){return ge({type:V.IncrementalSnapshot,data:z({source:D.MouseInteraction},M)})},scrollCb:xu,viewportResizeCb:function(M){return ge({type:V.IncrementalSnapshot,data:z({source:D.ViewportResize},M)})},inputCb:function(M){return ge({type:V.IncrementalSnapshot,data:z({source:D.Input},M)})},mediaInteractionCb:function(M){return ge({type:V.IncrementalSnapshot,data:z({source:D.MediaInteraction},M)})},styleSheetRuleCb:function(M){return ge({type:V.IncrementalSnapshot,data:z({source:D.StyleSheetRule},M)})},styleDeclarationCb:function(M){return ge({type:V.IncrementalSnapshot,data:z({source:D.StyleDeclaration},M)})},canvasMutationCb:Ru,fontCb:function(M){return ge({type:V.IncrementalSnapshot,data:z({source:D.Font},M)})},selectionCb:function(M){ge({type:V.IncrementalSnapshot,data:z({source:D.Selection},M)})},customElementCb:function(M){ge({type:V.IncrementalSnapshot,data:z({source:D.CustomElement},M)})},blockClass:o,ignoreClass:c,ignoreSelector:l,maskTextClass:g,maskTextSelector:m,maskInputOptions:Bt,inlineStylesheet:y,sampling:q,recordDOM:K,recordCanvas:Pe,inlineImages:sr,userTriggeredOnInput:De,collectFonts:J,doc:Y,maskInputFn:S,maskTextFn:O,keepIframeSrcFn:ar,blockSelector:a,slimDOMOptions:zt,dataURLOptions:N,mirror:qe,iframeManager:ot,stylesheetManager:qt,shadowDomManager:An,processedNodeManager:Ro,canvasManager:Go,ignoreCSSAttributes:xn,plugins:((ke=gt?.filter(function(M){return M.observer}))==null?void 0:ke.map(function(M){return{observer:M.observer,options:M.options,callback:function(te){return ge({type:V.Plugin,data:{plugin:M.name,payload:te}})}}}))||[]},k)};ot.addLoadListener(function(Y){try{var ke=Y.contentDocument,M=Mu(ke);Wt.push(M);var te=ot.getObserverCleanup(Y);ot.setObserverCleanup(Y,function(){if(te)try{te()}catch{}try{M();var Gt=Wt.indexOf(M);Gt!==-1&&Wt.splice(Gt,1),r_(ke)}catch{}})}catch(Gt){console.warn(Gt)}});var Ao=function(){_i(),Wt.push(Mu(document)),Di=!0};return document.readyState==="interactive"||document.readyState==="complete"?Ao():(Wt.push(Me("DOMContentLoaded",function(){ge({type:V.DomContentLoaded,data:{}}),Ve==="DOMContentLoaded"&&Ao()})),Wt.push(Me("load",function(){ge({type:V.Load,data:{}}),Ve==="load"&&Ao()},window))),function(){Wt.forEach(function(Y){try{Y()}catch(M){var ke=String(M).toLowerCase();ke.includes("cross-origin")||console.warn(M)}}),Ro.destroy(),Di=!1,t_()}}catch(Y){console.warn(Y)}}At.addCustomEvent=function(t,n){if(!Di)throw new Error("please add custom event after start recording");ge({type:V.Custom,data:{tag:t,payload:n}})};At.freezePage=function(){Xe.forEach(function(t){return t.freeze()})};At.takeFullSnapshot=function(t){if(!Di)throw new Error("please take full snapshot after start recording");_i(t)};At.mirror=qe;var $c;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})($c||($c={}));At.addCustomEvent;At.freezePage;At.takeFullSnapshot;var Nc={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Lc={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},ei={},M_=function(){return!!globalThis.Zone};function Ha(t){if(ei[t])return ei[t];var n=globalThis[t],i=n.prototype,e=t in Nc?Nc[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 Lc?Lc[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&&!M_())return ei[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?ei[t]=c:i}catch{return i}}var Vo={};function kt(t,n,i){var e,r=t+"."+String(i);if(Vo[r])return Vo[r].call(n);var o=Ha(t),s=(e=Object.getOwnPropertyDescriptor(o,i))==null?void 0:e.get;return s?(Vo[r]=s,s.call(n)):n[i]}var Ho={};function gh(t,n,i){var e=t+"."+String(i);if(Ho[e])return Ho[e].bind(n);var r=Ha(t),o=r[i];return typeof o!="function"?n[i]:(Ho[e]=o,o.bind(n))}function T_(t){return kt("Node",t,"childNodes")}function P_(t){return kt("Node",t,"parentNode")}function $_(t){return kt("Node",t,"parentElement")}function N_(t){return kt("Node",t,"textContent")}function L_(t,n){return gh("Node",t,"contains")(n)}function D_(t){return gh("Node",t,"getRootNode")()}function F_(t){return!t||!("host"in t)?null:kt("ShadowRoot",t,"host")}function U_(t){return t.styleSheets}function B_(t){return!t||!("shadowRoot"in t)?null:kt("Element",t,"shadowRoot")}function z_(t,n){return kt("Element",t,"querySelector")(n)}function q_(t,n){return kt("Element",t,"querySelectorAll")(n)}function W_(){return Ha("MutationObserver").constructor}function G_(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 Dc={childNodes:T_,parentNode:P_,parentElement:$_,textContent:N_,contains:L_,getRootNode:D_,host:F_,styleSheets:U_,shadowRoot:B_,querySelector:z_,querySelectorAll:q_,mutationObserver:W_,patch:G_};function Ws(t,n,i){if(!t)return!1;if(t.nodeType!==t.ELEMENT_NODE)return Ws(Dc.parentNode(t),n);for(var e=t.classList.length;e--;){var r=t.classList[e];if(n.test(r))return!0}return Ws(Dc.parentNode(t),n)}function j_(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function V_(t){if(t.__esModule)return t;var n=t.default;if(typeof n=="function"){var i=function e(){return T(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 Ka={exports:{}},se=String,mh=function(){return{isColorSupported:!1,reset:se,bold:se,dim:se,italic:se,underline:se,inverse:se,hidden:se,strikethrough:se,black:se,red:se,green:se,yellow:se,blue:se,magenta:se,cyan:se,white:se,gray:se,bgBlack:se,bgRed:se,bgGreen:se,bgYellow:se,bgBlue:se,bgMagenta:se,bgCyan:se,bgWhite:se}};Ka.exports=mh();Ka.exports.createColors=mh;var H_=Ka.exports,K_={},Y_=Object.freeze(Object.defineProperty({__proto__:null,default:K_},Symbol.toStringTag,{value:"Module"})),we=V_(Y_),Fc=H_,Uc=we,Gs=function(t){fe(n,t);function n(e,r,o,s,a,u){var c;return c=t.call(this,e)||this,c.name="CssSyntaxError",c.reason=e,a&&(c.file=a),s&&(c.source=s),u&&(c.plugin=u),typeof r<"u"&&typeof o<"u"&&(typeof r=="number"?(c.line=r,c.column=o):(c.line=r.line,c.column=r.column,c.endLine=o.line,c.endColumn=o.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,n),c}var i=n.prototype;return i.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},i.showSourceCode=function(r){var o=this;if(!this.source)return"";var s=this.source;r==null&&(r=Fc.isColorSupported),Uc&&r&&(s=Uc(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=Fc.createColors(!0),v=g.bold,m=g.gray,d=g.red;l=function(y){return v(d(y))},h=function(y){return m(y)}}else l=h=function(y){return y};return a.slice(u,c).map(function(y,_){var b=u+1+_,C=" "+(" "+b).slice(-f)+" | ";if(b===o.line){var S=h(C.replace(/\d/g," "))+y.slice(0,o.column-1).replace(/[^\t]/g," ");return l(">")+h(C)+y+`
54 `+S+l("^")}return" "+h(C)+y}).join(`
55`)},i.toString=function(){var r=this.showSourceCode();return r&&(r=`
56
57`+r+`
58`),this.name+": "+this.message+r},n}(en(Error)),Ya=Gs;Gs.default=Gs;var Mt={};Mt.isClean=Symbol("isClean");Mt.my=Symbol("my");var Bc={after:`
59`,beforeClose:`
60`,beforeComment:`
61`,beforeDecl:`
62`,beforeOpen:" ",beforeRule:`
63`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};function J_(t){return t[0].toUpperCase()+t.slice(1)}var js=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 Bc[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"+J_(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=Bc[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}(),yh=js;js.default=js;var X_=yh;function Vs(t,n){var i=new X_(n);i.stringify(t)}var mo=Vs;Vs.default=Vs;var ti=Mt.isClean,Z_=Mt.my,Q_=Ya,ew=yh,tw=mo;function Hs(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":P(r);e==="parent"&&o==="object"?n&&(i[e]=n):e==="source"?i[e]=r:Array.isArray(r)?i[e]=r.map(function(s){return Hs(s,i)}):(o==="object"&&r!==null&&(r=Hs(r)),i[e]=r)}return i}var Ks=function(){function t(i){i===void 0&&(i={}),this.raws={},this[ti]=!1,this[Z_]=!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=Hs(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 Q_(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[ti]){this[ti]=!1;for(var e=this;e=e.parent;)e[ti]=!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 ew;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":P(l))==="object"&&l.toJSON?l.toJSON(null,r):l});else if((typeof c>"u"?"undefined":P(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=tw),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)},ue(t,[{key:"proxyOf",get:function(){return this}}]),t}(),yo=Ks;Ks.default=Ks;var rw=yo,Ys=function(t){fe(n,t);function n(i){var e;return i&&typeof i.value<"u"&&typeof i.value!="string"&&(i=z({},i,{value:String(i.value)})),e=t.call(this,i)||this,e.type="decl",e}return ue(n,[{key:"variable",get:function(){return this.prop.startsWith("--")||this.prop[0]==="$"}}]),n}(rw),_o=Ys;Ys.default=Ys;var nw="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",iw=function(t){t===void 0&&(t=21);for(var n="",i=t;i--;)n+=nw[Math.random()*64|0];return n},ow={nanoid:iw},zc=we.SourceMapConsumer,qc=we.SourceMapGenerator,sw=we.existsSync,aw=we.readFileSync,Ko=we.dirname,uw=we.join;function cw(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var Js=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=Ko(this.mapFile)),o&&(this.text=o)}}var n=t.prototype;return n.consumer=function(){return this.consumerCache||(this.consumerCache=new zc(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 cw(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":P(e))!=="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)},n.loadAnnotation=function(e){var r=e.match(/\/\*\s*# sourceMappingURL=/gm);
vendor: 1,187 bytes, line 70
70if(r){var o=e.lastIndexOf(r.pop()),s=e.indexOf("*/",o);o>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(o,s)))}},n.loadFile=function(e){if(this.root=Ko(e),sw(e))return this.mapFile=e,aw(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(T(r,zc))return qc.fromSourceMap(r).toString();if(T(r,qc))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=uw(Ko(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}(),_h=Js;Js.default=Js;var fw=we.SourceMapConsumer,lw=we.SourceMapGenerator,Wc=we.fileURLToPath,ri=we.pathToFileURL,Xs=we.isAbsolute,Zs=we.resolve,hw=ow.nanoid,Yo=we,Gc=Ya,pw=_h,Jo=Symbol("fromOffsetCac
70he"),dw=!!(fw&&lw),jc=!!(Zs&&Xs),Fi=function(){function t(i,e){if(e===void 0&&(e={}),i===null||typeof i>"u"||(typeof i>"u"?"undefined":P(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&&(!jc||/^\w+:\/\//.test(e.from)||Xs(e.from)?this.file=e.from:this.file=Zs(e.from)),jc&&dw){var r=new pw(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 "+hw(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":P(r))==="object"){var f=r,l=o;if(typeof f.offset=="number"){var h=this.fromOffset(f.offset);r=h.line,o=h.col}else r=f.line,o=f.column;if(typeof l.offset=="number"){var g=this.fromOffset(l.offset);u=g.line,c=g.col}else u=l.line,c=l.column}else if(!o){var v=this.fromOffset(r);r=v.line,o=v.col}var m=this.origin(r,o,u,c);return m?a=new Gc(e,m.endLine===void 0?m.line:{column:m.column,line:m.line},m.endLine===void 0?m.column:{column:m.endColumn,line:m.endLine},m.source,m.file,s.plugin):a=new Gc(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&&(ri&&(a.input.url=ri(this.file).toString()),a.input.file=this.file),a},n.fromOffset=function(e){var r,o;if(this[Jo])o=this[Jo];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[Jo]=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:Zs(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;Xs(u.source)?f=ri(u.source):f=new URL(u.source,this.map.consumer().sourceRoot||ri(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(Wc)l.file=Wc(f);else throw new Error("file: protocol is not available in this PostCSS build");var h=a.sourceContentFor(u.source);return h&&(l.source=h),l},n.toJSON=function(){for(var e={},r=0,o=["hasBOM","css","file","id"];r<o.length;r++){var s=o[r];this[s]!=null&&(e[s]=this[s])}return this.map&&(e.map=z({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},ue(t,[{key:"from",get:function(){return this.file||this.id}}]),t}(),wo=Fi;Fi.default=Fi;Yo&&Yo.registerInput&&Yo.registerInput(Fi);var wh=we.SourceMapConsumer,wi=we.SourceMapGenerator,bi=we.dirname,bh=we.relative,Sh=we.resolve,Ch=we.sep,Vc=we.pathToFileURL,vw=wo,gw=!!(wh&&wi),mw=!!(bi&&Sh&&bh&&Ch),yw=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||bi(o.file),u=void 0;this.mapOpts.sourcesContent===!1?(u=new wh(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(),mw&&gw&&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=wi.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new wi({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 wi({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?bi(this.opts.to):".";
vendor: 4,110 bytes, line 75
75typeof this.mapOpts.annotation=="string"&&(o=bi(Sh(o,this.mapOpts.annotation)));var s=bh(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 vw(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(Vc){var o=Vc(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;Ch==="\\"&&(e=e.replace(/\\/g,"/"));var o=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,o),o},t}(),Eh=yw,_w=yo,Qs=function(t){fe(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="comment",e}return n}(_w),bo=Qs;Qs.default=Qs;var Ih=Mt.isClean,Oh=Mt.my,xh=_o,Rh=bo,ww=yo,Ah,Ja,Xa,kh;function Mh(t){return t.map(function(n){return n.nodes&&(n.nodes=Mh(n.nodes)),delete n.source,n})}function Th(t){if(t[Ih]=!1,t.proxyOf.nodes)for(var n=I(t.proxyOf.nodes),i;!(i=n()).done;){var e=i.value;Th(e)}}var lt=function(t){fe(n,t);function n(){return t.apply(this,arguments)||this}var i=n.prototype;return i.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];for(var a=I(o),u;!(u=a()).done;)for(var c=u.value,f=this.normalize(c,this.last),l=I(f),h;!(h=l()).done;){var g=h.value;this.proxyOf.nodes.push(g)}return this.markDirty(),this},i.cleanRaws=function(r){if(t.prototype.cleanRaws.call(this,r),this.nodes)for(var o=I(this.nodes),s;!(s=o()).done;){var a=s.value;a.cleanRaws(r)}},i.each=function(r){if(this.proxyOf.nodes){for(var o=this.getIterator(),s,a;this.indexes[o]<this.proxyOf.nodes.length&&(s=this.indexes[o],a=r(this.proxyOf.nodes[s],s),a!==!1);)this.indexes[o]+=1;return delete this.indexes[o],a}},i.every=function(r){return this.nodes.every(r)},i.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var r=this.lastEach;return this.indexes[r]=0,r},i.getProxyProcessor=function(){return{get:function(o,s){return s==="proxyOf"?o:o[s]?s==="each"||typeof s=="string"&&s.startsWith("walk")?function(){for(var a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];var f;return(f=o)[s].apply(f,[].concat(u.map(function(l){return typeof l=="function"?function(h,g){return l(h.toProxy(),g)}:l})))}:s==="every"||s==="some"?function(a){return o[s](function(u){for(var c=arguments.length,f=new Array(c>1?c-1:0),l=1;l<c;l++)f[l-1]=arguments[l];return a.apply(void 0,[].concat([u.toProxy()],f))})}:s==="root"?function(){return o.root().toProxy()}:s==="nodes"?o.nodes.map(function(a){return a.toProxy()}):s==="first"||s==="last"?o[s].toProxy():o[s]:o[s]},set:function(o,s,a){return o[s]===a||(o[s]=a,(s==="name"||s==="params"||s==="selector")&&o.markDirty()),!0}}},i.index=function(r){return typeof r=="number"?r:(r.proxyOf&&(r=r.proxyOf),this.proxyOf.nodes.indexOf(r))},i.insertAfter=function(r,o){var s=this.index(r),a=this.normalize(o,this.proxyOf.nodes[s]).reverse();s=this.index(r);for(var u=I(a),c;!(c=u()).done;){var f=c.value;this.proxyOf.nodes.splice(s+1,0,f)}var l;for(var h in this.indexes)l=this.indexes[h],s<l&&(this.indexes[h
vendor: 15,542 bytes, lines 75-76
75]=l+a.length);return this.markDirty(),this},i.insertBefore=function(r,o){var s=this.index(r),a=s===0?"prepend":!1,u=this.normalize(o,this.proxyOf.nodes[s],a).reverse();s=this.index(r);for(var c=I(u),f;!(f=c()).done;){var l=f.value;this.proxyOf.nodes.splice(s,0,l)}var h;for(var g in this.indexes)h=this.indexes[g],s<=h&&(this.indexes[g]=h+u.length);return this.markDirty(),this},i.normalize=function(r,o){var s=this;if(typeof r=="string")r=Mh(Ah(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 xh(r)]}else if(r.selector)r=[new Ja(r)];else if(r.name)r=[new Xa(r)];else if(r.text)r=[new Rh(r)];else throw new Error("Unknown node type in node creation");var g=r.map(function(v){return v[Oh]||n.rebuild(v),v=v.proxyOf,v.parent&&v.parent.removeChild(v),v[Ih]&&Th(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?T(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?T(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?T(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)}))},ue(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}(ww);lt.registerParse=function(t){Ah=t};lt.registerRule=function(t){Ja=t};lt.registerAtRule=function(t){Xa=t};lt.registerRoot=function(t){kh=t};var nr=lt;lt.default=lt;lt.rebuild=function(t){t.type==="atrule"?Object.setPrototypeOf(t,Xa.prototype):t.type==="rule"?Object.setPrototypeOf(t,Ja.prototype):t.type==="decl"?Object.setPrototypeOf(t,xh.prototype):t.type==="comment"?Object.setPrototypeOf(t,Rh.prototype):t.type==="root"&&Object.setPrototypeOf(t,kh.prototype),t[Oh]=!0,t.nodes&&t.nodes.forEach(function(n){lt.rebuild(n)})};var bw=nr,Ph,$h,hn=function(t){fe(n,t);function n(e){var r;return r=t.call(this,z({type:"document"},e))||this,r.nodes||(r.nodes=[]),r}var i=n.prototype;return i.toResult=function(r){r===void 0&&(r={});var o=new Ph(new $h,this,r);return o.stringify()},n}(bw);hn.registerLazyResult=function(t){Ph=t};hn.registerProcessor=function(t){$h=t};var Za=hn;hn.default=hn;var ea=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}(),Nh=ea;ea.default=ea;var Sw=Nh,ta=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 Sw(e,r);return this.messages.push(o),o},n.warnings=function(){return this.messages.filter(function(e){return e.type==="warning"})},ue(t,[{key:"content",get:function(){return this.css}}]),t}(),Qa=ta;ta.default=ta;var Xo=39,Hc=34,ni=92,Kc=47,ii=10,Wr=32,oi=12,si=9,ai=13,Cw=91,Ew=93,Iw=40,Ow=41,xw=123,Rw=125,Aw=59,kw=42,Mw=58,Tw=64,ui=/[\t\n\f\r "#'()/;[\\\]{}]/g,ci=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Pw=/.[\r\n"'(/\\]/,Yc=/[\da-f]/i,$w=function(n,i){i===void 0&&(i={});var e=n.css.valueOf(),r=i.ignoreErrors,o,s,a,u,c,f,l,h,g,v,m=e.length,d=0,y=[],_=[];function b(){return d}function C(R){throw n.error("Unclosed "+R,d)}function S(){return _.length===0&&d>=m}function O(R){if(_.length)return _.pop();if(!(d>=m)){var $=R?R.ignoreUnclosed:!1;switch(o=e.charCodeAt(d),o){case ii:case Wr:case si:case ai:case oi:{s=d;do s+=1,o=e.charCodeAt(s);while(o===Wr||o===ii||o===si||o===ai||o===oi);v=["space",e.slice(d,s)],d=s-1;break}case Cw:case Ew:case xw:case Rw:case Mw:case Aw:case Ow:{var q=String.fromCharCode(o);v=[q,q,d];break}case Iw:{if(h=y.length?y.pop()[1]:"",g=e.charCodeAt(d+1),h==="url"&&g!==Xo&&g!==Hc&&g!==Wr&&g!==ii&&g!==si&&g!==oi&&g!==ai){s=d;do{if(f=!1,s=e.indexOf(")",s+1),s===-1)if(r||$){s=d;break}else C("bracket");for(l=s;e.charCodeAt(l-1)===ni;)l-=1,f=!f}while(f);v=["brackets",e.slice(d,s+1),d,s],d=s}else s=e.indexOf(")",d+1),u=e.slice(d,s+1),s===-1||Pw.test(u)?v=["(","(",d]:(v=["brackets",u,d,s],d=s);break}case Xo:case Hc:{a=o===Xo?"'":'"',s=d;do{if(f=!1,s=e.indexOf(a,s+1),s===-1)if(r||$){s=d+1;break}else C("string");for(l=s;e.charCodeAt(l-1)===ni;)l-=1,f=!f}while(f);v=["string",e.slice(d,s+1),d,s],d=s;break}case Tw:{ui.lastIndex=d+1,ui.test(e),ui.lastIndex===0?s=e.length-1:s=ui.lastIndex-2,v=["at-word",e.slice(d,s+1),d,s],d=s;break}case ni:{for(s=d,c=!0;e.charCodeAt(s+1)===ni;)s+=1,c=!c;if(o=e.charCodeAt(s+1),c&&o!==Kc&&o!==Wr&&o!==ii&&o!==si&&o!==ai&&o!==oi&&(s+=1,Yc.test(e.charAt(s)))){for(;Yc.test(e.charAt(s+1));)s+=1;e.charCodeAt(s+1)===Wr&&(s+=1)}v=["word",e.slice(d,s+1),d,s],d=s;break}default:{o===Kc&&e.charCodeAt(d+1)===kw?(s=e.indexOf("*/",d+2)+1,s===0&&(r||$?s=e.length:C("comment")),v=["comment",e.slice(d,s+1),d,s],d=s):(ci.lastIndex=d+1,ci.test(e),ci.lastIndex===0?s=e.length-1:s=ci.lastIndex-2,v=["word",e.slice(d,s+1),d,s],y.push(v),d=s);break}}return d++,v}}function k(R){_.push(R)}return{back:k,endOfFile:S,nextToken:O,position:b}},Lh=nr,Ui=function(t){fe(n,t);function n(e){var r;return r=t.call(this,e)||this,r.type="atrule",r}var i=n.prototype;return i.append=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.append).call.apply(a,[].concat([this],o))},i.prepend=function(){for(var r=arguments.length,o=new Array(r),s=0;s<r;s++)o[s]=arguments[s];var a;return this.proxyOf.nodes||(this.nodes=[]),(a=t.prototype.prepend).call.apply(a,[].concat([this],o))},n}(Lh),eu=Ui;Ui.default=Ui;Lh.registerAtRule(Ui);var Dh=nr,Fh,Uh,Ar=function(t){fe(n,t);function n(e){var r;return r=t.call(this,e)||this,r.type="root",r.nodes||(r.nodes=[]),r}var i=n.prototype;return i.normalize=function(r,o,s){var a=t.prototype.normalize.call(this,r);if(o){if(s==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(var u=I(a),c;!(c=u()).done;){var f=c.value;f.raws.before=o.raws.before}}return a},i.removeChild=function(r,o){var s=this.index(r);return!o&&s===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),t.prototype.removeChild.call(this,r)},i.toResult=function(r){r===void 0&&(r={});var o=new Fh(new Uh,this,r);return o.stringify()},n}(Dh);Ar.registerLazyResult=function(t){Fh=t};Ar.registerProcessor=function(t){Uh=t};var Cn=Ar;Ar.default=Ar;Dh.registerRoot(Ar);var pn={comma:function(n){return pn.split(n,[","],!0)},space:function(n){var i=[" ",`
76`,"	"];return pn.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}},Bh=pn;pn.default=pn;var zh=nr,Nw=Bh,Bi=function(t){fe(n,t);function n(i){var e;return e=t.call(this,i)||this,e.type="rule",e.nodes||(e.nodes=[]),e}return ue(n,[{key:"selectors",get:function(){return Nw.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}(zh),tu=Bi;Bi.default=Bi;zh.registerRule(Bi);var Lw=_o,Dw=$w,Fw=bo,Uw=eu,Bw=Cn,Jc=tu,Xc={empty:!0,space:!0};function zw(t){for(var n=t.length-1;n>=0;n--){var i=t[n],e=i[3]||i[2];if(e)return e}}var qw=function(){function t(i){this.input=i,this.root=new Bw,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 Uw;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 Fw;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=Dw(this.input)},n.decl=function(e,r){var o=new Lw;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]||zw(e)),o.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),o.raws.before+=e.shift()[1];for(o.source.start=this.getPosition(e[0][2]),o.prop="";e.length;){var a=e[0][0];if(a===":"||a==="space"||a==="comment")break;o.prop+=e.shift()[1]}o.raws.between="";for(var u;e.length;)if(u=e.shift(),u[0]===":"){o.raws.between+=u[1];break}else u[0]==="word"&&/\w/.test(u[1])&&this.unknownWord([u]),o.raws.between+=u[1];(o.prop[0]==="_"||o.prop[0]==="*")&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1));for(var c=[],f;e.length&&(f=e[0][0],!(f!=="space"&&f!=="comment"));)c.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if(u=e[l],u[1].toLowerCase()==="!important"){o.important=!0;var h=this.stringFrom(e,l);h=this.spacesFromEnd(e)+h,h!==" !important"&&(o.raws.important=h);break}else if(u[1].toLowerCase()==="important"){for(var g=e.slice(0),v="",m=l;m>0;m--){var d=g[m][0];if(v.trim().indexOf("!")===0&&d!=="space")break;v=g.pop()[1]+v}v.trim().indexOf("!")===0&&(o.important=!0,o.raws.important=v,e=g)}if(u[0]!=="space"&&u[0]!=="comment")break}var y=e.some(function(_){return _[0]!=="space"&&_[0]!=="comment"});y&&(o.raws.between+=c.map(function(_){return _[1]}).join(""),c=[]),this.raw(o,"value",c.concat(e),r),o.value.includes(":")&&!r&&this.checkMissedSemicolon(e)},n.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},n.emptyRule=function(e){var r=new Jc;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r},n.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},n.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},n.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}},n.getPosition=function(e){var r=this.input.fromOffset(e);return{column:r.col,line:r.line,offset:e}},n.init=function(e,r){this.current.push(e),e.source={input:this.input,start:this.getPosition(r)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)},n.other=function(e){for(var r=!1,o=null,s=!1,a=null,u=[],c=e[1].startsWith("--"),f=[],l=e;l;){if(o=l[0],f.push(l),o==="("||o==="[")a||(a=l),u.push(o==="("?")":"]");else if(c&&s&&o==="{")a||(a=l),u.push("}");else if(u.length===0)if(o===";")if(s){this.decl(f,c);return}else break;else if(o==="{"){this.rule(f);return}else if(o==="}"){this.tokenizer.back(f.pop()),r=!0;break}else o===":"&&(s=!0);else o===u[u.length-1]&&(u.pop(),u.length===0&&(a=null));l=this.tokenizer.nextToken()}
vendor: 1,804 bytes, line 76
76if(this.tokenizer.endOfFile()&&(r=!0),u.length>0&&this.unclosedBracket(a),r&&s){if(!c)for(;f.length&&(l=f[f.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(f.pop());this.decl(f,c)}else this.unknownWord(f)},n.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()},n.precheckMissedSemicolon=function(){},n.raw=function(e,r,o,s){for(var a,u,c=o.length,f="",l=!0,h,g,v=0;v<c;v+=1)a=o[v],u=a[0],u==="space"&&v===c-1&&!s?l=!1:u==="comment"?(g=o[v-1]?o[v-1][0]:"empty",h=o[v+1]?o[v+1][0]:"empty",!Xc[g]&&!Xc[h]?f.slice(-1)===","?l=!1:f+=a[1]:l=!1):f+=a[1];if(!l){var m=o.reduce(function(d,y){return d+y[1]},"");e.raws[r]={raw:m,value:f}}e[r]=f},n.rule=function(e){e.pop();var r=new Jc;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r},n.spacesAndCommentsFromEnd=function(e){for(var r,o="";e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)o=e.pop()[1]+o;return o},n.spacesAndCommentsFromStart=function(e){for(var r,o="";e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)o+=e.shift()[1];return o},n.spacesFromEnd=function(e){for(var r,o="";e.length&&(r=e[e.length-1][0],r==="space");)o=e.pop()[1]+o;return o},n.stringFrom=function(e,r){for(var o="",s=r;s<e.length;s++)o+=e[s][1];return e.splice(r,e.length-r),o},n.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},n.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}
vendor: 6,744 bytes, line 76
76,n.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},n.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},n.unnamedAtrule=function(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})},t}(),Ww=qw,Gw=nr,jw=Ww,Vw=wo;function zi(t,n){var i=new Vw(t,n),e=new jw(i);try{e.parse()}catch(r){throw r}return e.root}var ru=zi;zi.default=zi;Gw.registerParse(zi);var Ye=Mt.isClean,Hw=Mt.my,Kw=Eh,Yw=mo,Jw=nr,Xw=Za,Zc=Qa,Zw=ru,Qw=Cn,eb={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},tb={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},rb={Once:!0,postcssPlugin:!0,prepare:!0},kr=0;function Gr(t){return(typeof t>"u"?"undefined":P(t))==="object"&&typeof t.then=="function"}function qh(t){var n=!1,i=eb[t.type];return t.type==="decl"?n=t.prop.toLowerCase():t.type==="atrule"&&(n=t.name.toLowerCase()),n&&t.append?[i,i+"-"+n,kr,i+"Exit",i+"Exit-"+n]:n?[i,i+"-"+n,i+"Exit",i+"Exit-"+n]:t.append?[i,kr,i+"Exit"]:[i,i+"Exit"]}function Qc(t){var n;return t.type==="document"?n=["Document",kr,"DocumentExit"]:t.type==="root"?n=["Root",kr,"RootExit"]:n=qh(t),{eventIndex:0,events:n,iterator:0,node:t,visitorIndex:0,visitors:[]}}function ra(t){return t[Ye]=!1,t.nodes&&t.nodes.forEach(function(n){return ra(n)}),t}var na={},Mr=function(){function t(i,e,r){var o=this;this.stringified=!1,this.processed=!1;var s;if((typeof e>"u"?"undefined":P(e))==="object"&&e!==null&&(e.type==="root"||e.type==="document"))s=ra(e);else if(T(e,t)||T(e,Zc))s=ra(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=Zw;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[Hw]&&Jw.rebuild(s)}this.result=new Zc(i,s,r),this.helpers=z({},na,{postcss:na,result:this.result}),this.plugins=this.processor.plugins.map(function(u){return(typeof u>"u"?"undefined":P(u))==="object"&&u.prepare?z({},u,u.prepare(o.result)):u})}var n=t.prototype;return n.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},n.catch=function(e){return this.async().catch(e)},n.finally=function(e){return this.async().then(e,e)},n.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},n.handleError=function(e,r){var o=this.result.lastPlugin;try{if(r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=o.postcssPlugin,e.setMessage();else if(o.postcssVersion)var s,a,u,c,f}catch(l){console&&console.error&&console.error(l)}return e},n.prepareVisitors=function(){var e=this;this.listeners={};for(var r=function(f,l,h){e.listeners[l]||(e.listeners[l]=[]),e.listeners[l].push([f,h])},o=I(this.plugins),s;!(s=o()).done;){var a=s.value;if((typeof a>"u"?"undefined":P(a))==="object")for(var u in a){if(!tb[u]&&/^[A-Z]/.test(u))throw new Error("Unknown event "+u+" in "+a.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!rb[u])if(P(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 io(function(){var r,o,s,a,u,c,f,l,h,g,v,m;return Kt(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),!Gr(s))return[3,5];d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s];case 3:return d.sent(),[3,5];case 4:throw a=d.sent(),e.handleError(a);case 5:return r++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];u=e.result.root,d.label=7;case 7:if(u[Ye])return[3,14];u[Ye]=!0,c=[Qc(u)],d.label=8;case 8:if(!(c.length>0))return[3,13];if(f=e.visitTick(c),!Gr(f))return[3,12];d.label=9;case 9:return d.trys.push([9,11,,12]),[4,f];case 10:return d.sent(),[3,12];case 11:throw l=d.sent(),h=c[c.length-1].node,e.handleError(l,h);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];g=function(){var y,_,b,C,S;return Kt(this,function(O){switch(O.label){case 0:y=m.value,_=y[0],b=y[1],e.result.lastPlugin=_,O.label=1;case 1:return O.trys.push([1,6,,7]),u.type!=="document"?[3,3]:(C=u.nodes.map(function(k){return b(k,e.helpers)}),[4,Promise.all(C)]);case 2:return O.sent(),[3,5];case 3:return[4,b(u,e.helpers)];case 4:O.sent(),O.label=5;case 5:return[3,7];case 6:throw S=O.sent(),e.handleError(S);case 7:return[2]}})},v=I(e.listeners.OnceExit),d.label=15;case 15:return(m=v()).done?[3,18]:[5,Ca(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":P(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 Gr(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=Yw;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);var o=new Kw(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(Gr(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var a=this.result.root;!a[Ye];)a[Ye]=!0,this.walkSync(a);if(this.listeners.OnceExit)if(a.type==="document")for(var u=I(a.nodes),c;!(c=u()).done;){var f=c.value;this.visitSync(this.listeners.OnceExit,f)}else this.visitSync(this.listeners.OnceExit,a)}return this.result},n.then=function(e,r){return this.async().then(e,r)},n.toString=function(){return this.css},n.visitSync=function(e,r){for(var o=I(e),s;!(s=o()).done;){var a=s.value,u=a[0],c=a[1];this.result.lastPlugin=u;var f=void 0;try{f=c(r,this.helpers)}catch(l){throw this.handleError(l,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;
vendor: 1,587 bytes, line 76
76if(Gr(f))throw this.getAsyncError()}},n.visitTick=function(e){var r=e[e.length-1],o=r.node,s=r.visitors;if(o.type!=="root"&&o.type!=="document"&&!o.parent){e.pop();return}if(s.length>0&&r.visitorIndex<s.length){var a=s[r.visitorIndex],u=a[0],c=a[1];r.visitorIndex+=1,r.visitorIndex===s.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=u;try{return c(o.toProxy(),this.helpers)}catch(v){throw this.handleError(v,o)}}if(r.iterator!==0){for(var f=r.iterator,l;l=o.nodes[o.indexes[f]];)if(o.indexes[f]+=1,!l[Ye]){l[Ye]=!0,e.push(Qc(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===kr){o.nodes&&o.nodes.length&&(o[Ye]=!0,r.iterator=o.getIterator());return}else if(this.listeners[g]){r.visitors=this.listeners[g];return}}e.pop()},n.walkSync=function(e){var r=this;e[Ye]=!0;for(var o=qh(e),s=I(o),a;!(a=s()).done;){var u=a.value;if(u===kr)e.nodes&&e.each(function(f){f[Ye]||r.walkSync(f)});else{var c=this.listeners[u];if(c&&this.visitSync(c,e.toProxy()))return}}},n.warnings=function(){return this.sync().warnings()},ue(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}();
vendor: 10,402 bytes, lines 76-87
76Mr.registerPostcss=function(t){na=t};var Wh=Mr;Mr.default=Mr;Qw.registerLazyResult(Mr);Xw.registerLazyResult(Mr);var nb=Eh,ib=mo,ob=ru,sb=Qa,ia=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=ib;this.result=new sb(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 nb(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[]},ue(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=ob;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}(),ab=ia;ia.default=ia;var ub=ab,cb=Wh,fb=Za,lb=Cn,dn=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":P(a))==="object"&&Array.isArray(a.plugins))r=r.concat(a.plugins);else if((typeof a>"u"?"undefined":P(a))==="object"&&a.postcssPlugin)r.push(a);else if(typeof a=="function")r.push(a);else if(!((typeof a>"u"?"undefined":P(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 ub(this,e,r):new cb(this,e,r)},n.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},t}(),hb=dn;dn.default=dn;lb.registerProcessor(dn);fb.registerProcessor(dn);var pb=_o,db=_h,vb=bo,gb=eu,mb=wo,yb=Cn,_b=tu;function vn(t,n){if(Array.isArray(t))return t.map(function(l){return vn(l)});var i=t.inputs,e=Ht(t,["inputs"]);if(i){n=[];for(var r=I(i),o;!(o=r()).done;){var s=o.value,a=z({},s,{__proto__:mb.prototype});a.map&&(a.map=z({},a.map,{__proto__:db.prototype})),n.push(a)}}if(e.nodes&&(e.nodes=t.nodes.map(function(l){return vn(l,n)})),e.source){var u=e.source,c=u.inputId,f=Ht(u,["inputId"]);e.source=f,c!=null&&(e.source.input=n[c])}if(e.type==="root")return new yb(e);if(e.type==="decl")return new pb(e);if(e.type==="rule")return new _b(e);if(e.type==="comment")return new vb(e);if(e.type==="atrule")return new gb(e);throw new Error("Unknown node type: "+t.type)}var wb=vn;vn.default=vn;var bb=Ya,Gh=_o,Sb=Wh,Cb=nr,nu=hb,Eb=mo,Ib=wb,jh=Za,Ob=Nh,Vh=bo,Hh=eu,xb=Qa,Rb=wo,Ab=ru,kb=Bh,Kh=tu,Yh=Cn,Mb=yo;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 nu(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`),br.LANG&&br.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 nu().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=Eb;ee.parse=Ab;ee.fromJSON=Ib;ee.list=kb;ee.comment=function(t){return new Vh(t)};ee.atRule=function(t){return new Hh(t)};ee.decl=function(t){return new Gh(t)};ee.rule=function(t){return new Kh(t)};ee.root=function(t){return new Yh(t)};ee.document=function(t){return new jh(t)};ee.CssSyntaxError=bb;ee.Declaration=Gh;ee.Container=Cb;ee.Processor=nu;ee.Document=jh;ee.Comment=Vh;ee.Warning=Ob;ee.AtRule=Hh;ee.Result=xb;ee.Input=Rb;ee.Rule=Kh;ee.Root=Yh;ee.Node=Mb;Sb.registerPostcss(ee);var Tb=ee;ee.default=ee;var pe=j_(Tb);pe.stringify;pe.fromJSON;pe.plugin;pe.parse;pe.list;pe.document;pe.comment;pe.atRule;pe.rule;pe.decl;pe.root;pe.CssSyntaxError;pe.Declaration;pe.Container;pe.Processor;pe.Document;pe.Comment;pe.Warning;pe.AtRule;pe.Result;pe.Input;pe.Rule;pe.Root;pe.Node;var Pb=Object.defineProperty,$b=function(t,n,i){return n in t?Pb(t,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[n]=i},fi=function(t,n,i){return $b(t,(typeof n>"u"?"undefined":P(n))!=="symbol"?n+"":n,i)};function Nb(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 lr=function(){function t(i){fi(this,"fileName"),fi(this,"functionName"),fi(this,"lineNumber"),fi(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}(),Lb=/(^|@)\S+:\d+/,ef=/^\s*at .*(\S+:\d+|\(native\))/m,Db=/^(eval@)?(\[native code])?$/,Zo={parse:function(n){return n?typeof n.stacktrace<"u"||typeof n["opera#sourceloc"]<"u"?this.parseOpera(n):n.stack&&n.stack.match(ef)?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(ef)},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 lr({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(Db)},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 lr({functionName:e});var r=/((.*".+"[^@]*)?[^@]*)(?:@)/,o=e.match(r),s=o&&o[1]?o[1]:void 0,a=this.extractLocation(e.replace(r,""));return new lr({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 lr({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 lr({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(Lb)&&!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 lr({functionName:a,fileName:o[0],lineNumber:o[1],columnNumber:o[2]})},this)}};function Fb(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 oa(t){return Object.prototype.toString.call(t)==="[object Object]"}function Jh(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(oa(t[o])&&Jh(t[o],n-1))return!0}return!1}function hr(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":P(u))==="bigint")return u.toString()+"n";if(T(u,Event)){var f={};for(var l in u){var h=u[l];Array.isArray(h)?f[l]=Fb(h.length?h[0]:null):f[l]=h}return f}else{if(T(u,Node))return T(u,HTMLElement)?u?u.outerHTML:"":u.nodeName;if(T(u,Error))return u.stack?u.stack+`
87End of stack for Error object`:u.name+": "+u.message}return u});function o(a){return!!(oa(a)&&Object.keys(a).length>i.numOfKeysLimit||typeof a=="function"||oa(a)&&Jh(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 tf={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 Ub(t,n,i){var e=i?Object.assign({},tf,i):tf,r=e.logger;if(!r)return function(){};var o;typeof r=="string"?o=n[r]:o=r;var s=0,a=!1,u=[];if(e.level.includes("error")){var c=function(m){var d=m.message,y=m.error,_=Zo.parse(y).map(function(C){return C.toString()}),b=[hr(d,e.stringifyOptions)];t({level:"error",trace:_,payload:b})};n.addEventListener("error",c),u.push(function(){n.removeEventListener("error",c)});var f=function(m){var d,y;T(m.reason,Error)?(d=m.reason,y=[hr("Uncaught (in promise) "+d.name+": "+d.message,e.stringifyOptions)]):(d=new Error,y=[hr("Uncaught (in promise)",e.stringifyOptions),hr(m.reason,e.stringifyOptions)]);var _=Zo.parse(d).map(function(b){return b.toString()});t({level:"error",trace:_,payload:y})};n.addEventListener("unhandledrejection",f),u.push(function(){n.removeEventListener("unhandledrejection",f)})}for(var l=I(e.level),h;!(h=l()).done;){var g=h.value;u.push(v(o,g))}return function(){u.forEach(function(m){return m()})};function v(m,d){var y=this;return m[d]?Nb(m,d,function(_){var b=y;return function(){for(var C=arguments.length,S=new Array(C),O=0;O<C;O++)S[O]=arguments[O];if(_.apply(b,S),!(d==="assert"&&S[0])&&!a){a=!0;try{var k=Zo.parse(new Error).map(function(q){return q.toString()}).splice(1),R=d==="assert"?S.slice(1):S,$=R.map(function(q){return hr(q,e.stringifyOptions)});s++,s<e.lengthThreshold?t({level:d,trace:k,payload:$}):s===e.lengthThreshold&&t({level:"warn",trace:[],payload:[hr("The number of log records reached the threshold.")]})}catch(q){_.apply(void 0,[].concat(["rrweb logger error:",q],S))}finally{a=!1}
vendor: 25,895 bytes, lines 87-93
87}}}):function(){}}}var Bb="rrweb/console@1",zb=function(t){return{name:Bb,observer:Ub,options:t}},rf=E.setImmediate,Ct,sa,aa,Xh=Object.prototype.toString,qb=typeof rf<"u"?function(n){return rf(n)}:setTimeout;try{Object.defineProperty({},"x",{}),Ct=function(n,i,e,r){return Object.defineProperty(n,i,{value:e,writable:!0,configurable:r!==!1})}}catch{Ct=function(i,e,r){return i[e]=r,i}}aa=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=sa=void 0;s;)s.fn.call(s.self),s=s.next}}}();function qi(t,n){aa.add(t,n),sa||(sa=qb(aa.drain))}function Zh(t){var n,i=typeof t;return t!==null&&(i==="object"||i==="function")&&(n=t.then),typeof n=="function"?n:!1}function iu(){for(var t=0;t<this.chain.length;t++)Wb(this,this.state===1?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function Wb(t,n,i){var e,r;try{n===!1?i.reject(t.msg):(n===!0?e=t.msg:e=n.call(void 0,t.msg),e===i.promise?i.reject(TypeError("Promise-chain cycle")):(r=Zh(e))?r.call(e,i.resolve,i.reject):i.resolve(e))}catch(o){i.reject(o)}}function Qh(t){var n,i=this;if(!i.triggered){i.triggered=!0,i.def&&(i=i.def);try{(n=Zh(t))?qi(function(){var e=new nf(i);try{n.call(t,function(){Qh.apply(e,arguments)},function(){Yr.apply(e,arguments)})}catch(r){Yr.call(e,r)}}):(i.msg=t,i.state=1,i.chain.length>0&&qi(iu,i))}catch(e){Yr.call(new nf(i),e)}}}function Yr(t){var n=this;n.triggered||(n.triggered=!0,n.def&&(n=n.def),n.msg=t,n.state=2,n.chain.length>0&&qi(iu,n))}function ep(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 nf(t){this.def=t,this.triggered=!1}function Gb(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function Tt(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 Gb(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&&qi(iu,n),o.promise},this.catch=function(e){return this.then(void 0,e)};try{t.call(void 0,function(e){Qh.call(n,e)},function(e){Yr.call(n,e)})}catch(i){Yr.call(n,i)}}var tp=Ct({},"constructor",Tt,!1);Tt.prototype=tp;Ct(tp,"__NPO__",0,!1);Ct(Tt,"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)})});Ct(Tt,"reject",function(n){return new this(function(e,r){if(typeof e!="function"||typeof r!="function")throw TypeError("Not a function");r(n)})});Ct(Tt,"all",function(n){var i=this;return Xh.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;ep(i,n,function(f,l){a[f]=l,++u===s&&r(a)},o)})});Ct(Tt,"race",function(n){var i=this;return Xh.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");ep(i,n,function(a,u){r(u)},o)})});var U;typeof Promise<"u"&&Promise.toString().indexOf("[native code]")!==-1?U=Promise:U=Tt;var Jr=24*60*60*1e3,Qo=8*1e3,So=Array.prototype,jb=Function.prototype,rp=Object.prototype,_t=So.slice,En=rp.toString,Co=rp.hasOwnProperty,Se=E.console,at=E.navigator,F=E.document,jr=E.opera,of=E.screen,Je=at.userAgent,es=jb.bind,sf=So.forEach,af=So.indexOf,uf=So.map,Vb=Array.isArray,ua={},p={trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},L={log:function(){if(Ne.DEBUG&&!p.isUndefined(Se)&&Se)try{Se.log.apply(Se,arguments)}catch{p.each(arguments,function(n){Se.log(n)})}},warn:function(){if(Ne.DEBUG&&!p.isUndefined(Se)&&Se){var t=["Mixpanel warning:"].concat(p.toArray(arguments));try{Se.warn.apply(Se,t)}catch{p.each(t,function(i){Se.warn(i)})}}},error:function(){if(Ne.DEBUG&&!p.isUndefined(Se)&&Se){var t=["Mixpanel error:"].concat(p.toArray(arguments));try{Se.error.apply(Se,t)}catch{p.each(t,function(i){Se.error(i)})}}},critical:function(){if(!p.isUndefined(Se)&&Se){var t=["Mixpanel error:"].concat(p.toArray(arguments));try{Se.error.apply(Se,t)}catch{p.each(t,function(i){Se.error(i)})}}}},li=function(t,n){return function(){return arguments[0]="["+n+"] "+arguments[0],t.apply(L,arguments)}},et=function(t){return{log:li(L.log,t),warn:li(L.warn,t),error:li(L.error,t),critical:li(L.critical,t)}},Jt=function(t){return function(){try{return t.apply(this,arguments)}catch(n){L.critical("Implementation error. Please turn on debug and contact [email protected]."),Ne.DEBUG&&L.critical(n)}}},ou=function(t){var n=t.prototype;for(var i in n)typeof n[i]=="function"&&(n[i]=Jt(n[i]))};p.bind=function(t,n){var i,e;if(es&&t.bind===es)return es.apply(t,_t.call(arguments,1));if(!p.isFunction(t))throw new TypeError;return i=_t.call(arguments,2),e=function(){if(!(this instanceof e))return t.apply(n,i.concat(_t.call(arguments)));var r={};r.prototype=t.prototype;var o=new r;r.prototype=null;var s=t.apply(o,i.concat(_t.call(arguments)));return Object(s)===s?s:o},e};p.each=function(t,n,i){if(t!=null){if(sf&&t.forEach===sf)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)===ua)return}else for(var o in t)if(Co.call(t,o)&&n.call(i,t[o],o,t)===ua)return}};p.extend=function(t){return p.each(_t.call(arguments,1),function(n){for(var i in n)n[i]!==void 0&&(t[i]=n[i])}),t};p.isArray=Vb||function(t){return En.call(t)==="[object Array]"};p.isFunction=function(t){return typeof t=="function"};p.isArguments=function(t){return!!(t&&Co.call(t,"callee"))};p.toArray=function(t){return t?t.toArray?t.toArray():p.isArray(t)||p.isArguments(t)?_t.call(t):p.values(t):[]};p.map=function(t,n,i){if(uf&&t.map===uf)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:af&&t.indexOf===af?t.indexOf(n)!=-1:(p.each(t,function(e){if(i||(i=e===n))return ua}),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(Co.call(t,n))return!1;return!0}return!1};p.isUndefined=function(t){return t===void 0};p.isString=function(t){return En.call(t)=="[object String]"};p.isDate=function(t){return En.call(t)=="[object Date]"};p.isNumber=function(t){return En.call(t)=="[object Number]"};p.isElement=function(t){return!!(t&&t.nodeType===1)};p.encodeDates=function(t){return p.each(t,function(n,i){p.isDate(n)?t[i]=p.formatDate(n):p.isObject(n)&&(t[i]=p.encodeDates(n))}),t};p.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()};p.formatDate=function(t){function n(i){return i<10?"0"+i:i}return t.getUTCFullYear()+"-"+n(t.getUTCMonth()+1)+"-"+n(t.getUTCDate())+"T"+n(t.getUTCHours())+":"+n(t.getUTCMinutes())+":"+n(t.getUTCSeconds())};p.strip_empty_properties=function(t){var n={};return p.each(t,function(i,e){p.isString(i)&&i.length>0&&(n[e]=i)}),n};p.truncate=function(t,n){var i;return typeof t=="string"?i=t.slice(0,n):p.isArray(t)?(i=[],p.each(t,function(e){i.push(p.truncate(e,n))})):p.isObject(t)?(i={},p.each(t,function(e,r){i[r]=p.truncate(e,n)})):i=t,i};p.JSONEncode=function(){return function(t){var n=t,i=function(r){var o=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,s={"\b":"\\b","	":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return o.lastIndex=0,o.test(r)?'"'+r.replace(o,function(a){var u=s[a];return typeof u=="string"?u:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+r+'"'},e=function(r,o){var s="",a="    ",u=0,c="",f="",l=0,h=s,g=[],v=o[r];switch(v&&typeof v=="object"&&typeof v.toJSON=="function"&&(v=v.toJSON(r)),typeof v){case"string":return i(v);case"number":return isFinite(v)?String(v):"null";case"boolean":case"null":return String(v);case"object":if(!v)return"null";if(s+=a,g=[],En.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)Co.call(v,c)&&(f=e(c,v),f&&g.push(i(c)+(s?": ":":")+f));return f=g.length===0?"{}":s?"{"+g.join(",")+h+"}":"{"+g.join(",")+"}",s=h,f}};return e("",{"":n})}}();p.JSONDecode=function(){var t,n,i={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
91`,r:"\r",t:"	"},e,r=function(g){var v=new SyntaxError(g);throw v.at=t,v.text=e,v},o=function(g){return g&&g!==n&&r("Expected '"+g+"' instead of '"+n+"'"),n=e.charAt(t),t+=1,n},s=function(){var g,v="";for(n==="-"&&(v="-",o("-"));n>="0"&&n<="9";)v+=n,o();if(n===".")for(v+=".";o()&&n>="0"&&n<="9";)v+=n;if(n==="e"||n==="E")for(v+=n,o(),(n==="-"||n==="+")&&(v+=n,o());n>="0"&&n<="9";)v+=n,o();if(g=+v,!isFinite(g))r("Bad number");else return g},a=function(){var g,v,m="",d;if(n==='"')for(;o();){if(n==='"')return o(),m;if(n==="\\")if(o(),n==="u"){for(d=0,v=0;v<4&&(g=parseInt(o(),16),!!isFinite(g));v+=1)d=d*16+g;m+=String.fromCharCode(d)}else if(typeof i[n]=="string")m+=i[n];else break;else m+=n}r("Bad string")},u=function(){for(;n&&n<=" ";)o()},c=function(){switch(n){case"t":return o("t"),o("r"),o("u"),o("e"),!0;case"f":return o("f"),o("a"),o("l"),o("s"),o("e"),!1;case"n":return o("n"),o("u"),o("l"),o("l"),null}r('Unexpected "'+n+'"')},f,l=function(){var g=[];if(n==="["){if(o("["),u(),n==="]")return o("]"),g;for(;n;){if(g.push(f()),u(),n==="]")return o("]"),g;o(","),u()}}r("Bad array")},h=function(){var g,v={};if(n==="{"){if(o("{"),u(),n==="}")return o("}"),v;for(;n;){if(g=a(),u(),o(":"),Object.hasOwnProperty.call(v,g)&&r('Duplicate key "'+g+'"'),v[g]=f(),u(),n==="}")return o("}"),v;o(","),u()}}r("Bad object")};return f=function(){switch(u(),n){case"{":return h();case"[":return l();case'"':return a();case"-":return s();default:return n>="0"&&n<="9"?s():c()}},function(g){var v;return e=g,t=0,n=" ",v=f(),u(),n&&r("Syntax error"),v}}();p.base64Encode=function(t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i,e,r,o,s,a,u,c,f=0,l=0,h="",g=[];if(!t)return t;t=p.utf8Encode(t);do i=t.charCodeAt(f++),e=t.charCodeAt(f++),r=t.charCodeAt(f++),c=i<<16|e<<8|r,o=c>>18&63,s=c>>12&63,a=c>>6&63,u=c&63,g[l++]=n.charAt(o)+n.charAt(s)+n.charAt(a)+n.charAt(u);while(f<t.length);switch(h=g.join(""),t.length%3){case 1:h=h.slice(0,-2)+"==";break;case 2:h=h.slice(0,-1)+"=";break}return h};p.utf8Encode=function(t){t=(t+"").replace(/\r\n/g,`
92`).replace(/\r/g,`
93`);var n="",i,e,r=0,o;for(i=e=0,r=t.length,o=0;o<r;o++){var s=t.charCodeAt(o),a=null;s<128?e++:s>127&&s<2048?a=String.fromCharCode(s>>6|192,s&63|128):a=String.fromCharCode(s>>12|224,s>>6&63|128,s&63|128),a!==null&&(e>i&&(n+=t.substring(i,e)),n+=a,i=e=o+1)}return e>i&&(n+=t.substring(i,t.length)),n};p.UUID=function(){try{return E.crypto.randomUUID()}catch{for(var t=new Array(36),n=0;n<36;n++)t[n]=Math.floor(Math.random()*16);return t[14]=4,t[19]=t[19]&=-5,t[19]=t[19]|=8,t[8]=t[13]=t[18]=t[23]="-",p.map(t,function(e){return e.toString(16)}).join("")}};var cf=["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<cf.length;n++)if(t.indexOf(cf[n])!==-1)return!0;return!1};p.HTTPBuildQuery=function(t,n){var i,e,r=[];return p.isUndefined(n)&&(n="&"),p.each(t,function(o,s){i=encodeURIComponent(o.toString()),e=encodeURIComponent(s),r[r.length]=e+"="+i}),r.join(n)};p.getQueryParam=function(t,n){n=n.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var i="[\\?&]"+n+"=([^&#]*)",e=new RegExp(i),r=e.exec(t);if(r===null||r&&typeof r[1]!="string"&&r[1].length)return"";var o=r[1];try{o=decodeURIComponent(o)}catch{L.error("Skipping decoding for malformed query param: "+o)}return o.replace(/\+/g," ")};p.cookie={get:function(t){for(var n=t+"=",i=F.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=ff(F.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"),F.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=ff(F.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 F.cookie=h,h},remove:function(t,n,i){p.cookie.set(t,"",-1,n,!1,!1,i)}};var np=function(t){var n=!0;try{var i="__mplss_"+su(8),e="xyz";t.setItem(i,e),t.getItem(i)!==e&&(n=!1),t.removeItem(i)}catch{n=!1}return n},ts=null,gn=function(t,n){return ts!==null&&!n?ts:ts=np(t)},rs=null,Hb=function(t,n){return rs!==null&&!n?rs:rs=np(t)};function ip(t,n,i){var e=function(r){L.error(n+" error: "+r)};return{is_supported:function(r){var o=i(t,r);return o||L.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 Eo=function(){try{return E.localStorage}catch{return null}},Kb=function(){try{return E.sessionStorage}catch{return null}};p.localStorage=ip(Eo(),"localStorage",gn);p.sessionStorage=ip(Kb(),"sessionStorage",Hb);p.register_event=function(){var t=function(e,r,o,s,a){if(!e){L.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 Yb=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(!F.getElementsByTagName)return[];var o=r.split(" "),s,a,u,c,f,l,h,g,v,m,d=[F];for(l=0;l<o.length;l++){if(s=o[l].replace(/^\s+/,"").replace(/\s+$/,""),s.indexOf("#")>-1){a=s.split("#"),u=a[0];var y=a[1],_=F.getElementById(y);if(!_||u&&_.nodeName.toLowerCase()!=u)return[];d=[_];continue}if(s.indexOf(".")>-1){a=s.split("."),u=a[0];var b=a[1];for(u||(u="*"),c=[],f=0,h=0;h<d.length;h++)for(u=="*"?v=t(d[h]):v=d[h].getElementsByTagName(u),g=0;g<v.length;g++)c[f++]=v[g];for(d=[],m=0,h=0;h<c.length;h++)c[h].className&&p.isString(c[h].className)&&i(c[h],b)&&(d[m++]=c[h]);continue}var C=s.match(Yb);if(C){u=C[1];var S=C[2],O=C[3],k=C[4];for(u||(u="*"),c=[],f=0,h=0;h<d.length;h++)for(u=="*"?v=t(d[h]):v=d[h].getElementsByTagName(u),g=0;g<v.length;g++)c[f++]=v[g];d=[],m=0;var R;switch(O){case"=":R=function($){return $.getAttribute(S)==k};break;case"~":R=function($){return $.getAttribute(S).match(new RegExp("\\b"+k+"\\b"))};break;case"|":R=function($){return $.getAttribute(S).match(new RegExp("^"+k+"-?"))};break;case"^":R=function($){return $.getAttribute(S).indexOf(k)===0};break;case"$":R=function($){return $.getAttribute(S).lastIndexOf(k)==$.getAttribute(S).length-k.length};break;case"*":R=function($){return $.getAttribute(S).indexOf(k)>-1};break;default:R=function($){return $.getAttribute(S)}}for(d=[],m=0,h=0;h<c.length;h++)R(c[h])&&(d[m++]=c[h]);continue}for(u=s,c=[],f=0,h=0;h<d.length;h++)for(v=d[h].getElementsByTagName(u),g=0;g<v.length;g++)c[f++]=v[g];d=c}return d}return function(r){return p.isElement(r)?[r]:p.isObject(r)&&!p.isUndefined(r.length)?r:e.call(this,r)}}();var Jb=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],Xb=["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(Jb,function(e){n=p.getQueryParam(F.URL,e),n.length?i[e]=n:t!==void 0&&(i[e]=t)}),i},clickParams:function(){var t="",n={};return p.each(Xb,function(i){t=p.getQueryParam(F.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=Je;return/Windows/i.test(t)?/Phone/.test(t)||/WPDesktop/.test(t)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(t)?"iOS":/Android/.test(t)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Mac/i.test(t)?"Mac OS X":/Linux/.test(t)?"Linux":/CrOS/.test(t)?"Chrome OS":""},device:function(t){return/Windows Phone/i.test(t)||/WPDesktop/.test(t)?"Windows Phone":/iPad/.test(t)?"iPad":/iPod/.test(t)?"iPod Touch":/iPhone/.test(t)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(t)?"BlackBerry":/Android/.test(t)?"Android":""},referringDomain:function(t){var n=t.split("/");return n.length>=3?n[2]:""},currentUrl:function(){return E.location.href},properties:function(t){return typeof t!="object"&&(t={}),p.extend(p.strip_empty_properties({$os:p.info.os(),$browser:p.info.browser(Je,at.vendor,jr),$referrer:F.referrer,$referring_domain:p.info.referringDomain(F.referrer),$device:p.info.device(Je)}),{$current_url:p.info.currentUrl(),$browser_version:p.info.browserVersion(Je,at.vendor,jr),$screen_height:of.height,$screen_width:of.width,mp_lib:"web",$lib_version:Ne.LIB_VERSION,$insert_id:su(),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(Je,at.vendor,jr)}),{$browser_version:p.info.browserVersion(Je,at.vendor,jr)})},mpPageViewProperties:function(){return p.strip_empty_properties({current_page_title:F.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 Zb=function(t,n){var i=null,e=[];return function(r){var o=this;return e.push(r),i||(i=new U(function(s){setTimeout(function(){var a=t.apply(o,[e]);i=null,e=[],s(a)},n)})),i}},su=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},op=function(){var t=p.UUID().replace(/-/g,""),n=p.UUID().replace(/-/g,"").substring(0,16),i="01";return"00-"+t+"-"+n+"-"+i},Qb=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,eS=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,ff=function(t){var n=eS,i=t.split("."),e=i[i.length-1];(e.length>4||e==="com"||e==="org")&&(n=Qb);var r=t.match(n);return r?r[0]:""},tS=function(){var t=E.navigator.onLine;return p.isUndefined(t)||t},bt=function(){},Wi=function(t,n){for(var i=!1,e=0;e<n.length;e++)if(t.match(n[e])){i=!0;break}return i},Tr=null,Gi=null;typeof JSON<"u"&&(Tr=JSON.stringify,Gi=JSON.parse);Tr=Tr||p.JSONEncode;Gi=Gi||p.JSONDecode;var rS=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=Tt;var Be=function(t,n,i){this.dbName=t,this.storeName=n,this.version=i.version,this.storeNamesInDb=i.storeNames,this.dbPromise=null};Be.prototype._openDb=function(){var t=this.dbName,n=this.version,i=this.storeNamesInDb;return new U(function(e,r){var o=E.indexedDB.open(t,n);o.onerror=function(){r(o.error)},o.onsuccess=function(){e(o.result)},o.onupgradeneeded=function(s){var a=s.target.result;i.forEach(function(u){a.objectStoreNames.contains(u)||a.createObjectStore(u)})}})};Be.prototype.init=function(){return E.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(t){return t instanceof E.IDBDatabase?U.resolve():U.reject(t)})):U.reject("indexedDB is not supported in this browser")};Be.prototype.isInitialized=function(){return!!this.dbPromise};Be.prototype.makeTransaction=function(t,n){var i=this.storeName,e=function(r){return new U(function(o,s){var a=r.transaction(i,t);a.oncomplete=function(){o(a)},a.onabort=a.onerror=function(){s(a.error)},n(a.objectStore(i))})};return this.dbPromise.then(e).catch(function(r){return r&&r.name==="InvalidStateError"?(this.dbPromise=this._openDb(),this.dbPromise.then(e)):U.reject(r)}.bind(this))};Be.prototype.setItem=function(t,n){return this.makeTransaction("readwrite",function(i){i.put(n,t)})};Be.prototype.getItem=function(t){var n;return this.makeTransaction("readonly",function(i){n=i.get(t)}).then(function(){return n.result})};Be.prototype.removeItem=function(t){return this.makeTransaction("readwrite",function(n){n.delete(t)})};Be.prototype.getAll=function(){var t;return this.makeTransaction("readonly",function(n){t=n.getAll()}).then(function(){return t.result})};var au="mixpanelBrowserDb",sp="mixpanelRecordingEvents",uu="mixpanelRecordingRegistry",cu={version:1,storeNames:[sp,uu]},nS="__mp_opt_in_out_";function iS(t,n){cp(!0,t,n)}function oS(t,n){cp(!1,t,n)}function sS(t,n){return up(t,n)==="1"}function ap(t,n){if(uS(n))return L.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var i=up(t,n)==="0";return i&&L.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),i}function Pt(t){return hu(t,function(n){return this.get_config(n)})}function $t(t){return hu(t,function(n){return this._get_config(n)})}function Nr(t){return hu(t,function(n){return this._get_config(n)})}function aS(t,n){n=n||{},fu(n).remove(lu(t,n),!!n.crossSubdomainCookie,n.cookieDomain)}function fu(t){return t=t||{},t.persistenceType==="localStorage"?p.localStorage:p.cookie}function lu(t,n){return n=n||{},(n.persistencePrefix||nS)+t}function up(t,n){return fu(n).get(lu(t,n))}function uS(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 cp(t,n,i){if(!p.isString(n)||!n.length){L.error("gdpr."+(t?"optIn":"optOut")+" called with an invali
93d token");return}i=i||{},fu(i).set(lu(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 hu(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=ap(e,{ignoreDnt:r,persistenceType:o,persistencePrefix:s,window:a}))}catch(c){L.error("Unexpected error when checking tracking opt-out status: "+c)}if(!i)return t.apply(this,arguments);var u=arguments[arguments.length-1];typeof u=="function"&&u(0)}}var cS=et("lock"),fp=function(t,n){n=n||{},this.storageKey=t,this.storage=n.storage||Eo(),this.pollIntervalMS=n.pollIntervalMS||100,this.timeoutMS=n.timeoutMS||2e3,this.promiseImpl=n.promiseImpl||U};fp.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){cS.error("Timeout waiting for mutex on "+a+"; clearing lock. ["+o+"]"),f.removeItem(g),f.removeItem(h),y();return}setTimeout(function(){try{b()}catch(C){r(C)}},u*(Math.random()+.1))},m=function(b,C){b()?C():v(function(){m(b,C)})},d=function(){var b=f.getItem(h);return b&&b!==o?!1:(f.setItem(h,o),f.getItem(h)===o?!0:(gn(f,!0)||r(new Error("localStorage support dropped while acquiring lock")),!1))},y=function(){f.setItem(l,o),m(d,function(){if(f.getItem(l)===o){_();return}v(function(){if(f.getItem(h)!==o){y();return}m(function(){return!f.getItem(g)},_)})})},_=function(){f.setItem(g,"1");var b=function(){f.removeItem(g),f.getItem(h)===o&&f.removeItem(h),f.getItem(l)===o&&f.removeItem(l)};t().then(function(C){b(),e(C)}).catch(function(C){b(),r(C)})};try{if(gn(f,!0))y();else throw new Error("localStorage support check failed")}catch(b){r(b)}},this))};var Lr=function(t){this.storage=t||Eo()};Lr.prototype.init=function(){return this.storage?U.resolve():U.reject(new Error("localStorage is not available"))};Lr.prototype.isInitialized=function(){return!0};Lr.prototype.setItem=function(t,n){return new U(p.bind(function(i,e){try{this.storage.setItem(t,Tr(n))}catch(r){e(r)}i()},this))};Lr.prototype.getItem=function(t){return new U(p.bind(function(n,i){var e;try{e=Gi(this.storage.getItem(t))}catch(r){i(r)}n(e)},this))};Lr.prototype.removeItem=function(t){return new U(p.bind(function(n,i){try{this.storage.removeItem(t)}catch(e){i(e)}n()},this))};var lf=et("batch"),tt=function(t,n){n=n||{},this.storageKey=t,this.usePersistence=n.usePersistence,this.usePersistence&&(this.queueStorage=n.queueStorage||new Lr,this.lock=new fp(t,{storage:n.sharedLockStorage,timeoutMS:n.sharedLockTimeoutMS})),this.reportError=n.errorReporter||p.bind(lf.error,lf),this.pid=n.pid||null,this.memQueue=[],this.initialized=!1,n.enqueueThrottleMs?this.enqueuePersisted=Zb(p.bind(this._enqueuePersisted,this),n.enqueueThrottleMs):this.enqueuePersisted=p.bind(function(i){return this._enqueuePersisted([i])},this)};tt.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?U.resolve():this.queueStorage.init().then(p.bind(function(){this.initialized=!0},this)).catch(p.bind(function(t){this.reportError("Error initializing queue persistence. Disabling persistence",t),this.initialized=!0,this.usePersistence=!1},this))};tt.prototype.enqueue=function(t,n){var i={id:su(),flushAfter:new Date().getTime()+n*2,payload:t};return this.usePersistence?this.enqueuePersisted(i):(this.memQueue.push(i),U.resolve(!0))};tt.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))};tt.prototype.fillBatch=function(t){var n=this.memQueue.slice(0,t);return this.usePersistence&&n.length<t?this.ensureInit().then(p.bind(function(){return this.readFromStorage()},this)).then(p.bind(function(i){if(i.length){var e={};p.each(n,function(s){e[s.id]=!0});for(var r=0;r<i.length;r++){var o=i[r];if(new Date().getTime()>o.flushAfter&&!e[o.id]&&(o.orphaned=!0,n.push(o),n.length>=t))break}}return n},this)):U.resolve(n)};var hf=function(t,n){var i=[];return p.each(t,function(e){e.id&&!n[e.id]&&i.push(e)}),i};tt.prototype.removeItemsByID=function(t){var n={};if(p.each(t,function(e){n[e]=!0}),this.memQueue=hf(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=hf(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),gn(this.lock.storage,!0)?!1:i().then(p.bind(function(r){return r||this.queueStorage.removeItem(this.storageKey).then(function(){return r})},this)).catch(p.bind(function(r){return this.reportError("Error clearing queue",r),!1},this))},this))}else return U.resolve(!0)};var pf=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};tt.prototype.updatePayloads=function(t){return this.memQueue=pf(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=pf(i,t),this.saveToStorage(i)},this)).catch(p.bind(function(i){return this.reportError("Error updating items",t,i),!1},this))},this),this.pid).catch(p.bind(function(n){return this.reportError("Error acquiring storage lock",n),!1},this)):U.resolve(!0)};tt.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))};tt.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))};tt.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(p.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):U.resolve()};var fS=10*60*1e3,Xr=et("batch"),ze=function(t,n){this.errorReporter=n.errorReporter,this.queue=new tt(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};ze.prototype.enqueue=function(t){return this.queue.enqueue(t,this.flushInterval)};ze.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()};ze.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)};ze.prototype.clear=function(){return this.queue.clear()};ze.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size};ze.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)};ze.prototype.scheduleFlush=function(t){this.flushInterval=t,this.stopped||(this.timeoutID=setTimeout(p.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))};ze.prototype.sendRequestPromise=function(t,n){return new U(p.bind(function(i){this.sendRequest(t,n,i)},this))};ze.prototype.flush=function(t){if(this.requestInProgress)return Xr.log("Flush: Request already in progress"),U.resolve();this.requestInProgress=!0,t=t||{};var n=this.libConfig.batch_request_timeout_ms,i=new Date().getTime(),e=this.batchSize;return this.queue.fillBatch(e).then(p.bind(function(r){var o=r.length===e,s=[],a={};if(p.each(r,function(l){var h=l.payload;if(this.beforeSendHook&&!l.orphaned&&(h=this.beforeSendHook(h)),h){h.event&&h.properties&&(h.properties=p.extend({},h.properties,{mp_sent_by_lib_version:Ne.LIB_VERSION}));var g=!0,v=l.id;v?(this.itemIdsSentSuccessfully[v]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:l,batchSize:r.length,timesSent:this.itemIdsSentSuccessfully[v]}),g=!1):this.reportError("[dupe] found item with no ID",{item:l}),g&&s.push(h)}a[l.id]=h},this),s.length<1)return this.requestInProgress=!1,this.resetFlush(),U.resolve();var u=p.bind(function(){return this.queue.removeItemsByID(p.map(r,function(l){return l.id})).then(p.bind(function(l){return p.each(r,p.bind(function(h){var g=h.id;g?(this.itemIdsSentSuccessfully[g]=this.itemIdsSentSuccessfully[g]||0,this.itemIdsSentSuccessfully[g]++,this.itemIdsSentSuccessfully[g]>5&&this.reportError("[dupe] item ID sent too many times",{item:h,batchSize:r.length,timesSent:this.itemIdsSentSuccessfully[g]})):this.reportError("[dupe] found item with no ID while removing",{item:h})},this)),l?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!o?(this.resetFlush(),U.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),U.resolve())},this))},this),c=p.bind(function(l){this.requestInProgress=!1;try{if(t.unloading)return this.queue.updatePayloads(a);if(p.isObject(l)&&l.error==="timeout"&&new Date().getTime()-i>=n)return this.reportError("Network timeout; retrying"),this.flush();if(p.isObject(l)&&(l.httpStatusCode>=500||l.httpStatusCode===429||l.httpStatusCode<=0&&!tS()||l.error==="timeout")){var h=this.flushInterval*2;return l.retryAfter&&(h=parseInt(l.retryAfter,10)*1e3||h),h=Math.min(fS,h),this.reportError("Error; retry in "+h+" ms"),this.scheduleFlush(h),U.resolve()}else if(p.isObject(l)&&l.httpStatusCode===413)if(r.length>1){var g=Math.max(1,Math.floor(e/2));return this.batchSize=Math.min(this.batchSize,g,r.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),U.resolve()}else return this.reportError("Single-event request too large; dropping",r),this.resetBatchSize(),u();else return u()}catch(v){this.reportError("Error handling API response",v),this.resetFlush()}},this),f={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:n};return t.unloading&&(f.transport="sendBeacon"),Xr.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))};ze.prototype.reportError=function(t,n){if(Xr.error.apply(Xr.error,arguments),this.errorReporter)try{n instanceof Error||(n=new Error(t)),this.errorReporter(t,n)}catch(i){Xr.error(i)}};var pu=function(t){var n=Date.now();return!t||n>t.maxExpires||n>t.idleExpires},lS=250,lp=function(t,n){if(!p.isArray(t))return t&&n.critical("record_allowed_iframe_origins must be an array of origin strings, cross-origin recording will be disabled."),[];for(var i=[],e=0;e<t.length;
vendor: 42,958 bytes, line 93
93e++)try{var r=new URL(t[e]).origin;if(r==="null"){n.critical(t[e]+" has an opaque origin. Skipping this entry.");continue}i.push(r)}catch{n.critical(t[e]+" is not a valid origin URL. Skipping this entry.")}return i},mn="change",ht="click",ca="hashchange",hS="input",df="load",wt="mp_locationchange",vf="popstate",Io="scrollend",du="scroll",pS="select",ji="submit",dS="toggle",gf="visibilitychange",vS=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],mf=["mp-include"],fa=["mp-no-track"],yf=fa.concat(["mp-sensitive"]),gS=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],mS={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},yS={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},_S={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},_f=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],wS=5,ne=et("autocapture");function la(t){for(var n={},i=hp(t).split(" "),e=0;e<i.length;e++){var r=i[e];r&&(n[r]=!0)}return n}function hp(t){switch(typeof t.className){case"string":return t.className;case"object":return t.className.baseVal||t.getAttribute("class")||"";default:return""}}function bS(t){if(t.previousElementSibling)return t.previousElementSibling;do t=t.previousSibling;while(t&&!pp(t));return t}function wf(t,n,i,e,r,o){var s={$classes:hp(t).split(" "),$tag_name:t.tagName.toLowerCase()},a=t.id;a&&(s.$id=a),vu(t,n,r,o)&&p.each(gS.concat(e),function(l){if(t.hasAttribute(l)&&!i[l]){var h=t.getAttribute(l);Vi(h)&&(s["$attr-"+l]=h)}});for(var u=1,c=1,f=t;f=bS(f);)u++,f.tagName===t.tagName&&c++;return s.$nth_child=u,s.$nth_of_type=c,s}function SS(t,n){var i=n.allowElementCallback,e=n.allowSelectors||[],r=n.blockAttrs||[],o=n.blockElementCallback,s=n.blockSelectors||[],a=n.captureTextContent||!1,u=n.captureExtraAttrs||[],c=n.capturedForHeatMap||!1,f={};p.each(r,function(S){f[S]=!0});var l=null,h=typeof t.target>"u"?t.srcElement:t.target;if(dp(h)&&(h=h.parentNode),OS(h,t)&&ha(h,t,i,e)&&!ns(h,t,o,s)){for(var g=[h],v=h;v.parentNode&&!Ze(v,"body");)g.push(v.parentNode),v=v.parentNode;var m=[],d,y=!1;if(p.each(g,function(S){var O=vu(S,t,i,e);!f.href&&S.tagName.toLowerCase()==="a"&&(d=S.getAttribute("href"),d=O&&Vi(d)&&d),ns(S,t,o,s)&&(y=!0),m.push(wf(S,t,f,u,i,e))},this),!y){var _=F.documentElement;if(l={$event_type:t.type,$host:E.location.host,$pathname:E.location.pathname,$elements:m,$el_attr__href:d,$viewportHeight:Math.max(_.clientHeight,E.innerHeight||0),$viewportWidth:Math.max(_.clientWidth,E.innerWidth||0),$pageHeight:F.body.offsetHeight||0,$pageWidth:F.body.offsetWidth||0},p.each(u,function(S){if(!f[S]&&h.hasAttribute(S)){var O=h.getAttribute(S);Vi(O)&&(l["$el_attr__"+S]=O)}}),a&&(b=bf(h,t,i,e),b&&b.length&&(l.$el_text=b)),t.type===ht&&(p.each(vS,function(S){S in t&&(l["$"+S]=t[S])}),c&&(l.$captured_for_heatmap=!0),h=CS(t)),a){var b=bf(h,t,i,e);b&&b.length&&(l.$el_text=b)}if(h){if(!ha(h,t,i,e)||ns(h,t,o,s))return null;var C=wf(h,t,f,u,i,e);l.$target=C,l.$el_classes=C.$classes,p.extend(l,p.strip_empty_properties({$el_id:C.$id,$el_tag_name:C.$tag_name}))}}}return l}function bf(t,n,i,e){var r="";return vu(t,n,i,e)&&t.childNodes&&t.childNodes.length&&p.each(t.childNodes,function(o){dp(o)&&o.textContent&&(r+=p.trim(o.textContent).split(/(\s+)/).filter(Vi).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),p.trim(r)}function CS(t){for(var n=t.target,i=t.composedPath(),e=0;e<i.length;e++){var r=i[e];if(Ze(r,"a")||Ze(r,"button")||Ze(r,"input")||Ze(r,"select")||r.getAttribute&&r.getAttribute("role")==="button"){n=r;break}if(r===n)break}return n}function ha(t,n,i,e){if(i)try{if(!i(t,n))return!1}catch(s){return ne.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){ne.critical("Error while checking selector: "+o,s)}}return!1}function ns(t,n,i,e){var r;if(i)try{if(i(t,n))return!0}catch(a){return ne.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){ne.critical("Error while checking selector: "+o,a)}}var s=la(t);for(r=0;r<fa.length;r++)if(s[fa[r]])return!0;return!1}function pp(t){return t&&t.nodeType===1}function Ze(t,n){return t&&t.tagName&&t.tagName.toLowerCase()===n.toLowerCase()}function dp(t){return t&&t.nodeType===3}function ES(){try{var t=F.createElement("div");return!!t.matches}catch{return!1}}function IS(){return typeof WeakSet<"u"}function OS(t,n){if(!t||Ze(t,"html")||!pp(t))return!1;var i=t.tagName.toLowerCase();switch(i){case"form":return n.type===ji;case"input":return["button","submit"].indexOf(t.getAttribute("type"))===-1?n.type===mn:n.type===ht;case"select":case"textarea":return n.type===mn;default:return n.type===ht}}function vp(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 vu(t,n,i,e){var r;if(!ha(t,n,i,e))return!1;for(var o=t;o.parentNode&&!Ze(o,"body");o=o.parentNode){var s=la(o);for(r=0;r<yf.length;r++)if(s[yf[r]])return!1}var a=la(t);for(r=0;r<mf.length;r++)if(a[mf[r]])return!0;if(Ze(t,"input")||Ze(t,"select")||Ze(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!vp(t)}function Vi(t){if(t===null||p.isUndefined(t))return!1;if(typeof t=="string"){t=p.trim(t);var n=/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/;if(n.test((t||"").replace(/[- ]/g,"")))return!1;var i=/(^\d{3}-?\d{2}-?\d{4}$)/;if(i.test(t))return!1}return!0}function gp(t){var n="onscrollend"in E,i=Jt(t),e=Io;if(!n){var r=null,o=100;i=Jt(function(){clearTimeout(r),r=setTimeout(t,o)}),e=du}return{listener:i,eventType:e}}function xS(t){for(var n=0;n<_f.length;n++)if(t.hasAttribute(_f[n]))return!0;return!1}function RS(t){var n=t.getAttribute("role");if(!n)return!1;var i=n.trim().split(/\s+/)[0].toLowerCase();return mS[i]}function is(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||xS(t)||RS(t)||n==="a"&&t.hasAttribute("href")||t.hasAttribute("tabindex"))}function mp(t){if(!t||!t.tagName)return!0;var n=t.tagName.toLowerCase();if(yS[n])return!0;if(is(t))return!1;for(var i=t.parentElement,e=0;i&&e<wS;){if(is(i))return!1;if(i.getRootNode&&i.getRootNode()!==F){var r=i.getRootNode();if(r.host&&is(r.host))return!1}i=i.parentElement,e++}return!!_S[n]}function yp(t){return"composedPath"in t?t.composedPath():[]}function _p(t){var n=yp(t);return n&&n.length>0?n[0]:t.target||t.srcElement}var wp=".mp-mask, .fs-mask, .amp-mask, .rr-mask, .ph-mask",AS="data-rr-is-password",kS=["password","email","tel","hidden"];function hi(t){return t?Array.isArray(t)?t:[t]:[]}function MS(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=hi(i).join(","),n.input.unmaskingSelector=hi(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=hi(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=hi(s).join(","),a===void 0&&o!==void 0?n.text.maskAll=!1:a!==void 0&&(n.text.maskAll=a),n}function _r(t,n){return n?!!t.closest(n):!1}function TS(t,n){var i=(t.getAttribute("type")||"").toLowerCase();if(kS.indexOf(i)!==-1)return!0;var e=(t.getAttribute("autocomplete")||"").toLowerCase();return e&&e!==""&&e!=="off"||t.hasAttribute(AS)||vp(t)?!0:n.input.maskAll?!_r(t,n.input.unmaskingSelector):!!(_r(t,n.input.maskingSelector)||_r(t,wp))}function PS(t,n){return t?n.text._legacyClassRegex&&Ws(t,n.text._legacyClassRegex)?!0:n.text.maskAll?!_r(t,n.text.unmaskingSelector):!!(_r(t,n.text.maskingSelector)||_r(t,wp)):!1}var Xt=et("network-plugin");function Hi(t){return Math.round(Date.now()-t.performance.now())}var os={initiatorTypes:["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],ignoreRequestFn:function(){return!1},recordHeaders:{request:[],response:[]},recordBodyUrls:{request:[],response:[]},recordInitialRequests:!1};function $S(t){return t.entryType==="navigation"}function pa(t){return t.entryType==="resource"}function NS(t,n){for(var i=t.length,e=i-1;e>=0;e-=1)if(n(t[e]))return t[e]}function bp(t,n,i){if(!(n in t)||typeof t[n]!="function")return function(){};var e=t[n],r=i(e);return t[n]=r,function(){t[n]=e}}var ss=1024*1024;function Sp(t){return!t||typeof t!="string"?t:t.length>ss?(Xt.error("Body truncated from "+t.length+" to "+ss+" characters"),t.substring(0,ss)+"... [truncated]"):t}function LS(t,n,i){if(!n.PerformanceObserver)return Xt.error("PerformanceObserver not supported"),function(){};if(i.recordInitialRequests){var e=n.performance.getEntries().filter(function(o){return $S(o)||pa(o)&&i.initiatorTypes.includes(o.initiatorType)});t({requests:e.map(function(o){return{url:o.name,initiatorType:o.initiatorType,status:"responseStatus"in o?o.responseStatus:void 0,startTime:Math.round(o.startTime),endTime:Math.round(o.responseEnd),timeOrigin:Hi(n)}}),isInitial:!0})}var r=new n.PerformanceObserver(function(o){var s=o.getEntries().filter(function(a){return pa(a)&&i.initiatorTypes.includes(a.initiatorType)&&a.initiatorType!=="xmlhttprequest"&&a.initiatorType!=="fetch"});t({requests:s.map(function(a){return{url:a.name,initiatorType:a.initiatorType,status:"responseStatus"in a?a.responseStatus:void 0,startTime:Math.round(a.startTime),endTime:Math.round(a.responseEnd),timeOrigin:Hi(n)}})})});return r.observe({entryTypes:["navigation","resource"]}),function(){r.disconnect()}}function Ki(t,n,i){return!n[t]||n[t].length===0?!1:n[t].includes(i.toLowerCase())}function Yi(t,n,i){return!n[t]||n[t].length===0?!1:Wi(i,n[t])}function Sf(t){if(t==null)return null;var n;if(typeof t=="string")n=t;else if(t instanceof Document)n=t.textContent;else if(t instanceof FormData)n=p.HTTPBuildQuery(t);else if(p.isObject(t))try{n=JSON.stringify(t)}catch{return"Failed to stringify response object"}else return"Cannot read body of type "+typeof t;return Sp(n)}function Cf(t){return new Promise(function(n){var i=setTimeout(function(){n("Timeout while trying to read body")},500);try{t.clone().text().then(function(e){clearTimeout(i),n(Sp(e))},function(e){clearTimeout(i),n("Failed to read body: "+String(e))})}catch(e){clearTimeout(i),n("Failed to read body: "+String(e))}})}function gu(t,n,i,e,r,o){if(o===void 0&&(o=0),o>10)return Xt.error("Cannot find performance entry"),Promise.resolve(null);var s=t.performance.getEntriesByName(i),a=NS(s,function(u){return pa(u)&&u.initiatorType===n&&(!e||u.startTime>=e)&&(!r||u.startTime<=r)});return a?Promise.resolve(a):new Promise(function(u){setTimeout(u,50*o)}).then(function(){return gu(t,n,i,e,r,o+1)})}function DS(t,n,i){if(!i.initiatorTypes.includes("xmlhttprequest"))return function(){};var e=bp(n.XMLHttpRequest.prototype,"open",function(r){return function(o,s,a,u,c){a===void 0&&(a=!0);var f=this,l=new Request(s,{method:o}),h={},g,v,m={},d=f.setRequestHeader.bind(f);f.setRequestHeader=function(_,b){return Ki("request",i.recordHeaders,_)&&(m[_]=b),d(_,b)},h.requestHeaders=m;var y=f.send.bind(f);f.send=function(_){return Yi("request",i.recordBodyUrls,l.url)&&(h.requestBody=Sf(_)),g=n.performance.now(),y(_)},f.addEventListener("readystatechange",function(){if(f.readyState===f.DONE){v=n.performance.now();var _={},b=f.getAllResponseHeaders();if(b){var C=b.trim().split(/[\r\n]+/);C.forEach(function(S){if(S){var O=S.indexOf(": ");if(O!==-1){var k=S.substring(0,O),R=S.substring(O+2);k&&Ki("response",i.recordHeaders,k)&&(_[k]=R)}}})}h.responseHeaders=_,Yi("response",i.recordBodyUrls,l.url)&&(h.responseBody=Sf(f.response)),gu(n,"xmlhttprequest",l.url,g,v).then(function(S){if(!S){Xt.error("Failed to get performance entry for XHR request to "+l.url);return}var O={url:S.name,method:l.method,initiatorType:S.initiatorType,status:f.status,startTime:Math.round(S.startTime),endTime:Math.round(S.responseEnd),timeOrigin:Hi(n),requestHeaders:h.requestHeaders,requestBody:h.requestBody,responseHeaders:h.responseHeaders,responseBody:h.responseBody};t({requests:[O]})}).catch(function(S){Xt.error("Error recording XHR request to "+l.url+": "+String(S))})}}),r.call(f,o,s,a,u,c)}});return function(){e()}}function FS(t,n,i){if(!i.initiatorTypes.includes("fetch"))return function(){};var e=bp(n,"fetch",function(r){return function(){var o=new Request(arguments[0],arguments[1]),s,a={},u,c,f,l=Promise.resolve(void 0),h=Promise.resolve(void 0);try{var g={};o.headers.forEach(function(v,m){Ki("request",i.recordHeaders,m)&&(g[m]=v)}),a.requestHeaders=g,Yi("request",i.recordBodyUrls,o.url)&&(l=Cf(o).then(function(v){a.requestBody=v})),u=n.performance.now(),f=r.apply(n,arguments).then(function(v){s=v,c=n.performance.now();var m={};return s.headers.forEach(function(d,y){Ki("response",i.recordHeaders,y)&&(m[y]=d)}),a.responseHeaders=m,Yi("response",i.recordBodyUrls,o.url)&&(h=Cf(s).then(function(d){a.responseBody=d})),s})}catch(v){f=Promise.reject(v)}return Promise.all([l,h,f]).then(function(){return gu(n,"fetch",o.url,u,c)}).then(function(v){if(!v){Xt.error("Failed to get performance entry for fetch request to "+o.url);return}var m={url:v.name,method:o.method,initiatorType:v.initiatorType,status:s?s.status:void 0,startTime:Math.round(v.startTime),endTime:Math.round(v.responseEnd),timeOrigin:Hi(n),requestHeaders:a.requestHeaders,requestBody:a.requestBody,responseHeaders:a.responseHeaders,responseBody:a.responseBody};t({requests:[m]})}).catch(function(v){Xt.error("Error recording fetch request to "+o.url+": "+String(v))}),f}});return function(){e()}}function US(t,n,i){if(!("performance"in n))return function(){};var e=Object.assign({},os.recordHeaders,i.recordHeaders||{}),r=Object.assign({},os.recordBodyUrls,i.recordBodyUrls||{});i=Object.assign({},i,{recordHeaders:e,recordBodyUrls:r});var o=Object.assign({},os,i),s=function(f){var l=f.requests.filter(function(h){var g=Wi(h.url,o.ignoreRequestUrls||[]);return!g&&!o.ignoreRequestFn(h)});(l.length>0||f.isInitial)&&t(Object.assign({},f,{requests:l}))},a=LS(s,n,o),u=DS(s,n,o),c=FS(s,n,o);return function(){a(),u(),c()}}var BS="rrweb/[email protected]",zS=function(t){return{name:BS,observer:US,options:t}},Vt=et("recorder"),qS=E.CompressionStream,WS={batch_size:1e3,batch_flush_interval_ms:10*1e3,batch_request_timeout_ms:90*1e3,batch_autostart:!0},GS=new Set([D.MouseMove,D.MouseInteraction,D.Scroll,D.ViewportResize,D.Input,D.TouchMove,D.MediaInteraction,D.Drag,D.Selection]);function jS(t){return t.type===V.IncrementalSnapshot&&GS.has(t.data.source)}var me=function(t){this._mixpanel=t.mixpanelInstance,this._onIdleTimeout=t.onIdleTimeout||bt,this._onMaxLengthReached=t.onMaxLengthReached||bt,this._onBatchSent=t.onBatchSent||bt,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=Jr,this.recordMinMs=0,this._recordMinMsCheckStart=null;var n=gn(t.sharedLockStorage||Eo(),!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new Be(au,sp,cu),this.batcher=new ze(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:WS,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:t.sharedLockStorage,usePersistence:n,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:lS,sharedLockTimeoutMS:10*1e3})};me.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var t={distinct_id:String(this._mixpanel.get_distinct_id())},n=this._mixpanel.get_property("$device_id");n&&(t.$device_id=n);var i=this._mixpanel.get_property("$user_id");return i&&(t.$user_id=i),t};me.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init().catch(function(){this.reportError("Error initializing IndexedDB storage for unloading persisted data.")}.bind(this)).then(function(){return this.getDurationMs()<this._getRecordMinMs()?this.queueStorage.removeItem(this.batcherKey):this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))}.bind(this))};me.prototype.getConfig=function(t){return this._mixpanel.get_config(t)};me.prototype.get_config=function(t){return this.getConfig(t)};me.prototype.startRecording=function(t){if(this._rrwebRecord===null){this.reportError("rrweb record function not provided. ");return}if(this._stopRecording!==null){Vt.log("Recording already in progress, skipping startRecording.");return}this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>Jr&&(this.recordMaxMs=Jr,Vt.critical("record_max_ms cannot be greater than "+Jr+"ms. Capping value.")),this.maxExpires||(this.maxExpires=new Date().getTime()+this.recordMaxMs),this.recordMinMs=this._getRecordMinMs(),this.replayStartTime||(this.replayStartTime=new Date().getTime(),this.batchStartUrl=p.info.currentUrl(),this.replayStartUrl=p.info.currentUrl()),t||this.recordMinMs>0?(this.batcher.stop(),this._recordMinMsCheckStart=null):this.batcher.start();var n=function(){clearTimeout(this.idleTimeoutId);var c=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,c),this.idleExpires=new Date().getTime()+c}.bind(this);n();var i=this.getConfig("record_block_selector");(i===""||i===null)&&(i=void 0);var e=MS(this._mixpanel),r=[];if(this.getConfig("record_network")){var o=this.getConfig("record_network_options")||{},s=(o.ignoreRequestUrls||[]).slice();s.push(this._getApiRoute()),o.ignoreRequestUrls=s,r.push(zS(o))}this.getConfig("record_console")&&r.push(zb({stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}}));var a=lp(this.getConfig("record_allowed_iframe_origins"),Vt);try{this._stopRecording=this._rrwebRecord({emit:function(c){if(this.idleExpires&&this.idleExpires<c.timestamp){this._onIdleTimeout();return}this._recordMinMsCheckStart===null&&(this._recordMinMsCheckStart=c.timestamp),jS(c)&&(this.batcher.stopped&&c.timestamp-this._recordMinMsCheckStart>=this.recordMinMs&&this.batcher.start(),n()),this.__enqueuePromise=this.batcher.enqueue(c),(this.lastEventTimestamp===null||c.timestamp>this.lastEventTimestamp)&&(this.lastEventTimestamp=c.timestamp)}.bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:i,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextSelector:"*",maskInputFn:this._getMaskFn(TS,e),maskTextFn:this._getMaskFn(PS,e),recordCrossOriginIframes:a.length>0,allowedIframeOrigins:a,recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15},plugins:r})}catch(c){this.reportError("Unexpected error when starting rrweb recording.",c)}if(typeof this._stopRecording!="function"){this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,this.stopRecording();return}var u=this.maxExpires-new Date().getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),u)};me.prototype.stopRecording=function(t){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(i){this.reportError("Error with rrweb stopRecording",i)}this._stopRecording=null}var n;return this.batcher.stopped?n=this.batcher.clear():t||(n=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),n};me.prototype.isRrwebStopped=function(){return this._stopRecording===null};me.prototype.flushEventsWithOptOut=function(t,n,i){var e=function(r){r===0&&(this.stopRecording(),i({error:"Tracking has been opted out, stopping recording."}))}.bind(this);this._flushEvents(t,n,i,e)};me.prototype.serialize=function(){var t;try{t=this._mixpanel.get_tab_id()}catch(n){this.reportError("Error getting tab ID for serialization ",n),t=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,lastEventTimestamp:this.lastEventTimestamp,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:t}};me.deserialize=function(t,n){var i=new me(p.extend({},n,{replayId:t.replayId,batchStartUrl:t.batchStartUrl,replayStartUrl:t.replayStartUrl,idleExpires:t.idleExpires,maxExpires:t.maxExpires,replayStartTime:t.replayStartTime,lastEventTimestamp:t.lastEventTimestamp,seqNo:t.seqNo,sharedLockStorage:n.sharedLockStorage}));return i};me.prototype._getApiRoute=function(){return this.getConfig("api_routes").record};me.prototype._sendRequest=function(t,n,i,e){var r=function(s,a){s.status===200&&this.replayId===t&&(this.seqNo++,this.batchStartUrl=p.info.currentUrl()),this._onBatchSent(),e({status:0,httpStatusCode:s.status,responseBody:a,retryAfter:s.headers.get("Retry-After")})}.bind(this),o=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");E.fetch(o+"/"+this._getApiRoute()+"?"+new URLSearchParams(n),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:i}).then(function(s){s.json().then(function(a){r(s,a)}).catch(function(a){e({error:a})})}).catch(function(s){e({error:s,httpStatusCode:0})})};me.prototype._flushEvents=Pt(function(t,n,i){var e=t.length;if(e>0){for(var r=this.replayId,o=1/0,s=-1/0,a=!1,u=0;u<e;u++)o=Math.min(o,t[u].timestamp),s=Math.max(s,t[u].timestamp),t[u].type===V.FullSnapshot&&(a=!0);if(this.seqNo===0){if(!a){i({error:"First batch does not contain a full snapshot. Aborting recording."}),this.stopRecording(!0);return}this.replayStartTime=o}else this.replayStartTime||(this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=o);var c=s-this.replayStartTime,f={$current_url:this.batchStartUrl,$lib_version:Ne.LIB_VERSION,batch_start_time:o/1e3,mp_lib:"web",replay_id:r,replay_length_ms:c,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},l=JSON.stringify(t);if(Object.assign(f,this.getUserIdInfo()),rS(Je,at.vendor,jr)){var h=new Blob([l],{type:"application/json"}).stream(),g=h.pipeThrough(new qS("gzip"));new Response(g).blob().then(function(v){f.format="gzip",this._sendRequest(r,f,v,i)}.bind(this))}else f.format="body",this._sendRequest(r,f,l,i)}});me.prototype.reportError=function(t,n){Vt.error.apply(Vt.error,arguments);try{!n&&!(t instanceof Error)&&(t=new Error(t)),this.getConfig("error_reporter")(t,n)}catch(i){Vt.error(i)}};me.prototype.getDurationMs=function(){return this.replayStartTime===null?0:this.lastEventTimestamp===null?new Date().getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime};me.prototype._getRecordMinMs=function(){var t=this.getConfig("record_min_ms");return t>Qo?(Vt.critical("record_min_ms cannot be greater than "+Qo+"ms. Capping value."),Qo):t};me.prototype._getMaskFn=function(t,n){return function(i,e){if(!i.trim().length)return"";var r=!0;try{r=t(e,n)}catch(s){this.reportError("Error checking if text should be masked, defaulting to masked",s)}if(r){var o=Math.min(i.length,1e4);return"*".repeat(o)}else return i}.bind(this)};var pt=function(t){this.idb=new Be(au,uu,cu),this.errorReporter=t.errorReporter,this.mixpanelInstance=t.mixpanelInstance,this.sharedLockStorage=t.sharedLockStorage};pt.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")};pt.prototype.handleError=function(t){this.errorReporter("IndexedDB error: ",t)};pt.prototype.setActiveRecording=function(t){if(!this.isPersistenceEnabled())return U.resolve();var n=t.tabId;return n?this.idb.init().then(function(){return this.idb.setItem(n,t)}.bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),U.resolve())};pt.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 pu(t)?null:t}.bind(this)).catch(this.handleError.bind(this)):U.resolve(null)};pt.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()};pt.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))};pt.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):U.resolve()};pt.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 pu(i)}).map(function(i){var e=me.deserialize(i,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage});return e.unloadPersistedData().then(function(){return this.idb.removeItem(i.tabId)}.bind(this)).catch(this.handleError.bind(this))}.bind(this));return U.all(n)}.bind(this)).catch(this.handleError.bind(this)):U.resolve([])};var Zr=et("recorder"),rt=function(t,n,i){this.mixpanelInstance=t,this.rrwebRecord=n||At,this.sharedLockStorage=i,this.recordingRegistry=new pt({mixpanelInstance:this.mixpanelInstance,errorReporter:Zr.error,sharedLockStorage:i}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};rt.prototype.startRecording=function(t){if(t=t||{},this.activeRecording&&!this.activeRecording.isRrwebStopped()){Zr.log("Recording already in progress, skipping startRecording.");return}var n=function(){Zr.log("Idle timeout reached, restarting recording."),this.resetRecording()}.bind(this),i=function(){Zr.log("Max recording length reached, stopping recording."),this.resetRecording()}.bind(this),e=function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}.bind(this),r={mixpanelInstance:this.mixpanelInstance,onBatchSent:e,onIdleTimeout:n,onMaxLengthReached:i,replayId:p.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return t.activeSerializedRecording?this.activeRecording=me.deserialize(t.activeSerializedRecording,r):this.activeRecording=new me(r),this.activeRecording.startRecording(t.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())};rt.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))};rt.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)};rt.prototype._stopCurrentRecording=function(t,n){if(this.activeRecording){var i=this.activeRecording.stopRecording(t);return n&&(this.activeRecording=null),i}return U.resolve()};rt.prototype.resumeRecording=function(t){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),U.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(n){return n&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:n}):t?this.startRecording({shouldStopBatcher:!1}):(Zr.log("No resumable recording found."),null)}.bind(this))};rt.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})};rt.prototype.isRecording=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()};rt.prototype.getActiveReplayId=function(){return this.isRecording()?this.activeRecording.replayId:null};Object.defineProperty(rt.prototype,"replayId",{get:function(){return this.getActiveReplayId()}});E[as]=rt;function VS(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Si={exports:{}},HS=Si.exports,Ef;function KS(){return Ef||(Ef=1,function(t,n){(function(i,e){t.exports=e()})(HS,function(){Array.isArray||(Array.isArray=function(o){return Object.prototype.toString.call(o)==="[object Array]"});function i(o){for(var s=[],a=0,u=o.length;a<u;a++)s.indexOf(o[a])===-1&&s.push(o[a]);return s}var e={},r={"==":function(o,s){return o==s},"===":function(o,s){return o===s},"!=":function(o,s){return o!=s},"!==":function(o,s){return o!==s},">":function(o,s){return o>s},">=":function(o,s){return o>=s},"<":function(o,s,a){return a===void 0?o<s:o<s&&s<a},"<=":function(o,s,a){return a===void 0?o<=s:o<=s&&s<=a},"!!":function(o){return e.truthy(o)},"!":function(o){return!e.truthy(o)},"%":function(o,s){return o%s},log:function(o){return console.log(o),o},in:function(o,s){return!s||typeof s.indexOf>"u"?!1:s.indexOf(o)!==-1},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(o,s,a){if(a<0){var u=String(o).substr(s);return u.substr(0,u.length+a)}return String(o).substr(s,a)},"+":function(){return Array.prototype.reduce.call(arguments,function(o,s){return parseFloat(o,10)+parseFloat(s,10)},0)},"*":function(){return Array.prototype.reduce.call(arguments,function(o,s){return parseFloat(o,10)*parseFloat(s,10)})},"-":function(o,s){return s===void 0?-o:o-s},"/":function(o,s){return o/s},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,function(o,s){return o.concat(s)},[])},var:function(o,s){var a=s===void 0?null:s,u=this;if(typeof o>"u"||o===""||o===null)return u;for(var c=String(o).split("."),f=0;f<c.length;f++)if(u==null||(u=u[c[f]],u===void 0))return a;return u},missing:function(){for(var o=[],s=Array.isArray(arguments[0])?arguments[0]:arguments,a=0;a<s.length;a++){var u=s[a],c=e.apply({var:u},this);(c===null||c==="")&&o.push(u)}return o},missing_some:function(o,s){var a=e.apply({missing:s},this);return s.length-a.length>=o?[]:a}};return e.is_logic=function(o){return typeof o=="object"&&o!==null&&!Array.isArray(o)&&Object.keys(o).length===1},e.truthy=function(o){return Array.isArray(o)&&o.length===0?!1:!!o},e.get_operator=function(o){return Object.keys(o)[0]},e.get_values=function(o){return o[e.get_operator(o)]},e.apply=function(o,s){if(Array.isArray(o))return o.map(function(d){return e.apply(d,s)});if(!e.is_logic(o))return o;var a=e.get_operator(o),u=o[a],c,f,l,h,g;if(Array.isArray(u)||(u=[u]),a==="if"||a=="?:"){for(c=0;c<u.length-1;c+=2)if(e.truthy(e.apply(u[c],s)))return e.apply(u[c+1],s);return u.length===c+1?e.apply(u[c],s):null}else if(a==="and"){for(c=0;c<u.length;c+=1)if(f=e.apply(u[c],s),!e.truthy(f))return f;return f}else if(a==="or"){for(c=0;c<u.length;c+=1)if(f=e.apply(u[c],s),e.truthy(f))return f;return f}else{if(a==="filter")return h=e.apply(u[0],s),l=u[1],Array.isArray(h)?h.filter(function(d){return e.truthy(e.apply(l,d))}):[];if(a==="map")return h=e.apply(u[0],s),l=u[1],Array.isArray(h)?h.map(function(d){return e.apply(l,d)}):[];if(a==="reduce")return h=e.apply(u[0],s),l=u[1],g=typeof u[2]<"u"?e.apply(u[2],s):null,Array.isArray(h)?h.reduce(function(d,y){return e.apply(l,{current:y,accumulator:d})},g):g;if(a==="all"){if(h=e.apply(u[0],s),l=u[1],!Array.isArray(h)||!h.length)return!1;for(c=0;c<h.length;c+=1)if(!e.truthy(e.apply(l,h[c])))return!1;return!0}else if(a==="none"){if(h=e.apply(u[0],s),l=u[1],!Array.isArray(h)||!h.length)return!0;for(c=0;c<h.length;c+=1)if(e.truthy(e.apply(l,h[c])))return!1;return!0}else if(a==="some"){if(h=e.apply(u[0],s),l=u[1],!Array.isArray(h)||!h.length)return!1;for(c=0;c<h.length;c+=1)if(e.truthy(e.apply(l,h[c])))return!0;return!1}}if(u=u.map(function(d){return e.apply(d,s)}),r.hasOwnProperty(a)&&typeof r[a]=="function")return r[a].apply(s,u);if(a.indexOf(".")>0){var v=String(a).split("."),m=r;for(c=0;c<v.length;c++){if(!m.hasOwnProperty(v[c]))throw new Error("Unrecognized operation "+a+" (failed at "+v.slice(0,c+1).join(".")+")");m=m[v[c]]}return m.apply(s,u)}throw new Error("Unrecognized operation "+a)},e.uses_data=function(o){var s=[];if(e.is_logic(o)){var a=e.get_operator(o),u=o[a];Array.isArray(u)||(u=[u]),a==="var"?s.push(u[0]):u.forEach(function(c){s.push.apply(s,e.uses_data(c))})}return i(s)},e.add_operation=function(o,s){r[o]=s},e.rm_operation=function(o){delete r[o]},e.rule_like=function(o,s){if(s===o||s==="@")return!0;if(s==="number")return typeof o=="number";if(s==="string")return typeof o=="string";if(s==="array")return Array.isArray(o)&&!e.is_logic(o);if(e.is_logic(s)){if(e.is_logic(o)){var a=e.get_operator(s),u=e.get_operator(o);if(a==="@"||a===u)return e.rule_like(e.get_values(o,!1),e.get_values(s,!1))}return!1}if(Array.isArray(s))if(Array.isArray(o)){if(s.length!==o.length)return!1;for(var c=0;c<s.length;c+=1)if(!e.rule_like(o[c],s[c]))return!1;return!0}else return!1;return!1},e})}(Si)),Si.exports}var YS=KS(),JS=VS(YS),XS=function(t,n,i){if(t!==i.event_name)return{matches:!1};var e=i.property_filters,r=!0;if(e&&!p.isEmptyObject(e))try{r=JS.apply(e,n||{})}catch(o){return{matches:!1,error:o.toString()}}return{matches:r}},Cp={};Cp.eventMatchesCriteria=XS;E[We]=Promise.resolve(Cp);var ZS=30,QS=1e3,eC=4,tC=!1;function Ep(){this.clicks=[]}Ep.prototype.isRageClick=function(t,n){n=n||{};var i=n.threshold_px||ZS,e=n.timeout_ms||QS,r=n.click_count||eC,o=n.interactive_elements_only||tC;if(o){var s=_p(t);if(!s||mp(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 Dr(t,n){this.changeCallback=t||function(){},this.observerConfig=n,this.observedShadowRoots=null,this.shadowObservers=[]}Dr.prototype.getEventTarget=function(t){if(this.observedShadowRoots)return _p(t)};Dr.prototype.observeFromEvent=function(t){if(this.observedShadowRoots)for(var n=yp(t),i=0;i<n.length;i++){var e=n[i];e&&e.shadowRoot&&this.observeShadowRoot(e.shadowRoot)}};Dr.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){ne.critical("Error while observing shadow root",e)}}};Dr.prototype.start=function(){if(!this.observedShadowRoots){if(!IS()){ne.critical("Shadow DOM observation unavailable: WeakSet not supported");return}this.observedShadowRoots=new WeakSet}};Dr.prototype.stop=function(){if(this.observedShadowRoots){for(var t=0;t<this.shadowObservers.length;t++)try{this.shadowObservers[t].disconnect()}catch(n){ne.critical("Error while disconnecting shadow DOM observer",n)}this.shadowObservers=[],this.observedShadowRoots=null}};var rC=500,nC=[mn,hS,ji,pS,dS],iC=[Io],oC=[ca],If={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function nt(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}nt.prototype.addClick=function(t){var n=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(t);return n||(n=t.target||t.srcElement),!n||mp(n)?!1:(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(t),this.pendingClicks.push({element:n,event:t,timestamp:Date.now()}),!0)};nt.prototype.trackClick=function(t,n){if(!this.isTracking)return!1;var i=this.addClick(t);return i&&this.triggerProcessing(n),i};nt.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};nt.prototype.hasChangesAfter=function(t){return this.lastChangeEventTimestamp>=t-100};nt.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()};nt.prototype.triggerProcessing=function(t){this.processingActive||(this.processingActive=!0,this.processRecursively(t))};nt.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)};nt.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var t=this;nC.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}})}),oC.forEach(function(i){var e=function(){t.recordChangeEvent()};window.addEventListener(i,e),t.eventListeners.push({target:window,event:i,handler:e})}),iC.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,If)}catch(i){ne.critical("Error while setting up mutation observer",i)}if(window.customElements)try{this.shadowDOMObserver=new Dr(function(){t.recordChangeEvent()},If),this.shadowDOMObserver.start()}catch(i){ne.critical("Error while setting up shadow DOM observer",i),this.shadowDOMObserver=null}}};nt.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){ne.critical("Error while removing event listener",i)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(i){ne.critical("Error while disconnecting mutation observer",i)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(i){ne.critical("Error while stopping shadow DOM observer",i)}this.shadowDOMObserver=null}}};var Ip="autocapture",sC="track_pageview",da="full-url",aC="url-with-path-and-query-string",uC="url-with-path",cC="allow_element_callback",Op="allow_selectors",xp="allow_url_regexes",Rp="block_attrs",Ap="block_element_callback",kp="block_selectors",Mp="block_url_regexes",Tp="capture_extra_attrs",Pp="capture_text_content",$p="scroll_capture_all",Np="scroll_depth_percent_checkpoints",Ji="click",Xi="dead_click",va="input",Lp="pageview",Zi="rage_click",ga="scroll",Oo="page_leave",ma="submit",Ce={};Ce[Op]=[];Ce[xp]=[];Ce[Rp]=[];Ce[Ap]=null;Ce[kp]=[];Ce[Mp]=[];Ce[Tp]=[];Ce[Pp]=!1;Ce[$p]=!1;Ce[Np]=[25,50,75,100];Ce[Ji]=!0;Ce[Xi]=!0;Ce[va]=!0;Ce[Lp]=da;Ce[Zi]=!0;Ce[ga]=!0;Ce[Oo]=!1;Ce[ma]=!0;var yn={$mp_autocapture:!0},Dp="$mp_click",Fp="$mp_dead_click",fC="$mp_input_change",Up="$mp_rage_click",lC="$mp_scroll",hC="$mp_submit",pC="$mp_page_leave",be=function(t){this.mp=t,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};be.prototype.init=function(){if(!ES()){ne.critical("Autocapture unavailable: missing required DOM APIs");return}this.initPageListeners(),this.initPageviewTracking(),this.initClickTracking(),this.initDeadClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking(),this.initRageClickTracking(),this.initPageLeaveTracking()};be.prototype.getFullConfig=function(){var t=this.mp.get_config(Ip);return t?p.isObject(t)?p.extend({},Ce,t):Ce:{}};be.prototype.getConfig=function(t){return this.getFullConfig()[t]};be.prototype.currentUrlBlocked=function(){var t=p.info.currentUrl(),n=this.getConfig(xp)||[];if(n.length)try{return!Wi(t,n)}catch(e){return ne.critical("Error while checking block URL regexes: ",e),!0}var i=this.getConfig(Mp)||[];if(!i||!i.length)return!1;try{return Wi(t,i)}catch(e){return ne.critical("Error while checking block URL regexes: ",e),!0}};be.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(Ip)?this.getConfig(Lp):this.mp.get_config(sC)};be.prototype.trackDomEvent=function(t,n){if(!this.currentUrlBlocked()){var i=this.mp.is_recording_heatmap_data()&&(n===Dp&&!this.getConfig(Ji)||n===Up&&!this._getClickTrackingConfig(Zi)||n===Fp&&!this._getClickTrackingConfig(Xi)),e=SS(t,{allowElementCallback:this.getConfig(cC),allowSelectors:this.getConfig(Op),blockAttrs:this.getConfig(Rp),blockElementCallback:this.getConfig(Ap),blockSelectors:this.getConfig(kp),captureExtraAttrs:this.getConfig(Tp),captureTextContent:this.getConfig(Pp),captured
vendor: 15,627 bytes, line 93
93ForHeatMap:i});e&&(p.extend(e,yn),this.mp.track(n,e))}};be.prototype.initPageListeners=function(){if(E.removeEventListener(vf,this.listenerPopstate),E.removeEventListener(ca,this.listenerHashchange),!(!this.pageviewTrackingConfig()&&!this.getConfig(Oo)&&!this.mp.get_config("record_heatmap_data"))){this.listenerPopstate=function(){E.dispatchEvent(new Event(wt))},this.listenerHashchange=function(){E.dispatchEvent(new Event(wt))},E.addEventListener(vf,this.listenerPopstate),E.addEventListener(ca,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(wt))});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(wt))})}};be.prototype._getClickTrackingConfig=function(t){var n=this.getConfig(t);return n?n===!0?{}:typeof n=="object"?n:{}:null};be.prototype._trackPageLeave=function(t,n,i){if(!this.hasTrackedScrollSession&&!(!this.getConfig(Oo)&&!this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var e=Math.max(F.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(F.documentElement.clientWidth,E.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},yn);this.mp.track(pC,s,{transport:"sendBeacon"})}};be.prototype._initScrollDepthTracking=function(){if(E.removeEventListener(du,this.listenerScrollDepth),E.removeEventListener(Io,this.listenerScrollDepth),!!this.mp.get_config("record_heatmap_data")){ne.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(F.documentElement.clientHeight,E.innerHeight||0);var t=function(){if(!this.currentUrlBlocked()){var i=Math.max(F.documentElement.clientHeight,E.innerHeight||0)+E.scrollY;i>this.maxScrollViewDepth&&(this.maxScrollViewDepth=i),this.previousScrollHeight=F.body.scrollHeight}}.bind(this),n=gp(t);this.listenerScrollDepth=n.listener,E.addEventListener(n.eventType,this.listenerScrollDepth)}};be.prototype.initClickTracking=function(){E.removeEventListener(ht,this.listenerClick,!0),!(!this.getConfig(Ji)&&!this.mp.get_config("record_heatmap_data"))&&(ne.log("Initializing click tracking"),this.listenerClick=function(t){!this.getConfig(Ji)&&!this.mp.is_recording_heatmap_data()||this.trackDomEvent(t,Dp)}.bind(this),E.addEventListener(ht,this.listenerClick,!0))};be.prototype.initDeadClickTracking=function(){var t=this._getClickTrackingConfig(Xi);if(!t&&!this.mp.get_config("record_heatmap_data")){this.stopDeadClickTracking();return}ne.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new nt(function(n){this.trackDomEvent(n,Fp)}.bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=function(n){var i=this._getClickTrackingConfig(Xi);if(!(!i&&!this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var e=i||{};e.timeout_ms||(e.timeout_ms=rC),this._deadClickTracker.trackClick(n,e)}}.bind(this),E.addEventListener(ht,this.listenerDeadClick,!0))};be.prototype.initInputTracking=function(){E.removeEventListener(mn,this.listenerChange,!0),this.getConfig(va)&&(ne.log("Initializing input tracking"),this.listenerChange=function(t){this.getConfig(va)&&this.trackDomEvent(t,fC)}.bind(this),E.addEventListener(mn,this.listenerChange,!0))};be.prototype.initPageviewTracking=function(){if(E.removeEventListener(wt,this.listenerLocationchange),!(!this.pageviewTrackingConfig()&&!this.mp.get_config("record_heatmap_data"))){ne.log("Initializing pageview tracking");var t="",n=!1;(this.pageviewTrackingConfig()||this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()&&(n=this.mp.track_pageview(yn)),n&&(t=p.info.currentUrl()),this.listenerLocationchange=Jt(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&&this.mp.is_recording_heatmap_data()&&(o=da),o===da?e=i!==t:o===aC?e=i.split("#")[0]!==t.split("#")[0]:o===uC&&(e=r),e){var s=this.mp.track_pageview(yn);s&&(t=i),r&&(this.lastScrollCheckpoint=0,ne.log("Path change: re-initializing scroll depth checkpoints"))}}}.bind(this)),E.addEventListener(wt,this.listenerLocationchange)}};be.prototype.initRageClickTracking=function(){E.removeEventListener(ht,this.listenerRageClick,!0);var t=this._getClickTrackingConfig(Zi);!t&&!this.mp.get_config("record_heatmap_data")||(ne.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new Ep),this.listenerRageClick=function(n){var i=this._getClickTrackingConfig(Zi);!i&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked()||this._rageClickTracker.isRageClick(n,i)&&this.trackDomEvent(n,Up)}.bind(this),E.addEventListener(ht,this.listenerRageClick,!0))};be.prototype.initScrollTracking=function(){if(E.removeEventListener(Io,this.listenerScroll),E.removeEventListener(du,this.listenerScroll),!!this.getConfig(ga)){ne.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var t=function(){if(this.getConfig(ga)&&!this.currentUrlBlocked()){var i=this.getConfig($p),e=(this.getConfig(Np)||[]).slice().sort(function(f,l){return f-l}),r=E.scrollY,o=p.extend({$scroll_top:r},yn);try{var s=F.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){ne.critical("Error while calculating scroll percentage",f)}i&&this.mp.track(lC,o)}}.bind(this),n=gp(t);this.listenerScroll=n.listener,E.addEventListener(n.eventType,this.listenerScroll)}};be.prototype.initSubmitTracking=function(){E.removeEventListener(ji,this.listenerSubmit,!0),this.getConfig(ma)&&(ne.log("Initializing submit tracking"),this.listenerSubmit=function(t){this.getConfig(ma)&&this.trackDomEvent(t,hC)}.bind(this),E.addEventListener(ji,this.listenerSubmit,!0))};be.prototype.initPageLeaveTracking=function(){if(F.removeEventListener(gf,this.listenerPageLeaveVisibilitychange),E.removeEventListener(wt,this.listenerPageLeaveLocationchange),E.removeEventListener(df,this.listenerPageLoad),!(!this.getConfig(Oo)&&!this.mp.get_config("record_heatmap_data"))){ne.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var t=p.info.currentUrl();this.listenerPageLoad=function(){this.previousScrollHeight=F.body.scrollHeight}.bind(this),E.addEventListener(df,this.listenerPageLoad),this.listenerPageLeaveLocationchange=Jt(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(F.documentElement.clientHeight,E.innerHeight||0),this.previousScrollHeight=F.body.scrollHeight,this.hasTrackedScrollSession=!1)}}.bind(this)),E.addEventListener(wt,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=function(n){F.hidden&&this._trackPageLeave(n,t,this.previousScrollHeight)}.bind(this),F.addEventListener(gf,this.listenerPageLeaveVisibilitychange)}};be.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(E.removeEventListener(ht,this.listenerDeadClick,!0),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)};ou(be);var Bp=function(t,n){return E[We]&&typeof E[We].then=="function"||(E[We]=new Promise(function(i){t(n,i)}).then(function(){var i=E[We];if(i&&typeof i.then=="function")return i;throw new Error("targeting failed to load")}).catch(function(i){throw delete E[We],i})),E[We]},je=et("flags"),dC="mixpanelFlagsDb",zp="mixpanelFlags",vC={version:1,storeNames:[zp]},gC="persisted_variants_for_",Of=24*60*60*1e3,St=Object.freeze({NETWORK_ONLY:"networkOnly",NETWORK_FIRST:"networkFirst",PERSISTENCE_UNTIL_NETWORK_SUCCESS:"persistenceUntilNetworkSuccess"}),mC=[St.NETWORK_ONLY,St.NETWORK_FIRST,St.PERSISTENCE_UNTIL_NETWORK_SUCCESS],ir=function(t,n,i){this.idb=new Be(dC,zp,vC),this.persistenceConfig=t,this.persistedVariantsKey=gC+n,this.isGloballyDisabled=i||function(){return!1}};ir.prototype.getPolicy=function(){return this.isGloballyDisabled()||!this._isConfigValid()?St.NETWORK_ONLY:this.persistenceConfig.variantLookupPolicy};ir.prototype.getTtlMs=function(){if(!this._isConfigValid())return Of;var t=this.persistenceConfig.persistenceTtlMs;return t??Of};ir.prototype._isConfigValid=function(){var t=this.persistenceConfig;return t?mC.indexOf(t.variantLookupPolicy)===-1?(je.error("Invalid variantLookupPolicy:",t.variantLookupPolicy),!1):t.persistenceTtlMs!==void 0&&t.persistenceTtlMs!==null&&t.persistenceTtlMs<=0?(je.error("If provided, persistenceTtlMs must be a positive number. Provided value:",t.persistenceTtlMs),!1):!0:!1};ir.prototype.loadFlagsFromStorage=function(t){var n=p.bind(function(){return this.clear().then(function(){return null}).catch(function(){return null})},this);if(this.getPolicy()===St.NETWORK_ONLY)return n();var i=this.getTtlMs();return this.idb.init().then(p.bind(function(){return this.idb.getItem(this.persistedVariantsKey)},this)).then(p.bind(function(e){if(!e)return je.log("No persisted variants found in IndexedDB"),null;if(i&&Date.now()-e.persistedAt>=i)return je.log("Persisted variants are expiring"),null;if(!t||e.distinctId!==t.distinct_id)return je.log("Persisted variants found, but for a different distinct_id so clearing."),n();var r=new Map;return p.each(e.flagVariants,function(o,s){r.set(s,{key:o.variant_key,value:o.variant_value,experiment_id:o.experiment_id,is_experiment_active:o.is_experiment_active,is_qa_tester:o.is_qa_tester,variant_source:"persistence",persisted_at_in_ms:e.persistedAt,ttl_in_ms:i})}),je.log("Loaded",r.size,"variants from IndexedDB for distinct_id",e.distinctId),{flags:r,pendingFirstTimeEvents:e.pendingFirstTimeEvents||{},persistedAtMs:e.persistedAt,ttlMs:i}},this)).catch(p.bind(function(e){return je.error("Failed to load persisted variants from IndexedDB, so clearing",e),n()},this))};ir.prototype.save=function(t,n,i){if(this.getPolicy()===St.NETWORK_ONLY)return Promise.resolve();var e={};n.forEach(function(o,s){e[s]={variant_key:o.key,variant_value:o.value,experiment_id:o.experiment_id,is_experiment_active:o.is_experiment_active,is_qa_tester:o.is_qa_tester}});var r={persistedAt:Date.now(),distinctId:t&&t.distinct_id,context:t,flagVariants:e,pendingFirstTimeEvents:i||{}};return this.idb.init().then(p.bind(function(){return this.idb.setItem(this.persistedVariantsKey,r)},this)).then(function(){je.log("Saved",n.size,"variants to IndexedDB for distinct_id",r.distinctId)}).catch(function(o){je.error("Failed to persist variants to IndexedDB:",o)})};ir.prototype.clear=function(){return this.isGloballyDisabled()?Promise.resolve():this.idb.init().then(p.bind(function(){return this.idb.removeItem(this.persistedVariantsKey)},this)).then(function(){je.log("Cleared persisted variants from IndexedDB")}).catch(function(t){je.error("Failed to clear persisted variants from IndexedDB:",t)})};var X=et("flags"),Qi="flags",eo="context",yC="persistence",ya={};ya[eo]={};var _C=function(t,n){return t+":"+n},wC=function(t){return t.split(":")[0]},jt=function(t){return p.isObject(t)?p.extend({},t,{variant_source:"fallback"}):{value:t,variant_source:"fallback"}},A=function(t){this.fetch=E.fetch,this.getFullApiRoute=t.getFullApiRoute,this.getMpConfig=t.getConfigFunc,this.setMpConfig=t.setConfigFunc,this.getMpProperty=t.getPropertyFunc,this.track=t.trackingFunc,this.loadExtraBundle=t.loadExtraBundle||function(){},this.targetingSrc=t.targetingSrc||""};A.prototype.init=function(){if(!this.minApisSupported()){X.critical("Feature Flags unavailable: missing minimum required APIs");return}return this.flags=null,this.trackedFeatures=new Set,this.pendingFirstTimeEvents={},this.activatedFirstTimeEvents={},this._loadedPersistedAtMs=null,this._loadedTtlMs=null,this.persistence=new ir(this.getConfig(yC),this.getMpConfig("token"),p.bind(function(){return this.getMpConfig("disable_persistence")},this)),this.persistenceLoadedPromise=this.persistence.loadFlagsFromStorage(this._buildContext()).then(p.bind(function(t){t&&(this.flags=t.flags,this.pendingFirstTimeEvents=t.pendingFirstTimeEvents,this._loadedPersistedAtMs=t.persistedAtMs,this._loadedTtlMs=t.ttlMs)},this)),this.persistenceLoadedPromise.then(p.bind(function(){return this.fetchFlags()},this)).catch(function(){X.error("Error initializing feature flags")})};A.prototype._buildContext=function(){return p.extend({distinct_id:this.getMpProperty("distinct_id"),device_id:this.getMpProperty("$device_id")},this.getConfig(eo))};A.prototype.reset=function(){return this.persistence?(this.flags=null,this.pendingFirstTimeEvents={},this.activatedFirstTimeEvents={},this.trackedFeatures=new Set,this.fetchPromise=null,this._fetchInProgressStartTime=null,this._loadedPersistedAtMs=null,this._loadedTtlMs=null,this.persistence.clear().then(p.bind(function(){return this.fetchFlags()},this)).catch(function(){X.error("Error during flags reset")})):Promise.resolve()};A.prototype.getFullConfig=function(){var t=this.getMpConfig(Qi);return t?p.isObject(t)?p.extend({},ya,t):ya:{}};A.prototype.getConfig=function(t){return this.getFullConfig()[t]};A.prototype.isSystemEnabled=function(){return!!this.getMpConfig(Qi)};A.prototype.updateContext=function(t,n){if(!this.isSystemEnabled())return X.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var i=this.getMpConfig(Qi);p.isObject(i)||(i={});var e=n&&n.replace?{}:this.getConfig(eo);i[eo]=p.extend({},e,t);var r={};return r[Qi]=i,this.setMpConfig(r),this.fetchFlags().catch(function(){X.error("Error fetching flags during updateContext")})};A.prototype.areFlagsReady=function(){return this.isSystemEnabled()||X.error("Feature Flags not enabled"),!!this.flags};A.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var t=this._buildContext(),n=t.distinct_id,i=op();X.log("Fetching flags for distinct ID: "+n);var e=new URLSearchParams;e.set("context",JSON.stringify(t)),e.set("token",this.getMpConfig("token")),e.set("mp_lib","web"),e.set("$lib_version",Ne.LIB_VERSION);var r=this.getFullApiRoute()+"?"+e.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(E,r,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:i}}).then(function(o){return this.markFetchComplete(),o.json()}.bind(this)).then(function(o){var s=o.flags;if(!s)throw new Error("No flags in API response");var a=new Map,u={};p.each(s,function(f,l){var h=!1,g=l+":";if(p.each(this.activatedFirstTimeEvents,function(m,d){d.startsWith(g)&&(h=!0)}),h){var v=this.flags&&this.flags.get(l);v&&a.set(l,v)}else a.set(l,{key:f.variant_key,value:f.variant_value,experiment_id:f.experiment_id,is_experiment_active:f.is_experiment_active,is_qa_tester:f.is_qa_tester,variant_source:"network"})},this);var c=o.pending_first_time_events;c&&c.length>0&&p.each(c,function(f){var l=f.flag_key,h=_C(l,f.first_time_event_hash);this.activatedFirstTimeEvents[h]||(u[h]={flag_key:l,flag_id:f.flag_id,project_id:f.project_id,first_time_event_hash:f.first_time_event_hash,event_name:f.event_name,property_filters:f.property_filters,pending_variant:f.pen
93ding_variant})},this),this.activatedFirstTimeEvents&&p.each(this.activatedFirstTimeEvents,function(f,l){var h=wC(l);f&&!a.has(h)&&this.flags&&this.flags.has(h)&&a.set(h,this.flags.get(h))},this),this.flags=a,this.trackedFeatures=new Set,this.pendingFirstTimeEvents=u,this._loadedPersistedAtMs=null,this._loadedTtlMs=null,this._traceparent=i,this._loadTargetingIfNeeded(),this.persistence.save(t,this.flags,this.pendingFirstTimeEvents)}.bind(this)).catch(function(o){throw this._fetchInProgressStartTime&&this.markFetchComplete(),X.error(o),o}.bind(this)),this.fetchPromise};A.prototype.loadFlags=function(){return this.isSystemEnabled()?this.trackedFeatures?this._fetchInProgressStartTime?this.fetchPromise:this.fetchFlags():(X.error("loadFlags called before init"),Promise.resolve()):Promise.resolve()};A.prototype.markFetchComplete=function(){if(!this._fetchInProgressStartTime){X.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};A.prototype._loadTargetingIfNeeded=function(){var t=!1;p.each(this.pendingFirstTimeEvents,function(n){n.property_filters&&!p.isEmptyObject(n.property_filters)&&(t=!0)}),t&&this.getTargeting().then(function(){X.log("targeting loaded for property filter evaluation")})};A.prototype.getTargeting=function(){return Bp(this.loadExtraBundle.bind(this),this.targetingSrc).catch(function(t){X.error("Failed to load targeting: "+t)}.bind(this))};A.prototype.checkFirstTimeEvents=function(t,n){!this.pendingFirstTimeEvents||p.isEmptyObject(this.pendingFirstTimeEvents)||(E[We]&&p.isFunction(E[We].then)?E[We].then(function(i){this._processFirstTimeEventCheck(t,n,i)}.bind(this)).catch(function(){this._processFirstTimeEventCheck(t,n,null)}.bind(this)):this._processFirstTimeEventCheck(t,n,null))};A.prototype._processFirstTimeEventCheck=function(t,n,i){p.each(this.pendingFirstTimeEvents,function(e,r){if(!this.activatedFirstTimeEvents[r]){var o=e.flag_key,s;if(!i&&e.property_filters&&!p.isEmptyObject(e.property_filters)){X.warn('Skipping event check for "'+o+'" - property filters require targeting library');return}if(!i)s={matches:t===e.event_name,error:null};else{var a={event_name:e.event_name,property_filters:e.property_filters};s=i.eventMatchesCriteria(t,n,a)}if(s.error){X.error('Error checking first-time event for flag "'+o+'": '+s.error);return}if(s.matches){X.log('First-time event matched for flag "'+o+'": '+t);var u={key:e.pending_variant.variant_key,value:e.pending_variant.variant_value,experiment_id:e.pending_variant.experiment_id,is_experiment_active:e.pending_variant.is_experiment_active};this.flags.set(o,u),this.trackedFeatures.delete(o),this.activatedFirstTimeEvents[r]=!0,this.recordFirstTimeEvent(e.flag_id,e.project_id,e.first_time_event_hash)}}},this)};A.prototype.getFirstTimeEventApiRoute=function(t){var n=this.getFullApiRoute().replace(/\/$/,"");return n+"/"+t+"/first-time-events"};A.prototype.recordFirstTimeEvent=function(t,n,i){var e=this.getMpProperty("distinct_id"),r=op(),o=new URLSearchParams;o.set("mp_lib","web"),o.set("$lib_version",Ne.LIB_VERSION);var s=this.getFirstTimeEventApiRoute(t)+"?"+o.toString(),a={distinct_id:e,project_id:n,first_time_event_hash:i};X.log("Recording first-time event for flag: "+t),this.fetch.call(E,s,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:r},body:JSON.stringify(a)}).catch(function(u){X.error("Failed to record first-time event for flag "+t+": "+u)})};A.prototype.getVariant=function(t,n){if(!this.persistenceLoadedPromise)return new Promise(function(e){X.critical("Feature Flags not initialized"),e(jt(n))});var i=this.persistence.getPolicy();return this.persistenceLoadedPromise.then(p.bind(function(){if(i===St.PERSISTENCE_UNTIL_NETWORK_SUCCESS)return this.areFlagsReady()&&!this._loadedPersistenceIsStale()?this.getVariantSync(t,n):this.fetchPromise?this.fetchPromise.then(p.bind(function(){return this.getVariantSync(t,n)},this)).catch(function(r){return X.error(r),jt(n)}):jt(n);var e=p.bind(function(){return this.getVariantSync(t,n)},this);return this.fetchPromise?this.fetchPromise.then(e).catch(e):jt(n)},this))};A.prototype._loadedPersistenceIsStale=function(){return!this._loadedPersistedAtMs||!this._loadedTtlMs?!1:Date.now()-this._loadedPersistedAtMs>=this._loadedTtlMs};A.prototype.getVariantSync=function(t,n){if(this._loadedPersistenceIsStale())return X.log('Loaded persisted variants are past TTL so returning fallback for "'+t+'"'),jt(n);if(!this.areFlagsReady())return X.log("Flags not loaded yet"),jt(n);var i=this.flags.get(t);return i?(this.trackFeatureCheck(t,i),i):(X.log('No flag found: "'+t+'"'),jt(n))};A.prototype.getAllVariants=function(){if(!this.persistenceLoadedProm
vendor: 6,621 bytes, line 93
93ise)return X.critical("Feature Flags not initialized"),Promise.resolve(new Map);var t=this.persistence.getPolicy();return this.persistenceLoadedPromise.then(p.bind(function(){if(t===St.PERSISTENCE_UNTIL_NETWORK_SUCCESS)return this.areFlagsReady()&&!this._loadedPersistenceIsStale()?this.getAllVariantsSync():this.fetchPromise?this.fetchPromise.then(p.bind(function(){return this.getAllVariantsSync()},this)).catch(function(i){return X.error(i),new Map}):new Map;var n=p.bind(this.getAllVariantsSync,this);return this.fetchPromise?this.fetchPromise.then(n).catch(n):new Map},this))};A.prototype.getAllVariantsSync=function(){return this._loadedPersistenceIsStale()?(X.log("Loaded persisted variants are past TTL so returning empty Map"),new Map):this.flags||new Map};A.prototype.getVariantValue=function(t,n){return this.getVariant(t,{value:n}).then(function(i){return i.value}).catch(function(i){return X.error(i),n})};A.prototype.getFeatureData=function(t,n){return X.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value() instead."),this.getVariantValue(t,n)};A.prototype.getVariantValueSync=function(t,n){return this.getVariantSync(t,{value:n}).value};A.prototype.isEnabled=function(t,n){return this.getVariantValue(t).then(function(){return this.isEnabledSync(t,n)}.bind(this)).catch(function(i){return X.error(i),n})};A.prototype.isEnabledSync=function(t,n){n=n||!1;var i=this.getVariantValueSync(t,n);return i!==!0&&i!==!1&&(X.error('Feature flag "'+t+'" value: '+i+" is not a boolean; returning fallback value: "+n),i=n),i};function mt(t){return t!=null}A.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":mt(this._fetchStartTime)?new Date(this._fetchStartTime).toISOString():null,"Variant fetch complete time":mt(this._fetchCompleteTime)?new Date(this._fetchCompleteTime).toISOString():null,"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};mt(n.experiment_id)&&(i.$experiment_id=n.experiment_id),mt(n.is_experiment_active)&&(i.$is_experiment_active=n.is_experiment_active),mt(n.is_qa_tester)&&(i.$is_qa_tester=n.is_qa_tester),mt(n.variant_source)&&(i.$variant_source=n.variant_source),mt(n.persisted_at_in_ms)&&(i.$persisted_at_in_ms=n.persisted_at_in_ms),mt(n.ttl_in_ms)&&(i.$ttl_in_ms=n.ttl_in_ms),this.track("$experiment_started",i)}};A.prototype.whenReady=function(){return this.fetchPromise?this.fetchPromise:Promise.resolve()};A.prototype.minApisSupported=function(){return!!this.fetch&&typeof Promise<"u"&&typeof Map<"u"&&typeof Set<"u"};ou(A);A.prototype.are_flags_ready=A.prototype.areFlagsReady;A.prototype.get_variant=A.prototype.getVariant;A.prototype.get_variant_sync=A.prototype.getVariantSync;A.prototype.get_all_variants=A.prototype.getAllVariants;A.prototype.get_all_variants_sync=A.prototype.getAllVariantsSync;A.prototype.get_variant_value=A.prototype.getVariantValue;A.prototype.get_variant_value_sync=A.prototype.getVariantValueSync;A.prototype.is_enabled=A.prototype.isEnabled;A.prototype.is_enabled_sync=A.prototype.isEnabledSync;A.prototype.load_flags=A.prototype.loadFlags;A.prototype.update_context=A.prototype.updateContext;A.prototype.when_ready=A.prototype.whenReady;A.prototype.get_feature_data=A.prototype.getFeatureData;A.prototype.getTargeting=A.prototype.getTargeting;var bC=et("recorder"),qp="mp_iframe_handshake_request",Wp="mp_iframe_handshake_response",Oe=function(t){this.mixpanelInstance=t.mixpanelInstance,this.getMpConfig=t.getConfigFunc,this.getTabId=t.getTabIdFunc,this.reportError=t.reportErrorFunc,this.getDistinctId=t.getDistinctIdFunc,this.loadExtraBundle=t.loadExtraBundle,this.recorderSrc=t.recorderSrc,this.targetingSrc=t.targetingSrc,this.libBasePath=t.libBasePath,this._recorder=null,this._parentReplayId=null,this._parentFrameRetryInterval=null};Oe.prototype.shouldLoadRecorder=function(){if(this.getMpConfig("disable_persistence"))return L.log("Load recorder check skipped due to disable_persistence config"),U.resolve(!1);var t=new Be(au,uu,cu),n=this.getTabId();return t.init().then(function(){return t.getAll()}).then(function(i){for(var e=0;e<i.length;e++)if(pu(i[e])||i[e].tabId===n)return!0;return!1}).catch(p.bind(function(i){return this.reportError("Error checking recording registry",i),!1},this))};Oe.prototype.checkAndStartSessionRecording=function(t,n){if(!E.MutationObserver)return L.critical("Browser does not support MutationObserver; skipping session recording"),U.resolve();var i=p.bind(function(a){return new U(p.bind(function(u){var c=Jt(p.bind(function(){this._recorder=this._recorder||new E[as](this.mixpanelInstance),this._recorder.resumeRecording(a),u()},this));if(p.isUndefined(E[as])){var f=this.recorderSrc||this.libBasePath+rd;this.loadExtraBundle(f,c)}else c()},this))},this),e=lp(this.getMpConfig("record_allowed_iframe_origins"),bC),r=e.length>0;if(r&&(this._setupParentFrameListener(e),E.parent!==E))return this._setupChildFrameListener(e,i),this._sendParentFrameRequestWithRetry(e),U.resolve();var o=p.isUndefined(n)?this.getMpConfig("record_sessions_percent"):n,s=o>0&&Math.random()*100<=o;return t||s?i(!0):this.shouldLoadRecorder().then(p.bind(function(a){return a?i(!1):U.resolve()},this))};Oe.prototype.isRecording=function(){if(!this._recorder||!p.isFunction(this._recorder.isRecording))return!1;try{return this._recorder.isRecording()}catch(t){return this.reportError("Error checking if recording is active",t),!1}};Oe.prototype.startRecordingOnEvent=function(t,n){var i=this.isRecording(),e=this.getMpConfig("recording_event_triggers");if(!i&&e){var r=e[t];if(r&&typeof r.percentage=="number"){var o=r.percentage,s=r.property_filters;if(s&&!p.isEmptyObject(s)){var a=this.targetingSrc||this.libBasePath+xf;Bp(this.loadExtraBundle,a).then(function(u){try{var c=u.eventMatchesCriteria(t,n,{event_name:t,property_filters:s});c.matches&&this.checkAndStartSessionRecording(!1,o)}catch(f){L.critical("Could not parse recording event trigger properties logic:",f)}}.bind(this)).catch(function(u){L.critical("Failed to load targeting library:",u)})}else this.checkAndStartSessionRecording(!1,o)}}};Oe.prototype.stopSessionRecording=function(){return this._recorder?this._recorder.stopRecording():U.resolve()};Oe.prototype.pauseSessionRecording=function(){return this._recorder?this._recorder.pauseRecording():U.resolve()};Oe.prototype.resumeSessionRecording=function(){return this._recorder?this._recorder.resumeRecording():U.resolve()};
vendor: 46,906 bytes, line 93
93Oe.prototype.isRecordingHeatmapData=function(){return this.getSessionReplayId()&&this.getMpConfig("record_heatmap_data")};Oe.prototype.getSessionRecordingProperties=function(){var t={},n=this.getSessionReplayId();return n&&(t.$mp_replay_id=n),t};Oe.prototype.getSessionReplayUrl=function(){var t=null,n=this.getSessionReplayId();if(n){var i=p.HTTPBuildQuery({replay_id:n,distinct_id:this.getDistinctId(),token:this.getMpConfig("token")});t="https://mixpanel.com/projects/replay-redirect?"+i}return t};Oe.prototype.getSessionReplayId=function(){if(this._parentReplayId)return this._parentReplayId;var t=null;return this._recorder&&(t=this._recorder.replayId),t||null};Oe.prototype.getRecorder=function(){return this._recorder};Oe.prototype._setupChildFrameListener=function(t,n){if(!this._childFrameMessageHandler){var i=this;this._childFrameMessageHandler=function(e){if(t.indexOf(e.origin)!==-1){var r=e.data;r&&r.type===Wp&&r.token===i.getMpConfig("token")&&r.replayId&&(i._parentReplayId=r.replayId,r.distinctId&&i.mixpanelInstance.identify(r.distinctId),i._parentFrameRetryActive=!1,E.removeEventListener("message",i._childFrameMessageHandler),i._childFrameMessageHandler=null,n(!0))}},E.addEventListener("message",this._childFrameMessageHandler)}};Oe.prototype._sendParentFrameRequest=function(t){var n={};n.type=qp,n.token=this.getMpConfig("token");for(var i=0;i<t.length;i++)try{E.parent.postMessage(n,t[i])}catch{}};Oe.prototype._sendParentFrameRequestWithRetry=function(t){var n=this,i=10,e=0,r=50;this._parentFrameRetryActive=!0,this._sendParentFrameRequest(t);function o(){setTimeout(function(){!n._parentFrameRetryActive||n._parentReplayId||++e>=i||(n._sendParentFrameRequest(t),r*=2,o())},r)}o()};Oe.prototype._setupParentFrameListener=function(t){if(!this._parentFrameMessageHandler){var n=this;this._parentFrameMessageHandler=function(i){if(t.indexOf(i.origin)!==-1){var e=i.data;if(e&&e.type===qp&&e.token===n.getMpConfig("token")){var r=n.getSessionReplayId();if(r){var o={};o.type=Wp,o.token=n.getMpConfig("token"),o.replayId=r,o.distinctId=n.getDistinctId(),i.source.postMessage(o,i.origin)}}}},E.addEventListener("message",this._parentFrameMessageHandler)}};ou(Oe);var dt=function(){};dt.prototype.create_properties=function(){};dt.prototype.event_handler=function(){};dt.prototype.after_track_handler=function(){};dt.prototype.init=function(t){return this.mp=t,this};dt.prototype.track=function(t,n,i,e){var r=this,o=p.dom_query(t);if(o.length===0){L.error("The DOM query ("+t+") returned 0 elements");return}return p.each(o,function(s){p.register_event(s,this.override_event,function(a){var u={},c=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};dt.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))}};dt.prototype.create_properties=function(t,n){var i;return typeof t=="function"?i=t(n):i=p.extend({},t),i};var Pr=function(){this.override_event="click"};p.inherit(Pr,dt);Pr.prototype.create_properties=function(t,n){var i=Pr.superclass.create_properties.apply(this,arguments);return n.href&&(i.url=n.href),i};Pr.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()};Pr.prototype.after_track_handler=function(t,n){n.new_tab||setTimeout(function(){window.location=n.href},0)};var xo=function(){this.override_event="submit"};p.inherit(xo,dt);xo.prototype.event_handler=function(t,n,i){i.element=n,t.preventDefault()};xo.prototype.after_track_handler=function(t,n){setTimeout(function(){n.element.submit()},0)};var Et="$set",$r="$set_once",Ge="$unset",Zt="$add",Qe="$append",Qt="$union",ut="$remove",SC="$delete",Gp={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[Et]=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[Ge]=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[$r]=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[Qt]=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[Qe]=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[ut]=e,i},delete_action:function(){var t={};return t[SC]="",t}},ae=function(){};p.extend(ae.prototype,Gp);ae.prototype._init=function(t,n,i){this._mixpanel=t,this._group_key=n,this._group_id=i};ae.prototype.set=Nr(function(t,n,i){var e=this.set_action(t,n);return p.isObject(t)&&(i=n),this._send_request(e,i)});ae.prototype.set_once=Nr(function(t,n,i){var e=this.set_once_action(t,n);return p.isObject(t)&&(i=n),this._send_request(e,i)});ae.prototype.unset=Nr(function(t,n){var i=this.unset_action(t);return this._send_request(i,n)});ae.prototype.union=Nr(function(t,n,i){p.isObject(t)&&(i=n);var e=this.union_action(t,n);return this._send_request(e,i)});ae.prototype.delete=Nr(function(t){var n=this.delete_action();return this._send_request(n,t)});ae.prototype.remove=Nr(function(t,n,i){var e=this.remove_action(t,n);return this._send_request(e,i)});ae.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)};ae.prototype._is_reserved_property=function(t){return t==="$group_key"||t==="$group_id"};ae.prototype._get_config=function(t){return this._mixpanel.get_config(t)};ae.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id};ae.prototype.remove=ae.prototype.remove;ae.prototype.set=ae.prototype.set;ae.prototype.set_once=ae.prototype.set_once;ae.prototype.union=ae.prototype.union;ae.prototype.unset=ae.prototype.unset;ae.prototype.toString=ae.prototype.toString;var B=function(){};p.extend(B.prototype,Gp);B.prototype._init=function(t){this._mixpanel=t};B.prototype.set=$t(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[Et]=p.extend({},p.info.people_properties(),e[Et]),this._send_request(e,i)});B.prototype.set_once=$t(function(t,n,i){var e=this.set_once_action(t,n);return p.isObject(t)&&(i=n),this._send_request(e,i)});B.prototype.unset=$t(function(t,n){var i=this.unset_action(t);return this._send_request(i,n)});B.prototype.increment=$t(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))){L.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[Zt]=r,this._send_request(e,i)});B.prototype.append=$t(function(t,n,i){p.isObject(t)&&(i=n);var e=this.append_action(t,n);return this._send_request(e,i)});B.prototype.remove=$t(function(t,n,i){p.isObject(t)&&(i=n);var e=this.remove_action(t,n);return this._send_request(e,i)});B.prototype.union=$t(function(t,n,i){p.isObject(t)&&(i=n);var e=this.union_action(t,n);return this._send_request(e,i)});B.prototype.track_charge=$t(function(){L.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")});B.prototype.clear_charges=function(t){return this.set("$transactions",[],t)};B.prototype.delete_user=function(){if(!this._identify_called()){L.error("mixpanel.people.delete_user() requires you to call identify() first");return}var t={$delete:this._mixpanel.get_distinct_id()};return this._send_request(t)};B.prototype.toString=function(){return this._mixpanel.toString()+".people"};B.prototype._send_request=function(t,n){t.$token=this._get_config("token"),t.$distinct_id=this._mixpanel.get_distinct_id();var i=this._mixpanel.get_property("$device_id"),e=this._mixpanel.get_property("$user_id"),r=this._mixpanel.get_property("$had_persisted_distinct_id");i&&(t.$device_id=i),e&&(t.$user_id=e),r&&(t.$had_persisted_distinct_id=r);var o=p.encodeDates(t);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:o,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},n):(this._enqueue(t),p.isUndefined(n)||(this._get_config("verbose")?n({status:-1,error:null}):n(-1)),p.truncate(o,255))};B.prototype._get_config=function(t){return this._mixpanel.get_config(t)};B.prototype._identify_called=function(){return this._mixpanel._flags.identify_called===!0};B.prototype._enqueue=function(t){Et in t?this._mixpanel.persistence._add_to_people_queue(Et,t):$r in t?this._mixpanel.persistence._add_to_people_queue($r,t):Ge in t?this._mixpanel.persistence._add_to_people_queue(Ge,t):Zt in t?this._mixpanel.persistence._add_to_people_queue(Zt,t):Qe in t?this._mixpanel.persistence._add_to_people_queue(Qe,t):ut in t?this._mixpanel.persistence._add_to_people_queue(ut,t):Qt in t?this._mixpanel.persistence._add_to_people_queue(Qt,t):L.error("Invalid call to _enqueue():",t)};B.prototype._flush_one_queue=function(t,n,i,e){var r=this,o=p.extend({},this._mixpanel.persistence.load_queue(t)),s=o;!p.isUndefined(o)&&p.isObject(o)&&!p.isEmptyObject(o)&&(r._mixpanel.persistence._pop_from_people_queue(t,o),r._mixpanel.persistence.save(),e&&(s=e(o)),n.call(r,s,function(a,u){a===0&&r._mixpanel.persistence._add_to_people_queue(t,o),p.isUndefined(i)||i(a,u)}))};B.prototype._flush=function(t,n,i,e,r,o,s){var a=this;this._flush_one_queue(Et,this.set,t),this._flush_one_queue($r,this.set_once,e),this._flush_one_queue(Ge,this.unset,o,function(d){return p.keys(d)}),this._flush_one_queue(Zt,this.increment,n),this._flush_one_queue(Qt,this.union,r);var u=this._mixpanel.persistence.load_queue(Qe);if(!p.isUndefined(u)&&p.isArray(u)&&u.length)for(var c,f=function(d,y){d===0&&a._mixpanel.persistence._add_to_people_queue(Qe,c),p.isUndefined(i)||i(d,y)},l=u.length-1;l>=0;l--)u=this._mixpanel.persistence.load_queue(Qe),c=u.pop(),a._mixpanel.persistence.save(),p.isEmptyObject(c)||a.append(c,f);var h=this._mixpanel.persistence.load_queue(ut);if(!p.isUndefined(h)&&p.isArray(h)&&h.length)for(var g,v=function(d,y){d===0&&a._mixpanel.persistence._add_to_people_queue(ut,g),p.isUndefined(s)||s(d,y)},m=h.length-1;m>=0;m--)h=this._mixpanel.persistence.load_queue(ut),g=h.pop(),a._mixpanel.persistence.save(),p.isEmptyObject(g)||a.remove(g,v)};B.prototype._is_reserved_property=function(t){return t==="$distinct_id"||t==="$token"||t==="$device_id"||t==="$user_id"||t==="$had_persisted_distinct_id"};B.prototype.set=B.prototype.set;B.prototype.set_once=B.prototype.set_once;B.prototype.unset=B.prototype.unset;B.prototype.increment=B.prototype.increment;B.prototype.append=B.prototype.append;B.prototype.remove=B.prototype.remove;B.prototype.union=B.prototype.union;B.prototype.track_charge=B.prototype.track_charge;B.prototype.clear_charges=B.prototype.clear_charges;B.prototype.delete_user=B.prototype.delete_user;B.prototype.toString=B.prototype.toString;var mu="__mps",yu="__mpso",_u="__mpus",wu="__mpa",bu="__mpap",Su="__mpr",Cu="__mpu",jp="$people_distinct_id",to="__alias",_n="__timers",CC=[mu,yu,_u,wu,bu,Su,Cu,jp,to,_n],W=function(t){this.props={},this.campaign_params_saved=!1,t.persistence_name?this.name="mp_"+t.persistence_name:this.name="mp_"+t.token+"_mixpanel";var n=t.persistence;n!=="cookie"&&n!=="localStorage"&&(L.critical("Unknown persistence type "+n+"; falling back to cookie"),n=t.persistence="cookie"),n==="localStorage"&&p.localStorage.is_supported()?this.storage=p.localStorage:this.storage=p.cookie,this.load(),this.update_config(t),this.upgrade(),this.save()};W.prototype.properties=function(){var t={};return this.load(),p.each(this.props,function(n,i){p.include(CC,i)||(t[i]=n)}),t};W.prototype.load=function(){if(!this.disabled){var t=this.storage.parse(this.name);t&&(this.props=p.extend({},t))}};W.prototype.upgrade=function(){var t,n;this.storage===p.localStorage?(t=p.cookie.parse(this.name),p.cookie.remove(this.name),p.cookie.remove(this.name,!0),t&&this.register_once(t)):this.storage===p.cookie&&(n=p.localStorage.parse(this.name),p.localStorage.remove(this.name),n&&this.register_once(n))};W.prototype.save=function(){this.disabled||this.storage.set(this.name,Tr(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)};W.prototype.load_prop=function(t){return this.load(),this.props[t]};W.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)};W.prototype.clear=function(){this.remove(),this.props={}};W.prototype.register_once=function(t,n,i){return p.isObject(t)?(typeof n>"u"&&(n="None"),this.expire_days=typeof i>"u"?this.default_expiry:i,this.load(),p.each(t,function(e,r){(!this.props.hasOwnProperty(r)||this.props[r]===n)&&(this.props[r]=e)},this),this.save(),!0):!1};W.prototype.register=function(t,n){return p.isObject(t)?(this.expire_days=typeof n>"u"?this.default_expiry:n,this.load(),p.extend(this.props,t),this.save(),!0):!1};W.prototype.unregister=function(t){this.load(),t in this.props&&(delete this.props[t],this.save())};W.prototype.update_search_keyword=function(t){this.register(p.info.searchInfo(t))};W.prototype.update_referrer_info=function(t){this.register_once({$initial_referrer:t||"$direct",$initial_referring_domain:p.info.referringDomain(t)||"$direct"},"")};W.prototype.get_referrer_info=function(){return p.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})};W.prototype.update_config=function(t){this.default_expiry=this.expire_days=t.cookie_expiration,this.set_disabled(t.disable_persistence),this.set_cookie_domain(t.cookie_domain),this.set_cross_site(t.cross_site_cookie),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie)};W.prototype.set_disabled=function(t){this.disabled=t,this.disabled?this.remove():this.save()};W.prototype.set_cookie_domain=function(t){t!==this.cookie_domain&&(this.remove(),this.cookie_domain=t,this.save())};W.prototype.set_cross_site=function(t){t!==this.cross_site&&(this.cross_site=t,this.remove(),this.save())};W.prototype.set_cross_subdomain=function(t){t!==this.cross_subdomain&&(this.cross_subdomain=t,this.remove(),this.save())};W.prototype.get_cross_subdomain=function(){return this.cross_subdomain};W.prototype.set_secure=function(t){t!==this.secure&&(this.secure=!!t,this.remove(),this.save())};W.prototype._add_to_people_queue=function(t,n){var i=this._get_queue_key(t),e=n[t],r=this._get_or_create_queue(Et),o=this._get_or_create_queue($r),s=this._get_or_create_queue(Ge),a=this._get_or_create_queue(Zt),u=this._get_or_create_queue(Qt),c=this._get_or_create_queue(ut,[]),f=this._get_or_create_queue(Qe,[]);i===mu?(p.extend(r,e),this._pop_from_people_queue(Zt,e),this._pop_from_people_queue(Qt,e),this._pop_from_people_queue(Ge,e)):i===yu?(p.each(e,function(l,h){h in o||(o[h]=l)}),this._pop_from_people_queue(Ge,e)):i===_u?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===wu?(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(Ge,e)):i===Cu?(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(Ge,e)):i===Su?(c.push(e),this._pop_from_people_queue(Qe,e)):i===bu&&(f.push(e),this._pop_from_people_queue(Ge,e)),L.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),L.log(n),this.save()};W.prototype._pop_from_people_queue=function(t,n){var i=this.props[this._get_queue_key(t)];p.isUndefined(i)||p.each(n,function(e,r){t===Qe||t===ut?p.each(i,function(o){o[r]===e&&delete o[r]}):delete i[r]},this)};W.prototype.load_queue=function(t){return this.load_prop(this._get_queue_key(t))};W.prototype._get_queue_key=function(t){if(t===Et)return mu;if(t===$r)return yu;if(t===Ge)return _u;if(t===Zt)return wu;if(t===Qe)return bu;if(t===ut)return Su;if(t===Qt)return Cu;L.error("Invalid queue:",t)};W.prototype._get_or_create_queue=function(t,n){var i=this._get_queue_key(t);return n=p.isUndefined(n)?{}:n,this.props[i]||(this.props[i]=n)};W.prototype.set_event_timer=function(t,n){var i=this.load_prop(_n)||{};i[t]=n,this.props[_n]=i,this.save()};W.prototype.remove_event_timer=function(t){var n=this.load_prop(_n)||{},i=n[t];return p.isUndefined(i)||(delete this.props[_n][t],this.save()),i};var ro,_a=function(t,n){throw new Error(t+" not available in this build.")},Re,wa=0,EC=1,Ue="mixpanel",Vp="base64",IC="json",Eu="$device:",OC="strict",xC="fallback",RC="disabled",wr=E.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,Hp=!wr&&Je.indexOf("MSIE")===-1&&Je.indexOf("Mozilla")===-1,no=null;at.sendBeacon&&(no=function(){return at.sendBeacon.apply(at,arguments)});var Kp={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/",settings:"settings/"},ba={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:Kp,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:Vp,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:bt,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:bt,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_allowed_iframe_origins:[],record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video, audio",record_canvas:!1,record_collect_fonts:!1,record_console:!0,record_heatmap_data:!1,recording_event_triggers:{},record_idle_timeout_ms:30*60*1e3,record_mask_inputs:!0,record_max_ms:Jr,record_min_ms:0,record_network:!1,record_network_options:{},record_sessions_percent:0,recorder_src:null,targeting_src:null,lib_base_path:"https://cdn.mxpnl.com/libs/",remote_settings_mode:RC},Yp=!1,w=function(){},Sa=function(t,n,i){var e,r=i===Ue?Re:Re[i];if(r&&ro===wa)e=r;else{if(r&&!p.isArray(r)){L.error("You have already initialized "+i);return}e=new w}if(e._cached_groups={},e._init(t,n,i),e.people=new B,e.people._init(e),!e.get_config("skip_first_touch_marketing")){var o=p.info.campaignParams(null),s={},a=!1;p.each(o,function(c,f){s["initial_"+f]=c,c&&(a=!0)}),a&&e.people.set_once(s)}Ne.DEBUG=Ne.DEBUG||e.get_config("debug");var u=ro===wa?"module":"snippet";return E.dispatchEvent(new E.CustomEvent("$mp_sdk_to_extension_event",{detail:{instance:e,source:u,token:t,name:i,info:p.info}})),!p.isUndefined(r)&&p.isArray(r)&&(e._execute_array.call(e.people,r.people),e._execute_array(r)),e};w.prototype.init=function(t,n,i){if(p.isUndefined(i)){this.report_error("You must name your new library: init(token, config, name)");return}if(i===Ue){this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");return}var e=Sa(t,n,i);return Re[i]=e,e._loaded(),e};w.prototype._init=function(t,n,i){n=n||{},this.__loaded=!0,this.config={};var e={};if(!("api_payload_format"in n)){var r=n.api_host||ba.api_host;r.match(/\.mixpanel\.com/)&&(e.api_payload_format=IC)}if(this.hooks={},this.set_config(p.extend({},ba,e,n,{name:i,token:t,callback_fn:(i===Ue?i:Ue+"."+i)+"._jsc"})),this.recorderManager=new Oe({mixpanelInstance:this,getConfigFunc:p.bind(this.get_config,this),setConfigFunc:p.bind(this.set_config,this),getTabIdFunc:p.bind(this.get_tab_id,this),reportErrorFunc:p.bind(this.report_error,this),getDistinctIdFunc:p.bind(this.get_distinct_id,this),recorderSrc:this.get_config("recorder_src"),targetingSrc:this.get_config("targeting_src"),libBasePath:this.get_config("lib_base_path"),loadExtraBundle:_a}),this._jsc=bt,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this._remote_settings_strict_disabled=!1,this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests){if(!p.localStorage.is_supported(!0)||!wr)this._batch_requests=!1,L.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),p.each(this.get_batcher_configs(),function(u){L.log("Clearing batch queue "+u.queue_key),p.localStorage.remove(u.queue_key)});else if(this.init_batchers(),no&&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(){F.visibilityState==="hidden"&&o()})}}this.persistence=this.cookie=new W(this.config),this.unpersisted_superprops={},this._gdpr_init();var s=p.UUID();this.get_distinct_id()||this.register_once({distinct_id:Eu+s,$device_id:s},""),this.flags=new A({getFullApiRoute:p.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:p.bind(this.get_config,this),setConfigFunc:p.bind(this.set_config,this),getPropertyFunc:p.bind(this.get_property,this),trackingFunc:p.bind(this.track,this),loadExtraBundle:_a,targetingSrc:this.get_config("targeting_src")||this.get_config("lib_base_path")+xf}),this.flags.init(),this.flags=this.flags,this._init_tab_id();var a=this.get_config("remote_settings_mode");a===OC||a===xC?this.__session_recording_init_promise=this._fetch_remote_settings(a).then(p.bind(function(){return this._check_and_start_session_recording()},this)):this.__session_recording_init_promise=this._check_and_start_session_recording(),this.autocapture=new be(this),this.autocapture.init()};w.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))L.log("Tab ID initialization skipped due to disable_persistence config");else if(p.sessionStorage.is_supported())try{var t=this.get_config("name")+"_"+this.get_config("token"),n="mp_tab_id_"+t,i="mp_gen_new_tab_id_"+t;(p.sessionStorage.get(i)||!p.sessionStorage.get(n))&&p.sessionStorage.set(n,"$tab-"+p.UUID()),p.sessionStorage.set(i,"1"),this.tab_id=p.sessionStorage.get(n),E.addEventListener("beforeunload",function(){p.sessionStorage.remove(i)})}catch(e){this.report_error("Error initializing tab id",e)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")};w.prototype.get_tab_id=function(){return this.tab_id||null};w.prototype._check_and_start_session_recording=Pt(function(t){return this.recorderManager.checkAndStartSessionRecording(t)});w.prototype._start_recording_on_event=Jt(function(t,n){this.__session_recording_init_promise&&this.__session_recording_init_promise.then(p.bind(function(){if(!this._remote_settings_strict_disabled)return this.recorderManager.startRecordingOnEvent(t,n)},this))});w.prototype.start_session_recording=function(){return this._check_and_start_session_recording(!0)};w.prototype.stop_session_recording=function(){return this.recorderManager.stopSessionRecording()};w.prototype.pause_session_recording=function(){return this.recorderManager.pauseSessionRecording()};w.prototype.resume_session_recording=function(){return this.recorderManager.resumeSessionRecording()};w.prototype.is_recording_heatmap_data=function(){return this.recorderManager.isRecordingHeatmapData()};w.prototype.get_session_recording_properties=function(){return this.recorderManager.getSessionRecordingProperties()};w.prototype.get_session_replay_url=function(){return this.recorderManager.getSessionReplayUrl()};w.prototype.__get_recorder=function(){return this.recorderManager.getRecorder()};w.prototype.__get_recording_init_promise=function(){return this.__session_recording_init_promise};w.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var t=p.info.campaignParams(null);p.each(t,function(n,i){this.unregister(i)}.bind(this))}};w.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(F.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(F.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(!Yp)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(wr){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(Hp)return this.__request_queue.push(arguments),r;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},s=null;!e&&(p.isFunction(i)||typeof i=="string")&&(e=i,i=null),i=p.extend(o,i||{}),wr||(i.method="GET");var a=i.method==="POST",u=no&&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),wr||(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=F.createElement("img");l.src=t,F.body.appendChild(l)}else if(u){try{r=no(t,s)}catch(y){f.report_error(y),r=!1}try{e&&e(r?1:0)}catch(y){f.report_error(y)}}else if(wr)try{var h=new XMLHttpRequest;h.open(i.method,t,!0);var g=this.get_config("xhr_headers");if(a&&(g["Content-Type"]="application/x-www-form-urlencoded"),p.each(g,function(y,_){h.setRequestHeader(_,y)}),i.timeout_ms&&typeof h.timeout<"u"){h.timeout=i.timeout_ms;var v=new Date().getTime()}h.withCredentials=!0,h.onreadystatechange=function(){if(h.readyState===4)if(h.status===200){if(e)if(c){var y;try{y=p.JSONDecode(h.responseText)}catch(C){if(f.report_error(C),i.ignore_json_errors)y=h.responseText;else return}e(y)}else e(Number(h.responseText))}else{var _;if(h.timeout&&!h.status&&new Date().getTime()-v>=h.timeout?_="timeout":_="Bad HTTP status: "+h.status+" "+h.statusText,f.report_error(_),e)if(c){var b=h.responseHeaders||{};e({status:0,httpStatusCode:h.status,error:_,retryAfter:b["Retry-After"]})}else e(0)}},h.send(s)}catch(y){f.report_error(y),r=!1}else{var m=F.createElement("script");m.type="text/javascript",m.async=!0,m.defer=!0,m.src=t;var d=F.getElementsByTagName("script")[0];d.parentNode.insertBefore(m,d)}return r};w.prototype._fetch_remote_settings=function(t){var n=this,i=function(){t==="strict"&&(n.set_config({record_sessions_percent:0}),n._remote_settings_strict_disabled=!0)};if(!E.AbortController)return L.critical("Remote settings unavailable: missing minimum required APIs"),i(),Promise.resolve();var e=this.get_api_host("settings")+"/"+this.get_config("api_routes").settings,r={$lib_version:Ne.LIB_VERSION,mp_lib:"web",sdk_config:"1"},o=p.HTTPBuildQuery(r),s=e+"?"+o,a=new AbortController,u=setTimeout(function(){a.abort()},500),c={method:"GET",headers:{Authorization:"Basic "+btoa(n.get_config("token")+":")},signal:a.signal};return E.fetch(s,c).then(function(f){if(clearTimeout(u),!f.ok){L.critical("Network response was not ok"),i();return}return f.json()}).then(function(f){if(f&&f.sdk_config&&f.sdk_config.config){var l=f.sdk_config.config,h={};p.each(l,function(g,v){ba.hasOwnProperty(v)&&(h[v]=g)}),p.isEmptyObject(h)?(L.critical("No valid config keys found in remote settings."),i()):n.set_config(h)}else i()}).catch(function(f){clearTimeout(u),L.critical("Failed to fetch remote settings",f),i()})};w.prototype._execute_array=function(t){var 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 ze(i.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:p.bind(function(e,r,o){var s=this.get_config("api_routes");this._send_request(this.get_api_host(i.api_name)+"/"+s[i.api_name],this._encode_data_for_request(e),r,this._prepare_callback(o,e))},this),beforeSendHook:p.bind(function(e){var r=this._run_hook("before_send_"+i.type,e);return r?r[0]:null},this),stopAllBatchingFunc:p.bind(this.stop_batch_senders,this),usePersistence:!0})},this),n=this.get_batcher_configs();this.request_batchers={events:t(n.events),people:t(n.people),groups:t(n.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()};w.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,p.each(this.request_batchers,function(t){t.start()}))};w.prototype.stop_batch_senders=function(){this._batch_requests=!1,p.each(this.request_batchers,function(t){t.stop(),t.clear()})};w.prototype.push=function(t){this._execute_array([t])};w.prototype.enable=function(t){var n,i,e,r;if(typeof t>"u")this._flags.disable_all_events=!1;else{for(n={},i=[],e=0;e<t.length;e++)n[t[e]]=!0;for(r=0;r<this.__disabled_events.length;r++)n[this.__disabled_events[r]]||i.push(this.__disabled_events[r]);this.__disabled_events=i}};w.prototype.disable=function(t){typeof t>"u"?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(t)};w.prototype._encode_data_for_request=function(t){var n=Tr(t);return this.get_config("api_payload_format")===Vp&&(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||bt;var a=!0,u=p.bind(function(){return s.skip_hooks||(i=this._run_hook("before_send_"+t.type,i),i&&(i=i[0])),i?(L.log("MIXPANEL REQUEST:"),L.log(i),this._send_request(e,this._encode_data_for_request(i),s,this._prepare_callback(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=Pt(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=bt),p.isUndefined(t)){this.report_error("No event name provided to mixpanel.track");return}if(this._event_is_disabled(t)){e(0);return}n=p.extend({},n),n.token=this.get_config("token");var a=this.persistence.remove_event_timer(t);if(!p.isUndefined(a)){var u=new Date().getTime()-a;n.$duration=parseFloat((u/1e3).toFixed(3))}this._set_default_superprops();var c=this.get_config("track_marketing")?p.info.marketingParams():{};n=p.extend({},p.info.properties({mp_loader:this.get_config("mp_loader")}),c,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),n);var f=this.get_config("property_blacklist");p.isArray(f)?p.each(f,function(h){delete n[h]}):this.report_error("Invalid value for property_blacklist config: "+f),this._start_recording_on_event(t,n);var l={event:t,properties:n};return r=this._track_or_batch({type:"events",data:l,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:s,send_request_options:i},e),this.flags&&this.flags.checkFirstTimeEvents&&this.flags.checkFirstTimeEvents(t,n),r});w.prototype.set_group=Pt(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=Pt(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=Pt(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=Pt(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 ae,e._init(this,t,n),this._cached_groups[i]=e),e};w.prototype.track_pageview=Pt(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.is_recording_heatmap_data()&&(r.$captured_for_heatmap=!0),this.track(i,r)});w.prototype.track_links=function(){return this._track_dom.call(this,Pr,arguments)};w.prototype.track_forms=function(){return this._track_dom.call(this,xo,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 AC={persistent:!0},Iu=function(t){var n;return p.isObject(t)?n=t:p.isUndefined(t)?n={}:n={days:t},p.extend({},AC,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=Iu(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=Iu(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=Iu(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(Eu)===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(to)&&(this.unregister(to),this.register({distinct_id:t})),this._flags.identify_called=!0,this.people._flush(n,i,e,r,o,s,a),t!==c&&this.track("$identify",{distinct_id:t,$anon_distinct_id:c},{skip_hooks:!0}),t!==c&&this.flags.fetchFlags().catch(function(){L.error("[flags] Error fetching flags during identify")})};w.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var t=p.UUID();this.register_once({distinct_id:Eu+t,$device_id:t},""),this._check_and_start_session_recording(),this.flags.reset()};w.prototype.get_distinct_id=function(){return this.get_property("distinct_id")};w.prototype.alias=function(t,n){if(t===this.get_property(jp))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(to,t),this.track("$create_alias",{alias:t,distinct_id:n},{skip_hooks:!0},function(){i.identify(t)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(t),-1)};w.prototype.name_tag=function(t){this._register_single("mp_name_tag",t)};w.prototype.set_config=function(t){if(p.isObject(t)){p.extend(this.config,t);var n=t.batch_size;n&&p.each(this.request_batchers,function(i){i.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),Ne.DEBUG=Ne.DEBUG||this.get_config("debug"),("autocapture"in t||"record_heatmap_data"in t)&&this.autocapture&&this.autocapture.init(),p.isObject(t.hooks)&&(this.hooks={},p.each(t.hooks,function(i,e){if(p.isFunction(i))this.hooks[e]=[i];else if(p.isArray(i)){this.hooks[e]=[];for(var r=0;r<i.length;r++)p.isFunction(i[r])||L.critical("Invalid hook added. Hook is not a function"),this.hooks[e].push(i[r])}else L.critical("Invalid hooks added. Ensure that the hook values passed into config.hooks are functions or arrays of functions.")},this))}};w.prototype.get_config=function(t){return this.config[t]};w.prototype._run_hook=function(t){var n=_t.call(arguments,1);return p.each(this.hooks[t],function(i){if(n===null)return null;var e=i.apply(this,n);typeof e>"u"?(this.report_error(t+" hook did not return a valid value"),n=null):(p.isArray(e)||(e=[e]),n.splice.apply(n,[0,e.length].concat(e)))},this),n};w.prototype.get_property=function(t){return this.persistence.load_prop([t])};w.prototype.get_api_host=function(t){return this.get_config("api_hosts")[t]||this.get_config("api_host")};w.prototype.toString=function(){var t=this.get_config("name");return t!==Ue&&(t=Ue+"."+t),t};w.prototype._event_is_disabled=function(t){return p.isBlockedUA(Je)||this._flags.disable_all_events||p.include(this.__disabled_events,t)};w.prototype._gdpr_init=function(){var t=this.get_config("opt_out_tracking_persistence_type")==="localStorage";t&&p.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):!this.has_opted_in_tracking()&&(this.get_config("opt_out_tracking_by_default")||p.cookie.get("mp_optout"))&&(p.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))};w.prototype._gdpr_update_persistence=function(t){var n;if(t&&t.clear_persistence)n=!0;else if(t&&t.enable_persistence)n=!1;else return;!this.get_config("disable_persistence")&&this.persistence.disabled!==n&&this.persistence.set_disabled(n),n?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()};w.prototype._gdpr_call_func=function(t,n){return n=p.extend({track:p.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},n),p.localStorage.is_supported()||(n.persistence_type="cookie"),t(this.get_config("token"),{track:n.track,trackEventName:n.track_event_name,trackProperties:n.track_properties,persistenceType:n.persistence_type,persistencePrefix:n.cookie_prefix,cookieDomain:n.cookie_domain,cookieExpiration:n.cookie_expiration,crossSiteCookie:n.cross_site_cookie,crossSubdomainCookie:n.cross_subdomain_cookie,secureCookie:n.secure_cookie,ignoreDnt:n.ignore_dnt})};w.prototype.opt_in_tracking=function(t){t=p.extend({enable_persistence:!0},t),this._gdpr_call_func(iS,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(oS,t),this._gdpr_update_persistence(t)};w.prototype.has_opted_in_tracking=function(t){return this._gdpr_call_func(sS,t)};w.prototype.has_opted_out_tracking=function(t){return this._gdpr_call_func(ap,t)};w.prototype.clear_opt_in_out_tracking=function(t){t=p.extend({enable_persistence:!0},t),this._gdpr_call_func(aS,t),this._gdpr_update_persistence(t)};w.prototype.report_error=function(t,n){L.error.apply(L.error,arguments);try{!n&&!(t instanceof Error)&&(t=new Error(t)),this.get_config("error_reporter")(t,n)}catch(i){L.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):L.log("remove_hook failed. Matching hook was not found"))};w.prototype.init=w.prototype.init;w.prototype.reset=w.prototype.reset;w.prototype.enable=w.prototype.enable;w.prototype.disable=w.prototype.disable;w.prototype.time_event=w.prototype.time_event;w.prototype.track=w.prototype.track;w.prototype.track_links=w.prototype.track_links;w.prototype.track_forms=w.prototype.track_forms;w.prototype.track_pageview=w.prototype.track_pageview;w.prototype.register=w.prototype.register;w.prototype.register_once=w.prototype.register_once;w.prototype.unregister=w.prototype.unregister;w.prototype.identify=w.prototype.identify;w.prototype.alias=w.prototype.alias;w.prototype.name_tag=w.prototype.name_tag;w.prototype.set_config=w.prototype.set_config;w.prototype.get_config=w.prototype.get_config;w.prototype.get_api_host=w.prototype.get_api_host;w.prototype.get_property=w.prototype.get_property;w.prototype.get_distinct_id=w.prototype.get_distinct_id;w.prototype.toString=w.prototype.toString;w.prototype.opt_out_tracking=w.prototype.opt_out_tracking;w.prototype.opt_in_tracking=w.prototype.opt_in_tracking;w.prototype.has_opted_out_tracking=w.prototype.has_opted_out_tracking;w.prototype.has_opted_in_tracking=w.prototype.has_opted_in_tracking;w.prototype.clear_opt_in_out_tracking=w.prototype.clear_opt_in_out_tracking;w.prototype.get_group=w.prototype.get_group;w.prototype.set_group=w.prototype.set_group;w.prototype.add_group=w.prototype.add_group;w.prototype.remove_group=w.prototype.remove_group;w.prototype.add_hook=w.prototype.add_hook;w.prototype.remove_hook=w.prototype.remove_hook;w.prototype.track_with_groups=w.prototype.track_with_groups;w.prototype.start_batch_senders=w.prototype.start_batch_senders;w.prototype.stop_batch_senders=w.prototype.stop_batch_senders;w.prototype.start_session_recording=w.prototype.start_session_recording;w.prototype.stop_session_recording=w.prototype.stop_session_recording;w.prototype.pause_session_recording=w.prototype.pause_session_recording;w.prototype.resume_session_recording=w.prototype.resume_session_recording;w.prototype.get_session_recording_properties=w.prototype.get_session_recording_properties;w.prototype.get_session_replay_url=w.prototype.get_session_replay_url;w.prototype.get_tab_id=w.prototype.get_tab_id;w.prototype.DEFAULT_API_ROUTES=Kp;w.prototype.__get_recorder=w.prototype.__get_recorder;w.prototype.__get_recording_init_promise=w.prototype.__get_recording_init_promise;W.prototype.properties=W.prototype.properties;W.prototype.update_search_keyword=W.prototype.update_search_keyword;W.prototype.update_referrer_info=W.prototype.update_referrer_info;W.prototype.get_cross_subdomain=W.prototype.get_cross_subdomain;W.prototype.clear=W.prototype.clear;var yr={},kC=function(){p.each(yr,function(t,n){n!==Ue&&(Re[n]=t)}),Re._=p},MC=function(){Re.init=function(t,n,i){if(i)return Re[i]||(Re[i]=yr[i]=Sa(t,n,i),Re[i]._loaded()),Re[i];var e=Re;yr[Ue]?e=yr[Ue]:t&&(e=Sa(t,n,Ue),e._loaded(),yr[Ue]=e),Re=e,ro===EC&&(E[Ue]=Re),kC()}},TC=function(){function t(){t.done||(t.done=!0,Yp=!0,Hp=!1,p.each(yr,function(e){e._dom_loaded()}))}function n(){try{F.documentElement.doScroll("left")}catch{setTimeout(n,1);return}t()}if(F.addEventListener)F.readyState==="complete"?t():F.addEventListener("DOMContentLoaded",t,!1);else if(F.attachEvent){F.attachEvent("onreadystatechange",t);var i=!1;try{i=E.frameElement===null}catch{}F.documentElement.doScroll&&i&&n()}p.register_event(E,"load",t,!0)};function PC(t){return _a=t,ro=wa,Re=new w,MC(),Re.init(),TC(),Re}function $C(t,n){n()}var NC=PC($C);export{NC 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.