1(()=>{var e,t,r,n,i={7885(){(e=>{function t(){e.dataLayer.push(arguments)}e.fetch||document.write('<script src="/polyfills.js"><\/script>'),e._boot=JSON.parse(document.querySelector('script[type="application/json"]').textContent),e.dataLayer=e.dataLayer||[];const r=JSON.parse(localStorage.getItem("mg:consents"))?.["Google Tag Manager"]?"granted":"denied";t("consent","default",{ad_user_data:r,ad_personalization:r,ad_storage:r,analytics_storage:r,wait_for_update:2e3}),t("set","ads_data_redaction",!0);try{const r="mg:true_referrer",n=18e5,i=Date.now(),o=e=>{if(!e)return!1;try{return/^(.*\.)?marktguru\.(de|at)$/.test(new URL(e).hostname)}catch{return!1}},s=e=>{try{const t=new URL(e);return"http:"!==t.protocol&&"https:"!==t.protocol?null:t.origin}catch{return null}},a=e.document.referrer;if(a&&!o(a)){const t=s(a);t&&e.sessionStorage.setItem(r,JSON.stringify({val:t,ts:i}))}if(!a||o(a)){const o=e.sessionStorage.getItem(r);if(o){let s;try{s=JSON.parse(o)}catch{s=null}s&&s.val&&s.ts&&i-s.ts<n?(t("set","page_referrer",s.val),e.dataLayer.push({mg_true_referrer:s.val})):e.sessionStorage.removeItem(r)}}}catch{}})(window)},172(e,t,r){"use strict";r.d(t,{FK:()=>C,Ob:()=>$,Qv:()=>W,XX:()=>V,_3:()=>S,fF:()=>i,h:()=>w,n:()=>w,q6:()=>G,uA:()=>x,v2:()=>P});var n,i,o,s,a,c,u,l,h,p,f,d,g={},m=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function _(e,t){for(var r in t)e[r]=t[r];return e}function b(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function w(e,t,r){var i,o,s,a={};for(s in t)"key"==s?i=t[s]:"ref"==s?o=t[s]:a[s]=t[s];if(arguments.length>2&&(a.children=arguments.length>3?n.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===a[s]&&(a[s]=e.defaultProps[s]);return k(e,a,i,o,null)}function k(e,t,r,n,s){var a={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:s??++o,__i:-1,__u:0};return null==s&&null!=i.vnode&&i.vnode(a),a}function S(){return{current:null}}function C(e){return e.children}function x(e,t){this.props=e,this.context=t}function I(e,t){if(null==t)return e.__?I(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e)return r.__e;return"function"==typeof e.type?I(e):null}function O(e){var t,r;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e){e.__e=e.__c.base=r.__e;break}return O(e)}}function E(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!A.__r++||a!==i.debounceRendering)&&((a=i.debounceRendering)||c)(A)}function A(){var e,t,r,n,o,a,c,l;
vendor: 4,670 bytes, line 1
1for(s.sort(u);e=s.shift();)e.__d&&(t=s.length,n=void 0,a=(o=(r=e).__v).__e,c=[],l=[],r.__P&&((n=_({},o)).__v=o.__v+1,i.vnode&&i.vnode(n),U(r.__P,n,o,r.__n,r.__P.namespaceURI,32&o.__u?[a]:null,c,a??I(o),!!(32&o.__u),l),n.__v=o.__v,n.__.__k[n.__i]=n,B(c,n,l),n.__e!=a&&O(n)),s.length>t&&s.sort(u));A.__r=0}function M(e,t,r,n,i,o,s,a,c,u,l){var h,p,f,d,v,y,_=n&&n.__k||m,b=t.length;for(c=R(r,t,_,c,b),h=0;h<b;h++)null!=(f=r.__k[h])&&(p=-1===f.__i?g:_[f.__i]||g,f.__i=h,y=U(e,f,p,i,o,s,a,c,u,l),d=f.__e,f.ref&&p.ref!=f.ref&&(p.ref&&q(p.ref,null,f),l.push(f.ref,f.__c||d,f)),null==v&&null!=d&&(v=d),4&f.__u||p.__k===f.__k?c=T(f,c,e):"function"==typeof f.type&&void 0!==y?c=y:d&&(c=d.nextSibling),f.__u&=-7);return r.__e=v,c}function R(e,t,r,n,i){var o,s,a,c,u,l=r.length,h=l,p=0;for(e.__k=new Array(i),o=0;o<i;o++)null!=(s=t[o])&&"boolean"!=typeof s&&"function"!=typeof s?(c=o+p,(s=e.__k[o]="string"==typeof s||"number"==typeof s||"bigint"==typeof s||s.constructor==String?k(null,s,null,null,null):y(s)?k(C,{children:s},null,null,null):void 0===s.constructor&&s.__b>0?k(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):s).__=e,s.__b=e.__b+1,a=null,-1!==(u=s.__i=N(s,r,c,h))&&(h--,(a=r[u])&&(a.__u|=2)),null==a||null===a.__v?(-1==u&&p--,"function"!=typeof s.type&&(s.__u|=4)):u!=c&&(u==c-1?p--:u==c+1?p++:(u>c?p--:p++,s.__u|=4))):e.__k[o]=null;if(h)for(o=0;o<l;o++)null!=(a=r[o])&&!(2&a.__u)&&(a.__e==n&&(n=I(a)),z(a,a));return n}function T(e,t,r){var n,i;if("function"==typeof e.type){for(n=e.__k,i=0;n&&i<n.length;i++)n[i]&&(n[i].__=e,t=T(n[i],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=I(e)),r.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8==t.nodeType);return t}function P(e,t){return t=t||[],null==e||"boolean"==typeof e||(y(e)?e.some((function(e){P(e,t)})):t.push(e)),t}function N(e,t,r,n){var i,o,s=e.key,a=e.type,c=t[r];if(null===c||c&&s==c.key&&a===c.type&&!(2&c.__u))return r;if(n>(null==c||2&c.__u?0:1))for(i=r-1,o=r+1;i>=0||o<t.length;){if(i>=0){if((c=t[i])&&!(2&c.__u)&&s==c.key&&a===c.type)return i;i--}if(o<t.length){if((c=t[o])&&!(2&c.__u)&&s==c.key&&a===c.type)return o;o++}}return-1}function L(e,t,r){"-"==t[0]?e.setProperty(t,r??""):e[t]=null==r?"":"number"!=typeof r||v.test(t)?r:r+"px"}function F(e,t,r,n,i){var o;e:if("style"==t)if("string"==typeof r)e.style.cssText=r;else{if("string"==typeof n&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||L(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||L(e.style,t,r[t])}else if("o"==t[0]&&"n"==t[1])o=t!=(t=t.replace(l,"$1")),t=t.toLowerCase()in e||"onFocusOut"==t||"onFocusIn"==t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r.u=n.u:(r.u=h,e.addEventListener(t,o?f:p,o)):e.removeEventListener(t,o?f:p,o);else{if("http://www.w3.org/2000/svg"==i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=r??"";break e}catch(e){}"function"==typeof r||(null==r||!1===r&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==r?"":r))}}function D(e){return function(t){if(this.l){var r=this.l[t.type+e];if(null==t.t)t.t=h++;else if(t.t<r.u)return;return r(i.event?i.event(t):t)}}}function U(e,t,r,n,o,s,a,c,u,l){var h,p,f,d,g,m,v,w,k,S,I,O,E,A,R,T,P,N=t.type;if(void 0!==t.constructor)return null;128&r.__u&&(u=!!(32&r.__u),s=[c=t.__e=r.__e]),(h=i.__b)&&h(t);e:if("function"==typeof N)try{if(w=t.props,k="prototype"in N&&N.prototype.render,S=(h=N.contextType)&&n[h.__c],I=h?S?S.props.value:h.__:n,r.__c?v=(p=t.__c=r.__c).__=p.__E:(k?t.__c=p=new N(w,I):(t.__c=p=new x(w,I),p.constructor=N,p.render=H),S&&S.sub(p),p.props=w,p.state||(p.state={}),p.context=I,p.__n=n,f=p.__d=!0,p.__h=[],p._sb=[]),k&&null==p.__s&&(p.__s=p.state),k&&null!=N.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=_({},p.__s)),_(p.__s,N.getDerivedStateFromProps(w,p.__s))),d=p.props,g=p.state,p.__v=t,f)k&&null==N.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),k&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(k&&null==N.getDerivedStateFromProps&&w!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(w,I),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(w,p.__s,I)||t.__v==r.__v)){for(t.__v!=r.__v&&(p.props=w,p.state=p.__s,p.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some((function(e){e&&(e.__=t)})),O=0;O<p._sb.length;O++)p.__h.push(p._sb[O]);p._sb=[],p.__h.length&&a.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(w,p.__s,I),k&&null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(d,g,m)}))}
vendor: 4,982 bytes, line 1
1if(p.context=I,p.props=w,p.__P=e,p.__e=!1,E=i.__r,A=0,k){for(p.state=p.__s,p.__d=!1,E&&E(t),h=p.render(p.props,p.state,p.context),R=0;R<p._sb.length;R++)p.__h.push(p._sb[R]);p._sb=[]}else do{p.__d=!1,E&&E(t),h=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++A<25);p.state=p.__s,null!=p.getChildContext&&(n=_(_({},n),p.getChildContext())),k&&!f&&null!=p.getSnapshotBeforeUpdate&&(m=p.getSnapshotBeforeUpdate(d,g)),c=M(e,y(T=null!=h&&h.type===C&&null==h.key?h.props.children:h)?T:[T],t,r,n,o,s,a,c,u,l),p.base=t.__e,t.__u&=-161,p.__h.length&&a.push(p),v&&(p.__E=p.__=null)}catch(e){if(t.__v=null,u||null!=s)if(e.then){for(t.__u|=u?160:128;c&&8==c.nodeType&&c.nextSibling;)c=c.nextSibling;s[s.indexOf(c)]=null,t.__e=c}else for(P=s.length;P--;)b(s[P]);else t.__e=r.__e,t.__k=r.__k;i.__e(e,t,r)}else null==s&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):c=t.__e=j(r.__e,t,r,n,o,s,a,u,l);return(h=i.diffed)&&h(t),128&t.__u?void 0:c}function B(e,t,r){for(var n=0;n<r.length;n++)q(r[n],r[++n],r[++n]);i.__c&&i.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){i.__e(e,t.__v)}}))}function j(e,t,r,o,s,a,c,u,l){var h,p,f,d,m,v,_,w=r.props,k=t.props,S=t.type;if("svg"==S?s="http://www.w3.org/2000/svg":"math"==S?s="http://www.w3.org/1998/Math/MathML":s||(s="http://www.w3.org/1999/xhtml"),null!=a)for(h=0;h<a.length;h++)if((m=a[h])&&"setAttribute"in m==!!S&&(S?m.localName==S:3==m.nodeType)){e=m,a[h]=null;break}if(null==e){if(null==S)return document.createTextNode(k);e=document.createElementNS(s,S,k.is&&k),u&&(i.__m&&i.__m(t,a),u=!1),a=null}if(null===S)w===k||u&&e.data===k||(e.data=k);else{if(a=a&&n.call(e.childNodes),w=r.props||g,!u&&null!=a)for(w={},h=0;h<e.attributes.length;h++)w[(m=e.attributes[h]).name]=m.value;for(h in w)if(m=w[h],"children"==h);else if("dangerouslySetInnerHTML"==h)f=m;else if(!(h in k)){if("value"==h&&"defaultValue"in k||"checked"==h&&"defaultChecked"in k)continue;F(e,h,null,m,s)}for(h in k)m=k[h],"children"==h?d=m:"dangerouslySetInnerHTML"==h?p=m:"value"==h?v=m:"checked"==h?_=m:u&&"function"!=typeof m||w[h]===m||F(e,h,m,w[h],s);if(p)u||f&&(p.__html===f.__html||p.__html===e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(f&&(e.innerHTML=""),M(e,y(d)?d:[d],t,r,o,"foreignObject"==S?"http://www.w3.org/1999/xhtml":s,a,c,a?a[0]:r.__k&&I(r,0),u,l),null!=a)for(h=a.length;h--;)b(a[h]);u||(h="value","progress"==S&&null==v?e.removeAttribute("value"):void 0!==v&&(v!==e[h]||"progress"==S&&!v||"option"==S&&v!==w[h])&&F(e,h,v,w[h],s),h="checked",void 0!==_&&_!==e[h]&&F(e,h,_,w[h],s))}return e}function q(e,t,r){try{if("function"==typeof e){var n="function"==typeof e.__u;n&&e.__u(),n&&null==t||(e.__u=e(t))}else e.current=t}catch(e){i.__e(e,r)}}function z(e,t,r){var n,o;if(i.unmount&&i.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||q(n,null,t)),null!=(n=e.__c)){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(e){i.__e(e,t)}n.base=n.__P=null}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&z(n[o],t,r||"function"!=typeof e.type);r||b(e.__e),e.__c=e.__=e.__e=void 0}function H(e,t,r){return this.constructor(e,r)}function V(e,t,r){var o,s,a,c;t==document&&(t=document.documentElement),i.__&&i.__(e,t),s=(o="function"==typeof r)?null:r&&r.__k||t.__k,a=[],c=[],U(t,e=(!o&&r||t).__k=w(C,null,[e]),s||g,g,t.namespaceURI,!o&&r?[r]:s?null:t.firstChild?n.call(t.childNodes):null,a,!o&&r?r:s?s.__e:t.firstChild,o,c),B(a,e,c)}function W(e,t){V(e,t,W)}function $(e,t,r){var i,o,s,a,c=_({},e.props);for(s in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==s?i=t[s]:"ref"==s?o=t[s]:c[s]=void 0===t[s]&&void 0!==a?a[s]:t[s];return arguments.length>2&&(c.children=arguments.length>3?n.call(arguments,2):r),k(e.type,c,i||e.key,o||e.ref,null)}function G(e,t){var r={__c:t="__cC"+d++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var r,n;return this.getChildContext||(r=new Set,(n={})[t]=this,this.getChildContext=function(){return n},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&r.forEach((function(e){e.__e=!0,E(e)}))},this.sub=function(e){r.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){r&&r.delete(e),t&&t.call(e)}}),e.children}};return r.Provider.__=r.Consumer.contextType=r}n=m.slice,i={__e:function(e,t,r,n){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,n||{}),s=i.__d),s)return i.__E=i}catch(t){e=t}throw e}},o=0,x.prototype.setState=function(e,t){var r;r=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=_({},this.state),"function"==typeof e&&(e=e(_({},r),this.props)),e&&_(r,e),null!=e&&this.__v&&(t&&this._sb.push(t),E(this))},x.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),E(this))},x.prototype.render=C,s=[],c="function"==typeof Promise?Promise.prototype.then.bind(Prom
1ise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},A.__r=0,l=/(PointerCapture)$|Capture$/i,h=0,p=D(!1),f=D(!0),d=0},5994(e,t,r){"use strict";r.d(t,{Bi:()=>A,J0:()=>y,Kr:()=>C,MN:()=>O,Md:()=>E,NT:()=>I,Nf:()=>w,WO:()=>_,Yn:()=>S,hb:()=>x,li:()=>k,vJ:()=>b});var n,i,o,s,a=r(172),c=0,u=[],l=a.fF,h=l.__b,p=l.__r,f=l.diffed,d=l.__c,g=l.unmount,m=l.__;function v(e,t){l.__h&&l.__h(i,e,c||t),c=0;var r=i.__H||(i.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function y(e){return c=1,_(F,e)}function _(e,t,r){var o=v(n++,2);if(o.t=e,!o.__c&&(o.__=[r?r(t):F(void 0,t),function(e){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,e);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=i,!i.u)){var s=function(e,t,r){if(!o.__c.__H)return!0;var n=o.__c.__H.__.filter((function(e){return!!e.__c}));if(n.every((function(e){return!e.__N})))return!a||a.call(this,e,t,r);var i=o.__c.props!==e;return n.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}})),a&&a.call(this,e,t,r)||i};i.u=!0;var a=i.shouldComponentUpdate,c=i.componentWillUpdate;i.componentWillUpdate=function(e,t,r){if(this.__e){var n=a;a=void 0,s(e,t,r),a=n}c&&c.call(this,e,t,r)},i.shouldComponentUpdate=s}return o.__N||o.__}function b(e,t){var r=v(n++,3);!l.__s&&L(r.__H,t)&&(r.__=e,r.i=t,i.__H.__h.push(r))}function w(e,t){var r=v(n++,4);!l.__s&&L(r.__H,t)&&(r.__=e,r.i=t,i.__h.push(r))}function k(e){return c=5,C((function(){return{current:e}}),[])}function S(e,t,r){c=6,w((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==r?r:r.concat(e))}function C(e,t){var r=v(n++,7);return L(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function x(e,t){return c=8,C((function(){return e}),t)}function I(e){var t=i.context[e.__c],r=v(n++,9);return r.c=e,t?(null==r.__&&(r.__=!0,t.sub(i)),t.props.value):e.__}function O(e,t){l.useDebugValue&&l.useDebugValue(t?t(e):e)}function E(e){var t=v(n++,10),r=y();return t.__=e,i.componentDidCatch||(i.componentDidCatch=function(e,n){t.__&&t.__(e,n),r[1](e)}),[r[0],function(){r[1](void 0)}]}function A(){var e=v(n++,11);if(!e.__){for(var t=i.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function M(){for(var e;e=u.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(P),e.__H.__h.forEach(N),e.__H.__h=[]}catch(t){e.__H.__h=[],l.__e(t,e.__v)}}l.__b=function(e){i=null,h&&h(e)},l.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),m&&m(e,t)},l.__r=function(e){p&&p(e),n=0;var t=(i=e.__c).__H;t&&(o===i?(t.__h=[],i.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(P),t.__h.forEach(N),t.__h=[],n=0)),o=i},l.diffed=function(e){f&&f(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==u.push(t)&&s===l.requestAnimationFrame||((s=l.requestAnimationFrame)||T)(M)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),o=i=null},l.__c=function(e,t){t.some((function(e){try{e.__h.forEach(P),e.__h=e.__h.filter((function(e){return!e.__||N(e)}))}catch(r){t.some((function(e){e.__h&&(e.__h=[])})),t=[],l.__e(r,e.__v)}})),d&&d(e,t)},l.unmount=function(e){g&&g(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{P(e)}catch(e){t=e}})),r.__H=void 0,t&&l.__e(t,r.__v))};var R="function"==typeof requestAnimationFrame;function T(e){var t,r=function(){clearTimeout(n),R&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);R&&(t=requestAnimationFrame(r))}function P(e){var t=i,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),i=t}function N(e){var t=i;e.__c=e.__(),i=t}function L(e,t){return!e||e.length!==t.length||t.some((function(t,r){return t!==e[r]}))}function F(e,t){return"function"==typeof t?t(e):t}},4697(e,t,r){"use strict";r.d(t,{A:()=>o});var n=r(172),i=r(4277),o=function(e){var t=e.url,r=e.path,o=e.alt,s=e.className,a=void 0===s?"":s,c=e.target,u=e.width,l=e.height,h=e.instant,p=void 0!==h&&h,f=e.threshold;return(0,n.h)("a",{href:t,title:o,className:a,target:c,rel:"_blank"===c?"noopener noreferrer":""},(0,n.h)(i.o,{src:r,alt:"",width:u,height:l,instant:p,threshold:f}))}},8795(e,t,r){"use strict";r.d(t,{A:()=>m});var n=r(1635),i=r(172),o=r(7390),s=r(5994),a=1020,c=[{minScreen:[1620],size:[300,600]},{minScreen:[1260],size:[120,600]}],u={left:c,right:c,top:[{minScreen:[1260],size:[a,210]},{minScreen:[768],size:[768,90]},{minScreen:[0],size:[300,100]}],content:[{minScreen:[0],size:[320,480]}]},l=r(1807),h=r(356);var p="production",f="test",d=function(){function e(){var e,t,r;this.refresh=(e=function(e){var t=e.section;googletag.cmd.push((function(){googletag.pubads().clear(),googletag.pubads().setTargeting("section",t),googletag.pubads().refresh(null,{changeCorrelator:!0})}
1))},t=300,function(){for(var n=this,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];clearTimeout(r),r=setTimeout((function(){e.apply(n,i)}),t)})}return e.prototype.init=function(e){return(0,n.sH)(this,arguments,void 0,(function(e){var t=this,r=e.networkId,i=e.isTest;return(0,n.YH)(this,(function(e){switch(e.label){case 0:return r?this.networkId===r&&this.isTest===i?[2]:(globalThis.googletag=globalThis.googletag||{cmd:[]},this.networkId=r,this.isTest=i,googletag.cmd.push((function(){googletag.pubads().setTargeting("env",t.isTest?f:p),googletag.pubads().enableSingleRequest(),googletag.pubads().disableInitialLoad(),googletag.pubads().collapseEmptyDivs(),googletag.enableServices()})),[4,(0,h.f$)()]):[2,console.error("Google Ad Manager Network ID is required")];case 1:return e.sent(),(0,l.J)("https://securepubads.g.doubleclick.net/tag/js/gpt.js",{isAsync:!0}),[2]}}))}))},e.prototype.defineSlot=function(e,t,r){var n=this;googletag.cmd.push((function(){var i=googletag.defineSlot("/".concat(n.networkId,"/").concat("web"),r.map((function(e){return e.size})),e);if(i){i.addService(googletag.pubads()).setTargeting("position",t);var o=googletag.sizeMapping();r.forEach((function(e){var t=e.minScreen,r=t[0],n=t[1],i=void 0===n?0:n,s=e.size;o.addSize([r,i],s)})),o.addSize([0,0],[]),i.defineSizeMapping(o.build()),googletag.display(e)}}))},e.prototype.destroySlot=function(e){googletag.cmd.push((function(){var t=googletag.pubads().getSlots().find((function(t){return t.getSlotElementId()===e}));t&&googletag.destroySlots([t])}))},e}();const g=new d;const m=function(e,t){var r=e.position,a="ad-".concat(r),c=t.config,l=c.googleAdManagerNetworkId,h=c.environment,p=(0,o.rd)()[0].url,f=new URL(p,"http://localhost").pathname,d="/"===f?"/":null==f?void 0:f.split("/")[1];return(0,s.vJ)((function(){return(0,n.sH)(void 0,void 0,void 0,(function(){return(0,n.YH)(this,(function(e){switch(e.label){case 0:return[4,g.init({networkId:l,isTest:"test"===h})];case 1:return e.sent(),g.defineSlot(a,r,u[r]),d&&g.refresh({section:d}),[2]}}))})),function(){g.destroySlot(a)}}),[a,r,l,h]),(0,s.vJ)((function(){d&&g.refresh({section:d})}),[d]),(0,i.h)("div",{id:a,className:a})}},1578(e,t,r){"use strict";r.d(t,{X:()=>o});var n=r(172),i=r(4697),o=function(e,t){var r=e.size,o=e.instant,s=e.iosURL,a=e.androidURL,c=e.huaweiURL,u=e.hideHuawei,l=t.content.footer,h=l.ios,p=l.android,f=l.huawei,d=140,g=42;return(0,n.h)("div",{className:"app-download"},(0,n.h)(i.A,{url:s||h,path:"/assets/images/ios-app-store.svg",alt:"iOS App",className:"appstore",width:(null==r?void 0:r.width)||d,height:(null==r?void 0:r.height)||g,instant:o,threshold:0}),(0,n.h)(i.A,{url:a||p,path:"/assets/images/google-play-store.svg",alt:"Android App",className:"playstore",width:(null==r?void 0:r.width)||d,height:(null==r?void 0:r.height)||g,instant:o,threshold:0}),u?null:(0,n.h)(i.A,{url:c||f,path:"/assets/images/huawei-store.svg",alt:"Huawei App",className:"huaweistore",target:"_blank",width:(null==r?void 0:r.width)||d,height:(null==r?void 0:r.height)||g,instant:o,threshold:0}))}},346(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(172);const i=function(e){return(0,n.h)("svg",{xmlns:"http://www.w3.org/2000/svg",className:e.class,onClick:function(t){return e.onClick&&e.onClick(t)}},(0,n.h)("title",null,"Search"),(0,n.h)("g",{fill:"currentColor",fillRule:"evenodd"},(0,n.h)("path",{d:"M14.5 9.4a4.64 4.64 0 1 0 0 9.28 4.64 4.64 0 0 0 0-9.28z"}),(0,n.h)("path",{d:"M25.74 24.82l-5.5-6a7.51 7.51 0 1 0-1.48 1.35l5.5 6a1 1 0 0 0 1.48-1.34zM14.5 19.68a5.64 5.64 0 1 1 0-11.28 5.64 5.64 0 0 1 0 11.28z"})))};r.dn(i)},8605(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(172);const i=function(e){var t=e.className;return(0,n.h)("svg",{className:t,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},(0,n.h)("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 17a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7m7.5-3.5a7.5 7.5 0 1 0-13.68 4.25l4.87 7.82a.98.98 0 0 0 1.57.07l5.94-7.91a7.46 7.46 0 0 0 1.3-4.23"}))};r.dn(i)},2595(e,t,r){"use strict";r.d(t,{A:()=>o});var n=r(1635),i=r(172);const o=function(e){var t=(0,n.Tt)(e,[]);return(0,i.h)("svg",(0,n.Cl)({},t,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 208 139"}),(0,i.h)("g",{fill:"currentColor",fillRule:"evenodd"},(0,i.h)("path",{d:"M98.8 48.2c0-.1 0-.3.3-.3h.3c.2 0 .3.1.3.2l4.2 9 4.3-9s.1-.2.3-.2h.3c.2 0 .3.2.3.3l2.3 12.9c0 .3-.1.4-.4.4h-1.7c-.2 0-.3-.1-.4-.3l-1-7.2h-.1l-3.4 7.5c0 .1-.1.2-.3.2h-.3c-.2 0-.3 0-.4-.2l-3.3-7.5-1.2 7.2a.4.4 0 0 1-.3.3h-1.8c-.2 0-.4-.1-.3-.4l2.3-12.9M113.4 61l6-12.8c0-.2 0-.3.2-.3h.2c.2 0 .3.1.4.3L126 61c.1.3 0 .5-.3.5H124c-.2 0-.4 0-.5-.4l-1-2H117l-1 2a.6.6 0 0 1-.5.4h-1.7c-.3 0-.4-.2-.3-.5m8.2-4l-1.9-4.3-2 4.3h4m6.4-8.5c0-.2.2-.4.4-.4h5.4c2.3 0 4.2 1.9 4.2 4.2 0 1.7-1.2 3.1-2.8 3.8l2.6 4.9c.1.2 0 .5-.3.5h-2a.3.3 0 0 1-.3-.1l-2.6-5.1h-2v4.9c0 .2-.3.3-.5.3h-1.7a.4.4 0 0 1-.4-.3V48.5zm5.6 5.7a2 2 0 0 0 2-2c0-1-1-1.8-2-1.8h-3v3.8h3zm7.1-5.6c0-.3.2-.5.5-.5h1.6c.3 0 .5.2.5.5v5.2l4.8-5.5a.5.5 0 0 1 .4-.2h1.9c.3 0 .5.4.3.7l-5 5.6 5.3 6.5a.4.4 0 0 1-.3.6h-2l-.4-.1-5-6.2v5.9a.5.5 0 0 1-.5.4h-1.6a.5.5 0 0 1-.5-.4V48.6m15 1.8H153a.4.4 0 0 1-.3-.3v-1.6c0-.2.1-.4.3-.4h8.3c.2 0 .4.2.4.4v
11.6c0 .2-.1.3-.4.3h-2.9v10.8a.4.4 0 0 1-.3.3h-1.8a.4.4 0 0 1-.4-.3V50.4m-45.6 14.9c3.8 0 7.5 1.5 10.5 4 .3.3.3.9 0 1.2l-2.7 2.8c-.3.4-.7.4-1 0a9.7 9.7 0 0 0-6.6-2.5 9.9 9.9 0 0 0-9.6 10c0 5.3 4.3 9.9 9.7 9.9 2.4 0 4.2-.8 5-1.1v-5.1h-3.3c-.5 0-.9-.4-.9-.8v-3.4c0-.5.4-.8.9-.8h8.2c.4 0 .8.4.8.8v12.5a.8.8 0 0 1-.4.7s-4.4 2.8-10.6 2.8c-8.6 0-15.4-6.8-15.4-15.5 0-8.6 6.8-15.5 15.4-15.5m16.5 1.3c0-.4.4-.8.9-.8h4c.5 0 .8.4.8.8v17.6c0 3.6 2.5 6.5 6.3 6.5 3.7 0 6.2-2.9 6.2-6.5V66.6c0-.4.4-.8.9-.8h4c.5 0 .8.4.8.8v17.9c0 6.5-5.1 11.8-12 11.8-6.7 0-11.9-5.3-11.9-11.8V66.6m29.6 0c0-.5.3-.9.8-.9h12.2c5.2 0 9.4 4.2 9.4 9.3 0 4-2.6 7.2-6.3 8.7l5.8 11c.3.5 0 1.2-.7 1.2H173a.7.7 0 0 1-.7-.4l-5.7-11.4h-4.8v11c0 .4-.3.8-.8.8h-4a.8.8 0 0 1-.7-.8V66.5zm12.6 12.9c2.3 0 4.2-2 4.2-4.4 0-2.3-2-4.2-4.2-4.2h-7v8.6h7zm14.9-12.9c0-.4.3-.8.8-.8h4c.5 0 .9.4.9.8v17.6c0 3.6 2.5 6.5 6.2 6.5s6.3-2.9 6.3-6.5V66.6c0-.4.3-.8.8-.8h4c.5 0 .9.4.9.8v17.9c0 6.5-5.2 11.8-12 11.8-6.7 0-12-5.3-12-11.8V66.6M32 64.8h-.4-.3c-3.2.2-5 3-4.9 5.2a.2.2 0 0 0 .2.2h1.8a.2.2 0 0 0 .2-.2c.4-1.9 1.4-3 3-3h.1c1.6 0 2.6 1.1 3 3 0 0 0 .2.2.2h1.8a.2.2 0 0 0 .2-.2c0-2.1-1.7-5-5-5.2m18.5 0H50h-.2c-3.2.2-5 3-4.9 5.2a.2.2 0 0 0 .2.2h1.8a.2.2 0 0 0 .2-.2c.3-1.9 1.4-3 3-3s2.7 1.1 3 3c0 0 .1.2.3.2H55a.2.2 0 0 0 .2-.2c0-2.1-1.6-5-4.9-5.2"}),(0,i.h)("path",{d:"M19.3 37.3zM67 9.9a40 40 0 0 0-55 2.4 41 41 0 0 0-11.8 28 41 41 0 0 0 3 17.3h.1c0 .1 0 .2.2.2l.1-.1a.3.3 0 0 0 0-.1c1.7-4.7 4-8.8 7.1-12.5a40.2 40.2 0 0 1 8.4-7.7c.1 0 .2 0 .3.2a.3.3 0 0 1 0 .3v.1a40.7 40.7 0 0 0-5.3 6.1C10 50.1 7.6 56.7 6.8 64c0 .3 0 .6.2.8A41.1 41.1 0 0 0 19.5 77h.2a.3.3 0 0 0 .2-.3 9.2 9.2 0 0 1-1-7.3 10 10 0 0 1 2.7-4.7c3.8-3.8 7.5-7.8 11-12A205.3 205.3 0 0 0 55 19.8l-.1.2a.4.4 0 0 1 .5-.2l.2.3C52.6 29 48.5 37.5 44 45.7a.5.5 0 0 0-.1.3l.1.3 5.6 6.8c3.4 4.2 7 8.2 10.9 12 3 3 3.6 8 1.3 11.6a.3.3 0 0 0 0 .1c0 .2.1.3.3.3a.2.2 0 0 0 .1 0 41.5 41.5 0 0 0 10.9-10c.1-.2.2-.4.1-.7-1.4-7.5-4.8-14-10.2-19.3l-.2-.1a.3.3 0 0 1 0-.4.3.3 0 0 1 .3-.1A36 36 0 0 1 75.9 62l.2.1h.2V62A42 42 0 0 0 67 9.9zM57 121.8c-1.9 0-3.5 1.3-3.8 3.2-.2 1 .2 1.8.8 2.2v-.1h.2v-.1c-.1-1.1.6-2 1.7-2 1.2 0 2.2.6 2.8 1.8.9 1.7.1 4-1.6 5-1.4.9-2.8.7-4.2.3a7 7 0 0 1-4.6-9c.5-1.7 1.4-3.3 2.3-4.8 1.7-3 3.4-6 4.8-9.2 1.2-3 2.1-7.7 2.8-12-1.7-.8-3.2-1.8-4.5-2.9l-.5-.4c-1-.8-2-1.6-3-2.1-1-.6-2-.9-3-.9a5 5 0 0 0-2.6.8 7 7 0 0 1-3.6 1h-.2a7 7 0 0 1-3.7-1 5 5 0 0 0-2.6-.8c-.9 0-2 .3-3 .9-1 .5-2 1.3-3 2 0 .2-.3.4-.4.5a20 20 0 0 1-4.9 3v.3a67 67 0 0 0 20.5 37 20 20 0 0 0 7.4 3.7l3.1.5h1.7c1.9-.2 3.5-1 5-2.2a9 9 0 0 0 3.2-8.2 7.3 7.3 0 0 0-7-6.5"}),(0,i.h)("path",{d:"M66 79.4c-2 0-3.6 1.6-3.7 3.7a1.8 1.8 0 0 0 .8 1.6l.2.1.1-.2c-.2-1.2.6-2 1.7-2l.7.1c2 .6 3 2.8 2 5a4 4 0 0 1-3.7 2.3 5 5 0 0 1-2-.4 9.6 9.6 0 0 1-3.6-3l-4-5.4c-1.1-1.4-2.1-2.7-3.6-3.6A8 8 0 0 0 41 79l-.3.4-.4-.4a8 8 0 0 0-9.8-1.3c-1.4 1-2.5 2.2-3.5 3.6l-4 5.4a9.7 9.7 0 0 1-3.6 3 5 5 0 0 1-2 .4 4 4 0 0 1-3.8-2.4c-1-2 0-4.3 2-4.9l.7-.1c1.1 0 2 .8 1.7 2l.2.2a.1.1 0 0 0 .1 0c.6-.5.9-1 .9-1.7-.1-2.1-1.8-3.7-3.8-3.7-3.8 0-7 3.1-7.3 7a9.1 9.1 0 0 0 4.3 8.4c1.6 1.1 3.3 1.5 5 1.5 1 0 2.2-.1 3.3-.4a15 15 0 0 0 5.9-3.2c1.2-1 2.4-2 3.7-2.7.8-.5 1.7-.8 2.5-1H33.5c3.5-.7 7.3-2.5 7.3-2.5s4 2 8 2.5h-.1c.8.2 1.6.6 2.5 1 1.3.8 2.5 1.8 3.7 2.7a15 15 0 0 0 5.8 3.2c1.1.3 2.2.4 3.3.4 1.8 0 3.5-.4 5-1.5 3-2 4.5-4.8 4.3-8.5a7.4 7.4 0 0 0-7.2-6.9"})))};r.dn(o)},4277(e,t,r){"use strict";r.d(t,{o:()=>c});var n=r(172),i=r(5994),o=r(5e3),s=r(2735),a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC",c=function(e){var t,r,c,u=e.instant,l=e.className,h=e.onLoad,p=e.alt,f=e.height,d=e.width,g=e.src,m=e.srcSet,v=e.sizes,y=e.threshold,_=void 0===y?.2:y,b=e.rootMargin,w=void 0===b?"":b,k=e.root,S=void 0===k?null:k,C=e.imageLoaded,x=(0,i.li)(null),I=(0,o.B)(x,{threshold:_,rootMargin:w,root:S}).hasIntersected;(0,i.vJ)((function(){h&&I&&h()}),[I,h]);var O=I||u,E=!u&&!s.B,A=null==m?void 0:m.slice().sort((function(e,t){return e.width-t.width})),M=null!==(c=null!==(r=null===(t=null==A?void 0:A[0])||void 0===t?void 0:t.src)&&void 0!==r?r:g)&&void 0!==c?c:a,R=A&&A.length>0?A.map((function(e){return"".concat(e.src," ").concat(e.width,"w")})).join(", "):void 0;return(0,n.h)("picture",{ref:x,className:"lazy-image-wrapper"},(0,n.h)("img",{className:l,src:O?M:a,srcSet:O?R:void 0,sizes:v,alt:p,loading:O?"eager":"lazy",width:d,height:f,onLoad:C,onError:function(e){e.currentTarget.src=a}}),E&&(0,n.h)("noscript",null,(0,n.h)("img",{src:M,width:d,height:f,alt:p,onLoad:C})))}},1075(e,t,r){"use strict";r.d(t,{KG:()=>o,Yi:()=>a,wI:()=>s,y$:()=>i});var n=r(172),i=function(){return(0,n.h)("div",{className:"spinner"})},o=function(){return document.body.setAttribute("class","spinner")},s=function(){return document.body.setAttribute("class","")},a=function(e,t){e&&"setAttribute"in e&&e.setAttribute("class","".concat(t," splash")),setTimeout((function(){e&&"setAttribute"in e&&e.setAttribute("class",t)}),500)}},3531(e,t,r){"use strict";r.d(t,{Ok:()=>u,jI:()=>i,tH:()=>c});var n=r(526),i=function(e,t){var r=t.config,i=this;this.name=e,this.apiUrl=function(e){return"/api/v1/".concat(e)},this.request=function(e,t){return(0,n.Em)(i.config,e,t)},this.images=function(e,t){var r,n,o=(null===(r=i.config)||void 0===r?void 0:r.mediaHostAddress)||(null===(n=i.config)||void 0===n?void 0:n.apiHostAddress),s=t?"/".concat(t):"",a="https://".concat(o,"/api/v1/").concat(i.name,"/").concat(e,"/images").concat(s);return{get:function(e,t,r){return void 0===r&&(r="webp"),"".concat(a,"/").concat(e,"/").concat(t,".").concat(r)}}},this.categoryimages=function(e,t){var r,n,o=(null===(r=i.config)||void 0===r?void 0:r.mediaHostAddress)||(null===(n=i.config)||void 0===n?void 0:n.apiHostAddress),s=t?"/".concat(t):"",a="https://".concat(o,"/api/v1/").concat(i.name,"/").concat(e,"/offers/categories/images").concat(s);return{get:function(e,t,r){return void 0===r&&(r="webp"),"".concat(a,"/").concat(e,"/").concat(t,".").concat(r)}}},this.query=function(e){return i.request(i.url,e||{})},this.get=function(e,t){return i.request("".concat(i.url,"/").concat(e),t||{as:"mobile"})},this.url=this.apiUrl(e),this.config=r},o={},s=function(e,t){return o[e]||(o[e]=t()),o[e]},a=function(e){return function(t){return s(e,(function(){return new i(e,t)}))}},c=function(e,t){return function(r){return s(e,(function(){return new t(r)}))}},u={advertisers:a("advertisers"),retailers:a("retailers"),brands:a("brands"),stores:a("stores"),storechains:a("storechains")}},9494(e,t,r){"use strict";r.d(t,{j:()=>o});var n=r(1635),i=r(9119),o=function(e){return(0,n.sH)(void 0,void 0,void 0,(function(){return(0,n.YH)(this,(function(t){return[2,(0,i.k)("mg:client-key",(function(){return(0,n.sH)(void 0,void 0,void 0,(function(){var t;return(0,n.YH)(this,(function(r){switch(r.label){case 0:return[4,fetch("https://".concat(e.apiHostAddress,"/api/v1/configurations/web"),{headers:(t={},t["x-apikey"]=e.apiKey,t)})];
1case 1:return[2,r.sent().headers.get("x-clientkey")]}}))}))}),e.clientKey)]}))}))}},526(e,t,r){"use strict";r.d(t,{px:()=>u,Em:()=>c});var n=r(1635),i=r(7427),o=Promise.resolve(null);"undefined"==typeof window&&(o=r.e(900).then(r.t.bind(r,5592,23)).then((function(e){return new(0,e.HttpsAgent)({maxSockets:Number(process.env.MAX_SOCKETS)||128,maxFreeSockets:10,timeout:6e4,freeSocketTimeout:3e5})})));var s=r(9494),a=function(e,t){return Array.isArray(t)||(t=[t]),t.map((function(t){return"".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t))}))},c=function(e,t,r){return u({method:"GET",config:e,url:t,params:r})},u=function(e){return(0,n.sH)(void 0,[e],void 0,(function(e){var t,r,c,u,l,h=e.config,p=e.url,f=e.method,d=e.params;return(0,n.YH)(this,(function(e){switch(e.label){case 0:return t=p,d&&"GET"===f&&(d.as||(d.as="mobile"),t="".concat(p,"?").concat(function(e){return Object.keys(e).sort().map((function(t){return a(t,e[t])})).reduce((function(e,t){return e.concat(t)})).join("&")}(d))),t="https://".concat(h.apiHostAddress).concat(t),l={"X-ApiKey":h.apiKey},c="X-ClientKey",[4,(0,s.j)(h)];case 1:return l[c]=e.sent(),l["Content-type"]="application/json",l.Accept="application/json",r=l,(u=(0,i.d)())&&(r["X-Token"]=u),[2,o.then((function(e){return fetch(t,{method:f,headers:r,mode:"cors",timeout:15e3,body:"POST"===f?JSON.stringify(d):void 0,agent:e}).then((function(e){return 403===e.status&&(0,i.R)(void 0),204===e.status?{status:e.status,data:void 0}:"POST"===f||e.ok?e.json().then((function(t){return{status:e.status,data:t}})):{status:e.status,data:void 0}})).catch((function(){return{status:0,data:void 0}}))}))]}}))}))}},9119(e,t,r){"use strict";r.d(t,{k:()=>a,w:()=>c});var n=r(1635),i=r(2735),o=function(e,t){return i.B?localStorage.getItem(e):t},s=function(e,t){return i.B&&localStorage.setItem(e,String(t)),String(t)},a=function(e,t,r){return(0,n.sH)(void 0,void 0,void 0,(function(){var i,a,c,u;return(0,n.YH)(this,(function(n){switch(n.label){case 0:return null===(c=o(e,r))||void 0===c?[3,1]:(a=c,[3,3]);case 1:return[4,t()];case 2:a=n.sent(),n.label=3;case 3:return i=null!==(u=a)&&void 0!==u?u:r,[2,s(e,i)]}}))}))},c=function(e,t,r){var n,i,a=null!==(i=null!==(n=o(e,r))&&void 0!==n?n:t())&&void 0!==i?i:r;return s(e,a)}},6825(e,t,r){"use strict";r.d(t,{j:()=>s});var n=r(1635),i=r(3531),o=function(e){function t(t){var r=e.call(this,"locations",t)||this;return r.current=function(){return r.request("".concat(r.url,"/current"),{})},r}return(0,n.C6)(t,e),t}(i.jI),s=(0,i.tH)("locations",o)},2526(e,t,r){"use strict";r.d(t,{b:()=>n,p:()=>i});var n=function(e){return e.config&&"at"===e.config.content},i=function(e){return n(e)?"marktguru.at":"marktguru.de"}},192(e,t,r){"use strict";r.d(t,{k:()=>s});var n=r(1635),i=r(172),o=r(5994),s=function(e){var t=e.resolve,r=e.children,s=(0,n.Tt)(e,["resolve","children"]),a=(0,o.J0)(void 0),c=a[0],u=a[1];return(0,o.vJ)((function(){t().then((function(e){return u((function(){return e.default}))}))}),[t]),c?(0,i.h)(c,(0,n.Cl)({},s)):(0,i.h)(i.FK,null,r)}},7427(e,t,r){"use strict";r.d(t,{R:()=>o,d:()=>i});var n=r(2735),i=function(){return n.B?localStorage.getItem("mg:user-token"):void 0},o=function(e){n.B&&(e?localStorage.setItem("mg:user-token",e):localStorage.removeItem("mg:user-token"))}},7636(e,t,r){"use strict";r.d(t,{$g:()=>i,BO:()=>h,By:()=>o,Fj:()=>l,QC:()=>c,TZ:()=>p,Yq:()=>n,eV:()=>s,z5:()=>u});var n=function(e){var t=new Date(e);if(!e||isNaN(t))return"";var r=s(t.getDate()),n=s(t.getMonth()+1);return"".concat(r,".").concat(n,".")},i=function(e){if(void 0===e||void 0===e.toFixed)return"";try{return"⬠".concat(e.toFixed(2).replace(".",",").replace(/\d(?=(\d{3})+,)/g,"$&."))}catch(t){return"⬠".concat(e.toFixed(2)).replace(".",",")}},o=function(e,t){return i(e)===i(t)},s=function(e){return e<10?"0".concat(e):e},a={é:"e",ü:"ue",ö:"oe",ä:"ae",Ã:"ss"},c=function(e){return(e||"").toLowerCase().replace(/[^A-Za-z0-9 ]/g,(function(e){return a[e]||" "})).trim().replace(/[ ]+/g,"-")},u=function(e,t){return e.split(/(\$\w+?\$)/g).map((function(e){var r=e.replace(/\$/g,"");return t.hasOwnProperty(r)?t[r]:e})).join("")},l=function(e){return e<1e3?[e.toFixed(0),"m"]:[(e/1e3).toFixed(1),"km"]},h=function(e){return l(e).join("")},p=function(e){var t;return null===(t=null==e?void 0:e.toFixed)||void 0===t?void 0:t.call(e,0).replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")}},5e3(e,t,r){"use strict";r.d(t,{B:()=>o});var n=r(5994),i=r(2735),o=function(e,t,r){var o=(0,n.J0)(!1),s=o[0],a=o[1],c=(0,n.J0)(!1),u=c[0],l=c[1],h=(0,n.li)(r);(0,n.vJ)((function(){h.current=r}),[r]);var p=(0,n.hb)((function(t){var r,n=t.find((function(t){return t.target===e.current}));(null==n?void 0:n.isIntersecting)&&a(!0),l(!!(null==n?void 0:n.isIntersecting)),null===(r=h.current)||void 0===r||r.call(h,!!(null==n?void 0:n.isIntersecting))}),[e]);return(0,n.vJ)((function(){if(i.B&&e.current){var r=new IntersectionObserver(p,t);return r.observe(e.current),function(){r.disconnect()}}}),[e,p,t]),{isIntersecting:u,hasIntersected:s}}},2735(e,t,r){"use strict";r.d(t,{B:()=>n,u:()=>i});var n="undefined"!=typeof window,i=function(){return n&&location.search.indexOf("embedded-mode")>
1=0}},3133(e,t,r){"use strict";r.d(t,{Mv:()=>g,ad:()=>f,d5:()=>p,qK:()=>a,u3:()=>d});var n,i=r(7390),o=r(2961),s=r(2735),a=function(e){return n=e},c={},u=!1,l="/",h=["pageflip","pageflipOverview","flight","flightPage","retailerFeed"].map((function(e){return o.JZ[e].url})),p=function(e){h.indexOf(e.url)<0&&(l=location.pathname+location.search)},f=function(){s.B&&(u=!0),(0,i.wE)(l)};s.B&&(history.scrollRestoration&&(history.scrollRestoration="manual"),window.addEventListener("popstate",(function(){u=!0})));var d=function(e){var t=e.url,r=t?c[t]:0;if(t&&r&&u){var i=n&&document.getElementsByClassName(n);i&&i.length>0?i[0].scrollIntoView(!1):setTimeout((function(){return window.scrollTo(0,r)}),200),u=!1,n=void 0}},g=function(e){var t=e.url;t&&(c[t]=Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop)),setTimeout((function(){return window.scrollTo(0,0)}),300)}},9960(e,t,r){"use strict";r.d(t,{mt:()=>s,DZ:()=>a,bS:()=>u});var n=r(1635),i=r(8508);var o=r(6825),s=function(e){var t=(0,i.R)("mg_user-settings"),r=c("mg:user-settings");!t&&r&&(a(JSON.parse(r)),localStorage.removeItem("mg:user-settings"));var n=null!=t?t:r,o=n?JSON.parse(n):{location:e.defaultLocation,locationSource:"fallback",hidePageflipMenu:!1,cookieAccept:!1};if(!(null==o?void 0:o.userGroup)){var s=c("mg:user-group");o.userGroup=s?Number(s):Math.floor(100*Math.random())+1,a(o),s&&localStorage.removeItem("mg:user-group")}return o},a=function(e){(0,i.T)("mg_user-settings",JSON.stringify(e))},c=function(e){return"undefined"==typeof window?null:localStorage.getItem(e)},u=function(e){return(0,n.sH)(void 0,void 0,void 0,(function(){var t,r,i,c,u;return(0,n.YH)(this,(function(l){switch(l.label){case 0:return t=function(){var e,t,r,n=null!==(t=null===(e=globalThis.location)||void 0===e?void 0:e.search)&&void 0!==t?t:"",i=new URLSearchParams(n);return function(e){var t=null==e?void 0:e.trim();return t?/^[0-9]{4,5}$/.test(t)?t:(console.warn("Invalid zip code provided:",t),null):null}(null===(r=i.get("zip"))||void 0===r?void 0:r.trim())}(),t?"manual"===(r=s(e)).locationSource||r.location.zipCodes[0]===t?[3,2]:[4,(0,o.j)(e).query({q:t,limit:1})]:[2];case 1:i=l.sent().data,(c=(null==i?void 0:i.results[0])||null)&&(u=(0,n.Cl)((0,n.Cl)({},r),{location:c,locationSource:"manual"}),a(u),globalThis.location.reload()),l.label=2;case 2:return[2]}}
1))}))}},217(e,t,r){"use strict";r.d(t,{u4:()=>l,i0:()=>u,DC:()=>i});var n,i,o=r(1635),s=r(2735),a=["mousemove","wheel","keydown","click","touchstart"],c=new Promise((function(e){s.B&&a.forEach((function(t){var r=function(){document.body.removeEventListener(t,r),e()};document.body.addEventListener(t,r)}))}));!function(e){e[e.default=6e3]="default",e[e.extended=15e3]="extended"}(i||(i={}));var u=function(){n=Promise.race([new Promise((function(e){return setTimeout(e,i.default)})),c]).then((function(){return r.e(590).then(r.bind(r,100)).then((function(e){return e.startUserCentrics(0),e}))}))},l=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return(0,o.sH)(void 0,void 0,void 0,(function(){var r;return(0,o.YH)(this,(function(i){switch(i.label){case 0:if("undefined"==typeof window)return[2,Promise.resolve()];if(!n)throw new Error("Tracking logic not initialized");return[4,n];case 1:return[4,(r=i.sent())[e].apply(r,t)];case 2:return i.sent(),[2]}}))}))}},4813(e,t,r){"use strict";r.d(t,{A:()=>n});var n=function(e,t){globalThis.window.dataLayer.push({event:e,eventModel:t})}},1807(e,t,r){"use strict";r.d(t,{J:()=>i});var n={},i=function(e,t){return void 0===t&&(t={}),n[e]||(n[e]=new Promise((function(r,n){var i=document.createElement("script");i.src=e;var o=t.id,s=t.isAsync,a=t.dataset;if(o&&(i.id=o),i.async=null!=s&&s,a)for(var c=0,u=Object.entries(a);c<u.length;c++){var l=u[c],h=l[0],p=l[1];i.dataset[h]=p||""}i.onload=r,i.onerror=function(){return n(new Error("Failed to load script: ".concat(e)))},document.head.appendChild(i)}))),n[e]}},614(e,t,r){"use strict";r.d(t,{N:()=>Wy});var n,i=r(1635);if("undefined"==typeof window){var o={hostname:""};n={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:o,referrer:""},screen:{width:0,height:0},location:o,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else n=window;var s={DEBUG:!1,LIB_VERSION:"2.80.0"},a="__mp_targeting",c="__mp_recorder",u="__MP_TARGETING_FILENAME__";function l(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 h(e,t,r,n,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(n,i)}function p(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){h(o,n,i,s,a,"next",e)}function a(e){h(o,n,i,s,a,"throw",e)}s(void 0)}))}}function f(e,t,r){return f=S()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&b(i,r.prototype),i},f.apply(null,arguments)}function d(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 g(){return g=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},g.apply(this,arguments)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function v(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&&b(e,t)}function y(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function _(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 b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function w(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function k(e){var t="function"==typeof Map?new Map:void 0;return k=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(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return f(e,arguments,m(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),b(n,e)},k(e)}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(S=function(){return!!e})()}function C(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 l(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)?l(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 x(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;
1function 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=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function I(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 O,E=Object.defineProperty,A=function(e,t,r){return function(e,t,r){return t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":w(t))?t+"":t,r)},M=Object.defineProperty,R=function(e,t,r){return function(e,t,r){return t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":w(t))?t+"":t,r)},T=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}(T||{}),P={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},N={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},L={};function F(e){if(L[e])return L[e];var t=globalThis[e],r=t.prototype,n=e in P?P[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 N?N[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 L[e]=t.prototype,t.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var c=a.contentWindow;if(!c)return t.prototype;var u=c[e].prototype;return document.body.removeChild(a),u?L[e]=u:r}catch(e){return r}}var D={};function U(e,t,r){var n,i=e+"."+String(r);if(D[i])return D[i].call(t);var o=F(e),s=null==(n=Object.getOwnPropertyDescriptor(o,r))?void 0:n.get;return s?(D[i]=s,s.call(t)):t[r]}var B={};function j(e,t,r){var n=e+"."+String(r);if(B[n])return B[n].bind(t);var i=F(e)[r];return"function"!=typeof i?t[r]:(B[n]=i,i.bind(t))}var q={childNodes:function(e){return U("Node",e,"childNodes")},parentNode:function(e){return U("Node",e,"parentNode")},parentElement:function(e){return U("Node",e,"parentElement")},textContent:function(e){return U("Node",e,"textContent")},contains:function(e,t){return j("Node",e,"contains")(t)},getRootNode:function(e){return j("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?U("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?U("Element",e,"shadowRoot"):null},querySelector:function(e,t){return U("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return U("Element",e,"querySelectorAll")(t)},mutationObserver:function(){return F("MutationObserver").constructor},patch:function(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(e){return function(){}}}};
1function z(e){return e.nodeType===e.ELEMENT_NODE}function H(e){var t=e&&"host"in e&&"mode"in e&&q.host(e)||null;return Boolean(t&&"shadowRoot"in t&&q.shadowRoot(t)===e)}function V(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function W(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 $(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(e){return null}var i}function $(e,t){if(function(e){return"styleSheet"in e}(e)){var r;try{r=W(e.styleSheet)||function(e){var t=e.cssText;if(t.split('"').length<3)return t;var r=["@import","url("+JSON.stringify(e.href)+")"];return""===e.layerName?r.push("layer"):e.layerName&&r.push("layer("+e.layerName+")"),e.supportsText&&r.push("supports("+e.supportsText+")"),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(t){r=e.cssText}return e.styleSheet.href?ne(r,e.styleSheet.href):r}var n,i=e.cssText;return function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":")&&(n=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,i=i.replace(n,"$1\\$2")),t?ne(i,t):i}var G=function(){function e(){R(this,"idNodeMap",new Map),R(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,t){var r=this;void 0===t&&(t=!1);var n=this.getId(e);this.idNodeMap.delete(n),t&&this.nodeMetaMap.delete(e),e.childNodes&&e.childNodes.forEach((function(e){return r.removeNodeFromMap(e,t)}))},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 J(e){var t=e.element,r=e.maskInputOptions,n=e.tagName,i=e.type,o=e.value,s=e.maskInputFn,a=o||"",c=i&&Y(i);return(r[n.toLowerCase()]||c&&r[c])&&(a=s?s(a,t):"*".repeat(a.length)),a}function Y(e){return e.toLowerCase()}var K="__rrweb_original__";function Z(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Y(t):null}function X(e,t){var r;try{r=new URL(e,null!=t?t:window.location.href)}catch(e){return null}var n,i=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!=(n=null==i?void 0:i[1])?n:null}var Q=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,ee=/^(?:[a-z+]+:)?\/\//i,te=/^www\..*/i,re=/^(data:)([^,]*),(.*)/i;function ne(e,t){return(e||"").replace(Q,(function(e,r,n,i,o,s){var a,c=n||o||s,u=r||i||"";if(!c)return e;if(ee.test(c)||te.test(c))return"url("+u+c+u+")";if(re.test(c))return"url("+u+c+u+")";if("/"===c[0])return"url("+u+(((a=t).indexOf("//")>-1?a.split("/").slice(0,3).join("/"):a.split("/")[0]).split("?")[0]+c)+u+")";var l=t.split("/"),h=c.split("/");l.pop();for(var p,f=C(h);!(p=f()).done;){var d=p.value;"."!==d&&(".."===d?l.pop():l.push(d))}return"url("+u+l.join("/")+u+")"}))}function ie(e,t){return void 0===t&&(t=!1),t?e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function oe(e,t){return function(e,t,r){void 0===r&&(r=!1);var n=Array.from(t.childNodes),i=[],o=0;if(n.length>1&&e&&"string"==typeof e)for(var s=ie(e,r),a=s.length/e.length,c=1;c<n.length;c++)if(n[c].textContent&&"string"==typeof n[c].textContent){for(var u=ie(n[c].textContent,r),l=3;l<u.length&&(u[l].match(/[a-zA-Z0-9]/)||-1!==u.indexOf(u.substring(0,l),1));l++);for(;l<u.length;l++){var h=u.substring(0,l),p=s.split(h),f=-1;if(2===p.length)f=p[0].length;else if(p.length>2&&""===p[0]&&""!==n[c-1].textContent)f=s.indexOf(h,1);else if(1===p.length){if(h=h.substring(0,h.length-1),(p=s.split(h)).length<=1)return i.push(e),i;l=101}else l===u.length-1&&(f=s.indexOf(h));if(p.length>=2&&l>100){var d=n[c-1].textContent;if(d&&"string"==typeof d){var g=ie(d).length;f=s.indexOf(h,g)}-1===f&&(f=p[0].length)}if(-1!==f){for(var m=Math.floor(f/a);m>0&&m<e.length;){if((o+=1)>50*n.length)return i.push(e),i;var v=ie(e.substring(0,m),r);if(v.length===f){i.push(e.substring(0,m)),e=e.substring(m),s=s.substring(f);break}v.length<f?m+=Math.max(1,Math.floor((f-v.length)/a)):m-=Math.max(1,Math.floor((v.length-f)*a))}break}}}return i.push(e),i}(e,t).join("/* rr_split */")}var se,ae,ce=1,ue=new RegExp("[^a-z0-9-_:]");function le(){return ce++}var he=/^[^ \t\n\r\u000c]+/,pe=/^[, \t\n\r\u000c]+/;var fe=new WeakMap;function de(e,t){return t&&""!==t.trim()?me(e,t):t}function ge(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function me(e,t){var r=fe.get(e);if(r||(r=e.createElement("a"),fe.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function ve(e,t,r,n){return n?"src"===r||"href"===r&&("use"!==t||"#"!==n[0])||"xlink:href"===r&&"#"!==n[0]?de(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(pe),!(r>=t.length);){var o=n(he);if(","===o.slice(-1))o=de(e,o.substring(0,o.length-1)),i.push(o);else{var s="";o=de(e,o);for(var a=!1;;){var c=t.charAt(r);if(""===c){i.push((o+s).trim());break}if(a)")"===c&&(a=!1);else{if(","===c){r+=1,i.push((o+s).trim());break}"("===c&&(a=!0)}s+=c,r+=1}}}return i.join(", ")}(e,n):"style"===r?ne(n,me(e)):"object"===t&&"data"===r?de(e,n):n:de(e,n):n}function ye(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function _e(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&_e(q.parentNode(e),t,r);for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}return!!r&&_e(q.parentNode(e),t,r)}function be(e,t,r,n){var i;if(z(e)){if(i=e,!q.childNodes(i).length)return!1}else{if(null===q.parentElement(e))return!1;i=q.parentElement(e)}
vendor: 6,133 bytes, line 1
1try{if("string"==typeof t){if(n){if(i.closest("."+t))return!0}else if(i.classList.contains(t))return!0}else if(_e(i,t,n))return!0;if(r)if(n){if(i.closest(r))return!0}else if(i.matches(r))return!0}catch(e){}return!1}function we(e,t){var r=t.doc,n=t.mirror,i=t.blockClass,o=t.blockSelector,s=t.needsMask,a=t.inlineStylesheet,c=t.maskInputOptions,u=void 0===c?{}:c,l=t.maskTextFn,h=t.maskInputFn,p=t.dataURLOptions,f=void 0===p?{}:p,d=t.inlineImages,g=t.recordCanvas,m=t.keepIframeSrcFn,v=t.newlyAddedElement,_=void 0!==v&&v,b=t.cssCaptured,w=void 0!==b&&b,k=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:T.Document,childNodes:[],compatMode:e.compatMode}:{type:T.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:T.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:k};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,c=void 0===a?{}:a,u=t.maskInputFn,l=t.dataURLOptions,h=void 0===l?{}:l,p=t.inlineImages,f=t.recordCanvas,d=t.keepIframeSrcFn,g=t.newlyAddedElement,m=void 0!==g&&g,v=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(e){}return!1}(e,i,o),b=function(e){if(y(e,HTMLFormElement))return"form";var t=Y(e.tagName);return ue.test(t)?"div":t}(e),w={},k=e.attributes.length,S=0;S<k;S++){var C=e.attributes[S];ye(b,C.name,C.value)||(w[C.name]=ve(n,b,Y(C.name),C.value))}if("link"===b&&s){var x=Array.from(n.styleSheets).find((function(t){return t.href===e.href})),I=null;x&&(I=W(x)),I&&(delete w.rel,delete w.href,w._cssText=I)}if("style"===b&&e.sheet){var O=W(e.sheet);O&&(e.childNodes.length>1&&(O=oe(O,e)),w._cssText=O)}if("input"===b||"textarea"===b||"select"===b){var E=e.value,A=e.checked;"radio"!==w.type&&"checkbox"!==w.type&&"submit"!==w.type&&"button"!==w.type&&E?w.value=J({element:e,type:Z(e),tagName:b,value:E,maskInputOptions:c,maskInputFn:u}):A&&(w.checked=A)}"option"===b&&(e.selected&&!c.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&&f)if("2d"===e.__context)(function(e){var t=e.getContext("2d");if(!t)return!0;for(var r=0;r<e.width;r+=50)for(var n=0;n<e.height;n+=50){var i=t.getImageData,o=K in i?i[K]: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(h.type,h.quality));else if(!("__context"in e)){var M=e.toDataURL(h.type,h.quality),R=n.createElement("canvas");R.width=e.width,R.height=e.height,M!==R.toDataURL(h.type,h.quality)&&(w.rr_dataURL=M)}if("img"===b&&p){se||(se=n.createElement("canvas"),ae=se.getContext("2d"));var P=e,N=P.currentSrc||P.getAttribute("src")||"<unknown-src>",L=P.crossOrigin,F=function(){P.removeEventListener("load",F);try{se.width=P.naturalWidth,se.height=P.naturalHeight,ae.drawImage(P,0,0),w.rr_dataURL=se.toDataURL(h.type,h.quality)}catch(e){if("anonymous"!==P.crossOrigin)return P.crossOrigin="anonymous",void(P.complete&&0!==P.naturalWidth?F():P.addEventListener("load",F));console.warn("Cannot inline img src="+N+"! Error: "+e)}"anonymous"===P.crossOrigin&&(L?w.crossOrigin=L:P.removeAttribute("crossorigin"))};P.complete&&0!==P.naturalWidth?F():P.addEventListener("load",F)}if("audio"===b||"video"===b){var D=w;D.rr_mediaState=e.paused?"paused":"played",D.rr_mediaCurrentTime=e.currentTime,D.rr_mediaPlaybackRate=e.playbackRate,D.rr_mediaMuted=e.muted,D.rr_mediaLoop=e.loop,D.rr_mediaVolume=e.volume}m||(e.scrollLeft&&(w.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(w.rr_scrollTop=e.scrollTop));if(_){var U=e.getBoundingClientRect(),B=U.width,j=U.height;w={class:w.class,rr_width:B+"px",rr_height:j+"px"}}"iframe"!==b||d(w.src)||(e.contentDocument||(w.rr_src=w.src),delete w.src);try{customElements.get(b)&&(r=!0)}catch(e){}return{type:T.Element,tagName:b,attributes:w,childNodes:[],isSVG:ge(e)||void 0,needBlock:_,rootId:v,isCustom:r}}(e,{doc:r,blockClass:i,blockSelector:o,inlineStylesheet:a,maskInputOptions:u,maskInputFn:h,dataURLOptions:f,inlineImages:d,recordCanvas:g,keepIframeSrcFn:m,newlyAddedElement:_,rootId:k});case e.TEXT_NODE:return function(e,t){var r=t.needsMask,n=t.maskTextFn,i=t.rootId,o=t.cssCaptured,s=q.parentNode(e),a=s&&s.tagName,c="",u="STYLE"===a||void 0,l="SCRIPT"===a||void 0;l?c="SCRIPT_PLACEHOLDER":o||(c=q.textContent(e),u&&c&&(c=ne(c,me(t.doc))));!u&&!l&&c&&r&&(c=n?n(c,q.parentElement(e)):c.replace(/[\S]/g,"*"));return{type:T.Text,textContent:c||"",rootId:i}}(e,{doc:r,needsMask:s,maskTextFn:l,rootId:k,cssCaptured:w});case e.CDATA_SECTION_NODE:return{type:T.CDATA,textContent:"",rootId:k};case e.COMMENT_NODE:return{type:T.Comment,textContent:q.textContent(e)||"",rootId:k};default:return!1}}function ke(e){return null==e?"":e.toLowerCase()}function Se(e,t){var r=t.doc,n=t.mirror,i=t.blockClass,o=t.blockSelector,s=t.maskTextClass,a=t.maskTextSelector,c=t.skipChild,u=void 0!==c&&c,l=t.inlineStylesheet,h=void 0===l||l,p=t.maskInputOptions,f=void 0===p?{}:p,d=t.maskTextFn,g=t.maskInputFn,m=t.slimDOMOptions,v=t.dataURLOptions,y=void 0===v?{}:v,_=t.inlineImages,b=void 0!==_&&_,w=t.recordCanvas,k=void 0!==w&&w,S=t.onSerialize,x=t.onIframeLoad,I=t.iframeLoadTimeout,O=void 0===I?5e3:I,E=t.onStylesheetLoad,A=t.stylesheetLoadTimeout,M=void 0===A?5e3:A,R=t.keepIframeSrcFn,P=void 0===R?function(){return!1}:R,N=t.newlyAddedElement,L=void 0!==N&&N,F=t.cssCaptured,D=void 0!==F&&F,U=t.needsMask,B=t.preserveWhiteSpace,j=void 0===B||B;U||(U=be(e,s,a,void 0===U));var W,$=we(e,{doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:U,inlineStylesheet:h,maskInputOptions:f,maskTextFn:d,maskInputFn:g,dataURLOptions:y,inlineImages:b,recordCanvas:k,keepIframeSrcFn:P,newlyAddedElement:L,cssCaptured:D});if(!$)return console.warn(e,"not serialized"),null;W=n.hasNode(e)?n.getId(e):function(e,t){if(t.comment&&e.type===T.Comment)return!0;
1if(e.type===T.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel&&"script"===e.attributes.as||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===X(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(ke(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===ke(e.attributes.name)||"icon"===ke(e.attributes.rel)||"apple-touch-icon"===ke(e.attributes.rel)||"shortcut icon"===ke(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&ke(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(ke(e.attributes.property).match(/^(og|twitter|fb):/)||ke(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===ke(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===ke(e.attributes.name)||"googlebot"===ke(e.attributes.name)||"bingbot"===ke(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===ke(e.attributes.name)||"generator"===ke(e.attributes.name)||"framework"===ke(e.attributes.name)||"publisher"===ke(e.attributes.name)||"progid"===ke(e.attributes.name)||ke(e.attributes.property).match(/^article:/)||ke(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===ke(e.attributes.name)||"yandex-verification"===ke(e.attributes.name)||"csrf-token"===ke(e.attributes.name)||"p:domain_verify"===ke(e.attributes.name)||"verify-v1"===ke(e.attributes.name)||"verification"===ke(e.attributes.name)||"shopify-checkout-api-token"===ke(e.attributes.name)))return!0}}return!1}($,m)||!j&&$.type===T.Text&&!$.textContent.replace(/^\s+|\s+$/gm,"").length?-2:le();var G=Object.assign($,{id:W});if(n.add(e,G),-2===W)return null;S&&S(e);var J=!u;if(G.type===T.Element){J=J&&!G.needBlock,delete G.needBlock;var Y=q.shadowRoot(e);Y&&V(Y)&&(G.isShadowHost=!0)}if((G.type===T.Document||G.type===T.Element)&&J){m.headWhitespace&&G.type===T.Element&&"head"===G.tagName&&(j=!1);var K={doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:U,maskTextClass:s,maskTextSelector:a,skipChild:u,inlineStylesheet:h,maskInputOptions:f,maskTextFn:d,maskInputFn:g,slimDOMOptions:m,dataURLOptions:y,inlineImages:b,recordCanvas:k,preserveWhiteSpace:j,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:O,onStylesheetLoad:E,stylesheetLoadTimeout:M,keepIframeSrcFn:P,cssCaptured:!1};if(G.type===T.Element&&"textarea"===G.tagName&&void 0!==G.attributes.value);else{G.type===T.Element&&void 0!==G.attributes._cssText&&"string"==typeof G.attributes._cssText&&(K.cssCaptured=!0);for(var Z,Q=C(Array.from(q.childNodes(e)));!(Z=Q()).done;){var ee=Se(Z.value,K);ee&&G.childNodes.push(ee)}}var te=null;if(z(e)&&(te=q.shadowRoot(e)))for(var re,ne=C(Array.from(q.childNodes(te)));!(re=ne()).done;){var ie=Se(re.value,K);ie&&(V(te)&&(ie.isShadow=!0),G.childNodes.push(ie))}}var oe=q.parentNode(e);return oe&&H(oe)&&V(oe)&&(G.isShadow=!0),G.type===T.Element&&"iframe"===G.tagName&&function(e,t,r){var n=e.contentWindow;if(n){var i,o=!1;try{i=n.document.readyState}catch(e){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&&x){var r=Se(t,{doc:t,mirror:n,blockClass:i,blockSelector:o,needsMask:U,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:h,maskInputOptions:f,maskTextFn:d,maskInputFn:g,slimDOMOptions:m,dataURLOptions:y,inlineImages:b,recordCanvas:k,preserveWhiteSpace:j,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:O,onStylesheetLoad:E,stylesheetLoadTimeout:M,keepIframeSrcFn:P});r&&x(e,r)}}),O),G.type===T.Element&&"link"===G.tagName&&"string"==typeof G.attributes.rel&&("stylesheet"===G.attributes.rel||"preload"===G.attributes.rel&&"string"==typeof G.attributes.href&&"css"===X(G.attributes.href))&&function(e,t,r){var n,i=!1;try{n=e.sheet}catch(e){return}if(!n){var o=setTimeout((function(){i||(t(),i=!0)}),r);e.addEventListener("load",(function(){clearTimeout(o),i=!0,t()}))}}(e,(function(){if(E){var t=Se(e,{doc:r,mirror:n,blockClass:i,blockSelector:o,needsMask:U,maskTextClass:s,maskTextSelector:a,skipChild:!1,inlineStylesheet:h,maskInputOptions:f,maskTextFn:d,maskInputFn:g,slimDOMOptions:m,dataURLOptions:y,inlineImages:b,recordCanvas:k,preserveWhiteSpace:j,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:O,onStylesheetLoad:E,stylesheetLoadTimeout:M,keepIframeSrcFn:P});t&&E(e,t)}}),M),G}
1function Ce(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function xe(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return y(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 Ie={exports:{}},Oe=String,Ee=function(){return{isColorSupported:!1,reset:Oe,bold:Oe,dim:Oe,italic:Oe,underline:Oe,inverse:Oe,hidden:Oe,strikethrough:Oe,black:Oe,red:Oe,green:Oe,yellow:Oe,blue:Oe,magenta:Oe,cyan:Oe,white:Oe,gray:Oe,bgBlack:Oe,bgRed:Oe,bgGreen:Oe,bgYellow:Oe,bgBlue:Oe,bgMagenta:Oe,bgCyan:Oe,bgWhite:Oe}};Ie.exports=Ee(),Ie.exports.createColors=Ee;var Ae=Ie.exports,Me=xe(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),Re=Ae,Te=Me,Pe=function(e){function t(r,n,i,o,s,a){var c;return(c=e.call(this,r)||this).name="CssSyntaxError",c.reason=r,s&&(c.file=s),o&&(c.source=o),a&&(c.plugin=a),void 0!==n&&void 0!==i&&("number"==typeof n?(c.line=n,c.column=i):(c.line=n.line,c.column=n.column,c.endLine=i.line,c.endColumn=i.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,t),c}v(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=Re.isColorSupported),Te&&e&&(r=Te(r));var n,i,o=r.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),c=String(a).length;if(e){var u=Re.createColors(!0),l=u.bold,h=u.gray,p=u.red;n=function(e){return l(p(e))},i=function(e){return h(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(-c)+" | ";if(o===t.line){var u=i(a.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+i(a)+e+"\n "+u+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}(k(Error)),Ne=Pe;Pe.default=Pe;var Le={};Le.isClean=Symbol("isClean"),Le.my=Symbol("my");var Fe={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};var De=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.beforeAfter=function(e,t){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&&void 0!==(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 Fe[r];var o=e.root();if(o.rawCache||(o.rawCache={}),void 0!==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(void 0!==(n=e.raws[t]))return!1})),void 0===n&&(n=Fe[r]),o.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments((function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls((function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk((function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1})),t},t.rawBeforeRule=function(e){var t;return e.walk((function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls((function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t},t.rawEmptyBody=function(e){var t;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1})),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk((function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}})),t);var t},t.rawSemicolon=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1})),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),Ue=De;De.default=De;var Be=Ue;function je(e,t){new Be(t).stringify(e)}var qe=je;je.default=je;var ze=Le.isClean,He=Le.my,Ve=Ne,We=Ue,$e=qe;function Ge(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=void 0===i?"undefined":w(i);"parent"===n&&"object"===o?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map((function(e){return Ge(e,r)})):("object"===o&&null!==i&&(i=Ge(i)),r[n]=i)}return r}var Je=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[ze]=!1,this[He]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=C(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=Ge(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 Ve(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[ze]){this[ze]=!1;for(var e=this;e=e.parent;)e[ze]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);
1else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,i=this.source.start.line,o=0;o<e;o++)"\n"===r[o]?(n=1,i+=1):n+=1;return{column:n,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return(new We).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=C(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"===(void 0===e?"undefined":w(e))&&e.toJSON?e.toJSON(null,t):e}));else if("object"===(void 0===s?"undefined":w(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=$e),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)},d(e,[{key:"proxyOf",get:function(){return this}}]),e}(),Ye=Je;Je.default=Je;var Ke=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=g({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return v(t,e),d(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(Ye),Ze=Ke;Ke.default=Ke;var Xe=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},Qe=Me.SourceMapConsumer,et=Me.SourceMapGenerator,tt=Me.existsSync,rt=Me.readFileSync,nt=Me.dirname,it=Me.join;var ot=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=nt(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new Qe(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"===(void 0===e?"undefined":w(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
1if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=nt(e),tt(e))return this.mapFile=e,rt(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(y(t,Qe))return et.fromSourceMap(t).toString();if(y(t,et))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=it(nt(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}(),st=ot;ot.default=ot;var at=Me.SourceMapConsumer,ct=Me.SourceMapGenerator,ut=Me.fileURLToPath,lt=Me.pathToFileURL,ht=Me.isAbsolute,pt=Me.resolve,ft=Xe,dt=Me,gt=Ne,mt=st,vt=Symbol("fromOffsetCac
1he"),yt=Boolean(at&&ct),_t=Boolean(pt&&ht),bt=function(){function e(e,t){if(void 0===t&&(t={}),null==e||"object"===(void 0===e?"undefined":w(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!_t||/^\w+:\/\//.test(t.from)||ht(t.from)?this.file=t.from:this.file=pt(t.from)),_t&&yt){var r=new mt(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 "+ft(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"===(void 0===t?"undefined":w(t))){var a=t,c=r;if("number"==typeof a.offset){var u=this.fromOffset(a.offset);t=u.line,r=u.col}else t=a.line,r=a.column;if("number"==typeof c.offset){var l=this.fromOffset(c.offset);o=l.line,s=l.col}else o=c.line,s=c.column}else if(!r){var h=this.fromOffset(t);t=h.line,r=h.col}var p=this.origin(t,r,o,s);return(i=p?new gt(e,void 0===p.endLine?p.line:{column:p.column,line:p.line},void 0===p.endLine?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,n.plugin):new gt(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&&(lt&&(i.input.url=lt(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t;if(this[vt])t=this[vt];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[vt]=t}var s=0;if(e>=t[t.length-1])s=t.length-1;else for(var a,c=t.length-2;s<c;)if(e<t[a=s+(c-s>>1)])c=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:pt(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=ht(a.source)?lt(a.source):new URL(a.source,this.map.consumer().sourceRoot||lt(this.map.mapFile));var c={column:a.column,endColumn:i&&i.column,endLine:i&&i.line,line:a.line,url:o.toString()};if("file:"===o.protocol){if(!ut)throw new Error("file: protocol is not available in this PostCSS build");c.file=ut(o)}var u=s.sourceContentFor(a.source);return u&&(c.source=u),c},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=g({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},d(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),wt=bt;bt.default=bt,dt&&dt.registerInput&&dt.registerInput(bt);var kt=Me.SourceMapConsumer,St=Me.SourceMapGenerator,Ct=Me.dirname,xt=Me.relative,It=Me.resolve,Ot=Me.sep,Et=Me.pathToFileURL,At=wt,Mt=Boolean(kt&&St),Rt=Boolean(Ct&&It&&xt&&Ot),Tt=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=C(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||Ct(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new kt(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(),Rt&&Mt&&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=St.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new St({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 St({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,c,u){if(e.css+=a,c&&"end"!==u&&(s.generated.line=n,s.generated.column=i-1,c.source&&c.source.start?(s.source=e.sourcePath(c),s.original.line=c.source.start.line,s.original.column=c.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,c&&"start"!==u){var l=c.parent||{raws:{}};("decl"===c.type||"atrule"===c.type&&!c.nodes)&&c===l.last&&!l.raws.semicolon||(c.source&&c.source.end?(s.source=e.sourcePath(c),s.original.line=c.source.end.line,s.original.column=c.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()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((function(e){return e.annotation})))},t.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((function(e){return e.inline})))},t.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((function(e){return e.withContent()}))},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)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?Ct(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=Ct(It(r,this.mapOpts.annotation)));var n=xt(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 At(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(Et){var r=Et(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;"\\"===Ot&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),Pt=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return v(t,e),t}(Ye),Nt=Pt;Pt.default=Pt;var Lt,Ft,Dt,Ut,Bt=Le.isClean,jt=Le.my,qt=Ze,zt=Nt;
1function Ht(e){return e.map((function(e){return e.nodes&&(e.nodes=Ht(e.nodes)),delete e.source,e}))}function Vt(e){if(e[Bt]=!1,e.proxyOf.nodes)for(var t,r=C(e.proxyOf.nodes);!(t=r()).done;){Vt(t.value)}}var Wt=function(e){function t(){return e.apply(this,arguments)||this}v(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=C(t);!(n=i()).done;)for(var o,s=n.value,a=C(this.normalize(s,this.last));!(o=a()).done;){var c=o.value;this.proxyOf.nodes.push(c)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=C(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=C(i);!(o=s()).done;){var a=o.value;this.proxyOf.nodes.splice(n+1,0,a)}for(var c in this.indexes)n<(r=this.indexes[c])&&(this.indexes[c]=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=C(o);!(s=a()).done;){var c=s.value;this.proxyOf.nodes.splice(n,0,c)}for(var u in this.indexes)n<=(r=this.indexes[u])&&(this.indexes[u]=r+o.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"==typeof e)e=Ht(Lt(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(var i,o=C(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,c=C(e=e.nodes.slice(0));!(a=c()).done;){var u=a.value;u.parent&&u.parent.removeChild(u,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new qt(e)]}else if(e.selector)e=[new Ft(e)];else if(e.name)e=[new Dt(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new zt(e)]}var l=e.map((function(e){return e[jt]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[Bt]&&Vt(e),void 0===e.raws.before&&r&&void 0!==r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e}));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=C(t=t.reverse());!(n=i()).done;){for(var o,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),c=C(a);!(o=c()).done;){var u=o.value;this.proxyOf.nodes.unshift(u)}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=C(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}
1,r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each((function(t,r){var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))},r.walkAtRules=function(e,t){return t?y(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?y(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?y(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)})))},d(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}(Ye);Wt.registerParse=function(e){Lt=e},Wt.registerRule=function(e){Ft=e},Wt.registerAtRule=function(e){Dt=e},Wt.registerRoot=function(e){Ut=e};var $t=Wt;Wt.default=Wt,Wt.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,Dt.prototype):"rule"===e.type?Object.setPrototypeOf(e,Ft.prototype):"decl"===e.type?Object.setPrototypeOf(e,qt.prototype):"comment"===e.type?Object.setPrototypeOf(e,zt.prototype):"root"===e.type&&Object.setPrototypeOf(e,Ut.prototype),e[jt]=!0,e.nodes&&e.nodes.forEach((function(e){Wt.rebuild(e)}))};var Gt,Jt,Yt=function(e){function t(t){var r;return(r=e.call(this,g({type:"document"},t))||this).nodes||(r.nodes=[]),r}return v(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new Gt(new Jt,this,e).stringify()},t}($t);Yt.registerLazyResult=function(e){Gt=e},Yt.registerProcessor=function(e){Jt=e};var Kt=Yt;Yt.default=Yt;var Zt=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}(),Xt=Zt;Zt.default=Zt;var Qt=Xt,er=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 Qt(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter((function(e){return"warning"===e.type}))},d(e,[{key:"content",get:function(){return this.css}}]),e}(),tr=er;er.default=er;var rr="'".charCodeAt(0),nr='"'.charCodeAt(0),ir="\\".charCodeAt(0),or="/".charCodeAt(0),sr="\n".charCodeAt(0),ar=" ".charCodeAt(0),cr="\f".charCodeAt(0),ur="\t".charCodeAt(0),lr="\r".charCodeAt(0),hr="[".charCodeAt(0),pr="]".charCodeAt(0),fr="(".charCodeAt(0),dr=")".charCodeAt(0),gr="{".charCodeAt(0),mr="}".charCodeAt(0),vr=";".charCodeAt(0),yr="*".charCodeAt(0),_r=":".charCodeAt(0),br="@".charCodeAt(0),wr=/[\t\n\f\r "#'()/;[\\\]{}]/g,kr=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Sr=/.[\r\n"'(/\\]/,Cr=/[\da-f]/i,xr=$t,Ir=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}v(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}(xr),Or=Ir;Ir.default=Ir,xr.registerAtRule(Ir);var Er,Ar,Mr=$t,Rr=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}v(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=C(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 Er(new Ar,this,e).stringify()},t}(Mr);Rr.registerLazyResult=function(e){Er=e},Rr.registerProcessor=function(e){Ar=e};var Tr=Rr;Rr.default=Rr,Mr.registerRoot(Rr);var Pr={comma:function(e){return Pr.split(e,[","],!0)},space:function(e){return Pr.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,i=[],o="",s=!1,a=0,c=!1,u="",l=!1,h=C(e);!(n=h()).done;){var p=n.value;l?l=!1:"\\"===p?l=!0:c?p===u&&(c=!1):'"'===p||"'"===p?(c=!0,u=p):"("===p?a+=1:")"===p?a>
vendor: 9,037 bytes, line 1
10&&(a-=1):0===a&&t.includes(p)&&(s=!0),s?(""!==o&&i.push(o.trim()),o="",s=!1):o+=p}return(r||""!==o)&&i.push(o.trim()),i}},Nr=Pr;Pr.default=Pr;var Lr=$t,Fr=Nr,Dr=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return v(t,e),d(t,[{key:"selectors",get:function(){return Fr.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}(Lr),Ur=Dr;Dr.default=Dr,Lr.registerRule(Dr);var Br=Ze,jr=function(e,t){void 0===t&&(t={});var r,n,i,o,s,a,c,u,l,h,p=e.css.valueOf(),f=t.ignoreErrors,d=p.length,g=0,m=[],v=[];function y(t){throw e.error("Unclosed "+t,g)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&g>=d},nextToken:function(e){if(v.length)return v.pop();if(!(g>=d)){var t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(g)){case sr:case ar:case ur:case lr:case cr:n=g;do{n+=1,r=p.charCodeAt(n)}while(r===ar||r===sr||r===ur||r===lr||r===cr);h=["space",p.slice(g,n)],g=n-1;break;case hr:case pr:case gr:case mr:case _r:case vr:case dr:var _=String.fromCharCode(r);h=[_,_,g];break;case fr:if(u=m.length?m.pop()[1]:"",l=p.charCodeAt(g+1),"url"===u&&l!==rr&&l!==nr&&l!==ar&&l!==sr&&l!==ur&&l!==cr&&l!==lr){n=g;do{if(a=!1,-1===(n=p.indexOf(")",n+1))){if(f||t){n=g;break}y("bracket")}for(c=n;p.charCodeAt(c-1)===ir;)c-=1,a=!a}while(a);h=["brackets",p.slice(g,n+1),g,n],g=n}else n=p.indexOf(")",g+1),o=p.slice(g,n+1),-1===n||Sr.test(o)?h=["(","(",g]:(h=["brackets",o,g,n],g=n);break;case rr:case nr:i=r===rr?"'":'"',n=g;do{if(a=!1,-1===(n=p.indexOf(i,n+1))){if(f||t){n=g+1;break}y("string")}for(c=n;p.charCodeAt(c-1)===ir;)c-=1,a=!a}while(a);h=["string",p.slice(g,n+1),g,n],g=n;break;case br:wr.lastIndex=g+1,wr.test(p),n=0===wr.lastIndex?p.length-1:wr.lastIndex-2,h=["at-word",p.slice(g,n+1),g,n],g=n;break;case ir:for(n=g,s=!0;p.charCodeAt(n+1)===ir;)n+=1,s=!s;if(r=p.charCodeAt(n+1),s&&r!==or&&r!==ar&&r!==sr&&r!==ur&&r!==lr&&r!==cr&&(n+=1,Cr.test(p.charAt(n)))){for(;Cr.test(p.charAt(n+1));)n+=1;p.charCodeAt(n+1)===ar&&(n+=1)}h=["word",p.slice(g,n+1),g,n],g=n;break;default:r===or&&p.charCodeAt(g+1)===yr?(0===(n=p.indexOf("*/",g+2)+1)&&(f||t?n=p.length:y("comment")),h=["comment",p.slice(g,n+1),g,n],g=n):(kr.lastIndex=g+1,kr.test(p),n=0===kr.lastIndex?p.length-1:kr.lastIndex-2,h=["word",p.slice(g,n+1),g,n],m.push(h),g=n)}return g++,h}},position:function(){return g}}},qr=Nt,zr=Or,Hr=Tr,Vr=Ur,Wr={empty:!0,space:!0};var $r=function(){function e(e){this.input=e,this.root=new Hr,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 zr;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,s=!1,a=[],c=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.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=C(e.entries());!(i=s()).done;){var a=i.value,c=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 c}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new qr;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=jr(this.input)},t.decl=function(e,t){var r=new Br;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 c=e.length-1;c>=0;c--){if("!important"===(n=e[c])[1].toLowerCase()){r.important=!0;var u=this.stringFrom(e,c);" !important"!==(u=this.spacesFromEnd(e)+u)&&(r.raws.important=u);break}if("important"===n[1].toLowerCase()){for(var l=e.slice(0),h="",p=c;p>0;p--){var f=l[p][0];if(0===h.trim().indexOf("!")&&"space"!==f)break;h=l.pop()[1]+h}0===h.trim().indexOf("!")&&(r.important=!0,r.raws.important=h,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 Vr;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=[],c=e;c;){if(r=c[0],a.push(c),"("===r||"["===r)i||(i=c),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=c),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));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;a.length&&("space"===(c=a[a.length-1][0])||"comment"===c);)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,c=r.length,u="",l=!0,h=0;h<c;h+=1)"space"!==(o=(i=r[h])[0])||h!==c-1||n?"comment"===o?(a=r[h-1]?r[h-1][0]:"empty",s=r[h+1]?r[h+1][0]:"empty",Wr[a]||Wr[s]||","===u.slice(-1)?l=!1:u+=i[1]):u+=i[1]:l=!1;if(!l){var p=r.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={raw:p,value:u}}e[t]=u},t.rule=function(e){e.pop();var t=new Vr;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="";
1e.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}(),Gr=$t,Jr=$r,Yr=wt;function Kr(e,t){var r=new Yr(e,t),n=new Jr(r);try{n.parse()}catch(e){throw e}return n.root}var Zr=Kr;Kr.default=Kr,Gr.registerParse(Kr);var Xr=Le.isClean,Qr=Le.my,en=Tt,tn=qe,rn=$t,nn=Kt,on=tr,sn=Zr,an=Tr,cn={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},un={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},ln={Once:!0,postcssPlugin:!0,prepare:!0};function hn(e){return"object"===(void 0===e?"undefined":w(e))&&"function"==typeof e.then}function pn(e){var t=!1,r=cn[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 fn(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:pn(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function dn(e){return e[Xr]=!1,e.nodes&&e.nodes.forEach((function(e){return dn(e)})),e}var gn={},mn=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===r?"undefined":w(r))||null===r||"root"!==r.type&&"document"!==r.type)if(y(r,e)||y(r,on))i=dn(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var s=sn;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(e){this.processed=!0,this.error=e}i&&!i[Qr]&&rn.rebuild(i)}else i=dn(r);this.result=new on(t,i,n),this.helpers=g({},gn,{postcss:gn,result:this.result}),this.plugins=this.processor.plugins.map((function(e){return"object"===(void 0===e?"undefined":w(e))&&e.prepare?g({},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(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=C(this.plugins);!(t=n()).done;){var i=t.value;if("object"===(void 0===i?"undefined":w(i)))for(var o in i){if(!un[o]&&/^[A-Z]/.test(o))throw new Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!ln[o])if("object"===w(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 p((function(){var t,r,n,i,o,s,a,c,u,l,h,p;return x(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],!hn(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[Xr])return[3,14];o[Xr]=!0,s=[fn(o)],f.label=8;case 8:if(!(s.length>0))return[3,13];
1if(!hn(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 c=f.sent(),u=s[s.length-1].node,e.handleError(c,u);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 x(this,(function(a){switch(a.label){case 0:t=p.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]}}))},h=C(e.listeners.OnceExit),f.label=15;case 15:return(p=h()).done?[3,18]:[5,I(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"===(void 0===e?"undefined":w(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 hn(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(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=tn;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new en(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=C(this.plugins);!(e=t()).done;){var r=e.value;if(hn(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[Xr];)n[Xr]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var i,o=C(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=C(e);!(r=n()).done;){var i=r.value,o=i[0],s=i[1];this.result.lastPlugin=o;var a=void 0;try{a=s(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(hn(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(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var a,c=t.iterator;a=r.nodes[r.indexes[c]];)if(r.indexes[c]+=1,!a[Xr])return a[Xr]=!0,void e.push(fn(a));t.iterator=0,delete r.indexes[c]}for(var u=t.events;t.eventIndex<u.length;){var l=u[t.eventIndex];if(t.eventIndex+=1,0===l)return void(r.nodes&&r.nodes.length&&(r[Xr]=!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[Xr]=!0;for(var r,n=C(pn(e));!(r=n()).done;){var i=r.value;if(0===i)e.nodes&&e.each((function(e){e[Xr]||t.walkSync(e)}));else{var o=this.listeners[i];if(o&&this.visitSync(o,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},d(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}();mn.registerPostcss=function(e){gn=e};var vn=mn;mn.default=mn,an.registerLazyResult(mn),nn.registerLazyResult(mn);var yn=Tt,_n=qe,bn=Zr,wn=tr,kn=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=_n;this.result=new wn(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 yn(i,n,this._opts,t);
1if(s.isMap()){var a=s.generate(),c=a[0],u=a[1];c&&(this.result.css=c),u&&(this.result.map=u)}else s.clearAnnotation(),this.result.css=s.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},d(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=bn;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),Sn=kn;kn.default=kn;var Cn=Sn,xn=vn,In=Kt,On=Tr,En=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=C(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"===(void 0===i?"undefined":w(i))&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if("object"===(void 0===i?"undefined":w(i))&&i.postcssPlugin)r.push(i);else if("function"==typeof i)r.push(i);else{if("object"!==(void 0===i?"undefined":w(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 xn(this,e,t):new Cn(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),An=En;En.default=En,On.registerProcessor(En),In.registerProcessor(En);var Mn=Ze,Rn=st,Tn=Nt,Pn=Or,Nn=wt,Ln=Tr,Fn=Ur;function Dn(e,t){if(Array.isArray(e))return e.map((function(e){return Dn(e)}));var r=e.inputs,n=_(e,["inputs"]);if(r){t=[];for(var i,o=C(r);!(i=o()).done;){var s=g({},i.value,{__proto__:Nn.prototype});s.map&&(s.map=g({},s.map,{__proto__:Rn.prototype})),t.push(s)}}if(n.nodes&&(n.nodes=e.nodes.map((function(e){return Dn(e,t)}))),n.source){var a=n.source,c=a.inputId,u=_(a,["inputId"]);n.source=u,null!=c&&(n.source.input=t[c])}if("root"===n.type)return new Ln(n);if("decl"===n.type)return new Mn(n);if("rule"===n.type)return new Fn(n);if("comment"===n.type)return new Tn(n);if("atrule"===n.type)return new Pn(n);throw new Error("Unknown node type: "+e.type)}var Un=Dn;Dn.default=Dn;var Bn=Ne,jn=Ze,qn=vn,zn=$t,Hn=An,Vn=qe,Wn=Un,$n=Kt,Gn=Xt,Jn=Nt,Yn=Or,Kn=tr,Zn=wt,Xn=Zr,Qn=Nr,ei=Ur,ti=Tr,ri=Ye;function ni(){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 Hn(t)}ni.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"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(i));return s.postcssPlugin=e,s.postcssVersion=(new Hn).version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return ni([i(r)]).process(e,t)},i},ni.stringify=Vn,ni.parse=Xn,ni.fromJSON=Wn,ni.list=Qn,ni.comment=function(e){return new Jn(e)},ni.atRule=function(e){return new Yn(e)},ni.decl=function(e){return new jn(e)},ni.rule=function(e){return new ei(e)},ni.root=function(e){return new ti(e)},ni.document=function(e){return new $n(e)},ni.CssSyntaxError=Bn,ni.Declaration=jn,ni.Container=zn,ni.Processor=Hn,ni.Document=$n,ni.Comment=Jn,ni.Warning=Gn,ni.AtRule=Yn,ni.Result=Kn,ni.Input=Zn,ni.Rule=ei,ni.Root=ti,ni.Node=ri,qn.registerPostcss(ni);var ii=ni;ni.default=ni;var oi=Ce(ii);oi.stringify,oi.fromJSON,oi.plugin,oi.parse,oi.list,oi.document,oi.comment,oi.atRule,oi.rule,oi.decl,oi.root,oi.CssSyntaxError,oi.Declaration,oi.Container,oi.Processor,oi.Document,oi.Comment,oi.Warning,oi.AtRule,oi.Result,oi.Input,oi.Rule,oi.Root,oi.Node;var si=Object.defineProperty,ai=function(e,t,r){return function(e,t,r){return t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":w(t))?t+"":t,r)};
1function ci(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ui(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return y(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 li={exports:{}},hi=String,pi=function(){return{isColorSupported:!1,reset:hi,bold:hi,dim:hi,italic:hi,underline:hi,inverse:hi,hidden:hi,strikethrough:hi,black:hi,red:hi,green:hi,yellow:hi,blue:hi,magenta:hi,cyan:hi,white:hi,gray:hi,bgBlack:hi,bgRed:hi,bgGreen:hi,bgYellow:hi,bgBlue:hi,bgMagenta:hi,bgCyan:hi,bgWhite:hi}};li.exports=pi(),li.exports.createColors=pi;var fi=li.exports,di=ui(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),gi=fi,mi=di,vi=function(e){function t(r,n,i,o,s,a){var c;return(c=e.call(this,r)||this).name="CssSyntaxError",c.reason=r,s&&(c.file=s),o&&(c.source=o),a&&(c.plugin=a),void 0!==n&&void 0!==i&&("number"==typeof n?(c.line=n,c.column=i):(c.line=n.line,c.column=n.column,c.endLine=i.line,c.endColumn=i.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,t),c}v(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=gi.isColorSupported),mi&&e&&(r=mi(r));var n,i,o=r.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),c=String(a).length;if(e){var u=gi.createColors(!0),l=u.bold,h=u.gray,p=u.red;n=function(e){return l(p(e))},i=function(e){return h(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(-c)+" | ";if(o===t.line){var u=i(a.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+i(a)+e+"\n "+u+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}(k(Error)),yi=vi;vi.default=vi;var _i={};_i.isClean=Symbol("isClean"),_i.my=Symbol("my");var bi={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};var wi=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.beforeAfter=function(e,t){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&&void 0!==(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 bi[r];var o=e.root();if(o.rawCache||(o.rawCache={}),void 0!==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(void 0!==(n=e.raws[t]))return!1})),void 0===n&&(n=bi[r]),o.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments((function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls((function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk((function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1})),t},t.rawBeforeRule=function(e){var t;return e.walk((function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls((function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t},t.rawEmptyBody=function(e){var t;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1})),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk((function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}})),t);var t},t.rawSemicolon=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1})),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),ki=wi;wi.default=wi;var Si=ki;function Ci(e,t){new Si(t).stringify(e)}var xi=Ci;Ci.default=Ci;var Ii=_i.isClean,Oi=_i.my,Ei=yi,Ai=ki,Mi=xi;function Ri(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=void 0===i?"undefined":w(i);"parent"===n&&"object"===o?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map((function(e){return Ri(e,r)})):("object"===o&&null!==i&&(i=Ri(i)),r[n]=i)}return r}var Ti=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[Ii]=!1,this[Oi]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=C(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=Ri(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 Ei(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}}}
1,t.markDirty=function(){if(this[Ii]){this[Ii]=!1;for(var e=this;e=e.parent;)e[Ii]=!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 Ai).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=C(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"===(void 0===e?"undefined":w(e))&&e.toJSON?e.toJSON(null,t):e}));else if("object"===(void 0===s?"undefined":w(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=Mi),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)},d(e,[{key:"proxyOf",get:function(){return this}}]),e}(),Pi=Ti;Ti.default=Ti;var Ni=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=g({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return v(t,e),d(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(Pi),Li=Ni;Ni.default=Ni;var Fi=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},Di=di.SourceMapConsumer,Ui=di.SourceMapGenerator,Bi=di.existsSync,ji=di.readFileSync,qi=di.dirname,zi=di.join;var Hi=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=qi(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new Di(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"===(void 0===e?"undefined":w(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
1if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=qi(e),Bi(e))return this.mapFile=e,ji(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(y(t,Di))return Ui.fromSourceMap(t).toString();if(y(t,Ui))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=zi(qi(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}(),Vi=Hi;Hi.default=Hi;var Wi=di.SourceMapConsumer,$i=di.SourceMapGenerator,Gi=di.fileURLToPath,Ji=di.pathToFileURL,Yi=di.isAbsolute,Ki=di.resolve,Zi=Fi,Xi=di,Qi=yi,eo=Vi,to=Symbol("fromOffsetCac
1he"),ro=Boolean(Wi&&$i),no=Boolean(Ki&&Yi),io=function(){function e(e,t){if(void 0===t&&(t={}),null==e||"object"===(void 0===e?"undefined":w(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!no||/^\w+:\/\//.test(t.from)||Yi(t.from)?this.file=t.from:this.file=Ki(t.from)),no&&ro){var r=new eo(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 "+Zi(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"===(void 0===t?"undefined":w(t))){var a=t,c=r;if("number"==typeof a.offset){var u=this.fromOffset(a.offset);t=u.line,r=u.col}else t=a.line,r=a.column;if("number"==typeof c.offset){var l=this.fromOffset(c.offset);o=l.line,s=l.col}else o=c.line,s=c.column}else if(!r){var h=this.fromOffset(t);t=h.line,r=h.col}var p=this.origin(t,r,o,s);return(i=p?new Qi(e,void 0===p.endLine?p.line:{column:p.column,line:p.line},void 0===p.endLine?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,n.plugin):new Qi(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&&(Ji&&(i.input.url=Ji(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t;if(this[to])t=this[to];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[to]=t}var s=0;if(e>=t[t.length-1])s=t.length-1;else for(var a,c=t.length-2;s<c;)if(e<t[a=s+(c-s>>1)])c=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:Ki(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=Yi(a.source)?Ji(a.source):new URL(a.source,this.map.consumer().sourceRoot||Ji(this.map.mapFile));var c={column:a.column,endColumn:i&&i.column,endLine:i&&i.line,line:a.line,url:o.toString()};if("file:"===o.protocol){if(!Gi)throw new Error("file: protocol is not available in this PostCSS build");c.file=Gi(o)}var u=s.sourceContentFor(a.source);return u&&(c.source=u),c},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=g({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},d(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),oo=io;io.default=io,Xi&&Xi.registerInput&&Xi.registerInput(io);var so=di.SourceMapConsumer,ao=di.SourceMapGenerator,co=di.dirname,uo=di.relative,lo=di.resolve,ho=di.sep,po=di.pathToFileURL,fo=oo,go=Boolean(so&&ao),mo=Boolean(co&&lo&&uo&&ho),vo=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=C(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||co(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new so(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(),mo&&go&&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=ao.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new ao({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 ao({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,c,u){if(e.css+=a,c&&"end"!==u&&(s.generated.line=n,s.generated.column=i-1,c.source&&c.source.start?(s.source=e.sourcePath(c),s.original.line=c.source.start.line,s.original.column=c.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,c&&"start"!==u){var l=c.parent||{raws:{}};("decl"===c.type||"atrule"===c.type&&!c.nodes)&&c===l.last&&!l.raws.semicolon||(c.source&&c.source.end?(s.source=e.sourcePath(c),s.original.line=c.source.end.line,s.original.column=c.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()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((function(e){return e.annotation})))},t.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((function(e){return e.inline})))},t.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((function(e){return e.withContent()}))},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)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?co(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=co(lo(r,this.mapOpts.annotation)));var n=uo(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 fo(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(po){var r=po(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;
1"\\"===ho&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),yo=vo,_o=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return v(t,e),t}(Pi),bo=_o;_o.default=_o;var wo,ko,So,Co,xo=_i.isClean,Io=_i.my,Oo=Li,Eo=bo;function Ao(e){return e.map((function(e){return e.nodes&&(e.nodes=Ao(e.nodes)),delete e.source,e}))}function Mo(e){if(e[xo]=!1,e.proxyOf.nodes)for(var t,r=C(e.proxyOf.nodes);!(t=r()).done;){Mo(t.value)}}var Ro=function(e){function t(){return e.apply(this,arguments)||this}v(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=C(t);!(n=i()).done;)for(var o,s=n.value,a=C(this.normalize(s,this.last));!(o=a()).done;){var c=o.value;this.proxyOf.nodes.push(c)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=C(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=C(i);!(o=s()).done;){var a=o.value;this.proxyOf.nodes.splice(n+1,0,a)}for(var c in this.indexes)n<(r=this.indexes[c])&&(this.indexes[c]=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=C(o);!(s=a()).done;){var c=s.value;this.proxyOf.nodes.splice(n,0,c)}for(var u in this.indexes)n<=(r=this.indexes[u])&&(this.indexes[u]=r+o.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"==typeof e)e=Ao(wo(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(var i,o=C(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,c=C(e=e.nodes.slice(0));!(a=c()).done;){var u=a.value;u.parent&&u.parent.removeChild(u,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new Oo(e)]}else if(e.selector)e=[new ko(e)];else if(e.name)e=[new So(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new Eo(e)]}var l=e.map((function(e){return e[Io]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[xo]&&Mo(e),void 0===e.raws.before&&r&&void 0!==r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e}));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=C(t=t.reverse());!(n=i()).done;
1){for(var o,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),c=C(a);!(o=c()).done;){var u=o.value;this.proxyOf.nodes.unshift(u)}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=C(this.proxyOf.nodes);!(e=t()).done;){e.value.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls((function(n){t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))})),this.markDirty(),this},r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each((function(t,r){var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))},r.walkAtRules=function(e,t){return t?y(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?y(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?y(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)})))},d(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}(Pi);Ro.registerParse=function(e){wo=e},Ro.registerRule=function(e){ko=e},Ro.registerAtRule=function(e){So=e},Ro.registerRoot=function(e){Co=e};var To=Ro;Ro.default=Ro,Ro.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,So.prototype):"rule"===e.type?Object.setPrototypeOf(e,ko.prototype):"decl"===e.type?Object.setPrototypeOf(e,Oo.prototype):"comment"===e.type?Object.setPrototypeOf(e,Eo.prototype):"root"===e.type&&Object.setPrototypeOf(e,Co.prototype),e[Io]=!0,e.nodes&&e.nodes.forEach((function(e){Ro.rebuild(e)}))};var Po,No,Lo=function(e){function t(t){var r;return(r=e.call(this,g({type:"document"},t))||this).nodes||(r.nodes=[]),r}return v(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new Po(new No,this,e).stringify()},t}(To);Lo.registerLazyResult=function(e){Po=e},Lo.registerProcessor=function(e){No=e};var Fo=Lo;Lo.default=Lo;var Do=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}(),Uo=Do;Do.default=Do;var Bo=Uo,jo=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 Bo(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter((function(e){return"warning"===e.type}))},d(e,[{key:"content",get:function(){return this.css}}]),e}(),qo=jo;jo.default=jo;var zo="'".charCodeAt(0),Ho='"'.charCodeAt(0),Vo="\\".charCodeAt(0),Wo="/".charCodeAt(0),$o="\n".charCodeAt(0),Go=" ".charCodeAt(0),Jo="\f".charCodeAt(0),Yo="\t".charCodeAt(0),Ko="\r".charCodeAt(0),Zo="[".charCodeAt(0),Xo="]".charCodeAt(0),Qo="(".charCodeAt(0),es=")".charCodeAt(0),ts="{".charCodeAt(0),rs="}".charCodeAt(0),ns=";".charCodeAt(0),is="*".charCodeAt(0),os=":".charCodeAt(0),ss="@".charCodeAt(0),as=/[\t\n\f\r "#'()/;[\\\]{}]/g,cs=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,us=/.[\r\n"'(/\\]/,ls=/[\da-f]/i,hs=To,ps=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}v(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}(hs),fs=ps;ps.default=ps,hs.registerAtRule(ps);var ds,gs,ms=To,vs=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}v(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=C(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 ds(new gs,this,e).stringify()},t}(ms);vs.registerLazyResult=function(e){ds=e},vs.registerProcessor=function(e){gs=e};var ys=vs;vs.default=vs,ms.registerRoot(vs);var _s={comma:function(e){return _s.split(e,[","],!0)},space:function(e){return _s.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,i=[],o="",s=!1,a=0,c=!1,u="",l=!1,h=C(e);!(n=h()).done;){var p=n.value;l?l=!1:"\\"===p?l=!0:c?p===u&&(c=!1):'"'===p||"'"===p?(c=!0,u=p):"("===p?a+=1:")"===p?a>
vendor: 9,037 bytes, line 1
10&&(a-=1):0===a&&t.includes(p)&&(s=!0),s?(""!==o&&i.push(o.trim()),o="",s=!1):o+=p}return(r||""!==o)&&i.push(o.trim()),i}},bs=_s;_s.default=_s;var ws=To,ks=bs,Ss=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return v(t,e),d(t,[{key:"selectors",get:function(){return ks.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}(ws),Cs=Ss;Ss.default=Ss,ws.registerRule(Ss);var xs=Li,Is=function(e,t){void 0===t&&(t={});var r,n,i,o,s,a,c,u,l,h,p=e.css.valueOf(),f=t.ignoreErrors,d=p.length,g=0,m=[],v=[];function y(t){throw e.error("Unclosed "+t,g)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&g>=d},nextToken:function(e){if(v.length)return v.pop();if(!(g>=d)){var t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(g)){case $o:case Go:case Yo:case Ko:case Jo:n=g;do{n+=1,r=p.charCodeAt(n)}while(r===Go||r===$o||r===Yo||r===Ko||r===Jo);h=["space",p.slice(g,n)],g=n-1;break;case Zo:case Xo:case ts:case rs:case os:case ns:case es:var _=String.fromCharCode(r);h=[_,_,g];break;case Qo:if(u=m.length?m.pop()[1]:"",l=p.charCodeAt(g+1),"url"===u&&l!==zo&&l!==Ho&&l!==Go&&l!==$o&&l!==Yo&&l!==Jo&&l!==Ko){n=g;do{if(a=!1,-1===(n=p.indexOf(")",n+1))){if(f||t){n=g;break}y("bracket")}for(c=n;p.charCodeAt(c-1)===Vo;)c-=1,a=!a}while(a);h=["brackets",p.slice(g,n+1),g,n],g=n}else n=p.indexOf(")",g+1),o=p.slice(g,n+1),-1===n||us.test(o)?h=["(","(",g]:(h=["brackets",o,g,n],g=n);break;case zo:case Ho:i=r===zo?"'":'"',n=g;do{if(a=!1,-1===(n=p.indexOf(i,n+1))){if(f||t){n=g+1;break}y("string")}for(c=n;p.charCodeAt(c-1)===Vo;)c-=1,a=!a}while(a);h=["string",p.slice(g,n+1),g,n],g=n;break;case ss:as.lastIndex=g+1,as.test(p),n=0===as.lastIndex?p.length-1:as.lastIndex-2,h=["at-word",p.slice(g,n+1),g,n],g=n;break;case Vo:for(n=g,s=!0;p.charCodeAt(n+1)===Vo;)n+=1,s=!s;if(r=p.charCodeAt(n+1),s&&r!==Wo&&r!==Go&&r!==$o&&r!==Yo&&r!==Ko&&r!==Jo&&(n+=1,ls.test(p.charAt(n)))){for(;ls.test(p.charAt(n+1));)n+=1;p.charCodeAt(n+1)===Go&&(n+=1)}h=["word",p.slice(g,n+1),g,n],g=n;break;default:r===Wo&&p.charCodeAt(g+1)===is?(0===(n=p.indexOf("*/",g+2)+1)&&(f||t?n=p.length:y("comment")),h=["comment",p.slice(g,n+1),g,n],g=n):(cs.lastIndex=g+1,cs.test(p),n=0===cs.lastIndex?p.length-1:cs.lastIndex-2,h=["word",p.slice(g,n+1),g,n],m.push(h),g=n)}return g++,h}},position:function(){return g}}},Os=bo,Es=fs,As=ys,Ms=Cs,Rs={empty:!0,space:!0};var Ts=function(){function e(e){this.input=e,this.root=new As,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 Es;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,s=!1,a=[],c=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.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=C(e.entries());!(i=s()).done;){var a=i.value,c=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 c}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new Os;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=Is(this.input)},t.decl=function(e,t){var r=new xs;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 c=e.length-1;c>=0;c--){if("!important"===(n=e[c])[1].toLowerCase()){r.important=!0;var u=this.stringFrom(e,c);" !important"!==(u=this.spacesFromEnd(e)+u)&&(r.raws.important=u);break}if("important"===n[1].toLowerCase()){for(var l=e.slice(0),h="",p=c;p>0;p--){var f=l[p][0];if(0===h.trim().indexOf("!")&&"space"!==f)break;h=l.pop()[1]+h}0===h.trim().indexOf("!")&&(r.important=!0,r.raws.important=h,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 Ms;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=[],c=e;c;){if(r=c[0],a.push(c),"("===r||"["===r)i||(i=c),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=c),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));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;a.length&&("space"===(c=a[a.length-1][0])||"comment"===c);)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,c=r.length,u="",l=!0,h=0;h<c;h+=1)"space"!==(o=(i=r[h])[0])||h!==c-1||n?"comment"===o?(a=r[h-1]?r[h-1][0]:"empty",s=r[h+1]?r[h+1][0]:"empty",Rs[a]||Rs[s]||","===u.slice(-1)?l=!1:u+=i[1]):u+=i[1]:l=!1;if(!l){var p=r.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={raw:p,value:u}}e[t]=u},t.rule=function(e){e.pop();var t=new Ms;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="";
1e.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}(),Ps=To,Ns=Ts,Ls=oo;function Fs(e,t){var r=new Ls(e,t),n=new Ns(r);try{n.parse()}catch(e){throw e}return n.root}var Ds=Fs;Fs.default=Fs,Ps.registerParse(Fs);var Us=_i.isClean,Bs=_i.my,js=yo,qs=xi,zs=To,Hs=Fo,Vs=qo,Ws=Ds,$s=ys,Gs={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},Ys={Once:!0,postcssPlugin:!0,prepare:!0};function Ks(e){return"object"===(void 0===e?"undefined":w(e))&&"function"==typeof e.then}function Zs(e){var t=!1,r=Gs[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 Xs(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Zs(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function Qs(e){return e[Us]=!1,e.nodes&&e.nodes.forEach((function(e){return Qs(e)})),e}var ea={},ta=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===r?"undefined":w(r))||null===r||"root"!==r.type&&"document"!==r.type)if(y(r,e)||y(r,Vs))i=Qs(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var s=Ws;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(e){this.processed=!0,this.error=e}i&&!i[Bs]&&zs.rebuild(i)}else i=Qs(r);this.result=new Vs(t,i,n),this.helpers=g({},ea,{postcss:ea,result:this.result}),this.plugins=this.processor.plugins.map((function(e){return"object"===(void 0===e?"undefined":w(e))&&e.prepare?g({},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(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=C(this.plugins);!(t=n()).done;){var i=t.value;if("object"===(void 0===i?"undefined":w(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(!Ys[o])if("object"===w(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 p((function(){var t,r,n,i,o,s,a,c,u,l,h,p;return x(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],!Ks(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[Us])return[3,14];o[Us]=!0,s=[Xs(o)],f.label=8;case 8:if(!(s.length>0))return[3,13];if(!Ks(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 c=f.sent(),u=s[s.length-1].node,e.handleError(c,u);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 x(this,(function(a){switch(a.label){case 0:t=p.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]}}
1))},h=C(e.listeners.OnceExit),f.label=15;case 15:return(p=h()).done?[3,18]:[5,I(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"===(void 0===e?"undefined":w(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 Ks(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(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=qs;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new js(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=C(this.plugins);!(e=t()).done;){var r=e.value;if(Ks(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[Us];)n[Us]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var i,o=C(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=C(e);!(r=n()).done;){var i=r.value,o=i[0],s=i[1];this.result.lastPlugin=o;var a=void 0;try{a=s(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(Ks(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(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var a,c=t.iterator;a=r.nodes[r.indexes[c]];)if(r.indexes[c]+=1,!a[Us])return a[Us]=!0,void e.push(Xs(a));t.iterator=0,delete r.indexes[c]}for(var u=t.events;t.eventIndex<u.length;){var l=u[t.eventIndex];if(t.eventIndex+=1,0===l)return void(r.nodes&&r.nodes.length&&(r[Us]=!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[Us]=!0;for(var r,n=C(Zs(e));!(r=n()).done;){var i=r.value;if(0===i)e.nodes&&e.each((function(e){e[Us]||t.walkSync(e)}));else{var o=this.listeners[i];if(o&&this.visitSync(o,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},d(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}();ta.registerPostcss=function(e){ea=e};var ra=ta;ta.default=ta,$s.registerLazyResult(ta),Hs.registerLazyResult(ta);var na=yo,ia=xi,oa=Ds,sa=qo,aa=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=ia;this.result=new sa(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 na(i,n,this._opts,t);if(s.isMap()){var a=s.generate(),c=a[0],u=a[1];c&&(this.result.css=c),u&&(this.result.map=u)}else s.clearAnnotation(),this.result.css=s.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Prom
1ise.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[]},d(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=oa;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),ca=aa;aa.default=aa;var ua=ca,la=ra,ha=Fo,pa=ys,fa=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=C(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"===(void 0===i?"undefined":w(i))&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if("object"===(void 0===i?"undefined":w(i))&&i.postcssPlugin)r.push(i);else if("function"==typeof i)r.push(i);else{if("object"!==(void 0===i?"undefined":w(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 la(this,e,t):new ua(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),da=fa;fa.default=fa,pa.registerProcessor(fa),ha.registerProcessor(fa);var ga=Li,ma=Vi,va=bo,ya=fs,_a=oo,ba=ys,wa=Cs;function ka(e,t){if(Array.isArray(e))return e.map((function(e){return ka(e)}));var r=e.inputs,n=_(e,["inputs"]);if(r){t=[];for(var i,o=C(r);!(i=o()).done;){var s=g({},i.value,{__proto__:_a.prototype});s.map&&(s.map=g({},s.map,{__proto__:ma.prototype})),t.push(s)}}if(n.nodes&&(n.nodes=e.nodes.map((function(e){return ka(e,t)}))),n.source){var a=n.source,c=a.inputId,u=_(a,["inputId"]);n.source=u,null!=c&&(n.source.input=t[c])}if("root"===n.type)return new ba(n);if("decl"===n.type)return new ga(n);if("rule"===n.type)return new wa(n);if("comment"===n.type)return new va(n);if("atrule"===n.type)return new ya(n);throw new Error("Unknown node type: "+e.type)}var Sa=ka;ka.default=ka;var Ca=yi,xa=Li,Ia=ra,Oa=To,Ea=da,Aa=xi,Ma=Sa,Ra=Fo,Ta=Uo,Pa=bo,Na=fs,La=qo,Fa=oo,Da=Ds,Ua=bs,Ba=Cs,ja=ys,qa=Pi;function za(){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 Ea(t)}za.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"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(i));return s.postcssPlugin=e,s.postcssVersion=(new Ea).version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return za([i(r)]).process(e,t)},i},za.stringify=Aa,za.parse=Da,za.fromJSON=Ma,za.list=Ua,za.comment=function(e){return new Pa(e)},za.atRule=function(e){return new Na(e)},za.decl=function(e){return new xa(e)},za.rule=function(e){return new Ba(e)},za.root=function(e){return new ja(e)},za.document=function(e){return new Ra(e)},za.CssSyntaxError=Ca,za.Declaration=xa,za.Container=Oa,za.Processor=Ea,za.Document=Ra,za.Comment=Pa,za.Warning=Ta,za.AtRule=Na,za.Result=La,za.Input=Fa,za.Rule=Ba,za.Root=ja,za.Node=qa,Ia.registerPostcss(za);var Ha=za;za.default=za;var Va=ci(Ha);Va.stringify,Va.fromJSON,Va.plugin,Va.parse,Va.list,Va.document,Va.comment,Va.atRule,Va.rule,Va.decl,Va.root,Va.CssSyntaxError,Va.Declaration,Va.Container,Va.Processor,Va.Document,Va.Comment,Va.Warning,Va.AtRule,Va.Result,Va.Input,Va.Rule,Va.Root,Va.Node;var Wa=function(){function e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];ai(this,"parentElement",null),ai(this,"parentNode",null),ai(this,"ownerDocument"),ai(this,"firstChild",null),ai(this,"lastChild",null),ai(this,"previousSibling",null),ai(this,"nextSibling",null),ai(this,"ELEMENT_NODE",1),ai(this,"TEXT_NODE",3),ai(this,"nodeType"),ai(this,"nodeName"),ai(this,"RRNodeType")}var t=e.prototype;return t.contains=function(t){if(!y(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"},d(e,[{key:"childNodes",get:function(){for(var e=[],t=this.firstChild;t;)e.push(t),t=t.nextSibling;return e}}]),e}(),$a={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Ga={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Ja={};function Ya(e){if(Ja[e])return Ja[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 Ga?Ga[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 c=a.contentWindow;if(!c)return t.prototype;var u=c[e].prototype;return document.body.removeChild(a),u?Ja[e]=u:r}catch(e){return r}}var Ka={};function Za(e,t,r){var n,i=e+"."+String(r);if(Ka[i])return Ka[i].call(t);var o=Ya(e),s=null==(n=Object.getOwnPropertyDescriptor(o,r))?void 0:n.get;return s?(Ka[i]=s,s.call(t)):t[r]}var Xa={};function Qa(e,t,r){var n=e+"."+String(r);if(Xa[n])return Xa[n].bind(t);var i=Ya(e)[r];return"function"!=typeof i?t[r]:(Xa[n]=i,i.bind(t))}function ec(){return Ya("MutationObserver").constructor}function tc(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(e){return function(){}}}var rc={childNodes:function(e){return Za("Node",e,"childNodes")},parentNode:function(e){return Za("Node",e,"parentNode")},parentElement:function(e){return Za("Node",e,"parentElement")},textContent:function(e){return Za("Node",e,"textContent")},contains:function(e,t){return Qa("Node",e,"contains")(t)},getRootNode:function(e){return Qa("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?Za("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?Za("Element",e,"shadowRoot"):null},querySelector:function(e,t){return Za("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return Za("Element",e,"querySelectorAll")(t)},mutationObserver:ec,patch:tc};function nc(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 ic="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.",oc={map:{},getId:function(){return console.error(ic),-1},getNode:function(){return console.error(ic),null},removeNodeFromMap:function(){console.error(ic)},has:function(){return console.error(ic),!1},reset:function(){console.error(ic)}};function sc(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 c=Date.now();i||!1!==r.leading||(i=c);var u=t-(c-i),l=this;u<=0||u>
1t?(n&&(clearTimeout(n),n=null),i=c,e.apply(l,s)):n||!1===r.trailing||(n=setTimeout((function(){i=!1===r.leading?0:Date.now(),n=null,e.apply(l,s)}),u))}}function ac(e,t,r,n,i){void 0===i&&(i=window);var o=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,n?r:{set:function(e){var t=this;setTimeout((function(){r.set.call(t,e)}),0),o&&o.set&&o.set.call(this,e)}}),function(){return ac(e,t,o||{},!0)}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(oc=new Proxy(oc,{get:function(e,t,r){return"map"===t&&console.error(ic),Reflect.get(e,t,r)}}));var cc=Date.now;function uc(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=rc.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=rc.parentElement(o.body))?void 0:n.scrollTop)||(null==(i=null==o?void 0:o.body)?void 0:i.scrollTop)||0}}function lc(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function hc(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function pc(e){return e?e.nodeType===e.ELEMENT_NODE?e:rc.parentElement(e):null}function fc(e,t,r,n){if(!e)return!1;var i=pc(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(_e(i,t,n))return!0}catch(e){}if(r){if(i.matches(r))return!0;if(n&&null!==i.closest(r))return!0}return!1}function dc(e,t,r){return!("TITLE"!==e.tagName||!r.headTitleMutations)||-2===t.getId(e)}function gc(e,t){if(H(e))return!1;var r=t.getId(e);if(!t.has(r))return!0;var n=rc.parentNode(e);return(!n||n.nodeType!==e.DOCUMENT_NODE)&&(!n||gc(n,t))}function mc(e){return Boolean(e.changedTouches)}function vc(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function yc(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function _c(e){return!!e&&(y(e,Wa)&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean(rc.shadowRoot(e)))}/[1-9][0-9]{12}/.test(Date.now().toString())||(cc=function(){return(new Date).getTime()});var bc=function(){function e(){A(this,"id",1),A(this,"styleIDMap",new WeakMap),A(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++},t.remove=function(e){var t=this.styleIDMap.get(e);return void 0!==t&&(this.styleIDMap.delete(e),this.idStyleMap.delete(t),!0)},e}();function wc(e){var t,r=null;return"getRootNode"in e&&(null==(t=rc.getRootNode(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&rc.host(rc.getRootNode(e))&&(r=rc.host(rc.getRootNode(e))),r}function kc(e){var t=e.ownerDocument;if(!t)return!1;var r=function(e){for(var t,r=e;t=wc(r);)r=t;return r}(e);return rc.contains(t,r)}function Sc(e){var t=e.ownerDocument;return!!t&&(rc.contains(t,e)||kc(e))}var Cc=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}(Cc||{}),xc=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}(xc||{}),Ic=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}(Ic||{}),Oc=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}(Oc||{}),Ec=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}(Ec||{}),Ac=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}(Ac||{}),Mc=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}(Mc||{});function Rc(e){return"__ln"in e}var Tc,Pc=function(){function e(){A(this,"length",0),A(this,"head",null),A(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&&Rc(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&&Rc(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;
1this.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}(),Nc=function(e,t){return e+"@"+t},Lc=function(){function e(){var e=this;A(this,"frozen",!1),A(this,"locked",!1),A(this,"texts",[]),A(this,"attributes",[]),A(this,"attributeMap",new WeakMap),A(this,"removes",[]),A(this,"mapRemoves",[]),A(this,"movedMap",{}),A(this,"addedSet",new Set),A(this,"movedSet",new Set),A(this,"droppedSet",new Set),A(this,"removesSubTreeCache",new Set),A(this,"mutationCb"),A(this,"blockClass"),A(this,"blockSelector"),A(this,"maskTextClass"),A(this,"maskTextSelector"),A(this,"inlineStylesheet"),A(this,"maskInputOptions"),A(this,"maskTextFn"),A(this,"maskInputFn"),A(this,"keepIframeSrcFn"),A(this,"recordCanvas"),A(this,"inlineImages"),A(this,"slimDOMOptions"),A(this,"dataURLOptions"),A(this,"doc"),A(this,"mirror"),A(this,"iframeManager"),A(this,"stylesheetManager"),A(this,"shadowDomManager"),A(this,"canvasManager"),A(this,"processedNodeManager"),A(this,"unattachedDoc"),A(this,"processMutations",(function(t){t.forEach(e.processMutation),e.emit()})),A(this,"emit",(function(){if(!e.frozen&&!e.locked){for(var t=[],r=new Set,n=new Pc,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=rc.parentNode(o);if(s&&Sc(o)){var a=!1;if(o.nodeType===Node.TEXT_NODE){var c=s.tagName;if("TEXTAREA"===c)return;"STYLE"===c&&e.addedSet.has(s)&&(a=!0)}var u=H(s)?e.mirror.getId(wc(o)):e.mirror.getId(s),l=i(o);if(-1===u||-1===l)return n.addNode(o);var h=Se(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){vc(t,e.mirror)&&e.iframeManager.addIframe(t),yc(t,e.mirror)&&e.stylesheetManager.trackLinkElement(t),_c(o)&&e.shadowDomManager.addShadowRoot(rc.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});h&&(t.push({parentId:u,nextId:l,node:h}),r.add(h.id))}};e.mapRemoves.length;){var s=e.mapRemoves.shift();e.cleanupRemovedNode(s),e.mirror.removeNodeFromMap(s)}for(var a,c=C(e.movedSet);!(a=c()).done;){var u=a.value;Dc(e.removesSubTreeCache,u,e.mirror)&&!e.movedSet.has(rc.parentNode(u))||o(u)}for(var l,h=C(e.addedSet);!(l=h()).done;){var p=l.value;Uc(e.droppedSet,p)||Dc(e.removesSubTreeCache,p,e.mirror)?Uc(e.movedSet,p)?o(p):e.droppedSet.add(p):o(p)}for(var f=null;n.length;){var d=null;if(f){var g=e.mirror.getId(rc.parentNode(f.value)),m=i(f.value);-1!==g&&-1!==m&&(d=f)}if(!d)for(var v=n.tail;v;){var y=v;if(v=v.previous,y){var _=e.mirror.getId(rc.parentNode(y.value));if(-1===i(y.value))continue;if(-1!==_){d=y;break}var b=y.value,w=rc.parentNode(b);if(w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var k=rc.host(w);if(-1!==e.mirror.getId(k)){d=y;break}}}}if(!d){for(;n.head;)n.removeNode(n.head.value);break}f=d.previous,n.removeNode(d.value),o(d.value)}var S={texts:e.texts.map((function(t){var r=t.node,n=rc.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};(S.texts.length||S.attributes.length||S.removes.length||S.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(S))}})),A(this,"genTextAreaValueMutation",(function(t){var r=e.attributeMap.get(t);r||(r={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(r),e.attributeMap.set(t,r));var n=Array.from(rc.childNodes(t),(function(e){return rc.textContent(e)||""})).join("");r.attributes.value=J({element:t,maskInputOptions:e.maskInputOptions,tagName:t.tagName,type:Z(t),value:n,maskInputFn:e.maskInputFn})})),A(this,"processMutation",(function(t){if(!dc(t.target,e.mirror,e.slimDOMOptions))switch(t.type){case"characterData":var r=rc.textContent(t.target);fc(t.target,e.blockClass,e.blockSelector,!1)||r===t.oldValue||e.texts.push({value:be(t.target,e.maskTextClass,e.maskTextSelector,!0)&&r?e.maskTextFn?e.maskTextFn(r,pc(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=Z(n);o=J({element:n,maskInputOptions:e.maskInputOptions,tagName:n.tagName,type:s,value:o,maskInputFn:e.maskInputFn})}if(fc(t.target,e.blockClass,e.blockSelector,!1)||o===t.oldValue)return;var a=e.attributeMap.get(t.target);
1if("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"),!ye(n.tagName,i))if(a.attributes[i]=ve(e.doc,Y(n.tagName),Y(i),o),"style"===i){if(!e.unattachedDoc)try{e.unattachedDoc=document.implementation.createHTMLDocument()}catch(t){e.unattachedDoc=e.doc}var c=e.unattachedDoc.createElement("span");t.oldValue&&c.setAttribute("style",t.oldValue);for(var u,l=C(Array.from(n.style));!(u=l()).done;){var h=u.value,p=n.style.getPropertyValue(h),f=n.style.getPropertyPriority(h);p!==c.style.getPropertyValue(h)||f!==c.style.getPropertyPriority(h)?a.styleDiff[h]=""===f?p:[p,f]:a._unchangedStyles[h]=[p,f]}for(var d,g=C(Array.from(c.style));!(d=g()).done;){var m=d.value;""===n.style.getPropertyValue(m)&&(a.styleDiff[m]=!1)}}else"open"===i&&"DIALOG"===n.tagName&&(n.matches("dialog:modal")?a.attributes.rr_open_mode="modal":a.attributes.rr_open_mode="non-modal");break;case"childList":if(fc(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=H(t.target)?e.mirror.getId(rc.host(t.target)):e.mirror.getId(t.target);fc(t.target,e.blockClass,e.blockSelector,!1)||dc(r,e.mirror,e.slimDOMOptions)||!function(e,t){return-1!==t.getId(e)}(r,e.mirror)||(e.addedSet.has(r)?(Fc(e.addedSet,r),e.droppedSet.add(r)):e.addedSet.has(t.target)&&-1===n||gc(t.target,e.mirror)||(e.movedSet.has(r)&&e.movedMap[Nc(n,i)]?Fc(e.movedSet,r):(e.removes.push({parentId:i,id:n,isShadow:!(!H(t.target)||!V(t.target))||void 0}),function(e,t){var r=[e];for(;r.length;){var n=r.pop();t.has(n)||(t.add(n),rc.childNodes(n).forEach((function(e){return r.push(e)})))}}(r,e.removesSubTreeCache))),e.mapRemoves.push(r))}))}})),A(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(dc(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[Nc(e.mirror.getId(t),n)]=!0)}else e.addedSet.add(t),e.droppedSet.delete(t);fc(t,e.blockClass,e.blockSelector,!1)||(rc.childNodes(t).forEach((function(t){return e.genAdds(t)})),_c(t)&&rc.childNodes(rc.shadowRoot(t)).forEach((function(r){e.processedNodeManager.add(r,e),e.genAdds(r,t)})))}})),A(this,"cleanupRemovedNode",(function(t){if("IFRAME"===t.nodeName)try{e.iframeManager.removeIframe(t)}catch(e){}else try{e.stylesheetManager.cleanupStylesheetsForRemovedNode(t)}catch(e){}t.childNodes.forEach((function(t){e.cleanupRemovedNode(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()},t.getDoc=function(){return this.doc},e}();function Fc(e,t){e.delete(t),rc.childNodes(t).forEach((function(t){return Fc(e,t)}))}function Dc(e,t,r){return 0!==e.size&&function(e,t){var r=rc.parentNode(t);return!!r&&e.has(r)}(e,t)}function Uc(e,t){return 0!==e.size&&Bc(e,t)}function Bc(e,t){var r=rc.parentNode(t);return!!r&&(!!e.has(r)||Bc(e,r))}var jc=function(e){if(!Tc)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(e){if(Tc&&!0===Tc(e))return;throw e}}},qc=[];function zc(e){try{if("composedPath"in e){var t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function Hc(e,t){var r=new Lc;qc.push(r),r.init(e);var n=new(ec())(jc(r.processMutations.bind(r)));return n.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),n}function Vc(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,c=[],u=null;return Object.keys(Ic).filter((function(e){return Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e]}
1)).forEach((function(e){var s=Y(e),a=function(e){return function(r){var s=zc(r);if(!fc(s,i,o,!0)){var a=null,c=e;if("pointerType"in r){switch(r.pointerType){case"mouse":a=Oc.Mouse;break;case"touch":a=Oc.Touch;break;case"pen":a=Oc.Pen}a===Oc.Touch?Ic[e]===Ic.MouseDown?c="TouchStart":Ic[e]===Ic.MouseUp&&(c="TouchEnd"):Oc.Pen}else mc(r)&&(a=Oc.Touch);null!==a?(u=a,(c.startsWith("Touch")&&a===Oc.Touch||c.startsWith("Mouse")&&a===Oc.Mouse)&&(a=null)):Ic[e]===Ic.Click&&(a=u,u=null);var l=mc(r)?r.changedTouches[0]:r;if(l){var h=n.getId(s),p=l.clientX,f=l.clientY;jc(t)(g({type:Ic[c],id:h,x:p,y:f},null!==a&&{pointerType:a}))}}}}(e);if(window.PointerEvent)switch(Ic[e]){case Ic.MouseDown:case Ic.MouseUp:s=s.replace("mouse","pointer");break;case Ic.TouchStart:case Ic.TouchEnd:return}c.push(nc(s,a,r))})),jc((function(){c.forEach((function(e){return e()}))}))}function Wc(e){var t=e.scrollCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,s=e.sampling;return nc("scroll",jc(sc(jc((function(e){var s=zc(e);if(s&&!fc(s,i,o,!0)){var a=n.getId(s);if(s===r&&r.defaultView){var c=uc(r.defaultView);t({id:a,x:c.left,y:c.top})}else t({id:a,x:s.scrollLeft,y:s.scrollTop})}})),s.scroll||100)),r)}var $c=["INPUT","TEXTAREA","SELECT"],Gc=new WeakMap;function Jc(e){return function(e,t){if(Xc("CSSGroupingRule")&&y(e.parentRule,CSSGroupingRule)||Xc("CSSMediaRule")&&y(e.parentRule,CSSMediaRule)||Xc("CSSSupportsRule")&&y(e.parentRule,CSSSupportsRule)||Xc("CSSConditionRule")&&y(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 Yc(e,t,r){var n,i;return e?(e.ownerNode?n=t.getId(e.ownerNode):i=r.getId(e),{styleId:i,id:n}):{}}function Kc(e,t){var r,n,i,o=e.mirror,s=e.stylesheetManager,a=null;a="#document"===t.nodeName?o.getId(t):o.getId(rc.host(t));var c="#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,u=(null==c?void 0:c.prototype)?Object.getOwnPropertyDescriptor(null==c?void 0:c.prototype,"adoptedStyleSheets"):void 0;return null!==a&&-1!==a&&c&&u?(Object.defineProperty(t,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get:function(){var e;return null==(e=u.get)?void 0:e.call(this)},set:function(e){var t,r=null==(t=u.set)?void 0:t.call(this,e);if(null!==a&&-1!==a)try{s.adoptStyleSheets(e,a)}catch(e){}return r}}),jc((function(){Object.defineProperty(t,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get:u.get,set:u.set})}))):function(){}}function Zc(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,c=e.mediaInteractionCb,u=e.styleSheetRuleCb,l=e.styleDeclarationCb,h=e.canvasMutationCb,p=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)),c.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)),u.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)),h.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)),p.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=Hc(e,e.doc));var i,o,s,a,c,u,l,h,p,f=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,c=[],u=sc(jc((function(e){var r=Date.now()-o;t(c.map((function(e){return e.timeOffset-=r,e})),e),c=[],o=null})),a),l=jc(sc(jc((function(e){var t=zc(e),r=mc(e)?e.changedTouches[0]:e,n=r.clientX,s=r.clientY;o||(o=cc()),c.push({x:n,y:s,id:i.getId(t),timeOffset:cc()-o}),u("undefined"!=typeof DragEvent&&y(e,DragEvent)?xc.Drag:y(e,MouseEvent)?xc.MouseMove:xc.TouchMove)})),s,{trailing:!1})),h=[nc("mousemove",l,n),nc("touchmove",l,n),nc("drag",l,n)];return jc((function(){h.forEach((function(e){return e()}))}))}(e),d=Vc(e),m=Wc(e),v=function(e,t){var r=e.viewportResizeCb,n=t.win,i=-1,o=-1;return nc("resize",jc(sc(jc((function(){var e=lc(),t=hc();i===e&&o===t||(r({width:Number(t),height:Number(e)}),i=e,o=t)})),200)),n)}(e,{win:n}),_=function(e){var t=e.inputCb,r=e.doc,n=e.mirror,i=e.blockClass,o=e.blockSelector,s=e.ignoreClass,a=e.ignoreSelector,c=e.maskInputOptions,u=e.maskInputFn,l=e.sampling,h=e.userTriggeredOnInput;function p(e){var t=zc(e),n=e.isTrusted,l=t&&t.tagName;if(t&&"OPTION"===l&&(t=rc.parentElement(t)),t&&l&&!($c.indexOf(l)<0)&&!fc(t,i,o,!0)&&!(t.classList.contains(s)||a&&t.matches(a))){var p=t.value,d=!1,g=Z(t)||"";"radio"===g||"checkbox"===g?d=t.checked:(c[l.toLowerCase()]||c[g])&&(p=J({element:t,maskInputOptions:c,tagName:l,type:g,value:p,maskInputFn:u}
1)),f(t,h?{text:p,isChecked:d,userTriggered:n}:{text:p,isChecked:d});var m=t.name;"radio"===g&&m&&d&&r.querySelectorAll('input[type="radio"][name="'+m+'"]').forEach((function(e){if(e!==t){var r=e.value;f(e,h?{text:r,isChecked:!d,userTriggered:!1}:{text:r,isChecked:!d})}}))}}function f(e,r){var i=Gc.get(e);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){Gc.set(e,r);var o=n.getId(e);jc(t)(g({},r,{id:o}))}}var d=("last"===l.input?["change"]:["input","change"]).map((function(e){return nc(e,jc(p),r)})),m=r.defaultView;if(!m)return function(){d.forEach((function(e){return e()}))};var v,y=m.Object.getOwnPropertyDescriptor(m.HTMLInputElement.prototype,"value"),_=[[m.HTMLInputElement.prototype,"value"],[m.HTMLInputElement.prototype,"checked"],[m.HTMLSelectElement.prototype,"value"],[m.HTMLTextAreaElement.prototype,"value"],[m.HTMLSelectElement.prototype,"selectedIndex"],[m.HTMLOptionElement.prototype,"selected"]];return y&&y.set&&(v=d).push.apply(v,[].concat(_.map((function(e){return ac(e[0],e[1],{set:function(){jc(p)({target:this,isTrusted:!1})}},!1,m)})))),jc((function(){d.forEach((function(e){return e()}))}))}(e),b=(o=(i=e).mediaInteractionCb,s=i.blockClass,a=i.blockSelector,c=i.mirror,u=i.sampling,l=i.doc,h=jc((function(e){return sc(jc((function(t){var r=zc(t);if(r&&!fc(r,s,a,!0)){var n=r.currentTime,i=r.volume,u=r.muted,l=r.playbackRate,h=r.loop;o({type:e,id:c.getId(r),currentTime:n,volume:i,muted:u,playbackRate:l,loop:h})}})),u.media||500)})),p=[nc("play",h(Ac.Play),l),nc("pause",h(Ac.Pause),l),nc("seeked",h(Ac.Seeked),l),nc("volumechange",h(Ac.VolumeChange),l),nc("ratechange",h(Ac.RateChange),l)],jc((function(){p.forEach((function(e){return e()}))}))),w=function(){},k=function(){},S=function(){},x=function(){};e.recordDOM&&(w=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:jc((function(e,t,o){var s=o[0],a=o[1],c=Yc(t,n,i.styleMirror),u=c.id,l=c.styleId;return(u&&-1!==u||l&&-1!==l)&&r({id:u,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,c,u=o.CSSStyleSheet.prototype.deleteRule;o.CSSStyleSheet.prototype.deleteRule=new Proxy(u,{apply:jc((function(e,t,o){var s=o[0],a=Yc(t,n,i.styleMirror),c=a.id,u=a.styleId;return(c&&-1!==c||u&&-1!==u)&&r({id:c,styleId:u,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:jc((function(e,t,o){var s=o[0],a=Yc(t,n,i.styleMirror),c=a.id,u=a.styleId;return(c&&-1!==c||u&&-1!==u)&&r({id:c,styleId:u,replace:s}),e.apply(t,o)}))})),o.CSSStyleSheet.prototype.replaceSync&&(c=o.CSSStyleSheet.prototype.replaceSync,o.CSSStyleSheet.prototype.replaceSync=new Proxy(c,{apply:jc((function(e,t,o){var s=o[0],a=Yc(t,n,i.styleMirror),c=a.id,u=a.styleId;return(c&&-1!==c||u&&-1!==u)&&r({id:c,styleId:u,replaceSync:s}),e.apply(t,o)}))}));var l={};Qc("CSSGroupingRule")?l.CSSGroupingRule=o.CSSGroupingRule:(Qc("CSSMediaRule")&&(l.CSSMediaRule=o.CSSMediaRule),Qc("CSSConditionRule")&&(l.CSSConditionRule=o.CSSConditionRule),Qc("CSSSupportsRule")&&(l.CSSSupportsRule=o.CSSSupportsRule));var h={};return Object.entries(l).forEach((function(e){var t=e[0],o=e[1];h[t]={insertRule:o.prototype.insertRule,deleteRule:o.prototype.deleteRule},o.prototype.insertRule=new Proxy(h[t].insertRule,{apply:jc((function(e,t,o){var s=o[0],a=o[1],c=Yc(t.parentStyleSheet,n,i.styleMirror),u=c.id,l=c.styleId;return(u&&-1!==u||l&&-1!==l)&&r({id:u,styleId:l,adds:[{rule:s,index:[].concat(Jc(t),[a||0])}]}),e.apply(t,o)}))}),o.prototype.deleteRule=new Proxy(h[t].deleteRule,{apply:jc((function(e,t,o){var s=o[0],a=Yc(t.parentStyleSheet,n,i.styleMirror),c=a.id,u=a.styleId;return(c&&-1!==c||u&&-1!==u)&&r({id:c,styleId:u,removes:[{index:[].concat(Jc(t),[s])}]}),e.apply(t,o)}))})})),jc((function(){o.CSSStyleSheet.prototype.insertRule=s,o.CSSStyleSheet.prototype.deleteRule=u,a&&(o.CSSStyleSheet.prototype.replace=a),c&&(o.CSSStyleSheet.prototype.replaceSync=c),Object.entries(l).forEach((function(e){var t=e[0],r=e[1];r.prototype.insertRule=h[t].insertRule,r.prototype.deleteRule=h[t].deleteRule}))}))}(e,{win:n}),k=Kc(e,e.doc),S=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:jc((function(e,t,s){var c,u=s[0],l=s[1],h=s[2];if(i.has(u))return a.apply(t,[u,l,h]);var p=Yc(null==(c=t.parentRule)?void 0:c.parentStyleSheet,n,o.styleMirror),f=p.id,d=p.styleId;return(f&&-1!==f||d&&-1!==d)&&r({id:f,styleId:d,set:{property:u,value:l,priority:h},index:Jc(t.parentRule)}),e.apply(t,s)}))});var c=s.CSSStyleDeclaration.prototype.removeProperty;return s.CSSStyleDeclaration.prototype.removeProperty=new Proxy(c,{apply:jc((function(e,t,s){var a,u=s[0];if(i.has(u))return c.apply(t,[u]);var l=Yc(null==(a=t.parentRule)?void 0:a.parentStyleSheet,n,o.styleMirror),h=l.id,p=l.styleId;
1return(h&&-1!==h||p&&-1!==p)&&r({id:h,styleId:p,remove:{property:u},index:Jc(t.parentRule)}),e.apply(t,s)}))}),jc((function(){s.CSSStyleDeclaration.prototype.setProperty=a,s.CSSStyleDeclaration.prototype.removeProperty=c}))}(e,{win:n}),e.collectFonts&&(x=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=tc(r.fonts,"add",(function(e){return function(r){return setTimeout(jc((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),jc((function(){i.forEach((function(e){return e()}))}))}(e)));for(var I,O=function(e){var t=e.doc,r=e.mirror,n=e.blockClass,i=e.blockSelector,o=e.selectionCb,s=!0,a=jc((function(){var e=t.getSelection();if(!(!e||s&&(null==e?void 0:e.isCollapsed))){s=e.isCollapsed||!1;for(var a=[],c=e.rangeCount||0,u=0;u<c;u++){var l=e.getRangeAt(u),h=l.startContainer,p=l.startOffset,f=l.endContainer,d=l.endOffset;fc(h,n,i,!0)||fc(f,n,i,!0)||a.push({start:r.getId(h),startOffset:p,end:r.getId(f),endOffset:d})}o({ranges:a})}}));return a(),nc("selectionchange",a)}(e),E=function(e){var t=e.doc,r=e.customElementCb,n=t.defaultView;return n&&n.customElements?tc(n.customElements,"define",(function(e){return function(t,n,i){try{r({define:{name:t}})}catch(e){console.warn("Custom element callback failed for "+t)}return e.apply(this,[t,n,i])}})):function(){}}(e),A=[],M=C(e.plugins);!(I=M()).done;){var R=I.value;A.push(R.observer(R.callback,n,R.options))}return jc((function(){qc.forEach((function(e){return e.reset()})),null==r||r.disconnect(),f(),d(),m(),v(),_(),b(),w(),k(),S(),x(),O(),E(),A.forEach((function(e){return e()}))}))}function Xc(e){return void 0!==window[e]}function Qc(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}for(var eu=function(){function e(e){A(this,"iframeIdToRemoteIdMap",new WeakMap),A(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);
1return 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}(),tu=function(){function e(e){A(this,"iframes",new WeakMap),A(this,"crossOriginIframeMap",new WeakMap),A(this,"crossOriginIframeMirror",new eu(le)),A(this,"crossOriginIframeStyleMirror"),A(this,"crossOriginIframeRootIdMap",new WeakMap),A(this,"iframeContentDocumentMap",new WeakMap),A(this,"iframeObserverCleanupMap",new WeakMap),A(this,"mirror"),A(this,"mutationCb"),A(this,"wrappedEmit"),A(this,"loadListener"),A(this,"stylesheetManager"),A(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new eu(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)}
1,t.getIframeContentDocument=function(e){return this.iframeContentDocumentMap.get(e)},t.setObserverCleanup=function(e,t){this.iframeObserverCleanupMap.set(e,t)},t.getObserverCleanup=function(e){return this.iframeObserverCleanupMap.get(e)},t.removeIframe=function(e){var t=this.iframeContentDocumentMap.get(e);t&&(this.stylesheetManager.cleanupStylesheetsForRemovedNode(t),this.mirror.removeNodeFromMap(t,!0)),this.iframes.delete(e),this.iframeContentDocumentMap.delete(e);var r=this.iframeObserverCleanupMap.get(e);if(r){try{r()}catch(e){}this.iframeObserverCleanupMap.delete(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}),e.contentDocument&&this.iframeContentDocumentMap.set(e,e.contentDocument),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 Cc.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:Cc.IncrementalSnapshot,data:{source:xc.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case Cc.Meta:case Cc.Load:case Cc.DomContentLoaded:return!1;case Cc.Plugin:return t;case Cc.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case Cc.IncrementalSnapshot:switch(t.data.source){case xc.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 xc.Drag:case xc.TouchMove:case xc.MouseMove:return t.data.positions.forEach((function(t){n.replaceIds(t,e,["id"])})),t;case xc.ViewportResize:return!1;case xc.MediaInteraction:case xc.MouseInteraction:case xc.Scroll:case xc.CanvasMutation:case xc.Input:return this.replaceIds(t.data,e,["id"]),t;case xc.StyleSheetRule:case xc.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case xc.Font:return t;case xc.Selection:return t.data.ranges.forEach((function(t){n.replaceIds(t,e,["start","end"])})),t;case xc.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=C(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.forEach((function(e){r.replaceIdOnNode(e,t)}))},t.patchRootIdOnNode=function(e,t){var r=this;e.type===Mc.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEac
1h((function(e){r.patchRootIdOnNode(e,t)}))},e}(),ru=function(){function e(e){A(this,"shadowDoms",new WeakSet),A(this,"mutationCb"),A(this,"scrollCb"),A(this,"bypassOptions"),A(this,"mirror"),A(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(V(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var n=Hc(g({},this.bypassOptions,{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push((function(){return n.disconnect()})),this.restoreHandlers.push(Wc(g({},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(rc.host(e))),r.restoreHandlers.push(Kc({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(tc(e.prototype,"attachShadow",(function(e){return function(n){var i=e.call(this,n),o=rc.shadowRoot(this);return o&&Sc(this)&&r.addShadowRoot(o,t),i}})))},t.reset=function(){this.restoreHandlers.forEach((function(e){try{e()}catch(e){}})),this.restoreHandlers=[],this.shadowDoms=new WeakSet},e}(),nu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",iu="undefined"==typeof Uint8Array?[]:new Uint8Array(256),ou=0;ou<64;ou++)iu[nu.charCodeAt(ou)]=ou;var su=new Map;var au=function(e,t,r){if(e&&(lu(e,t)||"object"===(void 0===e?"undefined":w(e)))){var n=function(e,t){var r=su.get(e);return r||(r=new Map,su.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 cu(e,t,r){if(y(e,Array))return e.map((function(e){return cu(e,t,r)}));if(null===e)return e;if(y(e,Float32Array)||y(e,Float64Array)||y(e,Int32Array)||y(e,Uint32Array)||y(e,Uint8Array)||y(e,Uint16Array)||y(e,Int16Array)||y(e,Int8Array)||y(e,Uint8ClampedArray))return{rr_type:e.constructor.name,args:[Object.values(e)]};if(y(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+=nu[r[t]>>2],i+=nu[(3&r[t])<<4|r[t+1]>>4],i+=nu[(15&r[t+1])<<2|r[t+2]>>6],i+=nu[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(y(e,DataView))return{rr_type:e.constructor.name,args:[cu(e.buffer,t,r),e.byteOffset,e.byteLength]};if(y(e,HTMLImageElement))return{rr_type:e.constructor.name,src:e.src};if(y(e,HTMLCanvasElement)){return{rr_type:"HTMLImageElement",src:e.toDataURL()}}return y(e,ImageData)?{rr_type:e.constructor.name,args:[cu(e.data,t,r),e.width,e.height]}:lu(e,t)||"object"===(void 0===e?"undefined":w(e))?{rr_type:e.constructor.name,index:au(e,t,r)}:e}var uu=function(e,t,r){return e.map((function(e){return cu(e,t,r)}))},lu=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 y(e,t[r])})))};function hu(e,t,r,n){var i=[];try{var o=tc(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(!fc(this,t,r,!0)){var c=function(e){return"experimental-webgl"===e?"webgl":e}(i);if("__context"in this||(this.__context=c),n&&["webgl","webgl2"].includes(c))if(s[0]&&"object"===w(s[0])){var u=s[0];u.preserveDrawingBuffer||(u.preserveDrawingBuffer=!0)}else s.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[].concat([i],s))}}));i.push(o)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}
1return function(){i.forEach((function(e){return e()}))}}function pu(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 u=tc(e,a,(function(e){return function(){for(var s=arguments.length,c=new Array(s),u=0;u<s;u++)c[u]=arguments[u];var l=e.apply(this,c);if(au(l,o,this),"tagName"in this.canvas&&!fc(this.canvas,n,i,!0)){var h=uu(c,o,this),p={type:t,property:a,args:h};r(this.canvas,p)}return l}}));c.push(u)}catch(n){var l=ac(e,a,{set:function(e){r(this.canvas,{type:t,property:a,args:[e],setter:!0})}});c.push(l)}},c=[],u=C(Object.getOwnPropertyNames(e));!(s=u()).done;)a();return c}var fu,du="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3B
1hcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",gu="undefined"!=typeof window&&window.Blob&&new Blob([(fu=du,Uint8Array.from(atob(fu),(function(e){return e.charCodeAt(0)})))],{type:"text/javascript;charset=utf-8"});function mu(e){var t;try{if(!(t=gu&&(window.URL||window.webkitURL).createObjectURL(gu)))throw"";var r=new Worker(t,{name:null==e?void 0:e.name});return r.addEventListener("error",(function(){(window.URL||window.webkitURL).revokeObjectURL(t)})),r}catch(t){return new Worker("data:text/javascript;base64,"+du,{name:null==e?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}var vu,yu,_u,bu=function(){function e(e){var t=this;A(this,"pendingCanvasMutations",new Map),A(this,"rafStamps",{latestId:0,invokeId:null}),A(this,"mirror"),A(this,"mutationCb"),A(this,"resetObservers"),A(this,"frozen",!1),A(this,"locked",!1),A(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,c=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:c})}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=hu(t,r,n,!0),a=new Map,c=new mu;c.onmessage=function(e){var t=e.data.id;if(a.set(t,!1),"base64"in e.data){var r=e.data,n=r.base64,i=r.type,s=r.width,c=r.height;o.mutationCb({id:t,type:Ec["2D"],commands:[{property:"clearRect",args:[0,0,s,c]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:i}]},0,0]}]})}};var u,l=1e3/e,h=0,f=function(e){if(h&&e-h<l)u=requestAnimationFrame(f);else{h=e;var s,d=o;(s=[],t.document.querySelectorAll("canvas").forEach((function(e){fc(e,r,n,!0)||s.push(e)}
1)),s).forEach(p((function(e){var t,r,n,o;return x(this,(function(s){switch(s.label){case 0:return r=d.mirror.getId(e),a.get(r)?[2]:0===e.width||0===e.height?[2]:(a.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=s.sent(),c.postMessage({id:r,bitmap:o,width:e.width,height:e.height,dataURLOptions:i.dataURLOptions},[o]),[2]}}))}))),u=requestAnimationFrame(f)}};u=requestAnimationFrame(f),this.resetObservers=function(){s(),cancelAnimationFrame(u)}},t.initCanvasMutationObserver=function(e,t,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var n=hu(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=tc(t.CanvasRenderingContext2D.prototype,o,(function(i){return function(){for(var s=this,a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];return fc(this.canvas,r,n,!0)||setTimeout((function(){var r=uu(c,t,s);e(s.canvas,{type:Ec["2D"],property:o,args:r})}),0),i.apply(this,c)}}));s.push(a)}catch(r){var c=ac(t.CanvasRenderingContext2D.prototype,o,{set:function(t){e(this.canvas,{type:Ec["2D"],property:o,args:[t],setter:!0})}});s.push(c)}},s=[],a=C(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(pu(t.WebGLRenderingContext.prototype,Ec.WebGL,e,r,n,t))),void 0!==t.WebGL2RenderingContext&&(o=s).push.apply(o,[].concat(pu(t.WebGL2RenderingContext.prototype,Ec.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,_(e,["type"])})),i=r[0].type;this.mutationCb({id:t,type:i,commands:n}),this.pendingCanvasMutations.delete(e)}}},e}(),wu=function(){function e(e){A(this,"trackedLinkElements",new WeakSet),A(this,"mutationCb"),A(this,"adoptedStyleSheetCb"),A(this,"styleMirror",new bc),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:$(t,e.href),index:r}}))})),o.styleIds.push(t)};if(0!==e.length){for(var i,o={id:t,styleIds:[]},s=[],a=C(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.cleanupStylesheetsForRemovedNode=function(e){var t=this;try{if(e.nodeType===Node.DOCUMENT_NODE){var r=e;if(r.adoptedStyleSheets)for(var n,i=C(r.adoptedStyleSheets);!(n=i()).done;){var o=n.value;this.styleMirror.remove(o)}}if("STYLE"===e.nodeName){var s=e;s.sheet&&this.styleMirror.remove(s.sheet)}
1if("LINK"===e.nodeName&&"stylesheet"===e.rel){var a=e;a.sheet&&this.styleMirror.remove(a.sheet)}e.childNodes&&e.childNodes.forEach((function(e){t.cleanupStylesheetsForRemovedNode(e)}))}catch(e){}},t.trackStylesheetInLinkElement=function(e){},e}(),ku=function(){function e(){A(this,"nodeMap",new WeakMap),A(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}();function Su(e){try{var t=new URL(e).origin;return"null"!==t?t:null}catch(e){return null}}var Cu=!1;try{if(2!==Array.from([1],(function(e){return 2*e}))[0]){var xu=document.createElement("iframe");document.body.appendChild(xu),Array.from=(null==(O=xu.contentWindow)?void 0:O.Array.from)||Array.from,document.body.removeChild(xu)}}catch(e){console.debug("Unable to override Array.from",e)}var Iu,Ou,Eu=new G;function Au(e){void 0===e&&(e={});var t,r=e.emit,n=e.checkoutEveryNms,i=e.checkoutEveryNth,o=e.blockClass,s=void 0===o?"rr-block":o,a=e.blockSelector,c=void 0===a?null:a,u=e.ignoreClass,l=void 0===u?"rr-ignore":u,h=e.ignoreSelector,p=void 0===h?null:h,f=e.maskTextClass,d=void 0===f?"rr-mask":f,m=e.maskTextSelector,v=void 0===m?null:m,y=e.inlineStylesheet,_=void 0===y||y,b=e.maskAllInputs,k=e.maskInputOptions,S=e.slimDOMOptions,x=e.maskInputFn,I=e.maskTextFn,O=e.hooks,E=e.packFn,A=e.sampling,M=void 0===A?{}:A,R=e.dataURLOptions,T=void 0===R?{}:R,P=e.mousemoveWait,N=e.recordDOM,L=void 0===N||N,F=e.recordCanvas,D=void 0!==F&&F,U=e.recordCrossOriginIframes,B=void 0!==U&&U,j=e.allowedIframeOrigins,q=e.recordAfter,z=void 0===q?"DOMContentLoaded"===e.recordAfter?e.recordAfter:"load":q,H=e.userTriggeredOnInput,V=void 0!==H&&H,W=e.collectFonts,$=void 0!==W&&W,J=e.inlineImages,Y=void 0!==J&&J,K=e.plugins,Z=e.keepIframeSrcFn,X=void 0===Z?function(){return!1}:Z,Q=e.ignoreCSSAttributes,ee=void 0===Q?new Set([]):Q,te=e.errorHandler;Tc=te,B&&j&&j.length>0&&0===(t=function(e){if(!Array.isArray(e)||0===e.length)throw new Error("[rrweb] allowedIframeOrigins must be a non-empty array of origin strings.");for(var t=new Set,r=0;r<e.length;r++){var n=e[r];if("string"!=typeof n)throw new Error("[rrweb] allowedIframeOrigins["+r+"] must be a string, got "+(void 0===n?"undefined":w(n))+".");var i=Su(n);i&&t.add(i)}return Object.freeze(t)}(j)).size&&(t=void 0);var re=!B||window.parent===window,ne=!1;if(!re)try{window.parent.document&&(ne=!1)}catch(e){ne=!0}if(re&&!r)throw new Error("emit function is required");if(!re&&!ne)return function(){};void 0!==P&&void 0===M.mousemove&&(M.mousemove=P),Eu.reset();var ie,oe=!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,hidden:!0}:void 0!==k?k:{password:!0},se=!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 ae=0,ce=function(e){for(var t,r=C(K||[]);!(t=r()).done;){var n=t.value;n.eventProcessor&&(e=n.eventProcessor(e))}return E&&!ne&&(e=E(e)),e};vu=function(e,o){var s,a=e;if(a.timestamp=cc(),!(null==(s=qc[0])?void 0:s.isFrozen())||a.type===Cc.FullSnapshot||a.type===Cc.IncrementalSnapshot&&a.data.source===xc.Mutation||qc.forEach((function(e){return e.unfreeze()})),re)null==r||r(ce(a),o);else if(ne){var c={type:"rrweb",event:ce(a),origin:window.location.origin,isCheckout:o};if(t)for(var u,l=C(t);!(u=l()).done;){var h=u.value;window.parent.postMessage(c,h)}else window.parent.postMessage(c,"*")}if(a.type===Cc.FullSnapshot)ie=a,ae=0;else if(a.type===Cc.IncrementalSnapshot){if(a.data.source===xc.Mutation&&a.data.isAttachIframe)return;ae++;var p=i&&ae>=i,f=n&&a.timestamp-ie.timestamp>n;(p||f)&&yu(!0)}};for(var ue,le=function(e){vu({type:Cc.IncrementalSnapshot,data:g({source:xc.Mutation},e)})},he=function(e){return vu({type:Cc.IncrementalSnapshot,data:g({source:xc.Scroll},e)})},pe=function(e){return vu({type:Cc.IncrementalSnapshot,data:g({source:xc.CanvasMutation},e)})},fe=new wu({mutationCb:le,adoptedStyleSheetCb:function(e){return vu({type:Cc.IncrementalSnapshot,data:g({source:xc.AdoptedStyleSheet},e)})}}),de=new tu({mirror:Eu,mutationCb:le,stylesheetManager:fe,recordCrossOriginIframes:B,wrappedEmit:vu}),ge=C(K||[]);!(ue=ge()).done;){var me=ue.value;me.getMirror&&me.getMirror({nodeMirror:Eu,crossOriginIframeMirror:de.crossOriginIframeMirror,crossOriginIframeStyleMirror:de.crossOriginIframeStyleMirror})}var ve=new ku;_u=new bu({recordCanvas:D,mutationCb:pe,win:window,blockClass:s,blockSelector:c,mirror:Eu,sampling:M.canvas,dataURLOptions:T});var ye=new ru({mutationCb:le,scrollCb:he,bypassOptions:{blockClass:s,blockSelector:c,maskTextClass:d,maskTextSelector:v,inlineStylesheet:_,maskInputOptions:oe,dataURLOptions:T,maskTextFn:I,maskInputFn:x,recordCanvas:D,inlineImages:Y,sampling:M,slimDOMOptions:se,iframeManager:de,stylesheetManager:fe,canvasManager:_u,keepIframeSrcFn:X,processedNodeManager:ve},mirror:Eu});yu=function(e){if(void 0===e&&(e=!1),L){vu({type:Cc.Meta,data:{href:window.location.href,width:hc(),height:lc()}}
1,e),fe.reset(),ye.init(),qc.forEach((function(e){return e.lock()}));var t=function(e,t){var r=t||{},n=r.mirror,i=void 0===n?new G:n,o=r.blockClass,s=void 0===o?"rr-block":o,a=r.blockSelector,c=void 0===a?null:a,u=r.maskTextClass,l=void 0===u?"rr-mask":u,h=r.maskTextSelector,p=void 0===h?null:h,f=r.inlineStylesheet,d=void 0===f||f,g=r.inlineImages,m=void 0!==g&&g,v=r.recordCanvas,y=void 0!==v&&v,_=r.maskAllInputs,b=void 0!==_&&_,w=r.maskTextFn,k=r.maskInputFn,S=r.slimDOM,C=void 0!==S&&S,x=r.dataURLOptions,I=r.preserveWhiteSpace,O=r.onSerialize,E=r.onIframeLoad,A=r.iframeLoadTimeout,M=r.onStylesheetLoad,R=r.stylesheetLoadTimeout,T=r.keepIframeSrcFn;return Se(e,{doc:e,mirror:i,blockClass:s,blockSelector:c,maskTextClass:l,maskTextSelector:p,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,hidden:!0}:!1===b?{password:!0}:b,maskTextFn:w,maskInputFn:k,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:x,inlineImages:m,recordCanvas:y,preserveWhiteSpace:I,onSerialize:O,onIframeLoad:E,iframeLoadTimeout:A,onStylesheetLoad:M,stylesheetLoadTimeout:R,keepIframeSrcFn:void 0===T?function(){return!1}:T,newlyAddedElement:!1})}(document,{mirror:Eu,blockClass:s,blockSelector:c,maskTextClass:d,maskTextSelector:v,inlineStylesheet:_,maskAllInputs:oe,maskTextFn:I,maskInputFn:x,slimDOM:se,dataURLOptions:T,recordCanvas:D,inlineImages:Y,onSerialize:function(e){vc(e,Eu)&&de.addIframe(e),yc(e,Eu)&&fe.trackLinkElement(e),_c(e)&&ye.addShadowRoot(rc.shadowRoot(e),document)},onIframeLoad:function(e,t){de.attachIframe(e,t),ye.observeAttachShadow(e)},onStylesheetLoad:function(e,t){fe.attachLinkElement(e,t)},keepIframeSrcFn:X});if(!t)return console.warn("Failed to snapshot the document");vu({type:Cc.FullSnapshot,data:{node:t,initialOffset:uc(window)}},e),qc.forEach((function(e){return e.unlock()})),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&fe.adoptStyleSheets(document.adoptedStyleSheets,Eu.getId(document))}};try{var _e=[],be=function(e){var t;return jc(Zc)({mutationCb:le,mousemoveCb:function(e,t){return vu({type:Cc.IncrementalSnapshot,data:{source:t,positions:e}})},mouseInteractionCb:function(e){return vu({type:Cc.IncrementalSnapshot,data:g({source:xc.MouseInteraction},e)})},scrollCb:he,viewportResizeCb:function(e){return vu({type:Cc.IncrementalSnapshot,data:g({source:xc.ViewportResize},e)})},inputCb:function(e){return vu({type:Cc.IncrementalSnapshot,data:g({source:xc.Input},e)})},mediaInteractionCb:function(e){return vu({type:Cc.IncrementalSnapshot,data:g({source:xc.MediaInteraction},e)})},styleSheetRuleCb:function(e){return vu({type:Cc.IncrementalSnapshot,data:g({source:xc.StyleSheetRule},e)})},styleDeclarationCb:function(e){return vu({type:Cc.IncrementalSnapshot,data:g({source:xc.StyleDeclaration},e)})},canvasMutationCb:pe,fontCb:function(e){return vu({type:Cc.IncrementalSnapshot,data:g({source:xc.Font},e)})},selectionCb:function(e){vu({type:Cc.IncrementalSnapshot,data:g({source:xc.Selection},e)})},customElementCb:function(e){vu({type:Cc.IncrementalSnapshot,data:g({source:xc.CustomElement},e)})},blockClass:s,ignoreClass:l,ignoreSelector:p,maskTextClass:d,maskTextSelector:v,maskInputOptions:oe,inlineStylesheet:_,sampling:M,recordDOM:L,recordCanvas:D,inlineImages:Y,userTriggeredOnInput:V,collectFonts:$,doc:e,maskInputFn:x,maskTextFn:I,keepIframeSrcFn:X,blockSelector:c,slimDOMOptions:se,dataURLOptions:T,mirror:Eu,iframeManager:de,stylesheetManager:fe,shadowDomManager:ye,processedNodeManager:ve,canvasManager:_u,ignoreCSSAttributes:ee,plugins:(null==(t=null==K?void 0:K.filter((function(e){return e.observer})))?void 0:t.map((function(e){return{observer:e.observer,options:e.options,callback:function(t){return vu({type:Cc.Plugin,data:{plugin:e.name,payload:t}})}}})))||[]},O)};de.addLoadListener((function(e){try{var t=e.contentDocument,r=be(t);_e.push(r);var n=de.getObserverCleanup(e);de.setObserverCleanup(e,(function(){if(n)try{n()}catch(e){}try{r();var e=_e.indexOf(r);-1!==e&&_e.splice(e,1),function(e){for(var t=qc.length-1;t>=0;t--)qc[t].getDoc()===e&&qc.splice(t,1)}(t)}catch(e){}}))}catch(e){console.warn(e)}}));var we=function(){yu(),_e.push(be(document)),Cu=!0};return"interactive"===document.readyState||"complete"===document.readyState?we():(_e.push(nc("DOMContentLoaded",(function(){vu({type:Cc.DomContentLoaded,data:{}}),"DOMContentLoaded"===z&&we()}))),_e.push(nc("load",(function(){vu({type:Cc.Load,data:{}}),"load"===z&&we()}),window))),function(){_e.forEach((function(e){try{e()}catch(e){String(e).toLowerCase().includes("cross-origin")||console.warn(e)}})),ve.destroy(),Cu=!1,Tc=void 0}}catch(e){console.warn(e)}}Au.addCustomEvent=function(e,t){if(!Cu)throw new Error("please add custom event after start recording");vu({type:Cc.Custom,data:{tag:e,payload:t}}
1)},Au.freezePage=function(){qc.forEach((function(e){return e.freeze()}))},Au.takeFullSnapshot=function(e){if(!Cu)throw new Error("please take full snapshot after start recording");yu(e)},Au.mirror=Eu,(Ou=Iu||(Iu={}))[Ou.NotStarted=0]="NotStarted",Ou[Ou.Running=1]="Running",Ou[Ou.Stopped=2]="Stopped",Au.addCustomEvent,Au.freezePage,Au.takeFullSnapshot;var Mu={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Ru={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Tu={};function Pu(e){if(Tu[e])return Tu[e];var t=globalThis[e],r=t.prototype,n=e in Mu?Mu[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 Ru?Ru[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 Tu[e]=t.prototype,t.prototype;try{var a=document.createElement("iframe");document.body.appendChild(a);var c=a.contentWindow;if(!c)return t.prototype;var u=c[e].prototype;return document.body.removeChild(a),u?Tu[e]=u:r}catch(e){return r}}var Nu={};function Lu(e,t,r){var n,i=e+"."+String(r);if(Nu[i])return Nu[i].call(t);var o=Pu(e),s=null==(n=Object.getOwnPropertyDescriptor(o,r))?void 0:n.get;return s?(Nu[i]=s,s.call(t)):t[r]}var Fu={};function Du(e,t,r){var n=e+"."+String(r);if(Fu[n])return Fu[n].bind(t);var i=Pu(e)[r];return"function"!=typeof i?t[r]:(Fu[n]=i,i.bind(t))}var Uu={childNodes:function(e){return Lu("Node",e,"childNodes")},parentNode:function(e){return Lu("Node",e,"parentNode")},parentElement:function(e){return Lu("Node",e,"parentElement")},textContent:function(e){return Lu("Node",e,"textContent")},contains:function(e,t){return Du("Node",e,"contains")(t)},getRootNode:function(e){return Du("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?Lu("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?Lu("Element",e,"shadowRoot"):null},querySelector:function(e,t){return Lu("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return Lu("Element",e,"querySelectorAll")(t)},mutationObserver:function(){return Pu("MutationObserver").constructor},patch:function(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(e){return function(){}}}};function Bu(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return Bu(Uu.parentNode(e),t);for(var n=e.classList.length;n--;){var i=e.classList[n];if(t.test(i))return!0}return Bu(Uu.parentNode(e),t)}function ju(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function qu(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return y(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 zu={exports:{}},Hu=String,Vu=function(){return{isColorSupported:!1,reset:Hu,bold:Hu,dim:Hu,italic:Hu,underline:Hu,inverse:Hu,hidden:Hu,strikethrough:Hu,black:Hu,red:Hu,green:Hu,yellow:Hu,blue:Hu,magenta:Hu,cyan:Hu,white:Hu,gray:Hu,bgBlack:Hu,bgRed:Hu,bgGreen:Hu,bgYellow:Hu,bgBlue:Hu,bgMagenta:Hu,bgCyan:Hu,bgWhite:Hu}};zu.exports=Vu(),zu.exports.createColors=Vu;var Wu=zu.exports,$u=qu(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),Gu=Wu,Ju=$u,Yu=function(e){function t(r,n,i,o,s,a){var c;return(c=e.call(this,r)||this).name="CssSyntaxError",c.reason=r,s&&(c.file=s),o&&(c.source=o),a&&(c.plugin=a),void 0!==n&&void 0!==i&&("number"==typeof n?(c.line=n,c.column=i):(c.line=n.line,c.column=n.column,c.endLine=i.line,c.endColumn=i.column)),c.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(c,t),c}v(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=Gu.isColorSupported),Ju&&e&&(r=Ju(r));var n,i,o=r.split(/\r?\n/),s=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),c=String(a).length;if(e){var u=Gu.createColors(!0),l=u.bold,h=u.gray,p=u.red;n=function(e){return l(p(e))},i=function(e){return h(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(-c)+" | ";if(o===t.line){var u=i(a.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+i(a)+e+"\n "+u+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}(k(Error)),Ku=Yu;Yu.default=Yu;var Zu={};Zu.isClean=Symbol("isClean"),Zu.my=Symbol("my");var Xu={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};var Qu=function(){function e(e){this.builder=e}var t=e.prototype;
1return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}},t.beforeAfter=function(e,t){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&&void 0!==(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 Xu[r];var o=e.root();if(o.rawCache||(o.rawCache={}),void 0!==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(void 0!==(n=e.raws[t]))return!1})),void 0===n&&(n=Xu[r]),o.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments((function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls((function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1})),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk((function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1})),t},t.rawBeforeRule=function(e){var t;return e.walk((function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls((function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t},t.rawEmptyBody=function(e){var t;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1})),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk((function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var i=r.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}})),t);var t},t.rawSemicolon=function(e){var t;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1})),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),el=Qu;Qu.default=Qu;var tl=el;function rl(e,t){new tl(t).stringify(e)}var nl=rl;rl.default=rl;var il=Zu.isClean,ol=Zu.my,sl=Ku,al=el,cl=nl;function ul(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=void 0===i?"undefined":w(i);"parent"===n&&"object"===o?t&&(r[n]=t):"source"===n?r[n]=i:Array.isArray(i)?r[n]=i.map((function(e){return ul(e,r)})):("object"===o&&null!==i&&(i=ul(i)),r[n]=i)}return r}var ll=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[il]=!1,this[ol]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=C(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=ul(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 sl(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[il]){this[il]=!1;for(var e=this;e=e.parent;)e[il]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);
1else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,i=this.source.start.line,o=0;o<e;o++)"\n"===r[o]?(n=1,i+=1):n+=1;return{column:n,line:i}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),i=n.indexOf(e.word);-1!==i&&(t=this.positionInside(i,n),r=this.positionInside(i+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return(new al).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=C(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"===(void 0===e?"undefined":w(e))&&e.toJSON?e.toJSON(null,t):e}));else if("object"===(void 0===s?"undefined":w(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=cl),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)},d(e,[{key:"proxyOf",get:function(){return this}}]),e}(),hl=ll;ll.default=ll;var pl=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=g({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return v(t,e),d(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(hl),fl=pl;pl.default=pl;var dl=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},gl=$u.SourceMapConsumer,ml=$u.SourceMapGenerator,vl=$u.existsSync,yl=$u.readFileSync,_l=$u.dirname,bl=$u.join;var wl=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=_l(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new gl(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"===(void 0===e?"undefined":w(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
1if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=_l(e),vl(e))return this.mapFile=e,yl(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(y(t,gl))return ml.fromSourceMap(t).toString();if(y(t,ml))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=bl(_l(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}(),kl=wl;wl.default=wl;var Sl=$u.SourceMapConsumer,Cl=$u.SourceMapGenerator,xl=$u.fileURLToPath,Il=$u.pathToFileURL,Ol=$u.isAbsolute,El=$u.resolve,Al=dl,Ml=$u,Rl=Ku,Tl=kl,Pl=Symbol("fromOffsetCac
1he"),Nl=Boolean(Sl&&Cl),Ll=Boolean(El&&Ol),Fl=function(){function e(e,t){if(void 0===t&&(t={}),null==e||"object"===(void 0===e?"undefined":w(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Ll||/^\w+:\/\//.test(t.from)||Ol(t.from)?this.file=t.from:this.file=El(t.from)),Ll&&Nl){var r=new Tl(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 "+Al(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"===(void 0===t?"undefined":w(t))){var a=t,c=r;if("number"==typeof a.offset){var u=this.fromOffset(a.offset);t=u.line,r=u.col}else t=a.line,r=a.column;if("number"==typeof c.offset){var l=this.fromOffset(c.offset);o=l.line,s=l.col}else o=c.line,s=c.column}else if(!r){var h=this.fromOffset(t);t=h.line,r=h.col}var p=this.origin(t,r,o,s);return(i=p?new Rl(e,void 0===p.endLine?p.line:{column:p.column,line:p.line},void 0===p.endLine?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,n.plugin):new Rl(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&&(Il&&(i.input.url=Il(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t;if(this[Pl])t=this[Pl];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[Pl]=t}var s=0;if(e>=t[t.length-1])s=t.length-1;else for(var a,c=t.length-2;s<c;)if(e<t[a=s+(c-s>>1)])c=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:El(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=Ol(a.source)?Il(a.source):new URL(a.source,this.map.consumer().sourceRoot||Il(this.map.mapFile));var c={column:a.column,endColumn:i&&i.column,endLine:i&&i.line,line:a.line,url:o.toString()};if("file:"===o.protocol){if(!xl)throw new Error("file: protocol is not available in this PostCSS build");c.file=xl(o)}var u=s.sourceContentFor(a.source);return u&&(c.source=u),c},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=g({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},d(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),Dl=Fl;Fl.default=Fl,Ml&&Ml.registerInput&&Ml.registerInput(Fl);var Ul=$u.SourceMapConsumer,Bl=$u.SourceMapGenerator,jl=$u.dirname,ql=$u.relative,zl=$u.resolve,Hl=$u.sep,Vl=$u.pathToFileURL,Wl=Dl,$l=Boolean(Ul&&Bl),Gl=Boolean(jl&&zl&&ql&&Hl),Jl=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=C(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),i=r.root||jl(r.file),o=void 0;!1===this.mapOpts.sourcesContent?(o=new Ul(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(),Gl&&$l&&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=Bl.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Bl({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 Bl({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,c,u){if(e.css+=a,c&&"end"!==u&&(s.generated.line=n,s.generated.column=i-1,c.source&&c.source.start?(s.source=e.sourcePath(c),s.original.line=c.source.start.line,s.original.column=c.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,c&&"start"!==u){var l=c.parent||{raws:{}};("decl"===c.type||"atrule"===c.type&&!c.nodes)&&c===l.last&&!l.raws.semicolon||(c.source&&c.source.end?(s.source=e.sourcePath(c),s.original.line=c.source.end.line,s.original.column=c.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()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((function(e){return e.annotation})))},t.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((function(e){return e.inline})))},t.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((function(e){return e.withContent()}))},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)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?jl(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=jl(zl(r,this.mapOpts.annotation)));var n=ql(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 Wl(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(Vl){var r=Vl(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;"\\"===Hl&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),Yl=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return v(t,e),t}(hl),Kl=Yl;Yl.default=Yl;var Zl,Xl,Ql,eh,th=Zu.isClean,rh=Zu.my,nh=fl,ih=Kl;
1function oh(e){return e.map((function(e){return e.nodes&&(e.nodes=oh(e.nodes)),delete e.source,e}))}function sh(e){if(e[th]=!1,e.proxyOf.nodes)for(var t,r=C(e.proxyOf.nodes);!(t=r()).done;){sh(t.value)}}var ah=function(e){function t(){return e.apply(this,arguments)||this}v(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=C(t);!(n=i()).done;)for(var o,s=n.value,a=C(this.normalize(s,this.last));!(o=a()).done;){var c=o.value;this.proxyOf.nodes.push(c)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=C(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=C(i);!(o=s()).done;){var a=o.value;this.proxyOf.nodes.splice(n+1,0,a)}for(var c in this.indexes)n<(r=this.indexes[c])&&(this.indexes[c]=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=C(o);!(s=a()).done;){var c=s.value;this.proxyOf.nodes.splice(n,0,c)}for(var u in this.indexes)n<=(r=this.indexes[u])&&(this.indexes[u]=r+o.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"==typeof e)e=oh(Zl(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(var i,o=C(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,c=C(e=e.nodes.slice(0));!(a=c()).done;){var u=a.value;u.parent&&u.parent.removeChild(u,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new nh(e)]}else if(e.selector)e=[new Xl(e)];else if(e.name)e=[new Ql(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new ih(e)]}var l=e.map((function(e){return e[rh]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[th]&&sh(e),void 0===e.raws.before&&r&&void 0!==r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e}));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=C(t=t.reverse());!(n=i()).done;){for(var o,s=n.value,a=this.normalize(s,this.first,"prepend").reverse(),c=C(a);!(o=c()).done;){var u=o.value;this.proxyOf.nodes.unshift(u)}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=C(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}
1,r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each((function(t,r){var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n}))},r.walkAtRules=function(e,t){return t?y(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?y(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?y(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)})))},d(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}(hl);ah.registerParse=function(e){Zl=e},ah.registerRule=function(e){Xl=e},ah.registerAtRule=function(e){Ql=e},ah.registerRoot=function(e){eh=e};var ch=ah;ah.default=ah,ah.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,Ql.prototype):"rule"===e.type?Object.setPrototypeOf(e,Xl.prototype):"decl"===e.type?Object.setPrototypeOf(e,nh.prototype):"comment"===e.type?Object.setPrototypeOf(e,ih.prototype):"root"===e.type&&Object.setPrototypeOf(e,eh.prototype),e[rh]=!0,e.nodes&&e.nodes.forEach((function(e){ah.rebuild(e)}))};var uh,lh,hh=function(e){function t(t){var r;return(r=e.call(this,g({type:"document"},t))||this).nodes||(r.nodes=[]),r}return v(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new uh(new lh,this,e).stringify()},t}(ch);hh.registerLazyResult=function(e){uh=e},hh.registerProcessor=function(e){lh=e};var ph=hh;hh.default=hh;var fh=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}(),dh=fh;fh.default=fh;var gh=dh,mh=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 gh(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter((function(e){return"warning"===e.type}))},d(e,[{key:"content",get:function(){return this.css}}]),e}(),vh=mh;mh.default=mh;var yh="'".charCodeAt(0),_h='"'.charCodeAt(0),bh="\\".charCodeAt(0),wh="/".charCodeAt(0),kh="\n".charCodeAt(0),Sh=" ".charCodeAt(0),Ch="\f".charCodeAt(0),xh="\t".charCodeAt(0),Ih="\r".charCodeAt(0),Oh="[".charCodeAt(0),Eh="]".charCodeAt(0),Ah="(".charCodeAt(0),Mh=")".charCodeAt(0),Rh="{".charCodeAt(0),Th="}".charCodeAt(0),Ph=";".charCodeAt(0),Nh="*".charCodeAt(0),Lh=":".charCodeAt(0),Fh="@".charCodeAt(0),Dh=/[\t\n\f\r "#'()/;[\\\]{}]/g,Uh=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Bh=/.[\r\n"'(/\\]/,jh=/[\da-f]/i,qh=ch,zh=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}v(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}(qh),Hh=zh;zh.default=zh,qh.registerAtRule(zh);var Vh,Wh,$h=ch,Gh=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}v(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=C(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 Vh(new Wh,this,e).stringify()},t}($h);Gh.registerLazyResult=function(e){Vh=e},Gh.registerProcessor=function(e){Wh=e};var Jh=Gh;Gh.default=Gh,$h.registerRoot(Gh);var Yh={comma:function(e){return Yh.split(e,[","],!0)},space:function(e){return Yh.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,i=[],o="",s=!1,a=0,c=!1,u="",l=!1,h=C(e);!(n=h()).done;){var p=n.value;l?l=!1:"\\"===p?l=!0:c?p===u&&(c=!1):'"'===p||"'"===p?(c=!0,u=p):"("===p?a+=1:")"===p?a>
vendor: 9,037 bytes, line 1
10&&(a-=1):0===a&&t.includes(p)&&(s=!0),s?(""!==o&&i.push(o.trim()),o="",s=!1):o+=p}return(r||""!==o)&&i.push(o.trim()),i}},Kh=Yh;Yh.default=Yh;var Zh=ch,Xh=Kh,Qh=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return v(t,e),d(t,[{key:"selectors",get:function(){return Xh.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}(Zh),ep=Qh;Qh.default=Qh,Zh.registerRule(Qh);var tp=fl,rp=function(e,t){void 0===t&&(t={});var r,n,i,o,s,a,c,u,l,h,p=e.css.valueOf(),f=t.ignoreErrors,d=p.length,g=0,m=[],v=[];function y(t){throw e.error("Unclosed "+t,g)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&g>=d},nextToken:function(e){if(v.length)return v.pop();if(!(g>=d)){var t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(g)){case kh:case Sh:case xh:case Ih:case Ch:n=g;do{n+=1,r=p.charCodeAt(n)}while(r===Sh||r===kh||r===xh||r===Ih||r===Ch);h=["space",p.slice(g,n)],g=n-1;break;case Oh:case Eh:case Rh:case Th:case Lh:case Ph:case Mh:var _=String.fromCharCode(r);h=[_,_,g];break;case Ah:if(u=m.length?m.pop()[1]:"",l=p.charCodeAt(g+1),"url"===u&&l!==yh&&l!==_h&&l!==Sh&&l!==kh&&l!==xh&&l!==Ch&&l!==Ih){n=g;do{if(a=!1,-1===(n=p.indexOf(")",n+1))){if(f||t){n=g;break}y("bracket")}for(c=n;p.charCodeAt(c-1)===bh;)c-=1,a=!a}while(a);h=["brackets",p.slice(g,n+1),g,n],g=n}else n=p.indexOf(")",g+1),o=p.slice(g,n+1),-1===n||Bh.test(o)?h=["(","(",g]:(h=["brackets",o,g,n],g=n);break;case yh:case _h:i=r===yh?"'":'"',n=g;do{if(a=!1,-1===(n=p.indexOf(i,n+1))){if(f||t){n=g+1;break}y("string")}for(c=n;p.charCodeAt(c-1)===bh;)c-=1,a=!a}while(a);h=["string",p.slice(g,n+1),g,n],g=n;break;case Fh:Dh.lastIndex=g+1,Dh.test(p),n=0===Dh.lastIndex?p.length-1:Dh.lastIndex-2,h=["at-word",p.slice(g,n+1),g,n],g=n;break;case bh:for(n=g,s=!0;p.charCodeAt(n+1)===bh;)n+=1,s=!s;if(r=p.charCodeAt(n+1),s&&r!==wh&&r!==Sh&&r!==kh&&r!==xh&&r!==Ih&&r!==Ch&&(n+=1,jh.test(p.charAt(n)))){for(;jh.test(p.charAt(n+1));)n+=1;p.charCodeAt(n+1)===Sh&&(n+=1)}h=["word",p.slice(g,n+1),g,n],g=n;break;default:r===wh&&p.charCodeAt(g+1)===Nh?(0===(n=p.indexOf("*/",g+2)+1)&&(f||t?n=p.length:y("comment")),h=["comment",p.slice(g,n+1),g,n],g=n):(Uh.lastIndex=g+1,Uh.test(p),n=0===Uh.lastIndex?p.length-1:Uh.lastIndex-2,h=["word",p.slice(g,n+1),g,n],m.push(h),g=n)}return g++,h}},position:function(){return g}}},np=Kl,ip=Hh,op=Jh,sp=ep,ap={empty:!0,space:!0};var cp=function(){function e(e){this.input=e,this.root=new op,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 ip;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var o=!1,s=!1,a=[],c=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.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=C(e.entries());!(i=s()).done;){var a=i.value,c=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 c}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new np;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=rp(this.input)},t.decl=function(e,t){var r=new tp;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 c=e.length-1;c>=0;c--){if("!important"===(n=e[c])[1].toLowerCase()){r.important=!0;var u=this.stringFrom(e,c);" !important"!==(u=this.spacesFromEnd(e)+u)&&(r.raws.important=u);break}if("important"===n[1].toLowerCase()){for(var l=e.slice(0),h="",p=c;p>0;p--){var f=l[p][0];if(0===h.trim().indexOf("!")&&"space"!==f)break;h=l.pop()[1]+h}0===h.trim().indexOf("!")&&(r.important=!0,r.raws.important=h,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 sp;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=[],c=e;c;){if(r=c[0],a.push(c),"("===r||"["===r)i||(i=c),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=c),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));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){if(!s)for(;a.length&&("space"===(c=a[a.length-1][0])||"comment"===c);)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,c=r.length,u="",l=!0,h=0;h<c;h+=1)"space"!==(o=(i=r[h])[0])||h!==c-1||n?"comment"===o?(a=r[h-1]?r[h-1][0]:"empty",s=r[h+1]?r[h+1][0]:"empty",ap[a]||ap[s]||","===u.slice(-1)?l=!1:u+=i[1]):u+=i[1]:l=!1;if(!l){var p=r.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={raw:p,value:u}}e[t]=u},t.rule=function(e){e.pop();var t=new sp;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="";
1e.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}(),up=ch,lp=cp,hp=Dl;function pp(e,t){var r=new hp(e,t),n=new lp(r);try{n.parse()}catch(e){throw e}return n.root}var fp=pp;pp.default=pp,up.registerParse(pp);var dp=Zu.isClean,gp=Zu.my,mp=Jl,vp=nl,yp=ch,_p=ph,bp=vh,wp=fp,kp=Jh,Sp={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Cp={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},xp={Once:!0,postcssPlugin:!0,prepare:!0};function Ip(e){return"object"===(void 0===e?"undefined":w(e))&&"function"==typeof e.then}function Op(e){var t=!1,r=Sp[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 Ep(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Op(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function Ap(e){return e[dp]=!1,e.nodes&&e.nodes.forEach((function(e){return Ap(e)})),e}var Mp={},Rp=function(){function e(t,r,n){var i,o=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===r?"undefined":w(r))||null===r||"root"!==r.type&&"document"!==r.type)if(y(r,e)||y(r,bp))i=Ap(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var s=wp;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(e){this.processed=!0,this.error=e}i&&!i[gp]&&yp.rebuild(i)}else i=Ap(r);this.result=new bp(t,i,n),this.helpers=g({},Mp,{postcss:Mp,result:this.result}),this.plugins=this.processor.plugins.map((function(e){return"object"===(void 0===e?"undefined":w(e))&&e.prepare?g({},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(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=C(this.plugins);!(t=n()).done;){var i=t.value;if("object"===(void 0===i?"undefined":w(i)))for(var o in i){if(!Cp[o]&&/^[A-Z]/.test(o))throw new Error("Unknown event "+o+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!xp[o])if("object"===w(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 p((function(){var t,r,n,i,o,s,a,c,u,l,h,p;return x(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],!Ip(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[dp])return[3,14];o[dp]=!0,s=[Ep(o)],f.label=8;case 8:if(!(s.length>0))return[3,13];if(!Ip(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 c=f.sent(),u=s[s.length-1].node,e.handleError(c,u);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 x(this,(function(a){switch(a.label){case 0:t=p.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]}}
1))},h=C(e.listeners.OnceExit),f.label=15;case 15:return(p=h()).done?[3,18]:[5,I(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"===(void 0===e?"undefined":w(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 Ip(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(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=vp;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new mp(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=C(this.plugins);!(e=t()).done;){var r=e.value;if(Ip(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[dp];)n[dp]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var i,o=C(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=C(e);!(r=n()).done;){var i=r.value,o=i[0],s=i[1];this.result.lastPlugin=o;var a=void 0;try{a=s(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(Ip(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(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var a,c=t.iterator;a=r.nodes[r.indexes[c]];)if(r.indexes[c]+=1,!a[dp])return a[dp]=!0,void e.push(Ep(a));t.iterator=0,delete r.indexes[c]}for(var u=t.events;t.eventIndex<u.length;){var l=u[t.eventIndex];if(t.eventIndex+=1,0===l)return void(r.nodes&&r.nodes.length&&(r[dp]=!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[dp]=!0;for(var r,n=C(Op(e));!(r=n()).done;){var i=r.value;if(0===i)e.nodes&&e.each((function(e){e[dp]||t.walkSync(e)}));else{var o=this.listeners[i];if(o&&this.visitSync(o,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},d(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}();Rp.registerPostcss=function(e){Mp=e};var Tp=Rp;Rp.default=Rp,kp.registerLazyResult(Rp),_p.registerLazyResult(Rp);var Pp=Jl,Np=nl,Lp=fp,Fp=vh,Dp=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=Np;this.result=new Fp(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 Pp(i,n,this._opts,t);if(s.isMap()){var a=s.generate(),c=a[0],u=a[1];c&&(this.result.css=c),u&&(this.result.map=u)}else s.clearAnnotation(),this.result.css=s.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Prom
1ise.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[]},d(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=Lp;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),Up=Dp;Dp.default=Dp;var Bp=Up,jp=Tp,qp=ph,zp=Jh,Hp=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=C(e);!(t=n()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"===(void 0===i?"undefined":w(i))&&Array.isArray(i.plugins))r=r.concat(i.plugins);else if("object"===(void 0===i?"undefined":w(i))&&i.postcssPlugin)r.push(i);else if("function"==typeof i)r.push(i);else{if("object"!==(void 0===i?"undefined":w(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 jp(this,e,t):new Bp(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),Vp=Hp;Hp.default=Hp,zp.registerProcessor(Hp),qp.registerProcessor(Hp);var Wp=fl,$p=kl,Gp=Kl,Jp=Hh,Yp=Dl,Kp=Jh,Zp=ep;function Xp(e,t){if(Array.isArray(e))return e.map((function(e){return Xp(e)}));var r=e.inputs,n=_(e,["inputs"]);if(r){t=[];for(var i,o=C(r);!(i=o()).done;){var s=g({},i.value,{__proto__:Yp.prototype});s.map&&(s.map=g({},s.map,{__proto__:$p.prototype})),t.push(s)}}if(n.nodes&&(n.nodes=e.nodes.map((function(e){return Xp(e,t)}))),n.source){var a=n.source,c=a.inputId,u=_(a,["inputId"]);n.source=u,null!=c&&(n.source.input=t[c])}if("root"===n.type)return new Kp(n);if("decl"===n.type)return new Wp(n);if("rule"===n.type)return new Zp(n);if("comment"===n.type)return new Gp(n);if("atrule"===n.type)return new Jp(n);throw new Error("Unknown node type: "+e.type)}var Qp=Xp;Xp.default=Xp;var ef=Ku,tf=fl,rf=Tp,nf=ch,of=Vp,sf=nl,af=Qp,cf=ph,uf=dh,lf=Kl,hf=Hh,pf=vh,ff=Dl,df=fp,gf=Kh,mf=ep,vf=Jh,yf=hl;function _f(){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 of(t)}_f.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"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå:\nhttps://www.w3ctech.com/topic/2226"));var s=t.apply(void 0,[].concat(i));return s.postcssPlugin=e,s.postcssVersion=(new of).version,s}return Object.defineProperty(i,"postcss",{get:function(){return r||(r=i()),r}}),i.process=function(e,t,r){return _f([i(r)]).process(e,t)},i},_f.stringify=sf,_f.parse=df,_f.fromJSON=af,_f.list=gf,_f.comment=function(e){return new lf(e)},_f.atRule=function(e){return new hf(e)},_f.decl=function(e){return new tf(e)},_f.rule=function(e){return new mf(e)},_f.root=function(e){return new vf(e)},_f.document=function(e){return new cf(e)},_f.CssSyntaxError=ef,_f.Declaration=tf,_f.Container=nf,_f.Processor=of,_f.Document=cf,_f.Comment=lf,_f.Warning=uf,_f.AtRule=hf,_f.Result=pf,_f.Input=ff,_f.Rule=mf,_f.Root=vf,_f.Node=yf,rf.registerPostcss(_f);var bf=_f;_f.default=_f;var wf=ju(bf);wf.stringify,wf.fromJSON,wf.plugin,wf.parse,wf.list,wf.document,wf.comment,wf.atRule,wf.rule,wf.decl,wf.root,wf.CssSyntaxError,wf.Declaration,wf.Container,wf.Processor,wf.Document,wf.Comment,wf.Warning,wf.AtRule,wf.Result,wf.Input,wf.Rule,wf.Root,wf.Node;var kf=Object.defineProperty,Sf=function(e,t,r){return function(e,t,r){return t in e?kf
1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":w(t))?t+"":t,r)};var Cf=function(){function e(e){Sf(this,"fileName"),Sf(this,"functionName"),Sf(this,"lineNumber"),Sf(this,"columnNumber"),this.fileName=e.fileName||"",this.functionName=e.functionName||"",this.lineNumber=e.lineNumber,this.columnNumber=e.columnNumber}return e.prototype.toString=function(){var e=this.lineNumber||"",t=this.columnNumber||"";return this.functionName?this.functionName+" ("+this.fileName+":"+e+":"+t+")":this.fileName+":"+e+":"+t},e}(),xf=/(^|@)\S+:\d+/,If=/^\s*at .*(\S+:\d+|\(native\))/m,Of=/^(eval@)?(\[native code])?$/,Ef={parse:function(e){return e?void 0!==e.stacktrace||void 0!==e["opera#sourceloc"]?this.parseOpera(e):e.stack&&e.stack.match(If)?this.parseV8OrIE(e):e.stack?this.parseFFOrSafari(e):(console.warn("[console-record-plugin]: Failed to parse error object:",e),[]):[]},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));if(!t)throw new Error("Cannot parse given url: "+e);return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(e){return e.stack.split("\n").filter((function(e){return!!e.match(If)}),this).map((function(e){e.indexOf("(eval ")>-1&&(e=e.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var t=e.replace(/^\s+/,"").replace(/\(eval code/g,"("),r=t.match(/ (\((.+):(\d+):(\d+)\)$)/),n=(t=r?t.replace(r[0],""):t).split(/\s+/).slice(1),i=this.extractLocation(r?r[1]:n.pop()),o=n.join(" ")||void 0,s=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new Cf({functionName:o,fileName:s,lineNumber:i[1],columnNumber:i[2]})}),this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter((function(e){return!e.match(Of)}),this).map((function(e){if(e.indexOf(" > eval")>-1&&(e=e.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===e.indexOf("@")&&-1===e.indexOf(":"))return new Cf({functionName:e});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=e.match(t),n=r&&r[1]?r[1]:void 0,i=this.extractLocation(e.replace(t,""));return new Cf({functionName:n,fileName:i[0],lineNumber:i[1],columnNumber:i[2]})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,r=e.message.split("\n"),n=[],i=2,o=r.length;i<o;i+=2){var s=t.exec(r[i]);s&&n.push(new Cf({fileName:s[2],lineNumber:parseFloat(s[1])}))}return n},parseOpera10:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=e.stacktrace.split("\n"),n=[],i=0,o=r.length;i<o;i+=2){var s=t.exec(r[i]);s&&n.push(new Cf({functionName:s[3]||void 0,fileName:s[2],lineNumber:parseFloat(s[1])}))}return n},parseOpera11:function(e){return e.stack.split("\n").filter((function(e){return!!e.match(xf)&&!e.match(/^Error created at/)}),this).map((function(e){var t=e.split("@"),r=this.extractLocation(t.pop()),n=(t.shift()||"").replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;return new Cf({functionName:n,fileName:r[0],lineNumber:r[1],columnNumber:r[2]})}),this)}};function Af(e){if(!e||!e.outerHTML)return"";for(var t="";e.parentElement;){var r=e.localName;if(!r)break;r=r.toLowerCase();var n=e.parentElement,i=[];if(n.children&&n.children.length>0)for(var o=0;o<n.children.length;o++){var s=n.children[o];s.localName&&s.localName.toLowerCase&&s.localName.toLowerCase()===r&&i.push(s)}i.length>1&&(r+=":eq("+i.indexOf(e)+")"),t=r+(t?">"+t:""),e=n}return t}function Mf(e){return"[object Object]"===Object.prototype.toString.call(e)}function Rf(e,t){if(0===t)return!0;for(var r,n=C(Object.keys(e));!(r=n()).done;){var i=r.value;if(Mf(e[i])&&Rf(e[i],t-1))return!0}return!1}function Tf(e,t){var r={numOfKeysLimit:50,depthOfLimit:4};Object.assign(r,t);var n=[],i=[];return JSON.stringify(e,(function(e,t){if(n.length>0){var o=n.indexOf(this);~o?n.splice(o+1):n.push(this),~o?i.splice(o,1/0,e):i.push(e),~n.indexOf(t)&&(t=n[0]===t?"[Cir
1cular ~]":"[Circular ~."+i.slice(0,n.indexOf(t)).join(".")+"]")}else n.push(t);if(null===t)return t;if(void 0===t)return"undefined";if(function(e){if(Mf(e)&&Object.keys(e).length>r.numOfKeysLimit)return!0;if("function"==typeof e)return!0;if(Mf(e)&&Rf(e,r.depthOfLimit))return!0;return!1}(t))return function(e){var t=e.toString();r.stringLengthLimit&&t.length>r.stringLengthLimit&&(t=t.slice(0,r.stringLengthLimit)+"...");return t}(t);if("bigint"===(void 0===t?"undefined":w(t)))return t.toString()+"n";if(y(t,Event)){var s={};for(var a in t){var c=t[a];Array.isArray(c)?s[a]=Af(c.length?c[0]:null):s[a]=c}return s}return y(t,Node)?y(t,HTMLElement)?t?t.outerHTML:"":t.nodeName:y(t,Error)?t.stack?t.stack+"\nEnd of stack for Error object":t.name+": "+t.message:t}))}var Pf={level:["assert","clear","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],lengthThreshold:1e3,logger:"console"};function Nf(e,t,r){var n,i=r?Object.assign({},Pf,r):Pf,o=i.logger;if(!o)return function(){};n="string"==typeof o?t[o]:o;var s=0,a=!1,c=[];if(i.level.includes("error")){var u=function(t){var r=t.message,n=t.error,o=Ef.parse(n).map((function(e){return e.toString()})),s=[Tf(r,i.stringifyOptions)];e({level:"error",trace:o,payload:s})};t.addEventListener("error",u),c.push((function(){t.removeEventListener("error",u)}));var l=function(t){var r,n;y(t.reason,Error)?n=[Tf("Uncaught (in promise) "+(r=t.reason).name+": "+r.message,i.stringifyOptions)]:(r=new Error,n=[Tf("Uncaught (in promise)",i.stringifyOptions),Tf(t.reason,i.stringifyOptions)]);var o=Ef.parse(r).map((function(e){return e.toString()}));e({level:"error",trace:o,payload:n})};t.addEventListener("unhandledrejection",l),c.push((function(){t.removeEventListener("unhandledrejection",l)}))}for(var h,p=C(i.level);!(h=p()).done;){var f=h.value;c.push(d(n,f))}return function(){c.forEach((function(e){return e()}))};function d(t,r){var n=this;return t[r]?function(e,t,r){try{if(!(t in e))return function(){};var n=e[t],i=r(n);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,function(){e[t]=n}}catch(e){return function(){}}}(t,r,(function(t){var o=n;return function(){for(var n=arguments.length,c=new Array(n),u=0;u<n;u++)c[u]=arguments[u];if(t.apply(o,c),!("assert"===r&&c[0]||a)){a=!0;try{var l=Ef.parse(new Error).map((function(e){return e.toString()})).splice(1),h=("assert"===r?c.slice(1):c).map((function(e){return Tf(e,i.stringifyOptions)}));++s<i.lengthThreshold?e({level:r,trace:l,payload:h}):s===i.lengthThreshold&&e({level:"warn",trace:[],payload:[Tf("The number of log records reached the threshold.")]})}catch(e){t.apply(void 0,[].concat(["rrweb logger error:",e],c))}finally{a=!1}
1}}})):function(){}}}var Lf,Ff,Df,Uf=n.setImmediate,Bf=Object.prototype.toString,jf=void 0!==Uf?function(e){return Uf(e)}:setTimeout;try{Object.defineProperty({},"x",{}),Lf=function(e,t,r,n){return Object.defineProperty(e,t,{value:r,writable:!0,configurable:!1!==n})}}catch(e){Lf=function(e,t,r){return e[t]=r,e}}function qf(e,t){Df.add(e,t),Ff||(Ff=jf(Df.drain))}function zf(e){var t,r=typeof e;return null===e||"object"!==r&&"function"!==r||(t=e.then),"function"==typeof t&&t}function Hf(){for(var e=0;e<this.chain.length;e++)Vf(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function Vf(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=zf(n))?i.call(n,r.resolve,r.reject):r.resolve(n)}catch(e){r.reject(e)}}function Wf(e){var t,r=this;if(!r.triggered){r.triggered=!0,r.def&&(r=r.def);try{(t=zf(e))?qf((function(){var n=new Jf(r);try{t.call(e,(function(){Wf.apply(n,arguments)}),(function(){$f.apply(n,arguments)}))}catch(e){$f.call(n,e)}})):(r.msg=e,r.state=1,r.chain.length>0&&qf(Hf,r))}catch(e){$f.call(new Jf(r),e)}}}function $f(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&qf(Hf,t))}function Gf(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 Jf(e){this.def=e,this.triggered=!1}function Yf(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function Kf(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 Yf(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&&qf(Hf,t),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,(function(e){Wf.call(t,e)}),(function(e){$f.call(t,e)}))}catch(e){$f.call(t,e)}}Df=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=Ff=void 0;r;)r.fn.call(r.self),r=r.next}}}();var Zf,Xf=Lf({},"constructor",Kf,!1);Kf.prototype=Xf,Lf(Xf,"__NPO__",0,!1),Lf(Kf,"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)}))})),Lf(Kf,"reject",(function(e){return new this((function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");r(e)}))})),Lf(Kf,"all",(function(e){var t=this;return"[object Array]"!==Bf.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;Gf(t,e,(function(e,t){o[e]=t,++s===i&&r(o)}),n)}))})),Lf(Kf,"race",(function(e){var t=this;return"[object Array]"!==Bf.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");Gf(t,e,(function(e,t){r(t)}),n)}))})),Zf="undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")?Promise:Kf;var Qf,ed,td,rd,nd,id,od,sd,ad,cd,ud=864e5,ld=8e3,hd=Array.prototype,pd=Function.prototype,fd=Object.prototype,dd=hd.slice,gd=fd.toString,md=fd.hasOwnProperty,vd=n.console,yd=n.navigator,_d=n.document,bd=n.opera,wd=n.screen,kd=yd.userAgent,Sd=pd.bind,Cd=hd.forEach,xd=hd.indexOf,Id=hd.map,Od=Array.isArray,Ed={},Ad={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},Md={log:function(){if(s.DEBUG&&!Ad.isUndefined(vd)&&vd)try{vd.log.apply(vd,arguments)}catch(e){Ad.each(arguments,(function(e){vd.log(e)}))}},warn:function(){if(s.DEBUG&&!Ad.isUndefined(vd)&&vd){var e=["Mixpanel warning:"].concat(Ad.toArray(arguments));try{vd.warn.apply(vd,e)}catch(t){Ad.each(e,(function(e){vd.warn(e)}))}}},error:function(){if(s.DEBUG&&!Ad.isUndefined(vd)&&vd){var e=["Mixpanel error:"].concat(Ad.toArray(arguments));try{vd.error.apply(vd,e)}catch(t){Ad.each(e,(function(e){vd.error(e)}))}}},critical:function(){if(!Ad.isUndefined(vd)&&vd){var e=["Mixpanel error:"].concat(Ad.toArray(arguments));try{vd.error.apply(vd,e)}catch(t){Ad.each(e,(function(e){vd.error(e)}))}}}},Rd=function(e,t){return function(){return arguments[0]="["+t+"] "+arguments[0],e.apply(Md,arguments)}},Td=function(e){return{log:Rd(Md.log,e),warn:Rd(Md.warn,e),error:Rd(Md.error,e),critical:Rd(Md.critical,e)}},Pd=function(e){return function(){try{return e.apply(this,arguments)}catch(e){Md.critical("Implementation error. Please turn on debug and contact [email protected]."),s.DEBUG&&Md.critical(e)}}},Nd=function(e){var t=e.prototype;for(var r in t)"function"==typeof t[r]&&(t[r]=Pd(t[r]))};Ad.bind=function(e,t){var r,n;
1if(Sd&&e.bind===Sd)return Sd.apply(e,dd.call(arguments,1));if(!Ad.isFunction(e))throw new TypeError;return r=dd.call(arguments,2),n=function(){if(!(this instanceof n))return e.apply(t,r.concat(dd.call(arguments)));var i={};i.prototype=e.prototype;var o=new i;i.prototype=null;var s=e.apply(o,r.concat(dd.call(arguments)));return Object(s)===s?s:o},n},Ad.each=function(e,t,r){if(null!=e)if(Cd&&e.forEach===Cd)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)===Ed)return}else for(var o in e)if(md.call(e,o)&&t.call(r,e[o],o,e)===Ed)return},Ad.extend=function(e){return Ad.each(dd.call(arguments,1),(function(t){for(var r in t)void 0!==t[r]&&(e[r]=t[r])})),e},Ad.isArray=Od||function(e){return"[object Array]"===gd.call(e)},Ad.isFunction=function(e){return"function"==typeof e},Ad.isArguments=function(e){return!(!e||!md.call(e,"callee"))},Ad.toArray=function(e){return e?e.toArray?e.toArray():Ad.isArray(e)||Ad.isArguments(e)?dd.call(e):Ad.values(e):[]},Ad.map=function(e,t,r){if(Id&&e.map===Id)return e.map(t,r);var n=[];return Ad.each(e,(function(e){n.push(t.call(r,e))})),n},Ad.keys=function(e){var t=[];return null===e||Ad.each(e,(function(e,r){t[t.length]=r})),t},Ad.values=function(e){var t=[];return null===e||Ad.each(e,(function(e){t[t.length]=e})),t},Ad.include=function(e,t){var r=!1;return null===e?r:xd&&e.indexOf===xd?-1!=e.indexOf(t):(Ad.each(e,(function(e){if(r||(r=e===t))return Ed})),r)},Ad.includes=function(e,t){return-1!==e.indexOf(t)},Ad.inherit=function(e,t){return e.prototype=new t,e.prototype.constructor=e,e.superclass=t.prototype,e},Ad.isObject=function(e){return e===Object(e)&&!Ad.isArray(e)},Ad.isEmptyObject=function(e){if(Ad.isObject(e)){for(var t in e)if(md.call(e,t))return!1;return!0}return!1},Ad.isUndefined=function(e){return void 0===e},Ad.isString=function(e){return"[object String]"==gd.call(e)},Ad.isDate=function(e){return"[object Date]"==gd.call(e)},Ad.isNumber=function(e){return"[object Number]"==gd.call(e)},Ad.isElement=function(e){return!(!e||1!==e.nodeType)},Ad.encodeDates=function(e){return Ad.each(e,(function(t,r){Ad.isDate(t)?e[r]=Ad.formatDate(t):Ad.isObject(t)&&(e[r]=Ad.encodeDates(t))})),e},Ad.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},Ad.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())},Ad.strip_empty_properties=function(e){var t={};return Ad.each(e,(function(e,r){Ad.isString(e)&&e.length>0&&(t[r]=e)})),t},Ad.truncate=function(e,t){var r;return"string"==typeof e?r=e.slice(0,t):Ad.isArray(e)?(r=[],Ad.each(e,(function(e){r.push(Ad.truncate(e,t))}))):Ad.isObject(e)?(r={},Ad.each(e,(function(e,n){r[n]=Ad.truncate(e,t)}))):r=e,r},Ad.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="",c=0,u=i,l=[],h=n[e];switch(h&&"object"==typeof h&&"function"==typeof h.toJSON&&(h=h.toJSON(e)),typeof h){case"string":return t(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";if(i+=" ",l=[],"[object Array]"===gd.apply(h)){for(c=h.length,o=0;o<c;o+=1)l[o]=r(o,h)||"null";return a=0===l.length?"[]":i?"[\n"+i+l.join(",\n"+i)+"\n"+u+"]":"["+l.join(",")+"]",i=u,a}for(s in h)md.call(h,s)&&(a=r(s,h))&&l.push(t(s)+(i?": ":":")+a);return a=0===l.length?"{}":i?"{"+l.join(",")+u+"}":"{"+l.join(",")+"}",i=u,a}};return r("",{"":e})},Ad.JSONDecode=(nd={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},id=function(e){var t=new SyntaxError(e);throw t.at=Qf,t.text=td,t},od=function(e){return e&&e!==ed&&id("Expected '"+e+"' instead of '"+ed+"'"),ed=td.charAt(Qf),Qf+=1,ed},sd=function(){var e,t="";for("-"===ed&&(t="-",od("-"));ed>="0"&&ed<="9";)t+=ed,od();if("."===ed)for(t+=".";od()&&ed>="0"&&ed<="9";)t+=ed;if("e"===ed||"E"===ed)for(t+=ed,od(),"-"!==ed&&"+"!==ed||(t+=ed,od());ed>="0"&&ed<="9";)t+=ed,od();if(e=+t,isFinite(e))return e;id("Bad number")},ad=function(){var e,t,r,n="";if('"'===ed)for(;od();){if('"'===ed)return od(),n;if("\\"===ed)if(od(),"u"===ed){for(r=0,t=0;t<4&&(e=parseInt(od(),16),isFinite(e));t+=1)r=16*r+e;n+=String.fromCharCode(r)}else{if("string"!=typeof nd[ed])break;n+=nd[ed]}else n+=ed}id("Bad string")},cd=function(){for(;ed&&ed<=" ";)od()},rd=function(){switch(cd(),ed){case"{":return function(){var e,t={};
1if("{"===ed){if(od("{"),cd(),"}"===ed)return od("}"),t;for(;ed;){if(e=ad(),cd(),od(":"),Object.hasOwnProperty.call(t,e)&&id('Duplicate key "'+e+'"'),t[e]=rd(),cd(),"}"===ed)return od("}"),t;od(","),cd()}}id("Bad object")}();case"[":return function(){var e=[];if("["===ed){if(od("["),cd(),"]"===ed)return od("]"),e;for(;ed;){if(e.push(rd()),cd(),"]"===ed)return od("]"),e;od(","),cd()}}id("Bad array")}();case'"':return ad();case"-":return sd();default:return ed>="0"&&ed<="9"?sd():function(){switch(ed){case"t":return od("t"),od("r"),od("u"),od("e"),!0;case"f":return od("f"),od("a"),od("l"),od("s"),od("e"),!1;case"n":return od("n"),od("u"),od("l"),od("l"),null}id('Unexpected "'+ed+'"')}()}},function(e){var t;return td=e,Qf=0,ed=" ",t=rd(),cd(),ed&&id("Syntax error"),t}),Ad.base64Encode=function(e){var t,r,n,i,o,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a=0,c=0,u="",l=[];if(!e)return e;e=Ad.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[c++]=s.charAt(t)+s.charAt(r)+s.charAt(n)+s.charAt(i)}while(a<e.length);switch(u=l.join(""),e.length%3){case 1:u=u.slice(0,-2)+"==";break;case 2:u=u.slice(0,-1)+"="}return u},Ad.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},Ad.UUID=function(){try{return n.crypto.randomUUID()}catch(r){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]="-",Ad.map(e,(function(e){return e.toString(16)})).join("")}};var Ld=["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"];Ad.isBlockedUA=function(e){var t;for(e=e.toLowerCase(),t=0;t<Ld.length;t++)if(-1!==e.indexOf(Ld[t]))return!0;return!1},Ad.HTTPBuildQuery=function(e,t){var r,n,i=[];return Ad.isUndefined(t)&&(t="&"),Ad.each(e,(function(e,t){r=encodeURIComponent(e.toString()),n=encodeURIComponent(t),i[i.length]=n+"="+r})),i.join(t)},Ad.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(e){Md.error("Skipping decoding for malformed query param: "+n)}return n.replace(/\+/g," ")},Ad.cookie={get:function(e){for(var t=e+"=",r=_d.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=Ad.JSONDecode(Ad.cookie.get(e))||{}}catch(e){}return t},set_seconds:function(e,t,r,n,i,o,s){var a="",c="",u="";if(s)a="; domain="+s;else if(n){var l=Yd(_d.location.hostname);a=l?"; domain=."+l:""}if(r){var h=new Date;h.setTime(h.getTime()+1e3*r),c="; expires="+h.toGMTString()}o&&(i=!0,u="; SameSite=None"),i&&(u+="; secure"),_d.cookie=e+"="+encodeURIComponent(t)+c+"; path=/"+a+u},set:function(e,t,r,n,i,o,s){var a="",c="",u="";if(s)a="; domain="+s;else if(n){var l=Yd(_d.location.hostname);a=l?"; domain=."+l:""}if(r){var h=new Date;h.setTime(h.getTime()+24*r*60*60*1e3),c="; expires="+h.toGMTString()}o&&(i=!0,u="; SameSite=None"),i&&(u+="; secure");var p=e+"="+encodeURIComponent(t)+c+"; path=/"+a+u;return _d.cookie=p,p},remove:function(e,t,r){Ad.cookie.set(e,"",-1,t,!1,!1,r)}};var Fd=function(e){var t=!0;try{var r="__mplss_"+Wd(8);e.setItem(r,"xyz"),"xyz"!==e.getItem(r)&&(t=!1),e.removeItem(r)}catch(e){t=!1}return t},Dd=null,Ud=function(e,t){return null===Dd||t?Dd=Fd(e):Dd},Bd=null;
1function jd(e,t,r){var n=function(e){Md.error(t+" error: "+e)};return{is_supported:function(n){var i=r(e,n);return i||Md.error(t+" unsupported"),i},error:n,get:function(t){try{return e.getItem(t)}catch(e){n(e)}return null},parse:function(t){try{return Ad.JSONDecode(e.getItem(t))||{}}catch(e){}return null},set:function(t,r){try{e.setItem(t,r)}catch(e){n(e)}},remove:function(t){try{e.removeItem(t)}catch(e){n(e)}}}}var qd=function(){try{return n.localStorage}catch(e){return null}};Ad.localStorage=jd(qd(),"localStorage",Ud),Ad.sessionStorage=jd(function(){try{return n.sessionStorage}catch(e){return null}}(),"sessionStorage",(function(e,t){return null===Bd||t?Bd=Fd(e):Bd})),Ad.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,c=t[a];t[a]=function(t,r,i){var o=function(o){if(o=o||e(n.event)){var s,a,c=!0;return Ad.isFunction(i)&&(s=i(o)),a=r.call(t,o),!1!==s&&!1!==a||(c=!1),c}};return o}(t,i,c)}else Md.error("No valid element provided to register_event")}}();var zd=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');Ad.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(!_d.getElementsByTagName)return[];var n,i,o,s,a,c,u,l,h,p,f=t.split(" "),d=[_d];for(c=0;c<f.length;c++)if((n=f[c].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){o=(i=n.split("#"))[0];var g=i[1],m=_d.getElementById(g);if(!m||o&&m.nodeName.toLowerCase()!=o)return[];d=[m]}else if(n.indexOf(".")>-1){o=(i=n.split("."))[0];var v=i[1];for(o||(o="*"),s=[],a=0,u=0;u<d.length;u++)for(h="*"==o?e(d[u]):d[u].getElementsByTagName(o),l=0;l<h.length;l++)s[a++]=h[l];for(d=[],p=0,u=0;u<s.length;u++)s[u].className&&Ad.isString(s[u].className)&&r(s[u],v)&&(d[p++]=s[u])}else{var y=n.match(zd);if(y){o=y[1];var _,b=y[2],w=y[3],k=y[4];for(o||(o="*"),s=[],a=0,u=0;u<d.length;u++)for(h="*"==o?e(d[u]):d[u].getElementsByTagName(o),l=0;l<h.length;l++)s[a++]=h[l];switch(d=[],p=0,w){case"=":_=function(e){return e.getAttribute(b)==k};break;case"~":_=function(e){return e.getAttribute(b).match(new RegExp("\\b"+k+"\\b"))};break;case"|":_=function(e){return e.getAttribute(b).match(new RegExp("^"+k+"-?"))};break;case"^":_=function(e){return 0===e.getAttribute(b).indexOf(k)};break;case"$":_=function(e){return e.getAttribute(b).lastIndexOf(k)==e.getAttribute(b).length-k.length};break;case"*":_=function(e){return e.getAttribute(b).indexOf(k)>-1};break;default:_=function(e){return e.getAttribute(b)}}for(d=[],p=0,u=0;u<s.length;u++)_(s[u])&&(d[p++]=s[u])}else{for(o=n,s=[],a=0,u=0;u<d.length;u++)for(h=d[u].getElementsByTagName(o),l=0;l<h.length;l++)s[a++]=h[l];d=s}}return d}return function(e){return Ad.isElement(e)?[e]:Ad.isObject(e)&&!Ad.isUndefined(e.length)?e:n.call(this,e)}}();var Hd=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],Vd=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];Ad.info={campaignParams:function(e){var t="",r={};return Ad.each(Hd,(function(n){(t=Ad.getQueryParam(_d.URL,n)).length?r[n]=t:void 0!==e&&(r[n]=e)})),r},clickParams:function(){var e="",t={};return Ad.each(Vd,(function(r){(e=Ad.getQueryParam(_d.URL,r)).length&&(t[r]=e)})),t},marketingParams:function(){return Ad.extend(Ad.info.campaignParams(),Ad.info.clickParams())},searchEngine:function(e){return 0===e.search("https?://(.*)google.([^/?]*)")?"google":0===e.search("https?://(.*)bing.com")?"bing":0===e.search("https?://(.*)yahoo.com")?"yahoo":0===e.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(e){var t=Ad.info.searchEngine(e),r="yahoo"!=t?"q":"p",n={};if(null!==t){n.$search_engine=t;var i=Ad.getQueryParam(e,r);i.length&&(n.mp_keyword=i)}return n},browser:function(e,t,r){return t=t||"",r||Ad.includes(e," OPR/")?Ad.includes(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":Ad.includes(e,"IEMobile")||Ad.includes(e,"WPDesktop")?"Internet Explorer Mobile":Ad.includes(e,"SamsungBrowser/")?"Samsung Internet":Ad.includes(e,"Edge")||Ad.includes(e,"Edg/")?"Microsoft Edge":Ad.includes(e,"FBIOS")?"Facebook Mobile":Ad.includes(e,"Whale/")?"Whale Browser":Ad.includes(e,"Chrome")?"Chrome":Ad.includes(e,"CriOS")?"Chrome iOS":Ad.includes(e,"UCWEB")||Ad.includes(e,"UCBrowser")?"UC Browser":Ad.includes(e,"FxiOS")?"Firefox iOS":Ad.includes(t,"Apple")?Ad.includes(e,"Mobile")?"Mobile Safari":"Safari":Ad.includes(e,"Android")?"Android Mobile":Ad.includes(e,"Konqueror")?"Konqueror":Ad.includes(e,"Firefox")?"Firefox":Ad.includes(e,"MSIE")||Ad.includes(e,"Trident/")?"Internet Explorer":Ad.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+)?)/,"Whale Browser":/Whale\/(\d+(\.\d+)?)/}[Ad.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=kd;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={}),Ad.extend(Ad.strip_empty_properties({$os:Ad.info.os(),$browser:Ad.info.browser(kd,yd.vendor,bd),$referrer:_d.referrer,$referring_domain:Ad.info.referringDomain(_d.referrer),$device:Ad.info.device(kd)}),{$current_url:Ad.info.currentUrl(),$browser_version:Ad.info.browserVersion(kd,yd.vendor,bd),$screen_height:wd.height,$screen_width:wd.width,mp_lib:"web",$lib_version:s.LIB_VERSION,$insert_id:Wd(),time:Ad.timestamp()/1e3},Ad.strip_empty_properties(e))},people_properties:function(){return Ad.extend(Ad.strip_empty_properties({$os:Ad.info.os(),$browser:Ad.info.browser(kd,yd.vendor,bd)}),{$browser_version:Ad.info.browserVersion(kd,yd.vendor,bd)})},mpPageViewProperties:function(){return Ad.strip_empty_properties({current_page_title:_d.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 Wd=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},$d=function(){return"00-"+Ad.UUID().replace(/-/g,"")+"-"+Ad.UUID().replace(/-/g,"").substring(0,16)+"-01"},Gd=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,Jd=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,Yd=function(e){var t=Jd,r=e.split("."),n=r[r.length-1];(n.length>4||"com"===n||"org"===n)&&(t=Gd);var i=e.match(t);return i?i[0]:""},Kd=function(){},Zd=function(e,t){for(var r=!1,n=0;n<t.length;n++)if(e.match(t[n])){r=!0;break}return r},Xd=null,Qd=null;"undefined"!=typeof JSON&&(Xd=JSON.stringify,Qd=JSON.parse),Xd=Xd||Ad.JSONEncode,Qd=Qd||Ad.JSONDecode;Ad.info=Ad.info,Ad.info.browser=Ad.info.browser,Ad.info.browserVersion=Ad.info.browserVersion,Ad.info.device=Ad.info.device,Ad.info.properties=Ad.info.properties,Ad.isBlockedUA=Ad.isBlockedUA,Ad.isEmptyObject=Ad.isEmptyObject,Ad.isObject=Ad.isObject,Ad.JSONDecode=Ad.JSONDecode,Ad.JSONEncode=Ad.JSONEncode,Ad.toArray=Ad.toArray,Ad.NPO=Kf;var eg=function(e,t,r){this.dbName=e,this.storeName=t,this.version=r.version,this.storeNamesInDb=r.storeNames,this.dbPromise=null};eg.prototype._openDb=function(){var e=this.dbName,t=this.version,r=this.storeNamesInDb;return new Zf((function(i,o){var s=n.indexedDB.open(e,t);s.onerror=function(){o(s.error)},s.onsuccess=function(){i(s.result)},s.onupgradeneeded=function(e){var t=e.target.result;r.forEach((function(e){t.objectStoreNames.contains(e)||t.createObjectStore(e)}))}}))},eg.prototype.init=function(){return n.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then((function(e){return e instanceof n.IDBDatabase?Zf.resolve():Zf.reject(e)}))):Zf.reject("indexedDB is not supported in this browser")},eg.prototype.isInitialized=function(){return!!this.dbPromise},eg.prototype.makeTransaction=function(e,t){var r=this.storeName,n=function(n){return new Zf((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)):Zf.reject(e)}.bind(this))},eg.prototype.setItem=function(e,t){return this.makeTransaction("readwrite",(function(r){r.put(t,e)}))},eg.prototype.getItem=function(e){var t;return this.makeTransaction("readonly",(function(r){t=r.get(e)})).then((function(){return t.result}))},eg.prototype.removeItem=function(e){return this.makeTransaction("readwrite",(function(t){t.delete(e)}))},eg.prototype.getAll=function(){var e;return this.makeTransaction("readonly",(function(t){e=t.getAll()})).then((function(){return e.result}))};var tg="mixpanelBrowserDb",rg="mixpanelRecordingEvents",ng="mixpanelRecordingRegistry",ig={version:1,storeNames:[rg,ng]};function og(e,t){mg(!0,e,t)}function sg(e,t){mg(!1,e,t)}function ag(e,t){return"1"===gg(e,t)}function cg(e,t){if(function(e){if(e&&e.ignoreDnt)return!1;var t=e&&e.window||n,r=t.navigator||{},i=!1;return Ad.each([r.doNotTrack,r.msDoNotTrack,t.doNotTrack],(function(e){Ad.includes([!0,1,"1","yes"],e)&&(i=!0)})),i}(t))return Md.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"===gg(e,t);return r&&Md.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),r}function ug(e){return vg(e,(function(e){return this.get_config(e)}))}function lg(e){return vg(e,(function(e){return this._get_config(e)}))}function hg(e){return vg(e,(function(e){return this._get_config(e)}))}function pg(e,t){fg(t=t||{}).remove(dg(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function fg(e){return"localStorage"===(e=e||{}).persistenceType?Ad.localStorage:Ad.cookie}function dg(e,t){return((t=t||{}).persistencePrefix||"__mp_opt_in_out_")+e}function gg(e,t){return fg(t).get(dg(e,t))}function mg(e,t,r){Ad.isString(t)&&t.length?(fg(r=r||{}).set(dg(t,r),e?1:0,Ad.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})):Md.error("gdpr."+(e?"optIn":"optOut")+" called with an invali
1d token")}function vg(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=cg(n,{ignoreDnt:i,persistenceType:o,persistencePrefix:s,window:a}))}catch(e){Md.error("Unexpected error when checking tracking opt-out status: "+e)}if(!r)return e.apply(this,arguments);var c=arguments[arguments.length-1];"function"==typeof c&&c(0)}}var yg=Td("lock"),_g=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||qd(),this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3,this.promiseImpl=t.promiseImpl||Zf};_g.prototype.withLock=function(e,t){return new(0,this.promiseImpl)(Ad.bind((function(r,n){var i=t||(new Date).getTime()+"|"+Math.random(),o=(new Date).getTime(),s=this.storageKey,a=this.pollIntervalMS,c=this.timeoutMS,u=this.storage,l=s+":X",h=s+":Y",p=s+":Z",f=function(e){if((new Date).getTime()-o>c)return yg.error("Timeout waiting for mutex on "+s+"; clearing lock. ["+i+"]"),u.removeItem(p),u.removeItem(h),void m();setTimeout((function(){try{e()}catch(e){n(e)}}),a*(Math.random()+.1))},d=function(e,t){e()?t():f((function(){d(e,t)}))},g=function(){var e=u.getItem(h);return(!e||e===i)&&(u.setItem(h,i),u.getItem(h)===i||(Ud(u,!0)||n(new Error("localStorage support dropped while acquiring lock")),!1))},m=function(){u.setItem(l,i),d(g,(function(){u.getItem(l)!==i?f((function(){u.getItem(h)===i?d((function(){return!u.getItem(p)}),v):m()})):v()}))},v=function(){u.setItem(p,"1");var t=function(){u.removeItem(p),u.getItem(h)===i&&u.removeItem(h),u.getItem(l)===i&&u.removeItem(l)};e().then((function(e){t(),r(e)})).catch((function(e){t(),n(e)}))};try{if(!Ud(u,!0))throw new Error("localStorage support check failed");m()}catch(e){n(e)}}),this))};var bg=function(e){this.storage=e||qd()};bg.prototype.init=function(){return this.storage?Zf.resolve():Zf.reject(new Error("localStorage is not available"))},bg.prototype.isInitialized=function(){return!0},bg.prototype.setItem=function(e,t){return new Zf(Ad.bind((function(r,n){try{this.storage.setItem(e,Xd(t))}catch(e){n(e)}r()}),this))},bg.prototype.getItem=function(e){return new Zf(Ad.bind((function(t,r){var n;try{n=Qd(this.storage.getItem(e))}catch(e){r(e)}t(n)}),this))},bg.prototype.removeItem=function(e){return new Zf(Ad.bind((function(t,r){try{this.storage.removeItem(e)}catch(e){r(e)}t()}),this))};var wg=Td("batch"),kg=function(e,t){var r,n,i,o;t=t||{},this.storageKey=e,this.usePersistence=t.usePersistence,this.usePersistence&&(this.queueStorage=t.queueStorage||new bg,this.lock=new _g(e,{storage:t.sharedLockStorage,timeoutMS:t.sharedLockTimeoutMS})),this.reportError=t.errorReporter||Ad.bind(wg.error,wg),this.pid=t.pid||null,this.memQueue=[],this.initialized=!1,t.enqueueThrottleMs?this.enqueuePersisted=(r=Ad.bind(this._enqueuePersisted,this),n=t.enqueueThrottleMs,i=null,o=[],function(e){var t=this;return o.push(e),i||(i=new Zf((function(e){setTimeout((function(){var n=r.apply(t,[o]);i=null,o=[],e(n)}),n)}))),i}):this.enqueuePersisted=Ad.bind((function(e){return this._enqueuePersisted([e])}),this)};kg.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?Zf.resolve():this.queueStorage.init().then(Ad.bind((function(){this.initialized=!0}),this)).catch(Ad.bind((function(e){this.reportError("Error initializing queue persistence. Disabling persistence",e),this.initialized=!0,this.usePersistence=!1}),this))},kg.prototype.enqueue=function(e,t){var r={id:Wd(),flushAfter:(new Date).getTime()+2*t,payload:e};return this.usePersistence?this.enqueuePersisted(r):(this.memQueue.push(r),Zf.resolve(!0))},kg.prototype._enqueuePersisted=function(e){var t=Ad.bind((function(){return this.ensureInit().then(Ad.bind((function(){return this.readFromStorage()}),this)).then(Ad.bind((function(t){return this.saveToStorage(t.concat(e))}),this)).then(Ad.bind((function(t){return t&&(this.memQueue=this.memQueue.concat(e)),t}),this)).catch(Ad.bind((function(t){return this.reportError("Error enqueueing items",t,e),!1}),this))}),this);return this.lock.withLock(t,this.pid).catch(Ad.bind((function(e){return this.reportError("Error acquiring storage lock",e),!1}),this))},kg.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);return this.usePersistence&&t.length<e?this.ensureInit().then(Ad.bind((function(){return this.readFromStorage()}),this)).then(Ad.bind((function(r){if(r.length){var n={};Ad.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)):Zf.resolve(t)};var Sg=function(e,t){var r=[];return Ad.each(e,(function(e){e.id&&!t[e.id]&&r.push(e)})),r};kg.prototype.removeItemsByID=function(e){var t={};if(Ad.each(e,(function(e){t[e]=!0})),this.memQueue=Sg(this.memQueue,t),this.usePersistence){var r=Ad.bind((function(){return this.ensureInit().then(Ad.bind((function(){return this.readFromStorage()}),this)).then(Ad.bind((function(e){return e=Sg(e,t),this.saveToStorage(e)}
1),this)).then(Ad.bind((function(){return this.readFromStorage()}),this)).then(Ad.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(Ad.bind((function(t){return this.reportError("Error removing items",t,e),!1}),this))}),this);return this.lock.withLock(r,this.pid).catch(Ad.bind((function(e){return this.reportError("Error acquiring storage lock",e),!Ud(this.lock.storage,!0)&&r().then(Ad.bind((function(e){return e||this.queueStorage.removeItem(this.storageKey).then((function(){return e}))}),this)).catch(Ad.bind((function(e){return this.reportError("Error clearing queue",e),!1}),this))}),this))}return Zf.resolve(!0)};var Cg=function(e,t){var r=[];return Ad.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};kg.prototype.updatePayloads=function(e){return this.memQueue=Cg(this.memQueue,e),this.usePersistence?this.lock.withLock(Ad.bind((function(){return this.ensureInit().then(Ad.bind((function(){return this.readFromStorage()}),this)).then(Ad.bind((function(t){return t=Cg(t,e),this.saveToStorage(t)}),this)).catch(Ad.bind((function(t){return this.reportError("Error updating items",e,t),!1}),this))}),this),this.pid).catch(Ad.bind((function(e){return this.reportError("Error acquiring storage lock",e),!1}),this)):Zf.resolve(!0)},kg.prototype.readFromStorage=function(){return this.ensureInit().then(Ad.bind((function(){return this.queueStorage.getItem(this.storageKey)}),this)).then(Ad.bind((function(e){return e&&(Ad.isArray(e)||(this.reportError("Invalid storage entry:",e),e=null)),e||[]}),this)).catch(Ad.bind((function(e){return this.reportError("Error retrieving queue",e),[]}),this))},kg.prototype.saveToStorage=function(e){return this.ensureInit().then(Ad.bind((function(){return this.queueStorage.setItem(this.storageKey,e)}),this)).then((function(){return!0})).catch(Ad.bind((function(e){return this.reportError("Error saving queue",e),!1}),this))},kg.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(Ad.bind((function(){return this.queueStorage.removeItem(this.storageKey)}),this)):Zf.resolve()};var xg=Td("batch"),Ig=function(e,t){this.errorReporter=t.errorReporter,this.queue=new kg(e,{errorReporter:Ad.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};Ig.prototype.enqueue=function(e){return this.queue.enqueue(e,this.flushInterval)},Ig.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},Ig.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},Ig.prototype.clear=function(){return this.queue.clear()},Ig.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},Ig.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},Ig.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(Ad.bind((function(){this.stopped||(this._flushPromise=this.flush())}),this),this.flushInterval))},Ig.prototype.sendRequestPromise=function(e,t){return new Zf(Ad.bind((function(r){this.sendRequest(e,t,r)}),this))},Ig.prototype.flush=function(e){if(this.requestInProgress)return xg.log("Flush: Request already in progress"),Zf.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(Ad.bind((function(o){var a=o.length===i,c=[],u={};if(Ad.each(o,(function(e){var t=e.payload;if(this.beforeSendHook&&!e.orphaned&&(t=this.beforeSendHook(t)),t){t.event&&t.properties&&(t.properties=Ad.extend({},t.properties,{mp_sent_by_lib_version:s.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&&c.push(t)}u[e.id]=t}),this),c.length<1)return this.requestInProgress=!1,this.resetFlush(),Zf.resolve();var l=Ad.bind((function(){return this.queue.removeItemsByID(Ad.map(o,(function(e){return e.id}))).then(Ad.bind((function(e){return Ad.each(o,Ad.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&&!a?(this.resetFlush(),Zf.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),Zf.resolve())}),this))}),this),h=Ad.bind((function(s){this.requestInProgress=!1;try{if(e.unloading)return this.queue.updatePayloads(u);if(Ad.isObject(s)&&"timeout"===s.error&&(new Date).getTime()-r>=t)return this.reportError("Network timeout; retrying"),this.flush();if(Ad.isObject(s)&&(s.httpStatusCode>=500||429===s.httpStatusCode||s.httpStatusCode<=0&&(h=n.navigator.onLine,!Ad.isUndefined(h)&&!h)||"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),Zf.resolve()}if(Ad.isObject(s)&&413===s.httpStatusCode){if(o.length>1){var c=Math.max(1,Math.floor(i/2));return this.batchSize=Math.min(this.batchSize,c,o.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),Zf.resolve()}return this.reportError("Single-event request too large; dropping",o),this.resetBatchSize(),l()}return l()}catch(e){this.reportError("Error handling API response",e),this.resetFlush()}var h}),this),p={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:t};return e.unloading&&(p.transport="sendBeacon"),xg.log("MIXPANEL REQUEST:",c),this.sendRequestPromise(c,p).then(h)}),this)).catch(Ad.bind((function(e){this.reportError("Error flushing request queue",e),this.resetFlush()}),this))},Ig.prototype.reportError=function(e,t){if(xg.error.apply(xg.error,arguments),this.errorReporter)try{t instanceof Error||(t=new Error(e)),this.errorReporter(e,t)}catch(t){xg.error(t)}};var Og=function(e){var t=Date.now();return!e||t>e.maxExpires||t>e.idleExpires},Eg=function(e,t){if(!Ad.isArray(e))return e&&t.critical("record_allowed_iframe_origins must be an array of origin strings, cross-origin recording will be disabled."),[];for(var r=[],n=0;n<e.length;n++)try{var i=new URL(e[n]).origin;if("null"===i){t.critical(e[n]+" has an opaque origin. Skipping this entry.");continue}r.push(i)}catch(r){t.critical(e[n]+" is not a valid origin URL. Skipping this entry.")}return r},Ag="change",Mg="click",Rg="hashchange",Tg="load",Pg="mp_locationchange",Ng="popstate",Lg="scrollend",Fg="scroll",Dg="submit",Ug="visibilitychange",Bg=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],jg=["mp-include"],qg=["mp-no-track"],zg=qg.concat(["mp-sensitive"]),Hg=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],Vg={button:!0,checkbox:!0,combobox:!0,grid:!0,link:!0,listbox:!0,menu:!0,menubar:!0,menuitem:!0,menuitemcheckbox:!0,menuitemradio:!0,navigation:!0,option:!0,radio:!0,radiogroup:!0,searchbox:!0,slider:!0,spinbutton:!0,switch:!0,tab:!0,tablist:!0,textbox:!0,tree:!0,treegrid:!0,treeitem:!0},Wg={base:!0,head:!0,html:!0,link:!0,meta:!0,script:!0,style:!0,title:!0,br:!0,hr:!0,wbr:!0,noscript:!0,picture:!0,source:!0,template:!0,track:!0},$g={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},Gg=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],Jg=Td("autocapture");function Yg(e){for(var t={},r=Kg(e).split(" "),n=0;n<r.length;n++){var i=r[n];i&&(t[i]=!0)}return t}function Kg(e){switch(typeof e.className){case"string":return e.className;case"object":return e.className.baseVal||e.getAttribute("class")||"";default:return""}}function Zg(e){if(e.previousElementSibling)return e.previousElementSibling;do{e=e.previousSibling}while(e&&!nm(e));return e}function Xg(e,t,r,n,i,o){var s={$classes:Kg(e).split(" "),$tag_name:e.tagName.toLowerCase()},a=e.id;a&&(s.$id=a),am(e,t,i,o)&&Ad.each(Hg.concat(n),(function(t){if(e.hasAttribute(t)&&!r[t]){var n=e.getAttribute(t);cm(n)&&(s["$attr-"+t]=n)}}));for(var c=1,u=1,l=e;l=Zg(l);)c++,l.tagName===e.tagName&&u++;return s.$nth_child=c,s.$nth_of_type=u,s}function Qg(e,t){var r=t.allowElementCallback,i=t.allowSelectors||[],o=t.blockAttrs||[],s=t.blockElementCallback,a=t.blockSelectors||[],c=t.captureTextContent||!1,u=t.captureExtraAttrs||[],l=t.captured
1ForHeatMap||!1,h={};Ad.each(o,(function(e){h[e]=!0}));var p=null,f=void 0===e.target?e.srcElement:e.target;if(om(f)&&(f=f.parentNode),function(e,t){if(!e||im(e,"html")||!nm(e))return!1;switch(e.tagName.toLowerCase()){case"form":return t.type===Dg;case"input":return-1===["button","submit"].indexOf(e.getAttribute("type"))?t.type===Ag:t.type===Mg;case"select":case"textarea":return t.type===Ag;default:return t.type===Mg}}(f,e)&&tm(f,e,r,i)&&!rm(f,e,s,a)){for(var d=[f],g=f;g.parentNode&&!im(g,"body");)d.push(g.parentNode),g=g.parentNode;var m,v=[],y=!1;if(Ad.each(d,(function(t){var n=am(t,e,r,i);h.href||"a"!==t.tagName.toLowerCase()||(m=t.getAttribute("href"),m=n&&cm(m)&&m),rm(t,e,s,a)&&(y=!0),v.push(Xg(t,e,h,u,r,i))}),this),!y){var _=_d.documentElement;if(p={$event_type:e.type,$host:n.location.host,$pathname:n.location.pathname,$elements:v,$el_attr__href:m,$viewportHeight:Math.max(_.clientHeight,n.innerHeight||0),$viewportWidth:Math.max(_.clientWidth,n.innerWidth||0),$pageHeight:_d.body.offsetHeight||0,$pageWidth:_d.body.offsetWidth||0},Ad.each(u,(function(e){if(!h[e]&&f.hasAttribute(e)){var t=f.getAttribute(e);cm(t)&&(p["$el_attr__"+e]=t)}})),c&&(b=em(f,e,r,i))&&b.length&&(p.$el_text=b),e.type===Mg&&(Ad.each(Bg,(function(t){t in e&&(p["$"+t]=e[t])})),l&&(p.$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(im(i,"a")||im(i,"button")||im(i,"input")||im(i,"select")||i.getAttribute&&"button"===i.getAttribute("role")){t=i;break}if(i===t)break}return t}(e)),c){var b=em(f,e,r,i);b&&b.length&&(p.$el_text=b)}if(f){if(!tm(f,e,r,i)||rm(f,e,s,a))return null;var w=Xg(f,e,h,u,r,i);p.$target=w,p.$el_classes=w.$classes,Ad.extend(p,Ad.strip_empty_properties({$el_id:w.$id,$el_tag_name:w.$tag_name}))}}}return p}function em(e,t,r,n){var i="";return am(e,t,r,n)&&e.childNodes&&e.childNodes.length&&Ad.each(e.childNodes,(function(e){om(e)&&e.textContent&&(i+=Ad.trim(e.textContent).split(/(\s+)/).filter(cm).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))})),Ad.trim(i)}function tm(e,t,r,n){if(r)try{if(!r(e,t))return!1}catch(e){return Jg.critical("Error while checking element in allowElementCallback",e),!1}if(!n.length)return!0;for(var i=0;i<n.length;i++){var o=n[i];try{if(e.matches(o))return!0}catch(e){Jg.critical("Error while checking selector: "+o,e)}}return!1}function rm(e,t,r,n){var i;if(r)try{if(r(e,t))return!0}catch(e){return Jg.critical("Error while checking element in blockElementCallback",e),!0}if(n&&n.length)for(i=0;i<n.length;i++){var o=n[i];try{if(e.matches(o))return!0}catch(e){Jg.critical("Error while checking selector: "+o,e)}}var s=Yg(e);for(i=0;i<qg.length;i++)if(s[qg[i]])return!0;return!1}function nm(e){return e&&1===e.nodeType}function im(e,t){return e&&e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function om(e){return e&&3===e.nodeType}function sm(e){var t=(e.name||e.id||"").toString().toLowerCase();if("string"==typeof t){if(/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(t.replace(/[^a-zA-Z0-9]/g,"")))return!0}return!1}function am(e,t,r,n){var i;if(!tm(e,t,r,n))return!1;for(var o=e;o.parentNode&&!im(o,"body");o=o.parentNode){var s=Yg(o);for(i=0;i<zg.length;i++)if(s[zg[i]])return!1}var a=Yg(e);for(i=0;i<jg.length;i++)if(a[jg[i]])return!0;if(im(e,"input")||im(e,"select")||im(e,"textarea")||"true"===e.getAttribute("contenteditable"))return!1;var c=e.type||"";if("string"==typeof c)switch(c.toLowerCase()){case"hidden":case"password":return!1}return!sm(e)}function cm(e){if(null===e||Ad.isUndefined(e))return!1;if("string"==typeof e){e=Ad.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}function um(e){var t="onscrollend"in n,r=Pd(e),i=Lg;if(!t){var o=null;r=Pd((function(){clearTimeout(o),o=setTimeout(e,100)})),i=Fg}return{listener:r,eventType:i}}function lm(e){var t=e.tagName.toLowerCase();return"button"===t||"input"===t||"select"===t||"textarea"===t||"details"===t||"dialog"===t||(!!e.isContentEditable||(!!(e.oncl
1ick||e.onmousedown||e.onmouseup||e.ontouchstart||e.ontouchend)||(!!function(e){for(var t=0;t<Gg.length;t++)if(e.hasAttribute(Gg[t]))return!0;return!1}(e)||(!!function(e){var t=e.getAttribute("role");if(!t)return!1;var r=t.trim().split(/\s+/)[0].toLowerCase();return Vg[r]}(e)||(!("a"!==t||!e.hasAttribute("href"))||!!e.hasAttribute("tabindex"))))))}function hm(e){if(!e||!e.tagName)return!0;var t=e.tagName.toLowerCase();if(Wg[t])return!0;if(lm(e))return!1;for(var r=e.parentElement,n=0;r&&n<5;){if(lm(r))return!1;if(r.getRootNode&&r.getRootNode()!==_d){var i=r.getRootNode();if(i.host&&lm(i.host))return!1}r=r.parentElement,n++}return!!$g[t]}function pm(e){return"composedPath"in e?e.composedPath():[]}function fm(e){var t=pm(e);return t&&t.length>0?t[0]:e.target||e.srcElement}var dm=".mp-mask, .fs-mask, .amp-mask, .rr-mask, .ph-mask",gm=["password","email","tel","hidden"];function mm(e){return e?Array.isArray(e)?e:[e]:[]}function vm(e,t){return!!t&&!!e.closest(t)}function ym(e,t){var r=(e.getAttribute("type")||"").toLowerCase();if(-1!==gm.indexOf(r))return!0;var n=(e.getAttribute("autocomplete")||"").toLowerCase();return!(!n||""===n||"off"===n)||(!!e.hasAttribute("data-rr-is-password")||(!!sm(e)||(t.input.maskAll?!vm(e,t.input.unmaskingSelector):!!vm(e,t.input.maskingSelector)||!!vm(e,dm))))}function _m(e,t){return!!e&&(!(!t.text._legacyClassRegex||!Bu(e,t.text._legacyClassRegex))||(t.text.maskAll?!vm(e,t.text.unmaskingSelector):!!vm(e,t.text.maskingSelector)||!!vm(e,dm)))}var bm=Td("network-plugin");function wm(e){return Math.round(Date.now()-e.performance.now())}var km={initiatorTypes:["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],ignoreRequestFn:function(){return!1},recordHeaders:{request:[],response:[]},recordBodyUrls:{request:[],response:[]},recordInitialRequests:!1};function Sm(e){return"resource"===e.entryType}function Cm(e,t,r){if(!(t in e)||"function"!=typeof e[t])return function(){};var n=e[t],i=r(n);return e[t]=i,function(){e[t]=n}}var xm=1048576;function Im(e){return e&&"string"==typeof e&&e.length>xm?(bm.error("Body truncated from "+e.length+" to "+xm+" characters"),e.substring(0,xm)+"... [truncated]"):e}function Om(e,t,r){return!(!t[e]||0===t[e].length)&&t[e].includes(r.toLowerCase())}function Em(e,t,r){return!(!t[e]||0===t[e].length)&&Zd(r,t[e])}function Am(e){if(null==e)return null;var t;if("string"==typeof e)t=e;else if(e instanceof Document)t=e.textContent;else if(e instanceof FormData)t=Ad.HTTPBuildQuery(e);else{if(!Ad.isObject(e))return"Cannot read body of type "+typeof e;try{t=JSON.stringify(e)}catch(e){return"Failed to stringify response object"}}return Im(t)}function Mm(e){return new Promise((function(t){var r=setTimeout((function(){t("Timeout while trying to read body")}),500);try{e.clone().text().then((function(e){clearTimeout(r),t(Im(e))}),(function(e){clearTimeout(r),t("Failed to read body: "+String(e))}))}catch(e){clearTimeout(r),t("Failed to read body: "+String(e))}}))}function Rm(e,t,r,n,i,o){if(void 0===o&&(o=0),o>10)return bm.error("Cannot find performance entry"),Promise.resolve(null);var s=function(e,t){for(var r=e.length-1;r>=0;r-=1)if(t(e[r]))return e[r]}(e.performance.getEntriesByName(r),(function(e){return Sm(e)&&e.initiatorType===t&&(!n||e.startTime>=n)&&(!i||e.startTime<=i)}));return s?Promise.resolve(s):new Promise((function(e){setTimeout(e,50*o)})).then((function(){return Rm(e,t,r,n,i,o+1)}))}function Tm(e,t,r){if(!("performance"in t))return function(){};var n=Object.assign({},km.recordHeaders,r.recordHeaders||{}),i=Object.assign({},km.recordBodyUrls,r.recordBodyUrls||{});r=Object.assign({},r,{recordHeaders:n,recordBodyUrls:i});var o=Object.assign({},km,r),s=function(t){var r=t.requests.filter((function(e){return!Zd(e.url,o.ignoreRequestUrls||[])&&!o.ignoreRequestFn(e)}));(r.length>0||t.isInitial)&&e(Object.assign({},t,{requests:r}))},a=function(e,t,r){if(!t.PerformanceObserver)return bm.error("PerformanceObserver not supported"),function(){};if(r.recordInitialRequests){var n=t.performance.getEntries().filter((function(e){return function(e){return"navigation"===e.entryType}(e)||Sm(e)&&r.initiatorTypes.includes(e.initiatorType)}));e({requests:n.map((function(e){return{url:e.name,initiatorType:e.initiatorType,status:"responseStatus"in e?e.responseStatus:void 0,startTime:Math.round(e.startTime),endTime:Math.round(e.responseEnd),timeOrigin:wm(t)}})),isInitial:!0})}var i=new t.PerformanceObserver((function(n){var i=n.getEntries().filter((function(e){return Sm(e)&&r.initiatorTypes.includes(e.initiatorType)&&"xmlhttprequest"!==e.initiatorType&&"fetch"!==e.initiatorType}));e({requests:i.map((function(e){return{url:e.name,initiatorType:e.initiatorType,status:"responseStatus"in e?e.responseStatus:void 0,startTime:Math.round(e.startTime),endTime:Math.round(e.responseEnd),timeOrigin:wm(t)}}))})}));return i.observe({entryTypes:["navigation","resource"]}),function(){i.disconnect()}}(s,t,o),c=function(e,t,r){if(!r.initiatorTypes.includes("xmlhttprequest"))return function(){};var n=Cm(t.XMLHttpRequest.prototype,"open",(function(n){return function(i,o,s,a,c){void 0===s&&(s=!0);
1var u,l,h=this,p=new Request(o,{method:i}),f={},d={},g=h.setRequestHeader.bind(h);h.setRequestHeader=function(e,t){return Om("request",r.recordHeaders,e)&&(d[e]=t),g(e,t)},f.requestHeaders=d;var m=h.send.bind(h);h.send=function(e){return Em("request",r.recordBodyUrls,p.url)&&(f.requestBody=Am(e)),u=t.performance.now(),m(e)},h.addEventListener("readystatechange",(function(){if(h.readyState===h.DONE){l=t.performance.now();var n={},i=h.getAllResponseHeaders();i&&i.trim().split(/[\r\n]+/).forEach((function(e){if(e){var t=e.indexOf(": ");if(-1!==t){var i=e.substring(0,t),o=e.substring(t+2);i&&Om("response",r.recordHeaders,i)&&(n[i]=o)}}})),f.responseHeaders=n,Em("response",r.recordBodyUrls,p.url)&&(f.responseBody=Am(h.response)),Rm(t,"xmlhttprequest",p.url,u,l).then((function(r){if(r){var n={url:r.name,method:p.method,initiatorType:r.initiatorType,status:h.status,startTime:Math.round(r.startTime),endTime:Math.round(r.responseEnd),timeOrigin:wm(t),requestHeaders:f.requestHeaders,requestBody:f.requestBody,responseHeaders:f.responseHeaders,responseBody:f.responseBody};e({requests:[n]})}else bm.error("Failed to get performance entry for XHR request to "+p.url)})).catch((function(e){bm.error("Error recording XHR request to "+p.url+": "+String(e))}))}})),n.call(h,i,o,s,a,c)}}));return function(){n()}}(s,t,o),u=function(e,t,r){if(!r.initiatorTypes.includes("fetch"))return function(){};var n=Cm(t,"fetch",(function(n){return function(){var i,o,s,a,c=new Request(arguments[0],arguments[1]),u={},l=Promise.resolve(void 0),h=Promise.resolve(void 0);try{var p={};c.headers.forEach((function(e,t){Om("request",r.recordHeaders,t)&&(p[t]=e)})),u.requestHeaders=p,Em("request",r.recordBodyUrls,c.url)&&(l=Mm(c).then((function(e){u.requestBody=e}))),o=t.performance.now(),a=n.apply(t,arguments).then((function(e){i=e,s=t.performance.now();var n={};return i.headers.forEach((function(e,t){Om("response",r.recordHeaders,t)&&(n[t]=e)})),u.responseHeaders=n,Em("response",r.recordBodyUrls,c.url)&&(h=Mm(i).then((function(e){u.responseBody=e}))),i}))}catch(e){a=Promise.reject(e)}return Promise.all([l,h,a]).then((function(){return Rm(t,"fetch",c.url,o,s)})).then((function(r){if(r){var n={url:r.name,method:c.method,initiatorType:r.initiatorType,status:i?i.status:void 0,startTime:Math.round(r.startTime),endTime:Math.round(r.responseEnd),timeOrigin:wm(t),requestHeaders:u.requestHeaders,requestBody:u.requestBody,responseHeaders:u.responseHeaders,responseBody:u.responseBody};e({requests:[n]})}else bm.error("Failed to get performance entry for fetch request to "+c.url)})).catch((function(e){bm.error("Error recording fetch request to "+c.url+": "+String(e))})),a}}));return function(){n()}}(s,t,o);return function(){a(),c(),u()}}var Pm=Td("recorder"),Nm=n.CompressionStream,Lm={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},Fm=new Set([xc.MouseMove,xc.MouseInteraction,xc.Scroll,xc.ViewportResize,xc.Input,xc.TouchMove,xc.MediaInteraction,xc.Drag,xc.Selection]);var Dm=function(e){this._mixpanel=e.mixpanelInstance,this._onIdleTimeout=e.onIdleTimeout||Kd,this._onMaxLengthReached=e.onMaxLengthReached||Kd,this._onBatchSent=e.onBatchSent||Kd,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.lastEventTimestamp=e.lastEventTimestamp||null,this.seqNo=e.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=ud,this.recordMinMs=0,this._recordMinMsCheckStart=null;var t=Ud(e.sharedLockStorage||qd(),!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new eg(tg,rg,ig),this.batcher=new Ig(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:Lm,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:e.sharedLockStorage,usePersistence:t,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:250,sharedLockTimeoutMS:1e4})};Dm.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var e={distinct_id:String(this._mixpanel.get_distinct_id())},t=this._mixpanel.get_property("$device_id");t&&(e.$device_id=t);var r=this._mixpanel.get_property("$user_id");return r&&(e.$user_id=r),e},Dm.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init(
1).catch(function(){this.reportError("Error initializing IndexedDB storage for unloading persisted data.")}.bind(this)).then(function(){return this.getDurationMs()<this._getRecordMinMs()?this.queueStorage.removeItem(this.batcherKey):this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))}.bind(this))},Dm.prototype.getConfig=function(e){return this._mixpanel.get_config(e)},Dm.prototype.get_config=function(e){return this.getConfig(e)},Dm.prototype.startRecording=function(e){if(null!==this._rrwebRecord)if(null===this._stopRecording){this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>ud&&(this.recordMaxMs=ud,Pm.critical("record_max_ms cannot be greater than "+ud+"ms. Capping value.")),this.maxExpires||(this.maxExpires=(new Date).getTime()+this.recordMaxMs),this.recordMinMs=this._getRecordMinMs(),this.replayStartTime||(this.replayStartTime=(new Date).getTime(),this.batchStartUrl=Ad.info.currentUrl(),this.replayStartUrl=Ad.info.currentUrl()),e||this.recordMinMs>0?(this.batcher.stop(),this._recordMinMsCheckStart=null):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);var n=function(e){var t={input:{maskingSelector:"",unmaskingSelector:"",maskAll:!0},text:{maskingSelector:"",unmaskingSelector:"",maskAll:!0}},r=e.get_config("record_mask_input_selector"),n=e.get_config("record_unmask_input_selector"),i=e.get_config("record_mask_all_inputs");t.input.maskingSelector=mm(r).join(","),t.input.unmaskingSelector=mm(n).join(","),void 0!==i&&(t.input.maskAll=i);var o=e.get_config("record_mask_text_selector"),s=e.get_config("record_unmask_text_selector"),a=e.get_config("record_mask_all_text"),c=e.get_config("record_mask_text_class"),u=mm(o);if(c)if(c instanceof RegExp)t.text._legacyClassRegex=c;else{var l="."+c;-1===u.indexOf(l)&&u.push(l)}return t.text.maskingSelector=u.join(","),t.text.unmaskingSelector=mm(s).join(","),void 0===a&&void 0!==o?t.text.maskAll=!1:void 0!==a&&(t.text.maskAll=a),t}(this._mixpanel),i=[];if(this.getConfig("record_network")){var o=this.getConfig("record_network_options")||{},s=(o.ignoreRequestUrls||[]).slice();s.push(this._getApiRoute()),o.ignoreRequestUrls=s,i.push(function(e){return{name:"rrweb/[email protected]",observer:Tm,options:e}}(o))}this.getConfig("record_console")&&i.push(function(e){return{name:"rrweb/console@1",observer:Nf,options:e}}({stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}}));var a=Eg(this.getConfig("record_allowed_iframe_origins"),Pm);try{this._stopRecording=this._rrwebRecord({emit:function(e){this.idleExpires&&this.idleExpires<e.timestamp?this._onIdleTimeout():(null===this._recordMinMsCheckStart&&(this._recordMinMsCheckStart=e.timestamp),function(e){return e.type===Cc.IncrementalSnapshot&&Fm.has(e.data.source)}(e)&&(this.batcher.stopped&&e.timestamp-this._recordMinMsCheckStart>=this.recordMinMs&&this.batcher.start(),t()),this.__enqueuePromise=this.batcher.enqueue(e),(null===this.lastEventTimestamp||e.timestamp>this.lastEventTimestamp)&&(this.lastEventTimestamp=e.timestamp))}.bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:r,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextSelector:"*",maskInputFn:this._getMaskFn(ym,n),maskTextFn:this._getMaskFn(_m,n),recordCrossOriginIframes:a.length>0,allowedIframeOrigins:a,recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15},plugins:i})}catch(e){this.reportError("Unexpected error when starting rrweb recording.",e)}if("function"!=typeof this._stopRecording)return this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,void this.stopRecording();var c=this.maxExpires-(new Date).getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),c)}else Pm.log("Recording already in progress, skipping startRecording.");else this.reportError("rrweb record function not provided. ")},Dm.prototype.stopRecording=function(e){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(e){this.reportError("Error with rrweb stopRecording",e)}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},Dm.prototype.isRrwebStopped=function(){return null===this._stopRecording},Dm.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)},Dm.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,lastEventTimestamp:this.lastEventTimestamp,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:e}},Dm.deserialize=function(e,t){return new Dm(Ad.extend({},t,{replayId:e.replayId,batchStartUrl:e.batchStartUrl,replayStartUrl:e.replayStartUrl,idleExpires:e.idleExpires,maxExpires:e.maxExpires,replayStartTime:e.replayStartTime,lastEventTimestamp:e.lastEventTimestamp,seqNo:e.seqNo,sharedLockStorage:t.sharedLockStorage}))},Dm.prototype._getApiRoute=function(){return this.getConfig("api_routes").record},Dm.prototype._sendRequest=function(e,t,r,i){var o=function(t,r){200===t.status&&this.replayId===e&&(this.seqNo++,this.batchStartUrl=Ad.info.currentUrl()),this._onBatchSent(),i({status:0,httpStatusCode:t.status,responseBody:r,retryAfter:t.headers.get("Retry-After")})}.bind(this),s=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");n.fetch(s+"/"+this._getApiRoute()+"?"+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})}))},Dm.prototype._flushEvents=ug((function(e,t,r){var i=e.length;if(i>0){for(var o=this.replayId,a=1/0,c=-1/0,u=!1,l=0;l<i;l++)a=Math.min(a,e[l].timestamp),c=Math.max(c,e[l].timestamp),e[l].type===Cc.FullSnapshot&&(u=!0);if(0===this.seqNo){if(!u)return r({error:"First batch does not contain a full snapshot. Aborting recording."}),void this.stopRecording(!0);this.replayStartTime=a}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=a);var h=c-this.replayStartTime,p={$current_url:this.batchStartUrl,$lib_version:s.LIB_VERSION,batch_start_time:a/1e3,mp_lib:"web",replay_id:o,replay_length_ms:h,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},f=JSON.stringify(e);if(Object.assign(p,this.getUserIdInfo()),function(e,t,r){if(!n.CompressionStream)return!1;var i=Ad.info.browser(e,t,r),o=Ad.info.browserVersion(e,t,r);return!(("Safari"===i||"Mobile Safari"===i)&&o>=16.4&&o<16.6)}(kd,yd.vendor,bd)){var d=new Blob([f],{type:"application/json"}).stream().pipeThrough(new Nm("gzip"));new Response(d).blob().then(function(e){p.format="gzip",this._sendRequest(o,p,e,r)}.bind(this))}else p.format="body",this._sendRequest(o,p,f,r)}})),Dm.prototype.reportError=function(e,t){Pm.error.apply(Pm.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.getConfig("error_reporter")(e,t)}catch(t){Pm.error(t)}},Dm.prototype.getDurationMs=function(){return null===this.replayStartTime?0:null===this.lastEventTimestamp?(new Date).getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime},Dm.prototype._getRecordMinMs=function(){var e=this.getConfig("record_min_ms");return e>ld?(Pm.critical("record_min_ms cannot be greater than 8000ms. Capping value."),ld):e},Dm.prototype._getMaskFn=function(e,t){return function(r,n){if(!r.trim().length)return"";var i=!0;try{i=e(n,t)}catch(e){this.reportError("Error checking if text should be masked, defaulting to masked",e)}if(i){var o=Math.min(r.length,1e4);return"*".repeat(o)}return r}.bind(this)};
1var Um=function(e){this.idb=new eg(tg,ng,ig),this.errorReporter=e.errorReporter,this.mixpanelInstance=e.mixpanelInstance,this.sharedLockStorage=e.sharedLockStorage};Um.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")},Um.prototype.handleError=function(e){this.errorReporter("IndexedDB error: ",e)},Um.prototype.setActiveRecording=function(e){if(!this.isPersistenceEnabled())return Zf.resolve();var t=e.tabId;return t?this.idb.init().then(function(){return this.idb.setItem(t,e)}.bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),Zf.resolve())},Um.prototype.getActiveRecording=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}.bind(this)).then(function(e){return Og(e)?null:e}.bind(this)).catch(this.handleError.bind(this)):Zf.resolve(null)},Um.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()},Um.prototype.markActiveRecordingExpired=function(){return this.getActiveRecording().then(function(e){if(e)return e.maxExpires=0,this.setActiveRecording(e)}.bind(this)).catch(this.handleError.bind(this))},Um.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):Zf.resolve()},Um.prototype.flushInactiveRecordings=function(){return this.isPersistenceEnabled()?this.idb.init().then(function(){return this.idb.getAll()}.bind(this)).then(function(e){var t=e.filter((function(e){return Og(e)})).map(function(e){return Dm.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 Zf.all(t)}.bind(this)).catch(this.handleError.bind(this)):Zf.resolve([])};var Bm=Td("recorder"),jm=function(e,t,r){this.mixpanelInstance=e,this.rrwebRecord=t||Au,this.sharedLockStorage=r,this.recordingRegistry=new Um({mixpanelInstance:this.mixpanelInstance,errorReporter:Bm.error,sharedLockStorage:r}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};function qm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}jm.prototype.startRecording=function(e){if(e=e||{},!this.activeRecording||this.activeRecording.isRrwebStopped()){var t=function(){Bm.log("Idle timeout reached, restarting recording."),this.resetRecording()}.bind(this),r=function(){Bm.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:Ad.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return e.activeSerializedRecording?this.activeRecording=Dm.deserialize(e.activeSerializedRecording,i):this.activeRecording=new Dm(i),this.activeRecording.startRecording(e.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())}Bm.log("Recording already in progress, skipping startRecording.")},jm.prototype.stopRecording=function(){return this.stopRecordingInProgress=!0,this._stopCurrentRecording(!1,!0).then(function(){return this.recordingRegistry.clearActiveRecording()}.bind(this)).then(function(){this.stopRecordingInProgress=!1}.bind(this))},jm.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)},jm.prototype._stopCurrentRecording=function(e,t){if(this.activeRecording){var r=this.activeRecording.stopRecording(e);return t&&(this.activeRecording=null),r}return Zf.resolve()},jm.prototype.resumeRecording=function(e){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),Zf.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(t){return t&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:t}):e?this.startRecording({shouldStopBatcher:!1}):(Bm.log("No resumable recording found."),null)}.bind(this))},jm.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})},jm.prototype.isRecording=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()},jm.prototype.getActiveReplayId=function(){return this.isRecording()?this.activeRecording.replayId:null},Object.defineProperty(jm.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),n[c]=jm;var zm,Hm={exports:{}};var Vm=(zm||(zm=1,Hm.exports=function(){function e(e){for(var t=[],r=0,n=e.length;r<n;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var t={}
vendor: 4,301 bytes, line 1
1,r={"==":function(e,t){return e==t},"===":function(e,t){return e===t},"!=":function(e,t){return e!=t},"!==":function(e,t){return e!==t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"<":function(e,t,r){return void 0===r?e<t:e<t&&t<r},"<=":function(e,t,r){return void 0===r?e<=t:e<=t&&t<=r},"!!":function(e){return t.truthy(e)},"!":function(e){return!t.truthy(e)},"%":function(e,t){return e%t},log:function(e){return console.log(e),e},in:function(e,t){return!(!t||void 0===t.indexOf)&&-1!==t.indexOf(e)},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(e,t,r){if(r<0){var n=String(e).substr(t);return n.substr(0,n.length+r)}return String(e).substr(t,r)},"+":function(){return Array.prototype.reduce.call(arguments,(function(e,t){return parseFloat(e,10)+parseFloat(t,10)}),0)},"*":function(){return Array.prototype.reduce.call(arguments,(function(e,t){return parseFloat(e,10)*parseFloat(t,10)}))},"-":function(e,t){return void 0===t?-e:e-t},"/":function(e,t){return e/t},min:function(){return Math.min.apply(this,arguments)},max:function(){return Math.max.apply(this,arguments)},merge:function(){return Array.prototype.reduce.call(arguments,(function(e,t){return e.concat(t)}),[])},var:function(e,t){var r=void 0===t?null:t,n=this;if(void 0===e||""===e||null===e)return n;for(var i=String(e).split("."),o=0;o<i.length;o++){if(null==n)return r;if(void 0===(n=n[i[o]]))return r}return n},missing:function(){for(var e=[],r=Array.isArray(arguments[0])?arguments[0]:arguments,n=0;n<r.length;n++){var i=r[n],o=t.apply({var:i},this);null!==o&&""!==o||e.push(i)}return e},missing_some:function(e,r){var n=t.apply({missing:r},this);return r.length-n.length>=e?[]:n}};return t.is_logic=function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&1===Object.keys(e).length},t.truthy=function(e){return!(Array.isArray(e)&&0===e.length||!e)},t.get_operator=function(e){return Object.keys(e)[0]},t.get_values=function(e){return e[t.get_operator(e)]},t.apply=function(e,n){if(Array.isArray(e))return e.map((function(e){return t.apply(e,n)}));if(!t.is_logic(e))return e;var i,o,s,a,c,u=t.get_operator(e),l=e[u];if(Array.isArray(l)||(l=[l]),"if"===u||"?:"==u){for(i=0;i<l.length-1;i+=2)if(t.truthy(t.apply(l[i],n)))return t.apply(l[i+1],n);return l.length===i+1?t.apply(l[i],n):null}if("and"===u){for(i=0;i<l.length;i+=1)if(o=t.apply(l[i],n),!t.truthy(o))return o;return o}if("or"===u){for(i=0;i<l.length;i+=1)if(o=t.apply(l[i],n),t.truthy(o))return o;return o}if("filter"===u)return a=t.apply(l[0],n),s=l[1],Array.isArray(a)?a.filter((function(e){return t.truthy(t.apply(s,e))})):[];if("map"===u)return a=t.apply(l[0],n),s=l[1],Array.isArray(a)?a.map((function(e){return t.apply(s,e)})):[];if("reduce"===u)return a=t.apply(l[0],n),s=l[1],c=void 0!==l[2]?t.apply(l[2],n):null,Array.isArray(a)?a.reduce((function(e,r){return t.apply(s,{current:r,accumulator:e})}),c):c;if("all"===u){if(a=t.apply(l[0],n),s=l[1],!Array.isArray(a)||!a.length)return!1;for(i=0;i<a.length;i+=1)if(!t.truthy(t.apply(s,a[i])))return!1;return!0}if("none"===u){if(a=t.apply(l[0],n),s=l[1],!Array.isArray(a)||!a.length)return!0;for(i=0;i<a.length;i+=1)if(t.truthy(t.apply(s,a[i])))return!1;return!0}if("some"===u){if(a=t.apply(l[0],n),s=l[1],!Array.isArray(a)||!a.length)return!1;for(i=0;i<a.length;i+=1)if(t.truthy(t.apply(s,a[i])))return!0;return!1}if(l=l.map((function(e){return t.apply(e,n)})),r.hasOwnProperty(u)&&"function"==typeof r[u])return r[u].apply(n,l);if(u.indexOf(".")>0){var h=String(u).split("."),p=r;for(i=0;i<h.length;i++){if(!p.hasOwnProperty(h[i]))throw new Error("Unrecognized operation "+u+" (failed at "+h.slice(0,i+1).join(".")+")");p=p[h[i]]}return p.apply(n,l)}throw new Error("Unrecognized operation "+u)},t.uses_data=function(r){var n=[];if(t.is_logic(r)){var i=t.get_operator(r),o=r[i];Array.isArray(o)||(o=[o]),"var"===i?n.push(o[0]):o.forEach((function(e){n.push.apply(n,t.uses_data(e))}))}return e(n)},t.add_operation=function(e,t){r[e]=t},t.rm_operation=function(e){delete r[e]},t.rule_like=function(e,r){if(r===e)return!0;if("@"===r)return!0;if("number"===r)return"number"==typeof e;if("string"===r)return"string"==typeof e;if("array"===r)return Array.isArray(e)&&!t.is_logic(e);if(t.is_logic(r)){if(t.is_logic(e)){var n=t.get_operator(r),i=t.get_operator(e);
1if("@"===n||n===i)return t.rule_like(t.get_values(e,!1),t.get_values(r,!1))}return!1}if(Array.isArray(r)){if(Array.isArray(e)){if(r.length!==e.length)return!1;for(var o=0;o<r.length;o+=1)if(!t.rule_like(e[o],r[o]))return!1;return!0}return!1}return!1},t}()),Hm.exports),Wm=qm(Vm),$m={eventMatchesCriteria:function(e,t,r){if(e!==r.event_name)return{matches:!1};var n=r.property_filters,i=!0;if(n&&!Ad.isEmptyObject(n))try{i=Wm.apply(n,t||{})}catch(e){return{matches:!1,error:e.toString()}}return{matches:i}}};n[a]=Promise.resolve($m);function Gm(){this.clicks=[]}function Jm(e,t){this.changeCallback=e||function(){},this.observerConfig=t,this.observedShadowRoots=null,this.shadowObservers=[]}Gm.prototype.isRageClick=function(e,t){var r=(t=t||{}).threshold_px||30,n=t.timeout_ms||1e3,i=t.click_count||4;if(t.interactive_elements_only||false){var o=fm(e);if(!o||hm(o))return!1}var s=Date.now(),a=e.pageX,c=e.pageY,u=this.clicks[this.clicks.length-1];if(u&&s-u.timestamp<n&&Math.sqrt(Math.pow(a-u.x,2)+Math.pow(c-u.y,2))<r){if(this.clicks.push({x:a,y:c,timestamp:s}),this.clicks.length>=i)return this.clicks=[],!0}else this.clicks=[{x:a,y:c,timestamp:s}];return!1},Jm.prototype.getEventTarget=function(e){if(this.observedShadowRoots)return fm(e)},Jm.prototype.observeFromEvent=function(e){if(this.observedShadowRoots)for(var t=pm(e),r=0;r<t.length;r++){var n=t[r];n&&n.shadowRoot&&this.observeShadowRoot(n.shadowRoot)}},Jm.prototype.observeShadowRoot=function(e){if(this.observedShadowRoots&&!this.observedShadowRoots.has(e)){var t=this;try{this.observedShadowRoots.add(e);var r=new window.MutationObserver((function(){t.changeCallback()}));r.observe(e,this.observerConfig),this.shadowObservers.push(r)}catch(e){Jg.critical("Error while observing shadow root",e)}}},Jm.prototype.start=function(){this.observedShadowRoots||("undefined"!=typeof WeakSet?this.observedShadowRoots=new WeakSet:Jg.critical("Shadow DOM observation unavailable: WeakSet not supported"))},Jm.prototype.stop=function(){if(this.observedShadowRoots){for(var e=0;e<this.shadowObservers.length;e++)try{this.shadowObservers[e].disconnect()}catch(e){Jg.critical("Error while disconnecting shadow DOM observer",e)}this.shadowObservers=[],this.observedShadowRoots=null}};var Ym=[Ag,"input",Dg,"select","toggle"],Km=[Lg],Zm=[Rg],Xm={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function Qm(e){this.eventListeners=[],this.mutationObserver=null,this.shadowDOMObserver=null,this.isTracking=!1,this.lastChangeEventTimestamp=0,this.pendingClicks=[],this.onDeadClickCallback=e,this.processingActive=!1,this.processingTimeout=null}Qm.prototype.addClick=function(e){var t=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(e);return t||(t=e.target||e.srcElement),!(!t||hm(t))&&(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(e),this.pendingClicks.push({element:t,event:e,timestamp:Date.now()}),!0)},Qm.prototype.trackClick=function(e,t){if(!this.isTracking)return!1;var r=this.addClick(e);return r&&this.triggerProcessing(t),r},Qm.prototype.getDeadClicks=function(e){if(0===this.pendingClicks.length)return[];var t=e.timeout_ms,r=Date.now(),n=this.pendingClicks.slice();this.pendingClicks=[];for(var i=[],o=0;o<n.length;o++){var s=n[o];r-s.timestamp>=t?this.hasChangesAfter(s.timestamp)||i.push(s):this.pendingClicks.push(s)}return i},Qm.prototype.hasChangesAfter=function(e){return this.lastChangeEventTimestamp>=e-100},Qm.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()},Qm.prototype.triggerProcessing=function(e){this.processingActive||(this.processingActive=!0,this.processRecursively(e))},Qm.prototype.processRecursively=function(e){if(this.isTracking&&this.onDeadClickCallback){var t=e.timeout_ms,r=this;this.processingTimeout=setTimeout((function(){if(r.processingActive){for(var t=r.getDeadClicks(e),n=0;n<t.length;n++)r.onDeadClickCallback(t[n].event);r.pendingClicks.length>0?r.processRecursively(e):r.processingActive=!1}}),t)}else this.processingActive=!1},Qm.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var e=this;Ym.forEach((function(t){var r=function(){e.recordChangeEvent()};document.addEventListener(t,r,{capture:!0,passive:!0}),e.eventListeners.push({target:document,event:t,handler:r,options:{capture:!0,passive:!0}})})),Zm.forEach((function(t){var r=function(){e.recordChangeEvent()};window.addEventListener(t,r),e.eventListeners.push({target:window,event:t,handler:r})})),Km.forEach((function(t){var r=function(){e.recordChangeEvent()};window.addEventListener(t,r,{passive:!0}),e.eventListeners.push({target:window,event:t,handler:r,options:{passive:!0}})}));var t=function(){e.recordChangeEvent()};if(document.addEventListener("selectionchange",t),e.eventListeners.push({target:document,event:"selectionchange",handler:t}),window.MutationObserver)try{this.mutationObserver=new window.MutationObserver((function(){e.recordChangeEvent()})),this.mutationObserver.observe(document.body||document.documentElement,Xm)}catch(e){Jg.critical("Error while setting up mutation observer",e)}if(window.customElements)try{this.shadowDOMObserver=new Jm((function(){e.recordChangeEvent()}),Xm),this.shadowDOMObserver.start()}catch(e){Jg.critical("Error while setting up shadow DOM observer",e),this.shadowDOMObserver=null}}},Qm.prototype.stopTracking=function(){if(this.isTracking){this.isTracking=!1,this.pendingClicks=[],this.lastChangeEventTimestamp=0,this.processingActive=!1,this.processingTimeout&&(clearTimeout(this.processingTimeout),this.processingTimeout=null);for(var e=0;e<this.eventListeners.length;e++){var t=this.eventListeners[e];try{t.target.removeEventListener(t.event,t.handler,t.options)}catch(e){Jg.critical("Error while removing event listener",e)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(e){Jg.critical("Error while disconnecting mutation observer",e)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(e){Jg.critical("Error while stopping shadow DOM observer",e)}this.shadowDOMObserver=null}}};var ev="autocapture",tv="full-url",rv="allow_selectors",nv="allow_url_regexes",iv="block_attrs",ov="block_element_callback",sv="block_selectors",av="block_url_regexes",cv="capture_extra_attrs",uv="capture_text_content",lv="scroll_capture_all",hv="scroll_depth_percent_checkpoints",pv="click",fv="dead_click",dv="input",gv="pageview",mv="rage_click",vv="scroll",yv="page_leave",_v="submit",bv={};bv[rv]=[],bv[nv]=[],bv[iv]=[],bv[ov]=null,bv[sv]=[],bv[av]=[],bv[cv]=[],bv[uv]=!1,bv[lv]=!1,bv[hv]=[25,50,75,100],bv[pv]=!0,bv[fv]=!0,bv[dv]=!0,bv[gv]=tv,bv[mv]=!0,bv[vv]=!0,bv[yv]=!1,bv[_v]=!0;var wv={$mp_autocapture:!0},kv="$mp_click",Sv="$mp_dead_click",Cv="$mp_rage_click",xv=function(e){this.mp=e,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};xv.prototype.init=function(){!function(){try{return!!_d.createElement("div").matches}catch(e){return!1}}()?Jg.critical("Autocapture unavailable: missing required DOM APIs"):(this.initPageListeners(),this.initPageviewTracking(),this.initClickTracking(),this.initDeadClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking(),this.initRageClickTracking(),this.initPageLeaveTracking())},xv.prototype.getFullConfig=function(){var e=this.mp.get_config(ev);return e?Ad.isObject(e)?Ad.extend({},bv,e):bv:{}},xv.prototype.getConfig=function(e){return this.getFullConfig()[e]},xv.prototype.currentUrlBlocked=function(){var e=Ad.info.currentUrl(),t=this.getConfig(nv)||[];if(t.length)try{return!Zd(e,t)}catch(e){return Jg.critical("Error while checking block URL regexes: ",e),!0}var r=this.getConfig(av)||[];if(!r||!r.length)return!1;try{return Zd(e,r)}catch(e){return Jg.critical("Error while checking block URL regexes: ",e),!0}},xv.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(ev)?this.getConfig(gv):this.mp.get_config("track_pageview")},xv.prototype.trackDomEvent=function(e,t){if(!this.currentUrlBlocked()){var r=this.mp.is_recording_heatmap_data()&&(t===kv&&!this.getConfig(pv)||t===Cv&&!this._getClickTrackingConfig(mv)||t===Sv&&!this._getClickTrackingConfig(fv)),n=Qg(e,{allowElementCallback:this.getConfig("allow_element_callback"),allowSelectors:this.getConfig(rv),blockAttrs:this.getConfig(iv),blockElementCallback:this.getConfig(ov),blockSelectors:this.getConfig(sv),captureExtraAttrs:this.getConfig(cv),captureTextContent:this.getConfig(uv),captured
1ForHeatMap:r});n&&(Ad.extend(n,wv),this.mp.track(t,n))}},xv.prototype.initPageListeners=function(){if(n.removeEventListener(Ng,this.listenerPopstate),n.removeEventListener(Rg,this.listenerHashchange),this.pageviewTrackingConfig()||this.getConfig(yv)||this.mp.get_config("record_heatmap_data")){this.listenerPopstate=function(){n.dispatchEvent(new Event(Pg))},this.listenerHashchange=function(){n.dispatchEvent(new Event(Pg))},n.addEventListener(Ng,this.listenerPopstate),n.addEventListener(Rg,this.listenerHashchange);var e=n.history.pushState;"function"==typeof e&&(n.history.pushState=function(t,r,i){e.call(n.history,t,r,i),n.dispatchEvent(new Event(Pg))});var t=n.history.replaceState;"function"==typeof t&&(n.history.replaceState=function(e,r,i){t.call(n.history,e,r,i),n.dispatchEvent(new Event(Pg))})}},xv.prototype._getClickTrackingConfig=function(e){var t=this.getConfig(e);return t?!0===t?{}:"object"==typeof t?t:{}:null},xv.prototype._trackPageLeave=function(e,t,r){if(!this.hasTrackedScrollSession&&(this.getConfig(yv)||this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var i=Math.max(_d.documentElement.clientHeight,n.innerHeight||0),o=Math.round(Math.max(this.maxScrollViewDepth-i,0)/(r-i)*100),s=Math.round(i/r*100);r<=i&&(o=100,s=100);var a=Ad.extend({$max_scroll_view_depth:this.maxScrollViewDepth,$max_scroll_percentage:o,$fold_line_percentage:s,$scroll_height:r,$event_type:e.type,$current_url:t||Ad.info.currentUrl(),$viewportHeight:i,$viewportWidth:Math.max(_d.documentElement.clientWidth,n.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},wv);this.mp.track("$mp_page_leave",a,{transport:"sendBeacon"})}},xv.prototype._initScrollDepthTracking=function(){if(n.removeEventListener(Fg,this.listenerScrollDepth),n.removeEventListener(Lg,this.listenerScrollDepth),this.mp.get_config("record_heatmap_data")){Jg.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(_d.documentElement.clientHeight,n.innerHeight||0);var e=um(function(){if(!this.currentUrlBlocked()){var e=Math.max(_d.documentElement.clientHeight,n.innerHeight||0)+n.scrollY;e>this.maxScrollViewDepth&&(this.maxScrollViewDepth=e),this.previousScrollHeight=_d.body.scrollHeight}}.bind(this));this.listenerScrollDepth=e.listener,n.addEventListener(e.eventType,this.listenerScrollDepth)}},xv.prototype.initClickTracking=function(){n.removeEventListener(Mg,this.listenerClick,!0),(this.getConfig(pv)||this.mp.get_config("record_heatmap_data"))&&(Jg.log("Initializing click tracking"),this.listenerClick=function(e){(this.getConfig(pv)||this.mp.is_recording_heatmap_data())&&this.trackDomEvent(e,kv)}.bind(this),n.addEventListener(Mg,this.listenerClick,!0))},xv.prototype.initDeadClickTracking=function(){this._getClickTrackingConfig(fv)||this.mp.get_config("record_heatmap_data")?(Jg.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new Qm(function(e){this.trackDomEvent(e,Sv)}.bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=function(e){var t=this._getClickTrackingConfig(fv);if((t||this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var r=t||{};r.timeout_ms||(r.timeout_ms=500),this._deadClickTracker.trackClick(e,r)}}.bind(this),n.addEventListener(Mg,this.listenerDeadClick,!0))):this.stopDeadClickTracking()},xv.prototype.initInputTracking=function(){n.removeEventListener(Ag,this.listenerChange,!0),this.getConfig(dv)&&(Jg.log("Initializing input tracking"),this.listenerChange=function(e){this.getConfig(dv)&&this.trackDomEvent(e,"$mp_input_change")}.bind(this),n.addEventListener(Ag,this.listenerChange,!0))},xv.prototype.initPageviewTracking=function(){if(n.removeEventListener(Pg,this.listenerLocationchange),this.pageviewTrackingConfig()||this.mp.get_config("record_heatmap_data")){Jg.log("Initializing pageview tracking");var e="",t=!1;!this.pageviewTrackingConfig()&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked()||(t=this.mp.track_pageview(wv)),t&&(e=Ad.info.currentUrl()),this.listenerLocationchange=Pd(function(){if(!this.currentUrlBlocked()){var t=Ad.info.currentUrl(),r=!1,n=t.split("#")[0].split("?")[0]!==e.split("#")[0].split("?")[0],i=this.pageviewTrackingConfig();if(!i&&this.mp.is_recording_heatmap_data()&&(i=tv),i===tv?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(wv)&&(e=t),n&&(this.lastScrollCheckpoint=0,Jg.log("Path change: re-initializing scroll depth checkpoints"))}}.bind(this)),n.addEventListener(Pg,this.listenerLocationchange)}},xv.prototype.initRageClickTracking=function(){n.removeEventListener(Mg,this.listenerRageClick,!0),(this._getClickTrackingConfig(mv)||this.mp.get_config("record_heatmap_data"))&&(Jg.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new Gm),this.listenerRageClick=function(e){var t=this._getClickTrackingConfig(mv);(t||this.mp.is_recording_heatmap_data())&&(this.currentUrlBlocked()||this._rageClickTracker.isRageClick(e,t)&&this.trackDomEvent(e,Cv))}.bind(this),n.addEventListener(Mg,this.listenerRageClick,!0))},xv.prototype.initScrollTracking=function(){if(n.removeEventListener(Lg,this.listenerScroll),n.removeEventListener(Fg,this.listenerScroll),this.getConfig(vv)){Jg.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var e=um(function(){if(this.getConfig(vv)&&!this.currentUrlBlocked()){var e=this.getConfig(lv),t=(this.getConfig(hv)||[]).slice().sort((function(e,t){return e-t}
1)),r=n.scrollY,i=Ad.extend({$scroll_top:r},wv);try{var o=_d.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 c=t[a];s>=c&&this.lastScrollCheckpoint<c&&(i.$scroll_checkpoint=c,this.lastScrollCheckpoint=c,e=!0)}}catch(e){Jg.critical("Error while calculating scroll percentage",e)}e&&this.mp.track("$mp_scroll",i)}}.bind(this));this.listenerScroll=e.listener,n.addEventListener(e.eventType,this.listenerScroll)}},xv.prototype.initSubmitTracking=function(){n.removeEventListener(Dg,this.listenerSubmit,!0),this.getConfig(_v)&&(Jg.log("Initializing submit tracking"),this.listenerSubmit=function(e){this.getConfig(_v)&&this.trackDomEvent(e,"$mp_submit")}.bind(this),n.addEventListener(Dg,this.listenerSubmit,!0))},xv.prototype.initPageLeaveTracking=function(){if(_d.removeEventListener(Ug,this.listenerPageLeaveVisibilitychange),n.removeEventListener(Pg,this.listenerPageLeaveLocationchange),n.removeEventListener(Tg,this.listenerPageLoad),this.getConfig(yv)||this.mp.get_config("record_heatmap_data")){Jg.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var e=Ad.info.currentUrl();this.listenerPageLoad=function(){this.previousScrollHeight=_d.body.scrollHeight}.bind(this),n.addEventListener(Tg,this.listenerPageLoad),this.listenerPageLeaveLocationchange=Pd(function(t){if(!this.currentUrlBlocked()){var r=Ad.info.currentUrl();r!==e&&(this._trackPageLeave(t,e,this.previousScrollHeight),e=r,this.maxScrollViewDepth=Math.max(_d.documentElement.clientHeight,n.innerHeight||0),this.previousScrollHeight=_d.body.scrollHeight,this.hasTrackedScrollSession=!1)}}.bind(this)),n.addEventListener(Pg,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=function(t){_d.hidden&&this._trackPageLeave(t,e,this.previousScrollHeight)}.bind(this),_d.addEventListener(Ug,this.listenerPageLeaveVisibilitychange)}},xv.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(n.removeEventListener(Mg,this.listenerDeadClick,!0),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)},Nd(xv);var Iv=function(e,t){return n[a]&&"function"==typeof n[a].then||(n[a]=new Promise((function(r){e(t,r)})).then((function(){var e=n[a];if(e&&"function"==typeof e.then)return e;throw new Error("targeting failed to load")})).catch((function(e){throw delete n[a],e}))),n[a]},Ov=Td("flags"),Ev="mixpanelFlags",Av={version:1,storeNames:[Ev]},Mv=864e5,Rv=Object.freeze({NETWORK_ONLY:"networkOnly",NETWORK_FIRST:"networkFirst",PERSISTENCE_UNTIL_NETWORK_SUCCESS:"persistenceUntilNetworkSuccess"}),Tv=[Rv.NETWORK_ONLY,Rv.NETWORK_FIRST,Rv.PERSISTENCE_UNTIL_NETWORK_SUCCESS],Pv=function(e,t,r){this.idb=new eg("mixpanelFlagsDb",Ev,Av),this.persistenceConfig=e,this.persistedVariantsKey="persisted_variants_for_"+t,this.isGloballyDisabled=r||function(){return!1}};Pv.prototype.getPolicy=function(){return this.isGloballyDisabled()||!this._isConfigValid()?Rv.NETWORK_ONLY:this.persistenceConfig.variantLookupPolicy},Pv.prototype.getTtlMs=function(){if(!this._isConfigValid())return Mv;var e=this.persistenceConfig.persistenceTtlMs;return e??Mv},Pv.prototype._isConfigValid=function(){var e=this.persistenceConfig;return!!e&&(-1===Tv.indexOf(e.variantLookupPolicy)?(Ov.error("Invalid variantLookupPolicy:",e.variantLookupPolicy),!1):!(void 0!==e.persistenceTtlMs&&null!==e.persistenceTtlMs&&e.persistenceTtlMs<=0)||(Ov.error("If provided, persistenceTtlMs must be a positive number. Provided value:",e.persistenceTtlMs),!1))},Pv.prototype.loadFlagsFromStorage=function(e){var t=Ad.bind((function(){return this.clear().then((function(){return null})).catch((function(){return null}))}),this);if(this.getPolicy()===Rv.NETWORK_ONLY)return t();var r=this.getTtlMs();return this.idb.init().then(Ad.bind((function(){return this.idb.getItem(this.persistedVariantsKey)}),this)).then(Ad.bind((function(n){if(!n)return Ov.log("No persisted variants found in IndexedDB"),null;if(r&&Date.now()-n.persistedAt>=r)return Ov.log("Persisted variants are expiring"),null;if(!e||n.distinctId!==e.distinct_id)return Ov.log("Persisted variants found, but for a different distinct_id so clearing."),t();var i=new Map;return Ad.each(n.flagVariants,(function(e,t){i.set(t,{key:e.variant_key,value:e.variant_value,experiment_id:e.experiment_id,is_experiment_active:e.is_experiment_active,is_qa_tester:e.is_qa_tester,variant_source:"persistence",persisted_at_in_ms:n.persistedAt,ttl_in_ms:r})})),Ov.log("Loaded",i.size,"variants from IndexedDB for distinct_id",n.distinctId),{flags:i,pendingFirstTimeEvents:n.pendingFirstTimeEvents||{},persistedAtMs:n.persistedAt,ttlMs:r}}),this)).catch(Ad.bind((function(e){return Ov.error("Failed to load persisted variants from IndexedDB, so clearing",e),t()}),this))},Pv.prototype.save=function(e,t,r){if(this.getPolicy()===Rv.NETWORK_ONLY)return Promise.resolve();var n={};t.forEach((function(e,t){n[t]={variant_key:e.key,variant_value:e.value,experiment_id:e.experiment_id,is_experiment_active:e.is_experiment_active,is_qa_tester:e.is_qa_tester}}));var i={persistedAt:Date.now(),distinctId:e&&e.distinct_id,context:e,flagVariants:n,pendingFirstTimeEvents:r||{}};return this.idb.init().then(Ad.bind((function(){return this.idb.setItem(this.persistedVariantsKey,i)}),this)).then((function(){Ov.log("Saved",t.size,"variants to IndexedDB for distinct_id",i.distinctId)})).catch((function(e){Ov.error("Failed to persist variants to IndexedDB:",e)}))},Pv.prototype.clear=function(){return this.isGloballyDisabled()?Promise.resolve():this.idb.init().then(Ad.bind((function(){return this.idb.removeItem(this.persistedVariantsKey)}),this)).then((function(){Ov.log("Cleared persisted variants from IndexedDB")}
1)).catch((function(e){Ov.error("Failed to clear persisted variants from IndexedDB:",e)}))};var Nv=Td("flags"),Lv="flags",Fv="context",Dv={};Dv[Fv]={};var Uv=function(e){return Ad.isObject(e)?Ad.extend({},e,{variant_source:"fallback"}):{value:e,variant_source:"fallback"}},Bv=function(e){this.fetch=n.fetch,this.getFullApiRoute=e.getFullApiRoute,this.getMpConfig=e.getConfigFunc,this.setMpConfig=e.setConfigFunc,this.getMpProperty=e.getPropertyFunc,this.track=e.trackingFunc,this.loadExtraBundle=e.loadExtraBundle||function(){},this.targetingSrc=e.targetingSrc||""};function jv(e){return null!=e}Bv.prototype.init=function(){if(this.minApisSupported())return this.flags=null,this.trackedFeatures=new Set,this.pendingFirstTimeEvents={},this.activatedFirstTimeEvents={},this._loadedPersistedAtMs=null,this._loadedTtlMs=null,this.persistence=new Pv(this.getConfig("persistence"),this.getMpConfig("token"),Ad.bind((function(){return this.getMpConfig("disable_persistence")}),this)),this.persistenceLoadedPromise=this.persistence.loadFlagsFromStorage(this._buildContext()).then(Ad.bind((function(e){e&&(this.flags=e.flags,this.pendingFirstTimeEvents=e.pendingFirstTimeEvents,this._loadedPersistedAtMs=e.persistedAtMs,this._loadedTtlMs=e.ttlMs)}),this)),this.persistenceLoadedPromise.then(Ad.bind((function(){return this.fetchFlags()}),this)).catch((function(){Nv.error("Error initializing feature flags")}));Nv.critical("Feature Flags unavailable: missing minimum required APIs")},Bv.prototype._buildContext=function(){return Ad.extend({distinct_id:this.getMpProperty("distinct_id"),device_id:this.getMpProperty("$device_id")},this.getConfig(Fv))},Bv.prototype.reset=function(){return this.persistence?(this.flags=null,this.pendingFirstTimeEvents={},this.activatedFirstTimeEvents={},this.trackedFeatures=new Set,this.fetchPromise=null,this._fetchInProgressStartTime=null,this._loadedPersistedAtMs=null,this._loadedTtlMs=null,this.persistence.clear().then(Ad.bind((function(){return this.fetchFlags()}),this)).catch((function(){Nv.error("Error during flags reset")}))):Promise.resolve()},Bv.prototype.getFullConfig=function(){var e=this.getMpConfig(Lv);return e?Ad.isObject(e)?Ad.extend({},Dv,e):Dv:{}},Bv.prototype.getConfig=function(e){return this.getFullConfig()[e]},Bv.prototype.isSystemEnabled=function(){return!!this.getMpConfig(Lv)},Bv.prototype.updateContext=function(e,t){if(!this.isSystemEnabled())return Nv.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var r=this.getMpConfig(Lv);Ad.isObject(r)||(r={});var n=t&&t.replace?{}:this.getConfig(Fv);r[Fv]=Ad.extend({},n,e);var i={};return i[Lv]=r,this.setMpConfig(i),this.fetchFlags().catch((function(){Nv.error("Error fetching flags during updateContext")}))},Bv.prototype.areFlagsReady=function(){return this.isSystemEnabled()||Nv.error("Feature Flags not enabled"),!!this.flags},Bv.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var e=this._buildContext(),t=e.distinct_id,r=$d();Nv.log("Fetching flags for distinct ID: "+t);var i=new URLSearchParams;i.set("context",JSON.stringify(e)),i.set("token",this.getMpConfig("token")),i.set("mp_lib","web"),i.set("$lib_version",s.LIB_VERSION);var o=this.getFullApiRoute()+"?"+i.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(n,o,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:r}}).then(function(e){return this.markFetchComplete(),e.json()}.bind(this)).then(function(t){var n=t.flags;if(!n)throw new Error("No flags in API response");var i=new Map,o={};Ad.each(n,(function(e,t){var r=!1,n=t+":";if(Ad.each(this.activatedFirstTimeEvents,(function(e,t){t.startsWith(n)&&(r=!0)})),r){var o=this.flags&&this.flags.get(t);o&&i.set(t,o)}else i.set(t,{key:e.variant_key,value:e.variant_value,experiment_id:e.experiment_id,is_experiment_active:e.is_experiment_active,is_qa_tester:e.is_qa_tester,variant_source:"network"})}),this);var s=t.pending_first_time_events;s&&s.length>0&&Ad.each(s,(function(e){var t=e.flag_key,r=function(e,t){return e+":"+t}(t,e.first_time_event_hash);this.activatedFirstTimeEvents[r]||(o[r]={flag_key:t,flag_id:e.flag_id,project_id:e.project_id,first_time_event_hash:e.first_time_event_hash,event_name:e.event_name,property_filters:e.property_filters,pending_variant:e.pending_variant})}),this),this.activatedFirstTimeEvents&&Ad.each(this.activatedFirstTimeEvents,(function(e,t){var r=function(e){return e.split(":")[0]}(t);e&&!i.has(r)&&this.flags&&this.flags.has(r)&&i.set(r,this.flags.get(r))}),this),this.flags=i,this.trackedFeatures=new Set,this.pendingFirstTimeEvents=o,this._loadedPersistedAtMs=null,this._loadedTtlMs=null,this._traceparent=r,this._loadTargetingIfNeeded(),this.persistence.save(e,this.flags,this.pendingFirstTimeEvents)}.bind(this)).catch(function(e){throw this._fetchInProgressStartTime&&this.markFetchComplete(),Nv.error(e),e}.bind(this)),this.fetchPromise},Bv.prototype.loadFlags=function(){return this.isSystemEnabled()?this.trackedFeatures?this._fetchInProgressStartTime?this.fetchPromise:this.fetchFlags():(Nv.error("loadFlags called before init"),Promise.resolve()):Promise.resolve()},Bv.prototype.markFetchComplete=function(){this._fetchInProgressStartTime?(this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null):Nv.error("Fetch in progress started time not set, cannot mark fetch complete")},Bv.prototype._loadTargetingIfNeeded=function(){var e=!1;Ad.each(this.pendingFirstTimeEvents,(function(t){t.property_filters&&!Ad.isEmptyObject(t.property_filters)&&(e=!0)})),e&&this.getTargeting().then((function(){Nv.log("targeting loaded for property filter evaluation")}))},Bv.prototype.getTargeting=function(){return Iv(this.loadExtraBundle.bind(this),this.targetingSrc).catch(function(e){Nv.error("Failed to load targeting: "+e)}.bind(this))},Bv.prototype.checkFirstTimeEvents=function(e,t){this.pendingFirstTimeEvents&&!Ad.isEmptyObject(this.pendingFirstTimeEvents)&&(n[a]&&Ad.isFunction(n[a].then)?n[a].then(function(r){this._processFirstTimeEventCheck(e,t,r)}.bind(this)).catch(function(){this._processFirstTimeEventCheck(e,t,null)}.bind(this)):this._processFirstTimeEventCheck(e,t,null))},Bv.prototype._processFirstTimeEventCheck=function(e,t,r){Ad.each(this.pendingFirstTimeEvents,(function(n,i){if
1(!this.activatedFirstTimeEvents[i]){var o,s=n.flag_key;if(r||!n.property_filters||Ad.isEmptyObject(n.property_filters)){if(r){var a={event_name:n.event_name,property_filters:n.property_filters};o=r.eventMatchesCriteria(e,t,a)}else o={matches:e===n.event_name,error:null};if(o.error)Nv.error('Error checking first-time event for flag "'+s+'": '+o.error);else if(o.matches){Nv.log('First-time event matched for flag "'+s+'": '+e);var c={key:n.pending_variant.variant_key,value:n.pending_variant.variant_value,experiment_id:n.pending_variant.experiment_id,is_experiment_active:n.pending_variant.is_experiment_active};this.flags.set(s,c),this.trackedFeatures.delete(s),this.activatedFirstTimeEvents[i]=!0,this.recordFirstTimeEvent(n.flag_id,n.project_id,n.first_time_event_hash)}}else Nv.warn('Skipping event check for "'+s+'" - property filters require targeting library')}}),this)},Bv.prototype.getFirstTimeEventApiRoute=function(e){return this.getFullApiRoute().replace(/\/$/,"")+"/"+e+"/first-time-events"},Bv.prototype.recordFirstTimeEvent=function(e,t,r){var i=this.getMpProperty("distinct_id"),o=$d(),a=new URLSearchParams;a.set("mp_lib","web"),a.set("$lib_version",s.LIB_VERSION);var c=this.getFirstTimeEventApiRoute(e)+"?"+a.toString(),u={distinct_id:i,project_id:t,first_time_event_hash:r};Nv.log("Recording first-time event for flag: "+e),this.fetch.call(n,c,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:o},body:JSON.stringify(u)}).catch((function(t){Nv.error("Failed to record first-time event for flag "+e+": "+t)}))},Bv.prototype.getVariant=function(e,t){if(!this.persistenceLoadedPromise)return new Promise((function(e){Nv.critical("Feature Flags not initialized"),e(Uv(t))}));var r=this.persistence.getPolicy();return this.persistenceLoadedPromise.then(Ad.bind((function(){if(r===Rv.PERSISTENCE_UNTIL_NETWORK_SUCCESS)return this.areFlagsReady()&&!this._loadedPersistenceIsStale()?this.getVariantSync(e,t):this.fetchPromise?this.fetchPromise.then(Ad.bind((function(){return this.getVariantSync(e,t)}),this)).catch((function(e){return Nv.error(e),Uv(t)})):Uv(t);var n=Ad.bind((function(){return this.getVariantSync(e,t)}),this);return this.fetchPromise?this.fetchPromise.then(n).catch(n):Uv(t)}),this))},Bv.prototype._loadedPersistenceIsStale=function(){return!(!this._loadedPersistedAtMs||!this._loadedTtlMs)&&Date.now()-this._loadedPersistedAtMs>=this._loadedTtlMs},Bv.prototype.getVariantSync=function(e,t){if(this._loadedPersistenceIsStale())return Nv.log('Loaded persisted variants are past TTL so returning fallback for "'+e+'"'),Uv(t);if(!this.areFlagsReady())return Nv.log("Flags not loaded yet"),Uv(t);var r=this.flags.get(e);return r?(this.trackFeatureCheck(e,r),r):(Nv.log('No flag found: "'+e+'"'),Uv(t))},Bv.prototype.getAllVariants=function(){if(!this.persistenceLoadedPromise)return Nv.critical("Feature Flags not initialized"),Promise.resolve(new Map);var e=this.persistence.getPolicy();return this.persistenceLoadedPromise.then(Ad.bind((function(){if(e===Rv.PERSISTENCE_UNTIL_NETWORK_SUCCESS)return this.areFlagsReady()&&!this._loadedPersistenceIsStale()?this.getAllVariantsSync():this.fetchPromise?this.fetchPromise.then(Ad.bind((function(){return this.getAllVariantsSync()}),this)).catch((function(e){return Nv.error(e),new Map})):new Map;var t=Ad.bind(this.getAllVariantsSync,this);return this.fetchPromise?this.fetchPromise.then(t).catch(t):new Map}),this))},Bv.prototype.getAllVariantsSync=function(){return this._loadedPersistenceIsStale()?(Nv.log("Loaded persisted variants are past TTL so returning empty Map"),new Map):this.flags||new Map},Bv.prototype.getVariantValue=function(e,t){return this.getVariant(e,{value:t}).then((function(e){return e.value})).catch((function(e){return Nv.error(e),t}))},Bv.prototype.getFeatureData=function(e,t){return Nv.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value() instead."),this.getVariantValue(e,t)},Bv.prototype.getVariantValueSync=function(e,t){return this.getVariantSync(e,{value:t}).value},Bv.prototype.isEnabled=function(e,t){return this.getVariantValue(e).then(function(){return this.isEnabledSync(e,t)}.bind(this)).catch((function(e){return Nv.error(e),t}))},Bv.prototype.isEnabledSync=function(e,t){t=t||!1;var r=this.getVariantValueSync(e,t);return!0!==r&&!1!==r&&(Nv.error('Feature flag "'+e+'" value: '+r+" is not a boolean; returning fallback value: "+t),r=t),r},Bv.prototype.trackFeatureCheck=function(e,t){if(!this.trackedFeatures.has(e)){this.trackedFeatures.add(e);var r={"Experiment name":e,"Variant name":t.key,$experiment_type:"feature_flag","Variant fetch start time":jv(this._fetchStartTime)?new Date(this._fetchStartTime).toISOString():null,"Variant fetch complete time":jv(this._fetchCompleteTime)?new Date(this._fetchCompleteTime).toISOString():null,"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};jv(t.experiment_id)&&(r.$experiment_id=t.experiment_id),jv(t.is_experiment_active)&&(r.$is_experiment_active=t.is_experiment_active),jv(t.is_qa_tester)&&(r.$is_qa_tester=t.is_qa_tester),jv(t.variant_source)&&(r.$variant_source=t.variant_source),jv(t.persisted_at_in_ms)&&(r.$persisted_at_in_ms=t.persisted_at_in_ms),jv(t.ttl_in_ms)&&(r.$ttl_in_ms=t.ttl_in_ms),this.track("$experiment_started",r)}},Bv.prototype.whenReady=function(){return this.fetchPromise?this.fetchPromise:Promise.resolve()},Bv.prototype.minApisSupported=function(){return!!this.fetch&&"undefined"!=typeof Promise&&"undefined"!=typeof Map&&"undefined"!=typeof Set},Nd(Bv),Bv.prototype.are_flags_ready=Bv.prototype.areFlagsReady,Bv.prototype.get_variant=Bv.prototype.getVariant,Bv.prototype.get_variant_sync=Bv.prototype.getVariantSync,Bv.prototype.get_all_variants=Bv.prototype.getAllVariants,Bv.prototype.get_all_variants_sync=Bv.prototype.getAllVariantsSync,Bv.prototype.get_variant_value=
1Bv.prototype.getVariantValue,Bv.prototype.get_variant_value_sync=Bv.prototype.getVariantValueSync,Bv.prototype.is_enabled=Bv.prototype.isEnabled,Bv.prototype.is_enabled_sync=Bv.prototype.isEnabledSync,Bv.prototype.load_flags=Bv.prototype.loadFlags,Bv.prototype.update_context=Bv.prototype.updateContext,Bv.prototype.when_ready=Bv.prototype.whenReady,Bv.prototype.get_feature_data=Bv.prototype.getFeatureData,Bv.prototype.getTargeting=Bv.prototype.getTargeting;var qv=Td("recorder"),zv="mp_iframe_handshake_request",Hv="mp_iframe_handshake_response",Vv=function(e){this.mixpanelInstance=e.mixpanelInstance,this.getMpConfig=e.getConfigFunc,this.getTabId=e.getTabIdFunc,this.reportError=e.reportErrorFunc,this.getDistinctId=e.getDistinctIdFunc,this.loadExtraBundle=e.loadExtraBundle,this.recorderSrc=e.recorderSrc,this.targetingSrc=e.targetingSrc,this.libBasePath=e.libBasePath,this._recorder=null,this._parentReplayId=null,this._parentFrameRetryInterval=null};Vv.prototype.shouldLoadRecorder=function(){if(this.getMpConfig("disable_persistence"))return Md.log("Load recorder check skipped due to disable_persistence config"),Zf.resolve(!1);var e=new eg(tg,ng,ig),t=this.getTabId();return e.init().then((function(){return e.getAll()})).then((function(e){for(var r=0;r<e.length;r++)if(Og(e[r])||e[r].tabId===t)return!0;return!1})).catch(Ad.bind((function(e){return this.reportError("Error checking recording registry",e),!1}),this))},Vv.prototype.checkAndStartSessionRecording=function(e,t){if(!n.MutationObserver)return Md.critical("Browser does not support MutationObserver; skipping session recording"),Zf.resolve();var r=Ad.bind((function(e){return new Zf(Ad.bind((function(t){var r=Pd(Ad.bind((function(){this._recorder=this._recorder||new n[c](this.mixpanelInstance),this._recorder.resumeRecording(e),t()}),this));if(Ad.isUndefined(n[c])){var i=this.recorderSrc||this.libBasePath+"__MP_RECORDER_FILENAME__";this.loadExtraBundle(i,r)}else r()}),this))}),this),i=Eg(this.getMpConfig("record_allowed_iframe_origins"),qv);if(i.length>0&&(this._setupParentFrameListener(i),n.parent!==n))return this._setupChildFrameListener(i,r),this._sendParentFrameRequestWithRetry(i),Zf.resolve();var o=Ad.isUndefined(t)?this.getMpConfig("record_sessions_percent"):t,s=o>0&&100*Math.random()<=o;return e||s?r(!0):this.shouldLoadRecorder().then(Ad.bind((function(e){return e?r(!1):Zf.resolve()}),this))},Vv.prototype.isRecording=function(){if(!this._recorder||!Ad.isFunction(this._recorder.isRecording))return!1;try{return this._recorder.isRecording()}catch(e){return this.reportError("Error checking if recording is active",e),!1}},Vv.prototype.startRecordingOnEvent=function(e,t){var r=this.isRecording(),n=this.getMpConfig("recording_event_triggers");if(!r&&n){var i=n[e];if(i&&"number"==typeof i.percentage){var o=i.percentage,s=i.property_filters;if(s&&!Ad.isEmptyObject(s)){var a=this.targetingSrc||this.libBasePath+u;Iv(this.loadExtraBundle,a).then(function(r){try{r.eventMatchesCriteria(e,t,{event_name:e,property_filters:s}).matches&&this.checkAndStartSessionRecording(!1,o)}catch(e){Md.critical("Could not parse recording event trigger properties logic:",e)}}.bind(this)).catch((function(e){Md.critical("Failed to load targeting library:",e)}))}else this.checkAndStartSessionRecording(!1,o)}}},Vv.prototype.stopSessionRecording=function(){return this._recorder?this._recorder.stopRecording():Zf.resolve()},Vv.prototype.pauseSessionRecording=function(){return this._recorder?this._recorder.pauseRecording():Zf.resolve()},Vv.prototype.resumeSessionRecording=function(){return this._recorder?this._recorder.resumeRecording():Zf.resolve()},Vv.prototype.isRecordingHeatmapData=function(){return this.getSessionReplayId()&&this.getMpConfig("record_heatmap_data")},Vv.prototype.getSessionRecordingProperties=function(){var e={},t=this.getSessionReplayId();return t&&(e.$mp_replay_id=t),e},Vv.prototype.getSessionReplayUrl=function(){var e=null,t=this.getSessionReplayId();t&&(e="https://mixpanel.com/projects/replay-redirect?"+Ad.HTTPBuildQuery({replay_id:t,distinct_id:this.getDistinctId(),token:this.getMpConfig("token")}));return e},Vv.prototype.getSessionReplayId=function(){if(this._parentReplayId)return this._parentReplayId;var e=null;return this._recorder&&(e=this._recorder.replayId),e||null},Vv.prototype.getRecorder=function(){return this._recorder},Vv.prototype._setupChildFrameListener=function(e,t){if(!this._childFrameMessageHandler){var r=this;this._childFrameMessageHandler=function(i){if(-1!==e.indexOf(i.origin)){var o=i.data;o&&o.type===Hv&&o.token===r.getMpConfig("token")&&o.replayId&&(r._parentReplayId=o.replayId,o.distinctId&&r.mixpanelInstance.identify(o.distinctId),r._parentFrameRetryActive=!1,n.removeEventListener("message",r._childFrameMessageHandler),r._childFrameMessageHandler=null,t(!0))}},n.addEventListener("message",this._childFrameMessageHandler)}},Vv.prototype._sendParentFrameRequest=function(e){var t={};t.type=zv,t.token=this.getMpConfig("token");for(var r=0;r<e.length;r++)try{n.parent.postMessage(t,e[r])}catch(e){}},Vv.prototype._sendParentFrameRequestWithRetry=function(e){var t=this,r=0,n=50;this._parentFrameRetryActive=!0,this._sendParentFrameRequest(e),function i(){setTimeout((function(){!t._parentFrameRetryActive||t._parentReplayId||++r>=10||(t._sendParentFrameRequest(e),n*=2,i())}),n)}()},Vv.prototype._setupParentFrameListener=function(e){if(!this._parentFrameMessageHandler){var t=this;this._parentFrameMessageHandler=function(r){if(-1!==e.indexOf(r.origin)){var n=r.data;if(n&&n.type===zv&&n.token===t.getMpConfig("token")){var i=t.getSessionReplayId();if(i){var o={};o.type=Hv,o.token=t.getMpConfig("token"),o.replayId=i,o.distinctId=t.getDistinctId(),r.source.postMessage(o,r.origin)}}}},n.addEventListener("message",this._parentFrameMessageHandler)}},Nd(Vv);var Wv=function(){};Wv.prototype.create_properties=function(){},Wv.prototype.event_handler=function(){},Wv.prototype.after_track_handler=function(){},Wv.prototype.init=function(e){return this.mp=e,this},Wv.prototype.track=function(e,t,r,n){var i=this,o=Ad.dom_query(e);if(0!==o.length)return Ad.each(o,(function(e){Ad.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;Md.error("The DOM query ("+e+") returned 0 elements")},Wv.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))}},Wv.prototype.create_properties=function(e,t){return"function"==typeof e?e(t):Ad.extend({},e)};var $v=function(){this.override_event="click"};Ad.inherit($v,Wv),$v.prototype.create_properties=function(e,t){var r=$v.superclass.create_properties.apply(this,arguments);return t.href&&(r.url=t.href),r},$v.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()},$v.prototype.after_track_handler=function(e,t){t.new_tab||setTimeout((function(){window.location=t.href}),0)};var Gv=function(){this.override_event="submit"};Ad.inherit(Gv,Wv),Gv.prototype.event_handler=function(e,t,r){r.element=t,e.preventDefault()},Gv.prototype.after_track_handler=function(e,t){setTimeout((function(){t.element.submit()}),0)};var Jv="$set",Yv="$set_once",Kv="$unset",Zv="$add",Xv="$append",Qv="$union",ey="$remove",ty={set_action:function(e,t){var r={},n={};return Ad.isObject(e)?Ad.each(e,(function(e,t){this._is_reserved_property(t)||(n[t]=e)}),this):n[e]=t,r[Jv]=n,r},unset_action:function(e){var t={},r=[];return Ad.isArray(e)||(e=[e]),Ad.each(e,(function(e){this._is_reserved_property(e)||r.push(e)}),this),t[Kv]=r,t},set_once_action:function(e,t){var r={},n={};return Ad.isObject(e)?Ad.each(e,(function(e,t){this._is_reserved_property(t)||(n[t]=e)}),this):n[e]=t,r[Yv]=n,r},union_action:function(e,t){var r={},n={};return Ad.isObject(e)?Ad.each(e,(function(e,t){this._is_reserved_property(t)||(n[t]=Ad.isArray(e)?e:[e])}),this):n[e]=Ad.isArray(t)?t:[t],r[Qv]=n,r},append_action:function(e,t){var r={},n={};return Ad.isObject(e)?Ad.each(e,(function(e,t){this._is_reserved_property(t)||(n[t]=e)}),this):n[e]=t,r[Xv]=n,r},remove_action:function(e,t){var r={},n={};return Ad.isObject(e)?Ad.each(e,(function(e,t){this._is_reserved_property(t)||(n[t]=e)}),this):n[e]=t,r[ey]=n,r},delete_action:function(){var e={$delete:""};return e}},ry=function(){};Ad.extend(ry.prototype,ty),ry.prototype._init=function(e,t,r){this._mixpanel=e,this._group_key=t,this._group_id=r},ry.prototype.set=hg((function(e,t,r){var n=this.set_action(e,t);return Ad.isObject(e)&&(r=t),this._send_request(n,r)})),ry.prototype.set_once=hg((function(e,t,r){var n=this.set_once_action(e,t);return Ad.isObject(e)&&(r=t),this._send_request(n,r)})),ry.prototype.unset=hg((function(e,t){var r=this.unset_action(e);return this._send_request(r,t)})),ry.prototype.union=hg((function(e,t,r){Ad.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)})),ry.prototype.delete=hg((function(e){var t=this.delete_action();return this._send_request(t,e)})),ry.prototype.remove=hg((function(e,t,r){var n=this.remove_action(e,t);return this._send_request(n,r)})),ry.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=Ad.encodeDates(e);return this._mixpanel._track_or_batch({type:"groups",data:r,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},t)},ry.prototype._is_reserved_property=function(e){return"$group_key"===e||"$group_id"===e},ry.prototype._get_config=function(e){return this._mixpanel.get_config(e)},ry.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},ry.prototype.remove=ry.prototype.remove,ry.prototype.set=ry.prototype.set,ry.prototype.set_once=ry.prototype.set_once,ry.prototype.union=ry.prototype.union,ry.prototype.unset=ry.prototype.unset,ry.prototype.toString=ry.prototype.toString;var ny=function(){};Ad.extend(ny.prototype,ty),ny.prototype._init=function(e){this._mixpanel=e},ny.prototype.set=lg((function(e,t,r){var n=this.set_action(e,t);return Ad.isObject(e)&&(r=t),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),n[Jv]=Ad.extend({},Ad.info.people_properties(),n[Jv]),this._send_request(n,r)})),ny.prototype.set_once=lg((function(e,t,r){var n=this.set_once_action(e,t);return Ad.isObject(e)&&(r=t),this._send_request(n,r)})),ny.prototype.unset=lg((function(e,t){var r=this.unset_action(e);return this._send_request(r,t)})),ny.prototype.increment=lg((function(e,t,r){var n={},i={};return Ad.isObject(e)?(Ad.each(e,(function(e,t){if(!this._is_reserved_property(t)){if(isNaN(parseFloat(e)))return void Md.error("Invalid increment value passed to mixpanel.people.increment - must be a number");i[t]=e}}),this),r=t):(Ad.isUndefined(t)&&(t=1),i[e]=t),n[Zv]=i,this._send_request(n,r)})),ny.prototype.append=lg((function(e,t,r){Ad.isObject(e)&&(r=t);var n=this.append_action(e,t);return this._send_request(n,r)})),ny.prototype.remove=lg((function(e,t,r){Ad.isObject(e)&&(r=t);var n=this.remove_action(e,t);return this._send_request(n,r)})),ny.prototype.union=lg((function(e,t,r){Ad.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)})),ny.prototype.track_charge=lg((function(){Md.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")})),ny.prototype.clear_charges=function(e){return this.set("$transactions",[],e)},ny.prototype.delete_user=function(){if(this._identify_called()){var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)}Md.error("mixpanel.people.delete_user() requires you to call identify() first")},ny.prototype.toString=function(){return this._mixpanel.toString()+".people"},ny.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=Ad.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:o,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},t):(this._enqueue(e),Ad.isUndefined(t)||(this._get_config("verbose")?t({status:-1,error:null}):t(-1)),Ad.truncate(o,255))},ny.prototype._get_config=function(e){return this._mixpanel.get_config(e)},ny.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},ny.prototype._enqueue=function(e){Jv in e?this._mixpanel.persistence._add_to_people_queue(Jv,e):Yv in e?this._mixpanel.persistence._add_to_people_queue(Yv,e):Kv in e?this._mixpanel.persistence._add_to_people_queue(Kv,e):Zv in e?this._mixpanel.persistence._add_to_people_queue(Zv,e):Xv in e?this._mixpanel.persistence._add_to_people_queue(Xv,e):ey in e?this._mixpanel.persistence._add_to_people_queue(ey,e):Qv in e?this._mixpanel.persistence._add_to_people_queue(Qv,e):Md.error("Invalid call to _enqueue():",e)},ny.prototype._flush_one_queue=function(e,t,r,n){var i=this,o=Ad.extend({},this._mixpanel.persistence.load_queue(e)),s=o;Ad.isUndefined(o)||!Ad.isObject(o)||Ad.isEmptyObject(o)||(i._mixpanel.persistence._pop_from_people_queue(e,o),i._mi
1xpanel.persistence.save(),n&&(s=n(o)),t.call(i,s,(function(t,n){0===t&&i._mixpanel.persistence._add_to_people_queue(e,o),Ad.isUndefined(r)||r(t,n)})))},ny.prototype._flush=function(e,t,r,n,i,o,s){var a=this;this._flush_one_queue(Jv,this.set,e),this._flush_one_queue(Yv,this.set_once,n),this._flush_one_queue(Kv,this.unset,o,(function(e){return Ad.keys(e)})),this._flush_one_queue(Zv,this.increment,t),this._flush_one_queue(Qv,this.union,i);var c=this._mixpanel.persistence.load_queue(Xv);if(!Ad.isUndefined(c)&&Ad.isArray(c)&&c.length)for(var u,l=function(e,t){0===e&&a._mixpanel.persistence._add_to_people_queue(Xv,u),Ad.isUndefined(r)||r(e,t)},h=c.length-1;h>=0;h--)c=this._mixpanel.persistence.load_queue(Xv),u=c.pop(),a._mixpanel.persistence.save(),Ad.isEmptyObject(u)||a.append(u,l);var p=this._mixpanel.persistence.load_queue(ey);if(!Ad.isUndefined(p)&&Ad.isArray(p)&&p.length)for(var f,d=function(e,t){0===e&&a._mixpanel.persistence._add_to_people_queue(ey,f),Ad.isUndefined(s)||s(e,t)},g=p.length-1;g>=0;g--)p=this._mixpanel.persistence.load_queue(ey),f=p.pop(),a._mixpanel.persistence.save(),Ad.isEmptyObject(f)||a.remove(f,d)},ny.prototype._is_reserved_property=function(e){return"$distinct_id"===e||"$token"===e||"$device_id"===e||"$user_id"===e||"$had_persisted_distinct_id"===e},ny.prototype.set=ny.prototype.set,ny.prototype.set_once=ny.prototype.set_once,ny.prototype.unset=ny.prototype.unset,ny.prototype.increment=ny.prototype.increment,ny.prototype.append=ny.prototype.append,ny.prototype.remove=ny.prototype.remove,ny.prototype.union=ny.prototype.union,ny.prototype.track_charge=ny.prototype.track_charge,ny.prototype.clear_charges=ny.prototype.clear_charges,ny.prototype.delete_user=ny.prototype.delete_user,ny.prototype.toString=ny.prototype.toString;var iy,oy="__mps",sy="__mpso",ay="__mpus",cy="__mpa",uy="__mpap",ly="__mpr",hy="__mpu",py="$people_distinct_id",fy="__alias",dy="__timers",gy=[oy,sy,ay,cy,uy,ly,hy,py,fy,dy],my=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&&(Md.critical("Unknown persistence type "+t+"; falling back to cookie"),t=e.persistence="cookie"),"localStorage"===t&&Ad.localStorage.is_supported()?this.storage=Ad.localStorage:this.storage=Ad.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};my.prototype.properties=function(){var e={};return this.load(),Ad.each(this.props,(function(t,r){Ad.include(gy,r)||(e[r]=t)})),e},my.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=Ad.extend({},e))}},my.prototype.upgrade=function(){var e,t;this.storage===Ad.localStorage?(e=Ad.cookie.parse(this.name),Ad.cookie.remove(this.name),Ad.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===Ad.cookie&&(t=Ad.localStorage.parse(this.name),Ad.localStorage.remove(this.name),t&&this.register_once(t))},my.prototype.save=function(){this.disabled||this.storage.set(this.name,Xd(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},my.prototype.load_prop=function(e){return this.load(),this.props[e]},my.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},my.prototype.clear=function(){this.remove(),this.props={}},my.prototype.register_once=function(e,t,r){return!!Ad.isObject(e)&&(void 0===t&&(t="None"),this.expire_days=void 0===r?this.default_expiry:r,this.load(),Ad.each(e,(function(e,r){this.props.hasOwnProperty(r)&&this.props[r]!==t||(this.props[r]=e)}),this),this.save(),!0)},my.prototype.register=function(e,t){return!!Ad.isObject(e)&&(this.expire_days=void 0===t?this.default_expiry:t,this.load(),Ad.extend(this.props,e),this.save(),!0)},my.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())},my.prototype.update_search_keyword=function(e){this.register(Ad.info.searchInfo(e))},my.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:Ad.info.referringDomain(e)||"$direct"},"")},my.prototype.get_referrer_info=function(){return Ad.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},my.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)},my.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()},my.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())},my.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())},my.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())},my.prototype.get_cross_subdomain=function(){return this.cross_subdomain},my.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())},my.prototype._add_to_people_queue=function(e,t){var r=this._get_queue_key(e),n=t[e],i=this._get_or_create_queue(Jv),o=this._get_or_create_queue(Yv),s=this._get_or_create_queue(Kv),a=this._get_or_create_queue(Zv),c=this._get_or_create_queue(Qv),u=this._get_or_create_queue(ey,[]),l=this._get_or_create_queue(Xv,[]);r===oy?(Ad.extend(i,n),this._pop_from_people_queue(Zv,n),this._pop_from_people_queue(Qv,n),this._pop_from_people_queue(Kv,n)):r===sy?(Ad.each(n,(function(e,t){t in o||(o[t]=e)})),this._pop_from_people_queue(Kv,n)):r===ay?Ad.each(n,(function(e){Ad.each([i,o,a,c],(function(t){e in t&&delete t[e]})),Ad.each(l,(function(t){e in t&&delete t[e]})),s[e]=!0})):r===cy?(Ad.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(Kv,n)):r===hy?(Ad.each(n,(function(e,t){Ad.isArray(e)&&(t in c||(c[t]=[]),Ad.each(e,(function(e){Ad.include(c[t],e)||c[t].push(e)})))}
1)),this._pop_from_people_queue(Kv,n)):r===ly?(u.push(n),this._pop_from_people_queue(Xv,n)):r===uy&&(l.push(n),this._pop_from_people_queue(Kv,n)),Md.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),Md.log(t),this.save()},my.prototype._pop_from_people_queue=function(e,t){var r=this.props[this._get_queue_key(e)];Ad.isUndefined(r)||Ad.each(t,(function(t,n){e===Xv||e===ey?Ad.each(r,(function(e){e[n]===t&&delete e[n]})):delete r[n]}),this)},my.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))},my.prototype._get_queue_key=function(e){return e===Jv?oy:e===Yv?sy:e===Kv?ay:e===Zv?cy:e===Xv?uy:e===ey?ly:e===Qv?hy:void Md.error("Invalid queue:",e)},my.prototype._get_or_create_queue=function(e,t){var r=this._get_queue_key(e);return t=Ad.isUndefined(t)?{}:t,this.props[r]||(this.props[r]=t)},my.prototype.set_event_timer=function(e,t){var r=this.load_prop(dy)||{};r[e]=t,this.props[dy]=r,this.save()},my.prototype.remove_event_timer=function(e){var t=(this.load_prop(dy)||{})[e];return Ad.isUndefined(t)||(delete this.props[dy][e],this.save()),t};var vy,yy=function(e,t){throw new Error(e+" not available in this build.")},_y="mixpanel",by="base64",wy="$device:",ky=n.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,Sy=!ky&&-1===kd.indexOf("MSIE")&&-1===kd.indexOf("Mozilla"),Cy=null;yd.sendBeacon&&(Cy=function(){return yd.sendBeacon.apply(yd,arguments)});var xy={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/",settings:"settings/"},Iy={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:xy,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:by,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:Kd,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:Kd,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_allowed_iframe_origins:[],record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video, audio",record_canvas:!1,record_collect_fonts:!1,record_console:!0,record_heatmap_data:!1,recording_event_triggers:{},record_idle_timeout_ms:18e5,record_mask_inputs:!0,record_max_ms:ud,record_min_ms:0,record_network:!1,record_network_options:{},record_sessions_percent:0,recorder_src:null,targeting_src:null,lib_base_path:"https://cdn.mxpnl.com/libs/",remote_settings_mode:"disabled"},Oy=!1,Ey=function(){},Ay=function(e,t,r){var i,o=r===_y?vy:vy[r];if(o&&0===iy)i=o;else{if(o&&!Ad.isArray(o))return void Md.error("You have already initialized "+r);i=new Ey}if(i._cached_groups={},i._init(e,t,r),i.people=new ny,i.people._init(i),!i.get_config("skip_first_touch_marketing")){var a=Ad.info.campaignParams(null),c={},u=!1;Ad.each(a,(function(e,t){c["initial_"+t]=e,e&&(u=!0)})),u&&i.people.set_once(c)}s.DEBUG=s.DEBUG||i.get_config("debug");var l=0===iy?"module":"snippet";return n.dispatchEvent(new n.CustomEvent("$mp_sdk_to_extension_event",{detail:{instance:i,source:l,token:e,name:r,info:Ad.info}})),!Ad.isUndefined(o)&&Ad.isArray(o)&&(i._execute_array.call(i.people,o.people),i._execute_array(o)),i};Ey.prototype.init=function(e,t,r){if(Ad.isUndefined(r))this.report_error("You must name your new library: init(token, config, name)");else{if(r!==_y){var n=Ay(e,t,r);return vy[r]=n,n._loaded(),n}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},Ey.prototype._init=function(e,t,r){t=t||{},this.__loaded=!0,this.config={};var i={};"api_payload_format"in t||(t.api_host||Iy.api_host).match(/\.mixpanel\.com/)&&(i.api_payload_format="json");if(this.hooks={},this.set_config(Ad.extend({},Iy,i,t,{name:r,token:e,callback_fn:(r===_y?r:_y+"."+r)+"._jsc"})),this.recorderManager=new Vv({mixpanelInstance:this,getConfigFunc:Ad.bind(this.get_config,this),setConfigFunc:Ad.bind(this.set_config,this),getTabIdFunc:Ad.bind(this.get_tab_id,this),reportErrorFunc:Ad.bind(this.report_error,this),getDistinctIdFunc:Ad.bind(this.get_distinct_id,this),recorderSrc:this.get_config("recorder_src"),targetingSrc:this.get_config("targeting_src"),libBasePath:this.get_config("lib_base_path"),loadExtraBundle:yy}),this._jsc=Kd,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this._remote_settings_strict_disabled=!1,this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests)if(Ad.localStorage.is_supported(!0)&&ky){if(this.init_batchers(),Cy&&n.addEventListener){var o=Ad.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"===_d.visibilityState&&o()}))}}else this._batch_requests=!1,Md.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),Ad.each(this.get_batcher_configs(),(function(e){Md.log("Clearing batch queue "+e.queue_key),Ad.localStorage.remove(e.queue_key)}));this.persistence=this.cookie=new my(this.config),this.unpersisted_superprops={},this._gdpr_init();var s=Ad.UUID();this.get_distinct_id()||this.register_once({distinct_id:wy+s,$device_id:s},""),this.flags=new Bv({getFullApiRoute:Ad.bind((function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags}),this),getConfigFunc:Ad.bind(this.get_config,this),setConfigFunc:Ad.bind(this.set_config,this),getPropertyFunc:Ad.bind(this.get_property,this),trackingFunc:Ad.bind(this.track,this),loadExtraBundle:yy,targetingSrc:this.get_config("targeting_src")||this.get_config("lib_base_path")+u}),this.flags.init(),this.flags=this.flags,this._init_tab_id();var a=this.get_config("remote_settings_mode");this.__session_recording_init_promise="strict"===a||"fallback"===a?this._fetch_remote_settings(a).then(Ad.bind((function(){return this._check_and_start_session_recording()}),this)):this._check_and_start_session_recording(),this.autocapture=new xv(this),this.autocapture.init()},Ey.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))Md.log("Tab ID initialization skipped due to disable_persistence config");
1else if(Ad.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;!Ad.sessionStorage.get(r)&&Ad.sessionStorage.get(t)||Ad.sessionStorage.set(t,"$tab-"+Ad.UUID()),Ad.sessionStorage.set(r,"1"),this.tab_id=Ad.sessionStorage.get(t),n.addEventListener("beforeunload",(function(){Ad.sessionStorage.remove(r)}))}catch(e){this.report_error("Error initializing tab id",e)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")},Ey.prototype.get_tab_id=function(){return this.tab_id||null},Ey.prototype._check_and_start_session_recording=ug((function(e){return this.recorderManager.checkAndStartSessionRecording(e)})),Ey.prototype._start_recording_on_event=Pd((function(e,t){this.__session_recording_init_promise&&this.__session_recording_init_promise.then(Ad.bind((function(){if(!this._remote_settings_strict_disabled)return this.recorderManager.startRecordingOnEvent(e,t)}),this))})),Ey.prototype.start_session_recording=function(){return this._check_and_start_session_recording(!0)},Ey.prototype.stop_session_recording=function(){return this.recorderManager.stopSessionRecording()},Ey.prototype.pause_session_recording=function(){return this.recorderManager.pauseSessionRecording()},Ey.prototype.resume_session_recording=function(){return this.recorderManager.resumeSessionRecording()},Ey.prototype.is_recording_heatmap_data=function(){return this.recorderManager.isRecordingHeatmapData()},Ey.prototype.get_session_recording_properties=function(){return this.recorderManager.getSessionRecordingProperties()},Ey.prototype.get_session_replay_url=function(){return this.recorderManager.getSessionReplayUrl()},Ey.prototype.__get_recorder=function(){return this.recorderManager.getRecorder()},Ey.prototype.__get_recording_init_promise=function(){return this.__session_recording_init_promise},Ey.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=Ad.info.campaignParams(null);Ad.each(e,function(e,t){this.unregister(t)}.bind(this))}},Ey.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(_d.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(Ad.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(_d.referrer)},Ey.prototype._dom_loaded=function(){Ad.each(this.__dom_loaded_queue,(function(e){this._track_dom.apply(this,e)}),this),this.has_opted_out_tracking()||Ad.each(this.__request_queue,(function(e){this._send_request.apply(this,e)}),this),delete this.__dom_loaded_queue,delete this.__request_queue},Ey.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(!Oy)return this.__dom_loaded_queue.push([e,t]),!1;var r=(new e).init(this);return r.track.apply(r,t)},Ey.prototype._prepare_callback=function(e,t){if(Ad.isUndefined(e))return null;if(ky){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},Ey.prototype._send_request=function(e,t,r,n){var i=!0;if(Sy)return this.__request_queue.push(arguments),i;var o={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},s=null;n||!Ad.isFunction(r)&&"string"!=typeof r||(n=r,r=null),r=Ad.extend(o,r||{}),ky||(r.method="GET");var a="POST"===r.method,c=Cy&&a&&"sendbeacon"===r.transport.toLowerCase(),u=r.verbose;t.verbose&&(u=!0),this.get_config("test")&&(t.test=1),u&&(t.verbose=1),this.get_config("img")&&(t.img=1),ky||(n?t.callback=n:(u||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),Ad.extend(t,this.get_config("api_extra_query_params")),e+="?"+Ad.HTTPBuildQuery(t);var l=this;if("img"in t){var h=_d.createElement("img");h.src=e,_d.body.appendChild(h)}else if(c){try{i=Cy(e,s)}catch(e){l.report_error(e),i=!1}try{n&&n(i?1:0)}catch(e){l.report_error(e)}}else if(ky)try{var p=new XMLHttpRequest;p.open(r.method,e,!0);var f=this.get_config("xhr_headers");
1if(a&&(f["Content-Type"]="application/x-www-form-urlencoded"),Ad.each(f,(function(e,t){p.setRequestHeader(t,e)})),r.timeout_ms&&void 0!==p.timeout){p.timeout=r.timeout_ms;var d=(new Date).getTime()}p.withCredentials=!0,p.onreadystatechange=function(){var e;if(4===p.readyState)if(200===p.status){if(n)if(u){var t;try{t=Ad.JSONDecode(p.responseText)}catch(e){if(l.report_error(e),!r.ignore_json_errors)return;t=p.responseText}n(t)}else n(Number(p.responseText))}else if(e=p.timeout&&!p.status&&(new Date).getTime()-d>=p.timeout?"timeout":"Bad HTTP status: "+p.status+" "+p.statusText,l.report_error(e),n)if(u){var i=p.responseHeaders||{};n({status:0,httpStatusCode:p.status,error:e,retryAfter:i["Retry-After"]})}else n(0)},p.send(s)}catch(e){l.report_error(e),i=!1}else{var g=_d.createElement("script");g.type="text/javascript",g.async=!0,g.defer=!0,g.src=e;var m=_d.getElementsByTagName("script")[0];m.parentNode.insertBefore(g,m)}return i},Ey.prototype._fetch_remote_settings=function(e){var t=this,r=function(){"strict"===e&&(t.set_config({record_sessions_percent:0}),t._remote_settings_strict_disabled=!0)};if(!n.AbortController)return Md.critical("Remote settings unavailable: missing minimum required APIs"),r(),Promise.resolve();var i=this.get_api_host("settings")+"/"+this.get_config("api_routes").settings,o={$lib_version:s.LIB_VERSION,mp_lib:"web",sdk_config:"1"},a=i+"?"+Ad.HTTPBuildQuery(o),c=new AbortController,u=setTimeout((function(){c.abort()}),500),l={method:"GET",headers:{Authorization:"Basic "+btoa(t.get_config("token")+":")},signal:c.signal};return n.fetch(a,l).then((function(e){return clearTimeout(u),e.ok?e.json():(Md.critical("Network response was not ok"),void r())})).then((function(e){if(e&&e.sdk_config&&e.sdk_config.config){var n=e.sdk_config.config,i={};Ad.each(n,(function(e,t){Iy.hasOwnProperty(t)&&(i[t]=e)})),Ad.isEmptyObject(i)?(Md.critical("No valid config keys found in remote settings."),r()):t.set_config(i)}else r()})).catch((function(e){clearTimeout(u),Md.critical("Failed to fetch remote settings",e),r()}))},Ey.prototype._execute_array=function(e){var t,r=[],n=[],i=[];Ad.each(e,(function(e){e&&(t=e[0],Ad.isArray(t)?i.push(e):"function"==typeof e?e.call(this):Ad.isArray(e)&&"alias"===t?r.push(e):Ad.isArray(e)&&-1!==t.indexOf("track")&&"function"==typeof this[t]?i.push(e):n.push(e))}),this);var o=function(e,t){Ad.each(e,(function(e){if(Ad.isArray(e[0])){var r=t;Ad.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)},Ey.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},Ey.prototype.get_batcher_configs=function(){var e="__mpq_"+this.get_config("token");return this._batcher_configs=this._batcher_configs||{events:{type:"events",api_name:"track",queue_key:e+"_ev"},people:{type:"people",api_name:"engage",queue_key:e+"_pp"},groups:{type:"groups",api_name:"groups",queue_key:e+"_gr"}},this._batcher_configs},Ey.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=Ad.bind((function(e){return new Ig(e.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:Ad.bind((function(t,r,n){var i=this.get_config("api_routes");this._send_request(this.get_api_host(e.api_name)+"/"+i[e.api_name],this._encode_data_for_request(t),r,this._prepare_callback(n,t))}),this),beforeSendHook:Ad.bind((function(t){var r=this._run_hook("before_send_"+e.type,t);return r?r[0]:null}),this),stopAllBatchingFunc:Ad.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()},Ey.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,Ad.each(this.request_batchers,(function(e){e.start()})))},Ey.prototype.stop_batch_senders=function(){this._batch_requests=!1,Ad.each(this.request_batchers,(function(e){e.stop(),e.clear()}))},Ey.prototype.push=function(e){this._execute_array([e])},Ey.prototype.enable=function(e){var t,r,n,i;if(void 0===e)this._flags.disable_all_events=!1;else{for(t={},r=[],n=0;n<e.length;n++)t[e[n]]=!0;for(i=0;i<this.__disabled_events.length;i++)t[this.__disabled_events[i]]||r.push(this.__disabled_events[i]);this.__disabled_events=r}},Ey.prototype.disable=function(e){void 0===e?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)},Ey.prototype._encode_data_for_request=function(e){var t=Xd(e);return this.get_config("api_payload_format")===by&&(t=Ad.base64Encode(t)),{data:t}},Ey.prototype._track_or_batch=function(e,t){var r=Ad.truncate(e.data,255),n=e.endpoint,i=e.batcher,o=e.should_send_immediately,s=e.send_request_options||{};t=t||Kd;var a=!0,c=Ad.bind((function(){return s.skip_hooks||(r=this._run_hook("before_send_"+e.type,r))&&(r=r[0]),r?(Md.log("MIXPANEL REQUEST:"),Md.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):c()})):a=c(),a&&r},Ey.prototype.track=ug((function(e,t,r,n){var i;if(!r||!r.skip_hooks){if(null===(i=this._run_hook("before_track",e,t)))return;e=i[0],t=i[1]}n||"function"!=typeof r||(n=r,r=null);var o=(r=r||{}).transport;o&&(r.transport=o);var s=r.send_immediately;if("function"!=typeof n&&(n=Kd),Ad.isUndefined(e))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(e)){(t=Ad.extend({},t)).token=this.get_config("token");var a=this.persistence.remove_event_timer(e);if(!Ad.isUndefined(a)){var c=(new Date).getTime()-a;t.$duration=parseFloat((c/1e3).toFixed(3))}this._set_default_superprops();var u=this.get_config("track_marketing")?Ad.info.marketingParams():{};t=Ad.extend({},Ad.info.properties({mp_loader:this.get_config("mp_loader")}),u,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),t);var l=this.get_config("property_blacklist");Ad.isArray(l)?Ad.each(l,(function(e){delete t[e]})):this.report_error("Invalid value for property_blacklist config: "+l),this._start_recording_on_event(e,t);var h={event:e,properties:t};return i=this._track_or_batch({type:"events",data:h,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:s,send_request_options:r},n),this.flags&&this.flags.checkFirstTimeEvents&&this.flags.checkFirstTimeEvents(e,t),i}n(0)}})),Ey.prototype.set_group=ug((function(e,t,r){Ad.isArray(t)||(t=[t]);var n={};return n[e]=t,this.register(n),this.people.set(e,t,r)})),Ey.prototype.add_group=ug((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)})),Ey.prototype.remove_group=ug((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)})),Ey.prototype.track_with_groups=ug((function(e,t,r,n){var i=Ad.extend({},t||{});return Ad.each(r,(function(e,t){null!=e&&(i[t]=e)})),this.track(e,i,n)})),Ey.prototype._create_map_key=function(e,t){return e+"_"+JSON.stringify(t)},Ey.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]},Ey.prototype.get_group=function(e,t){var r=this._create_map_key(e,t),n=this._cached_groups[r];
1return void 0!==n&&n._group_key===e&&n._group_id===t||((n=new ry)._init(this,e,t),this._cached_groups[r]=n),n},Ey.prototype.track_pageview=ug((function(e,t){"object"!=typeof e&&(e={});var r=(t=t||{}).event_name||"$mp_web_page_view",n=Ad.extend(Ad.info.mpPageViewProperties(),Ad.info.campaignParams(),Ad.info.clickParams()),i=Ad.extend({},n,e);return this.is_recording_heatmap_data()&&(i.$captured_for_heatmap=!0),this.track(r,i)})),Ey.prototype.track_links=function(){return this._track_dom.call(this,$v,arguments)},Ey.prototype.track_forms=function(){return this._track_dom.call(this,Gv,arguments)},Ey.prototype.time_event=function(e){Ad.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 My={persistent:!0},Ry=function(e){var t;return t=Ad.isObject(e)?e:Ad.isUndefined(e)?{}:{days:e},Ad.extend({},My,t)};Ey.prototype.register=function(e,t){var r=this._run_hook("before_register",e,t);if(null!==r){e=r[0],t=r[1];var n=Ry(t);n.persistent?this.persistence.register(e,n.days):Ad.extend(this.unpersisted_superprops,e)}},Ey.prototype.register_once=function(e,t,r){var n=this._run_hook("before_register_once",e,t,r);if(null!==n){e=n[0],t=n[1],r=n[2];var i=Ry(r);i.persistent?this.persistence.register_once(e,t,i.days):(void 0===t&&(t="None"),Ad.each(e,(function(e,r){this.unpersisted_superprops.hasOwnProperty(r)&&this.unpersisted_superprops[r]!==t||(this.unpersisted_superprops[r]=e)}),this))}},Ey.prototype.unregister=function(e,t){var r=this._run_hook("before_unregister",e,t);null!==r&&(e=r[0],t=r[1],(t=Ry(t)).persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e])},Ey.prototype._register_single=function(e,t){var r={};r[e]=t,this.register(r)},Ey.prototype.identify=function(e,t,r,n,i,o,s,a){var c=this._run_hook("before_identify",e);if(null===c)return-1;e=c[0];var u=this.get_distinct_id();if(e&&u!==e){if("string"==typeof e&&0===e.indexOf(wy))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:e})}if(!this.get_property("$device_id")){var l=u;this.register_once({$had_persisted_distinct_id:!0,$device_id:l},"")}e!==u&&e!==this.get_property(fy)&&(this.unregister(fy),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().catch((function(){Md.error("[flags] Error fetching flags during identify")}))},Ey.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var e=Ad.UUID();this.register_once({distinct_id:wy+e,$device_id:e},""),this._check_and_start_session_recording(),this.flags.reset()},Ey.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},Ey.prototype.alias=function(e,t){if(e===this.get_property(py))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var r=this;return Ad.isUndefined(t)&&(t=this.get_distinct_id()),e!==t?(this._register_single(fy,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)},Ey.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)},Ey.prototype.set_config=function(e){Ad.isObject(e)&&(Ad.extend(this.config,e),e.batch_size&&Ad.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),s.DEBUG=s.DEBUG||this.get_config("debug"),("autocapture"in e||"record_heatmap_data"in e)&&this.autocapture&&this.autocapture.init(),Ad.isObject(e.hooks)&&(this.hooks={},Ad.each(e.hooks,(function(e,t){if(Ad.isFunction(e))this.hooks[t]=[e];else if(Ad.isArray(e)){this.hooks[t]=[];for(var r=0;r<e.length;r++)Ad.isFunction(e[r])||Md.critical("Invalid hook added. Hook is not a function"),this.hooks[t].push(e[r])}else Md.critical("Invalid hooks added. Ensure that the hook values passed into config.hooks are functions or arrays of functions.")}),this)))},Ey.prototype.get_config=function(e){return this.config[e]}
1,Ey.prototype._run_hook=function(e){var t=dd.call(arguments,1);return Ad.each(this.hooks[e],(function(r){if(null===t)return null;var n=r.apply(this,t);void 0===n?(this.report_error(e+" hook did not return a valid value"),t=null):(Ad.isArray(n)||(n=[n]),t.splice.apply(t,[0,n.length].concat(n)))}),this),t},Ey.prototype.get_property=function(e){return this.persistence.load_prop([e])},Ey.prototype.get_api_host=function(e){return this.get_config("api_hosts")[e]||this.get_config("api_host")},Ey.prototype.toString=function(){var e=this.get_config("name");return e!==_y&&(e=_y+"."+e),e},Ey.prototype._event_is_disabled=function(e){return Ad.isBlockedUA(kd)||this._flags.disable_all_events||Ad.include(this.__disabled_events,e)},Ey.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&Ad.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")&&!Ad.cookie.get("mp_optout")||(Ad.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},Ey.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()},Ey.prototype._gdpr_call_func=function(e,t){return t=Ad.extend({track:Ad.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),Ad.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})},Ey.prototype.opt_in_tracking=function(e){e=Ad.extend({enable_persistence:!0},e),this._gdpr_call_func(og,e),this._gdpr_update_persistence(e)},Ey.prototype.opt_out_tracking=function(e){(e=Ad.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(sg,e),this._gdpr_update_persistence(e)},Ey.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(ag,e)},Ey.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(cg,e)},Ey.prototype.clear_opt_in_out_tracking=function(e){e=Ad.extend({enable_persistence:!0},e),this._gdpr_call_func(pg,e),this._gdpr_update_persistence(e)},Ey.prototype.report_error=function(e,t){Md.error.apply(Md.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.get_config("error_reporter")(e,t)}catch(t){Md.error(t)}},Ey.prototype.add_hook=function(e,t){this.hooks[e]||(this.hooks[e]=[]),this.hooks[e].push(t)},Ey.prototype.remove_hook=function(e,t){var r;this.hooks[e]&&(-1!==(r=this.hooks[e].indexOf(t))?this.hooks[e].splice(r,1):Md.log("remove_hook failed. Matching hook was not found"))},Ey.prototype.init=Ey.prototype.init,Ey.prototype.reset=Ey.prototype.reset,Ey.prototype.enable=Ey.prototype.enable,Ey.prototype.disable=Ey.prototype.disable,Ey.prototype.time_event=Ey.prototype.time_event,Ey.prototype.track=Ey.prototype.track,Ey.prototype.track_links=Ey.prototype.track_links,Ey.prototype.track_forms=Ey.prototype.track_forms,Ey.prototype.track_pageview=Ey.prototype.track_pageview,Ey.prototype.register=Ey.prototype.register,Ey.prototype.register_once=Ey.prototype.register_once,Ey.prototype.unregister=Ey.prototype.unregister,Ey.prototype.identify=Ey.prototype.identify,Ey.prototype.alias=Ey.prototype.alias,Ey.prototype.name_tag=Ey.prototype.name_tag,Ey.prototype.set_config=Ey.prototype.set_config,Ey.prototype.get_config=Ey.prototype.get_config,Ey.prototype.get_api_host=Ey.prototype.get_api_host,Ey.prototype.get_property=Ey.prototype.get_property,Ey.prototype.get_distinct_id=Ey.prototype.get_distinct_id,Ey.prototype.toString=Ey.prototype.toString,Ey.prototype.opt_out_tracking=Ey.prototype.opt_out_tracking,Ey.prototype.opt_in_tracking=Ey.prototype.opt_in_tracking,Ey.prototype.has_opted_out_tracking=Ey.prototype.has_opted_out_tracking,Ey.prototype.has_opted_in_tracking=Ey.prototype.has_opted_in_tracking,Ey.prototype.clear_opt_in_out_tracking=Ey.prototype.clear_opt_in_out_tracking,Ey.prototype.get_group=Ey.prototype.get_group,Ey.prototype.set_group=Ey.prototype.set_group,Ey.prototype.add_group=Ey.prototype.add_group,Ey.prototype.remove_group=Ey.prototype.remove_group,Ey.prototype.add_hook=Ey.prototype.add_hook,Ey.prototype.remove_hook=Ey.prototype.remove_hook,Ey.prototype.track_with_groups=Ey.prototype.track_with_groups,Ey.prototype.start_batch_senders=Ey.prototype.start_batch_senders,Ey.prototype.stop_batch_senders=Ey.prototype.stop_batch_senders,Ey.prototype.start_session_recording=Ey.prototype.start_session_recording,Ey.prototype.stop_session_recording=Ey.prototype.stop_session_recording,Ey.prototype.pause_session_recording=Ey.prototype.pause_session_recording,Ey.prototype.resume_session_recording=Ey.prototype.resume_session_recording,Ey.prototype.get_session_recording_properties=Ey.prototype.get_session_recording_properties,Ey.prototype.get_session_replay_url=Ey.prototype.get_session_replay_url,Ey.prototype.get_tab_id=Ey.prototype.get_tab_id,Ey.prototype.DEFAULT_API_ROUTES=xy,Ey.prototype.__get_recorder=Ey.prototype.__get_recorder,Ey.prototype.__get_recording_init_promise=Ey.prototype.__get_recording_init_promise,my.prototype.properties=my.prototype.properties,my.prototype.update_search_keyword=my.prototype.update_search_keyword,my.prototype.update_referrer_info=my.prototype.update_referrer_info,my.prototype.get_cross_subdomain=my.prototype.get_cross_subdomain,my.prototype.clear=my.prototype.clear;var Ty={},Py=function(){vy.init=function(e,t,r){if(r)return vy[r]||(vy[r]=Ty[r]=Ay(e,t,r),vy[r]._loaded()),vy[r];var i=vy;Ty[_y]?i=Ty[_y]:e&&((i=Ay(e,t,_y))._loaded(),Ty[_y]=i),vy=i,1===iy&&(n[_y]=vy),Ad.each(Ty,(function(e,t){t!==_y&&(vy[t]=e)})),vy._=Ad}};var Ny,Ly=(yy=function(e,t){t()},iy=0,vy=new Ey,Py(),vy.init(),function(){function e(){e.done||(e.done=!0,Oy=!0,Sy=!1,Ad.each(Ty,(function(e){e._dom_loaded()})))}if(_d.addEventListener)"complete"===_d.readyState?e():_d.addEventListener("DOMContentLoaded",e,!1);else if(_d.attachEvent){_d.attachEvent("onreadystatechange",e);var t=!1;try{t=null===n.frameElement}catch(e){}_d.documentElement.doScroll&&t&&function t(){try{_d.documentElement.doScroll("left")}catch(e){return void setTimeout(t,1)}e()}()}Ad.register_event(n,"load",e,!0)}(),vy),Fy=r(9494),Dy=r(9960),Uy=r(2735),By=function(){return Uy.B&&"localStorage"in window&&!!window.localStorage},jy=function(){function e(){}return e.prototype.get=function(e){try{return By()?function(e){var t=localStorage.getItem(e)||"null";return JSON.parse(t)}(e):null}catch(e){console.error(e)}return null},e.prototype.set=function(e,t){try{By()&&function(t){var r=JSON.stringify(t);localStorage.setItem(e,r)}(t)}catch(e){console.error(e)}},e}(),qy=new jy,zy=new Set(["utm_source","utm_medium","utm_campaign","utm_content","utm_term"]),Hy={manual:"manually",automatic:"automatically",fallback:"uninitialized"},Vy=function(e){var t=this;this.visit=function(e){return t.track("Visit",{Source:e})},this.track=function(e,t){return new Promise((function(r){return Ly.track(e,t,{},r)}))},this.set=function(e,t){return Ly.people.set(e,t)},this.set_once=function(e,t){return Ly.people.set_once(e,t)},this.increment=function(e,t){return void 0===t&&(t=1),Ly.people.increment(e,t)};var r,n=function(){var e=(new Date).toISOString(),t=qy.get("mg:visit-info")||{firstVisit:e,lastSeen:e,totalVisits:0},r=(0,i.Cl)((0,i.Cl)({},t),{firstVisit:new Date(t.firstVisit).toISOString(),lastSeen:e,totalVisits:t.totalVisits+1});return qy.set("mg:visit-info",r),r}(),o=(0,Dy.mt)(e),s=o.location.zipCodes[0],a=o.locationSource,c=o.userGroup,u=(0,i.Cl)({"MG ZIP":s,"ZIP setting":Hy[a],"Last seen":n.lastSeen,"Total visits":n.totalVisits,"First visit":n.firstVisit},(r={}
1,new URLSearchParams(location.search).forEach((function(e,t){zy.has(t)&&(r["".concat(t," [last touch]")]=e)})),r));Ly.init(e.config.mixpanelTrackingKey,{batch_flush_interval_ms:100,secure_cookie:!0,api_host:"https://mppx.marktguru.".concat("at"===e.config.content?"at":"de")}),Ly.identify(),Ly.register(u),this.increment("Total Visits",1),this.set_once("First Visit",n.firstVisit),this.set("System language",navigator.language),this.set("Signed in",!1),this.set("Last known MG-Zip",s),this.set("Location settings",Hy[a]),(0,Fy.j)(e.config).then((function(e){t.set_once("ClientKey",e)})),this.set_once("Local user group id",c)},Wy=function(e){return Ny||(Ny=new Vy(e)),Ny}},356(e,t,r){"use strict";r.d(t,{TG:()=>_,Ym:()=>y,Zq:()=>m,f$:()=>v});var n=r(1635);var i,o,s=r(1807),a=r(614),c={44:{name:"Adex (Virtual Minds GmbH)",consent:!0},50:{name:"Adform A/S",consent:!0,legitimateInterest:!0,controlsExternesKampagnentracking:!0},78:{name:"Flashtalking",consent:!0,controlsExternesKampagnentracking:!0},278:{name:"Integral Ad Science (incorporating ADmantX)",legitimateInterest:!0,controlsExternesKampagnentracking:!0},755:{name:"Google Advertising Products",consent:!0,legitimateInterest:!0,controlsExternesKampagnentracking:!0},758:{name:"Gfk SE",consent:!0,controlsExternesKampagnentracking:!0}},u=function(){},l=new Promise((function(e){u=e})),h=function(){return new Promise((function(e){setTimeout((function(){__tcfapi("getTCData",2,(function(t,r){r?e(function(e,t){for(var r=!0,i={},o=[],s=0,a=Object.entries(t);s<a.length;s++){var c=a[s],u=c[0],l=c[1],h=Number(u),p=!l.consent||!0===e.vendor.consents[h],f=!l.legitimateInterest||!0===e.vendor.legitimateInterests[h],d=p&&f;l.controlsExternesKampagnentracking||(i[l.name]=d),d&&o.push(h),l.controlsExternesKampagnentracking&&!d&&(r=!1)}return(0,n.Cl)({tcString:e.tcString,userConsentTcf:o,"Externes Kampagnentracking":r},i)}(t,c)):(console.warn("getTCData failed"),e(null))}))}),500)}))},p=function(e){return!!i&&i[e]},f=new Map,d=function(){(0,s.J)("https://web.cmp.usercentrics.eu/tcf/stub.js",{isAsync:!0}),(0,s.J)("https://web.cmp.usercentrics.eu/ui/loader.js",{id:"usercentrics-cmp",dataset:{settingsId:_boot.config.usercentricsId},isAsync:!0});var e=_();e&&(i=e,u(p)),window.addEventListener("onConsent",(function(e){return(0,n.sH)(void 0,[e],void 0,(function(e){var t,r,o,s,c=e.detail;return(0,n.YH)(this,(function(e){switch(e.label){case 0:return c?"EXPLICIT"!==c.type?[2]:(t=i,o=(r=Object).assign,s=[{},c],[4,h()]):(console.error("Empty Consent Event Data"),[2]);case 1:return i=o.apply(r,s.concat([e.sent()])),"consent_status"===c.event&&u(p),b(i),t&&f.forEach((function(e,r){var n=t[r],o=i[r];n!==o&&e.forEach((function(e){return e(!!o)}))})),(0,a.N)(_boot).set("User consent TCF",i.userConsentTcf),[2]}}))}))}))},g=!1,m=function(e,t){void 0===t&&(t=d),g||(e<=0?t():setTimeout((function(){return t()}),e),g=!0)},v=function(){return l},y=function(e,t){return f.has(e)||f.set(e,new Set),f.get(e).add(t),function(){var r=f.get(e);r&&(r.delete(t),0===r.size&&f.delete(e))}},_=function(){return void 0!==o||null!=(o=JSON.parse(localStorage.getItem("mg:consents")||"null"))?o:null},b=function(e){["gtm.uniqueEventId","event","usc_origin"].forEach((function(t){return delete e[t]})),o=e,localStorage.setItem("mg:consents",JSON.stringify(e))}},8508(e,t,r){"use strict";r.d(t,{R:()=>i,T:()=>o});var n=r(2735),i=function(e){if(n.B){var t=document.cookie.match(new RegExp("(?:^|; )".concat(e,"=([^;]*)")));return t?decodeURIComponent(t[1]):void 0}},o=function(e,t,r){if(void 0===r&&(r={}),n.B&&"undefined"!=typeof document){var i=r.expires,o=void 0===i?7:i,s=r.path,a=void 0===s?"/":s,c=r.domain,u=r.secure,l=void 0===u||u,h=r.sameSite,p=void 0===h?"Strict":h,f="number"==typeof o?new Date(Date.now()+1e3*o*60*60*24):o,d=["".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(t)),"expires=".concat(f.toUTCString()),"path=".concat(a),c&&"domain=".concat(c),l&&"secure",p&&"SameSite=".concat(p)].filter(Boolean).join("; ");globalThis.document.cookie=d}}},2961(e,t,r){"use strict";r.d(t,{JZ:()=>i,fi:()=>s,lq:()=>o});var n=function(e,t,r,n){return void 0===n&&(n=!0),{url:e,chunk:t,component:r,hardClientReload:n}},i={home:n("/","home",(function(){return r.e(962).then(r.bind(r,4514))})),topLeaflets:n("/prospekte","topLeaflets",(function(){return r.e(690).then(r.bind(r,2167))})),industryLeaflets:n("/ip/:name","industryLeaflets",(function(){return r.e(79).then(r.bind(r,6041))}
1)),industryOffers:n("/i/:industryName","industryOffers",(function(){return r.e(184).then(r.bind(r,769))})),topOffers:n("/angebote","topOffers",(function(){return r.e(681).then(r.bind(r,4166))})),offer:n("/offers/:offerId","offer",(function(){return r.e(895).then(r.bind(r,1809))})),search:n("/search/:query","search",(function(){return r.e(187).then(r.bind(r,9177))})),offerSearch:n("/search/:query/:offerId","offer",(function(){return r.e(895).then(r.bind(r,1809))})),cashbacks:n("/cashback","cashbacks",(function(){return r.e(10).then(r.bind(r,6045))})),cashbackDetails:n("/mb/:id","cashbackDetails",(function(){return r.e(379).then(r.bind(r,4592))})),store:n("/stores/:storeId","store",(function(){return r.e(581).then(r.bind(r,2451))})),stores:n("/stores","stores",(function(){return r.e(221).then(r.bind(r,2986))})),pageflipOverview:n("/leaflets/:leafletId/index","pageflipOverview",(function(){return r.e(406).then(r.bind(r,447))}),!1),pageflip:n("/leaflets/:leafletId/page/:pageIndex","pageflip",(function(){return r.e(223).then(r.bind(r,6599))}),!1),flight:n("/flights/:id","flight",(function(){return r.e(745).then(r.bind(r,2930))})),flightPage:n("/flights/:id/page/:pageIndex","flight",(function(){return r.e(745).then(r.bind(r,2930))})),retailerOffers:n("/r/:id","retailerOffers",(function(){return r.e(894).then(r.bind(r,1833))})),retailerIndex:n("/haendler","retailerIndex",(function(){return r.e(809).then(r.bind(r,4790))})),retailerLeaflets:n("/rp/:name","retailerLeaflets",(function(){return r.e(913).then(r.bind(r,7286))})),brandOffers:n("/b/:id","brandOffers",(function(){return r.e(419).then(r.bind(r,464))})),brandIndex:n("/marken","brandIndex",(function(){return r.e(118).then(r.bind(r,4073))})),categoryOffers:n("/c/:categoryName","categoryOffers",(function(){return r.e(34).then(r.bind(r,8861))})),promoCode:n("/promocode/:code","promoCode",(function(){return r.e(535).then(r.bind(r,1332))})),inviteInfo:n("/einladen","inviteInfo",(function(){return r.e(52).then(r.bind(r,3431))})),inviteLanding:n("/einladen/:code","inviteLanding",(function(){return r.e(65).then(r.bind(r,422))})),retailerLocationOffers:n("/rl/:retailerName/:locationName","retailerLocationOffers",(function(){return r.e(691).then(r.bind(r,8064))})),brandLocationOffers:n("/bl/:brandName/:locationName","brandLocationOffers",(function(){return r.e(302).then(r.bind(r,4225))})),retailerBrand:n("/rb/:retailerName/:brandName","retailerBrand",(function(){return r.e(146).then(r.bind(r,3757))}
1)),retailerCategory:n("/rc/:retailerName/:categoryName","retailerCategory",(function(){return r.e(251).then(r.bind(r,4168))})),retailerFeed:n("/feeds/:feedId","retailerFeed",(function(){return r.e(495).then(r.bind(r,3552))})),notFound:n("/404","notFound",(function(){return r.e(722).then(r.bind(r,3101))})),newsletter:n("/newsletter","newsletter",(function(){return r.e(190).then(r.bind(r,601))}))},o=Object.values(i).map((function(e){return e.chunk})).filter((function(e,t,r){return r.indexOf(e)===t})),s=function(e,t){void 0===t&&(t={});var r=e.url;return Object.keys(t).forEach((function(e){r=r.replace(":".concat(e),encodeURI("".concat(t[e])))})),r}},7390(e,t,r){"use strict";r.d(t,{Ix:()=>I,m0:()=>a,rd:()=>y,wE:()=>b});var n=r(172),i=r(5994),o={};function s(e,t){for(var r in t)e[r]=t[r];return e}function a(e,t,r){var n,i=/(?:\?([^#]*))?(#.*)?$/,s=e.match(i),a={};if(s&&s[1])for(var c=s[1].split("&"),u=0;u<c.length;u++){var h=c[u].split("=");a[decodeURIComponent(h[0])]=decodeURIComponent(h.slice(1).join("="))}e=l(e.replace(i,"")),t=l(t||"");for(var p=Math.max(e.length,t.length),f=0;f<p;f++)if(t[f]&&":"===t[f].charAt(0)){var d=t[f].replace(/(^:|[+*?]+$)/g,""),g=(t[f].match(/[+*?]+$/)||o)[0]||"",m=~g.indexOf("+"),v=~g.indexOf("*"),y=e[f]||"";if(!y&&!v&&(g.indexOf("?")<0||m)){n=!1;break}if(a[d]=decodeURIComponent(y),m||v){a[d]=e.slice(f).map(decodeURIComponent).join("/");break}}else if(t[f]!==e[f]){n=!1;break}return(!0===r.default||!1!==n)&&a}function c(e,t){return e.rank<t.rank?1:e.rank>t.rank?-1:e.index-t.index}function u(e,t){return e.index=t,e.rank=function(e){return e.props.default?0:l(e.props.path).map(h).join("")}(e),e.props}function l(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function h(e){return":"==e.charAt(0)?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}var p={},f=[],d=[],g=null,m={url:_()},v=(0,n.q6)(m);function y(){var e=(0,i.NT)(v);if(e===m){var t=(0,i.J0)()[1];(0,i.vJ)((function(){return d.push(t),function(){return d.splice(d.indexOf(t),1)}}),[])}return[e,b]}function _(){var e;return""+((e=g&&g.location?g.location:g&&g.getCurrentLocation?g.getCurrentLocation():"undefined"!=typeof location?location:p).pathname||"")+(e.search||"")}function b(e,t){return void 0===t&&(t=!1),"string"!=typeof e&&e.url&&(t=e.replace,e=e.url),function(e){for(var t=f.length;t--;)if(f[t].canRoute(e))return!0;return!1}(e)&&function(e,t){void 0===t&&(t="push"),g&&g[t]?g[t](e):"undefined"!=typeof history&&history[t+"State"]&&history[t+"State"](null,null,e)}(e,t?"replace":"push"),w(e)}function w(e){for(var t=!1,r=0;r<f.length;r++)f[r].routeTo(e)&&(t=!0);return t}function k(e){if(e&&e.getAttribute){var t=e.getAttribute("href"),r=e.getAttribute("target");if(t&&t.match(/^\//g)&&(!r||r.match(/^_?self$/i)))return b(t)}}function S(e){return e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault(),!1}function C(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button)){var t=e.target;do{if("a"===t.localName&&t.getAttribute("href")){if(t.hasAttribute("data-native")||t.hasAttribute("native"))return;if(k(t))return S(e)}}while(t=t.parentNode)}}var x=!1;function I(e){e.history&&(g=e.history),this.state={url:e.url||_()}}s(I.prototype=new n.uA,{shouldComponentUpdate:function(e){return!0!==e.static||e.url!==this.props.url||e.onChange!==this.props.onChange},canRoute:function(e){var t=(0,n.v2)(this.props.children);return void 0!==this.g(t,e)},routeTo:function(e){this.setState({url:e});var t=this.canRoute(e);return this.p||this.forceUpdate(),t},componentWillMount:function(){this.p=!0},componentDidMount:function(){var e=this;x||(x=!0,g||addEventListener("popstate",(function(){w(_())})),addEventListener("click",C)),f.push(this),g&&(this.u=g.listen((function(t){var r=t.location||t;e.routeTo(""+(r.pathname||"")+(r.search||""))}))),this.p=!1},componentWillUnmount:function(){"function"==typeof this.u&&this.u(),f.splice(f.indexOf(this),1)},componentWillUpdate:function(){this.p=!0},componentDidUpdate:function(){this.p=!1},g:function(e,t){e=e.filter(u).sort(c);for(var r=0;r<e.length;r++){var n=e[r],i=a(t,n.props.path,n.props);if(i)return[n,i]}},render:function(e,t){var r,i,o=e.onChange,a=t.url,c=this.c,u=this.g((0,n.v2)(e.children),a);if(u&&(i=(0,n.Ob)(u[0],s(s({url:a,matches:r=u[1]},r),{key:void 0,ref:void 0}))),a!==(c&&c.url)){s(m,c=this.c={url:a,previous:c&&c.url,current:i,path:i?i.props.path:null,matches:r}),c.router=this,c.active=i?[i]:[];for(var l=d.length;l--;)d[l]({});"function"==typeof o&&o(c)}return(0,n.h)(v.Provider,{value:c},i)}})},1635(e,t,r){"use strict";r.d(t,{C6:()=>i,Cl:()=>o,Tt:()=>s,YH:()=>c,fX:()=>u,sH:()=>a});
vendor: 4,732 bytes, line 1
1var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function s(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function a(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))}function c(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(c){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}Object.create;function u(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,loaded:!1,exports:{}};return i[e].call(r.exports,r,r.exports,s),r.loaded=!0,r.exports}s.m=i,s.amdO={},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);s.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&r;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>o[e]=()=>r[e]));return o.default=()=>r,s.d(i,o),i},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,r)=>(s.f[r](e,t),t)),[])),s.u=e=>({10:"cashbacks",34:"categoryOffers",52:"inviteInfo",65:"inviteLanding",79:"industryLeaflets",115:"teaser",118:"brandIndex",122:"retailerFeedModal",146:"retailerBrand",173:"homeGuru",184:"industryOffers",187:"search",190:"newsletter",221:"stores",223:"pageflip",251:"retailerCategory",302:"brandLocationOffers",325:"searchInput",334:"locationInput",379:"cashbackDetails",406:"pageflipOverview",419:"brandOffers",470:"setLocationPrompt",495:"retailerFeed",535:"promoCode",581:"store",590:"trackingLogic",605:"opening_hours",681:"topOffers",690:"topLeaflets",691:"retailerLocationOffers",722:"notFound",730:"installPrompt",745:"flight",809:"retailerIndex",830:"newsletterSignup",894:"retailerOffers",895:"offer",900:"agentkeepalive",913:"retailerLeaflets",962:"home"}[e]+"."+s.h()+".chunk.js"),s.miniCssF=e=>({10:"cashbacks",34:"categoryOffers",52:"inviteInfo",65:"inviteLanding",79:"industryLeaflets",115:"teaser",118:"brandIndex",122:"retailerFeedModal",146:"retailerBrand",184:"industryOffers",187:"search",190:"newsletter",221:"stores",223:"pageflip",251:"retailerCategory",302:"brandLocationOffers",325:"searchInput",334:"locationInput",379:"cashbackDetail
1s",406:"pageflipOverview",419:"brandOffers",470:"setLocationPrompt",495:"retailerFeed",535:"promoCode",581:"store",681:"topOffers",690:"topLeaflets",691:"retailerLocationOffers",722:"notFound",730:"installPrompt",809:"retailerIndex",830:"newsletterSignup",894:"retailerOffers",895:"offer",913:"retailerLeaflets",962:"home"}[e]+"."+s.h()+".css"),s.h=()=>"8ed9793adf25419cb9e9",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="marktguru.web:",s.l=(e,t,i,o)=>{if(r[e])r[e].push(t);else{var a,c;if(void 0!==i)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var h=u[l];if(h.getAttribute("src")==e||h.getAttribute("data-webpack")==n+i){a=h;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",n+i),a.src=e),r[e]=[t];var p=(t,n)=>{a.onerror=a.onload=null,clearTimeout(f);var i=r[e];if(delete r[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach((e=>e(n))),t)return t(n)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),s.dn=e=>{(Object.getOwnPropertyDescriptor(e,"name")||{}).writable||Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{if("undefined"!=typeof document){var e=e=>new Promise(((t,r)=>{var n=s.miniCssF(e),i=s.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var i=(s=r[n]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(i===e||i===t))return s}var o=document.getElementsByTagName("style");for(n=0;n<o.length;n++){var s;if((i=(s=o[n]).getAttribute("data-href"))===e||i===t)return s}})(n,i))return t();((e,t,r,n,i)=>{var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",s.nc&&(o.nonce=s.nc),o.onerror=o.onload=r=>{if(o.onerror=o.onload=null,"load"===r.type)n();else{var s=r&&r.type,a=r&&r.target&&r.target.href||t,c=new Error("Loading CSS chunk "+e+" failed.\n("+s+": "+a+")");c.name="ChunkLoadError",c.code="CSS_CHUNK_LOAD_FAILED",c.type=s,c.request=a,o.parentNode&&o.parentNode.removeChild(o),i(c)}},o.href=t,r?r.parentNode.insertBefore(o,r.nextSibling):document.head.appendChild(o)})(e,i,null,t,r)})),t={524:0};s.f.miniCss=(r,n)=>{t[r]?n.push(t[r]):0!==t[r]&&{10:1,34:1,52:1,65:1,79:1,115:1,118:1,122:1,146:1,184:1,187:1,190:1,221:1,223:1,251:1,302:1,325:1,334:1,379:1,406:1,419:1,470:1,495:1,535:1,581:1,681:1,690:1,691:1,722:1,730:1,809:1,830:1,894:1,895:1,913:1,962:1}[r]&&n.push(t[r]=e(r).then((()=>{t[r]=0}),(e=>{throw delete t[r],e})))}}})(),(()=>{var e={524:0};s.f.j=(t,r)=>{var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise(((r,i)=>n=e[t]=[r,i]));r.push(n[2]=i);var o=s.p+s.u(t),a=new Error;s.l(o,(r=>{if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,n[1](a)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,i,[o,a,c]=r,u=0;if(o.some((t=>0!==e[t]))){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(c)c(s)}for(t&&t(r);u<o.length;u++)i=o[u],s.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkmarktguru_web=self.webpackChunkmarktguru_web||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{"use strict";var e=s(1635),t=(s(7885),s(172)),r=s(7390),n=s(5994),i=s(1075);var o=s(2526),a=s(2961),c=/^([^.]+)\.[0-9a-f]+\.css$/,u=function(e){var t;if(e){var r=e.split("?")[0].split("/").pop()||"";return null===(t=c.exec(r))||void 0===t?void 0:t[1]}},l=function(e){var t=document.head.querySelectorAll('link[rel="stylesheet"], style[data-href]');!function(e,t,r){for(var n=0;n<r.length;n++){var i=r[n],o=i.getAttribute("data-href")||i.getAttribute("href"),s=u(o);s&&t.indexOf(s)>=0&&(i.disabled=s!==e)}}(e,a.lq,t)},h=!1,p=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.load=function(){var r;r=t.props.url,(0,e.sH)(t,void 0,void 0,(function(){var t,n,o=this;return(0,e.YH)(this,(function(e){switch(e.label){case 0:return(0,i.KG)(),[4,this.props.onBeforeRouteLoaded()];case 1:return!1===e.sent()?((0,i.wI)(),[2]):[4,this.props.import()];case 2:return t=e.sent(),r===this.props.url&&(n=function(e){if(!h)return h=!0,e.data}(this.context),!t.init||n&&this.context.defaultLocation.zipCodes[0]===this.context.location.zipCodes[0]?this.set({component:t.default,data:n,transition:!n}
1):t.init(this.props,this.context).then((function(e){o.set({component:t.default,data:e,transition:!0})}))),[2]}}))}))},t}return(0,e.C6)(n,r),n.prototype.componentDidMount=function(){this.load()},n.prototype.set=function(e){var t,r,n,s=this;l(this.props.chunk),this.setState(e),(0,i.wI)(),document.title=(null===(r=null===(t=e.data)||void 0===t?void 0:t.meta)||void 0===r?void 0:r.title)||(n=this.context,(0,o.b)(n)?"marktguru.at - Aktionen, Angebote & Flugblätter":"marktguru.de - Prospekte, Angebote & Cashback"),e.transition&&setTimeout((function(){s.setClass("fade in")}),50),this.props.onRouteLoaded({url:this.props.url,data:e.data,ctx:this.context})},n.prototype.setClass=function(e){this.base&&"setAttribute"in this.base&&this.base.setAttribute("class",e)},n.prototype.componentDidUpdate=function(e){var t,r,n=this;e.url===this.props.url||!this.props.hardReload&&e.path===this.props.path||(null===(r=(t=this.props).onRouteUnloaded)||void 0===r||r.call(t,{url:e.url}),this.setClass("fade out"),setTimeout((function(){n.setState({component:void 0},(function(){n.load()}))}),300))},n.prototype.render=function(r,n){if(!n.component)return null;var i=function(e){var t={};if(!e)return t;try{var r=new URL(e,"https://marktguru.de"),n=new URLSearchParams(r.
1search);return Object.fromEntries(n)}catch(e){return console.error("Invalid URL:",e),t}}(this.props.url),o=(0,e.Cl)((0,e.Cl)((0,e.Cl)({},r),n.data),{queryStrings:i});return(0,t.h)("div",{class:n.transition?"fade":"fade in"},(0,t.h)(n.component,o))},n}(t.uA);function f(t){return(0,e.sH)(this,void 0,void 0,(function(){var r,n,i;return(0,e.YH)(this,(function(e){switch(e.label){case 0:r="".concat(globalThis.location.origin,"/").concat("api"),e.label=1;case 1:return e.trys.push([1,4,,5]),[4,fetch("".concat(r,"/").concat(t))];case 2:if(!(n=e.sent()).ok)throw new Error("".concat(n.status,": ").concat(n.statusText));return[4,n.json()];case 3:return[2,e.sent()];case 4:return i=e.sent(),console.error("Failed to fetch API request",i),[3,5];case 5:return[2]}}))}))}var d=s(3133),g=s(217),m=s(4813),v=s(4697),y=s(1578),_=s(4277),b=function(){return(0,t.h)("div",{className:"reviews"},(0,t.h)("div",{className:"best-app"},(0,t.h)("h3",null,"Ausgezeichnet"),(0,t.h)(_.o,{alt:"Auszeichnung: Beste App",srcSet:[{src:"/assets/images/footer/beste-app_2026-97.webp",width:97},{src:"/assets/images/footer/[email protected]",width:194},{src:"/assets/images/footer/beste-app_2026-160.webp",width:160},{src:"/assets/images/footer/[email protected]",width:320}],sizes:"(min-width: 1200px) 160px, 97px",width:160,height:180,threshold:0})),(0,t.h)("div",null,(0,t.h)("h3",null,"Bekannt aus der TV Werbung"),(0,t.h)("div",{className:"tv"},(0,t.h)(_.o,{alt:"ZDF: Zweites Deutsches Fernsehen",src:"/assets/images/footer/zdf.svg",width:1,height:1,threshold:0}),(0,t.h)(_.o,{alt:"ProSieben: ein deutscher Privatsender",src:"/assets/images/footer/pro-7.svg",width:1,height:1,threshold:0}),(0,t.h)(_.o,{alt:"Sat.1: ein deutscher privater Fernsehsender mit Vollprogramm",src:"/assets/images/footer/sat-1.webp",width:1,height:1,threshold:0}))))},w=function(e,r){var n=r.content.footer,i=n.links,o=n.legalLinks,s=n.facebook,a=n.instagram,c=n.tiktok,u=n.whatsapp,l=n.youtube,h=n.cr;return(0,t.h)("footer",null,(0,t.h)("div",{className:"pcontainer row"},(0,t.h)("div",{className:"footer-top"},(0,t.h)("div",null,(0,t.h)("h2",null,"Jetzt App downloaden und beim nächsten ",(0,t.h)("strong",null,"Einkauf sparen!")),(0,t.h)(y.X,{size:{width:162,height:48}}),(0,t.h)(b,null)),(0,t.h)("div",{className:"phone"},(0,t.h)(_.o,{srcSet:[{src:"/assets/images/footer/phone-img.webp",width:688},{src:"/assets/images/footer/[email protected]",width:1376},{src:"/assets/images/footer/[email protected]",width:2064}],height:638,width:688,alt:""})))),(0,t.h)("div",{className:"footer-bottom"},(0,t.h)("div",{className:"pcontainer row"},(0,t.h)("div",{className:"footer-bottom-grid"},(0,t.h)("div",{className:"footer-social"},(0,t.h)(v.A,{url:c,path:"/assets/images/footer/social_tt.svg",alt:"tiktok",target:"_blank",width:32,height:32,threshold:0}),(0,t.h)(v.A,{url:u,path:"/assets/images/footer/social_wa.svg",alt:"whatsapp",target:"_blank",width:32,height:32,threshold:0}),(0,t.h)(v.A,{url:s,path:"/assets/images/footer/social_fb.svg",alt:"facebook",target:"_blank",width:32,height:32,threshold:0}),(0,t.h)(v.A,{url:a,path:"/assets/images/footer/social_ig.svg",alt:"instagram",target:"_blank",width:32,height:32,threshold:0}),(0,t.h)(v.A,{url:l,path:"/assets/images/footer/social_yt.svg",alt:"youtube",target:"_blank",width:32,height:32,threshold:0})),(0,t.h)("ul",{className:"footer-links"},i.map((function(e,r){return(0,t.h)("li",{key:r},(0,t.h)("a",{href:e[1],target:"_blank",rel:"noopener noreferrer"},e[0]))}))),(0,t.h)("ul",{className:"footer-legal-links"},o.map((function(e,r){return(0,t.h)("li",{key:r},(0,t.h)("a",{href:e[1],target:"_blank",rel:"noopener noreferrer"},e[0]))})),(0,t.h)("li",null,(0,t.h)("button",{className:"btn-link",onClick:function(e){var t;e.preventDefault(),null===(t=globalThis.__ucCmp)||void 0===t||t.showSecondLayer()}},"Privatsphären-Einstellungen"))),(0,t.h)("small",null,(new Date).getFullYear()," © ",h)))))},k=s(346),S=s(8605),C=s(2595),x=s(192),I=function(e){var r=e.onLoad,i=e.showDialog,o=(0,n.J0)(!1),a=o[0],c=o[1],u=(0,n.J0)(null),l=u[0],h=u[1],p=(0,n.J0)(!1),f=p[0],d=p[1];return(0,n.vJ)((function(){window.addEventListener("beforeinstallprompt",(function(e){e.preventDefault(),c(!1),h(e)})),setTimeout((function(){l&&d(!0)}),9e4)})),l&&(0,t.h)(t.FK,null,(0,t.h)("button",{className:"install-btn btn-link",onClick:function(){return null==l?void 0:l.prompt()}},(0,t.h)("img",{alt:"Zum Startbildschirm hinzufügen",className:"addhome ".concat(a?"jiggle":""),src:"/assets/addhome.svg",width:32,height:32})),f&&i&&(0,t.h)(x.k,{resolve:function(){return s.e(730).then(s.bind(s,2993))},trigger:function(){return null==l?void 0:l.prompt()},onLoad:function(){c(!0),r()},onClose:function(){return c(!1)}}))},O=s(2735),E=0,A=!1,M=[];O.B&&globalThis.addEventListener("scroll",(function(){var e=globalThis.scrollY||(document.documentElement?document.documentElement.scrollTop:0),t=e>E&&e>120;t!==A&&M.forEach((function(e){return e.classList[t?"add":"remove"]("down")})),A=t,E=e<=0?0:e}),{passive:!0});var R=s(3531),T=s(526),P=s(7427),N=function(t){function r(e){var r=t.call(this,"users",e)||this;return r.isLoggedIn=function(){return void 0!==(0,P.d)()},r.profile=function(){return(0,P.d)()?r.request("".concat(r.url,"/profile")):Promise.resolve({status:403,data:void 0})},r.logout=function(){return(0,T.px)({method:"POST",url:"".concat(r.url,"/logout"),params:{all:!0},config:r.config})},r}return(0,e.C6)(r,t),r}(R.jI),L=(0,R.tH)("userApi",N),F=(0,t.q6)({user:void 0,setUser:function(e){return e}}),D=function(e,r){var i=e.children,o=(0,n.J0)(void 0),s=o[0],a=o[1];return(0,n.vJ)((function(){L(r).profile().then((function(e){return a(e.data)}))}),[]),(0,t.h)(F.Provider,{value:{user:s,setUser:a}},i)},U=s(7636),B=s(8795);const j=function(e){var n=e.children,i=function(e){return!(0,r.m0)(e,a.JZ.pageflip.url,{})}((0,r.rd)()[0].url);return(0,t.h)("div",{className:"ads-layout"},i&&(0,t.h)("div",{className:"ad-rail"},(0,t.h)(B.A,{position:"left"})),(0,t.h)("div",{className:"ads-app-content pcontainer"},i&&(0,t.h)(B.A,{position:"top"}),n),i&&(0,t.h)("div",{className:"ad-rail"},(0,t.h)(B.A,{position:"right"})))};const q=function(r){var i=r.buttonTitle,o=r.buttonUrl,a=r.message,c=r.title,u=r.ctx;(0,n.vJ)((function(){(0,e.sH)(void 0,void 0,void 0,(function(){return(0,e.YH)(this,(function(e){switch(e.label){case 0:return[4,s.e(590).then(s.bind(s,100))];case 1:return[2,e.sent().maintenancePageShown({ctx:u})]}}))}))}),[u]);return(0,t.h)("div",{className:"maintenance"},(0,t.h)(C.A,{className:"maintenance-mg-logo",alt:"",width:64,height:38}),(0,t.h)(_.o,{src:"./assets/icons/mm.svg",alt:"",width:180,height:130,instant:!0}),(0,t.h)("div",{className:"maintenance-content"},(0,t.h)("h1",null,c),(0,t.h)("p",null,a)),i&&o?(0,t.h)("a",{href:o,onClick:function(){(0,e.sH)(void 0,void 0,void 0,(function(){return(0,e.YH)(this,(function(e){switch(e.label){case 0:return[4,s.e(590).then(s.bind(s,100))];case 1:return[2,e.sent().maintenancePageLinkClicked({ctx:u,url:o})]}}))}))}},i):null)};var z=s(9960),H=s(8508),V=function(e){var r=e.onInteract;return(0,t.h)("div",{className:"search-box",role:"search"},(0,t.h)("input",{onFocus:function(){return null==r?void 0:r()},placeholder:"Suche z.B.: Bier, Kaffee, Cola ...","aria-label":"search",className:"search",type:"text"}),(0,t.h)("button",{className:"search-pin-button btn-link"},(0,t.h)(k.A,{class:"search-pin"}
1)))},W=function(r){function n(){var t=null!==r&&r.apply(this,arguments)||this;return t.getContext=function(){var e=(0,z.mt)(t.props.defaults).location;return Object.assign(t.props.defaults,{location:e})},t.setModel=function(r){return t.setState((function(t){return(0,e.Cl)((0,e.Cl)({},t),r)}))},t.scrollToMainContent=function(e){e.preventDefault();var t=document.getElementById("main-content");t&&(t.tabIndex=-1,t.focus())},t}return(0,e.C6)(n,r),n.prototype.getChildContext=function(){return this.getContext()},n.prototype.shouldShowNewsletter=function(){return!(0,o.b)(this.props.defaults)&&(!(0,H.R)("mg:newsletter")&&("/newsletter"!==location.pathname&&"data_insights"!==new URLSearchParams(location.search).get("utm_source")))},n.prototype.componentWillMount=function(){O.B?this.setState({showUspHeader:"false"!==localStorage.getItem("uspHeader")}):this.setState({showUspHeader:!0})},n.prototype.componentDidMount=function(){var e,t,r=this;if((t=null===(e=this.base)||void 0===e?void 0:e.parentElement)&&M.push(t),O.B&&(setTimeout((function(){r.setState({showLocationPrompt:!0,showInstall:!0})}),6e3),(0,z.bS)(this.props.defaults)),this.shouldShowNewsletter()){var n=window.matchMedia("(max-width: 767px)").matches;setTimeout((function(){r.setModel({showNewsletterSignup:!0}),document.body.classList.add("noscroll")}),n?18e4:6e4)}this.state.showUspHeader&&setTimeout((function(){r.setState({showUspHeader:!1}),localStorage.setItem("uspHeader","false")}),12e4)},n.prototype.getLocation=function(){var e=this.props.defaults,t=(0,z.mt)(e),r=t.location,n="manual"===t.locationSource||e.defaultLocation.id,i=r.name||"";return-1===i.indexOf(")",i.length-1)&&(i="".concat(r.zipCodes[0]," ").concat(r.name)),n?i:void 0},n.prototype.closeNewsletterSignup=function(){this.setModel({showNewsletterSignup:!1}),document.body.classList.remove("noscroll")},n.prototype.render=function(r,n){var i,a=this,c=this.getLocation();return this.props.maintenanceModeData?(0,t.h)(q,(0,e.Cl)({},this.props.maintenanceModeData,{ctx:this.props.defaults})):(0,t.h)(D,null,(0,t.h)("a",{className:"skip-link",href:"#main-content",onClick:this.scrollToMainContent},"Zum Hauptinhalt springen"),(0,t.h)("header",{className:"head"},this.state.showUspHeader&&(0,t.h)("ul",{className:"usp pcontainer row"},(i=r.defaults,["DIE Angebote App","".concat((0,U.TZ)(i.stats.totalOfferLeafletCount)," ").concat((0,o.b)(i)?"Flugblätter":"Prospekte"," & Angebote")]).map((function(e,r){return(0,t.h)("li",{key:r},e)}))),(0,t.h)("div",{className:"app-header"},(0,t.h)("div",{className:"header-wrapper"},(0,t.h)("a",{href:"/",className:"logo",title:"Startseite"},(0,t.h)(C.A,null)),(0,t.h)("div",{className:"search-holder ".concat(n.showMenu?"show":"")},(0,t.h)("p",null,"EIN ",(0,t.h)("b",null,"KLICK")," - DEINE ",(0,t.h)("b",null,"PROSPEKTE")," IM BLICK"),n.showSearch?(0,t.h)(x.k,{resolve:function(){return s.e(325).then(s.bind(s,4127))},onClose:function(){return a.setModel({showMenu:!1})}},(0,t.h)(V,null)):(0,t.h)(V,{onInteract:function(){return a.setModel({showSearch:!0})}})),(0,t.h)("div",{className:"header-content"},(0,t.h)("div",{className:"popup-button-container"},(0,t.h)(I,{onLoad:function(){return a.setState({showLocationPrompt:!1})},showDialog:this.state.showInstall})),(0,t.h)("button",{className:"search-pin btn-link",onClick:function(){return a.setModel({showMenu:!a.state.showMenu,showSearch:!0})}},(0,t.h)(k.A,null)),(0,t.h)("div",{className:"popup-button-container"},(0,t.h)("button",{className:"location-pin btn-link",onClick:function(){return a.setModel({showLocation:!0})}},(0,t.h)(S.A,null),(0,t.h)("div",{className:"location-text-wrapper",onClick:function(){return a.setState({showLocation:!0,showLocationPrompt:!1})}},(0,t.h)("span",{className:"location-text"},c),(0,t.h)("div",{className:"location-default-text"},c?"Ort ändern":(0,t.h)("div",null,"Standort festlegen")))),this.state.showLocation&&(0,t.h)(x.k,{resolve:function(){return s.e(334).then(s.bind(s,6508))},onClose:function(){return a.setModel({showLocation:!1})}}),this.state.showLocationPrompt&&(0,t.h)(x.k,{resolve:function(){return s.e(470).then(s.bind(s,145))},onClose:function(){return a.setModel({showLocationPrompt:!1})},onClick:function(){return a.setModel({showLocationPrompt:!1,showLocation:!0}
1)},onLoad:function(){return a.setModel({showInstall:!1})}}))))),(0,t.h)("nav",{className:"nav"},(0,t.h)("ul",{className:"pcontainer row"},[["prospekte","Prospekte"],["angebote","Angebote"],["cashback","Cashback"]].map((function(e,r){return(0,t.h)("li",{key:r,className:"col"},(0,t.h)("a",{className:"nav-".concat(r),href:"/".concat(e[0])},e[1]))}))))),(0,t.h)("div",{className:"app-content ".concat(this.state.showUspHeader?"":"nouspheader")},(0,t.h)(j,null,r.children)),(0,t.h)(w,null),this.state.showNewsletterSignup&&(0,t.h)(x.k,{resolve:function(){return s.e(830).then(s.bind(s,4625))},closeNewsletterSignup:function(){return a.closeNewsletterSignup()}}))},n}(t.uA),$=s(356),G=!1;const J=function(t){return(0,e.sH)(void 0,void 0,void 0,(function(){return(0,e.YH)(this,(function(e){switch(e.label){case 0:return G?[2]:(G=!0,(0,$.Ym)("Google Tag Manager",(function(){globalThis.location.reload()})),[4,(0,$.f$)()]);case 1:return e.sent()("Google Tag Manager")&&function(e,t,r,n,i){e[n]=e[n]||[],e[n].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var o=t.getElementsByTagName(r)[0],s=t.createElement(r),a="dataLayer"!==n?"&l=".concat(n):"";s.async=!0,s.src="https://www.googletagmanager.com/gtm.js?id=".concat(i).concat(a),o.parentNode.insertBefore(s,o)}(window,document,"script","dataLayer",t),[2]}}))}))};var Y=function(){var i=(0,n.J0)(),o=i[0],s=i[1];return(0,t.h)(W,{defaults:_boot,maintenanceModeData:o},(0,t.h)(r.Ix,null,Object.keys(a.JZ).map((function(r){var n=a.JZ[r];return(0,t.h)(p,{default:"notFound"===r,path:n.url,chunk:n.chunk,import:n.component,hardReload:n.hardClientReload,onBeforeRouteLoaded:function(){return(0,e.sH)(void 0,void 0,void 0,(function(){var t;return(0,e.YH)(this,(function(r){switch(r.label){case 0:return!0===_boot.dev?[2,!0]:[4,(0,e.sH)(void 0,void 0,void 0,(function(){var t,r;return(0,e.YH)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,f("maintenance-mode")];case 1:if(!(t=e.sent()))throw new Error('Invalid maintenance mode data "'.concat(t,'"'));return[2,t.data];case 2:return r=e.sent(),console.error("Failed to fetch maintenance mode status",r),[2];case 3:return[2]}}
1))}))];case 1:return t=r.sent(),s(t),[2,!t]}}))}))},onRouteLoaded:function(e){var t;document.body.setAttribute("class","".concat(n.url.split("/")[1],"-route")),(0,d.u3)(e),t=e,(0,g.u4)("setSourceFromUrl",t.url),(0,m.A)("track_page_view",{source:location.href,zip_code:t.ctx.location.zipCodes[0]}),(0,g.u4)("visit",t),(0,d.d5)(n)},onRouteUnloaded:function(e){(0,d.Mv)(e)}})}))))};"serviceWorker"in navigator&&navigator.serviceWorker.register("/service-worker.js").catch((function(e){return console.warn("Service worker registration failed",e)})),_boot.start=function(){return(0,t.XX)((0,t.h)(Y,null),document.getElementById("app"))},_boot.dev&&_boot.start(),(0,g.i0)(),J(_boot.config.tagManagerKey)})()})();(self.webpackChunkmarktguru_web=self.webpackChunkmarktguru_web||[]).push([[223,590],{5551(){var e,t,n,i,r,o;_boot.config.facebookKey&&(e=window,t=document,n="script",e.fbq||(i=e.fbq=function(){i.callMethod?i.callMethod.apply(i,arguments):i.queue.push(arguments)},e._fbq||(e._fbq=i),i.push=i,i.loaded=!0,i.version="2.0",i.queue=[],(r=t.createElement(n)).async=!0,r.src="https://connect.facebook.net/en_US/fbevents.js",(o=t.getElementsByTagName(n)[0]).parentNode.insertBefore(r,o)),fbq("init",_boot.config.facebookKey),fbq("track","PageView"))},7168(e,t,n){var i;!function(r,o,a,s){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],u=o.createElement("div"),d=Math.round,h=Math.abs,f=Date.now;function p(e,t,n){return setTimeout(w(e,n),t)}function v(e,t,n){return!!Array.isArray(e)&&(m(e,n[t],n),!0)}function m(e,t,n){var i;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==s)for(i=0;i<e.length;)t.call(n,e[i],i,e),i++;else for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function g(e,t,n){var i="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),e.apply(this,arguments)}}l="function"!=typeof Object.assign?function(e){if(e===s||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==s&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])}return t}:Object.assign;var b=g((function(e,t,n){for(var i=Object.keys(t),r=0;r<i.length;)(!n||n&&e[i[r]]===s)&&(e[i[r]]=t[i[r]]),r++;return e}),"extend","Use `assign`."),y=g((function(e,t){return b(e,t,!0)}),"merge","Use `assign`.");function x(e,t,n){var i,r=t.prototype;(i=e.prototype=Object.create(r)).constructor=e,i._super=r,n&&l(i,n)}function w(e,t){return function(){return e.apply(t,arguments)}}function I(e,t){return"function"==typeof e?e.apply(t&&t[0]||s,t):e}function S(e,t){return e===s?t:e}function C(e,t,n){m(O(t),(function(t){e.addEventListener(t,n,!1)}))}function T(e,t,n){m(O(t),(function(t){e.removeEventListener(t,n,!1)}))}function k(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function E(e,t){return e.indexOf(t)>-1}function O(e){return e.trim().split(/\s+/g)}function N(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var i=0;i<e.length;){if(n&&e[i][n]==t||!n&&e[i]===t)return i;i++}return-1}function M(e){return Array.prototype.slice.call(e,0)}function A(e,t,n){for(var i=[],r=[],o=0;o<e.length;){var a=t?e[o][t]:e[o];N(r,a)<0&&i.push(e[o]),r[o]=a,o++}return n&&(i=t?i.sort((function(e,n){return e[t]>n[t]})):i.sort()),i}function D(e,t){for(var n,i,r=t[0].toUpperCase()+t.slice(1),o=0;o<c.length;){if((i=(n=c[o])?n+r:t)in e)return i;o++}return s}var P=1;function _(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||r}var z="ontouchstart"in r,F=D(r,"PointerEvent")!==s,H=z&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),R="touch",L="mouse",W=24,Y=["x","y"],B=["clientX","clientY"];function X(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){I(e.options.enable,[e])&&n.handler(t)},this.init()}function q(e,t,n){var i=n.pointers.length,r=n.changedPointers.length,o=1&t&&i-r==0,a=12&t&&i-r==0;n.isFirst=!!o,n.isFinal=!!a,o&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,i=t.pointers,r=i.length;n.firstInput||(n.firstInput=J(t));r>1&&!n.firstMultiple?n.firstMultiple=J(t):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,l=a?a.center:o.center,c=t.center=U(i);t.timeStamp=f(),t.deltaTime=t.timeStamp-o.timeStamp,t.angle=$(l,c),t.distance=j(l,c),function(e,t){var n=t.center,i=e.offsetDelta||{},r=e.prevDelta||{},o=e.prevInput||{};1!==t.eventType&&4!==o.eventType||(r=e.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y});t.deltaX=r.x+(n.x-i.x),t.deltaY=r.y+(n.y-i.y)}(n,t),t.offsetDirection=G(t.deltaX,t.deltaY);var u=Z(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=u.x,t.overallVelocityY=u.y,t.overallVelocity=h(u.x)>h(u.y)?u.x:u.y,t.scale=a?(d=a.pointers,p=i,j(p[0],p[1],B)/j(d[0],d[1],B)):1,t.rotation=a?function(e,t){return $(t[1],t[0],B)+$(e[1],e[0],B)}(a.pointers,i):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,i,r,o,a=e.lastInterval||t,l=t.timeStamp-a.timeStamp;if(8!=t.eventType&&(l>25||a.velocity===s)){var c=t.deltaX-a.deltaX,u=t.deltaY-a.deltaY,d=Z(l,c,u);i=d.x,r=d.y,n=h(d.x)>h(d.y)?d.x:d.y,o=G(c,u),e.lastInterval=t}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;t.velocity=n,t.velocityX=i,t.velocityY=r,t.direction=o}(n,t);var d,p;var v=e.element;k(t.srcEvent.target,v)&&(v=t.srcEvent.target);t.target=v}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function J(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:d(e.pointers[n].clientX),clientY:d(e.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:t,center:U(t),deltaX:e.deltaX,deltaY:e.deltaY}}function U(e){var t=e.length;if(1===t)return{x:d(e[0].clientX),y:d(e[0].clientY)};for(var n=0,i=0,r=0;r<t;)n+=e[r].clientX,i+=e[r].clientY,r++;return{x:d(n/t),y:d(i/t)}}function Z(e,t,n){return{x:t/e||0,y:n/e||0}}function G(e,t){return e===t?1:h(e)>=h(t)?e<0?2:4:t<0?8:16}function j(e,t,n){n||(n=Y);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return Math.sqrt(i*i+r*r)}function $(e,t,n){n||(n=Y);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return 180*Math.atan2(r,i)/Math.PI}X.prototype={handler:function(){},init:function(){this.evEl&&C(this.element,this.evEl,this.domHandler),this.evTarget&&C(this.target,this.evTarget,this.domHandler),this.evWin&&C(_(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&T(this.element,this.evEl,this.domHandler),this.evTarget&&T(this.target,this.evTarget,this.domHandler),this.evWin&&T(_(this.element),this.evWin,this.domHandler)}};
1var V={mousedown:1,mousemove:2,mouseup:4},K="mousedown",Q="mousemove mouseup";function ee(){this.evEl=K,this.evWin=Q,this.pressed=!1,X.apply(this,arguments)}x(ee,X,{handler:function(e){var t=V[e.type];1&t&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=4),this.pressed&&(4&t&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:L,srcEvent:e}))}});var te={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},ne={2:R,3:"pen",4:L,5:"kinect"},ie="pointerdown",re="pointermove pointerup pointercancel";function oe(){this.evEl=ie,this.evWin=re,X.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(ie="MSPointerDown",re="MSPointerMove MSPointerUp MSPointerCancel"),x(oe,X,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),r=te[i],o=ne[e.pointerType]||e.pointerType,a=o==R,s=N(t,e.pointerId,"pointerId");1&r&&(0===e.button||a)?s<0&&(t.push(e),s=t.length-1):12&r&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,r,{pointers:t,changedPointers:[e],pointerType:o,srcEvent:e}),n&&t.splice(s,1))}});var ae={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function se(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,X.apply(this,arguments)}function le(e,t){var n=M(e.touches),i=M(e.changedTouches);return 12&t&&(n=A(n.concat(i),"identifier",!0)),[n,i]}x(se,X,{handler:function(e){var t=ae[e.type];if(1===t&&(this.started=!0),this.started){var n=le.call(this,e,t);12&t&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:R,srcEvent:e})}}});var ce={touchstart:1,touchmove:2,touchend:4,touchcancel:8},ue="touchstart touchmove touchend touchcancel";function de(){this.evTarget=ue,this.targetIds={},X.apply(this,arguments)}function he(e,t){var n=M(e.touches),i=this.targetIds;if(3&t&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=M(e.changedTouches),s=[],l=this.target;if(o=n.filter((function(e){return k(e.target,l)})),1===t)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<a.length;)i[a[r].identifier]&&s.push(a[r]),12&t&&delete i[a[r].identifier],r++;return s.length?[A(o.concat(s),"identifier",!0),s]:void 0}x(de,X,{handler:function(e){var t=ce[e.type],n=he.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:R,srcEvent:e})}});function fe(){X.apply(this,arguments);var e=w(this.handler,this);this.touch=new de(this.manager,e),this.mouse=new ee(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function pe(e,t){1&e?(this.primaryTouch=t.changedPointers[0].identifier,ve.call(this,t)):12&e&&ve.call(this,t)}function ve(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout((function(){var e=i.indexOf(n);e>-1&&i.splice(e,1)}),2500)}}function me(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(t-r.x),a=Math.abs(n-r.y);if(o<=25&&a<=25)return!0}return!1}x(fe,X,{handler:function(e,t,n){var i=n.pointerType==R,r=n.pointerType==L;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)pe.call(this,t,n);else if(r&&me.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ge=D(u.style,"touchAction"),be=ge!==s,ye="compute",xe="auto",we="manipulation",Ie="none",Se="pan-x",Ce="pan-y",Te=function(){if(!be)return!1;var e={},t=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){e[n]=!t||r.CSS.supports("touch-action",n)})),e}();function ke(e,t){this.manager=e,this.set(t)}ke.prototype={set:function(e){e==ye&&(e=this.compute()),be&&this.manager.element.style&&Te[e]&&(this.manager.element.style[ge]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return m(this.manager.recognizers,(function(t){I(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),function(e){if(E(e,Ie))return Ie;var t=E(e,Se),n=E(e,Ce);if(t&&n)return Ie;if(t||n)return t?Se:Ce;if(E(e,we))return we;return xe}(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var i=this.actions,r=E(i,Ie)&&!Te[Ie],o=E(i,Ce)&&!Te[Ce],a=E(i,Se)&&!Te[Se];if(r){var s=1===e.pointers.length,l=e.distance<2,c=e.deltaTime<250;
1if(s&&l&&c)return}if(!a||!o)return r||o&&6&n||a&&n&W?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var Ee=32;function Oe(e){this.options=l({},this.defaults,e||{}),this.id=P++,this.manager=null,this.options.enable=S(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function Ne(e){return 16&e?"cancel":8&e?"end":4&e?"move":2&e?"start":""}function Me(e){return 16==e?"down":8==e?"up":2==e?"left":4==e?"right":""}function Ae(e,t){var n=t.manager;return n?n.get(e):e}function De(){Oe.apply(this,arguments)}function Pe(){De.apply(this,arguments),this.pX=null,this.pY=null}function _e(){De.apply(this,arguments)}function ze(){Oe.apply(this,arguments),this._timer=null,this._input=null}function Fe(){De.apply(this,arguments)}function He(){De.apply(this,arguments)}function Re(){Oe.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Le(e,t){return(t=t||{}).recognizers=S(t.recognizers,Le.defaults.preset),new We(e,t)}Oe.prototype={defaults:{},set:function(e){return l(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(v(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=Ae(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return v(e,"dropRecognizeWith",this)||(e=Ae(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(v(e,"requireFailure",this))return this;var t=this.requireFail;return-1===N(t,e=Ae(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(v(e,"dropRequireFailure",this))return this;e=Ae(e,this);var t=N(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function i(n){t.manager.emit(n,e)}n<8&&i(t.options.event+Ne(n)),i(t.options.event),e.additionalEvent&&i(e.additionalEvent),n>=8&&i(t.options.event+Ne(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=Ee},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(33&this.requireFail[e].state))return!1;e++}return!0},recognize:function(e){var t=l({},e);if(!I(this.options.enable,[this,t]))return this.reset(),void(this.state=Ee);56&this.state&&(this.state=1),this.state=this.process(t),30&this.state&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},x(De,Oe,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,i=6&t,r=this.attrTest(e);return i&&(8&n||!r)?16|t:i||r?4&n?8|t:2&t?4|t:2:Ee}}),x(Pe,De,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var e=this.options.direction,t=[];return 6&e&&t.push(Ce),e&W&&t.push(Se),t},directionTest:function(e){var t=this.options,n=!0,i=e.distance,r=e.direction,o=e.deltaX,a=e.deltaY;return r&t.direction||(6&t.direction?(r=0===o?1:o<0?2:4,n=o!=this.pX,i=Math.abs(e.deltaX)):(r=0===a?1:a<0?8:16,n=a!=this.pY,i=Math.abs(e.deltaY))),e.direction=r,n&&i>t.threshold&&r&t.direction},attrTest:function(e){return De.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=Me(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),x(_e,De,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ie]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),x(ze,Oe,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[xe]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime>t.time;if(this._input=e,!i||!n||12&e.eventType&&!r)this.reset();else if(1&e.eventType)this.reset(),this._timer=p((function(){this.state=8,this.tryEmit()}),t.time,this);else if(4&e.eventType)return 8;return Ee},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&4&e.eventType?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),x(Fe,De,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ie]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),x(He,De,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Pe.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return 30&n?t=e.overallVelocity:6&n?t=e.overallVelocityX:n&W&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&h(t)>this.options.velocity&&4&e.eventType},emit:function(e){var t=Me(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),x(Re,Oe,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[we]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime<t.time;if(this.reset(),1&e.eventType&&0===this.count)return this.failTimeout();if(i&&r&&n){if(4!=e.eventType)return this.failTimeout();var o=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||j(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,a&&o?this.count+=1:this.count=1,this._input=e,0===this.count%t.taps)return this.hasRequireFailures()?(this._timer=p((function(){this.state=8,this.tryEmit()}),t.interval,this),2):8}return Ee},failTimeout:function(){return this._timer=p((function(){this.state=Ee}),this.options.interval,this),Ee},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Le.VERSION="2.0.7",Le.defaults={domEvents:!1,touchAction:ye,enable:!0,inputTarget:null,inputClass:null,preset:[[Fe,{enable:!1}],[_e,{enable:!1},["rotate"]],[He,{direction:6}],[Pe,{direction:6},["swipe"]],[Re],[Re,{event:"doubletap",taps:2},["tap"]],[ze]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function We(e,t){var n;this.options=l({},Le.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new((n=this).options.inputClass||(F?oe:H?de:z?fe:ee))(n,q),this.touchAction=new ke(this,this.options.touchAction),Ye(this,!0),m(this.options.recognizers,(function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])}),this)}function Ye(e,t){var n,i=e.element;i.style&&(m(e.options.cssProps,(function(r,o){n=D(i.style,o),t?(e.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=e.oldCssProps[n]||""})),t||(e.oldCssProps={}))}We.prototype={set:function(e){return l(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var i=this.recognizers,r=t.curRecognizer;(!r||r&&8&r.state)&&(r=t.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===t.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(e),!r&&14&n.state&&(r=t.curRecognizer=n),o++}},get:function(e){if(e instanceof Oe)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(v(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(v(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=N(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(e!==s&&t!==s){var n=this.handlers;return m(O(e),(function(e){n[e]=n[e]||[],n[e].push(t)})),this}},off:function(e,t){if(e!==s){var n=this.handlers;return m(O(e),(function(e){t?n[e]&&n[e].splice(N(n[e],t),1):delete n[e]})),this}},emit:function(e,t){this.options.domEvents&&function(e,t){var n=o.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](t),i++}},destroy:function(){this.element&&Ye(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(Le,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:Ee,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:W,DIRECTION_ALL:30,Manager:We,Input:X,TouchAction:ke,TouchInput:de,MouseInput:ee,PointerEventInput:oe,TouchMouseInput:fe,SingleTouchInput:se,Recognizer:Oe,AttrRecognizer:De,Tap:Re,Pan:Pe,Swipe:He,Pinch:_e,Rotate:Fe,Press:ze,on:C,off:T,each:m,merge:y,extend:b,assign:l,inherit:x,bindFn:w,prefixed:D}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=Le,(i=function(){return Le}.call(t,n,t,e))===s||(e.exports=i)}(window,document)},7503(e,t,n){var i;e=n.nmd(e),function(){"use strict";var r={function:!0,object:!0},o=r[typeof window]&&window||this,a=r[typeof t]&&t,s=r.object&&e&&!e.nodeType&&e,l=a&&s&&"object"==typeof n.g&&n.g;!l||l.global!==l&&l.window!==l&&l.self!==l||(o=l);var c=Math.pow(2,53)-1,u=/\bOpera/,d=Object.prototype,h=d.hasOwnProperty,f=d.toString;function p(e){return(e=String(e)).charAt(0).toUpperCase()+e.slice(1)}function v(e){return e=x(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:p(e)}function m(e,t){for(var n in e)h.call(e,n)&&t(e[n],n,e)}function g(e){return null==e?p(e):f.call(e).slice(8,-1)}function b(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function y(e,t){var n=null;return function(e,t){var n=-1,i=e?e.length:0;if("number"==typeof i&&i>-1&&i<=c)for(;++n<i;
1)t(e[n],n,e);else m(e,t)}(e,(function(i,r){n=t(n,i,r,e)})),n}function x(e){return String(e).replace(/^ +| +$/g,"")}var w=function e(t){var n=o,i=t&&"object"==typeof t&&"String"!=g(t);i&&(n=t,t=null);var r=n.navigator||{},a=r.userAgent||"";t||(t=a);var s,l,c,d,h,p=i?!!r.likeChrome:/\bChrome\b/.test(t)&&!/internal|\n/i.test(f.toString()),w="Object",I=i?w:"ScriptBridgingProxyObject",S=i?w:"Environment",C=i&&n.java?"JavaPackage":g(n.java),T=i?w:"RuntimeObject",k=/\bJava/.test(C)&&n.java,E=k&&g(n.environment)==S,O=k?"a":"α",N=k?"b":"β",M=n.document||{},A=n.operamini||n.opera,D=u.test(D=i&&A?A["[[Class]]"]:g(A))?D:A=null,P=t,_=[],z=null,F=t==a,H=F&&A&&"function"==typeof A.version&&A.version(),R=y([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"],(function(e,n){return e||RegExp("\\b"+(n.pattern||b(n))+"\\b","i").exec(t)&&(n.label||n)})),L=function(e){return y(e,(function(e,n){return e||RegExp("\\b"+(n.pattern||b(n))+"\\b","i").exec(t)&&(n.label||n)}))}(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),W=X([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),Y=function(e){return y(e,(function(e,n,i){return e||(n[W]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(W)]||RegExp("\\b"+b(i)+"(?:\\b|\\w*\\d)","i").exec(t))&&i}))}({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}}),B=function(e){return y(e,(function(e,n){var i=n.pattern||b(n);return!e&&(e=RegExp("\\b"+i+"(?:/[\\d.]+|[ \\w.]*)","i").exec(t))&&(e=function(e,t,n){var i={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return t&&n&&/^Win/i.test(e)&&!/^Windows Phone /i.test(e)&&(i=i[/[\d.]+$/.exec(e)])&&(e="Windows "+i),e=String(e),t&&n&&(e=e.replace(RegExp(t,"i"),n)),v(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}(e,i,n.label||n)),e}))}(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function X(e){return y(e,(function(e,n){var i=n.pattern||b(n);return!e&&(e=RegExp("\\b"+i+" *\\d+[.\\w_]*","i").exec(t)||RegExp("\\b"+i+" *\\w+-[\\w]*","i").exec(t)||RegExp("\\b"+i+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(t))&&((e=String(n.label&&!RegExp(i,"i").test(n.label)?n.label:e).split("/"))[1]&&
vendor: 4,532 bytes, line 1
1!/[\d.]+/.test(e[0])&&(e[0]+=" "+e[1]),n=n.label||n,e=v(e[0].replace(RegExp(i,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))),e}))}function q(e){return y(e,(function(e,n){return e||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(t)||0)[1]||null}))}if(R&&(R=[R]),/\bAndroid\b/.test(B)&&!W&&(s=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(t))&&(W=x(s[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),Y&&!W?W=X([Y]):Y&&W&&(W=W.replace(RegExp("^("+b(Y)+")[-_.\\s]","i"),Y+" ").replace(RegExp("^("+b(Y)+")[-_.]?(\\w)","i"),Y+" $2")),(s=/\bGoogle TV\b/.exec(W))&&(W=s[0]),/\bSimulator\b/i.test(t)&&(W=(W?W+" ":"")+"Simulator"),"Opera Mini"==L&&/\bOPiOS\b/.test(t)&&_.push("running in Turbo/Uncompressed mode"),"IE"==L&&/\blike iPhone OS\b/.test(t)?(Y=(s=e(t.replace(/like iPhone OS/,""))).manufacturer,W=s.product):/^iP/.test(W)?(L||(L="Safari"),B="iOS"+((s=/ OS ([\d_]+)/i.exec(t))?" "+s[1].replace(/_/g,"."):"")):"Konqueror"==L&&/^Linux\b/i.test(B)?B="Kubuntu":Y&&"Google"!=Y&&(/Chrome/.test(L)&&!/\bMobile Safari\b/i.test(t)||/\bVita\b/.test(W))||/\bAndroid\b/.test(B)&&/^Chrome/.test(L)&&/\bVersion\//i.test(t)?(L="Android Browser",B=/\bAndroid\b/.test(B)?B:"Android"):"Silk"==L?(/\bMobi/i.test(t)||(B="Android",_.unshift("desktop mode")),/Accelerated *= *true/i.test(t)&&_.unshift("accelerated")):"UC Browser"==L&&/\bUCWEB\b/.test(t)?_.push("speed mode"):"PaleMoon"==L&&(s=/\bFirefox\/([\d.]+)\b/.exec(t))?_.push("identifying as Firefox "+s[1]):"Firefox"==L&&(s=/\b(Mobile|Tablet|TV)\b/i.exec(t))?(B||(B="Firefox OS"),W||(W=s[1])):!L||(s=!/\bMinefield\b/i.test(t)&&/\b(?:Firefox|Safari)\b/.exec(L))?(L&&!W&&/[\/,]|^[^(]+?\)/.test(t.slice(t.indexOf(s+"/")+8))&&(L=null),(s=W||Y||B)&&(W||Y||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(B))&&(L=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(B)?B:s)+" Browser")):"Electron"==L&&(s=(/\bChrome\/([\d.]+)\b/.exec(t)||0)[1])&&_.push("Chromium "+s),H||(H=q(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",b(L),"(?:Firefox|Minefield|NetFront)"])),(s=("iCab"==R&&parseFloat(H)>3?"WebKit":/\bOpera\b/.test(L)&&(/\bOPR\b/.test(t)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(t)&&!/^(?:Trident|EdgeHTML)$/.test(R)&&"WebKit"||!R&&/\bMSIE\b/i.test(t)&&("Mac OS"==B?"Tasman":"Trident")||"WebKit"==R&&/\bPlayStation\b(?! Vita\b)/i.test(L)&&"NetFront")&&(R=[s]),"IE"==L&&(s=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(t)||0)[1])?(L+=" Mobile",B="Windows Phone "+(/\+$/.test(s)?s:s+".x"),_.unshift("desktop mode")):/\bWPDesktop\b/i.test(t)?(L="IE Mobile",B="Windows Phone 8.x",_.unshift("desktop mode"),H||(H=(/\brv:([\d.]+)/.exec(t)||0)[1])):"IE"!=L&&"Trident"==R&&(s=/\brv:([\d.]+)/.exec(t))&&(L&&_.push("identifying as "+L+(H?" "+H:"")),L="IE",H=s[1]),F){if(d="global",h=null!=(c=n)?typeof c[d]:"number",/^(?:boolean|number|string|undefined)$/.test(h)||"object"==h&&!c[d])g(s=n.runtime)==I?(L="Adobe AIR",B=s.flash.system.Capabilities.os):g(s=n.phantom)==T?(L="PhantomJS",H=(s=s.version||null)&&s.major+"."+s.minor+"."+s.patch):"number"==typeof M.documentMode&&(s=/\bTrident\/(\d+)/i.exec(t))?(H=[H,M.documentMode],(s=+s[1]+4)!=H[1]&&(_.push("IE "+H[1]+" mode"),R&&(R[1]=""),H[1]=s),H="IE"==L?String(H[1].toFixed(1)):H[0]):"number"==typeof M.documentMode&&/^(?:Chrome|Firefox)\b/.test(L)&&(_.push("masking as "+L+" "+H),L="IE",H="11.0",R=["Trident"],B="Windows");else if(k&&(P=(s=k.lang.System).getProperty("os.arch"),B=B||s.getProperty("os.name")+" "+s.getProperty("os.version")),E){try{H=n.require("ringo/engine").version.join("."),L="RingoJS"}catch(e){(s=n.system)&&s.global.system==n.system&&(L="Narwhal",B||(B=s[0].os||null))}L||(L="Rhino")}else"object"==typeof n.process&&!n.process.browser&&(s=n.process)&&("object"==typeof s.versions&&("string"==typeof s.versions.electron?(_.push("Node "+s.versions.node),L="Electron",H=s.versions.electron):"string"==typeof s.versions.nw&&(_.push("Chromium "+H,"Node "+s.versions.node),L="NW.js",H=s.versions.nw)),L||(L="Node.js",P=s.arch,B=s.platform,H=(H=/[\d.]+/.exec(s.version))?H[0]:null));B=B&&v(B)}if(H&&(s=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(H)||/(?:alpha|beta)(?: ?\d)?/i.exec(t+";"+(F&&r.appMinorVersion))||/\bMinefield\b/i.test(t)&&"a")&&(z=/b/i.test(s)?"beta":"alpha",H=H.replace(RegExp(s+"\\+?$"),"")+("beta"==z?N:O)+(/\d+\+?/.exec(s)||"")),"Fennec"==L||"Firefox"==L&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(B
vendor: 4,300 bytes, line 1
1))L="Firefox Mobile";else if("Maxthon"==L&&H)H=H.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(W))"Xbox 360"==W&&(B=null),"Xbox 360"==W&&/\bIEMobile\b/.test(t)&&_.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(L)&&(!L||W||/Browser|Mobi/.test(L))||"Windows CE"!=B&&!/Mobi/i.test(t))if("IE"==L&&F)try{null===n.external&&_.unshift("platform preview")}catch(e){_.unshift("embedded")}else(/\bBlackBerry\b/.test(W)||/\bBB10\b/.test(t))&&(s=(RegExp(W.replace(/ +/g," *")+"/([.\\d]+)","i").exec(t)||0)[1]||H)?(B=((s=[s,/BB10/.test(t)])[1]?(W=null,Y="BlackBerry"):"Device Software")+" "+s[0],H=null):this!=m&&"Wii"!=W&&(F&&A||/Opera/.test(L)&&/\b(?:MSIE|Firefox)\b/i.test(t)||"Firefox"==L&&/\bOS X (?:\d+\.){2,}/.test(B)||"IE"==L&&(B&&!/^Win/.test(B)&&H>5.5||/\bWindows XP\b/.test(B)&&H>8||8==H&&!/\bTrident\b/.test(t)))&&!u.test(s=e.call(m,t.replace(u,"")+";"))&&s.name&&(s="ing as "+s.name+((s=s.version)?" "+s:""),u.test(L)?(/\bIE\b/.test(s)&&"Mac OS"==B&&(B=null),s="identify"+s):(s="mask"+s,L=D?v(D.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(s)&&(B=null),F||(H=null)),R=["Presto"],_.push(s));else L+=" Mobile";(s=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(t)||0)[1])&&(s=[parseFloat(s.replace(/\.(\d)$/,".0$1")),s],"Safari"==L&&"+"==s[1].slice(-1)?(L="WebKit Nightly",z="alpha",H=s[1].slice(0,-1)):H!=s[1]&&H!=(s[2]=(/\bSafari\/([\d.]+\+?)/i.exec(t)||0)[1])||(H=null),s[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(t)||0)[1],537.36==s[0]&&537.36==s[2]&&parseFloat(s[1])>=28&&"WebKit"==R&&(R=["Blink"]),F&&(p||s[1])?(R&&(R[1]="like Chrome"),s=s[1]||((s=s[0])<530?1:s<532?2:s<532.05?3:s<533?4:s<534.03?5:s<534.07?6:s<534.1?7:s<534.13?8:s<534.16?9:s<534.24?10:s<534.3?11:s<535.01?12:s<535.02?"13+":s<535.07?15:s<535.11?16:s<535.19?17:s<536.05?18:s<536.1?19:s<537.01?20:s<537.11?"21+":s<537.13?23:s<537.18?24:s<537.24?25:s<537.36?26:"Blink"!=R?"27":"28")):(R&&(R[1]="like Safari"),s=(s=s[0])<400?1:s<500?2:s<526?3:s<533?4:s<534?"4+":s<535?5:s<537?6:s<538?7:s<601?8:s<602?9:s<604?10:s<606?11:s<608?12:"12"),R&&(R[1]+=" "+(s+="number"==typeof s?".x":/[.+]/.test(s)?"":"+")),"Safari"==L&&(!H||parseInt(H)>45)?H=s:"Chrome"==L&&/\bHeadlessChrome/i.test(t)&&_.unshift("headless")),"Opera"==L&&(s=/\bzbov|zvav$/.exec(B))?(L+=" ",_.unshift("desktop mode"),"zvav"==s?(L+="Mini",H=null):L+="Mobile",B=B.replace(RegExp(" *"+s+"$"),"")):"Safari"==L&&/\bChrome\b/.exec(R&&R[1])?(_.unshift("desktop mode"),L="Chrome Mobile",H=null,/\bOS X\b/.test(B)?(Y="Apple",B="iOS 4.3+"):B=null):/\bSRWare Iron\b/.test(L)&&!H&&(H=q("Chrome")),H&&0==H.indexOf(s=/[\d.]+$/.exec(B))&&t.indexOf("/"+s+"-")>-1&&(B=x(B.replace(s,""))),B&&-1!=B.indexOf(L)&&!RegExp(L+" OS").test(B)&&(B=B.replace(RegExp(" *"+b(L)+" *"),"")),R&&!/\b(?:Avant|Nook)\b/.test(L)&&(/Browser|Lunascape|Maxthon/.test(L)||"Safari"!=L&&/^iOS/.test(B)&&/\bSafari\b/.test(R[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(L)&&R[1])&&(s=R[R.length-1])&&_.push(s),_.length&&(_=["("+_.join("; ")+")"]),Y&&W&&W.indexOf(Y)<0&&_.push("on "+Y),W&&_.push((/^on /.test(_[_.length-1])?"":"on ")+W),B&&(s=/ ([\d.+]+)$/.exec(B),l=s&&"/"==B.charAt(B.length-s[0].length-1),B={architecture:32,family:s&&!l?B.replace(s[0],""):B,version:s?s[1]:null,toString:function(){var e=this.version;return this.family+(e&&!l?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(s=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(P))&&!/\bi686\b/i.test(P)?(B&&(B.architecture=64,B.family=B.family.replace(RegExp(" *"+s),"")),L&&(/\bWOW64\b/i.test(t)||F&&/\w(?:86|32)$/.test(r.cpuClass||r.platform)&&!/\bWin64; x64\b/i.test(t))&&_.unshift("32-bit")):B&&/^OS X/.test(B.family)&&"Chrome"==L&&parseFloat(H)>=39&&(B.architecture=64),t||(t=null);var J={};return J.description=t,J.layout=R&&R[0],J.manufacturer=Y,J.name=L,J.prerelease=z,J.product=W,J.ua=t,J.version=L&&H,J.os=B||{architecture:null,family:null,version:null,toString:function(){return"null"}},J.parse=e,J.toString=function(){return this.description||""},J.version&&_.unshift(H),J.name&&_.unshift(L),B&&L&&(B!=String(B).split(" ")[0]||B!=L.split(" ")[0]&&!W)&&_.push(W?"("+B+")":"on "+B),_.length&&(J.description=_.join(" ")),J}();o.platform=w,void 0===(i=function(){return w}.call(t,n,t,e))||(e.exports=i)}.call(this)},9609(e,t,n){"use strict";n.d(t,{A:()=>
1o});var i=n(172),r=n(4277);const o=function(e){var t=e.url,n=e.imgSrc,o=e.children,a=e.onClick,s=e.onImageLoad,l=e.instant,c=void 0===l||l,u=e.imageWidth,d=void 0===u?148:u,h=e.imageHeight,f=void 0===h?228:h;return(0,i.h)("a",{className:"leaflet-card highlight",href:t,onClick:function(e){a&&(e.preventDefault(),a())}},(0,i.h)("div",{className:"leaflet-image-container",style:{"--image-url":"url(".concat(n,")"),"--image-aspect-ratio":"".concat(d," / ").concat(f)}},(0,i.h)(r.o,{className:"leaflet-image",instant:c,src:n,alt:"",width:d,height:f,onLoad:s})),o)}},6665(e,t,n){"use strict";n.d(t,{A:()=>a});var i=n(1635),r=n(172),o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.x=[],t.y=[],t.events=["touchstart","touchend"],t.reg=function(e){var n=t.base||{};t.events.forEach((function(i){return n[e](i,t.capture)})),n[e]("touchend",t.compute)},t.capture=function(e){t.x.push((e.touches[0]||e.changedTouches[0]).clientX),t.y.push((e.touches[0]||e.changedTouches[0]).clientY)},t.compute=function(){var e,n,i,r,o=(t.x.pop()||0)-t.x[0],a=Math.abs((t.y.pop()||0)-t.y[0]);o>=50&&a<50&&(null===(n=(e=t.props).right)||void 0===n||n.call(e)),-1*o>=50&&a<50&&(null===(r=(i=t.props).left)||void 0===r||r.call(i)),t.x=[],t.y=[]},t}return(0,i.C6)(t,e),t.prototype.componentDidMount=function(){this.reg("addEventListener")},t.prototype.componentWillUnmount=function(){this.reg("removeEventListener")},t.prototype.render=function(e){var t=e.children;return(0,r.h)(r.FK,null,t)},t}(r.uA);const a=o},2213(e,t,n){"use strict";n.d(t,{P:()=>a});var i=n(1635),r=n(3531),o=function(e){function t(t){var n=e.call(this,"leaflets",t)||this;return n.getWithStore=function(e,t){var i=t.latitude,r=t.longitude,o=t.zipCodes;return n.get(e,{as:"mobiledetailed",zipCode:o[0],latitude:i,longitude:r})},n.stores=function(e,t,i){void 0===i&&(i=6);var r={limit:i};return t&&(r.zipCode=t.zipCodes[0],r.longitude=t.longitude,r.latitude=t.latitude),n.request("".concat(n.url,"/").concat(e,"/stores"),r)},n}return(0,i.C6)(t,e),t}(r.jI),a=(0,r.tH)("leaflets",o)},9480(e,t,n){"use strict";n.d(t,{F:()=>a});var i=n(1635),r=n(3531),o=function(e){function t(t){var n=e.call(this,"leafletflights",t)||this;return n.bestleaflet=function(e,t){return n.request("".concat(n.url,"/").concat(e,"/bestleaflet"),{as:"mobiledetailed",zipCode:t.zipCodes[0],longitude:t.longitude,latitude:t.latitude})},n.recommended=function(e,t,i){return void 0===i&&(i=8),n.request("".concat(n.url,"/").concat(e,"/recommendations"),{as:"web",zipCode:t,limit:i})},n}return(0,i.C6)(t,e),t}(r.jI),a=(0,r.tH)("flights",o)},3696(e,t,n){"use strict";n.d(t,{G:()=>l});var i=n(1635),r=n(2547),o=n(3531),a=function(e){var t;return(null===(t=e.data)||void 0===t?void 0:t.results)&&e.data.results.map(r.H),e},s=function(e){function t(t){var n=e.call(this,"offers",t)||this;return n.stores=function(e,t,i){void 0===i&&(i=6);var r={as:"mobile",limit:i};return t&&(r.zipCode=t.zipCodes[0],r.longitude=t.longitude,r.latitude=t.latitude),n.request("".concat(n.url,"/").concat(e,"/stores"),r)},n.getMany=function(e,t){return n.request(n.url,{leafletId:e,pageIndex:t,as:"mobiledetailed"})},n.references=function(e){return n.request("".concat(n.url,"/").concat(e,"/references"),{as:"mobile"})},n.bestleaflet=function(e,t){return n.request("".concat(n.url,"/").concat(e,"/bestleaflet"),{zipCode:t.zipCodes[0],latitude:t.latitude,longitude:t.longitude,as:"mobiledetailed"})},n.search=function(e){return(0,i.sH)(n,[e],void 0,(function(e){var t,n=e.query,r=e.zipCode,o=e.page,s=void 0===o?0:o;return(0,i.YH)(this,(function(e){switch(e.label){case 0:return[4,this.request("".concat(this.url,"/search"),Object.assign({as:"web"},{q:n,zipCode:r,limit:24,offset:24*s})).then(a)];case 1:return t=e.sent().data,[2,(0,i.Cl)((0,i.Cl)({},t),{morePages:t&&24*(s+1)<t.totalResults&&t.results.length>=24})]}}))}))},n}return(0,i.C6)(t,e),t}(o.jI),l=(0,o.tH)("offers",s)},3170(e,t,n){"use strict";n.d(t,{CW:()=>u,g0:()=>d,qH:()=>c});var i,r=n(1635),o=n(3531),a=n(7636),s=function(e){if(!e)return"";var t=new Date(e),n=(0,a.eV)(t.getHours()),i=(0,a.eV)(t.getMinutes());return"".concat(n,":").concat(i)},l=function(e){function t(t){var n=e.call(this,"stores",t)||this;return n.openTime=function(e){return e.length>0?e.map((function(e){return"".concat(s(e.from),"-").concat(s(e.to))})).join(","):"Geschlossen"},n}return(0,r.C6)(t,e),t.prototype.getOpenIntervals=function(e,t){var r=this;return"undefined"==typeof window?(i||(i=n.e(605).then(n.bind(n,9625))),i.then((function(n){var i=new n(e.openingHours.specification,{address:{country_code:"at"===r.config.content?"at":"de"}});return t.map((function(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n=new Date(t);n.setHours(23,59,59);var o=i.getOpenIntervals(t,n),s=o&&o.length>0?o.map((function(e){return{from:e[0],to:e[1]}})):[];return{date:e,intervals:s,dateStr:(0,a.Yq)(e),timeStr:r.openTime(s)}}))})).catch((function(e){console.error(e)}))):this.request("".concat(this.url,"/").concat(e.id,"/openintervals"),{dates:t.map((function(e){return e.toISOString().split("T")[0]}))}).then((function(e){var t=e.data;return t&&t.forEach((function(e){e.dateStr=(0,a.Yq)(e.date),e.timeStr=r.openTime(e.intervals)})),t}))},t}(o.jI),c=function(e,t){return void 0===t&&(t=new Date),u(e,t)?"Heute geöffnet bis ".concat(s(e.reduce((function(e,t){return t})).to)):"Geschlossen"},u=function(e,t){return void 0===t&&(t=new Date),e&&e.length>0&&e.reduce((function(e,n){return e||t>new Date(n.from)&&t<new Date(n.to)}),!1)},d=(0,o.tH)("openHours",l)}
1,5581(e,t,n){"use strict";n.d(t,{h:()=>r,y:()=>i});var i=function(e){return e.location.zipCodes[0]},r=function(e){return e.location}},7432(e,t,n){"use strict";n.d(t,{x:()=>d,U:()=>u});var i=n(5994),r=768,o=959,a=960,s=1920,l={mobile:"(max-width: ".concat(767,"px)"),tablet:"(min-width: ".concat(r,"px) and (max-width: ").concat(o,"px)"),desktop:"(min-width: ".concat(a,"px)"),hd:"(min-width: ".concat(s,"px)")},c=n(2735),u=function(e){var t=(0,i.J0)(!!c.B&&matchMedia(e).matches),n=t[0],r=t[1],o=function(e){return r(e.matches)};return(0,i.vJ)((function(){var t=matchMedia(e);return t.addEventListener("change",o),r(t.matches),function(){return t.removeEventListener("change",o)}}),[e]),n},d=function(){return{isMobile:u(l.mobile),isTablet:u(l.tablet),isDesktop:u(l.desktop),isHd:u(l.hd)}}},3514(e,t,n){"use strict";n.d(t,{R:()=>i});var i=function(e,t){return{latitude:t.latitude,longitude:t.longitude,zipCodes:[e.zip||t.zipCodes[0]]}}},2547(e,t,n){"use strict";n.d(t,{H:()=>r,a:()=>i});var i=function(e){var t;return(null===(t=e.data)||void 0===t?void 0:t.results)&&e.data.results.map(r),e},r=function(e){return(null==e?void 0:e.description)&&e.description.length>100&&(e.description="".concat(e.description.substr(0,100),"...")),e}},6446(e,t,n){"use strict";n.d(t,{w:()=>m});var i=n(5581),r=n(7503);const o={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let a;const s=new Uint8Array(16);const l=[];for(let e=0;e<256;++e)l.push((e+256).toString(16).slice(1));function c(e,t=0){return(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase()}const u=function(e,t,n){if(o.randomUUID&&!t&&!e)return o.randomUUID();const i=(e=e||{}).random??e.rng?.()??function(){if(!a){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");a=crypto.getRandomValues.bind(crypto)}return a(s)}();if(i.length<16)throw new Error("Random bytes length must be >= 16");if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){if((n=n||0)<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=i[e];return t}return c(i)};var d=n(9119),h=n(356),f=function(e){return(0,d.w)("mg-local-client-id",(function(){return u()}),e.clientId)},p=function(e){void 0===e&&(e=new Date);var t=e.getTimezoneOffset(),n=t<30?"+":"-",i="0".concat(Math.floor(Math.abs(t)/60)).slice(-3),r=Math.abs(t)%60;return"UTC".concat(n).concat(i).concat("0".concat(r<30?0:30).slice(-2))},v=function(){var e,t=r.os;return null!==(e=null==t?void 0:t.family)&&void 0!==e?e:"unknown"},m=function(e,t,n){if(void 0===t&&(t={}),e){var o,a,s=(0,i.h)(n);return o=e,a=Object.assign(function(e,t){var n,i,o=(0,h.TG)();return{"mg-app-id":window.location.hostname,"mg-client-id":f(t),"mg-conn-type":(null===(i=navigator,n=i.connection||i.mozConnection||i.webkitConnection)||void 0===n?void 0:n.effectiveType)||"4g","mg-city":e.state,"mg-zip":e.zipCodes[0],"mg-lang":navigator.language,"mg-browser-name":r.name,"mg-browser-version":r.version,"mg-os":v(),"mg-screen-height":screen.height,"mg-screen-width":screen.width,"mg-time-zone":p(),"mg-timestamp":+new Date,"mg-cachebuster":"".concat(Math.random()).replace(".",""),"mg-tc-string":o?o.tcString:""}}(s,n.config),function(e){return{"mg-retailer-feed-id":e.retailerFeedId,"mg-retailer-feed-offer-id":e.offerId,"mg-advertiser":e.advertiserName,"mg-external-id":e.externalId,"mg-flight-id":e.leafletFlightId,"mg-leaflet-id":e.leafletId,"mg-industry":e.industryName,"mg-store-zip":e.closestStoreZipCode,"mg-brand":e.offerBrandName,"mg-category-first":e.categoryFirst,"mg-categories":e.categories}}(t)),e=o.split(/(\{\{[\w-]+?\}\})/g).map((function(e){var t,n=e.replace(/\{\{/g,"").replace(/\}\}/g,"");return Object.prototype.hasOwnProperty.call(a,n)?encodeURIComponent(null!==(t=a[n])&&void 0!==t?t:""):e})).join("")}}},100(e,t,n){"use strict";n.r(t),n.d(t,{adCollectionClicked:()=>Z,adCollectionImpression:()=>z,cashbackOpen:()=>W,clickOut:()=>_,flightImpression:()=>F,increment:()=>j,leafletClosed:()=>A,leafletOpen:()=>N,maintenancePageLinkClicked:()=>V,maintenancePageShown:()=>$,newsletterSubscribed:()=>G,offerOpened:()=>D,pageShow:()=>M,retailerFeedClosed:()=>J,retailerFeedImpression:()=>q,retailerFeedOfferOpen:()=>X,retailerFeedOpen:()=>Y,search:()=>P,setSource:()=>k,setSourceFromUrl:()=>E,startUserCentrics:()=>c.Zq,visit:()=>R});var i=n(1635),r=n(2961),o=n(2526),a=n(5581),s=n(2735),l=n(9960),c=n(356);window._adexc=window._adexc||[];var u=!1,d=_boot.config.adexTrackingPercentage/100,h=function(e){return(0,i.sH)(void 0,void 0,void 0,(function(){return(0,i.YH)(this,(function(t){switch(t.label){case 0:return Math.random()<d?[4,(0,c.f$)()]:[3,2];case 1:t.sent()("Adex (Virtual Minds GmbH)")&&(_adexc.push(["/1152/".concat(_boot.config.adexTagId,"/"),"ut","_kv",[e,1]]),function(){var e;if(!u){var t=document.createElement("script");t.type="text/javascript",t.async=1,t.src="https://dmp.theadex.com/d/1152/".concat(_boot.config.adexTagId,"/s/adex.js");var n=document.getElementsByTagName("script")[0];null===(e=n.parentNode)||void 0===e||e.insertBefore(t,n),u=!0}}()),t.label=2;case 2:return[2]}}
1))}))},f=n(4813),p=n(6446),v=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return(0,i.sH)(void 0,(0,i.fX)([e,t],n,!0),void 0,(function(e,t,n){var r,o,a,s;return void 0===n&&(n={}),(0,i.YH)(this,(function(i){switch(i.label){case 0:return[4,(0,c.f$)()];case 1:return i.sent()("Externes Kampagnentracking")&&t&&(r=null!==(s=(0,p.w)(t,n,e))&&void 0!==s?s:"",o=r.replace("MarktguruCacheBusterTimestamp","".concat(Math.random()).replace(".","")),(a=document.createElement("img")).setAttribute("src",o),a.setAttribute("style","display:none;"),document.body.appendChild(a)),[2]}}))}))},m=n(614);const g=function(e,t){var n,i;return null===(i=null===(n=null==e?void 0:e.externalTrackings)||void 0===n?void 0:n.find((function(e){return e.type===t})))||void 0===i?void 0:i.url};n.dn(g);const b=function(e,t){var n,i=null===(n=null==t?void 0:t.externalTrackings[0])||void 0===n?void 0:n.ugpctfet;return null==i?null:0!==i&&e<=i};n.dn(b);var y=function(e){return void 0===e&&(e=""),e.split(/[?#]/)[0].split("/")[1]||""};(0,c.f$)().then((function(e){return e("Facebook Custom Audiences")&&n(5551)}));var x=["Deep link"],w={404:"404 page"},I=function(e,t){w[y(e.url)]=t},S=function(e){return w[y(e)]},C=function(){return S(location.pathname)},T=function(e){if("number"==typeof e)return e;var t=null==e?void 0:e.match(/\d+/);return t?parseInt(t[0],10):void 0};I(r.JZ.home,"Home page"),I(r.JZ.topLeaflets,"All leaflets by industry page"),I(r.JZ.industryLeaflets,"Leaflets by industry page"),I(r.JZ.industryOffers,"Offers by industry page"),I(r.JZ.topOffers,"All offers by advertiser page"),I(r.JZ.offer,"Offer details page"),I(r.JZ.search,"SERP page"),I(r.JZ.cashbacks,"Cashback feed page"),I(r.JZ.cashbackDetails,"Cashback details page"),I(r.JZ.store,"Single store page"),I(r.JZ.pageflipOverview,"Leaflet pageflip page"),I(r.JZ.pageflip,"Leaflet pageflip page"),I(r.JZ.flight,"Leaflet pageflip page"),I(r.JZ.retailerOffers,"Offers by retailer page"),I(r.JZ.retailerLeaflets,"Leaflets by retailer page"),I(r.JZ.brandOffers,"Offers by brand page"),I(r.JZ.categoryOffers,"Offers by category page"),I(r.JZ.promoCode,"Promo code page"),I(r.JZ.inviteInfo,"Invite friends page"),I(r.JZ.inviteLanding,"Invite friends page"),I(r.JZ.retailerLocationOffers,"Offers by retailer and location page"),I(r.JZ.brandLocationOffers,"Offers by brand and location page"),I(r.JZ.retailerBrand,"Offers by retailer and brand page"),I(r.JZ.retailerCategory,"Offers by retailer and category page"),I(r.JZ.retailerFeed,"Retailer feed page");var k=function(e){void 0!==e&&(x.push(e),x.length>2&&x.shift())},E=function(e){return k(S(e))},O=null,N=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t,n,r,s,c,u,d,p,g,y,w,I,S=e.leaflet,C=e.pageIndex,k=e.ctx,E=e.zipCode;return(0,i.YH)(this,(function(e){return t=S.closestStore?{"Closest Store ID":S.closestStore.id,"Closest Store Zip":S.closestStore.zipCode}:{},n=(0,l.mt)(k).userGroup,r=b(n,S),s=(0,i.Cl)({"Advertiser name":null===(c=S.advertiser)||void 0===c?void 0:c.name,"Leaflet ID":S.id,"Leaflet Flight ID":S.leafletFlightId,"Industry name":null===(u=S.industry)||void 0===u?void 0:u.name,"Tracked externally":r,Source:x[0],"MG ZIP":E,"Sub source":"direct"},t),O={start:(new Date).getTime(),pageEntered:C+1,pagesShown:1,pageCount:S.pageImages.count,openEvent:s},(0,m.N)(k).track("Leaflet opened",s),(0,m.N)(k).increment("Total leaflets viewed"),(0,m.N)(k).set("Last leaflet viewed date",(new Date).toISOString()),(0,f.A)("leaflet_opened",{zip_code:E,source:x[0],leaflet_id:S.id,flight_id:S.leafletFlightId,advertiser:null===(d=S.advertiser)||void 0===d?void 0:d.name,advertiser_id:T(S.advertiser.id),industry_name:S.industry.name,closest_store_id:null===(p=S.closestStore)||void 0===p?void 0:p.id,closest_store_zip:null===(g=S.closestStore)||void 0===g?void 0:g.zipCode,sub_source:"direct"}),(null===r||r)&&v(k,S.externalTrackingUrls[0],{leafletFlightId:S.leafletFlightId,leafletId:S.id,advertiserName:null===(y=S.advertiser)||void 0===y?void 0:y.name,industryName:null===(w=S.industry)||void 0===w?void 0:w.name,externalId:S.externalId,closestStoreZipCode:null===(I=S.closestStore)||void 0===I?void 0:I.zipCode}
1),h({EventName:"Leaflet opened",AdvertiserName:S.advertiser?S.advertiser.name:"",IndustryName:S.industry?S.industry.name:"",ZipCode:(0,a.h)(k).zipCodes[0],CountryId:(0,o.b)(k)?"AT":"DE"}),[2]}))}))},M=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t=e.count;return(0,i.YH)(this,(function(e){return O?(O.pagesShown=O.pagesShown+t,[2]):[2]}))}))},A=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t,n,r,o=e.leaflet,a=e.pageIndex,s=e.ratio,c=void 0===s?10:s,u=e.ctx,d=e.zipCode;return(0,i.YH)(this,(function(e){if(O){if(Math.random()>c/100)return O=null,[2];t=(0,l.mt)(u).userGroup,n=b(t,o),r={Duration:Math.ceil((Date.now()-O.start)/1e3),"Total pages":O.pageCount,"Total displayed pages":O.pagesShown,"Pageflip entered at page":O.pageEntered,"Pageflip exited at page":a+1,"Tracked externally":n,Source:x[0],"Sub source":"direct"},d&&(r["MG ZIP"]=d),(0,m.N)(u).track("Leaflet closed",Object.assign(O.openEvent,r)),O=null}return[2]}))}))},D=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t,n,r,s,c,u,d,p,g,y,w,I,S,C,k,E=e.offer,O=e.ctx;return(0,i.YH)(this,(function(e){return t=(0,l.mt)(O).userGroup,n=b(t,E),r={"Advertiser name":null===(c=null===(s=E.advertisers)||void 0===s?void 0:s[0])||void 0===c?void 0:c.name,"Advert
1iser ID":T(null===(u=E.advertisers)||void 0===u?void 0:u[0].id),"Brand name":E.brand.name,"Product name":E.product.name,"Advertorial name":O.config.noBrandName===E.brand.name?E.product.name:"".concat(E.brand.name," - ").concat(E.product.name),"Offer ID":E.id,Source:x[0],Categories:E.categories.map((function(e){return e.name})),"Leaflet Flight ID":E.leafletFlightId,Offerprice:E.price,"Recommended retail price":E.oldPrice,Discount:100-Math.floor(1e4*E.price/E.oldPrice)/100,Type:E.type,"Tracked externally":n,"Loyalty membership required":E.requiresLoyalityMembership},(0,m.N)(O).track("Offer opened",r),(0,m.N)(O).increment("Total offers viewed"),(0,m.N)(O).set("Last offer viewed date",(new Date).toISOString()),(0,f.A)("offer_opened",{zip_code:(0,a.h)(O).zipCodes[0],source:x[0],offer_id:E.id,flight_id:E.leafletFlightId,advertiser:null===(p=null===(d=E.advertisers)||void 0===d?void 0:d[0])||void 0===p?void 0:p.name,advertiser_id:T(null===(g=E.advertisers)||void 0===g?void 0:g[0].id),brand:E.brand.name,product:E.product.name,sub_source:x[0]}),(null===n||n)&&v(O,E.externalTrackingUrls[0],{offerBrandName:E.brand.name,advertiserName:null===(y=E.advertisers)||void 0===y?void 0:y[0].name,categoryFirst:null===(I=null===(w=E.categories)||void 0===w?void 0:w[0])||void 0===I?void 0:I.name,categories:null===(S=E.categories)||void 0===S?void 0:S.map((function(e){return e.name})).join(","),externalId:E.externalId,leafletFlightId:E.leafletFlightId}),h({EventName:"Offer opened",AdvertiserName:null===(k=null===(C=E.advertisers)||void 0===C?void 0:C[0])||void 0===k?void 0:k.name,BrandName:E.brand.name,ZipCode:(0,a.h)(O).zipCodes[0],CountryId:(0,o.b)(O)?"AT":"DE",CategoryMap:E.categories.reduce((function(e,t){return e[t.name]=1,e}),{})}),[2]}))}))},P=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t=e.query,n=e.type,r=e.count,o=e.ctx;return(0,i.YH)(this,(function(e){return(0,m.N)(o).track("Search",{Keyword:t,"SERP type":n,"Offer count":r,Source:x[0]}),(0,m.N)(o).increment("Total searches"),(0,m.N)(o).set("Last search date",(new Date).toISOString()),[2]}))}))},_=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t,n,r,o,a,s,l,c,u,d,h,f,p,v,g=e.ad,b=e.name,y=e.type,w=e.url,I=e.offerSource,S=e.ctx;return(0,i.YH)(this,(function(e){switch(g.type){case"world":t="".concat(x[0]," theme world area");break;case"teaser":t="".concat(x[0]," teaser area");break;default:t=x[2===x.length?1:0]}switch(n={"Advertiser name":null!==(l=null!==(a=null===(o=null===(r=g.advertisers)||void 0===r?void 0:r[0])||void 0===o?void 0:o.name)&&void 0!==a?a:null===(s=g.advertiser)||void 0===s?void 0:s.name)&&void 0!==l?l:"","Advertorial ID":g.id,"Advertorial type":y,"Advertorial name":b,Target:w,Source:t},"offer"===y&&(n["Advertorial Flight ID"]=g.leafletFlightId,n["Offer source"]=I),"retailerFeedOffer"!==y&&"retailerFeedOfferDirect"!==y||(n["Advertorial ID"]=null!==(c=g.offer.id)&&void 0!==c?c:"",n["Advertorial Retailer Feed ID"]=null!==(u=g.retailerFeed.id)&&void 0!==u?u:"",n["Advertiser name"]=null!==(d=g.retailerFeed.advertiser.name)&&void 0!==d?d:"",n["Advertiser ID"]=null!==(h=g.retailerFeed.advertiser.id)&&void 0!==h?h:""),"retailerFeedHeader"===y&&(n["Advertorial Retailer Feed ID"]=null!==(f=g.id)&&void 0!==f?f:"",n["Advertiser name"]=null!==(p=g.advertiser.name)&&void 0!==p?p:"",n["Advertiser ID"]=null!==(v=g.advertiser.id)&&void 0!==v?v:""),(0,m.N)(S).track("Clickout",n),(0,m.N)(S).increment("Total clickouts"),y){case"store":(0,m.N)(S).increment("Total clickouts from store-details");break;case"offer":(0,m.N)(S).increment("Total clickouts from offer");break;case"linkoffer":(0,m.N)(S).increment("Total clickouts from tooltip");break;case"retailerFeedOffer":case"retailerFeedOfferDirect":(0,m.N)(S).increment("Total clickouts from retailer feed offer");break;case"adcollection":(0,m.N)(S).increment("teaser"==g.type?"Total clickouts from teaser":"Total clickouts from world")}return[2]}))}))},z=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t,n,r,o,s,l=e.ad,c=e.source,u=e.ctx;return(0,i.YH)(this,(function(e){return c=c||C(),t=g(l,"impression"),v(u,t,{advertiserName:null===(r=null===(n=l.advertisers)||void 0===n?void 0:n[0])||void 0===r?void 0:r.name}),(0,f.A)("world"===l.type?"world_of_impression":"teaser_impression",{zip_code:(0,a.h)(u).zipCodes[0],source:c,advertiser:null===(o=l.advertisers)||void 0===o?void 0:o[0].name,advertiser_id:T(null===(s=l.advertisers)||void 0===s?void 0:s[0].id),ad_collection:l.name,ad_collection_id:l.id}),[2]}))}
1))},F=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t,n,r=e.flight,o=e.source,s=e.ctx;return(0,i.YH)(this,(function(e){return r.trackFlightImpression&&(o=o||C(),(0,f.A)("flight_thumbnail_impression",{zip_code:(0,a.h)(s).zipCodes[0],source:o,advertiser:null===(t=r.advertiser)||void 0===t?void 0:t.name,advertiser_id:T(null===(n=r.advertiser)||void 0===n?void 0:n.id),flight_id:r.id})),[2]}))}))},H=!0,R=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t=e.ctx;return(0,i.YH)(this,(function(e){return H&&(h({EventName:"Visit",ZipCode:(0,a.h)(t).zipCodes[0],CountryId:(0,o.b)(t)?"AT":"DE"}),(0,m.N)(t).visit(x[2===x.length?1:0]),H=!1),[2]}))}))},L=function(){return(0,s.u)()?"Mobile FE":x[0]},W=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t,n=e.ctx,r=e.cashback;return(0,i.YH)(this,(function(e){return t={Name:r.name,"Cashback ID":r.id,"User redeem limit":r.userRedeemLimit,"Claim count":r.userRedeemLimit,"Advertiser name":r.advertiserName,"Advertiser ID":r.advertiserId,Source:L()},(0,m.N)(n).track("Cashback opened",t),(0,m.N)(n).increment("Total cashback details viewed"),(0,f.A)("cashback_opened",{zip_code:(0,a.h)(n).zipCodes[0],source:L(),cashback:r.name,cashback_id:r.id,advertiser:r.advertiserName,advertiser_id:r.advertiserId}),v(n,r.externalTrackingUrls[0],{advertiserName:r.advertiserName}),[2]}))}
1))},Y=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t,n,r,o,s,l,c,u,d=e.feed,h=e.ctx;return(0,i.YH)(this,(function(e){return t={"Advertiser name":null===(r=d.advertiser)||void 0===r?void 0:r.name,"Advertiser ID":null===(o=d.advertiser)||void 0===o?void 0:o.id,"Retailer feed ID":d.id,"Industry name":null===(s=d.industry)||void 0===s?void 0:s.name,Source:L()},B={start:(new Date).getTime(),openEvent:t},(0,m.N)(h).track("Retailer feed opened",t),(0,f.A)("retailer_feed_opened",{zip_code:(0,a.h)(h).zipCodes[0],source:L(),retailer_feed_id:d.id,advertiser:null===(l=d.advertiser)||void 0===l?void 0:l.name,advertiser_id:null===(c=d.advertiser)||void 0===c?void 0:c.id,industry_name:null===(u=d.industry)||void 0===u?void 0:u.name}),n=g(d,"click"),v(h,n,{externalId:d.externalId,retailerFeedId:d.id}),[2]}))}))},B=null,X=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t,n,r,o,s,l,c=e.offer,u=e.feed,d=e.category,h=e.ctx;return(0,i.YH)(this,(function(e){return t={"Advertiser name":null===(r=u.advertiser)||void 0===r?void 0:r.name,"Advert
1iser ID":null===(o=u.advertiser)||void 0===o?void 0:o.id,Type:u.displayMode,"Brand name":c.brand,"Product name":c.title,"Retailer feed offer ID":c.id,"External ID":c.externalId,Source:L(),Category:d,"Retailer feed ID":u.id,Offerprice:c.price,"Recommended retail price":c.salePrice,Discount:c.salePrice?100-Math.floor(1e4*c.price/c.salePrice)/100:0},(0,m.N)(h).track("Retailer feed offer opened",t),(0,f.A)("retailer_feed_offer_opened",{zip_code:(0,a.h)(h).zipCodes[0],source:L(),retailer_feed_offer_id:c.id,retailer_feed_id:u.id,advertiser:null===(s=u.advertiser)||void 0===s?void 0:s.name,advertiser_id:null===(l=u.advertiser)||void 0===l?void 0:l.id,brand:c.brand,product:c.title}),n=g(c,"click"),v(h,n,{externalId:c.externalId,offerId:c.id,retailerFeedId:u.id}),[2]}))}))},q=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t,n,r=e.feed,o=e.source,s=e.ctx;return(0,i.YH)(this,(function(e){return r.trackImpression&&(o=o||C(),(0,f.A)("retailer_feed_thumbnail_impression",{zip_code:(0,a.h)(s).zipCodes[0],source:o,advertiser:null===(t=r.advertiser)||void 0===t?void 0:t.name,advertiser_id:T(null===(n=r.advertiser)||void 0===n?void 0:n.id),retailer_feed_id:r.id})),[2]}))}))},J=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t,n,r,o,a=e.feed,s=e.ctx;return(0,i.YH)(this,(function(e){return B&&(t={"Advertiser name":null===(n=a.advertiser)||void 0===n?void 0:n.name,"Advert
1iser ID":null===(r=a.advertiser)||void 0===r?void 0:r.id,"Retailer feed ID":a.id,"Industry name":null===(o=a.industry)||void 0===o?void 0:o.name,Duration:Math.ceil((Date.now()-B.start)/1e3),Source:L()},(0,m.N)(s).track("Retailer feed closed",Object.assign(B.openEvent,t)),B=null),[2]}))}))},U={leafletFlight:[{key:"Leaflet Flight ID",value:function(e){return e.leafletFlightId}}],leaflet:[{key:"Leaflet ID",value:function(e){return e.leafletId}},{key:"page index",value:function(e){return e.pageIndex}}],offer:[{key:"offer ID",value:function(e){return e.offerId}}],cashback:[{key:"cashback ID",value:function(e){var t=e.cashbackId;return null!=t?t:""}}],cashbackFeed:[{key:"cashbackFeed ID",value:function(e){var t=e.cashbackFeedId;return null!=t?t:""}}],search:[{key:"search terms",value:function(e){return e.terms}}],link:[{key:"URL",value:function(e){return e.url}},{key:"link type",value:function(e){return e.linkType}}]},Z=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t,n,r,o,a,s,l,c,u,d=e.adCollectionDetailed,h=e.ctx;return(0,i.YH)(this,(function(e){return t=g(d,"click"),v(h,t,{advertiserName:null===(l=null===(s=d.advertisers)||void 0===s?void 0:s[0])||void 0===l?void 0:l.name}),n=d.command.type,r=function(){switch(d.type){case"teaser":return"".concat(x[1]," teaser area");case"world":return"".concat(x[1]," theme world area");default:return"".concat(x[1]," ").concat(d.type)}},o={"Advertorial ID":d.id,Name:d.name,"Advertorial type":d.type,"Advertiser name":null===(c=d.advertisers)||void 0===c?void 0:c[0].name,"Advert
1iser ID":null===(u=d.advertisers)||void 0===u?void 0:u[0].id,Source:r(),"Command type":n},a=d.command,U[n]?U[n].forEach((function(e){var t=e.key,n=e.value;o["Command ".concat(t)]=n(a)})):console.warn("AdCollection clicked command type was not found, unknown type - not yet implemented"),(0,m.N)(h).track("AdCollection clicked",o),(0,m.N)(h).increment("teaser"==d.type?"Total clicks on teaser":"Total clicks on worlds"),(0,m.N)(h).set("teaser"==d.type?"Last teaser-click date":"Last world-click date",Date.now()),[2]}))}))},G=function(e){var t=e.signupData,n=e.ctx,i=t.formType,r=t.email,o=t.zipCode;(0,m.N)(n).track("Newsletter opt-in",{"Form type":i,"Newsletter email":r,"Newsletter zip":o}),(0,m.N)(n).set("Newsletter opt-in",(new Date).toISOString()),(0,m.N)(n).set("Newsletter opt-in type",i||""),(0,f.A)("newsletter_opt_in",{type:i,source:C(),zip_code:o})},j=function(e){var t=e.property,n=e.value,i=void 0===n?1:n,r=e.ctx;return(0,m.N)(r).increment(t,i)},$=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t,n=e.ctx;return(0,i.YH)(this,(function(e){return t={},(0,m.N)(n).track("Maintenance page shown",t),[2]}))}))},V=function(e){return(0,i.sH)(void 0,[e],void 0,(function(e){var t,n=e.url,r=e.ctx;return(0,i.YH)(this,(function(e){return t={"Info URL":n},(0,m.N)(r).track("Maintenance page link clicked",t),[2]}))}))}},8627(e,t,n){"use strict";n.d(t,{I:()=>i});var i=function(e){if(("string"!=typeof e||""!==e.trim())&&null!==e){var t=Number(e);if(!isNaN(t))return t}}},5851(e,t,n){"use strict";n.d(t,{J7:()=>i,Q8:()=>r});var i={xxsmall:{width:50,height:1},xsmall:{width:100,height:1},small:{width:200,height:1},medium:{width:300,height:1},large:{width:450,height:1},xlarge:{width:600,height:1},xxlarge:{width:1e3,height:1},xxxlarge:{width:2e3,height:1},msmall:{width:155,height:157},qsmall:{width:155,height:157},qmedium:{width:354,height:354},qlarge:{width:530,height:530},qxlarge:{width:760,height:760},qxxlarge:{width:1200,height:1200},qxxxlarge:{width:2400,height:2400}},r={xxsmall:{width:100,height:1},xsmall:{width:200,height:1},small:{width:320,height:1},medium:{width:640,height:1},large:{width:1e3,height:1},xlarge:{width:2e3,height:1},sthumbnail:{width:1,height:175},thumbnail:{width:1,height:200},xthumbnail:{width:1,height:300},xxthumbnail:{width:1,height:400},xxxthumbnail:{width:1,height:500}}},813(e,t,n){"use strict";n.d(t,{l:()=>i});var i=function(e){return"".concat(e?"Offen":"Geschlossen"," Schild")}},6599(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>q});var i=n(1635),r=n(172),o=n(7390),a=n(5994),s=n(2961),l=n(4277),c=n(3531),u=n(3170),d=n(5851),h=n(813),f=function(e,t){var n=e.leafletId,o=e.storeId,s=(0,a.J0)(),f=s[0],p=s[1];if((0,a.vJ)((function(){var e=!1;return o?(0,i.sH)(void 0,void 0,void 0,(function(){var n;return(0,i.YH)(this,(function(r){switch(r.label){case 0:return[4,(0,u.g0)(t).get(o)];case 1:return(n=r.sent().data)&&(n.logo=c.Ok.storechains(t).images(n.storeChainId,"logos").get(0,"small"),e||p(function(e){for(var t={homePage:"Webseite",onlineShop:"Online shop",facebook:"Facebook",twitter:"Twitter",google:"Google+",pInterest:"Pinterest",tumbler:"Tumbler",youtube:"Youtube"},n=[],r=0,o=Object.keys(t);r<o.length;r++){var a=o[r],s=e.links[a];if((null==s?void 0:s.url)&&n.push({displayText:t[a],url:s.url}),n.length>2)break}return(0,i.Cl)((0,i.Cl)({},e),{displayLinks:n})}(n))),[2]}}))})):p(null),function(){e=!0}}),[o]),null===f)return(0,r.h)("div",{className:"box"},(0,r.h)("h2",null,"Dieses Angebot ist nur direkt auf der Webseite des Händlers verfügbar"));if(!f)return null;var v="/stores?".concat(n?"leafletId=".concat(n):"chainId=".concat(f.storeChainId));return(0,r.h)("div",{className:"box store-info"},(0,r.h)("div",{className:"store-info-wrapper"},(0,r.h)("div",{className:"title"},(0,r.h)("h2",{className:"headline uppercase"},"Geschäfte in deiner Nähe")),(0,r.h)(l.o,{src:f.logo,alt:"",className:"img-responsive logo",width:d.J7.small.width,height:d.J7.small.width}),(0,r.h)("span",null,(0,r.h)(l.o,{className:"status",src:"assets/icons/".concat(f.isOpen?"open":"close","_tag.svg"),alt:(0,h.l)(f.isOpen),width:92,height:48})),(0,r.h)("h2",{className:"name"},f.name),(0,r.h)("h3",null,f.location.name),(0,r.h)("h4",{className:"address"},f.location.address," ",f.location.zipCodes[0]," ",f.location.name),(0,r.h)("div",{className:"contacts"}
1,f.contactData.telephone?(0,r.h)("h4",null,(0,r.h)(l.o,{src:"./assets/icons/phone.svg",className:"icon-16",alt:"",width:16,height:16}),(0,r.h)("span",null,"Telefon:")," ",(0,r.h)("a",{href:"tel:".concat(f.contactData.telephone)},f.contactData.telephone)):null,f.contactData.fax?(0,r.h)("h4",null,(0,r.h)(l.o,{src:"./assets/icons/fax.svg",className:"icon-16",alt:"",width:16,height:16}),(0,r.h)("span",null,"Fax:")," ",(0,r.h)("a",{href:"tel:".concat(f.contactData.fax)},f.contactData.fax)):null,f.contactData.email?(0,r.h)("h4",null,(0,r.h)(l.o,{src:"./assets/icons/mail.svg",className:"icon-16",alt:"",width:16,height:16}),(0,r.h)("span",null,"Email:")," ",(0,r.h)("a",{className:"contact-mail",href:"mailto:".concat(f.contactData.email)},f.contactData.email)):null),(0,r.h)("h4",{className:"label"},"Ãffnungszeiten heute:"),(0,r.h)("h4",{className:"hours"},(0,u.g0)(t).openTime(f.openIntervals))),(0,r.h)("a",{href:v,className:"more-link btn"},"Mehr Filialen >"))},p=function(e){var t=e.leafletId,n=e.storeId,i=e.offerCount,c=e.showSpots,u=e.toggleSpots,d=e.zoom,h=e.toggleZoom,p=(0,a.J0)(!1),v=p[0],m=p[1];return(0,r.h)(r.FK,null,(0,r.h)("div",{className:"bottom-bar bar"},(0,r.h)("div",{className:"container"},(0,r.h)("div",{className:"row"},(0,r.h)("div",{className:"col"},(0,r.h)("div",{onClick:u,className:"spots ".concat(c?"on":"off"," ").concat(0===i?"disabled":"")},i)),(0,r.h)("div",{className:"col"},(0,r.h)("span",null,(0,r.h)("a",{onClick:function(){return function(e){return(0,o.wE)((0,s.fi)(s.JZ.pageflipOverview,{leafletId:e}))}(t)}},(0,r.h)(l.o,{src:"/assets/pf-overview.svg",instant:!0,width:32,height:32,alt:"Alle Seiten"})))),(0,r.h)("div",{className:"col"},(0,r.h)("a",{onClick:h},(0,r.h)(l.o,{src:"/assets/zoom-".concat(d?"out":"in",".svg"),instant:!0,width:32,height:32,alt:d?"Verkleinern":"VergröÃern"}))),(0,r.h)("div",{className:"col"},(0,r.h)("a",{onClick:function(){return m(!0)}},(0,r.h)(l.o,{src:"assets/store-info.svg",instant:!0,width:32,height:32,alt:"Info zur Filiale"})))))),v&&(0,r.h)("div",{className:"overlay"},(0,r.h)("div",{className:"background",onClick:function(){return m(!1)}}),(0,r.h)("div",{className:"content"},(0,r.h)(f,{storeId:n,leafletId:t}))))},v=n(7636),m=function(e){var t,n=e.leaflet,i=e.pageIndex,o=e.pageNumber,a=e.close;return(0,r.h)("div",{className:"top-bar bar"},(0,r.h)("div",{className:"container-fluid"},(0,r.h)("div",{className:"top-menu-bar ta-right"},"share"in navigator&&(0,r.h)("a",{className:"close-button share-button",onClick:function(){return function(e,t){var n,i;return null===navigator||void 0===navigator?void 0:navigator.share({title:"".concat(null===(n=e.advertiser)||void 0===n?void 0:n.name," Prospekt"),text:"".concat(null===(i=e.advertiser)||void 0===i?void 0:i.name," Prospekt"),url:"/leaflets/".concat(e.id,"/page/").concat(t)})}(n,i)}},(0,r.h)(l.o,{src:"/assets/share.svg",instant:!0,width:32,height:32,alt:"Prospekt teilen"})),(0,r.h)("span",{className:"dates"},o,"/",n.pageImages.count," | ",(0,v.Yq)(n.validFrom)," - ",(0,v.Yq)(n.validTo)," ",null===(t=n.advertiser)||void 0===t?void 0:t.name),(0,r.h)("div",{className:"close-button",onClick:a},(0,r.h)(l.o,{src:"/assets/close.svg",instant:!0,width:32,height:32,alt:"Ãbersicht schlieÃen"})))))},g=n(2213),b=n(9480),y=n(5581),x=n(217),w=n(9609);const I=function(e){var t=e.title,n=e.subtitle,i=e.marker;return(0,r.h)("div",{className:"leaflet-content"},(0,r.h)("h4",{className:"leaflet-content-title"},t),n&&(0,r.h)("div",{className:"leaflet-content-subtitle"},n),i&&(0,r.h)("div",{className:"leaflet-content-marker"},i))};const S=function(e){var t=e.className,n=e.children;return(0,r.h)("div",{className:"leaflets-grid ".concat(t||"")},n)};var C=function(e,t){var n=e.flightId,l=(0,a.J0)([]),c=l[0],u=l[1];return(0,a.vJ)((function(){(0,i.sH)(void 0,void 0,void 0,(function(){var e,r;return(0,i.YH)(this,(function(i){switch(i.label){case 0:return e=(0,y.y)(t),[4,(0,b.F)(t).recommended(n,e,4)];case 1:return(r=i.sent().data)&&u(r.results),[2]}}))}))}),[t,n]),(0,a.vJ)((function(){var e=document.querySelector(".list-wrapper"),t=function(e){return e.stopPropagation()};return null==e||e.addEventListener("wheel",t,!0),function(){return null==e?void 0:e.removeEventListener("wheel",t,!0)}}),[]),(0,r.h)("div",{className:"more-leaflets"},(0,r.h)("div",{className:"heading-wrapper"},(0,r.h)("h2",null,(0,r.h)("span",null,"Weitere interessante Prospekte"))),(0,r.h)("div",{className:"list-wrapper"},c.length<=0&&(0,r.h)("h3",null,"keine Vorschläge derzeit"),(0,r.h)(S,null,c.map((function(e){var n;return(0,r.h)(w.A,{key:e.id,url:(0,s.fi)(s.JZ.pageflip,{leafletId:e.mainLeafletId,pageIndex:0}),imgSrc:(0,g.P)(t).images(e.mainLeafletId,"pages").get(e.mainLeafletPageIndex,"xsmall"),onClick:function(){return function(e,t){return(0,i.sH)(void 0,void 0,void 0,(function(){var n;return(0,i.YH)(this,(function(i){switch(i.label){case 0:return[4,(0,b.F)(t).bestleaflet(e.id,t.location)];case 1:return n=i.sent().data,(0,x.u4)("setSource","Pageflip suggested leaflets area"),(0,x.u4)("setSource","Leaflet pageflip page"),(0,o.wE)((0,s.fi)(s.JZ.pageflip,{leafletId:(null==n?void 0:n.id)||e.mainLeafletId,pageIndex:0})),[2]}}))}))}(e,t)},onImageLoad:function(){return(0,x.u4)("flightImpression",{flight:e,ctx:t,source:"Pageflip suggested leaflets area"})},instant:!0},(0,r.h)(I,{title:(null===(n=e.advertiser)||void 0===n?void 0:n.name)||"",subtitle:"Prospekt ⢠".concat((0,v.Yq)(e.validFrom)," - ").concat((0,v.Yq)(e.validTo))}))})))))},T=n(7168),k=n.n(T);globalThis.Hammer=k();var E=document,O="onwheel"in document.createElement("div")?"wheel":void 0!==E.onmousewheel?"mousewheel":"DOMMouseScroll",N=function(e,t,n,i){e.addEventListener(""+t,"wheel"===O?n:function(e){!e&&(e=window.event);var t={originalEvent:e,target:e.target||e.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"===e.type?0:1,deltaX:0,deltaY:0,deltaZ:0,preventDefault:function(){e.preventDefault?e.preventDefault():e.returnValue=!1}};return"mousewheel"===O?(t.deltaY=-1/40*e.wheelDelta,e.wheelDeltaX&&(t.deltaX=-1/40*e.wheelDeltaX)):t.deltaY=e.detail,n(t)},i||!1)},M=function(e){var t=(0,a.li)(null),n=(0,a.li)(null),i=(0,a.li)(null);return(0,a.vJ)((function(){var r=t.current;if(r){var o=new T(r,{});o.get("pinch").set({enable:!0}),o.get("pan").set({direction:T.DIRECTION_ALL});var a=0,s=0,l=1,c=1,u=0,d=0,h=0,f=0,p="translate3d(0, 0, 0) scale3d(1, 1, 1)";r.style.webkitTransform=p,r.style.transform=p;var v,m,g,b=!1,y=function(){l>1&&!b&&(e.onZoom(!0),b=!0),l<=1&&b&&(e.onZoom(!1),b=!1,a=0,s=0,c=1,u=0,d=0)},x=function(){r.style.transition="0.3s ease-in-out all";var e=setTimeout((function(){r.style.transition="",clearTimeout(e)}),300)};return i.current=function(e){b!==e&&(e?(p="translate3d(0, 0, 0) scale3d(3, 3, 1) ",l=3,c=3):(p="translate3d(0, 0, 0) scale3d(1, 1, 1) ",l=1,c=1),r.style.webkitTransform=p,r.style.transform=p,x(),p="",y())},N(v=r,O,m=function(e){if(0===e.deltaX){e.preventDefault();var t=Math.round(e.deltaY<0?c+1:c-1);return l=t<=1?.999:Math.min(t,4),Math.abs(l-c)>.5&&(a=u+(l>c?window.innerWidth/2-(e.clientX||e.originalEvent.clientX):u/l*-1),s=d+(l>c?window.innerHeight/2-(e.clientY||e.originalEvent.clientY):d/l*-1),l<=1&&(a=0,s=0),u=a,d=s),1!==l&&(p="translate3d(".concat(a,"px,").concat(s,"px, 0) scale3d(").concat(l,", ").concat(l,", 1)")),p&&(r.style.webkitTransform=p,r.style.transform=p,x()),c=l,y(),!1}},g=!1),"DOMMouseScroll"===O&&N(v,"MozMousePixelScroll",m,g),o.on("doubletap pan pinch panend pinchend",(function(e){"doubletap"===e.type&&(a=2*(window.innerWidth/2-e.center.x),s=2*(window.innerHeight/2-e.center.y),u=a,d=s,p="translate3d(".concat(a,"px,").concat(s,"px, 0) scale3d(3, 3, 1) "),l=3,c=3,b&&(p="translate3d(0, 0, 0) scale3d(1, 1, 1) ",l=1,c=1,u=0,d=0,y()),r.style.webkitTransform=p,r.style.transform=p,x(),p=""),1!==l&&(a=u+e.deltaX,s=d+e.deltaY,h=Math.ceil((l-1)*r.clientWidth/2),f=Math.ceil((l-1)*r.clientHeight/2),a>h&&(a=h),a<-h&&(a=-h),s>f&&(s=f),s<-f&&(s=-f)),"pinch"===e.type&&(l=Math.max(.999,Math.min(c*e.scale,4))),"pinchend"===e.type&&(c=l),"panend"===e.type&&(u=a<h?a:h,d=s<f?s:f),1!==l&&(p="translate3d(".concat(a,"px,").concat(s,"px, 0) scale3d(").concat(l,", ").concat(l,", 1)")),p&&(y(),r.style.webkitTransform=p,r.style.transform=p)})),n.current=o,function(){o.destroy(),n.current=null,i.current=null}}}),[]),(0,a.vJ)((function(){var t=i.current;t&&void 0!==e.zoom&&t(e.zoom)}
1),[e.zoom]),(0,r.h)("div",{ref:t,className:"center-box"},e.children)},A=n(1075),D=n(6665),P=n(3514),_=n(3133),z=n(100),F=n(8627),H=n(7432),R=function(e){var t=e.src,n=e.alt,i=e.zoom,o=e.height,s=e.setImageLoaded,c=(0,a.J0)(),u=c[0],h=c[1],f=(0,H.x)().isMobile;return(0,a.vJ)((function(){!function(e,t){if(void 0===t&&(t=!0),!t)return h(e),void s(!0);h(""),(0,A.KG)();var n=new Image;n.src=e,n.onload=function(){h(n.src),(0,A.wI)(),s(!0)},n.onerror=function(){(0,A.wI)(),s(!1)}}(t,!i)}),[i,t]),u?(0,r.h)(l.o,{className:"img-responsive",src:u,alt:null!=n?n:"",width:f?d.J7.xlarge.width:d.J7.xxlarge.width,height:o*(f?d.J7.xlarge.width:d.J7.xxlarge.width),instant:!0}):null},L=n(3696),W=function(e,t){var n=e.offers,s=e.leafletId,l=e.pageIndex,c=e.hide,u=e.children,d=e.isImageLoaded,h=(0,a.J0)([]),f=h[0],p=h[1],v=n.map((function(e){return e.id})).join();return(0,a.vJ)((function(){p([]);var e=!1;return n.length>0&&(0,i.sH)(void 0,void 0,void 0,(function(){var r,o,a,c,u;return(0,i.YH)(this,(function(d){switch(d.label){case 0:return r=Object.assign.apply(Object,(0,i.fX)([{}],n.map((function(e){var t;return(t={})[+e.id.split("/")[1]]=e.coordinates,t})),!1)),[4,(0,L.G)(t).getMany(s,l)];case 1:return o=null!==(u=null===(c=null===(a=d.sent())||void 0===a?void 0:a.data)||void 0===c?void 0:c.results)&&void 0!==u?u:[],e||p(o.filter((function(e){return r[e.id]})).map((function(e){var t=r[e.id],n=t.fromX,i=t.fromY,o=t.tox,a=t.toy;return{left:"standard"===e.type?100*(n+(o-n)/2):100*n,top:"standard"===e.type?100*(i+(a-i)/2):100*i,width:100*(o-n),height:100*(a-i),offer:e}}))),[2]}}))})),function(){e=!0}}),[s,l,v]),(0,r.h)("div",{className:"offer-overlay"},d&&f&&f.length&&!c?f.map((function(e,n){return(0,r.h)("a",{key:n,className:"info-icon ".concat(null==e?void 0:e.offer.type),style:"top:".concat(null==e?void 0:e.top,"%;left:").concat(null==e?void 0:e.left,"%;")+"".concat("callToActionArea"===(null==e?void 0:e.offer.type)?"width:".concat(null==e?void 0:e.width,"%;height:").concat(null==e?void 0:e.height,"%;"):""),target:"offer-".concat(null==e?void 0:e.offer.id),href:null==e?void 0:e.offer.externalUrl,onClick:function(n){return function(e,t,n){if("link"!==t.type&&"callToActionArea"!==t.type&&(e.preventDefault(),(0,o.wE)("/offers/".concat(t.id))),t.externalUrl){var i="link"===t.type?"linkoffer":"callToActionArea"===t.type?"actionregion":"offer";(0,x.u4)("clickOut",{ad:t,name:t.product.name,type:i,url:t.externalUrl,offerSource:"page flip",ctx:n})}}(n,null==e?void 0:e.offer,t)}})})):null,u)},Y=function(e){var t=e.hide,n=e.offers,i=e.leafletId,o=e.pageIndex,s=e.src,l=e.zoom,c=e.height,u=(0,a.J0)(!1),d=u[0],h=u[1];return(0,r.h)(W,{hide:t,offers:n,leafletId:i,pageIndex:o,isImageLoaded:d},(0,r.h)(R,{src:s,zoom:l,height:c,setImageLoaded:h}))},B=globalThis.matchMedia("(min-width: 992px)"),X=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.getOffers=function(e,t){return e.children.filter((function(e){return e.pageIndex===t}))},t.images=null,t.onMediaChange=function(e){var n=e.matches?2:1;n!==t.state.colCount&&t.setModel((0,i.Cl)((0,i.Cl)({},t.state),{colCount:n}))},t.init=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return(0,i.sH)(t,(0,i.fX)([e],n,!0),void 0,(function(e,t){var n,r,a,l,c,u,d,h,f=this;return void 0===t&&(t=!1),(0,i.YH)(this,(function(p){switch(p.label){case 0:return e.leafletId&&e.pageIndex?(this.images=(0,g.P)(this.context).images(e.leafletId,"pages"),n=null!==(h=(0,F.I)(e.pageIndex))&&void 0!==h?h:0,r=B.matches?2:1,a=this.roundIndex(n,2),l=function(e){return(0,i.sH)(f,void 0,void 0,(function(){var t,l,c,u,d,h,f,p;return(0,i.YH)(this,(function(i){return this.images?(this.leaflet=e,t=1===r?"".concat(n+1):"".concat(a,"-").concat(a+1),l=n>=e.pageImages.count,0===a&&(t="1"),n>e.pageImages.count?(c=e.id,u=(0,s.fi)(s.JZ.pageflip,{leafletId:c,pageIndex:e.pageImages.count}),(0,o.wE)("".concat(u).concat((null===location||void 0===location?void 0:location.search)||""),!0),[2,!1]):(a>=e.pageImages.count+1&&(t="".concat(e.pageImages.count+1)),d={leaflet:e,first:0===a,last:l,pageIndex:n,index:a,pageNumber:t,colCount:r,left:a-1>=e.pageImages.count?null:this.getPage(a-1),leftMetadata:e.pageImages.metadata[a-1],right:a>=e.pageImages.count?null:this.getPage(a),rightMetadata:e.pageImages.metadata[a],leftOffers:this.getOffers(e,a-1),rightOffers:this.getOffers(e,a),zoom:!1,spots:!0,offersCount:0},h=this.getOffers(e,a-1).filter((function(e){return 0===e.id.lastIndexOf("offer",0)})).length,f=this.getOffers(e,a).filter((function(e){return 0===e.id.lastIndexOf("offer",0)})).length,d.offersCount=2===r?h+f:n%2==0?f:h,this.setModel(d),p=e.pageImages.count-e.pageImages.count%2,n<p&&((new Image).src=this.images.get(a+1,"large"),2===r&&a+2<e.pageImages.count&&((new Image).src=this.images.get(a+2,"large"))),[2,!0])):[2,!1]}))}))},t?(c=(0,y.h)(this.context),this.location=(0,P.R)(e,c),[4,(0,g.P)(this.context).getWithStore(e.leafletId,this.location)]):[3,3]):[2];case 1:return 404===(u=p.sent()).status&&(0,o.wE)((0,s.fi)(s.JZ.notFound)),(null==u?void 0:u.data)?(d=u.data,[4,l(d)]):[2];case 2:return p.sent()?((0,z.leafletOpen)({leaflet:d,pageIndex:n,ctx:this.context,zipCode:this.location.zipCodes[0]}),[3,4]):[2];case 3:this.leaflet&&l(this.leaflet),p.label=4;case 4:return globalThis.addEventListener("beforeunload",this.trackLeafletClosed),[2]}}))}))},t.setContainerClass=function(e){(document.getElementById("app")||document).className=e},t.roundIndex=function(e,t){var n=t;return Math.round(e/n)*n},t.getPage=function(e,n){var i,r;return void 0===n&&(n="large"),(null!==(i=(0,F.I)(e))&&void 0!==i?i:-1)<0?null:null===(r=t.images)||void 0===r?void 0:r.get(e,n)},t.next=function(){t.state.last||t.state.zoom||t.navigate(t.roundIndex(t.state.pageIndex+t.state.colCount,t.state.colCount))},t.prev=function(){t.state.first||t.state.zoom||t.navigate(t.roundIndex(t.state.pageIndex-t.state.colCount,t.state.colCount))},t.trackLeafletClosed=function(){var e,n;(0,z.leafletClosed)({leaflet:t.state.leaflet,pageIndex:t.state.pageIndex,ratio:null===(e=t.leaflet)||void 0===e?void 0:e.leafletClosedPercentage,ctx:t.context,zipCode:null===(n=t.location)||void 0===n?void 0:n.zipCodes[0]})},t.close=function(){(0,_.ad)()},t.onKeyUp=function(e){"ArrowRight"===e.code&&t.next(),"ArrowLeft"===e.code&&t.prev(),"Escape"===e.code&&t.close()},t.navigate=function(e){var n,i=null!==(n=(0,F.I)(e))&&void 0!==n?n:0,r=t.state.leaflet.id,a=(0,s.fi)(s.JZ.pageflip,{leafletId:r,pageIndex:i});(0,z.pageShow)({count:t.state.colCount}),(0,o.wE)(a,!0)},t.onZoom=function(e){var n=t.state.colCount>1?"xlarge":"large",r=t.roundIndex(t.state.pageIndex,2);t.setModel((0,i.Cl)((0,i.Cl)({},t.state),{zoom:e,left:t.state.left?t.getPage(r-1,n):null,right:t.state.right?t.getPage(r,n):null}))},t.zoomToggle=function(){t.setModel((0,i.Cl)((0,i.Cl)({},t.state),{zoom:!t.state.zoom}))},t.toggleSpots=function(){t.setModel((0,i.Cl)((0,i.Cl)({},t.state),{spots:!t.state.spots}))},t.setModel=function(e){return t.setState((function(t){return Object.assign(t,e),e}))},t}return(0,i.C6)(t,e),t.prototype.componentWillMount=function(){this.setContainerClass("pageflip-view"),globalThis.document.addEventListener("keyup",this.onKeyUp),this.init(this.props,!0),B.addListener(this.onMediaChange),(0,z.startUserCentrics)(x.DC.extended)},t.prototype.componentWillUpdate=function(e){var t=this.props.leafletId!==e.leafletId;if(t||this.props.pageIndex!==e.pageIndex){try{var n=this.base&&"setAttribute"in this.base?this.base.getElementsByClassName("canvas")[0]:void 0;(0,A.Yi)(n,"canvas")}catch(e){console.warn(e)}globalThis.removeEventListener("beforeunload",this.trackLeafletClosed),this.init(e,t)}},t.prototype.componentWillUnmount=function(){globalThis.document.removeEventListener("keyup",this.onKeyUp),this.setContainerClass(""),B.removeListener(this.onMediaChange),globalThis.removeEventListener("beforeunload",this.trackLeafletClosed),this.trackLeafletClosed()},t.prototype.render=function(e,t){var n,i;return t.leaflet?(0,r.h)("div",{className:"pageflip-container",onKeyUp:this.onKeyUp},(0,r.h)("div",{className:"pageflip ".concat(t.zoom?"zoomed":"")},(0,r.h)(m,{leaflet:t.leaflet,pageIndex:t.pageIndex,pageNumber:t.pageNumber,close:this.close}),(0,r.h)("div",{className:"canvas"},t.first?null:(0,r.h)("div",{className:"prev",onClick:this.prev}),(0,r.h)("div",{className:"content"},(0,r.h)("div",{className:"page-content container-fluid"},(0,r.h)(D.A,{right:this.prev,left:this.next},(0,r.h)(M,{onZoom:this.onZoom,zoom:t.zoom},(0,r.h)("div",{id:"pageflip-view"},(0,r.h)("div",{className:"pageflip-wrapper"},1===t.colCount&&t.pageIndex%2==0?null:(0,r.h)("div",{className:"pageflip-page"},t.first?(0,r.h)("div",{className:"store-info-col"},(0,r.h)(f,{storeId:null===(n=t.leaflet.closestStore)||void 0===n?void 0:n.id,leafletId:t.leaflet.id}
1)):t.left&&(0,r.h)(Y,{hide:!t.spots,offers:t.leftOffers,leafletId:t.leaflet.id,pageIndex:t.index-1,src:t.left,zoom:t.zoom,height:t.leftMetadata.height}),t.last&&!t.left&&(0,r.h)(C,{flightId:t.leaflet.leafletFlightId})),1===t.colCount&&t.pageIndex%2==1?null:(0,r.h)("div",{className:"pageflip-page"},t.last&&t.left&&!t.right&&(0,r.h)(C,{flightId:t.leaflet.leafletFlightId}),t.right&&(0,r.h)(Y,{hide:!t.spots,offers:t.rightOffers,leafletId:t.leaflet.id,pageIndex:t.index,src:t.right,zoom:t.zoom,height:t.rightMetadata.height})))))))),t.last?null:(0,r.h)("div",{className:"next",onClick:this.next})),(0,r.h)(p,{leafletId:t.leaflet.id,storeId:null===(i=t.leaflet.closestStore)||void 0===i?void 0:i.id,offerCount:t.offersCount,showSpots:t.spots,toggleSpots:this.toggleSpots,zoom:t.zoom,toggleZoom:this.zoomToggle}))):(0,r.h)(A.y$,null)},t}(r.uA);const q=X}}]);;_boot.start();
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.