1/*! For license information please see main.239c0773.js.LICENSE.txt */ 2(()=>{"use strict";var e={4(e,t,n){var r=n(853),i=n(43),a=n(950);function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}var l=Symbol.for("react.element"),u=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),m=Symbol.for("react.consumer"),g=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),k=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var _=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var S=Symbol.for("react.memo_cache_sentinel"),x=Symbol.iterator;function C(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=x&&e[x]||e["@@iterator"])?e:null}var T=Symbol.for("react.client.reference");function E(e){if(null==e)return null;if("function"===typeof e)return e.$$typeof===T?null:e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case d:return"Fragment";case c:return"Portal";case h:return"Profiler";case p:return"StrictMode";case y:return"Suspense";case b:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case g:return(e.displayName||"Context")+".Provider";case m:return(e._context.displayName||"Context")+".Consumer";case v:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case w:return null!==(t=e.displayName||null)?t:E(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return E(e(t))}catch(Zh){}}return null}var A,I,O=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=Object.assign;function R(e){if(void 0===A)try{throw Error()}catch(Zh){var t=Zh.stack.trim().match(/\n( *(at )?)/);A=t&&t[1]||"",I=-1<Zh.stack.indexOf("\n at")?" (<anonymous>)":-1<Zh.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+A+e+I}var P=!1;function N(e,t){if(!e||P)return"";P=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(Zh){var r=Zh}Reflect.construct(e,[],n)}
vendor: 9,228 bytes, line 2
2else{try{n.call()}catch(i){r=i}e.call(n.prototype)}}else{try{throw Error()}catch(Fi){r=Fi}(n=e())&&"function"===typeof n.catch&&n.catch(function(){})}}catch(a){if(a&&r&&"string"===typeof a.stack)return[a.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var l=o.split("\n"),u=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<u.length&&!u[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===u.length)for(r=l.length-1,i=u.length-1;1<=r&&0<=i&&l[r]!==u[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==u[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==u[i]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=i);break}}}finally{P=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?R(n):""}function M(e){switch(e.tag){case 26:case 27:case 5:return R(e.type);case 16:return R("Lazy");case 13:return R("Suspense");case 19:return R("SuspenseList");case 0:case 15:return e=N(e.type,!1);case 11:return e=N(e.type.render,!1);case 1:return e=N(e.type,!0);default:return""}}function L(e){try{var t="";do{t+=M(e),e=e.return}while(e);return t}catch(Zh){return"\nError generating stack: "+Zh.message+"\n"+Zh.stack}}function D(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function V(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function F(e){if(D(e)!==e)throw Error(o(188))}function z(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=z(e)))return t;e=e.sibling}return null}var H=Array.isArray,q=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U={pending:!1,data:null,method:null,action:null},B=[],W=-1;function K(e){return{current:e}}function $(e){0>W||(e.current=B[W],B[W]=null,W--)}function G(e,t){W++,B[W]=e.current,e.current=t}var Y=K(null),Q=K(null),J=K(null),X=K(null);function Z(e,t){switch(G(J,t),G(Q,e),G(Y,null),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?Jc(t):0;break;default:if(t=(e=8===e?t.parentNode:t).tagName,e=e.namespaceURI)t=Xc(e=Jc(e),t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}$(Y),G(Y,t)}function ee(){$(Y),$(Q),$(J)}function te(e){null!==e.memoizedState&&G(X,e);var t=Y.current,n=Xc(t,e.type);t!==n&&(G(Q,e),G(Y,n))}function ne(e){Q.current===e&&($(Y),$(Q)),X.current===e&&($(X),Dd._currentValue=U)}var re=Object.prototype.hasOwnProperty,ie=r.unstable_scheduleCallback,ae=r.unstable_cancelCallback,oe=r.unstable_shouldYield,se=r.unstable_requestPaint,le=r.unstable_now,ue=r.unstable_getCurrentPriorityLevel,ce=r.unstable_ImmediatePriority,de=r.unstable_UserBlockingPriority,pe=r.unstable_NormalPriority,he=r.unstable_LowPriority,fe=r.unstable_IdlePriority,me=r.log,ge=r.unstable_setDisableYieldValue,ve=null,ye=null;function be(e){if("function"===typeof me&&ge(e),ye&&"function"===typeof ye.setStrictMode)try{ye.setStrictMode(ve,e)}catch(t){}}var we=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ke(e)/_e|0)|0},ke=Math.log,_e=Math.LN2;var Se=128,xe=4194304;function Ce(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194176&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Te(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=e.warmLanes;e=0!==e.finishedLanes;var s=134217727&n;return 0!==s?0!==(n=s&~i)?r=Ce(n):0!==(a&=s)?r=Ce(a):e||0!==(o=s&~o)&&(r=Ce(o)):0!==(s=n&~i)?r=Ce(s):0!==a?r=Ce(a):e||0!==(o=n&~o)&&(r=Ce(o)),0===r?0:0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(o=t&-t)||32===i&&0!==(4194176&o))?t:r}function Ee(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Ae(e,t){switch(e){case 1:case 2:case 4:case 8:return t+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Ie(){var e=Se;return 0===(4194176&(Se<<=1))&&(Se=128),e}function Oe(){var e=xe;return 0===(62914560&(xe<<=1))&&(xe=4194304),e}function je(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Re(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Pe(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-we(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194218&n}function Ne(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-we(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Me(e){return 2<(e&=-e)?8<e?0!==(134217727&e)?32:268435456:8:2}function Le(){var e=q.p;return 0!==e?e:void 0===(e=window.event)?32:Xd(e.type)}var De=Math.random().toString(36).slice(2),Ve="__reactFiber$"+De,Fe="__reactProps$"+De,ze="__reactContainer$"+De,He="__reactEvents$"+De,qe="__reactListeners$"+De,Ue="__reactHandles$"+De,Be="__reactResources$"+De,We="__reactMarker$"+De;function Ke(e){delete e[Ve],delete e[Fe],delete e[He],delete e[qe],delete e[Ue]}function $e(e){var t=e[Ve];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ze]||n[Ve]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ud(e);null!==e;){if(n=e[Ve])return n;e=ud(e)}return t}n=(e=n).parentNode}return null}function Ge(e){if(e=e[Ve]||e[ze]){var t=e.tag;if(5===t||6===t||13===t||26===t||27===t||3===t)return e}return null}function Ye(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(o(33))}function Qe(e){var t=e[Be];return t||(t=e[Be]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Je(e){e[We]=!0}var Xe=new Set,Ze={};function et(e,t){tt(e,t),tt(e+"Capture",t)}function tt(e,t){for(Ze[e]=t,e=0;e<t.length;e++)Xe.add(t[e])}var nt=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),rt=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),it={},at={};function ot(e,t,n){if(i=t,re.call(at,i)||!re.call(it,i)&&(rt.test(i)?at[i]=!0:(it[i]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var i}function st(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function lt(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function ut(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ct(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function dt(e){e._valueTracker||(e._valueTracker=function(e){var t=ct(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function pt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ct(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ht(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var ft=/[\n"\\]/g;function mt(e){return e.replace(ft,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}
2function gt(e,t,n,r,i,a,o,s){e.name="",null!=o&&"function"!==typeof o&&"symbol"!==typeof o&&"boolean"!==typeof o?e.type=o:e.removeAttribute("type"),null!=t?"number"===o?(0===t&&""===e.value||e.value!=t)&&(e.value=""+ut(t)):e.value!==""+ut(t)&&(e.value=""+ut(t)):"submit"!==o&&"reset"!==o||e.removeAttribute("value"),null!=t?yt(e,o,ut(t)):null!=n?yt(e,o,ut(n)):null!=r&&e.removeAttribute("value"),null==i&&null!=a&&(e.defaultChecked=!!a),null!=i&&(e.checked=i&&"function"!==typeof i&&"symbol"!==typeof i),null!=s&&"function"!==typeof s&&"symbol"!==typeof s&&"boolean"!==typeof s?e.name=""+ut(s):e.removeAttribute("name")}function vt(e,t,n,r,i,a,o,s){if(null!=a&&"function"!==typeof a&&"symbol"!==typeof a&&"boolean"!==typeof a&&(e.type=a),null!=t||null!=n){if(!("submit"!==a&&"reset"!==a||void 0!==t&&null!==t))return;n=null!=n?""+ut(n):"",t=null!=t?""+ut(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!==typeof(r=null!=r?r:i)&&"symbol"!==typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=o&&"function"!==typeof o&&"symbol"!==typeof o&&"boolean"!==typeof o&&(e.name=o)}function yt(e,t,n){"number"===t&&ht(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function bt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ut(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function wt(e,t,n){null==t||((t=""+ut(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+ut(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function kt(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(o(92));if(H(r)){if(1<r.length)throw Error(o(93));r=r[0]}n=r}null==n&&(n=""),t=n}n=ut(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r)}function _t(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var St=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function xt(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"===typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!==typeof n||0===n||St.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Ct(e,t,n){if(null!=t&&"object"!==typeof t)throw Error(o(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var i in t)r=t[i],t.hasOwnProperty(i)&&n[i]!==r&&xt(e,i,r)}else for(var a in t)t.hasOwnProperty(a)&&xt(e,a,t[a])}function Tt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Et=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRen
2dering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),At=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function It(e){return At.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Ot=null;function jt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.n
vendor: 4,823 bytes, line 2
2odeType?e.parentNode:e}var Rt=null,Pt=null;function Nt(e){var t=Ge(e);if(t&&(e=t.stateNode)){var n=e[Fe]||null;e:switch(e=t.stateNode,t.type){case"input":if(gt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+mt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[Fe]||null;if(!i)throw Error(o(90));gt(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&pt(r)}break e;case"textarea":wt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&bt(e,!!n.multiple,t,!1)}}}var Mt=!1;function Lt(e,t,n){if(Mt)return e(t,n);Mt=!0;try{return e(t)}finally{if(Mt=!1,(null!==Rt||null!==Pt)&&(Fu(),Rt&&(t=Rt,e=Pt,Pt=Rt=null,Nt(t),e)))for(t=0;t<e.length;t++)Nt(e[t])}}function Dt(e,t){var n=e.stateNode;if(null===n)return null;var r=n[Fe]||null;if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var Vt=!1;if(nt)try{var Ft={};Object.defineProperty(Ft,"passive",{get:function(){Vt=!0}}),window.addEventListener("test",Ft,Ft),window.removeEventListener("test",Ft,Ft)}catch(_p){Vt=!1}var zt=null,Ht=null,qt=null;function Ut(){if(qt)return qt;var e,t,n=Ht,r=n.length,i="value"in zt?zt.value:zt.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return qt=i.slice(e,1<t?1-t:void 0)}function Bt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Wt(){return!0}function Kt(){return!1}function $t(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?Wt:Kt,this.isPropagationStopped=Kt,this}return j(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Wt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Wt)},persist:function(){},isPersistent:Wt}),t}var Gt,Yt,Qt,Jt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xt=$t(Jt),Zt=j({},Jt,{view:0,detail:0}),en=$t(Zt),tn=j({},Zt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:hn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Qt&&(Qt&&"mousemove"===e.type?(Gt=e.screenX-Qt.screenX,Yt=e.screenY-Qt.screenY):Yt=Gt=0,Qt=e),Gt)},movementY:function(e){return"movementY"in e?e.movementY:Yt}}),nn=$t(tn),rn=$t(j({},tn,{dataTransfer:0})),an=$t(j({},Zt,{relatedTarget:0})),on=$t(j({},Jt,{animationName:0,elapsedTime:0,pseudoElement:0})),sn=$t(j({},Jt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),ln=$t(j({},Jt,{data:0})),un={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},dn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function pn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=dn[e])&&!!t[e]}function hn(){return pn}var fn=$t(j({},Zt,{key:function(e){if(e.key){var t=un[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Bt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"ke
2yup"===e.type?cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:hn,charCode:function(e){return"keypress"===e.type?Bt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Bt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),mn=$t(j({},tn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),gn=$t(j({},Zt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:hn})),vn=$t(j({},Jt,{propertyName:0,elapsedTime:0,pseudoElement:0})),yn=$t(j({},tn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),bn=$t(j({},Jt,{newState:0,oldState:0})),wn=[9,13,27,32],kn=nt&&"CompositionEvent"in window,_n=null;nt&&"documentMode"in document&&(_n=document.documentMode);var Sn=nt&&"TextEvent"in window&&!_n,xn=nt&&(!kn||_n&&8<_n&&11>=_n),Cn=String.fromCharCode(32),Tn=!1;function En(e,t){switch(e){case"keyup":return-1!==wn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function An(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var In=!1;var On={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function jn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!On[e.type]:"textarea"===t}function Rn(e,t,n,r){Rt?Pt?Pt.push(r):Pt=[r]:Rt=r,0<(t=Dc(t,"onChange")).length&&(n=new Xt("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Pn=null,Nn=null;function Mn(e){Ic(e,0)}function Ln(e){if(pt(Ye(e)))return e}function Dn(e,t){if("change"===e)return t}var Vn=!1;if(nt){var Fn;if(nt){var zn="oninput"in document;if(!zn){var Hn=document.createElement("div");Hn.setAttribute("oninput","return;"),zn="function"===typeof Hn.oninput}Fn=zn}else Fn=!1;Vn=Fn&&(!document.documentMode||9<document.documentMode)}function qn(){Pn&&(Pn.detachEvent("onpropertychange",Un),Nn=Pn=null)}function Un(e){if("value"===e.propertyName&&Ln(Nn)){var t=[];Rn(t,Nn,e,jt(e)),Lt(Mn,t)}}function Bn(e,t,n){"focusin"===e?(qn(),Nn=n,(Pn=t).attachEvent("onpropertychange",Un)):"focusout"===e&&qn()}function Wn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Ln(Nn)}function Kn(e,t){if("click"===e)return Ln(t)}function $n(e,t){if("input"===e||"change"===e)return Ln(t)}var Gn="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function Yn(e,t){if(Gn(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!re.call(t,i)||!Gn(e[i],t[i]))return!1}return!0}function Qn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jn(e,t){var n,r=Qn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Qn(r)}}function Xn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Xn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Zn(e){for(var t=ht((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=ht((e=t.contentWindow).document)}return t}function er(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function tr(e,t){var n=Zn(t);t=e.focusedElem;var r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Xn(t.ownerDocument.documentElement,t)){if(null!==r&&er(t))if(e=r.start,void 0===(n=r.end)&&(n=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(n,t.value.length);else if((n=(e=t.ownerDocument||document)&&e.defaultView||window).getSelection){n=n.getSelection();var i=t.textContent.length,a=Math.min(r.start,i);r=void 0===r.end?a:Math.min(r.end,i),!n.extend&&a>r&&(i=r,r=a,a=i),i=Jn(t,a);var o=Jn(t,r);i&&o&&(1!==n.rangeCount||n.anchorNode!==i.node||n.anchorOffset!==i.offset||n.focusNode!==o.node||n.focusOffset!==o.offset)&&((e=e.createRange()).setStart(i.node,i.offset),n.removeAllRanges(),a>r?(n.addRange(e),n.extend(o.node,o.offset)):(e.setEnd(o.node,o.offset),n.addRange(e)))}for(e=[],n=t;n=n.parentNode;)1===n.nodeType&&e.push({element:n,left:n.scrollLeft,top:n.scrollTop});
vendor: 18,900 bytes, line 2
2for("function"===typeof t.focus&&t.focus(),t=0;t<e.length;t++)(n=e[t]).element.scrollLeft=n.left,n.element.scrollTop=n.top}}var nr=nt&&"documentMode"in document&&11>=document.documentMode,rr=null,ir=null,ar=null,or=!1;function sr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;or||null==rr||rr!==ht(r)||("selectionStart"in(r=rr)&&er(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},ar&&Yn(ar,r)||(ar=r,0<(r=Dc(ir,"onSelect")).length&&(t=new Xt("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=rr)))}function lr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ur={animationend:lr("Animation","AnimationEnd"),animationiteration:lr("Animation","AnimationIteration"),animationstart:lr("Animation","AnimationStart"),transitionrun:lr("Transition","TransitionRun"),transitionstart:lr("Transition","TransitionStart"),transitioncancel:lr("Transition","TransitionCancel"),transitionend:lr("Transition","TransitionEnd")},cr={},dr={};function pr(e){if(cr[e])return cr[e];if(!ur[e])return e;var t,n=ur[e];for(t in n)if(n.hasOwnProperty(t)&&t in dr)return cr[e]=n[t];return e}nt&&(dr=document.createElement("div").style,"AnimationEvent"in window||(delete ur.animationend.animation,delete ur.animationiteration.animation,delete ur.animationstart.animation),"TransitionEvent"in window||delete ur.transitionend.transition);var hr=pr("animationend"),fr=pr("animationiteration"),mr=pr("animationstart"),gr=pr("transitionrun"),vr=pr("transitionstart"),yr=pr("transitioncancel"),br=pr("transitionend"),wr=new Map,kr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" ");function _r(e,t){wr.set(e,t),et(t,[e])}var Sr=[],xr=0,Cr=0;function Tr(){for(var e=xr,t=Cr=xr=0;t<e;){var n=Sr[t];Sr[t++]=null;var r=Sr[t];Sr[t++]=null;var i=Sr[t];Sr[t++]=null;var a=Sr[t];if(Sr[t++]=null,null!==r&&null!==i){var o=r.pending;null===o?i.next=i:(i.next=o.next,o.next=i),r.pending=i}0!==a&&Or(n,i,a)}}function Er(e,t,n,r){Sr[xr++]=e,Sr[xr++]=t,Sr[xr++]=n,Sr[xr++]=r,Cr|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Ar(e,t,n,r){return Er(e,t,n,r),jr(e)}function Ir(e,t){return Er(e,null,null,t),jr(e)}function Or(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var i=!1,a=e.return;null!==a;)a.childLanes|=n,null!==(r=a.alternate)&&(r.childLanes|=n),22===a.tag&&(null===(e=a.stateNode)||1&e._visibility||(i=!0)),e=a,a=a.return;i&&null!==t&&3===e.tag&&(a=e.stateNode,i=31-we(n),null===(e=(a=a.hiddenUpdates)[i])?a[i]=[t]:e.push(t),t.lane=536870912|n)}function jr(e){if(50<Iu)throw Iu=0,Ou=null,Error(o(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Rr={},Pr=new WeakMap;function Nr(e,t){if("object"===typeof e&&null!==e){var n=Pr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:L(t)},Pr.set(e,t),t)}return{value:e,source:t,stack:L(t)}}var Mr=[],Lr=0,Dr=null,Vr=0,Fr=[],zr=0,Hr=null,qr=1,Ur="";function Br(e,t){Mr[Lr++]=Vr,Mr[Lr++]=Dr,Dr=e,Vr=t}function Wr(e,t,n){Fr[zr++]=qr,Fr[zr++]=Ur,Fr[zr++]=Hr,Hr=e;var r=qr;e=Ur;var i=32-we(r)-1;r&=~(1<<i),n+=1;var a=32-we(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,qr=1<<32-we(t)+i|n<<i|r,Ur=a+e}else qr=1<<a|n<<i|r,Ur=e}function Kr(e){null!==e.return&&(Br(e,1),Wr(e,1,0))}function $r(e){for(;e===Dr;)Dr=Mr[--Lr],Mr[Lr]=null,Vr=Mr[--Lr],Mr[Lr]=null;for(;e===Hr;)Hr=Fr[--zr],Fr[zr]=null,Ur=Fr[--zr],Fr[zr]=null,qr=Fr[--zr],Fr[zr]=null}var Gr=null,Yr=null,Qr=!1,Jr=null,Xr=!1,Zr=Error(o(519));function ei(e){throw ai(Nr(Error(o(418,"")),e)),Zr}function ti(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Ve]=e,t[Fe]=r,n){case"dialog":Oc("cancel",t),Oc("close",t);break;case"iframe":case"object":case"embed":Oc("load",t);break;case"video":case"audio":for(n=0;n<Ec.length;n++)Oc(Ec[n],t);break;case"source":Oc("error",t);break;case"img":case"image":case"link":Oc("error",t),Oc("load",t);break;case"details":Oc("toggle",t);break;case"input":Oc("invalid",t),vt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),dt(t);break;case"select":Oc("invalid",t);break;case"textarea":Oc("invalid",t),kt(t,r.value,r.defaultValue,r.children),dt(t)}"string"!==typeof(n=r.children)&&"number"!==typeof n&&"bigint"!==typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||Uc(t.textContent,n)?(null!=r.popover&&(Oc("beforetoggle",t),Oc("toggle",t)),null!=r.onScroll&&Oc("scroll",t),null!=r.onScrollEnd&&Oc("scrollend",t),null!=r.onClick&&(t.onclick=Bc),t=!0):t=!1,t||ei(e)}function ni(e){for(Gr=e.return;Gr;)switch(Gr.tag){case 3:case 27:return void(Xr=!0);case 5:case 13:return void(Xr=!1);default:Gr=Gr.return}}function ri(e){if(e!==Gr)return!1;if(!Qr)return ni(e),Qr=!0,!1;var t,n=!1;if((t=3!==e.tag&&27!==e.tag)&&((t=5===e.tag)&&(t=!("form"!==(t=e.type)&&"button"!==t)||Zc(e.type,e.memoizedProps)),t=!t),t&&(n=!0),n&&Yr&&ei(e),ni(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType)if("/$"===(t=e.data)){if(0===n){Yr=ld(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++;e=e.nextSibling}Yr=null}}else Yr=Gr?ld(e.stateNode.nextSibling):null;return!0}function ii(){Yr=Gr=null,Qr=!1}function ai(e){null===Jr?Jr=[e]:Jr.push(e)}var oi=Error(o(460)),si=Error(o(474)),li={then:function(){}};function ui(e){return"fulfilled"===(e=e.status)||"rejected"===e}function ci(){}function di(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(ci,ci),t=n),t.status){case"fulfilled":return t.value;case"rejected":if((e=t.reason)===oi)throw Error(o(483));throw e;default:if("string"===typeof t.status)t.then(ci,ci);else{if(null!==(e=nu)&&100<e.shellSuspendCounter)throw Error(o(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":if((e=t.reason)===oi)throw Error(o(483));throw e}throw pi=t,oi}}var pi=null;function hi(){if(null===pi)throw Error(o(459));var e=pi;return pi=null,e}var fi=null,mi=0;function gi(e){var t=mi;return mi+=1,null===fi&&(fi=[]),di(fi,e,t)}function vi(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function yi(e,t){if(t.$$typeof===l)throw Error(o(525));throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function bi(e){return(0,e._init)(e._payload)}function wi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(e,t){return(e=Vl(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=33554434,n):r:(t.flags|=33554434,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=33554434),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Ul(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function p(e,t,n,r){var a=n.type;return a===d?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"===typeof a&&null!==a&&a.$$typeof===k&&bi(a)===t.type)?(vi(t=i(t,n.props),n),t.return=e,t):(vi(t=zl(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function h(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bl(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,a){return null===t||7!==t.tag?((t=Hl(n,e.mode,r,a)).return=e,t):((t=i(t,n)).return=e,t)}function m(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t||"bigint"===typeof t)return(t=Ul(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case u:return vi(n=zl(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case c:return(t=Bl(t,e.mode,n)).return=e,t;case k:return m(e,t=(0,t._init)(t._payload),n)}if(H(t)||C(t))return(t=Hl(t,e.mode,n,null)).return=e,t;if("function"===typeof t.then)return m(e,gi(t),n);if(t.$$typeof===g)return m(e,Es(e,t),n);yi(e,t)}return null}function v(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n||"bigint"===typeof n)return null!==i?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case u:return n.key===i?p(e,t,n,r):null;case c:return n.key===i?h(e,t,n,r):null;case k:return v(e,t,n=(i=n._init)(n._payload),r)}if(H(n)||C(n))return null!==i?null:f(e,t,n,r,null);if("function"===typeof n.then)return v(e,t,gi(n),r);if(n.$$typeof===g)return v(e,t,Es(e,n),r);yi(e,n)}return null}function y(e,t,n,r,i){if("string"===typeof r&&""!==r||"number"===typeof r||"bigint"===typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case u:return p(t,e=e.get(null===r.key?n:r.key)||null,r,i);case c:return h(t,e=e.get(null===r.key?n:r.key)||null,r,i);case k:return y(e,t,n,r=(0,r._init)(r._payload),i)}if(H(r)||C(r))return f(t,e=e.get(n)||null,r,i,null);if("function"===typeof r.then)return y(e,t,n,gi(r),i);if(r.$$typeof===g)return y(e,t,n,Es(t,r),i);yi(t,r)}return null}function b(l,p,h,f){if("object"===typeof h&&null!==h&&h.type===d&&null===h.key&&(h=h.props.children),"object"===typeof h&&null!==h){switch(h.$$typeof){case u:e:{for(var w=h.key;null!==p;){if(p.key===w){if((w=h.type)===d){if(7===p.tag){n(l,p.sibling),(f=i(p,h.props.children)).return=l,l=f;break e}}else if(p.elementType===w||"object"===typeof w&&null!==w&&w.$$typeof===k&&bi(w)===p.type){n(l,p.sibling),vi(f=i(p,h.props),h),f.return=l,l=f;break e}n(l,p);break}t(l,p),p=p.sibling}h.type===d?((f=Hl(h.props.children,l.mode,f,h.key)).return=l,l=f):(vi(f=zl(h.type,h.key,h.props,null,l.mode,f),h),f.return=l,l=f)}return s(l);case c:e:{for(w=h.key;null!==p;){if(p.key===w){if(4===p.tag&&p.stateNode.containerInfo===h.containerInfo&&p.stateNode.implementation===h.implementation){n(l,p.sibling),(f=i(p,h.children||[])).return=l,l=f;break e}n(l,p);break}t(l,p),p=p.sibling}(f=Bl(h,l.mode,f)).return=l,l=f}return s(l);case k:return b(l,p,h=(w=h._init)(h._payload),f)}if(H(h))return function(i,o,s,l){for(var u=null,c=null,d=o,p=o=0,h=null;null!==d&&p<s.length;p++){d.index>p?(h=d,d=null):h=d.sibling;var f=v(i,d,s[p],l);if(null===f){null===d&&(d=h);break}e&&d&&null===f.alternate&&t(i,d),o=a(f,o,p),null===c?u=f:c.sibling=f,c=f,d=h}if(p===s.length)return n(i,d),Qr&&Br(i,p),u;if(null===d){for(;p<s.length;p++)null!==(d=m(i,s[p],l))&&(o=a(d,o,p),null===c?u=d:c.sibling=d,c=d);return Qr&&Br(i,p),u}for(d=r(d);p<s.length;p++)null!==(h=y(d,i,p,s[p],l))&&(e&&null!==h.alternate&&d.delete(null===h.key?p:h.key),o=a(h,o,p),null===c?u=h:c.sibling=h,c=h);return e&&d.forEach(function(e){return t(i,e)}),Qr&&Br(i,p),u}(l,p,h,f);if(C(h)){if("function"!==typeof(w=C(h)))throw Error(o(150));return function(i,s,l,u){if(null==l)throw Error(o(151));for(var c=null,d=null,p=s,h=s=0,f=null,g=l.next();null!==p&&!g.done;h++,g=l.next()){p.index>h?(f=p,p=null):f=p.sibling;var b=v(i,p,g.value,u);if(null===b){null===p&&(p=f);break}e&&p&&null===b.alternate&&t(i,p),s=a(b,s,h),null===d?c=b:d.sibling=b,d=b,p=f}if(g.done)return n(i,p),Qr&&Br(i,h),c;if(null===p){for(;!g.done;h++,g=l.next())null!==(g=m(i,g.value,u))&&(s=a(g,s,h),null===d?c=g:d.sibling=g,d=g);return Qr&&Br(i,h),c}for(p=r(p);!g.done;h++,g=l.next())null!==(g=y(p,i,h,g.value,u))&&(e&&null!==g.alternate&&p.delete(null===g.key?h:g.key),s=a(g,s,h),null===d?c=g:d.sibling=g,d=g);return e&&p.forEach(function(e){return t(i,e)}),Qr&&Br(i,h),c}(l,p,h=w.call(h),f)}if("function"===typeof h.then)return b(l,p,gi(h),f);if(h.$$typeof===g)return b(l,p,Es(l,h),f);yi(l,h)}return"string"===typeof h&&""!==h||"number"===typeof h||"bigint"===typeof h?(h=""+h,null!==p&&6===p.tag?(n(l,p.sibling),(f=i(p,h)).return=l,l=f):(n(l,p),(f=Ul(h,l.mode,f)).return=l,l=f),s(l)):n(l,p)}return function(e,t,n,r){try{mi=0;var i=b(e,t,n,r);return fi=null,i}catch(Zh){if(Zh===oi)throw Zh;var a=Ll(29,Zh,null,e.mode);return a.lanes=r,a.return=e,a}}}var ki=wi(!0),_i=wi(!1),Si=K(null),xi=K(0);function Ci(e,t){G(xi,e=cu),G(Si,t),cu=e|t.baseLanes}function Ti(){G(xi,cu),G(Si,Si.current)}function Ei(){cu=xi.current,$(Si),$(xi)}var Ai=K(null),Ii=null;function Oi(e){var t=e.alternate;G(Ni,1&Ni.current),G(Ai,e),null===Ii&&(null===t||null!==Si.current||null!==t.memoizedState)&&(Ii=e)}function ji(e){if(22===e.tag){if(G(Ni,Ni.current),G(Ai,e),null===Ii){var t=e.alternate;null!==t&&null!==t.memoizedState&&(Ii=e)}}else Ri()}function Ri(){G(Ni,Ni.current),G(Ai,Ai.current)}function Pi(e){$(Ai),Ii===e&&(Ii=null),$(Ni)}var Ni=K(0);function Mi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Li="undefined"!==typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Di=r.unstable_scheduleCallback,Vi=r.unstable_NormalPriority,zi={$$typeof:g,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Hi(){return{controller:new Li,data:new Map,refCount:0}}function qi(e){e.refCount--,0===e.refCount&&Di(Vi,function(){e.controller.abort()})}var Ui=null,Bi=0,Wi=0,Ki=null;function $i(){if(0===--Bi&&null!==Ui){null!==Ki&&(Ki.status="fulfilled");var e=Ui;Ui=null,Wi=0,Ki=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Gi=O.S;O.S=function(e,t){"object"===typeof t&&null!==t&&"function"===typeof t.then&&function(e,t){if(null===Ui){var n=Ui=[];Bi=0,Wi=_c(),Ki={status:"pending",value:void 0,then:function(e){n.push(e)}}}Bi++,t.then($i,$i)}(0,t),null!==Gi&&Gi(e,t)};var Yi=K(null);function Qi(){var e=Yi.current;return null!==e?e:nu.pooledCache}function Ji(e,t){G(Yi,null===t?Yi.current:t.pool)}function Xi(){var e=Qi();return null===e?null:{parent:zi._currentValue,pool:e}}var Zi=0,ea=null,ta=null,na=null,ra=!1,ia=!1,aa=!1,oa=0,sa=0,la=null,ua=0;function ca(){throw Error(o(321))}function da(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Gn(e[n],t[n]))return!1;return!0}function pa(e,t,n,r,i,a){return Zi=a,ea=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=null===e||null===e.memoizedState?Eo:Ao,aa=!1,a=n(r,i),aa=!1,ia&&(a=fa(t,n,r,i)),ha(e),a}function ha(e){O.H=To;var t=null!==ta&&null!==ta.next;if(Zi=0,na=ta=ea=null,ra=!1,sa=0,la=null,t)throw Error(o(300));null===e||Wo||null!==(e=e.dependencies)&&xs(e)&&(Wo=!0)}function fa(e,t,n,r){ea=e;var i=0;do{if(ia&&(la=null),sa=0,ia=!1,25<=i)throw Error(o(301));if(i+=1,na=ta=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}O.H=Io,a=t(n,r)}while(ia);return a}function ma(){var e=O.H,t=e.useState()[0];return t="function"===typeof t.then?ka(t):t,e=e.useState()[0],(null!==ta?ta.memoizedState:null)!==e&&(ea.flags|=1024),t}function ga(){var e=0!==oa;return oa=0,e}function va(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function ya(e){if(ra){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}ra=!1}Zi=0,na=ta=ea=null,ia=!1,sa=oa=0,la=null}function ba(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===na?ea.memoizedState=na=e:na=na.next=e,na}function wa(){if(null===ta){var e=ea.alternate;e=null!==e?e.memoizedState:null}else e=ta.next;var t=null===na?ea.memoizedState:na.next;if(null!==t)na=t,ta=e;else{if(null===e){if(null===ea.alternate)throw Error(o(467));throw Error(o(310))}e={memoizedState:(ta=e).memoizedState,baseState:ta.baseState,baseQueue:ta.baseQueue,queue:ta.queue,next:null},null===na?ea.memoizedState=na=e:na=na.next=e}return na}function ka(e){var t=sa;return sa+=1,null===la&&(la=[]),e=di(la,e,t),t=ea,null===(null===na?t.memoizedState:na.next)&&(t=t.alternate,O.H=null===t||null===t.memoizedState?Eo:Ao),e}function _a(e){if(null!==e&&"object"===typeof e){if("function"===typeof e.then)return ka(e);if(e.$$typeof===g)return Ts(e)}throw Error(o(438,String(e)))}function Sa(e){var t=null,n=ea.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=ea.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},ea.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=S;return t.index++,n}function xa(e,t){return"function"===typeof t?t(e):t}function Ca(e){return Ta(wa(),ta,e)}function Ta(e,t,n){var r=e.queue;if(null===r)throw Error(o(311));r.lastRenderedReducer=n;var i=e.baseQueue,a=r.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}t.baseQueue=i=a,r.pending=null}if(a=e.baseState,null===i)e.memoizedState=a;else{var l=s=null,u=null,c=t=i.next,d=!1;do{var p=-536870913&c.lane;if(p!==c.lane?(iu&p)===p:(Zi&p)===p){var h=c.revertLane;if(0===h)null!==u&&(u=u.next={lane:0,revertLane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),p===Wi&&(d=!0);else{if((Zi&h)===h){c=c.next,h===Wi&&(d=!0);continue}p={lane:0,revertLane:c.revertLane,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=p,s=a):u=u.next=p,ea.lanes|=h,pu|=h}p=c.action,aa&&n(a,p),a=c.hasEagerState?c.eagerState:n(a,p)}else h={lane:p,revertLane:c.revertLane,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=h,s=a):u=u.next=h,ea.lanes|=p,pu|=p;c=c.next}while(null!==c&&c!==t);if(null===u?s=a:u.next=l,!Gn(a,e.memoizedState)&&(Wo=!0,d&&null!==(n=Ki)))throw n;e.memoizedState=a,e.baseState=s,e.baseQueue=u,r.lastRenderedState=a}
2return null===i&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ea(e){var t=wa(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);Gn(a,t.memoizedState)||(Wo=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Aa(e,t,n){var r=ea,i=wa(),a=Qr;if(a){if(void 0===n)throw Error(o(407));n=n()}else n=t();var s=!Gn((ta||i).memoizedState,n);if(s&&(i.memoizedState=n,Wo=!0),i=i.queue,Za(ja.bind(null,r,i,e),[e]),i.getSnapshot!==t||s||null!==na&&1&na.memoizedState.tag){if(r.flags|=2048,Ga(9,Oa.bind(null,r,i,n,t),{destroy:void 0},null),null===nu)throw Error(o(349));a||0!==(60&Zi)||Ia(r,t,n)}return n}function Ia(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ea.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},ea.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oa(e,t,n,r){t.value=n,t.getSnapshot=r,Ra(t)&&Pa(e)}function ja(e,t,n){return n(function(){Ra(t)&&Pa(e)})}function Ra(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Gn(e,n)}catch(r){return!0}}function Pa(e){var t=Ir(e,2);null!==t&&Pu(t,e,2)}function Na(e){var t=ba();if("function"===typeof e){var n=e;if(e=n(),aa){be(!0);try{n()}finally{be(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xa,lastRenderedState:e},t}function Ma(e,t,n,r){return e.baseState=n,Ta(e,ta,"function"===typeof r?r:xa)}function La(e,t,n,r,i){if(So(e))throw Error(o(485));if(null!==(e=t.action)){var a={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==O.T?n(!0):a.isTransition=!1,r(a),null===(n=t.pending)?(a.next=t.pending=a,Da(t,a)):(a.next=n.next,t.pending=n.next=a)}}function Da(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=O.T,o={};O.T=o;try{var s=n(i,r),l=O.S;null!==l&&l(o,s),Va(e,t,s)}catch(u){za(e,t,u)}finally{O.T=a}}else try{Va(e,t,a=n(i,r))}catch(c){za(e,t,c)}}function Va(e,t,n){null!==n&&"object"===typeof n&&"function"===typeof n.then?n.then(function(n){Fa(e,t,n)},function(n){return za(e,t,n)}):Fa(e,t,n)}function Fa(e,t,n){t.status="fulfilled",t.value=n,Ha(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,Da(e,n)))}function za(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,Ha(t),t=t.next}while(t!==r)}e.action=null}function Ha(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function qa(e,t){return t}function Ua(e,t){if(Qr){var n=nu.formState;if(null!==n){e:{var r=ea;if(Qr){if(Yr){t:{for(var i=Yr,a=Xr;8!==i.nodeType;){if(!a){i=null;break t}if(null===(i=ld(i.nextSibling))){i=null;break t}}i="F!"===(a=i.data)||"F"===a?i:null}if(i){Yr=ld(i.nextSibling),r="F!"===i.data;break e}}ei(r)}r=!1}r&&(t=n[0])}}return(n=ba()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qa,lastRenderedState:t},n.queue=r,n=wo.bind(null,ea,r),r.dispatch=n,r=Na(!1),a=_o.bind(null,ea,!1,r.queue),i={state:t,dispatch:null,action:e,pending:null},(r=ba()).queue=i,n=La.bind(null,ea,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Ba(e){return Wa(wa(),ta,e)}function Wa(e,t,n){t=Ta(e,t,qa)[0],e=Ca(xa)[0],t="object"===typeof t&&null!==t&&"function"===typeof t.then?ka(t):t;var r=wa(),i=r.queue,a=i.dispatch;return n!==r.memoizedState&&(ea.flags|=2048,Ga(9,Ka.bind(null,i,n),{destroy:void 0},null)),[t,a,e]}function Ka(e,t){e.action=t}function $a(e){var t=wa(),n=ta;if(null!==n)return Wa(t,n,e);wa(),t=t.memoizedState;var r=(n=wa()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Ga(e,t,n,r){return e={tag:e,create:t,inst:n,deps:r,next:null},null===(t=ea.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},ea.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ya(){return wa().memoizedState}function Qa(e,t,n,r){var i=ba();ea.flags|=e,i.memoizedState=Ga(1|t,n,{destroy:void 0},void 0===r?null:r)}function Ja(e,t,n,r){var i=wa();r=void 0===r?null:r;var a=i.memoizedState.inst;null!==ta&&null!==r&&da(r,ta.memoizedState.deps)?i.memoizedState=Ga(t,n,a,r):(ea.flags|=e,i.memoizedState=Ga(1|t,n,a,r))}function Xa(e,t){Qa(8390656,8,e,t)}function Za(e,t){Ja(2048,8,e,t)}function eo(e,t){return Ja(4,2,e,t)}function to(e,t){return Ja(4,4,e,t)}function no(e,t){if("function"===typeof t){e=e();var n=t(e);return function(){"function"===typeof n?n():t(null)}}if(null!==t&&void 0!==t)return e=e(),t.current=e,function(){t.current=null}}function ro(e,t,n){n=null!==n&&void 0!==n?n.concat([e]):null,Ja(4,4,no.bind(null,t,e),n)}function io(){}function ao(e,t){var n=wa();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&da(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function oo(e,t){var n=wa();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&da(t,r[1]))return r[0];if(r=e(),aa){be(!0);try{e()}finally{be(!1)}}return n.memoizedState=[r,t],r}function so(e,t,n){return void 0===n||0!==(1073741824&Zi)?e.memoizedState=t:(e.memoizedState=n,e=Ru(),ea.lanes|=e,pu|=e,n)}function lo(e,t,n,r){return Gn(n,t)?n:null!==Si.current?(e=so(e,n,r),Gn(e,t)||(Wo=!0),e):0===(42&Zi)?(Wo=!0,e.memoizedState=n):(e=Ru(),ea.lanes|=e,pu|=e,t)}function uo(e,t,n,r,i){var a=q.p;q.p=0!==a&&8>a?a:8;var o=O.T,s={};O.T=s,_o(e,!1,t,n);try{var l=i(),u=O.S;if(null!==u&&u(s,l),null!==l&&"object"===typeof l&&"function"===typeof l.then){var c=function(e,t){var n=[],r={status:"pending",value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status="rejected",r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}(l,r);ko(e,t,c,ju())}else ko(e,t,r,ju())}catch(d){ko(e,t,{then:function(){},status:"rejected",reason:d},ju())}finally{q.p=a,O.T=o}}function co(){}function po(e,t,n,r){if(5!==e.tag)throw Error(o(476));
vendor: 4,512 bytes, line 2
2var i=ho(e).queue;uo(e,i,t,U,null===n?co:function(){return fo(e),n(r)})}function ho(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:U,baseState:U,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xa,lastRenderedState:U},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xa,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function fo(e){ko(e,ho(e).next.queue,{},ju())}function mo(){return Ts(Dd)}function go(){return wa().memoizedState}function vo(){return wa().memoizedState}function yo(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=ju(),r=Ps(t,e=Rs(n),n);return null!==r&&(Pu(r,t,n),Ns(r,t,n)),t={cache:Hi()},void(e.payload=t)}t=t.return}}function bo(e,t,n){var r=ju();n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},So(e)?xo(t,n):null!==(n=Ar(e,t,n,r))&&(Pu(n,e,r),Co(n,t,r))}function wo(e,t,n){ko(e,t,n,ju())}function ko(e,t,n,r){var i={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(So(e))xo(t,i);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Gn(s,o))return Er(e,t,i,0),null===nu&&Tr(),!1}catch(l){}if(null!==(n=Ar(e,t,i,r)))return Pu(n,e,r),Co(n,t,r),!0}return!1}function _o(e,t,n,r){if(r={lane:2,revertLane:_c(),action:r,hasEagerState:!1,eagerState:null,next:null},So(e)){if(t)throw Error(o(479))}else null!==(t=Ar(e,n,r,2))&&Pu(t,e,2)}function So(e){var t=e.alternate;return e===ea||null!==t&&t===ea}function xo(e,t){ia=ra=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Co(e,t,n){if(0!==(4194176&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ne(e,n)}}var To={readContext:Ts,use:_a,useCallback:ca,useContext:ca,useEffect:ca,useImperativeHandle:ca,useLayoutEffect:ca,useInsertionEffect:ca,useMemo:ca,useReducer:ca,useRef:ca,useState:ca,useDebugValue:ca,useDeferredValue:ca,useTransition:ca,useSyncExternalStore:ca,useId:ca};To.useCacheRefresh=ca,To.useMemoCache=ca,To.useHostTransitionStatus=ca,To.useFormState=ca,To.useActionState=ca,To.useOptimistic=ca;var Eo={readContext:Ts,use:_a,useCallback:function(e,t){return ba().memoizedState=[e,void 0===t?null:t],e},useContext:Ts,useEffect:Xa,useImperativeHandle:function(e,t,n){n=null!==n&&void 0!==n?n.concat([e]):null,Qa(4194308,4,no.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qa(4194308,4,e,t)},useInsertionEffect:function(e,t){Qa(4,2,e,t)},useMemo:function(e,t){var n=ba();t=void 0===t?null:t;var r=e();if(aa){be(!0);try{e()}finally{be(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=ba();if(void 0!==n){var i=n(t);if(aa){be(!0);try{n(t)}finally{be(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=bo.bind(null,ea,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ba().memoizedState=e},useState:function(e){var t=(e=Na(e)).queue,n=wo.bind(null,ea,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:io,useDeferredValue:function(e,t){return so(ba(),e,t)},useTransition:function(){var e=Na(!1);return e=uo.bind(null,ea,e.queue,!0,!1),ba().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=ea,i=ba();if(Qr){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===nu)throw Error(o(349));0!==(60&iu)||Ia(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Xa(ja.bind(null,r,a,e),[e]),r.flags|=2048,Ga(9,Oa.bind(null,r,a,n,t),{destroy:void 0},null),n},useId:function(){var e=ba(),t=nu.identifierPrefix;if(Qr){var n=Ur;t=":"+t+"R"+(n=(qr&~(1<<32-we(qr)-1)).toString(32)+n),0<(n=oa++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ua++).toString(32)+":";return e.memoizedState=t},useCacheRefresh:function(){return ba().memoizedState=yo.bind(null,ea)}};Eo.useMemoCache=Sa,Eo.useHostTransitionStatus=mo,Eo.useFormState=Ua,Eo.useActionState=Ua,Eo.useOptimistic=function(e){var t=ba();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=_o.bind(null,ea,!0,n),n.dispatch=t,[e,t]};var Ao={readContext:Ts,use:_a,useCallback:ao,useContext:Ts,useEffect:Za,useImperativeHandle:ro,useInsertionEffect:eo,useLayoutEffect:to,useMemo:oo,useReducer:Ca,useRef
2:Ya,useState:function(){return Ca(xa)},useDebugValue:io,useDeferredValue:function(e,t){return lo(wa(),ta.memoizedState,e,t)},useTransition:function(){var e=Ca(xa)[0],t=wa().memoizedState;return["boolean"===typeof e?e:ka(e),t]},useSyncExternalStore:Aa,useId:go};Ao.useCacheRefresh=vo,Ao.useMemoCache=Sa,Ao.useHostTransitionStatus=mo,Ao.useFormState=Ba,Ao.useActionState=Ba,Ao.useOptimistic=function(e,t){return Ma(wa(),0,e,t)};var Io={readContext:Ts,use:_a,useCallback:ao,useContext:Ts,useEffect:Za,useImperativeHandle:ro,useInsertionEffect:eo,useLayoutEffect:to,useMemo:oo,useReducer:Ea,useRef:Ya,useState:function(){return Ea(xa)},useDebugValue:io,useDeferredValue:function(e,t){var n=wa();return null===ta?so(n,e,t):lo(n,ta.memoizedState,e,t)},useTransition:function(){var e=Ea(xa)[0],t=wa().memoizedState;return["boolean"===typeof e?e:ka(e),t]},useSyncExternalStore:Aa,useId:go};function Oo(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:j({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}Io.useCacheRefresh=vo,Io.useMemoCache=Sa,Io.useHostTransitionStatus=mo,Io.useFormState=$a,Io.useActionState=$a,Io.useOptimistic=function(e,t){var n=wa();return null!==ta?Ma(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])};var jo={isMounted:function(e){return!!(e=e._reactInternals)&&D(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ju(),i=Rs(r);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ps(e,i,r))&&(Pu(t,e,r),Ns(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ju(),i=Rs(r);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),null!==(t=Ps(e,i,r))&&(Pu(t,e,r),Ns(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ju(),r=Rs(n);r.tag=2,void 0!==t&&null!==t&&(r.callback=t),null!==(t=Ps(e,r,n))&&(Pu(t,e,n),Ns(t,e,n))}};function Ro(e,t,n,r,i,a,o){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!Yn(n,r)||!Yn(i,a))}function Po(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&jo.enqueueReplaceState(t,t.state,null)}function No(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=j({},n)),e)void 0===n[i]&&(n[i]=e[i]);return n}var Mo="function"===typeof reportError?reportError:function(e){if("object"===typeof window&&"function"===typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===typeof e&&null!==e&&"string"===typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"===typeof process&&"function"===typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function Lo(e){Mo(e)}function Do(e){console.error(e)}function Vo(e){Mo(e)}function Fo(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function zo(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Ho(e,t,n){return(n=Rs(n)).tag=3,n.payload={element:null},n.callback=function(){Fo(e,t)},n}function qo(e){return(e=Rs(e)).tag=3,e}function Uo(e,t,n,r){var i=n.type.getDerivedStateFromError;if("function"===typeof i){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){zo(t,n,r)}}var o=n.stateNode;null!==o&&"function"===typeof o.componentDidCatch&&(e.callback=function(){zo(t,n,r),"function"!==typeof i&&(null===Su?Su=new Set([this]):Su.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Bo=Error(o(461)),Wo=!1;function Ko(e,t,n,r){t.child=null===e?_i(t,null,n,r):ki(t,e.child,n,r)}function $o(e,t,n,r,i){n=n.render;var a=t.ref;if("ref"in r){var o={};for(var s in r)"ref"!==s&&(o[s]=r[s])}else o=r;return Cs(t),r=pa(e,t,n,o,a,i),s=ga(),null===e||Wo?(Qr&&s&&Kr(t),t.flags|=1,Ko(e,t,r,i),t.child):(va(e,t,i),hs(e,t,i))}function Go(e,t,n,r,i){if(null===e){var a=n.type;return"function"!==typeof a||Dl(a)||void 0!==a.defaultProps||null!==n.compare?((e=zl(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Yo(e,t,a,r,i))}if(a=e.child,!fs(e,i)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:Yn)(o,r)&&e.ref===t.ref)return hs(e,t,i)}return t.flags|=1,(e=Vl(a,r)).ref=t.ref,e.return=t,t.child=e}function Yo(e,t,n,r,i){if(null!==e){var a=e.memoizedProps;if(Yn(a,r)&&e.ref===t.ref){if(Wo=!1,t.pendingProps=r=a,!fs(e,i))return t.lanes=e.lanes,hs(e,t,i);0!==(131072&e.flags)&&(Wo=!0)}}return Zo(e,t,n,r,i)}
2function Qo(e,t,n){var r=t.pendingProps,i=r.children,a=0!==(2&t.stateNode._pendingVisibility),o=null!==e?e.memoizedState:null;if(Xo(e,t),"hidden"===r.mode||a){if(0!==(128&t.flags)){if(r=null!==o?o.baseLanes|n:n,null!==e){for(i=t.child=e.child,a=0;null!==i;)a=a|i.lanes|i.childLanes,i=i.sibling;t.childLanes=a&~r}else t.childLanes=0,t.child=null;return Jo(e,t,r,n)}if(0===(536870912&n))return t.lanes=t.childLanes=536870912,Jo(e,t,null!==o?o.baseLanes|n:n,n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Ji(0,null!==o?o.cachePool:null),null!==o?Ci(t,o):Ti(),ji(t)}else null!==o?(Ji(0,o.cachePool),Ci(t,o),Ri(),t.memoizedState=null):(null!==e&&Ji(0,null),Ti(),Ri());return Ko(e,t,i,n),t.child}function Jo(e,t,n,r){var i=Qi();return i=null===i?null:{parent:zi._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},null!==e&&Ji(0,null),Ti(),ji(t),null!==e&&Ss(e,t,r,!0),null}function Xo(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=2097664);else{if("function"!==typeof n&&"object"!==typeof n)throw Error(o(284));null!==e&&e.ref===n||(t.flags|=2097664)}}function Zo(e,t,n,r,i){return Cs(t),n=pa(e,t,n,r,void 0,i),r=ga(),null===e||Wo?(Qr&&r&&Kr(t),t.flags|=1,Ko(e,t,n,i),t.child):(va(e,t,i),hs(e,t,i))}function es(e,t,n,r,i,a){return Cs(t),t.updateQueue=null,n=fa(t,r,n,i),ha(e),r=ga(),null===e||Wo?(Qr&&r&&Kr(t),t.flags|=1,Ko(e,t,n,a),t.child):(va(e,t,a),hs(e,t,a))}function ts(e,t,n,r,i){if(Cs(t),null===t.stateNode){var a=Rr,o=n.contextType;"object"===typeof o&&null!==o&&(a=Ts(o)),a=new n(r,a),t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=jo,t.stateNode=a,a._reactInternals=t,(a=t.stateNode).props=r,a.state=t.memoizedState,a.refs={},Os(t),o=n.contextType,a.context="object"===typeof o&&null!==o?Ts(o):Rr,a.state=t.memoizedState,"function"===typeof(o=n.getDerivedStateFromProps)&&(Oo(t,n,o,r),a.state=t.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(o=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),o!==a.state&&jo.enqueueReplaceState(a,a.state,null),Vs(t,r,a,i),Ds(),a.state=t.memoizedState),"function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){a=t.stateNode;var s=t.memoizedProps,l=No(n,s);a.props=l;var u=a.context,c=n.contextType;o=Rr,"object"===typeof c&&null!==c&&(o=Ts(c));var d=n.getDerivedStateFromProps;c="function"===typeof d||"function"===typeof a.getSnapshotBeforeUpdate,s=t.pendingProps!==s,c||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s||u!==o)&&Po(t,a,r,o),Is=!1;var p=t.memoizedState;a.state=p,Vs(t,r,a,i),Ds(),u=t.memoizedState,s||p!==u||Is?("function"===typeof d&&(Oo(t,n,d,r),u=t.memoizedState),(l=Is||Ro(t,n,l,r,p,u,o))?(c||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=o,r=l):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,js(e,t),c=No(n,o=t.memoizedProps),a.props=c,d=t.pendingProps,p=a.context,u=n.contextType,l=Rr,"object"===typeof u&&null!==u&&(l=Ts(u)),(u="function"===typeof(s=n.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(o!==d||p!==l)&&Po(t,a,r,l),Is=!1,p=t.memoizedState,a.state=p,Vs(t,r,a,i),Ds();var h=t.memoizedState;o!==d||p!==h||Is||null!==e&&null!==e.dependencies&&xs(e.dependencies)?("function"===typeof s&&(Oo(t,n,s,r),h=t.memoizedState),(c=Is||Ro(t,n,c,r,p,h,l)||null!==e&&null!==e.dependencies&&xs(e.dependencies))?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!==typeof a.componentDidUpdate||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,Xo(e,t),r=0!==(128&t.flags),a||r?(a=t.stateNode,n=r&&"function"!==typeof n.getDerivedStateFromError?null:a.render(),t.flags|=1,null!==e&&r?(t.child=ki(t,e.child,null,i),t.child=ki(t,null,n,i)):Ko(e,t,n,i),t.memoizedState=a.state,e=t.child):e=hs(e,t,i),e}function ns(e,t,n,r){return ii(),t.flags|=256,Ko(e,t,n,r),t.child}var rs={dehydrated:null,treeContext:null,retryLane:0};function is(e){return{baseLanes:e,cachePool:Xi()}}function as(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=mu),e}function os(e,t,n){var r,i=t.pendingProps,a=!1,s=0!==(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!==(2&Ni.current)),r&&(a=!0,t.flags&=-129),r=0!==(32&t.flags),t.flags&=-33,null===e){if(Qr){if(a?Oi(t):Ri(),Qr){var l,u=Yr;if(l=u){e:{for(l=u,u=Xr;
vendor: 11,862 bytes, line 2
28!==l.nodeType;){if(!u){u=null;break e}if(null===(l=ld(l.nextSibling))){u=null;break e}}u=l}null!==u?(t.memoizedState={dehydrated:u,treeContext:null!==Hr?{id:qr,overflow:Ur}:null,retryLane:536870912},(l=Ll(18,null,null,0)).stateNode=u,l.return=t,t.child=l,Gr=t,Yr=null,l=!0):l=!1}l||ei(t)}if(null!==(u=t.memoizedState)&&null!==(u=u.dehydrated))return"$!"===u.data?t.lanes=16:t.lanes=536870912,null;Pi(t)}return u=i.children,i=i.fallback,a?(Ri(),u=ls({mode:"hidden",children:u},a=t.mode),i=Hl(i,a,n,null),u.return=t,i.return=t,u.sibling=i,t.child=u,(a=t.child).memoizedState=is(n),a.childLanes=as(e,r,n),t.memoizedState=rs,i):(Oi(t),ss(t,u))}if(null!==(l=e.memoizedState)&&null!==(u=l.dehydrated)){if(s)256&t.flags?(Oi(t),t.flags&=-257,t=us(e,t,n)):null!==t.memoizedState?(Ri(),t.child=e.child,t.flags|=128,t=null):(Ri(),a=i.fallback,u=t.mode,i=ls({mode:"visible",children:i.children},u),(a=Hl(a,u,n,null)).flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,ki(t,e.child,null,n),(i=t.child).memoizedState=is(n),i.childLanes=as(e,r,n),t.memoizedState=rs,t=a);else if(Oi(t),"$!"===u.data){if(r=u.nextSibling&&u.nextSibling.dataset)var c=r.dgst;r=c,(i=Error(o(419))).stack="",i.digest=r,ai({value:i,source:null,stack:null}),t=us(e,t,n)}else if(Wo||Ss(e,t,n,!1),r=0!==(n&e.childLanes),Wo||r){if(null!==(r=nu)){if(0!==(42&(i=n&-n)))i=1;else switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:i=64;break;case 268435456:i=134217728;break;default:i=0}if(0!==(i=0!==(i&(r.suspendedLanes|n))?0:i)&&i!==l.retryLane)throw l.retryLane=i,Ir(e,i),Pu(r,e,i),Bo}"$?"===u.data||Wu(),t=us(e,t,n)}else"$?"===u.data?(t.flags|=128,t.child=e.child,t=lc.bind(null,e),u._reactRetry=t,t=null):(e=l.treeContext,Yr=ld(u.nextSibling),Gr=t,Qr=!0,Jr=null,Xr=!1,null!==e&&(Fr[zr++]=qr,Fr[zr++]=Ur,Fr[zr++]=Hr,qr=e.id,Ur=e.overflow,Hr=t),(t=ss(t,i.children)).flags|=4096);return t}return a?(Ri(),a=i.fallback,u=t.mode,c=(l=e.child).sibling,(i=Vl(l,{mode:"hidden",children:i.children})).subtreeFlags=31457280&l.subtreeFlags,null!==c?a=Vl(c,a):(a=Hl(a,u,n,null)).flags|=2,a.return=t,i.return=t,i.sibling=a,t.child=i,i=a,a=t.child,null===(u=e.child.memoizedState)?u=is(n):(null!==(l=u.cachePool)?(c=zi._currentValue,l=l.parent!==c?{parent:c,pool:c}:l):l=Xi(),u={baseLanes:u.baseLanes|n,cachePool:l}),a.memoizedState=u,a.childLanes=as(e,r,n),t.memoizedState=rs,i):(Oi(t),e=(n=e.child).sibling,(n=Vl(n,{mode:"visible",children:i.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function ss(e,t){return(t=ls({mode:"visible",children:t},e.mode)).return=e,e.child=t}function ls(e,t){return ql(e,t,0,null)}function us(e,t,n){return ki(t,e.child,null,n),(e=ss(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function cs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ks(e.return,t,n)}function ds(e,t,n,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function ps(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Ko(e,t,r.children,n),0!==(2&(r=Ni.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&cs(e,n,t);else if(19===e.tag)cs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}switch(G(Ni,r),i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Mi(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ds(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Mi(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ds(t,!0,n,null,a);break;case"together":ds(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function hs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),pu|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(Ss(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Vl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Vl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function fs(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!xs(e))}function ms(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Wo=!0;else{if(!fs(e,n)&&0===(128&t.flags))return Wo=!1,function(e,t,n){switch(t.tag){case 3:Z(t,t.stateNode.containerInfo),bs(t,zi,e.memoizedState.cache),ii();break;case 27:case 5:te(t);break;case 4:Z(t,t.stateNode.containerInfo);break;case 10:bs(t,t.type,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(Oi(t),t.flags|=128,null):0!==(n&t.child.childLanes)?os(e,t,n):(Oi(t),null!==(e=hs(e,t,n))?e.sibling:null);Oi(t);break;case 19:var i=0!==(128&e.flags);if((r=0!==(n&t.childLanes))||(Ss(e,t,n,!1),r=0!==(n&t.childLanes)),i){if(r)return ps(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),G(Ni,Ni.current),r)break;return null;case 22:case 23:return t.lanes=0,Qo(e,t,n);case 24:bs(t,zi,e.memoizedState.cache)}return hs(e,t,n)}(e,t,n);Wo=0!==(131072&e.flags)}else Wo=!1,Qr&&0!==(1048576&t.flags)&&Wr(t,Vr,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var r=t.elementType,i=r._init;if(r=i(r._payload),t.type=r,"function"!==typeof r){if(void 0!==r&&null!==r){if((i=r.$$typeof)===v){t.tag=11,t=$o(null,t,r,e,n);break e}if(i===w){t.tag=14,t=Go(null,t,r,e,n);break e}}throw t=E(r)||r,Error(o(306,t,""))}Dl(r)?(e=No(r,e),t.tag=1,t=ts(null,t,r,e,n)):(t.tag=0,t=Zo(null,t,r,e,n))}return t;case 0:return Zo(e,t,t.type,t.pendingProps,n);case 1:return ts(e,t,r=t.type,i=No(r,t.pendingProps),n);case 3:e:{if(Z(t,t.stateNode.containerInfo),null===e)throw Error(o(387));var a=t.pendingProps;r=(i=t.memoizedState).element,js(e,t),Vs(t,a,null,n);var s=t.memoizedState;if(a=s.cache,bs(t,zi,a),a!==i.cache&&_s(t,[zi],n,!0),Ds(),a=s.element,i.isDehydrated){if(i={element:a,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=ns(e,t,a,n);break e}if(a!==r){ai(r=Nr(Error(o(424)),t)),t=ns(e,t,a,n);break e}for(Yr=ld(t.stateNode.containerInfo.firstChild),Gr=t,Qr=!0,Jr=null,Xr=!0,n=_i(t,null,a,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ii(),a===r){t=hs(e,t,n);break e}Ko(e,t,a,n)}t=t.child}return t;case 26:return Xo(e,t),null===e?(n=vd(t.type,null,t.pendingProps,null))?t.memoizedState=n:Qr||(n=t.type,e=t.pendingProps,(r=Qc(J.current).createElement(n))[Ve]=t,r[Fe]=e,$c(r,n,e),Je(r),t.stateNode=r):t.memoizedState=vd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return te(t),null===e&&Qr&&(r=t.stateNode=cd(t.type,t.pendingProps,J.current),Gr=t,Xr=!0,Yr=ld(r.firstChild)),r=t.pendingProps.children,null!==e||Qr?Ko(e,t,r,n):t.child=ki(t,null,r,n),Xo(e,t),t.child;case 5:return null===e&&Qr&&((i=r=Yr)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[We])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(a!==i.rel||e.getAttribute("href")!==(null==i.href?null:i.href)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin)||e.getAttribute("title")!==(null==i.title?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==i.src?null:i.src)||e.getAttribute("type")!==(null==i.type?null:i.type)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==i.name?null:""+i.name;if("hidden"===i.type&&e.getAttribute("name")===a)return e}if(null===(e=ld(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,Xr))?(t.stateNode=r,Gr=t,Yr=ld(r.firstChild),Xr=!1,i=!0):i=!1),i||ei(t)),te(t),i=t.type,a=t.pendingProps,s=null!==e?e.memoizedProps:null,r=a.children,Zc(i,a)?r=null:null!==s&&Zc(i,s)&&(t.flags|=32),null!==t.memoizedState&&(i=pa(e,t,ma,null,null,n),Dd._currentValue=i),Xo(e,t),Ko(e,t,r,n),t.child;case 6:return null===e&&Qr&&((e=n=Yr)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=ld(e.nextSibling)))return null}return e}(n,t.pendingProps,Xr))?(t.stateNode=n,Gr=t,Yr=null,e=!0):e=!1),e||ei(t)),null;case 13:return os(e,t,n);case 4:return Z(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ki(t,null,r,n):Ko(e,t,r,n),t.child;case 11:return $o(e,t,t.type,t.pendingProps,n);case 7:return Ko(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ko(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,bs(t,t.type,r.value),Ko(e,t,r.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,Cs(t),r=r(i=Ts(i)),t.flags|=1,Ko(e,t,r,n),t.child;case 14:return Go(e,t,t.type,t.pendingProps,n);case 15:return Yo(e,t,t.type,t.pendingProps,n);case 19:return ps(e,t,n);case 22:return Qo(e,t,n);case 24:return Cs(t),r=Ts(zi),null===e?(null===(i=Qi())&&(i=nu,a=Hi(),i.pooledCache=a,a.refCount++,null!==a&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:r,cache:i},Os(t),bs(t,zi,i)):(0!==(e.lanes&n)&&(js(e,t),Vs(t,null,null,n),Ds()),i=e.memoizedState,a=t.memoizedState,i.parent!==r?(i={parent:r,cache:r},t.memoizedState=i,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=i),bs(t,zi,r)):(r=a.cache,bs(t,zi,r),r!==i.cache&&_s(t,[zi],n,!0))),Ko(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}var gs=K(null),vs=null,ys=null;function bs(e,t,n){G(gs,t._currentValue),t._currentValue=n}function ws(e){e._currentValue=gs.current,$(gs)}function ks(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function _s(e,t,n,r){var i=e.child;for(null!==i&&(i.return=e);null!==i;){var a=i.dependencies;if(null!==a){var s=i.child;a=a.firstContext;e:for(;null!==a;){var l=a;a=i;for(var u=0;u<t.length;u++)if(l.context===t[u]){a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),ks(a.return,n,e),r||(s=null);break e}a=l.next}}else if(18===i.tag){if(null===(s=i.return))throw Error(o(341));s.lanes|=n,null!==(a=s.alternate)&&(a.lanes|=n),ks(s,n,e),s=null}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===e){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}}function Ss(e,t,n,r){e=null;for(var i=t,a=!1;null!==i;){if(!a)if(0!==(524288&i.flags))a=!0;else if(0!==(262144&i.flags))break;if(10===i.tag){var s=i.alternate;if(null===s)throw Error(o(387));if(null!==(s=s.memoizedProps)){var l=i.type;Gn(i.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(i===X.current){if(null===(s=i.alternate))throw Error(o(387));s.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(null!==e?e.push(Dd):e=[Dd])}i=i.return}null!==e&&_s(t,e,n,r),t.flags|=262144}function xs(e){for(e=e.firstContext;null!==e;){if(!Gn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}
2function Cs(e){vs=e,ys=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Ts(e){return As(vs,e)}function Es(e,t){return null===vs&&Cs(e),As(e,t)}function As(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===ys){if(null===e)throw Error(o(308));ys=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ys=ys.next=t;return n}var Is=!1;function Os(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function js(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Rs(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ps(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&tu)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=jr(e),Or(e,null,n),t}return Er(e,r,t,n),jr(e)}function Ns(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194176&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ne(e,n)}}function Ms(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=t:a=a.next=t}else i=a=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Ls=!1;function Ds(){if(Ls){if(null!==Ki)throw Ki}}function Vs(e,t,n,r){Ls=!1;var i=e.updateQueue;Is=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,u=l.next;l.next=null,null===o?a=u:o.next=u,o=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==a){var d=i.baseState;for(o=0,c=u=l=null,s=a;;){var p=-536870913&s.lane,h=p!==s.lane;if(h?(iu&p)===p:(r&p)===p){0!==p&&p===Wi&&(Ls=!0),null!==c&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var f=e,m=s;p=t;var g=n;switch(m.tag){case 1:if("function"===typeof(f=m.payload)){d=f.call(g,d,p);break e}d=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null===(p="function"===typeof(f=m.payload)?f.call(g,d,p):f)||void 0===p)break e;d=j({},d,p);break e;case 2:Is=!0}
vendor: 38,164 bytes, line 2
2}null!==(p=s.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=i.callbacks)?i.callbacks=[p]:h.push(p))}else h={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=h,l=d):c=c.next=h,o|=p;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(h=s).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}null===c&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,null===a&&(i.shared.lanes=0),pu|=o,e.lanes=o,e.memoizedState=d}}function Fs(e,t){if("function"!==typeof e)throw Error(o(191,e));e.call(t)}function zs(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)Fs(n[e],t)}function Hs(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(s){ic(t,t.return,s)}}function qs(e,t,n){try{var r=t.updateQueue,i=null!==r?r.lastEffect:null;if(null!==i){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(void 0!==s){o.destroy=void 0,i=t;var l=n;try{s()}catch(u){ic(i,l,u)}}}r=r.next}while(r!==a)}}catch(u){ic(t,t.return,u)}}function Us(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{zs(t,n)}catch(r){ic(e,e.return,r)}}}function Bs(e,t,n){n.props=No(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(r){ic(e,t,r)}}function Ws(e,t){try{var n=e.ref;if(null!==n){var r=e.stateNode;switch(e.tag){case 26:case 27:case 5:var i=r;break;default:i=r}"function"===typeof n?e.refCleanup=n(i):n.current=i}}catch(a){ic(e,t,a)}}function Ks(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"===typeof r)try{r()}catch(i){ic(e,t,i)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"===typeof n)try{n(null)}catch(a){ic(e,t,a)}else n.current=null}function $s(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(i){ic(e,e.return,i)}}function Gs(e,t,n){try{var r=e.stateNode;!function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,a=null,s=null,l=null,u=null,c=null,d=null;for(f in n){var p=n[f];if(n.hasOwnProperty(f)&&null!=p)switch(f){case"checked":case"value":break;case"defaultValue":u=p;default:r.hasOwnProperty(f)||Wc(e,t,f,null,r,p)}}for(var h in r){var f=r[h];if(p=n[h],r.hasOwnProperty(h)&&(null!=f||null!=p))switch(h){case"type":a=f;break;case"name":i=f;break;case"checked":c=f;break;case"defaultChecked":d=f;break;case"value":s=f;break;case"defaultValue":l=f;break;case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(o(137,t));break;default:f!==p&&Wc(e,t,h,f,r,p)}}return void gt(e,s,l,u,c,d,a,i);case"select":for(a in f=s=l=h=null,n)if(u=n[a],n.hasOwnProperty(a)&&null!=u)switch(a){case"value":break;case"multiple":f=u;default:r.hasOwnProperty(a)||Wc(e,t,a,null,r,u)}for(i in r)if(a=r[i],u=n[i],r.hasOwnProperty(i)&&(null!=a||null!=u))switch(i){case"value":h=a;break;case"defaultValue":l=a;break;case"multiple":s=a;default:a!==u&&Wc(e,t,i,a,r,u)}return t=l,n=s,r=f,void(null!=h?bt(e,!!n,h,!1):!!r!==!!n&&(null!=t?bt(e,!!n,t,!0):bt(e,!!n,n?[]:"",!1)));case"textarea":for(l in f=h=null,n)if(i=n[l],n.hasOwnProperty(l)&&null!=i&&!r.hasOwnProperty(l))switch(l){case"value":case"children":break;default:Wc(e,t,l,null,r,i)}for(s in r)if(i=r[s],a=n[s],r.hasOwnProperty(s)&&(null!=i||null!=a))switch(s){case"value":h=i;break;case"defaultValue":f=i;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=i)throw Error(o(91));break;default:i!==a&&Wc(e,t,s,i,r,a)}return void wt(e,h,f);case"option":for(var m in n)if(h=n[m],n.hasOwnProperty(m)&&null!=h&&!r.hasOwnProperty(m))if("selected"===m)e.selected=!1;else Wc(e,t,m,null,r,h);for(u in r)if(h=r[u],f=n[u],r.hasOwnProperty(u)&&h!==f&&(null!=h||null!=f))if("selected"===u)e.selected=h&&"function"!==typeof h&&"symbol"!==typeof h;else Wc(e,t,u,h,r,f);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)h=n[g],n.hasOwnProperty(g)&&null!=h&&!r.hasOwnProperty(g)&&Wc(e,t,g,null,r,h);for(c in r)if(h=r[c],f=n[c],r.hasOwnProperty(c)&&h!==f&&(null!=h||null!=f))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(o(137,t));break;default:Wc(e,t,c,h,r,f)}return;default:if(Tt(t)){for(var v in n)h=n[v],n.hasOwnProperty(v)&&void 0!==h&&!r.hasOwnProperty(v)&&Kc(e,t,v,void 0,r,h);for(d in r)h=r[d],f=n[d],!r.hasOwnProperty(d)||h===f||void 0===h&&void 0===f||Kc(e,t,d,h,r,f);return}}for(var y in n)h=n[y],n.hasOwnProperty(y)&&null!=h&&!r.hasOwnProperty(y)&&Wc(e,t,y,null,r,h);for(p in r)h=r[p],f=n[p],!r.hasOwnProperty(p)||h===f||null==h&&null==f||Wc(e,t,p,h,r,f)}(r,e.type,n,t),r[Fe]=t}catch(i){ic(e,e.return,i)}}function Ys(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag||4===e.tag}function Qs(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Ys(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&27!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Js(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Bc));else if(4!==r&&27!==r&&null!==(e=e.child))for(Js(e,t,n),e=e.sibling;null!==e;)Js(e,t,n),e=e.sibling}function Xs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&27!==r&&null!==(e=e.child))for(Xs(e,t,n),e=e.sibling;null!==e;)Xs(e,t,n),e=e.sibling}var Zs=!1,el=!1,tl=!1,nl="function"===typeof WeakSet?WeakSet:Set,rl=null,il=!1;function al(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:yl(e,n),4&r&&Hs(5,n);break;case 1:if(yl(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(s){ic(n,n.return,s)}else{var i=No(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(l){ic(n,n.return,l)}}64&r&&Us(n),512&r&&Ws(n,n.return);break;case 3:if(yl(e,n),64&r&&null!==(r=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:e=n.child.stateNode}try{zs(r,e)}catch(s){ic(n,n.return,s)}}break;case 26:yl(e,n),512&r&&Ws(n,n.return);break;case 27:case 5:yl(e,n),null===t&&4&r&&$s(n),512&r&&Ws(n,n.return);break;case 12:default:yl(e,n);break;case 13:yl(e,n),4&r&&dl(e,n);break;case 22:if(!(i=null!==n.memoizedState||Zs)){t=null!==t&&null!==t.memoizedState||el;var a=Zs,o=el;Zs=i,(el=t)&&!o?wl(e,n,0!==(8772&n.subtreeFlags)):yl(e,n),Zs=a,el=o}512&r&&("manual"===n.memoizedProps.mode?Ws(n,n.return):Ks(n,n.return))}}function ol(e){var t=e.alternate;null!==t&&(e.alternate=null,ol(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&Ke(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var sl=null,ll=!1;function ul(e,t,n){for(n=n.child;null!==n;)cl(e,t,n),n=n.sibling}function cl(e,t,n){if(ye&&"function"===typeof ye.onCommitFiberUnmount)try{ye.onCommitFiberUnmount(ve,n)}catch(o){}switch(n.tag){case 26:el||Ks(n,t),ul(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:el||Ks(n,t);var r=sl,i=ll;for(sl=n.stateNode,ul(e,t,n),t=(n=n.stateNode).attributes;t.length;)n.removeAttributeNode(t[0]);Ke(n),sl=r,ll=i;break;case 5:el||Ks(n,t);case 6:i=sl;var a=ll;if(sl=null,ul(e,t,n),ll=a,null!==(sl=i))if(ll)try{e=sl,r=n.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)}catch(s){ic(n,t,s)}else try{sl.removeChild(n.stateNode)}catch(s){ic(n,t,s)}break;case 18:null!==sl&&(ll?(t=sl,n=n.stateNode,8===t.nodeType?od(t.parentNode,n):1===t.nodeType&&od(t,n),gp(t)):od(sl,n.stateNode));break;case 4:r=sl,i=ll,sl=n.stateNode.containerInfo,ll=!0,ul(e,t,n),sl=r,ll=i;break;case 0:case 11:case 14:case 15:el||qs(2,n,t),el||qs(4,n,t),ul(e,t,n);break;case 1:el||(Ks(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount&&Bs(n,t,r)),ul(e,t,n);break;case 21:ul(e,t,n);break;case 22:el||Ks(n,t),el=(r=el)||null!==n.memoizedState,ul(e,t,n),el=r;break;default:ul(e,t,n)}}function dl(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{gp(e)}catch(n){ic(t,t.return,n)}}function pl(e,t){var n=function(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new nl),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new nl),t;default:throw Error(o(435,e.tag))}}(e);t.forEach(function(t){var r=uc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}function hl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r],a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 27:case 5:sl=l.stateNode,ll=!1;break e;case 3:case 4:sl=l.stateNode.containerInfo,ll=!0;break e}l=l.return}if(null===sl)throw Error(o(160));cl(a,s,i),sl=null,ll=!1,null!==(a=i.alternate)&&(a.return=null),i.return=null}if(13878&t.subtreeFlags)for(t=t.child;null!==t;)ml(t,e),t=t.sibling}var fl=null;function ml(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:hl(t,e),gl(e),4&r&&(qs(3,e,e.return),Hs(3,e),qs(5,e,e.return));break;case 1:hl(t,e),gl(e),512&r&&(el||null===n||Ks(n,n.return)),64&r&&Zs&&(null!==(e=e.updateQueue)&&(null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r))));break;case 26:var i=fl;if(hl(t,e),gl(e),512&r&&(el||null===n||Ks(n,n.return)),4&r){var a=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,i=i.ownerDocument||i;t:switch(r){case"title":(!(a=i.getElementsByTagName("title")[0])||a[We]||a[Ve]||"http://www.w3.org/2000/svg"===a.namespaceURI||a.hasAttribute("itemprop"))&&(a=i.createElement(r),i.head.insertBefore(a,i.querySelector("head > title"))),$c(a,r,n),a[Ve]=e,Je(a),r=a;break e;case"link":var s=Ad("link","href",i).get(r+(n.href||""));if(s)for(var l=0;l<s.length;l++)if((a=s[l]).getAttribute("href")===(null==n.href?null:n.href)&&a.getAttribute("rel")===(null==n.rel?null:n.rel)&&a.getAttribute("title")===(null==n.title?null:n.title)&&a.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){s.splice(l,1);break t}$c(a=i.createElement(r),r,n),i.head.appendChild(a);break;case"meta":if(s=Ad("meta","content",i).get(r+(n.content||"")))for(l=0;l<s.length;l++)if((a=s[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&a.getAttribute("name")===(null==n.name?null:n.name)&&a.getAttribute("property")===(null==n.property?null:n.property)&&a.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&a.getAttribute("charset")===(null==n.charSet?null:n.charSet)){s.splice(l,1);break t}$c(a=i.createElement(r),r,n),i.head.appendChild(a);break;default:throw Error(o(468,r))}a[Ve]=e,Je(a),r=a}e.stateNode=r}else Id(i,e.type,e.stateNode);else e.stateNode=Sd(i,r,e.memoizedProps);else a!==r?(null===a?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):a.count--,null===r?Id(i,e.type,e.stateNode):Sd(i,r,e.memoizedProps)):null===r&&null!==e.stateNode&&Gs(e,e.memoizedProps,n.memoizedProps)}break;case 27:if(4&r&&null===e.alternate){i=e.stateNode,a=e.memoizedProps;try{for(var u=i.firstChild;u;){var c=u.nextSibling,d=u.nodeName;u[We]||"HEAD"===d||"BODY"===d||"SCRIPT"===d||"STYLE"===d||"LINK"===d&&"stylesheet"===u.rel.toLowerCase()||i.removeChild(u),u=c}for(var p=e.type,h=i.attributes;h.length;)i.removeAttributeNode(h[0]);$c(i,p,a),i[Ve]=e,i[Fe]=a}catch(m){ic(e,e.return,m)}}case 5:if(hl(t,e),gl(e),512&r&&(el||null===n||Ks(n,n.return)),32&e.flags){i=e.stateNode;try{_t(i,"")}catch(m){ic(e,e.return,m)}}4&r&&null!=e.stateNode&&Gs(e,i=e.memoizedProps,null!==n?n.memoizedProps:i),1024&r&&(tl=!0);break;case 6:if(hl(t,e),gl(e),4&r){if(null===e.stateNode)throw Error(o(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(m){ic(e,e.return,m)}}break;case 3:if(Ed=null,i=fl,fl=hd(t.containerInfo),hl(t,e),fl=i,gl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{gp(t.containerInfo)}catch(m){ic(e,e.return,m)}tl&&(tl=!1,vl(e));break;case 4:r=fl,fl=hd(e.stateNode.containerInfo),hl(t,e),gl(e),fl=r;break;case 12:hl(t,e),gl(e);break;case 13:hl(t,e),gl(e),8192&e.child.flags&&null!==e.memoizedState!==(null!==n&&null!==n.memoizedState)&&(wu=le()),4&r&&(null!==(r=e.updateQueue)&&(e.updateQueue=null,pl(e,r)));break;case 22:if(512&r&&(el||null===n||Ks(n,n.return)),u=null!==e.memoizedState,c=null!==n&&null!==n.memoizedState,Zs=(d=Zs)||u,el=(p=el)||c,hl(t,e),el=p,Zs=d,gl(e),(t=e.stateNode)._current=e,t._visibility&=-3,t._visibility|=2&t._pendingVisibility,8192&r&&(t._visibility=u?-2&t._visibility:1|t._visibility,u&&(t=Zs||el,null===n||c||t||bl(e)),null===e.memoizedProps||"manual"!==e.memoizedProps.mode))e:for(n=null,t=e;;){if(5===t.tag||26===t.tag||27===t.tag){if(null===n){c=n=t;try{if(i=c.stateNode,u)"function"===typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none";else{s=c.stateNode;var f=void 0!==(l=c.memoizedProps.style)&&null!==l&&l.hasOwnProperty("display")?l.display:null;s.style.display=null==f||"boolean"===typeof f?"":(""+f).trim()}}catch(m){ic(c,c.return,m)}}}else if(6===t.tag){if(null===n){c=t;try{c.stateNode.nodeValue=u?"":c.memoizedProps}catch(m){ic(c,c.return,m)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&(null!==(r=e.updateQueue)&&(null!==(n=r.retryQueue)&&(r.retryQueue=null,pl(e,n))));break;case 19:hl(t,e),gl(e),4&r&&(null!==(r=e.updateQueue)&&(e.updateQueue=null,pl(e,r)));break;case 21:break;default:hl(t,e),gl(e)}}function gl(e){var t=e.flags;if(2&t){try{if(27!==e.tag){e:{for(var n=e.return;null!==n;){if(Ys(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 27:var i=r.stateNode;Xs(e,Qs(e),i);break;case 5:var a=r.stateNode;32&r.flags&&(_t(a,""),r.flags&=-33),Xs(e,Qs(e),a);break;case 3:case 4:var s=r.stateNode.containerInfo;Js(e,Qs(e),s);break;default:throw Error(o(161))}}}catch(l){ic(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;vl(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function yl(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)al(e,t.alternate,t),t=t.sibling}function bl(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:qs(4,t,t.return),bl(t);break;case 1:Ks(t,t.return);var n=t.stateNode;"function"===typeof n.componentWillUnmount&&Bs(t,t.return,n),bl(t);break;case 26:case 27:case 5:Ks(t,t.return),bl(t);break;case 22:Ks(t,t.return),null===t.memoizedState&&bl(t);break;default:bl(t)}e=e.sibling}}function wl(e,t,n){for(n=n&&0!==(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:wl(i,a,n),Hs(4,a);break;case 1:if(wl(i,a,n),"function"===typeof(i=(r=a).stateNode).componentDidMount)try{i.componentDidMount()}catch(u){ic(r,r.return,u)}if(null!==(i=(r=a).updateQueue)){var s=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(null!==l)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)Fs(l[i],s)}catch(u){ic(r,r.return,u)}}n&&64&o&&Us(a),Ws(a,a.return);break;case 26:case 27:case 5:wl(i,a,n),n&&null===r&&4&o&&$s(a),Ws(a,a.return);break;case 12:default:wl(i,a,n);break;case 13:wl(i,a,n),n&&4&o&&dl(i,a);break;case 22:null===a.memoizedState&&wl(i,a,n),Ws(a,a.return)}t=t.sibling}}function kl(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&qi(n))}function _l(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&qi(e))}function Sl(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)xl(e,t,n,r),t=t.sibling}function xl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Sl(e,t,n,r),2048&i&&Hs(9,t);break;case 3:Sl(e,t,n,r),2048&i&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&qi(e)));break;case 12:if(2048&i){Sl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;"function"===typeof s&&s(o,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(l){ic(t,t.return,l)}}else Sl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,null!==t.memoizedState?4&a._visibility?Sl(e,t,n,r):Tl(e,t):4&a._visibility?Sl(e,t,n,r):(a._visibility|=4,Cl(e,t,n,r,0!==(10256&t.subtreeFlags))),2048&i&&kl(t.alternate,t);break;case 24:Sl(e,t,n,r),2048&i&&_l(t.alternate,t);break;default:Sl(e,t,n,r)}}function Cl(e,t,n,r,i){for(i=i&&0!==(10256&t.subtreeFlags),t=t.child;null!==t;){var a=e,o=t,s=n,l=r,u=o.flags;switch(o.tag){case 0:case 11:case 15:Cl(a,o,s,l,i),Hs(8,o);break;case 23:break;case 22:var c=o.stateNode;null!==o.memoizedState?4&c._visibility?Cl(a,o,s,l,i):Tl(a,o):(c._visibility|=4,Cl(a,o,s,l,i)),i&&2048&u&&kl(o.alternate,o);break;case 24:Cl(a,o,s,l,i),i&&2048&u&&_l(o.alternate,o);break;default:Cl(a,o,s,l,i)}t=t.sibling}}function Tl(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Tl(n,r),2048&i&&kl(r.alternate,r);break;case 24:Tl(n,r),2048&i&&_l(r.alternate,r);break;default:Tl(n,r)}t=t.sibling}}var El=8192;function Al(e){if(e.subtreeFlags&El)for(e=e.child;null!==e;)Il(e),e=e.sibling}function Il(e){switch(e.tag){case 26:Al(e),e.flags&El&&null!==e.memoizedState&&function(e,t,n){if(null===jd)throw Error(o(475));var r=jd;if("stylesheet"===t.type&&("string"!==typeof n.media||!1!==matchMedia(n.media).matches)&&0===(4&t.state.loading)){if(null===t.instance){var i=yd(n.href),a=e.querySelector(bd(i));if(a)return null!==(e=a._p)&&"object"===typeof e&&"function"===typeof e.then&&(r.count++,r=Pd.bind(r),e.then(r,r)),t.state.loading|=4,t.instance=a,void Je(a);a=e.ownerDocument||e,n=wd(n),(i=dd.get(i))&&Cd(n,i),Je(a=a.createElement("link"));var s=a;s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),$c(a,"link",n),t.instance=a}null===r.stylesheets&&(r.stylesheets=new Map),r.stylesheets.set(t,e),(e=t.state.preload)&&0===(3&t.state.loading)&&(r.count++,t=Pd.bind(r),e.addEventListener("load",t),e.addEventListener("error",t))}}(fl,e.memoizedState,e.memoizedProps);break;case 5:default:Al(e);break;case 3:case 4:var t=fl;fl=hd(e.stateNode.containerInfo),Al(e),fl=t;break;case 22:null===e.memoizedState&&(null!==(t=e.alternate)&&null!==t.memoizedState?(t=El,El=16777216,Al(e),El=t):Al(e))}}function Ol(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function jl(e){var t=e.deletions;if(0!==(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];rl=r,Nl(r,e)}Ol(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)Rl(e),e=e.sibling}function Rl(e){switch(e.tag){case 0:case 11:case 15:jl(e),2048&e.flags&&qs(9,e,e.return);break;case 3:case 12:default:jl(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&4&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-5,Pl(e)):jl(e)}}function Pl(e){var t=e.deletions;if(0!==(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];rl=r,Nl(r,e)}Ol(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:qs(8,t,t.return),Pl(t);break;case 22:4&(n=t.stateNode)._visibility&&(n._visibility&=-5,Pl(t));break;default:Pl(t)}e=e.sibling}}function Nl(e,t){for(;null!==rl;){var n=rl;switch(n.tag){case 0:case 11:case 15:qs(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:qi(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,rl=r;else e:for(n=e;null!==rl;){var i=(r=rl).sibling,a=r.return;if(ol(r),r===n){rl=null;break e}if(null!==i){i.return=a,rl=i;break e}rl=a}}}function Ml(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ll(e,t,n,r){return new Ml(e,t,n,r)}function Dl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Vl(e,t){var n=e.alternate;return null===n?((n=Ll(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=31457280&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Fl(e,t){e.flags&=31457282;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function zl(e,t,n,r,i,a){var s=0;if(r=e,"function"===typeof e)Dl(e)&&(s=1);else if("string"===typeof e)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!==typeof t.precedence||"string"!==typeof t.href||""===t.href)break;return!0;case"link":if("string"!==typeof t.rel||"string"!==typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"===typeof t.precedence&&null==e);case"script":if(t.async&&"function"!==typeof t.async&&"symbol"!==typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"===typeof t.src)return!0}return!1}(e,n,Y.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case d:return Hl(n.children,i,a,t);case p:s=8,i|=24;break;case h:return(e=Ll(12,n,t,2|i)).elementType=h,e.lanes=a,e;case y:return(e=Ll(13,n,t,i)).elementType=y,e.lanes=a,e;case b:return(e=Ll(19,n,t,i)).elementType=b,e.lanes=a,e;case _:return ql(n,i,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case f:case g:s=10;break e;case m:s=9;break e;case v:s=11;break e;case w:s=14;break e;case k:s=16,r=null;break e}s=29,n=Error(o(130,null===e?"null":typeof e,"")),r=null}return(t=Ll(s,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function Hl(e,t,n,r){return(e=Ll(7,e,r,t)).lanes=n,e}function ql(e,t,n,r){(e=Ll(22,e,r,t)).elementType=_,e.lanes=n;var i={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var e=i._current;if(null===e)throw Error(o(456));if(0===(2&i._pendingVisibility)){var t=Ir(e,2);null!==t&&(i._pendingVisibility|=2,Pu(t,e,2))}},attach:function(){var e=i._current;if(null===e)throw Error(o(456));if(0!==(2&i._pendingVisibility)){var t=Ir(e,2);null!==t&&(i._pendingVisibility&=-3,Pu(t,e,2))}}};return e.stateNode=i,e}function Ul(e,t,n){return(e=Ll(6,e,null,t)).lanes=n,e}function Bl(e,t,n){return(t=Ll(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Wl(e){e.flags|=4}function Kl(e,t){if("stylesheet"!==t.type||0!==(4&t.state.loading))e.flags&=-16777217;else if(e.flags|=16777216,!Od(t)){if(null!==(t=Ai.current)&&((4194176&iu)===iu?null!==Ii:(62914560&iu)!==iu&&0===(536870912&iu)||t!==Ii))throw pi=li,si;e.flags|=8192}}function $l(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Oe():536870912,e.lanes|=t,gu|=t)}function Gl(e,t){if(!Qr)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Yl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=31457280&i.subtreeFlags,r|=31457280&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ql(e,t,n){var r=t.pendingProps;switch($r(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return Yl(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ws(zi),ee(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(ri(t)?Wl(t):null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==Jr&&(Mu(Jr),Jr=null))),Yl(t),null;case 26:return n=t.memoizedState,null===e?(Wl(t),null!==n?(Yl(t),Kl(t,n)):(Yl(t),t.flags&=-16777217)):n?n!==e.memoizedState?(Wl(t),Yl(t),Kl(t,n)):(Yl(t),t.flags&=-16777217):(e.memoizedProps!==r&&Wl(t),Yl(t),t.flags&=-16777217),null;case 27:ne(t),n=J.current;var i=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Wl(t);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Yl(t),null}e=Y.current,ri(t)?ti(t):(e=cd(i,r,n),t.stateNode=e,Wl(t))}return Yl(t),null;case 5:if(ne(t),n=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&Wl(t);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Yl(t),null}if(e=Y.current,ri(t))ti(t);else{switch(i=Qc(J.current),e){case 1:e=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":(e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"===typeof r.is?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e="string"===typeof r.is?i.createElement(n,{is:r.is}):i.createElement(n)}}e[Ve]=t,e[Fe]=r;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)e.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=e;e:switch($c(e,n,r),n){case"button":case"input":case"select":case"textarea":e=!!r.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Wl(t)}}return Yl(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&Wl(t);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));if(e=J.current,ri(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(i=Gr))switch(i.tag){case 27:case 5:r=i.memoizedProps}e[Ve]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||Uc(e.nodeValue,n)))||ei(t)}else(e=Qc(e).createTextNode(r))[Ve]=t,t.stateNode=e}return Yl(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(i=ri(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[Ve]=t}else ii(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Yl(t),i=!1}else null!==Jr&&(Mu(Jr),Jr=null),i=!0;if(!i)return 256&t.flags?(Pi(t),t):(Pi(t),null)}if(Pi(t),0!==(128&t.flags))return t.lanes=n,t;if(n=null!==r,e=null!==e&&null!==e.memoizedState,n){i=null,null!==(r=t.child).alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(i=r.alternate.memoizedState.cachePool.pool);var a=null;null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==i&&(r.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),$l(t,t.updateQueue),Yl(t),null;case 4:return ee(),null===e&&Pc(t.stateNode.containerInfo),Yl(t),null;case 10:return ws(t.type),Yl(t),null;case 19:if($(Ni),null===(i=t.memoizedState))return Yl(t),null;if(r=0!==(128&t.flags),null===(a=i.rendering))if(r)Gl(i,!1);else{if(0!==du||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=Mi(e))){for(t.flags|=128,Gl(i,!1),e=a.updateQueue,t.updateQueue=e,$l(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Fl(n,e),n=n.sibling;return G(Ni,1&Ni.current|2),t.child}e=e.sibling}null!==i.tail&&le()>ku&&(t.flags|=128,r=!0,Gl(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=Mi(a))){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,$l(t,e),Gl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!a.alternate&&!Qr)return Yl(t),null}else 2*le()-i.renderingStartTime>ku&&536870912!==n&&(t.flags|=128,r=!0,Gl(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=i.last)?e.sibling=a:t.child=a,i.last=a)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=le(),t.sibling=null,e=Ni.current,G(Ni,r?1&e|2:1&e),t):(Yl(t),null);case 22:case 23:return Pi(t),Ei(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!==(536870912&n)&&0===(128&t.flags)&&(Yl(t),6&t.subtreeFlags&&(t.flags|=8192)):Yl(t),null!==(n=t.updateQueue)&&$l(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&$(Yi),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ws(zi),Yl(t),null;case 25:return null}throw Error(o(156,t.tag))}function Jl(e,t){switch($r(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ws(zi),ee(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return ne(t),null;case 13:if(Pi(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ii()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return $(Ni),null;case 4:return ee(),null;case 10:return ws(t.type),null;case 22:case 23:return Pi(t),Ei(),null!==e&&$(Yi),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return ws(zi),null;default:return null}}function Xl(e,t){switch($r(t),t.tag){case 3:ws(zi),ee();break;case 26:case 27:case 5:ne(t);break;case 4:ee();break;case 13:Pi(t);break;case 19:$(Ni);break;case 10:ws(t.type);break;case 22:case 23:Pi(t),Ei(),null!==e&&$(Yi);break;case 24:ws(zi)}}var Zl={getCacheForType:function(e){var t=Ts(zi),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}},eu="function"===typeof WeakMap?WeakMap:Map,tu=0,nu=null,ru=null,iu=0,au=0,ou=null,su=!1,lu=!1,uu=!1,cu=0,du=0,pu=0,hu=0,fu=0,mu=0,gu=0,vu=null,yu=null,bu=!1,wu=0,ku=1/0,_u=null,Su=null,xu=!1,Cu=null,Tu=0,Eu=0,Au=null,Iu=0,Ou=null;function ju(){if(0!==(2&tu)&&0!==iu)return iu&-iu;if(null!==O.T){return 0!==Wi?Wi:_c()}return Le()}function Ru(){0===mu&&(mu=0===(536870912&iu)||Qr?Ie():536870912);var e=Ai.current;return null!==e&&(e.flags|=32),mu}function Pu(e,t,n){(e===nu&&2===au||null!==e.cancelPendingCommit)&&(Hu(e,0),Vu(e,iu,mu,!1)),Re(e,n),0!==(2&tu)&&e===nu||(e===nu&&(0===(2&tu)&&(hu|=n),4===du&&Vu(e,iu,mu,!1)),gc(e))}function Nu(e,t,n){if(0!==(6&tu))throw Error(o(327));for(var r=!n&&0===(60&t)&&0===(t&e.expiredLanes)||Ee(e,t),i=r?function(e,t){var n=tu;tu|=2;var r=Uu(),i=Bu();nu!==e||iu!==t?(_u=null,ku=le()+500,Hu(e,t)):lu=Ee(e,t);e:for(;;)try{if(0!==au&&null!==ru){t=ru;var a=ou;t:switch(au){case 1:au=0,ou=null,Ju(e,t,a,1);break;case 2:if(ui(a)){au=0,ou=null,Qu(t);break}t=function(){2===au&&nu===e&&(au=7),gc(e)},a.then(t,t);break e;case 3:au=7;break e;case 4:au=5;break e;case 7:ui(a)?(au=0,ou=null,Qu(t)):(au=0,ou=null,Ju(e,t,a,7));break;case 5:var s=null;switch(ru.tag){case 26:s=ru.memoizedState;case 5:case 27:var l=ru;if(!s||Od(s)){au=0,ou=null;var u=l.sibling;if(null!==u)ru=u;else{var c=l.return;null!==c?(ru=c,Xu(c)):ru=null}break t}}au=0,ou=null,Ju(e,t,a,5);break;case 6:au=0,ou=null,Ju(e,t,a,6);break;case 8:zu(),du=6;break e;default:throw Error(o(462))}}Gu();break}catch(d){qu(e,d)}return ys=vs=null,O.H=r,O.A=i,tu=n,null!==ru?0:(nu=null,iu=0,Tr(),du)}(e,t):Ku(e,t,!0),a=r;;){if(0===i){lu&&!r&&Vu(e,t,0,!1);break}if(6===i)Vu(e,t,0,!su);else{if(n=e.current.alternate,a&&!Du(n)){i=Ku(e,t,!1),a=!1;continue}if(2===i){if(a=t,e.errorRecoveryDisabledLanes&a)var s=0;else s=0!==(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;i=vu;var u=l.current.memoizedState.isDehydrated;if(u&&(Hu(l,s).flags|=256),2!==(s=Ku(l,s,!1))){if(uu&&!u){l.errorRecoveryDisabledLanes|=a,hu|=a,i=4;break e}a=yu,yu=i,null!==a&&Mu(a)}i=s}if(a=!1,2!==i)continue}}if(1===i){Hu(e,0),Vu(e,t,0,!0);break}e:{switch(r=e,i){case 0:case 1:throw Error(o(345));case 4:if((4194176&t)===t){Vu(r,t,mu,!su);break e}break;case 2:yu=null;break;case 3:case 5:break;default:throw Error(o(329))}if(r.finishedWork=n,r.finishedLanes=t,(62914560&t)===t&&10<(a=wu+300-le())){if(Vu(r,t,mu,!su),0!==Te(r,0))break e;r.timeoutHandle=td(Lu.bind(null,r,n,yu,_u,bu,t,mu,hu,gu,su,2,-0,0),a)}else Lu(r,n,yu,_u,bu,t,mu,hu,gu,su,0,-0,0)}}break}gc(e)}function Mu(e){null===yu?yu=e:yu.push.apply(yu,e)}function Lu(e,t,n,r,i,a,s,l,u,c,d,p,h){var f=t.subtreeFlags;if((8192&f||16785408===(16785408&f))&&(jd={stylesheets:null,count:0,unsuspend:Rd},Il(t),null!==(t=function(){if(null===jd)throw Error(o(475));var e=jd;return e.stylesheets&&0===e.count&&Md(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Md(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}())))return e.cancelPendingCommit=t(ec.bind(null,e,n,r,i,s,l,u,1,p,h)),void Vu(e,a,s,!c);ec(e,n,r,i,s,l,u,d,p,h)}function Du(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Gn(a(),i))return!1}catch(o){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Vu(e,t,n,r){t&=~fu,t&=~hu,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-we(i),o=1<<a;r[a]=-1,i&=~o}0!==n&&Pe(e,n,t)}function Fu(){return 0!==(6&tu)||(vc(0,!1),!1)}function zu(){if(null!==ru){if(0===au)var e=ru.return;else ys=vs=null,ya(e=ru),fi=null,mi=0,e=ru;for(;null!==e;)Xl(e.alternate,e),e=e.return;ru=null}}function Hu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,nd(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),zu(),nu=e,ru=n=Vl(e.current,null),iu=t,au=0,ou=null,su=!1,lu=Ee(e,t),uu=!1,gu=mu=fu=hu=pu=du=0,yu=vu=null,bu=!1,0!==(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var i=31-we(r),a=1<<i;t|=e[i],r&=~a}return cu=t,Tr(),n}function qu(e,t){ea=null,O.H=To,t===oi?(t=hi(),au=3):t===si?(t=hi(),au=4):au=t===Bo?8:null!==t&&"object"===typeof t&&"function"===typeof t.then?6:1,ou=t,null===ru&&(du=1,Fo(e,Nr(t,e.current)))}function Uu(){var e=O.H;return O.H=To,null===e?To:e}function Bu(){var e=O.A;return O.A=Zl,e}function Wu(){du=4,su||(4194176&iu)!==iu&&null!==Ai.current||(lu=!0),0===(134217727&pu)&&0===(134217727&hu)||null===nu||Vu(nu,iu,mu,!1)}function Ku(e,t,n){var r=tu;tu|=2;var i=Uu(),a=Bu();nu===e&&iu===t||(_u=null,Hu(e,t)),t=!1;var o=du;e:for(;;)try{if(0!==au&&null!==ru){var s=ru,l=ou;switch(au){case 8:zu(),o=6;break e;case 3:case 2:case 6:null===Ai.current&&(t=!0);var u=au;if(au=0,ou=null,Ju(e,s,l,u),n&&lu){o=0;break e}break;default:u=au,au=0,ou=null,Ju(e,s,l,u)}}$u(),o=du;break}catch(c){qu(e,c)}return t&&e.shellSuspendCounter++,ys=vs=null,tu=r,O.H=i,O.A=a,null===ru&&(nu=null,iu=0,Tr()),o}function $u(){for(;null!==ru;)Yu(ru)}function Gu(){for(;null!==ru&&!oe();)Yu(ru)}function Yu(e){var t=ms(e.alternate,e,cu);e.memoizedProps=e.pendingProps,null===t?Xu(e):ru=t}function Qu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=es(n,t,t.pendingProps,t.type,void 0,iu);break;case 11:t=es(n,t,t.pendingProps,t.type.render,t.ref,iu);break;case 5:ya(t);default:Xl(n,t),t=ms(n,t=ru=Fl(t,cu),cu)}e.memoizedProps=e.pendingProps,null===t?Xu(e):ru=t}function Ju(e,t,n,r){ys=vs=null,ya(t),fi=null,mi=0;var i=t.return;try{if(function(e,t,n,r,i){if(n.flags|=32768,null!==r&&"object"===typeof r&&"function"===typeof r.then){if(null!==(t=n.alternate)&&Ss(t,n,i,!0),null!==(n=Ai.current)){switch(n.tag){case 13:return null===Ii?Wu():null===n.alternate&&0===du&&(du=3),n.flags&=-257,n.flags|=65536,n.lanes=i,r===li?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),ac(e,r,i)),!1;case 22:return n.flags|=65536,r===li?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),ac(e,r,i)),!1}throw Error(o(435,n.tag))}
2return ac(e,r,i),Wu(),!1}if(Qr)return null!==(t=Ai.current)?(0===(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==Zr&&ai(Nr(e=Error(o(422),{cause:r}),n))):(r!==Zr&&ai(Nr(t=Error(o(423),{cause:r}),n)),(e=e.current.alternate).flags|=65536,i&=-i,e.lanes|=i,r=Nr(r,n),Ms(e,i=Ho(e.stateNode,r,i)),4!==du&&(du=2)),!1;var a=Error(o(520),{cause:r});if(a=Nr(a,n),null===vu?vu=[a]:vu.push(a),4!==du&&(du=2),null===t)return!0;r=Nr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,Ms(n,e=Ho(n.stateNode,r,e)),!1;case 1:if(t=n.type,a=n.stateNode,0===(128&n.flags)&&("function"===typeof t.getDerivedStateFromError||null!==a&&"function"===typeof a.componentDidCatch&&(null===Su||!Su.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,Uo(i=qo(i),e,n,r),Ms(n,i),!1}n=n.return}while(null!==n);return!1}(e,i,t,n,iu))return du=1,Fo(e,Nr(n,e.current)),void(ru=null)}catch(a){if(null!==i)throw ru=i,a;return du=1,Fo(e,Nr(n,e.current)),void(ru=null)}32768&t.flags?(Qr||1===r?e=!0:lu||0!==(536870912&iu)?e=!1:(su=e=!0,(2===r||3===r||6===r)&&(null!==(r=Ai.current)&&13===r.tag&&(r.flags|=16384))),Zu(t,e)):Xu(t)}function Xu(e){var t=e;do{if(0!==(32768&t.flags))return void Zu(t,su);e=t.return;var n=Ql(t.alternate,t,cu);if(null!==n)return void(ru=n);if(null!==(t=t.sibling))return void(ru=t);ru=t=e}while(null!==t);0===du&&(du=5)}function Zu(e,t){do{var n=Jl(e.alternate,e);if(null!==n)return n.flags&=32767,void(ru=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(ru=e);ru=e=n}while(null!==e);du=6,ru=null}function ec(e,t,n,r,i,a,s,l,u,c){var d=O.T,p=q.p;try{q.p=2,O.T=null,function(e,t,n,r,i,a,s,l){do{nc()}while(null!==Cu);if(0!==(6&tu))throw Error(o(327));var u=e.finishedWork;if(r=e.finishedLanes,null===u)return null;if(e.finishedWork=null,e.finishedLanes=0,u===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var c=u.lanes|u.childLanes;if(function(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=o&~n;0<n;){var c=31-we(n),d=1<<c;s[c]=0,l[c]=-1;var p=u[c];if(null!==p)for(u[c]=null,c=0;c<p.length;c++){var h=p[c];null!==h&&(h.lane&=-536870913)}n&=~d}0!==r&&Pe(e,r,0),0!==a&&0===i&&0!==e.tag&&(e.suspendedLanes|=a&~(o&~t))}(e,r,c|=Cr,a,s,l),e===nu&&(ru=nu=null,iu=0),0===(10256&u.subtreeFlags)&&0===(10256&u.flags)||xu||(xu=!0,Eu=c,Au=n,function(e,t){ie(e,t)}(pe,function(){return nc(),null})),n=0!==(15990&u.flags),0!==(15990&u.subtreeFlags)||n?(n=O.T,O.T=null,a=q.p,q.p=2,s=tu,tu|=4,function(e,t){if(e=e.containerInfo,Gc=Wd,er(e=Zn(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(g){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,p=e,h=null;t:for(;;){for(var f;p!==n||0!==i&&3!==p.nodeType||(l=s+i),p!==a||0!==r&&3!==p.nodeType||(u=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(f=p.firstChild);)h=p,p=f;for(;;){if(p===e)break t;if(h===n&&++c===i&&(l=s),h===a&&++d===r&&(u=s),null!==(f=p.nextSibling))break;h=(p=h).parentNode}p=f}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Yc={focusedElem:e,selectionRange:n},Wd=!1,rl=t;null!==rl;)if(e=(t=rl).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,rl=e;else for(;null!==rl;){switch(a=(t=rl).alternate,e=t.flags,t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!==(1024&e)&&null!==a){e=void 0,n=t,i=a.memoizedProps,a=a.memoizedState,r=n.stateNode;try{var m=No(n.type,i,(n.elementType,n.type));e=r.getSnapshotBeforeUpdate(m,a),r.__reactInternalSnapshotBeforeUpdate=e}catch(v){ic(n,n.return,v)}}break;case 3:if(0!==(1024&e))if(9===(n=(e=t.stateNode.containerInfo).nodeType))sd(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":sd(e);break;default:e.textContent=""}break;default:if(0!==(1024&e))throw Error(o(163))}if(null!==(e=t.sibling)){e.return=t.return,rl=e;break}rl=t.return}m=il,il=!1}(e,u),ml(u,e),tr(Yc,e.containerInfo),Wd=!!Gc,Yc=Gc=null,e.current=u,al(e,u.alternate,u),se(),tu=s,q.p=a,O.T=n):e.current=u,xu?(xu=!1,Cu=e,Tu=r):tc(e,c),c=e.pendingLanes,0===c&&(Su=null),function(e){if(ye&&"function"===typeof ye.onCommitFiberRoot)try{ye.onCommitFiberRoot(ve,e,void 0,128===(128&e.current.flags))}catch(t){}}(u.stateNode),gc(e),null!==t)for(i=e.onRecoverableError,u=0;u<t.length;u++)c=t[u],i(c.value,{componentStack:c.stack});0!==(3&Tu)&&nc(),c=e.pendingLanes,0!==(4194218&r)&&0!==(42&c)?e===Ou?Iu++:(Iu=0,Ou=e):Iu=0,vc(0,!1)}(e,t,n,r,p,i,a,s)}finally{O.T=d,q.p=p}}function tc(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,qi(t)))}function nc(){if(null!==Cu){var e=Cu,t=Eu;Eu=0;var n=Me(Tu),r=O.T,i=q.p;try{if(q.p=32>n?32:n,O.T=null,null===Cu)var a=!1;else{n=Au,Au=null;var s=Cu,l=Tu;if(Cu=null,Tu=0,0!==(6&tu))throw Error(o(331));var u=tu;if(tu|=4,Rl(s.current),xl(s,s.current,l,n),tu=u,vc(0,!1),ye&&"function"===typeof ye.onPostCommitFiberRoot)try{ye.onPostCommitFiberRoot(ve,s)}catch(c){}a=!0}return a}finally{q.p=i,O.T=r,tc(e,t)}}return!1}
vendor: 4,126 bytes, line 2
2function rc(e,t,n){t=Nr(n,t),null!==(e=Ps(e,t=Ho(e.stateNode,t,2),2))&&(Re(e,2),gc(e))}function ic(e,t,n){if(3===e.tag)rc(e,e,n);else for(;null!==t;){if(3===t.tag){rc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Su||!Su.has(r))){e=Nr(n,e),null!==(r=Ps(t,n=qo(2),2))&&(Uo(n,r,t,e),Re(r,2),gc(r));break}}t=t.return}}function ac(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new eu;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(uu=!0,i.add(n),e=oc.bind(null,e,t,n),t.then(e,e))}function oc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,nu===e&&(iu&n)===n&&(4===du||3===du&&(62914560&iu)===iu&&300>le()-wu?0===(2&tu)&&Hu(e,0):fu|=n,gu===iu&&(gu=0)),gc(e)}function sc(e,t){0===t&&(t=Oe()),null!==(e=Ir(e,t))&&(Re(e,t),gc(e))}function lc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),sc(e,n)}function uc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(o(314))}null!==r&&r.delete(t),sc(e,n)}var cc=null,dc=null,pc=!1,hc=!1,fc=!1,mc=0;function gc(e){var t;e!==dc&&null===e.next&&(null===dc?cc=dc=e:dc=dc.next=e),hc=!0,pc||(pc=!0,t=yc,id(function(){0!==(6&tu)?ie(ce,t):t()}))}function vc(e,t){if(!fc&&hc){fc=!0;do{for(var n=!1,r=cc;null!==r;){if(!t)if(0!==e){var i=r.pendingLanes;if(0===i)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-we(42|e)+1)-1,a=201326677&(a&=i&~(o&~s))?201326677&a|1:a?2|a:0}0!==a&&(n=!0,kc(r,a))}else a=iu,0===(3&(a=Te(r,r===nu?a:0)))||Ee(r,a)||(n=!0,kc(r,a));r=r.next}}while(n);fc=!1}}function yc(){hc=pc=!1;var e=0;0!==mc&&(function(){var e=window.event;if(e&&"popstate"===e.type)return e!==ed&&(ed=e,!0);return ed=null,!1}()&&(e=mc),mc=0);for(var t=le(),n=null,r=cc;null!==r;){var i=r.next,a=bc(r,t);0===a?(r.next=null,null===n?cc=i:n.next=i,null===i&&(dc=n)):(n=r,(0!==e||0!==(3&a))&&(hc=!0)),r=i}vc(e,!1)}function bc(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=-62914561&e.pendingLanes;0<a;){var o=31-we(a),s=1<<o,l=i[o];-1===l?0!==(s&n)&&0===(s&r)||(i[o]=Ae(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}if(n=iu,n=Te(e,e===(t=nu)?n:0),r=e.callbackNode,0===n||e===t&&2===au||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ae(r),e.callbackNode=null,e.callbackPriority=0;if(0===(3&n)||Ee(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ae(r),Me(n)){case 2:case 8:n=de;break;case 32:default:n=pe;break;case 268435456:n=fe}return r=wc.bind(null,e),n=ie(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ae(r),e.callbackPriority=2,e.callbackNode=null,2}function wc(e,t){var n=e.callbackNode;if(nc()&&e.callbackNode!==n)return null;var r=iu;return 0===(r=Te(e,e===nu?r:0))?null:(Nu(e,r,t),bc(e,le()),null!=e.callbackNode&&e.callbackNode===n?wc.bind(null,e):null)}function kc(e,t){if(nc())return null;Nu(e,t,!0)}function _c(){return 0===mc&&(mc=Ie()),mc}function Sc(e){return null==e||"symbol"===typeof e||"boolean"===typeof e?null:"function"===typeof e?e:It(""+e)}function xc(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Cc=0;Cc<kr.length;Cc++){var Tc=kr[Cc];_r(Tc.toLowerCase(),"on"+(Tc[0].toUpperCase()+Tc.slice(1)))}_r(hr,"onAnimationEnd"),_r(fr,"onAnimationIteration"),_r(mr,"onAnimationStart"),_r("dblclick","onDoubleClick"),_r("focusin","onFocus"),_r("focusout","onBlur"),_r(gr,"onTransitionRun"),_r(vr,"onTransitionStart"),_r(yr,"onTransitionCancel"),_r(br,"onTransitionEnd"),tt("onMouseEnter",["mouseout","mouseover"]),tt("onMouseLeave",["mouseout","mouseover"]),tt("onPointerEnter",["pointerout","pointerover"]),tt("onPointerLeave",["pointerout","pointerover"]),et("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),et("onSelect","focusout contextmenu dragend focu
2sin keydown keyup mousedown mouseup selectionchange".split(" ")),et("onBeforeInput",["compositionend","keypress","textInput","paste"]),et("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),et("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),et("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ec="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ac=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ec));function Ic(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==a&&i.isPropagationStopped())break e;a=s,i.currentTarget=u;try{a(i)}catch(c){Mo(c)}i.currentTarget=null,a=l}else for(o=0;o<r.length;o++){if(l=(s=r[o]).instance,u=s.currentTarget,s=s.listener,l!==a&&i.isPropagationStopped())break e;a=s,i.currentTarget=u;try{a(i)}catch(c){Mo(c)}i.currentTarget=null,a=l}}}}function Oc(e,t){var n=t[He];void 0===n&&(n=t[He]=new Set);var r=e+"__bubble";n.has(r)||(Nc(t,e,2,!1),n.add(r))}function jc(e,t,n){var r=0;t&&(r|=4),Nc(n,e,r,t)}var Rc="_reactListening"+Math.random().toString(36).slice(2);function Pc(e){if(!e[Rc]){e[Rc]=!0,Xe.forEach(function(t){"selectionchange"!==t&&(Ac.has(t)||jc(t,!1,e),jc(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Rc]||(t[Rc]=!0,jc("selectionchange",!1,t))}}function Nc(e,t,n,r){switch(Xd(t)){case 2:var i=Kd;break;case 8:i=$d;break;default:i=Gd}n=i.bind(null,t,n,e),i=void 0,!Vt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Mc(e,t,n,r,i){var a=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===o)for(o=r.return;null!==o;){var l=o.tag;if((3===l||4===l)&&((l=o.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;o=o.return}for(;null!==s;){if(null===(o=$e(s)))return;if(5===(l=o.tag)||6===l||26===l||27===l){r=a=o;continue e}s=s.parentNode}}r=r.return}Lt(function(){var r=a,i=jt(n),o=[];e:{var s=wr.get(e);if(void 0!==s){var l=Xt,u=e;switch(e){case"keypress":if(0===Bt(n))break e;case"keydown":case"keyup":l=fn;break;case"focusin":u="focus",l=an;break;case"focusout":u="blur",l=an;break;case"beforeblur":case"afterblur":l=an;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=nn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=rn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=gn;break;case hr:case fr:case mr:l=on;break;case br:l=vn;break;case"scroll":case"scrollend":l=en;break;case"wheel":l=yn;break;case"copy":case"cut":case"paste":l=sn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=mn;break;case"toggle":case"beforetoggle":l=bn}var c=0!==(4&t),d=!c&&("scroll"===e||"scrollend"===e),p=c?null!==s?s+"Capture":null:s;c=[];for(var h,f=r;null!==f;){var m=f;if(h=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===h||null===p||null!=(m=Dt(f,p))&&c.push(Lc(f,m,h)),d)break;f=f.return}0<c.length&&(s=new l(s,u,null,n,i),o.push({event:s,listeners:c}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===Ot||!(u=n.relatedTarget||n.fromElement)||!$e(u)&&!u[ze])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?$e(u):null)&&(d=D(u),c=u.tag,u!==d||5!==c&&27!==c&&6!==c)&&(u=null)):(l=null,u=r),l!==u)){if(c=nn,m="onMouseLeave",p="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(c=mn,m="onPointerLeave",p="onPointerEnter",f="pointer"),d=null==l?s:Ye(l),h=null==u?s:Ye(u),(s=new c(m,f+"leave",l,n,i)).target=d,s.relatedTarget=h,m=null,$e(i)===r&&((c=new c(p,f+"enter",u,n,i)).target=h,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(p=u,f=0,h=c=l;h;h=Vc(h))f++;for(h=0,m=p;m;m=Vc(m))h++;for(;0<f-h;)c=Vc(c),f--;for(;0<h-f;)p=Vc(p),h--;for(;f--;){if(c===p||null!==p&&c===p.alternate)break e;c=Vc(c),p=Vc(p)}c=null}else c=null;null!==l&&Fc(o,s,l,c,!1),null!==u&&null!==d&&Fc(o,d,u,c,!0)}if("select"===(l=(s=r?Ye(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Dn;else if(jn(s))if(Vn)g=$n;else{g=Wn;var v=Bn}else!(l=s.nodeName)||"input"!==l.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?r&&Tt(r.elementType)&&(g=Dn):g=Kn;switch(g&&(g=g(e,r))?Rn(o,g,n,i):(v&&v(e,s,r),"focusout"===e&&r&&"number"===s.type&&null!=r.memoizedProps.value&&yt(s,"number",s.value)),v=r?Ye(r):window,e){case"focusin":(jn(v)||"true"===v.contentEditable)&&(rr=v,ir=r,ar=null);break;case"focusout":ar=ir=rr=null;break;case"mousedown":or=!0;break;case"contextmenu":case"mouseup":case"dragend":or=!1,sr(o,n,i);break;case"selectionchange":if(nr)break;case"keydown":case"keyup":sr(o,n,i)}var y;if(kn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else In?En(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(xn&&"ko"!==n.locale&&(In||"onCompositionStart"!==b?"onCompositionEnd"===b&&In&&(y=Ut()):(Ht="value"in(zt=i)?zt.value:zt.textContent,In=!0)),0<(v=Dc(r,b)).length&&(b=new ln(b,e,null,n,i),o.push({event:b,listeners:v}
2),y?b.data=y:null!==(y=An(n))&&(b.data=y))),(y=Sn?function(e,t){switch(e){case"compositionend":return An(t);case"keypress":return 32!==t.which?null:(Tn=!0,Cn);case"textInput":return(e=t.data)===Cn&&Tn?null:e;default:return null}}(e,n):function(e,t){if(In)return"compositionend"===e||!kn&&En(e,t)?(e=Ut(),qt=Ht=zt=null,In=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return xn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(b=Dc(r,"onBeforeInput")).length&&(v=new ln("onBeforeInput","beforeinput",null,n,i),o.push({event:v,listeners:b}),v.data=y)),function(e,t,n,r,i){if("submit"===t&&n&&n.stateNode===i){var a=Sc((i[Fe]||null).action),o=r.submitter;o&&null!==(t=(t=o[Fe]||null)?Sc(t.formAction):o.getAttribute("formAction"))&&(a=t,o=null);var s=new Xt("action","action",null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==mc){var e=o?xc(i,o):new FormData(i);po(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else"function"===typeof a&&(s.preventDefault(),e=o?xc(i,o):new FormData(i),po(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}(o,e,r,n,i)}Ic(o,t)})}function Lc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Dc(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,a=i.stateNode;5!==(i=i.tag)&&26!==i&&27!==i||null===a||(null!=(i=Dt(e,n))&&r.unshift(Lc(e,i,a)),null!=(i=Dt(e,t))&&r.push(Lc(e,i,a))),e=e.return}return r}function Vc(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Fc(e,t,n,r,i){for(var a=t._reactName,o=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===u||(l=u,i?null!=(u=Dt(n,a))&&o.unshift(Lc(n,u,l)):i||null!=(u=Dt(n,a))&&o.push(Lc(n,u,l))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var zc=/\r\n?/g,Hc=/\u0000|\uFFFD/g;function qc(e){return("string"===typeof e?e:""+e).replace(zc,"\n").replace(Hc,"")}function Uc(e,t){return t=qc(t),qc(e)===t}function Bc(){}function Wc(e,t,n,r,i,a){switch(n){case"children":"string"===typeof r?"body"===t||"textarea"===t&&""===r||_t(e,r):("number"===typeof r||"bigint"===typeof r)&&"body"!==t&&_t(e,""+r);break;case"className":st(e,"class",r);break;case"tabIndex":st(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":st(e,n,r);break;case"style":Ct(e,r,a);break;case"data":if("object"!==t){st(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==r||"function"===typeof r||"symbol"===typeof r||"boolean"===typeof r){e.removeAttribute(n);break}r=It(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"===typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"===typeof a&&("formAction"===n?("input"!==t&&Wc(e,t,"name",i.name,i,null),Wc(e,t,"formEncType",i.formEncType,i,null),Wc(e,t,"formMethod",i.formMethod,i,null),Wc(e,t,"formTarget",i.formTarget,i,null)):(Wc(e,t,"encType",i.encType,i,null),Wc(e,t,"method",i.method,i,null),Wc(e,t,"target",i.target,i,null))),null==r||"symbol"===typeof r||"boolean"===typeof r){e.removeAttribute(n);break}r=It(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=Bc);break;case"onScroll":null!=r&&Oc("scroll",e);break;case"onScrollEnd":null!=r&&Oc("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!==typeof r||!("__html"in r))throw Error(o(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(o(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!==typeof r&&"symbol"!==typeof r;break;case"muted":e.muted=r&&"function"!==typeof r&&"symbol"!==typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"===typeof r||"boolean"===typeof r||"symbol"===typeof r){e.removeAttribute("xlink:href");break}n=It(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!==typeof r&&"symbol"!==typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
2ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!==typeof r&&"symbol"!==typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!==typeof r&&"symbol"!==typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!==typeof r&&"symbol"!==typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"===typeof r||"symbol"===typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":Oc("beforetoggle",e),Oc("toggle",e),ot(e,"popover",r);break;case"xlinkActuate":lt(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":lt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":lt(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":lt(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":lt(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":lt(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":lt(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":lt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":lt(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":ot(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&ot(e,n=Et.get(n)||n,r)}}function Kc(e,t,n,r,i,a){switch(n){case"style":Ct(e,r,a);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!==typeof r||!("__html"in r))throw Error(o(61));if(null!=(n=r.__html)){if(null!=i.children)throw Error(o(60));e.innerHTML=n}}break;case"children":"string"===typeof r?_t(e,r):("number"===typeof r||"bigint"===typeof r)&&_t(e,""+r);break;case"onScroll":null!=r&&Oc("scroll",e);break;case"onScrollEnd":null!=r&&Oc("scrollend",e);break;case"onClick":null!=r&&(e.onclick=Bc);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:Ze.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(i=n.endsWith("Capture"),t=n.slice(2,i?n.length-7:void 0),"function"===typeof(a=null!=(a=e[Fe]||null)?a[n]:null)&&e.removeEventListener(t,a,i),"function"!==typeof r)?n in e?e[n]=r:!0===r?e.setAttribute(n,""):ot(e,n,r):("function"!==typeof a&&null!==a&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i)))}}function $c(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Oc("error",e),Oc("load",e);var r,i=!1,a=!1;for(r in n)if(n.hasOwnProperty(r)){var s=n[r];if(null!=s)switch(r){case"src":i=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Wc(e,t,r,s,n,null)}}return a&&Wc(e,t,"srcSet",n.srcSet,n,null),void(i&&Wc(e,t,"src",n.src,n,null));case"input":Oc("invalid",e);var l=r=s=a=null,u=null,c=null;for(i in n)if(n.hasOwnProperty(i)){var d=n[i];if(null!=d)switch(i){case"name":a=d;break;case"type":s=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(o(137,t));break;default:Wc(e,t,i,d,n,null)}}return vt(e,r,l,u,c,s,a,!1),void dt(e);case"select":for(a in Oc("invalid",e),i=s=r=null,n)if(n.hasOwnProperty(a)&&null!=(l=n[a]
vendor: 5,341 bytes, line 2
2))switch(a){case"value":r=l;break;case"defaultValue":s=l;break;case"multiple":i=l;default:Wc(e,t,a,l,n,null)}return t=r,n=s,e.multiple=!!i,void(null!=t?bt(e,!!i,t,!1):null!=n&&bt(e,!!i,n,!0));case"textarea":for(s in Oc("invalid",e),r=a=i=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":i=l;break;case"defaultValue":a=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(o(91));break;default:Wc(e,t,s,l,n,null)}return kt(e,i,a,r),void dt(e);case"option":for(u in n)if(n.hasOwnProperty(u)&&null!=(i=n[u]))if("selected"===u)e.selected=i&&"function"!==typeof i&&"symbol"!==typeof i;else Wc(e,t,u,i,n,null);return;case"dialog":Oc("cancel",e),Oc("close",e);break;case"iframe":case"object":Oc("load",e);break;case"video":case"audio":for(i=0;i<Ec.length;i++)Oc(Ec[i],e);break;case"image":Oc("error",e),Oc("load",e);break;case"details":Oc("toggle",e);break;case"embed":case"source":case"link":Oc("error",e),Oc("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(i=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Wc(e,t,c,i,n,null)}return;default:if(Tt(t)){for(d in n)n.hasOwnProperty(d)&&(void 0!==(i=n[d])&&Kc(e,t,d,i,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(null!=(i=n[l])&&Wc(e,t,l,i,n,null))}var Gc=null,Yc=null;function Qc(e){return 9===e.nodeType?e:e.ownerDocument}function Jc(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Xc(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function Zc(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"bigint"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ed=null;var td="function"===typeof setTimeout?setTimeout:void 0,nd="function"===typeof clearTimeout?clearTimeout:void 0,rd="function"===typeof Promise?Promise:void 0,id="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof rd?function(e){return rd.resolve(null).then(e).catch(ad)}:td;function ad(e){setTimeout(function(){throw e})}function od(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void gp(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);gp(t)}function sd(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":sd(n),Ke(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function ld(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"F!"===t||"F"===t)break;if("/$"===t)return null}}return e}function ud(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}function cd(e,t,n){switch(t=Qc(n),e){case"html":if(!(e=t.documentElement))throw Error(o(452));return e;case"head":if(!(e=t.head))throw Error(o(453));return e;case"body":if(!(e=t.body))throw Error(o(454));return e;default:throw Error(o(451))}}var dd=new Map,pd=new Set;function hd(e){return"function"===typeof e.getRootNode?e.getRootNode():e.ownerDocument}var fd=q.d;q.d={f:function(){var e=fd.f(),t=Fu();return e||t},r:function(e){var t=Ge(e);null!==t&&5===t.tag&&"form"===t.type?fo(t):fd.r(e)},D:function(e){fd.D(e),gd("dns-prefetch",e,null)},C:function(e,t){fd.C(e,t),gd("preconnect",e,t)},L:function(e,t,n){fd.L(e,t,n);var r=md;if(r&&e&&t){var i='link[rel="preload"][as="'+mt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(i+='[imagesrcset="'+mt(n.imageSrcSet)+'"]',"string"===typeof n.imageSizes&&(i+='[imagesizes="'+mt(n.imageSizes)+'"]')):i+='[href="'+mt(e)+'"]';var a=i;switch(t){case"style":a=yd(e);break;case"script":a=kd(e)}dd.has(a)||(e=j({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),dd.set(a,e),null!==r.querySelector(i)||"style"===t&&r.querySelector(bd(a))||"script"===t&&r.querySelector(_d(a))||($c(t=r.createElement("link"),"link",e),Je(t),r.head.appendChild(t)))}},m:function(e,t){fd.m(e,t);var n=md;if(n&&e){var r=t&&"string"===typeof t.as?t.as:"script",i='link[rel="modulepreload"][as="'+mt(r)+'"][href="'+mt(e)+'"]',a=i;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=kd(e)}if(!dd.has(a)&&(e=j({rel:"modulepreload",href:e},t),dd.set(a,e),null===n.querySelector(i))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(_d(a)))return}$c(r=n.createElement("link"),"link",e),Je(r),n.head.appendChild(r)}}},X:function(e,t){fd.X(e,t);var n=md;if(n&&e){var r=Qe(n).hoistableScripts,i=kd(e),a=r.get(i);a||((a=n.querySelector(_d(i)))||(e=j({src:e,async:!0},t),(t=dd.get(i))&&Td(e,t),Je(a=n.createElement("script")),$c(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(i,a))}}
vendor: 4,177 bytes, line 2
2,S:function(e,t,n){fd.S(e,t,n);var r=md;if(r&&e){var i=Qe(r).hoistableStyles,a=yd(e);t=t||"default";var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(bd(a)))s.loading=5;else{e=j({rel:"stylesheet",href:e,"data-precedence":t},n),(n=dd.get(a))&&Cd(e,n);var l=o=r.createElement("link");Je(l),$c(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,xd(o,t,r)}o={type:"stylesheet",instance:o,count:1,state:s},i.set(a,o)}}},M:function(e,t){fd.M(e,t);var n=md;if(n&&e){var r=Qe(n).hoistableScripts,i=kd(e),a=r.get(i);a||((a=n.querySelector(_d(i)))||(e=j({src:e,async:!0,type:"module"},t),(t=dd.get(i))&&Td(e,t),Je(a=n.createElement("script")),$c(a,"link",e),n.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},r.set(i,a))}}};var md="undefined"===typeof document?null:document;function gd(e,t,n){var r=md;if(r&&"string"===typeof t&&t){var i=mt(t);i='link[rel="'+e+'"][href="'+i+'"]',"string"===typeof n&&(i+='[crossorigin="'+n+'"]'),pd.has(i)||(pd.add(i),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(i)&&($c(t=r.createElement("link"),"link",e),Je(t),r.head.appendChild(t)))}}function vd(e,t,n,r){var i,a,s,l,u=(u=J.current)?hd(u):null;if(!u)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return"string"===typeof n.precedence&&"string"===typeof n.href?(t=yd(n.href),(r=(n=Qe(u).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"===typeof n.href&&"string"===typeof n.precedence){e=yd(n.href);var c=Qe(u).hoistableStyles,d=c.get(e);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=u.querySelector(bd(e)))&&!c._p&&(d.instance=c,d.state.loading=5),dd.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},dd.set(e,n),c||(i=u,a=e,s=n,l=d.state,i.querySelector('link[rel="preload"][as="style"]['+a+"]")?l.loading=1:(a=i.createElement("link"),l.preload=a,a.addEventListener("load",function(){return l.loading|=1}),a.addEventListener("error",function(){return l.loading|=2}),$c(a,"link",s),Je(a),i.head.appendChild(a))))),t&&null===r)throw Error(o(528,""));return d}if(t&&null!==r)throw Error(o(529,""));return null;case"script":return t=n.async,"string"===typeof(n=n.src)&&t&&"function"!==typeof t&&"symbol"!==typeof t?(t=kd(n),(r=(n=Qe(u).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function yd(e){return'href="'+mt(e)+'"'}function bd(e){return'link[rel="stylesheet"]['+e+"]"}function wd(e){return j({},e,{"data-precedence":e.precedence,precedence:null})}function kd(e){return'[src="'+mt(e)+'"]'}function _d(e){return"script[async]"+e}function Sd(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+mt(n.href)+'"]');if(r)return t.instance=r,Je(r),r;var i=j({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Je(r=(e.ownerDocument||e).createElement("style")),$c(r,"style",i),xd(r,n.precedence,e),t.instance=r;case"stylesheet":i=yd(n.href);var a=e.querySelector(bd(i));if(a)return t.state.loading|=4,t.instance=a,Je(a),a;r=wd(n),(i=dd.get(i))&&Cd(r,i),Je(a=(e.ownerDocument||e).createElement("link"));var s=a;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),$c(a,"link",r),t.state.loading|=4,xd(a,n.precedence,e),t.instance=a;case"script":return a=kd(n.src),(i=e.querySelector(_d(a)))?(t.instance=i,Je(i),i):(r=n,(i=dd.get(a))&&Td(r=j({},n),i),Je(i=(e=e.ownerDocument||e).createElement("script")),$c(i,"link",r),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(o(443,t.type))}else"stylesheet"===t.type&&0===(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,xd(r,n.precedence,e));return t.instance}
vendor: 22,734 bytes, line 2
2function xd(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Cd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Td(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var Ed=null;function Ad(e,t,n){if(null===Ed){var r=new Map,i=Ed=new Map;i.set(n,r)}else(r=(i=Ed).get(n))||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[We]||a[Ve]||"link"===e&&"stylesheet"===a.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==a.namespaceURI){var o=a.getAttribute(t)||"";o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Id(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function Od(e){return"stylesheet"!==e.type||0!==(3&e.state.loading)}var jd=null;function Rd(){}function Pd(){if(this.count--,0===this.count)if(this.stylesheets)Md(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var Nd=null;function Md(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,Nd=new Map,t.forEach(Ld,e),Nd=null,Pd.call(e))}function Ld(e,t){if(!(4&t.state.loading)){var n=Nd.get(e);if(n)var r=n.get(null);else{n=new Map,Nd.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a<i.length;a++){var o=i[a];"LINK"!==o.nodeName&&"not all"===o.getAttribute("media")||(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}o=(i=t.instance).getAttribute("data-precedence"),(a=n.get(o)||r)===r&&n.set(null,i),n.set(o,i),this.count++,r=Pd.bind(this),i.addEventListener("load",r),i.addEventListener("error",r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(i,e.firstChild),t.state.loading|=4}}var Dd={$$typeof:g,Provider:null,Consumer:null,_currentValue:U,_currentValue2:U,_threadCount:0};function Vd(e,t,n,r,i,a,o,s){this.tag=1,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=je(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=je(0),this.hiddenUpdates=je(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function Fd(e,t,n,r,i,a,o,s,l,u,c,d){return e=new Vd(e,t,n,o,s,l,u,d),t=1,!0===a&&(t|=24),a=Ll(3,null,null,t),e.current=a,a.stateNode=e,(t=Hi()).refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Os(a),e}function zd(e){return e?e=Rr:Rr}function Hd(e,t,n,r,i,a){i=zd(i),null===r.context?r.context=i:r.pendingContext=i,(r=Rs(t)).payload={element:n},null!==(a=void 0===a?null:a)&&(r.callback=a),null!==(n=Ps(e,r,t))&&(Pu(n,0,t),Ns(n,e,t))}function qd(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ud(e,t){qd(e,t),(e=e.alternate)&&qd(e,t)}function Bd(e){if(13===e.tag){var t=Ir(e,67108864);null!==t&&Pu(t,0,67108864),Ud(e,67108864)}}var Wd=!0;function Kd(e,t,n,r){var i=O.T;O.T=null;var a=q.p;try{q.p=2,Gd(e,t,n,r)}finally{q.p=a,O.T=i}}function $d(e,t,n,r){var i=O.T;O.T=null;var a=q.p;try{q.p=8,Gd(e,t,n,r)}finally{q.p=a,O.T=i}}function Gd(e,t,n,r){if(Wd){var i=Yd(r);if(null===i)Mc(e,t,r,Qd,n),sp(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return ep=lp(ep,e,t,n,r,i),!0;case"dragenter":return tp=lp(tp,e,t,n,r,i),!0;case"mouseover":return np=lp(np,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return rp.set(a,lp(rp.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,ip.set(a,lp(ip.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(sp(e,r),4&t&&-1<op.indexOf(e)){for(;null!==i;){var a=Ge(i);if(null!==a)switch(a.tag){case 3:if((a=a.stateNode).current.memoizedState.isDehydrated){var o=Ce(a.pendingLanes);if(0!==o){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var l=1<<31-we(o);s.entanglements[1]|=l,o&=~l}gc(a),0===(6&tu)&&(ku=le()+500,vc(0,!1))}}break;case 13:null!==(s=Ir(a,2))&&Pu(s,0,2),Fu(),Ud(a,2)}if(null===(a=Yd(r))&&Mc(e,t,r,Qd,n),a===i)break;i=a}null!==i&&r.stopPropagation()}else Mc(e,t,r,null,n)}}function Yd(e){return Jd(e=jt(e))}var Qd=null;function Jd(e){if(Qd=null,null!==(e=$e(e))){var t=D(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=V(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Qd=e,null}function Xd(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ue()){case ce:return 2;case de:return 8;case pe:case he:return 32;case fe:return 268435456;default:return 32}default:return 32}}var Zd=!1,ep=null,tp=null,np=null,rp=new Map,ip=new Map,ap=[],op="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function sp(e,t){switch(e){case"focusin":case"focusout":ep=null;break;case"dragenter":case"dragleave":tp=null;break;case"mouseover":case"mouseout":np=null;break;case"pointerover":case"pointerout":rp.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ip.delete(t.pointerId)}}function lp(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},null!==t&&(null!==(t=Ge(t))&&Bd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function up(e){var t=$e(e.target);if(null!==t){var n=D(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=V(n)))return e.blockedOn=t,void function(e,t){var n=q.p;try{return q.p=e,t()}finally{q.p=n}}(e.priority,function(){if(13===n.tag){var e=ju(),t=Ir(n,e);null!==t&&Pu(t,0,e),Ud(n,e)}})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function cp(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yd(e.nativeEvent);if(null!==n)return null!==(t=Ge(n))&&Bd(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ot=r,n.target.dispatchEvent(r),Ot=null,t.shift()}return!0}function dp(e,t,n){cp(e)&&n.delete(t)}function pp(){Zd=!1,null!==ep&&cp(ep)&&(ep=null),null!==tp&&cp(tp)&&(tp=null),null!==np&&cp(np)&&(np=null),rp.forEach(dp),ip.forEach(dp)}function hp(e,t){e.blockedOn===t&&(e.blockedOn=null,Zd||(Zd=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,pp)))}var fp=null;function mp(e){fp!==e&&(fp=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){fp===e&&(fp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if("function"!==typeof r){if(null===Jd(r||n))continue;break}var a=Ge(n);null!==a&&(e.splice(t,3),t-=3,po(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function gp(e){function t(t){return hp(t,e)}null!==ep&&hp(ep,e),null!==tp&&hp(tp,e),null!==np&&hp(np,e),rp.forEach(t),ip.forEach(t);for(var n=0;n<ap.length;n++){var r=ap[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<ap.length&&null===(n=ap[0]).blockedOn;)up(n),null===n.blockedOn&&ap.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[Fe]||null;if("function"===typeof a)o||mp(n);else if(o){var s=null;if(a&&a.hasAttribute("formAction")){if(i=a,o=a[Fe]||null)s=o.formAction;else if(null!==Jd(i))continue}else s=o.action;"function"===typeof s?n[r+1]=s:(n.splice(r,3),r-=3),mp(n)}}}function vp(e){this._internalRoot=e}function yp(e){this._internalRoot=e}yp.prototype.render=vp.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Hd(t.current,ju(),e,t,null,null)},yp.prototype.unmount=vp.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;0===e.tag&&nc(),Hd(e.current,2,null,e,null,null),Fu(),t[ze]=null}},yp.prototype.unstable_scheduleHydration=function(e){if(e){var t=Le();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ap.length&&0!==t&&t<ap[n].priority;n++);ap.splice(n,0,e),0===n&&up(e)}};var bp=i.version;if("19.0.0"!==bp)throw Error(o(527,bp,"19.0.0"));q.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=D(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return F(i),e;if(a===r)return F(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?z(e):null)?null:e.stateNode};var wp={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:O,findFiberByHostInstance:$e,reconcilerVersion:"19.0.0"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var kp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!kp.isDisabled&&kp.supportsFiber)try{ve=kp.inject(wp),ye=kp}catch(Sp){}}t.createRoot=function(e,t){if(!s(e))throw Error(o(299));var n=!1,r="",i=Lo,a=Do,l=Vo;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(i=t.onUncaughtError),void 0!==t.onCaughtError&&(a=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError),void 0!==t.unstable_transitionCallbacks&&t.unstable_transitionCallbacks),t=Fd(e,1,!1,null,0,n,r,i,a,l,0,null),e[ze]=t.current,Pc(8===e.nodeType?e.parentNode:e),new vp(t)},t.hydrateRoot=function(e,t,n){if(!s(e))throw Error(o(299));var r=!1,i="",a=Lo,l=Do,u=Vo,c=null;return null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onUncaughtError&&(a=n.onUncaughtError),void 0!==n.onCaughtError&&(l=n.onCaughtError),void 0!==n.onRecoverableError&&(u=n.onRecoverableError),void 0!==n.unstable_transitionCallbacks&&n.unstable_transitionCallbacks,void 0!==n.formState&&(c=n.formState)),(t=Fd(e,1,!0,t,0,r,i,a,l,u,0,c)).context=zd(null),n=t.current,(i=Rs(r=ju())).callback=null,Ps(n,i,r),t.current.lanes=r,Re(t,r),gc(t),e[ze]=t.current,Pc(e),new yp(t)},t.version="19.0.0"},43(e,t,n){e.exports=n(288)},288(e,t){var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var w=b.prototype=new y;w.constructor=b,m(w,v.prototype),w.isPureReactComponent=!0;var k=Array.isArray,_={H:null,A:null,T:null,S:null},S=Object.prototype.hasOwnProperty;function x(e,t,r,i,a,o){return r=o.ref,{$$typeof:n,type:e,key:t,ref:void 0!==r?r:null,props:o}}function C(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function E(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function A(){}function I(e,t,i,a,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l,u,c=!1;if(null===e)c=!0;else switch(s){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0;break;case p:return I((c=e._init)(e._payload),t,i,a,o)}}if(c)return o=o(e),c=""===a?"."+E(e,0):a,k(o)?(i="",null!=c&&(i=c.replace(T,"$&/")+"/"),I(o,t,i,"",function(e){return e})):null!=o&&(C(o)&&(l=o,u=i+(null==o.key||e&&e.key===o.key?"":(""+o.key).replace(T,"$&/")+"/")+c,o=x(l.type,u,void 0,0,0,l.props)),t.push(o)),1;c=0;var d,f=""===a?".":a+":";if(k(e))for(var m=0;m<e.length;m++)c+=I(a=e[m],t,i,s=f+E(a,m),o);else if("function"===typeof(m=null===(d=e)||"object"!==typeof d?null:"function"===typeof(d=h&&d[h]||d["@@iterator"])?d:null))for(e=m.call(e),m=0;!(a=e.next()).done;)c+=I(a=a.value,t,i,s=f+E(a,m++),o);else if("object"===s){if("function"===typeof e.then)return I(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"===typeof e.status?e.then(A,A):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,i,a,o);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return c}function O(e,t,n){if(null==e)return e;var r=[],i=0;return I(e,r,"","",function(e){return t.call(n,e,i++)}),r}function j(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R="function"===typeof reportError?reportError:function(e){if("object"===typeof window&&"function"===typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"===typeof e&&null!==e&&"string"===typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"===typeof process&&"function"===typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function P(){}t.Children={map:O,forEach:function(e,t,n){O(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(e){return e})||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=i,t.Profiler=o,t.PureComponent=b,t.StrictMode=a,t.Suspense=c,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,t.act=function(){throw Error("act(...) is not supported in production builds of React.")},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error("The argument must be a React element, but you passed "+e+".");var r=m({},e.props),i=e.key;if(null!=t)for(a in void 0!==t.ref&&void 0,void 0!==t.key&&(i=""+t.key),t)!S.call(t,a)||"key"===a||"__self"===a||"__source"===a||"ref"===a&&void 0===t.ref||(r[a]=t[a]);var a=arguments.length-2;if(1===a)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return x(e.type,i,void 0,0,0,r)},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:s,_context:e},e},t.createElement=function(e,t,n){var r,i={},a=null;if(null!=t)for(r in void 0!==t.key&&(a=""+t.key),t)S.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(i[r]=t[r]);var o=arguments.length-2;if(1===o)i.children=n;else if(1<o){for(var s=Array(o),l=0;l<o;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps)void 0===i[r]&&(i[r]=o[r]);return x(e,a,void 0,0,0,i)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:j}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=_.T,n={};_.T=n;try{var r=e(),i=_.S;null!==i&&i(n,r),"object"===typeof r&&null!==r&&"function"===typeof r.then&&r.then(P,R)}catch(a){R(a)}finally{_.T=t}},t.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},t.use=function(e){return _.H.use(e)},t.useActionState=function(e,t,n){return _.H.useActionState(e,t,n)},t.useCallback=function(e,t){return _.H.useCallback(e,t)},t.useContext=function(e){return _.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return _.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return _.H.useEffect(e,t)},t.useId=function(){return _.H.useId()},t.useImperativeHandle=function(e,t,n){return _.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return _.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return _.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return _.H.useMemo(e,t)},t.useOptimistic=function(e,t){return _.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return _.H.useReducer(e,t,n)},t.useRef=function(e){return _.H.useRef(e)},t.useState=function(e){return _.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return _.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return _.H.useTransition()},t.version="19.0.0"},391(e,t,n){!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4)},579(e,t,n){e.exports=n(799)},672(e,t,n){var r=n(43);function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var o={d:{f:a,r:function(){throw Error(i(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},s=Symbol.for("react.portal");var l=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){return"font"===e?"":"string"===typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(i(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:s,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=l.T,n=o.p;try{if(l.T=null,o.p=2,e)return e()}finally{l.T=t,o.p=n,o.d.f()}},t.preconnect=function(e,t){"string"===typeof e&&(t?t="string"===typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:t=null,o.d.C(e,t))},t.prefetchDNS=function(e){"string"===typeof e&&o.d.D(e)},t.preinit=function(e,t){if("string"===typeof e&&t&&"string"===typeof t.as){var n=t.as,r=u(n,t.crossOrigin),i="string"===typeof t.integrity?t.integrity:void 0,a="string"===typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?o.d.S(e,"string"===typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:a}):"script"===n&&o.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:a,nonce:"string"===typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"===typeof e)if("object"===typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=u(t.as,t.crossOrigin);o.d.M(e,{crossOrigin:n,integrity:"string"===typeof t.integrity?t.integrity:void 0,nonce:"string"===typeof t.nonce?t.nonce:void 0})}}else null==t&&o.d.M(e)},t.preload=function(e,t){if("string"===typeof e&&"object"===typeof t&&null!==t&&"string"===typeof t.as){var n=t.as,r=u(n,t.crossOrigin);o.d.L(e,n,{crossOrigin:r,integrity:"string"===typeof t.integrity?t.integrity:void 0,nonce:"string"===typeof t.nonce?t.nonce:void 0,type:"string"===typeof t.type?t.type:void 0,fetchPriority:"string"===typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"str
2ing"===typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"===typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"===typeof t.imageSizes?t.imageSizes:void 0,media:"string"===typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"===typeof e)if(t){var n=u(t.as,t.crossOrigin);o.d.m(e,{as:"string"===typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"===typeof t.integrity?t.integrity:void 0})}else o.d.m(e)},t.requestFormReset=function(e){o.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return l.H.useFormState(e,t,n)},t.useFormStatus=function(){return l.H.useHostTransitionStatus()},t.version="19.0.0"},799(e,t){var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function i(e,t,r){var i=null;if(void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),"key"in t)for(var a in r={},t)"key"!==a&&(r[a]=t[a]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:i,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=i,t.jsxs=i},853(e,t,n){e.exports=n(896)},896(e,t){function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<a(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,o=i>>>1;r<o;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>a(l,n))u<i&&0>a(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<i&&0>a(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"===typeof performance&&"function"===typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],d=1,p=null,h=3,f=!1,m=!1,g=!1,v="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)i(c);else{if(!(t.startTime<=e))break;i(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function k(e){if(g=!1,w(e),!m)if(null!==r(u))m=!0,j();else{var t=r(c);null!==t&&R(k,t.startTime-e)}}var _,S=!1,x=-1,C=5,T=-1;function E(){return!(t.unstable_now()-T<C)}function A(){if(S){var e=t.unstable_now();T=e;var n=!0;try{e:{m=!1,g&&(g=!1,y(x),x=-1),f=!0;var a=h;try{t:{for(w(e),p=r(u);null!==p&&!(p.expirationTime>e&&E());){var o=p.callback;if("function"===typeof o){p.callback=null,h=p.priorityLevel;var s=o(p.expirationTime<=e);if(e=t.unstable_now(),"function"===typeof s){p.callback=s,w(e),n=!0;break t}p===r(u)&&i(u),w(e)}else i(u);p=r(u)}if(null!==p)n=!0;else{var l=r(c);null!==l&&R(k,l.startTime-e),n=!1}}break e}finally{p=null,h=a,f=!1}n=void 0}}finally{n?_():S=!1}}}if("function"===typeof b)_=function(){b(A)};else if("undefined"!==typeof MessageChannel){var I=new MessageChannel,O=I.port2;I.port1.onmessage=A,_=function(){O.postMessage(null)}}else _=function(){v(A,0)};function j(){S||(S=!0,_())}function R(e,n){x=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||f||(m=!0,j())},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,i,a){var o=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?o+a:o:a=o,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>o?(e.sortIndex=a,n(c,e),null===r(u)&&e===r(c)&&(g?(y(x),x=-1):g=!0,R(k,a-o))):(e.sortIndex=s,n(u,e),m||f||(m=!0,j())),e},t.unstable_shouldYield=E,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},950(e,t,n){!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(672)}},t={};function n(r){var i=t[r];
2if(void 0!==i)return i.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.m=e,n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,r)=>(n.f[r](e,t),t),[])),n.u=e=>"static/js/"+e+".94d3dcc9.chunk.js",n.miniCssF=e=>{},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="frontend:";n.l=(r,i,a,o)=>{if(e[r])e[r].push(i);else{var s,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var d=u[c];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+a){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+a),s.src=r),e[r]=[i];var p=(t,n)=>{s.onerror=s.onload=null,clearTimeout(h);var i=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach(e=>e(n)),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}}})(),n.p="/",(()=>{var e={792:0};n.f.j=(t,r)=>{var i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)r.push(i[2]);else{var a=new Promise((n,r)=>i=e[t]=[n,r]);r.push(i[2]=a);var o=n.p+n.u(t),s=new Error;n.l(o,r=>{if(n.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var a=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",s.name="ChunkLoadError",s.type=a,s.request=o,i[1](s)}},"chunk-"+t,t)}};var t=(t,r)=>{var i,a,[o,s,l]=r,u=0;if(o.some(t=>0!==e[t])){for(i in s)n.o(s,i)&&(n.m[i]=s[i]);if(l)l(n)}for(t&&t(r);u<o.length;u++)a=o[u],n.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=self.webpackChunkfrontend=self.webpackChunkfrontend||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var r=n(43),i=n(391);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}function s(e,t,n){return(t=o(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function d(e,t,n){c(e,t),t.set(e,n)}function p(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function h(e,t){return e.get(p(e,t))}function f(e,t,n){return e.set(p(e,t),n),n}var m="undefined"===typeof window||"Deno"in globalThis;function g(){}function v(e,t){return"function"===typeof e?e(t):e}function y(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o)if(r){if(t.queryHash!==w(o,t.options))return!1}else if(!_(t.queryKey,o))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!==typeof s||t.isStale()===s)&&((!i||i===t.state.fetchStatus)&&!(a&&!a(t)))}function b(e,t){const{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(k(t.options.mutationKey)!==k(a))return!1}else if(!_(t.options.mutationKey,a))return!1}return(!r||t.state.status===r)&&!(i&&!i(t))}function w(e,t){return((null===t||void 0===t?void 0:t.queryKeyHashFn)||k)(e)}function k(e){return JSON.stringify(e,(e,t)=>C(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function _(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&!Object.keys(t).some(n=>!_(e[n],t[n])))}function S(e,t){if(e===t)return e;const n=x(e)&&x(t);if(n||C(e)&&C(t)){const r=n?e:Object.keys(e),i=r.length,a=n?t:Object.keys(t),o=a.length,s=n?[]:{};let l=0;for(let u=0;u<o;u++){const i=n?u:a[u];(!n&&r.includes(i)||n)&&void 0===e[i]&&void 0===t[i]?(s[i]=void 0,l++):(s[i]=S(e[i],t[i]),s[i]===e[i]&&void 0!==e[i]&&l++)}return i===o&&l===i?e:s}return t}function x(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function C(e){if(!T(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!T(n)&&(!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype)}function T(e){return"[object Object]"===Object.prototype.toString.call(e)}function E(e,t,n){return"function"===typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?S(e,t):t}function A(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=[...e,t];return n&&r.length>n?r.slice(1):r}function I(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var O=Symbol();function j(e,t){return!e.queryFn&&null!==t&&void 0!==t&&t.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==O?e.queryFn:()=>Promise.reject(new Error("Missing queryFn: '".concat(e.queryHash,"'")))}function R(e,t){c(e,t),t.add(e)}var P,N,M,L,D,V,F=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=e=>setTimeout(e,0);const a=r=>{t?e.push(r):i(()=>{n(r)})};return{batch:a=>{let o;t++;try{o=a()}finally{t--,t||(()=>{const t=e;e=[],t.length&&i(()=>{r(()=>
2{t.forEach(e=>{n(e)})})})})()}return o},batchCalls:e=>function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];a(()=>{e(...n)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}(),z=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},H=new(P=new WeakMap,N=new WeakMap,M=new WeakMap,class extends z{constructor(){super(),d(this,P,void 0),d(this,N,void 0),d(this,M,void 0),f(M,this,e=>{if(!m&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}onSubscribe(){h(N,this)||this.setEventListener(h(M,this))}onUnsubscribe(){var e;this.hasListeners()||(null===(e=h(N,this))||void 0===e||e.call(this),f(N,this,void 0))}setEventListener(e){var t;f(M,this,e),null===(t=h(N,this))||void 0===t||t.call(this),f(N,this,e(e=>{"boolean"===typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){h(P,this)!==e&&(f(P,this,e),this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){var e;return"boolean"===typeof h(P,this)?h(P,this):"hidden"!==(null===(e=globalThis.document)||void 0===e?void 0:e.visibilityState)}}),q=new(L=new WeakMap,D=new WeakMap,V=new WeakMap,class extends z{constructor(){super(),d(this,L,!0),d(this,D,void 0),d(this,V,void 0),f(V,this,e=>{if(!m&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}})}onSubscribe(){h(D,this)||this.setEventListener(h(V,this))}onUnsubscribe(){var e;this.hasListeners()||(null===(e=h(D,this))||void 0===e||e.call(this),f(D,this,void 0))}setEventListener(e){var t;f(V,this,e),null===(t=h(D,this))||void 0===t||t.call(this),f(D,this,e(this.setOnline.bind(this)))}setOnline(e){h(L,this)!==e&&(f(L,this,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return h(L,this)}});function U(e){return Math.min(1e3*2**e,3e4)}function B(e){return"online"!==(null!==e&&void 0!==e?e:"online")||q.isOnline()}var W,K=class extends Error{constructor(e){super("CancelledError"),this.revert=null===e||void 0===e?void 0:e.revert,this.silent=null===e||void 0===e?void 0:e.silent}};function $(e){return e instanceof K}function G(e){let t,n,r,i=!1,a=0,o=!1;const s=new Promise((e,t)=>{n=e,r=t}),l=()=>H.isFocused()&&("always"===e.networkMode||q.isOnline())&&e.canRun(),u=()=>B(e.networkMode)&&e.canRun(),c=r=>{var i,a;o||(o=!0,null===(i=e.onSuccess)||void 0===i||i.call(e,r),null===(a=t)||void 0===a||a(),n(r))},d=n=>{var i,a;o||(o=!0,null===(i=e.onError)||void 0===i||i.call(e,n),null===(a=t)||void 0===a||a(),r(n))},p=()=>new Promise(n=>{var r;t=e=>{(o||l())&&n(e)},null===(r=e.onPause)||void 0===r||r.call(e)}).then(()=>{var n;(t=void 0,o)||(null===(n=e.onContinue)||void 0===n||n.call(e))}),h=()=>{if(o)return;let t;const n=0===a?e.initialPromise:void 0;try{t=null!==n&&void 0!==n?n:e.fn()}catch(r){t=Promise.reject(r)}Promise.resolve(t).then(c).catch(t=>{var n,r,s;if(o)return;const u=null!==(n=e.retry)&&void 0!==n?n:m?0:3,c=null!==(r=e.retryDelay)&&void 0!==r?r:U,f="function"===typeof c?c(a,t):c,g=!0===u||"number"===typeof u&&a<u||"function"===typeof u&&u(a,t);var v;!i&&g?(a++,null===(s=e.onFail)||void 0===s||s.call(e,a,t),(v=f,new Promise(e=>{setTimeout(e,v)})).then(()=>l()?void 0:p()).then(()=>{i?d(t):h()})):d(t)})};return{promise:s,cancel:t=>{var n;o||(d(new K(t)),null===(n=e.abort)||void 0===n||n.call(e))},continue:()=>{var e;return null===(e=t)||void 0===e||e(),s},cancelRetry:()=>{i=!0},continueRetry:()=>{i=!1},canStart:u,start:()=>(u()?h():p().then(h),s)}}var Y,Q,J,X,Z,ee,te,ne,re=(W=new WeakMap,class{constructor(){d(this,W,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){var e;this.clearGcTimeout(),"number"===typeof(e=this.gcTime)&&e>=0&&e!==1/0&&f(W,this,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,null!==e&&void 0!==e?e:m?1/0:3e5)}clearGcTimeout(){h(W,this)&&(clearTimeout(h(W,this)),f(W,this,void 0))}}),ie=(Y=new WeakMap,Q=new WeakMap,J=new WeakMap,X=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakSet,class extends re{constructor(e){var t;super(),R(this,te),d(this,Y,void 0),d(this,Q,void 0),d(this,J,void 0),d(this,X,void 0),d(this,Z,void 0),d(this,ee,void 0),f(ee,this,!1),f(Z,this,e.defaultOptions),this.setOptions(e.options),this.observers=[],f(J,this,e.cache),this.queryKey=e.queryKey,this.queryHash=e.queryHash,f(Y,this,function(e){const t="function"===typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!==r&&void 0!==r?r:Date.now():0,error:null,errorUpdate
2Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options)),this.state=null!==(t=e.state)&&void 0!==t?t:h(Y,this),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var e;return null===(e=h(X,this))||void 0===e?void 0:e.promise}setOptions(e){this.options=u(u({},h(Z,this)),e),this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||h(J,this).remove(this)}setData(e,t){const n=E(this.state.data,e,this.options);return p(te,this,ae).call(this,{data:n,type:"success",dataUpdatedAt:null===t||void 0===t?void 0:t.updatedAt,manual:null===t||void 0===t?void 0:t.manual}),n}setState(e,t){p(te,this,ae).call(this,{type:"setState",state:e,setStateOptions:t})}cancel(e){var t,n;const r=null===(t=h(X,this))||void 0===t?void 0:t.promise;return null===(n=h(X,this))||void 0===n||n.cancel(e),r?r.then(g).catch(g):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(h(Y,this))}isActive(){return this.observers.some(e=>{return!1!==(t=e.options.enabled,n=this,"function"===typeof t?t(n):t);var t,n})}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.state.isInvalidated||void 0===this.state.data||!function(e,t){return Math.max(e+(t||0)-Date.now(),0)}(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find(e=>e.shouldFetchOnWindowFocus());null===t||void 0===t||t.refetch({cancelRefetch:!1}),null===(e=h(X,this))||void 0===e||e.continue()}onOnline(){var e;const t=this.observers.find(e=>e.shouldFetchOnReconnect());null===t||void 0===t||t.refetch({cancelRefetch:!1}),null===(e=h(X,this))||void 0===e||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),h(J,this).notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(h(X,this)&&(h(ee,this)?h(X,this).cancel({revert:!0}):h(X,this).cancelRetry()),this.scheduleGc()),h(J,this).notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||p(te,this,ae).call(this,{type:"invalidate"})}fetch(e,t){var n,r;if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&null!==t&&void 0!==t&&t.cancelRefetch)this.cancel({silent:!0});else if(h(X,this))return h(X,this).continueRetry(),h(X,this).promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const i=new AbortController,a=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(f(ee,this,!0),i.signal)})},o={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>{const e=j(this.options,t),n={queryKey:this.queryKey,meta:this.meta};return a(n),f(ee,this,!1),this.options.persister?this.options.persister(e,n,this):e(n)}};var s;(a(o),null===(n=this.options.behavior)||void 0===n||n.onFetch(o,this),f(Q,this,this.state),"idle"===this.state.fetchStatus||this.state.fetchMeta!==(null===(r=o.fetchOptions)||void 0===r?void 0:r.meta))&&p(te,this,ae).call(this,{type:"fetch",meta:null===(s=o.fetchOptions)||void 0===s?void 0:s.meta});const l=e=>{var t,n,r,i;($(e)&&e.silent||p(te,this,ae).call(this,{type:"error",error:e}),$(e))||(null===(t=(n=h(J,this).config).onError)||void 0===t||t.call(n,e,this),null===(r=(i=h(J,this).config).onSettled)||void 0===r||r.call(i,this.state.data,e,this));this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return f(X,this,G({initialPromise:null===t||void 0===t?void 0:t.initialPromise,fn:o.fetchFn,abort:i.abort.bind(i),onSuccess:e=>{var t,n,r,i;if(void 0!==e){try{this.setData(e)}catch(a){return void l(a)}null===(t=(n=h(J,this).config).onSuccess)||void 0===t||t.call(n,e,this),null===(r=(i=h(J,this).config).onSettled)||void 0===r||r.call(i,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1}else l(new Error("".concat(this.queryHash," data is undefined")))},onError:l,onFail:(e,t)=>{p(te,this,ae).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{p(te,this,ae).call(this,{type:"pause"})},onContinue:()=>{p(te,this,ae).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),h(X,this).start()}});function ae(e){this.state=(t=>{var n,r;switch(e.type){case"failed":return u(u({},t),{},{fetchFailureCount:e.failureCount,fetchFailureReason:e.error});case"pause":return u(u({},t),{},{fetchStatus:"paused"});case"continue":return u(u({},t),{},{fetchStatus:"fetching"});case"fetch":return u(u(u({},t),function(e,t){return u({fetchFailureCount:0,fetchFailureReason:null,fetchStatus:B(t.networkMode)?"fetching":"paused"},void 0===e&&{error:null,status:"pending"})}(t.data,this.options)),{},{fetchMeta:null!==(n=e.meta)&&void 0!==n?n:null});case"success":return u(u({},t),{},{data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!==(r=e.dataUpdatedAt)&&void 0!==r?r:Date.now(),error:null,isInvalidated:!1,status:"success"},!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const i=e.error;return $(i)&&i.revert&&h(Q,this)?u(u({},h(Q,this)),{},{fetchStatus:"idle"}):u(u({},t),{}
2,{error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"});case"invalidate":return u(u({},t),{},{isInvalidated:!0});case"setState":return u(u({},t),e.state)}})(this.state),F.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),h(J,this).notify({query:this,type:"updated",action:e})})}var oe,se,le,ue,ce,de,pe=(ne=new WeakMap,class extends z{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),d(this,ne,void 0),this.config=e,f(ne,this,new Map)}build(e,t,n){var r;const i=t.queryKey,a=null!==(r=t.queryHash)&&void 0!==r?r:w(i,t);let o=this.get(a);return o||(o=new ie({cache:this,queryKey:i,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(i)}),this.add(o)),o}add(e){h(ne,this).has(e.queryHash)||(h(ne,this).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=h(ne,this).get(e.queryHash);t&&(e.destroy(),t===e&&h(ne,this).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){F.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return h(ne,this).get(e)}getAll(){return[...h(ne,this).values()]}find(e){const t=u({exact:!0},e);return this.getAll().find(e=>y(t,e))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>y(e,t)):t}notify(e){F.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){F.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){F.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}}),he=(oe=new WeakMap,se=new WeakMap,le=new WeakMap,ue=new WeakSet,class extends re{constructor(e){super(),R(this,ue),d(this,oe,void 0),d(this,se,void 0),d(this,le,void 0),this.mutationId=e.mutationId,f(se,this,e.mutationCache),f(oe,this,[]),this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){h(oe,this).includes(e)||(h(oe,this).push(e),this.clearGcTimeout(),h(se,this).notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){f(oe,this,h(oe,this).filter(t=>t!==e)),this.scheduleGc(),h(se,this).notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){h(oe,this).length||("pending"===this.state.status?this.scheduleGc():h(se,this).remove(this))}continue(){var e,t;return null!==(e=null===(t=h(le,this))||void 0===t?void 0:t.continue())&&void 0!==e?e:this.execute(this.state.variables)}async execute(e){var t;f(le,this,G({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{p(ue,this,fe).call(this,{type:"failed",failureCount:e,error:t})},onPause:()=>{p(ue,this,fe).call(this,{type:"pause"})},onContinue:()=>{p(ue,this,fe).call(this,{type:"continue"})},retry:null!==(t=this.options.retry)&&void 0!==t?t:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>h(se,this).canRun(this)}));const n="pending"===this.state.status,r=!h(le,this).canStart();try{var i,a,o,s,l,u,c,d;if(!n){var m,g,v,y;p(ue,this,fe).call(this,{type:"pending",variables:e,isPaused:r}),await(null===(m=(g=h(se,this).config).onMutate)||void 0===m?void 0:m.call(g,e,this));const t=await(null===(v=(y=this.options).onMutate)||void 0===v?void 0:v.call(y,e));t!==this.state.context&&p(ue,this,fe).call(this,{type:"pending",context:t,variables:e,isPaused:r})}const t=await h(le,this).start();return await(null===(i=(a=h(se,this).config).onSuccess)||void 0===i?void 0:i.call(a,t,e,this.state.context,this)),await(null===(o=(s=this.options).onSuccess)||void 0===o?void 0:o.call(s,t,e,this.state.context)),await(null===(l=(u=h(se,this).config).onSettled)||void 0===l?void 0:l.call(u,t,null,this.state.variables,this.state.context,this)),await(null===(c=(d=this.options).onSettled)||void 0===c?void 0:c.call(
2d,t,null,e,this.state.context)),p(ue,this,fe).call(this,{type:"success",data:t}),t}catch(E){try{var b,w,k,_,S,x,C,T;throw await(null===(b=(w=h(se,this).config).onError)||void 0===b?void 0:b.call(w,E,e,this.state.context,this)),await(null===(k=(_=this.options).onError)||void 0===k?void 0:k.call(_,E,e,this.state.context)),await(null===(S=(x=h(se,this).config).onSettled)||void 0===S?void 0:S.call(x,void 0,E,this.state.variables,this.state.context,this)),await(null===(C=(T=this.options).onSettled)||void 0===C?void 0:C.call(T,void 0,E,e,this.state.context)),E}finally{p(ue,this,fe).call(this,{type:"error",error:E})}}finally{h(se,this).runNext(this)}}});function fe(e){this.state=(t=>{switch(e.type){case"failed":return u(u({},t),{},{failureCount:e.failureCount,failureReason:e.error});case"pause":return u(u({},t),{},{isPaused:!0});case"continue":return u(u({},t),{},{isPaused:!1});case"pending":return u(u({},t),{},{context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()});case"success":return u(u({},t),{},{data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return u(u({},t),{},{data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"})}})(this.state),F.batch(()=>{h(oe,this).forEach(t=>{t.onMutationUpdate(e)}),h(se,this).notify({mutation:this,type:"updated",action:e})})}var me,ge,ve,ye,be,we,ke,_e,Se=(ce=new WeakMap,de=new WeakMap,class extends z{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),d(this,ce,void 0),d(this,de,void 0),this.config=e,f(ce,this,new Map),f(de,this,Date.now())}build(e,t,n){var r;const i=new he({mutationCache:this,mutationId:f(de,this,(r=h(de,this),++r)),options:e.defaultMutationOptions(t),state:n});return this.add(i),i}add(e){var t;const n=xe(e),r=null!==(t=h(ce,this).get(n))&&void 0!==t?t:[];r.push(e),h(ce,this).set(n,r),this.notify({type:"added",mutation:e})}remove(e){const t=xe(e);if(h(ce,this).has(t)){var n;const r=null===(n=h(ce,this).get(t))||void 0===n?void 0:n.filter(t=>t!==e);r&&(0===r.length?h(ce,this).delete(t):h(ce,this).set(t,r))}this.notify({type:"removed",mutation:e})}canRun(e){var t;const n=null===(t=h(ce,this).get(xe(e)))||void 0===t?void 0:t.find(e=>"pending"===e.state.status);return!n||n===e}runNext(e){var t,n;const r=null===(t=h(ce,this).get(xe(e)))||void 0===t?void 0:t.find(t=>
2t!==e&&t.state.isPaused);return null!==(n=null===r||void 0===r?void 0:r.continue())&&void 0!==n?n:Promise.resolve()}clear(){F.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...h(ce,this).values()].flat()}find(e){const t=u({exact:!0},e);return this.getAll().find(e=>b(t,e))}findAll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.getAll().filter(t=>b(e,t))}notify(e){F.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return F.batch(()=>Promise.all(e.map(e=>e.continue().catch(g))))}});function xe(e){var t,n;return null!==(t=null===(n=e.options.scope)||void 0===n?void 0:n.id)&&void 0!==t?t:String(e.mutationId)}function Ce(e){return{onFetch:(t,n)=>{var r,i,a;const o=t.options,s=null===(r=t.fetchOptions)||void 0===r||null===(r=r.meta)||void 0===r||null===(r=r.fetchMore)||void 0===r?void 0:r.direction,l=(null===(i=t.state.data)||void 0===i?void 0:i.pages)||[],u=(null===(a=t.state.data)||void 0===a?void 0:a.pageParams)||[];let c={pages:[],pageParams:[]},d=0;const p=async()=>{let n=!1;const r=j(t.options,t.fetchOptions),i=async(e,i,a)=>{if(n)return Promise.reject();if(null==i&&e.pages.length)return Promise.resolve(e);const o={queryKey:t.queryKey,pageParam:i,direction:a?"backward":"forward",meta:t.options.meta};var s;s=o,Object.defineProperty(s,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",()=>{n=!0}),t.signal)});const l=await r(o),{maxPages:u}=t.options,c=a?I:A;return{pages:c(e.pages,l,u),pageParams:c(e.pageParams,i,u)}};if(s&&l.length){const e="backward"===s,t={pages:l,pageParams:u},n=(e?Ee:Te)(o,t);c=await i(t,n,e)}else{const t=null!==e&&void 0!==e?e:l.length;do{var a;const e=0===d?null!==(a=u[0])&&void 0!==a?a:o.initialPageParam:Te(o,c);if(d>0&&null==e)break;c=await i(c,e),d++}while(d<t)}return c};t.options.persister?t.fetchFn=()=>{var e,r;return null===(e=(r=t.options).persister)||void 0===e?void 0:e.call(r,p,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=p}}}function Te(e,t){let{pages:n,pageParams:r}=t;const i=n.length-1;return n.length>0?e.getNextPageParam(n[i],n,r[i],r):void 0}function Ee(e,t){var n;let{pages:r,pageParams:i}=t;return r.length>0?null===(n=e.getPreviousPageParam)||void 0===n?void 0:n.call(e,r[0],r,i[0],i):void 0}var Ae=(me=new WeakMap,ge=new WeakMap,ve=new WeakMap,ye=new WeakMap,be=new WeakMap,we=new WeakMap,ke=new WeakMap,_e=new WeakMap,class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};d(this,me,void 0),d(this,ge,void 0),d(this,ve,void 0),d(this,ye,void 0),d(this,be,void 0),d(this,we,void 0),d(this,ke,void 0),d(this,_e,void 0),f(me,this,e.queryCache||new pe),f(ge,this,e.mutationCache||new Se),f(ve,this,e.defaultOptions||{}),f(ye,this,new Map),f(be,this,new Map),f(we,this,0)}mount(){var e;f(we,this,(e=h(we,this),e++,e)),1===h(we,this)&&(f(ke,this,H.subscribe(async e=>{e&&(await this.resumePausedMutations(),h(me,this).onFocus())})),f(_e,this,q.subscribe(async e=>{e&&(await this.resumePausedMutations(),h(me,this).onOnline())})))}unmount(){var e,t,n;f(we,this,(e=h(we,this),e--,e)),0===h(we,this)&&(null===(t=h(ke,this))||void 0===t||t.call(this),f(ke,this,void 0),null===(n=h(_e,this))||void 0===n||n.call(this),f(_e,this,void 0))}isFetching(e){return h(me,this).findAll(u(u({},e),{},{fetchStatus:"fetching"})).length}isMutating(e){return h(ge,this).findAll(u(u({},e),{},{status:"pending"})).length}getQueryData(e){var t;const n=this.defaultQueryOptions({queryKey:e});return null===(t=h(me,this).get(n.queryHash))||void 0===t?void 0:t.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(void 0===t)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=h(me,this).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(v(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return h(me,this).findAll(e).map(e=>{let{queryKey:t,state:n}=e;return[t,n.data]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=h(me,this).get(r.queryHash),a=function(e,t){return"function"===typeof e?e(t):e}(t,null===i||void 0===i?void 0:i.state.data);if(void 0!==a)return h(me,this).build(this,r).setData(a,u(u({},n),{},{manual:!0}))}
2setQueriesData(e,t,n){return F.batch(()=>h(me,this).findAll(e).map(e=>{let{queryKey:r}=e;return[r,this.setQueryData(r,t,n)]}))}getQueryState(e){var t;const n=this.defaultQueryOptions({queryKey:e});return null===(t=h(me,this).get(n.queryHash))||void 0===t?void 0:t.state}removeQueries(e){const t=h(me,this);F.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){const n=h(me,this),r=u({type:"active"},e);return F.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries(r,t)))}cancelQueries(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=u({revert:!0},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=F.batch(()=>h(me,this).findAll(e).map(e=>e.cancel(t)));return Promise.all(n).then(g).catch(g)}invalidateQueries(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return F.batch(()=>{var n,r;if(h(me,this).findAll(e).forEach(e=>{e.invalidate()}),"none"===e.refetchType)return Promise.resolve();const i=u(u({},e),{},{type:null!==(n=null!==(r=e.refetchType)&&void 0!==r?r:e.type)&&void 0!==n?n:"active"});return this.refetchQueries(i,t)})}refetchQueries(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;const r=u(u({},n),{},{cancelRefetch:null===(e=null===n||void 0===n?void 0:n.cancelRefetch)||void 0===e||e}),i=F.batch(()=>h(me,this).findAll(t).filter(e=>!e.isDisabled()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(g)),"paused"===e.state.fetchStatus?Promise.resolve():t}));return Promise.all(i).then(g)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=h(me,this).build(this,t);return n.isStaleByTime(v(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(g).catch(g)}fetchInfiniteQuery(e){return e.behavior=Ce(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(g).catch(g)}ensureInfiniteQueryData(e){return e.behavior=Ce(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return q.isOnline()?h(ge,this).resumePausedMutations():Promise.resolve()}getQueryCache(){return h(me,this)}getMutationCache(){return h(ge,this)}getDefaultOptions(){return h(ve,this)}setDefaultOptions(e){f(ve,this,e)}setQueryDefaults(e,t){h(ye,this).set(k(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...h(ye,this).values()];let n={};return t.forEach(t=>{_(e,t.queryKey)&&(n=u(u({},n),t.defaultOptions))}),n}setMutationDefaults(e,t){h(be,this).set(k(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...h(be,this).values()];let n={};return t.forEach(t=>{_(e,t.mutationKey)&&(n=u(u({},n),t.defaultOptions))}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t=u(u(u(u({},h(ve,this).queries),this.getQueryDefaults(e.queryKey)),e),{},{_defaulted:!0});return t.queryHash||(t.queryHash=w(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),!0!==t.enabled&&t.queryFn===O&&(t.enabled=!1),t}defaultMutationOptions(e){return null!==e&&void 0!==e&&e._defaulted?e:u(u(u(u({},h(ve,this).mutations),(null===e||void 0===e?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey)),e),{},{_defaulted:!0})}clear(){h(me,this).clear(),h(ge,this).clear()}}),Ie=n(579),Oe=r.createContext(void 0),je=e=>{let{client:t,children:n}=e;return r.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,Ie.jsx)(Oe.Provider,{value:t,children:n})};function Re(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const Pe=["sri"],Ne=["page"],Me=["page","matches"],Le=["onClick","discover","prefetch","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],De=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],Ve=["discover","fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"];var Fe="popstate";function ze(){return $e(function(e,t){let{pathname:n,search:r,hash:i}=e.location;return Be("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"===typeof t?t:We(t)},null,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}function He(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function qe(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function Ue(e,t){return{usr:e.state,key:e.key,idx:t}}function Be(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return u(u({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?Ke(t):t),{},{state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10)})}function We(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function Ke(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function $e(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s="POP",l=null,c=d();function d(){return(o.state||{idx:null}).idx}function p(){s="POP";let e=d(),t=null==e?null:e-c;c=e,l&&l({action:s,location:f.location,delta:t})}function h(e){let t="null"!==i.location.origin?i.location.origin:i.location.href,n="string"===typeof e?e:We(e);return n=n.replace(/ $/,"%20"),He(t,"No window.location.(origin|href) available to create URL for href: ".concat(n)),new URL(n,t)}null==c&&(c=0,o.replaceState(u(u({},o.state),{},{idx:c}),""));let f={get action(){return s},get location(){return e(i,o)},listen(e){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Fe,p),l=e,()=>{i.removeEventListener(Fe,p),l=null}},createHref:e=>
2t(i,e),createURL:h,encodeLocation(e){let t=h(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s="PUSH";let r=Be(f.location,e,t);n&&n(r,e),c=d()+1;let u=Ue(r,c),p=f.createHref(r);try{o.pushState(u,"",p)}catch(h){if(h instanceof DOMException&&"DataCloneError"===h.name)throw h;i.location.assign(p)}a&&l&&l({action:s,location:f.location,delta:1})},replace:function(e,t){s="REPLACE";let r=Be(f.location,e,t);n&&n(r,e),c=d();let i=Ue(r,c),u=f.createHref(r);o.replaceState(i,"",u),a&&l&&l({action:s,location:f.location,delta:0})},go:e=>o.go(e)};return f}new WeakMap;function Ge(e,t){return Ye(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",!1)}function Ye(e,t,n,r){let i=ct(("string"===typeof t?Ke(t):t).pathname||"/",n);if(null==i)return null;let a=Qe(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n]);return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(a);let o=null;for(let s=0;null==o&&s<a.length;++s){let e=ut(i);o=ot(a[s],e,r)}return o}function Qe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=(e,i,a)=>{let o={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};o.relativePath.startsWith("/")&&(He(o.relativePath.startsWith(r),'Absolute route path "'.concat(o.relativePath,'" nested under path "').concat(r,'" is not valid. An absolute child route path must start with the combined path of all its parent routes.')),o.relativePath=o.relativePath.slice(r.length));let s=mt([r,o.relativePath]),l=n.concat(o);e.children&&e.children.length>0&&(He(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'.concat(s,'".')),Qe(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:at(s,e.index),routesMeta:l})};return e.forEach((e,t)=>{var n;if(""!==e.path&&null!==(n=e.path)&&void 0!==n&&n.includes("?"))for(let r of Je(e.path))i(e,t,r);else i(e,t)}),t}function Je(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===r.length)return i?[a,""]:[a];let o=Je(r.join("/")),s=[];return s.push(...o.map(e=>""===e?a:[a,e].join("/"))),i&&s.push(...o),s.map(t=>e.startsWith("/")&&""===t?"/":t)}var Xe=/^:[\w-]+$/,Ze=3,et=2,tt=1,nt=10,rt=-2,it=e=>"*"===e;function at(e,t){let n=e.split("/"),r=n.length;return n.some(it)&&(r+=rt),t&&(r+=et),n.filter(e=>!it(e)).reduce((e,t)=>e+(Xe.test(t)?Ze:""===t?tt:nt),r)}function ot(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{routesMeta:r}=e,i={},a="/",o=[];for(let s=0;s<r.length;++s){let e=r[s],l=s===r.length-1,u="/"===a?t:t.slice(a.length)||"/",c=st({path:e.relativePath,caseSensitive:e.caseSensitive,end:l},u),d=e.route;if(!c&&l&&n&&!r[r.length-1].route.index&&(c=st({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},u)),!c)return null;
2Object.assign(i,c.params),o.push({params:i,pathname:mt([a,c.pathname]),pathnameBase:gt(mt([a,c.pathnameBase])),route:d}),"/"!==c.pathnameBase&&(a=mt([a,c.pathnameBase]))}return o}function st(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=lt(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,"$1"),s=i.slice(1),l=r.reduce((e,t,n)=>{let{paramName:r,isOptional:i}=t;if("*"===r){let e=s[n]||"";o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[r]=i&&!l?void 0:(l||"").replace(/%2F/g,"/"),e},{});return{params:l,pathname:a,pathnameBase:o,pattern:e}}function lt(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];qe("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'.concat(e,'" will be treated as if it were "').concat(e.replace(/\*$/,"/*"),'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "').concat(e.replace(/\*$/,"/*"),'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function ut(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return qe(!1,'The URL path "'.concat(e,'" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (').concat(t,").")),e}}function ct(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function dt(e,t,n,r){return"Cannot include a '".concat(e,"' character in a manually specified `to.").concat(t,"` field [").concat(JSON.stringify(r),"]. Please separate it out to the `to.").concat(n,'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.')}function pt(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function ht(e){let t=pt(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function ft(e,t,n){let r,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];"string"===typeof e?r=Ke(e):(r=u({},e),He(!r.pathname||!r.pathname.includes("?"),dt("?","pathname","search",r)),He(!r.pathname||!r.pathname.includes("#"),dt("#","pathname","hash",r)),He(!r.search||!r.search.includes("#"),dt("#","search","hash",r)));let a,o=""===e||""===r.pathname,s=o?"/":r.pathname;if(null==s)a=n;else{let e=t.length-1;if(!i&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;r.pathname=t.join("/")}a=e>=0?t[e]:"/"}let l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/",{pathname:n,search:r="",hash:i=""}="string"===typeof e?Ke(e):e,a=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:a,search:vt(r),hash:yt(i)}}(r,a),c=s&&"/"!==s&&s.endsWith("/"),d=(o||"."===s)&&n.endsWith("/");return l.pathname.endsWith("/")||!c&&!d||(l.pathname+="/"),l}var mt=e=>e.join("/").replace(/\/\/+/g,"/"),gt=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),vt=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",yt=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function bt(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var wt=["POST","PUT","PATCH","DELETE"],kt=(new Set(wt),["GET",...wt]);new Set(kt),Symbol("ResetLoaderData");var _t=r.createContext(null);_t.displayName="DataRouter";var St=r.createContext(null);St.displayName="DataRouterState";var xt=r.createContext({isTransitioning:!1});xt.displayName="ViewTransition";var Ct=r.createContext(new Map);Ct.displayName="Fetchers";var Tt=r.createContext(null);Tt.displayName="Await";var Et=r.createContext(null);Et.displayName="Navigation";var At=r.createContext(null);At.displayName="Location";var It=r.createContext({outlet:null,matches:[],isDataRoute:!1});It.displayName="Route";var Ot=r.createContext(null);Ot.displayName="RouteError";function jt(){return null!=r.useContext(At)}function Rt(){return He(jt(),"useLocation() may be used only in the context of a <Router> component."),r.useContext(At).location}var Pt="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Nt(e){r.useContext(Et).static||r.useLayoutEffect(e)}function Mt(){let{isDataRoute:e}=r.useContext(It);return e?function(){let{router:e}=Bt("useNavigate"),t=Kt("useNavigate"),n=r.useRef(!1);Nt(()=>{n.current=!0});let i=r.useCallback(async function(r){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};qe(n.current,Pt),n.current&&("number"===typeof r?e.navigate(r):await e.navigate(r,u({fromRouteId:t},i)))},[e,t]);return i}():function(){He(jt(),"useNavigate() may be used only in the context of a <Router> component.");let e=r.useContext(_t),{basename:t,navigator:n}=r.useContext(Et),{matches:i}=r.useContext(It),{pathname:a}=Rt(),o=JSON.stringify(ht(i)),s=r.useRef(!1);Nt(()=>{s.current=!0});let l=r.useCallback(function(r){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(qe(s.current,Pt),!s.current)return;if("number"===typeof r)return void n.go(r);let l=ft(r,JSON.parse(o),a,"path"===i.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:mt([t,l.pathname])),(i.replace?n.replace:n.push)(l,i.state,i)},[t,n,o,a,e]);return l}()}r.createContext(null);function Lt(e){let{relative:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{matches:n}=r.useContext(It),{pathname:i}=Rt(),a=JSON.stringify(ht(n));return r.useMemo(()=>ft(e,JSON.parse(a),i,"path"===t),[e,a,i,t])}function Dt(e,t,n,i){He(jt(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a,static:o}=r.useContext(Et),{matches:s}=r.useContext(It),l=s[s.length-1],c=l?l.params:{},d=l?l.pathname:"/",p=l?l.pathnameBase:"/",h=l&&l.route;{let e=h&&h.path||"";Yt(d,!h||e.endsWith("*")||e.endsWith("*?"),'You rendered descendant <Routes> (or called `useRoutes()`) at "'.concat(d,'" (under <Route path="').concat(e,'">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won\'t match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="').concat(e,'"> to <Route path="').concat("/"===e?"*":"".concat(e,"/*"),'">.'))}let f,m=Rt();if(t){var g;let e="string"===typeof t?Ke(t):t;He("/"===p||(null===(g=e.pathname)||void 0===g?void 0:g.startsWith(p)),'When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "'.concat(p,'" but pathname "').concat(e.pathname,'" was given in the `location` prop.')),f=e}else f=m;let v=f.pathname||"/",y=v;if("/"!==p){let e=p.replace(/^\//,"").split("/");y="/"+v.replace(/^\//,"").split("/").slice(e.length).join("/")}let b=!o&&n&&n.matches&&n.matches.length>0?n.matches:Ge(e,{pathname:y});qe(h||null!=b,'No routes matched location "'.concat(f.pathname).concat(f.search).concat(f.hash,'" ')),qe(null==b||void 0!==b[b.length-1].route.element||void 0!==b[b.length-1].route.Component||void 0!==b[b.length-1].route.lazy,'Matched leaf route at location "'.concat(f.pathname).concat(f.search).concat(f.hash,'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.'));let w=qt(b&&b.map(e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:mt([p,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?p:mt([p,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),s,n,i);return t&&w?r.createElement(At.Provider,{value:{location:u({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:"POP"}},w):w}function Vt(){let e=$t(),t=bt(e)?"".concat(e.status," ").concat(e.statusText):e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i},o={padding:"2px 4px",backgroundColor:i},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=r.createElement(r.Fragment,null,r.createElement("p",null,"\ud83d\udcbf Hey developer \ud83d\udc4b"),r.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",r.createElement("code",{style:o},"ErrorBoundary")," or"," ",r.createElement("code",{style:o},"errorElement")," prop on your route.")),r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application
2Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:a},n):null,s)}var Ft=r.createElement(Vt,null),zt=class extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?r.createElement(It.Provider,{value:this.props.routeContext},r.createElement(Ot.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Ht(e){let{routeContext:t,match:n,children:i}=e,a=r.useContext(_t);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(It.Provider,{value:t},i)}function qt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(null==e){if(!n)return null;if(n.errors)e=n.matches;else{if(0!==t.length||n.initialized||!(n.matches.length>0))return null;e=n.matches}}let i=e,a=null===n||void 0===n?void 0:n.errors;if(null!=a){let e=i.findIndex(e=>e.route.id&&void 0!==(null===a||void 0===a?void 0:a[e.route.id]));He(e>=0,"Could not find a matching route for errors on route IDs: ".concat(Object.keys(a).join(","))),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n)for(let r=0;r<i.length;r++){let e=i[r];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(s=r),e.route.id){let{loaderData:t,errors:r}=n,a=e.route.loader&&!t.hasOwnProperty(e.route.id)&&(!r||void 0===r[e.route.id]);if(e.route.lazy||a){o=!0,i=s>=0?i.slice(0,s+1):[i[0]];break}}}return i.reduceRight((e,l,u)=>{let c,d=!1,p=null,h=null;n&&(c=a&&l.route.id?a[l.route.id]:void 0,p=l.route.errorElement||Ft,o&&(s<0&&0===u?(Yt("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,h=null):s===u&&(d=!0,h=l.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,u+1)),m=()=>{let t;return t=c?p:d?h:l.route.Component?r.createElement(l.route.Component,null):l.route.element?l.route.element:e,r.createElement(Ht,{match:l,routeContext:{outlet:e,matches:f,isDataRoute:null!=n},children:t})};return n&&(l.route.ErrorBoundary||l.route.errorElement||0===u)?r.createElement(zt,{location:n.location,revalidation:n.revalidation,component:p,error:c,children:m(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):m()},null)}function Ut(e){return"".concat(e," must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.")}function Bt(e){let t=r.useContext(_t);return He(t,Ut(e)),t}function Wt(e){let t=r.useContext(St);return He(t,Ut(e)),t}function Kt(e){let t=function(e){let t=r.useContext(It);return He(t,Ut(e)),t}(e),n=t.matches[t.matches.length-1];return He(n.route.id,"".concat(e,' can only be used on routes that contain a unique "id"')),n.route.id}function $t(){var e;let t=r.useContext(Ot),n=Wt("useRouteError"),i=Kt("useRouteError");return void 0!==t?t:null===(e=n.errors)||void 0===e?void 0:e[i]}var Gt={};function Yt(e,t,n){t||Gt[e]||(Gt[e]=!0,qe(!1,n))}r.memo(function(e){let{routes:t,future:n,state:r}=e;return Dt(t,void 0,r,n)});function Qt(e){He(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Jt(e){let{basename:t="/",children:n=null,location:i,navigationType:a="POP",navigator:o,static:s=!1}=e;He(!jt(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=t.replace(/^\/*/,"/"),u=r.useMemo(()=>({basename:l,navigator:o,static:s,future:{}}),[l,o,s]);"string"===typeof i&&(i=Ke(i));let{pathname:c="/",search:d="",hash:p="",state:h=null,key:f="default"}=i,m=r.useMemo(()=>{let e=ct(c,l);return null==e?null:{location:{pathname:e,search:d,hash:p,state:h,key:f},navigationType:a}},[l,c,d,p,h,f,a]);
2return qe(null!=m,'<Router basename="'.concat(l,'"> is not able to match the URL "').concat(c).concat(d).concat(p,"\" because it does not start with the basename, so the <Router> won't render anything.")),null==m?null:r.createElement(Et.Provider,{value:u},r.createElement(At.Provider,{children:n,value:m}))}function Xt(e){let{children:t,location:n}=e;return Dt(Zt(t),n)}r.Component;function Zt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];return r.Children.forEach(e,(e,i)=>{if(!r.isValidElement(e))return;let a=[...t,i];if(e.type===r.Fragment)return void n.push.apply(n,Zt(e.props.children,a));He(e.type===Qt,"[".concat("string"===typeof e.type?e.type:e.type.name,"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>")),He(!e.props.index||!e.props.children,"An index route cannot have child routes.");let o={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=Zt(e.props.children,a)),n.push(o)}),n}var en="get",tn="application/x-www-form-urlencoded";function nn(e){return null!=e&&"string"===typeof e.tagName}var rn=null;var an=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function on(e){return null==e||an.has(e)?e:(qe(!1,'"'.concat(e,'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` and will default to "').concat(tn,'"')),null)}function sn(e,t){let n,r,i,a,o;if(nn(s=e)&&"form"===s.tagName.toLowerCase()){let o=e.getAttribute("action");r=o?ct(o,t):null,n=e.getAttribute("method")||en,i=on(e.getAttribute("enctype"))||tn,a=new FormData(e)}else if(function(e){return nn(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return nn(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let o=e.form;if(null==o)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||o.getAttribute("action");if(r=s?ct(s,t):null,n=e.getAttribute("formmethod")||o.getAttribute("method")||en,i=on(e.getAttribute("formenctype"))||on(o.getAttribute("enctype"))||tn,a=new FormData(o,e),!function(){if(null===rn)try{new FormData(document.createElement("form"),0),rn=!1}catch(e){rn=!0}return rn}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?"".concat(t,"."):"";a.append("".concat(e,"x"),"0"),a.append("".concat(e,"y"),"0")}else t&&a.append(t,r)}}else{if(nn(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=en,r=null,i=tn,o=e}var s;return a&&"text/plain"===i&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}function ln(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}async function un(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error("Error loading route module `".concat(e.module,"`, reloading page...")),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function cn(e){return null!=e&&"string"===typeof e.page}function dn(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"===typeof e.imageSrcSet&&"string"===typeof e.imageSizes:"string"===typeof e.rel&&"string"===typeof e.href)}function pn(e,t,n,r,i,a){let o=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>{var r;return n[t].pathname!==e.pathname||(null===(r=n[t].route.path)||void 0===r?void 0:r.endsWith("*"))&&n[t].params["*"]!==e.params["*"]};return"assets"===a?t.filter((e,t)=>o(e,t)||s(e,t)):"data"===a?t.filter((t,a)=>{let l=r.routes[t.route.id];if(!l||!l.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;
2if(t.route.shouldRevalidate){var u;let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:(null===(u=n[0])||void 0===u?void 0:u.params)||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"===typeof r)return r}return!0}):[]}function hn(e,t){let{includeHydrateFallback:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r=e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1),[...new Set(r)];var r}function fn(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!cn(i)&&"script"===i.as&&i.href&&r.has(i.href))return e;let a=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function mn(e){return{__html:e}}Symbol("SingleFetchRedirect");var gn=new Set([100,101,204,205]);function vn(e,t){let n="string"===typeof e?new URL(e,"undefined"===typeof window?"server://singlefetch/":window.location.origin):e;return"/"===n.pathname?n.pathname="_root.data":t&&"/"===ct(n.pathname,t)?n.pathname="".concat(t.replace(/\/$/,""),"/_root.data"):n.pathname="".concat(n.pathname.replace(/\/$/,""),".data"),n}r.Component;function yn(e){let{error:t,isOutsideRemixApp:n}=e;console.error(t);let i,a=r.createElement("script",{dangerouslySetInnerHTML:{__html:'\n console.log(\n "\ud83d\udcbf Hey developer \ud83d\udc4b. You can provide a way better UX than this when your app throws errors. Check out https://remix.run/guides/errors for more information."\n );\n '}});if(bt(t))return r.createElement(bn,{title:"Unhandled Thrown Response!"},r.createElement("h1",{style:{fontSize:"24px"}},t.status," ",t.statusText),a);if(t instanceof Error)i=t;else{let e=null==t?"Unknown Error":"object"===typeof t&&"toString"in t?t.toString():JSON.stringify(t);i=new Error(e)}return r.createElement(bn,{title:"Application Error!",isOutsideRemixApp:n},r.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),r.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},i.stack),a)}function bn(e){var t;let{title:n,renderScripts:i,isOutsideRemixApp:a,children:o}=e,{routeModules:s}=xn();return null!==(t=s.root)&&void 0!==t&&t.Layout&&!a?o:r.createElement("html",{lang:"en"},r.createElement("head",null,r.createElement("meta",{charSet:"utf-8"}),r.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),r.createElement("title",null,n)),r.createElement("body",null,r.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},o,i?r.createElement(jn,null):null)))}function wn(e){return!0===e}function kn(){let e=r.useContext(_t);return ln(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function _n(){let e=r.useContext(St);return ln(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Sn=r.createContext(void 0);function xn(){let e=r.useContext(Sn);return ln(e,"You must render this element inside a <HydratedRouter> element"),e}function Cn(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Tn(e,t,n){if(n&&!On)return[e[0]];if(t){let n=e.findIndex(e=>void 0!==t[e.route.id]);return e.slice(0,n+1)}return e}function En(e){let{page:t}=e,n=Re(e,Ne),{router:i}=kn(),a=r.useMemo(()=>Ge(i.routes,t,i.basename),[i.routes,t,i.basename]);return a?r.createElement(In,u({page:t,matches:a},n)):null}function An(e){let{manifest:t,routeModules:n}=xn(),[i,a]=r.useState([]);return r.useEffect(()=>{let r=!1;return async function(e,t,n){return fn((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await un(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(dn).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?u(u({},e),{},{rel:"prefetch",as:"style"}):u(u({},e),{},{rel:"prefetch"})))}
2(e,t,n).then(e=>{r||a(e)}),()=>{r=!0}},[e,t,n]),i}function In(e){let{page:t,matches:n}=e,i=Re(e,Me),a=Rt(),{manifest:o,routeModules:s}=xn(),{basename:l}=kn(),{loaderData:c,matches:d}=_n(),p=r.useMemo(()=>pn(t,n,d,o,a,"data"),[t,n,d,o,a]),h=r.useMemo(()=>pn(t,n,d,o,a,"assets"),[t,n,d,o,a]),f=r.useMemo(()=>{if(t===a.pathname+a.search+a.hash)return[];let e=new Set,r=!1;if(n.forEach(t=>{var n;let i=o.routes[t.route.id];i&&i.hasLoader&&(!p.some(e=>e.route.id===t.route.id)&&t.route.id in c&&null!==(n=s[t.route.id])&&void 0!==n&&n.shouldRevalidate||i.hasClientLoader?r=!0:e.add(t.route.id))}),0===e.size)return[];let i=vn(t,l);return r&&e.size>0&&i.searchParams.set("_routes",n.filter(t=>e.has(t.route.id)).map(e=>e.route.id).join(",")),[i.pathname+i.search]},[l,c,a,o,p,n,t,s]),m=r.useMemo(()=>hn(h,o),[h,o]),g=An(h);return r.createElement(r.Fragment,null,f.map(e=>r.createElement("link",u({key:e,rel:"prefetch",as:"fetch",href:e},i))),m.map(e=>r.createElement("link",u({key:e,rel:"modulepreload",href:e},i))),g.map(e=>{let{key:t,link:n}=e;return r.createElement("link",u({key:t},n))}))}Sn.displayName="FrameworkContext";var On=!1;function jn(e){let{manifest:t,serverHandoffString:n,isSpaMode:i,ssr:a,renderMeta:o}=xn(),{router:s,static:l,staticContext:c}=kn(),{matches:d}=_n(),p=wn(a);o&&(o.didRenderScripts=!0);let h=Tn(d,null,i);r.useEffect(()=>{On=!0},[]);let f=r.useMemo(()=>{var i;let a=c?"window.__reactRouterContext = ".concat(n,";").concat("window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());"):" ",o=l?"".concat(null!==(i=t.hmr)&&void 0!==i&&i.runtime?"import ".concat(JSON.stringify(t.hmr.runtime),";"):"").concat(p?"":"import ".concat(JSON.stringify(t.url)),";\n").concat(h.map((e,n)=>{let r="route".concat(n),i=t.routes[e.route.id];ln(i,"Route ".concat(e.route.id," not found in manifest"));let{clientActionModule:a,clientLoaderModule:o,clientMiddlewareModule:s,hydrateFallbackModule:l,module:u}=i,c=[...a?[{module:a,varName:"".concat(r,"_clientAction")}]:[],...o?[{module:o,varName:"".concat(r,"_clientLoader")}]:[],...s?[{module:s,varName:"".concat(r,"_clientMiddleware")}]:[],...l?[{module:l,varName:"".concat(r,"_HydrateFallback")}]:[],{module:u,varName:"".concat(r,"_main")}];return 1===c.length?"import * as ".concat(r," from ").concat(JSON.stringify(u),";"):[c.map(e=>"import * as ".concat(e.varName,' from "').concat(e.module,'";')).join("\n"),"const ".concat(r," = {").concat(c.map(e=>"...".concat(e.varName)).join(","),"};")].join("\n")}).join("\n"),"\n ").concat(p?"window.__reactRouterManifest = ".concat(JSON.stringify(function(e,t){let{sri:n}=e,r=Re(e,Pe),i=new Set(t.state.matches.map(e=>e.route.id)),a=t.state.location.pathname.split("/").filter(Boolean),o=["/"];for(a.pop();a.length>0;)o.push("/".concat(a.join("/"))),a.pop();o.forEach(e=>{let n=Ge(t.routes,e,t.basename);n&&n.forEach(e=>i.add(e.route.id))});let s=[...i].reduce((e,t)=>Object.assign(e,{[t]:r.routes[t]}),{});return u(u({},r),{},{routes:s,sri:!!n||void 0})}(t,s),null,2),";"):"","\n window.__reactRouterRouteModules = {").concat(h.map((e,t)=>"".concat(JSON.stringify(e.route.id),":route").concat(t)).join(","),"};\n\nimport(").concat(JSON.stringify(t.entry.module),");"):" ";return r.createElement(r.Fragment,null,r.createElement("script",u(u({},e),{},{suppressHydrationWarning:!0,dangerouslySetInnerHTML:mn(a),type:void 0})),r.createElement("script",u(u({},e),{},{suppressHydrationWarning:!0,dangerouslySetInnerHTML:mn(o),type:"module",async:!0})))},[]),m=On?[]:(g=t.entry.imports.concat(hn(h,t,{includeHydrateFallback:!0})),[...new Set(g)]);var g;let v="object"===typeof t.sri?t.sri:{};return On?null:r.createElement(r.Fragment,null,"object"===typeof t.sri?r.createElement("script",{"rr-importmap":"",type:"importmap",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:JSON.stringify({integrity:v})}}):null,p?null:r.createElement("link",{rel:"modulepreload",href:t.url,crossOrigin:e.crossOrigin,integrity:v[t.url],suppressHydrationWarning:!0}),r.createElement("link",{rel:"modulepreload",href:t.entry.module,crossOrigin:e.crossOrigin,integrity:v[t.entry.module],suppressHydrationWarning:!0}),m.map(t=>r.createElement("link",{key:t,rel:"modulepreload",href:t,crossOrigin:e.crossOrigin,integrity:v[t],suppressHydrationWarning:!0})),f)}function Rn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>{t.forEach(t=>{"function"===typeof t?t(e):null!=t&&(t.current=e)})}}var Pn="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement;try{Pn&&(window.__reactRouterVersion="7.5.1")}catch(HS){}function Nn(e){let{basename:t,children:n,window:i}=e,a=r.useRef();null==a.current&&(a.current=ze({window:i,v5Compat:!0}));let o=a.current,[s,l]=r.useState({action:o.action,location:o.location}),u=r.useCallback(e=>{r.startTransition(()=>l(e))},[l]);return r.useLayoutEffect(()=>o.listen(u),[o,u]),r.createElement(Jt,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o})}var Mn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ln=r.forwardRef(function(e,t){let n,{onClick:i,discover:a="render",prefetch:o="none",relative:s,reloadDocument:l,replace:c,state:d,target:p,to:h,preventScrollReset:f,viewTransition:m}=e,g=Re(e,Le),{basename:v}=r.useContext(Et),y="string"===typeof h&&Mn.test(h),b=!1;if("string"===typeof h&&y&&(n=h,Pn))try{let e=new URL(window.location.href),t=h.startsWith("//")?new URL(e.protocol+h):new URL(h),n=ct(t.pathname,v);t.origin===e.origin&&null!=n?h=n+t.search+t.hash:b=!0}catch(HS){qe(!1,'<Link to="'.concat(h,'">
2 contains an invalid URL which will probably break when clicked - please update to a valid URL path.'))}let w=function(e){let{relative:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};He(jt(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:i}=r.useContext(Et),{hash:a,pathname:o,search:s}=Lt(e,{relative:t}),l=o;return"/"!==n&&(l="/"===o?n:mt([n,o])),i.createHref({pathname:l,search:s,hash:a})}(h,{relative:s}),[k,_,S]=function(e,t){let n=r.useContext(Sn),[i,a]=r.useState(!1),[o,s]=r.useState(!1),{onFocus:l,onBlur:u,onMouseEnter:c,onMouseLeave:d,onTouchStart:p}=t,h=r.useRef(null);r.useEffect(()=>{if("render"===e&&s(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{s(e.isIntersecting)})},{threshold:.5});return h.current&&e.observe(h.current),()=>{e.disconnect()}}},[e]),r.useEffect(()=>{if(i){let e=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(e)}}},[i]);let f=()=>{a(!0)},m=()=>{a(!1),s(!1)};return n?"intent"!==e?[o,h,{}]:[o,h,{onFocus:Cn(l,f),onBlur:Cn(u,m),onMouseEnter:Cn(c,f),onMouseLeave:Cn(d,m),onTouchStart:Cn(p,f)}]:[!1,h,{}]}(o,g),x=function(e){let{target:t,replace:n,state:i,preventScrollReset:a,relative:o,viewTransition:s}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=Mt(),u=Rt(),c=Lt(e,{relative:o});return r.useCallback(r=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(r,t)){r.preventDefault();let t=void 0!==n?n:We(u)===We(c);l(e,{replace:t,state:i,preventScrollReset:a,relative:o,viewTransition:s})}},[u,l,c,n,i,t,e,a,o,s])}(h,{replace:c,state:d,target:p,preventScrollReset:f,relative:s,viewTransition:m});let C=r.createElement("a",u(u(u({},g),S),{},{href:n||w,onClick:b||l?i:function(e){i&&i(e),e.defaultPrevented||x(e)},ref:Rn(t,_),target:p,"data-discover":y||"render"!==a?void 0:"true"}));return k&&!y?r.createElement(r.Fragment,null,C,r.createElement(En,{page:w})):C});Ln.displayName="Link",r.forwardRef(function(e,t){let{"aria-current":n="page",caseSensitive:i=!1,className:a="",end:o=!1,style:s,to:l,viewTransition:c,children:d}=e,p=Re(e,De),h=Lt(l,{relative:p.relative}),f=Rt(),m=r.useContext(St),{navigator:g,basename:v}=r.useContext(Et),y=null!=m&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.useContext(xt);He(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=Fn("useViewTransitionState"),a=Lt(e,{relative:t.relative});if(!n.isTransitioning)return!1;let o=ct(n.currentLocation.pathname,i)||n.currentLocation.pathname,s=ct(n.nextLocation.pathname,i)||n.nextLocation.pathname;return null!=st(a.pathname,s)||null!=st(a.pathname,o)}(h)&&!0===c,b=g.encodeLocation?g.encodeLocation(h).pathname:h.pathname,w=f.pathname,k=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;i||(w=w.toLowerCase(),k=k?k.toLowerCase():null,b=b.toLowerCase()),k&&v&&(k=ct(k,v)||k);const _="/"!==b&&b.endsWith("/")?b.length-1:b.length;let S,x=w===b||!o&&w.startsWith(b)&&"/"===w.charAt(_),C=null!=k&&(k===b||!o&&k.startsWith(b)&&"/"===k.charAt(b.length)),T={isActive:x,isPending:C,isTransitioning:y},E=x?n:void 0;S="function"===typeof a?a(T):[a,x?"active":null,C?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let A="function"===typeof s?s(T):s;return r.createElement(Ln,u(u({},p),{},{"aria-current":E,className:S,ref:t,style:A,to:l,viewTransition:c}),"function"===typeof d?d(T):d)}).displayName="NavLink";var Dn=r.forwardRef((e,t)=>{let{discover:n="render",fetcherKey:i,navigate:a,reloadDocument:o,replace:s,state:l,method:c=en,action:d,onSubmit:p,relative:h,preventScrollReset:f,viewTransition:m}=e,g=Re(e,Ve),v=qn(),y=function(e){let{relative:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{basename:n}=r.useContext(Et),i=r.useContext(It);He(i,"useFormAction must be used inside a RouteContext");let[a]=i.matches.slice(-1),o=u({},Lt(e||".",{relative:t})),s=Rt();if(null==e){o.search=s.search;let e=new URLSearchParams(o.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();o.search=n?"?".concat(n):""}}e&&"."!==e||!a.route.index||(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index");"/"!==n&&(o.pathname="/"===o.pathname?n:mt([n,o.pathname]));return We(o)}(d,{relative:h}),b="get"===c.toLowerCase()?"get":"post",w="string"===typeof d&&Mn.test(d);return r.createElement("form",u(u({ref:t,method:b,action:y,onSubmit:o?p:e=>{if(p&&p(e),e.defaultPrevented)return;e.preventDefault();let t=e.nativeEvent.submitter,n=(null===t||void 0===t?void 0:t.getAttribute("formmethod"))||c;v(t||e.currentTarget,{fetcherKey:i,method:n,navigate:a,replace:s,state:l,relative:h,preventScrollReset:f,viewTransition:m})}},g),{},{"data-discover":w||"render"!==n?void 0:"true"}))});function Vn(e){return"".concat(e," must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.")}function Fn(e){let t=r.useContext(_t);return He(t,Vn(e)),t}Dn.displayName="Form";var zn=0,Hn=()=>"__".concat(String(++zn),"__");function qn(){let{router:e}
2=Fn("useSubmit"),{basename:t}=r.useContext(Et),n=Kt("useRouteId");return r.useCallback(async function(r){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{action:a,method:o,encType:s,formData:l,body:u}=sn(r,t);if(!1===i.navigate){let t=i.fetcherKey||Hn();await e.fetch(t,n,i.action||a,{preventScrollReset:i.preventScrollReset,formData:l,body:u,formMethod:i.method||o,formEncType:i.encType||s,flushSync:i.flushSync})}else await e.navigate(i.action||a,{preventScrollReset:i.preventScrollReset,formData:l,body:u,formMethod:i.method||o,formEncType:i.encType||s,replace:i.replace,state:i.state,fromRouteId:n,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,n])}new TextEncoder;const Un=e=>{const t=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()))(e);return t.charAt(0).toUpperCase()+t.slice(1)},Bn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>Boolean(e)&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()};var Wn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Kn=["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"],$n=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:s="",children:l,iconNode:c}=e,d=Re(e,Kn);return(0,r.createElement)("svg",u(u(u({ref:t},Wn),{},{width:i,height:i,stroke:n,strokeWidth:o?24*Number(a)/Number(i):a,className:Bn("lucide",s)},!l&&!(e=>{for(const t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(d)&&{"aria-hidden":"true"}),d),[...c.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(l)?l:[l]])}),Gn=["className"],Yn=(e,t)=>{const n=(0,r.forwardRef)((n,i)=>{let{className:a}=n,o=Re(n,Gn);return(0,r.createElement)($n,u({ref:i,iconNode:t,className:Bn("lucide-".concat((s=Un(e),s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase())),"lucide-".concat(e),a)},o));var s});return n.displayName=Un(e),n},Qn=Yn("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]),Jn=Yn("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]),Xn=Yn("facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]),Zn=Yn("twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]),er=Yn("youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]),tr=Yn("instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]),nr={NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:"443",FAST_REFRESH:!0,REACT_APP_BACKEND_URL:"https://habalitv.com",REACT_APP_SIGNIN_URL:"https://tv.habalitv.com/",REACT_APP_APP_URL:"https://tv.habalitv.com/",REACT_APP_SITE_URL:"https://habalitv.com",REACT_APP_MIXPANEL_TOKEN:"cc37bb4a9d82b6cfbd956769c44a3df1",REACT_APP_GA4_MEASUREMENT_ID:"G-9M9TQW1NTV",REACT_APP_VAPID_PUBLIC_KEY:"BDddlaD__faf82DDfANBlp7HuzX4AE8vZGtTb4ZPDj28k5aq_DXgOcxNwlXuVAkbjxurKj0YAGh82OnuZm_bZCo",REACT_APP_GSC_VERIFICATION:"",REACT_APP_BING_VERIFICATION:""}.REACT_APP_INTERCOM_APP_ID;function rr(){return(0,r.useEffect)(()=>{if("undefined"===typeof window||!nr)return;window.intercomSettings={api_base:"https://api-iam.intercom.io",app_id:nr};const e=window,t=e.Intercom;if("function"===typeof t)t("reattach_activator"),t("update",e.intercomSettings);else{const t=document,n=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];n.c(t)};n.q=[],n.c=function(e){n.q.push(e)},e.Intercom=n;const r=()=>{const n=t.createElement("script");n.type="text/javascript",n.async=!0,n.src="https://widget.intercom.io/widget/"+nr,n.onload=()=>{try{e.Intercom("boot",e.intercomSettings)}catch(t){console.error("Intercom boot failed:",t)}};const r=t.getElementsByTagName("script")[0];r.parentNode.insertBefore(n,r)};"complete"===document.readyState?r():e.addEventListener("load",r,!1)}try{window.Intercom&&window.Intercom("boot",window.intercomSettings)}catch(n){console.error("Intercom re-boot failed:",n)}return()=>{if(window.Intercom)try{window.Intercom("shutdown")}catch(n){console.error("Intercom shutdown failed:",n)}}},[]),null}const ir=Yn("sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]),ar=Yn("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),or=Yn("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]),sr={en:{"nav.live":"Live TV","nav.channels":"Channels","nav.dvr":"Cloud DVR","nav.plans":"Plans","nav.devices":"Devices","nav.haiti":"Haiti Tele","nav.haiti.title":"Haitian live TV channels","nav.signin":"Sign In","
2nav.start":"Start Watching","nav.lang":"FR","hero.eyebrow":"African & Caribbean Live TV \u2022 Anytime \u2022 Anywhere","hero.title":"Live African & Caribbean TV from home.","hero.title.a":"Live African &","hero.title.b":"Caribbean TV from home.","hero.copy":"Habali TV brings live African and Caribbean channels to the diaspora with a premium streaming experience across your favorite devices.","hero.cta.start":"Start Watching","hero.cta.browse":"Browse Channels","hero.cta.haiti":"Explore Haiti Tele \u2192","hero.stat.live":"Live Channels","hero.stat.dvr":"Cloud DVR & EPG","hero.stat.devices":"TV \u2022 Mobile \u2022 Web","live.eyebrow":"#1 for the African & Haitian diaspora","live.title":"African TV channels & Haitian live TV \u2014 all in one app.","live.seeplans":"See plans","live.feat1.pill":"Live","live.feat1.title":"Watch African TV online \u2014 live","live.feat1.body":"African channels live: news, culture, entertainment, sports and community programming from Cameroon, Senegal, Ghana, C\xf4te d'Ivoire, Nigeria and beyond.","live.feat2.pill":"Replay","live.feat2.title":"Cloud DVR","live.feat2.body":"Record shows from select supported channels \u2014 including Haitian live TV \u2014 and come back when you are ready.","live.feat3.pill":"Global","live.feat3.title":"TV for the African and Haitian diaspora","live.feat3.body":"Built for the African, Haitian and Caribbean diaspora in the U.S., Canada, U.K., France and beyond.","channels.eyebrow":"LIVE RIGHT NOW","channels.title":"Featured African TV channels & Caribbean TV channels","channels.seeall":"See all channels \u2192","haitiband.eyebrow":"NEW \u2022 Haitian live TV streaming","haitiband.title":"Haitian live TV channels \u2014 Haiti Tele","haitiband.body":"Watch Haitian TV online with Haiti Tele: news, konpa music, films and live events from Haiti \u2014 streaming to the Haitian diaspora on every device. Plans from $13.83/month.","haitiband.cta":"Explore Haiti Tele","haitiband.link":"See channel lineup, pricing and FAQ \u2192","dvr.eyebrow":"Cloud DVR","dvr.title":"Never miss your favorite live programs.","dvr.body":"Record supported live channels, save programs, and watch later when your schedule allows.","dvr.rec":"REC","dvr.rec.title":"Evening News","dvr.rec.sub":"Saved to Cloud DVR","dvr.live":"LIVE","dvr.live.title":"Community Channel","dvr.live.sub":"Available now","plans.eyebrow":"Simple plans","plans.title":"Choose your Habali TV package","plans.popular":"Most Popular","plans.bestvalue":"Best value","plans.period.1":"Monthly","plans.period.3":"3 Months","plans.period.6":"6 Months","plans.period.12":"12 Months","plans.suffix.1":"/mo","plans.suffix.3":"/3 mo","plans.suffix.6":"/6 mo","plans.suffix.12":"/yr","plan.gold.name":"Africa TV Gold","plan.gold.tag":"Everything for the whole family","plan.gold.cta":"Subscribe Now","plan.gold.f1":"Full African channel lineup","plan.gold.f2":"Cloud DVR","plan.gold.f3":"Up to 2 devices at once","plan.gold.f4":"Premium African film library","plan.gold.f5":"Early access to new content","plan.ghana.name":"Ghana TV","plan.ghana.tag":"Ghana-only live TV channels","plan.ghana.cta":"Choose Ghana TV","plan.ghana.f1":"All Ghanaian live channels","plan.ghana.f2":"Local news & entertainment","plan.ghana.f3":"Standard HD streaming","plan.ghana.f4":"Up to 2 devices at once","plan.ghana.f5":"Cancel anytime","plan.lusophone.name":"Lusophone TV","plan.lusophone.tag":"Portuguese & Lusophone TV channels","plan.lusophone.cta":"Choose Lusophone","plan.lusophone.f1":"Portuguese language channels","plan.lusophone.f2":"Lusophone African content","plan.lusophone.f3":"Standard HD streaming","plan.lusophone.f4":"Up to 2 devices at once","plan.lusophone.f5":"Cancel anytime","plan.haiti.name":"Haiti Tele","plan.haiti.tag":"News, music and culture from Haiti","plan.haiti.cta":"Get Haiti Tele","plan.haiti.f1":"Live Haitian TV Channels","plan.haiti.f2":"Live news, music and drama in Krey\xf2l & French","plan.haiti.f3":"Up to 2 devices at once","plan.haiti.f4":"All streaming devices supported","plan.haiti.f5":"Available now","haiti.badge":"Available now","haiti.form.t
2itle":"Choose Haiti Tele","haiti.form.lede":"Haiti Tele is now live. Sign up below and we'll get you set up on Haitian live TV \u2014 news, konpa, films and events.","haiti.form.name":"Full name","haiti.form.name.placeholder":"Jean-Pierre Louis","haiti.form.email":"Email","haiti.form.email.placeholder":"[email protected]","haiti.form.phone":"Phone","haiti.form.phone.placeholder":"+1 (555) 123-4567","haiti.form.address":"Address","haiti.form.address.placeholder":"Street, City, State/Region, Country","haiti.form.plan":"Desired plan","haiti.form.plan.1":"1 month","haiti.form.plan.3":"3 months","haiti.form.plan.6":"6 months","haiti.form.plan.12":"12 months","haiti.form.submit":"Reserve my spot","haiti.form.sending":"Sending\u2026","haiti.form.close":"Close","haiti.form.success.title":"You're on the list!","haiti.form.success.body":"Thank you \u2014 we've saved your pre-order. Check your inbox for a confirmation and we'll be in touch on launch day.","haiti.form.error":"Sorry \u2014 something went wrong. Please try again in a moment.","haiti.form.error.email":"Please enter a valid email.","haiti.form.error.name":"Please enter your full name.","haiti.form.error.phone":"Please enter a valid phone number.","haiti.counter":"Haiti Tele \u2014 {count} people already reserved their spot","haiti.form.error.address":"Please enter your address.","htpage.eyebrow":"Haiti Tele \u2022 Haitian Live TV Streaming","htpage.h1":"Watch Haitian Live TV Channels with Haiti Tele","htpage.welcome.ht":"Gade televizyon ayisyen kote ou ye.","htpage.welcome.fr":"Regardez la t\xe9l\xe9 ha\xeftienne en direct, o\xf9 que vous soyez.","htpage.lede":"Stream Haitian live TV with Haiti Tele: news, konpa music, films and live events from Haiti \u2014 for the Haitian diaspora in the US, Canada, France and beyond. Watch Haitian TV online on your TV, phone or tablet with a single Habali TV subscription.","htpage.notify.title":"Get notified when Haiti Tele goes live","htpage.notify.sub":"Drop your email \u2014 we'll ping you as soon as Haitian live TV streaming launches on August 1, 2026.","htpage.notify.placeholder":"[email protected]","htpage.notify.cta":"Notify me","htpage.notify.sending":"Sending\u2026","htpage.notify.ok":"M\xe8si! You're on the list \u2014 we'll email you at launch.","htpage.notify.err":"Sorry \u2014 something went wrong. Please try again.","htpage.channels.h2":"Haitian TV channels in the Haiti Tele lineup","htpage.channels.body":"Haiti Tele brings together the top Haitian TV channels for the diaspora \u2014 from national news out of Port-au-Prince to konpa music, church broadcasts, sports and live cultural events.","htpage.included.h2":"What's included with Haiti Tele","htpage.included.1":"Live Haitian TV streaming across every channel in the Haiti Tele lineup","htpage.included.2":"Cloud DVR on select shows so you can watch Haitian TV online on your schedule","htpage.included.3":"Bilingual playback and menus in Krey\xf2l and French","htpage.included.4":"Watch on TV (Roku, Fire TV, Apple TV, Samsung, LG), on your phone (iOS, Android) and on the web","htpage.included.5":"24/7 customer support in English, French and Haitian Creole","htpage.pricing.h2":"Haiti Tele pricing","htpage.pricing.sub":"Simple, flat pricing for Haitian live TV \u2014 pick the length that works for you.","htpage.pricing.plan":"Plan","htpage.pricing.price":"Price","htpage.pricing.effective":"Effective monthly","htpage.pricing.action":"","htpage.pricing.monthly":"Monthly","htpage.pricing.quarterly":"Quarterly (3 months)","htpage.pricing.semi":"Semi-annual (6 months)","htpage.pricing.annual":"Annual (12 months)","htpage.pricing.bestvalue":"Best value","htpage.pricing.cta":"Pre-order","htpage.faq.h2":"Haiti Tele \u2014 Frequently Asked Questions","htpage.faq.q1":"What channels are included in Haiti Tele?","htpage.faq.a1":"Haiti Tele includes a curated lineup of the top Haitian TV channels \u2014 national news, konpa music channels, live cultural programming and film \u2014 streaming from Haiti to the Haitian diaspora worldwide.","htpage.faq.q2":"How much does Haiti Tele cost?","htpage.faq.a2":"Haiti Tele is $15.99/month, $45.99 for 3 months, $85.99 for 6 months, or $165.99/year (an effective $13.83/month \u2014 our best value).","htpage.faq.q3":"Can I watch Haitian TV on my phone or smart TV?","htpage.faq.a3":"Yes. Watch Haitian TV online with the Habali TV app on Roku, Fire TV, Apple TV, Samsung Smart TV, LG, Android, iOS and the web \u2014 one subscription, every screen.","htpage.faq.q4":"Can I cancel anytime?","htpage.faq.a4":"Yes \u2014 you can cancel your Haiti Tele subscription anytime from your account. There are no long-term contracts.","htpage.faq.q5":"Does Habali TV also have African channels?","htpage.faq.a5":"Abs
2olutely. Habali TV also offers African TV channels live (Africa TV Gold, Ghana TV, Lusophone TV and more) alongside Haitian live TV \u2014 so African and Haitian households can watch everything in one place.","htpage.cta.h2":"Ready to watch Haitian live TV?","htpage.cta.body":"Reserve your Haiti Tele plan today or drop your email to be notified at launch on August 1, 2026.","htpage.cta.preorder":"Choose Haiti Tele","htpage.cta.notify":"Notify me at launch","devices.eyebrow":"Watch everywhere","devices.title":"Available on your favorite screens.","news.eyebrow":"Stay in the loop","news.title":"Subscribe to our newsletter","news.sub":"New channels, originals, and offers \u2014 delivered to your inbox.","news.placeholder":"[email protected]","news.cta":"Subscribe","news.thanks":"Thanks for subscribing!","news.already":"You're already subscribed \u2014 thanks!","news.error":"Sorry \u2014 something went wrong. Please try again.","news.push_optin":"Also notify me by browser push","news.push_added":"Browser notifications enabled.","news.push_denied":"(Push permission was denied \u2014 enable it in your browser settings to receive notifications.)","news.push_error":"(Could not enable browser notifications.)","sub.eyebrow":"Stay in the loop","sub.title":"Get notified the moment we go live with new channels","sub.lede":"Pick how you'd like to hear from us \u2014 instant browser notifications, email updates, or both. Unsubscribe anytime.","sub.push.title":"Browser notifications","sub.push.sub":"Get an instant pop-up the moment a new announcement goes out \u2014 no inbox required.","sub.push.cta":"Enable notifications","sub.push.subscribed":"Notifications on","sub.push.working":"Working\u2026","sub.push.denied":"Permission denied. Enable notifications from your browser settings to subscribe.","sub.push.error":"Couldn't enable notifications. Please try again.","sub.push.unsupported":"Browser notifications aren't supported on this device.","sub.email.title":"Email updates","sub.email.sub":"We'll send you a short note when there's news worth knowing \u2014 new channels, features and offers.","sub.email.placeholder":"[email protected]","sub.email.cta":"Subscribe","sub.email.working":"\u2026","sub.email.ok":"You're in! Check your inbox.","sub.email.already":"You're already subscribed \u2014 thanks!","sub.email.error":"Sorry \u2014 couldn't subscribe. Please try again.","footer.tag":"The premier streaming destination for the African and Caribbean diaspora. Watch live TV, films and culture from across two continents \u2014 anywhere in the world.","footer.follow":"Follow us","footer.company":"Company","footer.about":"About Us","footer.dmca":"DMCA","footer.refer":"Refer a Friend","footer.advertise":"Advertise","footer.channel_suggestion":"Channel Suggestion","footer.pricing":"Pricing","footer.resources":"Resources","footer.work_with_us":"Work with us","footer.plans_link":"Plans","footer.faq":"FAQ","footer.contact":"Contact Us","footer.tutorials":"Tutorials","footer.help":"Help Center","footer.legal":"Legal","footer.privacy":"Privacy Policy","footer.terms":"Terms of Use","footer.download":"Download the App","footer.qr.google":"Google Play","footer.qr.app":"App Store","footer.copyright":"\xa9 {year} Habali TV. All rights reserved. Live African & Caribbean TV for the diaspora.","about.eyebrow":"About Habali TV","about.title":"Streaming Africa to the world.","about.lede":"Habali TV is a next-generation OTT streaming platform, on a mission to bring Africa's vibrant culture and storytelling to the world.","about.p1":"We deliver live television channels and on-demand content \u2014 news, sports, movies, music and cultural programming \u2014 from Africa and the Caribbean to diaspora audiences in the United States, Canada, the United Kingdom, France and across Europe.","about.bridge":"But Habali TV is more than just a streaming service. We are a digital bridge connecting:","about.card1.pill":"Viewers","about.card1.title":"Authentic African content","about.card1.body":"People who crave the news, drama, music and culture of home \u2014 wherever they live.","about.card2.pill":"Creators","about.card2.title":"A global stage","about.card2.body":"Content creators who need a worldwide platform to showcase and monetize their work.","about.card3.pill":"Advertisers","about.card3.title":"Niche, engaged reach","about.card3.body":"Brands that want meaningful engagement with African and multicultural audiences.","about.h2.screen":"Built for every screen.","about.p.screen":"Our platform is built with cutting-edge technology to ensure fast, reliable, and high-quality streaming on all devices \u2014 mobile phones, tablets, smart TVs, and web browsers.","about.h2.believe":"What we believe.","about.p.believe":"At Habali TV, we believe in representation, connection, and accessibility. Our goal is to empower African voices, support content diversity, and bring the feeling of home to every screen.","about.cta.start":"Start Watching","about.cta.plans":"See our plans","dmca.eyebrow":"Legal","dmca.title":"DMCA / Copyright Policy","dmca.lede":"Habali TV does not tolerate any copyright infringement on the site. We respond to clear notices of alleged copyright infringement that comply with the Digital Millennium Copyright Act (DMCA).","dmca.contact.label":"Notifications of claimed infringement and counter-notifications should be sent to:","dmca.contact.h2":"Where to send notices","legal.note.dmca":"\ud83d\udcdc The legal text below is presented in English (the original language of the DMCA \u2014 U.S. copyright law).","legal.note.privacy":"\ud83d\udcdc The legal text below is presented in English \u2014 the official reference version.","legal.note.terms":"\ud83d\udcdc The legal text below is presented in English \u2014 the official reference version.","privacy.eyebrow":"Legal","privacy.title":"Privacy Policy","privacy.lede":"Habali TV is a service provided by Vuku Media LLC (V.M). Your privacy is important to us. This Privacy Statement governs the practices of V.M and its affiliates. We are committed to undertaking reasonable measures to protect the privacy and security of all personal information provided to us.","privacy.contact.h2":"Contact us","privacy.contact.label":"Privacy inquiries","terms.eyebrow":"Legal","terms.title":"Terms of Use","terms.lede":"Please review these Terms of Use carefully. By accessing or using Habali TV, you agree to be bound by them.","terms.contact.h2":"Questions about these Terms?","terms.contact.label":"Reach our team","faq.eyebrow":"Support","faq.title":"Frequently asked questions.","faq.lede":"Everything you need to know about Habali TV \u2014 plans, devices, billing, support and more.","faq.cta":"Still have questions? Contact us","help.eyebrow":"Help Center","help.title":"How can we help you?","help.lede":"Answers to your most common questions about Habali TV.","help.search":"Search the knowledge base...","help.explore":"Explore the Knowledge Base","help.findanswers":"Find Answers \u2192","help.empty":'No matches for "{q}". Try a different search term or',"help.contact_support":"contact support","help.still_need":"Still need help?","help.still_need_body":"If you couldn't find the answer here, our support team is ready to help.","help.results.one":"result","help.results.other":"results","help.results.for":"for","help.247":"Our support team is available 24/7 to help you.","help.contact.usa":"USA","help.contact.canada":"Canada","help.contact.uk":"U.K","help.contact.email":"Email","rec.badge":"AI Plan Finder","rec.title":"Not sure which plan is right for you?","rec.lede":"Tell us what you love watching and our AI assistant will recommend the best Habali TV plan in seconds.","rec.placeholder":"e.g. I love Nigerian movies, African football and Afrobeat music. I live in the US.","rec.cta":"Find my plan","rec.thinking":"Thinking\u2026","rec.match_label":"Your match","rec.see_plan":"See this plan","rec.tr
2y_again":"Try again","rec.error":"Sorry \u2014 we couldn't generate a recommendation. Please try again in a moment.","help.cat1.title":"General Inquiry","help.cat1.body":"General questions about Habali TV services \u2014 what we offer, who we are, and how to get started.","help.cat2.title":"Managing Habali TV","help.cat2.body":"Tips and tricks for managing your account, subscription, billing, profiles and preferences.","help.cat3.title":"Watching Habali TV","help.cat3.body":"Everything about streaming on Habali TV \u2014 Live TV, DVR, replays, parental controls and viewing on every device.","help.cat4.title":"Technical Help & Troubleshooting","help.cat4.body":"Resolving issues like playback, buffering, login, app installation and device setup.","tut.eyebrow":"Watch & Learn","tut.title":"Habali TV Tutorials.","tut.lede":"Short, friendly walkthroughs to help you get the most out of Habali TV \u2014 on every screen.","tut.videos":"{n} Videos","tut.cta.yt":"\u25b6 More on YouTube","tut.cta.faq":"Read the FAQ","tut.sec1.title":"Habali TV Tutorials","tut.sec1.blurb":"Account, billing and subscription walk-throughs.","tut.sec2.title":"Habali TV \u2014 Mobile & Tablets","tut.sec2.blurb":"Using Habali TV on your phone or tablet \u2014 categories, search, installation.","tut.v1":"How to cancel a subscription","tut.v2":"How to upgrade / downgrade / change my subscription package or plan","tut.v3":"How to access my DVR channel (English version)","tut.v4":"How to find a category","tut.v5":"How to search for a channel","ad.eyebrow":"Put your brand in front of the right audience at the right time.","ad.headline":"Habali TV delivers targeted advertising across streaming devices worldwide","ad.sub":"Get Started \u2014 Advertise With Us","ad.cta":"Get Started \u2192","adv.eyebrow":"Advertise with us","adv.title":"Reach the African & Caribbean diaspora at scale.","adv.lede":"Habali TV delivers targeted streaming TV advertisement to African and Caribbean diaspora audiences across the United States, Canada, the UK and Europe. Tell us a little about your brand and our team will get back to you within 1\u20132 business days.","adv.name":"Your name","adv.company":"Company","adv.email":"Email","adv.phone":"Phone","adv.budget":"Estimated monthly budget","adv.budget.placeholder":"Select a range","adv.budget.r1":"Under $1,000","adv.budget.r2":"$1,000 \u2014 $5,000","adv.budget.r3":"$5,000 \u2014 $25,000","adv.budget.r4":"$25,000 \u2014 $100,000","adv.budget.r5":"$100,000+","adv.goals":"Tell us about your goals","adv.goals.placeholder":"What product or brand do you want to promote? Who is your target audience?","adv.submit":"Submit Inquiry","adv.sending":"Sending\u2026","adv.success":"Thanks! Your inquiry was received. Our team will reach out within 1\u20132 business days.","adv.error":"Something went wrong. Please email us directly at [email protected].","adv.note":"Prefer email? Reach us directly at"},fr:{"nav.live":"TV en direct","nav.channels":"Cha\xeenes","nav.dvr":"Cloud DVR","nav.plans":"Forfaits","nav.devices":"Appareils","nav.haiti":"Haiti Tele","nav.haiti.title":"Cha\xeenes TV ha\xeftiennes en direct","nav.signin":"Connexion","nav.start":"Regarder","nav.lang":"EN","hero.eyebrow":"TV africaine & ha\xeftienne en direct \u2022 \xc0 tout moment \u2022 Partout","hero.title":"Live African & Caribbean TV from home.","hero.title.a":"Live African &","hero.title.b":"Caribbean TV from home.","hero.copy":"Regardez la TV africaine en ligne et streamez la TV ha\xeftienne en direct au m\xeame endroit. Habali TV r\xe9unit les cha\xeenes africaines en direct, Haiti Tele et les cha\xeenes TV carib\xe9ennes pour la diaspora \u2014 sur tous vos appareils.","hero.cta.start":"Commencer \xe0 regarder","hero.cta.browse":"Voir les cha\xeenes","hero.cta.haiti":"D\xe9couvrir Haiti Tele \u2192","hero.stat.live":"Cha\xeenes en direct","hero.stat.dvr":"Cloud DVR & EPG","hero.stat.devices":"TV \u2022 Mobile \u2022 Web","live.eyebrow":"N\xb01 pour la diaspora africaine & ha\xeftienne","live.title":"Cha\xeenes TV africaines & TV ha\xeftienne en direct \u2014 une seule app.","live.seeplans":"Voir les forfaits","live.feat1.pill":"Direct","live.feat1.title":"Regardez la TV africaine en ligne \u2014 en direct","live.feat1.body":"Cha\xeenes africaines en direct : actualit\xe9, culture, divertissement, sport et programmes communautaires du Cameroun, du S\xe9n\xe9gal, du Ghana, de la C\xf4te d'Ivoire, du Nigeria et au-del\xe0.","live.feat2.pill":"Replay","live.feat2.title":"Cloud DVR","live.feat2.body":"Enregistrez les \xe9missions des cha\xeenes compatibles \u2014 y compris la TV ha\xeftienne en direct \u2014 et revenez quand vous \xeates pr\xeat.","live.feat3.pill":"Mondial","live.feat3.title":"La TV pour la diaspora africaine et ha\xeftienne","live.feat3.body":"Pens\xe9 pour la diaspora africaine, ha\xeftienne et carib\xe9enne aux \xc9tats-Unis, au Canada, au Royaume-Uni, en France et au-del\xe0.","channels.eyebrow":"EN DIRECT MAINTENANT","channels.title":"Cha\xeenes TV africaines & cha\xeenes TV carib\xe9ennes \xe0 la une","channels.seeall":"Voir toutes les cha\xeenes \u2192","haitiband.eyebrow":"NOUVEAU \u2022 TV ha\xeftienne en direct","haitiband.title":"Cha\xeenes TV ha\xeftiennes en direct \u2014 Haiti Tele","haitiband.body":"Regardez la TV ha\xeftienne en ligne avec Haiti Tele : actualit\xe9, konpa, films et \xe9v\xe9nements en direct depuis Ha\xefti \u2014 pour la diaspora ha\xeftienne sur tous les appareils. Forfaits d\xe8s 13,83 $/mois.","haitiband.cta":"D\xe9couvrir Haiti Tele","haitiband.link":"Voir la programmation, les tarifs et la FAQ \u2192","htpage.eyebrow":"Haiti Tele \u2022 Streaming TV ha\xeftienne en direct","htpage.h1":"Regardez la TV ha\xeftienne en direct avec Haiti Tele","htpage.welcome.ht":"Gade televizyon ayisyen kote ou ye.","htpage.welcome.fr":"Regardez la t\xe9l\xe9 ha\xeftienne en direct, o\xf9 que vous soyez.","htpage.lede":"Streamez la TV ha\xeftienne en direct avec Haiti Tele : actualit\xe9, konpa, films et \xe9v\xe9nements depuis Ha\xefti \u2014 pour la diaspora ha\xeftienne aux \xc9tats-Unis, au Canada, en France et au-del\xe0. Regardez la TV ha\xeftienne en ligne sur TV, mobile ou tablette avec un abonnement Habali TV.","htpage.notify.title":"Recevez une alerte au lancement de Haiti Tele","htpage.notify.sub":"Laissez votre e-mail \u2014 nous vous pr\xe9viendrons d\xe8s l'ouverture le 1er ao\xfbt 2026.","htpage.notify.placeholder":"[email protected]","htpage.notify.cta":"Me pr\xe9venir","htpage.notify.sending":"Envoi\u2026","htpage.notify.ok":"M\xe8si ! Vous \xeates sur la liste \u2014 nous vous pr\xe9viendrons au lancement.","htpage.notify.err":"D\xe9sol\xe9 \u2014 une erreur est survenue. Veuillez r\xe9essayer.","htpage.channels.h2":"Cha\xeenes TV ha\xeftiennes dans la programmation Haiti Tele","htpage.channels.body":"Haiti Tele r\xe9unit les meilleures cha\xeenes TV ha\xeftiennes pour la diaspora \u2014 de l'actualit\xe9 nationale depuis Port-au-Prince au konpa, aux retransmissions religieuses, au sport et aux \xe9v\xe9nements culturels en direct.","htpage.included.h2":"Ce qui est inclus avec Haiti Tele","htpage.included.1":"TV ha\xeftienne en direct sur toutes les cha\xeenes de la programmation Haiti Tele","htpage.included.2":"Cloud DVR sur certaines \xe9missions pour regarder la TV ha\xeftienne \xe0 votre rythme","htpage.included.3":"Lecture et menus bilingues en krey\xf2l et en fran\xe7ais","htpage.included.4":"Sur TV (Roku, Fire TV, Apple TV, Samsung, LG), mobile (iOS, Android) et web","htpage.included.5":"Support client 24/7 en anglais, fran\xe7ais et cr\xe9ole ha\xeftien","htpage.pricing.h2":"Tarifs Haiti Tele","htpage.pricing.sub":"Tarification simple et fixe pour la TV ha\xeftienne en direct \u2014 choisissez la dur\xe9e qui vous convient.","htpage.pricing.plan":"Forfait","htpage.pricing.price":"Prix","htpage.pricing.effective":"Co\xfbt mensuel effectif","htpage.pricing.action":"","htpage.pricing.monthly":"Mensuel","htpage.pricing.quarterly":"Trimestriel (3 mois)","htpage.pricing.semi":"Semestriel (6 mois)","htpage.pricing.annual"
2:"Annuel (12 mois)","htpage.pricing.bestvalue":"Meilleure offre","htpage.pricing.cta":"Pr\xe9-commander","htpage.faq.h2":"Haiti Tele \u2014 Questions fr\xe9quentes","htpage.faq.q1":"Quelles cha\xeenes sont incluses dans Haiti Tele ?","htpage.faq.a1":"Haiti Tele inclut une s\xe9lection des principales cha\xeenes TV ha\xeftiennes \u2014 actualit\xe9 nationale, cha\xeenes de konpa, programmes culturels en direct et films \u2014 diffus\xe9es depuis Ha\xefti pour la diaspora ha\xeftienne dans le monde.","htpage.faq.q2":"Combien co\xfbte Haiti Tele ?","htpage.faq.a2":"Haiti Tele co\xfbte 15,99 $/mois, 45,99 $ pour 3 mois, 85,99 $ pour 6 mois, ou 165,99 $/an (soit 13,83 $/mois \u2014 notre meilleure offre).","htpage.faq.q3":"Puis-je regarder la TV ha\xeftienne sur mon t\xe9l\xe9phone ou ma Smart TV ?","htpage.faq.a3":"Oui. Regardez la TV ha\xeftienne en ligne avec l'application Habali TV sur Roku, Fire TV, Apple TV, Samsung Smart TV, LG, Android, iOS et le web \u2014 un seul abonnement, tous les \xe9crans.","htpage.faq.q4":"Puis-je annuler \xe0 tout moment ?","htpage.faq.a4":"Oui \u2014 vous pouvez annuler votre abonnement Haiti Tele \xe0 tout moment depuis votre compte. Aucun engagement de longue dur\xe9e.","htpage.faq.q5":"Habali TV propose-t-il aussi des cha\xeenes africaines ?","htpage.faq.a5":"Absolument. Habali TV propose \xe9galement des cha\xeenes africaines en direct (Africa TV Gold, Ghana TV, Lusophone TV et plus) aux c\xf4t\xe9s de la TV ha\xeftienne \u2014 de quoi contenter les foyers africains et ha\xeftiens au m\xeame endroit.","htpage.cta.h2":"Pr\xeat \xe0 regarder la TV ha\xeftienne en direct ?","htpage.cta.body":"R\xe9servez votre forfait Haiti Tele aujourd'hui ou laissez votre e-mail pour \xeatre pr\xe9venu au lancement le 1er ao\xfbt 2026.","htpage.cta.preorder":"Choisir Haiti Tele","htpage.cta.notify":"Me pr\xe9venir au lancement","dvr.eyebrow":"Cloud DVR","dvr.title":"Ne manquez jamais vos programmes en direct pr\xe9f\xe9r\xe9s.","dvr.body":"Enregistrez les cha\xeenes en direct compatibles, sauvegardez vos programmes et regardez-les plus tard quand votre emploi du temps le permet.","dvr.rec":"ENR","dvr.rec.title":"Journal du soir","dvr.rec.sub":"Enregistr\xe9 dans le Cloud DVR","dvr.live":"DIRECT","dvr.live.title":"Cha\xeene communautaire","dvr.live.sub":"Disponible maintenant","plans.eyebrow":"Forfaits simples","plans.title":"Choisissez votre forfait Habali TV","plans.popular":"Le plus populaire","plans.bestvalue":"Meilleure offre","plans.period.1":"Mensuel","plans.period.3":"3 Mois","plans.period.6":"6 Mois","plans.period.12":"12 Mois","plans.suffix.1":"/mois","plans.suffix.3":"/3 mois","plans.suffix.6":"/6 mois","plans.suffix.12":"/an","plan.silver.name":"Africa TV Silver","plan.silver.tag":"Id\xe9al pour commencer","plan.silver.cta":"Choisir Silver","plan.silver.f1":"Cha\xeenes africaines en direct (s\xe9lection)","plan.silver.f2":"Streaming HD standard","plan.silver.f3":"Jusqu'\xe0 2 appareils simultan\xe9s","plan.silver.f4":"Toutes les plateformes prises en charge","plan.silver.f5":"Annulez \xe0 tout moment","plan.gold.name":"Africa TV Gold","plan.gold.tag":"Tout pour toute la famille","plan.gold.cta":"S'abonner maintenant","plan.gold.f1":"Tout l'offre Silver inclus","plan.gold.f2":"Cloud DVR","plan.gold.f3":"Jusqu'\xe0 2 appareils simultan\xe9s","plan.gold.f4":"Biblioth\xe8que premium de films africains","plan.gold.f5":"Acc\xe8s anticip\xe9 aux nouveaut\xe9s","plan.ghana.name":"Ghana TV","plan.ghana.tag":"Cha\xeenes en direct uniquement du Ghana","plan.ghana.cta":"Choisir Ghana TV","plan.ghana.f1":"Toutes les cha\xeenes ghan\xe9ennes en direct","plan.ghana.f2":"Actualit\xe9s et divertissement locaux","plan.ghana.f3":"Streaming HD standard","plan.ghana.f4":"Jusqu'\xe0 2 appareils simultan\xe9s","plan.ghana.f5":"Annulez \xe0 tout moment","plan.lusophone.name":"Lusophone TV","plan.lusophone.tag":"Cha\xeenes TV portugaises & lusophones","plan.lusophone.cta":"Choisir Lusophone","plan.lusophone.f1":"Cha\xeenes en langue portugaise","plan.lusophone.f2":"Contenu africain lusophone","plan.lusophone.f3":"Streaming HD standard","plan.lusophone.f4":"Jusqu'\xe0 2 appareils simultan\xe9s","plan.lusophone.f5":"Annulez \xe0 tout moment","plan.haiti.name":"Haiti Tele","plan.haiti.tag":"Info, musique et culture d'Ha\xefti","plan.haiti.cta":"Obtenir Haiti Tele","plan.haiti.f1":"Cha\xeenes TV ha\xeftiennes en direct","plan.haiti.f2":"Infos, musique et fictions en Krey\xf2l et fran\xe7ais","plan.haiti.f3":"Jusqu'\xe0 2 appareils simultan\xe9s","plan.haiti.f4":"Tous les appareils de streaming pris en charge","plan.haiti.f5":"Disponible maintenant","haiti.badge":"Disponible maintenant","haiti.form.t
2itle":"Pr\xe9-commander Haiti Tele","haiti.form.lede":"Haiti Tele sera lanc\xe9 le 1er ao\xfbt 2026. R\xe9servez votre place \u2014 nous vous pr\xe9viendrons par e-mail d\xe8s l'ouverture.","haiti.form.name":"Nom complet","haiti.form.name.placeholder":"Jean-Pierre Louis","haiti.form.email":"E-mail","haiti.form.email.placeholder":"[email protected]","haiti.form.phone":"T\xe9l\xe9phone","haiti.form.phone.placeholder":"+1 (555) 123-4567","haiti.form.address":"Adresse","haiti.form.address.placeholder":"Rue, ville, r\xe9gion, pays","haiti.form.plan":"Forfait souhait\xe9","haiti.form.plan.1":"1 mois","haiti.form.plan.3":"3 mois","haiti.form.plan.6":"6 mois","haiti.form.plan.12":"12 mois","haiti.form.submit":"R\xe9server ma place","haiti.form.sending":"Envoi en cours\u2026","haiti.form.close":"Fermer","haiti.form.success.title":"Vous \xeates sur la liste !","haiti.form.success.body":"Merci \u2014 votre pr\xe9-commande est enregistr\xe9e. Consultez votre bo\xeete pour la confirmation ; nous vous recontacterons le jour du lancement.","haiti.form.error":"D\xe9sol\xe9 \u2014 une erreur s'est produite. R\xe9essayez dans un instant.","haiti.form.error.email":"Veuillez saisir un e-mail valide.","haiti.form.error.name":"Veuillez saisir votre nom complet.","haiti.form.error.phone":"Veuillez saisir un num\xe9ro de t\xe9l\xe9phone valide.","haiti.counter":"Haiti Tele \u2014 {count} personnes ont d\xe9j\xe0 r\xe9serv\xe9 leur place","haiti.form.error.address":"Veuillez saisir votre adresse.","devices.eyebrow":"Regardez partout","devices.title":"Disponible sur tous vos \xe9crans pr\xe9f\xe9r\xe9s.","news.eyebrow":"Restez inform\xe9","news.title":"Abonnez-vous \xe0 notre newsletter","news.sub":"Nouvelles cha\xeenes, contenus originaux et offres \u2014 directement dans votre bo\xeete mail.","news.placeholder":"[email protected]","news.cta":"S'abonner","news.thanks":"Merci de vous \xeatre abonn\xe9 !","news.already":"Vous \xeates d\xe9j\xe0 abonn\xe9 \u2014 merci !","news.error":"D\xe9sol\xe9 \u2014 une erreur s'est produite. Veuillez r\xe9essayer.","news.push_optin":"Recevoir aussi les notifications du navigateur","news.push_added":"Notifications navigateur activ\xe9es.","news.push_denied":"(Autorisation refus\xe9e \u2014 activez les notifications dans les param\xe8tres de votre navigateur.)","news.push_error":"(Impossible d'activer les notifications du navigateur.)","footer.tag":"La r\xe9f\xe9rence du streaming pour la diaspora africaine et carib\xe9enne. Regardez la TV en direct, des films et la culture de deux continents \u2014 partout dans le monde.","footer.follow":"Suivez-nous","footer.company":"Soci\xe9t\xe9","footer.about":"\xc0 propos","footer.dmca":"DMCA","footer.refer":"Parrainer un ami","footer.advertise":"Publicit\xe9","footer.channel_suggestion":"Proposer une cha\xeene","footer.pricing":"Tarifs","footer.resources":"Ressources","footer.work_with_us":"Travailler avec nous","footer.plans_link":"Forfaits","footer.faq":"FAQ","footer.contact":"Nous contacter","footer.tutorials":"Tutoriels","footer.help":"Centre d'aide","footer.legal":"Mentions l\xe9gales","footer.privacy":"Politique de confidentialit\xe9","footer.terms":"Conditions d'utilisation","footer.download":"T\xe9l\xe9charger l'application","footer.qr.google":"Google Play","footer.qr.app":"App Store","footer.copyright":"\xa9 {year} Habali TV. Tous droits r\xe9serv\xe9s. TV africaine et carib\xe9enne en direct pour la diaspora.","about.eyebrow":"\xc0 propos de Habali TV","about.title":"L'Afrique en streaming, partout dans le monde.","about.lede":"Habali TV est une plateforme de streaming OTT de nouvelle g\xe9n\xe9ration, avec la mission de faire rayonner la culture et les r\xe9cits africains dans le monde entier.","about.p1":"Nous nous sp\xe9cialisons dans la diffusion de cha\xeenes TV en direct et de contenus \xe0 la demande \u2014 actualit\xe9s, sports, films, musique et programmes culturels \u2014 destin\xe9s \xe0 la diaspora africaine, en particulier aux \xc9tats-Unis, au Canada, au Royaume-Uni et en Europe.","about.bridge":"Mais Habali TV est bien plus qu'un service de streaming. Nous sommes un pont num\xe9rique qui relie :","about.card1.pill":"Spectateurs","about.card1.title":"Du contenu africain authentique","about.card1.body":"Ceux qui veulent retrouver les actualit\xe9s, s\xe9ries, musiques et la culture de chez eux \u2014 o\xf9 qu'ils vivent.","about.card2.pill":"Cr\xe9ateurs","about.card2.title":"Une sc\xe8ne mondiale","about.card2.body":"Les cr\xe9ateurs de contenu qui ont besoin d'une plateforme mondiale pour diffuser et mon\xe9tiser leurs \u0153uvres.","about.card3.pill":"Annonceurs","about.card3.title":"Une audience engag\xe9e","about.card3.body":"Les marques qui souhaitent un engagement r\xe9el avec les publics africains et multiculturels.","about.h2.screen":"Con\xe7u pour tous les \xe9crans.","about.p.screen":"Notre plateforme s'appuie sur une technologie de pointe pour garantir un streaming rapide, fiable et de haute qualit\xe9 sur tous les appareils \u2014 t\xe9l\xe9phones, tablettes, smart TV et navigateurs web.","about.h2.believe":"Ce en quoi nous croyons.","about.p.believe":"Chez Habali TV, nous croyons en la repr\xe9sentation, la connexion et l'accessibilit\xe9. Notre objectif est de valoriser les voix africaines, de soutenir la diversit\xe9 des contenus et d'apporter un parfum de chez soi sur chaque \xe9cran.","about.cta.start":"Commencer \xe0 regarder","about.cta.plans":"Voir nos forfaits","dmca.eyebrow":"Mentions l\xe9gales","dmca.title":"Politique DMCA / Droits d'auteur","dmca.lede":"Habali TV ne tol\xe8re aucune violation de droits d'auteur sur le site. Nous r\xe9pondons aux notifications claires de violation pr\xe9sum\xe9e conformes au Digital Millennium Copyright Act (DMCA).","dmca.contact.label":"Les notifications de violation pr\xe9sum\xe9e et les contre-notifications doivent \xeatre envoy\xe9es \xe0 :","dmca.contact.h2":"O\xf9 envoyer les notifications","legal.note.dmca":"\ud83d\udcdc Le texte juridique ci-dessous est pr\xe9sent\xe9 en anglais (langue originale du DMCA \u2014 loi am\xe9ricaine sur le droit d'auteur).","legal.note.privacy":"\ud83d\udcdc Le texte juridique ci-dessous est pr\xe9sent\xe9 en anglais \u2014 version officielle de r\xe9f\xe9rence.","legal.note.terms":"\ud83d\udcdc Le texte juridique ci-dessous est pr\xe9sent\xe9 en anglais \u2014 version officielle de r\xe9f\xe9rence.","privacy.eyebrow":"Mentions l\xe9gales","privacy.title":"Politique de confidentialit\xe9","privacy.lede":"Habali TV est un service fourni par Vuku Media LLC (V.M). Votre vie priv\xe9e est importante pour nous. Cette Politique de confidentialit\xe9 r\xe9git les pratiques de V.M et de ses filiales. Nous nous engageons \xe0 prendre des mesures raisonnables pour prot\xe9ger la confidentialit\xe9 et la s\xe9curit\xe9 de toutes les informations personnelles qui nous sont fournies.","privacy.contact.h2":"Nous contacter","privacy.contact.label":"Demandes de confidentialit\xe9","terms.eyebrow":"Mentions l\xe9gales","terms.title":"Conditions d'utilisation","terms.lede":"Veuillez lire attentivement ces Conditions d'utilisation. En acc\xe9dant \xe0 Habali TV ou en l'utilisant, vous acceptez d'\xeatre li\xe9 par celles-ci.","terms.contact.h2":"Des questions ?","terms.contact.label":"Contactez notre \xe9quipe","faq.eyebrow":"Assistance","faq.title":"Foire aux questions.","faq.lede":"Tout ce que vous devez savoir sur Habali TV \u2014 forfaits, appareils, facturation, assistance et plus encore.","faq.cta":"D'autres questions ? Contactez-nous","help.eyebrow":"Centre d'aide","help.title":"Comment pouvons-nous vous aider ?","help.lede":"R\xe9ponses \xe0 vos questions les plus fr\xe9quentes sur Habali TV.","help.search":"Rechercher dans la base de connaissances...","help.explore":"Explorer la base de connaissances","help.findanswers":"Voir les r\xe9ponses \u2192","help.empty":'Aucun r\xe9sultat pour "{q}". Essayez un autre mot-cl\xe9 ou',"help.contact_support":"contactez l'assistance","help.still_need":"Besoin d'aide suppl\xe9mentaire ?","help.still_need_body":"Si vous n'avez pas trouv\xe9 la r\xe9ponse ici, notre \xe9quipe d'assistance est pr\xeate \xe0 vous aider.","help.results.one":"r\xe9sultat","help.results.other":"r\xe9sultats","help.results.for":"pour","help.247":"Notre \xe9quipe d'assistance est disponible 24h/24 et 7j/7.","help.contact.usa":"\xc9tats-Unis","help.contact.canada":"Canada","help.contact.uk":"Royaume-Uni","help.contact.email":"E-mail","rec.badge":"Conseiller IA","rec.title":"Vous h\xe9sitez entre les forfaits ?","rec.lede":"Dites-nous ce que vous aimez regarder et notre assistant IA vous recommandera le meilleur forfait Habali TV en quelques secondes.","rec.placeholder":"ex. J'aime les films nig\xe9rians, le foot africain et la musique afrobeat. Je vis aux \xc9tats-Unis.","rec.cta":"Trouver mon forfait","rec.thinking":"R\xe9flexion\u2026","rec.match_label":"Votre choix id\xe9al","rec.see_plan":"Voir ce forfait","rec.tr
2y_again":"R\xe9essayer","rec.error":"D\xe9sol\xe9 \u2014 nous n'avons pas pu g\xe9n\xe9rer de recommandation. Veuillez r\xe9essayer dans un instant.","help.cat1.title":"Renseignements g\xe9n\xe9raux","help.cat1.body":"Questions g\xe9n\xe9rales sur les services Habali TV \u2014 ce que nous proposons, qui nous sommes et comment commencer.","help.cat2.title":"G\xe9rer Habali TV","help.cat2.body":"Astuces pour g\xe9rer votre compte, votre abonnement, la facturation, les profils et pr\xe9f\xe9rences.","help.cat3.title":"Regarder Habali TV","help.cat3.body":"Tout sur le streaming Habali TV \u2014 TV en direct, DVR, replays, contr\xf4le parental et visionnage sur chaque appareil.","help.cat4.title":"Aide technique & d\xe9pannage","help.cat4.body":"R\xe9soudre les probl\xe8mes de lecture, mise en m\xe9moire tampon, connexion, installation et configuration des appareils.","tut.eyebrow":"Regarder & apprendre","tut.title":"Tutoriels Habali TV.","tut.lede":"De courts tutoriels conviviaux pour profiter au maximum de Habali TV \u2014 sur tous vos \xe9crans.","tut.videos":"{n} Vid\xe9os","tut.cta.yt":"\u25b6 Plus sur YouTube","tut.cta.faq":"Lire la FAQ","tut.sec1.title":"Tutoriels Habali TV","tut.sec1.blurb":"Compte, facturation et tutoriels d'abonnement.","tut.sec2.title":"Habali TV \u2014 Mobile & Tablettes","tut.sec2.blurb":"Utiliser Habali TV sur votre t\xe9l\xe9phone ou tablette \u2014 cat\xe9gories, recherche, installation.","tut.v1":"Comment annuler un abonnement","tut.v2":"Comment changer de forfait (mise \xe0 niveau / r\xe9trogradation)","tut.v3":"Comment acc\xe9der \xe0 ma cha\xeene DVR (version fran\xe7aise)","tut.v4":"Comment trouver une cat\xe9gorie","tut.v5":"Comment rechercher une cha\xeene","ad.eyebrow":"Mettez votre marque devant la bonne audience, au bon moment.","ad.headline":"Habali TV propose de la publicit\xe9 cibl\xe9e sur tous les appareils de streaming dans le monde","ad.sub":"Commencer \u2014 Faites de la publicit\xe9 avec nous","ad.cta":"Commencer \u2192","adv.eyebrow":"Faites de la publicit\xe9 avec nous","adv.title":"Atteignez la diaspora africaine & carib\xe9enne \xe0 grande \xe9chelle.","adv.lede":"Habali TV propose de la publicit\xe9 cibl\xe9e en streaming TV aupr\xe8s des audiences de la diaspora africaine et carib\xe9enne aux \xc9tats-Unis, au Canada, au Royaume-Uni et en Europe. Parlez-nous bri\xe8vement de votre marque et notre \xe9quipe vous r\xe9pondra sous 1 \xe0 2 jours ouvr\xe9s.","adv.name":"Votre nom","adv.company":"Soci\xe9t\xe9","adv.email":"E-mail","adv.phone":"T\xe9l\xe9phone","adv.budget":"Budget mensuel estim\xe9","adv.budget.placeholder":"Choisir une fourchette","adv.budget.r1":"Moins de 1 000 $","adv.budget.r2":"1 000 $ \u2014 5 000 $","adv.budget.r3":"5 000 $ \u2014 25 000 $","adv.budget.r4":"25 000 $ \u2014 100 000 $","adv.budget.r5":"100 000 $ et plus","adv.goals":"Parlez-nous de vos objectifs","adv.goals.placeholder":"Quel produit ou quelle marque souhaitez-vous promouvoir ? Quelle est votre audience cible ?","adv.submit":"Envoyer la demande","adv.sending":"Envoi\u2026","adv.success":"Merci ! Votre demande a bien \xe9t\xe9 re\xe7ue. Notre \xe9quipe vous r\xe9pondra sous 1 \xe0 2 jours ouvr\xe9s.","adv.error":"Une erreur est survenue. \xc9crivez-nous directement \xe0 [email protected].","adv.note":"Vous pr\xe9f\xe9rez l'e-mail ? \xc9crivez-nous directement \xe0"},ht:{"nav.live":"TV Dir\xe8k","nav.channels":"Chan\xe8l","nav.dvr":"Cloud DVR","nav.plans":"F\xf2f\xe8","nav.devices":"Apar\xe8y","nav.haiti":"Haiti Tele","nav.haiti.title":"Chan\xe8l TV Ayisyen an dir\xe8k","nav.signin":"Konekte","nav.start":"K\xf2manse Gade","nav.lang":"EN","hero.eyebrow":"TV Afriken & TV Ayisyen an Dir\xe8k \u2022 Nenp\xf2t l\xe8 \u2022 Nenp\xf2t kote","hero.title":"Chan\xe8l TV Afriken & TV Ayisyen an dir\xe8k \u2014 Yon kay pou dyaspora a","hero.title.a":"Chan\xe8l TV Afriken &","hero.title.b":"TV Ayisyen an dir\xe8k \u2014 Yon kay pou dyaspora a","hero.copy":"Gade TV Afriken sou ent\xe8n\xe8t epi stream\xe8 TV Ayisyen an dir\xe8k yon s\xe8l kote. Habali TV rasanble chan\xe8l Afriken yo an dir\xe8k, Haiti Tele ak chan\xe8l TV Karayibeyen yo pou dyaspora a \u2014 sou tout ap
2ar\xe8y.","hero.cta.start":"K\xf2manse Gade","hero.cta.browse":"Gade Chan\xe8l yo","hero.cta.haiti":"Dekouvri Haiti Tele \u2192","hero.stat.live":"Chan\xe8l an Dir\xe8k","hero.stat.dvr":"Cloud DVR & EPG","hero.stat.devices":"TV \u2022 Mobil \u2022 W\xe8b","live.eyebrow":"#1 pou dyaspora Afriken ak Ayisyen an","live.title":"Chan\xe8l TV Afriken & TV Ayisyen an dir\xe8k \u2014 nan yon s\xe8l aplikasyon.","live.seeplans":"Gade f\xf2f\xe8 yo","live.feat1.pill":"Dir\xe8k","live.feat1.title":"Gade TV Afriken sou ent\xe8n\xe8t \u2014 an dir\xe8k","live.feat1.body":"Chan\xe8l Afriken an dir\xe8k: nouv\xe8l, kilti, div\xe8tisman, esp\xf2 ak pwogram kominot\xe8 ki soti Kamewoun, Senegal, Gana, K\xf2t Divwa, Nijerya ak l\xf2t kote.","live.feat2.pill":"Replay","live.feat2.title":"Cloud DVR","live.feat2.body":"Anrejistre emisyon nan chan\xe8l konpatib yo \u2014 enkli TV Ayisyen an dir\xe8k \u2014 epi tounen gade l\xe8 ou pare.","live.feat3.pill":"Mondyal","live.feat3.title":"TV pou dyaspora Afriken ak Ayisyen an","live.feat3.body":"Konsevwa pou dyaspora Afriken, Ayisyen ak Karayibeyen nan Etazini, Kanada, Way\xf2m Ini, Frans ak l\xf2t kote.","channels.eyebrow":"AN DIREK KOUNYE A","channels.title":"Chan\xe8l TV Afriken & chan\xe8l TV Karayibeyen yo","channels.seeall":"Gade tout chan\xe8l yo \u2192","haitiband.eyebrow":"NOUVO \u2022 TV Ayisyen an dir\xe8k","haitiband.title":"Chan\xe8l TV Ayisyen an dir\xe8k \u2014 Haiti Tele","haitiband.body":"Gade TV Ayisyen sou ent\xe8n\xe8t ak Haiti Tele: nouv\xe8l, konpa, fim ak ev\xe8nman an dir\xe8k depi Ayiti \u2014 pou dyaspora Ayisyen an sou tout apar\xe8y. F\xf2f\xe8 k\xf2manse $13.83/mwa.","haitiband.cta":"Dekouvri Haiti Tele","haitiband.link":"Gade chan\xe8l, pri ak FAQ \u2192","htpage.eyebrow":"Haiti Tele \u2022 Streaming TV Ayisyen an dir\xe8k","htpage.h1":"Gade Chan\xe8l TV Ayisyen an dir\xe8k ak Haiti Tele","htpage.welcome.ht":"Gade televizyon ayisyen kote ou ye.","htpage.welcome.fr":"Regardez la t\xe9l\xe9 ha\xeftienne en direct, o\xf9 que vous soyez.","htpage.lede":"Stream\xe8 TV Ayisyen an dir\xe8k ak Haiti Tele: nouv\xe8l, konpa, fim ak ev\xe8nman depi Ayiti \u2014 pou dyaspora Ayisyen an Etazini, Kanada, Frans ak l\xf2t kote. Gade TV Ayisyen sou ent\xe8n\xe8t sou TV ou, telef\xf2n oswa tabl\xe8t ou ak yon s\xe8l ab\xf2nman Habali TV.","htpage.notify.title":"Resevwa yon avi l\xe8 Haiti Tele lanse","htpage.notify.sub":"Kite im\xe8l ou \u2014 n ap voye yon mesaj ba ou l\xe8 TV Ayisyen an lanse 1ye out 2026.","htpage.notify.placeholder":"[email protected]","htpage.notify.cta":"Avize m","htpage.notify.sending":"Ap voye\u2026","htpage.notify.ok":"M\xe8si! Ou nan lis la \u2014 n ap voye yon im\xe8l ba ou l\xe8 lansman an.","htpage.notify.err":"Padon \u2014 yon bagay ki mal pase. Tanpri eseye ank\xf2.","htpage.channels.h2":"Chan\xe8l TV Ayisyen nan pwogramasyon Haiti Tele","htpage.channels.body":"Haiti Tele rasanble pi bon chan\xe8l TV Ayisyen yo pou dyaspora a \u2014 soti nan nouv\xe8l nasyonal P\xf2toprens rive nan konpa, retransmisyon relijye, esp\xf2 ak ev\xe8nman kiltir\xe8l an dir\xe8k.","htpage.included.h2":"Sa Haiti Tele gen ladan","htpage.included.1":"TV Ayisyen an dir\xe8k sou tout chan\xe8l nan pwogramasyon Haiti Tele","htpage.included.2":"Cloud DVR sou s\xe8ten emisyon pou w ka gade TV Ayisyen l\xe8 ou pare","htpage.included.3":"Meni ak lekti bilengm nan Krey\xf2l ak Franse","htpage.included.4":"Sou TV (Roku, Fire TV, Apple TV, Samsung, LG), mobil (iOS, Android) ak w\xe8b","htpage.included.5":"Sip\xf2 kliyant\xe8l 24/7 an Angl\xe8, Franse ak Krey\xf2l Ayisyen","htpage.pricing.h2":"Pri Haiti Tele","htpage.pricing.sub":"Pri senp ak fiks pou TV Ayisyen an dir\xe8k \u2014 chwazi long\xe8 ki bon pou ou.","htpage.pricing.plan":"F\xf2f\xe8","htpage.pricing.price":"Pri","htpage.pricing.effective":"Pri mansy\xe8l efektif","htpage.pricing.action":"","htpage.pricing.monthly":"Mansy\xe8l","htpage.pricing.quarterly":"Trim\xe8striy\xe8l (3 mwa)","htpage.pricing.semi":"Semestriy\xe8l (6 mwa)","htpage.pricing.annual":"Any\xe8l (12 mwa)","htpage.pricing.bestvalue":"Pi bon \xf2f","htpage.pricing.cta":"Pre-komande","htpage.faq.h2":"Haiti Tele \u2014 Kesyon yo poze souvan","htpage.faq.q1":"Ki chan\xe8l ki nan Haiti Tele?","htpage.faq.a1":"Haiti Tele gen ladan yon seleksyon pi bon chan\xe8l TV Ayisyen yo \u2014 nouv\xe8l nasyonal, chan\xe8l konpa, pwogram kiltir\xe8l an dir\xe8k ak fim \u2014 k ap difize depi Ayiti pou dyaspora Ayisyen an atrav\xe8 lemond.","htpage.faq.q2":"Konbyen Haiti Tele koute?","htpage.faq.a2":"Haiti Tele koute $15.99/mwa, $45.99 pou 3 mwa, $85.99 pou 6 mwa, oswa $165.99/an (sa f\xe8 $13.83/mwa \u2014 pi bon \xf2f nou an).","htpage.faq.q3":"\xc8ske m ka gade TV Ayisyen sou telef\xf2n oswa Smart TV mwen?","htpage.faq.a3":"Wi. Gade TV Ayisyen sou ent\xe8n\xe8t ak aplikasyon Habali TV sou Roku, Fire TV, Apple TV, Samsung Smart TV, LG, Android, iOS ak w\xe8b \u2014 yon s\xe8l ab\xf2nman, tout ekran.","htpage.faq.q4":"\xc8ske m ka anile nenp\xf2t l\xe8?","htpage.faq.a4":"Wi \u2014 ou k
2a anile ab\xf2nman Haiti Tele ou nenp\xf2t l\xe8 nan kont ou. Pa gen kontra long t\xe8m.","htpage.faq.q5":"\xc8ske Habali TV gen chan\xe8l Afriken tou?","htpage.faq.a5":"Wi. Habali TV genyen chan\xe8l TV Afriken an dir\xe8k tou (Africa TV Gold, Ghana TV, Lusophone TV ak plis toujou) akote TV Ayisyen an dir\xe8k \u2014 pou fanmi Afriken ak Ayisyen ka gade tout bagay yon s\xe8l kote.","htpage.cta.h2":"Pare pou gade TV Ayisyen an dir\xe8k?","htpage.cta.body":"Rez\xe8ve f\xf2f\xe8 Haiti Tele ou jodi a oswa kite im\xe8l ou pou nou avize ou l\xe8 lansman an f\xe8t 1ye out 2026.","htpage.cta.preorder":"Pre-komande Haiti Tele","htpage.cta.notify":"Avize m l\xe8 lansman an","dvr.eyebrow":"Cloud DVR","dvr.title":"Pa janm rate pwogram an dir\xe8k ou pi renmen yo.","dvr.body":"Anrejistre chan\xe8l an dir\xe8k konpatib yo, sere pwogram yo, epi gade yo pi ta l\xe8 l\xe8 a bon pou ou.","dvr.rec":"REC","dvr.rec.title":"Nouv\xe8l Asw\xe8","dvr.rec.sub":"Sere nan Cloud DVR","dvr.live":"DIREK","dvr.live.title":"Chan\xe8l Kominot\xe8","dvr.live.sub":"Disponib kounye a","plans.eyebrow":"F\xf2f\xe8 senp","plans.title":"Chwazi f\xf2f\xe8 Habali TV ou","plans.popular":"Plis Popil\xe8","plans.bestvalue":"Pi bon val\xe8","plans.period.1":"Chak Mwa","plans.period.3":"3 Mwa","plans.period.6":"6 Mwa","plans.period.12":"12 Mwa","plans.suffix.1":"/mwa","plans.suffix.3":"/3 mwa","plans.suffix.6":"/6 mwa","plans.suffix.12":"/an","plan.gold.name":"Africa TV Gold","plan.gold.tag":"Tout bagay pou tout fanmi an","plan.gold.cta":"Ab\xf2ne Kounye a","plan.gold.f1":"Tout chan\xe8l Afriken yo","plan.gold.f2":"Cloud DVR","plan.gold.f3":"Jiska 2 apar\xe8y anmenmtan","plan.gold.f4":"Bibliyot\xe8k premye klas fim Afriken","plan.gold.f5":"Aks\xe8 bon\xe8 ak nouvo kontni","plan.ghana.name":"Ghana TV","plan.ghana.tag":"Chan\xe8l TV an dir\xe8k Ghana s\xe8lman","plan.ghana.cta":"Chwazi Ghana TV","plan.ghana.f1":"Tout chan\xe8l Ghana an dir\xe8k","plan.ghana.f2":"Nouv\xe8l ak div\xe8tisman lokal","plan.ghana.f3":"Streaming HD estanda","plan.ghana.f4":"Jiska 2 apar\xe8y anmenmtan","plan.ghana.f5":"Anile nenp\xf2t l\xe8","plan.lusophone.name":"Lusophone TV","plan.lusophone.tag":"Chan\xe8l TV P\xf2tig\xe8 ak Lizof\xf2n","plan.lusophone.cta":"Chwazi Lusophone","plan.lusophone.f1":"Chan\xe8l an lang P\xf2tig\xe8","plan.lusophone.f2":"Kontni Afriken lizof\xf2n","plan.lusophone.f3":"Streaming HD estanda","plan.lusophone.f4":"Jiska 2 apar\xe8y anmenmtan","plan.lusophone.f5":"Anile nenp\xf2t l\xe8","plan.haiti.name":"Haiti Tele","plan.haiti.tag":"Nouv\xe8l, mizik ak kilti ki soti Ayiti","plan.haiti.cta":"Jwenn Haiti Tele","plan.haiti.f1":"Chan\xe8l TV Ayisyen an dir\xe8k","plan.haiti.f2":"Nouv\xe8l, mizik ak fim an Krey\xf2l ak Frans\xe8","plan.haiti.f3":"Jiska 2 apar\xe8y anmenmtan","plan.haiti.f4":"Tout apar\xe8y streaming sip\xf2te","plan.haiti.f5":"Disponib kounye a","haiti.badge":"Disponib kounye a","haiti.form.title":"Pre-komande Haiti Tele","haiti.form.lede":"Haiti Tele ap lanse 1ye out 2026. Rez\xe8ve plas ou \u2014 n ap voye yon im\xe8l ba ou l\xe8 li disponib.","haiti.form.name":"Non konpl\xe8","haiti.form.name.placeholder":"Jean-Pierre Louis","haiti.form.email":"Im\xe8l","haiti.form.email.placeholder":"[email protected]","haiti.form.phone":"Telef\xf2n","haiti.form.phone.placeholder":"+1 (555) 123-4567","haiti.form.address":"Adr\xe8s","haiti.form.address.placeholder":"Ri, vil, eta/rejyon, peyi","haiti.form.plan":"F\xf2f\xe8 ou vle","haiti.form.plan.1":"1 mwa","haiti.form.plan.3":"3 mwa","haiti.form.plan.6":"6 mwa","haiti.form.plan.12":"12 mwa","haiti.form.submit":"Rez\xe8ve plas mwen","haiti.form.sending":"Ap voye\u2026","haiti.form.close":"F\xe8men","haiti.form.success.title":"Ou nan lis la!","haiti.form.success.body":"M\xe8si \u2014 nou anrejistre pre-komand ou. Verifye bwat mesaj ou pou konfimasyon; n ap kontakte ou jou lansman an.","haiti.form.error":"Padon \u2014 yon bagay ki mal pase. Tanpri eseye ank\xf2 nan yon moman.","haiti.form.error.email":"Tanpri antre yon im\xe8l valid.","haiti.form.error.name":"Tanpri antre non konpl\xe8 ou.","haiti.form.error.phone":"Tanpri antre yon nimewo telef\xf2n valid.","haiti.counter":"Haiti Tele \u2014 {count} moun gen tan rez\xe8ve plas yo","haiti.form.error.address":"Tanpri antre adr\xe8s ou.","devices.eyebrow":"Gade tout kote","devices.title":"Disponib sou tout ekran ou pi renmen yo.","news.eyebrow":"Rete konekte","news.title":"Ab\xf2ne ak bilten nou an","news.sub":"Nouvo chan\xe8l, kontni orijinal ak \xf2f \u2014 dir\xe8kteman nan bwat mesaj ou.","news.placeholder":"[email protected]","news.cta":"Ab\xf2ne","news.thanks":"M\xe8si paske ou ab\xf2ne!","news.already":"Ou deja ab\xf2ne \u2014 m\xe8si!","news.error":"Padon \u2014 gen yon bagay ki mal pase. Tanpri eseye ank\xf2.","news.push_optin":"Voye tou notifikasyon nan navigat\xe8 a","news.push_added":"Notifikasyon navigat\xe8 aktive.","news.push_denied":"(P\xe8misyon pou notifikasyon te refize \u2014 aktive li nan param\xe8t navigat\xe8 ou.)","news.push_error":"(Pa t kapab aktive notifikasyon navigat\xe8 yo.)","sub.eyebrow":"Rete konekte","sub.title":"Jwenn notifikasyon l\xe8 nou lanse nouvo chan\xe8l","sub.lede":"Chwazi kijan ou vle tande nan men n
2ou \u2014 notifikasyon navigat\xe8, mesaj im\xe8l, oswa toude. Dezab\xf2ne nenp\xf2t l\xe8.","sub.push.title":"Notifikasyon navigat\xe8","sub.push.sub":"Resevwa yon avi imedyat l\xe8 yon nouvo anons soti \u2014 pa gen bwat mesaj ki neses\xe8.","sub.push.cta":"Aktive notifikasyon","sub.push.subscribed":"Notifikasyon aktive","sub.push.working":"Ap travay\u2026","sub.push.denied":"P\xe8misyon refize. Aktive notifikasyon nan param\xe8t navigat\xe8 ou pou ab\xf2ne.","sub.push.error":"Pa t kapab aktive notifikasyon yo. Tanpri eseye ank\xf2.","sub.push.unsupported":"Notifikasyon navigat\xe8 pa sip\xf2te sou apar\xe8y sa a.","sub.email.title":"Mesaj im\xe8l","sub.email.sub":"N ap voye yon ti n\xf2t l\xe8 gen nouv\xe8l enp\xf2tan \u2014 nouvo chan\xe8l, fonksyonalite ak \xf2f.","sub.email.placeholder":"[email protected]","sub.email.cta":"Ab\xf2ne","sub.email.working":"\u2026","sub.email.ok":"Ou anndan! Verifye bwat mesaj ou.","sub.email.already":"Ou deja ab\xf2ne \u2014 m\xe8si!","sub.email.error":"Padon \u2014 pa t kapab ab\xf2ne. Tanpri eseye ank\xf2.","footer.tag":"Destinasyon streaming premye klas la pou dyaspora Afriken ak Karayibeyen an. Gade TV an dir\xe8k, fim ak kilti soti nan de kontinan \u2014 nenp\xf2t kote nan mond lan.","footer.follow":"Swiv nou","footer.company":"Konpayi","footer.about":"Sou nou","footer.dmca":"DMCA","footer.refer":"Pale ak yon zanmi","footer.advertise":"Piblisite","footer.channel_suggestion":"Sijere yon Chan\xe8l","footer.pricing":"Pri","footer.resources":"Resous","footer.work_with_us":"Travay av\xe8k nou","footer.plans_link":"F\xf2f\xe8","footer.faq":"FAQ","footer.contact":"Kontakte nou","footer.tutorials":"Titory\xe8l","footer.help":"Sant \xc8d","footer.legal":"Legal","footer.privacy":"Politik Konfidansyalite","footer.terms":"Kondisyon Itilizasyon","footer.download":"Telechaje App la","footer.qr.google":"Google Play","footer.qr.app":"App Store","footer.copyright":"\xa9 {year} Habali TV. Tout dwa rez\xe8ve. TV Afriken ak Karayibeyen an dir\xe8k pou dyaspora a.","about.eyebrow":"Sou Habali TV","about.title":"Streaming Afrik pou mond lan.","about.lede":"Habali TV se yon platf\xf2m streaming OTT nouv\xe8l jenerasyon, ki gen misyon pou pote kilti vibran ak istwa Afrik la nan tout mond lan.","about.p1":"Nou bay chan\xe8l televizyon an dir\xe8k ak kontni sou demand \u2014 nouv\xe8l, esp\xf2, fim, mizik ak pwogram kiltir\xe8l \u2014 soti Afrik ak Karayib pou piblik dyaspora yo nan Etazini, Kanada, Way\xf2m Ini, Frans ak toupatou an Ew\xf2p.","about.bridge":"Men Habali TV se plis pase yon senp s\xe8vis streaming. Nou se yon pon dijital ki konekte:","about.card1.pill":"Espektat\xe8","about.card1.title":"Kontni Afriken otantik","about.card1.body":"Moun ki anvi nouv\xe8l, drama, mizik ak kilti lakay yo \u2014 nenp\xf2t kote yo rete.","about.card2.pill":"Kreyat\xe8","about.card2.title":"Yon s\xe8n mondyal","about.card2.body":"Kreyat\xe8 kontni ki bezwen yon platf\xf2m mondyal pou montre epi monetize travay yo.","about.card3.pill":"Anons\xe8","about.card3.title":"Odyans angaje","about.card3.body":"Mak ki vle yon angajman enp\xf2tan ak piblik Afriken ak miltikiltir\xe8l.","about.h2.screen":"F\xe8t pou chak ekran.","about.p.screen":"Platf\xf2m nou an bati ak teknoloji d\xe8nye kri pou asire streaming rapid, fyab ak wo kalite sou tout apar\xe8y \u2014 telef\xf2n mobil, tabl\xe8t, smart TV ak navigat\xe8 w\xe8b.","about.h2.believe":"Sa nou kw\xe8.","about.p.believe":"Nan Habali TV, nou kw\xe8 nan reprezantasyon, koneksyon ak aksesiblite. Objektif nou se bay vwa Afriken yo pouvwa, sip\xf2te div\xe8site kontni, epi pote santiman lakay sou chak ekran.","about.cta.start":"K\xf2manse Gade","about.cta.plans":"Gade f\xf2f\xe8 nou yo","dmca.eyebrow":"Legal","dmca.title":"Politik DMCA / Dwa Ot\xe8","dmca.lede":"Habali TV pa tolere okenn vyolasyon dwa ot\xe8 sou sit la. Nou reponn a avi kl\xe8 sou vyolasyon dwa ot\xe8 ki respekte Digital Millennium Copyright Act (DMCA).","dmca.contact.label":"Notifikasyon vyolasyon prezime ak kont-notifikasyon yo dwe voye nan:","dmca.contact.h2":"Ki kote pou voye avi yo","legal.note.dmca":"\ud83d\udcdc T\xe8ks legal anba a prezante an angl\xe8 (lang orijinal DMCA a \u2014 lwa dwa ot\xe8 Ameriken).","legal.note.privacy":"\ud83d\udcdc T\xe8ks legal anba a prezante an angl\xe8 \u2014 v\xe8syon referans ofisy\xe8l la.","legal.note.terms":"\ud83d\udcdc T\xe8ks legal anba a prezante an angl\xe8 \u2014 v\xe8syon referans ofisy\xe8l la.","privacy.eyebrow":"Legal","privacy.title":"Politik Konfidansyalite","privacy.lede":"Habali TV se yon s\xe8vis ki bay pa Vuku Media LLC (V.M). Vi prive ou enp\xf2tan pou nou. Deklarasyon Konfidansyalite sa a gouv\xe8ne pratik V.M ak filial li yo. Nou angaje nou pou pran mezi rezonab pou pwoteje konfidansyalite ak sekirite tout enf\xf2masyon p\xe8son\xe8l yo bay nou.","privacy.contact.h2":"Kontakte nou","privacy.contact.label":"Demand konfidansyalite","terms.eyebrow":"Legal","terms.title":"Kondisyon Itilizasyon","terms.lede":"Tanpri li Kondisyon Itilizasyon sa yo ak an
2pil atansyon. L\xe8 ou aks\xe8 oswa itilize Habali TV, ou aksepte pou obeyi yo.","terms.contact.h2":"Kesyon sou Kondisyon sa yo?","terms.contact.label":"Kontakte ekip nou","faq.eyebrow":"Sip\xf2","faq.title":"Kesyon yo poze souvan.","faq.lede":"Tout sa ou bezwen konnen sou Habali TV \u2014 f\xf2f\xe8, apar\xe8y, faktirasyon, sip\xf2 ak plis toujou.","faq.cta":"Ou toujou gen kesyon? Kontakte nou","help.eyebrow":"Sant \xc8d","help.title":"Kijan nou ka ede ou?","help.lede":"Repons pou kesyon ou poze pi souvan sou Habali TV.","help.search":"Ch\xe8che nan baz konesans lan...","help.explore":"Eksplore Baz Konesans lan","help.findanswers":"Jwenn Repons \u2192","help.empty":'Pa gen okenn rezilta pou "{q}". Eseye yon l\xf2t mo kle oswa',"help.contact_support":"kontakte sip\xf2 a","help.still_need":"Ou toujou bezwen \xe8d?","help.still_need_body":"Si ou pa t jwenn repons ou an isit la, ekip sip\xf2 nou an pare pou ede ou.","help.results.one":"rezilta","help.results.other":"rezilta","help.results.for":"pou","help.247":"Ekip sip\xf2 nou an disponib 24/7 pou ede ou.","help.contact.usa":"Etazini","help.contact.canada":"Kanada","help.contact.uk":"Way\xf2m Ini","help.contact.email":"Im\xe8l","rec.badge":"Konseye F\xf2f\xe8 AI","rec.title":"Ou pa s\xe8ten ki f\xf2f\xe8 ki bon pou ou?","rec.lede":"Di nou sa ou renmen gade epi asistan AI nou an ap rek\xf2mande pi bon f\xf2f\xe8 Habali TV a nan k\xe8k segonn.","rec.placeholder":"egz. Mwen renmen fim Nijeryen, foutb\xf2l Afriken ak mizik Afrobeat. Mwen rete Ozetazini.","rec.cta":"Jwenn f\xf2f\xe8 m","rec.thinking":"Ap reflechi\u2026","rec.match_label":"Chwa ou an","rec.see_plan":"Gade f\xf2f\xe8 sa a","rec.try_again":"Eseye ank\xf2","rec.error":"Padon \u2014 nou pa t kapab jenere yon rek\xf2mandasyon. Tanpri eseye ank\xf2 nan yon moman.","help.cat1.title":"Enf\xf2masyon Jeneral","help.cat1.body":"Kesyon jeneral sou s\xe8vis Habali TV \u2014 sa nou ofri, kiy\xe8s nou ye, ak kijan pou k\xf2manse.","help.cat2.title":"Jere Habali TV","help.cat2.body":"Kons\xe8y pou jere kont ou, ab\xf2nman, faktirasyon, pwofil ak preferans.","help.cat3.title":"Gade Habali TV","help.cat3.body":"Tout sou streaming Habali TV \u2014 TV Dir\xe8k, DVR, replay, kontw\xf2l paran ak gade sou chak apar\xe8y.","help.cat4.title":"\xc8d Teknik ak Depanaj","help.cat4.body":"Rezoud pwobl\xe8m tankou lekti, bufring, koneksyon, enstalasyon app ak konfigirasyon apar\xe8y.","tut.eyebrow":"Gade & Aprann","tut.title":"Titory\xe8l Habali TV.","tut.lede":"Ti gid kout ak zanmitay pou ede ou pran plis nan Habali TV \u2014 sou chak ekran.","tut.videos":"{n} Videyo","tut.cta.yt":"\u25b6 Plis sou YouTube","tut.cta.faq":"Li FAQ la","tut.sec1.title":"Titory\xe8l Habali TV","tut.sec1.blurb":"Kont, faktirasyon ak gid ab\xf2nman.","tut.sec2.title":"Habali TV \u2014 Mobil & Tabl\xe8t","tut.sec2.blurb":"Itilize Habali TV sou telef\xf2n ou oswa tabl\xe8t ou \u2014 kategori, rech\xe8ch, enstalasyon.","tut.v1":"Kijan pou anile yon ab\xf2nman","tut.v2":"Kijan pou monte / desann / chanje pak\xe8 oswa f\xf2f\xe8 ab\xf2nman m","tut.v3":"Kijan pou aks\xe8 kanal DVR mwen (v\xe8syon angl\xe8)","tut.v4":"Kijan pou jwenn yon kategori","tut.v5":"Kijan pou ch\xe8che yon chan\xe8l","ad.eyebrow":"Mete mak ou devan bon odyans la nan bon moman an.","ad.headline":"Habali TV bay piblisite sible sou apar\xe8y streaming atrav\xe8 lemond","ad.sub":"K\xf2manse \u2014 F\xe8 Piblisite Av\xe8k Nou","ad.cta":"K\xf2manse \u2192","adv.eyebrow":"F\xe8 piblisite av\xe8k nou","adv.title":"Rive jwenn dyaspora Afriken ak Karayibeyen an nan gran ech\xe8l.","adv.lede":"Habali TV bay piblisite streaming TV sible bay piblik dyaspora Afriken ak Karayibeyen nan Etazini, Kanada, Way\xf2m Ini ak Ew\xf2p. Di nou yon ti kras sou mak ou epi ekip nou ap tounen kote ou nan 1\u20132 jou ouvrab.","adv.name":"Non ou","adv.company":"Konpayi","adv.email":"Im\xe8l","adv.phone":"Telef\xf2n","adv.budget":"Bidj\xe8 mansy\xe8l estime","adv.budget.placeholder":"Chwazi yon fouch\xe8t","adv.budget.r1":"Mwens ke $1,000","adv.budget.r2":"$1,000 \u2014 $5,000","adv.budget.r3":"$5,000 \u2014 $25,000","adv.budget.r4":"$25,000 \u2014 $100,000","adv.budget.r5":"$100,000+","adv.goals":"Pale nou sou objektif ou yo","adv.goals.placeholder":"Ki pwodwi oswa mak ou vle pwomote? Kiy\xe8s ki odyans sib ou?","adv.submit":"Voye Demand","adv.sending":"Ap voye\u2026","adv.success":"M\xe8si! Nou resevwa demand ou. Ekip nou ap kontakte ou nan 1\u20132 jou ouvrab.","adv.error":"Yon bagay ki mal pase. Tanpri voye im\xe8l ba nou dir\xe8kteman nan [email protected].","adv.note":"Ou pito im\xe8l? Kontakte nou dir\xe8kteman nan"}},lr={en:[{q:"What is Habali TV?",a:"Habali TV is a premium OTT platform that allows you to stream movies, TV shows, web series, and more. Whether you're into action, drama, c
2omedy, or documentaries, Habali TV provides an extensive library of high-quality content from Africa."},{q:"Is Habali TV available globally?",a:"Yes. Habali TV is available on all connected devices globally."},{q:"How can I sign up for Habali TV?",a:"It is as easy as 1, 2, 3 to sign up for Habali TV:\n1. Go to our website: www.habalitv.com\n2. Select your package\n3. Select your plan\n4. Register and Checkout"},{q:"Is there a free trial available?",a:"Habali TV is a PAID service. There is no free trial available."},{q:"What devices are supported by Habali TV?",a:"Habali TV is available on:\n\u2022 Android TV and Mobile\n\u2022 Samsung Smart TV\n\u2022 Amazon Fire TV\n\u2022 Roku\n\u2022 iOS\n\u2022 LG Smart TV\n\u2022 Web TV"},{q:"Can I download content for offline viewing?",a:"No. Habali TV does not currently support offline downloads."},{q:"Does Habali TV offer parental controls?",a:"Yes. Parental controls can be set up via your web interface."},{q:"How can I contact customer support?",a:"Our customer support is available 24/7 to help you. You can contact us via phone, email, chat or Facebook:\n\u2022 Phone (USA): +1-202-350-9035\n\u2022 Phone (CAN): +1-416-628-6527\n\u2022 Phone (U.K): +44 20 33140423\n\u2022 Email: [email protected]\n\u2022 Chat: from our website, bottom right\n\u2022 Facebook: Habali TV"},{q:"Is there a mobile app for Habali TV?",a:"Yes, Habali TV is available on all mobile phones and tablets."}],fr:[{q:"Qu'est-ce que Habali TV ?",a:"Habali TV est une plateforme OTT premium qui vous permet de regarder en streaming des films, s\xe9ries TV, web-s\xe9ries et plus encore. Que vous aimiez l'action, le drame, la com\xe9die ou les documentaires, Habali TV propose une vaste biblioth\xe8que de contenus africains de haute qualit\xe9."},{q:"Habali TV est-il disponible dans le monde entier ?",a:"Oui. Habali TV est disponible sur tous les appareils connect\xe9s, partout dans le monde."},{q:"Comment m'inscrire \xe0 Habali TV ?",a:"S'inscrire \xe0 Habali TV est aussi simple que 1, 2, 3 :\n1. Rendez-vous sur notre site : www.habalitv.com\n2. S\xe9lectionnez votre package\n3. Choisissez votre forfait\n4. Cr\xe9ez votre compte et payez"},{q:"Existe-t-il un essai gratuit ?",a:"Habali TV est un service PAYANT. Aucun essai gratuit n'est propos\xe9."},{q:"Quels appareils sont compatibles avec Habali TV ?",a:"Habali TV est disponible sur :\n\u2022 Android TV et Mobile\n\u2022 Samsung Smart TV\n\u2022 Amazon Fire TV\n\u2022 Roku\n\u2022 iOS\n\u2022 LG Smart TV\n\u2022 Web TV"},{q:"Puis-je t\xe9l\xe9charger les contenus pour les regarder hors ligne ?",a:"Non. Habali TV ne prend pas en charge les t\xe9l\xe9chargements hors ligne pour le moment."},{q:"Habali TV propose-t-il un contr\xf4le parental ?",a:"Oui. Le contr\xf4le parental peut \xeatre configur\xe9 depuis votre interface web."},{q:"Comment contacter le service client ?",a:"Notre service client est disponible 24h/24 et 7j/7. Vous pouvez nous contacter par t\xe9l\xe9phone, e-mail, chat ou Facebook :\n\u2022 T\xe9l\xe9phone (\xc9tats-Unis) : +1-202-350-9035\n\u2022 T\xe9l\xe9phone (Canada) : +1-416-628-6527\n\u2022 T\xe9l\xe9phone (Royaume-Uni) : +44 20 33140423\n\u2022 E-mail : [email protected]\n\u2022 Chat : depuis notre site, en bas \xe0 droite\n\u2022 Facebook : Habali TV"},{q:"Existe-t-il une application mobile Habali TV ?",a:"Oui, Habali TV est disponible sur tous les t\xe9l\xe9phones portables et tablettes."}],ht:[{q:"Kisa Habali TV ye?",a:"Habali TV se yon platf\xf2m OTT premye klas ki p\xe8m\xe8t ou gade fim, seri TV, seri w\xe8b ak plis toujou an streaming. Kit ou renmen aksyon, drama, komedi oswa dokimant\xe8, Habali TV bay yon gwo bibliyot\xe8k kontni Afriken wo kalite."},{q:"\xc8ske Habali TV disponib atrav\xe8 lemond?",a:"Wi. Habali TV disponib sou tout apar\xe8y konekte atrav\xe8 lemond."},{q:"Kijan mwen ka enskri pou Habali TV?",a:"Li senp tankou 1, 2, 3 pou enskri pou Habali TV:\n1. Ale sou sit w\xe8b nou an: www.habalitv.com\n2. Chwazi pak\xe8 ou\n3. Chwazi f\xf2f\xe8 ou\n4. Enskri epi peye"},{q:"\xc8ske gen yon es\xe8 gratis?",a:"Habali TV se yon s\xe8vis PEYAN. Pa gen es\xe8 gratis."},{q:"Ki apar\xe8y Habali TV sip\xf2te?",a:"Habali TV disponib sou:\n\u2022 Android T
2V ak Mobil\n\u2022 Samsung Smart TV\n\u2022 Amazon Fire TV\n\u2022 Roku\n\u2022 iOS\n\u2022 LG Smart TV\n\u2022 W\xe8b TV"},{q:"\xc8ske mwen ka telechaje kontni pou gade san ent\xe8n\xe8t?",a:"Non. Habali TV pa sip\xf2te telechajman \xf2flin pou kounye a."},{q:"\xc8ske Habali TV ofri kontw\xf2l paran?",a:"Wi. Kontw\xf2l paran yo ka konfigire nan enf\xe8fas w\xe8b ou."},{q:"Kijan mwen ka kontakte s\xe8vis kliyant\xe8l?",a:"S\xe8vis kliyant\xe8l nou an disponib 24/7 pou ede ou. Ou ka kontakte nou pa telef\xf2n, im\xe8l, chat oswa Facebook:\n\u2022 Telef\xf2n (Etazini): +1-202-350-9035\n\u2022 Telef\xf2n (Kanada): +1-416-628-6527\n\u2022 Telef\xf2n (Way\xf2m Ini): +44 20 33140423\n\u2022 Im\xe8l: [email protected]\n\u2022 Chat: sou sit nou an, anba a dwat\n\u2022 Facebook: Habali TV"},{q:"\xc8ske gen yon aplikasyon mobil pou Habali TV?",a:"Wi, Habali TV disponib sou tout telef\xf2n mobil ak tabl\xe8t."}]},ur={en:[{id:"general",title:"General",items:[{q:"How can I watch Habali TV?",a:"Habali TV works on a wide range of streaming devices, including:\n\u2022 Roku streaming players & Roku TV\u2122 models\n\u2022 Amazon Fire TV\n\u2022 Android TV devices (Nvidia Shield, Sony, Sharp TVs, and more)\n\u2022 Apple TV\n\u2022 iOS & Android mobile devices\n\u2022 Web browser at www.habalitv.com\n\nTo get started:\n1. Sign up at www.habalitv.com\n2. Choose your package and plan\n3. Complete your payment\n4. Download the Habali TV app from your device's app store\n5. Log in with the email and password you created and start watching"},{q:"Where is Habali TV available?",a:"Habali TV is available in:\n\u2022 North America \u2014 United States & Canada\n\u2022 United Kingdom\n\u2022 Europe\n\n\ud83d\udca1 All you need is a high-speed internet connection and a supported streaming device."},{q:"How do I cancel Habali TV?",a:"Habali TV is completely flexible \u2014 no contracts, no cancellation fees. You can cancel at any time by logging into your account on the Habali TV website.\n\n\ud83d\udca1 You can start or stop your subscription whenever you like, with no penalties."}]},{id:"managing",title:"Managing Your Account",items:[{q:"How do I manage my Habali TV account?",a:"You can update your account information \u2014 including email address, mobile phone number, and payment method \u2014 by logging into your account at habalitv.com."},{q:"Why can't I sign in to my account?",a:"If you're having trouble signing in, request a password reset email from the login page. You will receive an email with instructions to create a new password and regain access to your account."},{q:"Why do I see a payment problem message?",a:"This message means Habali TV was unable to collect your payment. Here's how to resolve it:\n1. Sign in to your account and update your payment method\n2. If that doesn't work, try a different payment method\n3. Contact your bank or card issuer to confirm your card supports recurring transactions\n\nIf the issue continues, please reach out to our customer support team."},{q:"How do I pay? What payment methods are accepted?",a:"We accept the following payment methods:\n\u2022 Visa & Mastercard (credit and debit)\n\u2022 American Express\n\u2022 Discover\n\u2022 PayPal\n\nYour subscription renews automatically on a recurring billing cycle. You can cancel at any time from your account settings."}]},{id:"watching",title:"Watching Habali TV",items:[{q:"How do I sign up and start watching?",a:"1. Visit habalitv.com\n2. Create your account and choose a package \u2014 you'll receive a confirmation email\n3. Download the Habali TV app on your compatible device\n4. Enter your username and password\n5. Start watching!"},{q:"How do I download the Habali TV app?",a:'The Habali TV app is available on:\n\u2022 iOS (iPhone & iPad) \u2014 App Store\n\u2022 Android \u2014 Google Play Store\n\u2022 Amazon Fire TV \u2014 Amazon Appstore\n\u2022 Certified Android TV devices\n\nSimply search for "Habali TV" in the app store on your device and tap Install.'},{q:"How many people can watch at the same time?",a:"You can stream Habali TV on up to 2 devices simultaneously \u2014 one streaming device (TV) and one phone or tablet."},{q:"Can I watch Habali TV while travelling?",a:"Yes! You can watch Habali TV anywhere as long as you have access to a high-speed internet connection."},{q:"What is DVR / CatchUP TV? How does it work?",a:"Habali TV's CatchUP TV lets you watch previously aired programming. Simply scroll back in the TV guide and select the show you want to watch. CatchUP is available on selected channels for programmes that aired within the last 2 days. You can also Pause & Restart any live programme at any time. Never miss a show again!"},{q:"Does Habali TV have Parental Controls?",a:"Yes. Parental controls can be enabled within the Settings menu inside the Habali TV app."},{q:"How do I add something to My Favourites?",a:'1. Select any live TV channel or on-demand title\n2. Tap the "Add to My Favourite" button\n3. Acce
2ss all your saved content anytime from My Favourite in the main menu'},{q:"How do I find a live TV channel?",a:"Use Habali TV's built-in search function to find any channel or programme quickly. Type the channel name or show title and it will appear instantly."}]},{id:"technical",title:"Technical Help & Troubleshooting",items:[{q:"I'm having trouble watching. What should I do?",a:"Most playback issues are caused by internet connection fluctuations. Try these steps:\n\u2022 Ensure you are using a supported device\n\u2022 Avoid public Wi-Fi networks\n\u2022 For best results, connect your device via an ethernet cable\n\u2022 If using Wi-Fi, ensure your router is nearby and the connection is stable\n\u2022 Restart your modem and router \u2014 this resolves most issues"},{q:"What internet speed do I need?",a:"Habali TV recommends a minimum download speed of 3 Mbps (3 Megabits per second) per device for the highest video quality. If multiple devices are streaming at the same time, ensure your connection can support the combined load."},{q:"Can I watch Habali TV using a VPN or proxy?",a:"Habali TV may not work correctly when a VPN or proxy is active. We recommend disabling these before connecting:\n\u2022 Disable your VPN or proxy and connect directly through your home internet\n\u2022 If you have set custom DNS settings, reset your device or router to acquire DNS automatically\n\nNeed help changing these settings? Contact your Internet Service Provider or device manufacturer."},{q:"My device is freezing or not responding. How do I fix it?",a:"Step 1 \u2014 Restart your streaming device:\n1. Unplug your streaming device from power for at least 1 minute\n2. Plug it back in and turn it on\n3. Try Habali TV again\n\nStep 2 \u2014 Restart your home network:\n1. Turn off your streaming device\n2. Unplug your modem and router, then wait 30 seconds\n3. Plug in your modem and wait until all indicator lights are stable\n4. Plug in your router and wait until all indicator lights are stable\n5. Turn on your streaming device and try Habali TV again\n\n\ud83d\udca1 If the problem continues after both
2steps, contact your internet provider or device manufacturer for further assistance."}]}],fr:[{id:"general",title:"G\xe9n\xe9ral",items:[{q:"Comment puis-je regarder Habali TV ?",a:"Habali TV fonctionne sur une large gamme d'appareils de streaming, notamment :\n\u2022 Lecteurs Roku et t\xe9l\xe9viseurs Roku TV\u2122\n\u2022 Amazon Fire TV\n\u2022 Appareils Android TV (Nvidia Shield, Sony, t\xe9l\xe9viseurs Sharp, etc.)\n\u2022 Apple TV\n\u2022 Appareils mobiles iOS et Android\n\u2022 Navigateur web sur www.habalitv.com\n\nPour commencer :\n1. Inscrivez-vous sur www.habalitv.com\n2. Choisissez votre package et votre forfait\n3. Effectuez votre paiement\n4. T\xe9l\xe9chargez l'application Habali TV depuis le store de votre appareil\n5. Connectez-vous avec l'e-mail et le mot de passe cr\xe9\xe9s, puis commencez \xe0 regarder"},{q:"O\xf9 Habali TV est-il disponible ?",a:"Habali TV est disponible dans :\n\u2022 Am\xe9rique du Nord \u2014 \xc9tats-Unis et Canada\n\u2022 Royaume-Uni\n\u2022 Europe\n\n\ud83d\udca1 Il vous suffit d'une connexion internet haut d\xe9bit et d'un appareil de streaming compatible."},{q:"Comment annuler Habali TV ?",a:"Habali TV est enti\xe8rement flexible \u2014 sans contrat ni frais d'annulation. Vous pouvez annuler \xe0 tout moment en vous connectant \xe0 votre compte sur le site Habali TV.\n\n\ud83d\udca1 Vous pouvez d\xe9marrer ou arr\xeater votre abonnement quand vous le souhaitez, sans p\xe9nalit\xe9."}]},{id:"managing",title:"G\xe9rer votre compte",items:[{q:"Comment g\xe9rer mon compte Habali TV ?",a:"Vous pouvez mettre \xe0 jour les informations de votre compte \u2014 adresse e-mail, num\xe9ro de t\xe9l\xe9phone mobile et moyen de paiement \u2014 en vous connectant \xe0 votre compte sur habalitv.com."},{q:"Pourquoi ne puis-je pas me connecter \xe0 mon compte ?",a:"Si vous rencontrez des difficult\xe9s pour vous connecter, demandez un e-mail de r\xe9initialisation du mot de passe depuis la page de connexion. Vous recevrez un e-mail avec les instructions pour cr\xe9er un nouveau mot de passe et retrouver l'acc\xe8s \xe0 votre compte."},{q:"Pourquoi vois-je un message de probl\xe8me de paiement ?",a:"Ce message signifie que Habali TV n'a pas pu pr\xe9lever votre paiement. Voici comment le r\xe9soudre :\n1. Connectez-vous \xe0 votre compte et mettez \xe0 jour votre moyen de paiement\n2. Si cela ne fonctionne pas, essayez un autre moyen de paiement\n3. Contactez votre banque ou \xe9metteur de carte pour confirmer que votre carte autorise les transactions r\xe9currentes\n\nSi le probl\xe8me persiste, veuillez contacter notre service client."},{q:"Comment payer ? Quels modes de paiement sont accept\xe9s ?",a:"Nous acceptons les modes de paiement suivants :\n\u2022 Visa et Mastercard (cr\xe9dit et d\xe9bit)\n\u2022 American Express\n\u2022 Discover\n\u2022 PayPal\n\nVotre abonnement se renouvelle automatiquement selon un cycle de facturation r\xe9current. Vous pouvez annuler \xe0 tout moment depuis les param\xe8tres de votre compte."}]},{id:"watching",title:"Regarder Habali TV",items:[{q:"Comment m'inscrire et commencer \xe0 regarder ?",a:"1. Rendez-vous sur habalitv.com\n2. Cr\xe9ez votre compte et choisissez un package \u2014 vous recevrez un e-mail de confirmation\n3. T\xe9l\xe9chargez l'application Habali TV sur votre appareil compatible\n4. Saisissez vos identifiants\n5. Commencez \xe0 regarder !"},{q:"Comment t\xe9l\xe9charger l'application Habali TV ?",a:"L'application Habali TV est disponible sur :\n\u2022 iOS (iPhone et iPad) \u2014 App Store\n\u2022 Android \u2014 Google Play Store\n\u2022 Amazon Fire TV \u2014 Amazon Appstore\n\u2022 Appareils Android TV certifi\xe9s\n\nIl vous suffit de rechercher \xab Habali TV \xbb dans le store de votre appareil et de l'installer."},{q:"Combien de personnes peuvent regarder en m\xeame temps ?",a:"Vous pouvez diffuser Habali TV sur jusqu'\xe0 2 appareils simultan\xe9ment \u2014 un appareil de streaming (TV) et un t\xe9l\xe9phone ou une tablette."},{q:"Puis-je regarder Habali TV en voyage ?",a:"Oui ! Vous pouvez regarder Habali TV n'importe o\xf9, tant que vous disposez d'une connexion internet haut d\xe9bit."},{q:"Qu'est-ce que le DVR / CatchUP TV ? Comment \xe7a marche ?",a:"Le CatchUP TV de Habali TV vous permet de revoir des programmes d\xe9j\xe0 diffus\xe9s. Faites simplement d\xe9filer le guide TV en arri\xe8re et s\xe9lectionnez l'\xe9mission souhait\xe9e. CatchUP est disponible sur certaines cha\xeenes pour les programmes diffus\xe9s au cours des 2 derniers jours. V
2ous pouvez aussi mettre en pause et red\xe9marrer tout programme en direct \xe0 tout moment. Ne manquez plus jamais une \xe9mission !"},{q:"Habali TV dispose-t-il d'un contr\xf4le parental ?",a:"Oui. Le contr\xf4le parental peut \xeatre activ\xe9 depuis le menu Param\xe8tres de l'application Habali TV."},{q:"Comment ajouter un contenu \xe0 mes Favoris ?",a:"1. S\xe9lectionnez une cha\xeene en direct ou un titre \xe0 la demande\n2. Appuyez sur le bouton \xab Ajouter \xe0 mes Favoris \xbb\n3. Retrouvez tous vos contenus sauvegard\xe9s \xe0 tout moment via Mes Favoris dans le menu principal"},{q:"Comment trouver une cha\xeene TV en direct ?",a:"Utilisez la fonction de recherche int\xe9gr\xe9e de Habali TV pour trouver rapidement une cha\xeene ou un programme. Tapez le nom de la cha\xeene ou le titre de l'\xe9mission et il appara\xeetra instantan\xe9ment."}]},{id:"technical",title:"Aide technique et d\xe9pannage",items:[{q:"J'ai des difficult\xe9s \xe0 regarder. Que faire ?",a:"La plupart des probl\xe8mes de lecture sont dus \xe0 des fluctuations de la connexion internet. Essayez ces \xe9tapes :\n\u2022 Assurez-vous d'utiliser un appareil compatible\n\u2022 \xc9vitez les r\xe9seaux Wi-Fi publics\n\u2022 Pour de meilleurs r\xe9sultats, connectez votre appareil via un c\xe2ble Ethernet\n\u2022 Si vous utilisez le Wi-Fi, v\xe9rifiez que votre routeur est proche et que la connexion est stable\n\u2022 Red\xe9marrez votre modem et votre routeur \u2014 cela r\xe9sout la plupart des probl\xe8mes"},{q:"Quel d\xe9bit internet me faut-il ?",a:"Habali TV recommande un d\xe9bit descendant minimum de 3 Mbps (3 m\xe9gabits par seconde) par appareil pour la meilleure qualit\xe9 vid\xe9o. Si plusieurs appareils diffusent en m\xeame temps, assurez-vous que votre connexion peut supporter la charge combin\xe9e."},{q:"Puis-je regarder Habali TV avec un VPN ou un proxy ?",a:"Habali TV peut ne pas fonctionner correctement lorsqu'un VPN ou un proxy est actif. Nous recommandons de les d\xe9sactiver avant de vous connecter :\n\u2022 D\xe9sactivez votre VPN ou proxy et connectez-vous directement via votre internet domestique\n\u2022 Si vous avez configur\xe9 des param\xe8tres DNS personnalis\xe9s, r\xe9initialisez votre appareil ou votre routeur pour obtenir le DNS automatiquement\n\nBesoin d'aide pour modifier ces param\xe8tres ? Contactez votre fournisseur d'acc\xe8s internet ou le fabricant de votre appareil."},{q:"Mon appareil se fige ou ne r\xe9pond plus. Comment r\xe9soudre cela ?",a:"\xc9tape 1 \u2014 Red\xe9marrez votre appareil de streaming :\n1. D\xe9branchez votre appareil de streaming de l'alimentation pendant au moins 1 minute\n2. Rebranchez-le et allumez-le\n3. R\xe9essayez Habali TV\n\n\xc9tape 2 \u2014 Red\xe9marrez votre r\xe9seau domestique :\n1. \xc9teignez votre appareil de streaming\n2. D\xe9branchez votre modem et votre routeur, puis attendez 30 secondes\n3. Rebranchez le modem et attendez que tous les voyants soient stables\n4. Rebranchez le routeur et attendez que tous les voyants soient stables\n5. Allumez votre appareil de streaming et r\xe9essayez Habali TV\n\n\ud83d\udca1 Si le probl\xe8me persiste apr\xe8s ces deux \xe9tapes, contactez votre fournisseur d'acc\xe8s internet ou le fabricant de votre appareil pour une assistance compl\xe9mentaire."}]}],ht:[{id:"general",title:"Jeneral",items:[{q:"Kijan mwen ka gade Habali TV?",a:"Habali TV fonksyone sou yon gran varyete apar\xe8y streaming, tankou:\n\u2022 Lekt\xe8 Roku ak mod\xe8l Roku TV\u2122\n\u2022 Amazon Fire TV\n\u2022 Apar\xe8y Android TV (Nvidia Shield, Sony, televizyon Sharp ak plis)\n\u2022 Apple TV\n\u2022 Apar\xe8y mobil iOS ak Android\n\u2022 Navigat\xe8 w\xe8b sou www.habalitv.com\n\nPou k\xf2manse:\n1. Enskri sou www.habalitv.com\n2. Chwazi pak\xe8 ak f\xf2f\xe8 ou\n3. F\xe8 peman ou\n4. Telechaje app Habali TV soti nan magazen aplikasyon apar\xe8y ou\n5. Konekte ak im\xe8l ak modpas ou kreye epi k\xf2manse gade"},{q:"Ki kote Habali TV disponib?",a:"Habali TV disponib nan:\n\u2022 Amerik di N\xf2 \u2014 Etazini ak Kanada\n\u2022 Way\xf2m Ini\n\u2022 Ew\xf2p\n\n\ud83d\udca1 Tout sa ou bezwen se yon koneksyon ent\xe8n\xe8t gwo vit\xe8s ak yon apar\xe8y streaming konpatib."},{q:"Kijan pou anile Habali TV?",a:"Habali TV totalman fleksib \u2014 pa gen kontra, pa gen fr\xe8 anilasyon. Ou ka anile nenp\xf2t l\xe8 l\xe8 ou konekte nan kont ou sou sit w\xe8b Habali TV la.\n\n\ud83d\udca1 Ou ka k\xf2manse oswa sispann ab\xf2nman ou nenp\xf2t l\xe8, san penalite."}]},{id:"managing",title:"Jere Kont Ou",items:[{q:"Kijan pou jere kont Habali TV mwen?",a:"Ou ka mete ajou enf\xf2masyon kont ou \u2014 sa gen ladan adr\xe8s im\xe8l, nimewo telef\xf2n mobil ak met\xf2d peman \u2014 l\xe8 ou konekte nan kont ou sou habalitv.com."},{q:"Poukisa mwen pa kapab konekte nan kont mwen?",a:"Si ou gen pwobl\xe8m pou konekte, mande yon im\xe8l reyajisman modpas soti nan paj koneksyon an. Ou ap resevwa yon im\xe8l ak enstriksyon pou kreye yon nouvo modpas epi jwenn aks\xe8 ank\xf2 nan kont ou."},{q:"Poukisa mwen w\xe8 yon mesaj pwobl\xe8m peman?",a:"Mesaj sa a vle di Habali TV pa t kapab kolekte peman ou. Men kijan pou rezoud li:\n1. Konekte nan kont ou epi mete ajou met\xf2d peman ou\n2. Si sa pa mache, eseye yon l\xf2t met\xf2d peman\n3. Kontakte bank ou oswa emet\xe8 kat ou pou k
2onfime kat ou sip\xf2te tranzaksyon rekiran\n\nSi pwobl\xe8m nan kontinye, tanpri kontakte ekip sip\xf2 kliyant\xe8l nou an."},{q:"Kijan mwen peye? Ki met\xf2d peman yo aksepte?",a:"Nou aksepte met\xf2d peman sa yo:\n\u2022 Visa ak Mastercard (kredi ak debi)\n\u2022 American Express\n\u2022 Discover\n\u2022 PayPal\n\nAb\xf2nman ou renouvle otomatikman sou yon sik faktirasyon rekiran. Ou ka anile nenp\xf2t l\xe8 nan param\xe8t kont ou."}]},{id:"watching",title:"Gade Habali TV",items:[{q:"Kijan mwen enskri epi k\xf2manse gade?",a:"1. Vizite habalitv.com\n2. Kreye kont ou epi chwazi yon pak\xe8 \u2014 ou ap resevwa yon im\xe8l konfimasyon\n3. Telechaje app Habali TV sou apar\xe8y konpatib ou\n4. Antre non itilizat\xe8 ak modpas ou\n5. K\xf2manse gade!"},{q:"Kijan mwen telechaje app Habali TV?",a:'App Habali TV disponib sou:\n\u2022 iOS (iPhone ak iPad) \u2014 App Store\n\u2022 Android \u2014 Google Play Store\n\u2022 Amazon Fire TV \u2014 Amazon Appstore\n\u2022 Apar\xe8y Android TV s\xe8tifye\n\nS\xe8lman ch\xe8che "Habali TV" nan magazen app apar\xe8y ou epi tape Enstale.'},{q:"Konbyen moun ka gade anmenmtan?",a:"Ou ka gade Habali TV sou jiska 2 apar\xe8y anmenmtan \u2014 yon apar\xe8y streaming (TV) ak yon telef\xf2n oswa tabl\xe8t."},{q:"\xc8ske mwen ka gade Habali TV pandan mwen ap vwayaje?",a:"Wi! Ou ka gade Habali TV nenp\xf2t kote depi ou gen aks\xe8 ak yon koneksyon ent\xe8n\xe8t gwo vit\xe8s."},{q:"Kisa DVR / CatchUP TV ye? Kijan li fonksyone?",a:"CatchUP TV Habali TV p\xe8m\xe8t ou gade pwogramasyon ki te deja em\xe8t. S\xe8lman glise nan gid TV a epi chwazi emisyon ou vle gade a. CatchUP disponib sou chan\xe8l chwazi pou pwogram ki te em\xe8t nan 2 d\xe8nye jou yo. Ou ka tou Kanpe ak Rek\xf2manse nenp\xf2t pwogram an dir\xe8k nenp\xf2t l\xe8. Pa janm rate yon emisyon ank\xf2!"},{q:"\xc8ske Habali TV gen Kontw\xf2l Paran?",a:"Wi. Kontw\xf2l paran yo ka aktive nan meni Param\xe8t anndan app Habali TV la."},{q:"Kijan mwen ajoute yon bagay nan Favori mwen yo?",a:'1. Chwazi nenp\xf2t chan\xe8l TV dir\xe8k oswa tit sou demand\n2. Tape bouton "Ajoute nan Favori mwen"\n3. Aks\xe8 tout kontni ou sere nenp\xf2t l\xe8 soti nan Favori mwen nan meni prensipal la'},{q:"Kijan mwen jwenn yon chan\xe8l TV dir\xe8k?",a:"Itilize fonksyon rech\xe8ch entegre Habali TV la pou jwenn nenp\xf2t chan\xe8l oswa pwogram rapidman. Tape non chan\xe8l la oswa tit emisyon an epi li ap par\xe8t imedyatman."}]},{id:"technical",title:"\xc8d Teknik ak Depanaj",items:[{q:"Mwen gen difikilte pou gade. Kisa pou m f\xe8?",a:"Pif\xf2 pwobl\xe8m lekti soti nan fluktyasyon koneksyon ent\xe8n\xe8t. Eseye etap sa yo:\n\u2022 Asire ou itilize yon apar\xe8y konpatib\n\u2022 Evite rezo Wi-Fi piblik\n\u2022 Pou pi bon rezilta, konekte apar\xe8y ou atrav\xe8 yon kab Ethernet\n\u2022 Si w ap itilize Wi-Fi, asire routeur ou toupre epi koneksyon an estab\n\u2022 Redemare mod\xe8m ak routeur ou \u2014 sa rezoud pif\xf2 pwobl\xe8m"},{q:"Ki vit\xe8s ent\xe8n\xe8t mwen bezwen?",a:"Habali TV rek\xf2mande yon vit\xe8s telechajman minim\xf2m 3 Mbps (3 megabit pa segonn) pou chak apar\xe8y pou pi wo kalite videyo. Si plizy\xe8 apar\xe8y ap gade anmenmtan, asire koneksyon ou ka sip\xf2te chaj konbine a."},{q:"\xc8ske mwen ka gade Habali TV ak yon VPN oswa pwoksi?",a:"Habali TV ka pa fonksyone byen l\xe8 yon VPN oswa pwoksi aktif. Nou rek\xf2mande dezaktive yo anvan ou konekte:\n\u2022 Dezaktive VPN oswa pwoksi ou epi konekte dir\xe8kteman atrav\xe8 ent\xe8n\xe8t lakay ou\n\u2022 Si ou te f\xe8 param\xe8t DNS p\xe8sonalize, reyajiste apar\xe8y ou oswa routeur ou pou pran DNS otomatikman\n\nBezwen \xe8d pou chanje param\xe8t sa yo? Kontakte founis\xe8 ent\xe8n\xe8t ou oswa fabrikan apar\xe8y ou."},{q:"Apar\xe8y mwen frize oswa pa reponn. Kijan pou m rezoud sa?",a:"Etap 1 \u2014 Redemare apar\xe8y streaming ou:\n1. Debranche apar\xe8y streaming ou soti nan kouran pou omwen 1 minit\n2. Rebranche l epi limen l\n3. Eseye Habali TV ank\xf2\n\nEtap 2 \u2014 Redemare rezo lakay ou:\n1. Etenn apar\xe8y streaming ou\n2. Debranche mod\xe8m ak routeur ou, epi tann 30 segonn\n3. Branche mod\xe8m ou epi tann jiskaske tout limy\xe8 yo estab\n4. Branche routeur ou epi tann jiskaske tout limy\xe8 yo estab\n5. Limen apar\xe8y streaming ou epi eseye Habali TV ank\xf2\n\n\ud83d\udca1 Si pwobl\xe8m nan p\xe8siste apre toude etap yo, kontakte founis\xe8 ent\xe8n\xe8t ou oswa fabrikan apar\xe8y ou pou plis asistans."}]}]},cr=(0,r.createContext)(null),dr=["en","fr","ht"],pr={en:"fr",fr:"ht",ht:"en"};function hr(){if("undefined"===typeof window)return"en";try{const e=localStorage.getItem("habali_lang");if(e&&dr.includes(e))return e;const t=(navigator.language||"en").slice(0,2).toLowerCase();return dr.includes(t)?t:"en"}catch(e){return console.error("habali_lang detect failed:",e),"en"}}function fr(e){let{children:t}=e;const[n,i]=(0,r.useState)(hr);(0,r.useEffect)(()=>{try{localStorage.setItem("habali_lang",n)}catch(e){console.error("habali_lang persist failed:",e)}"undefined"!==typeof document&&document.documentElement.setAttribute("lang",n)},[n]);const a=(0,r.useCallback)((e,t)=>{var r,i;let a=null!==(r=null!==(i=(sr[n]||sr.en)[e])&&void 0!==i?i:sr.en[e])&&void 0!==r?r:e;
2return t&&"string"===typeof a&&Object.keys(t).forEach(e=>{a=a.replace(new RegExp("\\{".concat(e,"\\}"),"g"),String(t[e]))}),a},[n]),o=(0,r.useCallback)(()=>{i(e=>pr[e]||"en")},[]),s=(0,r.useMemo)(()=>({lang:n,setLang:i,toggle:o,t:a}),[n,o,a]);return(0,Ie.jsx)(cr.Provider,{value:s,children:t})}function mr(){const e=(0,r.useContext)(cr);if(!e)throw new Error("useT must be used inside <I18nProvider>");return e}var gr;if("undefined"===typeof window){var vr={hostname:""};gr={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:vr,referrer:""},screen:{width:0,height:0},location:vr,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){},CustomEvent:function(){}}}else gr=window;var yr={DEBUG:!1,LIB_VERSION:"2.80.0"},br="__mp_targeting",wr="__mp_recorder",kr="__MP_TARGETING_FILENAME__";function _r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Sr(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function xr(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){Sr(a,r,i,o,s,"next",e)}function s(e){Sr(a,r,i,o,s,"throw",e)}o(void 0)})}}function Cr(e,t,n){return Cr=Mr()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&Rr(i,n.prototype),i},Cr.apply(null,arguments)}function Tr(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function Er(){return Er=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Er.apply(this,arguments)}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ar(e)}function Ir(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&&Rr(e,t)}function Or(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function jr(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function Rr(e,t){return Rr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Rr(e,t)}function Pr(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function Nr(e){var t="function"===typeof Map?new Map:void 0;return Nr=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Cr(e,arguments,Ar(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Rr(r,e)},Nr(e)}function Mr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(Ay){}return(Mr=function(){return!!e})()}function Lr(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"===typeof e)return _r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_r(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 Dr(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;
2function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=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++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).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(HS){a=[6,HS],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function Vr(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var Fr,zr=Object.defineProperty,Hr=function(e,t,n){return function(e,t,n){return t in e?zr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==("undefined"===typeof t?"undefined":Pr(t))?t+"":t,n)},qr=Object.defineProperty,Ur=function(e,t,n){return function(e,t,n){return t in e?qr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==("undefined"===typeof t?"undefined":Pr(t))?t+"":t,n)},Br=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}(Br||{}),Wr={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Kr={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},$r={};function Gr(e){if($r[e])return $r[e];var t=globalThis[e],n=t.prototype,r=e in Wr?Wr[e]:void 0,i=Boolean(r&&r.every(function(e){var t,r;return Boolean(null==(r=null==(t=Object.getOwnPropertyDescriptor(n,e))?void 0:t.get)?void 0:r.toString().includes("[native code]"))})),a=e in Kr?Kr[e]:void 0,o=Boolean(a&&a.every(function(e){var t;return"function"===typeof n[e]&&(null==(t=n[e])?void 0:t.toString().includes("[native code]"))}));if(i&&o&&!globalThis.Zone)return $r[e]=t.prototype,t.prototype;try{var s=document.createElement("iframe");document.body.appendChild(s);var l=s.contentWindow;if(!l)return t.prototype;var u=l[e].prototype;return document.body.removeChild(s),u?$r[e]=u:n}catch(HS){return n}}var Yr={};function Qr(e,t,n){var r,i=e+"."+String(n);if(Yr[i])return Yr[i].call(t);var a=Gr(e),o=null==(r=Object.getOwnPropertyDescriptor(a,n))?void 0:r.get;return o?(Yr[i]=o,o.call(t)):t[n]}var Jr={};function Xr(e,t,n){var r=e+"."+String(n);if(Jr[r])return Jr[r].bind(t);var i=Gr(e)[n];return"function"!==typeof i?t[n]:(Jr[r]=i,i.bind(t))}var Zr={childNodes:function(e){return Qr("Node",e,"childNodes")},parentNode:function(e){return Qr("Node",e,"parentNode")},parentElement:function(e){return Qr("Node",e,"parentElement")},textContent:function(e){return Qr("Node",e,"textContent")},contains:function(e,t){return Xr("Node",e,"contains")(t)},getRootNode:function(e){return Xr("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?Qr("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?Qr("Element",e,"shadowRoot"):null},querySelector:function(e,t){return Qr("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return Qr("Element",e,"querySelectorAll")(t)},mutationObserver:function(){return Gr("MutationObserver").constructor},patch:function(e,t,n){try{if(!(t in e))return function(){};var r=e[t],i=n(r);return"function"===typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,function(){e[t]=r}}catch(HS){return function(){}}}};
2function ei(e){return e.nodeType===e.ELEMENT_NODE}function ti(e){var t=e&&"host"in e&&"mode"in e&&Zr.host(e)||null;return Boolean(t&&"shadowRoot"in t&&Zr.shadowRoot(t)===e)}function ni(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function ri(e){try{var t=e.rules||e.cssRules;if(!t)return null;var n=e.href;!n&&e.ownerNode&&e.ownerNode.ownerDocument&&(n=e.ownerNode.ownerDocument.location.href);var r=Array.from(t,function(e){return ii(e,n)}).join("");return(i=r).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(a){return null}var i}function ii(e,t){if(function(e){return"styleSheet"in e}(e)){var n;try{n=ri(e.styleSheet)||function(e){var t=e.cssText;if(t.split('"').length<3)return t;var n=["@import","url("+JSON.stringify(e.href)+")"];return""===e.layerName?n.push("layer"):e.layerName&&n.push("layer("+e.layerName+")"),e.supportsText&&n.push("supports("+e.supportsText+")"),e.media.length&&n.push(e.media.mediaText),n.join(" ")+";"}(e)}catch(i){n=e.cssText}return e.styleSheet.href?mi(n,e.styleSheet.href):n}var r=e.cssText;return function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":")&&(r=function(e){var t=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm;return e.replace(t,"$1\\$2")}(r)),t?mi(r,t):r}var ai=function(){function e(){Ur(this,"idNodeMap",new Map),Ur(this,"nodeMetaMap",new WeakMap)}var t=e.prototype;return t.getId=function(e){var t;if(!e)return-1;var n=null==(t=this.getMeta(e))?void 0:t.id;return null!=n?n:-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 n=this;void 0===t&&(t=!1);var r=this.getId(e);this.idNodeMap.delete(r),t&&this.nodeMetaMap.delete(e),e.childNodes&&e.childNodes.forEach(function(e){return n.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 n=t.id;this.idNodeMap.set(n,e),this.nodeMetaMap.set(e,t)},t.replace=function(e,t){var n=this.getNode(e);if(n){var r=this.nodeMetaMap.get(n);r&&this.nodeMetaMap.set(t,r)}this.idNodeMap.set(e,t)},t.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function oi(e){var t=e.element,n=e.maskInputOptions,r=e.tagName,i=e.type,a=e.value,o=e.maskInputFn,s=a||"",l=i&&si(i);return(n[r.toLowerCase()]||l&&n[l])&&(s=o?o(s,t):"*".repeat(s.length)),s}function si(e){return e.toLowerCase()}var li="__rrweb_original__";function ui(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?si(t):null}function ci(e,t){var n;try{n=new URL(e,null!=t?t:window.location.href)}catch(a){return null}var r,i=n.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!=(r=null==i?void 0:i[1])?r:null}var di=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,pi=/^(?:[a-z+]+:)?\/\//i,hi=/^www\..*/i,fi=/^(data:)([^,]*),(.*)/i;function mi(e,t){return(e||"").replace(di,function(e,n,r,i,a,o){var s,l=r||a||o,u=n||i||"";if(!l)return e;if(pi.test(l)||hi.test(l))return"url("+u+l+u+")";if(fi.test(l))return"url("+u+l+u+")";if("/"===l[0])return"url("+u+(((s=t).indexOf("//")>-1?s.split("/").slice(0,3).join("/"):s.split("/")[0]).split("?")[0]+l)+u+")";var c=t.split("/"),d=l.split("/");c.pop();for(var p,h=Lr(d);!(p=h()).done;){var f=p.value;"."!==f&&(".."===f?c.pop():c.push(f))}return"url("+u+c.join("/")+u+")"})}function gi(e,t){return void 0===t&&(t=!1),t?e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,""):e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"").replace(/0px/g,"0")}function vi(e,t){return function(e,t,n){void 0===n&&(n=!1);var r=Array.from(t.childNodes),i=[],a=0;if(r.length>1&&e&&"string"===typeof e)for(var o=gi(e,n),s=o.length/e.length,l=1;l<r.length;l++)if(r[l].textContent&&"string"===typeof r[l].textContent){for(var u=gi(r[l].textContent,n),c=3;c<u.length&&(u[c].match(/[a-zA-Z0-9]/)||-1!==u.indexOf(u.substring(0,c),1));c++);for(;c<u.length;c++){var d=u.substring(0,c),p=o.split(d),h=-1;if(2===p.length)h=p[0].length;else if(p.length>2&&""===p[0]&&""!==r[l-1].textContent)h=o.indexOf(d,1);else if(1===p.length){if(d=d.substring(0,d.length-1),(p=o.split(d)).length<=1)return i.push(e),i;c=101}else c===u.length-1&&(h=o.indexOf(d));if(p.length>=2&&c>100){var f=r[l-1].textContent;if(f&&"string"===typeof f){var m=gi(f).length;h=o.indexOf(d,m)}-1===h&&(h=p[0].length)}if(-1!==h){for(var g=Math.floor(h/s);g>0&&g<e.length;){if((a+=1)>50*r.length)return i.push(e),i;var v=gi(e.substring(0,g),n);
vendor: 12,748 bytes, line 2
2if(v.length===h){i.push(e.substring(0,g)),e=e.substring(g),o=o.substring(h);break}v.length<h?g+=Math.max(1,Math.floor((h-v.length)/s)):g-=Math.max(1,Math.floor((v.length-h)*s))}break}}}return i.push(e),i}(e,t).join("/* rr_split */")}var yi,bi,wi=1,ki=new RegExp("[^a-z0-9-_:]");function _i(){return wi++}var Si=/^[^ \t\n\r\u000c]+/,xi=/^[, \t\n\r\u000c]+/;var Ci=new WeakMap;function Ti(e,t){return t&&""!==t.trim()?Ai(e,t):t}function Ei(e){return Boolean("svg"===e.tagName||e.ownerSVGElement)}function Ai(e,t){var n=Ci.get(e);if(n||(n=e.createElement("a"),Ci.set(e,n)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return n.setAttribute("href",t),n.href}function Ii(e,t,n,r){return r?"src"===n||"href"===n&&("use"!==t||"#"!==r[0])||"xlink:href"===n&&"#"!==r[0]?Ti(e,r):"background"!==n||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===n?function(e,t){if(""===t.trim())return t;var n=0;function r(e){var r,i=e.exec(t.substring(n));return i?(r=i[0],n+=r.length,r):""}for(var i=[];r(xi),!(n>=t.length);){var a=r(Si);if(","===a.slice(-1))a=Ti(e,a.substring(0,a.length-1)),i.push(a);else{var o="";a=Ti(e,a);for(var s=!1;;){var l=t.charAt(n);if(""===l){i.push((a+o).trim());break}if(s)")"===l&&(s=!1);else{if(","===l){n+=1,i.push((a+o).trim());break}"("===l&&(s=!0)}o+=l,n+=1}}}return i.join(", ")}(e,r):"style"===n?mi(r,Ai(e)):"object"===t&&"data"===n?Ti(e,r):r:Ti(e,r):r}function Oi(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}function ji(e,t,n){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!n&&ji(Zr.parentNode(e),t,n);for(var r=e.classList.length;r--;){var i=e.classList[r];if(t.test(i))return!0}return!!n&&ji(Zr.parentNode(e),t,n)}function Ri(e,t,n,r){var i;if(ei(e)){if(i=e,!Zr.childNodes(i).length)return!1}else{if(null===Zr.parentElement(e))return!1;i=Zr.parentElement(e)}try{if("string"===typeof t){if(r){if(i.closest("."+t))return!0}else if(i.classList.contains(t))return!0}else if(ji(i,t,r))return!0;if(n)if(r){if(i.closest(n))return!0}else if(i.matches(n))return!0}catch(a){}return!1}function Pi(e,t){var n=t.doc,r=t.mirror,i=t.blockClass,a=t.blockSelector,o=t.needsMask,s=t.inlineStylesheet,l=t.maskInputOptions,u=void 0===l?{}:l,c=t.maskTextFn,d=t.maskInputFn,p=t.dataURLOptions,h=void 0===p?{}:p,f=t.inlineImages,m=t.recordCanvas,g=t.keepIframeSrcFn,v=t.newlyAddedElement,y=void 0!==v&&v,b=t.cssCaptured,w=void 0!==b&&b,k=function(e,t){if(!t.hasNode(e))return;var n=t.getId(e);return 1===n?void 0:n}(n,r);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:Br.Document,childNodes:[],compatMode:e.compatMode}:{type:Br.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:Br.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:k};case e.ELEMENT_NODE:return function(e,t){for(var n,r=t.doc,i=t.blockClass,a=t.blockSelector,o=t.inlineStylesheet,s=t.maskInputOptions,l=void 0===s?{}:s,u=t.maskInputFn,c=t.dataURLOptions,d=void 0===c?{}:c,p=t.inlineImages,h=t.recordCanvas,f=t.keepIframeSrcFn,m=t.newlyAddedElement,g=void 0!==m&&m,v=t.rootId,y=function(e,t,n){try{if("string"===typeof t){if(e.classList.contains(t))return!0}else for(var r=e.classList.length;r--;){var i=e.classList[r];if(t.test(i))return!0}if(n)return e.matches(n)}catch(a){}return!1}(e,i,a),b=function(e){if(Or(e,HTMLFormElement))return"form";var t=si(e.tagName);return ki.test(t)?"div":t}(e),w={},k=e.attributes.length,_=0;_<k;_++){var S=e.attributes[_];Oi(b,S.name,S.value)||(w[S.name]=Ii(r,b,si(S.name),S.value))}if("link"===b&&o){var x=Array.from(r.styleSheets).find(function(t){return t.href===e.href}),C=null;x&&(C=ri(x)),C&&(delete w.rel,delete w.href,w._cssText=C)}if("style"===b&&e.sheet){var T=ri(e.sheet);T&&(e.childNodes.length>1&&(T=vi(T,e)),w._cssText=T)}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=oi({element:e,type:ui(e),tagName:b,value:E,maskInputOptions:l,maskInputFn:u}):A&&(w.checked=A)}"option"===b&&(e.selected&&!l.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&&h)if("2d"===e.__context)(function(e){var t=e.getContext("2d");if(!t)return!0;for(var n=0;n<e.width;n+=50)for(var r=0;r<e.height;r+=50){var i=t.getImageData,a=li in i?i[li]:i;if(new Uint32Array(a.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some(function(e){return 0!==e}))return!1}return!0})(e)||(w.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){var I=e.toDataURL(d.type,d.quality),O=r.createElement("canvas");O.width=e.width,O.height=e.height,I!==O.toDataURL(d.type,d.quality)&&(w.rr_dataURL=I)}if("img"===b&&p){yi||(yi=r.createElement("canvas"),bi=yi.getContext("2d"));var j=e,R=j.currentSrc||j.getAttribute("src")||"<unknown-src>",P=j.crossOrigin,N=function(){j.removeEventListener("load",N);try{yi.width=j.naturalWidth,yi.height=j.naturalHeight,bi.drawImage(j,0,0),w.rr_dataURL=yi.toDataURL(d.type,d.quality)}catch(e){if("anonymous"!==j.crossOrigin)return j.crossOrigin="anonymous",void(j.complete&&0!==j.naturalWidth?N():j.addEventListener("load",N));console.warn("Cannot inline img src="+R+"! Error: "+e)}"anonymous"===j.crossOrigin&&(P?w.crossOrigin=P:j.removeAttribute("crossorigin"))};j.complete&&0!==j.naturalWidth?N():j.addEventListener("load",N)}if("audio"===b||"video"===b){var M=w;M.rr_mediaState=e.paused?"paused":"played",M.rr_mediaCurrentTime=e.currentTime,M.rr_mediaPlaybackRate=e.playbackRate,M.rr_mediaMuted=e.muted,M.rr_mediaLoop=e.loop,M.rr_mediaVolume=e.volume}g||(e.scrollLeft&&(w.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(w.rr_scrollTop=e.scrollTop));if(y){var L=e.getBoundingClientRect(),D=L.width,V=L.height;w={class:w.class,rr_width:D+"px",rr_height:V+"px"}}"iframe"!==b||f(w.src)||(e.contentDocument||(w.rr_src=w.src),delete w.src);try{customElements.get(b)&&(n=!0)}catch(F){}return{type:Br.Element,tagName:b,attributes:w,childNodes:[],isSVG:Ei(e)||void 0,needBlock:y,rootId:v,isCustom:n}}(e,{doc:n,blockClass:i,blockSelector:a,inlineStylesheet:s,maskInputOptions:u,maskInputFn:d,dataURLOptions:h,inlineImages:f,recordCanvas:m,keepIframeSrcFn:g,newlyAddedElement:y,rootId:k});case e.TEXT_NODE:return function(e,t){var n=t.needsMask,r=t.maskTextFn,i=t.rootId,a=t.cssCaptured,o=Zr.parentNode(e),s=o&&o.tagName,l="",u="STYLE"===s||void 0,c="SCRIPT"===s||void 0;c?l="SCRIPT_PLACEHOLDER":a||(l=Zr.textContent(e),u&&l&&(l=mi(l,Ai(t.doc))));!u&&!c&&l&&n&&(l=r?r(l,Zr.parentElement(e)):l.replace(/[\S]/g,"*"));return{type:Br.Text,textContent:l||"",rootId:i}}(e,{doc:n,needsMask:o,maskTextFn:c,rootId:k,cssCaptured:w});case e.CDATA_SECTION_NODE:return{type:Br.CDATA,textContent:"",rootId:k};case e.COMMENT_NODE:return{type:Br.Comment,textContent:Zr.textContent(e)||"",rootId:k};default:return!1}}function Ni(e){return void 0===e||null===e?"":e.toLowerCase()}function Mi(e,t){var n=t.doc,r=t.mirror,i=t.blockClass,a=t.blockSelector,o=t.maskTextClass,s=t.maskTextSelector,l=t.skipChild,u=void 0!==l&&l,c=t.inlineStylesheet,d=void 0===c||c,p=t.maskInputOptions,h=void 0===p?{}:p,f=t.maskTextFn,m=t.maskInputFn,g=t.slimDOMOptions,v=t.dataURLOptions,y=void 0===v?{}:v,b=t.inlineImages,w=void 0!==b&&b,k=t.recordCanvas,_=void 0!==k&&k,S=t.onSerialize,x=t.onIframeLoad,C=t.iframeLoadTimeout,T=void 0===C?5e3:C,E=t.onStylesheetLoad,A=t.stylesheetLoadTimeout,I=void 0===A?5e3:A,O=t.keepIframeSrcFn,j=void 0===O?function(){return!1}:O,R=t.newlyAddedElement,P=void 0!==R&&R,N=t.cssCaptured,M=void 0!==N&&N,L=t.needsMask,D=t.preserveWhiteSpace,V=void 0===D||D;L||(L=Ri(e,o,s,void 0===L));var F,z=Pi(e,{doc:n,mirror:r,blockClass:i,blockSelector:a,needsMask:L,inlineStylesheet:d,maskInputOptions:h,maskTextFn:f,maskInputFn:m,dataURLOptions:y,inlineImages:w,recordCanvas:_,keepIframeSrcFn:j,newlyAddedElement:P,cssCaptured:M});if(!z)return console.warn(e,"not serialized"),null;F=r.hasNode(e)?r.getId(e):function(e,t){if(t.comment&&e.type===Br.Comment)return!0;if(e.type===Br.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"===ci(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(Ni(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===Ni(e.attributes.name)||"icon"===Ni(e.attributes.rel)||"apple-touch-icon"===Ni(e.attributes.rel)||"shortcut icon"===Ni(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&Ni(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Ni(e.attributes.property).match(/^(og|twitter|fb):/)||Ni(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===Ni(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===Ni(e.attributes.name)||"googlebot"===Ni(e.attributes.name)||"bingbot"===Ni(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===Ni(e.attributes.name)||"generator"===Ni(e.attributes.name)||"framework"===Ni(e.attributes.name)||"publisher"===Ni(e.attributes.name)||"progid"===Ni(e.attributes.name)||Ni(e.attributes.property).match(/^article:/)||Ni(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===Ni(e.attributes.name)||"yandex-verification"===Ni(e.attributes.name)||"csrf-token"===Ni(e.attributes.name)||"p:domain_verify"===Ni(e.attributes.name)||"verify-v1"===Ni(e.attributes.name)||"verification"===Ni(e.attributes.name)||"shopify-checkout-api-token"===Ni(e.attributes.name)))return!0}}return!1}(z,g)||!V&&z.type===Br.Text&&!z.textContent.replace(/^\s+|\s+$/gm,"").length?-2:_i();var H=Object.assign(z,{id:F});if(r.add(e,H),-2===F)return null;S&&S(e);var q=!u;if(H.type===Br.Element){q=q&&!H.needBlock,delete H.needBlock;var U=Zr.shadowRoot(e);U&&ni(U)&&(H.isShadowHost=!0)}if((H.type===Br.Document||H.type===Br.Element)&&q){g.headWhitespace&&H.type===Br.Element&&"head"===H.tagName&&(V=!1);var B={doc:n,mirror:r,blockClass:i,blockSelector:a,needsMask:L,maskTextClass:o,maskTextSelector:s,skipChild:u,inlineStylesheet:d,maskInputOptions:h,maskTextFn:f,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:w,recordCanvas:_,preserveWhiteSpace:V,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:T,onStylesheetLoad:E,stylesheetLoadTimeout:I,keepIframeSrcFn:j,cssCaptured:!1};if(H.type===Br.Element&&"textarea"===H.tagName&&void 0!==H.attributes.value);else{H.type===Br.Element&&void 0!==H.attributes._cssText&&"string"===typeof H.attributes._cssText&&(B.cssCaptured=!0);for(var W,K=Lr(Array.from(Zr.childNodes(e)));!(W=K()).done;){var $=Mi(W.value,B);$&&H.childNodes.push($)}}var G=null;if(ei(e)&&(G=Zr.shadowRoot(e)))for(var Y,Q=Lr(Array.from(Zr.childNodes(G)));!(Y=Q()).done;){var J=Mi(Y.value,B);J&&(ni(G)&&(J.isShadow=!0),H.childNodes.push(J))}}var X=Zr.parentNode(e);return X&&ti(X)&&ni(X)&&(H.isShadow=!0),H.type===Br.Element&&"iframe"===H.tagName&&function(e,t,n){var r=e.contentWindow;if(r){var i,a=!1;try{i=r.document.readyState}catch(l){return}if("complete"===i){var o="about:blank";if(r.location.href!==o||e.src===o||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}else{var s=setTimeout(function(){a||(t(),a=!0)},n);e.addEventListener("load",function(){clearTimeout(s),a=!0,t()})}}}(e,function(){var t=e.contentDocument;if(t&&x){var n=Mi(t,{doc:t,mirror:r,blockClass:i,blockSelector:a,needsMask:L,maskTextClass:o,maskTextSelector:s,skipChild:!1,inlineStylesheet:d,maskInputOptions:h,maskTextFn:f,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:w,recordCanvas:_,preserveWhiteSpace:V,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:T,onStylesheetLoad:E,stylesheetLoadTimeout:I,keepIframeSrcFn:j});n&&x(e,n)}},T),H.type===Br.Element&&"link"===H.tagName&&"string"===typeof H.attributes.rel&&("stylesheet"===H.attributes.rel||"preload"===H.attributes.rel&&"string"===typeof H.attributes.href&&"css"===ci(H.attributes.href))&&function(e,t,n){var r,i=!1;try{r=e.sheet}catch(o){return}if(!r){var a=setTimeout(function(){i||(t(),i=!0)},n);e.addEventListener("load",function(){clearTimeout(a),i=!0,t()})}}(e,function(){if(E){var t=Mi(e,{doc:n,mirror:r,blockClass:i,blockSelector:a,needsMask:L,maskTextClass:o,maskTextSelector:s,skipChild:!1,inlineStylesheet:d,maskInputOptions:h,maskTextFn:f,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:w,recordCanvas:_,preserveWhiteSpace:V,onSerialize:S,onIframeLoad:x,iframeLoadTimeout:T,onStylesheetLoad:E,stylesheetLoadTimeout:I,keepIframeSrcFn:j});t&&E(e,t)}},I),H}
2function Li(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Di(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return Or(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var Vi={exports:{}},Fi=String,zi=function(){return{isColorSupported:!1,reset:Fi,bold:Fi,dim:Fi,italic:Fi,underline:Fi,inverse:Fi,hidden:Fi,strikethrough:Fi,black:Fi,red:Fi,green:Fi,yellow:Fi,blue:Fi,magenta:Fi,cyan:Fi,white:Fi,gray:Fi,bgBlack:Fi,bgRed:Fi,bgGreen:Fi,bgYellow:Fi,bgBlue:Fi,bgMagenta:Fi,bgCyan:Fi,bgWhite:Fi}};Vi.exports=zi(),Vi.exports.createColors=zi;var Hi=Vi.exports,qi=Di(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),Ui=Hi,Bi=qi,Wi=function(e){function t(n,r,i,a,o,s){var l;return(l=e.call(this,n)||this).name="CssSyntaxError",l.reason=n,o&&(l.file=o),a&&(l.source=a),s&&(l.plugin=s),"undefined"!==typeof r&&"undefined"!==typeof i&&("number"===typeof r?(l.line=r,l.column=i):(l.line=r.line,l.column=r.column,l.endLine=i.line,l.endColumn=i.column)),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(l,t),l}Ir(t,e);var n=t.prototype;return n.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>","undefined"!==typeof this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},n.showSourceCode=function(e){var t=this;if(!this.source)return"";var n=this.source;null==e&&(e=Ui.isColorSupported),Bi&&e&&(n=Bi(n));var r,i,a=n.split(/\r?\n/),o=Math.max(this.line-3,0),s=Math.min(this.line+2,a.length),l=String(s).length;if(e){var u=Ui.createColors(!0),c=u.bold,d=u.gray,p=u.red;r=function(e){return c(p(e))},i=function(e){return d(e)}}else r=i=function(e){return e};return a.slice(o,s).map(function(e,n){var a=o+1+n,s=" "+(" "+a).slice(-l)+" | ";if(a===t.line){var u=i(s.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return r(">")+i(s)+e+"\n "+u+r("^")}return" "+i(s)+e}).join("\n")},n.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(Nr(Error)),Ki=Wi;Wi.default=Wi;var $i={};$i.isClean=Symbol("isClean"),$i.my=Symbol("my");var Gi={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};var Yi=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if("undefined"!==typeof e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{var i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}},t.beforeAfter=function(e,t){var n;n="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 r=e.parent,i=0;r&&"root"!==r.type;)i+=1,r=r.parent;if(n.includes("\n")){var a=this.raw(e,null,"indent");if(a.length)for(var o=0;o<i;o++)n+=a}return n},t.block=function(e,t){var n,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(n),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 n=this.raw(e,"semicolon"),r=0;r<e.nodes.length;r++){var i=e.nodes[r],a=this.raw(i,"before");a&&this.builder(a),this.stringify(i,t!==r||n)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)},t.decl=function(e,t){var n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,n){var r;if(n||(n=t),t&&"undefined"!==typeof(r=e.raws[t]))return r;var i=e.parent;if("before"===n){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return Gi[n];var a=e.root();if(a.rawCache||(a.rawCache={}),"undefined"!==typeof a.rawCache[n])return a.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);var o,s="raw"+((o=n)[0].toUpperCase()+o.slice(1));return this[s]?r=this[s](a,e):a.walk(function(e){if("undefined"!==typeof(r=e.raws[t]))return!1}),"undefined"===typeof r&&(r=Gi[n]),a.rawCache[n]=r,r},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&"undefined"!==typeof e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var n;return e.walkComments(function(e){if("undefined"!==typeof e.raws.before)return(n=e.raws.before).includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),"undefined"===typeof n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n},t.rawBeforeDecl=function(e,t){var n;return e.walkDecls(function(e){if("undefined"!==typeof e.raws.before)return(n=e.raws.before).includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),"undefined"===typeof n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&"undefined"!==typeof(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(n){if(n.nodes&&(n.parent!==e||e.first!==n)&&"undefined"!==typeof n.raws.before)return(t=n.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if("undefined"!==typeof e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&"undefined"!==typeof(t=e.raws.after))return!1}),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk(function(n){var r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&"undefined"!==typeof n.raws.before){var i=n.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}}),t);var t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&"undefined"!==typeof(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n},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}(),Qi=Yi;Yi.default=Yi;var Ji=Qi;function Xi(e,t){new Ji(t).stringify(e)}var Zi=Xi;Xi.default=Xi;var ea=$i.isClean,ta=$i.my,na=Ki,ra=Qi,ia=Zi;function aa(e,t){var n=new e.constructor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&"proxyCache"!==r){var i=e[r],a="undefined"===typeof i?"undefined":Pr(i);"parent"===r&&"object"===a?t&&(n[r]=t):"source"===r?n[r]=i:Array.isArray(i)?n[r]=i.map(function(e){return aa(e,n)}):("object"===a&&null!==i&&(i=aa(i)),n[r]=i)}return n}var oa=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[ea]=!1,this[ta]=!0,e)if("nodes"===t){this.nodes=[];for(var n,r=Lr(e[t]);!(n=r()).done;){var i=n.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=aa(this);for(var n in e)t[n]=e[n];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 n=this.rangeBy(t),r=n.end,i=n.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:r.column,line:r.line},t)}return new na(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,n){return e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[ea]){this[ea]=!1;for(var e=this;e=e.parent;)e[ea]=!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 n=this.source.start;if(e.index)n=this.positionInside(e.index,t);
2else if(e.word){var r=(t=this.toString()).indexOf(e.word);-1!==r&&(n=this.positionInside(r,t))}return n},t.positionInside=function(e,t){for(var n=t||this.toString(),r=this.source.start.column,i=this.source.start.line,a=0;a<e;a++)"\n"===n[a]?(r=1,i+=1):r+=1;return{column:r,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},n=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 r=this.toString(),i=r.indexOf(e.word);-1!==i&&(t=this.positionInside(i,r),n=this.positionInside(i+e.word.length,r))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:"number"===typeof e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<t.line||n.line===t.line&&n.column<=t.column)&&(n={column:t.column+1,line:t.line}),{end:n,start:t}},t.raw=function(e,t){return(new ra).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),n=0;n<e;n++)t[n]=arguments[n];if(this.parent){for(var r,i=this,a=!1,o=Lr(t);!(r=o()).done;){var s=r.value;s===this?a=!0:a?(this.parent.insertAfter(i,s),i=s):this.parent.insertBefore(i,s)}a||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 n={},r=null==t;t=t||new Map;var i=0;for(var a in this)if(Object.prototype.hasOwnProperty.call(this,a)&&"parent"!==a&&"proxyCache"!==a){var o=this[a];if(Array.isArray(o))n[a]=o.map(function(e){return"object"===("undefined"===typeof e?"undefined":Pr(e))&&e.toJSON?e.toJSON(null,t):e});else if("object"===("undefined"===typeof o?"undefined":Pr(o))&&o.toJSON)n[a]=o.toJSON(null,t);else if("source"===a){var s=t.get(o.input);null==s&&(s=i,t.set(o.input,i),i++),n[a]={end:o.end,inputId:s,start:o.start}}else n[a]=o}return r&&(n.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),n},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=ia),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,n){var r={node:this};for(var i in n)r[i]=n[i];return e.warn(t,r)},Tr(e,[{key:"proxyOf",get:function(){return this}}]),e}(),sa=oa;oa.default=oa;var la=function(e){function t(t){var n;return t&&"undefined"!==typeof t.value&&"string"!==typeof t.value&&(t=Er({},t,{value:String(t.value)})),(n=e.call(this,t)||this).type="decl",n}return Ir(t,e),Tr(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(sa),ua=la;la.default=la;var ca=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},da=qi.SourceMapConsumer,pa=qi.SourceMapGenerator,ha=qi.existsSync,fa=qi.readFileSync,ma=qi.dirname,ga=qi.join;var va=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=ma(this.mapFile)),r&&(this.text=r)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new da(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 n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===("undefined"===typeof e?"undefined":Pr(e))&&("string"===typeof e.mappings||"string"===typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
2if(t){var n=e.lastIndexOf(t.pop()),r=e.indexOf("*/",n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}},t.loadFile=function(e){if(this.root=ma(e),ha(e))return this.mapFile=e,fa(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(Or(t,da))return pa.fromSourceMap(t).toString();if(Or(t,pa))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var n=t(e);if(n){var r=this.loadFile(n);if(!r)throw new Error("Unable to load previous source map: "+n.toString());return r}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var i=this.annotation;return e&&(i=ga(ma(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}(),ya=va;va.default=va;var ba=qi.SourceMapConsumer,wa=qi.SourceMapGenerator,ka=qi.fileURLToPath,_a=qi.pathToFileURL,Sa=qi.isAbsolute,xa=qi.resolve,Ca=ca,Ta=qi,Ea=Ki,Aa=ya,Ia=Symbol("fromOffsetCac
2he"),Oa=Boolean(ba&&wa),ja=Boolean(xa&&Sa),Ra=function(){function e(e,t){if(void 0===t&&(t={}),null===e||"undefined"===typeof e||"object"===("undefined"===typeof e?"undefined":Pr(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!ja||/^\w+:\/\//.test(t.from)||Sa(t.from)?this.file=t.from:this.file=xa(t.from)),ja&&Oa){var n=new Aa(this.css,t);if(n.text){this.map=n;var r=n.consumer().file;!this.file&&r&&(this.file=this.mapResolve(r))}}this.file||(this.id="<input css "+Ca(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,n,r){var i,a,o;if(void 0===r&&(r={}),t&&"object"===("undefined"===typeof t?"undefined":Pr(t))){var s=t,l=n;if("number"===typeof s.offset){var u=this.fromOffset(s.offset);t=u.line,n=u.col}else t=s.line,n=s.column;if("number"===typeof l.offset){var c=this.fromOffset(l.offset);a=c.line,o=c.col}else a=l.line,o=l.column}else if(!n){var d=this.fromOffset(t);t=d.line,n=d.col}var p=this.origin(t,n,a,o);return(i=p?new Ea(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,r.plugin):new Ea(e,void 0===a?t:{column:n,line:t},void 0===a?n:{column:o,line:a},this.css,this.file,r.plugin)).input={column:n,endColumn:o,endLine:a,line:t,source:this.css},this.file&&(_a&&(i.input.url=_a(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t;if(this[Ia])t=this[Ia];else{var n=this.css.split("\n");t=new Array(n.length);for(var r=0,i=0,a=n.length;i<a;i++)t[i]=r,r+=n[i].length+1;this[Ia]=t}var o=0;if(e>=t[t.length-1])o=t.length-1;else for(var s,l=t.length-2;o<l;)if(e<t[s=o+(l-o>>1)])l=s-1;else{if(!(e>=t[s+1])){o=s;break}o=s+1}return{col:e-t[o]+1,line:o+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:xa(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,n,r){if(!this.map)return!1;var i,a,o=this.map.consumer(),s=o.originalPositionFor({column:t,line:e});if(!s.source)return!1;"number"===typeof n&&(i=o.originalPositionFor({column:r,line:n})),a=Sa(s.source)?_a(s.source):new URL(s.source,this.map.consumer().sourceRoot||_a(this.map.mapFile));var l={column:s.column,endColumn:i&&i.column,endLine:i&&i.line,line:s.line,url:a.toString()};if("file:"===a.protocol){if(!ka)throw new Error("file: protocol is not available in this PostCSS build");l.file=ka(a)}var u=o.sourceContentFor(s.source);return u&&(l.source=u),l},t.toJSON=function(){for(var e={},t=0,n=["hasBOM","css","file","id"];t<n.length;t++){var r=n[t];null!=this[r]&&(e[r]=this[r])}return this.map&&(e.map=Er({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},Tr(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),Pa=Ra;Ra.default=Ra,Ta&&Ta.registerInput&&Ta.registerInput(Ra);var Na=qi.SourceMapConsumer,Ma=qi.SourceMapGenerator,La=qi.dirname,Da=qi.relative,Va=qi.resolve,Fa=qi.sep,za=qi.pathToFileURL,Ha=Pa,qa=Boolean(Na&&Ma),Ua=Boolean(La&&Va&&Da&&Fa),Ba=function(){function e(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,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=Lr(this.previous());!(e=t()).done;){var n=e.value,r=this.toUrl(this.path(n.file)),i=n.root||La(n.file),a=void 0;!1===this.mapOpts.sourcesContent?(a=new Na(n.text)).sourcesContent&&(a.sourcesContent=null):a=n.consumer(),this.map.applySourceMap(a,r,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(),Ua&&qa&&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=Ma.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Ma({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 Ma({file:this.outputFile(),ignoreInvalidMapping:!0});var t,n,r=1,i=1,a="<no source>",o={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(s,l,u){if(e.css+=s,l&&"end"!==u&&(o.generated.line=r,o.generated.column=i-1,l.source&&l.source.start?(o.source=e.sourcePath(l),o.original.line=l.source.start.line,o.original.column=l.source.start.column-1,e.map.addMapping(o)):(o.source=a,o.original.line=1,o.original.column=0,e.map.addMapping(o))),(t=s.match(/\n/g))?(r+=t.length,n=s.lastIndexOf("\n"),i=s.length-n):i+=s.length,l&&"start"!==u){var c=l.parent||{raws:{}};("decl"===l.type||"atrule"===l.type&&!l.nodes)&&l===c.last&&!c.raws.semicolon||(l.source&&l.source.end?(o.source=e.sourcePath(l),o.original.line=l.source.end.line,o.original.column=l.source.end.column-1,o.generated.line=r,o.generated.column=i-2,e.map.addMapping(o)):(o.source=a,o.original.line=1,o.original.column=0,o.generated.line=r,o.generated.column=i-1,e.map.addMapping(o)))}})},t.isAnnotation=function(){return!!this.isInline()||("undefined"!==typeof this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if("undefined"!==typeof this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return("undefined"===typeof e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return"undefined"!==typeof this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return"undefined"!==typeof this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var n=this.opts.to?La(this.opts.to):".";"string"===typeof this.mapOpts.annotation&&(n=La(Va(n,this.mapOpts.annotation)));var r=Da(n,e);return this.memoizedPaths.set(e,r),r},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 n=t.source.input.map;e.previousMaps.includes(n)||e.previousMaps.push(n)}});else{var t=new Ha(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(n){if(n.source){var r=n.source.input.from;if(r&&!t[r]){t[r]=!0;var i=e.usesFileUrls?e.toFileUrl(r):e.toUrl(e.path(r));e.map.setSourceContent(i,n.source.input.css)}}});else if(this.css){var n=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(n,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(za){var n=za(e).toString();return this.memoizedFileURLs.set(e,n),n}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;"\\"===Fa&&(e=e.replace(/\\/g,"/"));var n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n},e}(),Wa=function(e){function t(t){var n;return(n=e.call(this,t)||this).type="comment",n}return Ir(t,e),t}(sa),Ka=Wa;Wa.default=Wa;var $a,Ga,Ya,Qa,Ja=$i.isClean,Xa=$i.my,Za=ua,eo=Ka;
2function to(e){return e.map(function(e){return e.nodes&&(e.nodes=to(e.nodes)),delete e.source,e})}function no(e){if(e[Ja]=!1,e.proxyOf.nodes)for(var t,n=Lr(e.proxyOf.nodes);!(t=n()).done;){no(t.value)}}var ro=function(e){function t(){return e.apply(this,arguments)||this}Ir(t,e);var n=t.prototype;return n.append=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r,i=Lr(t);!(r=i()).done;)for(var a,o=r.value,s=Lr(this.normalize(o,this.last));!(a=s()).done;){var l=a.value;this.proxyOf.nodes.push(l)}return this.markDirty(),this},n.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var n,r=Lr(this.nodes);!(n=r()).done;){n.value.cleanRaws(t)}},n.each=function(e){if(this.proxyOf.nodes){for(var t,n,r=this.getIterator();this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],!1!==(n=e(this.proxyOf.nodes[t],t)));)this.indexes[r]+=1;return delete this.indexes[r],n}},n.every=function(e){return this.nodes.every(e)},n.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},n.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"===typeof t&&t.startsWith("walk")?function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a;return(a=e)[t].apply(a,[].concat(r.map(function(e){return"function"===typeof e?function(t,n){return e(t.toProxy(),n)}:e})))}:"every"===t||"some"===t?function(n){return e[t](function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return n.apply(void 0,[].concat([e.toProxy()],r))})}:"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,n){return e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},n.index=function(e){return"number"===typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},n.insertAfter=function(e,t){var n,r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(var a,o=Lr(i);!(a=o()).done;){var s=a.value;this.proxyOf.nodes.splice(r+1,0,s)}for(var l in this.indexes)r<(n=this.indexes[l])&&(this.indexes[l]=n+i.length);return this.markDirty(),this},n.insertBefore=function(e,t){var n,r=this.index(e),i=0===r&&"prepend",a=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(var o,s=Lr(a);!(o=s()).done;){var l=o.value;this.proxyOf.nodes.splice(r,0,l)}for(var u in this.indexes)r<=(n=this.indexes[u])&&(this.indexes[u]=n+a.length);return this.markDirty(),this},n.normalize=function(e,n){var r=this;if("string"===typeof e)e=to($a(e).nodes);else if("undefined"===typeof e)e=[];else if(Array.isArray(e))for(var i,a=Lr(e=e.slice(0));!(i=a()).done;){var o=i.value;o.parent&&o.parent.removeChild(o,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var s,l=Lr(e=e.nodes.slice(0));!(s=l()).done;){var u=s.value;u.parent&&u.parent.removeChild(u,"ignore")}else if(e.type)e=[e];else if(e.prop){if("undefined"===typeof e.value)throw new Error("Value field is missed in node creation");"string"!==typeof e.value&&(e.value=String(e.value)),e=[new Za(e)]}else if(e.selector)e=[new Ga(e)];else if(e.name)e=[new Ya(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new eo(e)]}var c=e.map(function(e){return e[Xa]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[Ja]&&no(e),"undefined"===typeof e.raws.before&&n&&"undefined"!==typeof n.raws.before&&(e.raws.before=n.raws.before.replace(/\S/g,"")),e.parent=r.proxyOf,e});return c},n.prepend=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r,i=Lr(t=t.reverse());!(r=i()).done;){for(var a,o=r.value,s=this.normalize(o,this.first,"prepend").reverse(),l=Lr(s);!(a=l()).done;){var u=a.value;this.proxyOf.nodes.unshift(u)}for(var c in this.indexes)this.indexes[c]=this.indexes[c]+s.length}return this.markDirty(),this},n.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},n.removeAll=function(){for(var e,t=Lr(this.proxyOf.nodes);!(e=t()).done;){e.value.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},n.removeChild=function(e){var t;for(var n in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[n])>=e&&(this.indexes[n]=t-1);return this.markDirty(),this},n.replaceValues=function(e,t,n){return n||(n=t,t={}),this.walkDecls(function(r){t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))}),this.markDirty(),this},n.some=function(e){return this.nodes.some(e)},n.walk=function(e){return this.each(function(t,n){var r;try{r=e(t,n)}catch(i){throw t.addToError(i)}return!1!==r&&t.walk&&(r=t.walk(e)),r})},n.walkAtRules=function(e,t){return t?Or(e,RegExp)?this.walk(function(n,r){if("atrule"===n.type&&e.test(n.name))return t(n,r)}):this.walk(function(n,r){if("atrule"===n.type&&n.name===e)return t(n,r)}):(t=e,this.walk(function(e,n){if("atrule"===e.type)return t(e,n)}))},n.walkComments=function(e){return this.walk(function(t,n){if("comment"===t.type)return e(t,n)})},n.walkDecls=function(e,t){return t?Or(e,RegExp)?this.walk(function(n,r){if("decl"===n.type&&e.test(n.prop))return t(n,r)}):this.walk(function(n,r){if("decl"===n.type&&n.prop===e)return t(n,r)}):(t=e,this.walk(function(e,n){if("decl"===e.type)return t(e,n)}))},n.walkRules=function(e,t){return t?Or(e,RegExp)?this.walk(function(n,r){if("rule"===n.type&&e.test(n.selector))return t(n,r)}):this.walk(function(n,r){if("rule"===n.type&&n.selector===e)return t(n,r)}):(t=e,this.walk(function(e,n){if("rule"===e.type)return t(e,n)}))},Tr(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}(sa);ro.registerParse=function(e){$a=e},ro.registerRule=function(e){Ga=e},ro.registerAtRule=function(e){Ya=e},ro.registerRoot=function(e){Qa=e};var io=ro;ro.default=ro,ro.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,Ya.prototype):"rule"===e.type?Object.setPrototypeOf(e,Ga.prototype):"decl"===e.type?Object.setPrototypeOf(e,Za.prototype):"comment"===e.type?Object.setPrototypeOf(e,eo.prototype):"root"===e.type&&Object.setPrototypeOf(e,Qa.prototype),e[Xa]=!0,e.nodes&&e.nodes.forEac
2h(function(e){ro.rebuild(e)})};var ao,oo,so=function(e){function t(t){var n;return(n=e.call(this,Er({type:"document"},t))||this).nodes||(n.nodes=[]),n}return Ir(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new ao(new oo,this,e).stringify()},t}(io);so.registerLazyResult=function(e){ao=e},so.registerProcessor=function(e){oo=e};var lo=so;so.default=so;var uo=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var n=t.node.rangeBy(t);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(var r in t)this[r]=t[r]}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}(),co=uo;uo.default=uo;var po=co,ho=function(){function e(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,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 n=new po(e,t);return this.messages.push(n),n},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},Tr(e,[{key:"content",get:function(){return this.css}}]),e}(),fo=ho;ho.default=ho;var mo="'".charCodeAt(0),go='"'.charCodeAt(0),vo="\\".charCodeAt(0),yo="/".charCodeAt(0),bo="\n".charCodeAt(0),wo=" ".charCodeAt(0),ko="\f".charCodeAt(0),_o="\t".charCodeAt(0),So="\r".charCodeAt(0),xo="[".charCodeAt(0),Co="]".charCodeAt(0),To="(".charCodeAt(0),Eo=")".charCodeAt(0),Ao="{".charCodeAt(0),Io="}".charCodeAt(0),Oo=";".charCodeAt(0),jo="*".charCodeAt(0),Ro=":".charCodeAt(0),Po="@".charCodeAt(0),No=/[\t\n\f\r "#'()/;[\\\]{}]/g,Mo=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Lo=/.[\r\n"'(/\\]/,Do=/[\da-f]/i,Vo=io,Fo=function(e){function t(t){var n;return(n=e.call(this,t)||this).type="atrule",n}Ir(t,e);var n=t.prototype;return n.append=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.append).call.apply(i,[].concat([this],n))},n.prepend=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.prepend).call.apply(i,[].concat([this],n))},t}(Vo),zo=Fo;Fo.default=Fo,Vo.registerAtRule(Fo);var Ho,qo,Uo=io,Bo=function(e){function t(t){var n;return(n=e.call(this,t)||this).type="root",n.nodes||(n.nodes=[]),n}Ir(t,e);var n=t.prototype;return n.normalize=function(t,n,r){var i=e.prototype.normalize.call(this,t);if(n)if("prepend"===r)this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(var a,o=Lr(i);!(a=o()).done;){a.value.raws.before=n.raws.before}return i},n.removeChild=function(t,n){var r=this.index(t);return!n&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),e.prototype.removeChild.call(this,t)},n.toResult=function(e){return void 0===e&&(e={}),new Ho(new qo,this,e).stringify()},t}(Uo);Bo.registerLazyResult=function(e){Ho=e},Bo.registerProcessor=function(e){qo=e};var Wo=Bo;Bo.default=Bo,Uo.registerRoot(Bo);var Ko={comma:function(e){return Ko.split(e,[","],!0)},space:function(e){return Ko.split(e,[" ","\n","\t"])},split:function(e,t,n){for(var r,i=[],a="",o=!1,s=0,l=!1,u="",c=!1,d=Lr(e);!(r=d()).done;){var p=r.value;c?c=!1:"\\"===p?c=!0:l?p===u&&(l=!1):'"'===p||"'"===p?(l=!0,u=p):"("===p?s+=1:")"===p?s>0&&(s-=1):0===s&&t.includes(p)&&(o=!0),o?(""!==a&&i.push(a.trim()),a="",o=!1):a+=p}return(n||""!==a)&&i.push(a.trim()),i}},$o=Ko;Ko.default=Ko;var Go=io,Yo=$o,Qo=function(e){function t(t){var n;return(n=e.call(this,t)||this).type="rule",n.nodes||(n.nodes=[]),n}return Ir(t,e),Tr(t,[{key:"selectors",get:function(){return Yo.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}]),t}(Go),Jo=Qo;Qo.default=Qo,Go.registerRule(Qo);var Xo=ua,Zo=function(e,t){void 0===t&&(t={});var n,r,i,a,o,s,l,u,c,d,p=e.css.valueOf(),h=t.ignoreErrors,f=p.length,m=0,g=[],v=[];function y(t){throw e.error("Unclosed "+t,m)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&m>=f},nextToken:function(e){if(v.length)return v.pop();if(!(m>=f)){var t=!!e&&e.ignoreUnclosed;
vendor: 7,026 bytes, line 2
2switch(n=p.charCodeAt(m)){case bo:case wo:case _o:case So:case ko:r=m;do{r+=1,n=p.charCodeAt(r)}while(n===wo||n===bo||n===_o||n===So||n===ko);d=["space",p.slice(m,r)],m=r-1;break;case xo:case Co:case Ao:case Io:case Ro:case Oo:case Eo:var b=String.fromCharCode(n);d=[b,b,m];break;case To:if(u=g.length?g.pop()[1]:"",c=p.charCodeAt(m+1),"url"===u&&c!==mo&&c!==go&&c!==wo&&c!==bo&&c!==_o&&c!==ko&&c!==So){r=m;do{if(s=!1,-1===(r=p.indexOf(")",r+1))){if(h||t){r=m;break}y("bracket")}for(l=r;p.charCodeAt(l-1)===vo;)l-=1,s=!s}while(s);d=["brackets",p.slice(m,r+1),m,r],m=r}else r=p.indexOf(")",m+1),a=p.slice(m,r+1),-1===r||Lo.test(a)?d=["(","(",m]:(d=["brackets",a,m,r],m=r);break;case mo:case go:i=n===mo?"'":'"',r=m;do{if(s=!1,-1===(r=p.indexOf(i,r+1))){if(h||t){r=m+1;break}y("string")}for(l=r;p.charCodeAt(l-1)===vo;)l-=1,s=!s}while(s);d=["string",p.slice(m,r+1),m,r],m=r;break;case Po:No.lastIndex=m+1,No.test(p),r=0===No.lastIndex?p.length-1:No.lastIndex-2,d=["at-word",p.slice(m,r+1),m,r],m=r;break;case vo:for(r=m,o=!0;p.charCodeAt(r+1)===vo;)r+=1,o=!o;if(n=p.charCodeAt(r+1),o&&n!==yo&&n!==wo&&n!==bo&&n!==_o&&n!==So&&n!==ko&&(r+=1,Do.test(p.charAt(r)))){for(;Do.test(p.charAt(r+1));)r+=1;p.charCodeAt(r+1)===wo&&(r+=1)}d=["word",p.slice(m,r+1),m,r],m=r;break;default:n===yo&&p.charCodeAt(m+1)===jo?(0===(r=p.indexOf("*/",m+2)+1)&&(h||t?r=p.length:y("comment")),d=["comment",p.slice(m,r+1),m,r],m=r):(Mo.lastIndex=m+1,Mo.test(p),r=0===Mo.lastIndex?p.length-1:Mo.lastIndex-2,d=["word",p.slice(m,r+1),m,r],g.push(d),m=r)}return m++,d}},position:function(){return m}}},es=Ka,ts=zo,ns=Wo,rs=Jo,is={empty:!0,space:!0};var as=io,os=function(){function e(e){this.input=e,this.root=new ns,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,n,r,i=new ts;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var a=!1,o=!1,s=[],l=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){o=!0;break}if("}"===t){if(s.length>0){for(n=s[r=s.length-1];n&&"space"===n[0];)n=s[--r];n&&(i.source.end=this.getPosition(n[3]||n[2]),i.source.end.offset++)}this.end(e);break}s.push(e)}else s.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(i.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(i,"params",s),a&&(e=s[s.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=""),o&&(i.nodes=[],this.current=i)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var n,r=0,i=t-1;i>=0&&("space"===(n=e[i])[0]||2!==(r+=1));i--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}},t.colon=function(e){for(var t,n,r,i,a=0,o=Lr(e.entries());!(i=o()).done;){var s=i.value,l=s[0];if("("===(n=(t=s[1])[0])&&(a+=1),")"===n&&(a-=1),0===a&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return l}this.doubleColon(t)}r=t}return!1},t.comment=function(e){var t=new es;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{var r=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}},t.createTokenizer=function(){this.tokenizer=Zo(this.input)},t.decl=function(e,t){var n=new Xo;this.init(n,e[0][2]);var r,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||function(e){for(var t=e.length-1;t>=0;t--){var n=e[t],r=n[3]||n[2];if(r)return r}}(e)),n.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){var a=e[0][0];if(":"===a||"space"===a||"comment"===a)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(":"===(r=e.shift())[0]){n.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),n.raws.between+=r[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));for(var o,s=[];e.length&&("space"===(o=e[0][0])||"comment"===o);)s.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if("!important"===(r=e[l])[1].toLowerCase()){n.important=!0;var u=this.stringFrom(e,l);" !important"!==(u=this.spacesFromEnd(e)+u)&&(n.raws.important=u);break}if("important"===r[1].toLowerCase()){for(var c=e.slice(0),d="",p=l;p>0;p--){var h=c[p][0];if(0===d.trim().indexOf("!")&&"space"!==h)break;d=c.pop()[1]+d}0===d.trim().indexOf("!")&&(n.important=!0,n.raws.important=d,e=c)}if("space"!==r[0]&&"comment"!==r[0])break}var f=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});f&&(n.raws.between+=s.map(function(e){return e[1]}).join(""),s=[]),this.raw(n,"value",s.concat(e),t),n.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 rs;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,n=null,r=!1,i=null,a=[],o=e[1].startsWith("--"),s=[],l=e;l;){if(n=l[0],s.push(l),"("===n||"["===n)i||(i=l),a.push("("===n?")":"]");else if(o&&r&&"{"===n)i||(i=l),a.push("}");else if(0===a.length){if(";"===n){if(r)return void this.decl(s,o);break}if("{"===n)return void this.rule(s);if("}"===n){this.tokenizer.back(s.pop()),t=!0;break}":"===n&&(r=!0)}else n===a[a.length-1]&&(a.pop(),0===a.length&&(i=null));l=this.tokenizer.nextToken()}
2if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&r){if(!o)for(;s.length&&("space"===(l=s[s.length-1][0])||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,o)}else this.unknownWord(s)},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,n,r){for(var i,a,o,s,l=n.length,u="",c=!0,d=0;d<l;d+=1)"space"!==(a=(i=n[d])[0])||d!==l-1||r?"comment"===a?(s=n[d-1]?n[d-1][0]:"empty",o=n[d+1]?n[d+1][0]:"empty",is[s]||is[o]||","===u.slice(-1)?c=!1:u+=i[1]):u+=i[1]:c=!1;if(!c){var p=n.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 rs;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,n="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)n=e.pop()[1]+n;return n},t.spacesAndCommentsFromStart=function(e){for(var t,n="";e.length&&("space"===(t=e[0][0])||"comment"===t);)n+=e.shift()[1];return n},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 n="",r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n},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}(),ss=Pa;function ls(e,t){var n=new ss(e,t),r=new os(n);try{r.parse()}catch(i){throw i}return r.root}var us=ls;ls.default=ls,as.registerParse(ls);var cs=$i.isClean,ds=$i.my,ps=Ba,hs=Zi,fs=io,ms=lo,gs=fo,vs=us,ys=Wo,bs={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},ws={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},ks={Once:!0,postcssPlugin:!0,prepare:!0};function _s(e){return"object"===("undefined"===typeof e?"undefined":Pr(e))&&"function"===typeof e.then}function Ss(e){var t=!1,n=bs[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,0,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,0,n+"Exit"]:[n,n+"Exit"]}function xs(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Ss(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function Cs(e){return e[cs]=!1,e.nodes&&e.nodes.forEach(function(e){return Cs(e)}),e}var Ts={},Es=function(){function e(t,n,r){var i,a=this;if(this.stringified=!1,this.processed=!1,"object"!==("undefined"===typeof n?"undefined":Pr(n))||null===n||"root"!==n.type&&"document"!==n.type)if(Or(n,e)||Or(n,gs))i=Cs(n.root),n.map&&("undefined"===typeof r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{var o=vs;r.syntax&&(o=r.syntax.parse),r.parser&&(o=r.parser),o.parse&&(o=o.parse);try{i=o(n,r)}catch(s){this.processed=!0,this.error=s}i&&!i[ds]&&fs.rebuild(i)}else i=Cs(n);this.result=new gs(t,i,r),this.helpers=Er({},Ts,{postcss:Ts,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===("undefined"===typeof e?"undefined":Pr(e))&&e.prepare?Er({},e,e.prepare(a.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 n=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(n.postcssVersion);}else e.plugin=n.postcssPlugin,e.setMessage()}catch(r){console&&console.error&&console.error(r)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,n=function(t,n,r){e.listeners[n]||(e.listeners[n]=[]),e.listeners[n].push([t,r])},r=Lr(this.plugins);!(t=r()).done;){var i=t.value;if("object"===("undefined"===typeof i?"undefined":Pr(i)))for(var a in i){if(!ws[a]&&/^[A-Z]/.test(a))throw new Error("Unknown event "+a+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.ver
2sion+" now).");if(!ks[a])if("object"===Pr(i[a]))for(var o in i[a])n(i,"*"===o?a:a+"-"+o.toLowerCase(),i[a][o]);else"function"===typeof i[a]&&n(i,a,i[a])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return xr(function(){var t,n,r,i,a,o,s,l,u,c,d,p;return Dr(this,function(h){switch(h.label){case 0:e.plugin=0,t=0,h.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(n=e.plugins[t],!_s(r=e.runOnRoot(n)))return[3,5];h.label=2;case 2:return h.trys.push([2,4,,5]),[4,r];case 3:return h.sent(),[3,5];case 4:throw i=h.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];a=e.result.root,h.label=7;case 7:if(a[cs])return[3,14];a[cs]=!0,o=[xs(a)],h.label=8;case 8:if(!(o.length>0))return[3,13];if(!_s(s=e.visitTick(o)))return[3,12];h.label=9;case 9:return h.trys.push([9,11,,12]),[4,s];case 10:return h.sent(),[3,12];case 11:throw l=h.sent(),u=o[o.length-1].node,e.handleError(l,u);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];c=function(){var t,n,r,i,o;return Dr(this,function(s){switch(s.label){case 0:t=p.value,n=t[0],r=t[1],e.result.lastPlugin=n,s.label=1;case 1:return s.trys.push([1,6,,7]),"document"!==a.type?[3,3]:(i=a.nodes.map(function(t){return r(t,e.helpers)}),[4,Promise.all(i)]);case 2:return s.sent(),[3,5];case 3:return[4,r(a,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw o=s.sent(),e.handleError(o);case 7:return[2]}})},d=Lr(e.listeners.OnceExit),h.label=15;case 15:return(p=d()).done?[3,18]:[5,Vr(c())];case 16:h.sent(),h.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===("undefined"===typeof e?"undefined":Pr(e))&&e.Once){if("document"===this.result.root.type){var n=this.result.root.nodes.map(function(n){return e.Once(n,t.helpers)});return _s(n[0])?Promise.all(n):n}return e.Once(this.result.root,this.helpers)}if("function"===typeof e)return e(this.result.root,this.result)}catch(r){throw this.handleError(r)}},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=hs;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var n=new ps(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[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=Lr(this.plugins);!(e=t()).done;){var n=e.value;if(_s(this.runOnRoot(n)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var r=this.result.root;!r[cs];)r[cs]=!0,this.walkSync(r);if(this.listeners.OnceExit)if("document"===r.type)for(var i,a=Lr(r.nodes);!(i=a()).done;){var o=i.value;this.visitSync(this.listeners.OnceExit,o)}else this.visitSync(this.listeners.OnceExit,r)}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 n,r=Lr(e);!(n=r()).done;){var i=n.value,a=i[0],o=i[1];this.result.lastPlugin=a;var s=void 0;try{s=o(t,this.helpers)}catch(l){throw this.handleError(l,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(_s(s))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],n=t.node,r=t.visitors;if("root"===n.type||"document"===n.type||n.parent){if(r.length>0&&t.visitorIndex<r.length){var i=r[t.visitorIndex],a=i[0],o=i[1];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=a;try{return o(n.toProxy(),this.helpers)}catch(d){throw this.handleError(d,n)}}if(0!==t.iterator){for(var s,l=t.iterator;s=n.nodes[n.indexes[l]];)if(n.indexes[l]+=1,!s[cs])return s[cs]=!0,void e.push(xs(s));t.iterator=0,delete n.indexes[l]}for(var u=t.events;t.eventIndex<u.length;){var c=u[t.eventIndex];if(t.eventIndex+=1,0===c)return void(n.nodes&&n.nodes.length&&(n[cs]=!0,t.iterator=n.getIterator()));if(this.listeners[c])return void(t.visitors=this.listeners[c])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[cs]=!0;for(var n,r=Lr(Ss(e));!(n=r()).done;){var i=n.value;if(0===i)e.nodes&&e.each(function(e){e[cs]||t.walkSync(e)});else{var a=this.listeners[i];if(a&&this.visitSync(a,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()}
2,Tr(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}();Es.registerPostcss=function(e){Ts=e};var As=Es;Es.default=Es,ys.registerLazyResult(Es),ms.registerLazyResult(Es);var Is=Ba,Os=Zi,js=us,Rs=fo,Ps=function(){function e(e,t,n){var r;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;var i=Os;this.result=new Rs(this._processor,r,this._opts),this.result.css=t;var a=this;Object.defineProperty(this.result,"root",{get:function(){return a.root}});var o=new Is(i,r,this._opts,t);if(o.isMap()){var s=o.generate(),l=s[0],u=s[1];l&&(this.result.css=l),u&&(this.result.map=u)}else o.clearAnnotation(),this.result.css=o.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[]},Tr(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,t=js;try{e=t(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),Ns=Ps;Ps.default=Ps;var Ms=Ns,Ls=As,Ds=lo,Vs=Wo,Fs=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,n=[],r=Lr(e);!(t=r()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"===("undefined"===typeof i?"undefined":Pr(i))&&Array.isArray(i.plugins))n=n.concat(i.plugins);else if("object"===("undefined"===typeof i?"undefined":Pr(i))&&i.postcssPlugin)n.push(i);else if("function"===typeof i)n.push(i);else{if("object"!==("undefined"===typeof i?"undefined":Pr(i))||!i.parse&&!i.stringify)throw new Error(i+" is not a PostCSS plugin")}}return n},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new Ls(this,e,t):new Ms(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),zs=Fs;Fs.default=Fs,Vs.registerProcessor(Fs),Ds.registerProcessor(Fs);var Hs=ua,qs=ya,Us=Ka,Bs=zo,Ws=Pa,Ks=Wo,$s=Jo;function Gs(e,t){if(Array.isArray(e))return e.map(function(e){return Gs(e)});var n=e.inputs,r=jr(e,["inputs"]);if(n){t=[];for(var i,a=Lr(n);!(i=a()).done;){var o=Er({},i.value,{__proto__:Ws.prototype});o.map&&(o.map=Er({},o.map,{__proto__:qs.prototype})),t.push(o)}}if(r.nodes&&(r.nodes=e.nodes.map(function(e){return Gs(e,t)})),r.source){var s=r.source,l=s.inputId,u=jr(s,["inputId"]);r.source=u,null!=l&&(r.source.input=t[l])}if("root"===r.type)return new Ks(r);if("decl"===r.type)return new Hs(r);if("rule"===r.type)return new $s(r);if("comment"===r.type)return new Us(r);if("atrule"===r.type)return new Bs(r);throw new Error("Unknown node type: "+e.type)}var Ys=Gs;Gs.default=Gs;var Qs=Ki,Js=ua,Xs=As,Zs=io,el=zs,tl=Zi,nl=Ys,rl=lo,il=co,al=Ka,ol=zo,sl=fo,ll=Pa,ul=us,cl=$o,dl=Jo,pl=Wo,hl=sa;function fl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new el(t)}fl.plugin=function(e,t){var n,r=!1;function i(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:"443",FAST_REFRESH:!0,REACT_APP_BACKEND_URL:"https://habalitv.com",REACT_APP_SIGNIN_URL:"https://tv.habalitv.com/",REACT_APP_APP_URL:"https://tv.habalitv.com/",REACT_APP_SITE_URL:"https://habalitv.com",REACT_APP_MIXPANEL_TOKEN:"cc37bb4a9d82b6cfbd956769c44a3df1",REACT_APP_GA4_MEASUREMENT_ID:"G-9M9TQW1NTV",REACT_APP_VAPID_PUBLIC_KEY:"BDddlaD__faf82DDfANBlp7HuzX4AE8vZGtTb4ZPDj28k5aq_DXgOcxNwlXuVAkbjxurKj0YAGh82OnuZm_bZCo",REACT_APP_GSC_VERIFICATION:"",REACT_APP_BING_VERIFICATION:""}.LANG&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:"443",FAST_REFRESH:!0,REACT_APP_BACKEND_URL:"https://habalitv.com",REACT_APP_SIGNIN_URL:"https://tv.habalitv.com/",REACT_APP_APP_URL:"https://tv.habalitv.com/",REACT_APP_SITE_URL:"https://habalitv.com",REACT_APP_MIXPANEL_TOKEN:"cc37bb4a9d82b6cfbd956769c44a3df1",REACT_APP_GA4_MEASUREMENT_ID:"G-9M9TQW1NTV",REACT_APP_VAPID_PUBLIC_KEY:"BDddlaD__faf82DDfANBlp7HuzX4AE8vZGtTb4ZPDj28k5aq_DXgOcxNwlXuVAkbjxurKj0YAGh82OnuZm_bZCo",REACT_APP_GSC_VERIFICATION:"",REACT_APP_BING_VERIFICATION:""}.LANG.startsWith("cn")&&console.warn(e+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"));
2var o=t.apply(void 0,[].concat(i));return o.postcssPlugin=e,o.postcssVersion=(new el).version,o}return Object.defineProperty(i,"postcss",{get:function(){return n||(n=i()),n}}),i.process=function(e,t,n){return fl([i(n)]).process(e,t)},i},fl.stringify=tl,fl.parse=ul,fl.fromJSON=nl,fl.list=cl,fl.comment=function(e){return new al(e)},fl.atRule=function(e){return new ol(e)},fl.decl=function(e){return new Js(e)},fl.rule=function(e){return new dl(e)},fl.root=function(e){return new pl(e)},fl.document=function(e){return new rl(e)},fl.CssSyntaxError=Qs,fl.Declaration=Js,fl.Container=Zs,fl.Processor=el,fl.Document=rl,fl.Comment=al,fl.Warning=il,fl.AtRule=ol,fl.Result=sl,fl.Input=ll,fl.Rule=dl,fl.Root=pl,fl.Node=hl,Xs.registerPostcss(fl);var ml=fl;fl.default=fl;var gl=Li(ml);gl.stringify,gl.fromJSON,gl.plugin,gl.parse,gl.list,gl.document,gl.comment,gl.atRule,gl.rule,gl.decl,gl.root,gl.CssSyntaxError,gl.Declaration,gl.Container,gl.Processor,gl.Document,gl.Comment,gl.Warning,gl.AtRule,gl.Result,gl.Input,gl.Rule,gl.Root,gl.Node;var vl=Object.defineProperty,yl=function(e,t,n){return function(e,t,n){return t in e?vl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==("undefined"===typeof t?"undefined":Pr(t))?t+"":t,n)};function bl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wl(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return Or(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var kl={exports:{}},_l=String,Sl=function(){return{isColorSupported:!1,reset:_l,bold:_l,dim:_l,italic:_l,underline:_l,inverse:_l,hidden:_l,strikethrough:_l,black:_l,red:_l,green:_l,yellow:_l,blue:_l,magenta:_l,cyan:_l,white:_l,gray:_l,bgBlack:_l,bgRed:_l,bgGreen:_l,bgYellow:_l,bgBlue:_l,bgMagenta:_l,bgCyan:_l,bgWhite:_l}};
2kl.exports=Sl(),kl.exports.createColors=Sl;var xl=kl.exports,Cl=wl(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),Tl=xl,El=Cl,Al=function(e){function t(n,r,i,a,o,s){var l;return(l=e.call(this,n)||this).name="CssSyntaxError",l.reason=n,o&&(l.file=o),a&&(l.source=a),s&&(l.plugin=s),"undefined"!==typeof r&&"undefined"!==typeof i&&("number"===typeof r?(l.line=r,l.column=i):(l.line=r.line,l.column=r.column,l.endLine=i.line,l.endColumn=i.column)),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(l,t),l}Ir(t,e);var n=t.prototype;return n.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>","undefined"!==typeof this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},n.showSourceCode=function(e){var t=this;if(!this.source)return"";var n=this.source;null==e&&(e=Tl.isColorSupported),El&&e&&(n=El(n));var r,i,a=n.split(/\r?\n/),o=Math.max(this.line-3,0),s=Math.min(this.line+2,a.length),l=String(s).length;if(e){var u=Tl.createColors(!0),c=u.bold,d=u.gray,p=u.red;r=function(e){return c(p(e))},i=function(e){return d(e)}}else r=i=function(e){return e};return a.slice(o,s).map(function(e,n){var a=o+1+n,s=" "+(" "+a).slice(-l)+" | ";if(a===t.line){var u=i(s.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return r(">")+i(s)+e+"\n "+u+r("^")}return" "+i(s)+e}).join("\n")},n.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(Nr(Error)),Il=Al;Al.default=Al;var Ol={};Ol.isClean=Symbol("isClean"),Ol.my=Symbol("my");var jl={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};var Rl=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if("undefined"!==typeof e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{var i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}},t.beforeAfter=function(e,t){var n;n="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 r=e.parent,i=0;r&&"root"!==r.type;)i+=1,r=r.parent;if(n.includes("\n")){var a=this.raw(e,null,"indent");if(a.length)for(var o=0;o<i;o++)n+=a}return n},t.block=function(e,t){var n,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(n),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 n=this.raw(e,"semicolon"),r=0;r<e.nodes.length;r++){var i=e.nodes[r],a=this.raw(i,"before");a&&this.builder(a),this.stringify(i,t!==r||n)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)},t.decl=function(e,t){var n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,n){var r;if(n||(n=t),t&&"undefined"!==typeof(r=e.raws[t]))return r;var i=e.parent;if("before"===n){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return jl[n];var a=e.root();if(a.rawCache||(a.rawCache={}),"undefined"!==typeof a.rawCache[n])return a.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);var o,s="raw"+((o=n)[0].toUpperCase()+o.slice(1));return this[s]?r=this[s](a,e):a.walk(function(e){if("undefined"!==typeof(r=e.raws[t]))return!1}),"undefined"===typeof r&&(r=jl[n]),a.rawCache[n]=r,r},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&"undefined"!==typeof e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var n;return e.walkComments(function(e){if("undefined"!==typeof e.raws.before)return(n=e.raws.before).includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),"undefined"===typeof n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n},t.rawBeforeDecl=function(e,t){var n;return e.walkDecls(function(e){if("undefined"!==typeof e.raws.before)return(n=e.raws.before).includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),"undefined"===typeof n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&"undefined"!==typeof(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(n){if(n.nodes&&(n.parent!==e||e.first!==n)&&"undefined"!==typeof n.raws.before)return(t=n.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if("undefined"!==typeof e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&"undefined"!==typeof(t=e.raws.after))return!1}),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk(function(n){var r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&"undefined"!==typeof n.raws.before){var i=n.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}}),t);var t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&"undefined"!==typeof(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n},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}(),Pl=Rl;Rl.default=Rl;var Nl=Pl;
2function Ml(e,t){new Nl(t).stringify(e)}var Ll=Ml;Ml.default=Ml;var Dl=Ol.isClean,Vl=Ol.my,Fl=Il,zl=Pl,Hl=Ll;function ql(e,t){var n=new e.constructor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&"proxyCache"!==r){var i=e[r],a="undefined"===typeof i?"undefined":Pr(i);"parent"===r&&"object"===a?t&&(n[r]=t):"source"===r?n[r]=i:Array.isArray(i)?n[r]=i.map(function(e){return ql(e,n)}):("object"===a&&null!==i&&(i=ql(i)),n[r]=i)}return n}var Ul=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[Dl]=!1,this[Vl]=!0,e)if("nodes"===t){this.nodes=[];for(var n,r=Lr(e[t]);!(n=r()).done;){var i=n.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=ql(this);for(var n in e)t[n]=e[n];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 n=this.rangeBy(t),r=n.end,i=n.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:r.column,line:r.line},t)}return new Fl(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,n){return e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[Dl]){this[Dl]=!1;for(var e=this;e=e.parent;)e[Dl]=!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 n=this.source.start;if(e.index)n=this.positionInside(e.index,t);else if(e.word){var r=(t=this.toString()).indexOf(e.word);-1!==r&&(n=this.positionInside(r,t))}return n},t.positionInside=function(e,t){for(var n=t||this.toString(),r=this.source.start.column,i=this.source.start.line,a=0;a<e;a++)"\n"===n[a]?(r=1,i+=1):r+=1;return{column:r,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},n=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 r=this.toString(),i=r.indexOf(e.word);-1!==i&&(t=this.positionInside(i,r),n=this.positionInside(i+e.word.length,r))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:"number"===typeof e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<t.line||n.line===t.line&&n.column<=t.column)&&(n={column:t.column+1,line:t.line}),{end:n,start:t}},t.raw=function(e,t){return(new zl).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),n=0;n<e;n++)t[n]=arguments[n];if(this.parent){for(var r,i=this,a=!1,o=Lr(t);!(r=o()).done;){var s=r.value;s===this?a=!0:a?(this.parent.insertAfter(i,s),i=s):this.parent.insertBefore(i,s)}a||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 n={},r=null==t;t=t||new Map;var i=0;for(var a in this)if(Object.prototype.hasOwnProperty.call(this,a)&&"parent"!==a&&"proxyCache"!==a){var o=this[a];if(Array.isArray(o))n[a]=o.map(function(e){return"object"===("undefined"===typeof e?"undefined":Pr(e))&&e.toJSON?e.toJSON(null,t):e});
2else if("object"===("undefined"===typeof o?"undefined":Pr(o))&&o.toJSON)n[a]=o.toJSON(null,t);else if("source"===a){var s=t.get(o.input);null==s&&(s=i,t.set(o.input,i),i++),n[a]={end:o.end,inputId:s,start:o.start}}else n[a]=o}return r&&(n.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),n},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=Hl),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,n){var r={node:this};for(var i in n)r[i]=n[i];return e.warn(t,r)},Tr(e,[{key:"proxyOf",get:function(){return this}}]),e}(),Bl=Ul;Ul.default=Ul;var Wl=function(e){function t(t){var n;return t&&"undefined"!==typeof t.value&&"string"!==typeof t.value&&(t=Er({},t,{value:String(t.value)})),(n=e.call(this,t)||this).type="decl",n}return Ir(t,e),Tr(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(Bl),Kl=Wl;Wl.default=Wl;var $l=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},Gl=Cl.SourceMapConsumer,Yl=Cl.SourceMapGenerator,Ql=Cl.existsSync,Jl=Cl.readFileSync,Xl=Cl.dirname,Zl=Cl.join;var eu=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Xl(this.mapFile)),r&&(this.text=r)}}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 n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===("undefined"===typeof e?"undefined":Pr(e))&&("string"===typeof e.mappings||"string"===typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(t){var n=e.lastIndexOf(t.pop()),r=e.indexOf("*/",n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}},t.loadFile=function(e){if(this.root=Xl(e),Ql(e))return this.mapFile=e,Jl(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(Or(t,Gl))return Yl.fromSourceMap(t).toString();if(Or(t,Yl))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var n=t(e);if(n){var r=this.loadFile(n);if(!r)throw new Error("Unable to load previous source map: "+n.toString());return r}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var i=this.annotation;return e&&(i=Zl(Xl(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}(),tu=eu;eu.default=eu;var nu=Cl.SourceMapConsumer,ru=Cl.SourceMapGenerator,iu=Cl.fileURLToPath,au=Cl.pathToFileURL,ou=Cl.isAbsolute,su=Cl.resolve,lu=$l,uu=Cl,cu=Il,du=tu,pu=Symbol("fromOffsetCac
2he"),hu=Boolean(nu&&ru),fu=Boolean(su&&ou),mu=function(){function e(e,t){if(void 0===t&&(t={}),null===e||"undefined"===typeof e||"object"===("undefined"===typeof e?"undefined":Pr(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!fu||/^\w+:\/\//.test(t.from)||ou(t.from)?this.file=t.from:this.file=su(t.from)),fu&&hu){var n=new du(this.css,t);if(n.text){this.map=n;var r=n.consumer().file;!this.file&&r&&(this.file=this.mapResolve(r))}}this.file||(this.id="<input css "+lu(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,n,r){var i,a,o;if(void 0===r&&(r={}),t&&"object"===("undefined"===typeof t?"undefined":Pr(t))){var s=t,l=n;if("number"===typeof s.offset){var u=this.fromOffset(s.offset);t=u.line,n=u.col}else t=s.line,n=s.column;if("number"===typeof l.offset){var c=this.fromOffset(l.offset);a=c.line,o=c.col}else a=l.line,o=l.column}else if(!n){var d=this.fromOffset(t);t=d.line,n=d.col}var p=this.origin(t,n,a,o);return(i=p?new cu(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,r.plugin):new cu(e,void 0===a?t:{column:n,line:t},void 0===a?n:{column:o,line:a},this.css,this.file,r.plugin)).input={column:n,endColumn:o,endLine:a,line:t,source:this.css},this.file&&(au&&(i.input.url=au(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t;if(this[pu])t=this[pu];else{var n=this.css.split("\n");t=new Array(n.length);for(var r=0,i=0,a=n.length;i<a;i++)t[i]=r,r+=n[i].length+1;this[pu]=t}var o=0;if(e>=t[t.length-1])o=t.length-1;else for(var s,l=t.length-2;o<l;)if(e<t[s=o+(l-o>>1)])l=s-1;else{if(!(e>=t[s+1])){o=s;break}o=s+1}return{col:e-t[o]+1,line:o+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:su(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,n,r){if(!this.map)return!1;var i,a,o=this.map.consumer(),s=o.originalPositionFor({column:t,line:e});if(!s.source)return!1;"number"===typeof n&&(i=o.originalPositionFor({column:r,line:n})),a=ou(s.source)?au(s.source):new URL(s.source,this.map.consumer().sourceRoot||au(this.map.mapFile));var l={column:s.column,endColumn:i&&i.column,endLine:i&&i.line,line:s.line,url:a.toString()};if("file:"===a.protocol){if(!iu)throw new Error("file: protocol is not available in this PostCSS build");l.file=iu(a)}var u=o.sourceContentFor(s.source);return u&&(l.source=u),l},t.toJSON=function(){for(var e={},t=0,n=["hasBOM","css","file","id"];t<n.length;t++){var r=n[t];null!=this[r]&&(e[r]=this[r])}return this.map&&(e.map=Er({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},Tr(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),gu=mu;mu.default=mu,uu&&uu.registerInput&&uu.registerInput(mu);var vu=Cl.SourceMapConsumer,yu=Cl.SourceMapGenerator,bu=Cl.dirname,wu=Cl.relative,ku=Cl.resolve,_u=Cl.sep,Su=Cl.pathToFileURL,xu=gu,Cu=Boolean(vu&&yu),Tu=Boolean(bu&&ku&&wu&&_u),Eu=function(){function e(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,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=Lr(this.previous());!(e=t()).done;){var n=e.value,r=this.toUrl(this.path(n.file)),i=n.root||bu(n.file),a=void 0;!1===this.mapOpts.sourcesContent?(a=new vu(n.text)).sourcesContent&&(a.sourcesContent=null):a=n.consumer(),this.map.applySourceMap(a,r,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(),Tu&&Cu&&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=yu.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new yu({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 yu({file:this.outputFile(),ignoreInvalidMapping:!0});var t,n,r=1,i=1,a="<no source>",o={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(s,l,u){if(e.css+=s,l&&"end"!==u&&(o.generated.line=r,o.generated.column=i-1,l.source&&l.source.start?(o.source=e.sourcePath(l),o.original.line=l.source.start.line,o.original.column=l.source.start.column-1,e.map.addMapping(o)):(o.source=a,o.original.line=1,o.original.column=0,e.map.addMapping(o))),(t=s.match(/\n/g))?(r+=t.length,n=s.lastIndexOf("\n"),i=s.length-n):i+=s.length,l&&"start"!==u){var c=l.parent||{raws:{}};("decl"===l.type||"atrule"===l.type&&!l.nodes)&&l===c.last&&!c.raws.semicolon||(l.source&&l.source.end?(o.source=e.sourcePath(l),o.original.line=l.source.end.line,o.original.column=l.source.end.column-1,o.generated.line=r,o.generated.column=i-2,e.map.addMapping(o)):(o.source=a,o.original.line=1,o.original.column=0,o.generated.line=r,o.generated.column=i-1,e.map.addMapping(o)))}})},t.isAnnotation=function(){return!!this.isInline()||("undefined"!==typeof this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if("undefined"!==typeof this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return("undefined"===typeof e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return"undefined"!==typeof this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return"undefined"!==typeof this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var n=this.opts.to?bu(this.opts.to):".";"string"===typeof this.mapOpts.annotation&&(n=bu(ku(n,this.mapOpts.annotation)));var r=wu(n,e);return this.memoizedPaths.set(e,r),r},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 n=t.source.input.map;e.previousMaps.includes(n)||e.previousMaps.push(n)}});else{var t=new xu(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(n){if(n.source){var r=n.source.input.from;if(r&&!t[r]){t[r]=!0;var i=e.usesFileUrls?e.toFileUrl(r):e.toUrl(e.path(r));e.map.setSourceContent(i,n.source.input.css)}}});else if(this.css){var n=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(n,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(Su){var n=Su(e).toString();return this.memoizedFileURLs.set(e,n),n}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;"\\"===_u&&(e=e.replace(/\\/g,"/"));var n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n},e}(),Au=Eu,Iu=function(e){function t(t){var n;return(n=e.call(this,t)||this).type="comment",n}return Ir(t,e),t}(Bl),Ou=Iu;Iu.default=Iu;var ju,Ru,Pu,Nu,Mu=Ol.isClean,Lu=Ol.my,Du=Kl,Vu=Ou;
2function Fu(e){return e.map(function(e){return e.nodes&&(e.nodes=Fu(e.nodes)),delete e.source,e})}function zu(e){if(e[Mu]=!1,e.proxyOf.nodes)for(var t,n=Lr(e.proxyOf.nodes);!(t=n()).done;){zu(t.value)}}var Hu=function(e){function t(){return e.apply(this,arguments)||this}Ir(t,e);var n=t.prototype;return n.append=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r,i=Lr(t);!(r=i()).done;)for(var a,o=r.value,s=Lr(this.normalize(o,this.last));!(a=s()).done;){var l=a.value;this.proxyOf.nodes.push(l)}return this.markDirty(),this},n.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var n,r=Lr(this.nodes);!(n=r()).done;){n.value.cleanRaws(t)}},n.each=function(e){if(this.proxyOf.nodes){for(var t,n,r=this.getIterator();this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],!1!==(n=e(this.proxyOf.nodes[t],t)));)this.indexes[r]+=1;return delete this.indexes[r],n}},n.every=function(e){return this.nodes.every(e)},n.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},n.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"===typeof t&&t.startsWith("walk")?function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a;return(a=e)[t].apply(a,[].concat(r.map(function(e){return"function"===typeof e?function(t,n){return e(t.toProxy(),n)}:e})))}:"every"===t||"some"===t?function(n){return e[t](function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return n.apply(void 0,[].concat([e.toProxy()],r))})}:"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,n){return e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},n.index=function(e){return"number"===typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},n.insertAfter=function(e,t){var n,r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(var a,o=Lr(i);!(a=o()).done;){var s=a.value;this.proxyOf.nodes.splice(r+1,0,s)}for(var l in this.indexes)r<(n=this.indexes[l])&&(this.indexes[l]=n+i.length);return this.markDirty(),this},n.insertBefore=function(e,t){var n,r=this.index(e),i=0===r&&"prepend",a=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(var o,s=Lr(a);!(o=s()).done;){var l=o.value;this.proxyOf.nodes.splice(r,0,l)}for(var u in this.indexes)r<=(n=this.indexes[u])&&(this.indexes[u]=n+a.length);return this.markDirty(),this},n.normalize=function(e,n){var r=this;if("string"===typeof e)e=Fu(ju(e).nodes);else if("undefined"===typeof e)e=[];else if(Array.isArray(e))for(var i,a=Lr(e=e.slice(0));!(i=a()).done;){var o=i.value;o.parent&&o.parent.removeChild(o,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var s,l=Lr(e=e.nodes.slice(0));!(s=l()).done;){var u=s.value;u.parent&&u.parent.removeChild(u,"ignore")}else if(e.type)e=[e];else if(e.prop){if("undefined"===typeof e.value)throw new Error("Value field is missed in node creation");"string"!==typeof e.value&&(e.value=String(e.value)),e=[new Du(e)]}else if(e.selector)e=[new Ru(e)];else if(e.name)e=[new Pu(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new Vu(e)]}var c=e.map(function(e){return e[Lu]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[Mu]&&zu(e),"undefined"===typeof e.raws.before&&n&&"undefined"!==typeof n.raws.before&&(e.raws.before=n.raws.before.replace(/\S/g,"")),e.parent=r.proxyOf,e});return c},n.prepend=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r,i=Lr(t=t.reverse());!(r=i()).done;){for(var a,o=r.value,s=this.normalize(o,this.first,"prepend").reverse(),l=Lr(s);!(a=l()).done;){var u=a.value;this.proxyOf.nodes.unshift(u)}for(var c in this.indexes)this.indexes[c]=this.indexes[c]+s.length}return this.markDirty(),this},n.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},n.removeAll=function(){for(var e,t=Lr(this.proxyOf.nodes);!(e=t()).done;){e.value.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},n.removeChild=function(e){var t;for(var n in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[n])>=e&&(this.indexes[n]=t-1);return this.markDirty(),this},n.replaceValues=function(e,t,n){return n||(n=t,t={}),this.walkDecls(function(r){t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))}),this.markDirty(),this},n.some=function(e){return this.nodes.some(e)},n.walk=function(e){return this.each(function(t,n){var r;try{r=e(t,n)}catch(i){throw t.addToError(i)}return!1!==r&&t.walk&&(r=t.walk(e)),r})},n.walkAtRules=function(e,t){return t?Or(e,RegExp)?this.walk(function(n,r){if("atrule"===n.type&&e.test(n.name))return t(n,r)}):this.walk(function(n,r){if("atrule"===n.type&&n.name===e)return t(n,r)}):(t=e,this.walk(function(e,n){if("atrule"===e.type)return t(e,n)}))},n.walkComments=function(e){return this.walk(function(t,n){if("comment"===t.type)return e(t,n)})},n.walkDecls=function(e,t){return t?Or(e,RegExp)?this.walk(function(n,r){if("decl"===n.type&&e.test(n.prop))return t(n,r)}):this.walk(function(n,r){if("decl"===n.type&&n.prop===e)return t(n,r)}):(t=e,this.walk(function(e,n){if("decl"===e.type)return t(e,n)}))},n.walkRules=function(e,t){return t?Or(e,RegExp)?this.walk(function(n,r){if("rule"===n.type&&e.test(n.selector))return t(n,r)}):this.walk(function(n,r){if("rule"===n.type&&n.selector===e)return t(n,r)}):(t=e,this.walk(function(e,n){if("rule"===e.type)return t(e,n)}))},Tr(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}(Bl);Hu.registerParse=function(e){ju=e},Hu.registerRule=function(e){Ru=e},Hu.registerAtRule=function(e){Pu=e},Hu.registerRoot=function(e){Nu=e};var qu=Hu;Hu.default=Hu,Hu.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,Pu.prototype):"rule"===e.type?Object.setPrototypeOf(e,Ru.prototype):"decl"===e.type?Object.setPrototypeOf(e,Du.prototype):"comment"===e.type?Object.setPrototypeOf(e,Vu.prototype):"root"===e.type&&Object.setPrototypeOf(e,Nu.prototype),e[Lu]=!0,e.nodes&&e.nodes.forEac
2h(function(e){Hu.rebuild(e)})};var Uu,Bu,Wu=function(e){function t(t){var n;return(n=e.call(this,Er({type:"document"},t))||this).nodes||(n.nodes=[]),n}return Ir(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new Uu(new Bu,this,e).stringify()},t}(qu);Wu.registerLazyResult=function(e){Uu=e},Wu.registerProcessor=function(e){Bu=e};var Ku=Wu;Wu.default=Wu;var $u=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var n=t.node.rangeBy(t);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(var r in t)this[r]=t[r]}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}(),Gu=$u;$u.default=$u;var Yu=Gu,Qu=function(){function e(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,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 n=new Yu(e,t);return this.messages.push(n),n},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},Tr(e,[{key:"content",get:function(){return this.css}}]),e}(),Ju=Qu;Qu.default=Qu;var Xu="'".charCodeAt(0),Zu='"'.charCodeAt(0),ec="\\".charCodeAt(0),tc="/".charCodeAt(0),nc="\n".charCodeAt(0),rc=" ".charCodeAt(0),ic="\f".charCodeAt(0),ac="\t".charCodeAt(0),oc="\r".charCodeAt(0),sc="[".charCodeAt(0),lc="]".charCodeAt(0),uc="(".charCodeAt(0),cc=")".charCodeAt(0),dc="{".charCodeAt(0),pc="}".charCodeAt(0),hc=";".charCodeAt(0),fc="*".charCodeAt(0),mc=":".charCodeAt(0),gc="@".charCodeAt(0),vc=/[\t\n\f\r "#'()/;[\\\]{}]/g,yc=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,bc=/.[\r\n"'(/\\]/,wc=/[\da-f]/i,kc=qu,_c=function(e){function t(t){var n;return(n=e.call(this,t)||this).type="atrule",n}Ir(t,e);var n=t.prototype;return n.append=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.append).call.apply(i,[].concat([this],n))},n.prepend=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.prepend).call.apply(i,[].concat([this],n))},t}(kc),Sc=_c;_c.default=_c,kc.registerAtRule(_c);var xc,Cc,Tc=qu,Ec=function(e){function t(t){var n;return(n=e.call(this,t)||this).type="root",n.nodes||(n.nodes=[]),n}Ir(t,e);var n=t.prototype;return n.normalize=function(t,n,r){var i=e.prototype.normalize.call(this,t);if(n)if("prepend"===r)this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(var a,o=Lr(i);!(a=o()).done;){a.value.raws.before=n.raws.before}return i},n.removeChild=function(t,n){var r=this.index(t);return!n&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),e.prototype.removeChild.call(this,t)},n.toResult=function(e){return void 0===e&&(e={}),new xc(new Cc,this,e).stringify()},t}(Tc);Ec.registerLazyResult=function(e){xc=e},Ec.registerProcessor=function(e){Cc=e};var Ac=Ec;Ec.default=Ec,Tc.registerRoot(Ec);var Ic={comma:function(e){return Ic.split(e,[","],!0)},space:function(e){return Ic.split(e,[" ","\n","\t"])},split:function(e,t,n){for(var r,i=[],a="",o=!1,s=0,l=!1,u="",c=!1,d=Lr(e);!(r=d()).done;){var p=r.value;c?c=!1:"\\"===p?c=!0:l?p===u&&(l=!1):'"'===p||"'"===p?(l=!0,u=p):"("===p?s+=1:")"===p?s>0&&(s-=1):0===s&&t.includes(p)&&(o=!0),o?(""!==a&&i.push(a.trim()),a="",o=!1):a+=p}return(n||""!==a)&&i.push(a.trim()),i}},Oc=Ic;Ic.default=Ic;var jc=qu,Rc=Oc,Pc=function(e){function t(t){var n;return(n=e.call(this,t)||this).type="rule",n.nodes||(n.nodes=[]),n}return Ir(t,e),Tr(t,[{key:"selectors",get:function(){return Rc.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}]),t}(jc),Nc=Pc;
vendor: 7,401 bytes, line 2
2Pc.default=Pc,jc.registerRule(Pc);var Mc=Kl,Lc=function(e,t){void 0===t&&(t={});var n,r,i,a,o,s,l,u,c,d,p=e.css.valueOf(),h=t.ignoreErrors,f=p.length,m=0,g=[],v=[];function y(t){throw e.error("Unclosed "+t,m)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&m>=f},nextToken:function(e){if(v.length)return v.pop();if(!(m>=f)){var t=!!e&&e.ignoreUnclosed;switch(n=p.charCodeAt(m)){case nc:case rc:case ac:case oc:case ic:r=m;do{r+=1,n=p.charCodeAt(r)}while(n===rc||n===nc||n===ac||n===oc||n===ic);d=["space",p.slice(m,r)],m=r-1;break;case sc:case lc:case dc:case pc:case mc:case hc:case cc:var b=String.fromCharCode(n);d=[b,b,m];break;case uc:if(u=g.length?g.pop()[1]:"",c=p.charCodeAt(m+1),"url"===u&&c!==Xu&&c!==Zu&&c!==rc&&c!==nc&&c!==ac&&c!==ic&&c!==oc){r=m;do{if(s=!1,-1===(r=p.indexOf(")",r+1))){if(h||t){r=m;break}y("bracket")}for(l=r;p.charCodeAt(l-1)===ec;)l-=1,s=!s}while(s);d=["brackets",p.slice(m,r+1),m,r],m=r}else r=p.indexOf(")",m+1),a=p.slice(m,r+1),-1===r||bc.test(a)?d=["(","(",m]:(d=["brackets",a,m,r],m=r);break;case Xu:case Zu:i=n===Xu?"'":'"',r=m;do{if(s=!1,-1===(r=p.indexOf(i,r+1))){if(h||t){r=m+1;break}y("string")}for(l=r;p.charCodeAt(l-1)===ec;)l-=1,s=!s}while(s);d=["string",p.slice(m,r+1),m,r],m=r;break;case gc:vc.lastIndex=m+1,vc.test(p),r=0===vc.lastIndex?p.length-1:vc.lastIndex-2,d=["at-word",p.slice(m,r+1),m,r],m=r;break;case ec:for(r=m,o=!0;p.charCodeAt(r+1)===ec;)r+=1,o=!o;if(n=p.charCodeAt(r+1),o&&n!==tc&&n!==rc&&n!==nc&&n!==ac&&n!==oc&&n!==ic&&(r+=1,wc.test(p.charAt(r)))){for(;wc.test(p.charAt(r+1));)r+=1;p.charCodeAt(r+1)===rc&&(r+=1)}d=["word",p.slice(m,r+1),m,r],m=r;break;default:n===tc&&p.charCodeAt(m+1)===fc?(0===(r=p.indexOf("*/",m+2)+1)&&(h||t?r=p.length:y("comment")),d=["comment",p.slice(m,r+1),m,r],m=r):(yc.lastIndex=m+1,yc.test(p),r=0===yc.lastIndex?p.length-1:yc.lastIndex-2,d=["word",p.slice(m,r+1),m,r],g.push(d),m=r)}return m++,d}},position:function(){return m}}},Dc=Ou,Vc=Sc,Fc=Ac,zc=Nc,Hc={empty:!0,space:!0};var qc=function(){function e(e){this.input=e,this.root=new Fc,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,n,r,i=new Vc;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var a=!1,o=!1,s=[],l=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){o=!0;break}if("}"===t){if(s.length>0){for(n=s[r=s.length-1];n&&"space"===n[0];)n=s[--r];n&&(i.source.end=this.getPosition(n[3]||n[2]),i.source.end.offset++)}this.end(e);break}s.push(e)}else s.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(i.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(i,"params",s),a&&(e=s[s.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=""),o&&(i.nodes=[],this.current=i)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var n,r=0,i=t-1;i>=0&&("space"===(n=e[i])[0]||2!==(r+=1));i--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}},t.colon=function(e){for(var t,n,r,i,a=0,o=Lr(e.entries());!(i=o()).done;){var s=i.value,l=s[0];if("("===(n=(t=s[1])[0])&&(a+=1),")"===n&&(a-=1),0===a&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return l}this.doubleColon(t)}r=t}return!1},t.comment=function(e){var t=new Dc;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{var r=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}},t.createTokenizer=function(){this.tokenizer=Lc(this.input)},t.decl=function(e,t){var n=new Mc;this.init(n,e[0][2]);var r,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||function(e){for(var t=e.length-1;t>=0;t--){var n=e[t],r=n[3]||n[2];if(r)return r}}(e)),n.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){var a=e[0][0];if(":"===a||"space"===a||"comment"===a)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(":"===(r=e.shift())[0]){n.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),n.raws.between+=r[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));for(var o,s=[];e.length&&("space"===(o=e[0][0])||"comment"===o);)s.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if("!important"===(r=e[l])[1].toLowerCase()){n.important=!0;var u=this.stringFrom(e,l);" !important"!==(u=this.spacesFromEnd(e)+u)&&(n.raws.important=u);break}if("important"===r[1].toLowerCase()){for(var c=e.slice(0),d="",p=l;p>0;p--){var h=c[p][0];if(0===d.trim().indexOf("!")&&"space"!==h)break;d=c.pop()[1]+d}0===d.trim().indexOf("!")&&(n.important=!0,n.raws.important=d,e=c)}if("space"!==r[0]&&"comment"!==r[0])break}var f=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});f&&(n.raws.between+=s.map(function(e){return e[1]}).join(""),s=[]),this.raw(n,"value",s.concat(e),t),n.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 zc;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,n=null,r=!1,i=null,a=[],o=e[1].startsWith("--"),s=[],l=e;l;){if(n=l[0],s.push(l),"("===n||"["===n)i||(i=l),a.push("("===n?")":"]");else if(o&&r&&"{"===n)i||(i=l),a.push("}");else if(0===a.length){if(";"===n){if(r)return void this.decl(s,o);break}if("{"===n)return void this.rule(s);if("}"===n){this.tokenizer.back(s.pop()),t=!0;break}":"===n&&(r=!0)}else n===a[a.length-1]&&(a.pop(),0===a.length&&(i=null));l=this.tokenizer.nextToken()}
2if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&r){if(!o)for(;s.length&&("space"===(l=s[s.length-1][0])||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,o)}else this.unknownWord(s)},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,n,r){for(var i,a,o,s,l=n.length,u="",c=!0,d=0;d<l;d+=1)"space"!==(a=(i=n[d])[0])||d!==l-1||r?"comment"===a?(s=n[d-1]?n[d-1][0]:"empty",o=n[d+1]?n[d+1][0]:"empty",Hc[s]||Hc[o]||","===u.slice(-1)?c=!1:u+=i[1]):u+=i[1]:c=!1;if(!c){var p=n.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 zc;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,n="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)n=e.pop()[1]+n;return n},t.spacesAndCommentsFromStart=function(e){for(var t,n="";e.length&&("space"===(t=e[0][0])||"comment"===t);)n+=e.shift()[1];return n},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 n="",r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n},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}(),Uc=qu,Bc=qc,Wc=gu;function Kc(e,t){var n=new Wc(e,t),r=new Bc(n);try{r.parse()}catch(i){throw i}return r.root}var $c=Kc;Kc.default=Kc,Uc.registerParse(Kc);var Gc=Ol.isClean,Yc=Ol.my,Qc=Au,Jc=Ll,Xc=qu,Zc=Ku,ed=Ju,td=$c,nd=Ac,rd={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},id={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},ad={Once:!0,postcssPlugin:!0,prepare:!0};function od(e){return"object"===("undefined"===typeof e?"undefined":Pr(e))&&"function"===typeof e.then}function sd(e){var t=!1,n=rd[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,0,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,0,n+"Exit"]:[n,n+"Exit"]}function ld(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:sd(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function ud(e){return e[Gc]=!1,e.nodes&&e.nodes.forEach(function(e){return ud(e)}),e}var cd={},dd=function(){function e(t,n,r){var i,a=this;if(this.stringified=!1,this.processed=!1,"object"!==("undefined"===typeof n?"undefined":Pr(n))||null===n||"root"!==n.type&&"document"!==n.type)if(Or(n,e)||Or(n,ed))i=ud(n.root),n.map&&("undefined"===typeof r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{var o=td;r.syntax&&(o=r.syntax.parse),r.parser&&(o=r.parser),o.parse&&(o=o.parse);try{i=o(n,r)}catch(s){this.processed=!0,this.error=s}i&&!i[Yc]&&Xc.rebuild(i)}else i=ud(n);this.result=new ed(t,i,r),this.helpers=Er({},cd,{postcss:cd,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===("undefined"===typeof e?"undefined":Pr(e))&&e.prepare?Er({},e,e.prepare(a.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 n=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(n.postcssVersion);}else e.plugin=n.postcssPlugin,e.setMessage()}catch(r){console&&console.error&&console.error(r)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,n=function(t,n,r){e.listeners[n]||(e.listeners[n]=[]),e.listeners[n].push([t,r])},r=Lr(this.plugins);!(t=r()).done;){var i=t.value;if("object"===("undefined"===typeof i?"undefined":Pr(i)))for(var a in i){if(!id[a]&&/^[A-Z]/.test(a))throw new Error("Unknown event "+a+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.ver
2sion+" now).");if(!ad[a])if("object"===Pr(i[a]))for(var o in i[a])n(i,"*"===o?a:a+"-"+o.toLowerCase(),i[a][o]);else"function"===typeof i[a]&&n(i,a,i[a])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return xr(function(){var t,n,r,i,a,o,s,l,u,c,d,p;return Dr(this,function(h){switch(h.label){case 0:e.plugin=0,t=0,h.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(n=e.plugins[t],!od(r=e.runOnRoot(n)))return[3,5];h.label=2;case 2:return h.trys.push([2,4,,5]),[4,r];case 3:return h.sent(),[3,5];case 4:throw i=h.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];a=e.result.root,h.label=7;case 7:if(a[Gc])return[3,14];a[Gc]=!0,o=[ld(a)],h.label=8;case 8:if(!(o.length>0))return[3,13];if(!od(s=e.visitTick(o)))return[3,12];h.label=9;case 9:return h.trys.push([9,11,,12]),[4,s];case 10:return h.sent(),[3,12];case 11:throw l=h.sent(),u=o[o.length-1].node,e.handleError(l,u);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];c=function(){var t,n,r,i,o;return Dr(this,function(s){switch(s.label){case 0:t=p.value,n=t[0],r=t[1],e.result.lastPlugin=n,s.label=1;case 1:return s.trys.push([1,6,,7]),"document"!==a.type?[3,3]:(i=a.nodes.map(function(t){return r(t,e.helpers)}),[4,Promise.all(i)]);case 2:return s.sent(),[3,5];case 3:return[4,r(a,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw o=s.sent(),e.handleError(o);case 7:return[2]}})},d=Lr(e.listeners.OnceExit),h.label=15;case 15:return(p=d()).done?[3,18]:[5,Vr(c())];case 16:h.sent(),h.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===("undefined"===typeof e?"undefined":Pr(e))&&e.Once){if("document"===this.result.root.type){var n=this.result.root.nodes.map(function(n){return e.Once(n,t.helpers)});return od(n[0])?Promise.all(n):n}return e.Once(this.result.root,this.helpers)}if("function"===typeof e)return e(this.result.root,this.result)}catch(r){throw this.handleError(r)}},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=Jc;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var n=new Qc(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[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=Lr(this.plugins);!(e=t()).done;){var n=e.value;if(od(this.runOnRoot(n)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var r=this.result.root;!r[Gc];)r[Gc]=!0,this.walkSync(r);if(this.listeners.OnceExit)if("document"===r.type)for(var i,a=Lr(r.nodes);!(i=a()).done;){var o=i.value;this.visitSync(this.listeners.OnceExit,o)}else this.visitSync(this.listeners.OnceExit,r)}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 n,r=Lr(e);!(n=r()).done;){var i=n.value,a=i[0],o=i[1];this.result.lastPlugin=a;var s=void 0;try{s=o(t,this.helpers)}catch(l){throw this.handleError(l,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(od(s))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],n=t.node,r=t.visitors;if("root"===n.type||"document"===n.type||n.parent){if(r.length>0&&t.visitorIndex<r.length){var i=r[t.visitorIndex],a=i[0],o=i[1];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=a;try{return o(n.toProxy(),this.helpers)}catch(d){throw this.handleError(d,n)}}if(0!==t.iterator){for(var s,l=t.iterator;s=n.nodes[n.indexes[l]];)if(n.indexes[l]+=1,!s[Gc])return s[Gc]=!0,void e.push(ld(s));t.iterator=0,delete n.indexes[l]}for(var u=t.events;t.eventIndex<u.length;){var c=u[t.eventIndex];if(t.eventIndex+=1,0===c)return void(n.nodes&&n.nodes.length&&(n[Gc]=!0,t.iterator=n.getIterator()));if(this.listeners[c])return void(t.visitors=this.listeners[c])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[Gc]=!0;for(var n,r=Lr(sd(e));!(n=r()).done;){var i=n.value;if(0===i)e.nodes&&e.each(function(e){e[Gc]||t.walkSync(e)});else{var a=this.listeners[i];if(a&&this.visitSync(a,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()}
2,Tr(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}();dd.registerPostcss=function(e){cd=e};var pd=dd;dd.default=dd,nd.registerLazyResult(dd),Zc.registerLazyResult(dd);var hd=Au,fd=Ll,md=$c,gd=Ju,vd=function(){function e(e,t,n){var r;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;var i=fd;this.result=new gd(this._processor,r,this._opts),this.result.css=t;var a=this;Object.defineProperty(this.result,"root",{get:function(){return a.root}});var o=new hd(i,r,this._opts,t);if(o.isMap()){var s=o.generate(),l=s[0],u=s[1];l&&(this.result.css=l),u&&(this.result.map=u)}else o.clearAnnotation(),this.result.css=o.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[]},Tr(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=md;try{e=t(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),yd=vd;vd.default=vd;var bd=yd,wd=pd,kd=Ku,_d=Ac,Sd=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,n=[],r=Lr(e);!(t=r()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"===("undefined"===typeof i?"undefined":Pr(i))&&Array.isArray(i.plugins))n=n.concat(i.plugins);else if("object"===("undefined"===typeof i?"undefined":Pr(i))&&i.postcssPlugin)n.push(i);else if("function"===typeof i)n.push(i);else{if("object"!==("undefined"===typeof i?"undefined":Pr(i))||!i.parse&&!i.stringify)throw new Error(i+" is not a PostCSS plugin")}}return n},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new wd(this,e,t):new bd(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),xd=Sd;Sd.default=Sd,_d.registerProcessor(Sd),kd.registerProcessor(Sd);var Cd=Kl,Td=tu,Ed=Ou,Ad=Sc,Id=gu,Od=Ac,jd=Nc;function Rd(e,t){if(Array.isArray(e))return e.map(function(e){return Rd(e)});var n=e.inputs,r=jr(e,["inputs"]);if(n){t=[];for(var i,a=Lr(n);!(i=a()).done;){var o=Er({},i.value,{__proto__:Id.prototype});o.map&&(o.map=Er({},o.map,{__proto__:Td.prototype})),t.push(o)}}if(r.nodes&&(r.nodes=e.nodes.map(function(e){return Rd(e,t)})),r.source){var s=r.source,l=s.inputId,u=jr(s,["inputId"]);r.source=u,null!=l&&(r.source.input=t[l])}if("root"===r.type)return new Od(r);if("decl"===r.type)return new Cd(r);if("rule"===r.type)return new jd(r);if("comment"===r.type)return new Ed(r);if("atrule"===r.type)return new Ad(r);throw new Error("Unknown node type: "+e.type)}var Pd=Rd;Rd.default=Rd;var Nd=Il,Md=Kl,Ld=pd,Dd=qu,Vd=xd,Fd=Ll,zd=Pd,Hd=Ku,qd=Gu,Ud=Ou,Bd=Sc,Wd=Ju,Kd=gu,$d=$c,Gd=Oc,Yd=Nc,Qd=Ac,Jd=Bl;function Xd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new Vd(t)}Xd.plugin=function(e,t){var n,r=!1;function i(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:"443",FAST_REFRESH:!0,REACT_APP_BACKEND_URL:"https://habalitv.com",REACT_APP_SIGNIN_URL:"https://tv.habalitv.com/",REACT_APP_APP_URL:"https://tv.habalitv.com/",REACT_APP_SITE_URL:"https://habalitv.com",REACT_APP_MIXPANEL_TOKEN:"cc37bb4a9d82b6cfbd956769c44a3df1",REACT_APP_GA4_MEASUREMENT_ID:"G-9M9TQW1NTV",REACT_APP_VAPID_PUBLIC_KEY:"BDddlaD__faf82DDfANBlp7HuzX4AE8vZGtTb4ZPDj28k5aq_DXgOcxNwlXuVAkbjxurKj0YAGh82OnuZm_bZCo",REACT_APP_GSC_VERIFICATION:"",REACT_APP_BING_VERIFICATION:""}.LANG&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:"443",FAST_REFRESH:!0,REACT_APP_BACKEND_URL:"https://habalitv.com",REACT_APP_SIGNIN_URL:"https://tv.habalitv.com/",REACT_APP_APP_URL:"https://tv.habalitv.com/",REACT_APP_SITE_URL:"https://habalitv.com",REACT_APP_MIXPANEL_TOKEN:"cc37bb4a9d82b6cfbd956769c44a3df1",REACT_APP_GA4_MEASUREMENT_ID:"G-9M9TQW1NTV",REACT_APP_VAPID_PUBLIC_KEY:"BDddlaD__faf82DDfANBlp7HuzX4AE8vZGtTb4ZPDj28k5aq_DXgOcxNwlXuVAkbjxurKj0YAGh82OnuZm_bZCo",REACT_APP_GSC_VERIFICATION:"",REACT_APP_BING_VERIFICATION:""}.LANG.startsWith("cn")&&console.warn(e+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"));
2var o=t.apply(void 0,[].concat(i));return o.postcssPlugin=e,o.postcssVersion=(new Vd).version,o}return Object.defineProperty(i,"postcss",{get:function(){return n||(n=i()),n}}),i.process=function(e,t,n){return Xd([i(n)]).process(e,t)},i},Xd.stringify=Fd,Xd.parse=$d,Xd.fromJSON=zd,Xd.list=Gd,Xd.comment=function(e){return new Ud(e)},Xd.atRule=function(e){return new Bd(e)},Xd.decl=function(e){return new Md(e)},Xd.rule=function(e){return new Yd(e)},Xd.root=function(e){return new Qd(e)},Xd.document=function(e){return new Hd(e)},Xd.CssSyntaxError=Nd,Xd.Declaration=Md,Xd.Container=Dd,Xd.Processor=Vd,Xd.Document=Hd,Xd.Comment=Ud,Xd.Warning=qd,Xd.AtRule=Bd,Xd.Result=Wd,Xd.Input=Kd,Xd.Rule=Yd,Xd.Root=Qd,Xd.Node=Jd,Ld.registerPostcss(Xd);var Zd=Xd;Xd.default=Xd;var ep=bl(Zd);ep.stringify,ep.fromJSON,ep.plugin,ep.parse,ep.list,ep.document,ep.comment,ep.atRule,ep.rule,ep.decl,ep.root,ep.CssSyntaxError,ep.Declaration,ep.Container,ep.Processor,ep.Document,ep.Comment,ep.Warning,ep.AtRule,ep.Result,ep.Input,ep.Rule,ep.Root,ep.Node;var tp=function(){function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];yl(this,"parentElement",null),yl(this,"parentNode",null),yl(this,"ownerDocument"),yl(this,"firstChild",null),yl(this,"lastChild",null),yl(this,"previousSibling",null),yl(this,"nextSibling",null),yl(this,"ELEMENT_NODE",1),yl(this,"TEXT_NODE",3),yl(this,"nodeType"),yl(this,"nodeName"),yl(this,"RRNodeType")}var t=e.prototype;return t.contains=function(t){if(!Or(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"},Tr(e,[{key:"childNodes",get:function(){for(var e=[],t=this.firstChild;t;)e.push(t),t=t.nextSibling;return e}}]),e}(),np={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},rp={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},ip={};function ap(e){if(ip[e])return ip[e];var t=globalThis[e],n=t.prototype,r=e in np?np[e]:void 0,i=Boolean(r&&r.every(function(e){var t,r;return Boolean(null==(r=null==(t=Object.getOwnPropertyDescriptor(n,e))?void 0:t.get)?void 0:r.toString().includes("[native code]"))})),a=e in rp?rp[e]:void 0,o=Boolean(a&&a.every(function(e){var t;return"function"===typeof n[e]&&(null==(t=n[e])?void 0:t.toString().includes("[native code]"))}));if(i&&o&&!globalThis.Zone)return ip[e]=t.prototype,t.prototype;try{var s=document.createElement("iframe");document.body.appendChild(s);var l=s.contentWindow;if(!l)return t.prototype;var u=l[e].prototype;return document.body.removeChild(s),u?ip[e]=u:n}catch(HS){return n}}var op={};
vendor: 4,332 bytes, line 2
2function sp(e,t,n){var r,i=e+"."+String(n);if(op[i])return op[i].call(t);var a=ap(e),o=null==(r=Object.getOwnPropertyDescriptor(a,n))?void 0:r.get;return o?(op[i]=o,o.call(t)):t[n]}var lp={};function up(e,t,n){var r=e+"."+String(n);if(lp[r])return lp[r].bind(t);var i=ap(e)[n];return"function"!==typeof i?t[n]:(lp[r]=i,i.bind(t))}function cp(){return ap("MutationObserver").constructor}function dp(e,t,n){try{if(!(t in e))return function(){};var r=e[t],i=n(r);return"function"===typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,function(){e[t]=r}}catch(HS){return function(){}}}var pp={childNodes:function(e){return sp("Node",e,"childNodes")},parentNode:function(e){return sp("Node",e,"parentNode")},parentElement:function(e){return sp("Node",e,"parentElement")},textContent:function(e){return sp("Node",e,"textContent")},contains:function(e,t){return up("Node",e,"contains")(t)},getRootNode:function(e){return up("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?sp("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?sp("Element",e,"shadowRoot"):null},querySelector:function(e,t){return sp("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return sp("Element",e,"querySelectorAll")(t)},mutationObserver:cp,patch:dp};function hp(e,t,n){void 0===n&&(n=document);var r={capture:!0,passive:!0};return n.addEventListener(e,t,r),function(){return n.removeEventListener(e,t,r)}}var fp="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.",mp={map:{},getId:function(){return console.error(fp),-1},getNode:function(){return console.error(fp),null},removeNodeFromMap:function(){console.error(fp)},has:function(){return console.error(fp),!1},reset:function(){console.error(fp)}};function gp(e,t,n){void 0===n&&(n={});var r=null,i=0;return function(){for(var a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];var l=Date.now();i||!1!==n.leading||(i=l);var u=t-(l-i),c=this;u<=0||u>t?(r&&(clearTimeout(r),r=null),i=l,e.apply(c,o)):r||!1===n.trailing||(r=setTimeout(function(){i=!1===n.leading?0:Date.now(),r=null,e.apply(c,o)},u))}}function vp(e,t,n,r,i){void 0===i&&(i=window);var a=i.Object.getOwnPropertyDescriptor(e,t);return i.Object.defineProperty(e,t,r?n:{set:function(e){var t=this;setTimeout(function(){n.set.call(t,e)},0),a&&a.set&&a.set.call(this,e)}}),function(){return vp(e,t,a||{},!0)}}"undefined"!==typeof window&&window.Proxy&&window.Reflect&&(mp=new Proxy(mp,{get:function(e,t,n){return"map"===t&&console.error(fp),Reflect.get(e,t,n)}}));var yp=Date.now;function bp(e){var t,n,r,i,a=e.document;return{left:a.scrollingElement?a.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:a.documentElement.scrollLeft||(null==a?void 0:a.body)&&(null==(t=pp.parentElement(a.body))?void 0:t.scrollLeft)||(null==(n=null==a?void 0:a.body)?void 0:n.scrollLeft)||0,top:a.scrollingElement?a.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==a?void 0:a.documentElement.scrollTop)||(null==a?void 0:a.body)&&(null==(r=pp.parentElement(a.body))?void 0:r.scrollTop)||(null==(i=null==a?void 0:a.body)?void 0:i.scrollTop)||0}}function wp(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function kp(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function _p(e){return e?e.nodeType===e.ELEMENT_NODE?e:pp.parentElement(e):null}function Sp(e,t,n,r){if(!e)return!1;var i=_p(e);if(!i)return!1;try{if("string"===typeof t){if(i.classList.contains(t))return!0;if(r&&null!==i.closest("."+t))return!0}else if(ji(i,t,r))return!0}catch(a){}if(n){if(i.matches(n))return!0;if(r&&null!==i.closest(n))return!0}return!1}function xp(e,t,n){return!("TITLE"!==e.tagName||!n.headTitleMutations)||-2===t.getId(e)}function Cp(e,t){if(ti(e))return!1;var n=t.getId(e);if(!t.has(n))return!0;var r=pp.parentNode(e);return(!r||r.nodeType!==e.DOCUMENT_NODE)&&(!r||Cp(r,t))}function Tp(e){return Boolean(e.changedTouches)}
2function Ep(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function Ap(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function Ip(e){return!!e&&(Or(e,tp)&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean(pp.shadowRoot(e)))}/[1-9][0-9]{12}/.test(Date.now().toString())||(yp=function(){return(new Date).getTime()});var Op=function(){function e(){Hr(this,"id",1),Hr(this,"styleIDMap",new WeakMap),Hr(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):(n=void 0===t?this.id++:t,this.styleIDMap.set(e,n),this.idStyleMap.set(n,e),n);var n},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 jp(e){var t,n=null;return"getRootNode"in e&&(null==(t=pp.getRootNode(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&pp.host(pp.getRootNode(e))&&(n=pp.host(pp.getRootNode(e))),n}function Rp(e){var t=e.ownerDocument;if(!t)return!1;var n=function(e){for(var t,n=e;t=jp(n);)n=t;return n}(e);return pp.contains(t,n)}function Pp(e){var t=e.ownerDocument;return!!t&&(pp.contains(t,e)||Rp(e))}var Np=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}(Np||{}),Mp=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}(Mp||{}),Lp=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}(Lp||{}),Dp=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}(Dp||{}),Vp=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}(Vp||{}),Fp=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}(Fp||{}),zp=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}(zp||{});function Hp(e){return"__ln"in e}var qp,Up=function(){function e(){Hr(this,"length",0),Hr(this,"head",null),Hr(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,n=0;n<e;n++)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&&Hp(e.previousSibling)){var n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&Hp(e.nextSibling)&&e.nextSibling.__ln.previous){var r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.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;
vendor: 5,180 bytes, line 2
2this.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}(),Bp=function(e,t){return e+"@"+t},Wp=function(){function e(){var e=this;Hr(this,"frozen",!1),Hr(this,"locked",!1),Hr(this,"texts",[]),Hr(this,"attributes",[]),Hr(this,"attributeMap",new WeakMap),Hr(this,"removes",[]),Hr(this,"mapRemoves",[]),Hr(this,"movedMap",{}),Hr(this,"addedSet",new Set),Hr(this,"movedSet",new Set),Hr(this,"droppedSet",new Set),Hr(this,"removesSubTreeCache",new Set),Hr(this,"mutationCb"),Hr(this,"blockClass"),Hr(this,"blockSelector"),Hr(this,"maskTextClass"),Hr(this,"maskTextSelector"),Hr(this,"inlineStylesheet"),Hr(this,"maskInputOptions"),Hr(this,"maskTextFn"),Hr(this,"maskInputFn"),Hr(this,"keepIframeSrcFn"),Hr(this,"recordCanvas"),Hr(this,"inlineImages"),Hr(this,"slimDOMOptions"),Hr(this,"dataURLOptions"),Hr(this,"doc"),Hr(this,"mirror"),Hr(this,"iframeManager"),Hr(this,"stylesheetManager"),Hr(this,"shadowDomManager"),Hr(this,"canvasManager"),Hr(this,"processedNodeManager"),Hr(this,"unattachedDoc"),Hr(this,"processMutations",function(t){t.forEach(e.processMutation),e.emit()}),Hr(this,"emit",function(){if(!e.frozen&&!e.locked){for(var t=[],n=new Set,r=new Up,i=function(t){for(var n=t,r=-2;-2===r;)r=(n=n&&n.nextSibling)&&e.mirror.getId(n);return r},a=function(a){var o=pp.parentNode(a);if(o&&Pp(a)){var s=!1;if(a.nodeType===Node.TEXT_NODE){var l=o.tagName;if("TEXTAREA"===l)return;"STYLE"===l&&e.addedSet.has(o)&&(s=!0)}var u=ti(o)?e.mirror.getId(jp(a)):e.mirror.getId(o),c=i(a);if(-1===u||-1===c)return r.addNode(a);var d=Mi(a,{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){Ep(t,e.mirror)&&e.iframeManager.addIframe(t),Ap(t,e.mirror)&&e.stylesheetManager.trackLinkElement(t),Ip(a)&&e.shadowDomManager.addShadowRoot(pp.shadowRoot(a),e.doc)},onIframeLoad:function(t,n){e.iframeManager.attachIframe(t,n),e.shadowDomManager.observeAttachShadow(t)},onStylesheetLoad:function(t,n){e.stylesheetManager.attachLinkElement(t,n)},cssCaptured:s});d&&(t.push({parentId:u,nextId:c,node:d}),n.add(d.id))}};e.mapRemoves.length;){var o=e.mapRemoves.shift();e.cleanupRemovedNode(o),e.mirror.removeNodeFromMap(o)}for(var s,l=Lr(e.movedSet);!(s=l()).done;){var u=s.value;$p(e.removesSubTreeCache,u,e.mirror)&&!e.movedSet.has(pp.parentNode(u))||a(u)}for(var c,d=Lr(e.addedSet);!(c=d()).done;){var p=c.value;Gp(e.droppedSet,p)||$p(e.removesSubTreeCache,p,e.mirror)?Gp(e.movedSet,p)?a(p):e.droppedSet.add(p):a(p)}for(var h=null;r.length;){var f=null;if(h){var m=e.mirror.getId(pp.parentNode(h.value)),g=i(h.value);-1!==m&&-1!==g&&(f=h)}if(!f)for(var v=r.tail;v;){var y=v;if(v=v.previous,y){var b=e.mirror.getId(pp.parentNode(y.value));if(-1===i(y.value))continue;if(-1!==b){f=y;break}var w=y.value,k=pp.parentNode(w);if(k&&k.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var _=pp.host(k);if(-1!==e.mirror.getId(_)){f=y;break}}}}if(!f){for(;r.head;)r.removeNode(r.head.value);break}h=f.previous,r.removeNode(f.value),a(f.value)}var S={texts:e.texts.map(function(t){var n=t.node,r=pp.parentNode(n);return r&&"TEXTAREA"===r.tagName&&e.genTextAreaValueMutation(r),{id:e.mirror.getId(n),value:t.value}}).filter(function(e){return!n.has(e.id)}).filter(function(t){return e.mirror.has(t.id)}),attributes:e.attributes.map(function(t){var n=t.attributes;if("string"===typeof n.style){var r=JSON.stringify(t.styleDiff),i=JSON.stringify(t._unchangedStyles);r.length<n.style.length&&(r+i).split("var(").length===n.style.split("var(").length&&(n.style=t.styleDiff)}return{id:e.mirror.getId(t.node),attributes:n}}).filter(function(e){return!n.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))}}),Hr(this,"genTextAreaValueMutation",function(t){var n=e.attributeMap.get(t);n||(n={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(n),e.attributeMap.set(t,n));var r=Array.from(pp.childNodes(t),function(e){return pp.textContent(e)||""}).join("");n.attributes.value=oi({element:t,maskInputOptions:e.maskInputOptions,tagName:t.tagName,type:ui(t),value:r,maskInputFn:e.maskInputFn})}),Hr(this,"processMutation",function(t){if(!xp(t.target,e.mirror,e.slimDOMOptions))switch(t.type){case"characterData":var n=pp.textContent(t.target);Sp(t.target,e.blockClass,e.blockSelector,!1)||n===t.oldValue||e.texts.push({value:Ri(t.target,e.maskTextClass,e.maskTextSelector,!0)&&n?e.maskTextFn?e.maskTextFn(n,_p(t.target)):n.replace(/[\S]/g,"*"):n,node:t.target});break;
2case"attributes":var r=t.target,i=t.attributeName,a=t.target.getAttribute(i);if("value"===i){var o=ui(r);a=oi({element:r,maskInputOptions:e.maskInputOptions,tagName:r.tagName,type:o,value:a,maskInputFn:e.maskInputFn})}if(Sp(t.target,e.blockClass,e.blockSelector,!1)||a===t.oldValue)return;var s=e.attributeMap.get(t.target);if("IFRAME"===r.tagName&&"src"===i&&!e.keepIframeSrcFn(a)){if(r.contentDocument)return;i="rr_src"}if(s||(s={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(s),e.attributeMap.set(t.target,s)),"type"===i&&"INPUT"===r.tagName&&"password"===(t.oldValue||"").toLowerCase()&&r.setAttribute("data-rr-is-password","true"),!Oi(r.tagName,i))if(s.attributes[i]=Ii(e.doc,si(r.tagName),si(i),a),"style"===i){if(!e.unattachedDoc)try{e.unattachedDoc=document.implementation.createHTMLDocument()}catch(v){e.unattachedDoc=e.doc}var l=e.unattachedDoc.createElement("span");t.oldValue&&l.setAttribute("style",t.oldValue);for(var u,c=Lr(Array.from(r.style));!(u=c()).done;){var d=u.value,p=r.style.getPropertyValue(d),h=r.style.getPropertyPriority(d);p!==l.style.getPropertyValue(d)||h!==l.style.getPropertyPriority(d)?s.styleDiff[d]=""===h?p:[p,h]:s._unchangedStyles[d]=[p,h]}for(var f,m=Lr(Array.from(l.style));!(f=m()).done;){var g=f.value;""===r.style.getPropertyValue(g)&&(s.styleDiff[g]=!1)}}else"open"===i&&"DIALOG"===r.tagName&&(r.matches("dialog:modal")?s.attributes.rr_open_mode="modal":s.attributes.rr_open_mode="non-modal");break;case"childList":if(Sp(t.target,e.blockClass,e.blockSelector,!0))return;if("TEXTAREA"===t.target.tagName)return void e.genTextAreaValueMutation(t.target);t.addedNodes.forEach(function(n){return e.genAdds(n,t.target)}),t.removedNodes.forEach(function(n){var r=e.mirror.getId(n),i=ti(t.target)?e.mirror.getId(pp.host(t.target)):e.mirror.getId(t.target);Sp(t.target,e.blockClass,e.blockSelector,!1)||xp(n,e.mirror,e.slimDOMOptions)||!function(e,t){return-1!==t.getId(e)}(n,e.mirror)||(e.addedSet.has(n)?(Kp(e.addedSet,n),e.droppedSet.add(n)):e.addedSet.has(t.target)&&-1===r||Cp(t.target,e.mirror)||(e.movedSet.has(n)&&e.movedMap[Bp(r,i)]?Kp(e.movedSet,n):(e.removes.push({parentId:i,id:r,isShadow:!(!ti(t.target)||!ni(t.target))||void 0}),function(e,t){var n=[e];for(;n.length;){var r=n.pop();t.has(r)||(t.add(r),pp.childNodes(r).forEach(function(e){return n.push(e)}))}}(n,e.removesSubTreeCache))),e.mapRemoves.push(n))})}}),Hr(this,"genAdds",function(t,n){if(!e.processedNodeManager.inOtherBuffer(t,e)&&!e.addedSet.has(t)&&!e.movedSet.has(t)){if(e.mirror.hasNode(t)){if(xp(t,e.mirror,e.slimDOMOptions))return;e.movedSet.add(t);var r=null;n&&e.mirror.hasNode(n)&&(r=e.mirror.getId(n)),r&&-1!==r&&(e.movedMap[Bp(e.mirror.getId(t),r)]=!0)}else e.addedSet.add(t),e.droppedSet.delete(t);Sp(t,e.blockClass,e.blockSelector,!1)||(pp.childNodes(t).forEach(function(t){return e.genAdds(t)}),Ip(t)&&pp.childNodes(pp.shadowRoot(t)).forEach(function(n){e.processedNodeManager.add(n,e),e.genAdds(n,t)}))}}),Hr(this,"cleanupRemovedNode",function(t){if("IFRAME"===t.nodeName)try{e.iframeManager.removeIframe(t)}catch(n){}else try{e.stylesheetManager.cleanupStylesheetsForRemovedNode(t)}catch(n){}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(n){t[n]=e[n]})},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 Kp(e,t){e.delete(t),pp.childNodes(t).forEach(function(t){return Kp(e,t)})}function $p(e,t,n){return 0!==e.size&&function(e,t){var n=pp.parentNode(t);return!!n&&e.has(n)}(e,t)}function Gp(e,t){return 0!==e.size&&Yp(e,t)}function Yp(e,t){var n=pp.parentNode(t);return!!n&&(!!e.has(n)||Yp(e,n))}var Qp=function(e){if(!qp)return e;return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];try{return e.apply(void 0,[].concat(n))}catch(i){if(qp&&!0===qp(i))return;throw i}}},Jp=[];function Xp(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(HS){}return e&&e.target}function Zp(e,t){var n=new Wp;Jp.push(n),n.init(e);var r=new(cp())(Qp(n.processMutations.bind(n)));return r.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),r}function eh(e){var t=e.mouseInteractionCb,n=e.doc,r=e.mirror,i=e.blockClass,a=e.blockSelector,o=e.sampling;if(!1===o.mouseInteraction)return function(){};var s=!0===o.mouseInteraction||void 0===o.mouseInteraction?{}:o.mouseInteraction,l=[],u=null;return Object.keys(Lp).filter(function(e){return Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]}
2).forEach(function(e){var o=si(e),s=function(e){return function(n){var o=Xp(n);if(!Sp(o,i,a,!0)){var s=null,l=e;if("pointerType"in n){switch(n.pointerType){case"mouse":s=Dp.Mouse;break;case"touch":s=Dp.Touch;break;case"pen":s=Dp.Pen}s===Dp.Touch?Lp[e]===Lp.MouseDown?l="TouchStart":Lp[e]===Lp.MouseUp&&(l="TouchEnd"):Dp.Pen}else Tp(n)&&(s=Dp.Touch);null!==s?(u=s,(l.startsWith("Touch")&&s===Dp.Touch||l.startsWith("Mouse")&&s===Dp.Mouse)&&(s=null)):Lp[e]===Lp.Click&&(s=u,u=null);var c=Tp(n)?n.changedTouches[0]:n;if(c){var d=r.getId(o),p=c.clientX,h=c.clientY;Qp(t)(Er({type:Lp[l],id:d,x:p,y:h},null!==s&&{pointerType:s}))}}}}(e);if(window.PointerEvent)switch(Lp[e]){case Lp.MouseDown:case Lp.MouseUp:o=o.replace("mouse","pointer");break;case Lp.TouchStart:case Lp.TouchEnd:return}l.push(hp(o,s,n))}),Qp(function(){l.forEach(function(e){return e()})})}function th(e){var t=e.scrollCb,n=e.doc,r=e.mirror,i=e.blockClass,a=e.blockSelector,o=e.sampling;return hp("scroll",Qp(gp(Qp(function(e){var o=Xp(e);if(o&&!Sp(o,i,a,!0)){var s=r.getId(o);if(o===n&&n.defaultView){var l=bp(n.defaultView);t({id:s,x:l.left,y:l.top})}else t({id:s,x:o.scrollLeft,y:o.scrollTop})}}),o.scroll||100)),n)}var nh=["INPUT","TEXTAREA","SELECT"],rh=new WeakMap;function ih(e){return function(e,t){if(lh("CSSGroupingRule")&&Or(e.parentRule,CSSGroupingRule)||lh("CSSMediaRule")&&Or(e.parentRule,CSSMediaRule)||lh("CSSSupportsRule")&&Or(e.parentRule,CSSSupportsRule)||lh("CSSConditionRule")&&Or(e.parentRule,CSSConditionRule)){var n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else if(e.parentStyleSheet){var r=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(r)}return t}(e,[])}function ah(e,t,n){var r,i;return e?(e.ownerNode?r=t.getId(e.ownerNode):i=n.getId(e),{styleId:i,id:r}):{}}function oh(e,t){var n,r,i,a=e.mirror,o=e.stylesheetManager,s=null;s="#document"===t.nodeName?a.getId(t):a.getId(pp.host(t));var l="#document"===t.nodeName?null==(n=t.defaultView)?void 0:n.Document:null==(i=null==(r=t.ownerDocument)?void 0:r.defaultView)?void 0:i.ShadowRoot,u=(null==l?void 0:l.prototype)?Object.getOwnPropertyDescriptor(null==l?void 0:l.prototype,"adoptedStyleSheets"):void 0;return null!==s&&-1!==s&&l&&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,n=null==(t=u.set)?void 0:t.call(this,e);if(null!==s&&-1!==s)try{o.adoptStyleSheets(e,s)}catch(r){}return n}}),Qp(function(){Object.defineProperty(t,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get:u.get,set:u.set})})):function(){}}function sh(e,t){void 0===t&&(t={});var n,r=e.doc.defaultView;if(!r)return function(){};!function(e,t){var n=e.mutationCb,r=e.mousemoveCb,i=e.mouseInteractionCb,a=e.scrollCb,o=e.viewportResizeCb,s=e.inputCb,l=e.mediaInteractionCb,u=e.styleSheetRuleCb,c=e.styleDeclarationCb,d=e.canvasMutationCb,p=e.fontCb,h=e.selectionCb,f=e.customElementCb;e.mutationCb=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var a;t.mutation&&(a=t).mutation.apply(a,[].concat(r)),n.apply(void 0,[].concat(r))},e.mousemoveCb=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var a;t.mousemove&&(a=t).mousemove.apply(a,[].concat(n)),r.apply(void 0,[].concat(n))},e.mouseInteractionCb=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var a;t.mouseInteraction&&(a=t).mouseInteraction.apply(a,[].concat(n)),i.apply(void 0,[].concat(n))},e.scrollCb=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i;t.scroll&&(i=t).scroll.apply(i,[].concat(n)),a.apply(void 0,[].concat(n))},e.viewportResizeCb=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i;t.viewportResize&&(i=t).viewportResize.apply(i,[].concat(n)),o.apply(void 0,[].concat(n))},e.inputCb=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i;t.input&&(i=t).input.apply(i,[].concat(n)),s.apply(void 0,[].concat(n))},e.mediaInteractionCb=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i;t.mediaInteaction&&(i=t).mediaInteaction.apply(i,[].concat(n)),l.apply(void 0,[].concat(n))},e.styleSheetRuleCb=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i;t.styleSheetRule&&(i=t).styleSheetRule.apply(i,[].concat(n)),u.a
2pply(void 0,[].concat(n))},e.styleDeclarationCb=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i;t.styleDeclaration&&(i=t).styleDeclaration.apply(i,[].concat(n)),c.apply(void 0,[].concat(n))},e.canvasMutationCb=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i;t.canvasMutation&&(i=t).canvasMutation.apply(i,[].concat(n)),d.apply(void 0,[].concat(n))},e.fontCb=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i;t.font&&(i=t).font.apply(i,[].concat(n)),p.apply(void 0,[].concat(n))},e.selectionCb=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i;t.selection&&(i=t).selection.apply(i,[].concat(n)),h.apply(void 0,[].concat(n))},e.customElementCb=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i;t.customElement&&(i=t).customElement.apply(i,[].concat(n)),f.apply(void 0,[].concat(n))}}(e,t),e.recordDOM&&(n=Zp(e,e.doc));var i=function(e){var t=e.mousemoveCb,n=e.sampling,r=e.doc,i=e.mirror;if(!1===n.mousemove)return function(){};var a,o="number"===typeof n.mousemove?n.mousemove:50,s="number"===typeof n.mousemoveCallback?n.mousemoveCallback:500,l=[],u=gp(Qp(function(e){var n=Date.now()-a;t(l.map(function(e){return e.timeOffset-=n,e}),e),l=[],a=null}),s),c=Qp(gp(Qp(function(e){var t=Xp(e),n=Tp(e)?e.changedTouches[0]:e,r=n.clientX,o=n.clientY;a||(a=yp()),l.push({x:r,y:o,id:i.getId(t),timeOffset:yp()-a}),u("undefined"!==typeof DragEvent&&Or(e,DragEvent)?Mp.Drag:Or(e,MouseEvent)?Mp.MouseMove:Mp.TouchMove)}),o,{trailing:!1})),d=[hp("mousemove",c,r),hp("touchmove",c,r),hp("drag",c,r)];return Qp(function(){d.forEach(function(e){return e()})})}(e),a=eh(e),o=th(e),s=function(e,t){var n=e.viewportResizeCb,r=t.win,i=-1,a=-1;return hp("resize",Qp(gp(Qp(function(){var e=wp(),t=kp();i===e&&a===t||(n({width:Number(t),height:Number(e)}),i=e,a=t)}),200)),r)}(e,{win:r}),l=function(e){var t=e.inputCb,n=e.doc,r=e.mirror,i=e.blockClass,a=e.blockSelector,o=e.ignoreClass,s=e.ignoreSelector,l=e.maskInputOptions,u=e.maskInputFn,c=e.sampling,d=e.userTriggeredOnInput;function p(e){var t=Xp(e),r=e.isTrusted,c=t&&t.tagName;if(t&&"OPTION"===c&&(t=pp.parentElement(t)),t&&c&&!(nh.indexOf(c)<0)&&!Sp(t,i,a,!0)&&!(t.classList.contains(o)||s&&t.matches(s))){var p=t.value,f=!1,m=ui(t)||"";"radio"===m||"checkbox"===m?f=t.checked:(l[c.toLowerCase()]||l[m])&&(p=oi({element:t,maskInputOptions:l,tagName:c,type:m,value:p,maskInputFn:u})),h(t,d?{text:p,isChecked:f,userTriggered:r}:{text:p,isChecked:f});var g=t.name;"radio"===m&&g&&f&&n.querySelectorAll('input[type="radio"][name="'+g+'"]').forEach(function(e){if(e!==t){var n=e.value;h(e,d?{text:n,isChecked:!f,userTriggered:!1}:{text:n,isChecked:!f})}})}}function h(e,n){var i=rh.get(e);if(!i||i.text!==n.text||i.isChecked!==n.isChecked){rh.set(e,n);var a=r.getId(e);Qp(t)(Er({},n,{id:a}))}}var f=("last"===c.input?["change"]:["input","change"]).map(function(e){return hp(e,Qp(p),n)}),m=n.defaultView;if(!m)return function(){f.forEach(function(e){return e()})};var g,v=m.Object.getOwnPropertyDescriptor(m.HTMLInputElement.prototype,"value"),y=[[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 v&&v.set&&(g=f).push.apply(g,[].concat(y.map(function(e){return vp(e[0],e[1],{set:function(){Qp(p)({target:this,isTrusted:!1})}},!1,m)}))),Qp(function(){f.forEach(function(e){return e()})})}(e),u=function(e){var t=e.mediaInteractionCb,n=e.blockClass,r=e.blockSelector,i=e.mirror,a=e.sampling,o=e.doc,s=Qp(function(e){return gp(Qp(function(a){var o=Xp(a);if(o&&!Sp(o,n,r,!0)){var s=o.currentTime,l=o.volume,u=o.muted,c=o.playbackRate,d=o.loop;t({type:e,id:i.getId(o),currentTime:s,volume:l,muted:u,playbackRate:c,loop:d})}}),a.media||500)}),l=[hp("play",s(Fp.Play),o),hp("pause",s(Fp.Pause),o),hp("seeked",s(Fp.Seeked),o),hp("volumechange",s(Fp.VolumeChange),o),hp("ratechange",s(Fp.RateChange),o)];return Qp(function(){l.forEach(function(e){return e()})})}(e),c=function(){},d=function(){},p=function(){},h=function(){};e.recordDOM&&(c=function(e,t){var n=e.styleSheetRuleCb,r=e.mirror,i=e.stylesheetManager,a=t.win;if(!a.CSSStyleSheet||!a.CSSStyleSheet.prototype)return function(){};var o=a.CSSStyleSheet.prototype.insertRule;a.CSSStyleSheet.prototype.insertRule=new Proxy(o,{apply:Qp(function(e,t,a){var o=a[0],s=a[1],l=ah(t,r,i.styleMirror),u=l.id,c=l.styleId;return(u&&-1!==u||c&&-1!==c)&&n({id:u,styleId:c,adds:[{rule:o,index:s}]}),e.apply(t,a)})}),a.CSSStyleSheet.prototype.addRule=function(e,t,n){void 0===n&&(n=this.cssRules.length);var r=e+" { "+t+" }";return a.CSSStyleSheet.prototype.insertRule.apply(this,[r,n])};var s,l,u=a.CSSStyleSheet.prototype.deleteRule;a.CSSStyleSheet.prototype.deleteRule=new Proxy(u,{apply:Qp(function(e,t,a){var o=a[0],s=ah(t,r,i.styleMirror),l=s.id,u=s.styleId;return(l&&-1!==l||u&&-1!==u)&&n({id:l,styleId:u,removes:[{index:o}]}),e.apply(t,a)})}),a.CSSStyleSheet.prototype.removeRule=function(e){return a.CSSStyleSheet.prototype.deleteRule.apply(this,[e])}
2,a.CSSStyleSheet.prototype.replace&&(s=a.CSSStyleSheet.prototype.replace,a.CSSStyleSheet.prototype.replace=new Proxy(s,{apply:Qp(function(e,t,a){var o=a[0],s=ah(t,r,i.styleMirror),l=s.id,u=s.styleId;return(l&&-1!==l||u&&-1!==u)&&n({id:l,styleId:u,replace:o}),e.apply(t,a)})})),a.CSSStyleSheet.prototype.replaceSync&&(l=a.CSSStyleSheet.prototype.replaceSync,a.CSSStyleSheet.prototype.replaceSync=new Proxy(l,{apply:Qp(function(e,t,a){var o=a[0],s=ah(t,r,i.styleMirror),l=s.id,u=s.styleId;return(l&&-1!==l||u&&-1!==u)&&n({id:l,styleId:u,replaceSync:o}),e.apply(t,a)})}));var c={};uh("CSSGroupingRule")?c.CSSGroupingRule=a.CSSGroupingRule:(uh("CSSMediaRule")&&(c.CSSMediaRule=a.CSSMediaRule),uh("CSSConditionRule")&&(c.CSSConditionRule=a.CSSConditionRule),uh("CSSSupportsRule")&&(c.CSSSupportsRule=a.CSSSupportsRule));var d={};return Object.entries(c).forEach(function(e){var t=e[0],a=e[1];d[t]={insertRule:a.prototype.insertRule,deleteRule:a.prototype.deleteRule},a.prototype.insertRule=new Proxy(d[t].insertRule,{apply:Qp(function(e,t,a){var o=a[0],s=a[1],l=ah(t.parentStyleSheet,r,i.styleMirror),u=l.id,c=l.styleId;return(u&&-1!==u||c&&-1!==c)&&n({id:u,styleId:c,adds:[{rule:o,index:[].concat(ih(t),[s||0])}]}),e.apply(t,a)})}),a.prototype.deleteRule=new Proxy(d[t].deleteRule,{apply:Qp(function(e,t,a){var o=a[0],s=ah(t.parentStyleSheet,r,i.styleMirror),l=s.id,u=s.styleId;return(l&&-1!==l||u&&-1!==u)&&n({id:l,styleId:u,removes:[{index:[].concat(ih(t),[o])}]}),e.apply(t,a)})})}),Qp(function(){a.CSSStyleSheet.prototype.insertRule=o,a.CSSStyleSheet.prototype.deleteRule=u,s&&(a.CSSStyleSheet.prototype.replace=s),l&&(a.CSSStyleSheet.prototype.replaceSync=l),Object.entries(c).forEach(function(e){var t=e[0],n=e[1];n.prototype.insertRule=d[t].insertRule,n.prototype.deleteRule=d[t].deleteRule})})}(e,{win:r}),d=oh(e,e.doc),p=function(e,t){var n=e.styleDeclarationCb,r=e.mirror,i=e.ignoreCSSAttributes,a=e.stylesheetManager,o=t.win,s=o.CSSStyleDeclaration.prototype.setProperty;o.CSSStyleDeclaration.prototype.setProperty=new Proxy(s,{apply:Qp(function(e,t,o){var l,u=o[0],c=o[1],d=o[2];if(i.has(u))return s.apply(t,[u,c,d]);var p=ah(null==(l=t.parentRule)?void 0:l.parentStyleSheet,r,a.styleMirror),h=p.id,f=p.styleId;return(h&&-1!==h||f&&-1!==f)&&n({id:h,styleId:f,set:{property:u,value:c,priority:d},index:ih(t.parentRule)}),e.apply(t,o)})});var l=o.CSSStyleDeclaration.prototype.removeProperty;return o.CSSStyleDeclaration.prototype.removeProperty=new Proxy(l,{apply:Qp(function(e,t,o){var s,u=o[0];if(i.has(u))return l.apply(t,[u]);var c=ah(null==(s=t.parentRule)?void 0:s.parentStyleSheet,r,a.styleMirror),d=c.id,p=c.styleId;return(d&&-1!==d||p&&-1!==p)&&n({id:d,styleId:p,remove:{property:u},index:ih(t.parentRule)}),e.apply(t,o)})}),Qp(function(){o.CSSStyleDeclaration.prototype.setProperty=s,o.CSSStyleDeclaration.prototype.removeProperty=l})}(e,{win:r}),e.collectFonts&&(h=function(e){var t=e.fontCb,n=e.doc,r=n.defaultView;if(!r)return function(){};var i=[],a=new WeakMap,o=r.FontFace;r.FontFace=function(e,t,n){var r=new o(e,t,n);return a.set(r,{family:e,buffer:"string"!==typeof t,descriptors:n,fontSource:"string"===typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};var s=dp(n.fonts,"add",function(e){return function(n){return setTimeout(Qp(function(){var e=a.get(n);e&&(t(e),a.delete(n))}),0),e.apply(this,[n])}});return i.push(function(){r.FontFace=o}),i.push(s),Qp(function(){i.forEach(function(e){return e()})})}(e)));for(var f,m=function(e){var t=e.doc,n=e.mirror,r=e.blockClass,i=e.blockSelector,a=e.selectionCb,o=!0,s=Qp(function(){var e=t.getSelection();if(!(!e||o&&(null==e?void 0:e.isCollapsed))){o=e.isCollapsed||!1;for(var s=[],l=e.rangeCount||0,u=0;u<l;u++){var c=e.getRangeAt(u),d=c.startContainer,p=c.startOffset,h=c.endContainer,f=c.endOffset;Sp(d,r,i,!0)||Sp(h,r,i,!0)||s.push({start:n.getId(d),startOffset:p,end:n.getId(h),endOffset:f})}a({ranges:s})}});return s(),hp("selectionchange",s)}(e),g=function(e){var t=e.doc,n=e.customElementCb,r=t.defaultView;return r&&r.customElements?dp(r.customElements,"define",function(e){return function(t,r,i){try{n({define:{name:t}})}catch(a){console.warn("Custom element callback failed for "+t)}return e.apply(this,[t,r,i])}}):function(){}}(e),v=[],y=Lr(e.plugins);!(f=y()).done;){var b=f.value;v.push(b.observer(b.callback,r,b.options))}return Qp(function(){Jp.forEach(function(e){return e.reset()}),null==n||n.disconnect(),i(),a(),o(),s(),l(),u(),c(),d(),p(),h(),m(),g(),v.forEach(function(e){return e()})})}function lh(e){return"undefined"!==typeof window[e]}function uh(e){return Boolean("undefined"!==typeof window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}for(var ch=function(){function e(e){Hr(this,"iframeIdToRemoteIdMap",new WeakMap),Hr(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=e}var t=e.prototype;return t.getId=function(e,t,n,r){var i=n||this.getIdToRemoteIdMap(e),a=r||this.getRemoteIdToIdMap(e),o=i.get(t);return o||(o=this.generateIdFn(),i.set(t,o),a.set(o,t)),o},t.getIds=function(e,t){var n=this,r=this.getIdToRemoteIdMap(e),i=this.getRemoteIdToIdMap(e);return t.map(function(t){return n.getId(e,t,r,i)})},t.getRemoteId=function(e,t,n){var r=n||this.getRemoteIdToIdMap(e);if("number"!==typeof t)return t;var i=r.get(t);return i||-1},t.getRemoteIds=function(e,t){var n=this,r=this.getRemoteIdToIdMap(e);return t.map(function(t){return n.getRemoteId(e,t,r)})},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}(),dh=function(){function e(e){Hr(this,"iframes",new WeakMap),Hr(this,"crossOriginIframeMap",new WeakMap),Hr(this,"crossOriginIframeMirror",new ch(_i)),Hr(this,"crossOriginIframeStyleMirror"),Hr(this,"crossOriginIframeRootIdMap",new WeakMap),Hr(this,"iframeContentDocumentMap",new WeakMap),Hr(this,"iframeObserverCleanupMap",new WeakMap),Hr(this,"mirror"),Hr(this,"mutationCb"),Hr(this,"wrappedEmit"),Hr(this,"loadListener"),Hr(this,"stylesheetManager"),Hr(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=ne
vendor: 1,143 bytes, line 2
2w ch(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var t=e.prototype;return t.addIframe=function(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)},t.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 n=this.iframeObserverCleanupMap.get(e);if(n){try{n()}catch(r){}this.iframeObserverCleanupMap.delete(e)}},t.addLoadListener=function(e){this.loadListener=e},t.attachIframe=function(e,t){var n,r;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}
2),e.contentDocument&&this.iframeContentDocumentMap.set(e,e.contentDocument),this.recordCrossOriginIframes&&(null==(n=e.contentWindow)||n.addEventListener("message",this.handleMessage.bind(this))),null==(r=this.loadListener)||r.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 n=this.crossOriginIframeMap.get(e.source);if(n){var r=this.transformCrossOriginEvent(n,t.data.event);r&&this.wrappedEmit(r,t.data.isCheckout)}}},t.transformCrossOriginEvent=function(e,t){var n,r=this;switch(t.type){case Np.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:Np.IncrementalSnapshot,data:{source:Mp.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case Np.Meta:case Np.Load:case Np.DomContentLoaded:return!1;case Np.Plugin:return t;case Np.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case Np.IncrementalSnapshot:switch(t.data.source){case Mp.Mutation:return t.data.adds.forEach(function(t){r.replaceIds(t,e,["parentId","nextId","previousId"]),r.replaceIdOnNode(t.node,e);var n=r.crossOriginIframeRootIdMap.get(e);n&&r.patchRootIdOnNode(t.node,n)}),t.data.removes.forEach(function(t){r.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(function(t){r.replaceIds(t,e,["id"])}),t.data.texts.forEach(function(t){r.replaceIds(t,e,["id"])}),t;case Mp.Drag:case Mp.TouchMove:case Mp.MouseMove:return t.data.positions.forEach(function(t){r.replaceIds(t,e,["id"])}),t;case Mp.ViewportResize:return!1;case Mp.MediaInteraction:case Mp.MouseInteraction:case Mp.Scroll:case Mp.CanvasMutation:case Mp.Input:return this.replaceIds(t.data,e,["id"]),t;case Mp.StyleSheetRule:case Mp.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case Mp.Font:return t;case Mp.Selection:return t.data.ranges.forEach(function(t){r.replaceIds(t,e,["start","end"])}),t;case Mp.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null==(n=t.data.styles)||n.forEach(function(t){r.replaceStyleIds(t,e,["styleId"])}),t}}return!1},t.replace=function(e,t,n,r){for(var i,a=Lr(r);!(i=a()).done;){var o=i.value;(Array.isArray(t[o])||"number"===typeof t[o])&&(Array.isArray(t[o])?t[o]=e.getIds(n,t[o]):t[o]=e.getId(n,t[o]))}return t},t.replaceIds=function(e,t,n){return this.replace(this.crossOriginIframeMirror,e,t,n)},t.replaceStyleIds=function(e,t,n){return this.replace(this.crossOriginIframeStyleMirror,e,t,n)},t.replaceIdOnNode=function(e,t){var n=this;this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(function(e){n.replaceIdOnNode(e,t)})},t.patchRootIdOnNode=function(e,t){var n=this;e.type===zp.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(function(e){n.patchRootIdOnNode(e,t)})},e}(),ph=function(){function e(e){Hr(this,"shadowDoms",new WeakSet),Hr(this,"mutationCb"),Hr(this,"scrollCb"),Hr(this,"bypassOptions"),Hr(this,"mirror"),Hr(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 n=this;if(ni(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var r=Zp(Er({},this.bypassOptions,{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push(function(){return r.disconnect()}),this.restoreHandlers.push(th(Er({},this.bypassOptions,{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))),setTimeout(function(){e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&n.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,n.mirror.getId(pp.host(e))),n.restoreHandlers.push(oh({mirror:n.mirror,stylesheetManager:n.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 n=this;this.restoreHandlers.push(dp(e.prototype,"attachShadow",function(e){return function(r){var i=e.call(this,r),a=pp.shadowRoot(this);return a&&Pp(this)&&n.addShadowRoot(a,t),i}}))}
2,t.reset=function(){this.restoreHandlers.forEach(function(e){try{e()}catch(t){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},e}(),hh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fh="undefined"===typeof Uint8Array?[]:new Uint8Array(256),mh=0;mh<64;mh++)fh[hh.charCodeAt(mh)]=mh;var gh=new Map;var vh=function(e,t,n){if(e&&(wh(e,t)||"object"===("undefined"===typeof e?"undefined":Pr(e)))){var r=function(e,t){var n=gh.get(e);return n||(n=new Map,gh.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}(n,e.constructor.name),i=r.indexOf(e);return-1===i&&(i=r.length,r.push(e)),i}};function yh(e,t,n){if(Or(e,Array))return e.map(function(e){return yh(e,t,n)});if(null===e)return e;if(Or(e,Float32Array)||Or(e,Float64Array)||Or(e,Int32Array)||Or(e,Uint32Array)||Or(e,Uint8Array)||Or(e,Uint16Array)||Or(e,Int16Array)||Or(e,Int8Array)||Or(e,Uint8ClampedArray))return{rr_type:e.constructor.name,args:[Object.values(e)]};if(Or(e,ArrayBuffer))return{rr_type:e.constructor.name,base64:function(e){var t,n=new Uint8Array(e),r=n.length,i="";for(t=0;t<r;t+=3)i+=hh[n[t]>>2],i+=hh[(3&n[t])<<4|n[t+1]>>4],i+=hh[(15&n[t+1])<<2|n[t+2]>>6],i+=hh[63&n[t+2]];return r%3===2?i=i.substring(0,i.length-1)+"=":r%3===1&&(i=i.substring(0,i.length-2)+"=="),i}(e)};if(Or(e,DataView))return{rr_type:e.constructor.name,args:[yh(e.buffer,t,n),e.byteOffset,e.byteLength]};if(Or(e,HTMLImageElement))return{rr_type:e.constructor.name,src:e.src};if(Or(e,HTMLCanvasElement)){return{rr_type:"HTMLImageElement",src:e.toDataURL()}}return Or(e,ImageData)?{rr_type:e.constructor.name,args:[yh(e.data,t,n),e.width,e.height]}:wh(e,t)||"object"===("undefined"===typeof e?"undefined":Pr(e))?{rr_type:e.constructor.name,index:vh(e,t,n)}:e}var bh=function(e,t,n){return e.map(function(e){return yh(e,t,n)})},wh=function(e,t){var n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(function(e){return"function"===typeof t[e]});return Boolean(n.find(function(n){return Or(e,t[n])}))};function kh(e,t,n,r){var i=[];try{var a=dp(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(i){for(var a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];if(!Sp(this,t,n,!0)){var l=function(e){return"experimental-webgl"===e?"webgl":e}(i);if("__context"in this||(this.__context=l),r&&["webgl","webgl2"].includes(l))if(o[0]&&"object"===Pr(o[0])){var u=o[0];u.preserveDrawingBuffer||(u.preserveDrawingBuffer=!0)}else o.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[].concat([i],o))}});i.push(a)}catch(HS){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){i.forEach(function(e){return e()})}}function _h(e,t,n,r,i,a){for(var o,s=function(){var s=o.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(s))return"continue";try{if("function"!==typeof e[s])return"continue";var u=dp(e,s,function(e){return function(){for(var o=arguments.length,l=new Array(o),u=0;u<o;u++)l[u]=arguments[u];var c=e.apply(this,l);if(vh(c,a,this),"tagName"in this.canvas&&!Sp(this.canvas,r,i,!0)){var d=bh(l,a,this),p={type:t,property:s,args:d};n(this.canvas,p)}return c}});l.push(u)}catch(HS){var c=vp(e,s,{set:function(e){n(this.canvas,{type:t,property:s,args:[e],setter:!0})}});l.push(c)}},l=[],u=Lr(Object.getOwnPropertyNames(e));!(o=u()).done;)s();return l}var Sh,xh="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSA
2yKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",Ch="undefined"!==typeof window&&window.Blob&&new Blob([(Sh=xh,Uint8Array.from(atob(Sh),function(e){return e.charCodeAt(0)}))],{type:"text/javascript;charset=utf-8"});function Th(e){var t;try{if(!(t=Ch&&(window.URL||window.webkitURL).createObjectURL(Ch)))throw"";var n=new Worker(t,{name:null==e?void 0:e.name});return n.addEventListener("error",function(){(window.URL||window.webkitURL).revokeObjectURL(t)}),n}catch(r){return new Worker("data:text/javascript;base64,"+xh,{name:null==e?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}var Eh,Ah,Ih,Oh=function(){function e(e){var t=this;Hr(this,"pendingCanvasMutations",new Map),Hr(this,"rafStamps",{latestId:0,invokeId:null}),Hr(this,"mirror"),Hr(this,"mutationCb"),Hr(this,"resetObservers"),Hr(this,"frozen",!1),Hr(this,"locked",!1),Hr(this,"processMutation",function(e,n){!(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(n)});var n=e.sampling,r=void 0===n?"all":n,i=e.win,a=e.blockClass,o=e.blockSelector,s=e.recordCanvas,l=e.dataURLOptions;this.mutationCb=e.mutationCb,this.mirror=e.mirror,s&&"all"===r&&this.initCanvasMutationObserver(i,a,o),s&&"number"===typeof r&&this.initCanvasFPSObserver(r,i,a,o,{dataURLOptions:l})}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,n,r,i){var a=this,o=kh(t,n,r,!0),s=new Map,l=new Th;l.onmessage=function(e){var t=e.data.id;if(s.set(t,!1),"base64"in e.data){var n=e.data,r=n.base64,i=n.type,o=n.width,l=n.height;a.mutationCb({id:t,type:Vp["2D"],commands:[{property:"clearRect",args:[0,0,o,l]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:i}]},0,0]}]})}};var u,c=1e3/e,d=0,p=function(e){if(d&&e-d<c)u=requestAnimationFrame(p);else{d=e;var o=a;(function(){var e=[];return t.document.querySelectorAll("canvas").forEach(function(t){Sp(t,n,r,!0)||e.push(t)}),e}
2)().forEach(xr(function(e){var t,n,r,a;return Dr(this,function(u){switch(u.label){case 0:return n=o.mirror.getId(e),s.get(n)?[2]:0===e.width||0===e.height?[2]:(s.set(n,!0),["webgl","webgl2"].includes(e.__context)&&(r=e.getContext(e.__context),!1===(null==(t=null==r?void 0:r.getContextAttributes())?void 0:t.preserveDrawingBuffer)&&r.clear(r.COLOR_BUFFER_BIT)),[4,createImageBitmap(e)]);case 1:return a=u.sent(),l.postMessage({id:n,bitmap:a,width:e.width,height:e.height,dataURLOptions:i.dataURLOptions},[a]),[2]}})})),u=requestAnimationFrame(p)}};u=requestAnimationFrame(p),this.resetObservers=function(){o(),cancelAnimationFrame(u)}},t.initCanvasMutationObserver=function(e,t,n){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var r=kh(e,t,n,!1),i=function(e,t,n,r){for(var i,a=function(){var a=i.value;try{if("function"!==typeof t.CanvasRenderingContext2D.prototype[a])return"continue";var s=dp(t.CanvasRenderingContext2D.prototype,a,function(i){return function(){for(var o=this,s=arguments.length,l=new Array(s),u=0;u<s;u++)l[u]=arguments[u];return Sp(this.canvas,n,r,!0)||setTimeout(function(){var n=bh(l,t,o);e(o.canvas,{type:Vp["2D"],property:a,args:n})},0),i.apply(this,l)}});o.push(s)}catch(HS){var l=vp(t.CanvasRenderingContext2D.prototype,a,{set:function(t){e(this.canvas,{type:Vp["2D"],property:a,args:[t],setter:!0})}});o.push(l)}},o=[],s=Lr(Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype));!(i=s()).done;)a();return function(){o.forEach(function(e){return e()})}}(this.processMutation.bind(this),e,t,n),a=function(e,t,n,r){var i,a,o=[];return(i=o).push.apply(i,[].concat(_h(t.WebGLRenderingContext.prototype,Vp.WebGL,e,n,r,t))),"undefined"!==typeof t.WebGL2RenderingContext&&(a=o).push.apply(a,[].concat(_h(t.WebGL2RenderingContext.prototype,Vp.WebGL2,e,n,r,t))),function(){o.forEach(function(e){return e()})}}(this.processMutation.bind(this),e,t,n);this.resetObservers=function(){r(),i(),a()}},t.startPendingCanvasMutationFlusher=function(){var e=this;requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},t.startRAFTimestamping=function(){var e=this,t=function(n){e.rafStamps.latestId=n,requestAnimationFrame(t)};requestAnimationFrame(t)},t.flushPendingCanvasMutations=function(){var e=this;this.pendingCanvasMutations.forEach(function(t,n){var r=e.mirror.getId(n);e.flushPendingCanvasMutationFor(n,r)}),requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},t.flushPendingCanvasMutationFor=function(e,t){if(!this.frozen&&!this.locked){var n=this.pendingCanvasMutations.get(e);if(n&&-1!==t){var r=n.map(function(e){return e.type,jr(e,["type"])}),i=n[0].type;this.mutationCb({id:t,type:i,commands:r}),this.pendingCanvasMutations.delete(e)}}},e}(),jh=function(){function e(e){Hr(this,"trackedLinkElements",new WeakSet),Hr(this,"mutationCb"),Hr(this,"adoptedStyleSheetCb"),Hr(this,"styleMirror",new Op),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 n,r=function(){var e=i.value,t=void 0;n.styleMirror.has(e)?t=n.styleMirror.getId(e):(t=n.styleMirror.add(e),o.push({styleId:t,rules:Array.from(e.rules||CSSRule,function(t,n){return{rule:ii(t,e.href),index:n}})})),a.styleIds.push(t)};if(0!==e.length){for(var i,a={id:t,styleIds:[]},o=[],s=Lr(e);!(i=s()).done;)n=this,r();o.length>0&&(a.styles=o),this.adoptedStyleSheetCb(a)}},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 n=e;if(n.adoptedStyleSheets)for(var r,i=Lr(n.adoptedStyleSheets);!(r=i()).done;){var a=r.value;this.styleMirror.remove(a)}}if("STYLE"===e.nodeName){var o=e;o.sheet&&this.styleMirror.remove(o.sheet)}
2if("LINK"===e.nodeName&&"stylesheet"===e.rel){var s=e;s.sheet&&this.styleMirror.remove(s.sheet)}e.childNodes&&e.childNodes.forEach(function(e){t.cleanupStylesheetsForRemovedNode(e)})}catch(l){}},t.trackStylesheetInLinkElement=function(e){},e}(),Rh=function(){function e(){Hr(this,"nodeMap",new WeakMap),Hr(this,"active",!1)}var t=e.prototype;return t.inOtherBuffer=function(e,t){var n=this.nodeMap.get(e);return n&&Array.from(n).some(function(e){return e!==t})},t.add=function(e,t){var n=this;this.active||(this.active=!0,requestAnimationFrame(function(){n.nodeMap=new WeakMap,n.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))},t.destroy=function(){},e}();function Ph(e){try{var t=new URL(e).origin;return"null"!==t?t:null}catch(HS){return null}}var Nh=!1;try{if(2!==Array.from([1],function(e){return 2*e})[0]){var Mh=document.createElement("iframe");document.body.appendChild(Mh),Array.from=(null==(Fr=Mh.contentWindow)?void 0:Fr.Array.from)||Array.from,document.body.removeChild(Mh)}}catch(qS){console.debug("Unable to override Array.from",qS)}var Lh,Dh,Vh=new ai;function Fh(e){void 0===e&&(e={});var t,n=e.emit,r=e.checkoutEveryNms,i=e.checkoutEveryNth,a=e.blockClass,o=void 0===a?"rr-block":a,s=e.blockSelector,l=void 0===s?null:s,u=e.ignoreClass,c=void 0===u?"rr-ignore":u,d=e.ignoreSelector,p=void 0===d?null:d,h=e.maskTextClass,f=void 0===h?"rr-mask":h,m=e.maskTextSelector,g=void 0===m?null:m,v=e.inlineStylesheet,y=void 0===v||v,b=e.maskAllInputs,w=e.maskInputOptions,k=e.slimDOMOptions,_=e.maskInputFn,S=e.maskTextFn,x=e.hooks,C=e.packFn,T=e.sampling,E=void 0===T?{}:T,A=e.dataURLOptions,I=void 0===A?{}:A,O=e.mousemoveWait,j=e.recordDOM,R=void 0===j||j,P=e.recordCanvas,N=void 0!==P&&P,M=e.recordCrossOriginIframes,L=void 0!==M&&M,D=e.allowedIframeOrigins,V=e.recordAfter,F=void 0===V?"DOMContentLoaded"===e.recordAfter?e.recordAfter:"load":V,z=e.userTriggeredOnInput,H=void 0!==z&&z,q=e.collectFonts,U=void 0!==q&&q,B=e.inlineImages,W=void 0!==B&&B,K=e.plugins,$=e.keepIframeSrcFn,G=void 0===$?function(){return!1}:$,Y=e.ignoreCSSAttributes,Q=void 0===Y?new Set([]):Y,J=e.errorHandler;qp=J,L&&D&&D.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,n=0;n<e.length;n++){var r=e[n];if("string"!==typeof r)throw new Error("[rrweb] allowedIframeOrigins["+n+"] must be a string, got "+("undefined"===typeof r?"undefined":Pr(r))+".");var i=Ph(r);i&&t.add(i)}return Object.freeze(t)}(D)).size&&(t=void 0);var X=!L||window.parent===window,Z=!1;if(!X)try{window.parent.document&&(Z=!1)}catch(ye){Z=!0}if(X&&!n)throw new Error("emit function is required");if(!X&&!Z)return function(){};void 0!==O&&void 0===E.mousemove&&(E.mousemove=O),Vh.reset();var ee,te=!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!==w?w:{password:!0},ne=!0===k||"all"===k?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===k,headMetaDescKeywords:"all"===k,headTitleMutations:"all"===k}:k||{};!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 re=0,ie=function(e){for(var t,n=Lr(K||[]);!(t=n()).done;){var r=t.value;r.eventProcessor&&(e=r.eventProcessor(e))}return C&&!Z&&(e=C(e)),e};Eh=function(e,a){var o,s=e;if(s.timestamp=yp(),!(null==(o=Jp[0])?void 0:o.isFrozen())||s.type===Np.FullSnapshot||s.type===Np.IncrementalSnapshot&&s.data.source===Mp.Mutation||Jp.forEach(function(e){return e.unfreeze()}),X)null==n||n(ie(s),a);else if(Z){var l={type:"rrweb",event:ie(s),origin:window.location.origin,isCheckout:a};if(t)for(var u,c=Lr(t);!(u=c()).done;){var d=u.value;window.parent.postMessage(l,d)}else window.parent.postMessage(l,"*")}if(s.type===Np.FullSnapshot)ee=s,re=0;else if(s.type===Np.IncrementalSnapshot){if(s.data.source===Mp.Mutation&&s.data.isAttachIframe)return;re++;var p=i&&re>=i,h=r&&s.timestamp-ee.timestamp>r;(p||h)&&Ah(!0)}};for(var ae,oe=function(e){Eh({type:Np.IncrementalSnapshot,data:Er({source:Mp.Mutation},e)})},se=function(e){return Eh({type:Np.IncrementalSnapshot,data:Er({source:Mp.Scroll},e)})},le=function(e){return Eh({type:Np.IncrementalSnapshot,data:Er({source:Mp.CanvasMutation},e)})},ue=new jh({mutationCb:oe,adoptedStyleSheetCb:function(e){return Eh({type:Np.IncrementalSnapshot,data:Er({source:Mp.AdoptedStyleSheet},e)})}}),ce=new dh({mirror:Vh,mutationCb:oe,stylesheetManager:ue,recordCrossOriginIframes:L,wrappedEmit:Eh}),de=Lr(K||[]);!(ae=de()).done;){var pe=ae.value;pe.getMirror&&pe.getMirror({nodeMirror:Vh,crossOriginIframeMirror:ce.crossOriginIframeMirror,crossOriginIframeStyleMirror:ce.crossOriginIframeStyleMirror})}var he=new Rh;Ih=new Oh({recordCanvas:N,mutationCb:le,win:window,blockClass:o,blockSelector:l,mirror:Vh,sampling:E.canvas,dataURLOptions:I});var fe=new ph({mutationCb:oe,scrollCb:se,bypassOptions:{blockClass:o,blockSelector:l,maskTextClass:f,maskTextSelector:g,inlineStylesheet:y,maskInputOptions:te,dataURLOptions:I,maskTextFn:S,maskInputFn:_,recordCanvas:N,inlineImages:W,sampling:E,slimDOMOptions:ne,iframeManager:ce,stylesheetManager:ue,canvasManager:Ih,keepIframeSrcFn:G,processedNodeManager:he},mirror:Vh});Ah=function(e){if(void 0===e&&(e=!1),R){Eh({type:Np.Meta,data:{href:window.location.href,width:kp(),height:wp()}},e),ue.reset(),fe.init(),Jp.forEach(function(e){return e.lock()});var t=function(e,t){var n=t||{},r=n.mirror,i=void 0===r?new ai:r,a=n.blockClass,o=void 0===a?"rr-block":a,s=n.blockSelector,l=void 0===s?null:s,u=n.maskTextClass,c=void 0===u?"rr-mask":u,d=n.maskTextSelector,p=void 0===d?null:d,h=n.inl
2ineStylesheet,f=void 0===h||h,m=n.inlineImages,g=void 0!==m&&m,v=n.recordCanvas,y=void 0!==v&&v,b=n.maskAllInputs,w=void 0!==b&&b,k=n.maskTextFn,_=n.maskInputFn,S=n.slimDOM,x=void 0!==S&&S,C=n.dataURLOptions,T=n.preserveWhiteSpace,E=n.onSerialize,A=n.onIframeLoad,I=n.iframeLoadTimeout,O=n.onStylesheetLoad,j=n.stylesheetLoadTimeout,R=n.keepIframeSrcFn;return Mi(e,{doc:e,mirror:i,blockClass:o,blockSelector:l,maskTextClass:c,maskTextSelector:p,skipChild:!1,inlineStylesheet:f,maskInputOptions:!0===w?{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===w?{password:!0}:w,maskTextFn:k,maskInputFn:_,slimDOMOptions:!0===x||"all"===x?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===x,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===x?{}:x,dataURLOptions:C,inlineImages:g,recordCanvas:y,preserveWhiteSpace:T,onSerialize:E,onIframeLoad:A,iframeLoadTimeout:I,onStylesheetLoad:O,stylesheetLoadTimeout:j,keepIframeSrcFn:void 0===R?function(){return!1}:R,newlyAddedElement:!1})}(document,{mirror:Vh,blockClass:o,blockSelector:l,maskTextClass:f,maskTextSelector:g,inlineStylesheet:y,maskAllInputs:te,maskTextFn:S,maskInputFn:_,slimDOM:ne,dataURLOptions:I,recordCanvas:N,inlineImages:W,onSerialize:function(e){Ep(e,Vh)&&ce.addIframe(e),Ap(e,Vh)&&ue.trackLinkElement(e),Ip(e)&&fe.addShadowRoot(pp.shadowRoot(e),document)},onIframeLoad:function(e,t){ce.attachIframe(e,t),fe.observeAttachShadow(e)},onStylesheetLoad:function(e,t){ue.attachLinkElement(e,t)},keepIframeSrcFn:G});if(!t)return console.warn("Failed to snapshot the document");Eh({type:Np.FullSnapshot,data:{node:t,initialOffset:bp(window)}},e),Jp.forEach(function(e){return e.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&ue.adoptStyleSheets(document.adoptedStyleSheets,Vh.getId(document))}};try{var me=[],ge=function(e){var t;return Qp(sh)({mutationCb:oe,mousemoveCb:function(e,t){return Eh({type:Np.IncrementalSnapshot,data:{source:t,positions:e}})},mouseInteractionCb:function(e){return Eh({type:Np.IncrementalSnapshot,data:Er({source:Mp.MouseInteraction},e)})},scrollCb:se,viewportResizeCb:function(e){return Eh({type:Np.IncrementalSnapshot,data:Er({source:Mp.ViewportResize},e)})},inputCb:function(e){return Eh({type:Np.IncrementalSnapshot,data:Er({source:Mp.Input},e)})},mediaInteractionCb:function(e){return Eh({type:Np.IncrementalSnapshot,data:Er({source:Mp.MediaInteraction},e)})},styleSheetRuleCb:function(e){return Eh({type:Np.IncrementalSnapshot,data:Er({source:Mp.StyleSheetRule},e)})},styleDeclarationCb:function(e){return Eh({type:Np.IncrementalSnapshot,data:Er({source:Mp.StyleDeclaration},e)})},canvasMutationCb:le,fontCb:function(e){return Eh({type:Np.IncrementalSnapshot,data:Er({source:Mp.Font},e)})},selectionCb:function(e){Eh({type:Np.IncrementalSnapshot,data:Er({source:Mp.Selection},e)})},customElementCb:function(e){Eh({type:Np.IncrementalSnapshot,data:Er({source:Mp.CustomElement},e)})},blockClass:o,ignoreClass:c,ignoreSelector:p,maskTextClass:f,maskTextSelector:g,maskInputOptions:te,inlineStylesheet:y,sampling:E,recordDOM:R,recordCanvas:N,inlineImages:W,userTriggeredOnInput:H,collectFonts:U,doc:e,maskInputFn:_,maskTextFn:S,keepIframeSrcFn:G,blockSelector:l,slimDOMOptions:ne,dataURLOptions:I,mirror:Vh,iframeManager:ce,stylesheetManager:ue,shadowDomManager:fe,processedNodeManager:he,canvasManager:Ih,ignoreCSSAttributes:Q,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 Eh({type:Np.Plugin,data:{plugin:e.name,payload:t}})}}}))||[]},x)};ce.addLoadListener(function(e){try{var t=e.contentDocument,n=ge(t);me.push(n);var r=ce.getObserverCleanup(e);ce.setObserverCleanup(e,function(){if(r)try{r()}catch(ye){}try{n();var e=me.indexOf(n);-1!==e&&me.splice(e,1),function(e){for(var t=Jp.length-1;t>=0;t--)Jp[t].getDoc()===e&&Jp.splice(t,1)}(t)}catch(ye){}})}catch(i){console.warn(i)}});var ve=function(){Ah(),me.push(ge(document)),Nh=!0};return"interactive"===document.readyState||"complete"===document.readyState?ve():(me.push(hp("DOMContentLoaded",function(){Eh({type:Np.DomContentLoaded,data:{}}),"DOMContentLoaded"===F&&ve()})),me.push(hp("load",function(){Eh({type:Np.Load,data:{}}),"load"===F&&ve()},window))),function(){me.forEach(function(e){try{e()}catch(t){String(t).toLowerCase().includes("cross-origin")||console.warn(t)}}),he.destroy(),Nh=!1,qp=void 0}}catch(be){console.warn(be)}}Fh.addCustomEvent=function(e,t){if(!Nh)throw new Error("please add custom event after start recording");Eh({type:Np.Custom,data:{tag:e,payload:t}}
2)},Fh.freezePage=function(){Jp.forEach(function(e){return e.freeze()})},Fh.takeFullSnapshot=function(e){if(!Nh)throw new Error("please take full snapshot after start recording");Ah(e)},Fh.mirror=Vh,(Dh=Lh||(Lh={}))[Dh.NotStarted=0]="NotStarted",Dh[Dh.Running=1]="Running",Dh[Dh.Stopped=2]="Stopped",Fh.addCustomEvent,Fh.freezePage,Fh.takeFullSnapshot;var zh={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Hh={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},qh={};function Uh(e){if(qh[e])return qh[e];var t=globalThis[e],n=t.prototype,r=e in zh?zh[e]:void 0,i=Boolean(r&&r.every(function(e){var t,r;return Boolean(null==(r=null==(t=Object.getOwnPropertyDescriptor(n,e))?void 0:t.get)?void 0:r.toString().includes("[native code]"))})),a=e in Hh?Hh[e]:void 0,o=Boolean(a&&a.every(function(e){var t;return"function"===typeof n[e]&&(null==(t=n[e])?void 0:t.toString().includes("[native code]"))}));if(i&&o&&!globalThis.Zone)return qh[e]=t.prototype,t.prototype;try{var s=document.createElement("iframe");document.body.appendChild(s);var l=s.contentWindow;if(!l)return t.prototype;var u=l[e].prototype;return document.body.removeChild(s),u?qh[e]=u:n}catch(HS){return n}}var Bh={};function Wh(e,t,n){var r,i=e+"."+String(n);if(Bh[i])return Bh[i].call(t);var a=Uh(e),o=null==(r=Object.getOwnPropertyDescriptor(a,n))?void 0:r.get;return o?(Bh[i]=o,o.call(t)):t[n]}var Kh={};function $h(e,t,n){var r=e+"."+String(n);if(Kh[r])return Kh[r].bind(t);var i=Uh(e)[n];return"function"!==typeof i?t[n]:(Kh[r]=i,i.bind(t))}var Gh={childNodes:function(e){return Wh("Node",e,"childNodes")},parentNode:function(e){return Wh("Node",e,"parentNode")},parentElement:function(e){return Wh("Node",e,"parentElement")},textContent:function(e){return Wh("Node",e,"textContent")},contains:function(e,t){return $h("Node",e,"contains")(t)},getRootNode:function(e){return $h("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?Wh("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?Wh("Element",e,"shadowRoot"):null},querySelector:function(e,t){return Wh("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return Wh("Element",e,"querySelectorAll")(t)},mutationObserver:function(){return Uh("MutationObserver").constructor},patch:function(e,t,n){try{if(!(t in e))return function(){};var r=e[t],i=n(r);return"function"===typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,function(){e[t]=r}}catch(HS){return function(){}}}};function Yh(e,t,n){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return Yh(Gh.parentNode(e),t);for(var r=e.classList.length;r--;){var i=e.classList[r];if(t.test(i))return!0}return Yh(Gh.parentNode(e),t)}function Qh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Jh(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return Or(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var Xh={exports:{}},Zh=String,ef=function(){return{isColorSupported:!1,reset:Zh,bold:Zh,dim:Zh,italic:Zh,underline:Zh,inverse:Zh,hidden:Zh,strikethrough:Zh,black:Zh,red:Zh,green:Zh,yellow:Zh,blue:Zh,magenta:Zh,cyan:Zh,white:Zh,gray:Zh,bgBlack:Zh,bgRed:Zh,bgGreen:Zh,bgYellow:Zh,bgBlue:Zh,bgMagenta:Zh,bgCyan:Zh,bgWhite:Zh}};Xh.exports=ef(),Xh.exports.createColors=ef;var tf=Xh.exports,nf=Jh(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),rf=tf,af=nf,of=function(e){function t(n,r,i,a,o,s){var l;return(l=e.call(this,n)||this).name="CssSyntaxError",l.reason=n,o&&(l.file=o),a&&(l.source=a),s&&(l.plugin=s),"undefined"!==typeof r&&"undefined"!==typeof i&&("number"===typeof r?(l.line=r,l.column=i):(l.line=r.line,l.column=r.column,l.endLine=i.line,l.endColumn=i.column)),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(l,t),l}Ir(t,e);var n=t.prototype;return n.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>","undefined"!==typeof this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},n.showSourceCode=function(e){var t=this;if(!this.source)return"";var n=this.source;null==e&&(e=rf.isColorSupported),af&&e&&(n=af(n));var r,i,a=n.split(/\r?\n/),o=Math.max(this.line-3,0),s=Math.min(this.line+2,a.length),l=String(s).length;if(e){var u=rf.createColors(!0),c=u.bold,d=u.gray,p=u.red;r=function(e){return c(p(e))},i=function(e){return d(e)}}else r=i=function(e){return e};return a.slice(o,s).map(function(e,n){var a=o+1+n,s=" "+(" "+a).slice(-l)+" | ";if(a===t.line){var u=i(s.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return r(">")+i(s)+e+"\n "+u+r("^")}return" "+i(s)+e}).join("\n")},n.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(Nr(Error)),sf=of;of.default=of;var lf={};lf.isClean=Symbol("isClean"),lf.my=Symbol("my");var uf={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};var cf=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if("undefined"!==typeof e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{var i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}},t.beforeAfter=function(e,t){var n;n="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 r=e.parent,i=0;r&&"root"!==r.type;)i+=1,r=r.parent;if(n.includes("\n")){var a=this.raw(e,null,"indent");if(a.length)for(var o=0;o<i;o++)n+=a}return n},t.block=function(e,t){var n,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(n),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 n=this.raw(e,"semicolon"),r=0;r<e.nodes.length;r++){var i=e.nodes[r],a=this.raw(i,"before");a&&this.builder(a),this.stringify(i,t!==r||n)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)},t.decl=function(e,t){var n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,n){var r;if(n||(n=t),t&&"undefined"!==typeof(r=e.raws[t]))return r;var i=e.parent;if("before"===n){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return uf[n];var a=e.root();if(a.rawCache||(a.rawCache={}),"undefined"!==typeof a.rawCache[n])return a.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);var o,s="raw"+((o=n)[0].toUpperCase()+o.slice(1));return this[s]?r=this[s](a,e):a.walk(function(e){if("undefined"!==typeof(r=e.raws[t]))return!1}),"undefined"===typeof r&&(r=uf[n]),a.rawCache[n]=r,r},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&"undefined"!==typeof e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var n;return e.walkComments(function(e){if("undefined"!==typeof e.raws.before)return(n=e.raws.before).includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),"undefined"===typeof n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n},t.rawBeforeDecl=function(e,t){var n;return e.walkDecls(function(e){if("undefined"!==typeof e.raws.before)return(n=e.raws.before).includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),"undefined"===typeof n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&"undefined"!==typeof(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(n){if(n.nodes&&(n.parent!==e||e.first!==n)&&"undefined"!==typeof n.raws.before)return(t=n.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if("undefined"!==typeof e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&"undefined"!==typeof(t=e.raws.after))return!1}),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk(function(n){var r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&"undefined"!==typeof n.raws.before){var i=n.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/\S/g,""),!1}}),t);var t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&"undefined"!==typeof(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n},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}(),df=cf;cf.default=cf;var pf=df;function hf(e,t){new pf(t).stringify(e)}var ff=hf;hf.default=hf;var mf=lf.isClean,gf=lf.my,vf=sf,yf=df,bf=ff;function wf(e,t){var n=new e.constructor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&"proxyCache"!==r){var i=e[r],a="undefined"===typeof i?"undefined":Pr(i);"parent"===r&&"object"===a?t&&(n[r]=t):"source"===r?n[r]=i:Array.isArray(i)?n[r]=i.map(function(e){return wf(e,n)}):("object"===a&&null!==i&&(i=wf(i)),n[r]=i)}return n}var kf=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[mf]=!1,this[gf]=!0,e)if("nodes"===t){this.nodes=[];for(var n,r=Lr(e[t]);!(n=r()).done;){var i=n.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=wf(this);for(var n in e)t[n]=e[n];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 n=this.rangeBy(t),r=n.end,i=n.start;return this.source.input.error(e,{column:i.column,line:i.line},{column:r.column,line:r.line},t)}return new vf(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,n){return e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[mf]){this[mf]=!1;for(var e=this;e=e.parent;)e[mf]=!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 n=this.source.start;if(e.index)n=this.positionInside(e.index,t);
2else if(e.word){var r=(t=this.toString()).indexOf(e.word);-1!==r&&(n=this.positionInside(r,t))}return n},t.positionInside=function(e,t){for(var n=t||this.toString(),r=this.source.start.column,i=this.source.start.line,a=0;a<e;a++)"\n"===n[a]?(r=1,i+=1):r+=1;return{column:r,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},n=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 r=this.toString(),i=r.indexOf(e.word);-1!==i&&(t=this.positionInside(i,r),n=this.positionInside(i+e.word.length,r))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:"number"===typeof e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<t.line||n.line===t.line&&n.column<=t.column)&&(n={column:t.column+1,line:t.line}),{end:n,start:t}},t.raw=function(e,t){return(new yf).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),n=0;n<e;n++)t[n]=arguments[n];if(this.parent){for(var r,i=this,a=!1,o=Lr(t);!(r=o()).done;){var s=r.value;s===this?a=!0:a?(this.parent.insertAfter(i,s),i=s):this.parent.insertBefore(i,s)}a||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 n={},r=null==t;t=t||new Map;var i=0;for(var a in this)if(Object.prototype.hasOwnProperty.call(this,a)&&"parent"!==a&&"proxyCache"!==a){var o=this[a];if(Array.isArray(o))n[a]=o.map(function(e){return"object"===("undefined"===typeof e?"undefined":Pr(e))&&e.toJSON?e.toJSON(null,t):e});else if("object"===("undefined"===typeof o?"undefined":Pr(o))&&o.toJSON)n[a]=o.toJSON(null,t);else if("source"===a){var s=t.get(o.input);null==s&&(s=i,t.set(o.input,i),i++),n[a]={end:o.end,inputId:s,start:o.start}}else n[a]=o}return r&&(n.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),n},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=bf),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,n){var r={node:this};for(var i in n)r[i]=n[i];return e.warn(t,r)},Tr(e,[{key:"proxyOf",get:function(){return this}}]),e}(),_f=kf;kf.default=kf;var Sf=function(e){function t(t){var n;return t&&"undefined"!==typeof t.value&&"string"!==typeof t.value&&(t=Er({},t,{value:String(t.value)})),(n=e.call(this,t)||this).type="decl",n}return Ir(t,e),Tr(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(_f),xf=Sf;Sf.default=Sf;var Cf=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},Tf=nf.SourceMapConsumer,Ef=nf.SourceMapGenerator,Af=nf.existsSync,If=nf.readFileSync,Of=nf.dirname,jf=nf.join;var Rf=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Of(this.mapFile)),r&&(this.text=r)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new Tf(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 n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===("undefined"===typeof e?"undefined":Pr(e))&&("string"===typeof e.mappings||"string"===typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);
2if(t){var n=e.lastIndexOf(t.pop()),r=e.indexOf("*/",n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}},t.loadFile=function(e){if(this.root=Of(e),Af(e))return this.mapFile=e,If(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(Or(t,Tf))return Ef.fromSourceMap(t).toString();if(Or(t,Ef))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var n=t(e);if(n){var r=this.loadFile(n);if(!r)throw new Error("Unable to load previous source map: "+n.toString());return r}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var i=this.annotation;return e&&(i=jf(Of(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}(),Pf=Rf;Rf.default=Rf;var Nf=nf.SourceMapConsumer,Mf=nf.SourceMapGenerator,Lf=nf.fileURLToPath,Df=nf.pathToFileURL,Vf=nf.isAbsolute,Ff=nf.resolve,zf=Cf,Hf=nf,qf=sf,Uf=Pf,Bf=Symbol("fromOffsetCac
2he"),Wf=Boolean(Nf&&Mf),Kf=Boolean(Ff&&Vf),$f=function(){function e(e,t){if(void 0===t&&(t={}),null===e||"undefined"===typeof e||"object"===("undefined"===typeof e?"undefined":Pr(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Kf||/^\w+:\/\//.test(t.from)||Vf(t.from)?this.file=t.from:this.file=Ff(t.from)),Kf&&Wf){var n=new Uf(this.css,t);if(n.text){this.map=n;var r=n.consumer().file;!this.file&&r&&(this.file=this.mapResolve(r))}}this.file||(this.id="<input css "+zf(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,n,r){var i,a,o;if(void 0===r&&(r={}),t&&"object"===("undefined"===typeof t?"undefined":Pr(t))){var s=t,l=n;if("number"===typeof s.offset){var u=this.fromOffset(s.offset);t=u.line,n=u.col}else t=s.line,n=s.column;if("number"===typeof l.offset){var c=this.fromOffset(l.offset);a=c.line,o=c.col}else a=l.line,o=l.column}else if(!n){var d=this.fromOffset(t);t=d.line,n=d.col}var p=this.origin(t,n,a,o);return(i=p?new qf(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,r.plugin):new qf(e,void 0===a?t:{column:n,line:t},void 0===a?n:{column:o,line:a},this.css,this.file,r.plugin)).input={column:n,endColumn:o,endLine:a,line:t,source:this.css},this.file&&(Df&&(i.input.url=Df(this.file).toString()),i.input.file=this.file),i},t.fromOffset=function(e){var t;if(this[Bf])t=this[Bf];else{var n=this.css.split("\n");t=new Array(n.length);for(var r=0,i=0,a=n.length;i<a;i++)t[i]=r,r+=n[i].length+1;this[Bf]=t}var o=0;if(e>=t[t.length-1])o=t.length-1;else for(var s,l=t.length-2;o<l;)if(e<t[s=o+(l-o>>1)])l=s-1;else{if(!(e>=t[s+1])){o=s;break}o=s+1}return{col:e-t[o]+1,line:o+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:Ff(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,n,r){if(!this.map)return!1;var i,a,o=this.map.consumer(),s=o.originalPositionFor({column:t,line:e});if(!s.source)return!1;"number"===typeof n&&(i=o.originalPositionFor({column:r,line:n})),a=Vf(s.source)?Df(s.source):new URL(s.source,this.map.consumer().sourceRoot||Df(this.map.mapFile));var l={column:s.column,endColumn:i&&i.column,endLine:i&&i.line,line:s.line,url:a.toString()};if("file:"===a.protocol){if(!Lf)throw new Error("file: protocol is not available in this PostCSS build");l.file=Lf(a)}var u=o.sourceContentFor(s.source);return u&&(l.source=u),l},t.toJSON=function(){for(var e={},t=0,n=["hasBOM","css","file","id"];t<n.length;t++){var r=n[t];null!=this[r]&&(e[r]=this[r])}return this.map&&(e.map=Er({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},Tr(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),Gf=$f;$f.default=$f,Hf&&Hf.registerInput&&Hf.registerInput($f);var Yf=nf.SourceMapConsumer,Qf=nf.SourceMapGenerator,Jf=nf.dirname,Xf=nf.relative,Zf=nf.resolve,em=nf.sep,tm=nf.pathToFileURL,nm=Gf,rm=Boolean(Yf&&Qf),im=Boolean(Jf&&Zf&&Xf&&em),am=function(){function e(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,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=Lr(this.previous());!(e=t()).done;){var n=e.value,r=this.toUrl(this.path(n.file)),i=n.root||Jf(n.file),a=void 0;!1===this.mapOpts.sourcesContent?(a=new Yf(n.text)).sourcesContent&&(a.sourcesContent=null):a=n.consumer(),this.map.applySourceMap(a,r,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(),im&&rm&&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=Qf.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Qf({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 Qf({file:this.outputFile(),ignoreInvalidMapping:!0});var t,n,r=1,i=1,a="<no source>",o={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(s,l,u){if(e.css+=s,l&&"end"!==u&&(o.generated.line=r,o.generated.column=i-1,l.source&&l.source.start?(o.source=e.sourcePath(l),o.original.line=l.source.start.line,o.original.column=l.source.start.column-1,e.map.addMapping(o)):(o.source=a,o.original.line=1,o.original.column=0,e.map.addMapping(o))),(t=s.match(/\n/g))?(r+=t.length,n=s.lastIndexOf("\n"),i=s.length-n):i+=s.length,l&&"start"!==u){var c=l.parent||{raws:{}};("decl"===l.type||"atrule"===l.type&&!l.nodes)&&l===c.last&&!c.raws.semicolon||(l.source&&l.source.end?(o.source=e.sourcePath(l),o.original.line=l.source.end.line,o.original.column=l.source.end.column-1,o.generated.line=r,o.generated.column=i-2,e.map.addMapping(o)):(o.source=a,o.original.line=1,o.original.column=0,o.generated.line=r,o.generated.column=i-1,e.map.addMapping(o)))}})},t.isAnnotation=function(){return!!this.isInline()||("undefined"!==typeof this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if("undefined"!==typeof this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return("undefined"===typeof e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return"undefined"!==typeof this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return"undefined"!==typeof this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var n=this.opts.to?Jf(this.opts.to):".";"string"===typeof this.mapOpts.annotation&&(n=Jf(Zf(n,this.mapOpts.annotation)));var r=Xf(n,e);return this.memoizedPaths.set(e,r),r},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 n=t.source.input.map;e.previousMaps.includes(n)||e.previousMaps.push(n)}});else{var t=new nm(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(n){if(n.source){var r=n.source.input.from;if(r&&!t[r]){t[r]=!0;var i=e.usesFileUrls?e.toFileUrl(r):e.toUrl(e.path(r));e.map.setSourceContent(i,n.source.input.css)}}});else if(this.css){var n=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(n,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(tm){var n=tm(e).toString();return this.memoizedFileURLs.set(e,n),n}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;"\\"===em&&(e=e.replace(/\\/g,"/"));var n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n},e}(),om=function(e){function t(t){var n;return(n=e.call(this,t)||this).type="comment",n}return Ir(t,e),t}(_f),sm=om;om.default=om;var lm,um,cm,dm,pm=lf.isClean,hm=lf.my,fm=xf,mm=sm;
2function gm(e){return e.map(function(e){return e.nodes&&(e.nodes=gm(e.nodes)),delete e.source,e})}function vm(e){if(e[pm]=!1,e.proxyOf.nodes)for(var t,n=Lr(e.proxyOf.nodes);!(t=n()).done;){vm(t.value)}}var ym=function(e){function t(){return e.apply(this,arguments)||this}Ir(t,e);var n=t.prototype;return n.append=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r,i=Lr(t);!(r=i()).done;)for(var a,o=r.value,s=Lr(this.normalize(o,this.last));!(a=s()).done;){var l=a.value;this.proxyOf.nodes.push(l)}return this.markDirty(),this},n.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var n,r=Lr(this.nodes);!(n=r()).done;){n.value.cleanRaws(t)}},n.each=function(e){if(this.proxyOf.nodes){for(var t,n,r=this.getIterator();this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],!1!==(n=e(this.proxyOf.nodes[t],t)));)this.indexes[r]+=1;return delete this.indexes[r],n}},n.every=function(e){return this.nodes.every(e)},n.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},n.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"===typeof t&&t.startsWith("walk")?function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a;return(a=e)[t].apply(a,[].concat(r.map(function(e){return"function"===typeof e?function(t,n){return e(t.toProxy(),n)}:e})))}:"every"===t||"some"===t?function(n){return e[t](function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return n.apply(void 0,[].concat([e.toProxy()],r))})}:"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,n){return e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},n.index=function(e){return"number"===typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},n.insertAfter=function(e,t){var n,r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(var a,o=Lr(i);!(a=o()).done;){var s=a.value;this.proxyOf.nodes.splice(r+1,0,s)}for(var l in this.indexes)r<(n=this.indexes[l])&&(this.indexes[l]=n+i.length);return this.markDirty(),this},n.insertBefore=function(e,t){var n,r=this.index(e),i=0===r&&"prepend",a=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(var o,s=Lr(a);!(o=s()).done;){var l=o.value;this.proxyOf.nodes.splice(r,0,l)}for(var u in this.indexes)r<=(n=this.indexes[u])&&(this.indexes[u]=n+a.length);return this.markDirty(),this},n.normalize=function(e,n){var r=this;if("string"===typeof e)e=gm(lm(e).nodes);else if("undefined"===typeof e)e=[];else if(Array.isArray(e))for(var i,a=Lr(e=e.slice(0));!(i=a()).done;){var o=i.value;o.parent&&o.parent.removeChild(o,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var s,l=Lr(e=e.nodes.slice(0));!(s=l()).done;){var u=s.value;u.parent&&u.parent.removeChild(u,"ignore")}else if(e.type)e=[e];else if(e.prop){if("undefined"===typeof e.value)throw new Error("Value field is missed in node creation");"string"!==typeof e.value&&(e.value=String(e.value)),e=[new fm(e)]}else if(e.selector)e=[new um(e)];else if(e.name)e=[new cm(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new mm(e)]}var c=e.map(function(e){return e[hm]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[pm]&&vm(e),"undefined"===typeof e.raws.before&&n&&"undefined"!==typeof n.raws.before&&(e.raws.before=n.raws.before.replace(/\S/g,"")),e.parent=r.proxyOf,e});return c},n.prepend=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r,i=Lr(t=t.reverse());!(r=i()).done;){for(var a,o=r.value,s=this.normalize(o,this.first,"prepend").reverse(),l=Lr(s);!(a=l()).done;){var u=a.value;this.proxyOf.nodes.unshift(u)}for(var c in this.indexes)this.indexes[c]=this.indexes[c]+s.length}return this.markDirty(),this},n.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},n.removeAll=function(){for(var e,t=Lr(this.proxyOf.nodes);!(e=t()).done;){e.value.parent=void 0}return this.proxyOf.nodes=[],this.markDirty(),this},n.removeChild=function(e){var t;for(var n in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[n])>=e&&(this.indexes[n]=t-1);return this.markDirty(),this},n.replaceValues=function(e,t,n){return n||(n=t,t={}),this.walkDecls(function(r){t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))}),this.markDirty(),this},n.some=function(e){return this.nodes.some(e)},n.walk=function(e){return this.each(function(t,n){var r;try{r=e(t,n)}catch(HS){throw t.addToError(HS)}return!1!==r&&t.walk&&(r=t.walk(e)),r})},n.walkAtRules=function(e,t){return t?Or(e,RegExp)?this.walk(function(n,r){if("atrule"===n.type&&e.test(n.name))return t(n,r)}):this.walk(function(n,r){if("atrule"===n.type&&n.name===e)return t(n,r)}):(t=e,this.walk(function(e,n){if("atrule"===e.type)return t(e,n)}))},n.walkComments=function(e){return this.walk(function(t,n){if("comment"===t.type)return e(t,n)})},n.walkDecls=function(e,t){return t?Or(e,RegExp)?this.walk(function(n,r){if("decl"===n.type&&e.test(n.prop))return t(n,r)}):this.walk(function(n,r){if("decl"===n.type&&n.prop===e)return t(n,r)}):(t=e,this.walk(function(e,n){if("decl"===e.type)return t(e,n)}))},n.walkRules=function(e,t){return t?Or(e,RegExp)?this.walk(function(n,r){if("rule"===n.type&&e.test(n.selector))return t(n,r)}):this.walk(function(n,r){if("rule"===n.type&&n.selector===e)return t(n,r)}):(t=e,this.walk(function(e,n){if("rule"===e.type)return t(e,n)}))},Tr(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}(_f);ym.registerParse=function(e){lm=e},ym.registerRule=function(e){um=e},ym.registerAtRule=function(e){cm=e},ym.registerRoot=function(e){dm=e};var bm=ym;ym.default=ym,ym.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,cm.prototype):"rule"===e.type?Object.setPrototypeOf(e,um.prototype):"decl"===e.type?Object.setPrototypeOf(e,fm.prototype):"comment"===e.type?Object.setPrototypeOf(e,mm.prototype):"root"===e.type&&Object.setPrototypeOf(e,dm.prototype),e[hm]=!0,e.nodes&&e.nodes.forEac
2h(function(e){ym.rebuild(e)})};var wm,km,_m=function(e){function t(t){var n;return(n=e.call(this,Er({type:"document"},t))||this).nodes||(n.nodes=[]),n}return Ir(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new wm(new km,this,e).stringify()},t}(bm);_m.registerLazyResult=function(e){wm=e},_m.registerProcessor=function(e){km=e};var Sm=_m;_m.default=_m;var xm=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var n=t.node.rangeBy(t);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(var r in t)this[r]=t[r]}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}(),Cm=xm;xm.default=xm;var Tm=Cm,Em=function(){function e(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,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 n=new Tm(e,t);return this.messages.push(n),n},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},Tr(e,[{key:"content",get:function(){return this.css}}]),e}(),Am=Em;Em.default=Em;var Im="'".charCodeAt(0),Om='"'.charCodeAt(0),jm="\\".charCodeAt(0),Rm="/".charCodeAt(0),Pm="\n".charCodeAt(0),Nm=" ".charCodeAt(0),Mm="\f".charCodeAt(0),Lm="\t".charCodeAt(0),Dm="\r".charCodeAt(0),Vm="[".charCodeAt(0),Fm="]".charCodeAt(0),zm="(".charCodeAt(0),Hm=")".charCodeAt(0),qm="{".charCodeAt(0),Um="}".charCodeAt(0),Bm=";".charCodeAt(0),Wm="*".charCodeAt(0),Km=":".charCodeAt(0),$m="@".charCodeAt(0),Gm=/[\t\n\f\r "#'()/;[\\\]{}]/g,Ym=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Qm=/.[\r\n"'(/\\]/,Jm=/[\da-f]/i,Xm=bm,Zm=function(e){function t(t){var n;return(n=e.call(this,t)||this).type="atrule",n}Ir(t,e);var n=t.prototype;return n.append=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.append).call.apply(i,[].concat([this],n))},n.prepend=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i;return this.proxyOf.nodes||(this.nodes=[]),(i=e.prototype.prepend).call.apply(i,[].concat([this],n))},t}(Xm),eg=Zm;Zm.default=Zm,Xm.registerAtRule(Zm);var tg,ng,rg=bm,ig=function(e){function t(t){var n;return(n=e.call(this,t)||this).type="root",n.nodes||(n.nodes=[]),n}Ir(t,e);var n=t.prototype;return n.normalize=function(t,n,r){var i=e.prototype.normalize.call(this,t);if(n)if("prepend"===r)this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n)for(var a,o=Lr(i);!(a=o()).done;){a.value.raws.before=n.raws.before}return i},n.removeChild=function(t,n){var r=this.index(t);return!n&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),e.prototype.removeChild.call(this,t)},n.toResult=function(e){return void 0===e&&(e={}),new tg(new ng,this,e).stringify()},t}(rg);ig.registerLazyResult=function(e){tg=e},ig.registerProcessor=function(e){ng=e};var ag=ig;ig.default=ig,rg.registerRoot(ig);var og={comma:function(e){return og.split(e,[","],!0)},space:function(e){return og.split(e,[" ","\n","\t"])},split:function(e,t,n){for(var r,i=[],a="",o=!1,s=0,l=!1,u="",c=!1,d=Lr(e);!(r=d()).done;){var p=r.value;c?c=!1:"\\"===p?c=!0:l?p===u&&(l=!1):'"'===p||"'"===p?(l=!0,u=p):"("===p?s+=1:")"===p?s>0&&(s-=1):0===s&&t.includes(p)&&(o=!0),o?(""!==a&&i.push(a.trim()),a="",o=!1):a+=p}return(n||""!==a)&&i.push(a.trim()),i}},sg=og;og.default=og;var lg=bm,ug=sg,cg=function(e){function t(t){var n;return(n=e.call(this,t)||this).type="rule",n.nodes||(n.nodes=[]),n}return Ir(t,e),Tr(t,[{key:"selectors",get:function(){return ug.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}]),t}(lg),dg=cg;cg.default=cg,lg.registerRule(cg);var pg=xf,hg=function(e,t){void 0===t&&(t={});var n,r,i,a,o,s,l,u,c,d,p=e.css.valueOf(),h=t.ignoreErrors,f=p.length,m=0,g=[],v=[];function y(t){throw e.error("Unclosed "+t,m)}return{back:function(e){v.push(e)},endOfFile:function(){return 0===v.length&&m>=f},nextToken:function(e){if(v.length)return v.pop();if(!(m>=f)){var t=!!e&&e.ignoreUnclosed;
vendor: 7,026 bytes, line 2
2switch(n=p.charCodeAt(m)){case Pm:case Nm:case Lm:case Dm:case Mm:r=m;do{r+=1,n=p.charCodeAt(r)}while(n===Nm||n===Pm||n===Lm||n===Dm||n===Mm);d=["space",p.slice(m,r)],m=r-1;break;case Vm:case Fm:case qm:case Um:case Km:case Bm:case Hm:var b=String.fromCharCode(n);d=[b,b,m];break;case zm:if(u=g.length?g.pop()[1]:"",c=p.charCodeAt(m+1),"url"===u&&c!==Im&&c!==Om&&c!==Nm&&c!==Pm&&c!==Lm&&c!==Mm&&c!==Dm){r=m;do{if(s=!1,-1===(r=p.indexOf(")",r+1))){if(h||t){r=m;break}y("bracket")}for(l=r;p.charCodeAt(l-1)===jm;)l-=1,s=!s}while(s);d=["brackets",p.slice(m,r+1),m,r],m=r}else r=p.indexOf(")",m+1),a=p.slice(m,r+1),-1===r||Qm.test(a)?d=["(","(",m]:(d=["brackets",a,m,r],m=r);break;case Im:case Om:i=n===Im?"'":'"',r=m;do{if(s=!1,-1===(r=p.indexOf(i,r+1))){if(h||t){r=m+1;break}y("string")}for(l=r;p.charCodeAt(l-1)===jm;)l-=1,s=!s}while(s);d=["string",p.slice(m,r+1),m,r],m=r;break;case $m:Gm.lastIndex=m+1,Gm.test(p),r=0===Gm.lastIndex?p.length-1:Gm.lastIndex-2,d=["at-word",p.slice(m,r+1),m,r],m=r;break;case jm:for(r=m,o=!0;p.charCodeAt(r+1)===jm;)r+=1,o=!o;if(n=p.charCodeAt(r+1),o&&n!==Rm&&n!==Nm&&n!==Pm&&n!==Lm&&n!==Dm&&n!==Mm&&(r+=1,Jm.test(p.charAt(r)))){for(;Jm.test(p.charAt(r+1));)r+=1;p.charCodeAt(r+1)===Nm&&(r+=1)}d=["word",p.slice(m,r+1),m,r],m=r;break;default:n===Rm&&p.charCodeAt(m+1)===Wm?(0===(r=p.indexOf("*/",m+2)+1)&&(h||t?r=p.length:y("comment")),d=["comment",p.slice(m,r+1),m,r],m=r):(Ym.lastIndex=m+1,Ym.test(p),r=0===Ym.lastIndex?p.length-1:Ym.lastIndex-2,d=["word",p.slice(m,r+1),m,r],g.push(d),m=r)}return m++,d}},position:function(){return m}}},fg=sm,mg=eg,gg=ag,vg=dg,yg={empty:!0,space:!0};var bg=bm,wg=function(){function e(e){this.input=e,this.root=new gg,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,n,r,i=new mg;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);for(var a=!1,o=!1,s=[],l=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){o=!0;break}if("}"===t){if(s.length>0){for(n=s[r=s.length-1];n&&"space"===n[0];)n=s[--r];n&&(i.source.end=this.getPosition(n[3]||n[2]),i.source.end.offset++)}this.end(e);break}s.push(e)}else s.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(i.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(i,"params",s),a&&(e=s[s.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=""),o&&(i.nodes=[],this.current=i)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var n,r=0,i=t-1;i>=0&&("space"===(n=e[i])[0]||2!==(r+=1));i--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}},t.colon=function(e){for(var t,n,r,i,a=0,o=Lr(e.entries());!(i=o()).done;){var s=i.value,l=s[0];if("("===(n=(t=s[1])[0])&&(a+=1),")"===n&&(a-=1),0===a&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return l}this.doubleColon(t)}r=t}return!1},t.comment=function(e){var t=new fg;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{var r=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}},t.createTokenizer=function(){this.tokenizer=hg(this.input)},t.decl=function(e,t){var n=new pg;this.init(n,e[0][2]);var r,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||function(e){for(var t=e.length-1;t>=0;t--){var n=e[t],r=n[3]||n[2];if(r)return r}}(e)),n.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){var a=e[0][0];if(":"===a||"space"===a||"comment"===a)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(":"===(r=e.shift())[0]){n.raws.between+=r[1];break}"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]),n.raws.between+=r[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));for(var o,s=[];e.length&&("space"===(o=e[0][0])||"comment"===o);)s.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if("!important"===(r=e[l])[1].toLowerCase()){n.important=!0;var u=this.stringFrom(e,l);" !important"!==(u=this.spacesFromEnd(e)+u)&&(n.raws.important=u);break}if("important"===r[1].toLowerCase()){for(var c=e.slice(0),d="",p=l;p>0;p--){var h=c[p][0];if(0===d.trim().indexOf("!")&&"space"!==h)break;d=c.pop()[1]+d}0===d.trim().indexOf("!")&&(n.important=!0,n.raws.important=d,e=c)}if("space"!==r[0]&&"comment"!==r[0])break}var f=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});f&&(n.raws.between+=s.map(function(e){return e[1]}).join(""),s=[]),this.raw(n,"value",s.concat(e),t),n.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 vg;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,n=null,r=!1,i=null,a=[],o=e[1].startsWith("--"),s=[],l=e;l;){if(n=l[0],s.push(l),"("===n||"["===n)i||(i=l),a.push("("===n?")":"]");else if(o&&r&&"{"===n)i||(i=l),a.push("}");else if(0===a.length){if(";"===n){if(r)return void this.decl(s,o);break}if("{"===n)return void this.rule(s);if("}"===n){this.tokenizer.back(s.pop()),t=!0;break}":"===n&&(r=!0)}else n===a[a.length-1]&&(a.pop(),0===a.length&&(i=null));l=this.tokenizer.nextToken()}
2if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&r){if(!o)for(;s.length&&("space"===(l=s[s.length-1][0])||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,o)}else this.unknownWord(s)},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,n,r){for(var i,a,o,s,l=n.length,u="",c=!0,d=0;d<l;d+=1)"space"!==(a=(i=n[d])[0])||d!==l-1||r?"comment"===a?(s=n[d-1]?n[d-1][0]:"empty",o=n[d+1]?n[d+1][0]:"empty",yg[s]||yg[o]||","===u.slice(-1)?c=!1:u+=i[1]):u+=i[1]:c=!1;if(!c){var p=n.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 vg;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,n="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)n=e.pop()[1]+n;return n},t.spacesAndCommentsFromStart=function(e){for(var t,n="";e.length&&("space"===(t=e[0][0])||"comment"===t);)n+=e.shift()[1];return n},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 n="",r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n},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}(),kg=Gf;function _g(e,t){var n=new kg(e,t),r=new wg(n);try{r.parse()}catch(HS){throw HS}return r.root}var Sg=_g;_g.default=_g,bg.registerParse(_g);var xg=lf.isClean,Cg=lf.my,Tg=am,Eg=ff,Ag=bm,Ig=Sm,Og=Am,jg=Sg,Rg=ag,Pg={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Ng={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},Mg={Once:!0,postcssPlugin:!0,prepare:!0};function Lg(e){return"object"===("undefined"===typeof e?"undefined":Pr(e))&&"function"===typeof e.then}function Dg(e){var t=!1,n=Pg[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,0,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,0,n+"Exit"]:[n,n+"Exit"]}function Vg(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Dg(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function Fg(e){return e[xg]=!1,e.nodes&&e.nodes.forEach(function(e){return Fg(e)}),e}var zg={},Hg=function(){function e(t,n,r){var i,a=this;if(this.stringified=!1,this.processed=!1,"object"!==("undefined"===typeof n?"undefined":Pr(n))||null===n||"root"!==n.type&&"document"!==n.type)if(Or(n,e)||Or(n,Og))i=Fg(n.root),n.map&&("undefined"===typeof r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{var o=jg;r.syntax&&(o=r.syntax.parse),r.parser&&(o=r.parser),o.parse&&(o=o.parse);try{i=o(n,r)}catch(s){this.processed=!0,this.error=s}i&&!i[Cg]&&Ag.rebuild(i)}else i=Fg(n);this.result=new Og(t,i,r),this.helpers=Er({},zg,{postcss:zg,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===("undefined"===typeof e?"undefined":Pr(e))&&e.prepare?Er({},e,e.prepare(a.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 n=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(n.postcssVersion);}else e.plugin=n.postcssPlugin,e.setMessage()}catch(qS){console&&console.error&&console.error(qS)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,n=function(t,n,r){e.listeners[n]||(e.listeners[n]=[]),e.listeners[n].push([t,r])},r=Lr(this.plugins);!(t=r()).done;){var i=t.value;if("object"===("undefined"===typeof i?"undefined":Pr(i)))for(var a in i){if(!Ng[a]&&/^[A-Z]/.test(a))throw new Error("Unknown event "+a+" in "+i.postcssPlugin+". Try to update PostCSS ("+this.processor.ver
2sion+" now).");if(!Mg[a])if("object"===Pr(i[a]))for(var o in i[a])n(i,"*"===o?a:a+"-"+o.toLowerCase(),i[a][o]);else"function"===typeof i[a]&&n(i,a,i[a])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return xr(function(){var t,n,r,i,a,o,s,l,u,c,d,p;return Dr(this,function(h){switch(h.label){case 0:e.plugin=0,t=0,h.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(n=e.plugins[t],!Lg(r=e.runOnRoot(n)))return[3,5];h.label=2;case 2:return h.trys.push([2,4,,5]),[4,r];case 3:return h.sent(),[3,5];case 4:throw i=h.sent(),e.handleError(i);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];a=e.result.root,h.label=7;case 7:if(a[xg])return[3,14];a[xg]=!0,o=[Vg(a)],h.label=8;case 8:if(!(o.length>0))return[3,13];if(!Lg(s=e.visitTick(o)))return[3,12];h.label=9;case 9:return h.trys.push([9,11,,12]),[4,s];case 10:return h.sent(),[3,12];case 11:throw l=h.sent(),u=o[o.length-1].node,e.handleError(l,u);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];c=function(){var t,n,r,i,o;return Dr(this,function(s){switch(s.label){case 0:t=p.value,n=t[0],r=t[1],e.result.lastPlugin=n,s.label=1;case 1:return s.trys.push([1,6,,7]),"document"!==a.type?[3,3]:(i=a.nodes.map(function(t){return r(t,e.helpers)}),[4,Promise.all(i)]);case 2:return s.sent(),[3,5];case 3:return[4,r(a,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw o=s.sent(),e.handleError(o);case 7:return[2]}})},d=Lr(e.listeners.OnceExit),h.label=15;case 15:return(p=d()).done?[3,18]:[5,Vr(c())];case 16:h.sent(),h.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===("undefined"===typeof e?"undefined":Pr(e))&&e.Once){if("document"===this.result.root.type){var n=this.result.root.nodes.map(function(n){return e.Once(n,t.helpers)});return Lg(n[0])?Promise.all(n):n}return e.Once(this.result.root,this.helpers)}if("function"===typeof e)return e(this.result.root,this.result)}catch(r){throw this.handleError(r)}},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=Eg;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var n=new Tg(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[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=Lr(this.plugins);!(e=t()).done;){var n=e.value;if(Lg(this.runOnRoot(n)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var r=this.result.root;!r[xg];)r[xg]=!0,this.walkSync(r);if(this.listeners.OnceExit)if("document"===r.type)for(var i,a=Lr(r.nodes);!(i=a()).done;){var o=i.value;this.visitSync(this.listeners.OnceExit,o)}else this.visitSync(this.listeners.OnceExit,r)}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 n,r=Lr(e);!(n=r()).done;){var i=n.value,a=i[0],o=i[1];this.result.lastPlugin=a;var s=void 0;try{s=o(t,this.helpers)}catch(HS){throw this.handleError(HS,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(Lg(s))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],n=t.node,r=t.visitors;if("root"===n.type||"document"===n.type||n.parent){if(r.length>0&&t.visitorIndex<r.length){var i=r[t.visitorIndex],a=i[0],o=i[1];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=a;try{return o(n.toProxy(),this.helpers)}catch(HS){throw this.handleError(HS,n)}}if(0!==t.iterator){for(var s,l=t.iterator;s=n.nodes[n.indexes[l]];)if(n.indexes[l]+=1,!s[xg])return s[xg]=!0,void e.push(Vg(s));t.iterator=0,delete n.indexes[l]}for(var u=t.events;t.eventIndex<u.length;){var c=u[t.eventIndex];if(t.eventIndex+=1,0===c)return void(n.nodes&&n.nodes.length&&(n[xg]=!0,t.iterator=n.getIterator()));if(this.listeners[c])return void(t.visitors=this.listeners[c])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[xg]=!0;for(var n,r=Lr(Dg(e));!(n=r()).done;){var i=n.value;if(0===i)e.nodes&&e.each(function(e){e[xg]||t.walkSync(e)});else{var a=this.listeners[i];if(a&&this.visitSync(a,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()}
2,Tr(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}();Hg.registerPostcss=function(e){zg=e};var qg=Hg;Hg.default=Hg,Rg.registerLazyResult(Hg),Ig.registerLazyResult(Hg);var Ug=am,Bg=ff,Wg=Sg,Kg=Am,$g=function(){function e(e,t,n){var r;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;var i=Bg;this.result=new Kg(this._processor,r,this._opts),this.result.css=t;var a=this;Object.defineProperty(this.result,"root",{get:function(){return a.root}});var o=new Ug(i,r,this._opts,t);if(o.isMap()){var s=o.generate(),l=s[0],u=s[1];l&&(this.result.css=l),u&&(this.result.map=u)}else o.clearAnnotation(),this.result.css=o.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[]},Tr(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=Wg;try{e=t(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),Gg=$g;$g.default=$g;var Yg=Gg,Qg=qg,Jg=Sm,Xg=ag,Zg=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,n=[],r=Lr(e);!(t=r()).done;){var i=t.value;if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"===("undefined"===typeof i?"undefined":Pr(i))&&Array.isArray(i.plugins))n=n.concat(i.plugins);else if("object"===("undefined"===typeof i?"undefined":Pr(i))&&i.postcssPlugin)n.push(i);else if("function"===typeof i)n.push(i);else{if("object"!==("undefined"===typeof i?"undefined":Pr(i))||!i.parse&&!i.stringify)throw new Error(i+" is not a PostCSS plugin")}}return n},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new Qg(this,e,t):new Yg(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),ev=Zg;Zg.default=Zg,Xg.registerProcessor(Zg),Jg.registerProcessor(Zg);var tv=xf,nv=Pf,rv=sm,iv=eg,av=Gf,ov=ag,sv=dg;function lv(e,t){if(Array.isArray(e))return e.map(function(e){return lv(e)});var n=e.inputs,r=jr(e,["inputs"]);if(n){t=[];for(var i,a=Lr(n);!(i=a()).done;){var o=Er({},i.value,{__proto__:av.prototype});o.map&&(o.map=Er({},o.map,{__proto__:nv.prototype})),t.push(o)}}if(r.nodes&&(r.nodes=e.nodes.map(function(e){return lv(e,t)})),r.source){var s=r.source,l=s.inputId,u=jr(s,["inputId"]);r.source=u,null!=l&&(r.source.input=t[l])}if("root"===r.type)return new ov(r);if("decl"===r.type)return new tv(r);if("rule"===r.type)return new sv(r);if("comment"===r.type)return new rv(r);if("atrule"===r.type)return new iv(r);throw new Error("Unknown node type: "+e.type)}var uv=lv;lv.default=lv;var cv=sf,dv=xf,pv=qg,hv=bm,fv=ev,mv=ff,gv=uv,vv=Sm,yv=Cm,bv=sm,wv=eg,kv=Am,_v=Gf,Sv=Sg,xv=sg,Cv=dg,Tv=ag,Ev=_f;function Av(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new fv(t)}Av.plugin=function(e,t){var n,r=!1;function i(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:"443",FAST_REFRESH:!0,REACT_APP_BACKEND_URL:"https://habalitv.com",REACT_APP_SIGNIN_URL:"https://tv.habalitv.com/",REACT_APP_APP_URL:"https://tv.habalitv.com/",REACT_APP_SITE_URL:"https://habalitv.com",REACT_APP_MIXPANEL_TOKEN:"cc37bb4a9d82b6cfbd956769c44a3df1",REACT_APP_GA4_MEASUREMENT_ID:"G-9M9TQW1NTV",REACT_APP_VAPID_PUBLIC_KEY:"BDddlaD__faf82DDfANBlp7HuzX4AE8vZGtTb4ZPDj28k5aq_DXgOcxNwlXuVAkbjxurKj0YAGh82OnuZm_bZCo",REACT_APP_GSC_VERIFICATION:"",REACT_APP_BING_VERIFICATION:""}.LANG&&{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:"443",FAST_REFRESH:!0,REACT_APP_BACKEND_URL:"https://habalitv.com",REACT_APP_SIGNIN_URL:"https://tv.habalitv.com/",REACT_APP_APP_URL:"https://tv.habalitv.com/",REACT_APP_SITE_URL:"https://habalitv.com",REACT_APP_MIXPANEL_TOKEN:"cc37bb4a9d82b6cfbd956769c44a3df1",REACT_APP_GA4_MEASUREMENT_ID:"G-9M9TQW1NTV",REACT_APP_VAPID_PUBLIC_KEY:"BDddlaD__faf82DDfANBlp7HuzX4AE8vZGtTb4ZPDj28k5aq_DXgOcxNwlXuVAkbjxurKj0YAGh82OnuZm_bZCo",REACT_APP_GSC_VERIFICATION:"",REACT_APP_BING_VERIFICATION:""}.LANG.startsWith("cn")&&console.warn(e+": \u91cc\u9762 postcss.plugin \u88ab\u5f03\u7528. \u8fc1\u79fb\u6307\u5357:\nhttps://www.w3ctech.com/topic/2226"));
2var o=t.apply(void 0,[].concat(i));return o.postcssPlugin=e,o.postcssVersion=(new fv).version,o}return Object.defineProperty(i,"postcss",{get:function(){return n||(n=i()),n}}),i.process=function(e,t,n){return Av([i(n)]).process(e,t)},i},Av.stringify=mv,Av.parse=Sv,Av.fromJSON=gv,Av.list=xv,Av.comment=function(e){return new bv(e)},Av.atRule=function(e){return new wv(e)},Av.decl=function(e){return new dv(e)},Av.rule=function(e){return new Cv(e)},Av.root=function(e){return new Tv(e)},Av.document=function(e){return new vv(e)},Av.CssSyntaxError=cv,Av.Declaration=dv,Av.Container=hv,Av.Processor=fv,Av.Document=vv,Av.Comment=bv,Av.Warning=yv,Av.AtRule=wv,Av.Result=kv,Av.Input=_v,Av.Rule=Cv,Av.Root=Tv,Av.Node=Ev,pv.registerPostcss(Av);var Iv=Av;Av.default=Av;var Ov=Qh(Iv);Ov.stringify,Ov.fromJSON,Ov.plugin,Ov.parse,Ov.list,Ov.document,Ov.comment,Ov.atRule,Ov.rule,Ov.decl,Ov.root,Ov.CssSyntaxError,Ov.Declaration,Ov.Container,Ov.Processor,Ov.Document,Ov.Comment,Ov.Warning,Ov.AtRule,Ov.Result,Ov.Input,Ov.Rule,Ov.Root,Ov.Node;var jv=Object.defineProperty,Rv=function(e,t,n){return function(e,t,n){return t in e?jv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==("undefined"===typeof t?"undefined":Pr(t))?t+"":t,n)};var Pv=function(){function e(e){Rv(this,"fileName"),Rv(this,"functionName"),Rv(this,"lineNumber"),Rv(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}(),Nv=/(^|@)\S+:\d+/,Mv=/^\s*at .*(\S+:\d+|\(native\))/m,Lv=/^(eval@)?(\[native code])?$/,Dv={parse:function(e){return e?"undefined"!==typeof e.stacktrace||"undefined"!==typeof e["opera#sourceloc"]?this.parseOpera(e):e.stack&&e.stack.match(Mv)?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(Mv)},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,"("),n=t.match(/ (\((.+):(\d+):(\d+)\)$)/),r=(t=n?t.replace(n[0],""):t).split(/\s+/).slice(1),i=this.extractLocation(n?n[1]:r.pop()),a=r.join(" ")||void 0,o=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new Pv({functionName:a,fileName:o,lineNumber:i[1],columnNumber:i[2]})},this)},parseFFOrSafari:function(e){return e.stack.split("\n").filter(function(e){return!e.match(Lv)},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 Pv({functionName:e});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,n=e.match(t),r=n&&n[1]?n[1]:void 0,i=this.extractLocation(e.replace(t,""));return new Pv({functionName:r,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,n=e.message.split("\n"),r=[],i=2,a=n.length;i<a;i+=2){var o=t.exec(n[i]);o&&r.push(new Pv({fileName:o[2],lineNumber:parseFloat(o[1])}))}return r},parseOpera10:function(e){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,n=e.stacktrace.split("\n"),r=[],i=0,a=n.length;i<a;i+=2){var o=t.exec(n[i]);o&&r.push(new Pv({functionName:o[3]||void 0,fileName:o[2],lineNumber:parseFloat(o[1])}))}return r},parseOpera11:function(e){return e.stack.split("\n").filter(function(e){return!!e.match(Nv)&&!e.match(/^Error created at/)},this).map(function(e){var t=e.split("@"),n=this.extractLocation(t.pop()),r=(t.shift()||"").replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;return new Pv({functionName:r,fileName:n[0],lineNumber:n[1],columnNumber:n[2]})},this)}};function Vv(e){if(!e||!e.outerHTML)return"";for(var t="";e.parentElement;){var n=e.localName;if(!n)break;n=n.toLowerCase();var r=e.parentElement,i=[];if(r.children&&r.children.length>0)for(var a=0;a<r.children.length;a++){var o=r.children[a];o.localName&&o.localName.toLowerCase&&o.localName.toLowerCase()===n&&i.push(o)}i.length>1&&(n+=":eq("+i.indexOf(e)+")"),t=n+(t?">"+t:""),e=r}return t}function Fv(e){return"[object Object]"===Object.prototype.toString.call(e)}function zv(e,t){if(0===t)return!0;for(var n,r=Lr(Object.keys(e));!(n=r()).done;){var i=n.value;if(Fv(e[i])&&zv(e[i],t-1))return!0}return!1}function Hv(e,t){var n={numOfKeysLimit:50,depthOfLimit:4};Object.assign(n,t);var r=[],i=[];return JSON.stringify(e,function(e,t){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?i.splice(a,1/0,e):i.push(e),~r.indexOf(t)&&(t=r[0]===t?"[Cir
2cular ~]":"[Circular ~."+i.slice(0,r.indexOf(t)).join(".")+"]")}else r.push(t);if(null===t)return t;if(void 0===t)return"undefined";if(function(e){if(Fv(e)&&Object.keys(e).length>n.numOfKeysLimit)return!0;if("function"===typeof e)return!0;if(Fv(e)&&zv(e,n.depthOfLimit))return!0;return!1}(t))return function(e){var t=e.toString();n.stringLengthLimit&&t.length>n.stringLengthLimit&&(t=t.slice(0,n.stringLengthLimit)+"...");return t}(t);if("bigint"===("undefined"===typeof t?"undefined":Pr(t)))return t.toString()+"n";if(Or(t,Event)){var o={};for(var s in t){var l=t[s];Array.isArray(l)?o[s]=Vv(l.length?l[0]:null):o[s]=l}return o}return Or(t,Node)?Or(t,HTMLElement)?t?t.outerHTML:"":t.nodeName:Or(t,Error)?t.stack?t.stack+"\nEnd of stack for Error object":t.name+": "+t.message:t})}var qv={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 Uv(e,t,n){var r,i=n?Object.assign({},qv,n):qv,a=i.logger;if(!a)return function(){};r="string"===typeof a?t[a]:a;var o=0,s=!1,l=[];if(i.level.includes("error")){var u=function(t){var n=t.message,r=t.error,a=Dv.parse(r).map(function(e){return e.toString()}),o=[Hv(n,i.stringifyOptions)];e({level:"error",trace:a,payload:o})};t.addEventListener("error",u),l.push(function(){t.removeEventListener("error",u)});var c=function(t){var n,r;Or(t.reason,Error)?r=[Hv("Uncaught (in promise) "+(n=t.reason).name+": "+n.message,i.stringifyOptions)]:(n=new Error,r=[Hv("Uncaught (in promise)",i.stringifyOptions),Hv(t.reason,i.stringifyOptions)]);var a=Dv.parse(n).map(function(e){return e.toString()});e({level:"error",trace:a,payload:r})};t.addEventListener("unhandledrejection",c),l.push(function(){t.removeEventListener("unhandledrejection",c)})}for(var d,p=Lr(i.level);!(d=p()).done;){var h=d.value;l.push(f(r,h))}return function(){l.forEach(function(e){return e()})};function f(t,n){var r=this;return t[n]?function(e,t,n){try{if(!(t in e))return function(){};var r=e[t],i=n(r);return"function"===typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=i,function(){e[t]=r}}catch(HS){return function(){}}}(t,n,function(t){var a=r;return function(){for(var r=arguments.length,l=new Array(r),u=0;u<r;u++)l[u]=arguments[u];if(t.apply(a,l),("assert"!==n||!l[0])&&!s){s=!0;try{var c=Dv.parse(new Error).map(function(e){return e.toString()}).splice(1),d=("assert"===n?l.slice(1):l).map(function(e){return Hv(e,i.stringifyOptions)});++o<i.lengthThreshold?e({level:n,trace:c,payload:d}):o===i.lengthThreshold&&e({level:"warn",trace:[],payload:[Hv("The number of log records reached the threshold.")]})}catch(p){t.apply(void 0,[].concat(["rrweb logger error:",p],l))}finally{s=!1}}}}):function(){}}}var Bv,Wv,Kv,$v=gr.setImmediate,Gv=Object.prototype.toString,Yv="undefined"!==typeof $v?function(e){return $v(e)}:setTimeout;try{Object.defineProperty({},"x",{}),Bv=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(qS){Bv=function(e,t,n){return e[t]=n,e}}function Qv(e,t){Kv.add(e,t),Wv||(Wv=Yv(Kv.drain))}function Jv(e){var t,n=typeof e;return null===e||"object"!==n&&"function"!==n||(t=e.then),"function"===typeof t&&t}function Xv(){for(var e=0;e<this.chain.length;e++)Zv(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function Zv(e,t,n){var r,i;try{!1===t?n.reject(e.msg):(r=!0===t?e.msg:t.call(void 0,e.msg))===n.promise?n.reject(TypeError("Promise-chain cycle")):(i=Jv(r))?i.call(r,n.resolve,n.reject):n.resolve(r)}catch(qS){n.reject(qS)}}function ey(e){var t,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(t=Jv(e))?Qv(function(){var r=new ry(n);try{t.call(e,function(){ey.apply(r,arguments)},function(){ty.apply(r,arguments)})}catch(qS){ty.call(r,qS)}}):(n.msg=e,n.state=1,n.chain.length>0&&Qv(Xv,n))}catch(qS){ty.call(new ry(n),qS)}}}function ty(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&Qv(Xv,t))}function ny(e,t,n,r){for(var i=0;i<t.length;i++)(function(i){e.resolve(t[i]).then(function(e){n(i,e)},r)})(i)}function ry(e){this.def=e,this.triggered=!1}function iy(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function ay(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 iy(this);this.then=function(e,n){var r={success:"function"!==typeof e||e,failure:"function"===typeof n&&n};return r.promise=new this.constructor(function(e,t){if("function"!==typeof e||"function"!==typeof t)throw TypeError("Not a function");r.resolve=e,r.reject=t}
2),t.chain.push(r),0!==t.state&&Qv(Xv,t),r.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){ey.call(t,e)},function(e){ty.call(t,e)})}catch(qS){ty.call(t,qS)}}Kv=function(){var e,t,n;function r(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(i,a){n=new r(i,a),t?t.next=n:e=n,t=n,n=void 0},drain:function(){var n=e;for(e=t=Wv=void 0;n;)n.fn.call(n.self),n=n.next}}}();var oy,sy=Bv({},"constructor",ay,!1);ay.prototype=sy,Bv(sy,"__NPO__",0,!1),Bv(ay,"resolve",function(e){return e&&"object"===typeof e&&1===e.__NPO__?e:new this(function(t,n){if("function"!==typeof t||"function"!==typeof n)throw TypeError("Not a function");t(e)})}),Bv(ay,"reject",function(e){return new this(function(t,n){if("function"!==typeof t||"function"!==typeof n)throw TypeError("Not a function");n(e)})}),Bv(ay,"all",function(e){var t=this;return"[object Array]"!==Gv.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(n,r){if("function"!==typeof n||"function"!==typeof r)throw TypeError("Not a function");var i=e.length,a=Array(i),o=0;ny(t,e,function(e,t){a[e]=t,++o===i&&n(a)},r)})}),Bv(ay,"race",function(e){var t=this;return"[object Array]"!==Gv.call(e)?t.reject(TypeError("Not an array")):new t(function(n,r){if("function"!==typeof n||"function"!==typeof r)throw TypeError("Not a function");ny(t,e,function(e,t){n(t)},r)})}),oy="undefined"!==typeof Promise&&-1!==Promise.toString().indexOf("[native code]")?Promise:ay;var ly=864e5,uy=8e3,cy=Array.prototype,dy=Function.prototype,py=Object.prototype,hy=cy.slice,fy=py.toString,my=py.hasOwnProperty,gy=gr.console,vy=gr.navigator,yy=gr.document,by=gr.opera,wy=gr.screen,ky=vy.userAgent,_y=dy.bind,Sy=cy.forEach,xy=cy.indexOf,Cy=cy.map,Ty=Array.isArray,Ey={},Ay={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},Iy={log:function(){if(yr.DEBUG&&!Ay.isUndefined(gy)&&gy)try{gy.log.apply(gy,arguments)}catch(qS){Ay.each(arguments,function(e){gy.log(e)})}},warn:function(){if(yr.DEBUG&&!Ay.isUndefined(gy)&&gy){var e=["Mixpanel warning:"].concat(Ay.toArray(arguments));try{gy.warn.apply(gy,e)}catch(qS){Ay.each(e,function(e){gy.warn(e)})}}},error:function(){if(yr.DEBUG&&!Ay.isUndefined(gy)&&gy){var e=["Mixpanel error:"].concat(Ay.toArray(arguments));try{gy.error.apply(gy,e)}catch(qS){Ay.each(e,function(e){gy.error(e)})}}},critical:function(){if(!Ay.isUndefined(gy)&&gy){var e=["Mixpanel error:"].concat(Ay.toArray(arguments));try{gy.error.apply(gy,e)}catch(qS){Ay.each(e,function(e){gy.error(e)})}}}},Oy=function(e,t){return function(){return arguments[0]="["+t+"] "+arguments[0],e.apply(Iy,arguments)}},jy=function(e){return{log:Oy(Iy.log,e),warn:Oy(Iy.warn,e),error:Oy(Iy.error,e),critical:Oy(Iy.critical,e)}},Ry=function(e){return function(){try{return e.apply(this,arguments)}catch(HS){Iy.critical("Implementation error. Please turn on debug and contact [email protected]."),yr.DEBUG&&Iy.critical(HS)}}},Py=function(e){var t=e.prototype;for(var n in t)"function"===typeof t[n]&&(t[n]=Ry(t[n]))};Ay.bind=function(e,t){var n,r;if(_y&&e.bind===_y)return _y.apply(e,hy.call(arguments,1));if(!Ay.isFunction(e))throw new TypeError;return n=hy.call(arguments,2),r=function(){if(!(this instanceof r))return e.apply(t,n.concat(hy.call(arguments)));var i={};i.prototype=e.prototype;var a=new i;i.prototype=null;var o=e.apply(a,n.concat(hy.call(arguments)));return Object(o)===o?o:a},r},Ay.each=function(e,t,n){if(null!==e&&void 0!==e)if(Sy&&e.forEach===Sy)e.forEach(t,n);else if(e.length===+e.length){for(var r=0,i=e.length;r<i;r++)if(r in e&&t.call(n,e[r],r,e)===Ey)return}else for(var a in e)if(my.call(e,a)&&t.call(n,e[a],a,e)===Ey)return},Ay.extend=function(e){return Ay.each(hy.call(arguments,1),function(t){for(var n in t)void 0!==t[n]&&(e[n]=t[n])}),e},Ay.isArray=Ty||function(e){return"[object Array]"===fy.call(e)},Ay.isFunction=function(e){return"function"===typeof e},Ay.isArguments=function(e){return!(!e||!my.call(e,"callee"))},Ay.toArray=function(e){return e?e.toArray?e.toArray():Ay.isArray(e)||Ay.isArguments(e)?hy.call(e):Ay.values(e):[]},Ay.map=function(e,t,n){if(Cy&&e.map===Cy)return e.map(t,n);var r=[];return Ay.each(e,function(e){r.push(t.call(n,e))}),r},Ay.keys=function(e){var t=[];return null===e||Ay.each(e,function(e,n){t[t.length]=n}),t},Ay.values=function(e){var t=[];return null===e||Ay.each(e,function(e){t[t.length]=e}),t},Ay.include=function(e,t){var n=!1;return null===e?n:xy&&e.indexOf===xy?-1!=e.indexOf(t):(Ay.each(e,function(e){if(n||(n=e===t))return Ey}),n)},Ay.includes=function(e,t){return-1!==e.indexOf(t)},Ay.inherit=function(e,t){return e.prototype=new t,e.prototype.constructor=e,e.superclass=t.prototype,e},Ay.isObject=function(e){return e===Object(e)&&!Ay.isArray(e)},Ay.isEmptyObject=function(e){if(Ay.isObject(e)){for(var t in e)if(my.call(e,t))return!1;return!0}return!1},Ay.isUndefined=function(e){return void 0===e},Ay.isString=function(e){return"[object String]"==fy.call(e)},Ay.isDate=function(e){return"[object Date]"==fy.call(e)},Ay.isNumber=function(e){return"[object Number]"==fy.call(e)},Ay.isElement=function(e){return!(!e||1!==e.nodeType)},Ay.encodeDates=function(e){return Ay.each(e,function(t,n){Ay.isDate(t)?e[n]=Ay.formatDate(t):Ay.isObject(t)&&(e[n]=Ay.encodeDates(t))}),e},Ay.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},Ay.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())},Ay.strip_empty_properties=function(e){var t={};return Ay.each(e,function(e,n){Ay.isString(e)&&e.length>0&&(t[n]=e)}),t},Ay.truncate=function(e,t){var n;return"string"===typeof e?n=e.slice(0,t):Ay.isArray(e)?(n=[],Ay.each(e,function(e){n.push(Ay.truncate(e,t))})):Ay.isObject(e)?(n={},Ay.each(e,function(e,r){n[r]=Ay.truncate(e,t)})):n=e,n},Ay.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,n={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return t.lastIndex=0,t.test(e)?'"'+e.replace(t,function(e){var t=n[e];return"string"===typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'},n=function(e,r){var i="",a=0,o="",s="",l=0,u=i,c=[],d=r[e];switch(d&&"object"===typeof d&&"function"===typeof d.toJSON&&(d=d.toJSON(e)),typeof d){case"string":return t(d);case"number":return isFinite(d)?String(d):"null";case"boolean":case"null":return String(d);case"object":if(!d)return"null";
2if(i+=" ",c=[],"[object Array]"===fy.apply(d)){for(l=d.length,a=0;a<l;a+=1)c[a]=n(a,d)||"null";return s=0===c.length?"[]":i?"[\n"+i+c.join(",\n"+i)+"\n"+u+"]":"["+c.join(",")+"]",i=u,s}for(o in d)my.call(d,o)&&(s=n(o,d))&&c.push(t(o)+(i?": ":":")+s);return s=0===c.length?"{}":i?"{"+c.join(",")+u+"}":"{"+c.join(",")+"}",i=u,s}};return n("",{"":e})},Ay.JSONDecode=function(){var e,t,n,r,i={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},a=function(t){var r=new SyntaxError(t);throw r.at=e,r.text=n,r},o=function(r){return r&&r!==t&&a("Expected '"+r+"' instead of '"+t+"'"),t=n.charAt(e),e+=1,t},s=function(){var e,n="";for("-"===t&&(n="-",o("-"));t>="0"&&t<="9";)n+=t,o();if("."===t)for(n+=".";o()&&t>="0"&&t<="9";)n+=t;if("e"===t||"E"===t)for(n+=t,o(),"-"!==t&&"+"!==t||(n+=t,o());t>="0"&&t<="9";)n+=t,o();if(e=+n,isFinite(e))return e;a("Bad number")},l=function(){var e,n,r,s="";if('"'===t)for(;o();){if('"'===t)return o(),s;if("\\"===t)if(o(),"u"===t){for(r=0,n=0;n<4&&(e=parseInt(o(),16),isFinite(e));n+=1)r=16*r+e;s+=String.fromCharCode(r)}else{if("string"!==typeof i[t])break;s+=i[t]}else s+=t}a("Bad string")},u=function(){for(;t&&t<=" ";)o()};return r=function(){switch(u(),t){case"{":return function(){var e,n={};if("{"===t){if(o("{"),u(),"}"===t)return o("}"),n;for(;t;){if(e=l(),u(),o(":"),Object.hasOwnProperty.call(n,e)&&a('Duplicate key "'+e+'"'),n[e]=r(),u(),"}"===t)return o("}"),n;o(","),u()}}a("Bad object")}();case"[":return function(){var e=[];if("["===t){if(o("["),u(),"]"===t)return o("]"),e;for(;t;){if(e.push(r()),u(),"]"===t)return o("]"),e;o(","),u()}}a("Bad array")}();case'"':return l();case"-":return s();default:return t>="0"&&t<="9"?s():function(){switch(t){case"t":return o("t"),o("r"),o("u"),o("e"),!0;case"f":return o("f"),o("a"),o("l"),o("s"),o("e"),!1;case"n":return o("n"),o("u"),o("l"),o("l"),null}a('Unexpected "'+t+'"')}()}},function(i){var o;return n=i,e=0,t=" ",o=r(),u(),t&&a("Syntax error"),o}}(),Ay.base64Encode=function(e){var t,n,r,i,a,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,l=0,u="",c=[];if(!e)return e;e=Ay.utf8Encode(e);do{t=(a=e.charCodeAt(s++)<<16|e.charCodeAt(s++)<<8|e.charCodeAt(s++))>>18&63,n=a>>12&63,r=a>>6&63,i=63&a,c[l++]=o.charAt(t)+o.charAt(n)+o.charAt(r)+o.charAt(i)}while(s<e.length);switch(u=c.join(""),e.length%3){case 1:u=u.slice(0,-2)+"==";break;case 2:u=u.slice(0,-1)+"="}return u},Ay.utf8Encode=function(e){var t,n,r,i,a="";for(t=n=0,r=(e=(e+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,i=0;i<r;i++){var o=e.charCodeAt(i),s=null;o<128?n++:s=o>127&&o<2048?String.fromCharCode(o>>6|192,63&o|128):String.fromCharCode(o>>12|224,o>>6&63|128,63&o|128),null!==s&&(n>t&&(a+=e.substring(t,n)),a+=s,t=n=i+1)}return n>t&&(a+=e.substring(t,e.length)),a},Ay.UUID=function(){try{return gr.crypto.randomUUID()}catch(qS){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]="-",Ay.map(e,function(e){return e.toString(16)}).join("")}};var Ny=["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"];Ay.isBlockedUA=function(e){var t;for(e=e.toLowerCase(),t=0;t<Ny.length;t++)if(-1!==e.indexOf(Ny[t]))return!0;return!1},Ay.HTTPBuildQuery=function(e,t){var n,r,i=[];return Ay.isUndefined(t)&&(t="&"),Ay.each(e,function(e,t){n=encodeURIComponent(e.toString()),r=encodeURIComponent(t),i[i.length]=r+"="+n}),i.join(t)},Ay.getQueryParam=function(e,t){t=t.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);if(null===n||n&&"string"!==typeof n[1]&&n[1].length)return"";var r=n[1];try{r=decodeURIComponent(r)}catch(qS){Iy.error("Skipping decoding for malformed query param: "+r)}return r.replace(/\+/g," ")},Ay.cookie={get:function(e){for(var t=e+"=",n=yy.cookie.split(";"),r=0;r<n.length;r++){for(var i=n[r];" "==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=Ay.JSONDecode(Ay.cookie.get(e))||{}}catch(qS){}return t},set_seconds:function(e,t,n,r,i,a,o){var s="",l="",u="";if(o)s="; domain="+o;else if(r){var c=Gy(yy.location.hostname);s=c?"; domain=."+c:""}if(n){var d=new Date;d.setTime(d.getTime()+1e3*n),l="; expires="+d.toGMTString()}a&&(i=!0,u="; SameSite=None"),i&&(u+="; secure"),yy.cookie=e+"="+encodeURIComponent(t)+l+"; path=/"+s+u},set:function(e,t,n,r,i,a,o){var s="",l="",u="";if(o)s="; domain="+o;else if(r){var c=Gy(yy.location.hostname);s=c?"; domain=."+c:""}if(n){var d=new Date;d.setTime(d.getTime()+24*n*60*60*1e3),l="; expires="+d.toGMTString()}a&&(i=!0,u="; SameSite=None"),i&&(u+="; secure");var p=e+"="+encodeURIComponent(t)+l+"; path=/"+s+u;return yy.cookie=p,p},remove:function(e,t,n){Ay.cookie.set(e,"",-1,t,!1,!1,n)}};var My=function(e){var t=!0;try{var n="__mplss_"+By(8);e.setItem(n,"xyz"),"xyz"!==e.getItem(n)&&(t=!1),e.removeItem(n)}catch(qS){t=!1}return t},Ly=null,Dy=function(e,t){return null===Ly||t?Ly=My(e):Ly},Vy=null;function Fy(e,t,n){var r=function(e){Iy.error(t+" error: "+e)};return{is_supported:function(r){var i=n(e,r);return i||Iy.error(t+" unsupported"),i},error:r,get:function(t){try{return e.getItem(t)}catch(qS){r(qS)}return null},parse:function(t){try{return Ay.JSONDecode(e.getItem(t))||{}}catch(qS){}return null},set:function(t,n){try{e.setItem(t,n)}catch(qS){r(qS)}},remove:function(t){try{e.removeItem(t)}catch(qS){r(qS)}}}}var zy=function(){try{return gr.localStorage}catch(e){return null}};Ay.localStorage=Fy(zy(),"localStorage",Dy),Ay.sessionStorage=Fy(function(){try{return gr.sessionStorage}catch(e){return null}}(),"sessionStorage",function(e,t){return null===Vy||t?Vy=My(e):Vy}),Ay.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,n,r,i,a){if(t)if(t.addEventListener&&!i)t.addEventListener(n,r,!!a);else{var o="on"+n,s=t[o];t[o]=function(t,n,r){var i=function(i){if(i=i||e(gr.event)){var a,o,s=!0;return Ay.isFunction(r)&&(a=r(i)),o=n.call(t,i),!1!==a&&!1!==o||(s=!1),s}};return i}(t,r,s)}else Iy.error("No valid element provided to register_event")}}();var Hy=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');Ay.dom_query=function(){function e(e){return e.all?e.all:e.getElementsByTagName("*")}var t=/[\t\r\n]/g;function n(e,n){var r=" "+n+" ";return(" "+e.className+" ").replace(t," ").indexOf(r)>=0}function r(t){if(!yy.getElementsByTagName)return[];var r,i,a,o,s,l,u,c,d,p,h=t.split(" "),f=[yy];for(l=0;l<h.length;l++)if((r=h[l].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){a=(i=r.split("#"))[0];var m=i[1],g=yy.getElementById(m);if(!g||a&&g.nodeName.toLowerCase()!=a)return[];f=[g]}else if(r.indexOf(".")>-1){a=(i=r.split("."))[0];var v=i[1];for(a||(a="*"),o=[],s=0,u=0;u<f.length;u++)for(d="*"==a?e(f[u]):f[u].getElementsByTagName(a),c=0;c<d.length;c++)o[s++]=d[c];for(f=[],p=0,u=0;u<o.length;u++)o[u].className&&Ay.isString(o[u].className)&&n(o[u],v)&&(f[p++]=o[u])}else{var y=r.match(Hy);if(y){a=y[1];var b,w=y[2],k=y[3],_=y[4];for(a||(a="*"),o=[],s=0,u=0;u<f.length;u++)for(d="*"==a?e(f[u]):f[u].getElementsByTagName(a),c=0;c<d.length;c++)o[s++]=d[c];switch(f=[],p=0,k){case"=":b=function(e){return e.getAttribute(w)==_};break;case"~":b=function(e){return e.getAttribute(w).match(new RegExp("\\b"+_+"\\b"))};break;case"|":b=function(e){return e.getAttribute(w).match(new RegExp("^"+_+"-?"))};break;case"^":b=function(e){return 0===e.getAttribute(w).indexOf(_)};break;case"$":b=function(e){return e.getAttribute(w).lastIndexOf(_)==e.getAttribute(w).length-_.length};break;case"*":b=function(e){return e.getAttribute(w).indexOf(_)>-1};break;default:b=function(e){return e.getAttribute(w)}}for(f=[],p=0,u=0;u<o.length;u++)b(o[u])&&(f[p++]=o[u])}else{for(a=r,o=[],s=0,u=0;u<f.length;u++)for(d=f[u].getElementsByTagName(a),c=0;c<d.length;c++)o[s++]=d[c];f=o}}return f}return function(e){return Ay.isElement(e)?[e]:Ay.isObject(e)&&!Ay.isUndefined(e.length)?e:r.call(this,e)}}();var qy=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],Uy=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];Ay.info={campaignParams:function(e){var t="",n={};return Ay.each(qy,function(r){(t=Ay.getQueryParam(yy.URL,r)).length?n[r]=t:void 0!==e&&(n[r]=e)}),n},clickParams:function(){var e="",t={};return Ay.each(Uy,function(n){(e=Ay.getQueryParam(yy.URL,n)).length&&(t[n]=e)}),t},marketingParams:function(){return Ay.extend(Ay.info.campaignParams(),Ay.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=Ay.info.searchEngine(e),n="yahoo"!=t?"q":"p",r={};if(null!==t){r.$search_engine=t;var i=Ay.getQueryParam(e,n);i.length&&(r.mp_keyword=i)}return r},browser:function(e,t,n){return t=t||"",n||Ay.includes(e," OPR/")?Ay.includes(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":Ay.includes(e,"IEMobile")||Ay.includes(e,"WPDesktop")?"Internet Explorer Mobile":Ay.includes(e,"SamsungBrowser/")?"Samsung Internet":Ay.includes(e,"Edge")||Ay.includes(e,"Edg/")?"Microsoft Edge":Ay.includes(e,"FBIOS")?"Facebook Mobile":Ay.includes(e,"Whale/")?"Whale Browser":Ay.includes(e,"Chrome")?"Chrome":Ay.includes(e,"CriOS")?"Chrome iOS":Ay.includes(e,"UCWEB")||Ay.includes(e,"UCBrowser")?"UC Browser":Ay.includes(e,"FxiOS")?"Firefox iOS":Ay.includes(t,"Apple")?Ay.includes(e,"Mobile")?"Mobile Safari":"Safari":Ay.includes(e,"Android")?"Android Mobile":Ay.includes(e,"Konqueror")?"Konqueror":Ay.includes(e,"Firefox")?"Firefox":Ay.includes(e,"MSIE")||Ay.includes(e,"Trident/")?"Internet Explorer":Ay.includes(e,"Gecko")?"Mozilla":""},browserVersion:function(e,t,n){var r={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/,"Whale Browser":/Whale\/(\d+(\.\d+)?)/}[Ay.info.browser(e,t,n)];if(void 0===r)return null;var i=e.match(r);return i?parseFloat(i[i.length-2]):null},os:function(){var e=ky;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 gr.location.href},properties:function(e){return"object"!==typeof e&&(e={}),Ay.extend(Ay.strip_empty_properties({$os:Ay.info.os(),$browser:Ay.info.browser(ky,vy.vendor,by),$referrer:yy.referrer,$referring_domain:Ay.info.referringDomain(yy.referrer),$device:Ay.info.device(ky)}),{$current_url:Ay.info.currentUrl(),$browser_version:Ay.info.browserVersion(ky,vy.vendor,by),$screen_height:wy.height,$screen_width:wy.width,mp_lib:"web",$lib_version:yr.LIB_VERSION,$insert_id:By(),time:Ay.timestamp()/1e3},Ay.strip_empty_properties(e))},people_properties:function(){return Ay.extend(Ay.strip_empty_properties({$os:Ay.info.os(),$browser:Ay.info.browser(ky,vy.vendor,by)}),{$browser_version:Ay.info.browserVersion(ky,vy.vendor,by)})},mpPageViewProperties:function(){return Ay.strip_empty_properties({current_page_title:yy.title,current_domain:gr.location.hostname,current_url_path:gr.location.pathname,current_url_protocol:gr.location.protocol,current_url_search:gr.location.search})}};var By=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},Wy=function(){return"00-"+Ay.UUID().replace(/-/g,"")+"-"+Ay.UUID().replace(/-/g,"").substring(0,16)+"-01"},Ky=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,$y=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,Gy=function(e){var t=$y,n=e.split("."),r=n[n.length-1];(r.length>4||"com"===r||"org"===r)&&(t=Ky);var i=e.match(t);return i?i[0]:""},Yy=function(){},Qy=function(e,t){for(var n=!1,r=0;r<t.length;r++)if(e.match(t[r])){n=!0;break}return n},Jy=null,Xy=null;"undefined"!==typeof JSON&&(Jy=JSON.stringify,Xy=JSON.parse),Jy=Jy||Ay.JSONEncode,Xy=Xy||Ay.JSONDecode;Ay.info=Ay.info,Ay.info.browser=Ay.info.browser,Ay.info.browserVersion=Ay.info.browserVersion,Ay.info.device=Ay.info.device,Ay.info.properties=Ay.info.properties,Ay.isBlockedUA=Ay.isBlockedUA,Ay.isEmptyObject=Ay.isEmptyObject,Ay.isObject=Ay.isObject,Ay.JSONDecode=A
2y.JSONDecode,Ay.JSONEncode=Ay.JSONEncode,Ay.toArray=Ay.toArray,Ay.NPO=ay;var Zy=function(e,t,n){this.dbName=e,this.storeName=t,this.version=n.version,this.storeNamesInDb=n.storeNames,this.dbPromise=null};Zy.prototype._openDb=function(){var e=this.dbName,t=this.version,n=this.storeNamesInDb;return new oy(function(r,i){var a=gr.indexedDB.open(e,t);a.onerror=function(){i(a.error)},a.onsuccess=function(){r(a.result)},a.onupgradeneeded=function(e){var t=e.target.result;n.forEach(function(e){t.objectStoreNames.contains(e)||t.createObjectStore(e)})}})},Zy.prototype.init=function(){return gr.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(e){return e instanceof gr.IDBDatabase?oy.resolve():oy.reject(e)})):oy.reject("indexedDB is not supported in this browser")},Zy.prototype.isInitialized=function(){return!!this.dbPromise},Zy.prototype.makeTransaction=function(e,t){var n=this.storeName,r=function(r){return new oy(function(i,a){var o=r.transaction(n,e);o.oncomplete=function(){i(o)},o.onabort=o.onerror=function(){a(o.error)},t(o.objectStore(n))})};return this.dbPromise.then(r).catch(function(e){return e&&"InvalidStateError"===e.name?(this.dbPromise=this._openDb(),this.dbPromise.then(r)):oy.reject(e)}.bind(this))},Zy.prototype.setItem=function(e,t){return this.makeTransaction("readwrite",function(n){n.put(t,e)})},Zy.prototype.getItem=function(e){var t;return this.makeTransaction("readonly",function(n){t=n.get(e)}).then(function(){return t.result})},Zy.prototype.removeItem=function(e){return this.makeTransaction("readwrite",function(t){t.delete(e)})},Zy.prototype.getAll=function(){var e;return this.makeTransaction("readonly",function(t){e=t.getAll()}).then(function(){return e.result})};var eb="mixpanelBrowserDb",tb="mixpanelRecordingEvents",nb="mixpanelRecordingRegistry",rb={version:1,storeNames:[tb,nb]};function ib(e,t){mb(!0,e,t)}function ab(e,t){mb(!1,e,t)}function ob(e,t){return"1"===fb(e,t)}function sb(e,t){if(function(e){if(e&&e.ignoreDnt)return!1;var t=e&&e.window||gr,n=t.navigator||{},r=!1;return Ay.each([n.doNotTrack,n.msDoNotTrack,t.doNotTrack],function(e){Ay.includes([!0,1,"1","yes"],e)&&(r=!0)}),r}(t))return Iy.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 n="0"===fb(e,t);return n&&Iy.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),n}function lb(e){return gb(e,function(e){return this.get_config(e)})}function ub(e){return gb(e,function(e){return this._get_config(e)})}function cb(e){return gb(e,function(e){return this._get_config(e)})}function db(e,t){pb(t=t||{}).remove(hb(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function pb(e){return"localStorage"===(e=e||{}).persistenceType?Ay.localStorage:Ay.cookie}function hb(e,t){return((t=t||{}).persistencePrefix||"__mp_opt_in_out_")+e}function fb(e,t){return pb(t).get(hb(e,t))}function mb(e,t,n){Ay.isString(t)&&t.length?(pb(n=n||{}).set(hb(t,n),e?1:0,Ay.isNumber(n.cookieExpiration)?n.cookieExpiration:null,!!n.crossSubdomainCookie,!!n.secureCookie,!!n.crossSiteCookie,n.cookieDomain),n.track&&e&&n.track(n.trackEventName||"$opt_in",n.trackProperties,{send_immediately:!0})):Iy.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token")}function gb(e,t){return function(){var n=!1;try{var r=t.call(this,"token"),i=t.call(this,"ignore_dnt"),a=t.call(this,"opt_out_tracking_persistence_type"),o=t.call(this,"opt_out_tracking_cookie_prefix"),s=t.call(this,"window");r&&(n=sb(r,{ignoreDnt:i,persistenceType:a,persistencePrefix:o,window:s}))}catch(qS){Iy.error("Unexpected error when checking tracking opt-out status: "+qS)}if(!n)return e.apply(this,arguments);var l=arguments[arguments.length-1];"function"===typeof l&&l(0)}}var vb=jy("lock"),yb=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||zy(),this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3,this.promiseImpl=t.promiseImpl||oy};yb.prototype.withLock=function(e,t){return new(0,this.promiseImpl)(Ay.bind(function(n,r){var i=t||(new Date).getTime()+"|"+Math.random(),a=(new Date).getTime(),o=this.storageKey,s=this.pollIntervalMS,l=this.timeoutMS,u=this.storage,c=o+":X",d=o+":Y",p=o+":Z",h=function(e){if((new Date).getTime()-a>l)return vb.error("Timeout waiting for mutex on "+o+"; clearing lock. ["+i+"]"),u.removeItem(p),u.removeItem(d),void g();setTimeout(function(){try{e()}catch(qS){r(qS)}},s*(Math.random()+.1))},f=function(e,t){e()?t():h(function(){f(e,t)})},m=function(){var e=u.getItem(d);return(!e||e===i)&&(u.setItem(d,i),u.getItem(d)===i||(Dy(u,!0)||r(new Error("localStorage support dropped while acquiring lock")),!1))},g=function(){u.setItem(c,i),f(m,function(){u.getItem(c)!==i?h(function(){u.getItem(d)===i?f(function(){return!u.getItem(p)},v):g()}):v()})},v=function(){u.setItem(p,"1");var t=function(){u.removeItem(p),u.getItem(d)===i&&u.removeItem(d),u.getItem(c)===i&&u.removeItem(c)};e().then(function(e){t(),n(e)}).catch(function(e){t(),r(e)})};try{if(!Dy(u,!0))throw new Error("localStorage support check failed");g()}catch(qS){r(qS)}},this))};var bb=function(e){this.storage=e||zy()};bb.prototype.init=function(){return this.storage?oy.resolve():oy.reject(new Error("localStorage is not available"))},bb.prototype.isInitialized=function(){return!0},bb.prototype.setItem=function(e,t){return new oy(Ay.bind(function(n,r){try{this.storage.setItem(e,Jy(t))}catch(HS){r(HS)}n()},this))},bb.prototype.getItem=function(e){return new oy(Ay.bind(function(t,n){var r;try{r=Xy(this.storage.getItem(e))}catch(HS){n(HS)}t(r)},this))},bb.prototype.removeItem=function(e){return new oy(Ay.bind(function(t,n){try{this.storage.removeItem(e)}catch(HS){n(HS)}t()},this))};var wb=jy("batch"),kb=function(e,t){t=t||{},this.storageKey=e,this.usePersistence=t.usePersistence,this.usePersistence&&(this.queueStorage=t.queueStorage||new bb,this.lock=new yb(e,{storage:t.sharedLockStorage,timeoutMS:t.sharedLockTimeoutMS})),this.reportError=t.errorReporter||Ay.bind(wb.error,wb),this.pid=t.pid||null,this.memQueue=[],this.initialized=!1,t.enqueueThrottleMs?this.enqueuePersisted=function(e,t){var n=null,r=[];return function(i){var a=this;return r.push(i),n||(n=new oy(function(i){setTimeout(function(){var t=e.apply(a,[r]);n=null,r=[],i(t)},t)}
vendor: 7,961 bytes, line 2
2)),n}}(Ay.bind(this._enqueuePersisted,this),t.enqueueThrottleMs):this.enqueuePersisted=Ay.bind(function(e){return this._enqueuePersisted([e])},this)};kb.prototype.ensureInit=function(){return this.initialized||!this.usePersistence?oy.resolve():this.queueStorage.init().then(Ay.bind(function(){this.initialized=!0},this)).catch(Ay.bind(function(e){this.reportError("Error initializing queue persistence. Disabling persistence",e),this.initialized=!0,this.usePersistence=!1},this))},kb.prototype.enqueue=function(e,t){var n={id:By(),flushAfter:(new Date).getTime()+2*t,payload:e};return this.usePersistence?this.enqueuePersisted(n):(this.memQueue.push(n),oy.resolve(!0))},kb.prototype._enqueuePersisted=function(e){var t=Ay.bind(function(){return this.ensureInit().then(Ay.bind(function(){return this.readFromStorage()},this)).then(Ay.bind(function(t){return this.saveToStorage(t.concat(e))},this)).then(Ay.bind(function(t){return t&&(this.memQueue=this.memQueue.concat(e)),t},this)).catch(Ay.bind(function(t){return this.reportError("Error enqueueing items",t,e),!1},this))},this);return this.lock.withLock(t,this.pid).catch(Ay.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this))},kb.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);return this.usePersistence&&t.length<e?this.ensureInit().then(Ay.bind(function(){return this.readFromStorage()},this)).then(Ay.bind(function(n){if(n.length){var r={};Ay.each(t,function(e){r[e.id]=!0});for(var i=0;i<n.length;i++){var a=n[i];if((new Date).getTime()>a.flushAfter&&!r[a.id]&&(a.orphaned=!0,t.push(a),t.length>=e))break}}return t},this)):oy.resolve(t)};var _b=function(e,t){var n=[];return Ay.each(e,function(e){e.id&&!t[e.id]&&n.push(e)}),n};kb.prototype.removeItemsByID=function(e){var t={};if(Ay.each(e,function(e){t[e]=!0}),this.memQueue=_b(this.memQueue,t),this.usePersistence){var n=Ay.bind(function(){return this.ensureInit().then(Ay.bind(function(){return this.readFromStorage()},this)).then(Ay.bind(function(e){return e=_b(e,t),this.saveToStorage(e)},this)).then(Ay.bind(function(){return this.readFromStorage()},this)).then(Ay.bind(function(e){for(var n=0;n<e.length;n++){var r=e[n];if(r.id&&t[r.id])throw new Error("Item not removed from storage")}return!0},this)).catch(Ay.bind(function(t){return this.reportError("Error removing items",t,e),!1},this))},this);return this.lock.withLock(n,this.pid).catch(Ay.bind(function(e){return this.reportError("Error acquiring storage lock",e),!Dy(this.lock.storage,!0)&&n().then(Ay.bind(function(e){return e||this.queueStorage.removeItem(this.storageKey).then(function(){return e})},this)).catch(Ay.bind(function(e){return this.reportError("Error clearing queue",e),!1},this))},this))}return oy.resolve(!0)};var Sb=function(e,t){var n=[];return Ay.each(e,function(e){var r=e.id;if(r in t){var i=t[r];null!==i&&(e.payload=i,n.push(e))}else n.push(e)}),n};kb.prototype.updatePayloads=function(e){return this.memQueue=Sb(this.memQueue,e),this.usePersistence?this.lock.withLock(Ay.bind(function(){return this.ensureInit().then(Ay.bind(function(){return this.readFromStorage()},this)).then(Ay.bind(function(t){return t=Sb(t,e),this.saveToStorage(t)},this)).catch(Ay.bind(function(t){return this.reportError("Error updating items",e,t),!1},this))},this),this.pid).catch(Ay.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this)):oy.resolve(!0)},kb.prototype.readFromStorage=function(){return this.ensureInit().then(Ay.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(Ay.bind(function(e){return e&&(Ay.isArray(e)||(this.reportError("Invalid storage entry:",e),e=null)),e||[]},this)).catch(Ay.bind(function(e){return this.reportError("Error retrieving queue",e),[]},this))},kb.prototype.saveToStorage=function(e){return this.ensureInit().then(Ay.bind(function(){return this.queueStorage.setItem(this.storageKey,e)},this)).then(function(){return!0}).catch(Ay.bind(function(e){return this.reportError("Error saving queue",e),!1},this))},kb.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(Ay.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):oy.resolve()};var xb=jy("batch"),Cb=function(e,t){this.errorReporter=t.errorReporter,this.queue=new kb(e,{errorReporter:Ay.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};Cb.prototype.enqueue=function(e){return this.queue.enqueue(e,this.flushInterval)},Cb.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},Cb.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},Cb.prototype.clear=function(){return this.queue.clear()},Cb.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},Cb.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},Cb.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(Ay.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))},Cb.prototype.sendRequestPromise=function(e,t){return new oy(Ay.bind(function(n){this.sendRequest(e,t,n)},this))},Cb.prototype.flush=function(e){if(this.requestInProgress)return xb.log("Flush: Request already in progress"),oy.resolve();this.requestInProgress=!0,e=e||{};var t=this.libConfig.batch_request_timeout_ms,n=(new Date).getTime(),r=this.batchSize;return this.queue.fillBatch(r).then(Ay.bind(function(i){var a=i.length===r,o=[],s={};if(Ay.each(i,function(e){var t=e.payload;if(this.beforeSendHook&&!e.orphaned&&(t=this.beforeSendHook(t)),t){t.event&&t.properties&&(t.properties=Ay.extend({},t.properties,{mp_sent_by_lib_version:yr.LIB_VERSION}));var n=!0,r=e.id;r?(this.itemIdsSentSuccessfully[r]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:e,batchSize:i.length,timesSent:this.itemIdsSentSuccessfully[r]}),n=!1):this.reportError("[dupe] found item with no ID",{item:e}),n&&o.push(t)}s[e.id]=t},this),o.length<1)return this.requestInProgress=!1,this.resetFlush(),oy.resolve();var l=Ay.bind(function(){return this.queue.removeItemsByID(Ay.map(i,function(e){return e.id})).then(Ay.bind(function(e){return Ay.each(i,Ay.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:i.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(),oy.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),oy.resolve())},this))},this),u=Ay.bind(function(a){this.requestInProgress=!1;try{if(e.unloading)return this.queue.updatePayloads(s);if(Ay.isObject(a)&&"timeout"===a.error&&(new Date).getTime()-n>=t)return this.reportError("Network timeout; retrying"),this.flush();if(Ay.isObject(a)&&(a.httpStatusCode>=500||429===a.httpStatusCode||a.httpStatusCode<=0&&!function(){var e=gr.navigator.onLine;return Ay.isUndefined(e)||e}()||"timeout"===a.error)){var o=2*this.flushInterval;
2return a.retryAfter&&(o=1e3*parseInt(a.retryAfter,10)||o),o=Math.min(6e5,o),this.reportError("Error; retry in "+o+" ms"),this.scheduleFlush(o),oy.resolve()}if(Ay.isObject(a)&&413===a.httpStatusCode){if(i.length>1){var u=Math.max(1,Math.floor(r/2));return this.batchSize=Math.min(this.batchSize,u,i.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),oy.resolve()}return this.reportError("Single-event request too large; dropping",i),this.resetBatchSize(),l()}return l()}catch(qS){this.reportError("Error handling API response",qS),this.resetFlush()}},this),c={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:t};return e.unloading&&(c.transport="sendBeacon"),xb.log("MIXPANEL REQUEST:",o),this.sendRequestPromise(o,c).then(u)},this)).catch(Ay.bind(function(e){this.reportError("Error flushing request queue",e),this.resetFlush()},this))},Cb.prototype.reportError=function(e,t){if(xb.error.apply(xb.error,arguments),this.errorReporter)try{t instanceof Error||(t=new Error(e)),this.errorReporter(e,t)}catch(t){xb.error(t)}};var Tb=function(e){var t=Date.now();return!e||t>e.maxExpires||t>e.idleExpires},Eb=function(e,t){if(!Ay.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 n=[],r=0;r<e.length;r++)try{var i=new URL(e[r]).origin;if("null"===i){t.critical(e[r]+" has an opaque origin. Skipping this entry.");continue}n.push(i)}catch(HS){t.critical(e[r]+" is not a valid origin URL. Skipping this entry.")}return n},Ab="change",Ib="click",Ob="hashchange",jb="load",Rb="mp_locationchange",Pb="popstate",Nb="scrollend",Mb="scroll",Lb="submit",Db="visibilitychange",Vb=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],Fb=["mp-include"],zb=["mp-no-track"],Hb=zb.concat(["mp-sensitive"]),qb=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],Ub={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},Bb={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},Wb={article:!0,div:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,p:!0,section:!0,span:!0},Kb=["onclick","onmousedown","onmouseup","onpointerdown","onpointerup","ontouchend","ontouchstart"],$b=jy("autocapture");function Gb(e){for(var t={},n=Yb(e).split(" "),r=0;r<n.length;r++){var i=n[r];i&&(t[i]=!0)}return t}function Yb(e){switch(typeof e.className){case"string":return e.className;case"object":return e.className.baseVal||e.getAttribute("class")||"";default:return""}}function Qb(e){if(e.previousElementSibling)return e.previousElementSibling;do{e=e.previousSibling}while(e&&!nw(e));return e}function Jb(e,t,n,r,i,a){var o={$classes:Yb(e).split(" "),$tag_name:e.tagName.toLowerCase()},s=e.id;s&&(o.$id=s),ow(e,t,i,a)&&Ay.each(qb.concat(r),function(t){if(e.hasAttribute(t)&&!n[t]){var r=e.getAttribute(t);sw(r)&&(o["$attr-"+t]=r)}});for(var l=1,u=1,c=e;c=Qb(c);)l++,c.tagName===e.tagName&&u++;return o.$nth_child=l,o.$nth_of_type=u,o}function Xb(e,t){var n=t.allowElementCallback,r=t.allowSelectors||[],i=t.blockAttrs||[],a=t.blockElementCallback,o=t.blockSelectors||[],s=t.captureTextContent||!1,l=t.captureExtraAttrs||[],u=t.capturedForHeatMap||!1,c={};Ay.each(i,function(e){c[e]=!0});var d=null,p="undefined"===typeof e.target?e.srcElement:e.target;if(iw(p)&&(p=p.parentNode),function(e,t){if(!e||rw(e,"html")||!nw(e))return!1;switch(e.tagName.toLowerCase()){case"form":return t.type===Lb;case"input":return-1===["button","submit"].indexOf(e.getAttribute("type"))?t.type===Ab:t.type===Ib;case"select":case"textarea":return t.type===Ab;default:return t.type===Ib}}(p,e)&&ew(p,e,n,r)&&!tw(p,e,a,o)){for(var h=[p],f=p;f.parentNode&&!rw(f,"body");)h.push(f.parentNode),f=f.parentNode;var m,g=[],v=!1;if(Ay.each(h,function(t){var i=ow(t,e,n,r);c.href||"a"!==t.tagName.toLowerCase()||(m=t.getAttribute("href"),m=i&&sw(m)&&m),tw(t,e,a,o)&&(v=!0),g.push(Jb(t,e,c,l,n,r))},this),!v){var y=yy.documentElement;if(d={$event_type:e.type,$host:gr.location.host,$pathname:gr.location.pathname,$elements:g,$el_attr__href:m,$viewportHe
2ight:Math.max(y.clientHeight,gr.innerHeight||0),$viewportWidth:Math.max(y.clientWidth,gr.innerWidth||0),$pageHeight:yy.body.offsetHeight||0,$pageWidth:yy.body.offsetWidth||0},Ay.each(l,function(e){if(!c[e]&&p.hasAttribute(e)){var t=p.getAttribute(e);sw(t)&&(d["$el_attr__"+e]=t)}}),s&&(b=Zb(p,e,n,r))&&b.length&&(d.$el_text=b),e.type===Ib&&(Ay.each(Vb,function(t){t in e&&(d["$"+t]=e[t])}),u&&(d.$captured_for_heatmap=!0),p=function(e){for(var t=e.target,n=e.composedPath(),r=0;r<n.length;r++){var i=n[r];if(rw(i,"a")||rw(i,"button")||rw(i,"input")||rw(i,"select")||i.getAttribute&&"button"===i.getAttribute("role")){t=i;break}if(i===t)break}return t}(e)),s){var b=Zb(p,e,n,r);b&&b.length&&(d.$el_text=b)}if(p){if(!ew(p,e,n,r)||tw(p,e,a,o))return null;var w=Jb(p,e,c,l,n,r);d.$target=w,d.$el_classes=w.$classes,Ay.extend(d,Ay.strip_empty_properties({$el_id:w.$id,$el_tag_name:w.$tag_name}))}}}return d}function Zb(e,t,n,r){var i="";return ow(e,t,n,r)&&e.childNodes&&e.childNodes.length&&Ay.each(e.childNodes,function(e){iw(e)&&e.textContent&&(i+=Ay.trim(e.textContent).split(/(\s+)/).filter(sw).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),Ay.trim(i)}function ew(e,t,n,r){if(n)try{if(!n(e,t))return!1}catch(qS){return $b.critical("Error while checking element in allowElementCallback",qS),!1}if(!r.length)return!0;for(var i=0;i<r.length;i++){var a=r[i];try{if(e.matches(a))return!0}catch(qS){$b.critical("Error while checking selector: "+a,qS)}}return!1}function tw(e,t,n,r){var i;if(n)try{if(n(e,t))return!0}catch(qS){return $b.critical("Error while checking element in blockElementCallback",qS),!0}if(r&&r.length)for(i=0;i<r.length;i++){var a=r[i];try{if(e.matches(a))return!0}catch(qS){$b.critical("Error while checking selector: "+a,qS)}}var o=Gb(e);for(i=0;i<zb.length;i++)if(o[zb[i]])return!0;return!1}function nw(e){return e&&1===e.nodeType}function rw(e,t){return e&&e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function iw(e){return e&&3===e.nodeType}function aw(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 ow(e,t,n,r){var i;if(!ew(e,t,n,r))return!1;for(var a=e;a.parentNode&&!rw(a,"body");a=a.parentNode){var o=Gb(a);for(i=0;i<Hb.length;i++)if(o[Hb[i]])return!1}var s=Gb(e);for(i=0;i<Fb.length;i++)if(s[Fb[i]])return!0;if(rw(e,"input")||rw(e,"select")||rw(e,"textarea")||"true"===e.getAttribute("contenteditable"))return!1;var l=e.type||"";if("string"===typeof l)switch(l.toLowerCase()){case"hidden":case"password":return!1}return!aw(e)}function sw(e){if(null===e||Ay.isUndefined(e))return!1;if("string"===typeof e){e=Ay.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 lw(e){var t="onscrollend"in gr,n=Ry(e),r=Nb;if(!t){var i=null;n=Ry(function(){clearTimeout(i),i=setTimeout(e,100)}),r=Mb}return{listener:n,eventType:r}}function uw(e){var t=e.tagName.toLowerCase();return"button"===t||"input"===t||"select"===t||"textarea"===t||"details"===t||"dialog"===t||(!!e.isContentEditable||(!!(e.onclick||e.onmousedown||e.onmouseup||e.ontouchstart||e.ontouchend)||(!!function(e){for(var t=0;t<Kb.length;t++)if(e.hasAttribute(Kb[t]))return!0;return!1}(e)||(!!function(e){var t=e.getAttribute("role");if(!t)return!1;var n=t.trim().split(/\s+/)[0].toLowerCase();return Ub[n]}(e)||(!("a"!==t||!e.hasAttribute("href"))||!!e.hasAttribute("tabindex"))))))}function cw(e){if(!e||!e.tagName)return!0;var t=e.tagName.toLowerCase();if(Bb[t])return!0;if(uw(e))return!1;for(var n=e.parentElement,r=0;n&&r<5;){if(uw(n))return!1;if(n.getRootNode&&n.getRootNode()!==yy){var i=n.getRootNode();if(i.host&&uw(i.host))return!1}n=n.parentElement,r++}return!!Wb[t]}function dw(e){return"composedPath"in e?e.composedPath():[]}function pw(e){var t=dw(e);return t&&t.length>0?t[0]:e.target||e.srcElement}var hw=".mp-mask, .fs-mask, .amp-mask, .rr-mask, .ph-mask",fw=["password","email","tel","hidden"];function mw(e){return e?Array.isArray(e)?e:[e]:[]}function gw(e,t){return!!t&&!!e.closest(t)}function vw(e,t){var n=(e.getAttribute("type")||"").toLowerCase();if(-1!==fw.indexOf(n))return!0;var r=(e.getAttribute("autocomplete")||"").toLowerCase();return!(!r||""===r||"off"===r)||(!!e.hasAttribute("data-rr-is-password")||(!!aw(e)||(t.input.maskAll?!gw(e,t.input.unmaskingSelector):!!gw(e,t.input.maskingSelector)||!!gw(e,hw))))}function yw(e,t){return!!e&&(!(!t.text._legacyClassRegex||!Yh(e,t.text._legacyClassRegex))||(t.text.maskAll?!gw(e,t.text.unmaskingSelector):!!gw(e,t.text.maskingSelector)||!!gw(e,hw)))}var bw=jy("network-plugin");function ww(e){return Math.round(Date.now()-e.performance.now())}var kw={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 _w(e){return"resource"===e.entryType}function Sw(e,t,n){if(!(t in e)||"function"!==typeof e[t])return function(){};var r=e[t],i=n(r);return e[t]=i,function(){e[t]=r}}var xw=1048576;function Cw(e){return e&&"string"===typeof e&&e.length>xw?(bw.error("Body truncated from "+e.length+" to "+xw+" characters"),e.substring(0,xw)+"... [truncated]"):e}
2function Tw(e,t,n){return!(!t[e]||0===t[e].length)&&t[e].includes(n.toLowerCase())}function Ew(e,t,n){return!(!t[e]||0===t[e].length)&&Qy(n,t[e])}function Aw(e){if(null===e||void 0===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=Ay.HTTPBuildQuery(e);else{if(!Ay.isObject(e))return"Cannot read body of type "+typeof e;try{t=JSON.stringify(e)}catch(HS){return"Failed to stringify response object"}}return Cw(t)}function Iw(e){return new Promise(function(t){var n=setTimeout(function(){t("Timeout while trying to read body")},500);try{e.clone().text().then(function(e){clearTimeout(n),t(Cw(e))},function(e){clearTimeout(n),t("Failed to read body: "+String(e))})}catch(HS){clearTimeout(n),t("Failed to read body: "+String(HS))}})}function Ow(e,t,n,r,i,a){if(void 0===a&&(a=0),a>10)return bw.error("Cannot find performance entry"),Promise.resolve(null);var o=function(e,t){for(var n=e.length-1;n>=0;n-=1)if(t(e[n]))return e[n]}(e.performance.getEntriesByName(n),function(e){return _w(e)&&e.initiatorType===t&&(!r||e.startTime>=r)&&(!i||e.startTime<=i)});return o?Promise.resolve(o):new Promise(function(e){setTimeout(e,50*a)}).then(function(){return Ow(e,t,n,r,i,a+1)})}function jw(e,t,n){if(!("performance"in t))return function(){};var r=Object.assign({},kw.recordHeaders,n.recordHeaders||{}),i=Object.assign({},kw.recordBodyUrls,n.recordBodyUrls||{});n=Object.assign({},n,{recordHeaders:r,recordBodyUrls:i});var a=Object.assign({},kw,n),o=function(t){var n=t.requests.filter(function(e){return!Qy(e.url,a.ignoreRequestUrls||[])&&!a.ignoreRequestFn(e)});(n.length>0||t.isInitial)&&e(Object.assign({},t,{requests:n}))},s=function(e,t,n){if(!t.PerformanceObserver)return bw.error("PerformanceObserver not supported"),function(){};if(n.recordInitialRequests){var r=t.performance.getEntries().filter(function(e){return function(e){return"navigation"===e.entryType}(e)||_w(e)&&n.initiatorTypes.includes(e.initiatorType)});e({requests:r.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:ww(t)}}),isInitial:!0})}var i=new t.PerformanceObserver(function(r){var i=r.getEntries().filter(function(e){return _w(e)&&n.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:ww(t)}})})});return i.observe({entryTypes:["navigation","resource"]}),function(){i.disconnect()}}(o,t,a),l=function(e,t,n){if(!n.initiatorTypes.includes("xmlhttprequest"))return function(){};var r=Sw(t.XMLHttpRequest.prototype,"open",function(r){return function(i,a,o,s,l){void 0===o&&(o=!0);var u,c,d=this,p=new Request(a,{method:i}),h={},f={},m=d.setRequestHeader.bind(d);d.setRequestHeader=function(e,t){return Tw("request",n.recordHeaders,e)&&(f[e]=t),m(e,t)},h.requestHeaders=f;var g=d.send.bind(d);d.send=function(e){return Ew("request",n.recordBodyUrls,p.url)&&(h.requestBody=Aw(e)),u=t.performance.now(),g(e)},d.addEventListener("readystatechange",function(){if(d.readyState===d.DONE){c=t.performance.now();var r={},i=d.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),a=e.substring(t+2);i&&Tw("response",n.recordHeaders,i)&&(r[i]=a)}}}),h.responseHeaders=r,Ew("response",n.recordBodyUrls,p.url)&&(h.responseBody=Aw(d.response)),Ow(t,"xmlhttprequest",p.url,u,c).then(function(n){if(n){var r={url:n.name,method:p.method,initiatorType:n.initiatorType,status:d.status,startTime:Math.round(n.startTime),endTime:Math.round(n.responseEnd),timeOrigin:ww(t),requestHeaders:h.requestHeaders,requestBody:h.requestBody,responseHeaders:h.responseHeaders,responseBody:h.responseBody};e({requests:[r]})}else bw.error("Failed to get performance entry for XHR request to "+p.url)}).catch(function(e){bw.error("Error recording XHR request to "+p.url+": "+String(e))})}}),r.call(d,i,a,o,s,l)}});return function(){r()}}(o,t,a),u=function(e,t,n){if(!n.initiatorTypes.includes("fetch"))return function(){};var r=Sw(t,"fetch",function(r){return function(){var i,a,o,s,l=new Request
2(arguments[0],arguments[1]),u={},c=Promise.resolve(void 0),d=Promise.resolve(void 0);try{var p={};l.headers.forEach(function(e,t){Tw("request",n.recordHeaders,t)&&(p[t]=e)}),u.requestHeaders=p,Ew("request",n.recordBodyUrls,l.url)&&(c=Iw(l).then(function(e){u.requestBody=e})),a=t.performance.now(),s=r.apply(t,arguments).then(function(e){i=e,o=t.performance.now();var r={};return i.headers.forEach(function(e,t){Tw("response",n.recordHeaders,t)&&(r[t]=e)}),u.responseHeaders=r,Ew("response",n.recordBodyUrls,l.url)&&(d=Iw(i).then(function(e){u.responseBody=e})),i})}catch(HS){s=Promise.reject(HS)}return Promise.all([c,d,s]).then(function(){return Ow(t,"fetch",l.url,a,o)}).then(function(n){if(n){var r={url:n.name,method:l.method,initiatorType:n.initiatorType,status:i?i.status:void 0,startTime:Math.round(n.startTime),endTime:Math.round(n.responseEnd),timeOrigin:ww(t),requestHeaders:u.requestHeaders,requestBody:u.requestBody,responseHeaders:u.responseHeaders,responseBody:u.responseBody};e({requests:[r]})}else bw.error("Failed to get performance entry for fetch request to "+l.url)}).catch(function(e){bw.error("Error recording fetch request to "+l.url+": "+String(e))}),s}});return function(){r()}}(o,t,a);return function(){s(),l(),u()}}var Rw=jy("recorder"),Pw=gr.CompressionStream,Nw={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},Mw=new Set([Mp.MouseMove,Mp.MouseInteraction,Mp.Scroll,Mp.ViewportResize,Mp.Input,Mp.TouchMove,Mp.MediaInteraction,Mp.Drag,Mp.Selection]);var Lw=function(e){this._mixpanel=e.mixpanelInstance,this._onIdleTimeout=e.onIdleTimeout||Yy,this._onMaxLengthReached=e.onMaxLengthReached||Yy,this._onBatchSent=e.onBatchSent||Yy,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=ly,this.recordMinMs=0,this._recordMinMsCheckStart=null;var t=Dy(e.sharedLockStorage||zy(),!0)&&!this.getConfig("disable_persistence");this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new Zy(eb,tb,rb),this.batcher=new Cb(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:Nw,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:e.sharedLockStorage,usePersistence:t,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:250,sharedLockTimeoutMS:1e4})};Lw.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 n=this._mixpanel.get_property("$user_id");return n&&(e.$user_id=n),e},Lw.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.queueStorage.init().catch(function(){this.reportError("Error initializing IndexedDB storage for unloading persisted data.")}.bind(this)).then(function(){return this.getDurationMs()<this._getRecordMinMs()?this.queueStorage.removeItem(this.batcherKey):this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))}.bind(this))},Lw.prototype.getConfig=function(e){return this._mixpanel.get_config(e)},Lw.prototype.get_config=function(e){return this.getConfig(e)},Lw.prototype.startRecording=function(e){if(null!==this._rrwebRecord)if(null===this._stopRecording){this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>ly&&(this.recordMaxMs=ly,Rw.critical("record_max_ms cannot be greater than "+ly+"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=Ay.info.currentUrl(),this.replayStartUrl=Ay.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 n=this.getConfig("record_block_selector");""!==n&&null!==n||(n=void 0);var r=function(e){var t={input:{maskingSelector:"",unmaskingSelector:"",maskAll:!0},text:{maskingSelector:"",unmaskingSelector:"",maskAll:!0}},n=e.get_config("record_mask_input_selector"),r=e.get_config("record_unmask_input_selector"),i=e.get_config("record_mask_all_inputs");t.input.maskingSelector=mw(n).join(","),t.input.unmaskingSelector=mw(r).join(","),void 0!==i&&(t.input.maskAll=i);var a=e.get_config("record_mask_text_selector"),o=e.get_config("record_unmask_text_selector"),s=e.get_config("record_mask_all_text"),l=e.get_config("record_mask_text_class"),u=mw(a);if(l)if(l instanceof RegExp)t.text._legacyClassRegex=l;else{var c="."+l;-1===u.indexOf(c)&&u.push(c)}return t.text.maskingSelector=u.join(","),t.text.unmaskingSelector=mw(o).join(","),void 0===s&&void 0!==a?t.text.maskAll=!1:void 0!==s&&(t.text.maskAll=s),t}(this._mixpanel),i=[];if(this.getConfig("record_network")){var a=this.getConfig("record_network_options")||{},o=(a.ignoreRequestUrls||[]).slice();o.push(this._getApiRoute()),a.ignoreRequestUrls=o,i.push(function(e){return{name:"rrweb/[email protected]",observer:jw,options:e}}(a))}this.getConfig("record_console")&&i.push(function(e){return{name:"rrweb/console@1",observer:Uv,options:e}}({stringifyOptions:{stringLengthLimit:1e3,numOfKeysLimit:50,depthOfLimit:2}}));var s=Eb(this.getConfig("record_allowed_iframe_origins"),Rw);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===Np.IncrementalSnapshot&&Mw.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:n,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextSelector:"*",maskInputFn:this._getMaskFn(vw,r),maskTextFn:this._getMaskFn(yw,r),recordCrossOriginIframes:s.length>0,allowedIframeOrigins:s,recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15},plugins:i})}catch(qS){this.reportError("Unexpected error when starting rrweb recording.",qS)}if("function"!==typeof this._stopRecording)return this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,void this.stopRecording();var l=this.maxExpires-(new Date).getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),l)}else Rw.log("Recording already in progress, skipping startRecording.");else this.reportError("rrweb record function not provided. ")},Lw.prototype.stopRecording=function(e){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(qS){this.reportError("Error with rrweb stopRecording",qS)}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},Lw.prototype.isRrwebStopped=function(){return null===this._stopRecording},Lw.prototype.flushEventsWithOptOut=function(e,t,n){var r=function(e){0===e&&(this.stopRecording(),n({error:"Tracking has been opted out, stopping recording."}))}.bind(this);this._flushEvents(e,t,n,r)},Lw.prototype.serialize=function(){var e;try{e=this._mixpanel.get_tab_id()}catch(HS){this.reportError("Error getting tab ID for serialization ",HS),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}},Lw.deserialize=function(e,t){return new Lw(Ay.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}))},Lw.prototype._getApiRoute=function(){return this.getConfig("api_routes").record},Lw.prototype._sendRequest=function(e,t,n,r){var i=function(t,n){200===t.status&&this.replayId===e&&(this.seqNo++,this.batchStartUrl=Ay.info.currentUrl()),this._onBatchSent(),r({status:0,httpStatusCode:t.status,responseBody:n,retryAfter:t.headers.get("Retry-After")})}.bind(this),a=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");gr.fetch(a+"/"+this._getApiRoute()+"?"+new URLSearchParams(t),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:n}).then(function(e){e.json().then(function(t){i(e,t)}).catch(function(e){r({error:e})})}).catch(function(e){r({error:e,httpStatusCode:0})})},Lw.prototype._flushEvents=lb(function(e,t,n){var r=e.length;if(r>0){for(var i=this.replayId,a=1/0,o=-1/0,s=!1,l=0;l<r;l++)a=Math.min(a,e[l].timestamp),o=Math.max(o,e[l].timestamp),e[l].type===Np.FullSnapshot&&(s=!0);if(0===this.seqNo){if(!s)return n({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 u=o-this.replayStartTime,c={$current_url:this.batchStartUrl,$lib_version:yr.LIB_VERSION,batch_start_time:a/1e3,mp_lib:"web",replay_id:i,replay_length_ms:u,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},d=JSON.stringify(e);if(Object.assign(c,this.getUserIdInfo()),function(e,t,n){if(!gr.CompressionStream)return!1;var r=Ay.info.browser(e,t,n),i=Ay.info.browserVersion(e,t,n);return!(("Safari"===r||"Mobile Safari"===r)&&i>=16.4&&i<16.6)}(ky,vy.vendor,by)){var p=new Blob([d],{type:"application/json"}).stream().pipeThrough(new Pw("gzip"));new Response(p).blob().then(function(e){c.format="gzip",this._sendRequest(i,c,e,n)}.bind(this))}else c.format="body",this._sendRequest(i,c,d,n)}}),Lw.prototype.reportError=function(e,t){Rw.error.apply(Rw.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.getConfig("error_reporter")(e,t)}catch(t){Rw.error(t)}},Lw.prototype.getDurationMs=function(){return null===this.replayStartTime?0:null===this.lastEventTimestamp?(new Date).getTime()-this.replayStartTime:this.lastEventTimestamp-this.replayStartTime},Lw.prototype._getRecordMinMs=function(){var e=this.getConfig("record_min_ms");return e>uy?(Rw.critical("record_min_ms cannot be greater than 8000ms. Capping value."),uy):e},Lw.prototype._getMaskFn=function(e,t){return function(n,r){if(!n.trim().length)return"";var i=!0;try{i=e(r,t)}catch(qS){this.reportError("Error checking if text should be masked, defaulting to masked",qS)}if(i){var a=Math.min(n.length,1e4);return"*".repeat(a)}return n}.bind(this)};
2var Dw=function(e){this.idb=new Zy(eb,nb,rb),this.errorReporter=e.errorReporter,this.mixpanelInstance=e.mixpanelInstance,this.sharedLockStorage=e.sharedLockStorage};Dw.prototype.isPersistenceEnabled=function(){return!this.mixpanelInstance.get_config("disable_persistence")},Dw.prototype.handleError=function(e){this.errorReporter("IndexedDB error: ",e)},Dw.prototype.setActiveRecording=function(e){if(!this.isPersistenceEnabled())return oy.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."),oy.resolve())},Dw.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 Tb(e)?null:e}.bind(this)).catch(this.handleError.bind(this)):oy.resolve(null)},Dw.prototype.clearActiveRecording=function(){return this.isPersistenceEnabled()?this.markActiveRecordingExpired():this.deleteActiveRecording()},Dw.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))},Dw.prototype.deleteActiveRecording=function(){return this.idb.isInitialized()?this.idb.removeItem(this.mixpanelInstance.get_tab_id()).catch(this.handleError.bind(this)):oy.resolve()},Dw.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 Tb(e)}).map(function(e){return Lw.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 oy.all(t)}.bind(this)).catch(this.handleError.bind(this)):oy.resolve([])};var Vw=jy("recorder"),Fw=function(e,t,n){this.mixpanelInstance=e,this.rrwebRecord=t||Fh,this.sharedLockStorage=n,this.recordingRegistry=new Dw({mixpanelInstance:this.mixpanelInstance,errorReporter:Vw.error,sharedLockStorage:n}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};function zw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}Fw.prototype.startRecording=function(e){if(e=e||{},!this.activeRecording||this.activeRecording.isRrwebStopped()){var t=function(){Vw.log("Idle timeout reached, restarting recording."),this.resetRecording()}.bind(this),n=function(){Vw.log("Max recording length reached, stopping recording."),this.resetRecording()}.bind(this),r=function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}.bind(this),i={mixpanelInstance:this.mixpanelInstance,onBatchSent:r,onIdleTimeout:t,onMaxLengthReached:n,replayId:Ay.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return e.activeSerializedRecording?this.activeRecording=Lw.deserialize(e.activeSerializedRecording,i):this.activeRecording=new Lw(i),this.activeRecording.startRecording(e.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())}Vw.log("Recording already in progress, skipping startRecording.")},Fw.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))},Fw.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)},Fw.prototype._stopCurrentRecording=function(e,t){if(this.activeRecording){var n=this.activeRecording.stopRecording(e);return t&&(this.activeRecording=null),n}return oy.resolve()},Fw.prototype.resumeRecording=function(e){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),oy.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(t){return t&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:t}):e?this.startRecording({shouldStopBatcher:!1}):(Vw.log("No resumable recording found."),null)}.bind(this))},Fw.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})},Fw.prototype.isRecording=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()},Fw.prototype.getActiveReplayId=function(){return this.isRecording()?this.activeRecording.replayId:null},Object.defineProperty(Fw.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),gr[wr]=Fw;var Hw,qw={exports:{}};var Uw=(Hw||(Hw=1,qw.exports=function(){function e(e){for(var t=[],n=0,r=e.length;n<r;
2n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var t={},n={"==":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,n){return void 0===n?e<t:e<t&&t<n},"<=":function(e,t,n){return void 0===n?e<=t:e<=t&&t<=n},"!!":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||"undefined"===typeof t.indexOf)&&-1!==t.indexOf(e)},cat:function(){return Array.prototype.join.call(arguments,"")},substr:function(e,t,n){if(n<0){var r=String(e).substr(t);return r.substr(0,r.length+n)}return String(e).substr(t,n)},"+":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 n=void 0===t?null:t,r=this;if("undefined"===typeof e||""===e||null===e)return r;for(var i=String(e).split("."),a=0;a<i.length;a++){if(null===r||void 0===r)return n;if(void 0===(r=r[i[a]]))return n}return r},missing:function(){for(var e=[],n=Array.isArray(arguments[0])?arguments[0]:arguments,r=0;r<n.length;r++){var i=n[r],a=t.apply({var:i},this);null!==a&&""!==a||e.push(i)}return e},missing_some:function(e,n){var r=t.apply({missing:n},this);return n.length-r.length>=e?[]:r}};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,r){if(Array.isArray(e))return e.map(function(e){return t.apply(e,r)});if(!t.is_logic(e))return e;var i,a,o,s,l,u=t.get_operator(e),c=e[u];if(Array.isArray(c)||(c=[c]),"if"===u||"?:"==u){for(i=0;i<c.length-1;i+=2)if(t.truthy(t.apply(c[i],r)))return t.apply(c[i+1],r);return c.length===i+1?t.apply(c[i],r):null}if("and"===u){for(i=0;i<c.length;i+=1)if(a=t.apply(c[i],r),!t.truthy(a))return a;return a}if("or"===u){for(i=0;i<c.length;i+=1)if(a=t.apply(c[i],r),t.truthy(a))return a;return a}if("filter"===u)return s=t.apply(c[0],r),o=c[1],Array.isArray(s)?s.filter(function(e){return t.truthy(t.apply(o,e))}):[];if("map"===u)return s=t.apply(c[0],r),o=c[1],Array.isArray(s)?s.map(function(e){return t.apply(o,e)}):[];if("reduce"===u)return s=t.apply(c[0],r),o=c[1],l="undefined"!==typeof c[2]?t.apply(c[2],r):null,Array.isArray(s)?s.reduce(function(e,n){return t.apply(o,{current:n,accumulator:e})},l):l;if("all"===u){if(s=t.apply(c[0],r),o=c[1],!Array.isArray(s)||!s.length)return!1;for(i=0;i<s.length;i+=1)if(!t.truthy(t.apply(o,s[i])))return!1;return!0}if("none"===u){if(s=t.apply(c[0],r),o=c[1],!Array.isArray(s)||!s.length)return!0;for(i=0;i<s.length;i+=1)if(t.truthy(t.apply(o,s[i])))return!1;return!0}if("some"===u){if(s=t.apply(c[0],r),o=c[1],!Array.isArray(s)||!s.length)return!1;for(i=0;i<s.length;i+=1)if(t.truthy(t.apply(o,s[i])))return!0;return!1}if(c=c.map(function(e){return t.apply(e,r)}),n.hasOwnProperty(u)&&"function"===typeof n[u])return n[u].apply(r,c);if(u.indexOf(".")>0){var d=String(u).split("."),p=n;for(i=0;i<d.length;i++){if(!p.hasOwnProperty(d[i]))throw new Error("Unrecognized operation "+u+" (failed at "+d.slice(0,i+1).join(".")+")");p=p[d[i]]}return p.apply(r,c)}throw new Error("Unrecognized operation "+u)},t.uses_data=function(n){var r=[];if(t.is_logic(n)){var i=t.get_operator(n),a=n[i];Array.isArray(a)||(a=[a]),"var"===i?r.push(a[0]):a.forEach(function(e){r.push.apply(r,t.uses_data(e))})}return e(r)},t.add_operation=function(e,t){n[e]=t},t.rm_operation=function(e){delete n[e]},t.rule_like=function(e,n){if(n===e)return!0;
2if("@"===n)return!0;if("number"===n)return"number"===typeof e;if("string"===n)return"string"===typeof e;if("array"===n)return Array.isArray(e)&&!t.is_logic(e);if(t.is_logic(n)){if(t.is_logic(e)){var r=t.get_operator(n),i=t.get_operator(e);if("@"===r||r===i)return t.rule_like(t.get_values(e,!1),t.get_values(n,!1))}return!1}if(Array.isArray(n)){if(Array.isArray(e)){if(n.length!==e.length)return!1;for(var a=0;a<n.length;a+=1)if(!t.rule_like(e[a],n[a]))return!1;return!0}return!1}return!1},t}()),qw.exports),Bw=zw(Uw),Ww={eventMatchesCriteria:function(e,t,n){if(e!==n.event_name)return{matches:!1};var r=n.property_filters,i=!0;if(r&&!Ay.isEmptyObject(r))try{i=Bw.apply(r,t||{})}catch(a){return{matches:!1,error:a.toString()}}return{matches:i}}};gr[br]=Promise.resolve(Ww);function Kw(){this.clicks=[]}function $w(e,t){this.changeCallback=e||function(){},this.observerConfig=t,this.observedShadowRoots=null,this.shadowObservers=[]}Kw.prototype.isRageClick=function(e,t){var n=(t=t||{}).threshold_px||30,r=t.timeout_ms||1e3,i=t.click_count||4;if(t.interactive_elements_only||false){var a=pw(e);if(!a||cw(a))return!1}var o=Date.now(),s=e.pageX,l=e.pageY,u=this.clicks[this.clicks.length-1];if(u&&o-u.timestamp<r&&Math.sqrt(Math.pow(s-u.x,2)+Math.pow(l-u.y,2))<n){if(this.clicks.push({x:s,y:l,timestamp:o}),this.clicks.length>=i)return this.clicks=[],!0}else this.clicks=[{x:s,y:l,timestamp:o}];return!1},$w.prototype.getEventTarget=function(e){if(this.observedShadowRoots)return pw(e)},$w.prototype.observeFromEvent=function(e){if(this.observedShadowRoots)for(var t=dw(e),n=0;n<t.length;n++){var r=t[n];r&&r.shadowRoot&&this.observeShadowRoot(r.shadowRoot)}},$w.prototype.observeShadowRoot=function(e){if(this.observedShadowRoots&&!this.observedShadowRoots.has(e)){var t=this;try{this.observedShadowRoots.add(e);var n=new window.MutationObserver(function(){t.changeCallback()});n.observe(e,this.observerConfig),this.shadowObservers.push(n)}catch(HS){$b.critical("Error while observing shadow root",HS)}}},$w.prototype.start=function(){this.observedShadowRoots||("undefined"!==typeof WeakSet?this.observedShadowRoots=new WeakSet:$b.critical("Shadow DOM observation unavailable: WeakSet not supported"))},$w.prototype.stop=function(){if(this.observedShadowRoots){for(var e=0;e<this.shadowObservers.length;e++)try{this.shadowObservers[e].disconnect()}catch(HS){$b.critical("Error while disconnecting shadow DOM observer",HS)}this.shadowObservers=[],this.observedShadowRoots=null}};var Gw=[Ab,"input",Lb,"select","toggle"],Yw=[Nb],Qw=[Ob],Jw={characterData:!0,childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class","hidden","checked","selected","value","display","visibility"]};function Xw(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}Xw.prototype.addClick=function(e){var t=this.shadowDOMObserver&&this.shadowDOMObserver.getEventTarget(e);return t||(t=e.target||e.srcElement),!(!t||cw(t))&&(this.shadowDOMObserver&&this.shadowDOMObserver.observeFromEvent(e),this.pendingClicks.push({element:t,event:e,timestamp:Date.now()}),!0)},Xw.prototype.trackClick=function(e,t){if(!this.isTracking)return!1;var n=this.addClick(e);return n&&this.triggerProcessing(t),n},Xw.prototype.getDeadClicks=function(e){if(0===this.pendingClicks.length)return[];var t=e.timeout_ms,n=Date.now(),r=this.pendingClicks.slice();this.pendingClicks=[];for(var i=[],a=0;a<r.length;a++){var o=r[a];n-o.timestamp>=t?this.hasChangesAfter(o.timestamp)||i.push(o):this.pendingClicks.push(o)}return i},Xw.prototype.hasChangesAfter=function(e){return this.lastChangeEventTimestamp>=e-100},Xw.prototype.recordChangeEvent=function(){this.lastChangeEventTimestamp=Date.now()},Xw.prototype.triggerProcessing=function(e){this.processingActive||(this.processingActive=!0,this.processRecursively(e))},Xw.prototype.processRecursively=function(e){if(this.isTracking&&this.onDeadClickCallback){var t=e.timeout_ms,n=this;this.processingTimeout=setTimeout(function(){if(n.processingActive){for(var t=n.getDeadClicks(e),r=0;r<t.length;r++)n.onDeadClickCallback(t[r].event);n.pendingClicks.length>0?n.processRecursively(e):n.processingActive=!1}},t)}else this.processingActive=!1},Xw.prototype.startTracking=function(){if(!this.isTracking){this.isTracking=!0;var e=this;
vendor: 4,395 bytes, line 2
2Gw.forEach(function(t){var n=function(){e.recordChangeEvent()};document.addEventListener(t,n,{capture:!0,passive:!0}),e.eventListeners.push({target:document,event:t,handler:n,options:{capture:!0,passive:!0}})}),Qw.forEach(function(t){var n=function(){e.recordChangeEvent()};window.addEventListener(t,n),e.eventListeners.push({target:window,event:t,handler:n})}),Yw.forEach(function(t){var n=function(){e.recordChangeEvent()};window.addEventListener(t,n,{passive:!0}),e.eventListeners.push({target:window,event:t,handler:n,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,Jw)}catch(HS){$b.critical("Error while setting up mutation observer",HS)}if(window.customElements)try{this.shadowDOMObserver=new $w(function(){e.recordChangeEvent()},Jw),this.shadowDOMObserver.start()}catch(HS){$b.critical("Error while setting up shadow DOM observer",HS),this.shadowDOMObserver=null}}},Xw.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(HS){$b.critical("Error while removing event listener",HS)}}if(this.eventListeners=[],this.mutationObserver){try{this.mutationObserver.disconnect()}catch(HS){$b.critical("Error while disconnecting mutation observer",HS)}this.mutationObserver=null}if(this.shadowDOMObserver){try{this.shadowDOMObserver.stop()}catch(HS){$b.critical("Error while stopping shadow DOM observer",HS)}this.shadowDOMObserver=null}}};var Zw="autocapture",ek="full-url",tk="allow_selectors",nk="allow_url_regexes",rk="block_attrs",ik="block_element_callback",ak="block_selectors",ok="block_url_regexes",sk="capture_extra_attrs",lk="capture_text_content",uk="scroll_capture_all",ck="scroll_depth_percent_checkpoints",dk="click",pk="dead_click",hk="input",fk="pageview",mk="rage_click",gk="scroll",vk="page_leave",yk="submit",bk={};bk[tk]=[],bk[nk]=[],bk[rk]=[],bk[ik]=null,bk[ak]=[],bk[ok]=[],bk[sk]=[],bk[lk]=!1,bk[uk]=!1,bk[ck]=[25,50,75,100],bk[dk]=!0,bk[pk]=!0,bk[hk]=!0,bk[fk]=ek,bk[mk]=!0,bk[gk]=!0,bk[vk]=!1,bk[yk]=!0;var wk={$mp_autocapture:!0},kk="$mp_click",_k="$mp_dead_click",Sk="$mp_rage_click",xk=function(e){this.mp=e,this.maxScrollViewDepth=0,this.hasTrackedScrollSession=!1,this.previousScrollHeight=0};xk.prototype.init=function(){!function(){try{return!!yy.createElement("div").matches}catch(qS){return!1}}()?$b.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())},xk.prototype.getFullConfig=function(){var e=this.mp.get_config(Zw);return e?Ay.isObject(e)?Ay.extend({},bk,e):bk:{}},xk.prototype.getConfig=function(e){return this.getFullConfig()[e]},xk.prototype.currentUrlBlocked=function(){var e=Ay.info.currentUrl(),t=this.getConfig(nk)||[];if(t.length)try{return!Qy(e,t)}catch(qS){return $b.critical("Error while checking block URL regexes: ",qS),!0}var n=this.getConfig(ok)||[];if(!n||!n.length)return!1;try{return Qy(e,n)}catch(qS){return $b.critical("Error while checking block URL regexes: ",qS),!0}},xk.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(Zw)?this.getConfig(fk):this.mp.get_config("track_pageview")},xk.prototype.trackDomEvent=function(e,t){if(!this.currentUrlBlocked()){var n=this.mp.is_recording_heatmap_data()&&(t===kk&&!this.getConfig(dk)||t===Sk&&!this._getClickTrackingConfig(mk)||t===_k&&!this._getClickTrackingConfig(pk)),r=Xb(e,{allowElementCallback:this.getConfig("allow_element_callback"),allowSelectors:this.getConfig(tk),blockAttrs:this.getConfig(rk),blockElementCallback:this.getConfig(ik),blockSelectors:this.getConfig(ak),captureExtraAttrs:this.getConfig(sk),captureTextContent:this.getConfig(lk),captured
2ForHeatMap:n});r&&(Ay.extend(r,wk),this.mp.track(t,r))}},xk.prototype.initPageListeners=function(){if(gr.removeEventListener(Pb,this.listenerPopstate),gr.removeEventListener(Ob,this.listenerHashchange),this.pageviewTrackingConfig()||this.getConfig(vk)||this.mp.get_config("record_heatmap_data")){this.listenerPopstate=function(){gr.dispatchEvent(new Event(Rb))},this.listenerHashchange=function(){gr.dispatchEvent(new Event(Rb))},gr.addEventListener(Pb,this.listenerPopstate),gr.addEventListener(Ob,this.listenerHashchange);var e=gr.history.pushState;"function"===typeof e&&(gr.history.pushState=function(t,n,r){e.call(gr.history,t,n,r),gr.dispatchEvent(new Event(Rb))});var t=gr.history.replaceState;"function"===typeof t&&(gr.history.replaceState=function(e,n,r){t.call(gr.history,e,n,r),gr.dispatchEvent(new Event(Rb))})}},xk.prototype._getClickTrackingConfig=function(e){var t=this.getConfig(e);return t?!0===t?{}:"object"===typeof t?t:{}:null},xk.prototype._trackPageLeave=function(e,t,n){if(!this.hasTrackedScrollSession&&(this.getConfig(vk)||this.mp.is_recording_heatmap_data())){this.hasTrackedScrollSession=!0;var r=Math.max(yy.documentElement.clientHeight,gr.innerHeight||0),i=Math.round(Math.max(this.maxScrollViewDepth-r,0)/(n-r)*100),a=Math.round(r/n*100);n<=r&&(i=100,a=100);var o=Ay.extend({$max_scroll_view_depth:this.maxScrollViewDepth,$max_scroll_percentage:i,$fold_line_percentage:a,$scroll_height:n,$event_type:e.type,$current_url:t||Ay.info.currentUrl(),$viewportHeight:r,$viewportWidth:Math.max(yy.documentElement.clientWidth,gr.innerWidth||0),$captured_for_heatmap:this.mp.is_recording_heatmap_data()},wk);this.mp.track("$mp_page_leave",o,{transport:"sendBeacon"})}},xk.prototype._initScrollDepthTracking=function(){if(gr.removeEventListener(Mb,this.listenerScrollDepth),gr.removeEventListener(Nb,this.listenerScrollDepth),this.mp.get_config("record_heatmap_data")){$b.log("Initializing scroll depth tracking"),this.maxScrollViewDepth=Math.max(yy.documentElement.clientHeight,gr.innerHeight||0);var e=lw(function(){if(!this.currentUrlBlocked()){var e=Math.max(yy.documentElement.clientHeight,gr.innerHeight||0)+gr.scrollY;e>this.maxScrollViewDepth&&(this.maxScrollViewDepth=e),this.previousScrollHeight=yy.body.scrollHeight}}.bind(this));this.listenerScrollDepth=e.listener,gr.addEventListener(e.eventType,this.listenerScrollDepth)}},xk.prototype.initClickTracking=function(){gr.removeEventListener(Ib,this.listenerClick,!0),(this.getConfig(dk)||this.mp.get_config("record_heatmap_data"))&&($b.log("Initializing click tracking"),this.listenerClick=function(e){(this.getConfig(dk)||this.mp.is_recording_heatmap_data())&&this.trackDomEvent(e,kk)}.bind(this),gr.addEventListener(Ib,this.listenerClick,!0))},xk.prototype.initDeadClickTracking=function(){this._getClickTrackingConfig(pk)||this.mp.get_config("record_heatmap_data")?($b.log("Initializing dead click tracking"),this._deadClickTracker||(this._deadClickTracker=new Xw(function(e){this.trackDomEvent(e,_k)}.bind(this)),this._deadClickTracker.startTracking()),this.listenerDeadClick||(this.listenerDeadClick=function(e){var t=this._getClickTrackingConfig(pk);if((t||this.mp.is_recording_heatmap_data())&&!this.currentUrlBlocked()){var n=t||{};n.timeout_ms||(n.timeout_ms=500),this._deadClickTracker.trackClick(e,n)}}.bind(this),gr.addEventListener(Ib,this.listenerDeadClick,!0))):this.stopDeadClickTracking()},xk.prototype.initInputTracking=function(){gr.removeEventListener(Ab,this.listenerChange,!0),this.getConfig(hk)&&($b.log("Initializing input tracking"),this.listenerChange=function(e){this.getConfig(hk)&&this.trackDomEvent(e,"$mp_input_change")}.bind(this),gr.addEventListener(Ab,this.listenerChange,!0))},xk.prototype.initPageviewTracking=function(){if(gr.removeEventListener(Rb,this.listenerLocationchange),this.pageviewTrackingConfig()||this.mp.get_config("record_heatmap_data")){$b.log("Initializing pageview tracking");var e="",t=!1;!this.pageviewTrackingConfig()&&!this.mp.is_recording_heatmap_data()||this.currentUrlBlocked()||(t=this.mp.track_pageview(wk)),t&&(e=Ay.info.currentUrl()),this.listenerLocationchange=Ry(function(){if(!this.currentUrlBlocked()){var t=Ay.info.currentUrl(),n=!1,r=t.split("#")[0].split("?")[0]!==e.split("#")[0].split("?")[0],i=this.pageviewTrackingConfig();if(!i&&this.mp.is_recording_heatmap_data()&&(i=ek),i===ek?n=t!==e:"url-with-path-and-query-string"===i?n=t.split("#")[0]!==e.split("#")[0]:"url-with-path"===i&&(n=r),n)this.mp.track_pageview(wk)&&(e=t),r&&(this.lastScrollCheckpoint=0,$b.log("Path change: re-initializing scroll depth checkpoints"))}}.bind(this)),gr.addEventListener(Rb,this.listenerLocationchange)}},xk.prototype.initRageClickTracking=function(){gr.removeEventListener(Ib,this.listenerRageClick,!0),(this._getClickTrackingConfig(mk)||this.mp.get_config("record_heatmap_data"))&&($b.log("Initializing rage click tracking"),this._rageClickTracker||(this._rageClickTracker=new Kw),this.listenerRageClick=function(e){var t=this._getClickTrackingConfig(mk);(t||this.mp.is_recording_heatmap_data())&&(this.currentUrlBlocked()||this._rageClickTracker.isRageClick(e,t)&&this.trackDomEvent(e,Sk))}.bind(this),gr.addEventListener(Ib,this.listenerRageClick,!0))},xk.prototype.initScrollTracking=function(){if(gr.removeEventListener(Nb,this.listenerScroll),gr.removeEventListener(Mb,this.listenerScroll),this.getConfig(gk)){$b.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0;var e=lw(function(){if(this.getConfig(gk)&&!this.currentUrlBlocked()){var e=this.getConfig(uk),t=(this.getConfig(ck)||[]).slice().sort(function(e,t){return e-t}
2),n=gr.scrollY,r=Ay.extend({$scroll_top:n},wk);try{var i=yy.body.scrollHeight,a=Math.round(n/(i-gr.innerHeight)*100);if(r.$scroll_height=i,r.$scroll_percentage=a,a>this.lastScrollCheckpoint)for(var o=0;o<t.length;o++){var s=t[o];a>=s&&this.lastScrollCheckpoint<s&&(r.$scroll_checkpoint=s,this.lastScrollCheckpoint=s,e=!0)}}catch(qS){$b.critical("Error while calculating scroll percentage",qS)}e&&this.mp.track("$mp_scroll",r)}}.bind(this));this.listenerScroll=e.listener,gr.addEventListener(e.eventType,this.listenerScroll)}},xk.prototype.initSubmitTracking=function(){gr.removeEventListener(Lb,this.listenerSubmit,!0),this.getConfig(yk)&&($b.log("Initializing submit tracking"),this.listenerSubmit=function(e){this.getConfig(yk)&&this.trackDomEvent(e,"$mp_submit")}.bind(this),gr.addEventListener(Lb,this.listenerSubmit,!0))},xk.prototype.initPageLeaveTracking=function(){if(yy.removeEventListener(Db,this.listenerPageLeaveVisibilitychange),gr.removeEventListener(Rb,this.listenerPageLeaveLocationchange),gr.removeEventListener(jb,this.listenerPageLoad),this.getConfig(vk)||this.mp.get_config("record_heatmap_data")){$b.log("Initializing page visibility tracking."),this._initScrollDepthTracking();var e=Ay.info.currentUrl();this.listenerPageLoad=function(){this.previousScrollHeight=yy.body.scrollHeight}.bind(this),gr.addEventListener(jb,this.listenerPageLoad),this.listenerPageLeaveLocationchange=Ry(function(t){if(!this.currentUrlBlocked()){var n=Ay.info.currentUrl();n!==e&&(this._trackPageLeave(t,e,this.previousScrollHeight),e=n,this.maxScrollViewDepth=Math.max(yy.documentElement.clientHeight,gr.innerHeight||0),this.previousScrollHeight=yy.body.scrollHeight,this.hasTrackedScrollSession=!1)}}.bind(this)),gr.addEventListener(Rb,this.listenerPageLeaveLocationchange),this.listenerPageLeaveVisibilitychange=function(t){yy.hidden&&this._trackPageLeave(t,e,this.previousScrollHeight)}.bind(this),yy.addEventListener(Db,this.listenerPageLeaveVisibilitychange)}},xk.prototype.stopDeadClickTracking=function(){this.listenerDeadClick&&(gr.removeEventListener(Ib,this.listenerDeadClick,!0),this.listenerDeadClick=null),this._deadClickTracker&&(this._deadClickTracker.stopTracking(),this._deadClickTracker=null)},Py(xk);var Ck=function(e,t){return gr[br]&&"function"===typeof gr[br].then||(gr[br]=new Promise(function(n){e(t,n)}).then(function(){var e=gr[br];if(e&&"function"===typeof e.then)return e;throw new Error("targeting failed to load")}).catch(function(e){throw delete gr[br],e})),gr[br]},Tk=jy("flags"),Ek="mixpanelFlags",Ak={version:1,storeNames:[Ek]},Ik=864e5,Ok=Object.freeze({NETWORK_ONLY:"networkOnly",NETWORK_FIRST:"networkFirst",PERSISTENCE_UNTIL_NETWORK_SUCCESS:"persistenceUntilNetworkSuccess"}),jk=[Ok.NETWORK_ONLY,Ok.NETWORK_FIRST,Ok.PERSISTENCE_UNTIL_NETWORK_SUCCESS],Rk=function(e,t,n){this.idb=new Zy("mixpanelFlagsDb",Ek,Ak),this.persistenceConfig=e,this.persistedVariantsKey="persisted_variants_for_"+t,this.isGloballyDisabled=n||function(){return!1}};Rk.prototype.getPolicy=function(){return this.isGloballyDisabled()||!this._isConfigValid()?Ok.NETWORK_ONLY:this.persistenceConfig.variantLookupPolicy},Rk.prototype.getTtlMs=function(){if(!this._isConfigValid())return Ik;var e=this.persistenceConfig.persistenceTtlMs;return void 0===e||null===e?Ik:e},Rk.prototype._isConfigValid=function(){var e=this.persistenceConfig;return!!e&&(-1===jk.indexOf(e.variantLookupPolicy)?(Tk.error("Invalid variantLookupPolicy:",e.variantLookupPolicy),!1):!(void 0!==e.persistenceTtlMs&&null!==e.persistenceTtlMs&&e.persistenceTtlMs<=0)||(Tk.error("If provided, persistenceTtlMs must be a positive number. Provided value:",e.persistenceTtlMs),!1))},Rk.prototype.loadFlagsFromStorage=function(e){var t=Ay.bind(function(){return this.clear().then(function(){return null}).catch(function(){return null})},this);if(this.getPolicy()===Ok.NETWORK_ONLY)return t();var n=this.getTtlMs();return this.idb.init().then(Ay.bind(function(){return this.idb.getItem(this.persistedVariantsKey)},this)).then(Ay.bind(function(r){if(!r)return Tk.log("No persisted variants found in IndexedDB"),null;if(n&&Date.now()-r.persistedAt>=n)return Tk.log("Persisted variants are expiring"),null;if(!e||r.distinctId!==e.distinct_id)return Tk.log("Persisted variants found, but for a different distinct_id so clearing."),t();var i=new Map;return Ay.each(r.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:r.persistedAt,ttl_in_ms:n}
2)}),Tk.log("Loaded",i.size,"variants from IndexedDB for distinct_id",r.distinctId),{flags:i,pendingFirstTimeEvents:r.pendingFirstTimeEvents||{},persistedAtMs:r.persistedAt,ttlMs:n}},this)).catch(Ay.bind(function(e){return Tk.error("Failed to load persisted variants from IndexedDB, so clearing",e),t()},this))},Rk.prototype.save=function(e,t,n){if(this.getPolicy()===Ok.NETWORK_ONLY)return Promise.resolve();var r={};t.forEach(function(e,t){r[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:r,pendingFirstTimeEvents:n||{}};return this.idb.init().then(Ay.bind(function(){return this.idb.setItem(this.persistedVariantsKey,i)},this)).then(function(){Tk.log("Saved",t.size,"variants to IndexedDB for distinct_id",i.distinctId)}).catch(function(e){Tk.error("Failed to persist variants to IndexedDB:",e)})},Rk.prototype.clear=function(){return this.isGloballyDisabled()?Promise.resolve():this.idb.init().then(Ay.bind(function(){return this.idb.removeItem(this.persistedVariantsKey)},this)).then(function(){Tk.log("Cleared persisted variants from IndexedDB")}).catch(function(e){Tk.error("Failed to clear persisted variants from IndexedDB:",e)})};var Pk=jy("flags"),Nk="flags",Mk="context",Lk={};Lk[Mk]={};var Dk=function(e){return Ay.isObject(e)?Ay.extend({},e,{variant_source:"fallback"}):{value:e,variant_source:"fallback"}},Vk=function(e){this.fetch=gr.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 Fk(e){return void 0!==e&&null!==e}Vk.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 Rk(this.getConfig("persistence"),this.getMpConfig("token"),Ay.bind(function(){return this.getMpConfig("disable_persistence")},this)),this.persistenceLoadedPromise=this.persistence.loadFlagsFromStorage(this._buildContext()).then(Ay.bind(function(e){e&&(this.flags=e.flags,this.pendingFirstTimeEvents=e.pendingFirstTimeEvents,this._loadedPersistedAtMs=e.persistedAtMs,this._loadedTtlMs=e.ttlMs)},this)),this.persistenceLoadedPromise.then(Ay.bind(function(){return this.fetchFlags()},this)).catch(function(){Pk.error("Error initializing feature flags")});Pk.critical("Feature Flags unavailable: missing minimum required APIs")},Vk.prototype._buildContext=function(){return Ay.extend({distinct_id:this.getMpProperty("distinct_id"),device_id:this.getMpProperty("$device_id")},this.getConfig(Mk))},Vk.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(Ay.bind(function(){return this.fetchFlags()},this)).catch(function(){Pk.error("Error during flags reset")})):Promise.resolve()},Vk.prototype.getFullConfig=function(){var e=this.getMpConfig(Nk);return e?Ay.isObject(e)?Ay.extend({},Lk,e):Lk:{}},Vk.prototype.getConfig=function(e){return this.getFullConfig()[e]},Vk.prototype.isSystemEnabled=function(){return!!this.getMpConfig(Nk)},Vk.prototype.updateContext=function(e,t){if(!this.isSystemEnabled())return Pk.critical("Feature Flags not enabled, cannot update context"),Promise.resolve();var n=this.getMpConfig(Nk);Ay.isObject(n)||(n={});var r=t&&t.replace?{}:this.getConfig(Mk);n[Mk]=Ay.extend({},r,e);var i={};return i[Nk]=n,this.setMpConfig(i),this.fetchFlags().catch(function(){Pk.error("Error fetching flags during updateContext")})},Vk.prototype.areFlagsReady=function(){return this.isSystemEnabled()||Pk.error("Feature Flags not enabled"),!!this.flags},Vk.prototype.fetchFlags=function(){if(!this.isSystemEnabled())return Promise.resolve();var e=this._buildContext(),t=e.distinct_id,n=Wy();Pk.log("Fetching flags for distinct ID: "+t);
2var r=new URLSearchParams;r.set("context",JSON.stringify(e)),r.set("token",this.getMpConfig("token")),r.set("mp_lib","web"),r.set("$lib_version",yr.LIB_VERSION);var i=this.getFullApiRoute()+"?"+r.toString();return this._fetchInProgressStartTime=Date.now(),this.fetchPromise=this.fetch.call(gr,i,{method:"GET",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:n}}).then(function(e){return this.markFetchComplete(),e.json()}.bind(this)).then(function(t){var r=t.flags;if(!r)throw new Error("No flags in API response");var i=new Map,a={};Ay.each(r,function(e,t){var n=!1,r=t+":";if(Ay.each(this.activatedFirstTimeEvents,function(e,t){t.startsWith(r)&&(n=!0)}),n){var a=this.flags&&this.flags.get(t);a&&i.set(t,a)}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 o=t.pending_first_time_events;o&&o.length>0&&Ay.each(o,function(e){var t=e.flag_key,n=function(e,t){return e+":"+t}(t,e.first_time_event_hash);this.activatedFirstTimeEvents[n]||(a[n]={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&&Ay.each(this.activatedFirstTimeEvents,function(e,t){var n=function(e){return e.split(":")[0]}(t);e&&!i.has(n)&&this.flags&&this.flags.has(n)&&i.set(n,this.flags.get(n))},this),this.flags=i,this.trackedFeatures=new Set,this.pendingFirstTimeEvents=a,this._loadedPersistedAtMs=null,this._loadedTtlMs=null,this._traceparent=n,this._loadTargetingIfNeeded(),this.persistence.save(e,this.flags,this.pendingFirstTimeEvents)}.bind(this)).catch(function(e){throw this._fetchInProgressStartTime&&this.markFetchComplete(),Pk.error(e),e}.bind(this)),this.fetchPromise},Vk.prototype.loadFlags=function(){return this.isSystemEnabled()?this.trackedFeatures?this._fetchInProgressStartTime?this.fetchPromise:this.fetchFlags():(Pk.error("loadFlags called before init"),Promise.resolve()):Promise.resolve()},Vk.prototype.markFetchComplete=function(){this._fetchInProgressStartTime?(this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null):Pk.error("Fetch in progress started time not set, cannot mark fetch complete")},Vk.prototype._loadTargetingIfNeeded=function(){var e=!1;Ay.each(this.pendingFirstTimeEvents,function(t){t.property_filters&&!Ay.isEmptyObject(t.property_filters)&&(e=!0)}),e&&this.getTargeting().then(function(){Pk.log("targeting loaded for property filter evaluation")})},Vk.prototype.getTargeting=function(){return Ck(this.loadExtraBundle.bind(this),this.targetingSrc).catch(function(e){Pk.error("Failed to load targeting: "+e)}.bind(this))},Vk.prototype.checkFirstTimeEvents=function(e,t){this.pendingFirstTimeEvents&&!Ay.isEmptyObject(this.pendingFirstTimeEvents)&&(gr[br]&&Ay.isFunction(gr[br].then)?gr[br].then(function(n){this._processFirstTimeEventCheck(e,t,n)}.bind(this)).catch(function(){this._processFirstTimeEventCheck(e,t,null)}.bind(this)):this._processFirstTimeEventCheck(e,t,null))},Vk.prototype._processFirstTimeEventCheck=function(e,t,n){Ay.each(this.pendingFirstTimeEvents,function(r,i){if(!this.activatedFirstTimeEvents[i]){var a,o=r.flag_key;if(n||!r.property_filters||Ay.isEmptyObject(r.property_filters)){if(n){var s={event_name:r.event_name,property_filters:r.property_filters};a=n.eventMatchesCriteria(e,t,s)}else a={matches:e===r.event_name,error:null};if(a.error)Pk.error('Error checking first-time event for flag "'+o+'": '+a.error);else if(a.matches){Pk.log('First-time event matched for flag "'+o+'": '+e);var l={key:r.pending_variant.variant_key,value:r.pending_variant.variant_value,experiment_id:r.pending_variant.experiment_id,is_experiment_active:r.pending_variant.is_experiment_active};this.flags.set(o,l),this.trackedFeatures.delete(o),this.activatedFirstTimeEvents[i]=!0,this.recordFirstTimeEvent(r.flag_id,r.project_id,r.first_time_event_hash)}}else Pk.warn('Skipping event check for "'+o+'" - property filters require targeting library')}},this)},Vk.prototype.getFirstTimeEventApiRoute=function(e){return this.getFullApiRoute().replace(/\/$/,"")+"/"+e+"/first-time-events"},Vk.prototype.recordFirstTimeEvent=function(e,t,n){var r=this.getMpProperty("distinct_id"),i=Wy(),a=new URLSearchParams;a.set("mp_lib","web"),a.set("$lib_version",yr.LIB_VERSION);var o=this.getFirstTimeEventApiRoute(e)+"?"+a.toString(),s={distinct_id:r,project_id:t,first_time_event_hash:n};Pk.log("Recording first-time event for flag: "+e),this.fetch.call(gr,o,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),traceparent:i},body:JSON.stringify(s)}).catch(function(t){Pk.error("Failed to record first-time event for flag "+e+": "+t)})},Vk.prototype.getVariant=function(e,t){if(!this.persistenceLoadedProm
2ise)return new Promise(function(e){Pk.critical("Feature Flags not initialized"),e(Dk(t))});var n=this.persistence.getPolicy();return this.persistenceLoadedPromise.then(Ay.bind(function(){if(n===Ok.PERSISTENCE_UNTIL_NETWORK_SUCCESS)return this.areFlagsReady()&&!this._loadedPersistenceIsStale()?this.getVariantSync(e,t):this.fetchPromise?this.fetchPromise.then(Ay.bind(function(){return this.getVariantSync(e,t)},this)).catch(function(e){return Pk.error(e),Dk(t)}):Dk(t);var r=Ay.bind(function(){return this.getVariantSync(e,t)},this);return this.fetchPromise?this.fetchPromise.then(r).catch(r):Dk(t)},this))},Vk.prototype._loadedPersistenceIsStale=function(){return!(!this._loadedPersistedAtMs||!this._loadedTtlMs)&&Date.now()-this._loadedPersistedAtMs>=this._loadedTtlMs},Vk.prototype.getVariantSync=function(e,t){if(this._loadedPersistenceIsStale())return Pk.log('Loaded persisted variants are past TTL so returning fallback for "'+e+'"'),Dk(t);if(!this.areFlagsReady())return Pk.log("Flags not loaded yet"),Dk(t);var n=this.flags.get(e);return n?(this.trackFeatureCheck(e,n),n):(Pk.log('No flag found: "'+e+'"'),Dk(t))},Vk.prototype.getAllVariants=function(){if(!this.persistenceLoadedPromise)return Pk.critical("Feature Flags not initialized"),Promise.resolve(new Map);var e=this.persistence.getPolicy();return this.persistenceLoadedPromise.then(Ay.bind(function(){if(e===Ok.PERSISTENCE_UNTIL_NETWORK_SUCCESS)return this.areFlagsReady()&&!this._loadedPersistenceIsStale()?this.getAllVariantsSync():this.fetchPromise?this.fetchPromise.then(Ay.bind(function(){return this.getAllVariantsSync()},this)).catch(function(e){return Pk.error(e),new Map}):new Map;var t=Ay.bind(this.getAllVariantsSync,this);return this.fetchPromise?this.fetchPromise.then(t).catch(t):new Map},this))},Vk.prototype.getAllVariantsSync=function(){return this._loadedPersistenceIsStale()?(Pk.log("Loaded persisted variants are past TTL so returning empty Map"),new Map):this.flags||new Map},Vk.prototype.getVariantValue=function(e,t){return this.getVariant(e,{value:t}).then(function(e){return e.value}).catch(function(e){return Pk.error(e),t})},Vk.prototype.getFeatureData=function(e,t){return Pk.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)},Vk.prototype.getVariantValueSync=function(e,t){return this.getVariantSync(e,{value:t}).value},Vk.prototype.isEnabled=function(e,t){return this.getVariantValue(e).then(function(){return this.isEnabledSync(e,t)}.bind(this)).catch(function(e){return Pk.error(e),t})},Vk.prototype.isEnabledSync=function(e,t){t=t||!1;var n=this.getVariantValueSync(e,t);return!0!==n&&!1!==n&&(Pk.error('Feature flag "'+e+'" value: '+n+" is not a boolean; returning fallback value: "+t),n=t),n},Vk.prototype.trackFeatureCheck=function(e,t){if(!this.trackedFeatures.has(e)){this.trackedFeatures.add(e);var n={"Experiment name":e,"Variant name":t.key,$experiment_type:"feature_flag","Variant fetch start time":Fk(this._fetchStartTime)?new Date(this._fetchStartTime).toISOString():null,"Variant fetch complete time":Fk(this._fetchCompleteTime)?new Date(this._fetchCompleteTime).toISOString():null,"Variant fetch latency (ms)":this._fetchLatency,"Variant fetch traceparent":this._traceparent};Fk(t.experiment_id)&&(n.$experiment_id=t.experiment_id),Fk(t.is_experiment_active)&&(n.$is_experiment_active=t.is_experiment_active),Fk(t.is_qa_tester)&&(n.$is_qa_tester=t.is_qa_tester),Fk(t.variant_source)&&(n.$variant_source=t.variant_source),Fk(t.persisted_at_in_ms)&&(n.$persisted_at_in_ms=t.persisted_at_in_ms),Fk(t.ttl_in_ms)&&(n.$ttl_in_ms=t.ttl_in_ms),this.track("$experiment_started",n)}},Vk.prototype.whenReady=function(){return this.fetchPromise?this.fetchPromise:Promise.resolve()},Vk.prototype.minApisSupported=function(){return!!this.fetch&&"undefined"!==typeof Promise&&"undefined"!==typeof Map&&"undefined"!==typeof Set},Py(Vk),Vk.prototype.are_flags_ready=Vk.prototype.areFlagsReady,Vk.prototype.get_variant=Vk.prototype.getVariant,Vk.prototype.get_variant_sync=Vk.prototype.getVariantSync,Vk.prototype.get_all_variants=Vk.prototype.getAllVariants,Vk.prototype.get_all_variants_sync=Vk.prototype.getAllVariantsSync,Vk.prototype.get_variant_value=Vk.prototype.getVariantValue,Vk.prototype.get_variant_value_sync=Vk.prototype.getVariantValueSync,Vk.prototype.is_enabled=Vk.prototype.isEnabled,Vk.prototype.is_enabled_sync=Vk.prototype.isEnabledSync,Vk.prototype.load_flags=Vk.prototype.loadFlags,Vk.prototype.update_context=Vk.prototype.updateContext,Vk.prototype.when_ready=Vk.prototype.whenReady,Vk.prototype.get_feature_data=Vk.prototype.getFeatureData,Vk.prototype.getTargeting=Vk.prototype.getTargeting;var zk=jy("recorder"),Hk="mp_iframe_handshake_request",qk="mp_iframe_handshake_response",Uk=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};Uk.prototype.shouldLoadRecorder=function(){if(this.getMpConfig("disable_persistence"))return Iy.log("Load recorder check skipped due to disable_persistence config"),oy.resolve(!1);var e=new Zy(eb,nb,rb),t=this.getTabId();return e.init().then(function(){return e.getAll()}).then(function(e){for(var n=0;n<e.length;n++)if(Tb(e[n])||e[n].tabId===t)return!0;return!1}).catch(Ay.bind(function(e){return this.reportError("Error checking recording registry",e),!1},this))},Uk.prototype.checkAndStartSessionRecording=function(e,t){if(!gr.MutationObserver)return Iy.critical("Browser does not support MutationObserver; skipping session recording"),oy.resolve();var n=Ay.bind(function(e){return new oy(Ay.bind(function(t){var n=Ry(Ay.bind(function(){this._recorder=this._recorder||new gr[wr](this.mixpanelInstance),this._recorder.resumeRecording(e),t()},this));if(Ay.isUndefined(gr[wr])){var r=this.recorderSrc||this.libBasePath+"__MP_RECORDER_FILENAME__";this.loadExtraBundle(r,n)}else n()},this))},this),r=Eb(this.getMpConfig("record_allowed_iframe_origins"),zk);if(r.length>0&&(this._setupParentFrameListener(r),gr.parent!==gr))return this._setupChildFrameListener(r,n),this._sendParentFrameRequestWithRetry(r),oy.resolve();var i=Ay.isUndefined(t)?this.getMpConfig("record_sessions_percent"):t,a=i>0&&100*Math.random()<=i;return e||a?n(!0):this.shouldLoadRecorder().then(Ay.bind(function(e){return e?n(!1):oy.resolve()},this))},Uk.prototype.isRecording=function(){if(!this._recorder||!Ay.isFunction(this._recorder.isRecording))return!1;try{return this._recorder.isRecording()}catch(HS){return this.reportError("Error checking if recording is active",HS),!1}},Uk.prototype.startRecordingOnEvent=function(e,t){var n=this.isRecording(),r=this.getMpConfig("recording_event_triggers");if(!n&&r){var i=r[e];if(i&&"number"===typeof i.percentage){var a=i.percentage,o=i.property_filters;if(o&&!Ay.isEmptyObject(o)){var s=this.targetingSrc||this.libBasePath+kr;Ck(this.loadExtraBundle,s).then(function(n){try{n.eventMatchesCriteria(e,t,{event_name:e,property_filters:o}).matches&&this.checkAndStartSessionRecording(!1,a)}catch(qS){Iy.critical("Could not parse recording event trigger properties logic:",qS)}}.bind(this)).catch(function(e){Iy.critical("Failed to load targeting library:",e)})}else this.checkAndStartSessionRecording(!1,a)}}},Uk.prototype.stopSessionRecording=function(){return this._recorder?this._recorder.stopRecording():oy.resolve()},Uk.prototype.pauseSessionRecording=function(){return this._recorder?this._recorder.pauseRecording():oy.resolve()},Uk.prototype.resumeSessionRecording=function(){return this._recorder?this._recorder.resumeRecording():oy.resolve()}
2,Uk.prototype.isRecordingHeatmapData=function(){return this.getSessionReplayId()&&this.getMpConfig("record_heatmap_data")},Uk.prototype.getSessionRecordingProperties=function(){var e={},t=this.getSessionReplayId();return t&&(e.$mp_replay_id=t),e},Uk.prototype.getSessionReplayUrl=function(){var e=null,t=this.getSessionReplayId();t&&(e="https://mixpanel.com/projects/replay-redirect?"+Ay.HTTPBuildQuery({replay_id:t,distinct_id:this.getDistinctId(),token:this.getMpConfig("token")}));return e},Uk.prototype.getSessionReplayId=function(){if(this._parentReplayId)return this._parentReplayId;var e=null;return this._recorder&&(e=this._recorder.replayId),e||null},Uk.prototype.getRecorder=function(){return this._recorder},Uk.prototype._setupChildFrameListener=function(e,t){if(!this._childFrameMessageHandler){var n=this;this._childFrameMessageHandler=function(r){if(-1!==e.indexOf(r.origin)){var i=r.data;i&&i.type===qk&&i.token===n.getMpConfig("token")&&i.replayId&&(n._parentReplayId=i.replayId,i.distinctId&&n.mixpanelInstance.identify(i.distinctId),n._parentFrameRetryActive=!1,gr.removeEventListener("message",n._childFrameMessageHandler),n._childFrameMessageHandler=null,t(!0))}},gr.addEventListener("message",this._childFrameMessageHandler)}},Uk.prototype._sendParentFrameRequest=function(e){var t={};t.type=Hk,t.token=this.getMpConfig("token");for(var n=0;n<e.length;n++)try{gr.parent.postMessage(t,e[n])}catch(HS){}},Uk.prototype._sendParentFrameRequestWithRetry=function(e){var t=this,n=0,r=50;this._parentFrameRetryActive=!0,this._sendParentFrameRequest(e),function i(){setTimeout(function(){!t._parentFrameRetryActive||t._parentReplayId||++n>=10||(t._sendParentFrameRequest(e),r*=2,i())},r)}()},Uk.prototype._setupParentFrameListener=function(e){if(!this._parentFrameMessageHandler){var t=this;this._parentFrameMessageHandler=function(n){if(-1!==e.indexOf(n.origin)){var r=n.data;if(r&&r.type===Hk&&r.token===t.getMpConfig("token")){var i=t.getSessionReplayId();if(i){var a={};a.type=qk,a.token=t.getMpConfig("token"),a.replayId=i,a.distinctId=t.getDistinctId(),n.source.postMessage(a,n.origin)}}}},gr.addEventListener("message",this._parentFrameMessageHandler)}},Py(Uk);var Bk=function(){};Bk.prototype.create_properties=function(){},Bk.prototype.event_handler=function(){},Bk.prototype.after_track_handler=function(){},Bk.prototype.init=function(e){return this.mp=e,this},Bk.prototype.track=function(e,t,n,r){var i=this,a=Ay.dom_query(e);if(0!==a.length)return Ay.each(a,function(e){Ay.register_event(e,this.override_event,function(e){var a={},o=i.create_properties(n,this),s=i.mp.get_config("track_links_timeout");i.event_handler(e,this,a),window.setTimeout(i.track_callback(r,o,a,!0),s),i.mp.track(t,o,i.track_callback(r,o,a))})},this),!0;Iy.error("The DOM query ("+e+") returned 0 elements")},Bk.prototype.track_callback=function(e,t,n,r){r=r||!1;var i=this;return function(){n.callback_fired||(n.callback_fired=!0,e&&!1===e(r,t)||i.after_track_handler(t,n,r))}},Bk.prototype.create_properties=function(e,t){return"function"===typeof e?e(t):Ay.extend({},e)};var Wk=function(){this.override_event="click"};Ay.inherit(Wk,Bk),Wk.prototype.create_properties=function(e,t){var n=Wk.superclass.create_properties.apply(this,arguments);return t.href&&(n.url=t.href),n},Wk.prototype.event_handler=function(e,t,n){n.new_tab=2===e.which||e.metaKey||e.ctrlKey||"_blank"===t.target,n.href=t.href,n.new_tab||e.preventDefault()},Wk.prototype.after_track_handler=function(e,t){t.new_tab||setTimeout(function(){window.location=t.href},0)};var Kk=function(){this.override_event="submit"};Ay.inherit(Kk,Bk),Kk.prototype.event_handler=function(e,t,n){n.element=t,e.preventDefault()},Kk.prototype.after_track_handler=function(e,t){setTimeout(function(){t.element.submit()},0)};var $k="$set",Gk="$set_once",Yk="$unset",Qk="$add",Jk="$append",Xk="$union",Zk="$remove",e_={set_action:function(e,t){var n={},r={};return Ay.isObject(e)?Ay.each(e,function(e,t){this._is_reserved_property(t)||(r[t]=e)},this):r[e]=t,n[$k]=r,n},unset_action:function(e){var t={},n=[];return Ay.isArray(e)||(e=[e]),Ay.each(e,function(e){this._is_reserved_property(e)||n.push(e)},this),t[Yk]=n,t},set_once_action:function(e,t){var n={},r={};return Ay.isObject(e)?Ay.each(e,function(e,t){this._is_reserved_property(t)||(r[t]=e)},this):r[e]=t,n[Gk]=r,n},union_action:function(e,t){var n={},r={};return Ay.isObject(e)?Ay.each(e,function(e,t){this._is_reserved_property(t)||(r[t]=Ay.isArray(e)?e:[e])},this):r[e]=Ay.isArray(t)?t:[t],n[Xk]=r,n},append_action:function(e,t){var n={},r={};return Ay.isObject(e)?Ay.each(e,function(e,t){this._is_reserved_property(t)||(r[t]=e)},this):r[e]=t,n[Jk]=r,n},remove_action:function(e,t){var n={},r={};return Ay.isObject(e)?Ay.each(e,function(e,t){this._is_reserved_property(t)||(r[t]=e)},this):r[e]=t,n[Zk]=r,n},delete_action:function(){var e={$delete:""};return e}},t_=function(){};Ay.extend(t_.prototype,e_),t_.prototype._init=function(e,t,n){this._mixpanel=e,this._group_key=t,this._group_id=n},t_.prototype.set=cb(function(e,t,n){var r=this.set_action(e,t);
2return Ay.isObject(e)&&(n=t),this._send_request(r,n)}),t_.prototype.set_once=cb(function(e,t,n){var r=this.set_once_action(e,t);return Ay.isObject(e)&&(n=t),this._send_request(r,n)}),t_.prototype.unset=cb(function(e,t){var n=this.unset_action(e);return this._send_request(n,t)}),t_.prototype.union=cb(function(e,t,n){Ay.isObject(e)&&(n=t);var r=this.union_action(e,t);return this._send_request(r,n)}),t_.prototype.delete=cb(function(e){var t=this.delete_action();return this._send_request(t,e)}),t_.prototype.remove=cb(function(e,t,n){var r=this.remove_action(e,t);return this._send_request(r,n)}),t_.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 n=Ay.encodeDates(e);return this._mixpanel._track_or_batch({type:"groups",data:n,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},t)},t_.prototype._is_reserved_property=function(e){return"$group_key"===e||"$group_id"===e},t_.prototype._get_config=function(e){return this._mixpanel.get_config(e)},t_.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},t_.prototype.remove=t_.prototype.remove,t_.prototype.set=t_.prototype.set,t_.prototype.set_once=t_.prototype.set_once,t_.prototype.union=t_.prototype.union,t_.prototype.unset=t_.prototype.unset,t_.prototype.toString=t_.prototype.toString;var n_=function(){};Ay.extend(n_.prototype,e_),n_.prototype._init=function(e){this._mixpanel=e},n_.prototype.set=ub(function(e,t,n){var r=this.set_action(e,t);return Ay.isObject(e)&&(n=t),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),r[$k]=Ay.extend({},Ay.info.people_properties(),r[$k]),this._send_request(r,n)}),n_.prototype.set_once=ub(function(e,t,n){var r=this.set_once_action(e,t);return Ay.isObject(e)&&(n=t),this._send_request(r,n)}),n_.prototype.unset=ub(function(e,t){var n=this.unset_action(e);return this._send_request(n,t)}),n_.prototype.increment=ub(function(e,t,n){var r={},i={};return Ay.isObject(e)?(Ay.each(e,function(e,t){if(!this._is_reserved_property(t)){if(isNaN(parseFloat(e)))return void Iy.error("Invalid increment value passed to mixpanel.people.increment - must be a number");i[t]=e}},this),n=t):(Ay.isUndefined(t)&&(t=1),i[e]=t),r[Qk]=i,this._send_request(r,n)}),n_.prototype.append=ub(function(e,t,n){Ay.isObject(e)&&(n=t);var r=this.append_action(e,t);return this._send_request(r,n)}),n_.prototype.remove=ub(function(e,t,n){Ay.isObject(e)&&(n=t);var r=this.remove_action(e,t);return this._send_request(r,n)}),n_.prototype.union=ub(function(e,t,n){Ay.isObject(e)&&(n=t);var r=this.union_action(e,t);return this._send_request(r,n)}),n_.prototype.track_charge=ub(function(){Iy.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")}),n_.prototype.clear_charges=function(e){return this.set("$transactions",[],e)},n_.prototype.delete_user=function(){if(this._identify_called()){var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)}Iy.error("mixpanel.people.delete_user() requires you to call identify() first")},n_.prototype.toString=function(){return this._mixpanel.toString()+".people"},n_.prototype._send_request=function(e,t){e.$token=this._get_config("token"),e.$distinct_id=this._mixpanel.get_distinct_id();var n=this._mixpanel.get_property("$device_id"),r=this._mixpanel.get_property("$user_id"),i=this._mixpanel.get_property("$had_persisted_distinct_id");n&&(e.$device_id=n),r&&(e.$user_id=r),i&&(e.$had_persisted_distinct_id=i);var a=Ay.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:a,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},t):(this._enqueue(e),Ay.isUndefined(t)||(this._get_config("verbose")?t({status:-1,error:null}):t(-1)),Ay.truncate(a,255))},n_.prototype._get_config=function(e){return this._mixpanel.get_config(e)},n_.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},n_.prototype._enqueue=function(e){$k in e?this._mixpanel.persistence._add_to_people_queue($k,e):Gk in e?this._mixpanel.persistence._add_to_people_queue(Gk,e):Yk in e?this._mixpanel.persistence._add_to_people_queue(Yk,e):Qk in e?this._mixpanel.persistence._add_to_people_queue(Qk,e):Jk in e?this._mixpanel.persistence._add_to_people_queue(Jk,e):Zk in e?this._mixpanel.persistence._add_to_people_queue(Zk,e):Xk in e?this._mixpanel.persistence._add_to_people_queue(Xk,e):Iy.error("Invalid call to _enqueue():",e)},n_.prototype._flush_one_queue=function(e,t,n,r){var i=this,a=Ay.extend({},this._mixpanel.persistence.load_queue(e)),o=a;Ay.isUndefined(a)||!Ay.isObject(a)||Ay.isEmptyObject(a)||(i._mixpanel.persistence._pop_from_people_queue(e,a),i._mi
vendor: 1,058 bytes, line 2
2xpanel.persistence.save(),r&&(o=r(a)),t.call(i,o,function(t,r){0===t&&i._mixpanel.persistence._add_to_people_queue(e,a),Ay.isUndefined(n)||n(t,r)}))},n_.prototype._flush=function(e,t,n,r,i,a,o){var s=this;this._flush_one_queue($k,this.set,e),this._flush_one_queue(Gk,this.set_once,r),this._flush_one_queue(Yk,this.unset,a,function(e){return Ay.keys(e)}),this._flush_one_queue(Qk,this.increment,t),this._flush_one_queue(Xk,this.union,i);var l=this._mixpanel.persistence.load_queue(Jk);if(!Ay.isUndefined(l)&&Ay.isArray(l)&&l.length)for(var u,c=function(e,t){0===e&&s._mixpanel.persistence._add_to_people_queue(Jk,u),Ay.isUndefined(n)||n(e,t)},d=l.length-1;d>=0;d--)l=this._mixpanel.persistence.load_queue(Jk),u=l.pop(),s._mixpanel.persistence.save(),Ay.isEmptyObject(u)||s.append(u,c);var p=this._mixpanel.persistence.load_queue(Zk);if(!Ay.isUndefined(p)&&Ay.isArray(p)&&p.length)for(var h,f=function(e,t){0===e&&s._mixpanel.persistence._add_to_people_queue(Zk,h),Ay.isUndefined(o)||o(e,t)},m=p.length-1;m>=0;m--)p=this._mixpanel.persistence.load_queue(Zk),h=
2p.pop(),s._mixpanel.persistence.save(),Ay.isEmptyObject(h)||s.remove(h,f)},n_.prototype._is_reserved_property=function(e){return"$distinct_id"===e||"$token"===e||"$device_id"===e||"$user_id"===e||"$had_persisted_distinct_id"===e},n_.prototype.set=n_.prototype.set,n_.prototype.set_once=n_.prototype.set_once,n_.prototype.unset=n_.prototype.unset,n_.prototype.increment=n_.prototype.increment,n_.prototype.append=n_.prototype.append,n_.prototype.remove=n_.prototype.remove,n_.prototype.union=n_.prototype.union,n_.prototype.track_charge=n_.prototype.track_charge,n_.prototype.clear_charges=n_.prototype.clear_charges,n_.prototype.delete_user=n_.prototype.delete_user,n_.prototype.toString=n_.prototype.toString;var r_,i_="__mps",a_="__mpso",o_="__mpus",s_="__mpa",l_="__mpap",u_="__mpr",c_="__mpu",d_="$people_distinct_id",p_="__alias",h_="__timers",f_=[i_,a_,o_,s_,l_,u_,c_,d_,p_,h_],m_=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&&(Iy.critical("Unknown persistence type "+t+"; falling back to cookie"),t=e.persistence="cookie"),"localStorage"===t&&Ay.localStorage.is_supported()?this.storage=Ay.localStorage:this.storage=Ay.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};m_.prototype.properties=function(){var e={};return this.load(),Ay.each(this.props,function(t,n){Ay.include(f_,n)||(e[n]=t)}),e},m_.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=Ay.extend({},e))}},m_.prototype.upgrade=function(){var e,t;this.storage===Ay.localStorage?(e=Ay.cookie.parse(this.name),Ay.cookie.remove(this.name),Ay.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===Ay.cookie&&(t=Ay.localStorage.parse(this.name),Ay.localStorage.remove(this.name),t&&this.register_once(t))},m_.prototype.save=function(){this.disabled||this.storage.set(this.name,Jy(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},m_.prototype.load_prop=function(e){return this.load(),this.props[e]},m_.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},m_.prototype.clear=function(){this.remove(),this.props={}},m_.prototype.register_once=function(e,t,n){return!!Ay.isObject(e)&&("undefined"===typeof t&&(t="None"),this.expire_days="undefined"===typeof n?this.default_expiry:n,this.load(),Ay.each(e,function(e,n){this.props.hasOwnProperty(n)&&this.props[n]!==t||(this.props[n]=e)},this),this.save(),!0)},m_.prototype.register=function(e,t){return!!Ay.isObject(e)&&(this.expire_days="undefined"===typeof t?this.default_expiry:t,this.load(),Ay.extend(this.props,e),this.save(),!0)},m_.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())},m_.prototype.update_search_keyword=function(e){this.register(Ay.info.searchInfo(e))},m_.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:Ay.info.referringDomain(e)||"$direct"},"")},m_.prototype.get_referrer_info=function(){return Ay.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},m_.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)},m_.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()},m_.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())},m_.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())},m_.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())},m_.prototype.get_cross_subdomain=function(){return this.cross_subdomain},m_.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())},m_.prototype._add_to_people_queue=function(e,t){var n=this._get_queue_key(e),r=t[e],i=this._get_or_create_queue($k),a=this._get_or_create_queue(Gk),o=this._get_or_create_queue(Yk),s=this._get_or_create_queue(Qk),l=this._get_or_create_queue(Xk),u=this._get_or_create_queue(Zk,[]),c=this._get_or_create_queue(Jk,[]);n===i_?(Ay.extend(i,r),this._pop_from_people_queue(Qk,r),this._pop_from_people_queue(Xk,r),this._pop_from_people_queue(Yk,r)):n===a_?(Ay.each(r,function(e,t){t in a||(a[t]=e)}),this._pop_from_people_queue(Yk,r)):n===o_?Ay.each(r,function(e){Ay.each([i,a,s,l],function(t){e in t&&delete t[e]}),Ay.each(c,function(t){e in t&&delete t[e]}),o[e]=!0}):n===s_?(Ay.each(r,function(e,t){t in i?i[t]+=e:(t in s||(s[t]=0),s[t]+=e)},this),this._pop_from_people_queue(Yk,r)):n===c_?(Ay.each(r,function(e,t){Ay.isArray(e)&&(t in l||(l[t]=[]),Ay.each(e,function(e){Ay.include(l[t],e)||l[t].push(e)}))}),this._pop_from_people_queue(Yk,r)):n===u_?(u.push(r),this._pop_from_people_queue(Jk,r)):n===l_&&(c.push(r),this._pop_from_people_queue(Yk,r)),Iy.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),Iy.log(t),this.save()},m_.prototype._pop_from_people_queue=function(e,t){var n=this.props[this._get_queue_key(e)];Ay.isUndefined(n)||Ay.each(t,function(t,r){e===Jk||e===Zk?Ay.each(n,function(e){e[r]===t&&delete e[r]}):delete n[r]},this)},m_.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))},m_.prototype._get_queue_key=function(e){return e===$k?i_:e===Gk?a_:e===Yk?o_:e===Qk?s_:e===Jk?l_:e===Zk?u_:e===Xk?c_:void Iy.error("Invalid queue:",e)},m_.prototype._get_or_create_queue=function(e,t){var n=this._get_queue_key(e);return t=Ay.isUndefined(t)?{}:t,this.props[n]||(this.props[n]=t)},m_.prototype.set_event_timer=function(e,t){var n=this.load_prop(h_)||{};
2n[e]=t,this.props[h_]=n,this.save()},m_.prototype.remove_event_timer=function(e){var t=(this.load_prop(h_)||{})[e];return Ay.isUndefined(t)||(delete this.props[h_][e],this.save()),t};var g_,v_=function(e,t){throw new Error(e+" not available in this build.")},y_="mixpanel",b_="base64",w_="$device:",k_=gr.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,__=!k_&&-1===ky.indexOf("MSIE")&&-1===ky.indexOf("Mozilla"),S_=null;vy.sendBeacon&&(S_=function(){return vy.sendBeacon.apply(vy,arguments)});var x_={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/",settings:"settings/"},C_={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:x_,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:b_,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:Yy,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:Yy,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:ly,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"},T_=!1,E_=function(){},A_=function(e,t,n){var r,i=n===y_?g_:g_[n];if(i&&0===r_)r=i;else{if(i&&!Ay.isArray(i))return void Iy.error("You have already initialized "+n);r=new E_}if(r._cached_groups={},r._init(e,t,n),r.people=new n_,r.people._init(r),!r.get_config("skip_first_touch_marketing")){var a=Ay.info.campaignParams(null),o={},s=!1;Ay.each(a,function(e,t){o["initial_"+t]=e,e&&(s=!0)}),s&&r.people.set_once(o)}yr.DEBUG=yr.DEBUG||r.get_config("debug");var l=0===r_?"module":"snippet";return gr.dispatchEvent(new gr.CustomEvent("$mp_sdk_to_extension_event",{detail:{instance:r,source:l,token:e,name:n,info:Ay.info}})),!Ay.isUndefined(i)&&Ay.isArray(i)&&(r._execute_array.call(r.people,i.people),r._execute_array(i)),r};E_.prototype.init=function(e,t,n){if(Ay.isUndefined(n))this.report_error("You must name your new library: init(token, config, name)");else{if(n!==y_){var r=A_(e,t,n);return g_[n]=r,r._loaded(),r}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},E_.prototype._init=function(e,t,n){t=t||{},this.__loaded=!0,this.config={};var r={};"api_payload_format"in t||(t.api_host||C_.api_host).match(/\.mixpanel\.com/)&&(r.a
2pi_payload_format="json");if(this.hooks={},this.set_config(Ay.extend({},C_,r,t,{name:n,token:e,callback_fn:(n===y_?n:y_+"."+n)+"._jsc"})),this.recorderManager=new Uk({mixpanelInstance:this,getConfigFunc:Ay.bind(this.get_config,this),setConfigFunc:Ay.bind(this.set_config,this),getTabIdFunc:Ay.bind(this.get_tab_id,this),reportErrorFunc:Ay.bind(this.report_error,this),getDistinctIdFunc:Ay.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:v_}),this._jsc=Yy,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(Ay.localStorage.is_supported(!0)&&k_){if(this.init_batchers(),S_&&gr.addEventListener){var i=Ay.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);gr.addEventListener("pagehide",function(e){e.persisted&&i()}),gr.addEventListener("visibilitychange",function(){"hidden"===yy.visibilityState&&i()})}}else this._batch_requests=!1,Iy.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),Ay.each(this.get_batcher_configs(),function(e){Iy.log("Clearing batch queue "+e.queue_key),Ay.localStorage.remove(e.queue_key)});this.persistence=this.cookie=new m_(this.config),this.unpersisted_superprops={},this._gdpr_init();var a=Ay.UUID();this.get_distinct_id()||this.register_once({distinct_id:w_+a,$device_id:a},""),this.flags=new Vk({getFullApiRoute:Ay.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:Ay.bind(this.get_config,this),setConfigFunc:Ay.bind(this.set_config,this),getPropertyFunc:Ay.bind(this.get_property,this),trackingFunc:Ay.bind(this.track,this),loadExtraBundle:v_,targetingSrc:this.get_config("targeting_src")||this.get_config("lib_base_path")+kr}),this.flags.init(),this.flags=this.flags,this._init_tab_id();var o=this.get_config("remote_settings_mode");this.__session_recording_init_promise="strict"===o||"fallback"===o?this._fetch_remote_settings(o).then(Ay.bind(function(){return this._check_and_start_session_recording()},this)):this._check_and_start_session_recording(),this.autocapture=new xk(this),this.autocapture.init()},E_.prototype._init_tab_id=function(){if(this.get_config("disable_persistence"))Iy.log("Tab ID initialization skipped due to disable_persistence config");else if(Ay.sessionStorage.is_supported())try{var e=this.get_config("name")+"_"+this.get_config("token"),t="mp_tab_id_"+e,n="mp_gen_new_tab_id_"+e;!Ay.sessionStorage.get(n)&&Ay.sessionStorage.get(t)||Ay.sessionStorage.set(t,"$tab-"+Ay.UUID()),Ay.sessionStorage.set(n,"1"),this.tab_id=Ay.sessionStorage.get(t),gr.addEventListener("beforeunload",function(){Ay.sessionStorage.remove(n)})}catch(qS){this.report_error("Error initializing tab id",qS)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")},E_.prototype.get_tab_id=function(){return this.tab_id||null},E_.prototype._check_and_start_session_recording=lb(function(e){return this.recorderManager.checkAndStartSessionRecording(e)}),E_.prototype._start_recording_on_event=Ry(function(e,t){this.__session_recording_init_promise&&this.__session_recording_init_promise.then(Ay.bind(function(){if(!this._remote_settings_strict_disabled)return this.recorderManager.startRecordingOnEvent(e,t)},this))}),E_.prototype.start_session_recording=function(){return this._check_and_start_session_recording(!0)},E_.prototype.stop_session_recording=function(){return this.recorderManager.stopSessionRecording()},E_.prototype.pause_session_recording=function(){return this.recorderManager.pauseSessionRecording()},E_.prototype.resume_session_recording=function(){return this.recorderManager.resumeSessionRecording()},E_.prototype.is_recording_heatmap_data=function(){return this.recorderManager.isRecordingHeatmapData()},E_.prototype.get_session_recording_properties=function(){return this.recorderManager.getSessionRecordingProperties()},E_.prototype.get_session_replay_url=function(){return this.recorderManager.getSessionReplayUrl()},E_.prototype.__get_recorder=function(){return this.recorderManager.getRecorder()},E_.prototype.__get_recording_init_promise=function(){return this.__session_recording_init_promise},E_.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=Ay.info.campaignParams(null);Ay.each(e,function(e,t){this.unregister(t)}.bind(this))}},E_.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(yy.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(Ay.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(yy.referrer)},E_.prototype._dom_loaded=function(){Ay.each(this.__dom_loaded_queue,function(e){this._track_dom.apply(this,e)},this),this.has_opted_out_tracking()||Ay.each(this.__request_queue,function(e){this._send_request.apply(this,e)},this),delete this.__dom_loaded_queue,delete this.__request_queue},E_.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(!T_)return this.__dom_loaded_queue.push([e,t]),!1;var n=(new e).init(this);return n.track.apply(n,t)},E_.prototype._prepare_callback=function(e,t){if(Ay.isUndefined(e))return null;if(k_){return function(n){e(n,t)}}var n=this._jsc,r=""+Math.floor(1e8*Math.random()),i=this.get_config("callback_fn")+"["+r+"]";return n[r]=function(i){delete n[r],e(i,t)},i},E_.prototype._send_request=function(e,t,n,r){var i=!0;if(__)return this.__request_queue.push(arguments),i;var a={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose
2:this.get_config("verbose")},o=null;r||!Ay.isFunction(n)&&"string"!==typeof n||(r=n,n=null),n=Ay.extend(a,n||{}),k_||(n.method="GET");var s="POST"===n.method,l=S_&&s&&"sendbeacon"===n.transport.toLowerCase(),u=n.verbose;t.verbose&&(u=!0),this.get_config("test")&&(t.test=1),u&&(t.verbose=1),this.get_config("img")&&(t.img=1),k_||(r?t.callback=r:(u||this.get_config("test"))&&(t.callback="(function(){})")),t.ip=this.get_config("ip")?1:0,t._=(new Date).getTime().toString(),s&&(o="data="+encodeURIComponent(t.data),delete t.data),Ay.extend(t,this.get_config("api_extra_query_params")),e+="?"+Ay.HTTPBuildQuery(t);var c=this;if("img"in t){var d=yy.createElement("img");d.src=e,yy.body.appendChild(d)}else if(l){try{i=S_(e,o)}catch(HS){c.report_error(HS),i=!1}try{r&&r(i?1:0)}catch(HS){c.report_error(HS)}}else if(k_)try{var p=new XMLHttpRequest;p.open(n.method,e,!0);var h=this.get_config("xhr_headers");if(s&&(h["Content-Type"]="application/x-www-form-urlencoded"),Ay.each(h,function(e,t){p.setRequestHeader(t,e)}),n.timeout_ms&&"undefined"!==typeof p.timeout){p.timeout=n.timeout_ms;var f=(new Date).getTime()}p.withCredentials=!0,p.onreadystatechange=function(){var e;if(4===p.readyState)if(200===p.status){if(r)if(u){var t;try{t=Ay.JSONDecode(p.responseText)}catch(HS){if(c.report_error(HS),!n.ignore_json_errors)return;t=p.responseText}r(t)}else r(Number(p.responseText))}else if(e=p.timeout&&!p.status&&(new Date).getTime()-f>=p.timeout?"timeout":"Bad HTTP status: "+p.status+" "+p.statusText,c.report_error(e),r)if(u){var i=p.responseHeaders||{};r({status:0,httpStatusCode:p.status,error:e,retryAfter:i["Retry-After"]})}else r(0)},p.send(o)}catch(HS){c.report_error(HS),i=!1}else{var m=yy.createElement("script");m.type="text/javascript",m.async=!0,m.defer=!0,m.src=e;var g=yy.getElementsByTagName("script")[0];g.parentNode.insertBefore(m,g)}return i},E_.prototype._fetch_remote_settings=function(e){var t=this,n=function(){"strict"===e&&(t.set_config({record_sessions_percent:0}),t._remote_settings_strict_disabled=!0)};if(!gr.AbortController)return Iy.critical("Remote settings unavailable: missing minimum required APIs"),n(),Promise.resolve();var r=this.get_api_host("settings")+"/"+this.get_config("api_routes").settings,i={$lib_version:yr.LIB_VERSION,mp_lib:"web",sdk_config:"1"},a=r+"?"+Ay.HTTPBuildQuery(i),o=new AbortController,s=setTimeout(function(){o.abort()},500),l={method:"GET",headers:{Authorization:"Basic "+btoa(t.get_config("token")+":")},signal:o.signal};return gr.fetch(a,l).then(function(e){return clearTimeout(s),e.ok?e.json():(Iy.critical("Network response was not ok"),void n())}).then(function(e){if(e&&e.sdk_config&&e.sdk_config.config){var r=e.sdk_config.config,i={};Ay.each(r,function(e,t){C_.hasOwnProperty(t)&&(i[t]=e)}),Ay.isEmptyObject(i)?(Iy.critical("No valid config keys found in remote settings."),n()):t.set_config(i)}else n()}).catch(function(e){clearTimeout(s),Iy.critical("Failed to fetch remote settings",e),n()})},E_.prototype._execute_array=function(e){var t,n=[],r=[],i=[];Ay.each(e,function(e){e&&(t=e[0],Ay.isArray(t)?i.push(e):"function"===typeof e?e.call(this):Ay.isArray(e)&&"alias"===t?n.push(e):Ay.isArray(e)&&-1!==t.indexOf("track")&&"function"===typeof this[t]?i.push(e):r.push(e))},this);var a=function(e,t){Ay.each(e,function(e){if(Ay.isArray(e[0])){var n=t;Ay.each(e,function(e){n=n[e[0]].apply(n,e.slice(1))})}else this[e[0]].apply(this,e.slice(1))},t)};a(n,this),a(r,this),a(i,this)},E_.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},E_.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},E_.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=Ay.bind(function(e){return new Cb(e.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:Ay.bind(function(t,n,r){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),n,this._prepare_callback(r,t))},this),beforeSendHook:Ay.bind(function(t){var n=this._run_hook("before_send_"+e.type,t);return n?n[0]:null},this),stopAllBatchingFunc:Ay.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()},E_.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,Ay.each(this.request_batchers,function(e){e.start()}))},E_.prototype.stop_batch_senders=function(){this._batch_requests=!1,Ay.each(this.request_batchers,function(e){e.stop(),e.clear()})},E_.prototype.push=function(e){this._execute_array([e])},E_.prototype.enable=function(e){var t,n,r,i;if("undefined"===typeof e)this._flags.disable_all_events=!1;else{for(t={},n=[],r=0;r<e.length;r++)t[e[r]]=!0;for(i=0;i<this.__disabled_events.length;i++)t[this.__disabled_events[i]]||n.push(this.__disabled_events[i]);this.__disabled_events=n}},E_.prototype.disable=function(e){"undefined"===typeof e?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)},E_.prototype._encode_data_for_request=function(e){var t=Jy(e);return this.get_config("api_payload_format")===b_&&(t=Ay.base64Encode(t)),{data:t}},E_.prototype._track_or_batch=function(e,t){var n=Ay.truncate(e.data,255),r=e.endpoint,i=e.batcher,a=e.should_send_immediately,o=e.send_request_options||{};t=t||Yy;var s=!0,l=Ay.bind(function(){return o.skip_hooks||(n=this._run_hook("before_send_"+e.type,n))&&(n=n[0]),n?(Iy.log("MIXPANEL REQUEST:"),Iy.log(n),this._send_request(r,this._encode_data_for_request(n),o,this._prepare_callback(t,n))):null},this);return this._batch_requests&&!a?i.enqueue(n).then(function(e){e?t(1,n):l()}):s=l(),s&&n},E_.prototype.track=lb(function(e,t,n,r){var i;if(!n||!n.skip_hooks){if(null===(i=this._run_hook("before_track",e,t)))return;e=i[0],t=i[1]}r||"function"!==typeof n||(r=n,n=null);var a=(n=n||{}).transport;a&&(n.transport=a);var o=n.send_immediately;if("function"!==typeof r&&(r=Yy),Ay.isUndefined(e))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(e)){(t=Ay.extend({},t)).token=this.get_config("token");var s=this.persistence.remove_event_timer(e);if(!Ay.isUndefined(s)){var l=(new Date).getTime()-s;t.$duration=parseFloat((l/1e3).toFixed(3))}this._set_default_superprops();var u=this.get_config("track_marketing")?Ay.info.marketingParams():{};t=Ay.extend({},Ay.info.properties({mp_loader:this.get_config("mp_loader")}),u,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),t);var c=this.get_config("property_blacklist");Ay.isArray(c)?Ay.each(c,function(e){delete t[e]}):this.report_error("Invalid value for property_blacklist config: "+c),this._start_recording_on_event(e,t);var d={event:e,properties:t};return i=this._track_or_batch({type:"events",data:d,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:o,send_request_options:n},r),this.flags&&this.flags.checkFirstTimeEvents&&this.flags.checkFirstTimeEvents(e,t),i}r(0)}}),E_.prototype.set_group=lb(function(e,t,n){Ay.isArray(t)||(t=[t]);var r={};return r[e]=t,this.register(r),this.people.set(e,t,n)}),E_.prototype.add_group=lb(function(e,t,n){var r=this.get_property(e),i={};return void 0===r?(i[e]=[t],this.register(i)):-1===r.indexOf(t)&&(r.push(t),i[e]=r,this.register(i)),this.people.union(e,t,n)}),E_.prototype.remove_group=lb(function(e,t,n){var r=this.get_property(e);if(void 0!==r){var i=r.indexOf(t);i>-1&&(r.splice(i,1),this.register({group_key:r})),0===r.length&&this.unregister(e)}return this.people.remove(e,t,n)}),E_.prototype.track_with_groups=lb(function(e,t,n,r){var i=Ay.extend({},t||{});return Ay.each(n,function(e,t){null!==e&&void 0!==e&&(i[t]=e)}),this.track(e,i,r)}),E_.prototype._create_map_key=function(e,t){return e+"_"+JSON.stringify(t)},E_.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]},E_.prototype.get_group=function(e,t){var n=this._create_map_key(e,t),r=this._cached_groups[n];return void 0!==r&&r._group_key===e&&r._group_id===t||((r=new t_)._init(this,e,t),this._cached_groups[n]=r),r},E_.prototype.track_pageview=lb(function(e,t){"object"!==typeof e&&(e={});var n=(t=t||{}).event_name||"$mp_web_page_view",r=Ay.extend(Ay.info.mpPageViewProperties(),Ay.info.campaignParams(),Ay.info.clickParams()),i=Ay.extend({},r,e);return this.is_recording_heatmap_data()&&(i.$captured_for_heatmap=!0),this.track(n,i)}),E_.prototype.track_links=function(){return this._track_dom.call(this,Wk,arguments)},E_.prototype.track_forms=function(){return this._track_dom.call(this,Kk,arguments)},E_.prototype.time_event=function(e){Ay.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 I_={persistent:!0},O_=function(e){var t;return t=Ay.isObject(e)?e:Ay.isUndefined(e)?{}:{days:e},Ay.extend({},I_,t)};E_.prototype.register=function(e,t){var n=this._run_hook("before_register",e,t);if(null!==n){e=n[0],t=n[1];var r=O_(t);r.persistent?this.persistence.register(e,r.days):Ay.extend(this.unpersisted_superprops,e)}},E_.prototype.register_once=function(e,t,n){var r=this._run_hook("before_register_once",e,t,n);if(null!==r){e=r[0],t=r[1],n=r[2];var i=O_(n);i.persistent?this.persistence.register_once(e,t,i.days):("undefined"===typeof t&&(t="None"),Ay.each(e,function(e,n){this.unpersisted_superprops.hasOwnProperty(n)&&this.unpersisted_superprops[n]!==t||(this.unpersisted_superprops[n]=e)},this))}},E_.prototype.unregister=function(e,t){var n=this._run_hook("before_unregister",e,t);
2null!==n&&(e=n[0],t=n[1],(t=O_(t)).persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e])},E_.prototype._register_single=function(e,t){var n={};n[e]=t,this.register(n)},E_.prototype.identify=function(e,t,n,r,i,a,o,s){var l=this._run_hook("before_identify",e);if(null===l)return-1;e=l[0];var u=this.get_distinct_id();if(e&&u!==e){if("string"===typeof e&&0===e.indexOf(w_))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:e})}if(!this.get_property("$device_id")){var c=u;this.register_once({$had_persisted_distinct_id:!0,$device_id:c},"")}e!==u&&e!==this.get_property(p_)&&(this.unregister(p_),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(t,n,r,i,a,o,s),e!==u&&this.track("$identify",{distinct_id:e,$anon_distinct_id:u},{skip_hooks:!0}),e!==u&&this.flags.fetchFlags().catch(function(){Iy.error("[flags] Error fetching flags during identify")})},E_.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var e=Ay.UUID();this.register_once({distinct_id:w_+e,$device_id:e},""),this._check_and_start_session_recording(),this.flags.reset()},E_.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},E_.prototype.alias=function(e,t){if(e===this.get_property(d_))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var n=this;return Ay.isUndefined(t)&&(t=this.get_distinct_id()),e!==t?(this._register_single(p_,e),this.track("$create_alias",{alias:e,distinct_id:t},{skip_hooks:!0},function(){n.identify(e)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(e),-1)},E_.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)},E_.prototype.set_config=function(e){Ay.isObject(e)&&(Ay.extend(this.config,e),e.batch_size&&Ay.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),yr.DEBUG=yr.DEBUG||this.get_config("debug"),("autocapture"in e||"record_heatmap_data"in e)&&this.autocapture&&this.autocapture.init(),Ay.isObject(e.hooks)&&(this.hooks={},Ay.each(e.hooks,function(e,t){if(Ay.isFunction(e))this.hooks[t]=[e];else if(Ay.isArray(e)){this.hooks[t]=[];for(var n=0;n<e.length;n++)Ay.isFunction(e[n])||Iy.critical("Invalid hook added. Hook is not a function"),this.hooks[t].push(e[n])}else Iy.critical("Invalid hooks added. Ensure that the hook values passed into config.hooks are functions or arrays of functions.")},this)))},E_.prototype.get_config=function(e){return this.config[e]},E_.prototype._run_hook=function(e){var t=hy.call(arguments,1);return Ay.each(this.hooks[e],function(n){if(null===t)return null;var r=n.apply(this,t);"undefined"===typeof r?(this.report_error(e+" hook did not return a valid value"),t=null):(Ay.isArray(r)||(r=[r]),t.splice.apply(t,[0,r.length].concat(r)))},this),t},E_.prototype.get_property=function(e){return this.persistence.load_prop([e])},E_.prototype.get_api_host=function(e){return this.get_config("api_hosts")[e]||this.get_config("api_host")},E_.prototype.toString=function(){var e=this.get_config("name");return e!==y_&&(e=y_+"."+e),e},E_.prototype._event_is_disabled=function(e){return Ay.isBlockedUA(ky)||this._flags.disable_all_events||Ay.include(this.__disabled_events,e)},E_.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&Ay.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")&&!Ay.cookie.get("mp_optout")||(Ay.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},E_.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()},E_.prototype._gdpr_call_func=function(e,t){return t=Ay.extend({track:Ay.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),Ay.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
2:t.cross_site_cookie,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie,ignoreDnt:t.ignore_dnt})},E_.prototype.opt_in_tracking=function(e){e=Ay.extend({enable_persistence:!0},e),this._gdpr_call_func(ib,e),this._gdpr_update_persistence(e)},E_.prototype.opt_out_tracking=function(e){(e=Ay.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(ab,e),this._gdpr_update_persistence(e)},E_.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(ob,e)},E_.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(sb,e)},E_.prototype.clear_opt_in_out_tracking=function(e){e=Ay.extend({enable_persistence:!0},e),this._gdpr_call_func(db,e),this._gdpr_update_persistence(e)},E_.prototype.report_error=function(e,t){Iy.error.apply(Iy.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.get_config("error_reporter")(e,t)}catch(t){Iy.error(t)}},E_.prototype.add_hook=function(e,t){this.hooks[e]||(this.hooks[e]=[]),this.hooks[e].push(t)},E_.prototype.remove_hook=function(e,t){var n;this.hooks[e]&&(-1!==(n=this.hooks[e].indexOf(t))?this.hooks[e].splice(n,1):Iy.log("remove_hook failed. Matching hook was not found"))},E_.prototype.init=E_.prototype.init,E_.prototype.reset=E_.prototype.reset,E_.prototype.enable=E_.prototype.enable,E_.prototype.disable=E_.prototype.disable,E_.prototype.time_event=E_.prototype.time_event,E_.prototype.track=E_.prototype.track,E_.prototype.track_links=E_.prototype.track_links,E_.prototype.track_forms=E_.prototype.track_forms,E_.prototype.track_pageview=E_.prototype.track_pageview,E_.prototype.register=E_.prototype.register,E_.prototype.register_once=E_.prototype.register_once,E_.prototype.unregister=E_.prototype.unregister,E_.prototype.identify=E_.prototype.identify,E_.prototype.alias=E_.prototype.alias,E_.prototype.name_tag=E_.prototype.name_tag,E_.prototype.set_config=E_.prototype.set_config,E_.prototype.get_config=E_.prototype.get_config,E_.prototype.get_api_host=E_.prototype.get_api_host,E_.prototype.get_property=E_.prototype.get_property,E_.prototype.get_distinct_id=E_.prototype.get_distinct_id,E_.prototype.toString=E_.prototype.toString,E_.prototype.opt_out_tracking=E_.prototype.opt_out_tracking,E_.prototype.opt_in_tracking=E_.prototype.opt_in_tracking,E_.prototype.has_opted_out_tracking=E_.prototype.has_opted_out_tracking,E_.prototype.has_opted_in_tracking=E_.prototype.has_opted_in_tracking,E_.prototype.clear_opt_in_out_tracking=E_.prototype.clear_opt_in_out_tracking,E_.prototype.get_group=E_.prototype.get_group,E_.prototype.set_group=E_.prototype.set_group,E_.prototype.add_group=E_.prototype.add_group,E_.prototype.remove_group=E_.prototype.remove_group,E_.prototype.add_hook=E_.prototype.add_hook,E_.prototype.remove_hook=E_.prototype.remove_hook,E_.prototype.track_with_groups=E_.prototype.track_with_groups,E_.prototype.start_batch_senders=E_.prototype.start_batch_senders,E_.prototype.stop_batch_senders=E_.prototype.stop_batch_senders,E_.prototype.start_session_recording=E_.prototype.start_session_recording,E_.prototype.stop_session_recording=E_.prototype.stop_session_recording,E_.prototype.pause_session_recording=E_.prototype.pause_session_recording,E_.prototype.resume_session_recording=E_.prototype.resume_session_recording,E_.prototype.get_session_recording_properties=E_.prototype.get_session_recording_properties,E_.prototype.get_session_replay_url=E_.prototype.get_session_replay_url,E_.prototype.get_tab_id=E_.prototype.get_tab_id,E_.prototype.DEFAULT_API_ROUTES=x_,E_.prototype.__get_recorder=E_.prototype.__get_recorder,E_.prototype.__get_recording_init_promise=E_.prototype.__get_recording_init_promise,m_.prototype.properties=m_.prototype.properties,m_.prototype.update_search_keyword=m_.prototype.update_search_keyword,m_.prototype.update_referrer_info=m_.prototype.update_referrer_info,m_.prototype.get_cross_subdomain=m_.prototype.get_cross_subdomain,m_.prototype.clear=m_.prototype.clear;var j_={},R_=function(){g_.init=function(e,t,n){if(n)return g_[n]||(g_[n]=j_[n]=A_(e,t,n),g_[n]._loaded()),g_[n];var r=g_;j_[y_]?r=j_[y_]:e&&((r=A_(e,t,y_))._loaded(),j_[y_]=r),g_=r,1===r_&&(gr[y_]=g_),Ay.each(j_,function(e,t){t!==y_&&(g_[t]=e)}),g_._=Ay}};var P_=(v_=function(e,t){t()},r_=0,g_=new E_,R_(),g_.init(),function(){function e(){e.done||(e.done=!0,T_=!0,__=!1,Ay.each(j_,function(e){e._dom_loaded()}))}if(yy.addEventListener)"complete"===yy.readyState?e():yy.addEventListener("DOMContentLoaded",e,!1);else if(yy.attachEvent){yy.attachEvent("onreadystatechange",e);var t=!1;try{t=null===gr.frameElement}catch(HS){}yy.documentElement.doScroll&&t&&function t(){try{yy.documentElement.doScroll("left")}catch(HS){return void setTimeout(t,1)}e()}()}Ay.register_event(gr,"load",e,!0)}(),g_);const N_="cc37bb4a9d82b6cfbd956769c44a3df1",M_="G-9M9TQW1NTV";let L_=!1;function D_(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(L_&&P_.track(e,t),"undefined"!==typeof window&&"function"===typeof window.gtag&&M_&&window.gtag("event",e,t),"undefined"!==typeof window&&window.adroll&&"function"===typeof window.adroll.track)try{"generate_lead"===e&&window.adroll.track("formSubmission",{form_id:t.form_id||"advertise_main",conversion_value:t.value||1,currency:t.currency||"USD"})}catch(HS){}}const V_={"africa-tv-silver":"#plans","africa-tv-gold":"#plans","ghana-tv":"#plans","lusophone-tv":"#plans"};function F_(){const{t:e,lang:t}=mr(),[n,i]=(0,r.useState)(""),[a,o]=(0,r.useState)(!1),[s,l]=(0,r.useState)(null),[u,c]=(0,r.useState)(null);return(0,Ie.jsx)("div",{className:"rec-wrap","data-testid":"plan-recommender",children:(0,Ie.jsx)("div",{className:"rec-card",children:s?(0,Ie.jsxs)("div",{className:"rec-result","data-testid":"rec-result",children:[(0,Ie.jsxs)("span",{className:"rec-badge",children:[(0,Ie.jsx)(ir,{size:14})," ",e("rec.match_label")]}),(0,Ie.jsx)("h3",{children:s.plan_name}),(0,Ie.jsx)("p",{className:"rec-reason",children:s.reason}),Array.isArray(s.top_channels)&&s.top_channels.length>0&&(0,Ie.jsx)("div",{className:"rec-chips",children:s.top_channels.map((e,t)=>(0,Ie.jsx)("span",{className:"rec-chip",children:e},t))}),(0,Ie.jsxs)("div",{className:"rec-actions",children:[(0,Ie.jsx)(Ln,{to:V_[s.plan_slug]||"#plans",className:"btn btn-primary","data-testid":"rec-see-plan",onClick:()=>D_("ai_recommend_cta_click",{plan_slug:s.plan_slug,language:t}),children:e("rec.see_plan")}),(0,Ie.jsxs)("button",{type:"button",onClick:()=>{l(null),i(""),c(null)},className:"btn btn-outline","data-testid":"rec-reset",children:[(0,Ie.jsx)(or,{size:14})," ",e("rec.try_again")]})]})]}):(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsxs)("div",{className:"rec-head",children:[(0,Ie.jsxs)("span",{className:"rec-badge",children:[(0,Ie.jsx)(ir,{size:14})," ",e("rec.badge")]}),(0,Ie.jsx)("h3",{children:e("rec.title")}),(0,Ie.jsx)("p",{className:"rec-lede",children:e("rec.lede")})]}),(0,Ie.jsxs)("form",{onSubmit:async r=>{if(r.preventDefault(),n.trim()&&!a){o(!0),c(null),D_("ai_recommend_request",{language:t,length:n.length});try{const e=await fetch("".concat("https://habalitv.com","/api/recommend"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({interests:n.trim(),language:t})});if(!e.ok)throw new Error("HTTP ".concat(e.status));const r=await e.json();l(r),D_("ai_recommend_result",{language:t,plan_slug:r.plan_slug,plan_name:r.plan_name})}catch(qS){c(e("rec.error")),D_("ai_recommend_error",{language:t,error:String(qS)})}finally{o(!1)}}},className:"rec-form",children:[(0,Ie.jsx)("textarea",{value:n,onChange:e=>i(e.target.value),placeholder:e("rec.placeholder"),rows:3,maxLength:600,disabled:a,"data-testid":"rec-input","aria-label":e("rec.placeholder")}),(0,Ie.jsx)("button",{type:"submit",disabled:a||!n.trim(),className:"btn btn-primary","data-testid":"rec-submit",children:a?(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(ar,{size:16,className:"rec-spin"})," ",e("rec.thinking")]}):(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(ir,{size:16})," ",e("rec.cta")]})})]}),u&&(0,Ie.jsx)("p",{className:"rec-error",role:"alert",children:u})]})})})}function z_(){const e=Rt(),{lang:t}=mr(),n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{var e;e=t,L_&&P_.register({locale:e}),"undefined"!==typeof window&&"function"===typeof window.gtag&&window.gtag("set","user_properties",{language:e})},[t]),(0,r.useEffect)(()=>{const r=e.pathname+e.search,i="".concat(r,"::").concat(t);if(n.current===i)return;n.current=i;const a=setTimeout(()=>{!function(e){let{path:t,title:n,language:r}=e;if(L_&&P_.track("Page View",{path:t,url:window.location.href,title:n,locale:r}),"undefined"!==typeof window&&"function"===typeof window.gtag&&M_&&window.gtag("event","page_view",{page_title:n,page_location:window.location.href,page_path:t,language:r}),"undefined"!==typeof window&&window.adroll&&"function"===typeof window.adroll.track)try{window.adroll.track("pageView")}catch(HS){}}({path:r,title:document.title||"Habali TV",language:t})},50);return()=>clearTimeout(a)},[e.pathname,e.search,t]),null}const H_="https://habalitv.com",q_="".concat(H_,"/assets/og-image.jpg"),U_={home:{en:{title:"Habali TV \u2014 African TV Channels & Haitian Live TV | Stream from Home",description:"Watch African TV channels and Haitian live TV online. News, films, konpa, sports and culture \u2014 streaming on every device with Habali TV.",keywords:"habali tv, african tv streaming, caribbean tv streaming, haiti tele, kreyol tv, live african tv, haitian live tv, konpa, diaspora streaming, ghana tv, lusophone tv, tnh haiti, radio metropole, tele ginen, cloud dvr"},fr:{title:"Habali TV \u2014 TV africaine & carib\xe9enne en direct | Streaming Diaspora",description:"Regardez les cha\xeenes TV africaines et carib\xe9ennes en direct depuis partout. Africa TV Gold, Ghana TV, Lusophone TV et \u2014 d\xe8s le 1er ao\xfbt \u2014 Haiti Tele. Cloud DVR, forfaits d\xe8s 9,99 $/mois. Web, Roku, Apple TV, Fire TV, Samsung, LG, Android et iOS.",keywords:"habali tv, tv africaine streaming, tv carib\xe9enne, haiti tele, tv kreyol, tv africaine en direct, streaming diaspora, ghana tv, lusophone tv, tnh haiti, radio metropole, tele ginen"},ht:{title:"Habali TV \u2014 TV Afriken & Karayibeyen an Dir\xe8k | Streaming Dyaspora",description:"Gade chan\xe8l TV Afriken ak Karayibeyen an dir\xe8k depi nenp\xf2t kote. Africa TV Gold, Ghana TV, Lusophone TV epi \u2014 ap lanse 1ye out \u2014 Haiti Tele. Cloud DVR, f\xf2f\xe8 depi $9.99/mwa. Gade sou W\xe8b, Roku, Apple TV, Fire TV, Samsung, LG, Android ak iOS.",keywords:"habali tv, tv afriken streaming, tv karayibeyen, haiti tele, tv kreyol, tv ayisyen dir\xe8k, streaming dyasp
2ora, ghana tv, lusophone tv, tnh haiti, radio metropole, tele ginen"}},about:{en:{title:"About Habali TV \u2014 Streaming Africa & the Caribbean to the World",description:"Habali TV is a next-generation OTT streaming platform bringing African and Caribbean culture and storytelling to the diaspora worldwide. Launching Haiti Tele August 1, 2026."},fr:{title:"\xc0 propos de Habali TV \u2014 L'Afrique et les Cara\xefbes en streaming dans le monde",description:"Habali TV est une plateforme de streaming OTT nouvelle g\xe9n\xe9ration qui fait rayonner la culture africaine et carib\xe9enne aupr\xe8s de la diaspora mondiale. Lancement de Haiti Tele le 1er ao\xfbt 2026."},ht:{title:"Sou Habali TV \u2014 Streaming Afrik ak Karayib nan Mond lan",description:"Habali TV se yon platf\xf2m streaming OTT nouv\xe8l jenerasyon k ap pote kilti Afriken ak Karayibeyen ak istwa yo bay dyaspora a atrav\xe8 lemond. Ap lanse Haiti Tele 1ye out 2026."}},faq:{en:{title:"Habali TV FAQ \u2014 Plans, Devices & Subscription Help",description:"Answers to frequently asked questions about Habali TV: pricing, supported devices, billing, sign-up steps, parental controls and 24/7 customer support."},fr:{title:"Habali TV FAQ \u2014 Forfaits, appareils & assistance",description:"R\xe9ponses aux questions fr\xe9quentes sur Habali TV : tarifs, appareils compatibles, facturation, inscription, contr\xf4le parental et assistance 24h/24."},ht:{title:"Habali TV FAQ \u2014 F\xf2f\xe8, Apar\xe8y ak \xc8d sou Ab\xf2nman",description:"Repons pou kesyon yo poze souvan sou Habali TV: pri, apar\xe8y sip\xf2te, faktirasyon, etap enskripsyon, kontw\xf2l paran ak sip\xf2 kliyant\xe8l 24/7."}},help:{en:{title:"Habali TV Help Center \u2014 24/7 Customer Support",description:"Knowledge base for Habali TV. Account management, viewing tips, technical troubleshooting and direct contact channels \u2014 available 24/7 in EN and FR."},fr:{title:"Centre d'aide Habali TV \u2014 Assistance 24h/24",description:"Base de connaissances Habali TV. Gestion de compte, conseils de visionnage, d\xe9pannage technique et contact direct \u2014 disponible 24h/24 en EN et FR."},ht:{title:"Sant \xc8d Habali TV \u2014 Sip\xf2 Kliyant\xe8l 24/7",description:"Baz konesans Habali TV. Jere kont, kons\xe8y sou gade, depanaj teknik ak kanal kontak dir\xe8k \u2014 disponib 24/7 an EN, FR ak Krey\xf2l."}},tutorials:{en:{title:"Habali TV Tutorials \u2014 Video Guides for Every Device",description:"Short video walkthroughs for using Habali TV: subscriptions, Cloud DVR, searching channels and mobile setup on phone or tablet."},fr:{title:"Tutoriels Habali TV \u2014 Guides vid\xe9o pour tous les appareils",description:"Courts tutoriels vid\xe9o pour utiliser Habali TV : abonnements, Cloud DVR, recherche de cha\xeenes et configuration mobile sur t\xe9l\xe9phone ou tablette."},ht:{title:"Titory\xe8l Habali TV \u2014 Gid Videyo pou Chak Apar\xe8y",description:"Ti gid videyo kout pou itilize Habali TV: ab\xf2nman, Cloud DVR, ch\xe8che chan\xe8l ak konfigirasyon mobil sou telef\xf2n oswa tabl\xe8t."}},dmca:{en:{title:"DMCA & Copyright Policy \u2014 Habali TV",description:"Habali TV DMCA notice and counter-notification procedures under the Digital Millennium Copyright Act."},fr:{title:"Politique DMCA & Droits d'auteur \u2014 Habali TV",description:"Proc\xe9dures de notification et contre-notification DMCA de Habali TV."},ht:{title:"Politik DMCA ak Dwa Ot\xe8 \u2014 Habali TV",description:"Pwosedi notifikasyon ak kont-notifikasyon DMCA Habali TV anba Digital Millennium Copyright Act la."}},privacy:{en:{title:"Privacy Policy \u2014 Habali TV (Vuku Media LLC)",description:"How Habali TV (Vuku Media LLC) collects, uses and protects your personal information."},fr:{title:"Politique de confidentialit\xe9 \u2014 Habali TV (Vuku Media LLC)",description:"Comment Habali TV (Vuku Media LLC) collecte, utilise et prot\xe8ge vos informations personnelles."},ht:{title:"Politik Konfidansyalite \u2014 Habali TV (Vuku Media LLC)",description:"Kijan Habali TV (Vuku Media LLC) kolekte, itilize ak pwoteje enf\xf2masyon p\xe8son\xe8l ou."}},terms:{en:{title:"Terms of Use \u2014 Habali TV (Vuku Media LLC)",description:"Habali TV Terms of Use: subscription, cancellation policy, intellectual property and changes to the service."},fr:{title:"Conditions d'utilisation \u2014 Habali TV (Vuku Media LLC)",description:"Conditions d'utilisation Habali TV : abonnement, annulation, propri\xe9t\xe9 intellectuelle et \xe9volutions du service."},ht:{title:"Kondisyon Itilizasyon \u2014 Habali TV (Vuku Media LLC)",description:"Kondisyon Itilizasyon Habali TV: ab\xf2nman, politik anilasyon, pwopriyete entelekty\xe8l ak chanjman nan s\xe8vis la."}},advertise:{en:{title:"Advertise on Habali TV \u2014 Reach the African & Caribbean Diasp
2ora at Scale",description:"Partner with Habali TV to reach engaged African and Caribbean diaspora audiences in the US, Canada, UK and Europe across CTV, mobile and web. Request a media kit today.",keywords:"advertise on african tv, caribbean diaspora advertising, haitian diaspora media, african diaspora media buy, ctv advertising africa caribbean, habali tv advertising, multicultural media buying"},fr:{title:"Publicit\xe9 sur Habali TV \u2014 Atteignez la diaspora africaine & carib\xe9enne \xe0 grande \xe9chelle",description:"Faites \xe9quipe avec Habali TV pour toucher des audiences engag\xe9es de la diaspora africaine et carib\xe9enne aux US, au Canada, au Royaume-Uni et en Europe sur CTV, mobile et web. Demandez le media kit.",keywords:"publicit\xe9 tv africaine, publicit\xe9 tv carib\xe9enne, publicit\xe9 diaspora ha\xeftienne, achat m\xe9dia multiculturel, ctv afrique cara\xefbes, habali tv publicit\xe9"},ht:{title:"F\xe8 Piblisite sou Habali TV \u2014 Rive Jwenn Dyaspora Afriken ak Karayibeyen an nan Gran Ech\xe8l",description:"F\xe8 patenarya ak Habali TV pou rive jwenn piblik dyaspora Afriken ak Karayibeyen ki angaje nan Etazini, Kanada, Way\xf2m Ini ak Ew\xf2p atrav\xe8 CTV, mobil ak w\xe8b. Mande yon media kit jodi a.",keywords:"piblisite tv afriken, piblisite tv karayibeyen, piblisite dyaspora ayisyen, medya Afriken dyaspora, ctv afrik karayib, habali tv piblisite"}},"haiti-tele":{en:{title:"Haiti Tele \u2014 Watch Haitian TV Channels Live Online | Habali TV",description:"Stream Haitian live TV with Haiti Tele: news, konpa, films and live events from Haiti. Plans from $13.83/mo. Watch on TV, phone and tablet.",keywords:"haiti tele, haitian tv channels, haitian live tv, watch haitian tv online, kreyol tv, konpa music, tele haiti, tnh haiti, radio metropole, tele ginen, streaming haitian television"},fr:{title:"Haiti Tele \u2014 Regardez la TV ha\xeftienne en direct en ligne | Habali TV",description:"Streamez la TV ha\xeftienne en direct avec Haiti Tele : infos, konpa, films et \xe9v\xe9nements en direct depuis Ha\xefti. Forfaits d\xe8s 13,83 $/mois. TV, mobile et tablette.",keywords:"haiti tele, cha\xeenes tv ha\xeftiennes, tv ha\xeftienne direct, regarder tv ha\xeftienne en ligne, tv kreyol, konpa, tele haiti, tnh haiti"},ht:{title:"Haiti Tele \u2014 Gade Chan\xe8l TV Ayisyen an Dir\xe8k sou Ent\xe8n\xe8t | Habali TV",description:"Gade televizyon ayisyen an dir\xe8k ak Haiti Tele : nouv\xe8l, konpa, fim ak ev\xe8nman an dir\xe8k depi Ayiti. F\xf2f\xe8 k\xf2manse $13,83/mwa. Gade sou TV, telef\xf2n ak tabl\xe8t.",keywords:"haiti tele, chan\xe8l tv ayisyen, tv ayisyen dir\xe8k, gade tv ayisyen sou ent\xe8n\xe8t, tv kreyol, konpa, tele haiti, tnh haiti"}}};function B_(e,t,n,r){let i=document.querySelector(e);i||(i=document.createElement("meta"),i.setAttribute(t,n),document.head.appendChild(i)),i.setAttribute("content",r)}function W_(e,t,n){const r=n?'link[rel="alternate"][hreflang="'.concat(n,'"]'):'link[rel="'.concat(e,'"]');let i=document.querySelector(r);i||(i=document.createElement("link"),i.setAttribute("rel",e),n&&i.setAttribute("hreflang",n),document.head.appendChild(i)),i.setAttribute("href",t)}function K_(e,t){let n=document.getElementById(e);n||(n=document.createElement("script"),n.id=e,n.type="application/ld+json",document.head.appendChild(n)),n.textContent=JSON.stringify(t)}function $_(e){let{page:t,path:n="/",jsonLd:i,breadcrumbs:a,extraJsonLd:o}=e;const{lang:s}=mr(),l=U_[t]&&U_[t][s]||U_.home[s]||U_.home.en,u="".concat(H_).concat(n);return(0,r.useEffect)(()=>{document.title=l.title,B_('meta[name="description"]',"name","description",l.description),l.keywords&&B_('meta[name="keywords"]',"name","keywords",l.keywords),B_('meta[name="robots"]',"name","robots","index, follow, max-image-preview:large"),B_('meta[property="og:title"]',"property","og:title",l.title),B_('meta[property="og:description"]',"property","og:description",l.description),B_('meta[property="og:type"]',"property","og:type","website"),B_('meta[property="og:url"]',"property","og:url",u),B_('meta[property="og:image"]',"property","og:image",q_),B_('meta[property="og:image:width"]',"property","og:image:width","1200"),B_('meta[property="og:image:height"]',"property","og:image:height","630"),B_('meta[property="og:image:alt"]',"property","og:image:alt","Habali TV \u2014 African and Haitian live TV streaming"),B_('meta[property="og:site_name"]',"property","og:site_name","Habali TV");B_('meta[property="og:locale"]',"property","og:locale",{en:"en_US",fr:"fr_FR",ht:"ht_HT"}[s]||"en_US"),B_('meta[property="og:locale:alternate"]',"property","og:locale:alternate",{en:"fr_FR",fr:"en_US",ht:"en_US"}[s]||"fr_FR"),B_('meta[name="twitter:card"]',"name","twitter:card","summary_large_image"),B_('meta[name="twitter:site"]',"name","twitter:site","@habalitv"),B_('meta[name="twitter:title"]',"name","twitter:title",l.title),B_('meta[name="twitter:description"]',"name","twitter:description",l.description),B_('meta[name="twitter:image"]',"name","twitter:image",q_),W_("canonical",u),W_("alternate",u,"en"),W_("alternate",u,"fr"),W_("alternate",u,"ht"),W_("alternate",u,"x-default"),document.documentElement.setAttribute("lang",s);
2i&&K_("ld-".concat(t),i),Array.isArray(o)&&o.forEach(e=>{e&&e.id&&e.data&&K_(e.id,e.data)}),a&&a.length&&K_("ld-breadcrumbs",{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:a.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,item:e.path?"".concat(H_).concat(e.path):void 0}))}),K_("ld-organization",{"@context":"https://schema.org","@type":"Organization",name:"Habali TV",legalName:"Vuku Media LLC",url:H_,logo:"".concat(H_,"/assets/habali-logo.png"),sameAs:["https://www.facebook.com/habalitv","https://x.com/habalitv","https://www.youtube.com/@habalitv7163","https://www.instagram.com/habalitv"],address:{"@type":"PostalAddress",streetAddress:"5850 Waterloo Road, Suite 140",addressLocality:"Columbia",addressRegion:"MD",postalCode:"21045",addressCountry:"US"},contactPoint:[{"@type":"ContactPoint",telephone:"+1-202-350-9035",contactType:"customer support",areaServed:"US",availableLanguage:["English","French","Haitian Creole"]},{"@type":"ContactPoint",telephone:"+1-416-628-6527",contactType:"customer support",areaServed:"CA",availableLanguage:["English","French","Haitian Creole"]},{"@type":"ContactPoint",telephone:"+44-20-3314-0423",contactType:"customer support",areaServed:"GB",availableLanguage:["English"]}]}),K_("ld-website",{"@context":"https://schema.org","@type":"WebSite",name:"Habali TV",url:H_,inLanguage:["en","fr","ht"],publisher:{"@id":"".concat(H_,"#organization")},potentialAction:{"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:"".concat(H_,"/help?q={search_term_string}")},"query-input":"required name=search_term_string"}})},[t,s,n,l.title,l.description,l.keywords,i,a,o,u]),null}const G_=["1","3","6","12"],Y_=/^[A-Za-z0-9._%+\-]+@[A-Za-z0-9.\-]+\.[A-Za-z]{2,}$/;function Q_(e){let{open:t,onClose:n}=e;const{t:i,lang:a}=mr(),[o,s]=(0,r.useState)(""),[l,u]=(0,r.useState)(""),[c,d]=(0,r.useState)(""),[p,h]=(0,r.useState)(""),[f,m]=(0,r.useState)("6"),[g,v]=(0,r.useState)("idle"),[y,b]=(0,r.useState)(""),w=(0,r.useCallback)(()=>{s(""),u(""),d(""),h(""),m("6"),v("idle"),b("")},[]),k=(0,r.useCallback)(()=>{null===n||void 0===n||n(),setTimeout(w,300)},[n,w]);if((0,r.useEffect)(()=>{if(!t)return;const e=e=>{"Escape"===e.key&&k()};return document.addEventListener("keydown",e),document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=""}},[t,k]),!t)return null;return(0,Ie.jsx)("div",{className:"haiti-modal","data-testid":"haiti-preorder-modal",onClick:k,children:(0,Ie.jsxs)("div",{className:"haiti-modal-inner",onClick:e=>e.stopPropagation(),role:"dialog","aria-modal":"true","aria-labelledby":"haiti-form-title",children:[(0,Ie.jsx)("button",{type:"button",className:"haiti-modal-close",onClick:k,"aria-label":i("haiti.form.close"),"data-testid":"haiti-preorder-close",children:"\xd7"}),"ok"===g?(0,Ie.jsxs)("div",{className:"haiti-modal-success","data-testid":"haiti-preorder-success",children:[(0,Ie.jsx)("div",{className:"haiti-modal-emoji","aria-hidden":"true",children:"\ud83c\udded\ud83c\uddf9"}),(0,Ie.jsx)("h2",{id:"haiti-form-title",children:i("haiti.form.success.title")}),(0,Ie.jsx)("p",{children:i("haiti.form.success.body")}),(0,Ie.jsx)("button",{type:"button",className:"btn btn-primary",onClick:k,"data-testid":"haiti-preorder-done",children:i("haiti.form.close")})]}):(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsxs)("div",{className:"haiti-modal-head",children:[(0,Ie.jsx)("span",{className:"haiti-modal-flag","aria-hidden":"true",children:"\ud83c\udded\ud83c\uddf9"}),(0,Ie.jsx)("h2",{id:"haiti-form-title",children:i("haiti.form.title")}),(0,Ie.jsx)("p",{children:i("haiti.form.lede")})]}),(0,Ie.jsxs)("form",{className:"haiti-form",onSubmit:async e=>{if(e.preventDefault(),b(""),l.trim().length<1)b(i("haiti.form.error.name"));else if(Y_.test(o.trim()))if(c.trim().length<5)b(i("haiti.form.error.phone"));else if(p.trim().length<3)b(i("haiti.form.error.address"));else{v("sending");try{const e=await fetch("".concat("https://habalitv.com","/api/haiti-tele/preorder"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:o.trim(),name:l.trim(),phone:c.trim(),address:p.trim(),plan:f,lang:a})});if(!e.ok)throw new Error("HTTP ".concat(e.status));v("ok");try{D_("haiti_tele_preorder",{plan:f,lang:a})}catch(Ay){}}catch(Ay){v("error"),b(i("haiti.form.error"))}}else b(i("haiti.form.error.email"))},"data-testid":"haiti-preorder-form",children:[(0,Ie.jsxs)("label",{className:"haiti-field",children:[(0,Ie.jsx)("span",{children:i("haiti.form.name")}
2),(0,Ie.jsx)("input",{type:"text",value:l,onChange:e=>u(e.target.value),placeholder:i("haiti.form.name.placeholder"),required:!0,autoComplete:"name","data-testid":"haiti-preorder-name"})]}),(0,Ie.jsxs)("label",{className:"haiti-field",children:[(0,Ie.jsx)("span",{children:i("haiti.form.email")}),(0,Ie.jsx)("input",{type:"email",value:o,onChange:e=>s(e.target.value),placeholder:i("haiti.form.email.placeholder"),required:!0,"data-testid":"haiti-preorder-email"})]}),(0,Ie.jsxs)("label",{className:"haiti-field",children:[(0,Ie.jsx)("span",{children:i("haiti.form.phone")}),(0,Ie.jsx)("input",{type:"tel",value:c,onChange:e=>d(e.target.value),placeholder:i("haiti.form.phone.placeholder"),required:!0,"data-testid":"haiti-preorder-phone"})]}),(0,Ie.jsxs)("label",{className:"haiti-field",children:[(0,Ie.jsx)("span",{children:i("haiti.form.address")}),(0,Ie.jsx)("input",{type:"text",value:p,onChange:e=>h(e.target.value),placeholder:i("haiti.form.address.placeholder"),required:!0,"data-testid":"haiti-preorder-address"})]}),(0,Ie.jsxs)("fieldset",{className:"haiti-field haiti-plans",children:[(0,Ie.jsx)("legend",{children:i("haiti.form.plan")}),(0,Ie.jsx)("div",{className:"haiti-plan-grid",role:"radiogroup",children:G_.map(e=>(0,Ie.jsxs)("label",{className:"haiti-plan-pill ".concat(f===e?"active":""),"data-testid":"haiti-preorder-plan-".concat(e),children:[(0,Ie.jsx)("input",{type:"radio",name:"haiti-plan",value:e,checked:f===e,onChange:()=>m(e)}),(0,Ie.jsx)("span",{children:i("haiti.form.plan.".concat(e))})]},e))})]}),y&&(0,Ie.jsx)("p",{className:"haiti-form-error","data-testid":"haiti-preorder-error",children:y}),(0,Ie.jsx)("button",{type:"submit",className:"btn btn-primary large",disabled:"sending"===g,"data-testid":"haiti-preorder-submit",children:i("sending"===g?"haiti.form.sending":"haiti.form.submit")})]})]})]})})}const J_=Yn("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]),X_=Yn("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]),Z_=Yn("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),eS=Yn("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]),tS="habali_admin_basic";function nS(){const e=sessionStorage.getItem(tS);return e?{Authorization:"Basic ".concat(e)}:{}}function rS(){const[e,t]=(0,r.useState)(!!sessionStorage.getItem(tS)),[n,i]=(0,r.useState)("admin"),[a,o]=(0,r.useState)(""),[s,l]=(0,r.useState)(null),[c,d]=(0,r.useState)([]),[p,h]=(0,r.useState)(!1),[f,m]=(0,r.useState)(null),[g,v]=(0,r.useState)({title:"",description:"",link:"/",category:"General"}),[y,b]=(0,r.useState)(!1),w="".concat("https://habalitv.com","/api/admin/announcements"),k=async()=>{if(e){h(!0),m(null);try{const e=await fetch(w,{headers:u({},nS())});if(401===e.status)return sessionStorage.removeItem(tS),t(!1),void l("Session expired. Sign in again.");if(!e.ok)throw new Error("HTTP ".concat(e.status));const n=await e.json();d(n.items||[])}catch(HS){m(String(HS))}finally{h(!1)}}};(0,r.useEffect)(()=>{document.title="Admin \u2014 Announcements",k()},[e]);const _=e=>{e.preventDefault(),l(null);const r=btoa("".concat(n,":").concat(a));sessionStorage.setItem(tS,r),fetch(w,{headers:{Authorization:"Basic ".concat(r)}}).then(e=>{401===e.status?(sessionStorage.removeItem(tS),l("Incorrect username or password.")):(t(!0),o(""))}).catch(()=>l("Could not reach the server."))};return e?(0,Ie.jsxs)("main",{className:"admin-shell","data-testid":"admin-announcements",children:[(0,Ie.jsxs)("div",{className:"admin-topbar",children:[(0,Ie.jsx)(Ln,{to:"/",className:"admin-back",children:"\u2190 Habali TV"}),(0,Ie.jsxs)("div",{className:"admin-topbar-actions",children:[(0,Ie.jsx)(Ln,{to:"/admin/subscribers",className:"btn btn-outline","data-testid":"admin-subscribers-link",children:"Subscribers"}),(0,Ie.jsxs)("button",{onClick:k,className:"btn btn-outline","data-testid":"admin-refresh",children:[(0,Ie.jsx)(J_,{size:14})," Refresh"]}),(0,Ie.jsxs)("button",{onClick:()=>{sessionStorage.removeItem(tS),t(!1),d([])},className:"btn btn-outline","data-testid":"admin-logout",children:[(0,Ie.jsx)(X_,{size:14})," Sign out"]})]})]}),(0,Ie.jsxs)("h1",{children:["Announcements ",(0,Ie.jsxs)("span",{className:"admin-count",children:["(",c.length,")"]})]}),(0,Ie.jsxs)("p",{className:"admin-lede",children:["Items here power the public RSS feed at ",(0,Ie.jsx)("code",{children:"/api/rss.xml"}
2),". Add new items below \u2014 they'll appear in the feed instantly."]}),(0,Ie.jsxs)("section",{className:"admin-card",children:[(0,Ie.jsx)("h2",{children:"Add a new announcement"}),(0,Ie.jsxs)("form",{onSubmit:async e=>{if(e.preventDefault(),!y){b(!0),m(null);try{const e=await fetch(w,{method:"POST",headers:u({"Content-Type":"application/json"},nS()),body:JSON.stringify(g)});if(!e.ok)throw new Error("HTTP ".concat(e.status));v({title:"",description:"",link:"/",category:"General"}),await k()}catch(e){m(String(e))}finally{b(!1)}}},className:"admin-form","data-testid":"admin-create-form",children:[(0,Ie.jsxs)("label",{children:[(0,Ie.jsx)("span",{children:"Title"}),(0,Ie.jsx)("input",{type:"text",value:g.title,onChange:e=>v(u(u({},g),{},{title:e.target.value})),required:!0,minLength:3,maxLength:240,"data-testid":"admin-title"})]}),(0,Ie.jsxs)("label",{children:[(0,Ie.jsx)("span",{children:"Description"}),(0,Ie.jsx)("textarea",{value:g.description,onChange:e=>v(u(u({},g),{},{description:e.target.value})),required:!0,minLength:10,maxLength:2e3,rows:3,"data-testid":"admin-description"})]}),(0,Ie.jsxs)("div",{className:"admin-row-2",children:[(0,Ie.jsxs)("label",{children:[(0,Ie.jsx)("span",{children:"Link"}),(0,Ie.jsx)("input",{type:"text",value:g.link,onChange:e=>v(u(u({},g),{},{link:e.target.value})),placeholder:"/about or https://...",required:!0,"data-testid":"admin-link"})]}),(0,Ie.jsxs)("label",{children:[(0,Ie.jsx)("span",{children:"Category"}),(0,Ie.jsx)("input",{type:"text",value:g.category,onChange:e=>v(u(u({},g),{},{category:e.target.value})),maxLength:80,"data-testid":"admin-category"})]})]}),(0,Ie.jsxs)("button",{type:"submit",className:"btn btn-primary",disabled:y,"data-testid":"admin-create-submit",children:[(0,Ie.jsx)(Z_,{size:14})," ",y?"Publishing\u2026":"Publish"]}),f&&(0,Ie.jsx)("p",{className:"admin-error",role:"alert",children:f})]})]}),(0,Ie.jsxs)("section",{className:"admin-card",children:[(0,Ie.jsx)("h2",{children:"Existing items"}),p?(0,Ie.jsx)("p",{children:"Loading\u2026"}):0===c.length?(0,Ie.jsx)("p",{children:"No announcements yet."}):(0,Ie.jsx)("ul",{className:"admin-list","data-testid":"admin-list",children:c.map(e=>(0,Ie.jsxs)("li",{className:"admin-item",children:[(0,Ie.jsxs)("div",{className:"admin-item-meta",children:[(0,Ie.jsx)("span",{className:"admin-item-cat",children:e.category}),(0,Ie.jsx)("time",{children:new Date(e.published_at).toLocaleDateString()})]}),(0,Ie.jsx)("h3",{children:e.title}),(0,Ie.jsx)("p",{children:e.description}),(0,Ie.jsx)("p",{className:"admin-item-link",children:(0,Ie.jsx)("a",{href:e.link,target:"_blank",rel:"noreferrer",children:e.link})}),(0,Ie.jsxs)("button",{onClick:()=>(async e=>{if(window.confirm('Delete "'.concat(e,'"?')))try{await fetch("".concat(w,"/").concat(encodeURIComponent(e)),{method:"DELETE",headers:u({},nS())}),await k()}catch(HS){m(String(HS))}})(e.slug),className:"admin-delete","data-testid":"admin-delete-".concat(e.slug),children:[(0,Ie.jsx)(eS,{size:14})," Delete"]})]},e.slug))})]})]}):(0,Ie.jsxs)("main",{className:"admin-shell","data-testid":"admin-login",children:[(0,Ie.jsx)(Ln,{to:"/",className:"admin-back",children:"\u2190 Back to site"}),(0,Ie.jsxs)("div",{className:"admin-card",children:[(0,Ie.jsx)("h1",{children:"Admin Sign in"}),(0,Ie.jsx)("p",{className:"admin-lede",children:"Manage announcements published to the Habali TV RSS feed."}),(0,Ie.jsxs)("form",{onSubmit:_,className:"admin-form",children:[(0,Ie.jsxs)("label",{children:[(0,Ie.jsx)("span",{children:"Username"}),(0,Ie.jsx)("input",{type:"text",value:n,onChange:e=>i(e.target.value),autoComplete:"username","data-testid":"admin-user",required:!0})]}),(0,Ie.jsxs)("label",{children:[(0,Ie.jsx)("span",{children:"Password"}),(0,Ie.jsx)("input",{type:"password",value:a,onChange:e=>o(e.target.value),autoComplete:"current-password","data-testid":"admin-pass",required:!0})]}),(0,Ie.jsx)("button",{type:"submit",className:"btn btn-primary","data-testid":"admin-login-submit",children:"Sign in"}),s&&(0,Ie.jsx)("p",{className:"admin-error",role:"alert",children:s})]})]})]})}const iS=Yn("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),aS=Yn("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),oS=Yn("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]),sS="habali_admin_basic";function lS(){const e=sessionStorage.getItem(sS);return e?{Authorization:"Basic ".concat(e)}:{}}function uS(e){if(!e)return"\u2014";
2try{return new Date(e).toLocaleString()}catch(t){return e}}function cS(){var e,t,n;const[i,a]=(0,r.useState)(!!sessionStorage.getItem(sS)),[o,s]=(0,r.useState)(null),[l,c]=(0,r.useState)(!1),[d,p]=(0,r.useState)(null),h="".concat("https://habalitv.com","/api/admin/subscribers"),f=async()=>{if(i){c(!0),p(null);try{const e=await fetch(h,{headers:u({},lS())});if(401===e.status)return sessionStorage.removeItem(sS),void a(!1);if(!e.ok)throw new Error("HTTP ".concat(e.status));s(await e.json())}catch(HS){p(String(HS))}finally{c(!1)}}};(0,r.useEffect)(()=>{document.title="Admin \u2014 Subscribers",f()},[i]);if(!i)return(0,Ie.jsxs)("main",{className:"admin-shell","data-testid":"admin-subs-locked",children:[(0,Ie.jsx)(Ln,{to:"/admin/announcements",className:"admin-back",children:"\u2190 Sign in via /admin/announcements first"}),(0,Ie.jsxs)("p",{className:"admin-lede",style:{marginTop:16},children:["Open ",(0,Ie.jsx)("code",{children:"/admin/announcements"}),", sign in, then return here."]})]});const m=(null===o||void 0===o?void 0:o.counts)||{email_active:0,email_inactive:0,push_active:0,push_inactive:0},g=m.email_active+m.email_inactive,v=m.push_active+m.push_inactive,y=g>0?Math.round(m.email_inactive/g*100):0;return(0,Ie.jsxs)("main",{className:"admin-shell","data-testid":"admin-subscribers",children:[(0,Ie.jsxs)("div",{className:"admin-topbar",children:[(0,Ie.jsxs)(Ln,{to:"/admin/announcements",className:"admin-back",children:[(0,Ie.jsx)(iS,{size:14,style:{verticalAlign:"middle",marginRight:4}}),"Announcements"]}),(0,Ie.jsx)(Ln,{to:"/admin/preorders",className:"admin-back","data-testid":"subs-goto-preorders",children:"Haiti pre-orders \u2192"}),(0,Ie.jsxs)("div",{className:"admin-topbar-actions",children:[(0,Ie.jsxs)("button",{onClick:f,className:"btn btn-outline","data-testid":"subs-refresh",children:[(0,Ie.jsx)(J_,{size:14})," Refresh"]}),(0,Ie.jsxs)("button",{onClick:()=>{const e="".concat("https://habalitv.com","/api/admin/subscribers/export.csv");fetch(e,{headers:u({},lS())}).then(e=>e.blob()).then(e=>{const t=document.createElement("a");t.href=URL.createObjectURL(e),t.download="habalitv-subscribers.csv",document.body.appendChild(t),t.click(),t.remove()})},className:"btn btn-outline","data-testid":"subs-export",children:[(0,Ie.jsx)(aS,{size:14})," Export CSV"]}),(0,Ie.jsxs)("button",{onClick:()=>{sessionStorage.removeItem(sS),a(!1),s(null)},className:"btn btn-outline","data-testid":"subs-logout",children:[(0,Ie.jsx)(X_,{size:14})," Sign out"]})]})]}),(0,Ie.jsx)("h1",{children:"Subscribers"}),(0,Ie.jsx)("p",{className:"admin-lede",children:"Total subscribers across email and Web Push, plus per-announcement engagement (powered by the SendGrid Event Webhook)."}),d&&(0,Ie.jsx)("p",{className:"admin-error",role:"alert",children:d}),(0,Ie.jsxs)("section",{className:"subs-stats","data-testid":"subs-stats",children:[(0,Ie.jsxs)("div",{className:"subs-stat",children:[(0,Ie.jsx)("div",{className:"subs-stat-icon",children:(0,Ie.jsx)(Jn,{size:20})}),(0,Ie.jsx)("div",{className:"subs-stat-label",children:"Email subscribers"}),(0,Ie.jsx)("div",{className:"subs-stat-value",children:m.email_active}),(0,Ie.jsx)("div",{className:"subs-stat-sub",children:m.email_inactive>0?"".concat(m.email_inactive," unsubscribed (").concat(y,"% opt-out)"):"no unsubscribes yet"})]}),(0,Ie.jsxs)("div",{className:"subs-stat",children:[(0,Ie.jsx)("div",{className:"subs-stat-icon",children:(0,Ie.jsx)(oS,{size:20})}),(0,Ie.jsx)("div",{className:"subs-stat-label",children:"Push subscribers"}),(0,Ie.jsx)("div",{className:"subs-stat-value",children:m.push_active}),(0,Ie.jsx)("div",{className:"subs-stat-sub",children:m.push_inactive>0?"".concat(m.push_inactive," stale/inactive"):"no stale subs"})]}),(0,Ie.jsxs)("div",{className:"subs-stat",children:[(0,Ie.jsx)("div",{className:"subs-stat-label",children:"Total opt-ins"}),(0,Ie.jsx)("div",{className:"subs-stat-value",children:g+v}),(0,Ie.jsxs)("div",{className:"subs-stat-sub",children:[g," email + ",v," push (all-time)"]})]})]}),(0,Ie.jsxs)("section",{className:"admin-card",children:[(0,Ie.jsx)("h2",{children:"Per-announcement engagement"}),(0,Ie.jsxs)("p",{className:"admin-lede",style:{margin:"0 0 14px"},children:["Open/click data requires the SendGrid Event Webhook to point at",(0,Ie.jsxs)("code",{children:[" ","https://habalitv.com","/api/sendgrid/webhook"]}),"."]}),null!==o&&void 0!==o&&null!==(e=o.recent_announcements)&&void 0!==e&&e.length?(0,Ie.jsx)("div",{className:"subs-table-wrap",children:(0,Ie.jsxs)("table",{className:"subs-table",children:[(0,Ie.jsx)("thead",{children:(0,Ie.jsxs)("tr",{children:[(0,Ie.jsx)("th",{children:"Announcement"}),(0,Ie.jsx)("th",{children:"Sent"}),(0,Ie.jsx)("th",{children:"Delivered"}),(0,Ie.jsx)("th",{children:"Opens"}),(0,Ie.jsx)("th",{children:"Clicks"}),(0,Ie.jsx)("th",{children:"Bounces"}),(0,Ie.jsx)("th",{children:"Unsubs"})]})}),(0,Ie.jsx)("tbody",{children:o.recent_announcements.map(e=>(0,Ie.jsxs)("tr",{children:[(0,Ie.jsxs)("td",{children:[(0,Ie.jsx)("div",{className:"subs-ann-title",children:e.title}),(0,Ie.jsxs)("div",{className:"subs-ann-meta",children:[(0,Ie.jsx)("span",{className:"admin-item-cat",children:e.category}),uS(e.published_at)]})]}),(0,Ie.jsx)("td",{children:uS(e.published_at).split(",")[0]}),(0,Ie.jsx)("td",{children:e.delivered||"\u2014"}),(0,Ie.jsx)("td",{children:(0,Ie.jsx)("strong",{children:e.opens||"\u2014"})}),(0,Ie.jsx)("td",{children:(0,Ie.jsx)("strong",{children:e.clicks||"\u2014"})}),(0,Ie.jsx)("td",{children:e.bounces||"\u2014"}),(0,Ie.jsx)("td",{children:e.unsubscribes||"\u2014"})]},e.slug))})]})}):(0,Ie.jsx)("p",{children:"No announcements yet."})]}),(0,Ie.jsxs)("section",{className:"admin-card",children:[(0,Ie.jsxs)("h2",{children:["Recent email subscribers (",(null===o||void 0===o||null===(t=o.recent_emails)||void 0===t?void 0:t.length)||0,")"]}),l?(0,Ie.jsx)("p",{children:"Loading\u2026"}):null!==o&&void 0!==o&&null!==(n=o.recent_emails)&&void 0!==n&&n.length?(0,Ie.jsx)("div",{className:"subs-table-wrap",children:(0,Ie.jsxs)("table",{className:"subs-table",children:[(0,Ie.jsx)("thead",{children:(0,Ie.jsxs)("tr",{children:[(0,Ie.jsx)("th",{children:"Email"}),(0,Ie.jsx)("th",{children:"Subscribed"}),(0,Ie.jsx)("th",{children:"Status"}),(0,Ie.jsx)("th",{})]})}),(0,Ie.jsx)("tbody",{children:o.recent_emails.map(e=>(0,Ie.jsxs)("tr",{children:[(0,Ie.jsx)("td",{className:"mono",children:e.email}),(0,Ie.jsx)("td",{children:uS(e.subscribed_at)}),(0,Ie.jsx)("td",{children:e.active?(0,Ie.jsx)("span",{className:"badge badge-ok",children:"active"}):(0,Ie.jsx)("span",{className:"badge badge-muted",title:uS(e.unsubscribed_at),children:"unsubscribed"})}),(0,Ie.jsx)("td",{children:(0,Ie.jsx)("button",{className:"admin-delete",onClick:()=>(async(e,t)=>{if(window.confirm("Delete this ".concat(e," subscriber?")))try{await fetch("".concat("https://habalitv.com","/api/admin/subscribers/").concat(e,"/").concat(encodeURIComponent(t)),{method:"DELETE",headers:u({},lS())}),await f()}catch(HS){p(String(HS))}})("email",e.email),"data-testid":"subs-delete-".concat(e.email),children:(0,Ie.jsx)(eS,{size:12})})})]},e.email))})]})}):(0,Ie.jsx)("p",{children:"No subscribers yet."})]})]})}const dS=Yn("radio",[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]),pS="habali_admin_basic";function hS(){const e=sessionStorage.getItem(pS);return e?{Authorization:"Basic ".concat(e)}:{}}function fS(e){if(!e)return"\u2014";
2try{return new Date(e).toLocaleString()}catch(t){return e}}const mS={1:"1 month",3:"3 months",6:"6 months",12:"12 months"};function gS(){var e,t;const[n,i]=(0,r.useState)(!!sessionStorage.getItem(pS)),[a,o]=(0,r.useState)(null),[s,l]=(0,r.useState)(!1),[c,d]=(0,r.useState)(null),p="".concat("https://habalitv.com","/api/admin/haiti-preorders"),h=async()=>{if(n){l(!0),d(null);try{const e=await fetch(p,{headers:u({},hS())});if(401===e.status)return sessionStorage.removeItem(pS),void i(!1);if(!e.ok)throw new Error("HTTP ".concat(e.status));o(await e.json())}catch(HS){d(String(HS))}finally{l(!1)}}};(0,r.useEffect)(()=>{document.title="Admin \u2014 Haiti Tele Pre-orders",h()},[n]);if(!n)return(0,Ie.jsxs)("main",{className:"admin-shell","data-testid":"admin-preorders-locked",children:[(0,Ie.jsx)(Ln,{to:"/admin/announcements",className:"admin-back",children:"\u2190 Sign in via /admin/announcements first"}),(0,Ie.jsxs)("p",{className:"admin-lede",style:{marginTop:16},children:["Open ",(0,Ie.jsx)("code",{children:"/admin/announcements"}),", sign in, then return here."]})]});const f=(null===a||void 0===a?void 0:a.counts)||{total:0,by_plan:{}};return(0,Ie.jsxs)("main",{className:"admin-shell","data-testid":"admin-preorders",children:[(0,Ie.jsxs)("div",{className:"admin-topbar",children:[(0,Ie.jsxs)(Ln,{to:"/admin/subscribers",className:"admin-back",children:[(0,Ie.jsx)(iS,{size:14,style:{verticalAlign:"middle",marginRight:4}}),"Subscribers"]}
2),(0,Ie.jsxs)("div",{className:"admin-topbar-actions",children:[(0,Ie.jsxs)("button",{onClick:h,className:"btn btn-outline","data-testid":"preorders-refresh",children:[(0,Ie.jsx)(J_,{size:14})," Refresh"]}),(0,Ie.jsxs)("button",{onClick:()=>{fetch("".concat(p,"/export.csv"),{headers:u({},hS())}).then(e=>e.blob()).then(e=>{const t=document.createElement("a");t.href=URL.createObjectURL(e),t.download="habalitv-haiti-preorders.csv",document.body.appendChild(t),t.click(),t.remove()})},className:"btn btn-outline","data-testid":"preorders-export",children:[(0,Ie.jsx)(aS,{size:14})," Export CSV"]}),(0,Ie.jsxs)("button",{onClick:()=>{sessionStorage.removeItem(pS),i(!1),o(null)},className:"btn btn-outline","data-testid":"preorders-logout",children:[(0,Ie.jsx)(X_,{size:14})," Sign out"]})]})]}),(0,Ie.jsx)("h1",{children:"Haiti Tele Pre-orders"}),(0,Ie.jsx)("p",{className:"admin-lede",children:"Everyone who reserved a spot for the Haiti Tele launch (August 1, 2026)."}),c&&(0,Ie.jsx)("p",{className:"admin-error",role:"alert",children:c}),(0,Ie.jsxs)("section",{className:"subs-stats","data-testid":"preorders-stats",children:[(0,Ie.jsxs)("div",{className:"subs-stat",children:[(0,Ie.jsx)("div",{className:"subs-stat-icon",children:(0,Ie.jsx)(dS,{size:20})}),(0,Ie.jsx)("div",{className:"subs-stat-label",children:"Total pre-orders"}),(0,Ie.jsx)("div",{className:"subs-stat-value","data-testid":"preorders-total",children:f.total}),(0,Ie.jsx)("div",{className:"subs-stat-sub",children:"all-time reservations"})]}),["1","3","6","12"].map(e=>{var t,n;return(0,Ie.jsxs)("div",{className:"subs-stat",children:[(0,Ie.jsxs)("div",{className:"subs-stat-label",children:[mS[e]," plan"]}),(0,Ie.jsx)("div",{className:"subs-stat-value",children:(null===(t=f.by_plan)||void 0===t?void 0:t[e])||0}),(0,Ie.jsx)("div",{className:"subs-stat-sub",children:f.total>0?"".concat(Math.round(((null===(n=f.by_plan)||void 0===n?void 0:n[e])||0)/f.total*100),"% of total"):"\u2014"})]},e)})]}),(0,Ie.jsxs)("section",{className:"admin-card",children:[(0,Ie.jsxs)("h2",{children:["Recent pre-orders (",(null===a||void 0===a||null===(e=a.recent)||void 0===e?void 0:e.length)||0,")"]}),s?(0,Ie.jsx)("p",{children:"Loading\u2026"}):null!==a&&void 0!==a&&null!==(t=a.recent)&&void 0!==t&&t.length?(0,Ie.jsx)("div",{className:"subs-table-wrap",children:(0,Ie.jsxs)("table",{className:"subs-table",children:[(0,Ie.jsx)("thead",{children:(0,Ie.jsxs)("tr",{children:[(0,Ie.jsx)("th",{children:"Email"}),(0,Ie.jsx)("th",{children:"Name"}),(0,Ie.jsx)("th",{children:"Phone"}),(0,Ie.jsx)("th",{children:"Address"}),(0,Ie.jsx)("th",{children:"Plan"}),(0,Ie.jsx)("th",{children:"Status"}),(0,Ie.jsx)("th",{children:"Received"}),(0,Ie.jsx)("th",{})]})}),(0,Ie.jsx)("tbody",{children:a.recent.map(e=>(0,Ie.jsxs)("tr",{children:[(0,Ie.jsx)("td",{className:"mono",children:e.email}),(0,Ie.jsx)("td",{children:e.name||"\u2014"}),(0,Ie.jsx)("td",{className:"mono",children:e.phone}),(0,Ie.jsx)("td",{children:e.address}),(0,Ie.jsx)("td",{children:(0,Ie.jsx)("span",{className:"badge badge-ok",children:mS[e.plan]||e.plan})}),(0,Ie.jsx)("td",{children:(0,Ie.jsx)("span",{className:"badge badge-muted",children:e.status||"pending"})}),(0,Ie.jsx)("td",{children:fS(e.received_at)}),(0,Ie.jsx)("td",{children:(0,Ie.jsx)("button",{className:"admin-delete",onClick:()=>(async e=>{if(window.confirm("Delete this pre-order?"))try{await fetch("".concat(p,"/").concat(e),{method:"DELETE",headers:u({},hS())}),await h()}catch(HS){d(String(HS))}})(e._id),"data-testid":"preorder-delete-".concat(e._id),children:(0,Ie.jsx)(eS,{size:12})})})]},e._id))})]})}):(0,Ie.jsx)("p",{children:"No pre-orders yet."})]})]})}const vS="https://tv.habalitv.com/",yS="https://tv.habalitv.com/",bS=[{hash:"live",key:"nav.live"},{hash:"channels",key:"nav.channels"},{hash:"dvr",key:"nav.dvr"},{hash:"plans",key:"nav.plans"},{hash:"devices",key:"nav.devices"}],wS=[{name:"Voxafrica",logo:"/assets/channels/voxafrica.jpg"},{name:"Equinoxe TV",logo:"/assets/channels/equinoxe-tv.jpg"},{name:"RTS 1",logo:"/assets/channels/rts1.jpg"},{name:"RFI",logo:"/assets/channels/rfi-monde.jpg"},{name:"Ghana TV",logo:"/assets/channels/ghana-tv.jpg"}],kS=[{id:"gold",featureCount:5,highlight:!0},{id:"ghana",featureCount:5,highlight:!1},{id:"lusophone",featureCount:5,highlight:!1},{id:"haiti",featureCount:5,highlight:!1,badge:"haiti.badge"}],_S={gold:{1:"$14.99",3:"$39.99",6:"$69.99",12:"$119.99"},ghana:{1:"$9.99",3:"$26.99",6:"$44.99",12:"$79.99"},lusophone:{1:"$9.99",3:"$26.99",6:"$44.99",12:"$79.99"},haiti:{1:"$15.99",3:"$45.99",6:"$85.99",12:"$165.99"}},SS=["1","3","6","12"],xS=[{name:"Web TV",url:yS},{name:"Samsung Smart TV",url:"https://www.samsung.com/us/tvs/smart-tv/samsung-tv-apps-detail/?appId=3202505039997"},{name:"Android",url:"https://play.google.com/store/apps/details?id=com.habalitv.mw.client.atv&pli=1"}
2,{name:"Roku",url:"https://channelstore.roku.com/details/fd58248b053c90229cebdd99cbd82fea:86c5cb4594ff0d6ed2bf66eb33d8a6ce/habali-tv"},{name:"Fire TV",url:"https://www.amazon.com/PUSH-STREAM-INC-Habali-Amazon/dp/B08B8TRP63"},{name:"LG Smart TV",url:"https://us.lgappstv.com/main/tvapp/detail?appId=1270241&catCode1=&moreYn=N&cateYn=N&orderType=0&headerName=&appRankCode=&sellrUsrNo="},{name:"Apple TV",url:"https://apps.apple.com/us/app/habali-tv/id1518948430"}],CS="https://www.youtube.com/@habalitv7163";function TS(){const{t:e,lang:t,toggle:n}=mr(),[i,a]=(0,r.useState)(!1),[o,s]=(0,r.useState)(!1),l="/"===Rt().pathname,u=e=>l?"#".concat(e):"/#".concat(e);(0,r.useEffect)(()=>{const e=()=>a(window.scrollY>30);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);const c=()=>s(!1);return(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsxs)("header",{className:"topbar ".concat(i?"scrolled":""),"data-testid":"site-topbar",children:[(0,Ie.jsx)(Ln,{to:"/",className:"brand","aria-label":"Habali TV home","data-testid":"brand-logo-link",children:(0,Ie.jsx)("span",{className:"brand-logo",style:{WebkitMaskImage:"url(/assets/habali-logo.png)",maskImage:"url(/assets/habali-logo.png)"},children:(0,Ie.jsx)("img",{src:"/assets/habali-logo.png",alt:"Habali TV"})})}),(0,Ie.jsx)("nav",{className:"navlinks","aria-label":"Main navigation",children:bS.map(t=>t.to?(0,Ie.jsx)(Ln,{to:t.to,title:t.titleKey?e(t.titleKey):void 0,"data-testid":"nav-".concat(t.to.replace(/^\//,"").replace(/\//g,"-")),children:e(t.key)},t.to):(0,Ie.jsx)("a",{href:u(t.hash),"data-testid":"nav-".concat(t.hash),children:e(t.key)},t.hash))}),(0,Ie.jsxs)("div",{className:"nav-actions",children:[(0,Ie.jsxs)("button",{type:"button",className:"lang-toggle",onClick:n,"aria-label":"en"===t?"Passer en fran\xe7ais":"fr"===t?"Chanje lang nan Krey\xf2l":"Switch to English","data-testid":"lang-toggle",title:"en"===t?"Fran\xe7ais":"fr"===t?"Krey\xf2l":"English",children:[(0,Ie.jsx)(Qn,{size:15}),(0,Ie.jsx)("span",{children:"en"===t?"FR":"fr"===t?"HT":"EN"})]}),(0,Ie.jsx)("a",{className:"signin",href:vS,target:"_blank",rel:"noopener noreferrer","data-testid":"nav-signin",children:e("nav.signin")}),(0,Ie.jsx)("a",{className:"btn btn-primary",href:yS,target:"_blank",rel:"noopener noreferrer","data-testid":"nav-start-watching",children:e("nav.start")})]}),(0,Ie.jsxs)("button",{className:"hamburger","aria-label":o?"Close menu":"Open menu",onClick:()=>s(e=>!e),"data-testid":"hamburger-btn",children:[(0,Ie.jsx)("span",{}),(0,Ie.jsx)("span",{}),(0,Ie.jsx)("span",{})]})]}),o&&(0,Ie.jsxs)("div",{className:"mobile-drawer","data-testid":"mobile-drawer",children:[bS.map(t=>t.to?(0,Ie.jsx)(Ln,{to:t.to,title:t.titleKey?e(t.titleKey):void 0,onClick:c,children:e(t.key)},t.to):(0,Ie.jsx)("a",{href:u(t.hash),onClick:c,children:e(t.key)},t.hash)),(0,Ie.jsxs)("button",{type:"button",className:"lang-toggle mobile",onClick:()=>{n(),c()},"data-testid":"lang-toggle-mobile",children:[(0,Ie.jsx)(Qn,{size:15})," ","en"===t?"Fran\xe7ais":"fr"===t?"Krey\xf2l":"English"]}),(0,Ie.jsx)("a",{href:vS,target:"_blank",rel:"noopener noreferrer",onClick:c,children:e("nav.signin")}),(0,Ie.jsx)("a",{className:"btn btn-primary",href:yS,target:"_blank",rel:"noopener noreferrer",onClick:c,children:e("nav.start")})]})]})}function ES(){const{t:e}=mr(),[t,i]=(0,r.useState)(""),[a,o]=(0,r.useState)(!1),[s,l]=(0,r.useState)(!0),[u,c]=(0,r.useState)({state:"idle",msg:""});(0,r.useEffect)(()=>{n.e(630).then(n.bind(n,630)).then(e=>{let{isPushSupported:t}=e;l(t())})},[]);return(0,Ie.jsxs)("form",{className:"newsletter-form",onSubmit:async r=>{if(r.preventDefault(),"loading"!==u.state){c({state:"loading",msg:""});try{const r=await fetch("".concat("https://habalitv.com","/api/subscribe"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t.trim()})}),l=await r.json().catch(()=>({}));if(!r.ok)throw new Error(l.detail||"HTTP ".concat(r.status));D_("newsletter_subscribe",{status:l.status,also_push:a&&s});let u="already_subscribed"===l.status?e("news.already"):e("news.thanks");if(a&&s)try{const{subscribeToPush:t}=await n.e(630).then(n.bind(n,630));await t(),D_("push_subscribe",{surface:"newsletter"}),u="".concat(u," ").concat(e("news.push_added"))}catch(o){const t="Permission denied"===(null===o||void 0===o?void 0:o.message)?e("news.push_denied"):e("news.push_error");u="".concat(u," ").concat(t),D_("push_subscribe_error",{surface:"newsletter",error:String(o)})}c({state:"ok",msg:u}),i("")}catch(qS){c({state:"err",msg:e("news.error")})}}},"data-testid":"newsletter-form",noValidate:!0,children:[(0,Ie.jsx)("input",{type:"email",required:!0,value:t,onChange:e=>i(e.target.value),placeholder:e("news.placeholder"),"aria-label":"Email",disabled:"loading"===u.state,"data-testid":"newsletter-email"}),(0,Ie.jsx)("button",{type:"submit",className:"btn",disabled:"loading"===u.state||!t.trim(),"data-testid":"newsletter-submit",children:"loading"===u.state?"\u2026":e("news.cta")}),s&&(0,Ie.jsxs)("label",{className:"newsletter-push-opt","data-testid":"newsletter-push-label",children:[(0,Ie.jsx)("input",{type:"checkbox",checked:a,onChange:e=>o(e.target.checked),disabled:"loading"===u.state,"data-testid":"newsletter-push-checkbox"}),(0,Ie.jsx)("span",{children:e("news.push_optin")})]}),u.msg&&(0,Ie.jsx)("p",{className:"newsletter-status ".concat("err"===u.state?"err":"ok"),role:"status","data-testid":"newsletter-status",children:u.msg})]})}function AS(){const{t:e}=mr();return(0,Ie.jsxs)("footer",{className:"footer-wrap","data-testid":"site-footer",children:[(0,Ie.jsx)("div",{className:"newsletter-banner","data-testid":"newsletter-banner",children:(0,Ie.jsxs)("div",{className:"newsletter-inner",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("p",{className:"eyebrow",style:{color:"#fff",opacity:.85},children:e("news.eyebrow")}),(0,Ie.jsx)("h3",{children:e("news.title")}),(0,Ie.jsx)("p",{className:"newsletter-sub",children:e("news.sub")})]}),(0,Ie.jsx)(ES,{})]})}),(0,Ie.jsxs)("div",{className:"footer-main",children:[(0,Ie.jsxs)("div",{className:"footer-brand",children:[(0,Ie.jsx)("span",{className:"brand-logo footer-logo",style:{WebkitMaskImage:"url(/assets/habali-logo.png)",maskImage:"url(/assets/habali-logo.png)"},children:(0,Ie.jsx)("img",{src:"/assets/habali-logo.png",alt:"Habali TV"})}),(0,Ie.jsx)("p",{className:"footer-tag",children:e("footer.tag")}),(0,Ie.jsxs)("ul",{className:"footer-contact",children:[(0,Ie.jsxs)("li",{children:[(0,Ie.jsx)("span",{"aria-hidden":"true",children:"\ud83c\uddfa\ud83c\uddf8"})," ",(0,Ie.jsx)("a",{href:"tel:+12023509035",children:"+1-202-350-9035"})]}),(0,Ie.jsxs)("li",{children:[(0,Ie.jsx)("span",{"aria-hidden":"true",children:"\ud83c\udde8\ud83c\udde6"})," ",(0,Ie.jsx)("a",{href:"tel:+14166286527",children:"+1-416-628-6527"})]}),(0,Ie.jsxs)("li",{children:[(0,Ie.jsx)("span",{"aria-hidden":"true",children:"\ud83c\uddec\ud83c\udde7"})," ",(0,Ie.jsx)("a",{href:"tel:+442033140423",children:"+44 20 33140423"})]}),(0,Ie.jsxs)("li",{children:[(0,Ie.jsx)("span",{"aria-hidden":"true",children:"\ud83d\udcac"})," ",(0,Ie.jsx)("a",{href:"https://wa.me/13013377279",target:"_blank",rel:"noopener noreferrer","data-testid":"footer-whatsapp",children:"WhatsApp +1 301 337 7279"})," ",(0,Ie.jsx)("small",{className:"footer-note",children:"(SMS ONLY)"})]}),(0,Ie.jsxs)("li",{children:[(0,Ie.jsx)(Jn,{size:16})," ",(0,Ie.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})]}),(0,Ie.jsxs)("div",{className:"footer-social","aria-label":"Follow us",children:[(0,Ie.jsx)("span",{className:"follow-label",children:e("footer.follow")}),(0,Ie.jsx)("a",{href:"https://www.facebook.com/habalitv",target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook","data-testid":"social-facebook",children:(0,Ie.jsx)(Xn,{size:18})}),(0,Ie.jsx)("a",{href:"https://x.com/habalitv",target:"_blank",rel:"noopener noreferrer","aria-label":"X (Twitter)","data-testid":"social-x",children:(0,Ie.jsx)(Zn,{size:18})}),(0,Ie.jsx)("a",{href:"https://www.youtube.com/@habalitv7163",target:"_blank",rel:"noopener noreferrer","aria-label":"YouTube","data-testid":"social-youtube",children:(0,Ie.jsx)(er,{size:18})}),(0,Ie.jsx)("a",{href:"https://www.instagram.com/habalitv",target:"_blank",rel:"noopener noreferrer","aria-label":"Instagram","data-testid":"social-instagram",children:(0,Ie.jsx)(tr,{size:18})})]})]}),(0,Ie.jsxs)("div",{className:"footer-col",children:[(0,Ie.jsx)("h4",{children:e("footer.company")}),(0,Ie.jsxs)("ul",{children:[(0,Ie.jsx)("li",{children:(0,Ie.jsx)(Ln,{to:"/about","data-testid":"footer-about",children:e("footer.about")})}),(0,Ie.jsx)("li",{children:(0,Ie.jsx)(Ln,{to:"/dmca","data-testid":"footer-dmca",children:e("footer.dmca")})}),(0,Ie.jsx)("li",{children:(0,Ie.jsx)("a",{href:"#","data-testid":"footer-refer",children:e("footer.refer")})}),(0,Ie.jsx)("li",{children:(0,Ie.jsx)(Ln,{to:"/advertise","data-testid":"footer-advertise",children:e("footer.advertise")})}),(0,Ie.jsx)("li",{children:(0,Ie.jsx)("a",{href:"mailto:[email protected]?subject=Channel%20Suggestion","data-testid":"footer-channel-suggestion",children:e("footer.channel_suggestion")})})]})]}),(0,Ie.jsxs)("div",{className:"footer-col",children:[(0,Ie.jsx)("h4",{children:e("footer.resources")}),(0,Ie.jsxs)("ul",{children:[(0,Ie.jsx)("li",{children:(0,Ie.jsx)("a",{href:"mailto:[email protected]?subject=Work%20With%20Us","data-testid":"footer-work-with-us",children:e("footer.work_with_us")})}),(0,Ie.jsx)("li",{children:(0,Ie.jsx)(Ln,{to:"/faq","data-testid":"footer-faq",children:e("footer.faq")})}),(0,Ie.jsx)("li",{children:(0,Ie.jsx)("a",{href:"mailto:[email protected]",children:e("footer.contact")})}),(0,Ie.jsx)("li",{children:(0,Ie.jsx)(Ln,{to:"/tutorials","data-testid":"footer-tutorials",children:e("footer.tutorials")})}),(0,Ie.jsx)("li",{children:(0,Ie.jsx)(Ln,{to:"/help","data-testid":"footer-help",children:e("footer.help")})})]})]}),(0,Ie.jsxs)("div",{className:"footer-col",children:[(0,Ie.jsx)("h4",{children:e("footer.legal")}),(0,Ie.jsxs)("ul",{children:[(0,Ie.jsx)("li",{children:(0,Ie.jsx)(Ln,{to:"/privacy","data-testid":"footer-privacy",children:e("footer.privacy")})}),(0,Ie.jsx)("li",{children:(0,Ie.jsx)(Ln,{to:"/terms","data-testid":"footer-terms",children:e("footer.terms")})})]})]}),(0,Ie.jsxs)("div",{className:"footer-col footer-download",children:[(0,Ie.jsx)("h4",{children:e("footer.download")}),(0,Ie.jsxs)("div",{className:"qr-row",children:[(0,Ie.jsxs)("a",{className:"qr-tile",href:"https://play.google.com/store/apps/details?id=com.habalitv.mw.client.atv&pli=1",target:"_blank",rel:"noopener noreferrer","data-testid":"qr-google-play",children:[(0,Ie.jsx)("img",{src:"/assets/qr-googleplay.png",alt:"Google Play QR \u2014 Habali TV Android app"}),(0,Ie.jsx)("span",{children:e("footer.qr.google")})]}),(0,Ie.jsxs)("a",{className:"qr-tile",href:"https://apps.apple.com/us/app/habali-tv/id1518948430",target:"_blank",rel:"noopener noreferrer","data-testid":"qr-app-store",children:[(0,Ie.jsx)("img",{src:"/assets/qr-appstore.png",alt:"App Store QR \u2014 Habali TV iOS app"}),(0,Ie.jsx)("span",{children:e("footer.qr.app")})]})]})]})]}),(0,Ie.jsxs)("div",{className:"footer-bottom",children:[(0,Ie.jsx)("p",{className:"footer-address",children:"5850 Waterloo Road - Columbia, MD 21045"}),(0,Ie.jsx)("p",{children:e("footer.copyright",{year:(new Date).getFullYear()})})]})]})}function IS(){const{t:e,lang:t}=mr(),[n,i]=(0,r.useState)("1"),[a,o]=(0,r.useState)(!1),[s,l]=(0,r.useState)(null);(0,r.useEffect)(()=>{"ht"===t&&fetch("".concat("https://habalitv.com","/api/haiti-tele/preorder/count")).then(e=>e.json()).then(e=>l(e.count)).catch(()=>{})},[t]);const u=r.useMemo(()=>({"@context":"https://schema.org","@type":"Product",name:"Habali TV \u2014 African TV Channels & Haitian Live TV Streaming",description:"Watch African TV channels live and stream Haitian live TV online with Habali TV. News, konpa music, films and Caribbean TV channels for the African and Haitian diaspora. Plans from $9.99/month with Cloud DVR on Web, Roku, Apple TV, Fire TV, Android, iOS, Samsung and LG.",brand:{"@type":"Brand",name:"Habali TV"},image:"https://habalitv.com/assets/habali-logo.png",aggregateRating:{"@type":"AggregateRating",ratingValue:"4.7",reviewCount:"1280"},offers:{"@type":"AggregateOffer",priceCurrency:"USD",lowPrice:"9.99",highPrice:"165.99",offerCount:"4",offers:[{"@type":"Offer",name:"Africa TV Gold",price:"14.99",priceCurrency:"USD",availability:"https://schema.org/InStock",url:"https://habalitv.com/#plans"},{"@type":"Offer",name:"Ghana TV",price:"9.99",priceCurrency:"USD",availability:"https://schema.org/InStock",url:"https://habalitv.com/#plans"},{"@type":"Offer",name:"Lusophone TV",price:"9.99",priceCurrency:"USD",availability:"https://schema.org/InStock",url:"https://habalitv.com/#plans"},{"@type":"Offer",name:"Haiti Tele",price:"15.99",priceCurrency:"USD",availability:"https://schema.org/PreOrder",availabilityStarts:"2026-08-01",url:"https://habalitv.com/#plans"}
2]}}),[]);return(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)($_,{page:"home",path:"/",jsonLd:u}),(0,Ie.jsx)(TS,{}),(0,Ie.jsxs)("main",{children:[(0,Ie.jsxs)("section",{className:"hero",id:"hero","data-testid":"hero-section",children:["ht"===t&&null!==s&&(0,Ie.jsxs)("button",{type:"button",className:"haiti-counter","data-testid":"haiti-live-counter",onClick:()=>o(!0),children:[(0,Ie.jsx)("span",{className:"haiti-counter-dot","aria-hidden":"true"}),e("haiti.counter",{count:s})]}),(0,Ie.jsx)("div",{className:"hero-media","aria-hidden":"true",style:{backgroundImage:"url(/assets/hero-collage.png)"}}),(0,Ie.jsx)("div",{className:"hero-shade"}),(0,Ie.jsxs)("div",{className:"hero-content",children:[(0,Ie.jsx)("p",{className:"eyebrow",children:e("hero.eyebrow")}),(0,Ie.jsxs)("h1",{"data-testid":"hero-h1",children:[(0,Ie.jsx)("span",{className:"hero-h1-a",children:e("hero.title.a")})," ",(0,Ie.jsx)("span",{className:"hero-h1-b",children:e("hero.title.b")})]}),(0,Ie.jsx)("p",{className:"hero-copy",children:e("hero.copy")}),(0,Ie.jsxs)("div",{className:"hero-buttons",children:[(0,Ie.jsx)("a",{className:"btn btn-primary large",href:yS,target:"_blank",rel:"noopener noreferrer","data-testid":"hero-start-watching",children:e("hero.cta.start")}),(0,Ie.jsx)("a",{className:"btn btn-glass large",href:"#channels","data-testid":"hero-browse-channels",children:e("hero.cta.browse")})]}),(0,Ie.jsxs)("div",{className:"hero-stats",children:[(0,Ie.jsx)("span",{children:e("hero.stat.live")}),(0,Ie.jsx)("span",{children:e("hero.stat.dvr")}),(0,Ie.jsx)("span",{children:e("hero.stat.devices")})]})]})]}),(0,Ie.jsxs)("section",{className:"section section-tight",id:"live","data-testid":"live-section",children:[(0,Ie.jsxs)("div",{className:"section-head",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("p",{className:"eyebrow",children:e("live.eyebrow")}),(0,Ie.jsx)("h2",{children:e("live.title")})]}),(0,Ie.jsx)("a",{className:"text-link",href:"#plans","data-testid":"live-see-plans",children:e("live.seeplans")})]}),(0,Ie.jsx)("div",{className:"feature-grid",children:[1,2,3].map(t=>(0,Ie.jsxs)("article",{className:"feature-card ".concat(1===t?"featured":""),"data-testid":"feature-card-".concat(t-1),children:[(0,Ie.jsx)("span",{className:"pill",children:e("live.feat".concat(t,".pill"))}),(0,Ie.jsx)("h3",{children:e("live.feat".concat(t,".title"))}),(0,Ie.jsx)("p",{children:e("live.feat".concat(t,".body"))})]},t))})]}),(0,Ie.jsxs)("section",{className:"section",id:"channels","data-testid":"channels-section",children:[(0,Ie.jsxs)("div",{className:"section-head",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsxs)("p",{className:"eyebrow live-badge",children:[(0,Ie.jsx)("span",{className:"live-dot","aria-hidden":"true"})," ",e("channels.eyebrow")]}),(0,Ie.jsx)("h2",{children:e("channels.title")})]}),(0,Ie.jsx)("a",{className:"see-all-link",href:yS,target:"_blank",rel:"noopener noreferrer","data-testid":"see-all-channels",children:e("channels.seeall")})]}),(0,Ie.jsx)("div",{className:"channel-rail","aria-label":"Featured channel logos",children:wS.map(e=>(0,Ie.jsx)("div",{className:"channel-card ".concat(e.logo?"channel-card-logo":""),"data-testid":"channel-".concat(e.name.toLowerCase().replace(/\s+/g,"-")),title:e.name,children:e.logo?(0,Ie.jsx)("img",{src:e.logo,alt:"".concat(e.name," \u2014 African TV channel on Habali TV"),loading:"lazy"}):(0,Ie.jsx)("span",{children:e.name})},e.name))})]}),(0,Ie.jsxs)("section",{className:"dvr-band",id:"dvr","data-testid":"dvr-section",children:[(0,Ie.jsxs)("div",{className:"dvr-copy",children:[(0,Ie.jsx)("p",{className:"eyebrow",children:e("dvr.eyebrow")}),(0,Ie.jsx)("h2",{children:e("dvr.title")}),(0,Ie.jsx)("p",{children:e("dvr.body")})]}),(0,Ie.jsxs)("div",{className:"dvr-ui",children:[(0,Ie.jsxs)("div",{className:"screen-card",children:[(0,Ie.jsx)("span",{children:e("dvr.rec")}),(0,Ie.jsx)("strong",{children:e("dvr.rec.title")}),(0,Ie.jsx)("small",{children:e("dvr.rec.sub")})]}),(0,Ie.jsxs)("div",{className:"screen-card muted",children:[(0,Ie.jsx)("span",{children:e("dvr.live")}),(0,Ie.jsx)("strong",{children:e("dvr.live.title")}),(0,Ie.jsx)("small",{children:e("dvr.live.sub")})]})]})]}),(0,Ie.jsxs)("section",{className:"section",id:"plans","data-testid":"plans-section",children:[(0,Ie.jsxs)("div",{className:"section-head center",children:[(0,Ie.jsx)("p",{className:"eyebrow",children:e("plans.eyebrow")}),(0,Ie.jsx)("h2",{children:e("plans.title")})]}),(0,Ie.jsx)(F_,{}),(0,Ie.jsx)("div",{className:"billing-toggle",role:"tablist",children:SS.map(t=>(0,Ie.jsxs)("button",{role:"tab","aria-selected":n===t,className:"billing-pill ".concat(n===t?"active":""),onClick:()=>i(t),"data-testid":"billing-".concat(t),children:[e("plans.period.".concat(t)),"12"===t&&(0,Ie.jsx)("em",{children:e("plans.bestvalue")})]},t))}),(0,Ie.jsx)("div",{className:"plans",children:kS.map(t=>(0,Ie.jsxs)("article",{className:"plan-card ".concat(t.highlight?"highlight":""," ").concat(t.badge?"coming":""),"data-testid":"plan-".concat(t.id),children:[t.highlight&&(0,Ie.jsx)("div",{className:"popular",children:e("plans.popular")}),t.badge&&(0,Ie.jsx)("div",{className:"coming-badge","data-testid":"plan-badge-".concat(t.id),children:e(t.badge)}),(0,Ie.jsx)("h3",{children:e("plan.".concat(t.id,".name"))}),(0,Ie.jsx)("p",{className:"plan-tag",children:e("plan.".concat(t.id,".tag"))}),(0,Ie.jsxs)("p",{className:"price","data-testid":"plan-price-".concat(t.id),children:[_S[t.id][n],(0,Ie.jsx)("span",{children:e("plans.suffix.".concat(n))})]}),(0,Ie.jsx)("ul",{children:Array.from({length:t.featureCount}).map((n,r)=>(0,Ie.jsx)("li",{children:e("plan.".concat(t.id,".f").concat(r+1))},r))}),"haiti"===t.id?(0,Ie.jsx)("a",{className:"btn ".concat(t.highlight?"btn-primary":"btn-outline"),href:yS,target:"_blank",rel:"noopener noreferrer","data-testid":"plan-cta-".concat(t.id),children:e("plan.".concat(t.id,".cta"))}):(0,Ie.jsx)("a",{className:"btn ".concat(t.highlight?"btn-primary":"btn-outline"),href:vS,target:"_blank",rel:"noopener noreferrer","data-testid":"plan-cta-".concat(t.id),children:e("plan.".concat(t.id,".cta"))})]},t.id))})]}),(0,Ie.jsxs)("section",{className:"devices",id:"devices","data-testid":"devices-section",children:[(0,Ie.jsx)("p",{className:"eyebrow",children:e("devices.eyebrow")}),(0,Ie.jsx)("h2",{children:e("devices.title")}),(0,Ie.jsx)("div",{className:"device-list",children:xS.map(e=>(0,Ie.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"device-pill","data-testid":"device-".concat(e.name.toLowerCase().replace(/\s+/g,"-")),children:e.name},e.name))})]}),(0,Ie.jsx)("section",{className:"ad-banner-wrap","data-testid":"ad-banner",children:(0,Ie.jsxs)("div",{className:"ad-banner",children:[(0,Ie.jsxs)("div",{className:"ad-banner-content",children:[(0,Ie.jsx)("p",{className:"ad-banner-eyebrow",children:e("ad.eyebrow")}),(0,Ie.jsx)("h2",{className:"ad-banner-headline",children:e("ad.headline")}),(0,Ie.jsx)("p",{className:"ad-banner-sub",children:e("ad.sub")}),(0,Ie.jsx)(Ln,{to:"/advertise",className:"ad-banner-cta","data-testid":"ad-banner-cta",children:e("ad.cta")})]}),(0,Ie.jsx)("div",{className:"ad-banner-aurora","aria-hidden":"true"})]})})]}),(0,Ie.jsx)(AS,{}),(0,Ie.jsx)(Q_,{open:a,onClose:()=>o(!1)})]})}function OS(){const{t:e}=mr();return(0,r.useEffect)(()=>{window.scrollTo(0,0)},[]),(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)($_,{page:"about",path:"/about",breadcrumbs:[{name:"Home",path:"/"},{name:"About",path:"/about"}]}),(0,Ie.jsx)(TS,{}),(0,Ie.jsxs)("main",{className:"page-content","data-testid":"about-page",children:[(0,Ie.jsxs)("div",{className:"page-head",children:[(0,Ie.jsx)("p",{className:"eyebrow",children:e("about.eyebrow")}),(0,Ie.jsx)("h1",{children:e("about.title")}),(0,Ie.jsx)("p",{className:"page-lede",children:e("about.lede")})]}),(0,Ie.jsxs)("article",{className:"page-body",children:[(0,Ie.jsx)("p",{children:e("about.p1")}),(0,Ie.jsx)("p",{children:e("about.bridge")}),(0,Ie.jsx)("div",{className:"about-pillars",children:[1,2,3].map(t=>(0,Ie.jsxs)("div",{className:"about-card",children:[(0,Ie.jsx)("span",{className:"pill",children:e("about.card".concat(t,".pill"))}),(0,Ie.jsx)("h3",{children:e("about.card".concat(t,".title"))}),(0,Ie.jsx)("p",{children:e("about.card".concat(t,".body"))})]},t))}),(0,Ie.jsx)("h2",{children:e("about.h2.screen")}),(0,Ie.jsx)("p",{children:e("about.p.screen")}),(0,Ie.jsx)("h2",{children:e("about.h2.believe")}),(0,Ie.jsx)("p",{children:e("about.p.believe")}),(0,Ie.jsxs)("div",{className:"page-cta",children:[(0,Ie.jsx)("a",{className:"btn btn-primary large",href:yS,target:"_blank",rel:"noopener noreferrer","data-testid":"about-start-watching",children:e("about.cta.start")}),(0,Ie.jsx)("a",{className:"btn btn-glass large",href:"/#plans","data-testid":"about-see-plans",children:e("about.cta.plans")})]})]})]}),(0,Ie.jsx)(AS,{})]})}function jS(){const{t:e,lang:t}=mr();return(0,r.useEffect)(()=>{window.scrollTo(0,0)},[]),(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)($_,{page:"dmca",path:"/dmca",breadcrumbs:[{name:"Home",path:"/"},{name:"DMCA",path:"/dmca"}]}),(0,Ie.jsx)(TS,{}),(0,Ie.jsxs)("main",{className:"page-content","data-testid":"dmca-page",children:[(0,Ie.jsxs)("div",{className:"page-head",children:[(0,Ie.jsx)("p",{className:"eyebrow",children:e("dmca.eyebrow")}),(0,Ie.jsx)("h1",{children:e("dmca.title")}),(0,Ie.jsx)("p",{className:"page-lede",children:e("dmca.lede")})]}),(0,Ie.jsxs)("article",{className:"page-body",children:["en"!==t&&(0,Ie.jsx)("p",{className:"legal-note",children:e("legal.n
2ote.dmca")}),(0,Ie.jsx)("h2",{children:"Notification of Infringement"}),(0,Ie.jsxs)("p",{children:["It is our policy to respond to clear notices of alleged copyright infringement that comply with the Digital Millennium Copyright Act. In addition, we will promptly terminate without notice the accounts of those determined by us to be ",(0,Ie.jsx)("strong",{children:'"repeat infringers"'}),"."]}),(0,Ie.jsxs)("p",{children:["If you are a copyright owner or an agent thereof, and you believe that any content hosted on HabaliTV.com infringes your copyrights, you may submit a notification pursuant to the DMCA by providing Habali TV's Designated Copyright Agent with the following information in writing (please consult your legal counsel or see ",(0,Ie.jsx)("em",{children:"17 U.S.C. \xa7 512(c)(3)"})," to confirm these requirements):"]}),(0,Ie.jsxs)("ul",{children:[(0,Ie.jsx)("li",{children:"A physical or electronic signature of a person authorized to act on behalf of the owner of an exclusive right that is allegedly infringed."}),(0,Ie.jsx)("li",{children:"Identification of the copyrighted work claimed to have been infringed, or, if multiple copyrighted works on the Habali TV site are covered by a single notification, a representative list of such works."}),(0,Ie.jsx)("li",{children:"Identification of the material that is claimed to be infringing or to be the subject of infringing activity and that is to be removed or access to which is to be disabled, and information reasonably sufficient to permit Habali TV to locate the material."}),(0,Ie.jsx)("li",{children:"Information reasonably sufficient to permit Habali TV to contact you, such as an address, telephone number, and, if available, an electronic mail address."}),(0,Ie.jsx)("li",{children:"A statement that you have a good faith belief that use of the material in the manner complained of is not authorized by the copyright owner, its agent, or the law."}),(0,Ie.jsx)("li",{children:"A statement that the information in the notification is accurate, and under penalty of perjury, that you are authorized to act on behalf of the owner of an exclusive right that is allegedly infringed."})]}),(0,Ie.jsxs)("p",{children:["Please note that under ",(0,Ie.jsx)("em",{children:"Section 512(f) of the DMCA"}),", any person who knowingly materially misrepresents that material or activity is infringing may be subject to liability."]}),(0,Ie.jsxs)("p",{children:["Please note that Habali TV may, at our discretion, send a copy of such notices to a third-party for publication. Your letter (with personal information removed) may be forwarded to Chilling Effects (",(0,Ie.jsx)("a",{href:"http://www.chillingeffects.org",target:"_blank",rel:"noopener noreferrer",children:"www.chillingeffects.org"}),")."]}),(0,Ie.jsx)("h2",{children:"Counter-Notification"}),(0,Ie.jsxs)("p",{children:["If you elect to send us a counter notice, to be effective it must be a written communication that includes the following (please consult your legal counsel or see ",(0,Ie.jsx)("em",{children:"17 U.S.C. \xa7 512(g)(3)"})," to confirm these requirements):"]}),(0,Ie.jsxs)("ul",{children:[(0,Ie.jsx)("li",{children:"Your physical or electronic signature."}),(0,Ie.jsx)("li",{children:"Identification of the material that has been removed or to which access has been disabled and the location at which the material appeared before it was removed or access to it was disabled."}),(0,Ie.jsx)("li",{children:"A statement under penalty of perjury that you have a good faith belief that the material was removed or disabled as a result of mistake or misidentification of the material to be removed or disabled."}),(0,Ie.jsx)("li",{children:"The subscriber's name, address, and telephone number, and a statement that you consent to the jurisdiction of Federal District Court for the judicial district in which the address is located."})]}),(0,Ie.jsxs)("p",{children:["Please note that under ",(0,Ie.jsx)("em",{children:"Section 512(f) of the Copyright Act"}),", any person who knowingly materially misrepresents that material or activity was removed or disabled by mistake or misidentification may be subject to liability."]}),(0,Ie.jsx)("h2",{children:e("dmca.contact.h2")}),(0,Ie.jsxs)("div",{className:"contact-box",children:[(0,Ie.jsx)("p",{className:"contact-box-label",children:e("dmca.contact.label")}),(0,Ie.jsxs)("p",{className:"contact-box-value",children:[(0,Ie.jsx)(Jn,{size:18}),(0,Ie.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})]})]})]}),(0,Ie.jsx)(AS,{})]})}function RS(){const{t:e,lang:t}=mr();return(0,r.useEffect)(()=>{window.scrollTo(0,0)},[]),(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)($_,{page:"privacy",path:"/privacy",breadcrumbs:[{name:"Home",path:"/"},{name:"Privacy Policy",path:"/privacy"}]}),(0,Ie.jsx)(TS,{}),(0,Ie.jsxs)("main",{className:"page-content","data-testid":"privacy-page",children:[(0,Ie.jsxs)("div",{className:"page-head",children:[(0,Ie.jsx)("p",{className:"eyebrow",children:e("privacy.eyebrow")}),(0,Ie.jsx)("h1",{children:e("privacy.title")}),(0,Ie.jsx)("p",{className:"page-lede",children:e("privacy.lede")})]}),(0,Ie.jsxs)("article",{className:"page-body",children:["en"!==t&&(0,Ie.jsx)("p",{className:"legal-note",children:e("legal.n
2ote.privacy")}),(0,Ie.jsxs)("p",{children:["This policy covers how V.M treats personal information that V.M collects and receives through its website, ",(0,Ie.jsx)("a",{href:"https://habalitv.com",target:"_blank",rel:"noopener noreferrer",children:"https://habalitv.com"}),". This policy does not apply to the practices of companies that V.M does not own or control."]}),(0,Ie.jsx)("h2",{children:"1. Information Collection"}),(0,Ie.jsx)("p",{children:"In connection with your visit to and participation in activities at the Website, you may submit personal information such as:"}),(0,Ie.jsxs)("ul",{children:[(0,Ie.jsx)("li",{children:"Your name and other personal information"}),(0,Ie.jsx)("li",{children:"Your shipping address"}),(0,Ie.jsx)("li",{children:"Your billing information"}),(0,Ie.jsx)("li",{children:"Information of your home network"})]}),(0,Ie.jsxs)("p",{children:['We may obtain additional information regarding your visit to and participation in such activities at the Website (collectively, "',(0,Ie.jsx)("strong",{children:"Personal Identifiable Information"}),'").']}),(0,Ie.jsx)("h2",{children:"2. Use of Information"}),(0,Ie.jsx)("p",{children:"V.M is committed to undertaking all reasonable measures to protect the privacy and security of your Personal Identifiable Information that we may collect and receive from you at our Website."}),(0,Ie.jsx)("h2",{children:"3. Consent and Disclosure"}),(0,Ie.jsx)("p",{children:"When you voluntarily provide Personal Identifiable Information, we will assume your consent to its use and disclosure in accordance with this Privacy Policy, subject to any use and disclosure from which you have opted out. We may be required to collect, share or disclose your Personal Identifiable Information without your consent in the following instances:"}),(0,Ie.jsxs)("ul",{children:[(0,Ie.jsx)("li",{children:"Pursuant to judicial orders, subpoenas, decrees, or warrants;"}),(0,Ie.jsx)("li",{children:"In order to investigate, prevent, or take action regarding suspected illegal activities, fraud, safety or the security of persons or property, violations of the Website Terms of Use, or as otherwise authorized or required by law;"}),(0,Ie.jsx)("li",{children:"In connection with the sale or transfer of all or any part of V.M."})]}),(0,Ie.jsx)("h2",{children:"4. Third-Party Links and Advertisers"}),(0,Ie.jsx)("p",{children:"Our Website may contain advertisements or services offered by other parties and links to their websites. We are not related to and have no control over such websites and parties. Those parties are covered by their own privacy policies."}),(0,Ie.jsx)("h2",{children:"5. Security Measures"}),(0,Ie.jsx)("p",{children:"Our Website incorporates reasonable safeguards to protect the security and privacy of your Personal Identifiable Information. However, it is always possible that any Personal Identifiable Information transmitted or disclosed online can be intercepted by others and used unlawfully."}),(0,Ie.jsx)("h2",{children:"6. User Accounts and Member Area"}),(0,Ie.jsx)("p",{children:"Each subscriber to our Service will be supplied with a personal login to the Members Only area of the website. When you set up your account, you are asked to:"}),(0,Ie.jsxs)("ul",{children:[(0,Ie.jsx)("li",{children:"Create and secure access by supplying your email and password"}),(0,Ie.jsx)("li",{children:"Provide personally identifiable information such as name, billing address, mailing address, telephone numbers, email address, and credit card information"})]}),(0,Ie.jsx)("p",{children:"You are solely responsible for maintaining the confidentiality of your User Name and Password to the Members Only area, and for ensuring that no minors or third parties access or use your account in any way."}),(0,Ie.jsx)("h2",{children:"7. Acceptance and Changes to Policy"}),(0,Ie.jsx)("p",{children:"Your use of the Website constitutes your acceptance of our Privacy Policy. If we decide to make any important changes to our Privacy Policy, we will post the changes here."}),(0,Ie.jsx)("h2",{children:e("privacy.contact.h2")}),(0,Ie.jsxs)("div",{className:"contact-box",children:[(0,Ie.jsx)("p",{className:"contact-box-label",children:e("privacy.contact.label")}),(0,Ie.jsxs)("p",{className:"contact-box-value",children:[(0,Ie.jsx)(Jn,{size:18}),(0,Ie.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})]})]})]}),(0,Ie.jsx)(AS,{})]})}function PS(){const{t:e,lang:t}=mr();return(0,r.useEffect)(()=>{window.scrollTo(0,0)},[]),(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)($_,{page:"terms",path:"/terms"}),(0,Ie.jsx)(TS,{}),(0,Ie.jsxs)("main",{className:"page-content","data-testid":"terms-page",children:[(0,Ie.jsxs)("div",{className:"page-head",children:[(0,Ie.jsx)("p",{className:"eyebrow",children:e("terms.eyebrow")}),(0,Ie.jsx)("h1",{children:e("terms.title")}),(0,Ie.jsx)("p",{className:"page-lede",children:e("terms.lede")})]}),(0,Ie.jsxs)("article",{className:"page-body",children:["en"!==t&&(0,Ie.jsx)("p",{className:"legal-note",children:e("legal.n
2ote.terms")}),(0,Ie.jsx)("h2",{children:"1. Changes in Programming and Service Fees"}),(0,Ie.jsxs)("p",{children:["Habali TV reserves the right to change the programming packages, programming services, or other services we offer, and our prices or fees, at any time. For any changes to the programming packages, prices, or fees that are within our control, notice will be approximately ",(0,Ie.jsx)("strong",{children:"one (1) month in advance"}),"."]}),(0,Ie.jsx)("h2",{children:"2. Cancellation Policy"}),(0,Ie.jsxs)("p",{children:["You have the right to cancel your Subscription services for any reason only by the end of your paid term. Subscription fees for services and programming packages are ",(0,Ie.jsx)("strong",{children:"non-refundable"})," once charged to your account. No credits or refunds will be provided for cancellation of subscriptions to services."]}),(0,Ie.jsxs)("p",{children:["Your subscription services will continue until cancelled. Your subscription will be ",(0,Ie.jsx)("strong",{children:"automatically renewed"})," and your account will be charged until it is cancelled."]}),(0,Ie.jsx)("h2",{children:"3. Intellectual Property"}),(0,Ie.jsx)("h3",{className:"terms-sub",children:"Trademarks"}),(0,Ie.jsxs)("p",{children:["All corporate names, service marks, logos, trade names, trademarks of ",(0,Ie.jsx)("strong",{children:"Vuku Media LLC"})," (V.M), are and shall remain the exclusive property of V.M."]}),(0,Ie.jsx)("h3",{className:"terms-sub",children:"Services & Materials"}),(0,Ie.jsxs)("p",{children:["All Services and/or Materials found in the Website are protected by trademark, copyright, or other intellectual property laws. Any commercial use is ",(0,Ie.jsx)("strong",{children:"strictly prohibited"}),", without the express, prior, written consent of V.M."]}),(0,Ie.jsx)("h3",{className:"terms-sub",children:"Software"}),(0,Ie.jsx)("p",{children:"The software that is made available to download from this Site is the copyrighted work of V.M and/or its suppliers and partners. You may not reverse, engineer, decompile or otherwise attempt to discover the source code of the software available on the Website."}),(0,Ie.jsx)("p",{className:"all-caps-notice",children:"Copying or reproduction of the software to any other server or location for further reproduction or redistribution is expressly prohibited."}),(0,Ie.jsx)("h2",{children:"4. Modification of Terms"}),(0,Ie.jsx)("p",{children:"V.M may modify these Terms of Service, and the Privacy Policy at any time by posting such modification on the Website. Your continued access or use of the Service shall be deemed your acceptance of the modifications."}),(0,Ie.jsx)("h2",{children:e("terms.contact.h2")}),(0,Ie.jsxs)("div",{className:"contact-box",children:[(0,Ie.jsx)("p",{className:"contact-box-label",children:e("terms.contact.label")}),(0,Ie.jsxs)("p",{className:"contact-box-value",children:[(0,Ie.jsx)(Jn,{size:18}),(0,Ie.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})]})]})]}),(0,Ie.jsx)(AS,{})]})}function NS(){const{t:e,lang:t}=mr(),[n,i]=(0,r.useState)(0);(0,r.useEffect)(()=>{window.scrollTo(0,0)},[]);const a=lr[t]||lr.en,o={"@context":"https://schema.org","@type":"FAQPage",mainEntity:a.map(e=>({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))};return(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)($_,{page:"faq",path:"/faq",jsonLd:o}),(0,Ie.jsx)(TS,{}),(0,Ie.jsxs)("main",{className:"page-content","data-testid":"faq-page",children:[(0,Ie.jsxs)("div",{className:"page-head",children:[(0,Ie.jsx)("p",{className:"eyebrow",children:e("faq.eyebrow")}),(0,Ie.jsx)("h1",{children:e("faq.title")}),(0,Ie.jsx)("p",{className:"page-lede",children:e("faq.lede")})]}),(0,Ie.jsxs)("article",{className:"page-body",style:{maxWidth:820},children:[(0,Ie.jsx)("div",{className:"faq-list",children:a.map((e,t)=>(0,Ie.jsxs)("div",{className:"faq-item ".concat(n===t?"open":""),"data-testid":"faq-item-".concat(t),children:[(0,Ie.jsxs)("button",{className:"faq-q",onClick:()=>i(n===t?-1:t),"aria-expanded":n===t,"data-testid":"faq-toggle-".concat(t),children:[(0,Ie.jsx)("span",{children:e.q}),(0,Ie.jsx)("span",{className:"faq-icon","aria-hidden":"true",children:n===t?"\u2013":"+"})]}),n===t&&(0,Ie.jsx)("div",{className:"faq-a",children:e.a.split("\n").map((e,t)=>(0,Ie.jsx)("p",{children:e},t))})]},t))}),(0,Ie.jsx)("div",{className:"page-cta",children:(0,Ie.jsxs)("a",{className:"btn btn-primary large",href:"mailto:[email protected]","data-testid":"faq-contact",children:[(0,Ie.jsx)(Jn,{size:18,style:{marginRight:8}})," ",e("faq.cta")]})})]})]}),(0,Ie.jsx)(AS,{})]})}function MS(){const{t:e,lang:t}=mr(),[n,i]=(0,r.useState)(""),[a,o]=(0,r.useState)("general-0");(0,r.useEffect)(()=>{window.scrollTo(0,0)},[]);const s=ur[t]||ur.en,l=n.trim().toLowerCase(),c=l?s.map(e=>u(u({},e),{},{items:e.items.filter(e=>e.q.toLowerCase().includes(l)||e.a.toLowerCase().includes(l))})).filter(e=>e.items.length>0):s,d=c.reduce((e,t)=>
2e+t.items.length,0);return(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)($_,{page:"help",path:"/help",breadcrumbs:[{name:"Home",path:"/"},{name:"Help Center",path:"/help"}]}),(0,Ie.jsx)(TS,{}),(0,Ie.jsxs)("main",{className:"page-content","data-testid":"help-page",children:[(0,Ie.jsxs)("div",{className:"page-head",children:[(0,Ie.jsx)("p",{className:"eyebrow",children:e("help.eyebrow")}),(0,Ie.jsx)("h1",{children:e("help.title")}),(0,Ie.jsx)("p",{className:"page-lede",children:e("help.lede")}),(0,Ie.jsx)("div",{className:"help-search",children:(0,Ie.jsx)("input",{type:"text",placeholder:e("help.search"),value:n,onChange:e=>i(e.target.value),"aria-label":e("help.search"),"data-testid":"help-search"})}),l&&(0,Ie.jsxs)("p",{style:{color:"var(--muted)",marginTop:14,fontSize:14},children:[d," ",e(1===d?"help.results.one":"help.results.other")," ",e("help.results.for"),' "',n,'"']})]}),(0,Ie.jsxs)("article",{className:"page-body",style:{maxWidth:880},children:[0===c.length?(0,Ie.jsxs)("p",{className:"help-empty",children:[e("help.empty",{q:n})," ",(0,Ie.jsx)("a",{href:"mailto:[email protected]",children:e("help.contact_support")}),"."]}):c.map((e,t)=>(0,Ie.jsxs)("section",{className:"help-section","data-testid":"help-section-".concat(e.id),children:[(0,Ie.jsxs)("div",{className:"help-section-head",children:[(0,Ie.jsx)("span",{className:"help-section-num",children:t+1}),(0,Ie.jsx)("h2",{children:e.title})]}),(0,Ie.jsx)("div",{className:"faq-list",children:e.items.map((t,n)=>{const r="".concat(e.id,"-").concat(n),i=a===r;return(0,Ie.jsxs)("div",{className:"faq-item ".concat(i?"open":""),"data-testid":"help-item-".concat(e.id,"-").concat(n),children:[(0,Ie.jsxs)("button",{className:"faq-q",onClick:()=>o(i?null:r),"aria-expanded":i,"data-testid":"help-toggle-".concat(e.id,"-").concat(n),children:[(0,Ie.jsx)("span",{children:t.q}),(0,Ie.jsx)("span",{className:"faq-icon","aria-hidden":"true",children:i?"\u2013":"+"})]}),i&&(0,Ie.jsx)("div",{className:"faq-a",children:t.a.split("\n").map((e,t)=>""===e.trim()?(0,Ie.jsx)("br",{},t):(0,Ie.jsx)("p",{children:e},t))})]},r)})})]},e.id)),(0,Ie.jsxs)("div",{className:"help-contact",children:[(0,Ie.jsx)("h2",{children:e("help.still_need")}),(0,Ie.jsx)("p",{children:e("help.still_need_body")}),(0,Ie.jsxs)("div",{className:"help-contact-grid",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("span",{children:e("help.contact.usa")}),(0,Ie.jsx)("a",{href:"tel:+12023509035",children:"+1-202-350-9035"})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("span",{children:e("help.contact.canada")}),(0,Ie.jsx)("a",{href:"tel:+14166286527",children:"+1-416-628-6527"})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("span",{children:e("help.contact.uk")}),(0,Ie.jsx)("a",{href:"tel:+442033140423",children:"+44 20 33140423"})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("span",{children:e("help.contact.email")}),(0,Ie.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})]})]})]})]}),(0,Ie.jsx)(AS,{})]})}function LS(){const{t:e}=mr(),[t,n]=(0,r.useState)(null);(0,r.useEffect)(()=>{window.scrollTo(0,0)},[]);const i=()=>n(null),a=[{id:"main",title:e("tut.sec1.title"),blurb:e("tut.sec1.blurb"),videos:[{id:"k-auZ0L7U_0",title:e("tut.v1"),duration:"0:52"},{id:null,title:e("tut.v2"),duration:"0:48",thumb:"https://habalitv.com/wp-content/uploads/2025/04/upgrade-downgrade.jpg"},{id:null,title:e("tut.v3"),duration:"0:40",thumb:"https://habalitv.com/wp-content/uploads/2025/04/dvr-channel.jpg"}]},{id:"mobile",title:e("tut.sec2.title"),blurb:e("tut.sec2.blurb"),videos:[{id:"86GU0tWduNk",title:e("tut.v4"),duration:"0:14"},{id:"1fX6OEH9rxc",title:e("tut.v5"),duration:"0:28"}]}],o=r.useMemo(()=>({"@context":"https://schema.org","@type":"ItemList",name:"Habali TV Tutorials",itemListElement:a.flatMap(e=>e.videos).filter(e=>e.id).map((e,t)=>({"@type":"ListItem",position:t+1,item:{"@type":"VideoObject",name:e.title,description:e.title,thumbnailUrl:"https://img.youtube.com/vi/".concat(e.id,"/maxresdefault.jpg"),embedUrl:"https://www.youtube.com/embed/".concat(e.id),contentUrl:"https://www.youtube.com/watch?v=".concat(e.id),uploadDate:"2025-04-01",publisher:{"@type":"Organization",name:"Habali TV",logo:{"@type":"ImageObject",url:"https://habalitv.com/assets/habali-logo.png"}}}}))}),[]);return(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)($_,{page:"tutorials",path:"/tutorials",breadcrumbs:[{name:"Home",path:"/"},{name:"Tutorials",path:"/tutorials"}],jsonLd:o}),(0,Ie.jsx)(TS,{}),(0,Ie.jsxs)("main",{className:"page-content","data-testid":"tutorials-page",children:[(0,Ie.jsxs)("div",{className:"page-head",children:[(0,Ie.jsx)("p",{className:"eyebrow",children:e("tut.eyebrow")}),(0,Ie.jsx)("h1",{children:e("tut.title")}),(0,Ie.jsx)("p",{className:"page-lede",children:e("tut.lede")})]}),(0,Ie.jsxs)("article",{className:"page-body",style:{maxWidth:1180},children:[a.map(t=>(0,Ie.jsxs)("section",{className:"tut-section","data-testid":"tut-section-".concat(t.id),children:[(0,Ie.jsxs)("div",{className:"tut-head",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("h2",{style:{margin:0},children:t.title}),(0,Ie.jsx)("p",{style:{color:"var(--muted)",margin:"6px 0 0"},children:t.blurb})]}),(0,Ie.jsx)("span",{className:"tut-count",children:e("tut.videos",{n:t.videos.length})})]}),(0,Ie.jsx)("div",{className:"tut-grid",children:t.videos.map((e,r)=>{const i=e.thumb||"https://img.youtube.com/vi/".concat(e.id,"/maxresdefault.jpg");return(0,Ie.jsxs)("div",{className:"tut-card","data-testid":"tut-card-".concat(t.id,"-").concat(r),onClick:()=>{e.id?n(e.id):window.open(CS,"_blank")},children:[(0,Ie.jsxs)("div",{className:"tut-thumb",children:[(0,Ie.jsx)("img",{src:i,alt:e.title,loading:"lazy"}),(0,Ie.jsx)("div",{className:"tut-play",children:"\u25b6"}),(0,Ie.jsx)("span",{className:"tut-duration",children:e.duration})]}),(0,Ie.jsx)("div",{className:"tut-meta",children:(0,Ie.jsx)("h4",{children:e.title})})]},"".concat(t.id,"-").concat(r))})})]},t.id)),(0,Ie.jsxs)("div",{className:"page-cta",children:[(0,Ie.jsx)("a",{className:"btn btn-primary large",href:CS,target:"_blank",rel:"noopener noreferrer","data-testid":"tutorials-yt",children:e("tut.cta.yt")}),(0,Ie.jsx)(Ln,{to:"/faq",className:"btn btn-glass large","data-testid":"tutorials-faq",children:e("tut.cta.faq")})]})]})]}),t&&(0,Ie.jsx)("div",{className:"video-modal","data-testid":"video-modal",onClick:i,children:(0,Ie.jsxs)("div",{className:"video-modal-inner",onClick:e=>e.stopPropagation(),children:[(0,Ie.jsx)("button",{className:"video-close",onClick:i,"aria-label":"Close","data-testid":"video-close",children:"\xd7"}),(0,Ie.jsx)("iframe",{src:"https://www.youtube.com/embed/".concat(t,"?autoplay=1&rel=0"),title:"Habali TV tutorial",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})]})}),(0,Ie.jsx)(AS,{})]})}function DS(){const{t:e,lang:t}
2=mr(),[n,i]=(0,r.useState)({name:"",company:"",email:"",phone:"",budget:"",message:""}),[a,o]=(0,r.useState)({state:"idle",msg:""});(0,r.useEffect)(()=>{window.scrollTo(0,0)},[]);const s=e=>t=>i(u(u({},n),{},{[e]:t.target.value}));return(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)($_,{page:"advertise",path:"/advertise",breadcrumbs:[{name:"Home",path:"/"},{name:"Advertise",path:"/advertise"}],jsonLd:{"@context":"https://schema.org","@type":"ContactPage",name:"Advertise on Habali TV",url:"https://habalitv.com/advertise",about:"Advertising opportunities on Habali TV for the African & Caribbean diaspora across CTV, web, and mobile."}}),(0,Ie.jsx)(TS,{}),(0,Ie.jsxs)("main",{className:"page-content","data-testid":"advertise-page",children:[(0,Ie.jsxs)("div",{className:"page-head",children:[(0,Ie.jsx)("p",{className:"eyebrow",children:e("adv.eyebrow")}),(0,Ie.jsx)("h1",{children:e("adv.title")}),(0,Ie.jsx)("p",{className:"page-lede",children:e("adv.lede")})]}),(0,Ie.jsx)("article",{className:"page-body",style:{maxWidth:760},children:(0,Ie.jsxs)("form",{className:"ad-form",onSubmit:async r=>{r.preventDefault(),o({state:"loading",msg:""});try{const r=await fetch("".concat("https://habalitv.com","/api/advertise"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!r.ok)throw new Error("HTTP ".concat(r.status));D_("generate_lead",{form_id:"advertise_main",lead_type:"advertising_inquiry",language:t,has_company:!!n.company,has_phone:!!n.phone,has_budget:!!n.budget,currency:"USD",value:1});const a=encodeURIComponent("Advertising Inquiry \u2014 ".concat(n.company||n.name)),s=encodeURIComponent("Name: ".concat(n.name,"\nCompany: ").concat(n.company,"\nEmail: ").concat(n.email,"\nPhone: ").concat(n.phone,"\nBudget: ").concat(n.budget,"\n\nMessage:\n").concat(n.message));window.location.href="mailto:[email protected]?subject=".concat(a,"&body=").concat(s),o({state:"ok",msg:e("adv.success")}),i({name:"",company:"",email:"",phone:"",budget:"",message:""})}catch(qS){D_("lead_submit_error",{form_id:"advertise_main",language:t,error:String(qS)}),o({state:"err",msg:e("adv.error")})}},"data-testid":"advertise-form",children:[(0,Ie.jsxs)("div",{className:"ad-form-row",children:[(0,Ie.jsxs)("label",{children:[(0,Ie.jsxs)("span",{children:[e("adv.name")," *"]}),(0,Ie.jsx)("input",{required:!0,value:n.name,onChange:s("name"),type:"text","data-testid":"ad-name"})]}),(0,Ie.jsxs)("label",{children:[(0,Ie.jsx)("span",{children:e("adv.company")}),(0,Ie.jsx)("input",{value:n.company,onChange:s("company"),type:"text","data-testid":"ad-company"})]})]}),(0,Ie.jsxs)("div",{className:"ad-form-row",children:[(0,Ie.jsxs)("label",{children:[(0,Ie.jsxs)("span",{children:[e("adv.email")," *"]}),(0,Ie.jsx)("input",{required:!0,value:n.email,onChange:s("email"),type:"email","data-testid":"ad-email"})]}),(0,Ie.jsxs)("label",{children:[(0,Ie.jsx)("span",{children:e("adv.phone")}),(0,Ie.jsx)("input",{value:n.phone,onChange:s("phone"),type:"tel","data-testid":"ad-phone"})]})]}),(0,Ie.jsxs)("label",{children:[(0,Ie.jsx)("span",{children:e("adv.budget")}),(0,Ie.jsxs)("select",{value:n.budget,onChange:s("budget"),"data-testid":"ad-budget",children:[(0,Ie.jsx)("option",{value:"",children:e("adv.budget.placeholder")}),(0,Ie.jsx)("option",{children:e("adv.budget.r1")}),(0,Ie.jsx)("option",{children:e("adv.budget.r2")}),(0,Ie.jsx)("option",{children:e("adv.budget.r3")}),(0,Ie.jsx)("option",{children:e("adv.budget.r4")}),(0,Ie.jsx)("option",{children:e("adv.budget.r5")})]})]}),(0,Ie.jsxs)("label",{children:[(0,Ie.jsxs)("span",{children:[e("adv.goals")," *"]}),(0,Ie.jsx)("textarea",{required:!0,rows:5,value:n.message,onChange:s("message"),placeholder:e("adv.goals.placeholder"),"data-testid":"ad-message"})]}),"ok"===a.state&&(0,Ie.jsx)("div",{className:"form-alert form-alert-ok","data-testid":"ad-success",children:a.msg}),"err"===a.state&&(0,Ie.jsx)("div",{className:"form-alert form-alert-err","data-testid":"ad-error",children:a.msg}),(0,Ie.jsx)("button",{type:"submit",className:"btn btn-primary large ad-submit",disabled:"loading"===a.state,"data-testid":"ad-submit",children:"loading"===a.state?e("adv.sending"):e("adv.submit")}),(0,Ie.jsxs)("p",{className:"ad-form-note",children:[e("adv.note")," ",(0,Ie.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"}),"."]})]})})]}),(0,Ie.jsx)(AS,{})]})}function VS(){const{lang:e}=mr();return(0,r.useEffect)(()=>{var t;t=e,N_&&!L_&&(P_.init(N_,{autocapture:{pageview:!1,click:!0,input:!0,scroll:!0,submit:!0,
2capture_text_content:!1},track_pageview:!1,persistence:"localStorage",secure_cookie:!0,cross_subdomain_cookie:!0}),L_=!0),L_&&P_.register({locale:t,site:"habalitv.com"}),"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").catch(()=>{})},[]),null}const FS=function(){return(0,Ie.jsxs)(fr,{children:[(0,Ie.jsx)(VS,{}),(0,Ie.jsxs)(Nn,{children:[(0,Ie.jsx)(z_,{}),(0,Ie.jsx)(rr,{}),(0,Ie.jsxs)(Xt,{children:[(0,Ie.jsx)(Qt,{path:"/",element:(0,Ie.jsx)(IS,{})}),(0,Ie.jsx)(Qt,{path:"/about",element:(0,Ie.jsx)(OS,{})}),(0,Ie.jsx)(Qt,{path:"/dmca",element:(0,Ie.jsx)(jS,{})}),(0,Ie.jsx)(Qt,{path:"/privacy",element:(0,Ie.jsx)(RS,{})}),(0,Ie.jsx)(Qt,{path:"/terms",element:(0,Ie.jsx)(PS,{})}),(0,Ie.jsx)(Qt,{path:"/faq",element:(0,Ie.jsx)(NS,{})}),(0,Ie.jsx)(Qt,{path:"/help",element:(0,Ie.jsx)(MS,{})}),(0,Ie.jsx)(Qt,{path:"/tutorials",element:(0,Ie.jsx)(LS,{})}),(0,Ie.jsx)(Qt,{path:"/advertise",element:(0,Ie.jsx)(DS,{})}),(0,Ie.jsx)(Qt,{path:"/admin/announcements",element:(0,Ie.jsx)(rS,{})}),(0,Ie.jsx)(Qt,{path:"/admin/subscribers",element:(0,Ie.jsx)(cS,{})}),(0,Ie.jsx)(Qt,{path:"/admin/preorders",element:(0,Ie.jsx)(gS,{})}),(0,Ie.jsx)(Qt,{path:"*",element:(0,Ie.jsx)(IS,{})})]})]})]})},zS=new Ae({defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!1}}});i.createRoot(document.getElementById("root")).render((0,Ie.jsx)(r.StrictMode,{children:(0,Ie.jsx)(je,{client:zS,children:(0,Ie.jsx)(FS,{})})}))})(); 3//# sourceMappingURL=main.239c0773.js.map
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.