PageSourceSearch

https://app.aicosts.ai/static/js/133.9f7e35c3.chunk.js

js aicosts.ai collected 2026-10-04 23:00:35 UTC 310,972 bytes, 6 lines download raw bytes

1/*! For license information please see 133.9f7e35c3.chunk.js.LICENSE.txt */
2"use strict";
3!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="04ae7e76-e5fd-555d-bb9d-bb50d68dbe59")}catch(e){}}();
4(self.webpackChunkaibd_web_app=self.webpackChunkaibd_web_app||[]).push([[133],{2936:(e,t,r)=>{var n;if(r.d(t,{A:()=>Kh}),"undefined"===typeof window){var i={hostname:""};n={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:i,referrer:""},screen:{width:0,height:0},location:i,addEventListener:function(){},removeEventListener:function(){}}}else n=window;function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e,t,r,n,i,o,s){try{var a=e[o](s),u=a.value}catch(c){return void r(c)}a.done?t(u):Promise.resolve(u).then(n,i)}function a(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){s(o,n,i,a,u,"next",e)}function u(e){s(o,n,i,a,u,"throw",e)}a(void 0)}))}}function u(e,t,r){return u=y()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&m(i,r.prototype),i},u.apply(null,arguments)}function c(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function f(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function d(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function v(e){var t="function"===typeof Map?new Map:void 0;return v=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return u(e,arguments,p(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),m(n,e)},v(e)}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(sl){}return(y=function(){return!!e})()}function _(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"===typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}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 b(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
4function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function w(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var S,k=Object.defineProperty,C=function(e,t,r){return function(e,t,r){return t in e?k(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==("undefined"===typeof t?"undefined":g(t))?t+"":t,r)},I=Object.defineProperty,x=function(e,t,r){return function(e,t,r){return t in e?I(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==("undefined"===typeof t?"undefined":g(t))?t+"":t,r)},E=function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e}(E||{}),A={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},O={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},R={};function M(e){if(R[e])return R[e];var t=globalThis[e],r=t.prototype,n=e in A?A[e]:void 0,i=Boolean(n&&n.every((function(e){var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))}))),o=e in O?O[e]:void 0,s=Boolean(o&&o.every((function(e){var t;return"function"===typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))})));if(i&&s&&!globalThis.Zone)return R[e]=t.prototype,t.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return t.prototype;var c=u[e].prototype;return document.body.removeChild(a),c?R[e]=c:r}catch(l){return r}}var T={};function P(e,t,r){var n,i=e+"."+String(r);if(T[i])return T[i].call(t);var o=M(e),s=null==(n=Object.getOwnPropertyDescriptor(o,r))?void 0:n.get;return s?(T[i]=s,s.call(t)):t[r]}var N={};function D(e,t,r){var n=e+"."+String(r);if(N[n])return N[n].bind(t);var i=M(e)[r];return"function"!==typeof i?t[r]:(N[n]=i,i.bind(t))}var L={childNodes:function(e){return P("Node",e,"childNodes")},parentNode:function(e){return P("Node",e,"parentNode")},parentElement:function(e){return P("Node",e,"parentElement")},textContent:function(e){return P("Node",e,"textContent")},contains:function(e,t){return D("Node",e,"contains")(t)},getRootNode:function(e){return D("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?P("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?P("Element",e,"shadowRoot"):null},querySelector:function(e,t){return P("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return P("Element",e,"querySelectorAll")(t)},mutationObserver:function(){return M("MutationObserver").constructor}};function F(e){return e.nodeType===e.ELEMENT_NODE}function U(e){var t=e&&"host"in e&&"mode"in e&&L.host(e)||null;return Boolean(t&&"shadowRoot"in t&&L.shadowRoot(t)===e)}function B(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function j(e){try{var t=e.rules||e.cssRules;if(!t)return null;var r=e.href;!r&&e.ownerNode&&e.ownerNode.ownerDocument&&(r=e.ownerNode.ownerDocument.location.href);var n=Array.from(t,(function(e){return q(e,r)})).join("");return(i=n).includes(" background-clip: text;")&&!i.includes(" -webkit-background-clip: text;")&&(i=i.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),i}catch(o){return null}var i}function q(e,t){if(function(e){return"styleSheet"in e}(e)){var r;try{r=j(e.styleSheet)||function(e){var t=e.cssText;if(t.split('"').length<3)return t;var r=["@import","url("+JSON.stringify(e.href)+")"];return""===e.layerName?r.push("layer"):e.layerName&&r.push("layer("+e.layerName+")"),e.supportsText&&r.push("supports("+e.supportsText+")"),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(i){r=e.cssText}return e.styleSheet.href?K(r,e.styleSheet.href):r}var n=e.cssText;return function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":")&&(n=function(e){var t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}(n)),t?K(n,t):n}var z=function(){function e(){x(this,"idNodeMap",new Map),x(this,"nodeMetaMap",new WeakMap)}var t=e.prototype;return t.getId=function(e){var t;if(!e)return-1;var r=null==(t=this.getMeta(e))?void 0:t.id;return null!=r?r:-1},t.getNode=function(e){return this.idNodeMap.get(e)||null},t.getIds=function(){return Array.from(this.idNodeMap.keys())},t.getMeta=function(e){return this.nodeMetaMap.get(e)||null},t.removeNodeFromMap=function(e){var t=this,r=this.getId(e);
4this.idNodeMap.delete(r),e.childNodes&&e.childNodes.forEach((function(e){return t.removeNodeFromMap(e)}))},t.has=function(e){return this.idNodeMap.has(e)},t.hasNode=function(e){return this.nodeMetaMap.has(e)},t.add=function(e,t){var r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)},t.replace=function(e,t){var r=this.getNode(e);if(r){var n=this.nodeMetaMap.get(r);n&&this.nodeMetaMap.set(t,n)}this.idNodeMap.set(e,t)},t.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function W(e){var t=e.element,r=e.maskInputOptions,n=e.tagName,i=e.type,o=e.value,s=e.maskInputFn,a=o||"",u=i&&V(i);return(r[n.toLowerCase()]||u&&r[u])&&(a=s?s(a,t):"*".repeat(a.length)),a}function V(e){return e.toLowerCase()}var $="__rrweb_original__";function G(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?V(t):null}function Y(e,t){var r;try{r=new URL(e,null!=t?t:window.location.href)}catch(o){return null}var n,i=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!=(n=null==i?void 0:i[1])?n:null}var Z=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,H=/^(?:[a-z+]+:)?\/\//i,X=/^www\..*/i,J=/^(data:)([^,]*),(.*)/i;function K(e,t){return(e||"").replace(Z,(function(e,r,n,i,o,s){var a,u=n||o||s,c=r||i||"";if(!u)return e;if(H.test(u)||X.test(u))return"url("+c+u+c+")";if(J.test(u))return"url("+c+u+c+")";if("/"===u[0])return"url("+c+(((a=t).indexOf("//")>-1?a.split("/").slice(0,3).join("/"):a.split("/")[0]).split("?")[0]+u)+c+")";var l=t.split("/"),p=u.split("/");l.pop();for(var h,f=_(p);!(h=f()).done;){var d=h.value;"."!==d&&(".."===d?l.pop():l.push(d))}return"url("+c+l.join("/")+c+")"}))}function Q(e){return e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"")}function ee(e,t){return function(e,t){var r=Array.from(t.childNodes),n=[];if(r.length>1&&e&&"string"===typeof e)for(var i=Q(e),o=1;o<r.length;o++)if(r[o].textContent&&"string"===typeof r[o].textContent)for(var s=Q(r[o].textContent),a=3;a<s.length;a++){var u=s.substring(0,a);if(2===i.split(u).length){for(var c=i.indexOf(u),l=c;l<e.length;l++)if(Q(e.substring(0,l)).length===c){n.push(e.substring(0,l)),e=e.substring(l);break}break}}return n.push(e),n}(e,t).join("/* rr_split */")}var te,re,ne=1,ie=new RegExp("[^a-z0-9-_:]");function oe(){return ne++}var se=/^[^ \t\n\r\u000c]+/,ae=/^[, \t\n\r\u000c]+/;var ue=new WeakMap;function ce(e,t){return t&&""!==t.trim()?pe(e,t):t}function le(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function pe(e,t){var r=ue.get(e);if(r||(r=e.createElement("a"),ue.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function he(e,t,r,n){return n?"src"===r||"href"===r&&("use"!==t||"#"!==n[0])||"xlink:href"===r&&"#"!==n[0]?ce(e,n):"background"!==r||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===r?function(e,t){if(""===t.trim())return t;var r=0;function n(e){var n,i=e.exec(t.substring(r));return i?(n=i[0],r+=n.length,n):""}for(var i=[];n(ae),!(r>=t.length);){var o=n(se);if(","===o.slice(-1))o=ce(e,o.substring(0,o.length-1)),i.push(o);else{var s="";o=ce(e,o);for(var a=!1;;){var u=t.charAt(r);if(""===u){i.push((o+s).trim());break}if(a)")"===u&&(a=!1);else{if(","===u){r+=1,i.push((o+s).trim());break}"("===u&&(a=!0)}s+=u,r+=1}}}return i.join(", ")}(e,n):"style"===r?K(n,pe(e)):"object"===t&&"data"===r?ce(e,n):n:ce(e,n):n}function fe(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function de(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&de(L.parentNode(e),t,r);for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}return!!r&&de(L.parentNode(e),t,r)}function me(e,t,r,n){var i;if(F(e)){if(i=e,!L.childNodes(i).length)return!1}else{if(null===L.parentElement(e))return!1;i=L.parentElement(e)}try{if("string"===typeof t){if(n){if(i.closest("."+t))return!0}else if(i.classList.contains(t))return!0}else if(de(i,t,n))return!0;if(r)if(n){if(i.closest(r))return!0}else if(i.matches(r))return!0}catch(o){}return!1}function ge(e,t){var r=t.doc,n=t.mirror,i=t.blockClass,o=t.blockSelector,s=t.needsMask,a=t.inlineStylesheet,u=t.maskInputOptions,c=void 0===u?{}:u,l=t.maskTextFn,p=t.maskInputFn,h=t.dataURLOptions,d=void 0===h?{}:h,m=t.inlineImages,g=t.recordCanvas,v=t.keepIframeSrcFn,y=t.newlyAddedElement,_=void 0!==y&&y,b=t.cssCaptured,w=void 0!==b&&b,S=function(e,t){if(!t.hasNode(e))return;var r=t.getId(e);return 1===r?void 0:r}(r,n);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:E.Document,childNodes:[],compatMode:e.compatMode}:{type:E.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:E.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:S};case e.ELEMENT_NODE:return function(e,t){for(var r,n=t.doc,i=t.blockClass,o=t.blockSelector,s=t.inlineStylesheet,a=t.maskInputOptions,u=void 0===a?{}:a,c=t.maskInputFn,l=t.dataURLOptions,p=void 0===l?{}:l,h=t.inlineImages,d=t.recordCanvas,m=t.keepIframeSrcFn,g=t.newlyAddedElement,v=void 0!==g&&g,y=t.rootId,_=function(e,t,r){try{if("string"===typeof t){if(e.classList.contains(t))return!0}else for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}if(r)return e.matches(r)}catch(o){}return!1}(e,i,o),b=function(e){if(f(e,HTMLFormElement))return"form";var t=V(e.tagName);return ie.test(t)?"div":t}(e),w={},S=e.attributes.length,k=0;k<S;k++){var C=e.attributes[k];fe(b,C.name,C.value)||(w[C.name]=he(n,b,V(C.name),C.value))}if("link"===b&&s){var I=Array.from(n.styleSheets).find((function(t){return t.href===e.href})),x=null;I&&(x=j(I)),x&&(delete w.rel,delete w.href,w._cssText=x)}if("style"===b&&e.sheet){var A=j(e.sheet);A&&(e.childNodes.length>1&&(A=ee(A,e)),w._cssText=A)}if("input"===b||"textarea"===b||"select"===b){var O=e.value,R=e.checked;
vendor: 4,158 bytes, line 4
4"radio"!==w.type&&"checkbox"!==w.type&&"submit"!==w.type&&"button"!==w.type&&O?w.value=W({element:e,type:G(e),tagName:b,value:O,maskInputOptions:u,maskInputFn:c}):R&&(w.checked=R)}"option"===b&&(e.selected&&!u.select?w.selected=!0:delete w.selected);"dialog"===b&&e.open&&(w.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal");if("canvas"===b&&d)if("2d"===e.__context)(function(e){var t=e.getContext("2d");if(!t)return!0;for(var r=0;r<e.width;r+=50)for(var n=0;n<e.height;n+=50){var i=t.getImageData,o=$ in i?i[$]:i;if(new Uint32Array(o.call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some((function(e){return 0!==e})))return!1}return!0})(e)||(w.rr_dataURL=e.toDataURL(p.type,p.quality));else if(!("__context"in e)){var M=e.toDataURL(p.type,p.quality),T=n.createElement("canvas");T.width=e.width,T.height=e.height,M!==T.toDataURL(p.type,p.quality)&&(w.rr_dataURL=M)}if("img"===b&&h){te||(te=n.createElement("canvas"),re=te.getContext("2d"));var P=e,N=P.currentSrc||P.getAttribute("src")||"<unknown-src>",D=P.crossOrigin,L=function(){P.removeEventListener("load",L);try{te.width=P.naturalWidth,te.height=P.naturalHeight,re.drawImage(P,0,0),w.rr_dataURL=te.toDataURL(p.type,p.quality)}catch(e){if("anonymous"!==P.crossOrigin)return P.crossOrigin="anonymous",void(P.complete&&0!==P.naturalWidth?L():P.addEventListener("load",L));console.warn("Cannot inline img src="+N+"! Error: "+e)}"anonymous"===P.crossOrigin&&(D?w.crossOrigin=D:P.removeAttribute("crossorigin"))};P.complete&&0!==P.naturalWidth?L():P.addEventListener("load",L)}if("audio"===b||"video"===b){var F=w;F.rr_mediaState=e.paused?"paused":"played",F.rr_mediaCurrentTime=e.currentTime,F.rr_mediaPlaybackRate=e.playbackRate,F.rr_mediaMuted=e.muted,F.rr_mediaLoop=e.loop,F.rr_mediaVolume=e.volume}v||(e.scrollLeft&&(w.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(w.rr_scrollTop=e.scrollTop));if(_){var U=e.getBoundingClientRect(),B=U.width,q=U.height;w={class:w.class,rr_width:B+"px",rr_height:q+"px"}}"iframe"!==b||m(w.src)||(e.contentDocument||(w.rr_src=w.src),delete w.src);try{customElements.get(b)&&(r=!0)}catch(z){}return{type:E.Element,tagName:b,attributes:w,childNodes:[],isSVG:le(e)||void 0,needBlock:_,rootId:y,isCustom:r}}(e,{doc:r,blockClass:i,blockSelector:o,inlineStylesheet:a,maskInputOptions:c,maskInputFn:p,dataURLOptions:d,inlineImages:m,recordCanvas:g,keepIframeSrcFn:v,newlyAddedElement:_,rootId:S});case e.TEXT_NODE:return function(e,t){var r=t.needsMask,n=t.maskTextFn,i=t.rootId,o=t.cssCaptured,s=L.parentNode(e),a=s&&s.tagName,u="",c="STYLE"===a||void 0,l="SCRIPT"===a||void 0;l?u="SCRIPT_PLACEHOLDER":o||(u=L.textContent(e),c&&u&&(u=K(u,pe(t.doc))));!c&&!l&&u&&r&&(u=n?n(u,L.parentElement(e)):u.replace(/[\S]/g,"*"));return{type:E.Text,textContent:u||"",rootId:i}}(e,{doc:r,needsMask:s,maskTextFn:l,rootId:S,cssCaptured:w});case e.CDATA_SECTION_NODE:return{type:E.CDATA,textContent:"",rootId:S};case e.COMMENT_NODE:return{type:E.Comment,textContent:L.textContent(e)||"",rootId:S};default:return!1}}function ve(e){return void 0===e||null===e?"":e.toLowerCase()}function ye(e,t){var r=t.doc,n=t.mirror,i=t.blockClass,o=t.blockSelector,s=t.maskTextClass,a=t.maskTextSelector,u=t.skipChild,c=void 0!==u&&u,l=t.inlineStylesheet,p=void 0===l||l,h=t.maskInputOptions,f=void 0===h?{}:h,d=t.maskTextFn,m=t.maskInputFn,g=t.slimDOMOptions,v=t.dataURLOptions,y=void 0===v?{}:v,b=t.inlineImages,w=void 0!==b&&b,S=t.recordCanvas,k=void 0!==S&&S,C=t.onSerialize,I=t.onIframeLoad,x=t.iframeLoadTimeout,A=void 0===x?5e3:x,O=t.onStylesheetLoad,R=t.stylesheetLoadTimeout,M=void 0===R?5e3:R,T=t.keepIframeSrcFn,P=void 0===T?function(){return!1}:T,N=t.newlyAddedElement,D=void 0!==N&&N,j=t.cssCaptured,q=void 0!==j&&j,z=t.needsMask,W=t.preserveWhiteSpace,V=void 0===W||W;z||(z=me(e,s,a,void 0===z));var $,G=ge(e,{doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:z,inlineStylesheet:p,maskInputOptions:f,maskTextFn:d,maskInputFn:m,dataURLOptions:y,inlineImages:w,recordCanvas:k,keepIframeSrcFn:P,newlyAddedElement:D,cssCaptured:q});if(!G)return console.warn(e,"not serialized"),null;$=n.hasNode(e)?n.getId(e):function(e,t){if(t.comment&&e.type===E.Comment)return!0;
4if(e.type===E.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"===typeof e.attributes.href&&"js"===Y(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(ve(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===ve(e.attributes.name)||"icon"===ve(e.attributes.rel)||"apple-touch-icon"===ve(e.attributes.rel)||"shortcut icon"===ve(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&ve(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(ve(e.attributes.property).match(/^(og|twitter|fb):/)||ve(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===ve(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===ve(e.attributes.name)||"googlebot"===ve(e.attributes.name)||"bingbot"===ve(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===ve(e.attributes.name)||"generator"===ve(e.attributes.name)||"framework"===ve(e.attributes.name)||"publisher"===ve(e.attributes.name)||"progid"===ve(e.attributes.name)||ve(e.attributes.property).match(/^article:/)||ve(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===ve(e.attributes.name)||"yandex-verification"===ve(e.attributes.name)||"csrf-token"===ve(e.attributes.name)||"p:domain_verify"===ve(e.attributes.name)||"verify-v1"===ve(e.attributes.name)||"verification"===ve(e.attributes.name)||"shopify-checkout-api-token"===ve(e.attributes.name)))return!0}}return!1}(G,g)||!V&&G.type===E.Text&&!G.textContent.replace(/^\s+|\s+$/gm,"").length?-2:oe();var Z=Object.assign(G,{id:$});if(n.add(e,Z),-2===$)return null;C&&C(e);var H=!c;if(Z.type===E.Element){H=H&&!Z.needBlock,delete Z.needBlock;var X=L.shadowRoot(e);X&&B(X)&&(Z.isShadowHost=!0)}if((Z.type===E.Document||Z.type===E.Element)&&H){g.headWhitespace&&Z.type===E.Element&&"head"===Z.tagName&&(V=!1);var J={doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:z,maskTextClass:s,maskTextSelector:a,skipChild:c,inlineStylesheet:p,maskInputOptions:f,maskTextFn:d,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:w,recordCanvas:k,preserveWhiteSpace:V,onSerialize:C,onIframeLoad:I,iframeLoadTimeout:A,onStylesheetLoad:O,stylesheetLoadTimeout:M,keepIframeSrcFn:P,cssCaptured:!1};if(Z.type===E.Element&&"textarea"===Z.tagName&&void 0!==Z.attributes.value);else{Z.type===E.Element&&void 0!==Z.attributes._cssText&&"string"===typeof Z.attributes._cssText&&(J.cssCaptured=!0);for(var K,Q=_(Array.from(L.childNodes(e)));!(K=Q()).done;){var ee=ye(K.value,J);ee&&Z.childNodes.push(ee)}}var te=null;if(F(e)&&(te=L.shadowRoot(e)))for(var re,ne=_(Array.from(L.childNodes(te)));!(re=ne()).done;){var ie=ye(re.value,J);ie&&(B(te)&&(ie.isShadow=!0),Z.childNodes.push(ie))}}var se=L.parentNode(e);
4return se&&U(se)&&B(se)&&(Z.isShadow=!0),Z.type===E.Element&&"iframe"===Z.tagName&&function(e,t,r){var n=e.contentWindow;if(n){var i,o=!1;try{i=n.document.readyState}catch(u){return}if("complete"===i){var s="about:blank";if(n.location.href!==s||e.src===s||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}else{var a=setTimeout((function(){o||(t(),o=!0)}),r);e.addEventListener("load",(function(){clearTimeout(a),o=!0,t()}))}}}(e,(function(){var t=e.contentDocument;if(t&&I){var r=ye(t,{doc:t,mirror:n,blockClass:i,blockSelector:o,needsMask:z,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:p,maskInputOptions:f,maskTextFn:d,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:w,recordCanvas:k,preserveWhiteSpace:V,onSerialize:C,onIframeLoad:I,iframeLoadTimeout:A,onStylesheetLoad:O,stylesheetLoadTimeout:M,keepIframeSrcFn:P});r&&I(e,r)}}),A),Z.type===E.Element&&"link"===Z.tagName&&"string"===typeof Z.attributes.rel&&("stylesheet"===Z.attributes.rel||"preload"===Z.attributes.rel&&"string"===typeof Z.attributes.href&&"css"===Y(Z.attributes.href))&&function(e,t,r){var n,i=!1;try{n=e.sheet}catch(s){return}if(!n){var o=setTimeout((function(){i||(t(),i=!0)}),r);e.addEventListener("load",(function(){clearTimeout(o),i=!0,t()}))}}(e,(function(){if(O){var t=ye(e,{doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:z,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:p,maskInputOptions:f,maskTextFn:d,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:w,recordCanvas:k,preserveWhiteSpace:V,onSerialize:C,onIframeLoad:I,iframeLoadTimeout:A,onStylesheetLoad:O,stylesheetLoadTimeout:M,keepIframeSrcFn:P});t&&O(e,t)}}),M),Z}function _e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function be(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return f(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var we={exports:{}},Se=String,ke=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}};we.exports=ke(),we.exports.createColors=ke;var Ce=we.exports,Ie=be(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),xe=Ce,Ee=Ie,Ae=function(e){function t(r,n,i,o,s,a){var u;return(u=e.call(this,r)||this).name="CssSyntaxError",u.reason=r,s&&(u.file=s),o&&(u.source=o),a&&(u.plugin=a),"undefined"!==typeof n&&"undefined"!==typeof i&&("number"===typeof n?(u.line=n,u.column=i):(u.line=n.line,u.column=n.column,u.endLine=i.line,u.endColumn=i.column)),u.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(u,t),u}h(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>","undefined"!==typeof this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=xe.isColorSupported),Ee&&e&&(r=Ee(r));var n,i,o=r.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),u=String(a).length;if(e){var c=xe.createColors(!0),l=c.bold,p=c.gray,h=c.red;n=function(e){return l(h(e))},i=function(e){return p(e)}}else n=i=function(e){return e};return o.slice(s,a).map((function(e,r){var o=s+1+r,a=" "+(" "+o).slice(-u)+" | ";if(o===t.line){var c=i(a.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+i(a)+e+"\n "+c+n("^")}return" "+i(a)+e})).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(v(Error)),Oe=Ae;Ae.default=Ae;var Re={};Re.isClean=Symbol("isClean"),Re.my=Symbol("my");var Me={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};var Te=function(){function e(e){this.builder=e}var t=e.prototype;
4return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if("undefined"!==typeof e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.beforeAfter=function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var s=0;s<i;s++)r+=o}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){var n;if(r||(r=t),t&&"undefined"!==typeof(n=e.raws[t]))return n;var i=e.parent;if("before"===r){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return Me[r];var o=e.root();if(o.rawCache||(o.rawCache={}),"undefined"!==typeof o.rawCache[r])return o.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var s,a="raw"+((s=r)[0].toUpperCase()+s.slice(1));return this[a]?n=this[a](o,e):o.walk((function(e){if("undefined"!==typeof(n=e.raws[t]))return!1})),"undefined"===typeof n&&(n=Me[r]),o.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length>0&&"undefined"!==typeof e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments((function(e){if("undefined"!==typeof e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),"undefined"===typeof r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls((function(e){if("undefined"!==typeof e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),"undefined"===typeof r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk((function(e){if("decl"!==e.type&&"undefined"!==typeof(t=e.raws.between))return!1})),t},t.rawBeforeRule=function(e){var t;return e.walk((function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&"undefined"!==typeof r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls((function(e){if("undefined"!==typeof e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t},t.rawEmptyBody=function(e){var t;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&"undefined"!==typeof(t=e.raws.after))return!1})),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk((function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&"undefined"!==typeof r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}})),t);var t},t.rawSemicolon=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&"undefined"!==typeof(t=e.raws.semicolon))return!1})),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),Pe=Te;Te.default=Te;var Ne=Pe;
4function De(e,t){new Ne(t).stringify(e)}var Le=De;De.default=De;var Fe=Re.isClean,Ue=Re.my,Be=Oe,je=Pe,qe=Le;function ze(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var i=e[n],o="undefined"===typeof i?"undefined":g(i);"parent"===n&&"object"===o?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map((function(e){return ze(e,r)})):("object"===o&&null!==i&&(i=ze(i)),r[n]=i)}return r}var We=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[Fe]=!1,this[Ue]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=_(e[t]);!(r=n()).done;){var i=r.value;"function"===typeof i.clone?this.append(i.clone()):this.append(i)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=ze(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,i=r.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new Be(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[Fe]){this[Fe]=!1;for(var e=this;e=e.parent;)e[Fe]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,i=this.source.start.line,o=0;o<e;o++)"\n"===r[o]?(n=1,i+=1):n+=1;return{column:n,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"===typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return(new je).raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,i=this,o=!1,s=_(t);!(n=s()).done;){var a=n.value;a===this?o=!0:o?(this.parent.insertAfter(i,a),i=a):this.parent.insertBefore(i,a)}o||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var i=0;for(var o in this)if(Object.prototype.hasOwnProperty.call(this,o)&&"parent"!==o&&"proxyCache"!==o){var s=this[o];if(Array.isArray(s))r[o]=s.map((function(e){return"object"===("undefined"===typeof e?"undefined":g(e))&&e.toJSON?e.toJSON(null,t):e}));else if("object"===("undefined"===typeof s?"undefined":g(s))&&s.toJSON)r[o]=s.toJSON(null,t);else if("source"===o){var a=t.get(s.input);null==a&&(a=i,t.set(s.input,i),i++),r[o]={end:s.end,inputId:a,start:s.start}}else r[o]=s}return n&&(r.inputs=[].concat(t.keys()).map((function(e){return e.toJSON()}))),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=qe),e.stringify&&(e=e.stringify);var t="";return e(this,(function(e){t+=e})),t},t.warn=function(e,t,r){var n={node:this};for(var i in r)n[i]=r[i];
4return e.warn(t,n)},c(e,[{key:"proxyOf",get:function(){return this}}]),e}(),Ve=We;We.default=We;var $e=function(e){function t(t){var r;return t&&"undefined"!==typeof t.value&&"string"!==typeof t.value&&(t=l({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return h(t,e),c(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(Ve),Ge=$e;$e.default=$e;var Ye=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},Ze=Ie.SourceMapConsumer,He=Ie.SourceMapGenerator,Xe=Ie.existsSync,Je=Ie.readFileSync,Ke=Ie.dirname,Qe=Ie.join;var et=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Ke(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new Ze(this.text)),this.consumerCache},t.decodeInline=function(e){var t;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===("undefined"===typeof e?"undefined":g(e))&&("string"===typeof e.mappings||"string"===typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=Ke(e),Xe(e))return this.mapFile=e,Je(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"===typeof t)return t;if("function"!==typeof t){if(f(t,Ze))return He.fromSourceMap(t).toString();if(f(t,He))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var i=this.annotation;return e&&(i=Qe(Ke(e),i)),this.loadFile(i)}}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),tt=et;et.default=et;var rt=Ie.SourceMapConsumer,nt=Ie.SourceMapGenerator,it=Ie.fileURLToPath,ot=Ie.pathToFileURL,st=Ie.isAbsolute,at=Ie.resolve,ut=Ye,ct=Ie,lt=Oe,pt=tt,ht=Symbol("fromOffsetCac
4he"),ft=Boolean(rt&&nt),dt=Boolean(at&&st),mt=function(){function e(e,t){if(void 0===t&&(t={}),null===e||"undefined"===typeof e||"object"===("undefined"===typeof e?"undefined":g(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!dt||/^\w+:\/\//.test(t.from)||st(t.from)?this.file=t.from:this.file=at(t.from)),dt&&ft){var r=new pt(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+ut(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){var i,o,s;if(void 0===n&&(n={}),t&&"object"===("undefined"===typeof t?"undefined":g(t))){var a=t,u=r;if("number"===typeof a.offset){var c=this.fromOffset(a.offset);t=c.line,r=c.col}else t=a.line,r=a.column;if("number"===typeof u.offset){var l=this.fromOffset(u.offset);o=l.line,s=l.col}else o=u.line,s=u.column}else if(!r){var p=this.fromOffset(t);t=p.line,r=p.col}var h=this.origin(t,r,o,s);return(i=h?new lt(e,void 0===h.endLine?h.line:{column:h.column,line:h.line},void 0===h.endLine?h.column:{column:h.endColumn,line:h.endLine},h.source,h.file,n.plugin):new lt(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:s,line:o},this.css,this.file,n.plugin)).input={column:r,endColumn:s,endLine:o,line:t,source:this.css},this.file&&(ot&&(i.input.url=ot(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t;if(this[ht])t=this[ht];else{var r=this.css.split("\n");t=new Array(r.length);for(var n=0,i=0,o=r.length;i<o;i++)t[i]=n,n+=r[i].length+1;this[ht]=t}var s=0;if(e>=t[t.length-1])s=t.length-1;else for(var a,u=t.length-2;s<u;)if(e<t[a=s+(u-s>>1)])u=a-1;else{if(!(e>=t[a+1])){s=a;break}s=a+1}return{col:e-t[s]+1,line:s+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:at(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var i,o,s=this.map.consumer(),a=s.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"===typeof r&&(i=s.originalPositionFor({column:n,line:r})),o=st(a.source)?ot(a.source):new URL(a.source,this.map.consumer().sourceRoot||ot(this.map.mapFile));var u={column:a.column,endColumn:i&&i.column,endLine:i&&i.line,line:a.line,url:o.toString()};if("file:"===o.protocol){if(!it)throw new Error("file: protocol is not available in this PostCSS build");u.file=it(o)}var c=s.sourceContentFor(a.source);return c&&(u.source=c),u},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=l({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},c(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),gt=mt;mt.default=mt,ct&&ct.registerInput&&ct.registerInput(mt);var vt=Ie.SourceMapConsumer,yt=Ie.SourceMapGenerator,_t=Ie.dirname,bt=Ie.relative,wt=Ie.resolve,St=Ie.sep,kt=Ie.pathToFileURL,Ct=gt,It=Boolean(vt&&yt),xt=Boolean(_t&&wt&&bt&&St),Et=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"===typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"===typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=_(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||_t(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new vt(r.text)).sourcesContent&&(o.sourcesContent=null):o=r.consumer(),this.map.applySourceMap(o,n,this.toUrl(this.path(i)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},t.generate=function(){if(this.clearAnnotation(),xt&&It&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,(function(t){e+=t})),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=yt.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new yt({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},t.generateString=function(){var e=this;this.css="",this.map=new yt({file:this.outputFile(),ignoreInvalidMapping:!0});var t,r,n=1,i=1,o="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,(function(a,u,c){if(e.css+=a,u&&"end"!==c&&(s.generated.line=n,s.generated.column=i-1,u.source&&u.source.start?(s.source=e.sourcePath(u),s.original.line=u.source.start.line,s.original.column=u.source.start.column-1,e.map.addMapping(s)):(s.source=o,s.original.line=1,s.original.column=0,e.map.addMapping(s))),(t=a.match(/\n/g))?(n+=t.length,r=a.lastIndexOf("\n"),i=a.length-r):i+=a.length,u&&"start"!==c){var l=u.parent||{raws:{}};("decl"===u.type||"atrule"===u.type&&!u.nodes)&&u===l.last&&!l.raws.semicolon||(u.source&&u.source.end?(s.source=e.sourcePath(u),s.original.line=u.source.end.line,s.original.column=u.source.end.column-1,s.generated.line=n,s.generated.column=i-2,e.map.addMapping(s)):(s.source=o,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=i-1,e.map.addMapping(s)))}}))},t.isAnnotation=function(){return!!this.isInline()||("undefined"!==typeof this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((function(e){return e.annotation})))},t.isInline=function(){if("undefined"!==typeof this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return("undefined"===typeof e||!0===e)&&(!this.previous().length||this.previous().some((function(e){return e.inline})))},t.isMap=function(){return"undefined"!==typeof this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return"undefined"!==typeof this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((function(e){return e.withContent()}))},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?_t(this.opts.to):".";"string"===typeof this.mapOpts.annotation&&(r=_t(wt(r,this.mapOpts.annotation)));var n=bt(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}}));
4else{var t=new Ct(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk((function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var i=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(i,r.source.input.css)}}}));else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},t.toBase64=function(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(kt){var r=kt(e).toString();return this.memoizedFileURLs.set(e,r),r}throw new Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===St&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),At=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return h(t,e),t}(Ve),Ot=At;At.default=At;var Rt,Mt,Tt,Pt,Nt=Re.isClean,Dt=Re.my,Lt=Ge,Ft=Ot;function Ut(e){return e.map((function(e){return e.nodes&&(e.nodes=Ut(e.nodes)),delete e.source,e}))}function Bt(e){if(e[Nt]=!1,e.proxyOf.nodes)for(var t,r=_(e.proxyOf.nodes);!(t=r()).done;){Bt(t.value)}}var jt=function(e){function t(){return e.apply(this,arguments)||this}h(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=_(t);!(n=i()).done;)for(var o,s=n.value,a=_(this.normalize(s,this.last));!(o=a()).done;){var u=o.value;this.proxyOf.nodes.push(u)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=_(this.nodes);!(r=n()).done;){r.value.cleanRaws(t)}},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"===typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var o;return(o=e)[t].apply(o,[].concat(n.map((function(e){return"function"===typeof e?function(t,r){return e(t.toProxy(),r)}:e}))))}:"every"===t||"some"===t?function(r){return e[t]((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return r.apply(void 0,[].concat([e.toProxy()],n))}))}:"root"===t?function(){return e.root().toProxy()}:"nodes"===t?e.nodes.map((function(e){return e.toProxy()})):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},r.index=function(e){return"number"===typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var o,s=_(i);!(o=s()).done;){var a=o.value;this.proxyOf.nodes.splice(n+1,0,a)}for(var u in this.indexes)n<(r=this.indexes[u])&&(this.indexes[u]=r+i.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),i=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(var s,a=_(o);!(s=a()).done;){var u=s.value;this.proxyOf.nodes.splice(n,0,u)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+o.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"===typeof e)e=Ut(Rt(e).nodes);else if("undefined"===typeof e)e=[];else if(Array.isArray(e))for(var i,o=_(e=e.slice(0));!(i=o()).done;){var s=i.value;s.parent&&s.parent.removeChild(s,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var a,u=_(e=e.nodes.slice(0));!(a=u()).done;){var c=a.value;c.parent&&c.parent.removeChild(c,"ignore")}else if(e.type)e=[e];else if(e.prop){if("undefined"===typeof e.value)throw new Error("Value field is missed in node creation");"string"!==typeof e.value&&(e.value=String(e.value)),e=[new Lt(e)]}else if(e.selector)e=[new Mt(e)];else if(e.name)e=[new Tt(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new Ft(e)]}var l=e.map((function(e){return e[Dt]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[Nt]&&Bt(e),"undefined"===typeof e.raws.before&&r&&"undefined"!==typeof r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e}));return l},r.prepend=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=_(t=t.reverse());!(n=i()).done;
4){for(var o,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),u=_(a);!(o=u()).done;){var c=o.value;this.proxyOf.nodes.unshift(c)}for(var l in this.indexes)this.indexes[l]=this.indexes[l]+a.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=_(this.proxyOf.nodes);!(e=t()).done;){e.value.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls((function(n){t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))})),this.markDirty(),this},r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each((function(t,r){var n;try{n=e(t,r)}catch(i){throw t.addToError(i)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))},r.walkAtRules=function(e,t){return t?f(e,RegExp)?this.walk((function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)})):this.walk((function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)})):(t=e,this.walk((function(e,r){if("atrule"===e.type)return t(e,r)})))},r.walkComments=function(e){return this.walk((function(t,r){if("comment"===t.type)return e(t,r)}))},r.walkDecls=function(e,t){return t?f(e,RegExp)?this.walk((function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)})):this.walk((function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)})):(t=e,this.walk((function(e,r){if("decl"===e.type)return t(e,r)})))},r.walkRules=function(e,t){return t?f(e,RegExp)?this.walk((function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)})):this.walk((function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)})):(t=e,this.walk((function(e,r){if("rule"===e.type)return t(e,r)})))},c(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(Ve);jt.registerParse=function(e){Rt=e},jt.registerRule=function(e){Mt=e},jt.registerAtRule=function(e){Tt=e},jt.registerRoot=function(e){Pt=e};var qt=jt;jt.default=jt,jt.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,Tt.prototype):"rule"===e.type?Object.setPrototypeOf(e,Mt.prototype):"decl"===e.type?Object.setPrototypeOf(e,Lt.prototype):"comment"===e.type?Object.setPrototypeOf(e,Ft.prototype):"root"===e.type&&Object.setPrototypeOf(e,Pt.prototype),e[Dt]=!0,e.nodes&&e.nodes.forEach((function(e){jt.rebuild(e)}))};var zt,Wt,Vt=function(e){function t(t){var r;return(r=e.call(this,l({type:"document"},t))||this).nodes||(r.nodes=[]),r}return h(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new zt(new Wt,this,e).stringify()},t}(qt);Vt.registerLazyResult=function(e){zt=e},Vt.registerProcessor=function(e){Wt=e};var $t=Vt;Vt.default=Vt;var Gt=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),Yt=Gt;Gt.default=Gt;var Zt=Yt,Ht=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new Zt(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter((function(e){return"warning"===e.type}))},c(e,[{key:"content",get:function(){return this.css}}]),e}(),Xt=Ht;Ht.default=Ht;var Jt="'".charCodeAt(0),Kt='"'.charCodeAt(0),Qt="\\".charCodeAt(0),er="/".charCodeAt(0),tr="\n".charCodeAt(0),rr=" ".charCodeAt(0),nr="\f".charCodeAt(0),ir="\t".charCodeAt(0),or="\r".charCodeAt(0),sr="[".charCodeAt(0),ar="]".charCodeAt(0),ur="(".charCodeAt(0),cr=")".charCodeAt(0),lr="{".charCodeAt(0),pr="}".charCodeAt(0),hr=";".charCodeAt(0),fr="*".charCodeAt(0),dr=":".charCodeAt(0),mr="@".charCodeAt(0),gr=/[\t\n\f\r "#'()/;[\\\]{}]/g,vr=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,yr=/.[\r\n"'(/\\]/,_r=/[\da-f]/i,br=qt,wr=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}h(t,e);var r=t.prototype;return r.append=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.append).call.apply(i,[].concat([this],r))},r.prepend=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.prepend).call.apply(i,[].concat([this],r))},t}(br),Sr=wr;wr.default=wr,br.registerAtRule(wr);var kr,Cr,Ir=qt,xr=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}h(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var i=e.prototype.normalize.call(this,t);if(r)if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var o,s=_(i);!(o=s()).done;){o.value.raws.before=r.raws.before}return i},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new kr(new Cr,this,e).stringify()},t}(Ir);xr.registerLazyResult=function(e){kr=e},xr.registerProcessor=function(e){Cr=e};var Er=xr;xr.default=xr,Ir.registerRoot(xr);var Ar={comma:function(e){return Ar.split(e,[","],!0)},space:function(e){return Ar.split(e,[" ","\n","\t"])}
vendor: 9,235 bytes, line 4
4,split:function(e,t,r){for(var n,i=[],o="",s=!1,a=0,u=!1,c="",l=!1,p=_(e);!(n=p()).done;){var h=n.value;l?l=!1:"\\"===h?l=!0:u?h===c&&(u=!1):'"'===h||"'"===h?(u=!0,c=h):"("===h?a+=1:")"===h?a>0&&(a-=1):0===a&&t.includes(h)&&(s=!0),s?(""!==o&&i.push(o.trim()),o="",s=!1):o+=h}return(r||""!==o)&&i.push(o.trim()),i}},Or=Ar;Ar.default=Ar;var Rr=qt,Mr=Or,Tr=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return h(t,e),c(t,[{key:"selectors",get:function(){return Mr.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(Rr),Pr=Tr;Tr.default=Tr,Rr.registerRule(Tr);var Nr=Ge,Dr=function(e,t){void 0===t&&(t={});var r,n,i,o,s,a,u,c,l,p,h=e.css.valueOf(),f=t.ignoreErrors,d=h.length,m=0,g=[],v=[];function y(t){throw e.error("Unclosed "+t,m)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&m>=d},nextToken:function(e){if(v.length)return v.pop();if(!(m>=d)){var t=!!e&&e.ignoreUnclosed;switch(r=h.charCodeAt(m)){case tr:case rr:case ir:case or:case nr:n=m;do{n+=1,r=h.charCodeAt(n)}while(r===rr||r===tr||r===ir||r===or||r===nr);p=["space",h.slice(m,n)],m=n-1;break;case sr:case ar:case lr:case pr:case dr:case hr:case cr:var _=String.fromCharCode(r);p=[_,_,m];break;case ur:if(c=g.length?g.pop()[1]:"",l=h.charCodeAt(m+1),"url"===c&&l!==Jt&&l!==Kt&&l!==rr&&l!==tr&&l!==ir&&l!==nr&&l!==or){n=m;do{if(a=!1,-1===(n=h.indexOf(")",n+1))){if(f||t){n=m;break}y("bracket")}for(u=n;h.charCodeAt(u-1)===Qt;)u-=1,a=!a}while(a);p=["brackets",h.slice(m,n+1),m,n],m=n}else n=h.indexOf(")",m+1),o=h.slice(m,n+1),-1===n||yr.test(o)?p=["(","(",m]:(p=["brackets",o,m,n],m=n);break;case Jt:case Kt:i=r===Jt?"'":'"',n=m;do{if(a=!1,-1===(n=h.indexOf(i,n+1))){if(f||t){n=m+1;break}y("string")}for(u=n;h.charCodeAt(u-1)===Qt;)u-=1,a=!a}while(a);p=["string",h.slice(m,n+1),m,n],m=n;break;case mr:gr.lastIndex=m+1,gr.test(h),n=0===gr.lastIndex?h.length-1:gr.lastIndex-2,p=["at-word",h.slice(m,n+1),m,n],m=n;break;case Qt:for(n=m,s=!0;h.charCodeAt(n+1)===Qt;)n+=1,s=!s;if(r=h.charCodeAt(n+1),s&&r!==er&&r!==rr&&r!==tr&&r!==ir&&r!==or&&r!==nr&&(n+=1,_r.test(h.charAt(n)))){for(;_r.test(h.charAt(n+1));)n+=1;h.charCodeAt(n+1)===rr&&(n+=1)}p=["word",h.slice(m,n+1),m,n],m=n;break;default:r===er&&h.charCodeAt(m+1)===fr?(0===(n=h.indexOf("*/",m+2)+1)&&(f||t?n=h.length:y("comment")),p=["comment",h.slice(m,n+1),m,n],m=n):(vr.lastIndex=m+1,vr.test(h),n=0===vr.lastIndex?h.length-1:vr.lastIndex-2,p=["word",h.slice(m,n+1),m,n],g.push(p),m=n)}return m++,p}},position:function(){return m}}},Lr=Ot,Fr=Sr,Ur=Er,Br=Pr,jr={empty:!0,space:!0};var qr=qt,zr=function(){function e(e){this.input=e,this.root=new Ur,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,i=new Fr;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,s=!1,a=[],u=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?u.push("("===t?")":"]"):"{"===t&&u.length>0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(a.length>0){for(r=a[n=a.length-1];r&&"space"===r[0];)r=a[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]),i.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(i.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(i,"params",a),o&&(e=a[a.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},t.colon=function(e){for(var t,r,n,i,o=0,s=_(e.entries());!(i=s()).done;){var a=i.value,u=a[0];if("("===(r=(t=a[1])[0])&&(o+=1),")"===r&&(o-=1),0===o&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return u}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new Lr;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=Dr(this.input)},t.decl=function(e,t){var r=new Nr;this.init(r,e[0][2]);var n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){var o=e[0][0];if(":"===o||"space"===o||"comment"===o)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(":"===(n=e.shift())[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));for(var s,a=[];e.length&&("space"===(s=e[0][0])||"comment"===s);)a.push(e.shift());this.precheckMissedSemicolon(e);for(var u=e.length-1;u>=0;u--){if("!important"===(n=e[u])[1].toLowerCase()){r.important=!0;var c=this.stringFrom(e,u);" !important"!==(c=this.spacesFromEnd(e)+c)&&(r.raws.important=c);break}if("important"===n[1].toLowerCase()){for(var l=e.slice(0),p="",h=u;h>0;h--){var f=l[h][0];if(0===p.trim().indexOf("!")&&"space"!==f)break;p=l.pop()[1]+p}0===p.trim().indexOf("!")&&(r.important=!0,r.raws.important=p,e=l)}if("space"!==n[0]&&"comment"!==n[0])break}var d=e.some((function(e){return"space"!==e[0]&&"comment"!==e[0]}));d&&(r.raws.between+=a.map((function(e){return e[1]})).join(""),a=[]),this.raw(r,"value",a.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new Br;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],u=e;u;){if(r=u[0],a.push(u),"("===r||"["===r)i||(i=u),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=u),o.push("}");else if(0===o.length){if(";"===r){if(n)return void this.decl(a,s);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;a.length&&("space"===(u=a[a.length-1][0])||"comment"===u);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var i,o,s,a,u=r.length,c="",l=!0,p=0;p<u;p+=1)"space"!==(o=(i=r[p])[0])||p!==u-1||n?"comment"===o?(a=r[p-1]?r[p-1][0]:"empty",s=r[p+1]?r[p+1][0]:"empty",jr[a]||jr[s]||","===c.slice(-1)?l=!1:c+=i[1]):c+=i[1]:l=!1;if(!l){var h=r.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={raw:h,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new Br;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";
4e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}(),Wr=gt;function Vr(e,t){var r=new Wr(e,t),n=new zr(r);try{n.parse()}catch(i){throw i}return n.root}var $r=Vr;Vr.default=Vr,qr.registerParse(Vr);var Gr=Re.isClean,Yr=Re.my,Zr=Et,Hr=Le,Xr=qt,Jr=$t,Kr=Xt,Qr=$r,en=Er,tn={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},rn={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},nn={Once:!0,postcssPlugin:!0,prepare:!0};function on(e){return"object"===("undefined"===typeof e?"undefined":g(e))&&"function"===typeof e.then}function sn(e){var t=!1,r=tn[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function an(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:sn(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function un(e){return e[Gr]=!1,e.nodes&&e.nodes.forEach((function(e){return un(e)})),e}var cn={},ln=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,"object"!==("undefined"===typeof r?"undefined":g(r))||null===r||"root"!==r.type&&"document"!==r.type)if(f(r,e)||f(r,Kr))i=un(r.root),r.map&&("undefined"===typeof n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var s=Qr;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(a){this.processed=!0,this.error=a}i&&!i[Yr]&&Xr.rebuild(i)}else i=un(r);this.result=new Kr(t,i,n),this.helpers=l({},cn,{postcss:cn,result:this.result}),this.plugins=this.processor.plugins.map((function(e){return"object"===("undefined"===typeof e?"undefined":g(e))&&e.prepare?l({},e,e.prepare(o.result)):e}))}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion);}else e.plugin=r.postcssPlugin,e.setMessage()}catch(n){console&&console.error&&console.error(n)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=_(this.plugins);!(t=n()).done;){var i=t.value;if("object"===("undefined"===typeof i?"undefined":g(i)))for(var o in i){if(!rn[o]&&/^[A-Z]/.test(o))throw new Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!nn[o])if("object"===g(i[o]))for(var s in i[o])r(i,"*"===s?o:o+"-"+s.toLowerCase(),i[o][s]);else"function"===typeof i[o]&&r(i,o,i[o])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return a((function(){var t,r,n,i,o,s,a,u,c,l,p,h;return b(this,(function(f){switch(f.label){case 0:e.plugin=0,t=0,f.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!on(n=e.runOnRoot(r)))return[3,5];f.label=2;case 2:return f.trys.push([2,4,,5]),[4,n];case 3:return f.sent(),[3,5];case 4:throw i=f.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];o=e.result.root,f.label=7;case 7:if(o[Gr])return[3,14];o[Gr]=!0,s=[an(o)],f.label=8;case 8:if(!(s.length>0))return[3,13];if(!on(a=e.visitTick(s)))return[3,12];f.label=9;case 9:return f.trys.push([9,11,,12]),[4,a];case 10:return f.sent(),[3,12];case 11:throw u=f.sent(),c=s[s.length-1].node,e.handleError(u,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];l=function(){var t,r,n,i,s;return b(this,(function(a){switch(a.label){case 0:t=h.value,r=t[0],n=t[1],e.result.lastPlugin=r,a.label=1;case 1:return a.trys.push([1,6,,7]),"document"!==o.type?[3,3]:(i=o.nodes.map((function(t){return n(t,e.helpers)})),[4,Promise.all(i)]);case 2:return a.sent(),[3,5];case 3:return[4,n(o,e.helpers)];case 4:a.sent(),a.label=5;case 5:return[3,7];case 6:throw s=a.sent(),e.handleError(s);case 7:return[2]}}
4))},p=_(e.listeners.OnceExit),f.label=15;case 15:return(h=p()).done?[3,18]:[5,w(l())];case 16:f.sent(),f.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}}))}))()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===("undefined"===typeof e?"undefined":g(e))&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map((function(r){return e.Once(r,t.helpers)}));return on(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}if("function"===typeof e)return e(this.result.root,this.result)}catch(n){throw this.handleError(n)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=Hr;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new Zr(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e,t=_(this.plugins);!(e=t()).done;){var r=e.value;if(on(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[Gr];)n[Gr]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var i,o=_(n.nodes);!(i=o()).done;){var s=i.value;this.visitSync(this.listeners.OnceExit,s)}else this.visitSync(this.listeners.OnceExit,n)}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=_(e);!(r=n()).done;){var i=r.value,o=i[0],s=i[1];this.result.lastPlugin=o;var a=void 0;try{a=s(t,this.helpers)}catch(u){throw this.handleError(u,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(on(a))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var i=n[t.visitorIndex],o=i[0],s=i[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return s(r.toProxy(),this.helpers)}catch(p){throw this.handleError(p,r)}}if(0!==t.iterator){for(var a,u=t.iterator;a=r.nodes[r.indexes[u]];)if(r.indexes[u]+=1,!a[Gr])return a[Gr]=!0,void e.push(an(a));t.iterator=0,delete r.indexes[u]}for(var c=t.events;t.eventIndex<c.length;){var l=c[t.eventIndex];if(t.eventIndex+=1,0===l)return void(r.nodes&&r.nodes.length&&(r[Gr]=!0,t.iterator=r.getIterator()));if(this.listeners[l])return void(t.visitors=this.listeners[l])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[Gr]=!0;for(var r,n=_(sn(e));!(r=n()).done;){var i=r.value;if(0===i)e.nodes&&e.each((function(e){e[Gr]||t.walkSync(e)}));else{var o=this.listeners[i];if(o&&this.visitSync(o,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},c(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();ln.registerPostcss=function(e){cn=e};var pn=ln;ln.default=ln,en.registerLazyResult(ln),Jr.registerLazyResult(ln);var hn=Et,fn=Le,dn=$r,mn=Xt,gn=function(){function e(e,t,r){var n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;var i=fn;this.result=new mn(this._processor,n,this._opts),this.result.css=t;var o=this;Object.defineProperty(this.result,"root",{get:function(){return o.root}});var s=new hn(i,n,this._opts,t);if(s.isMap()){var a=s.generate(),u=a[0],c=a[1];u&&(this.result.css=u),c&&(this.result.map=c)}else s.clearAnnotation(),this.result.css=s.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Prom
4ise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},c(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,t=dn;try{e=t(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),vn=gn;gn.default=gn;var yn=vn,_n=pn,bn=$t,wn=Er,Sn=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=_(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"===("undefined"===typeof i?"undefined":g(i))&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if("object"===("undefined"===typeof i?"undefined":g(i))&&i.postcssPlugin)r.push(i);else if("function"===typeof i)r.push(i);else{if("object"!==("undefined"===typeof i?"undefined":g(i))||!i.parse&&!i.stringify)throw new Error(i+" is not a PostCSS plugin")}}return r},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new _n(this,e,t):new yn(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),kn=Sn;Sn.default=Sn,wn.registerProcessor(Sn),bn.registerProcessor(Sn);var Cn=Ge,In=tt,xn=Ot,En=Sr,An=gt,On=Er,Rn=Pr;function Mn(e,t){if(Array.isArray(e))return e.map((function(e){return Mn(e)}));var r=e.inputs,n=d(e,["inputs"]);if(r){t=[];for(var i,o=_(r);!(i=o()).done;){var s=l({},i.value,{__proto__:An.prototype});s.map&&(s.map=l({},s.map,{__proto__:In.prototype})),t.push(s)}}if(n.nodes&&(n.nodes=e.nodes.map((function(e){return Mn(e,t)}))),n.source){var a=n.source,u=a.inputId,c=d(a,["inputId"]);n.source=c,null!=u&&(n.source.input=t[u])}if("root"===n.type)return new On(n);if("decl"===n.type)return new Cn(n);if("rule"===n.type)return new Rn(n);if("comment"===n.type)return new xn(n);if("atrule"===n.type)return new En(n);throw new Error("Unknown node type: "+e.type)}var Tn=Mn;Mn.default=Mn;var Pn=Oe,Nn=Ge,Dn=pn,Ln=qt,Fn=kn,Un=Le,Bn=Tn,jn=$t,qn=Yt,zn=Ot,Wn=Sr,Vn=Xt,$n=gt,Gn=$r,Yn=Or,Zn=Pr,Hn=Er,Xn=Ve;function Jn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new Fn(t)}Jn.plugin=function(e,t){var r,n=!1;function i(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API_URL:"https://api.aicosts.ai",REACT_APP_SUPPORT_EMAIL:"[email protected]",REACT_APP_TEAM_EMAIL:"[email protected]",REACT_APP_TURNSTILE_SITE_KEY:"0x4AAAAAABUBPXtp1XfgqgIg",REACT_APP_MIXPANEL_TOKEN:"b35820620837f9ded87ef1eaa05d34ee"}.LANG&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API_URL:"https://api.aicosts.ai",REACT_APP_SUPPORT_EMAIL:"[email protected]",REACT_APP_TEAM_EMAIL:"[email protected]",REACT_APP_TURNSTILE_SITE_KEY:"0x4AAAAAABUBPXtp1XfgqgIg",REACT_APP_MIXPANEL_TOKEN:"b35820620837f9ded87ef1eaa05d34ee"}.LANG.startsWith("cn")&&console.warn(e+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(i));return s.postcssPlugin=e,s.postcssVersion=(new Fn).version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return Jn([i(r)]).process(e,t)},i},Jn.stringify=Un,Jn.parse=Gn,Jn.fromJSON=Bn,Jn.list=Yn,Jn.comment=function(e){return new zn(e)},Jn.atRule=function(e){return new Wn(e)},Jn.decl=function(e){return new Nn(e)},Jn.rule=function(e){return new Zn(e)},Jn.root=function(e){return new Hn(e)},Jn.document=function(e){return new jn(e)},Jn.CssSyntaxError=Pn,Jn.Declaration=Nn,Jn.Container=Ln,Jn.Processor=Fn,Jn.Document=jn,Jn.Comment=zn,Jn.Warning=qn,Jn.AtRule=Wn,Jn.Result=Vn,Jn.Input=$n,Jn.Rule=Zn,Jn.Root=Hn,Jn.Node=Xn,Dn.registerPostcss(Jn);var Kn=Jn;Jn.default=Jn;var Qn=_e(Kn);Qn.stringify,Qn.fromJSON,Qn.plugin,Qn.parse,Qn.list,Qn.document,Qn.comment,Qn.atRule,Qn.rule,Qn.decl,Qn.root,Qn.CssSyntaxError,Qn.Declaration,Qn.Container,Qn.Processor,Qn.Document,Qn.Comment,Qn.Warning,Qn.AtRule,Qn.Result,Qn.Input,Qn.Rule,Qn.Root,Qn.Node;var ei=Object.defineProperty,ti=function(e,t,r){return function(e,t,r){return t in e?ei(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==("undefined"===typeof t?"undefined":g(t))?t+"":t,r)};
4function ri(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ni(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return f(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var ii={exports:{}},oi=String,si=function(){return{isColorSupported:!1,reset:oi,bold:oi,dim:oi,italic:oi,underline:oi,inverse:oi,hidden:oi,strikethrough:oi,black:oi,red:oi,green:oi,yellow:oi,blue:oi,magenta:oi,cyan:oi,white:oi,gray:oi,bgBlack:oi,bgRed:oi,bgGreen:oi,bgYellow:oi,bgBlue:oi,bgMagenta:oi,bgCyan:oi,bgWhite:oi}};ii.exports=si(),ii.exports.createColors=si;var ai=ii.exports,ui=ni(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),ci=ai,li=ui,pi=function(e){function t(r,n,i,o,s,a){var u;return(u=e.call(this,r)||this).name="CssSyntaxError",u.reason=r,s&&(u.file=s),o&&(u.source=o),a&&(u.plugin=a),"undefined"!==typeof n&&"undefined"!==typeof i&&("number"===typeof n?(u.line=n,u.column=i):(u.line=n.line,u.column=n.column,u.endLine=i.line,u.endColumn=i.column)),u.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(u,t),u}h(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>","undefined"!==typeof this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=ci.isColorSupported),li&&e&&(r=li(r));var n,i,o=r.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),u=String(a).length;if(e){var c=ci.createColors(!0),l=c.bold,p=c.gray,h=c.red;n=function(e){return l(h(e))},i=function(e){return p(e)}}else n=i=function(e){return e};return o.slice(s,a).map((function(e,r){var o=s+1+r,a=" "+(" "+o).slice(-u)+" | ";if(o===t.line){var c=i(a.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+i(a)+e+"\n "+c+n("^")}return" "+i(a)+e})).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(v(Error)),hi=pi;pi.default=pi;var fi={};fi.isClean=Symbol("isClean"),fi.my=Symbol("my");var di={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};var mi=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if("undefined"!==typeof e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.beforeAfter=function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,i=0;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var s=0;s<i;s++)r+=o}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){var n;if(r||(r=t),t&&"undefined"!==typeof(n=e.raws[t]))return n;var i=e.parent;if("before"===r){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return di[r];var o=e.root();if(o.rawCache||(o.rawCache={}),"undefined"!==typeof o.rawCache[r])return o.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var s,a="raw"+((s=r)[0].toUpperCase()+s.slice(1));return this[a]?n=this[a](o,e):o.walk((function(e){if("undefined"!==typeof(n=e.raws[t]))return!1})),"undefined"===typeof n&&(n=di[r]),o.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length>0&&"undefined"!==typeof e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments((function(e){if("undefined"!==typeof e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),"undefined"===typeof r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls((function(e){if("undefined"!==typeof e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),"undefined"===typeof r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk((function(e){if("decl"!==e.type&&"undefined"!==typeof(t=e.raws.between))return!1})),t},t.rawBeforeRule=function(e){var t;return e.walk((function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&"undefined"!==typeof r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls((function(e){if("undefined"!==typeof e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t},t.rawEmptyBody=function(e){var t;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&"undefined"!==typeof(t=e.raws.after))return!1})),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk((function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&"undefined"!==typeof r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}})),t);var t},t.rawSemicolon=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&"undefined"!==typeof(t=e.raws.semicolon))return!1})),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),gi=mi;mi.default=mi;var vi=gi;function yi(e,t){new vi(t).stringify(e)}var _i=yi;yi.default=yi;var bi=fi.isClean,wi=fi.my,Si=hi,ki=gi,Ci=_i;function Ii(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var i=e[n],o="undefined"===typeof i?"undefined":g(i);"parent"===n&&"object"===o?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map((function(e){return Ii(e,r)})):("object"===o&&null!==i&&(i=Ii(i)),r[n]=i)}return r}var xi=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[bi]=!1,this[wi]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=_(e[t]);!(r=n()).done;){var i=r.value;"function"===typeof i.clone?this.append(i.clone()):this.append(i)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=Ii(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,i=r.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new Si(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[bi]){this[bi]=!1;for(var e=this;e=e.parent;)e[bi]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);
4else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,i=this.source.start.line,o=0;o<e;o++)"\n"===r[o]?(n=1,i+=1):n+=1;return{column:n,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"===typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return(new ki).raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,i=this,o=!1,s=_(t);!(n=s()).done;){var a=n.value;a===this?o=!0:o?(this.parent.insertAfter(i,a),i=a):this.parent.insertBefore(i,a)}o||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var i=0;for(var o in this)if(Object.prototype.hasOwnProperty.call(this,o)&&"parent"!==o&&"proxyCache"!==o){var s=this[o];if(Array.isArray(s))r[o]=s.map((function(e){return"object"===("undefined"===typeof e?"undefined":g(e))&&e.toJSON?e.toJSON(null,t):e}));else if("object"===("undefined"===typeof s?"undefined":g(s))&&s.toJSON)r[o]=s.toJSON(null,t);else if("source"===o){var a=t.get(s.input);null==a&&(a=i,t.set(s.input,i),i++),r[o]={end:s.end,inputId:a,start:s.start}}else r[o]=s}return n&&(r.inputs=[].concat(t.keys()).map((function(e){return e.toJSON()}))),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=Ci),e.stringify&&(e=e.stringify);var t="";return e(this,(function(e){t+=e})),t},t.warn=function(e,t,r){var n={node:this};for(var i in r)n[i]=r[i];return e.warn(t,n)},c(e,[{key:"proxyOf",get:function(){return this}}]),e}(),Ei=xi;xi.default=xi;var Ai=function(e){function t(t){var r;return t&&"undefined"!==typeof t.value&&"string"!==typeof t.value&&(t=l({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}
4return h(t,e),c(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(Ei),Oi=Ai;Ai.default=Ai;var Ri=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},Mi=ui.SourceMapConsumer,Ti=ui.SourceMapGenerator,Pi=ui.existsSync,Ni=ui.readFileSync,Di=ui.dirname,Li=ui.join;var Fi=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Di(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new Mi(this.text)),this.consumerCache},t.decodeInline=function(e){var t;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===("undefined"===typeof e?"undefined":g(e))&&("string"===typeof e.mappings||"string"===typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=Di(e),Pi(e))return this.mapFile=e,Ni(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"===typeof t)return t;if("function"!==typeof t){if(f(t,Mi))return Ti.fromSourceMap(t).toString();if(f(t,Ti))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var i=this.annotation;return e&&(i=Li(Di(e),i)),this.loadFile(i)}}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),Ui=Fi;Fi.default=Fi;var Bi=ui.SourceMapConsumer,ji=ui.SourceMapGenerator,qi=ui.fileURLToPath,zi=ui.pathToFileURL,Wi=ui.isAbsolute,Vi=ui.resolve,$i=Ri,Gi=ui,Yi=hi,Zi=Ui,Hi=Symbol("fromOffsetCac
4he"),Xi=Boolean(Bi&&ji),Ji=Boolean(Vi&&Wi),Ki=function(){function e(e,t){if(void 0===t&&(t={}),null===e||"undefined"===typeof e||"object"===("undefined"===typeof e?"undefined":g(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Ji||/^\w+:\/\//.test(t.from)||Wi(t.from)?this.file=t.from:this.file=Vi(t.from)),Ji&&Xi){var r=new Zi(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+$i(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){var i,o,s;if(void 0===n&&(n={}),t&&"object"===("undefined"===typeof t?"undefined":g(t))){var a=t,u=r;if("number"===typeof a.offset){var c=this.fromOffset(a.offset);t=c.line,r=c.col}else t=a.line,r=a.column;if("number"===typeof u.offset){var l=this.fromOffset(u.offset);o=l.line,s=l.col}else o=u.line,s=u.column}else if(!r){var p=this.fromOffset(t);t=p.line,r=p.col}var h=this.origin(t,r,o,s);return(i=h?new Yi(e,void 0===h.endLine?h.line:{column:h.column,line:h.line},void 0===h.endLine?h.column:{column:h.endColumn,line:h.endLine},h.source,h.file,n.plugin):new Yi(e,void 0===o?t:{column:r,line:t},void 0===o?r:{column:s,line:o},this.css,this.file,n.plugin)).input={column:r,endColumn:s,endLine:o,line:t,source:this.css},this.file&&(zi&&(i.input.url=zi(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t;if(this[Hi])t=this[Hi];else{var r=this.css.split("\n");t=new Array(r.length);for(var n=0,i=0,o=r.length;i<o;i++)t[i]=n,n+=r[i].length+1;this[Hi]=t}var s=0;if(e>=t[t.length-1])s=t.length-1;else for(var a,u=t.length-2;s<u;)if(e<t[a=s+(u-s>>1)])u=a-1;else{if(!(e>=t[a+1])){s=a;break}s=a+1}return{col:e-t[s]+1,line:s+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:Vi(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var i,o,s=this.map.consumer(),a=s.originalPositionFor({column:t,line:e});if(!a.source)return!1;"number"===typeof r&&(i=s.originalPositionFor({column:n,line:r})),o=Wi(a.source)?zi(a.source):new URL(a.source,this.map.consumer().sourceRoot||zi(this.map.mapFile));var u={column:a.column,endColumn:i&&i.column,endLine:i&&i.line,line:a.line,url:o.toString()};if("file:"===o.protocol){if(!qi)throw new Error("file: protocol is not available in this PostCSS build");u.file=qi(o)}var c=s.sourceContentFor(a.source);return c&&(u.source=c),u},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=l({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},c(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),Qi=Ki;Ki.default=Ki,Gi&&Gi.registerInput&&Gi.registerInput(Ki);var eo=ui.SourceMapConsumer,to=ui.SourceMapGenerator,ro=ui.dirname,no=ui.relative,io=ui.resolve,oo=ui.sep,so=ui.pathToFileURL,ao=Qi,uo=Boolean(eo&&to),co=Boolean(ro&&io&&no&&oo),lo=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"===typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"===typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=_(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||ro(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new eo(r.text)).sourcesContent&&(o.sourcesContent=null):o=r.consumer(),this.map.applySourceMap(o,n,this.toUrl(this.path(i)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},t.generate=function(){if(this.clearAnnotation(),co&&uo&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,(function(t){e+=t})),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=to.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new to({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},t.generateString=function(){var e=this;this.css="",this.map=new to({file:this.outputFile(),ignoreInvalidMapping:!0});var t,r,n=1,i=1,o="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,(function(a,u,c){if(e.css+=a,u&&"end"!==c&&(s.generated.line=n,s.generated.column=i-1,u.source&&u.source.start?(s.source=e.sourcePath(u),s.original.line=u.source.start.line,s.original.column=u.source.start.column-1,e.map.addMapping(s)):(s.source=o,s.original.line=1,s.original.column=0,e.map.addMapping(s))),(t=a.match(/\n/g))?(n+=t.length,r=a.lastIndexOf("\n"),i=a.length-r):i+=a.length,u&&"start"!==c){var l=u.parent||{raws:{}};("decl"===u.type||"atrule"===u.type&&!u.nodes)&&u===l.last&&!l.raws.semicolon||(u.source&&u.source.end?(s.source=e.sourcePath(u),s.original.line=u.source.end.line,s.original.column=u.source.end.column-1,s.generated.line=n,s.generated.column=i-2,e.map.addMapping(s)):(s.source=o,s.original.line=1,s.original.column=0,s.generated.line=n,s.generated.column=i-1,e.map.addMapping(s)))}}))},t.isAnnotation=function(){return!!this.isInline()||("undefined"!==typeof this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((function(e){return e.annotation})))},t.isInline=function(){if("undefined"!==typeof this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return("undefined"===typeof e||!0===e)&&(!this.previous().length||this.previous().some((function(e){return e.inline})))},t.isMap=function(){return"undefined"!==typeof this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return"undefined"!==typeof this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((function(e){return e.withContent()}))},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?ro(this.opts.to):".";"string"===typeof this.mapOpts.annotation&&(r=ro(io(r,this.mapOpts.annotation)));var n=no(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}}));else{var t=new ao(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk((function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var i=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(i,r.source.input.css)}}}));else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},t.toBase64=function(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(so){var r=so(e).toString();return this.memoizedFileURLs.set(e,r),r}throw new Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===oo&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),po=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return h(t,e),t}(Ei),ho=po;po.default=po;var fo,mo,go,vo,yo=fi.isClean,_o=fi.my,bo=Oi,wo=ho;
4function So(e){return e.map((function(e){return e.nodes&&(e.nodes=So(e.nodes)),delete e.source,e}))}function ko(e){if(e[yo]=!1,e.proxyOf.nodes)for(var t,r=_(e.proxyOf.nodes);!(t=r()).done;){ko(t.value)}}var Co=function(e){function t(){return e.apply(this,arguments)||this}h(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=_(t);!(n=i()).done;)for(var o,s=n.value,a=_(this.normalize(s,this.last));!(o=a()).done;){var u=o.value;this.proxyOf.nodes.push(u)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=_(this.nodes);!(r=n()).done;){r.value.cleanRaws(t)}},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"===typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var o;return(o=e)[t].apply(o,[].concat(n.map((function(e){return"function"===typeof e?function(t,r){return e(t.toProxy(),r)}:e}))))}:"every"===t||"some"===t?function(r){return e[t]((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return r.apply(void 0,[].concat([e.toProxy()],n))}))}:"root"===t?function(){return e.root().toProxy()}:"nodes"===t?e.nodes.map((function(e){return e.toProxy()})):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},r.index=function(e){return"number"===typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var o,s=_(i);!(o=s()).done;){var a=o.value;this.proxyOf.nodes.splice(n+1,0,a)}for(var u in this.indexes)n<(r=this.indexes[u])&&(this.indexes[u]=r+i.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),i=0===n&&"prepend",o=this.normalize(t,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(var s,a=_(o);!(s=a()).done;){var u=s.value;this.proxyOf.nodes.splice(n,0,u)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+o.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"===typeof e)e=So(fo(e).nodes);else if("undefined"===typeof e)e=[];else if(Array.isArray(e))for(var i,o=_(e=e.slice(0));!(i=o()).done;){var s=i.value;s.parent&&s.parent.removeChild(s,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var a,u=_(e=e.nodes.slice(0));!(a=u()).done;){var c=a.value;c.parent&&c.parent.removeChild(c,"ignore")}else if(e.type)e=[e];else if(e.prop){if("undefined"===typeof e.value)throw new Error("Value field is missed in node creation");"string"!==typeof e.value&&(e.value=String(e.value)),e=[new bo(e)]}else if(e.selector)e=[new mo(e)];else if(e.name)e=[new go(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new wo(e)]}var l=e.map((function(e){return e[_o]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[yo]&&ko(e),"undefined"===typeof e.raws.before&&r&&"undefined"!==typeof r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e}));return l},r.prepend=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,i=_(t=t.reverse());!(n=i()).done;){for(var o,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),u=_(a);!(o=u()).done;){var c=o.value;this.proxyOf.nodes.unshift(c)}for(var l in this.indexes)this.indexes[l]=this.indexes[l]+a.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=_(this.proxyOf.nodes);!(e=t()).done;){e.value.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls((function(n){t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))})),this.markDirty(),this}
4,r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each((function(t,r){var n;try{n=e(t,r)}catch(i){throw t.addToError(i)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))},r.walkAtRules=function(e,t){return t?f(e,RegExp)?this.walk((function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)})):this.walk((function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)})):(t=e,this.walk((function(e,r){if("atrule"===e.type)return t(e,r)})))},r.walkComments=function(e){return this.walk((function(t,r){if("comment"===t.type)return e(t,r)}))},r.walkDecls=function(e,t){return t?f(e,RegExp)?this.walk((function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)})):this.walk((function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)})):(t=e,this.walk((function(e,r){if("decl"===e.type)return t(e,r)})))},r.walkRules=function(e,t){return t?f(e,RegExp)?this.walk((function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)})):this.walk((function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)})):(t=e,this.walk((function(e,r){if("rule"===e.type)return t(e,r)})))},c(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(Ei);Co.registerParse=function(e){fo=e},Co.registerRule=function(e){mo=e},Co.registerAtRule=function(e){go=e},Co.registerRoot=function(e){vo=e};var Io=Co;Co.default=Co,Co.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,go.prototype):"rule"===e.type?Object.setPrototypeOf(e,mo.prototype):"decl"===e.type?Object.setPrototypeOf(e,bo.prototype):"comment"===e.type?Object.setPrototypeOf(e,wo.prototype):"root"===e.type&&Object.setPrototypeOf(e,vo.prototype),e[_o]=!0,e.nodes&&e.nodes.forEach((function(e){Co.rebuild(e)}))};var xo,Eo,Ao=function(e){function t(t){var r;return(r=e.call(this,l({type:"document"},t))||this).nodes||(r.nodes=[]),r}return h(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new xo(new Eo,this,e).stringify()},t}
4(Io);Ao.registerLazyResult=function(e){xo=e},Ao.registerProcessor=function(e){Eo=e};var Oo=Ao;Ao.default=Ao;var Ro=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),Mo=Ro;Ro.default=Ro;var To=Mo,Po=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new To(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter((function(e){return"warning"===e.type}))},c(e,[{key:"content",get:function(){return this.css}}]),e}(),No=Po;Po.default=Po;var Do="'".charCodeAt(0),Lo='"'.charCodeAt(0),Fo="\\".charCodeAt(0),Uo="/".charCodeAt(0),Bo="\n".charCodeAt(0),jo=" ".charCodeAt(0),qo="\f".charCodeAt(0),zo="\t".charCodeAt(0),Wo="\r".charCodeAt(0),Vo="[".charCodeAt(0),$o="]".charCodeAt(0),Go="(".charCodeAt(0),Yo=")".charCodeAt(0),Zo="{".charCodeAt(0),Ho="}".charCodeAt(0),Xo=";".charCodeAt(0),Jo="*".charCodeAt(0),Ko=":".charCodeAt(0),Qo="@".charCodeAt(0),es=/[\t\n\f\r "#'()/;[\\\]{}]/g,ts=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,rs=/.[\r\n"'(/\\]/,ns=/[\da-f]/i,is=Io,os=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}h(t,e);var r=t.prototype;return r.append=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.append).call.apply(i,[].concat([this],r))},r.prepend=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.prepend).call.apply(i,[].concat([this],r))},t}(is),ss=os;os.default=os,is.registerAtRule(os);var as,us,cs=Io,ls=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}h(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var i=e.prototype.normalize.call(this,t);if(r)if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var o,s=_(i);!(o=s()).done;){o.value.raws.before=r.raws.before}return i},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new as(new us,this,e).stringify()},t}(cs);ls.registerLazyResult=function(e){as=e},ls.registerProcessor=function(e){us=e};var ps=ls;ls.default=ls,cs.registerRoot(ls);var hs={comma:function(e){return hs.split(e,[","],!0)},space:function(e){return hs.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,i=[],o="",s=!1,a=0,u=!1,c="",l=!1,p=_(e);!(n=p()).done;){var h=n.value;l?l=!1:"\\"===h?l=!0:u?h===c&&(u=!1):'"'===h||"'"===h?(u=!0,c=h):"("===h?a+=1:")"===h?a>0&&(a-=1):0===a&&t.includes(h)&&(s=!0),s?(""!==o&&i.push(o.trim()),o="",s=!1):o+=h}return(r||""!==o)&&i.push(o.trim()),i}},fs=hs;hs.default=hs;var ds=Io,ms=fs,gs=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}
vendor: 5,041 bytes, line 4
4return h(t,e),c(t,[{key:"selectors",get:function(){return ms.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(ds),vs=gs;gs.default=gs,ds.registerRule(gs);var ys=Oi,_s=function(e,t){void 0===t&&(t={});var r,n,i,o,s,a,u,c,l,p,h=e.css.valueOf(),f=t.ignoreErrors,d=h.length,m=0,g=[],v=[];function y(t){throw e.error("Unclosed "+t,m)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&m>=d},nextToken:function(e){if(v.length)return v.pop();if(!(m>=d)){var t=!!e&&e.ignoreUnclosed;switch(r=h.charCodeAt(m)){case Bo:case jo:case zo:case Wo:case qo:n=m;do{n+=1,r=h.charCodeAt(n)}while(r===jo||r===Bo||r===zo||r===Wo||r===qo);p=["space",h.slice(m,n)],m=n-1;break;case Vo:case $o:case Zo:case Ho:case Ko:case Xo:case Yo:var _=String.fromCharCode(r);p=[_,_,m];break;case Go:if(c=g.length?g.pop()[1]:"",l=h.charCodeAt(m+1),"url"===c&&l!==Do&&l!==Lo&&l!==jo&&l!==Bo&&l!==zo&&l!==qo&&l!==Wo){n=m;do{if(a=!1,-1===(n=h.indexOf(")",n+1))){if(f||t){n=m;break}y("bracket")}for(u=n;h.charCodeAt(u-1)===Fo;)u-=1,a=!a}while(a);p=["brackets",h.slice(m,n+1),m,n],m=n}else n=h.indexOf(")",m+1),o=h.slice(m,n+1),-1===n||rs.test(o)?p=["(","(",m]:(p=["brackets",o,m,n],m=n);break;case Do:case Lo:i=r===Do?"'":'"',n=m;do{if(a=!1,-1===(n=h.indexOf(i,n+1))){if(f||t){n=m+1;break}y("string")}for(u=n;h.charCodeAt(u-1)===Fo;)u-=1,a=!a}while(a);p=["string",h.slice(m,n+1),m,n],m=n;break;case Qo:es.lastIndex=m+1,es.test(h),n=0===es.lastIndex?h.length-1:es.lastIndex-2,p=["at-word",h.slice(m,n+1),m,n],m=n;break;case Fo:for(n=m,s=!0;h.charCodeAt(n+1)===Fo;)n+=1,s=!s;if(r=h.charCodeAt(n+1),s&&r!==Uo&&r!==jo&&r!==Bo&&r!==zo&&r!==Wo&&r!==qo&&(n+=1,ns.test(h.charAt(n)))){for(;ns.test(h.charAt(n+1));)n+=1;h.charCodeAt(n+1)===jo&&(n+=1)}p=["word",h.slice(m,n+1),m,n],m=n;break;default:r===Uo&&h.charCodeAt(m+1)===Jo?(0===(n=h.indexOf("*/",m+2)+1)&&(f||t?n=h.length:y("comment")),p=["comment",h.slice(m,n+1),m,n],m=n):(ts.lastIndex=m+1,ts.test(h),n=0===ts.lastIndex?h.length-1:ts.lastIndex-2,p=["word",h.slice(m,n+1),m,n],g.push(p),m=n)}return m++,p}},position:function(){return m}}},bs=ho,ws=ss,Ss=ps,ks=vs,Cs={empty:!0,space:!0};var Is=Io,xs=function(){function e(e){this.input=e,this.root=new Ss,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,i=new ws;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,s=!1,a=[],u=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?u.push("("===t?")":"]"):"{"===t&&u.length>0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(a.length>0){for(r=a[n=a.length-1];r&&"space"===r[0];)r=a[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]),i.source.end.offset++)}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(i.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(i,"params",a),o&&(e=a[a.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},t.colon=function(e){for(var t,r,n,i,o=0,s=_(e.entries());!(i=s()).done;){var a=i.value,u=a[0];if("("===(r=(t=a[1])[0])&&(o+=1),")"===r&&(o-=1),0===o&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return u}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new bs;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=_s(this.input)},t.decl=function(e,t){var r=new ys;this.init(r,e[0][2]);var n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){var o=e[0][0];if(":"===o||"space"===o||"comment"===o)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(":"===(n=e.shift())[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));for(var s,a=[];
4e.length&&("space"===(s=e[0][0])||"comment"===s);)a.push(e.shift());this.precheckMissedSemicolon(e);for(var u=e.length-1;u>=0;u--){if("!important"===(n=e[u])[1].toLowerCase()){r.important=!0;var c=this.stringFrom(e,u);" !important"!==(c=this.spacesFromEnd(e)+c)&&(r.raws.important=c);break}if("important"===n[1].toLowerCase()){for(var l=e.slice(0),p="",h=u;h>0;h--){var f=l[h][0];if(0===p.trim().indexOf("!")&&"space"!==f)break;p=l.pop()[1]+p}0===p.trim().indexOf("!")&&(r.important=!0,r.raws.important=p,e=l)}if("space"!==n[0]&&"comment"!==n[0])break}var d=e.some((function(e){return"space"!==e[0]&&"comment"!==e[0]}));d&&(r.raws.between+=a.map((function(e){return e[1]})).join(""),a=[]),this.raw(r,"value",a.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new ks;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],u=e;u;){if(r=u[0],a.push(u),"("===r||"["===r)i||(i=u),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=u),o.push("}");else if(0===o.length){if(";"===r){if(n)return void this.decl(a,s);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;a.length&&("space"===(u=a[a.length-1][0])||"comment"===u);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var i,o,s,a,u=r.length,c="",l=!0,p=0;p<u;p+=1)"space"!==(o=(i=r[p])[0])||p!==u-1||n?"comment"===o?(a=r[p-1]?r[p-1][0]:"empty",s=r[p+1]?r[p+1][0]:"empty",Cs[a]||Cs[s]||","===c.slice(-1)?l=!1:c+=i[1]):c+=i[1]:l=!1;if(!l){var h=r.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={raw:h,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new ks;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}(),Es=Qi;function As(e,t){var r=new Es(e,t),n=new xs(r);try{n.parse()}catch(i){throw i}return n.root}var Os=As;As.default=As,Is.registerParse(As);var Rs=fi.isClean,Ms=fi.my,Ts=lo,Ps=_i,Ns=Io,Ds=Oo,Ls=No,Fs=Os,Us=ps,Bs={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},js={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},qs={Once:!0,postcssPlugin:!0,prepare:!0};function zs(e){return"object"===("undefined"===typeof e?"undefined":g(e))&&"function"===typeof e.then}function Ws(e){var t=!1,r=Bs[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function Vs(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Ws(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}
4function $s(e){return e[Rs]=!1,e.nodes&&e.nodes.forEach((function(e){return $s(e)})),e}var Gs={},Ys=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,"object"!==("undefined"===typeof r?"undefined":g(r))||null===r||"root"!==r.type&&"document"!==r.type)if(f(r,e)||f(r,Ls))i=$s(r.root),r.map&&("undefined"===typeof n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var s=Fs;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(a){this.processed=!0,this.error=a}i&&!i[Ms]&&Ns.rebuild(i)}else i=$s(r);this.result=new Ls(t,i,n),this.helpers=l({},Gs,{postcss:Gs,result:this.result}),this.plugins=this.processor.plugins.map((function(e){return"object"===("undefined"===typeof e?"undefined":g(e))&&e.prepare?l({},e,e.prepare(o.result)):e}))}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion);}else e.plugin=r.postcssPlugin,e.setMessage()}catch(n){console&&console.error&&console.error(n)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=_(this.plugins);!(t=n()).done;){var i=t.value;if("object"===("undefined"===typeof i?"undefined":g(i)))for(var o in i){if(!js[o]&&/^[A-Z]/.test(o))throw new Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!qs[o])if("object"===g(i[o]))for(var s in i[o])r(i,"*"===s?o:o+"-"+s.toLowerCase(),i[o][s]);else"function"===typeof i[o]&&r(i,o,i[o])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return a((function(){var t,r,n,i,o,s,a,u,c,l,p,h;return b(this,(function(f){switch(f.label){case 0:e.plugin=0,t=0,f.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!zs(n=e.runOnRoot(r)))return[3,5];f.label=2;case 2:return f.trys.push([2,4,,5]),[4,n];case 3:return f.sent(),[3,5];case 4:throw i=f.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];o=e.result.root,f.label=7;case 7:if(o[Rs])return[3,14];o[Rs]=!0,s=[Vs(o)],f.label=8;case 8:if(!(s.length>0))return[3,13];if(!zs(a=e.visitTick(s)))return[3,12];f.label=9;case 9:return f.trys.push([9,11,,12]),[4,a];case 10:return f.sent(),[3,12];case 11:throw u=f.sent(),c=s[s.length-1].node,e.handleError(u,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];l=function(){var t,r,n,i,s;return b(this,(function(a){switch(a.label){case 0:t=h.value,r=t[0],n=t[1],e.result.lastPlugin=r,a.label=1;case 1:return a.trys.push([1,6,,7]),"document"!==o.type?[3,3]:(i=o.nodes.map((function(t){return n(t,e.helpers)})),[4,Promise.all(i)]);case 2:return a.sent(),[3,5];case 3:return[4,n(o,e.helpers)];case 4:a.sent(),a.label=5;case 5:return[3,7];case 6:throw s=a.sent(),e.handleError(s);case 7:return[2]}}
4))},p=_(e.listeners.OnceExit),f.label=15;case 15:return(h=p()).done?[3,18]:[5,w(l())];case 16:f.sent(),f.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}}))}))()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===("undefined"===typeof e?"undefined":g(e))&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map((function(r){return e.Once(r,t.helpers)}));return zs(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}if("function"===typeof e)return e(this.result.root,this.result)}catch(n){throw this.handleError(n)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=Ps;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new Ts(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e,t=_(this.plugins);!(e=t()).done;){var r=e.value;if(zs(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[Rs];)n[Rs]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var i,o=_(n.nodes);!(i=o()).done;){var s=i.value;this.visitSync(this.listeners.OnceExit,s)}else this.visitSync(this.listeners.OnceExit,n)}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=_(e);!(r=n()).done;){var i=r.value,o=i[0],s=i[1];this.result.lastPlugin=o;var a=void 0;try{a=s(t,this.helpers)}catch(u){throw this.handleError(u,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(zs(a))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var i=n[t.visitorIndex],o=i[0],s=i[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return s(r.toProxy(),this.helpers)}catch(p){throw this.handleError(p,r)}}if(0!==t.iterator){for(var a,u=t.iterator;a=r.nodes[r.indexes[u]];)if(r.indexes[u]+=1,!a[Rs])return a[Rs]=!0,void e.push(Vs(a));t.iterator=0,delete r.indexes[u]}for(var c=t.events;t.eventIndex<c.length;){var l=c[t.eventIndex];if(t.eventIndex+=1,0===l)return void(r.nodes&&r.nodes.length&&(r[Rs]=!0,t.iterator=r.getIterator()));if(this.listeners[l])return void(t.visitors=this.listeners[l])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[Rs]=!0;for(var r,n=_(Ws(e));!(r=n()).done;){var i=r.value;if(0===i)e.nodes&&e.each((function(e){e[Rs]||t.walkSync(e)}));else{var o=this.listeners[i];if(o&&this.visitSync(o,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},c(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();Ys.registerPostcss=function(e){Gs=e};var Zs=Ys;Ys.default=Ys,Us.registerLazyResult(Ys),Ds.registerLazyResult(Ys);var Hs=lo,Xs=_i,Js=Os,Ks=No,Qs=function(){function e(e,t,r){var n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;var i=Xs;this.result=new Ks(this._processor,n,this._opts),this.result.css=t;var o=this;Object.defineProperty(this.result,"root",{get:function(){return o.root}});var s=new Hs(i,n,this._opts,t);if(s.isMap()){var a=s.generate(),u=a[0],c=a[1];u&&(this.result.css=u),c&&(this.result.map=c)}else s.clearAnnotation(),this.result.css=s.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Prom
4ise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},c(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,t=Js;try{e=t(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),ea=Qs;Qs.default=Qs;var ta=ea,ra=Zs,na=Oo,ia=ps,oa=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=_(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"===("undefined"===typeof i?"undefined":g(i))&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if("object"===("undefined"===typeof i?"undefined":g(i))&&i.postcssPlugin)r.push(i);else if("function"===typeof i)r.push(i);else{if("object"!==("undefined"===typeof i?"undefined":g(i))||!i.parse&&!i.stringify)throw new Error(i+" is not a PostCSS plugin")}}return r},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new ra(this,e,t):new ta(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),sa=oa;oa.default=oa,ia.registerProcessor(oa),na.registerProcessor(oa);var aa=Oi,ua=Ui,ca=ho,la=ss,pa=Qi,ha=ps,fa=vs;function da(e,t){if(Array.isArray(e))return e.map((function(e){return da(e)}));var r=e.inputs,n=d(e,["inputs"]);if(r){t=[];for(var i,o=_(r);!(i=o()).done;){var s=l({},i.value,{__proto__:pa.prototype});s.map&&(s.map=l({},s.map,{__proto__:ua.prototype})),t.push(s)}}if(n.nodes&&(n.nodes=e.nodes.map((function(e){return da(e,t)}))),n.source){var a=n.source,u=a.inputId,c=d(a,["inputId"]);n.source=c,null!=u&&(n.source.input=t[u])}if("root"===n.type)return new ha(n);if("decl"===n.type)return new aa(n);if("rule"===n.type)return new fa(n);if("comment"===n.type)return new ca(n);if("atrule"===n.type)return new la(n);throw new Error("Unknown node type: "+e.type)}var ma=da;da.default=da;var ga=hi,va=Oi,ya=Zs,_a=Io,ba=sa,wa=_i,Sa=ma,ka=Oo,Ca=Mo,Ia=ho,xa=ss,Ea=No,Aa=Qi,Oa=Os,Ra=fs,Ma=vs,Ta=ps,Pa=Ei;function Na(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new ba(t)}Na.plugin=function(e,t){var r,n=!1;function i(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API_URL:"https://api.aicosts.ai",REACT_APP_SUPPORT_EMAIL:"[email protected]",REACT_APP_TEAM_EMAIL:"[email protected]",REACT_APP_TURNSTILE_SITE_KEY:"0x4AAAAAABUBPXtp1XfgqgIg",REACT_APP_MIXPANEL_TOKEN:"b35820620837f9ded87ef1eaa05d34ee"}.LANG&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API_URL:"https://api.aicosts.ai",REACT_APP_SUPPORT_EMAIL:"[email protected]",REACT_APP_TEAM_EMAIL:"[email protected]",REACT_APP_TURNSTILE_SITE_KEY:"0x4AAAAAABUBPXtp1XfgqgIg",REACT_APP_MIXPANEL_TOKEN:"b35820620837f9ded87ef1eaa05d34ee"}.LANG.startsWith("cn")&&console.warn(e+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(i));return s.postcssPlugin=e,s.postcssVersion=(new ba).version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return Na([i(r)]).process(e,t)},i},Na.stringify=wa,Na.parse=Oa,Na.fromJSON=Sa,Na.list=Ra,Na.comment=function(e){return new Ia(e)},Na.atRule=function(e){return new xa(e)},Na.decl=function(e){return new va(e)},Na.rule=function(e){return new Ma(e)},Na.root=function(e){return new Ta(e)},Na.document=function(e){return new ka(e)},Na.CssSyntaxError=ga,Na.Declaration=va,Na.Container=_a,Na.Processor=ba,Na.Document=ka,Na.Comment=Ia,Na.Warning=Ca,Na.AtRule=xa,Na.Result=Ea,Na.Input=Aa,Na.Rule=Ma,Na.Root=Ta,Na.Node=Pa,ya.registerPostcss(Na);var Da=Na;Na.default=Na;var La=ri(Da);
4La.stringify,La.fromJSON,La.plugin,La.parse,La.list,La.document,La.comment,La.atRule,La.rule,La.decl,La.root,La.CssSyntaxError,La.Declaration,La.Container,La.Processor,La.Document,La.Comment,La.Warning,La.AtRule,La.Result,La.Input,La.Rule,La.Root,La.Node;var Fa=function(){function e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];ti(this,"parentElement",null),ti(this,"parentNode",null),ti(this,"ownerDocument"),ti(this,"firstChild",null),ti(this,"lastChild",null),ti(this,"previousSibling",null),ti(this,"nextSibling",null),ti(this,"ELEMENT_NODE",1),ti(this,"TEXT_NODE",3),ti(this,"nodeType"),ti(this,"nodeName"),ti(this,"RRNodeType")}var t=e.prototype;return t.contains=function(t){if(!f(t,e))return!1;if(t.ownerDocument!==this.ownerDocument)return!1;if(t===this)return!0;for(;t.parentNode;){if(t.parentNode===this)return!0;t=t.parentNode}return!1},t.appendChild=function(e){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")},t.insertBefore=function(e,t){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")},t.removeChild=function(e){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")},t.toString=function(){return"RRNode"},c(e,[{key:"childNodes",get:function(){for(var e=[],t=this.firstChild;t;)e.push(t),t=t.nextSibling;return e}}]),e}(),Ua={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Ba={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},ja={};function qa(e){if(ja[e])return ja[e];var t=globalThis[e],r=t.prototype,n=e in Ua?Ua[e]:void 0,i=Boolean(n&&n.every((function(e){var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))}))),o=e in Ba?Ba[e]:void 0,s=Boolean(o&&o.every((function(e){var t;return"function"===typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))})));if(i&&s&&!globalThis.Zone)return ja[e]=t.prototype,t.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var u=a.contentWindow;if(!u)return t.prototype;var c=u[e].prototype;return document.body.removeChild(a),c?ja[e]=c:r}catch(l){return r}}var za={};function Wa(e,t,r){var n,i=e+"."+String(r);if(za[i])return za[i].call(t);var o=qa(e),s=null==(n=Object.getOwnPropertyDescriptor(o,r))?void 0:n.get;return s?(za[i]=s,s.call(t)):t[r]}var Va={};function $a(e,t,r){var n=e+"."+String(r);if(Va[n])return Va[n].bind(t);var i=qa(e)[r];return"function"!==typeof i?t[r]:(Va[n]=i,i.bind(t))}function Ga(){return qa("MutationObserver").constructor}var Ya={childNodes:function(e){return Wa("Node",e,"childNodes")},parentNode:function(e){return Wa("Node",e,"parentNode")},parentElement:function(e){return Wa("Node",e,"parentElement")},textContent:function(e){return Wa("Node",e,"textContent")},contains:function(e,t){return $a("Node",e,"contains")(t)},getRootNode:function(e){return $a("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?Wa("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?Wa("Element",e,"shadowRoot"):null},querySelector:function(e,t){return Wa("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return Wa("Element",e,"querySelectorAll")(t)},mutationObserver:Ga};function Za(e,t,r){void 0===r&&(r=document);var n={capture:!0,passive:!0};return r.addEventListener(e,t,n),function(){return r.removeEventListener(e,t,n)}}var Ha="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",Xa={map:{},getId:function(){return console.error(Ha),-1},getNode:function(){return console.error(Ha),null},removeNodeFromMap:function(){console.error(Ha)},has:function(){return console.error(Ha),!1},reset:function(){console.error(Ha)}};function Ja(e,t,r){void 0===r&&(r={});var n=null,i=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();i||!1!==r.leading||(i=u);var c=t-(u-i),l=this;c<=0||c>t?(n&&(clearTimeout(n),n=null),i=u,e.apply(l,s)):n||!1===r.trailing||(n=setTimeout((function(){i=!1===r.leading?0:Date.now(),n=null,e.apply(l,s)}),c))}}function Ka(e,t,r,n,i){void 0===i&&(i=window);var o=i.Object.getOwnPropertyDescriptor(e,t);
4return i.Object.defineProperty(e,t,n?r:{set:function(e){var t=this;setTimeout((function(){r.set.call(t,e)}),0),o&&o.set&&o.set.call(this,e)}}),function(){return Ka(e,t,o||{},!0)}}function Qa(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"===typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(o){return function(){}}}"undefined"!==typeof window&&window.Proxy&&window.Reflect&&(Xa=new Proxy(Xa,{get:function(e,t,r){return"map"===t&&console.error(Ha),Reflect.get(e,t,r)}}));var eu=Date.now;function tu(e){var t,r,n,i,o=e.document;return{left:o.scrollingElement?o.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:o.documentElement.scrollLeft||(null==o?void 0:o.body)&&(null==(t=Ya.parentElement(o.body))?void 0:t.scrollLeft)||(null==(r=null==o?void 0:o.body)?void 0:r.scrollLeft)||0,top:o.scrollingElement?o.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==o?void 0:o.documentElement.scrollTop)||(null==o?void 0:o.body)&&(null==(n=Ya.parentElement(o.body))?void 0:n.scrollTop)||(null==(i=null==o?void 0:o.body)?void 0:i.scrollTop)||0}}function ru(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function nu(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function iu(e){return e?e.nodeType===e.ELEMENT_NODE?e:Ya.parentElement(e):null}function ou(e,t,r,n){if(!e)return!1;var i=iu(e);if(!i)return!1;try{if("string"===typeof t){if(i.classList.contains(t))return!0;if(n&&null!==i.closest("."+t))return!0}else if(de(i,t,n))return!0}catch(o){}if(r){if(i.matches(r))return!0;if(n&&null!==i.closest(r))return!0}return!1}function su(e,t,r){return!("TITLE"!==e.tagName||!r.headTitleMutations)||-2===t.getId(e)}function au(e,t){if(U(e))return!1;var r=t.getId(e);if(!t.has(r))return!0;var n=Ya.parentNode(e);return(!n||n.nodeType!==e.DOCUMENT_NODE)&&(!n||au(n,t))}function uu(e){return Boolean(e.changedTouches)}function cu(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function lu(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function pu(e){return!!e&&(f(e,Fa)&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean(Ya.shadowRoot(e)))}/[1-9][0-9]{12}/.test(Date.now().toString())||(eu=function(){return(new Date).getTime()});var hu=function(){function e(){C(this,"id",1),C(this,"styleIDMap",new WeakMap),C(this,"idStyleMap",new Map)}var t=e.prototype;return t.getId=function(e){var t;return null!=(t=this.styleIDMap.get(e))?t:-1},t.has=function(e){return this.styleIDMap.has(e)},t.add=function(e,t){return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r);var r},t.getStyle=function(e){return this.idStyleMap.get(e)||null},t.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},t.generateId=function(){return this.id++},e}();function fu(e){var t,r=null;return"getRootNode"in e&&(null==(t=Ya.getRootNode(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&Ya.host(Ya.getRootNode(e))&&(r=Ya.host(Ya.getRootNode(e))),r}function du(e){var t=e.ownerDocument;if(!t)return!1;var r=function(e){for(var t,r=e;t=fu(r);)r=t;return r}(e);return Ya.contains(t,r)}function mu(e){var t=e.ownerDocument;return!!t&&(Ya.contains(t,e)||du(e))}var gu=function(e){return e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e}(gu||{}),vu=function(e){return e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e}(vu||{}),yu=function(e){return e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e}(yu||{}),_u=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}(_u||{}),bu=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}(bu||{}),wu=function(e){return e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e}(wu||{}),Su=function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e}(Su||{});function ku(e){return"__ln"in e}var Cu,Iu=function(){function e(){C(this,"length",0),C(this,"head",null),C(this,"tail",null)}var t=e.prototype;return t.get=function(e){if(e>=this.length)throw new Error("Position outside of list range");for(var t=this.head,r=0;r<e;r++)t=(null==t?void 0:t.next)||null;return t},t.addNode=function(e){var t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&ku(e.previousSibling)){var r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&ku(e.nextSibling)&&e.nextSibling.__ln.previous){var n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++},t.removeNode=function(e){var t=e.__ln;
4this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)},e}(),xu=function(e,t){return e+"@"+t},Eu=function(){function e(){var e=this;C(this,"frozen",!1),C(this,"locked",!1),C(this,"texts",[]),C(this,"attributes",[]),C(this,"attributeMap",new WeakMap),C(this,"removes",[]),C(this,"mapRemoves",[]),C(this,"movedMap",{}),C(this,"addedSet",new Set),C(this,"movedSet",new Set),C(this,"droppedSet",new Set),C(this,"removesSubTreeCache",new Set),C(this,"mutationCb"),C(this,"blockClass"),C(this,"blockSelector"),C(this,"maskTextClass"),C(this,"maskTextSelector"),C(this,"inlineStylesheet"),C(this,"maskInputOptions"),C(this,"maskTextFn"),C(this,"maskInputFn"),C(this,"keepIframeSrcFn"),C(this,"recordCanvas"),C(this,"inlineImages"),C(this,"slimDOMOptions"),C(this,"dataURLOptions"),C(this,"doc"),C(this,"mirror"),C(this,"iframeManager"),C(this,"stylesheetManager"),C(this,"shadowDomManager"),C(this,"canvasManager"),C(this,"processedNodeManager"),C(this,"unattachedDoc"),C(this,"processMutations",(function(t){t.forEach(e.processMutation),e.emit()})),C(this,"emit",(function(){if(!e.frozen&&!e.locked){for(var t=[],r=new Set,n=new Iu,i=function(t){for(var r=t,n=-2;-2===n;)n=(r=r&&r.nextSibling)&&e.mirror.getId(r);return n},o=function(o){var s=Ya.parentNode(o);if(s&&mu(o)){var a=!1;if(o.nodeType===Node.TEXT_NODE){var u=s.tagName;if("TEXTAREA"===u)return;"STYLE"===u&&e.addedSet.has(s)&&(a=!0)}var c=U(s)?e.mirror.getId(fu(o)):e.mirror.getId(s),l=i(o);if(-1===c||-1===l)return n.addNode(o);var p=ye(o,{doc:e.doc,mirror:e.mirror,blockClass:e.blockClass,blockSelector:e.blockSelector,maskTextClass:e.maskTextClass,maskTextSelector:e.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:e.inlineStylesheet,maskInputOptions:e.maskInputOptions,maskTextFn:e.maskTextFn,maskInputFn:e.maskInputFn,slimDOMOptions:e.slimDOMOptions,dataURLOptions:e.dataURLOptions,recordCanvas:e.recordCanvas,inlineImages:e.inlineImages,onSerialize:function(t){cu(t,e.mirror)&&e.iframeManager.addIframe(t),lu(t,e.mirror)&&e.stylesheetManager.trackLinkElement(t),pu(o)&&e.shadowDomManager.addShadowRoot(Ya.shadowRoot(o),e.doc)},onIframeLoad:function(t,r){e.iframeManager.attachIframe(t,r),e.shadowDomManager.observeAttachShadow(t)},onStylesheetLoad:function(t,r){e.stylesheetManager.attachLinkElement(t,r)},cssCaptured:a});p&&(t.push({parentId:c,nextId:l,node:p}),r.add(p.id))}};e.mapRemoves.length;)e.mirror.removeNodeFromMap(e.mapRemoves.shift());for(var s,a=_(e.movedSet);!(s=a()).done;){var u=s.value;Ou(e.removesSubTreeCache,u,e.mirror)&&!e.movedSet.has(Ya.parentNode(u))||o(u)}for(var c,l=_(e.addedSet);!(c=l()).done;){var p=c.value;Ru(e.droppedSet,p)||Ou(e.removesSubTreeCache,p,e.mirror)?Ru(e.movedSet,p)?o(p):e.droppedSet.add(p):o(p)}for(var h=null;n.length;){var f=null;if(h){var d=e.mirror.getId(Ya.parentNode(h.value)),m=i(h.value);-1!==d&&-1!==m&&(f=h)}if(!f)for(var g=n.tail;g;){var v=g;if(g=g.previous,v){var y=e.mirror.getId(Ya.parentNode(v.value));if(-1===i(v.value))continue;if(-1!==y){f=v;break}var b=v.value,w=Ya.parentNode(b);if(w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var S=Ya.host(w);if(-1!==e.mirror.getId(S)){f=v;break}}}}if(!f){for(;n.head;)n.removeNode(n.head.value);break}h=f.previous,n.removeNode(f.value),o(f.value)}var k={texts:e.texts.map((function(t){var r=t.node,n=Ya.parentNode(r);return n&&"TEXTAREA"===n.tagName&&e.genTextAreaValueMutation(n),{id:e.mirror.getId(r),value:t.value}})).filter((function(e){return!r.has(e.id)})).filter((function(t){return e.mirror.has(t.id)})),attributes:e.attributes.map((function(t){var r=t.attributes;if("string"===typeof r.style){var n=JSON.stringify(t.styleDiff),i=JSON.stringify(t._unchangedStyles);n.length<r.style.length&&(n+i).split("var(").length===r.style.split("var(").length&&(r.style=t.styleDiff)}return{id:e.mirror.getId(t.node),attributes:r}})).filter((function(e){return!r.has(e.id)})).filter((function(t){return e.mirror.has(t.id)})),removes:e.removes,adds:t};(k.texts.length||k.attributes.length||k.removes.length||k.adds.length)&&(e.texts=[],e.attributes=[],e.attributeMap=new WeakMap,e.removes=[],e.addedSet=new Set,e.movedSet=new Set,e.droppedSet=new Set,e.removesSubTreeCache=new Set,e.movedMap={},e.mutationCb(k))}})),C(this,"genTextAreaValueMutation",(function(t){var r=e.attributeMap.get(t);r||(r={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(r),e.attributeMap.set(t,r)),r.attributes.value=Array.from(Ya.childNodes(t),(function(e){return Ya.textContent(e)||""})).join("")})),C(this,"processMutation",(function(t){if(!su(t.target,e.mirror,e.slimDOMOptions))switch(t.type){case"characterData":var r=Ya.textContent(t.target);ou(t.target,e.blockClass,e.blockSelector,!1)||r===t.oldValue||e.texts.push({value:me(t.target,e.maskTextClass,e.maskTextSelector,!0)&&r?e.maskTextFn?e.maskTextFn(r,iu(t.target)):r.replace(/[\S]/g,"*"):r,node:t.target});break;case"attributes":var n=t.target,i=t.attributeName,o=t.target.getAttribute(i);if("value"===i){var s=G(n);o=W({element:n,maskInputOptions:e.maskInputOptions,tagName:n.tagName,type:s,value:o,maskInputFn:e.maskInputFn})}if(ou(t.target,e.blockClass,e.blockSelector,!1)||o===t.oldValue)return;var a=e.attributeMap.get(t.target);
4if("IFRAME"===n.tagName&&"src"===i&&!e.keepIframeSrcFn(o)){if(n.contentDocument)return;i="rr_src"}if(a||(a={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(a),e.attributeMap.set(t.target,a)),"type"===i&&"INPUT"===n.tagName&&"password"===(t.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!fe(n.tagName,i))if(a.attributes[i]=he(e.doc,V(n.tagName),V(i),o),"style"===i){if(!e.unattachedDoc)try{e.unattachedDoc=document.implementation.createHTMLDocument()}catch(v){e.unattachedDoc=e.doc}var u=e.unattachedDoc.createElement("span");t.oldValue&&u.setAttribute("style",t.oldValue);for(var c,l=_(Array.from(n.style));!(c=l()).done;){var p=c.value,h=n.style.getPropertyValue(p),f=n.style.getPropertyPriority(p);h!==u.style.getPropertyValue(p)||f!==u.style.getPropertyPriority(p)?a.styleDiff[p]=""===f?h:[h,f]:a._unchangedStyles[p]=[h,f]}for(var d,m=_(Array.from(u.style));!(d=m()).done;){var g=d.value;""===n.style.getPropertyValue(g)&&(a.styleDiff[g]=!1)}}else"open"===i&&"DIALOG"===n.tagName&&(n.matches("dialog:modal")?a.attributes.rr_open_mode="modal":a.attributes.rr_open_mode="non-modal");break;case"childList":if(ou(t.target,e.blockClass,e.blockSelector,!0))return;if("TEXTAREA"===t.target.tagName)return void e.genTextAreaValueMutation(t.target);t.addedNodes.forEach((function(r){return e.genAdds(r,t.target)})),t.removedNodes.forEach((function(r){var n=e.mirror.getId(r),i=U(t.target)?e.mirror.getId(Ya.host(t.target)):e.mirror.getId(t.target);ou(t.target,e.blockClass,e.blockSelector,!1)||su(r,e.mirror,e.slimDOMOptions)||!function(e,t){return-1!==t.getId(e)}(r,e.mirror)||(e.addedSet.has(r)?(Au(e.addedSet,r),e.droppedSet.add(r)):e.addedSet.has(t.target)&&-1===n||au(t.target,e.mirror)||(e.movedSet.has(r)&&e.movedMap[xu(n,i)]?Au(e.movedSet,r):(e.removes.push({parentId:i,id:n,isShadow:!(!U(t.target)||!B(t.target))||void 0}),function(e,t){var r=[e];for(;r.length;){var n=r.pop();t.has(n)||(t.add(n),Ya.childNodes(n).forEach((function(e){return r.push(e)})))}}(r,e.removesSubTreeCache))),e.mapRemoves.push(r))}))}})),C(this,"genAdds",(function(t,r){if(!e.processedNodeManager.inOtherBuffer(t,e)&&!e.addedSet.has(t)&&!e.movedSet.has(t)){if(e.mirror.hasNode(t)){if(su(t,e.mirror,e.slimDOMOptions))return;e.movedSet.add(t);var n=null;r&&e.mirror.hasNode(r)&&(n=e.mirror.getId(r)),n&&-1!==n&&(e.movedMap[xu(e.mirror.getId(t),n)]=!0)}else e.addedSet.add(t),e.droppedSet.delete(t);ou(t,e.blockClass,e.blockSelector,!1)||(Ya.childNodes(t).forEach((function(t){return e.genAdds(t)})),pu(t)&&Ya.childNodes(Ya.shadowRoot(t)).forEach((function(r){e.processedNodeManager.add(r,e),e.genAdds(r,t)})))}}))}var t=e.prototype;return t.init=function(e){var t=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach((function(r){t[r]=e[r]}))},t.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},t.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},t.isFrozen=function(){return this.frozen},t.lock=function(){this.locked=!0,this.canvasManager.lock()},t.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},t.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},e}();function Au(e,t){e.delete(t),Ya.childNodes(t).forEach((function(t){return Au(e,t)}))}function Ou(e,t,r){return 0!==e.size&&function(e,t){var r=Ya.parentNode(t);return!!r&&e.has(r)}(e,t)}function Ru(e,t){return 0!==e.size&&Mu(e,t)}function Mu(e,t){var r=Ya.parentNode(t);return!!r&&(!!e.has(r)||Mu(e,r))}var Tu=function(e){if(!Cu)return e;return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];try{return e.apply(void 0,[].concat(r))}catch(i){if(Cu&&!0===Cu(i))return;throw i}}},Pu=[];function Nu(e){try{if("composedPath"in e){var t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(r){}return e&&e.target}function Du(e,t){var r=new Eu;Pu.push(r),r.init(e);var n=new(Ga())(Tu(r.processMutations.bind(r)));return n.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),n}function Lu(e){var t=e.mouseInteractionCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,s=e.sampling;if(!1===s.mouseInteraction)return function(){};var a=!0===s.mouseInteraction||void 0===s.mouseInteraction?{}:s.mouseInteraction,u=[],c=null;return Object.keys(yu).filter((function(e){return Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e]}
4)).forEach((function(e){var s=V(e),a=function(e){return function(r){var s=Nu(r);if(!ou(s,i,o,!0)){var a=null,u=e;if("pointerType"in r){switch(r.pointerType){case"mouse":a=_u.Mouse;break;case"touch":a=_u.Touch;break;case"pen":a=_u.Pen}a===_u.Touch?yu[e]===yu.MouseDown?u="TouchStart":yu[e]===yu.MouseUp&&(u="TouchEnd"):_u.Pen}else uu(r)&&(a=_u.Touch);null!==a?(c=a,(u.startsWith("Touch")&&a===_u.Touch||u.startsWith("Mouse")&&a===_u.Mouse)&&(a=null)):yu[e]===yu.Click&&(a=c,c=null);var p=uu(r)?r.changedTouches[0]:r;if(p){var h=n.getId(s),f=p.clientX,d=p.clientY;Tu(t)(l({type:yu[u],id:h,x:f,y:d},null!==a&&{pointerType:a}))}}}}(e);if(window.PointerEvent)switch(yu[e]){case yu.MouseDown:case yu.MouseUp:s=s.replace("mouse","pointer");break;case yu.TouchStart:case yu.TouchEnd:return}u.push(Za(s,a,r))})),Tu((function(){u.forEach((function(e){return e()}))}))}function Fu(e){var t=e.scrollCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,s=e.sampling;return Za("scroll",Tu(Ja(Tu((function(e){var s=Nu(e);if(s&&!ou(s,i,o,!0)){var a=n.getId(s);if(s===r&&r.defaultView){var u=tu(r.defaultView);t({id:a,x:u.left,y:u.top})}else t({id:a,x:s.scrollLeft,y:s.scrollTop})}})),s.scroll||100)),r)}var Uu=["INPUT","TEXTAREA","SELECT"],Bu=new WeakMap;function ju(e){return function(e,t){if(Vu("CSSGroupingRule")&&f(e.parentRule,CSSGroupingRule)||Vu("CSSMediaRule")&&f(e.parentRule,CSSMediaRule)||Vu("CSSSupportsRule")&&f(e.parentRule,CSSSupportsRule)||Vu("CSSConditionRule")&&f(e.parentRule,CSSConditionRule)){var r=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(r)}else if(e.parentStyleSheet){var n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function qu(e,t,r){var n,i;return e?(e.ownerNode?n=t.getId(e.ownerNode):i=r.getId(e),{styleId:i,id:n}):{}}function zu(e,t){var r,n,i,o=e.mirror,s=e.stylesheetManager,a=null;a="#document"===t.nodeName?o.getId(t):o.getId(Ya.host(t));var u="#document"===t.nodeName?null==(r=t.defaultView)?void 0:r.Document:null==(i=null==(n=t.ownerDocument)?void 0:n.defaultView)?void 0:i.ShadowRoot,c=(null==u?void 0:u.prototype)?Object.getOwnPropertyDescriptor(null==u?void 0:u.prototype,"adoptedStyleSheets"):void 0;return null!==a&&-1!==a&&u&&c?(Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:function(){var e;return null==(e=c.get)?void 0:e.call(this)},set:function(e){var t,r=null==(t=c.set)?void 0:t.call(this,e);if(null!==a&&-1!==a)try{s.adoptStyleSheets(e,a)}catch(n){}return r}}),Tu((function(){Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})}))):function(){}}function Wu(e,t){void 0===t&&(t={});var r,n=e.doc.defaultView;if(!n)return function(){};!function(e,t){var r=e.mutationCb,n=e.mousemoveCb,i=e.mouseInteractionCb,o=e.scrollCb,s=e.viewportResizeCb,a=e.inputCb,u=e.mediaInteractionCb,c=e.styleSheetRuleCb,l=e.styleDeclarationCb,p=e.canvasMutationCb,h=e.fontCb,f=e.selectionCb,d=e.customElementCb;e.mutationCb=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var o;t.mutation&&(o=t).mutation.apply(o,[].concat(n)),r.apply(void 0,[].concat(n))},e.mousemoveCb=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var o;t.mousemove&&(o=t).mousemove.apply(o,[].concat(r)),n.apply(void 0,[].concat(r))},e.mouseInteractionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.mouseInteraction&&(o=t).mouseInteraction.apply(o,[].concat(r)),i.apply(void 0,[].concat(r))},e.scrollCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.scroll&&(i=t).scroll.apply(i,[].concat(r)),o.apply(void 0,[].concat(r))},e.viewportResizeCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.viewportResize&&(i=t).viewportResize.apply(i,[].concat(r)),s.apply(void 0,[].concat(r))},e.inputCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.input&&(i=t).input.apply(i,[].concat(r)),a.apply(void 0,[].concat(r))},e.mediaInteractionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.mediaInteaction&&(i=t).mediaInteaction.apply(i,[].concat(r)),u.apply(void 0,[].concat(r))},e.styleSheetRuleCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.styleSheetRule&&(i=t).styleSheetRule.apply(i,[].concat(r)),c.apply(void 0,[].concat(r))},e.styleDeclarationCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.styleDeclaration&&(i=t).styleDeclaration.apply(i,[].concat(r)),l.apply(void 0,[].concat(r))},e.canvasMutationCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.canvasMutation&&(i=t).canvasMutation.apply(i,[].concat(r)),p.apply(void 0,[].concat(r))},e.fontCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.font&&(i=t).font.apply(i,[].concat(r)),h.apply(void 0,[].concat(r))},e.selectionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.selection&&(i=t).selection.apply(i,[].concat(r)),f.apply(void 0,[].concat(r))},e.customElementCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.customElement&&(i=t).customElement.apply(i,[].concat(r)),d.apply(void 0,[].concat(r))}}(e,t),e.recordDOM&&(r=Du(e,e.doc));var i=function(e){var t=e.mousemoveCb,r=e.sampling,n=e.doc,i=e.mirror;if(!1===r.mousemove)return function(){};var o,s="number"===typeof r.mousemove?r.mousemove:50,a="number"===typeof r.mousemoveCallback?r.mousemoveCallback:500,u=[],c=Ja(Tu((function(e){var r=Date.now()-o;t(u.map((function(e){return e.timeOffset-=r,e})),e),u=[],o=null})),a),l=Tu(Ja(Tu((function(e){var t=Nu(e),r=uu(e)?e.changedTouches[0]:e,n=r.clientX,s=r.clientY;o||(o=eu()),u.push({x:n,y:s,id:i.getId(t),timeOffset:eu()-o}),c("undefined"!==typeof DragEvent&&f(e,DragEvent)?vu.Drag:f(e,MouseEvent)?vu.MouseMove:vu.TouchMove)})),s,{trailing:!1})),p=[Za("mousemove",l,n),Za("touchmove",l,n),Za("drag",l,n)];return Tu((function(){p.forEach((function(e){return e()}))}))}(e),o=Lu(e),s=Fu(e),a=function(e,t){var r=e.viewportResizeCb,n=t.win,i=-1,o=-1;return Za("resize",Tu(Ja(Tu((function(){var e=ru(),t=nu();i===e&&o===t||(r({width:Number(t),height:Number(e)}),i=e,o=t)})),200)),n)}(e,{win:n}),u=function(e){var t=e.inputCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,s=e.ignoreClass,a=e.ignoreSelector,u=e.maskInputOptions,c=e.maskInputFn,p=e.sampling,h=e.userTriggeredOnInput;function f(e){var t=Nu(e),n=e.isTrusted,l=t&&t.tagName;if(t&&"OPTION"===l&&(t=Ya.parentElement(t)),t&&l&&!(Uu.indexOf(l)<0)&&!ou(t,i,o,!0)&&!(t.classList.contains(s)||a&&t.matches(a))){var p=t.value,f=!1,m=G
4(t)||"";"radio"===m||"checkbox"===m?f=t.checked:(u[l.toLowerCase()]||u[m])&&(p=W({element:t,maskInputOptions:u,tagName:l,type:m,value:p,maskInputFn:c})),d(t,h?{text:p,isChecked:f,userTriggered:n}:{text:p,isChecked:f});var g=t.name;"radio"===m&&g&&f&&r.querySelectorAll('input[type="radio"][name="'+g+'"]').forEach((function(e){if(e!==t){var r=e.value;d(e,h?{text:r,isChecked:!f,userTriggered:!1}:{text:r,isChecked:!f})}}))}}function d(e,r){var i=Bu.get(e);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){Bu.set(e,r);var o=n.getId(e);Tu(t)(l({},r,{id:o}))}}var m=("last"===p.input?["change"]:["input","change"]).map((function(e){return Za(e,Tu(f),r)})),g=r.defaultView;if(!g)return function(){m.forEach((function(e){return e()}))};var v,y=g.Object.getOwnPropertyDescriptor(g.HTMLInputElement.prototype,"value"),_=[[g.HTMLInputElement.prototype,"value"],[g.HTMLInputElement.prototype,"checked"],[g.HTMLSelectElement.prototype,"value"],[g.HTMLTextAreaElement.prototype,"value"],[g.HTMLSelectElement.prototype,"selectedIndex"],[g.HTMLOptionElement.prototype,"selected"]];return y&&y.set&&(v=m).push.apply(v,[].concat(_.map((function(e){return Ka(e[0],e[1],{set:function(){Tu(f)({target:this,isTrusted:!1})}},!1,g)})))),Tu((function(){m.forEach((function(e){return e()}))}))}(e),c=function(e){var t=e.mediaInteractionCb,r=e.blockClass,n=e.blockSelector,i=e.mirror,o=e.sampling,s=e.doc,a=Tu((function(e){return Ja(Tu((function(o){var s=Nu(o);if(s&&!ou(s,r,n,!0)){var a=s.currentTime,u=s.volume,c=s.muted,l=s.playbackRate,p=s.loop;t({type:e,id:i.getId(s),currentTime:a,volume:u,muted:c,playbackRate:l,loop:p})}})),o.media||500)})),u=[Za("play",a(wu.Play),s),Za("pause",a(wu.Pause),s),Za("seeked",a(wu.Seeked),s),Za("volumechange",a(wu.VolumeChange),s),Za("ratechange",a(wu.RateChange),s)];return Tu((function(){u.forEach((function(e){return e()}))}))}(e),p=function(){},h=function(){},d=function(){},m=function(){};e.recordDOM&&(p=function(e,t){var r=e.styleSheetRuleCb,n=e.mirror,i=e.stylesheetManager,o=t.win;if(!o.CSSStyleSheet||!o.CSSStyleSheet.prototype)return function(){};var s=o.CSSStyleSheet.prototype.insertRule;o.CSSStyleSheet.prototype.insertRule=new Proxy(s,{apply:Tu((function(e,t,o){var s=o[0],a=o[1],u=qu(t,n,i.styleMirror),c=u.id,l=u.styleId;return(c&&-1!==c||l&&-1!==l)&&r({id:c,styleId:l,adds:[{rule:s,index:a}]}),e.apply(t,o)}))}),o.CSSStyleSheet.prototype.addRule=function(e,t,r){void 0===r&&(r=this.cssRules.length);var n=e+" { "+t+" }";return o.CSSStyleSheet.prototype.insertRule.apply(this,[n,r])};var a,u,c=o.CSSStyleSheet.prototype.deleteRule;o.CSSStyleSheet.prototype.deleteRule=new Proxy(c,{apply:Tu((function(e,t,o){var s=o[0],a=qu(t,n,i.styleMirror),u=a.id,c=a.styleId;
4return(u&&-1!==u||c&&-1!==c)&&r({id:u,styleId:c,removes:[{index:s}]}),e.apply(t,o)}))}),o.CSSStyleSheet.prototype.removeRule=function(e){return o.CSSStyleSheet.prototype.deleteRule.apply(this,[e])},o.CSSStyleSheet.prototype.replace&&(a=o.CSSStyleSheet.prototype.replace,o.CSSStyleSheet.prototype.replace=new Proxy(a,{apply:Tu((function(e,t,o){var s=o[0],a=qu(t,n,i.styleMirror),u=a.id,c=a.styleId;return(u&&-1!==u||c&&-1!==c)&&r({id:u,styleId:c,replace:s}),e.apply(t,o)}))})),o.CSSStyleSheet.prototype.replaceSync&&(u=o.CSSStyleSheet.prototype.replaceSync,o.CSSStyleSheet.prototype.replaceSync=new Proxy(u,{apply:Tu((function(e,t,o){var s=o[0],a=qu(t,n,i.styleMirror),u=a.id,c=a.styleId;return(u&&-1!==u||c&&-1!==c)&&r({id:u,styleId:c,replaceSync:s}),e.apply(t,o)}))}));var l={};$u("CSSGroupingRule")?l.CSSGroupingRule=o.CSSGroupingRule:($u("CSSMediaRule")&&(l.CSSMediaRule=o.CSSMediaRule),$u("CSSConditionRule")&&(l.CSSConditionRule=o.CSSConditionRule),$u("CSSSupportsRule")&&(l.CSSSupportsRule=o.CSSSupportsRule));var p={};return Object.entries(l).forEach((function(e){var t=e[0],o=e[1];p[t]={insertRule:o.prototype.insertRule,deleteRule:o.prototype.deleteRule},o.prototype.insertRule=new Proxy(p[t].insertRule,{apply:Tu((function(e,t,o){var s=o[0],a=o[1],u=qu(t.parentStyleSheet,n,i.styleMirror),c=u.id,l=u.styleId;return(c&&-1!==c||l&&-1!==l)&&r({id:c,styleId:l,adds:[{rule:s,index:[].concat(ju(t),[a||0])}]}),e.apply(t,o)}))}),o.prototype.deleteRule=new Proxy(p[t].deleteRule,{apply:Tu((function(e,t,o){var s=o[0],a=qu(t.parentStyleSheet,n,i.styleMirror),u=a.id,c=a.styleId;
4return(u&&-1!==u||c&&-1!==c)&&r({id:u,styleId:c,removes:[{index:[].concat(ju(t),[s])}]}),e.apply(t,o)}))})})),Tu((function(){o.CSSStyleSheet.prototype.insertRule=s,o.CSSStyleSheet.prototype.deleteRule=c,a&&(o.CSSStyleSheet.prototype.replace=a),u&&(o.CSSStyleSheet.prototype.replaceSync=u),Object.entries(l).forEach((function(e){var t=e[0],r=e[1];r.prototype.insertRule=p[t].insertRule,r.prototype.deleteRule=p[t].deleteRule}))}))}(e,{win:n}),h=zu(e,e.doc),d=function(e,t){var r=e.styleDeclarationCb,n=e.mirror,i=e.ignoreCSSAttributes,o=e.stylesheetManager,s=t.win,a=s.CSSStyleDeclaration.prototype.setProperty;s.CSSStyleDeclaration.prototype.setProperty=new Proxy(a,{apply:Tu((function(e,t,s){var u,c=s[0],l=s[1],p=s[2];if(i.has(c))return a.apply(t,[c,l,p]);var h=qu(null==(u=t.parentRule)?void 0:u.parentStyleSheet,n,o.styleMirror),f=h.id,d=h.styleId;return(f&&-1!==f||d&&-1!==d)&&r({id:f,styleId:d,set:{property:c,value:l,priority:p},index:ju(t.parentRule)}),e.apply(t,s)}))});var u=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(u,{apply:Tu((function(e,t,s){var a,c=s[0];if(i.has(c))return u.apply(t,[c]);var l=qu(null==(a=t.parentRule)?void 0:a.parentStyleSheet,n,o.styleMirror),p=l.id,h=l.styleId;return(p&&-1!==p||h&&-1!==h)&&r({id:p,styleId:h,remove:{property:c},index:ju(t.parentRule)}),e.apply(t,s)}))}),Tu((function(){s.CSSStyleDeclaration.prototype.setProperty=a,s.CSSStyleDeclaration.prototype.removeProperty=u}))}(e,{win:n}),e.collectFonts&&(m=function(e){var t=e.fontCb,r=e.doc,n=r.defaultView;if(!n)return function(){};var i=[],o=new WeakMap,s=n.FontFace;n.FontFace=function(e,t,r){var n=new s(e,t,r);return o.set(n,{family:e,buffer:"string"!==typeof t,descriptors:r,fontSource:"string"===typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};var a=Qa(r.fonts,"add",(function(e){return function(r){return setTimeout(Tu((function(){var e=o.get(r);e&&(t(e),o.delete(r))})),0),e.apply(this,[r])}}));return i.push((function(){n.FontFace=s})),i.push(a),Tu((function(){i.forEach((function(e){return e()}))}))}(e)));for(var g,v=function(e){var t=e.doc,r=e.mirror,n=e.blockClass,i=e.blockSelector,o=e.selectionCb,s=!0,a=Tu((function(){var e=t.getSelection();if(!(!e||s&&(null==e?void 0:e.isCollapsed))){s=e.isCollapsed||!1;for(var a=[],u=e.rangeCount||0,c=0;c<u;c++){var l=e.getRangeAt(c),p=l.startContainer,h=l.startOffset,f=l.endContainer,d=l.endOffset;ou(p,n,i,!0)||ou(f,n,i,!0)||a.push({start:r.getId(p),startOffset:h,end:r.getId(f),endOffset:d})}o({ranges:a})}}));return a(),Za("selectionchange",a)}(e),y=function(e){var t=e.doc,r=e.customElementCb,n=t.defaultView;return n&&n.customElements?Qa(n.customElements,"define",(function(e){return function(t,n,i){try{r({define:{name:t}})}catch(o){console.warn("Custom element callback failed for "+t)}return e.apply(this,[t,n,i])}})):function(){}}(e),b=[],w=_(e.plugins);!(g=w()).done;){var S=g.value;b.push(S.observer(S.callback,n,S.options))}return Tu((function(){Pu.forEach((function(e){return e.reset()})),null==r||r.disconnect(),i(),o(),s(),a(),u(),c(),p(),h(),d(),m(),v(),y(),b.forEach((function(e){return e()}))}))}function Vu(e){return"undefined"!==typeof window[e]}function $u(e){return Boolean("undefined"!==typeof window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}for(var Gu=function(){function e(e){C(this,"iframeIdToRemoteIdMap",new WeakMap),C(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=e}var t=e.prototype;return t.getId=function(e,t,r,n){var i=r||this.getIdToRemoteIdMap(e),o=n||this.getRemoteIdToIdMap(e),s=i.get(t);return s||(s=this.generateIdFn(),i.set(t,s),o.set(s,t)),s},t.getIds=function(e,t){var r=this,n=this.getIdToRemoteIdMap(e),i=this.getRemoteIdToIdMap(e);return t.map((function(t){return r.getId(e,t,n,i)}))},t.getRemoteId=function(e,t,r){var n=r||this.getRemoteIdToIdMap(e);if("number"!==typeof t)return t;var i=n.get(t);return i||-1},t.getRemoteIds=function(e,t){var r=this,n=this.getRemoteIdToIdMap(e);
4return t.map((function(t){return r.getRemoteId(e,t,n)}))},t.reset=function(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)},t.getIdToRemoteIdMap=function(e){var t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t},t.getRemoteIdToIdMap=function(e){var t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t},e}(),Yu=function(){function e(e){C(this,"iframes",new WeakMap),C(this,"crossOriginIframeMap",new WeakMap),C(this,"crossOriginIframeMirror",new Gu(oe)),C(this,"crossOriginIframeStyleMirror"),C(this,"crossOriginIframeRootIdMap",new WeakMap),C(this,"mirror"),C(this,"mutationCb"),C(this,"wrappedEmit"),C(this,"loadListener"),C(this,"stylesheetManager"),C(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Gu(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var t=e.prototype;return t.addIframe=function(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)},t.addLoadListener=function(e){this.loadListener=e},t.attachIframe=function(e,t){var r,n;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&(null==(r=e.contentWindow)||r.addEventListener("message",this.handleMessage.bind(this))),null==(n=this.loadListener)||n.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))},t.handleMessage=function(e){var t=e;if("rrweb"===t.data.type&&t.origin===t.data.origin&&e.source){var r=this.crossOriginIframeMap.get(e.source);if(r){var n=this.transformCrossOriginEvent(r,t.data.event);n&&this.wrappedEmit(n,t.data.isCheckout)}}},t.transformCrossOriginEvent=function(e,t){var r,n=this;switch(t.type){case gu.FullSnapshot:this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);var i=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,i),this.patchRootIdOnNode(t.data.node,i),{timestamp:t.timestamp,type:gu.IncrementalSnapshot,data:{source:vu.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case gu.Meta:case gu.Load:case gu.DomContentLoaded:return!1;case gu.Plugin:return t;case gu.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case gu.IncrementalSnapshot:switch(t.data.source){case vu.Mutation:return t.data.adds.forEach((function(t){n.replaceIds(t,e,["parentId","nextId","previousId"]),n.replaceIdOnNode(t.node,e);var r=n.crossOriginIframeRootIdMap.get(e);r&&n.patchRootIdOnNode(t.node,r)})),t.data.removes.forEach((function(t){n.replaceIds(t,e,["parentId","id"])})),t.data.attributes.forEach((function(t){n.replaceIds(t,e,["id"])})),t.data.texts.forEach((function(t){n.replaceIds(t,e,["id"])})),t;case vu.Drag:case vu.TouchMove:case vu.MouseMove:return t.data.positions.forEach((function(t){n.replaceIds(t,e,["id"])})),t;case vu.ViewportResize:return!1;case vu.MediaInteraction:case vu.MouseInteraction:case vu.Scroll:case vu.CanvasMutation:case vu.Input:return this.replaceIds(t.data,e,["id"]),t;case vu.StyleSheetRule:case vu.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case vu.Font:return t;case vu.Selection:return t.data.ranges.forEach((function(t){n.replaceIds(t,e,["start","end"])})),t;case vu.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null==(r=t.data.styles)||r.forEach((function(t){n.replaceStyleIds(t,e,["styleId"])})),t}}return!1},t.replace=function(e,t,r,n){for(var i,o=_(n);!(i=o()).done;){var s=i.value;(Array.isArray(t[s])||"number"===typeof t[s])&&(Array.isArray(t[s])?t[s]=e.getIds(r,t[s]):t[s]=e.getId(r,t[s]))}return t},t.replaceIds=function(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)},t.replaceStyleIds=function(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)},t.replaceIdOnNode=function(e,t){var r=this;this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEac
4h((function(e){r.replaceIdOnNode(e,t)}))},t.patchRootIdOnNode=function(e,t){var r=this;e.type===Su.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach((function(e){r.patchRootIdOnNode(e,t)}))},e}(),Zu=function(){function e(e){C(this,"shadowDoms",new WeakSet),C(this,"mutationCb"),C(this,"scrollCb"),C(this,"bypassOptions"),C(this,"mirror"),C(this,"restoreHandlers",[]),this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}var t=e.prototype;return t.init=function(){this.reset(),this.patchAttachShadow(Element,document)},t.addShadowRoot=function(e,t){var r=this;if(B(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var n=Du(l({},this.bypassOptions,{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push((function(){return n.disconnect()})),this.restoreHandlers.push(Fu(l({},this.bypassOptions,{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))),setTimeout((function(){e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&r.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,r.mirror.getId(Ya.host(e))),r.restoreHandlers.push(zu({mirror:r.mirror,stylesheetManager:r.bypassOptions.stylesheetManager},e))}),0)}},t.observeAttachShadow=function(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)},t.patchAttachShadow=function(e,t){var r=this;this.restoreHandlers.push(Qa(e.prototype,"attachShadow",(function(e){return function(n){var i=e.call(this,n),o=Ya.shadowRoot(this);return o&&mu(this)&&r.addShadowRoot(o,t),i}})))},t.reset=function(){this.restoreHandlers.forEach((function(e){try{e()}catch(t){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet},e}(),Hu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Xu="undefined"===typeof Uint8Array?[]:new Uint8Array(256),Ju=0;Ju<64;Ju++)Xu[Hu.charCodeAt(Ju)]=Ju;var Ku=new Map;var Qu=function(e,t,r){if(e&&(rc(e,t)||"object"===("undefined"===typeof e?"undefined":g(e)))){var n=function(e,t){var r=Ku.get(e);return r||(r=new Map,Ku.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}(r,e.constructor.name),i=n.indexOf(e);return-1===i&&(i=n.length,n.push(e)),i}};function ec(e,t,r){if(f(e,Array))return e.map((function(e){return ec(e,t,r)}));if(null===e)return e;if(f(e,Float32Array)||f(e,Float64Array)||f(e,Int32Array)||f(e,Uint32Array)||f(e,Uint8Array)||f(e,Uint16Array)||f(e,Int16Array)||f(e,Int8Array)||f(e,Uint8ClampedArray))return{rr_type:e.constructor.name,args:[Object.values(e)]};if(f(e,ArrayBuffer))return{rr_type:e.constructor.name,base64:function(e){var t,r=new Uint8Array(e),n=r.length,i="";for(t=0;t<n;t+=3)i+=Hu[r[t]>>2],i+=Hu[(3&r[t])<<4|r[t+1]>>4],i+=Hu[(15&r[t+1])<<2|r[t+2]>>6],i+=Hu[63&r[t+2]];return n%3===2?i=i.substring(0,i.length-1)+"=":n%3===1&&(i=i.substring(0,i.length-2)+"=="),i}(e)};if(f(e,DataView))return{rr_type:e.constructor.name,args:[ec(e.buffer,t,r),e.byteOffset,e.byteLength]};if(f(e,HTMLImageElement))return{rr_type:e.constructor.name,src:e.src};if(f(e,HTMLCanvasElement)){return{rr_type:"HTMLImageElement",src:e.toDataURL()}}return f(e,ImageData)?{rr_type:e.constructor.name,args:[ec(e.data,t,r),e.width,e.height]}:rc(e,t)||"object"===("undefined"===typeof e?"undefined":g(e))?{rr_type:e.constructor.name,index:Qu(e,t,r)}:e}var tc=function(e,t,r){return e.map((function(e){return ec(e,t,r)}))},rc=function(e,t){var r=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((function(e){return"function"===typeof t[e]}));return Boolean(r.find((function(r){return f(e,t[r])})))};function nc(e,t,r,n){var i=[];try{var o=Qa(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(i){for(var o=arguments.length,s=new Array(o>1?o-1:0),a=1;a<o;a++)s[a-1]=arguments[a];if(!ou(this,t,r,!0)){var u=function(e){return"experimental-webgl"===e?"webgl":e}(i);if("__context"in this||(this.__context=u),n&&["webgl","webgl2"].includes(u))if(s[0]&&"object"===g(s[0])){var c=s[0];c.preserveDrawingBuffer||(c.preserveDrawingBuffer=!0)}else s.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[].concat([i],s))}}));i.push(o)}catch(s){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}
4return function(){i.forEach((function(e){return e()}))}}function ic(e,t,r,n,i,o){for(var s,a=function(){var a=s.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(a))return"continue";try{if("function"!==typeof e[a])return"continue";var c=Qa(e,a,(function(e){return function(){for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];var l=e.apply(this,u);if(Qu(l,o,this),"tagName"in this.canvas&&!ou(this.canvas,n,i,!0)){var p=tc(u,o,this),h={type:t,property:a,args:p};r(this.canvas,h)}return l}}));u.push(c)}catch(p){var l=Ka(e,a,{set:function(e){r(this.canvas,{type:t,property:a,args:[e],setter:!0})}});u.push(l)}},u=[],c=_(Object.getOwnPropertyNames(e));!(s=c()).done;)a();return u}var oc,sc="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3B
4hcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",ac="undefined"!==typeof window&&window.Blob&&new Blob([(oc=sc,Uint8Array.from(atob(oc),(function(e){return e.charCodeAt(0)})))],{type:"text/javascript;charset=utf-8"});function uc(e){var t;try{if(!(t=ac&&(window.URL||window.webkitURL).createObjectURL(ac)))throw"";var r=new Worker(t,{name:null==e?void 0:e.name});return r.addEventListener("error",(function(){(window.URL||window.webkitURL).revokeObjectURL(t)})),r}catch(n){return new Worker("data:text/javascript;base64,"+sc,{name:null==e?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}var cc,lc,pc,hc=function(){function e(e){var t=this;C(this,"pendingCanvasMutations",new Map),C(this,"rafStamps",{latestId:0,invokeId:null}),C(this,"mirror"),C(this,"mutationCb"),C(this,"resetObservers"),C(this,"frozen",!1),C(this,"locked",!1),C(this,"processMutation",(function(e,r){!(t.rafStamps.invokeId&&t.rafStamps.latestId!==t.rafStamps.invokeId)&&t.rafStamps.invokeId||(t.rafStamps.invokeId=t.rafStamps.latestId),t.pendingCanvasMutations.has(e)||t.pendingCanvasMutations.set(e,[]),t.pendingCanvasMutations.get(e).push(r)}));var r=e.sampling,n=void 0===r?"all":r,i=e.win,o=e.blockClass,s=e.blockSelector,a=e.recordCanvas,u=e.dataURLOptions;this.mutationCb=e.mutationCb,this.mirror=e.mirror,a&&"all"===n&&this.initCanvasMutationObserver(i,o,s),a&&"number"===typeof n&&this.initCanvasFPSObserver(n,i,o,s,{dataURLOptions:u})}var t=e.prototype;return t.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},t.freeze=function(){this.frozen=!0},t.unfreeze=function(){this.frozen=!1},t.lock=function(){this.locked=!0},t.unlock=function(){this.locked=!1},t.initCanvasFPSObserver=function(e,t,r,n,i){var o=this,s=nc(t,r,n,!0),u=new Map,c=new uc;c.onmessage=function(e){var t=e.data.id;if(u.set(t,!1),"base64"in e.data){var r=e.data,n=r.base64,i=r.type,s=r.width,a=r.height;o.mutationCb({id:t,type:bu["2D"],commands:[{property:"clearRect",args:[0,0,s,a]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:i}]},0,0]}]})}};var l,p=1e3/e,h=0,f=function(e){if(h&&e-h<p)l=requestAnimationFrame(f);else{h=e;var s=o;(function(){var e=[];return t.document.querySelectorAll("canvas").forEach((function(t){ou(t,r,n,!0)||e.push(t)})),e}
4)().forEach(a((function(e){var t,r,n,o;return b(this,(function(a){switch(a.label){case 0:return r=s.mirror.getId(e),u.get(r)?[2]:0===e.width||0===e.height?[2]:(u.set(r,!0),["webgl","webgl2"].includes(e.__context)&&(n=e.getContext(e.__context),!1===(null==(t=null==n?void 0:n.getContextAttributes())?void 0:t.preserveDrawingBuffer)&&n.clear(n.COLOR_BUFFER_BIT)),[4,createImageBitmap(e)]);case 1:return o=a.sent(),c.postMessage({id:r,bitmap:o,width:e.width,height:e.height,dataURLOptions:i.dataURLOptions},[o]),[2]}}))}))),l=requestAnimationFrame(f)}};l=requestAnimationFrame(f),this.resetObservers=function(){s(),cancelAnimationFrame(l)}},t.initCanvasMutationObserver=function(e,t,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var n=nc(e,t,r,!1),i=function(e,t,r,n){for(var i,o=function(){var o=i.value;try{if("function"!==typeof t.CanvasRenderingContext2D.prototype[o])return"continue";var a=Qa(t.CanvasRenderingContext2D.prototype,o,(function(i){return function(){for(var s=this,a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];return ou(this.canvas,r,n,!0)||setTimeout((function(){var r=tc(u,t,s);e(s.canvas,{type:bu["2D"],property:o,args:r})}),0),i.apply(this,u)}}));s.push(a)}catch(c){var u=Ka(t.CanvasRenderingContext2D.prototype,o,{set:function(t){e(this.canvas,{type:bu["2D"],property:o,args:[t],setter:!0})}});s.push(u)}},s=[],a=_(Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype));!(i=a()).done;)o();return function(){s.forEach((function(e){return e()}))}}(this.processMutation.bind(this),e,t,r),o=function(e,t,r,n){var i,o,s=[];return(i=s).push.apply(i,[].concat(ic(t.WebGLRenderingContext.prototype,bu.WebGL,e,r,n,t))),"undefined"!==typeof t.WebGL2RenderingContext&&(o=s).push.apply(o,[].concat(ic(t.WebGL2RenderingContext.prototype,bu.WebGL2,e,r,n,t))),function(){s.forEach((function(e){return e()}))}}(this.processMutation.bind(this),e,t,r);this.resetObservers=function(){n(),i(),o()}},t.startPendingCanvasMutationFlusher=function(){var e=this;requestAnimationFrame((function(){return e.flushPendingCanvasMutations()}))},t.startRAFTimestamping=function(){var e=this,t=function(r){e.rafStamps.latestId=r,requestAnimationFrame(t)};requestAnimationFrame(t)},t.flushPendingCanvasMutations=function(){var e=this;this.pendingCanvasMutations.forEach((function(t,r){var n=e.mirror.getId(r);e.flushPendingCanvasMutationFor(r,n)})),requestAnimationFrame((function(){return e.flushPendingCanvasMutations()}))},t.flushPendingCanvasMutationFor=function(e,t){if(!this.frozen&&!this.locked){var r=this.pendingCanvasMutations.get(e);if(r&&-1!==t){var n=r.map((function(e){return e.type,d(e,["type"])})),i=r[0].type;this.mutationCb({id:t,type:i,commands:n}),this.pendingCanvasMutations.delete(e)}}},e}(),fc=function(){function e(e){C(this,"trackedLinkElements",new WeakSet),C(this,"mutationCb"),C(this,"adoptedStyleSheetCb"),C(this,"styleMirror",new hu),this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}var t=e.prototype;return t.attachLinkElement=function(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)},t.trackLinkElement=function(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))},t.adoptStyleSheets=function(e,t){var r,n=function(){var e=i.value,t=void 0;r.styleMirror.has(e)?t=r.styleMirror.getId(e):(t=r.styleMirror.add(e),s.push({styleId:t,rules:Array.from(e.rules||CSSRule,(function(t,r){return{rule:q(t,e.href),index:r}}))})),o.styleIds.push(t)};if(0!==e.length){for(var i,o={id:t,styleIds:[]},s=[],a=_(e);!(i=a()).done;)r=this,n();s.length>0&&(o.styles=s),this.adoptedStyleSheetCb(o)}},t.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},t.trackStylesheetInLinkElement=function(e){},e}(),dc=function(){function e(){C(this,"nodeMap",new WeakMap),C(this,"active",!1)}var t=e.prototype;return t.inOtherBuffer=function(e,t){var r=this.nodeMap.get(e);return r&&Array.from(r).some((function(e){return e!==t}))},t.add=function(e,t){var r=this;this.active||(this.active=!0,requestAnimationFrame((function(){r.nodeMap=new WeakMap,r.active=!1}))),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))},t.destroy=function(){},e}(),mc=!1;try{if(2!==Array.from([1],(function(e){return 2*e}))[0]){var gc=document.createElement("iframe");document.body.appendChild(gc),Array.from=(null==(S=gc.contentWindow)?void 0:S.Array.from)||Array.from,document.body.removeChild(gc)}}catch(Qh){console.debug("Unable to override Array.from",Qh)}var vc,yc,_c=new z;function bc(e){void 0===e&&(e={});var t=e.emit,r=e.checkoutEveryNms,n=e.checkoutEveryNth,i=e.blockClass,o=void 0===i?"rr-block":i,s=e.blockSelector,a=void 0===s?null:s,u=e.ignoreClass,c=void 0===u?"rr-ignore":u,p=e.ignoreSelector,h=void 0===p?null:p,f=e.maskTextClass,d=void 0===f?"rr-mask":f,m=e.maskTextSelector,g=void 0===m?null:m,v=e.inlineStylesheet,y=void 0===v||v,b=e.maskAllInputs,w=e.maskInputOptions,S=e.slimDOMOptions,k=e.maskInputFn,C=e.maskTextFn,I=e.hooks,x=e.packFn,E=e.sampling,A=void 0===E?{}:E,O=e.dataURLOptions,R=void 0===O?{}:O,M=e.mousemoveWait,T=e.recordDOM,P=void 0===T||T,N=e.recordCanvas,D=void 0!==N&&N,L=e.recordCrossOriginIframes,F=void 0!==L&&L,U=e.recordAfter,B=void 0===U?"DOMContentLoaded"===e.recordAfter?e.recordAfter:"load":U,j=e.userTriggeredOnInput,q=void 0!==j&&j,W=e.collectFonts,V=void 0!==W&&W,$=e.inlineImages,G=void 0!==$&&$,Y=e.plugins,Z=e.keepIframeSrcFn,H=void 0===Z?function(){return!1}:Z,X=e.ignoreCSSAttributes,J=void 0===X?new Set([]):X,K=e.errorHandler;Cu=K;var Q=!F||window.parent===window,ee=!1;if(!Q)try{window.parent.document&&(ee=!1)}catch(be){ee=!0}if(Q&&!t)throw new Error("emit function is required");if(!Q&&!ee)return function(){};void 0!==M&&void 0===A.mousemove&&(A.mousemove=M),_c.reset();var te,re=!0===b?{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}:void 0!==w?w:{password:!0},ne=!0===S||"all"===S?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===S,headMetaDescKeywords:"all"===S,headTitleMutations:"all"===S}:S||{};!function(e){void 0===e&&(e=window),"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}();var ie=0,oe=function(e){for(var t,r=_(Y||[]);!(t=r()).done;){var n=t.value;n.eventProcessor&&(e=n.eventProcessor(e))}return x&&!ee&&(e=x(e)),e};cc=function(e,i){var o,s=e;if(s.timestamp=eu(),!(null==(o=Pu[0])?void 0:o.isFrozen())||s.type===gu.FullSnapshot||s.type===gu.IncrementalSnapshot&&s.data.source===vu.Mutation||Pu.forEach((function(e){return e.unfreeze()}
4)),Q)null==t||t(oe(s),i);else if(ee){var a={type:"rrweb",event:oe(s),origin:window.location.origin,isCheckout:i};window.parent.postMessage(a,"*")}if(s.type===gu.FullSnapshot)te=s,ie=0;else if(s.type===gu.IncrementalSnapshot){if(s.data.source===vu.Mutation&&s.data.isAttachIframe)return;ie++;var u=n&&ie>=n,c=r&&s.timestamp-te.timestamp>r;(u||c)&&lc(!0)}};for(var se,ae=function(e){cc({type:gu.IncrementalSnapshot,data:l({source:vu.Mutation},e)})},ue=function(e){return cc({type:gu.IncrementalSnapshot,data:l({source:vu.Scroll},e)})},ce=function(e){return cc({type:gu.IncrementalSnapshot,data:l({source:vu.CanvasMutation},e)})},le=new fc({mutationCb:ae,adoptedStyleSheetCb:function(e){return cc({type:gu.IncrementalSnapshot,data:l({source:vu.AdoptedStyleSheet},e)})}}),pe=new Yu({mirror:_c,mutationCb:ae,stylesheetManager:le,recordCrossOriginIframes:F,wrappedEmit:cc}),he=_(Y||[]);!(se=he()).done;){var fe=se.value;fe.getMirror&&fe.getMirror({nodeMirror:_c,crossOriginIframeMirror:pe.crossOriginIframeMirror,crossOriginIframeStyleMirror:pe.crossOriginIframeStyleMirror})}var de=new dc;pc=new hc({recordCanvas:D,mutationCb:ce,win:window,blockClass:o,blockSelector:a,mirror:_c,sampling:A.canvas,dataURLOptions:R});var me=new Zu({mutationCb:ae,scrollCb:ue,bypassOptions:{blockClass:o,blockSelector:a,maskTextClass:d,maskTextSelector:g,inlineStylesheet:y,maskInputOptions:re,dataURLOptions:R,maskTextFn:C,maskInputFn:k,recordCanvas:D,inlineImages:G,sampling:A,slimDOMOptions:ne,iframeManager:pe,stylesheetManager:le,canvasManager:pc,keepIframeSrcFn:H,processedNodeManager:de},mirror:_c});lc=function(e){if(void 0===e&&(e=!1),P){cc({type:gu.Meta,data:{href:window.location.href,width:nu(),height:ru()}},e),le.reset(),me.init(),Pu.forEach((function(e){return e.lock()}));var t=function(e,t){var r=t||{},n=r.mirror,i=void 0===n?new z:n,o=r.blockClass,s=void 0===o?"rr-block":o,a=r.blockSelector,u=void 0===a?null:a,c=r.maskTextClass,l=void 0===c?"rr-mask":c,p=r.maskTextSelector,h=void 0===p?null:p,f=r.inlineStylesheet,d=void 0===f||f,m=r.inlineImages,g=void 0!==m&&m,v=r.recordCanvas,y=void 0!==v&&v,_=r.maskAllInputs,b=void 0!==_&&_,w=r.maskTextFn,S=r.maskInputFn,k=r.slimDOM,C=void 0!==k&&k,I=r.dataURLOptions,x=r.preserveWhiteSpace,E=r.onSerialize,A=r.onIframeLoad,O=r.iframeLoadTimeout,R=r.onStylesheetLoad,M=r.stylesheetLoadTimeout,T=r.keepIframeSrcFn;return ye(e,{doc:e,mirror:i,blockClass:s,blockSelector:u,maskTextClass:l,maskTextSelector:h,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===b?{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}:!1===b?{password:!0}:b,maskTextFn:w,maskInputFn:S,slimDOMOptions:!0===C||"all"===C?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===C,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===C?{}:C,dataURLOptions:I,inlineImages:g,recordCanvas:y,preserveWhiteSpace:x,onSerialize:E,onIframeLoad:A,iframeLoadTimeout:O,onStylesheetLoad:R,stylesheetLoadTimeout:M,keepIframeSrcFn:void 0===T?function(){return!1}:T,newlyAddedElement:!1})}(document,{mirror:_c,blockClass:o,blockSelector:a,maskTextClass:d,maskTextSelector:g,inlineStylesheet:y,maskAllInputs:re,maskTextFn:C,maskInputFn:k,slimDOM:ne,dataURLOptions:R,recordCanvas:D,inlineImages:G,onSerialize:function(e){cu(e,_c)&&pe.addIframe(e),lu(e,_c)&&le.trackLinkElement(e),pu(e)&&me.addShadowRoot(Ya.shadowRoot(e),document)},onIframeLoad:function(e,t){pe.attachIframe(e,t),me.observeAttachShadow(e)},onStylesheetLoad:function(e,t){le.attachLinkElement(e,t)},keepIframeSrcFn:H});if(!t)return console.warn("Failed to snapshot the document");cc({type:gu.FullSnapshot,data:{node:t,initialOffset:tu(window)}},e),Pu.forEach((function(e){return e.unlock()})),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&le.adoptStyleSheets(document.adoptedStyleSheets,_c.getId(document))}};try{var ge=[],ve=function(e){var t;return Tu(Wu)({mutationCb:ae,mousemoveCb:function(e,t){return cc({type:gu.IncrementalSnapshot,data:{source:t,positions:e}})},mouseInteractionCb:function(e){return cc({type:gu.IncrementalSnapshot,data:l({source:vu.MouseInteraction},e)})},scrollCb:ue,viewportResizeCb:function(e){return cc({type:gu.IncrementalSnapshot,data:l({source:vu.Vie
4wportResize},e)})},inputCb:function(e){return cc({type:gu.IncrementalSnapshot,data:l({source:vu.Input},e)})},mediaInteractionCb:function(e){return cc({type:gu.IncrementalSnapshot,data:l({source:vu.MediaInteraction},e)})},styleSheetRuleCb:function(e){return cc({type:gu.IncrementalSnapshot,data:l({source:vu.StyleSheetRule},e)})},styleDeclarationCb:function(e){return cc({type:gu.IncrementalSnapshot,data:l({source:vu.StyleDeclaration},e)})},canvasMutationCb:ce,fontCb:function(e){return cc({type:gu.IncrementalSnapshot,data:l({source:vu.Font},e)})},selectionCb:function(e){cc({type:gu.IncrementalSnapshot,data:l({source:vu.Selection},e)})},customElementCb:function(e){cc({type:gu.IncrementalSnapshot,data:l({source:vu.CustomElement},e)})},blockClass:o,ignoreClass:c,ignoreSelector:h,maskTextClass:d,maskTextSelector:g,maskInputOptions:re,inlineStylesheet:y,sampling:A,recordDOM:P,recordCanvas:D,inlineImages:G,userTriggeredOnInput:q,collectFonts:V,doc:e,maskInputFn:k,maskTextFn:C,keepIframeSrcFn:H,blockSelector:a,slimDOMOptions:ne,dataURLOptions:R,mirror:_c,iframeManager:pe,stylesheetManager:le,shadowDomManager:me,processedNodeManager:de,canvasManager:pc,ignoreCSSAttributes:J,plugins:(null==(t=null==Y?void 0:Y.filter((function(e){return e.observer})))?void 0:t.map((function(e){return{observer:e.observer,options:e.options,callback:function(t){return cc({type:gu.Plugin,data:{plugin:e.name,payload:t}})}}})))||[]},I)};pe.addLoadListener((function(e){try{ge.push(ve(e.contentDocument))}catch(t){console.warn(t)}}));var _e=function(){lc(),ge.push(ve(document)),mc=!0};return"interactive"===document.readyState||"complete"===document.readyState?_e():(ge.push(Za("DOMContentLoaded",(function(){cc({type:gu.DomContentLoaded,data:{}}),"DOMContentLoaded"===B&&_e()}))),ge.push(Za("load",(function(){cc({type:gu.Load,data:{}}),"load"===B&&_e()}),window))),function(){ge.forEach((function(e){return e()})),de.destroy(),mc=!1,Cu=void 0}}catch(we){console.warn(we)}}bc.addCustomEvent=function(e,t){if(!mc)throw new Error("please add custom event after start recording");cc({type:gu.Custom,data:{tag:e,payload:t}})},bc.freezePage=function(){Pu.forEach((function(e){return e.freeze()}))},bc.takeFullSnapshot=function(e){if(!mc)throw new Error("please take full snapshot after start recording");lc(e)},bc.mirror=_c,(yc=vc||(vc={}))[yc.NotStarted=0]="NotStarted",yc[yc.Running=1]="Running",yc[yc.Stopped=2]="Stopped",bc.addCustomEvent,bc.freezePage,bc.takeFullSnapshot;var wc,Sc,kc,Cc=n.setImmediate,Ic=Object.prototype.toString,xc="undefined"!==typeof Cc?function(e){return Cc(e)}:setTimeout;try{Object.defineProperty({},"x",{}),wc=function(e,t,r,n){return Object.defineProperty(e,t,{value:r,writable:!0,configurable:!1!==n})}}catch(Qh){wc=function(e,t,r){return e[t]=r,e}}function Ec(e,t){kc.add(e,t),Sc||(Sc=xc(kc.drain))}function Ac(e){var t,r=typeof e;return null===e||"object"!==r&&"function"!==r||(t=e.then),"function"===typeof t&&t}function Oc(){for(var e=0;e<this.chain.length;e++)Rc(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function Rc(e,t,r){var n,i;try{!1===t?r.reject(e.msg):(n=!0===t?e.msg:t.call(void 0,e.msg))===r.promise?r.reject(TypeError("Promise-chain cycle")):(i=Ac(n))?i.call(n,r.resolve,r.reject):r.resolve(n)}catch(Qh){r.reject(Qh)}}function Mc(e){var t,r=this;if(!r.triggered){r.triggered=!0,r.def&&(r=r.def);try{(t=Ac(e))?Ec((function(){var n=new Nc(r);try{t.call(e,(function(){Mc.apply(n,arguments)}),(function(){Tc.apply(n,arguments)}))}catch(Qh){Tc.call(n,Qh)}})):(r.msg=e,r.state=1,r.chain.length>0&&Ec(Oc,r))}catch(Qh){Tc.call(new Nc(r),Qh)}}}function Tc(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&Ec(Oc,t))}function Pc(e,t,r,n){for(var i=0;i<t.length;i++)!function(i){e.resolve(t[i]).then((function(e){r(i,e)}),n)}(i)}function Nc(e){this.def=e,this.triggered=!1}function Dc(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function Lc(e){if("function"!==typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new Dc(this);this.then=function(e,r){var n={success:"function"!==typeof e||e,failure:"function"===typeof r&&r};return n.promise=new this.constructor((function(e,t){if("function"!==typeof e||"function"!==typeof t)throw TypeError("Not a function");n.resolve=e,n.reject=t})),t.chain.push(n),0!==t.state&&Ec(Oc,t),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,(function(e){Mc.call(t,e)}),(function(e){Tc.call(t,e)}))}catch(Qh){Tc.call(t,Qh)}}kc=function(){var e,t,r;function n(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(i,o){r=new n(i,o),t?t.next=r:e=r,t=r,r=void 0},drain:function(){var r=e;for(e=t=Sc=void 0;r;)r.fn.call(r.self),r=r.next}}}();var Fc,Uc=wc({},"constructor",Lc,!1);Lc.prototype=Uc,wc(Uc,"__NPO__",0,!1),wc(Lc,"resolve",(function(e){return e&&"object"===typeof e&&1===e.__NPO__?e:new this((function(t,r){if("function"!==typeof t||"function"!==typeof r)throw TypeError("Not a function");t(e)}))})),wc(Lc,"reject",(function(e){return new this((function(t,r){if("function"!==typeof t||"function"!==typeof r)throw TypeError("Not a function");r(e)}))})),wc(Lc,"all",(function(e){var t=this;return"[object Array]"!==Ic.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t((function(r,n){if("function"!==typeof r||"function"!==typeof n)throw TypeError("Not a function");var i=e.length,o=Array(i),s=0;Pc(t,e,(function(e,t){o[e]=t,++s===i&&r(o)}),n)}))})),wc(Lc,"race",(function(e){var t=this;return"[object Array]"!==Ic.call(e)?t.reject(TypeError("Not an array")):new t((function(r,n){if("function"!==typeof r||"function"!==typeof n)throw TypeError("Not a function");Pc(t,e,(function(e,t){r(t)}),n)}))})),Fc="undefined"!==typeof Promise&&-1!==Promise.toString().indexOf("[native code]")?Promise:Lc;var Bc={DEBUG:!1,LIB_VERSION:"2.64.0"},jc=864e5,qc=8e3,zc=Array.prototype,Wc=Function.prototype,Vc=Object.prototype,$c=zc.slice,Gc=Vc.toString,Yc=Vc.hasOwnProperty,Zc=n.console,Hc=n.navigator,Xc=n.document,Jc=n.opera,Kc=n.screen,Qc=Hc.userAgent,el=Wc.bind,tl=zc.forEac
vendor: 10,096 bytes, line 4
4h,rl=zc.indexOf,nl=zc.map,il=Array.isArray,ol={},sl={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},al={log:function(){if(Bc.DEBUG&&!sl.isUndefined(Zc)&&Zc)try{Zc.log.apply(Zc,arguments)}catch(Qh){sl.each(arguments,(function(e){Zc.log(e)}))}},warn:function(){if(Bc.DEBUG&&!sl.isUndefined(Zc)&&Zc){var e=["Mixpanel warning:"].concat(sl.toArray(arguments));try{Zc.warn.apply(Zc,e)}catch(Qh){sl.each(e,(function(e){Zc.warn(e)}))}}},error:function(){if(Bc.DEBUG&&!sl.isUndefined(Zc)&&Zc){var e=["Mixpanel error:"].concat(sl.toArray(arguments));try{Zc.error.apply(Zc,e)}catch(Qh){sl.each(e,(function(e){Zc.error(e)}))}}},critical:function(){if(!sl.isUndefined(Zc)&&Zc){var e=["Mixpanel error:"].concat(sl.toArray(arguments));try{Zc.error.apply(Zc,e)}catch(Qh){sl.each(e,(function(e){Zc.error(e)}))}}}},ul=function(e,t){return function(){return arguments[0]="["+t+"] "+arguments[0],e.apply(al,arguments)}},cl=function(e){return{log:ul(al.log,e),error:ul(al.error,e),critical:ul(al.critical,e)}},ll=function(e){return function(){try{return e.apply(this,arguments)}catch(t){al.critical("Implementation error. Please turn on debug and contact [email protected]."),Bc.DEBUG&&al.critical(t)}}},pl=function(e){var t=e.prototype;for(var r in t)"function"===typeof t[r]&&(t[r]=ll(t[r]))};sl.bind=function(e,t){var r,n;if(el&&e.bind===el)return el.apply(e,$c.call(arguments,1));if(!sl.isFunction(e))throw new TypeError;return r=$c.call(arguments,2),n=function(){if(!(this instanceof n))return e.apply(t,r.concat($c.call(arguments)));var i={};i.prototype=e.prototype;var o=new i;i.prototype=null;var s=e.apply(o,r.concat($c.call(arguments)));return Object(s)===s?s:o},n},sl.each=function(e,t,r){if(null!==e&&void 0!==e)if(tl&&e.forEach===tl)e.forEach(t,r);else if(e.length===+e.length){for(var n=0,i=e.length;n<i;n++)if(n in e&&t.call(r,e[n],n,e)===ol)return}else for(var o in e)if(Yc.call(e,o)&&t.call(r,e[o],o,e)===ol)return},sl.extend=function(e){return sl.each($c.call(arguments,1),(function(t){for(var r in t)void 0!==t[r]&&(e[r]=t[r])})),e},sl.isArray=il||function(e){return"[object Array]"===Gc.call(e)},sl.isFunction=function(e){try{return/^\s*\bfunction\b/.test(e)}catch(oi){return!1}},sl.isArguments=function(e){return!(!e||!Yc.call(e,"callee"))},sl.toArray=function(e){return e?e.toArray?e.toArray():sl.isArray(e)||sl.isArguments(e)?$c.call(e):sl.values(e):[]},sl.map=function(e,t,r){if(nl&&e.map===nl)return e.map(t,r);var n=[];return sl.each(e,(function(e){n.push(t.call(r,e))})),n},sl.keys=function(e){var t=[];return null===e||sl.each(e,(function(e,r){t[t.length]=r})),t},sl.values=function(e){var t=[];return null===e||sl.each(e,(function(e){t[t.length]=e})),t},sl.include=function(e,t){var r=!1;return null===e?r:rl&&e.indexOf===rl?-1!=e.indexOf(t):(sl.each(e,(function(e){if(r||(r=e===t))return ol})),r)},sl.includes=function(e,t){return-1!==e.indexOf(t)},sl.inherit=function(e,t){return e.prototype=new t,e.prototype.constructor=e,e.superclass=t.prototype,e},sl.isObject=function(e){return e===Object(e)&&!sl.isArray(e)},sl.isEmptyObject=function(e){if(sl.isObject(e)){for(var t in e)if(Yc.call(e,t))return!1;return!0}return!1},sl.isUndefined=function(e){return void 0===e},sl.isString=function(e){return"[object String]"==Gc.call(e)},sl.isDate=function(e){return"[object Date]"==Gc.call(e)},sl.isNumber=function(e){return"[object Number]"==Gc.call(e)},sl.isElement=function(e){return!(!e||1!==e.nodeType)},sl.encodeDates=function(e){return sl.each(e,(function(t,r){sl.isDate(t)?e[r]=sl.formatDate(t):sl.isObject(t)&&(e[r]=sl.encodeDates(t))})),e},sl.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},sl.formatDate=function(e){function t(e){return e<10?"0"+e:e}return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())},sl.strip_empty_properties=function(e){var t={};return sl.each(e,(function(e,r){sl.isString(e)&&e.length>0&&(t[r]=e)})),t},sl.truncate=function(e,t){var r;return"string"===typeof e?r=e.slice(0,t):sl.isArray(e)?(r=[],sl.each(e,(function(e){r.push(sl.truncate(e,t))}))):sl.isObject(e)?(r={},sl.each(e,(function(e,n){r[n]=sl.truncate(e,t)}))):r=e,r},sl.JSONEncode=function(e){var t=function(e){var t=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return t.lastIndex=0,t.test(e)?'"'+e.replace(t,(function(e){var t=r[e];return"string"===typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'},r=function(e,n){var i="",o=0,s="",a="",u=0,c=i,l=[],p=n[e];switch(p&&"object"===typeof p&&"function"===typeof p.toJSON&&(p=p.toJSON(e)),typeof p){case"string":return t(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"null":return String(p);case"object":if(!p)return"null";if(i+="    ",l=[],"[object Array]"===Gc.apply(p)){for(u=p.length,o=0;o<u;o+=1)l[o]=r(o,p)||"null";return a=0===l.length?"[]":i?"[\n"+i+l.join(",\n"+i)+"\n"+c+"]":"["+l.join(",")+"]",i=c,a}for(s in p)Yc.call(p,s)&&(a=r(s,p))&&l.push(t(s)+(i?": ":":")+a);return a=0===l.length?"{}":i?"{"+l.join(",")+c+"}":"{"+l.join(",")+"}",i=c,a}};return r("",{"":e})},sl.JSONDecode=function(){var e,t,r,n,i={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},o=function(t){var n=new SyntaxError(t);throw n.at=e,n.text=r,n},s=function(n){return n&&n!==t&&o("Expected '"+n+"' instead of '"+t+"'"),t=r.charAt(e),e+=1,t},a=function(){var e,r="";for("-"===t&&(r="-",s("-"));t>="0"&&t<="9";)r+=t,s();if("."===t)for(r+=".";s()&&t>="0"&&t<="9";)r+=t;if("e"===t||"E"===t)for(r+=t,s(),"-"!==t&&"+"!==t||(r+=t,s());t>="0"&&t<="9";)r+=t,s();if(e=+r,isFinite(e))return e;o("Bad number")},u=function(){var e,r,n,a="";if('"'===t)for(;s();){if('"'===t)return s(),a;if("\\"===t)if(s(),"u"===t){for(n=0,r=0;r<4&&(e=parseInt(s(),16),isFinite(e));r+=1)n=16*n+e;a+=String.fromCharCode(n)}else{if("string"!==typeof i[t])break;a+=i[t]}else a+=t}o("Bad string")},c=function(){for(;t&&t<=" ";)s()};return n=function(){switch(c(),t){case"{":return function(){var e,r={};if("{"===t){if(s("{"),c(),"}"===t)return s("}"),r;for(;t;){if(e=u(),c(),s(":"),Object.hasOwnProperty.call(r,e)&&o('Duplicate key "'+e+'"'),r[e]=n(),c(),"}"===t)return s("}"),r;s(","),c()}}o("Bad object")}();case"[":return function(){var e=[];if("["===t){if(s("["),c(),"]"===t)return s("]"),e;for(;t;){if(e.push(n()),c(),"]"===t)return s("]"),e;s(","),c()}}o("Bad array")}();case'"':return u();case"-":return a();default:return t>="0"&&t<="9"?a():function(){switch(t){case"t":return s("t"),s("r"),s("u"),s("e"),!0;case"f":return s("f"),s("a"),s("l"),s("s"),s("e"),!1;case"n":return s("n"),s("u"),s("l"),s("l"),null}o('Unexpected "'+t+'"')}()}},function(i){var s;return r=i,e=0,t=" ",s=n(),c(),t&&o("Syntax error"),s}}(),sl.base64Encode=function(e){var t,r,n,i,o,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a=0,u=0,c="",l=[];if(!e)return e;e=sl.utf8Encode(e);do{t=(o=e.charCodeAt(a++)<<16|e.charCodeAt(a++)<<8|e.charCodeAt(a++))>>18&63,r=o>>12&63,n=o>>6&63,i=63&o,l[u++]=s.charAt(t)+s.charAt(r)+s.charAt(n)+s.charAt(i)}while(a<e.length);switch(c=l.join(""),e.length%3){case 1:c=c.slice(0,-2)+"==";break;case 2:c=c.slice(0,-1)+"="}return c},sl.utf8Encode=function(e){var t,r,n,i,o="";for(t=r=0,n=(e=(e+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,i=0;i<n;i++){var s=e.charCodeAt(i),a=null;s<128?r++:a=s>127&&s<2048?String.fromCharCode(s>>6|192,63&s|128):String.fromCharCode(s>>12|224,s>>6&63|128,63&s|128),null!==a&&(r>t&&(o+=e.substring(t,r)),o+=a,t=r=i+1)}return r>t&&(o+=e.substring(t,e.length)),o},sl.UUID=function(){try{return n.crypto.randomUUID()}catch(Qh){for(var e=new Array(36),t=0;t<36;t++)e[t]=Math.floor(16*Math.random());return e[14]=4,e[19]=e[19]&=-5,e[19]=e[19]|=8,e[8]=e[13]=e[18]=e[23]="-",sl.map(e,(function(e){return e.toString(16)})).join("")}};var hl=["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"];sl.isBlockedUA=function(e){var t;for(e=e.toLowerCase(),t=0;t<hl.length;t++)if(-1!==e.indexOf(hl[t]))return!0;return!1},sl.HTTPBuildQuery=function(e,t){var r,n,i=[];return sl.isUndefined(t)&&(t="&"),sl.each(e,(function(e,t){r=encodeURIComponent(e.toString()),n=encodeURIComponent(t),i[i.length]=n+"="+r})),i.join(t)},sl.getQueryParam=function(e,t){t=t.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var r=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);if(null===r||r&&"string"!==typeof r[1]&&r[1].length)return"";var n=r[1];try{n=decodeURIComponent(n)}catch(Qh){al.error("Skipping decoding for malformed query param: "+n)}return n.replace(/\+/g," ")},sl.cookie={get:function(e){for(var t=e+"=",r=Xc.cookie.split(";"),n=0;n<r.length;n++){for(var i=r[n];" "==i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return decodeURIComponent(i.substring(t.length,i.length))}return null},parse:function(e){var t;try{t=sl.JSONDecode(sl.cookie.get(e))||{}}catch(Qh){}return t},set_seconds:function(e,t,r,n,i,o,s){var a="",u="",c="";if(s)a="; domain="+s;else if(n){var l=Cl(Xc.location.hostname);a=l?"; domain=."+l:""}if(r){var p=new Date;p.setTime(p.getTime()+1e3*r),u="; expires="+p.toGMTString()}o&&(i=!0,c="; SameSite=None"),i&&(c+="; secure"),Xc.cookie=e+"="+encodeURIComponent(t)+u+"; path=/"+a+c},set:function(e,t,r,n,i,o,s){var a="",u="",c="";if(s)a="; domain="+s;else if(n){var l=Cl(Xc.location.hostname);a=l?"; domain=."+l:""}if(r){var p=new Date;p.setTime(p.getTime()+24*r*60*60*1e3),u="; expires="+p.toGMTString()}o&&(i=!0,c="; SameSite=None"),i&&(c+="; secure");var h=e+"="+encodeURIComponent(t)+u+"; path=/"+a+c;return Xc.cookie=h,h},remove:function(e,t,r){sl.cookie.set(e,"",-1,t,!1,!1,r)}};var fl=function(e){var t=!0;
4try{var r="__mplss_"+wl(8);e.setItem(r,"xyz"),"xyz"!==e.getItem(r)&&(t=!1),e.removeItem(r)}catch(Qh){t=!1}return t},dl=null,ml=function(e,t){return null===dl||t?dl=fl(e||n.localStorage):dl},gl=null;function vl(e,t,r){var n=function(e){al.error(t+" error: "+e)};return{is_supported:function(n){var i=r(e,n);return i||al.error(t+" unsupported"),i},error:n,get:function(t){try{return e.getItem(t)}catch(Qh){n(Qh)}return null},parse:function(t){try{return sl.JSONDecode(e.getItem(t))||{}}catch(Qh){}return null},set:function(t,r){try{e.setItem(t,r)}catch(Qh){n(Qh)}},remove:function(t){try{e.removeItem(t)}catch(Qh){n(Qh)}}}}sl.localStorage=vl(n.localStorage,"localStorage",ml),sl.sessionStorage=vl(n.sessionStorage,"sessionStorage",(function(e,t){return null===gl||t?gl=fl(e||n.sessionStorage):gl})),sl.register_event=function(){function e(t){return t&&(t.preventDefault=e.preventDefault,t.stopPropagation=e.stopPropagation),t}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(t,r,i,o,s){if(t)if(t.addEventListener&&!o)t.addEventListener(r,i,!!s);else{var a="on"+r,u=t[a];t[a]=function(t,r,i){var o=function(o){if(o=o||e(n.event)){var s,a,u=!0;return sl.isFunction(i)&&(s=i(o)),a=r.call(t,o),!1!==s&&!1!==a||(u=!1),u}};return o}(t,i,u)}else al.error("No valid element provided to register_event")}}();var yl=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');sl.dom_query=function(){function e(e){return e.all?e.all:e.getElementsByTagName("*")}var t=/[\t\r\n]/g;function r(e,r){var n=" "+r+" ";return(" "+e.className+" ").replace(t," ").indexOf(n)>=0}function n(t){if(!Xc.getElementsByTagName)return[];var n,i,o,s,a,u,c,l,p,h,f=t.split(" "),d=[Xc];for(u=0;u<f.length;u++)if((n=f[u].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){o=(i=n.split("#"))[0];var m=i[1],g=Xc.getElementById(m);if(!g||o&&g.nodeName.toLowerCase()!=o)return[];d=[g]}else if(n.indexOf(".")>-1){o=(i=n.split("."))[0];var v=i[1];for(o||(o="*"),s=[],a=0,c=0;c<d.length;c++)for(p="*"==o?e(d[c]):d[c].getElementsByTagName(o),l=0;l<p.length;l++)s[a++]=p[l];for(d=[],h=0,c=0;c<s.length;c++)s[c].className&&sl.isString(s[c].className)&&r(s[c],v)&&(d[h++]=s[c])}else{var y=n.match(yl);if(y){o=y[1];var _,b=y[2],w=y[3],S=y[4];for(o||(o="*"),s=[],a=0,c=0;c<d.length;c++)for(p="*"==o?e(d[c]):d[c].getElementsByTagName(o),l=0;l<p.length;l++)s[a++]=p[l];switch(d=[],h=0,w){case"=":_=function(e){return e.getAttribute(b)==S};break;case"~":_=function(e){return e.getAttribute(b).match(new RegExp("\\b"+S+"\\b"))};break;case"|":_=function(e){return e.getAttribute(b).match(new RegExp("^"+S+"-?"))};break;case"^":_=function(e){return 0===e.getAttribute(b).indexOf(S)};break;case"$":_=function(e){return e.getAttribute(b).lastIndexOf(S)==e.getAttribute(b).length-S.length};break;case"*":_=function(e){return e.getAttribute(b).indexOf(S)>-1};break;default:_=function(e){return e.getAttribute(b)}}for(d=[],h=0,c=0;c<s.length;c++)_(s[c])&&(d[h++]=s[c])}else{for(o=n,s=[],a=0,c=0;c<d.length;c++)for(p=d[c].getElementsByTagName(o),l=0;l<p.length;l++)s[a++]=p[l];d=s}}return d}return function(e){return sl.isElement(e)?[e]:sl.isObject(e)&&!sl.isUndefined(e.length)?e:n.call(this,e)}}();var _l=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],bl=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];sl.info={campaignParams:function(e){var t="",r={};return sl.each(_l,(function(n){(t=sl.getQueryParam(Xc.URL,n)).length?r[n]=t:void 0!==e&&(r[n]=e)})),r},clickParams:function(){var e="",t={};return sl.each(bl,(function(r){(e=sl.getQueryParam(Xc.URL,r)).length&&(t[r]=e)})),t},marketingParams:function(){return sl.extend(sl.info.campaignParams(),sl.info.clickParams())},searchEngine:function(e){return 0===e.search("https?://(.*)google.([^/?]*)")?"google":0===e.search("https?://(.*)bing.com")?"bing":0===e.search("https?://(.*)yahoo.com")?"yahoo":0===e.search("https?://(.*)duckduckgo.com")?"duckduckgo":null}
4,searchInfo:function(e){var t=sl.info.searchEngine(e),r="yahoo"!=t?"q":"p",n={};if(null!==t){n.$search_engine=t;var i=sl.getQueryParam(e,r);i.length&&(n.mp_keyword=i)}return n},browser:function(e,t,r){return t=t||"",r||sl.includes(e," OPR/")?sl.includes(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":sl.includes(e,"IEMobile")||sl.includes(e,"WPDesktop")?"Internet Explorer Mobile":sl.includes(e,"SamsungBrowser/")?"Samsung Internet":sl.includes(e,"Edge")||sl.includes(e,"Edg/")?"Microsoft Edge":sl.includes(e,"FBIOS")?"Facebook Mobile":sl.includes(e,"Chrome")?"Chrome":sl.includes(e,"CriOS")?"Chrome iOS":sl.includes(e,"UCWEB")||sl.includes(e,"UCBrowser")?"UC Browser":sl.includes(e,"FxiOS")?"Firefox iOS":sl.includes(t,"Apple")?sl.includes(e,"Mobile")?"Mobile Safari":"Safari":sl.includes(e,"Android")?"Android Mobile":sl.includes(e,"Konqueror")?"Konqueror":sl.includes(e,"Firefox")?"Firefox":sl.includes(e,"MSIE")||sl.includes(e,"Trident/")?"Internet Explorer":sl.includes(e,"Gecko")?"Mozilla":""},browserVersion:function(e,t,r){var n={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/}[sl.info.browser(e,t,r)];if(void 0===n)return null;var i=e.match(n);return i?parseFloat(i[i.length-2]):null},os:function(){var e=Qc;return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(e)?"iOS":/Android/.test(e)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Mac/i.test(e)?"Mac OS X":/Linux/.test(e)?"Linux":/CrOS/.test(e)?"Chrome OS":""},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""},referringDomain:function(e){var t=e.split("/");return t.length>=3?t[2]:""},currentUrl:function(){return n.location.href},properties:function(e){return"object"!==typeof e&&(e={}),sl.extend(sl.strip_empty_properties({$os:sl.info.os(),$browser:sl.info.browser(Qc,Hc.vendor,Jc),$referrer:Xc.referrer,$referring_domain:sl.info.referringDomain(Xc.referrer),$device:sl.info.device(Qc)}),{$current_url:sl.info.currentUrl(),$browser_version:sl.info.browserVersion(Qc,Hc.vendor,Jc),$screen_height:Kc.height,$screen_width:Kc.width,mp_lib:"web",$lib_version:Bc.LIB_VERSION,$insert_id:wl(),time:sl.timestamp()/1e3},sl.strip_empty_properties(e))},people_properties:function(){return sl.extend(sl.strip_empty_properties({$os:sl.info.os(),$browser:sl.info.browser(Qc,Hc.vendor,Jc)}),{$browser_version:sl.info.browserVersion(Qc,Hc.vendor,Jc)})},mpPageViewProperties:function(){return sl.strip_empty_properties({current_page_title:Xc.title,current_domain:n.location.hostname,current_url_path:n.location.pathname,current_url_protocol:n.location.protocol,current_url_search:n.location.search})}};var wl=function(e){var t=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return e?t.substring(0,e):t},Sl=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,kl=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,Cl=function(e){var t=kl,r=e.split("."),n=r[r.length-1];(n.length>4||"com"===n||"org"===n)&&(t=Sl);var i=e.match(t);return i?i[0]:""},Il=function(){},xl=null,El=null;"undefined"!==typeof JSON&&(xl=JSON.stringify,El=JSON.parse),xl=xl||sl.JSONEncode,El=El||sl.JSONDecode,sl.info=sl.info,sl.info.browser=sl.info.browser,sl.info.browserVersion=sl.info.browserVersion,sl.info.device=sl.info.device,sl.info.properties=sl.info.properties,sl.isBlockedUA=sl.isBlockedUA,sl.isEmptyObject=sl.isEmptyObject,sl.isObject=sl.isObject,sl.JSONDecode=sl.JSONDecode,sl.JSONEncode=sl.JSONEncode,sl.toArray=sl.toArray,sl.NPO=Lc;var Al="mixpanelRecordingEvents",Ol="mixpanelRecordingRegistry",Rl=[Al,Ol],Ml=function(e){this.dbPromise=null,this.storeName=e};Ml.prototype._openDb=function(){return new Fc((function(e,t){var r=n.indexedDB.open("mixpanelBrowserDb",1);r.onerror=function(){t(r.error)},r.onsuccess=function(){e(r.result)},r.onupgradeneeded=function(e){var t=e.target.result;Rl.forEach((function(e){t.createObjectStore(e)}))}}))},Ml.prototype.init=function(){return n.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then((function(e){return e instanceof n.IDBDatabase?Fc.resolve():Fc.reject(e)}))):Fc.reject("indexedDB is not supported in this browser")},Ml.prototype.makeTransaction=function(e,t){var r=this.storeName,n=function(n){return new Fc((function(i,o){var s=n.transaction(r,e);s.oncomplete=function(){i(s)},s.onabort=s.onerror=function(){o(s.error)},t(s.objectStore(r))}))};return this.dbPromise.then(n).catch(function(e){return e&&"InvalidStateError"===e.name?(this.dbPromise=this._openDb(),this.dbPromise.then(n)):Fc.reject(e)}.bind(this))},Ml.prototype.setItem=function(e,t){return this.makeTransaction("readwrite",(function(r){r.put(t,e)}))},Ml.prototype.getItem=function(e){var t;return this.makeTransaction("readonly",(function(r){t=r.get(e)})).then((function(){return t.result}))},Ml.prototype.removeItem=function(e){return this.makeTransaction("readwrite",(function(t){t.delete(e)}))},Ml.prototype.getAll=function(){var e;return this.makeTransaction("readonly",(function(t){e=t.getAll()})).then((function(){return e.result}))};function Tl(e,t){Wl(!0,e,t)}function Pl(e,t){Wl(!1,e,t)}function Nl(e,t){return"1"===zl(e,t)}function Dl(e,t){if(function(e){if(e&&e.ignoreDnt)return!1;var t=e&&e.window||n,r=t.navigator||{},i=!1;return sl.each([r.doNotTrack,r.msDoNotTrack,t.doNotTrack],(function(e){sl.includes([!0,1,"1","yes"],e)&&(i=!0)})),i}(t))return al.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var r="0"===zl(e,t);return r&&al.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),r}function Ll(e){return Vl(e,(function(e){return this.get_config(e)}))}function Fl(e){return Vl(e,(function(e){return this._get_config(e)}))}function Ul(e){return Vl(e,(function(e){return this._get_config(e)}))}function Bl(e,t){jl(t=t||{}).remove(ql(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function jl(e){return"localStorage"===(e=e||{}).persistenceType?sl.localStorage:sl.cookie}function ql(e,t){return((t=t||{}).persistencePrefix||"__mp_opt_in_out_")+e}function zl(e,t){return jl(t).get(ql(e,t))}function Wl(e,t,r){sl.isString(t)&&t.length?(jl(r=r||{}).set(ql(t,r),e?1:0,sl.isNumber(r.cookieExpiration)?r.cookieExpiration:null,!!r.crossSubdomainCookie,!!r.secureCookie,!!r.crossSiteCookie,r.cookieDomain),r.track&&e&&r.track(r.trackEventName||"$opt_in",r.trackProperties,{send_immediately:!0})):al.error("gdpr."+(e?"optIn":"optOut")+" called with an invali
4d token")}function Vl(e,t){return function(){var r=!1;try{var n=t.call(this,"token"),i=t.call(this,"ignore_dnt"),o=t.call(this,"opt_out_tracking_persistence_type"),s=t.call(this,"opt_out_tracking_cookie_prefix"),a=t.call(this,"window");n&&(r=Dl(n,{ignoreDnt:i,persistenceType:o,persistencePrefix:s,window:a}))}catch(Qh){al.error("Unexpected error when checking tracking opt-out status: "+Qh)}if(!r)return e.apply(this,arguments);var u=arguments[arguments.length-1];"function"===typeof u&&u(0)}}var $l=cl("lock"),Gl=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||n.localStorage,this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3,this.promiseImpl=t.promiseImpl||Fc};Gl.prototype.withLock=function(e,t){return new(0,this.promiseImpl)(sl.bind((function(r,n){var i=t||(new Date).getTime()+"|"+Math.random(),o=(new Date).getTime(),s=this.storageKey,a=this.pollIntervalMS,u=this.timeoutMS,c=this.storage,l=s+":X",p=s+":Y",h=s+":Z",f=function(e){if((new Date).getTime()-o>u)return $l.error("Timeout waiting for mutex on "+s+"; clearing lock. ["+i+"]"),c.removeItem(h),c.removeItem(p),void g();setTimeout((function(){try{e()}catch(Qh){n(Qh)}}),a*(Math.random()+.1))},d=function(e,t){e()?t():f((function(){d(e,t)}))},m=function(){var e=c.getItem(p);return(!e||e===i)&&(c.setItem(p,i),c.getItem(p)===i||(ml(c,!0)||n(new Error("localStorage support dropped while acquiring lock")),!1))},g=function(){c.setItem(l,i),d(m,(function(){c.getItem(l)!==i?f((function(){c.getItem(p)===i?d((function(){return!c.getItem(h)}),v):g()})):v()}))},v=function(){c.setItem(h,"1");var t=function(){c.removeItem(h),c.getItem(p)===i&&c.removeItem(p),c.getItem(l)===i&&c.removeItem(l)};e().then((function(e){t(),r(e)})).catch((function(e){t(),n(e)}))};try{if(!ml(c,!0))throw new Error("localStorage support check failed");g()}catch(Qh){n(Qh)}}),this))};var Yl=function(e){this.storage=e||n.localStorage};Yl.prototype.init=function(){return Fc.resolve()},Yl.prototype.setItem=function(e,t){return new Fc(sl.bind((function(r,n){try{this.storage.setItem(e,xl(t))}catch(i){n(i)}r()}),this))},Yl.prototype.getItem=function(e){return new Fc(sl.bind((function(t,r){var n;try{n=El(this.storage.getItem(e))}catch(i){r(i)}t(n)}),this))},Yl.prototype.removeItem=function(e){return new Fc(sl.bind((function(t,r){try{this.storage.removeItem(e)}catch(n){r(n)}t()}),this))};var Zl=cl("batch"),Hl=function(e,t){t=t||{},this.storageKey=e,this.usePersistence=t.usePersistence,this.usePersistence&&(this.queueStorage=t.queueStorage||new Yl,this.lock=new Gl(e,{storage:t.sharedLockStorage||n.localStorage,timeoutMS:t.sharedLockTimeoutMS})),this.reportError=t.errorReporter||sl.bind(Zl.error,Zl),this.pid=t.pid||null,this.memQueue=[],this.initialized=!1,t.enqueueThrottleMs?this.enqueuePersisted=function(e,t){var r=null,n=[];return function(i){var o=this;return n.push(i),r||(r=new Fc((function(i){setTimeout((function(){var t=e.apply(o,[n]);r=null,n=[],i(t)}),t)}))),r}}(sl.bind(this._enqueuePersisted,this),t.enqueueThrottleMs):this.enqueuePersisted=sl.bind((function(e){return this._enqueuePersisted([e])}),this)};Hl.prototype.ensureInit=function(){return this.initialized?Fc.resolve():this.queueStorage.init().then(sl.bind((function(){this.initialized=!0}),this)).catch(sl.bind((function(e){this.reportError("Error initializing queue persistence. Disabling persistence",e),this.initialized=!0,this.usePersistence=!1}),this))},Hl.prototype.enqueue=function(e,t){var r={id:wl(),flushAfter:(new Date).getTime()+2*t,payload:e};return this.usePersistence?this.enqueuePersisted(r):(this.memQueue.push(r),Fc.resolve(!0))},Hl.prototype._enqueuePersisted=function(e){var t=sl.bind((function(){return this.ensureInit().then(sl.bind((function(){return this.readFromStorage()}),this)).then(sl.bind((function(t){return this.saveToStorage(t.concat(e))}),this)).then(sl.bind((function(t){return t&&(this.memQueue=this.memQueue.concat(e)),t}),this)).catch(sl.bind((function(t){return this.reportError("Error enqueueing items",t,e),!1}),this))}),this);return this.lock.withLock(t,this.pid).catch(sl.bind((function(e){return this.reportError("Error acquiring storage lock",e),!1}),this))},Hl.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);return this.usePersistence&&t.length<e?this.ensureInit().then(sl.bind((function(){return this.readFromStorage()}),this)).then(sl.bind((function(r){if(r.length){var n={};sl.each(t,(function(e){n[e.id]=!0}));for(var i=0;i<r.length;i++){var o=r[i];if((new Date).getTime()>o.flushAfter&&!n[o.id]&&(o.orphaned=!0,t.push(o),t.length>=e))break}}return t}),this)):Fc.resolve(t)};var Xl=function(e,t){var r=[];return sl.each(e,(function(e){e.id&&!t[e.id]&&r.push(e)})),r};Hl.prototype.removeItemsByID=function(e){var t={};if(sl.each(e,(function(e){t[e]=!0})),this.memQueue=Xl(this.memQueue,t),this.usePersistence){var r=sl.bind((function(){return this.ensureInit().then(sl.bind((function(){return this.readFromStorage()}),this)).then(sl.bind((function(e){return e=Xl(e,t),this.saveToStorage(e)}
4),this)).then(sl.bind((function(){return this.readFromStorage()}),this)).then(sl.bind((function(e){for(var r=0;r<e.length;r++){var n=e[r];if(n.id&&t[n.id])throw new Error("Item not removed from storage")}return!0}),this)).catch(sl.bind((function(t){return this.reportError("Error removing items",t,e),!1}),this))}),this);return this.lock.withLock(r,this.pid).catch(sl.bind((function(e){return this.reportError("Error acquiring storage lock",e),!ml(this.lock.storage,!0)&&r().then(sl.bind((function(e){return e||this.queueStorage.removeItem(this.storageKey).then((function(){return e}))}),this)).catch(sl.bind((function(e){return this.reportError("Error clearing queue",e),!1}),this))}),this))}return Fc.resolve(!0)};var Jl=function(e,t){var r=[];return sl.each(e,(function(e){var n=e.id;if(n in t){var i=t[n];null!==i&&(e.payload=i,r.push(e))}else r.push(e)})),r};Hl.prototype.updatePayloads=function(e){return this.memQueue=Jl(this.memQueue,e),this.usePersistence?this.lock.withLock(sl.bind((function(){return this.ensureInit().then(sl.bind((function(){return this.readFromStorage()}),this)).then(sl.bind((function(t){return t=Jl(t,e),this.saveToStorage(t)}),this)).catch(sl.bind((function(t){return this.reportError("Error updating items",e,t),!1}),this))}),this),this.pid).catch(sl.bind((function(e){return this.reportError("Error acquiring storage lock",e),!1}),this)):Fc.resolve(!0)},Hl.prototype.readFromStorage=function(){return this.ensureInit().then(sl.bind((function(){return this.queueStorage.getItem(this.storageKey)}),this)).then(sl.bind((function(e){return e&&(sl.isArray(e)||(this.reportError("Invalid storage entry:",e),e=null)),e||[]}),this)).catch(sl.bind((function(e){return this.reportError("Error retrieving queue",e),[]}),this))},Hl.prototype.saveToStorage=function(e){return this.ensureInit().then(sl.bind((function(){return this.queueStorage.setItem(this.storageKey,e)}),this)).then((function(){return!0})).catch(sl.bind((function(e){return this.reportError("Error saving queue",e),!1}),this))},Hl.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(sl.bind((function(){return this.queueStorage.removeItem(this.storageKey)}),this)):Fc.resolve()};var Kl=cl("batch"),Ql=function(e,t){this.errorReporter=t.errorReporter,this.queue=new Hl(e,{errorReporter:sl.bind(this.reportError,this),queueStorage:t.queueStorage,sharedLockStorage:t.sharedLockStorage,sharedLockTimeoutMS:t.sharedLockTimeoutMS,usePersistence:t.usePersistence,enqueueThrottleMs:t.enqueueThrottleMs}),this.libConfig=t.libConfig,this.sendRequest=t.sendRequestFunc,this.beforeSendHook=t.beforeSendHook,this.stopAllBatching=t.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={},this.flushOnlyOnInterval=t.flushOnlyOnInterval||!1,this._flushPromise=null};Ql.prototype.enqueue=function(e){return this.queue.enqueue(e,this.flushInterval)},Ql.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},Ql.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},Ql.prototype.clear=function(){return this.queue.clear()},Ql.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},Ql.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},Ql.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(sl.bind((function(){this.stopped||(this._flushPromise=this.flush())}),this),this.flushInterval))},Ql.prototype.sendRequestPromise=function(e,t){return new Fc(sl.bind((function(r){this.sendRequest(e,t,r)}),this))},Ql.prototype.flush=function(e){if(this.requestInProgress)return Kl.log("Flush: Request already in progress"),Fc.resolve();this.requestInProgress=!0,e=e||{};var t=this.libConfig.batch_request_timeout_ms,r=(new Date).getTime(),i=this.batchSize;return this.queue.fillBatch(i).then(sl.bind((function(o){var s=o.length===i,a=[],u={};if(sl.each(o,(function(e){var t=e.payload;if(this.beforeSendHook&&!e.orphaned&&(t=this.beforeSendHook(t)),t){t.event&&t.properties&&(t.properties=sl.extend({},t.properties,{mp_sent_by_lib_version:Bc.LIB_VERSION}));var r=!0,n=e.id;n?(this.itemIdsSentSuccessfully[n]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:e,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[n]}),r=!1):this.reportError("[dupe] found item with no ID",{item:e}),r&&a.push(t)}u[e.id]=t}),this),a.length<1)return this.requestInProgress=!1,this.resetFlush(),Fc.resolve();var c=sl.bind((function(){return this.queue.removeItemsByID(sl.map(o,(function(e){return e.id}))).then(sl.bind((function(e){return sl.each(o,sl.bind((function(e){var t=e.id;t?(this.itemIdsSentSuccessfully[t]=this.itemIdsSentSuccessfully[t]||0,this.itemIdsSentSuccessfully[t]++,this.itemIdsSentSuccessfully[t]>5&&this.reportError("[dupe] item ID sent too many times",{item:e,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[t]})):this.reportError("[dupe] found item with no ID while removing",{item:e})}),this)),e?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!s?(this.resetFlush(),Fc.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),Fc.resolve())}),this))}
4),this),l=sl.bind((function(s){this.requestInProgress=!1;try{if(e.unloading)return this.queue.updatePayloads(u);if(sl.isObject(s)&&"timeout"===s.error&&(new Date).getTime()-r>=t)return this.reportError("Network timeout; retrying"),this.flush();if(sl.isObject(s)&&(s.httpStatusCode>=500||429===s.httpStatusCode||s.httpStatusCode<=0&&!function(){var e=n.navigator.onLine;return sl.isUndefined(e)||e}()||"timeout"===s.error)){var a=2*this.flushInterval;return s.retryAfter&&(a=1e3*parseInt(s.retryAfter,10)||a),a=Math.min(6e5,a),this.reportError("Error; retry in "+a+" ms"),this.scheduleFlush(a),Fc.resolve()}if(sl.isObject(s)&&413===s.httpStatusCode){if(o.length>1){var l=Math.max(1,Math.floor(i/2));return this.batchSize=Math.min(this.batchSize,l,o.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),Fc.resolve()}return this.reportError("Single-event request too large; dropping",o),this.resetBatchSize(),c()}return c()}catch(Qh){this.reportError("Error handling API response",Qh),this.resetFlush()}}),this),p={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:t};return e.unloading&&(p.transport="sendBeacon"),Kl.log("MIXPANEL REQUEST:",a),this.sendRequestPromise(a,p).then(l)}),this)).catch(sl.bind((function(e){this.reportError("Error flushing request queue",e),this.resetFlush()}),this))},Ql.prototype.reportError=function(e,t){if(Kl.error.apply(Kl.error,arguments),this.errorReporter)try{t instanceof Error||(t=new Error(e)),this.errorReporter(e,t)}catch(t){Kl.error(t)}};var ep=function(e){var t=Date.now();return!e||t>e.maxExpires||t>e.idleExpires},tp=cl("recorder"),rp=n.CompressionStream,np={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},ip=new Set([vu.MouseMove,vu.MouseInteraction,vu.Scroll,vu.ViewportResize,vu.Input,vu.TouchMove,vu.MediaInteraction,vu.Drag,vu.Selection]);var op=function(e){this._mixpanel=e.mixpanelInstance,this._onIdleTimeout=e.onIdleTimeout||Il,this._onMaxLengthReached=e.onMaxLengthReached||Il,this._onBatchSent=e.onBatchSent||Il,this._rrwebRecord=e.rrwebRecord||null,this._stopRecording=null,this.replayId=e.replayId,this.batchStartUrl=e.batchStartUrl||null,this.replayStartUrl=e.replayStartUrl||null,this.idleExpires=e.idleExpires||null,this.maxExpires=e.maxExpires||null,this.replayStartTime=e.replayStartTime||null,this.seqNo=e.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=jc,this.recordMinMs=0;var t=ml(e.sharedLockStorage,!0);this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new Ml(Al),this.batcher=new Ql(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:np,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:e.sharedLockStorage,usePersistence:t,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:250,sharedLockTimeoutMS:1e4})};op.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))},op.prototype.getConfig=function(e){return this._mixpanel.get_config(e)},op.prototype.get_config=function(e){return this.getConfig(e)},op.prototype.startRecording=function(e){if(null!==this._rrwebRecord)if(null===this._stopRecording){this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>jc&&(this.recordMaxMs=jc,tp.critical("record_max_ms cannot be greater than "+jc+"ms. Capping value.")),this.maxExpires||(this.maxExpires=(new Date).getTime()+this.recordMaxMs),this.recordMinMs=this.getConfig("record_min_ms"),this.recordMinMs>qc&&(this.recordMinMs=qc,tp.critical("record_min_ms cannot be greater than 8000ms. Capping value.")),this.replayStartTime||(this.replayStartTime=(new Date).getTime(),this.batchStartUrl=sl.info.currentUrl(),this.replayStartUrl=sl.info.currentUrl()),e||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var t=function(){clearTimeout(this.idleTimeoutId);var e=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,e),this.idleExpires=(new Date).getTime()+e}.bind(this);t();var r=this.getConfig("record_block_selector");""!==r&&null!==r||(r=void 0);try{this._stopRecording=this._rrwebRecord({emit:function(e){this.idleExpires&&this.idleExpires<e.timestamp?this._onIdleTimeout():(function(e){return e.type===gu.IncrementalSnapshot&&ip.has(e.data.source)}(e)&&(this.batcher.stopped&&(new Date).getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),t()),this.__enqueuePromise=this.batcher.enqueue(e))}.bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:r,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextClass:this.getConfig("record_mask_text_class"),maskTextSelector:this.getConfig("record_mask_text_selector"),recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15}})}catch(Qh){this.reportError("Unexpected error when starting rrweb recording.",Qh)}if("function"!==typeof this._stopRecording)return this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,void this.stopRecording();var n=this.maxExpires-(new Date).getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),n)}else tp.log("Recording already in progress, skipping startRecording.");else this.reportError("rrweb record function not provided. ")},op.prototype.stopRecording=function(e){if(!this.isRrwebStopped()){try{this._stopRecording()}catch(Qh){this.reportError("Error with rrweb stopRecording",Qh)}this._stopRecording=null}var t;return this.batcher.stopped?t=this.batcher.clear():e||(t=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),t},op.prototype.isRrwebStopped=function(){return null===this._stopRecording},op.prototype.flushEventsWithOptOut=function(e,t,r){var n=function(e){0===e&&(this.stopRecording(),r({error:"Tracking has been opted out, stopping recording."}))}.bind(this);this._flushEvents(e,t,r,n)},op.prototype.serialize=function(){var e;try{e=this._mixpanel.get_tab_id()}catch(t){this.reportError("Error getting tab ID for serialization ",t),e=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:e}},op.deserialize=function(e,t){return new op(sl.extend({},t,{replayId:e.replayId,batchStartUrl:e.batchStartUrl,replayStartUrl:e.replayStartUrl,idleExpires:e.idleExpires,maxExpires:e.maxExpires,replayStartTime:e.replayStartTime,seqNo:e.seqNo,sharedLockStorage:t.sharedLockStorage}))},op.prototype._sendRequest=function(e,t,r,i){var o=function(t,r){200===t.status&&this.replayId===e&&(this.seqNo++,this.batchStartUrl=sl.info.currentUrl()),this._onBatchSent(),i({status:0,httpStatusCode:t.status,responseBody:r,retryAfter:t.headers.get("Retry-After")})}.bind(this);n.fetch(this.getConfig("api_host")+"/"+this.getConfig("api_routes").record+"?"+new URLSearchParams(t),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:r}).then((function(e){e.json().then((function(t){o(e,t)})).catch((function(e){i({error:e})}))})).catch((function(e){i({error:e,httpStatusCode:0})}))},op.prototype._flushEvents=Ll((function(e,t,r){var n=e.length;if(n>0){for(var i=this.replayId,o=1/0,s=-1/0,a=!1,u=0;u<n;u++)o=Math.min(o,e[u].timestamp),s=Math.max(s,e[u].timestamp),e[u].type===gu.FullSnapshot&&(a=!0);if(0===this.seqNo){if(!a)return r({error:"First batch does not contain a full snapshot. Aborting recording."}),void this.stopRecording(!0);this.replayStartTime=o}else this.replayStartTime||(this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=o);var c=s-this.replayStartTime,l={$current_url:this.batchStartUrl,$lib_version:Bc.LIB_VERSION,batch_start_time:o/1e3,distinct_id:String(this._mixpanel.get_distinct_id()),mp_lib:"web",replay_id:i,replay_length_ms:c,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},p=JSON.stringify(e),h=this._mixpanel.get_property("$device_id");h&&(l.$device_id=h);var f=this._mixpanel.get_property("$user_id");if(f&&(l.$user_id=f),rp){var d=new Blob([p],{type:"application/json"}).stream().pipeThrough(new rp("gzip"));new Response(d).blob().then(function(e){l.format="gzip",this._sendRequest(i,l,e,r)}.bind(this))}else l.format="body",this._sendRequest(i,l,p,r)}})),op.prototype.reportError=function(e,t){tp.error.apply(tp.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.getConfig("error_reporter")(e,t)}catch(t){tp.error(t)}};
4var sp=function(e){this.idb=new Ml(Ol),this.errorReporter=e.errorReporter,this.mixpanelInstance=e.mixpanelInstance,this.sharedLockStorage=e.sharedLockStorage};sp.prototype.handleError=function(e){this.errorReporter("IndexedDB error: ",e)},sp.prototype.setActiveRecording=function(e){var t=e.tabId;return t?this.idb.init().then(function(){return this.idb.setItem(t,e)}.bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),Fc.resolve())},sp.prototype.getActiveRecording=function(){return this.idb.init().then(function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}.bind(this)).then(function(e){return ep(e)?null:e}.bind(this)).catch(this.handleError.bind(this))},sp.prototype.clearActiveRecording=function(){return this.getActiveRecording().then(function(e){if(e)return e.maxExpires=0,this.setActiveRecording(e)}.bind(this)).catch(this.handleError.bind(this))},sp.prototype.flushInactiveRecordings=function(){return this.idb.init().then(function(){return this.idb.getAll()}.bind(this)).then(function(e){var t=e.filter((function(e){return ep(e)})).map(function(e){return op.deserialize(e,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage}).unloadPersistedData().then(function(){return this.idb.removeItem(e.tabId)}.bind(this)).catch(this.handleError.bind(this))}.bind(this));return Fc.all(t)}.bind(this)).catch(this.handleError.bind(this))};var ap=cl("recorder"),up=function(e,t,r){this.mixpanelInstance=e,this.rrwebRecord=t||bc,this.sharedLockStorage=r,this.recordingRegistry=new sp({mixpanelInstance:this.mixpanelInstance,errorReporter:ap.error,sharedLockStorage:r}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null};up.prototype.startRecording=function(e){if(e=e||{},!this.activeRecording||this.activeRecording.isRrwebStopped()){var t=function(){ap.log("Idle timeout reached, restarting recording."),this.resetRecording()}.bind(this),r=function(){ap.log("Max recording length reached, stopping recording."),this.resetRecording()}.bind(this),n=function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}.bind(this),i={mixpanelInstance:this.mixpanelInstance,onBatchSent:n,onIdleTimeout:t,onMaxLengthReached:r,replayId:sl.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return e.activeSerializedRecording?this.activeRecording=op.deserialize(e.activeSerializedRecording,i):this.activeRecording=new op(i),this.activeRecording.startRecording(e.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())}ap.log("Recording already in progress, skipping startRecording.")},up.prototype.stopRecording=function(){var e=this._stopCurrentRecording(!1);return this.recordingRegistry.clearActiveRecording(),this.activeRecording=null,e},up.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)},up.prototype._stopCurrentRecording=function(e){return this.activeRecording?this.activeRecording.stopRecording(e):Fc.resolve()},up.prototype.resumeRecording=function(e){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),Fc.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(t){return t?this.startRecording({activeSerializedRecording:t}):e?this.startRecording({shouldStopBatcher:!1}):(ap.log("No resumable recording found."),null)}.bind(this))},up.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})},up.prototype.getActiveReplayId=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()?this.activeRecording.replayId:null},Object.defineProperty(up.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),n.__mp_recorder=up;var cp="change",lp="click",pp="hashchange",hp="mp_locationchange",fp="popstate",dp="scrollend",mp="submit",gp=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],vp=["mp-include"],yp=["mp-no-track"],_p=yp.concat(["mp-sensitive"]),bp=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],wp=cl("autocapture");function Sp(e){for(var t={},r=kp(e).split(" "),n=0;n<r.length;n++){var i=r[n];i&&(t[i]=!0)}return t}function kp(e){switch(typeof e.className){case"string":return e.className;case"object":return e.className.baseVal||e.getAttribute("class")||"";default:return""}}function Cp(e){if(e.previousElementSibling)return e.previousElementSibling;do{e=e.previousSibling}while(e&&!Rp(e));return e}function Ip(e,t,r,n,i,o){var s={$classes:kp(e).split(" "),$tag_name:e.tagName.toLowerCase()},a=e.id;a&&(s.$id=a),Pp(e,t,i,o)&&sl.each(bp.concat(n),(function(t){if(e.hasAttribute(t)&&!r[t]){var n=e.getAttribute(t);Np(n)&&(s["$attr-"+t]=n)}}));for(var u=1,c=1,l=e;l=Cp(l);)u++,l.tagName===e.tagName&&c++;return s.$nth_child=u,s.$nth_of_type=c,s}function xp(e,t){var r=t.allowElementCallback,i=t.allowSelectors||[],o=t.blockAttrs||[],s=t.blockElementCallback,a=t.blockSelectors||[],u=t.captureTextContent||!1,c=t.captureExtraAttrs||[],l=t.captured
4ForHeatMap||!1,p={};sl.each(o,(function(e){p[e]=!0}));var h=null,f="undefined"===typeof e.target?e.srcElement:e.target;if(Tp(f)&&(f=f.parentNode),function(e,t){if(!e||Mp(e,"html")||!Rp(e))return!1;switch(e.tagName.toLowerCase()){case"form":return t.type===mp;case"input":return-1===["button","submit"].indexOf(e.getAttribute("type"))?t.type===cp:t.type===lp;case"select":case"textarea":return t.type===cp;default:return t.type===lp}}(f,e)&&Ap(f,e,r,i)&&!Op(f,e,s,a)){for(var d=[f],m=f;m.parentNode&&!Mp(m,"body");)d.push(m.parentNode),m=m.parentNode;var g,v=[],y=!1;if(sl.each(d,(function(t){var n=Pp(t,e,r,i);p.href||"a"!==t.tagName.toLowerCase()||(g=t.getAttribute("href"),g=n&&Np(g)&&g),Op(t,e,s,a)&&(y=!0),v.push(Ip(t,e,p,c,r,i))}),this),!y){var _=Xc.documentElement;if(h={$event_type:e.type,$host:n.location.host,$pathname:n.location.pathname,$elements:v,$el_attr__href:g,$viewportHeight:Math.max(_.clientHeight,n.innerHeight||0),$viewportWidth:Math.max(_.clientWidth,n.innerWidth||0)},sl.each(c,(function(e){if(!p[e]&&f.hasAttribute(e)){var t=f.getAttribute(e);Np(t)&&(h["$el_attr__"+e]=t)}})),u&&(b=Ep(f,e,r,i))&&b.length&&(h.$el_text=b),e.type===lp&&(sl.each(gp,(function(t){t in e&&(h["$"+t]=e[t])})),l&&(h.$captured_for_heatmap=!0),f=function(e){for(var t=e.target,r=e.composedPath(),n=0;n<r.length;n++){var i=r[n];if(Mp(i,"a")||Mp(i,"button")||Mp(i,"input")||Mp(i,"select")||i.getAttribute&&"button"===i.getAttribute("role")){t=i;break}if(i===t)break}return t}(e)),u){var b=Ep(f,e,r,i);b&&b.length&&(h.$el_text=b)}if(f){if(!Ap(f,e,r,i)||Op(f,e,s,a))return null;var w=Ip(f,e,p,c,r,i);h.$target=w,h.$el_classes=w.$classes,sl.extend(h,sl.strip_empty_properties({$el_id:w.$id,$el_tag_name:w.$tag_name}))}}}return h}function Ep(e,t,r,n){var i="";return Pp(e,t,r,n)&&e.childNodes&&e.childNodes.length&&sl.each(e.childNodes,(function(e){Tp(e)&&e.textContent&&(i+=sl.trim(e.textContent).split(/(\s+)/).filter(Np).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))})),sl.trim(i)}function Ap(e,t,r,n){if(r)try{if(!r(e,t))return!1}catch(Qh){return wp.critical("Error while checking element in allowElementCallback",Qh),!1}if(!n.length)return!0;for(var i=0;i<n.length;i++){var o=n[i];try{if(e.matches(o))return!0}catch(Qh){wp.critical("Error while checking selector: "+o,Qh)}}return!1}function Op(e,t,r,n){var i;if(r)try{if(r(e,t))return!0}catch(Qh){return wp.critical("Error while checking element in blockElementCallback",Qh),!0}if(n&&n.length)for(i=0;i<n.length;i++){var o=n[i];try{if(e.matches(o))return!0}catch(Qh){wp.critical("Error while checking selector: "+o,Qh)}}var s=Sp(e);for(i=0;i<yp.length;i++)if(s[yp[i]])return!0;return!1}function Rp(e){return e&&1===e.nodeType}function Mp(e,t){return e&&e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function Tp(e){return e&&3===e.nodeType}function Pp(e,t,r,n){var i;if(!Ap(e,t,r,n))return!1;for(var o=e;o.parentNode&&!Mp(o,"body");o=o.parentNode){var s=Sp(o);for(i=0;i<_p.length;i++)if(s[_p[i]])return!1}var a=Sp(e);for(i=0;i<vp.length;i++)if(a[vp[i]])return!0;if(Mp(e,"input")||Mp(e,"select")||Mp(e,"textarea")||"true"===e.getAttribute("contenteditable"))return!1;var u=e.type||"";if("string"===typeof u)switch(u.toLowerCase()){case"hidden":case"password":return!1}var c=e.name||e.id||"";if("string"===typeof c){if(/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(c.replace(/[^a-zA-Z0-9]/g,"")))return!1}return!0}function Np(e){if(null===e||sl.isUndefined(e))return!1;if("string"===typeof e){e=sl.trim(e);if(/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((e||"").replace(/[- ]/g,"")))return!1;if(/(^\d{3}-?\d{2}-?\d{4}$)/.test(e))return!1}return!0}var Dp="autocapture",Lp="full-url",Fp="allow_selectors",Up="allow_url_regexes",Bp="block_attrs",jp="block_element_callback",qp="block_selectors",zp="block_url_regexes",Wp="capture_extra_attrs",Vp="capture_text_content",$p="scroll_capture_all",Gp="scroll_depth_percent_checkpoints",Yp="click",Zp="input",Hp="pageview",Xp="scroll",Jp="submit",Kp={};Kp[Fp]=[],Kp[Up]=[],Kp[Bp]=[],Kp[jp]=null,Kp[qp]=[],Kp[zp]=[],Kp[Wp]=[],Kp[Vp]=!1,Kp[$p]=!1,Kp[Gp]=[25,50,75,100],Kp[Yp]=!0,Kp[Zp]=!0,Kp[Hp]=Lp,Kp[Xp]=!0,Kp[Jp]=!0;var Qp={$mp_autocapture:!0},eh="$mp_click",th=function(e){this.mp=e};th.prototype.init=function(){!function(){try{return!!Xc.createElement("div").matches}catch(Qh){return!1}}()?wp.critical("Autocapture unavailable: missing required DOM APIs"):(this.initPageviewTracking(),this.initClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking())},th.prototype.getFullConfig=function(){var e=this.mp.get_config(Dp);return e?sl.isObject(e)?sl.extend({},Kp,e):Kp:{}},th.prototype.getConfig=function(e){return this.getFullConfig()[e]},th.prototype.currentUrlBlocked=function(){var e,t=sl.info.currentUrl(),r=this.getConfig(Up)||[];if(r.length){var n=!1;for(e=0;e<r.length;e++){var i=r[e];try{if(t.match(i)){n=!0;break}}catch(Qh){return wp.critical("Error while checking block URL regex: "+i,Qh),!0}}if(!n)return!0}var o=this.getConfig(zp)||[];if(!o||!o.length)return!1;for(e=0;e<o.length;e++)try{if(t.match(o[e]))return!0}catch(Qh){return wp.critical("Error while checking block URL regex: "+o[e],Qh),!0}return!1},th.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(Dp)?this.getConfig(Hp):this.mp.get_config("track_pageview")},th.prototype.trackDomEvent=function(e,t){if(!this.currentUrlBlocked()){var r=xp(e,{allowElementCallback:this.getConfig("allow_element_callback"),allowSelectors:this.getConfig(Fp),blockAttrs:this.getConfig(Bp),blockElementCallback:this.getConfig(jp),blockSelectors:this.getConfig(qp),captureExtraAttrs:this.getConfig(Wp),captureTextContent:this.getConfig(Vp),captured
4ForHeatMap:t===eh&&!this.getConfig(Yp)&&this.mp.is_recording_heatmap_data()});r&&(sl.extend(r,Qp),this.mp.track(t,r))}},th.prototype.initClickTracking=function(){n.removeEventListener(lp,this.listenerClick),(this.getConfig(Yp)||this.mp.get_config("record_heatmap_data"))&&(wp.log("Initializing click tracking"),this.listenerClick=n.addEventListener(lp,function(e){(this.getConfig(Yp)||this.mp.is_recording_heatmap_data())&&this.trackDomEvent(e,eh)}.bind(this)))},th.prototype.initInputTracking=function(){n.removeEventListener(cp,this.listenerChange),this.getConfig(Zp)&&(wp.log("Initializing input tracking"),this.listenerChange=n.addEventListener(cp,function(e){this.getConfig(Zp)&&this.trackDomEvent(e,"$mp_input_change")}.bind(this)))},th.prototype.initPageviewTracking=function(){if(n.removeEventListener(fp,this.listenerPopstate),n.removeEventListener(pp,this.listenerHashchange),n.removeEventListener(hp,this.listenerLocationchange),this.pageviewTrackingConfig()){wp.log("Initializing pageview tracking");var e="",t=!1;this.currentUrlBlocked()||(t=this.mp.track_pageview(Qp)),t&&(e=sl.info.currentUrl()),this.listenerPopstate=n.addEventListener(fp,(function(){n.dispatchEvent(new Event(hp))})),this.listenerHashchange=n.addEventListener(pp,(function(){n.dispatchEvent(new Event(hp))}));var r=n.history.pushState;"function"===typeof r&&(n.history.pushState=function(e,t,i){r.call(n.history,e,t,i),n.dispatchEvent(new Event(hp))});var i=n.history.replaceState;"function"===typeof i&&(n.history.replaceState=function(e,t,r){i.call(n.history,e,t,r),n.dispatchEvent(new Event(hp))}),this.listenerLocationchange=n.addEventListener(hp,ll(function(){if(!this.currentUrlBlocked()){var t=sl.info.currentUrl(),r=!1,n=t.split("#")[0].split("?")[0]!==e.split("#")[0].split("?")[0],i=this.pageviewTrackingConfig();if(i===Lp?r=t!==e:"url-with-path-and-query-string"===i?r=t.split("#")[0]!==e.split("#")[0]:"url-with-path"===i&&(r=n),r)this.mp.track_pageview(Qp)&&(e=t),n&&(this.lastScrollCheckpoint=0,wp.log("Path change: re-initializing scroll depth checkpoints"))}}.bind(this)))}},th.prototype.initScrollTracking=function(){n.removeEventListener(dp,this.listenerScroll),this.getConfig(Xp)&&(wp.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0,this.listenerScroll=n.addEventListener(dp,ll(function(){if(this.getConfig(Xp)&&!this.currentUrlBlocked()){var e=this.getConfig($p),t=(this.getConfig(Gp)||[]).slice().sort((function(e,t){return e-t})),r=n.scrollY,i=sl.extend({$scroll_top:r},Qp);try{var o=Xc.body.scrollHeight,s=Math.round(r/(o-n.innerHeight)*100);if(i.$scroll_height=o,i.$scroll_percentage=s,s>this.lastScrollCheckpoint)for(var a=0;a<t.length;a++){var u=t[a];s>=u&&this.lastScrollCheckpoint<u&&(i.$scroll_checkpoint=u,this.lastScrollCheckpoint=u,e=!0)}}catch(Qh){wp.critical("Error while calculating scroll percentage",Qh)}e&&this.mp.track("$mp_scroll",i)}}.bind(this))))},th.prototype.initSubmitTracking=function(){n.removeEventListener(mp,this.listenerSubmit),this.getConfig(Jp)&&(wp.log("Initializing submit tracking"),this.listenerSubmit=n.addEventListener(mp,function(e){this.getConfig(Jp)&&this.trackDomEvent(e,"$mp_submit")}.bind(this)))},pl(th);var rh=n.fetch,nh=cl("flags"),ih="flags",oh="context",sh={};sh[oh]={};var ah=function(e){this.getMpConfig=e.getConfigFunc,this.getDistinctId=e.getDistinctIdFunc,this.track=e.trackingFunc};ah.prototype.init=function(){rh&&"undefined"!==typeof Promise&&"undefined"!==typeof Map&&"undefined"!==typeof Set?(this.flags=null,this.fetchFlags(),this.trackedFeatures=new Set):nh.critical("Feature Flags unavailable: missing minimum required APIs")},ah.prototype.getFullConfig=function(){var e=this.getMpConfig(ih);return e?sl.isObject(e)?sl.extend({},sh,e):sh:{}},ah.prototype.getConfig=function(e){return this.getFullConfig()[e]},ah.prototype.isEnabled=function(){return!!this.getMpConfig(ih)},ah.prototype.areFeaturesReady=function(){return this.isEnabled()||nh.error("Feature Flags not enabled"),!!this.flags},ah.prototype.fetchFlags=function(){if(this.isEnabled()){var e=this.getDistinctId();nh.log("Fetching flags for distinct ID: "+e);var t={context:sl.extend({distinct_id:e},this.getConfig(oh))};this.fetchPromise=n.fetch(this.getMpConfig("api_host")+"/"+this.getMpConfig("api_routes").flags,{method:"POST",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),"Content-Type":"application/octet-stream"},body:JSON.stringify(t)}).then(function(e){return e.json().then(function(e){var t=e.flags;if(!t)throw new Error("No flags in API response");var r=new Map;sl.each(t,(function(e,t){r.set(t,{key:e.variant_key,data:e.variant_value})})),this.flags=r}.bind(this)).catch((function(e){nh.error(e)}))}.bind(this)).catch((function(){}))}},ah.prototype.getFeature=function(e,t){return this.fetchPromise?this.fetchPromise.then(function(){return this.getFeatureSync(e,t)}.bind(this)).catch((function(e){return nh.error(e),t})):new Promise((function(e){nh.critical("Feature Flags not initialized"),e(t)}))},ah.prototype.getFeatureSync=function(e,t){if(!this.areFeaturesReady())return nh.log("Flags not loaded yet"),t;var r=this.flags.get(e);return r?(this.trackFeatureCheck(e,r),r):(nh.log('No flag found: "'+e+'"'),t)},ah.prototype.getFeatureData=function(e,t){return this.getFeature(e,{data:t}).then((function(e){return e.data}
vendor: 9,129 bytes, line 4
4)).catch((function(e){return nh.error(e),t}))},ah.prototype.getFeatureDataSync=function(e,t){return this.getFeatureSync(e,{data:t}).data},ah.prototype.isFeatureEnabled=function(e,t){return this.getFeatureData(e).then(function(){return this.isFeatureEnabledSync(e,t)}.bind(this)).catch((function(e){return nh.error(e),t}))},ah.prototype.isFeatureEnabledSync=function(e,t){t=t||!1;var r=this.getFeatureDataSync(e,t);return!0!==r&&!1!==r&&(nh.error('Feature flag "'+e+'" value: '+r+" is not a boolean; returning fallback value: "+t),r=t),r},ah.prototype.trackFeatureCheck=function(e,t){this.trackedFeatures.has(e)||(this.trackedFeatures.add(e),this.track("$experiment_started",{"Experiment name":e,"Variant name":t.key,$experiment_type:"feature_flag"}))},pl(ah),ah.prototype.are_features_ready=ah.prototype.areFeaturesReady,ah.prototype.get_feature=ah.prototype.getFeature,ah.prototype.get_feature_data=ah.prototype.getFeatureData,ah.prototype.get_feature_data_sync=ah.prototype.getFeatureDataSync,ah.prototype.get_feature_sync=ah.prototype.getFeatureSync,ah.prototype.is_feature_enabled=ah.prototype.isFeatureEnabled,ah.prototype.is_feature_enabled_sync=ah.prototype.isFeatureEnabledSync;var uh=function(){};uh.prototype.create_properties=function(){},uh.prototype.event_handler=function(){},uh.prototype.after_track_handler=function(){},uh.prototype.init=function(e){return this.mp=e,this},uh.prototype.track=function(e,t,r,n){var i=this,o=sl.dom_query(e);if(0!==o.length)return sl.each(o,(function(e){sl.register_event(e,this.override_event,(function(e){var o={},s=i.create_properties(r,this),a=i.mp.get_config("track_links_timeout");i.event_handler(e,this,o),window.setTimeout(i.track_callback(n,s,o,!0),a),i.mp.track(t,s,i.track_callback(n,s,o))}))}),this),!0;al.error("The DOM query ("+e+") returned 0 elements")},uh.prototype.track_callback=function(e,t,r,n){n=n||!1;var i=this;return function(){r.callback_fired||(r.callback_fired=!0,e&&!1===e(n,t)||i.after_track_handler(t,r,n))}},uh.prototype.create_properties=function(e,t){return"function"===typeof e?e(t):sl.extend({},e)};var ch=function(){this.override_event="click"};sl.inherit(ch,uh),ch.prototype.create_properties=function(e,t){var r=ch.superclass.create_properties.apply(this,arguments);return t.href&&(r.url=t.href),r},ch.prototype.event_handler=function(e,t,r){r.new_tab=2===e.which||e.metaKey||e.ctrlKey||"_blank"===t.target,r.href=t.href,r.new_tab||e.preventDefault()},ch.prototype.after_track_handler=function(e,t){t.new_tab||setTimeout((function(){window.location=t.href}),0)};var lh=function(){this.override_event="submit"};sl.inherit(lh,uh),lh.prototype.event_handler=function(e,t,r){r.element=t,e.preventDefault()},lh.prototype.after_track_handler=function(e,t){setTimeout((function(){t.element.submit()}),0)};var ph="$set",hh="$set_once",fh="$unset",dh="$add",mh="$append",gh="$union",vh="$remove",yh={set_action:function(e,t){var r={},n={};return sl.isObject(e)?sl.each(e,(function(e,t){this._is_reserved_property(t)||(n[t]=e)}),this):n[e]=t,r[ph]=n,r},unset_action:function(e){var t={},r=[];return sl.isArray(e)||(e=[e]),sl.each(e,(function(e){this._is_reserved_property(e)||r.push(e)}),this),t[fh]=r,t},set_once_action:function(e,t){var r={},n={};return sl.isObject(e)?sl.each(e,(function(e,t){this._is_reserved_property(t)||(n[t]=e)}),this):n[e]=t,r[hh]=n,r},union_action:function(e,t){var r={},n={};return sl.isObject(e)?sl.each(e,(function(e,t){this._is_reserved_property(t)||(n[t]=sl.isArray(e)?e:[e])}),this):n[e]=sl.isArray(t)?t:[t],r[gh]=n,r},append_action:function(e,t){var r={},n={};return sl.isObject(e)?sl.each(e,(function(e,t){this._is_reserved_property(t)||(n[t]=e)}),this):n[e]=t,r[mh]=n,r},remove_action:function(e,t){var r={},n={};return sl.isObject(e)?sl.each(e,(function(e,t){this._is_reserved_property(t)||(n[t]=e)}),this):n[e]=t,r[vh]=n,r},delete_action:function(){var e={$delete:""};return e}},_h=function(){};sl.extend(_h.prototype,yh),_h.prototype._init=function(e,t,r){this._mixpanel=e,this._group_key=t,this._group_id=r},_h.prototype.set=Ul((function(e,t,r){var n=this.set_action(e,t);return sl.isObject(e)&&(r=t),this._send_request(n,r)})),_h.prototype.set_once=Ul((function(e,t,r){var n=this.set_once_action(e,t);return sl.isObject(e)&&(r=t),this._send_request(n,r)})),_h.prototype.unset=Ul((function(e,t){var r=this.unset_action(e);return this._send_request(r,t)})),_h.prototype.union=Ul((function(e,t,r){sl.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)})),_h.prototype.delete=Ul((function(e){var t=this.delete_action();return this._send_request(t,e)})),_h.prototype.remove=Ul((function(e,t,r){var n=this.remove_action(e,t);return this._send_request(n,r)})),_h.prototype._send_request=function(e,t){e.$group_key=this._group_key,e.$group_id=this._group_id,e.$token=this._get_config("token");var r=sl.encodeDates(e);return this._mixpanel._track_or_batch({type:"groups",data:r,endpoint:this._get_config("api_host")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},t)},_h.prototype._is_reserved_property=function(e){return"$group_key"===e||"$group_id"===e},_h.prototype._get_config=function(e){return this._mixpanel.get_config(e)},_h.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},_h.prototype.remove=_h.prototype.remove,_h.prototype.set=_h.prototype.set,_h.prototype.set_once=_h.prototype.set_once,_h.prototype.union=_h.prototype.union,_h.prototype.unset=_h.prototype.unset,_h.prototype.toString=_h.prototype.toString;var bh=function(){};sl.extend(bh.prototype,yh),bh.prototype._init=function(e){this._mixpanel=e},bh.prototype.set=Fl((function(e,t,r){var n=this.set_action(e,t);return sl.isObject(e)&&(r=t),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),n[ph]=sl.extend({},sl.info.people_properties(),n[ph]),this._send_request(n,r)})),bh.prototype.set_once=Fl((function(e,t,r){var n=this.set_once_action(e,t);return sl.isObject(e)&&(r=t),this._send_request(n,r)})),bh.prototype.unset=Fl((function(e,t){var r=this.unset_action(e);return this._send_request(r,t)})),bh.prototype.increment=Fl((function(e,t,r){var n={},i={};return sl.isObject(e)?(sl.each(e,(function(e,t){if(!this._is_reserved_property(t)){if(isNaN(parseFloat(e)))return void al.error("Invalid increment value passed to mixpanel.people.increment - must be a number");i[t]=e}}),this),r=t):(sl.isUndefined(t)&&(t=1),i[e]=t),n[dh]=i,this._send_request(n,r)})),bh.prototype.append=Fl((function(e,t,r){sl.isObject(e)&&(r=t);var n=this.append_action(e,t);return this._send_request(n,r)})),bh.prototype.remove=Fl((function(e,t,r){sl.isObject(e)&&(r=t);var n=this.remove_action(e,t);return this._send_request(n,r)})),bh.prototype.union=Fl((function(e,t,r){sl.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)})),bh.prototype.track_charge=Fl((function(e,t,r){if(sl.isNumber(e)||(e=parseFloat(e),!isNaN(e)))return this.append("$transactions",sl.extend({$amount:e},t),r);al.error("Invalid value passed to mixpanel.people.track_charge - must be a number")})),bh.prototype.clear_charges=function(e){return this.set("$transactions",[],e)},bh.prototype.delete_user=function(){if(this._identify_called()){var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)}al.error("mixpanel.people.delete_user() requires you to call identify() first")},bh.prototype.toString=function(){return this._mixpanel.toString()+".people"},bh.prototype._send_request=function(e,t){e.$token=this._get_config("token"),e.$distinct_id=this._mixpanel.get_distinct_id();var r=this._mixpanel.get_property("$device_id"),n=this._mixpanel.get_property("$user_id"),i=this._mixpanel.get_property("$had_persisted_distinct_id");r&&(e.$device_id=r),n&&(e.$user_id=n),i&&(e.$had_persisted_distinct_id=i);var o=sl.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:o,endpoint:this._get_config("api_host")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},t):(this._enqueue(e),sl.isUndefined(t)||(this._get_config("verbose")?t({status:-1,error:null}):t(-1)),sl.truncate(o,255))},bh.prototype._get_config=function(e){return this._mixpanel.get_config(e)},bh.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},bh.prototype._enqueue=function(e){ph in e?this._mixpanel.persistence._add_to_people_queue(ph,e):hh in e?this._mixpanel.persistence._add_to_people_queue(hh,e):fh in e?this._mixpanel.persistence._add_to_people_queue(fh,e):dh in e?this._mixpanel.persistence._add_to_people_queue(dh,e):mh in e?this._mixpanel.persistence._add_to_people_queue(mh,e):vh in e?this._mixpanel.persistence._add_to_people_queue(vh,e):gh in e?this._mixpanel.persistence._add_to_people_queue(gh,e):al.error("Invalid call to _enqueue():",e)},bh.prototype._flush_one_queue=function(e,t,r,n){var i=this,o=sl.extend({},this._mixpanel.persistence.load_queue(e)),s=o;sl.isUndefined(o)||!sl.isObject(o)||sl.isEmptyObject(o)||(i._mixpanel.persistence._pop_from_people_queue(e,o),i._mi
4xpanel.persistence.save(),n&&(s=n(o)),t.call(i,s,(function(t,n){0===t&&i._mixpanel.persistence._add_to_people_queue(e,o),sl.isUndefined(r)||r(t,n)})))},bh.prototype._flush=function(e,t,r,n,i,o,s){var a=this;this._flush_one_queue(ph,this.set,e),this._flush_one_queue(hh,this.set_once,n),this._flush_one_queue(fh,this.unset,o,(function(e){return sl.keys(e)})),this._flush_one_queue(dh,this.increment,t),this._flush_one_queue(gh,this.union,i);var u=this._mixpanel.persistence.load_queue(mh);if(!sl.isUndefined(u)&&sl.isArray(u)&&u.length)for(var c,l=function(e,t){0===e&&a._mixpanel.persistence._add_to_people_queue(mh,c),sl.isUndefined(r)||r(e,t)},p=u.length-1;p>=0;p--)u=this._mixpanel.persistence.load_queue(mh),c=u.pop(),a._mixpanel.persistence.save(),sl.isEmptyObject(c)||a.append(c,l);var h=this._mixpanel.persistence.load_queue(vh);if(!sl.isUndefined(h)&&sl.isArray(h)&&h.length)for(var f,d=function(e,t){0===e&&a._mixpanel.persistence._add_to_people_queue(vh,f),sl.isUndefined(s)||s(e,t)},m=h.length-1;m>=0;m--)h=this._mixpanel.persistence.load_queue(vh),f=h.pop(),a._mixpanel.persistence.save(),sl.isEmptyObject(f)||a.remove(f,d)},bh.prototype._is_reserved_property=function(e){return"$distinct_id"===e||"$token"===e||"$device_id"===e||"$user_id"===e||"$had_persisted_distinct_id"===e},bh.prototype.set=bh.prototype.set,bh.prototype.set_once=bh.prototype.set_once,bh.prototype.unset=bh.prototype.unset,bh.prototype.increment=bh.prototype.increment,bh.prototype.append=bh.prototype.append,bh.prototype.remove=bh.prototype.remove,bh.prototype.union=bh.prototype.union,bh.prototype.track_charge=bh.prototype.track_charge,bh.prototype.clear_charges=bh.prototype.clear_charges,bh.prototype.delete_user=bh.prototype.delete_user,bh.prototype.toString=bh.prototype.toString;var wh,Sh="__mps",kh="__mpso",Ch="__mpus",Ih="__mpa",xh="__mpap",Eh="__mpr",Ah="__mpu",Oh="$people_distinct_id",Rh="__alias",Mh="__timers",Th=[Sh,kh,Ch,Ih,xh,Eh,Ah,Oh,Rh,Mh],Ph=function(e){this.props={},this.campaign_params_saved=!1,e.persistence_name?this.name="mp_"+e.persistence_name:this.name="mp_"+e.token+"_mixpanel";var t=e.persistence;"cookie"!==t&&"localStorage"!==t&&(al.critical("Unknown persistence type "+t+"; falling back to cookie"),t=e.persistence="cookie"),"localStorage"===t&&sl.localStorage.is_supported()?this.storage=sl.localStorage:this.storage=sl.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};Ph.prototype.properties=function(){var e={};return this.load(),sl.each(this.props,(function(t,r){sl.include(Th,r)||(e[r]=t)})),e},Ph.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=sl.extend({},e))}},Ph.prototype.upgrade=function(){var e,t;this.storage===sl.localStorage?(e=sl.cookie.parse(this.name),sl.cookie.remove(this.name),sl.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===sl.cookie&&(t=sl.localStorage.parse(this.name),sl.localStorage.remove(this.name),t&&this.register_once(t))},Ph.prototype.save=function(){this.disabled||this.storage.set(this.name,xl(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},Ph.prototype.load_prop=function(e){return this.load(),this.props[e]},Ph.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},Ph.prototype.clear=function(){this.remove(),this.props={}},Ph.prototype.register_once=function(e,t,r){return!!sl.isObject(e)&&("undefined"===typeof t&&(t="None"),this.expire_days="undefined"===typeof r?this.default_expiry:r,this.load(),sl.each(e,(function(e,r){this.props.hasOwnProperty(r)&&this.props[r]!==t||(this.props[r]=e)}),this),this.save(),!0)},Ph.prototype.register=function(e,t){return!!sl.isObject(e)&&(this.expire_days="undefined"===typeof t?this.default_expiry:t,this.load(),sl.extend(this.props,e),this.save(),!0)},Ph.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())},Ph.prototype.update_search_keyword=function(e){this.register(sl.info.searchInfo(e))},Ph.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:sl.info.referringDomain(e)||"$direct"},"")},Ph.prototype.get_referrer_info=function(){return sl.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},Ph.prototype.update_config=function(e){this.default_expiry=this.expire_days=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cookie_domain(e.cookie_domain),this.set_cross_site(e.cross_site_cookie),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie)},Ph.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()},Ph.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())},Ph.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())},Ph.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())},Ph.prototype.get_cross_subdomain=function(){return this.cross_subdomain},Ph.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())},Ph.prototype._add_to_people_queue=function(e,t){var r=this._get_queue_key(e),n=t[e],i=this._get_or_create_queue(ph),o=this._get_or_create_queue(hh),s=this._get_or_create_queue(fh),a=this._get_or_create_queue(dh),u=this._get_or_create_queue(gh),c=this._get_or_create_queue(vh,[]),l=this._get_or_create_queue(mh,[]);r===Sh?(sl.extend(i,n),this._pop_from_people_queue(dh,n),this._pop_from_people_queue(gh,n),this._pop_from_people_queue(fh,n)):r===kh?(sl.each(n,(function(e,t){t in o||(o[t]=e)})),this._pop_from_people_queue(fh,n)):r===Ch?sl.each(n,(function(e){sl.each([i,o,a,u],(function(t){e in t&&delete t[e]})),sl.each(l,(function(t){e in t&&delete t[e]})),s[e]=!0})):r===Ih?(sl.each(n,(function(e,t){t in i?i[t]+=e:(t in a||(a[t]=0),a[t]+=e)}),this),this._pop_from_people_queue(fh,n)):r===Ah?(sl.each(n,(function(e,t){sl.isArray(e)&&(t in u||(u[t]=[]),sl.each(e,(function(e){sl.include(u[t],e)||u[t].push(e)})))}
4)),this._pop_from_people_queue(fh,n)):r===Eh?(c.push(n),this._pop_from_people_queue(mh,n)):r===xh&&(l.push(n),this._pop_from_people_queue(fh,n)),al.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),al.log(t),this.save()},Ph.prototype._pop_from_people_queue=function(e,t){var r=this.props[this._get_queue_key(e)];sl.isUndefined(r)||sl.each(t,(function(t,n){e===mh||e===vh?sl.each(r,(function(e){e[n]===t&&delete e[n]})):delete r[n]}),this)},Ph.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))},Ph.prototype._get_queue_key=function(e){return e===ph?Sh:e===hh?kh:e===fh?Ch:e===dh?Ih:e===mh?xh:e===vh?Eh:e===gh?Ah:void al.error("Invalid queue:",e)},Ph.prototype._get_or_create_queue=function(e,t){var r=this._get_queue_key(e);return t=sl.isUndefined(t)?{}:t,this.props[r]||(this.props[r]=t)},Ph.prototype.set_event_timer=function(e,t){var r=this.load_prop(Mh)||{};r[e]=t,this.props[Mh]=r,this.save()},Ph.prototype.remove_event_timer=function(e){var t=(this.load_prop(Mh)||{})[e];return sl.isUndefined(t)||(delete this.props[Mh][e],this.save()),t};var Nh,Dh=function(e,t){throw new Error(e+" not available in this build.")},Lh=function(e){return e},Fh="mixpanel",Uh="base64",Bh="$device:",jh=n.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,qh=!jh&&-1===Qc.indexOf("MSIE")&&-1===Qc.indexOf("Mozilla"),zh=null;Hc.sendBeacon&&(zh=function(){return Hc.sendBeacon.apply(Hc,arguments)});var Wh={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/"},Vh={api_host:"https://api-js.mixpanel.com",api_routes:Wh,api_method:"POST",api_transport:"XHR",api_payload_format:Uh,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:Il,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:Il,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video",record_canvas:!1,record_collect_fonts:!1,record_heatmap_data:!1,record_idle_timeout_ms:18e5,record_mask_text_class:new RegExp("^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$"),record_mask_text_selector:"*",record_max_ms:jc,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},$h=!1,Gh=function(){},Yh=function(e,t,r){var n,i=r===Fh?Nh:Nh[r];if(i&&0===wh)n=i;else{if(i&&!sl.isArray(i))return void al.error("You have already initialized "+r);n=new Gh}if(n._cached_groups={},n._init(e,t,r),n.people=new bh,n.people._init(n),!n.get_config("skip_first_touch_marketing")){var o=sl.info.campaignParams(null),s={},a=!1;sl.each(o,(function(e,t){s["initial_"+t]=e,e&&(a=!0)})),a&&n.people.set_once(s)}return Bc.DEBUG=Bc.DEBUG||n.get_config("debug"),!sl.isUndefined(i)&&sl.isArray(i)&&(n._execute_array.call(n.people,i.people),n._execute_array(i)),n};Gh.prototype.init=function(e,t,r){if(sl.isUndefined(r))this.report_error("You must name your new library: init(token, config, name)");else{if(r!==Fh){var n=Yh(e,t,r);return Nh[r]=n,n._loaded(),n}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},Gh.prototype._init=function(e,t,r){t=t||{},this.__loaded=!0,this.config={};var i={};"api_payload_format"in t||(t.api_host||Vh.api_host).match(/\.mixpanel\.com/)&&(i.api_payload_format="json");if(this.set_config(sl.extend({},Vh,i,t,{name:r,token:e,callback_fn:(r===Fh?r:Fh+"."+r)+"._jsc"})),this._jsc=Il,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests)if(sl.localStorage.is_supported(!0)&&jh){if(this.init_batchers(),zh&&n.addEventListener){var o=sl.bind((function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})}),this);n.addEventListener("pagehide",(function(e){e.persisted&&o()})),n.addEventListener("visibilitychange",(function(){"hidden"===Xc.visibilityState&&o()}))}}else this._batch_requests=!1,al.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),sl.each(this.get_batcher_configs(),(function(e){al.log("Clearing batch queue "+e.queue_key),sl.localStorage.remove(e.queue_key)}));this.persistence=this.cookie=new Ph(this.config),this.unpersisted_superprops={},this._gdpr_init();var s=sl.UUID();this.get_distinct_id()||this.register_once({distinct_id:Bh+s,$device_id:s},""),this.flags=new ah({getConfigFunc:sl.bind(this.get_config,this),getDistinctIdFunc:sl.bind(this.get_distinct_id,this),trackingFunc:sl.bind(this.track,this)}),this.flags.init(),this.flags=this.flags,this.autocapture=new th(this),this.autocapture.init(),this._init_tab_id(),this._check_and_start_session_recording()}
4,Gh.prototype._init_tab_id=function(){if(sl.sessionStorage.is_supported())try{var e=this.get_config("name")+"_"+this.get_config("token"),t="mp_tab_id_"+e,r="mp_gen_new_tab_id_"+e;!sl.sessionStorage.get(r)&&sl.sessionStorage.get(t)||sl.sessionStorage.set(t,"$tab-"+sl.UUID()),sl.sessionStorage.set(r,"1"),this.tab_id=sl.sessionStorage.get(t),n.addEventListener("beforeunload",(function(){sl.sessionStorage.remove(r)}))}catch(Qh){this.report_error("Error initializing tab id",Qh)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")},Gh.prototype.get_tab_id=function(){return this.tab_id||null},Gh.prototype._should_load_recorder=function(){var e=new Ml(Ol),t=this.get_tab_id();return e.init().then((function(){return e.getAll()})).then((function(e){for(var r=0;r<e.length;r++)if(ep(e[r])||e[r].tabId===t)return!0;return!1})).catch(sl.bind((function(e){this.report_error("Error checking recording registry",e)}),this))},Gh.prototype._check_and_start_session_recording=Ll((function(e){if(n.MutationObserver){var t=sl.bind((function(e){var t=sl.bind((function(){this._recorder=this._recorder||new n.__mp_recorder(this),this._recorder.resumeRecording(e)}),this);sl.isUndefined(n.__mp_recorder)?Dh(this.get_config("recorder_src"),t):t()}),this),r=this.get_config("record_sessions_percent")>0&&100*Math.random()<=this.get_config("record_sessions_percent");e||r?t(!0):this._should_load_recorder().then((function(e){e&&t(!1)}))}else al.critical("Browser does not support MutationObserver; skipping session recording")})),Gh.prototype.start_session_recording=function(){this._check_and_start_session_recording(!0)},Gh.prototype.stop_session_recording=function(){this._recorder&&this._recorder.stopRecording()},Gh.prototype.pause_session_recording=function(){this._recorder&&this._recorder.pauseRecording()},Gh.prototype.resume_session_recording=function(){this._recorder&&this._recorder.resumeRecording()},Gh.prototype.is_recording_heatmap_data=function(){return this._get_session_replay_id()&&this.get_config("record_heatmap_data")},Gh.prototype.get_session_recording_properties=function(){var e={},t=this._get_session_replay_id();return t&&(e.$mp_replay_id=t),e},Gh.prototype.get_session_replay_url=function(){var e=null,t=this._get_session_replay_id();t&&(e="https://mixpanel.com/projects/replay-redirect?"+sl.HTTPBuildQuery({replay_id:t,distinct_id:this.get_distinct_id(),token:this.get_config("token")}));return e},Gh.prototype._get_session_replay_id=function(){var e=null;return this._recorder&&(e=this._recorder.replayId),e||null},Gh.prototype.__get_recorder=function(){return this._recorder},Gh.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var e=sl.info.campaignParams(null);sl.each(e,function(e,t){this.unregister(t)}.bind(this))}},Gh.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(Xc.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(sl.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(Xc.referrer)},Gh.prototype._dom_loaded=function(){sl.each(this.__dom_loaded_queue,(function(e){this._track_dom.apply(this,e)}),this),this.has_opted_out_tracking()||sl.each(this.__request_queue,(function(e){this._send_request.apply(this,e)}),this),delete this.__dom_loaded_queue,delete this.__request_queue},Gh.prototype._track_dom=function(e,t){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!$h)return this.__dom_loaded_queue.push([e,t]),!1;var r=(new e).init(this);return r.track.apply(r,t)},Gh.prototype._prepare_callback=function(e,t){if(sl.isUndefined(e))return null;if(jh){return function(r){e(r,t)}}var r=this._jsc,n=""+Math.floor(1e8*Math.random()),i=this.get_config("callback_fn")+"["+n+"]";return r[n]=function(i){delete r[n],e(i,t)},i},Gh.prototype._send_request=function(e,t,r,n){var i=!0;if(qh)return this.__request_queue.push(arguments),i;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose
4:this.get_config("verbose")},s=null;n||!sl.isFunction(r)&&"string"!==typeof r||(n=r,r=null),r=sl.extend(o,r||{}),jh||(r.method="GET");var a="POST"===r.method,u=zh&&a&&"sendbeacon"===r.transport.toLowerCase(),c=r.verbose;t.verbose&&(c=!0),this.get_config("test")&&(t.test=1),c&&(t.verbose=1),this.get_config("img")&&(t.img=1),jh||(n?t.callback=n:(c||this.get_config("test"))&&(t.callback="(function(){})")),t.ip=this.get_config("ip")?1:0,t._=(new Date).getTime().toString(),a&&(s="data="+encodeURIComponent(t.data),delete t.data),e+="?"+sl.HTTPBuildQuery(t);var l=this;if("img"in t){var p=Xc.createElement("img");p.src=e,Xc.body.appendChild(p)}else if(u){try{i=zh(e,s)}catch(v){l.report_error(v),i=!1}try{n&&n(i?1:0)}catch(v){l.report_error(v)}}else if(jh)try{var h=new XMLHttpRequest;h.open(r.method,e,!0);var f=this.get_config("xhr_headers");if(a&&(f["Content-Type"]="application/x-www-form-urlencoded"),sl.each(f,(function(e,t){h.setRequestHeader(t,e)})),r.timeout_ms&&"undefined"!==typeof h.timeout){h.timeout=r.timeout_ms;var d=(new Date).getTime()}h.withCredentials=!0,h.onreadystatechange=function(){var e;if(4===h.readyState)if(200===h.status){if(n)if(c){var t;try{t=sl.JSONDecode(h.responseText)}catch(v){if(l.report_error(v),!r.ignore_json_errors)return;t=h.responseText}n(t)}else n(Number(h.responseText))}else if(e=h.timeout&&!h.status&&(new Date).getTime()-d>=h.timeout?"timeout":"Bad HTTP status: "+h.status+" "+h.statusText,l.report_error(e),n)if(c){var i=h.responseHeaders||{};n({status:0,httpStatusCode:h.status,error:e,retryAfter:i["Retry-After"]})}else n(0)},h.send(s)}catch(v){l.report_error(v),i=!1}else{var m=Xc.createElement("script");m.type="text/javascript",m.async=!0,m.defer=!0,m.src=e;var g=Xc.getElementsByTagName("script")[0];g.parentNode.insertBefore(m,g)}return i},Gh.prototype._execute_array=function(e){var t,r=[],n=[],i=[];sl.each(e,(function(e){e&&(t=e[0],sl.isArray(t)?i.push(e):"function"===typeof e?e.call(this):sl.isArray(e)&&"alias"===t?r.push(e):sl.isArray(e)&&-1!==t.indexOf("track")&&"function"===typeof this[t]?i.push(e):n.push(e))}),this);var o=function(e,t){sl.each(e,(function(e){if(sl.isArray(e[0])){var r=t;sl.each(e,(function(e){r=r[e[0]].apply(r,e.slice(1))}))}else this[e[0]].apply(this,e.slice(1))}),t)};o(r,this),o(n,this),o(i,this)},Gh.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},Gh.prototype.get_batcher_configs=function(){var e="__mpq_"+this.get_config("token"),t=this.get_config("api_routes");return this._batcher_configs=this._batcher_configs||{events:{type:"events",endpoint:"/"+t.track,queue_key:e+"_ev"},people:{type:"people",endpoint:"/"+t.engage,queue_key:e+"_pp"},groups:{type:"groups",endpoint:"/"+t.groups,queue_key:e+"_gr"}},this._batcher_configs},Gh.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=sl.bind((function(e){return new Ql(e.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:sl.bind((function(t,r,n){this._send_request(this.get_config("api_host")+e.endpoint,this._encode_data_for_request(t),r,this._prepare_callback(n,t))}),this),beforeSendHook:sl.bind((function(t){return this._run_hook("before_send_"+e.type,t)}),this),stopAllBatchingFunc:sl.bind(this.stop_batch_senders,this),usePersistence:!0})}),this),t=this.get_batcher_configs();this.request_batchers={events:e(t.events),people:e(t.people),groups:e(t.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},Gh.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,sl.each(this.request_batchers,(function(e){e.start()})))},Gh.prototype.stop_batch_senders=function(){this._batch_requests=!1,sl.each(this.request_batchers,(function(e){e.stop(),e.clear()}))},Gh.prototype.push=function(e){this._execute_array([e])},Gh.prototype.disable=function(e){"undefined"===typeof e?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)},Gh.prototype._encode_data_for_request=function(e){var t=xl(e);
4return this.get_config("api_payload_format")===Uh&&(t=sl.base64Encode(t)),{data:t}},Gh.prototype._track_or_batch=function(e,t){var r=sl.truncate(e.data,255),n=e.endpoint,i=e.batcher,o=e.should_send_immediately,s=e.send_request_options||{};t=t||Il;var a=!0,u=sl.bind((function(){return s.skip_hooks||(r=this._run_hook("before_send_"+e.type,r)),r?(al.log("MIXPANEL REQUEST:"),al.log(r),this._send_request(n,this._encode_data_for_request(r),s,this._prepare_callback(t,r))):null}),this);return this._batch_requests&&!o?i.enqueue(r).then((function(e){e?t(1,r):u()})):a=u(),a&&r},Gh.prototype.track=Ll((function(e,t,r,n){n||"function"!==typeof r||(n=r,r=null);var i=(r=r||{}).transport;i&&(r.transport=i);var o=r.send_immediately;if("function"!==typeof n&&(n=Il),sl.isUndefined(e))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(e)){(t=sl.extend({},t)).token=this.get_config("token");var s=this.persistence.remove_event_timer(e);if(!sl.isUndefined(s)){var a=(new Date).getTime()-s;t.$duration=parseFloat((a/1e3).toFixed(3))}this._set_default_superprops();var u=this.get_config("track_marketing")?sl.info.marketingParams():{};t=sl.extend({},sl.info.properties({mp_loader:this.get_config("mp_loader")}),u,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),t);var c=this.get_config("property_blacklist");sl.isArray(c)?sl.each(c,(function(e){delete t[e]})):this.report_error("Invalid value for property_blacklist config: "+c);var l={event:e,properties:t};return this._track_or_batch({type:"events",data:l,endpoint:this.get_config("api_host")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:o,send_request_options:r},n)}n(0)}})),Gh.prototype.set_group=Ll((function(e,t,r){sl.isArray(t)||(t=[t]);var n={};return n[e]=t,this.register(n),this.people.set(e,t,r)})),Gh.prototype.add_group=Ll((function(e,t,r){var n=this.get_property(e),i={};return void 0===n?(i[e]=[t],this.register(i)):-1===n.indexOf(t)&&(n.push(t),i[e]=n,this.register(i)),this.people.union(e,t,r)})),Gh.prototype.remove_group=Ll((function(e,t,r){var n=this.get_property(e);if(void 0!==n){var i=n.indexOf(t);i>-1&&(n.splice(i,1),this.register({group_key:n})),0===n.length&&this.unregister(e)}return this.people.remove(e,t,r)})),Gh.prototype.track_with_groups=Ll((function(e,t,r,n){var i=sl.extend({},t||{});return sl.each(r,(function(e,t){null!==e&&void 0!==e&&(i[t]=e)})),this.track(e,i,n)})),Gh.prototype._create_map_key=function(e,t){return e+"_"+JSON.stringify(t)},Gh.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]},Gh.prototype.get_group=function(e,t){var r=this._create_map_key(e,t),n=this._cached_groups[r];return void 0!==n&&n._group_key===e&&n._group_id===t||((n=new _h)._init(this,e,t),this._cached_groups[r]=n),n},Gh.prototype.track_pageview=Ll((function(e,t){"object"!==typeof e&&(e={});var r=(t=t||{}).event_name||"$mp_web_page_view",n=sl.extend(sl.info.mpPageViewProperties(),sl.info.campaignParams(),sl.info.clickParams()),i=sl.extend({},n,e);return this.track(r,i)})),Gh.prototype.track_links=function(){return this._track_dom.call(this,ch,arguments)},Gh.prototype.track_forms=function(){return this._track_dom.call(this,lh,arguments)},Gh.prototype.time_event=function(e){sl.isUndefined(e)?this.report_error("No event name provided to mixpanel.time_event"):this._event_is_disabled(e)||this.persistence.set_event_timer(e,(new Date).getTime())};var Zh={persistent:!0},Hh=function(e){var t;return t=sl.isObject(e)?e:sl.isUndefined(e)?{}:{days:e},sl.extend({},Zh,t)};Gh.prototype.register=function(e,t){var r=Hh(t);r.persistent?this.persistence.register(e,r.days):sl.extend(this.unpersisted_superprops,e)},Gh.prototype.register_once=function(e,t,r){var n=Hh(r);n.persistent?this.persistence.register_once(e,t,n.days):("undefined"===typeof t&&(t="None"),sl.each(e,(function(e,r){this.unpersisted_superprops.hasOwnProperty(r)&&this.unpersisted_superprops[r]!==t||(this.unpersisted_superprops[r]=e)}),this))},Gh.prototype.unregister=function(e,t){(t=Hh(t)).persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e]},Gh.prototype._register_single=function(e,t){var r={};r[e]=t,this.register(r)},Gh.prototype.identify=function(e,t,r,n,i,o,s,a){var u=this.get_distinct_id();if(e&&u!==e){if("string"===typeof e&&0===e.indexOf(Bh))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:e})}if(!this.get_property("$device_id")){var c=u;this.register_once({$had_persisted_distinct_id:!0,$device_id:c},"")}e!==u&&e!==this.get_property(Rh)&&(this.unregister(Rh),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(t,r,n,i,o,s,a),e!==u&&this.track("$identify",{distinct_id:e,$anon_distinct_id:u},{skip_hooks:!0}),e!==u&&this.flags.fetchFlags()},Gh.prototype.reset=function(){this.persistence.clear(),this._flags.identify_called=!1;var e=sl.UUID();this.register_once({distinct_id:Bh+e,$device_id:e},"")},Gh.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},Gh.prototype.alias=function(e,t){if(e===this.get_property(Oh))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var r=this;return sl.isUndefined(t)&&(t=this.get_distinct_id()),e!==t?(this._register_single(Rh,e),this.track("$create_alias",{alias:e,distinct_id:t},{skip_hooks:!0},(function(){r.identify(e)}))):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(e),-1)},Gh.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)},Gh.prototype.set_config=function(e){sl.isObject(e)&&(sl.extend(this.config,e),e.batch_size&&sl.each(this.request_batchers,(function(e){e.resetBatchSize()})),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),Bc.DEBUG=Bc.DEBUG||this.get_config("debug"),("autocapture"in e||"record_heatmap_data"in e)&&this.autocapture&&this.autocapture.init())},Gh.prototype.get_config=function(e){return this.config[e]},Gh.prototype._run_hook=function(e){var t=(this.config.hooks[e]||Lh).apply(this,$c.call(arguments,1
4));return"undefined"===typeof t&&(this.report_error(e+" hook did not return a value"),t=null),t},Gh.prototype.get_property=function(e){return this.persistence.load_prop([e])},Gh.prototype.toString=function(){var e=this.get_config("name");return e!==Fh&&(e=Fh+"."+e),e},Gh.prototype._event_is_disabled=function(e){return sl.isBlockedUA(Qc)||this._flags.disable_all_events||sl.include(this.__disabled_events,e)},Gh.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&sl.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")&&!sl.cookie.get("mp_optout")||(sl.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},Gh.prototype._gdpr_update_persistence=function(e){var t;if(e&&e.clear_persistence)t=!0;else{if(!e||!e.enable_persistence)return;t=!1}this.get_config("disable_persistence")||this.persistence.disabled===t||this.persistence.set_disabled(t),t?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()},Gh.prototype._gdpr_call_func=function(e,t){return t=sl.extend({track:sl.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},t),sl.localStorage.is_supported()||(t.persistence_type="cookie"),e(this.get_config("token"),{track:t.track,trackEventName:t.track_event_name,trackProperties:t.track_properties,persistenceType:t.persistence_type,persistencePrefix:t.cookie_prefix,cookieDomain:t.cookie_domain,cookieExpiration:t.cookie_expiration,crossSiteCookie:t.cross_site_cookie,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie,ignoreDnt:t.ignore_dnt})},Gh.prototype.opt_in_tracking=function(e){e=sl.extend({enable_persistence:!0},e),this._gdpr_call_func(Tl,e),this._gdpr_update_persistence(e)},Gh.prototype.opt_out_tracking=function(e){(e=sl.extend({clear_persistence:!0,delete_user:!0},e)).delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(Pl,e),this._gdpr_update_persistence(e)},Gh.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(Nl,e)},Gh.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(Dl,e)},Gh.prototype.clear_opt_in_out_tracking=function(e){e=sl.extend({enable_persistence:!0},e),this._gdpr_call_func(Bl,e),this._gdpr_update_persistence(e)},Gh.prototype.report_error=function(e,t){al.error.apply(al.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.get_config("error_reporter")(e,t)}catch(t){al.error(t)}},Gh.prototype.init=Gh.prototype.init,Gh.prototype.reset=Gh.prototype.reset,Gh.prototype.disable=Gh.prototype.disable,Gh.prototype.time_event=Gh.prototype.time_event,Gh.prototype.track=Gh.prototype.track,Gh.prototype.track_links=Gh.prototype.track_links,Gh.prototype.track_forms=Gh.prototype.track_forms,Gh.prototype.track_pageview=Gh.prototype.track_pageview,Gh.prototype.register=Gh.prototype.register,Gh.prototype.register_once=Gh.prototype.register_once,Gh.prototype.unregister=Gh.prototype.unregister,Gh.prototype.identify=Gh.prototype.identify,Gh.prototype.alias=Gh.prototype.alias,Gh.prototype.name_tag=Gh.prototype.name_tag,Gh.prototype.set_config=Gh.prototype.set_config,Gh.prototype.get_config=Gh.prototype.get_config,Gh.prototype.get_property=Gh.prototype.get_property,Gh.prototype.get_distinct_id=Gh.prototype.get_distinct_id,Gh.prototype.toString=Gh.prototype.toString,Gh.prototype.opt_out_tracking=Gh.prototype.opt_out_tracking,Gh.prototype.opt_in_tracking=Gh.prototype.opt_in_tracking,Gh.prototype.has_opted_out_tracking=Gh.prototype.has_opted_out_tracking,Gh.prototype.has_opted_in_tracking=Gh.prototype.has_opted_in_tracking,Gh.prototype.clear_opt_in_out_tracking=Gh.prototype.clear_opt_in_out_tracking,Gh.prototype.get_group=Gh.prototype.get_group,Gh.prototype.set_group=Gh.prototype.set_group,Gh.prototype.add_group=Gh.prototype.add_group,Gh.prototype.remove_group=Gh.prototype.remove_group,Gh.prototype.track_with_groups=Gh.prototype.track_with_groups,Gh.prototype.start_batch_senders=Gh.prototype.start_batch_senders,Gh.prototype.stop_batch_senders=Gh.prototype.stop_batch_senders,Gh.prototype.start_session_recording=Gh.prototype.start_session_recording,Gh.prototype.stop_session_recording=Gh.prototype.stop_session_recording,Gh.prototype.pause_session_recording=Gh.prototype.pause_session_recording,Gh.prototype.resume_session_recording=Gh.prototype.resume_session_recording,Gh.prototype.get_session_recording_properties=Gh.prototype.get_session_recording_properties,Gh.prototype.get_session_replay_url=Gh.prototype.get_session_replay_url,Gh.prototype.get_tab_id=Gh.prototype.get_tab_id,Gh.prototype.DEFAULT_API_ROUTES=Wh,Gh.prototype.__get_recorder=Gh.prototype.__get_recorder,Ph.prototype.properties=Ph.prototype.properties,Ph.prototype.update_search_keyword=Ph.prototype.update_search_keyword,Ph.prototype.update_referrer_info=Ph.prototype.update_referrer_info,Ph.prototype.get_cross_subdomain=Ph.prototype.get_cross_subdomain,Ph.prototype.clear=Ph.prototype.clear;var Xh={},Jh=function(){Nh.init=function(e,t,r){if(r)return Nh[r]||(Nh[r]=Xh[r]=Yh(e,t,r),Nh[r]._loaded()),Nh[r];var i=Nh;
4Xh[Fh]?i=Xh[Fh]:e&&((i=Yh(e,t,Fh))._loaded(),Xh[Fh]=i),Nh=i,1===wh&&(n[Fh]=Nh),sl.each(Xh,(function(e,t){t!==Fh&&(Nh[t]=e)})),Nh._=sl}};var Kh=(Dh=function(e,t){t()},wh=0,Nh=new Gh,Jh(),Nh.init(),function(){function e(){e.done||(e.done=!0,$h=!0,qh=!1,sl.each(Xh,(function(e){e._dom_loaded()})))}if(Xc.addEventListener)"complete"===Xc.readyState?e():Xc.addEventListener("DOMContentLoaded",e,!1);else if(Xc.attachEvent){Xc.attachEvent("onreadystatechange",e);var t=!1;try{t=null===n.frameElement}catch(r){}Xc.documentElement.doScroll&&t&&function t(){try{Xc.documentElement.doScroll("left")}catch(r){return void setTimeout(t,1)}e()}()}sl.register_event(n,"load",e,!0)}(),Nh)},7784:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(5043);const i=e=>{const t=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,((e,t,r)=>r?r.toUpperCase():t.toLowerCase())))(e);return t.charAt(0).toUpperCase()+t.slice(1)},o=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(((e,t,r)=>Boolean(e)&&""!==e.trim()&&r.indexOf(e)===t)).join(" ").trim()};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const a=(0,n.forwardRef)(((e,t)=>{let{color:r="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:u,className:c="",children:l,iconNode:p,...h}=e;return(0,n.createElement)("svg",{ref:t,...s,width:i,height:i,stroke:r,strokeWidth:u?24*Number(a)/Number(i):a,className:o("lucide",c),...h},[...p.map((e=>{let[t,r]=e;return(0,n.createElement)(t,r)})),...Array.isArray(l)?l:[l]])})),u=(e,t)=>{const r=(0,n.forwardRef)(((r,s)=>{let{className:u,...c}=r;return(0,n.createElement)(a,{ref:s,iconNode:t,className:o(`lucide-${l=i(e),l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,u),...c});var l}));return r.displayName=i(e),r}}}]);
5//# sourceMappingURL=133.9f7e35c3.chunk.js.map
6//# debugId=04ae7e76-e5fd-555d-bb9d-bb50d68dbe59

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.